📄 query.php
字号:
<?php
include_once( "inc/auth.php" );
include_once( "inc/document_function.php" );
include_once( "inc/function_page_01.php" );
include_once( "inc/utility_all.php" );
include_once( "inc/utility.php" );
if ( $_REQUEST['cur_page'] == "" )
{
$cur_page = 1;
}
else
{
$cur_page = $_REQUEST['cur_page'];
}
$SAVE_LOG = $_REQUEST['SAVE_LOG'];
$SUBJECT = $_REQUEST['SUBJECT'];
$POSITION = $_REQUEST['POSITION'];
$POSITION1 = $_REQUEST['POSITION1'];
$POSITION2 = $_REQUEST['POSITION2'];
$creat_user_id = $_REQUEST['creat_user_id'];
$creat_date_start = $_REQUEST['creat_date_start'];
$creat_date_end = $_REQUEST['creat_date_end'];
$FILE_SORT = $_REQUEST['FILE_SORT'];
$fileid_id = $_REQUEST['fileid_id'];
if ( $SAVE_LOG != "" )
{
savesysoplog( $SAVE_LOG, "4", "file_content", "" );
}
if ( $fileid_id == "" )
{
$SORT_ID = 0;
}
else
{
$SORT_ID = $fileid_id;
}
include_once( "inc/config_doc.inc.php" );
echo "<html>\r\n<head>\r\n";
echo "<s";
echo "tyle>\r\n.tdstyle{\r\n\theight:24px;\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:#0000FF;\r\n\tcursor:hand; \r\n\t}\r\n.linkdivOp{\r\n\tcolor:#0000FF;\r\n\tcursor:hand; \r\n\t/*font:expression(onmouseover=function()\r\n\t\t{this.style.backgroundColor=\"#CCFFFF\"},\r\n\t\tonmouseout=function(){this.style.backgroundColor=\"\"})*/ \r\n\t}\r\n</style>\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>\r\n\r\n\r\nfunction deleteDocument(CONTENT_ID,fromwhere,this_id,FILE_SORT)\r\n{\r\n\tif(FILE_SORT==1){\r\n\tvar thistype = document.getElementById('what_'+CONTENT_ID).tagName;\r\n\tif(thistype=='INPUT'){\t\r\n\t\t msg=\"确定要删除该文件吗?\";\r\n\t\t if(window.confirm(msg))\r\n\t\t {\r\n\t\t\tURL=\"../delete.php?CONTENT_ID=\"+CONTENT_ID+\"&cur_page=";
echo $cur_page;
echo "&FILE_SORT=\"+FILE_SORT+\"&order=";
echo $_REQUEST['order'];
echo "&sens=";
echo $_REQUEST['sens'];
echo "&s_id=\"+this_id+\"&fromwhere=\"+fromwhere+\"&fileid_id=";
echo $_REQUEST['fileid_id'];
echo "&POSITION=";
echo $_REQUEST['POSITION'];
echo "&POSITION1=";
echo $_REQUEST['POSITION1'];
echo "&POSITION2=";
echo $_REQUEST['POSITION2'];
echo "&creat_user_id=";
echo $_REQUEST['creat_user_id'];
echo "&SUBJECT=";
echo $_REQUEST['SUBJECT'];
echo "&creat_date_start=";
echo $_REQUEST['creat_date_start'];
echo "&creat_date_end=";
echo $_REQUEST['creat_date_end'];
echo "\" ;\r\n\t\t\t//alert(URL);\r\n\t\t\twindow.location=URL;\r\n\t\t }\r\n\t}else{\r\n\t var thistypevalue = document.getElementById('what_'+CONTENT_ID).alt;\r\n\t if(thistypevalue==\"锁定信息\"){\r\n\t\t alert(\"此文档处于编辑锁定状态不能删除!鼠标滑过左边的锁提示锁定信息!\");\r\n\t }else{ \t\t\t\t\r\n\t\t msg=\"您编辑还没有保存!您确定要删除该文件吗?\";\r\n\t\t if(window.confirm(msg))\r\n\t\t {\r\n\t\t\tURL=\"../delete.php?CONTENT_ID=\"+CONTENT_ID+\"&cu";
echo "r_page=";
echo $cur_page;
echo "&FILE_SORT=\"+FILE_SORT+\"&order=";
echo $_REQUEST['order'];
echo "&sens=";
echo $_REQUEST['sens'];
echo "&s_id=\"+this_id+\"&fromwhere=\"+fromwhere+\"&fileid_id=";
echo $_REQUEST['fileid_id'];
echo "&POSITION=";
echo $_REQUEST['POSITION'];
echo "&POSITION1=";
echo $_REQUEST['POSITION1'];
echo "&POSITION2=";
echo $_REQUEST['POSITION2'];
echo "&creat_user_id=";
echo $_REQUEST['creat_user_id'];
echo "&SUBJECT=";
echo $_REQUEST['SUBJECT'];
echo "&creat_date_start=";
echo $_REQUEST['creat_date_start'];
echo "&creat_date_end=";
echo $_REQUEST['creat_date_end'];
echo "\";\r\n\t\t\twindow.location=URL;\r\n\t\t }\r\n\t }\r\n\t //thistypevalue = thistypevalue.substring();\r\n\t}\r\n\t}else{\r\n msg=\"确定要删除该文件吗?\";\r\n\t\t if(window.confirm(msg))\r\n\t\t {\r\n\t\t\tURL=\"../delete.php?CONTENT_ID=\"+CONTENT_ID+\"&cur_page=";
echo $cur_page;
echo "&FILE_SORT=\"+FILE_SORT+\"&order=";
echo $_REQUEST['order'];
echo "&sens=";
echo $_REQUEST['sens'];
echo "&s_id=\"+this_id+\"&fromwhere=\"+fromwhere+\"&fileid_id=";
echo $_REQUEST['fileid_id'];
echo "&POSITION=";
echo $_REQUEST['POSITION'];
echo "&POSITION1=";
echo $_REQUEST['POSITION1'];
echo "&POSITION2=";
echo $_REQUEST['POSITION2'];
echo "&creat_user_id=";
echo $_REQUEST['creat_user_id'];
echo "&SUBJECT=";
echo $_REQUEST['SUBJECT'];
echo "&creat_date_start=";
echo $_REQUEST['creat_date_start'];
echo "&creat_date_end=";
echo $_REQUEST['creat_date_end'];
echo "\";\r\n\t\t\t//alert(URL);\r\n\t\t\twindow.location=URL;\r\n\t\t\t\r\n\t\t }\r\n\t}\r\n}\r\n\r\nfunction documentMove(){\r\n\tvar CONTENT_ID='';\r\n\tvar singlebox = document.all(\"check_select\");\r\n\t for(i=0;i";
echo "<s";
echo "inglebox.length;i++){\r\n\t\t if(document.getElementsByName(\"check_select\")[i].checked){\r\n\t\t CONTENT_ID+=+document.getElementsByName(\"check_select\")[i].value+',';\r\n\t\t }\r\n\t }\r\n\t if(CONTENT_ID==''){alert('要转移文件,请至少选择其中一个')\r\n\t\t }else{\r\n\t\t url = \"../document_move.php?FILE_SORT=";
echo $FILE_SORT;
echo "&CONTENT_ID=\"+CONTENT_ID;\r\n\t\topenWindowsl(url);\r\n\t\t //LoadWindowSelectFile('getsortid','getsortname','MANAGE','";
echo $FILE_SORT;
echo "');\r\n\t\t //var gosortid = document.getElementById('getsortid').value\r\n\t\t\t //alert(gosortid);\r\n\t }\r\n\r\n}\r\nfunction isAllCol(colname){\r\n\t\tvar object = document.getElementsByName(colname);\r\n\t\tvar length = object.length;\r\n\t\tfor(var j=0;j<length;j++){\r\n\t\t\t//alert('object[j].checked');\r\n\t\t\tif(!(object[j].checked)){\r\n\t\t\t\treturn false;\t\t\t \r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\treturn true;\r\n\t}\r\n\r\nfunction getLock";
echo "Massage(log_id){\r\n\tvar obj = \"lockdiv\";\r\n\t//ATTACHMENT_NAME = ATTACHMENT_NAME.urldecode();\r\n\tvar objdiv = document.getElementById(obj);\r\n\tobjdiv.style.display = \"\";\r\n\tobjdiv.focus();\r\n\tobjdiv.style.posLeft = event.clientX+document.body.scrollLeft+10;\r\n\tobjdiv.style.posTop = event.clientY+document.body.scrollTop;\r\n\tobjdiv.innerHTML = \"<div id='picload'><img src='/images/loading.gif'>数据加载中,请稍
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -