⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.php

📁 泛微协同办公系统标准版E-office V5.5的源代码内含泛微办公系统V5.5自动注册文件。
💻 PHP
字号:
<?php

include_once( "inc/auth.php" );
include_once( "inc/document_function.php" );
$SORT_ID = $_REQUEST['SORT_ID'];
echo "\r\n<html>\r\n<head>\r\n";
echo "<s";
echo "tyle>\r\n.tdstyle{\r\n\tborder-bottom-width: 1px;\r\n\tborder-bottom-color: #CCCCFF;\r\n}\r\n.linktextOp{\r\n\tborder-bottom: 1px double #0033CC;\r\n\tcolor:#0033CC;\r\n\tcursor:hand; \r\n\t}\r\n.linkdivOp{\r\n\tcolor:#0033CC;\r\n\tcursor:hand; \r\n\t}\r\n</style>\r\n<title>查询文件</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n";
echo "<S";
echo "CRIPT language=javascript src=\"/inc/document_new.js\"></SCRIPT>\r\n";
echo "<S";
echo "CRIPT language=javascript src=\"/inc/common.js\"></SCRIPT>\r\n";
echo "<S";
echo "CRIPT language=javascript src=\"/inc/follow.js\"></SCRIPT>\r\n";
echo "<S";
echo "CRIPT language=javascript src=\"/inc/prototype.js\"></SCRIPT>\r\n";
echo "<S";
echo "CRIPT language=javascript src=\"/inc/calendar/calendar.js\"></SCRIPT>\r\n";
echo "<s";
echo "cript>\r\nfunction clearConten(content_id,content_name)\r\n{\r\n\tdocument.getElementById(content_id).value=\"\";\r\n\tdocument.getElementById(content_name).value=\"\";\r\n\r\n  //document.form1.+'content_name'+.value=\"\";\r\n // document.form1.+'content_id'+.value=\"\";\r\n}\r\n\r\nfunction getState(){\r\n\tvar newvalue  = document.getElementById('FILE_SORT').value ;\r\n\tif(newvalue!=3){\r\n\t\tdocument.getElementById('fileid_id').va";
echo "lue='';\r\n\t\tdocument.getElementById('filename_id').value='';\r\n\t\tdocument.getElementById('cata_log').style.display='';\r\n\t}else{\r\n\t document.getElementById('cata_log').style.display='none';\r\n\t}\r\n}\r\n/*\r\nfunction td_calendar(fieldname)\r\n{\r\n\tmyleft=document.body.scrollLeft+event.clientX-event.offsetX-80;\r\n\tmytop=document.body.scrollTop+event.clientY-event.offsetY+140;\r\n\twindow.showModalDialog(\"/inc/cale";
echo "ndar.php?FIELDNAME=\"+fieldname,self,\"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:280px;dialogHeight:205px;dialogTop:\"+mytop+\"px;dialogLeft:\"+myleft+\"px\");\r\n}\r\n\r\nfunction td_calendar2(fieldname)\r\n{\r\n\tmyleft=document.body.scrollLeft+event.clientX-event.offsetX-80;\r\n\tmytop=document.body.scrollTop+event.clientY-event.offsetY+140;\r\n\twindow.showModalDialog(\"/inc/calendar.php?FIELDNAME=\"";
echo "+fieldname,self,\"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:280px;dialogHeight:205px;dialogTop:\"+mytop+\"px;dialogLeft:\"+myleft+\"px\");\r\n}*/\r\n</script>\r\n</head>\r\n<body class=\"bodycolor\" topmargin=\"5\" >\r\n<form action=\"query.php\" name=\"form1\">\r\n<table border=\"0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\">\r\n  <tr class=\"TableHead1\">\r\n    <td><img src=\"/images/menu/work_plan.gif\" align=\"absm";
echo "iddle\">文档搜索</td>\r\n  </tr>\r\n  <tr class=\"TableLine2\">\r\n    <td><input type=\"image\" src=\"/images/button/submit.gif\" title=\"进行文件查询\">\r\n    <!-- <a href=\"/general/file_folder/index.php?FILE_SORT=";
echo $FILE_SORT;
echo "&SORT_ID=";
echo $SORT_ID;
echo "&refreshno=";
echo $_REQUEST['refreshno'];
echo "\" ><img src=\"/images/button/return.gif\" border=\"0\"></a> -->       \r\n\t</td>\r\n  </tr>\r\n</table>\r\n<table border=\"0\" cellspacing=\"1\" width=\"100%\" class=\"small\" cellpadding=\"5\" align=\"center\">\r\n  <tr>\r\n      <td width=\"90px\" nowrap class=\"TableLine2\" align=\"left\">关键词:</td>\r\n      <td nowrap class=\"TableLine1\"><input type=\"text\" name=\"SUBJECT\" size=\"20\" class=\"BigInput\"></td>\r\n  </tr>\r\n  <tr>\r\n    <td nowrap class";
echo "=\"TableLine2\"  align=\"left\">关键词位置:</td>\r\n    <td class=\"TableLine1\" style=\"cursor:hand;\">\r\n\t<input type=\"checkbox\" name=\"POSITION\" value='doc_content' >内容</input>\r\n\t<input type=\"checkbox\" name=\"POSITION1\" value='doc_title' >标题</input>\r\n\t<input type=\"checkbox\" name=\"POSITION2\" value='doc_remark' >附件说明</input>\r\n\t</td>\r\n  </tr>\r\n\r\n\t<tr id=\"shareearid2\">\r\n\t\t<td nowrap class=\"TableLine2\" align=\"left\"";
echo " >创建人:</td>\r\n\t\t<td class=\"TableLine1\">\r\n\t\t";
echo "<s";
echo "pan class=\"TableLine1\">\r\n\t\t\t<textarea cols=\"35\" name=\"creat_user_name\" rows=\"2\" class=\"BigStatic\" wrap=\"yes\" readonly></textarea>\r\n\t\t\t\t<input type=\"hidden\" name=\"creat_user_id\" value=\"\" >\r\n\t\t\t\t";
echo "<s";
echo "pan class = \"linktextOp\" onClick=\"LoadWindowUser('creat_user_id','creat_user_name','form1');\">选择</span>&nbsp;&nbsp;\r\n\t\t\t\t";
echo "<s";
echo "pan class=\"linktextOp\" onClick=\"clearConten('creat_user_id','creat_user_name')\" >清空</span>\t\r\n\t\t</span>\r\n\t\t</td>\r\n\t</tr>\r\n  ";
if ( $_REQUEST['FILE_SORT'] == 3 )
{
	echo "    <tr>\r\n      <td nowrap class=\"TableLine2\" align=\"left\">文档类型:</td>\r\n      <td nowrap class=\"TableLine1\">\r\n\t\t";
	echo "<S";
	echo "ELECT NAME=\"FILE_SORT\" ID = 'FILE_SORT' SIZE=\"1\" onchange=\"getState()\">\r\n\t\t<OPTION ID = 'all' VALUE=\"3\">所有文档</OPTION>\r\n\t\t<OPTION ID='public' VALUE=\"1\">公共文档\t</OPTION>\r\n\t\t<OPTION ID='person' VALUE=\"2\">个人文档\t</OPTION>\r\n\t\t</SELECT>\r\n\r\n  </tr>\r\n  ";
}
if ( $_REQUEST['FILE_SORT'] != 3 )
{
	if ( $SORT_ID != "" )
	{
		$query = "\r\n\t\t\t\t\tSELECT SORT_NAME FROM file_sort \r\n\t\t\t\t\t\tWHERE SORT_ID = ".$SORT_ID."\r\n\t\t\t\t";
		$cs = exequery( $connection, $query );
		$row_name = mysql_fetch_array( $cs );
		$SORT_NAME = $row_name['SORT_NAME'];
	}
	echo "<tr ID = 'cata_log' style='display:'''>";
}
else
{
	echo "<tr ID = 'cata_log' style='display:none'>";
}
echo "  <td nowrap class=\"TableLine2\" align=\"left\"> 文档目录:</td>\r\n      <td class=\"TableLine1\">\r\n\t\t<input name=\"file_name\" ID = \"filename_id\" type=\"text\" maxlength=\"20\" class=\"BigStatic\"  readonly  value=\"";
echo $SORT_NAME;
echo "\">\r\n\t\t<input type=\"hidden\" name=\"fileid_id\" ID = \"fileid_id\" value=\"";
echo $SORT_ID;
echo "\">\r\n\t\t";
if ( $_REQUEST['FILE_SORT'] != 3 )
{
	echo "\t\t<input type=\"hidden\" name=\"FILE_SORT\" ID = \"FILE_SORT\" value=\"";
	echo $_REQUEST['FILE_SORT'];
	echo "\">\r\n\t\t";
	echo "<s";
	echo "pan class=\"linktextOp\"  onClick=\"javascript:LoadWindowSelectFile('fileid_id','filename_id','readfile','";
	echo $_REQUEST['FILE_SORT'];
	echo "');\">选择</span>\r\n\t\t";
}
else
{
	echo "\t\t";
	echo "<s";
	echo "pan class=\"linktextOp\"  onClick=\"javascript:LoadWindowSelectFile('fileid_id','filename_id','readfile',document.getElementById('FILE_SORT').value);\">选择</span>\r\n\t\t";
}
echo "\t\t";
echo "<s";
echo "pan class=\"linktextOp\"  onClick=\"javascript:clearConten('fileid_id','filename_id');\">清空</span>\r\n\t</td>\r\n</tr>\r\n  <tr>\r\n      <td class=\"TableLine2\" align=\"left\">修改时间:</td>\r\n\t\t<td class=\"TableLine1\">\r\n\t\t<input class='Wdate' type=\"text\" name=\"creat_date_start\" id=\"creat_date_start\" value=\"\" size=\"12\" maxlength=\"10\" onclick=\"popUpCalendar(document.form1,document.form1.creat_date_start,'yyyy-mm-dd')\"/>";
echo "\r\n\t\t至\r\n\t\t<input class='Wdate' type=\"text\" name=\"creat_date_end\" id=\"creat_date_end\" value=\"\" size=\"12\" maxlength=\"100\" onclick=\"popUpCalendar(document.form1,document.form1.creat_date_end,'yyyy-mm-dd')\"/>\r\n\t\t</td>\r\n  </tr>\t\r\n          <input type=\"hidden\" name=\"SORT_ID\" value=\"";
echo $SORT_ID;
echo "\">\r\n</table>\r\n</form>\r\n\r\n</body>\r\n</html>";
?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -