📄 document_move.php
字号:
<?php
include_once( "inc/auth.php" );
$DOCUMENT_ID = $_REQUEST['CONTENT_ID'];
$FILE_SORT = $_REQUEST['FILE_SORT'];
echo "<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</style>\r\n</head>\r\n<html>\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\nfunction saveDocMove(content_id,file_sort){\r\n\tvar now_sort_id = document.getElementById('fileid_id').value;\r\n\tif(now_sort_id==0){\r\n\t\t\talert('您不能把文档转移到根目录!');\r\n\t\t\treturn(false);\r\n\t\t}\r\n\t\r\n\tmsg\t= \"确定要转移此文件夹吗?\";\r\n\t if(window.confirm(msg))\r\n\t {\r\n\t\t//alert(now_sort_id);\r\n\t\tsendMoveData(now_sort_id,content_id,file_sort);\r\n\t }\r\n}\r\nfunction sendMoveData(sort_id,content_id";
echo ",file_sort){\r\n\tvar url = \"save_move.php\";\r\n\t//alert(sort_id);\r\n\tvar par = \"sort_id=\"+sort_id+\"&content_id=\"+content_id+\"&file_sort=\"+file_sort+\"&do_what=doc\";\r\n\tqueryString = par;\r\n\tnew Ajax.Request\r\n\t(\r\n\t\turl,\r\n\t\t{\r\n\t\t\tmethod: \"post\",\t\r\n\t\t\tonSuccess : function(resp)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t//alert(resp.responseText);\r\n\t\t\t\t\t\t\t//objDivID.innerHTML = resp.responseText;\r\n\t\t\t\t\t\t\t//alert(objDivID.src);\r\n\t\t\t\t";
echo "\t\t\t//alert(par)\r\n\t\t\t\t\t\t\twindow.opener.location.href=\"filelist.php?SORT_ID=\"+sort_id+\"&FILE_SORT=";
echo $FILE_SORT;
echo "\";\r\n\t\t\t\t\t\t\twindow.close();\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t},\r\n\t\t\tonFailure : function()\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\talert(url);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t},\r\n\t\t\tparameters : queryString\r\n\t\t}\r\n\t);\r\n\r\n}\r\n</script>\r\n<body topmargin=\"0\" rightmargin=\"0\" leftmargin=\"0\">\r\n\t<form name=\"form1\" action=\"\" method=\"post\" >\r\n\t\t<table border=\"0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" >\r\n\t\t\t<tr>\r\n\t\t\t\t<td class=\"TableHead1\" colspan=\"2\">\r\n\t\t\t\t\t<IMG SR";
echo "C=\"/images/icons/computer_go.png\" WIDTH=\"16\" HEIGHT=\"16\" BORDER=\"0\" ALT=\"\"> 文档转移\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td colspan=\"2\" class=\"TableLine2\">\r\n\t\t\t\t\t<button class=\"btn\" onclick=\"saveDocMove('";
echo $DOCUMENT_ID;
echo "','";
echo $FILE_SORT;
echo "');\" title=\"确定\" ><table><tr><td><img src=\"/images/littlegif/b_u.gif\" align=\"center\"></td><td>";
echo "<s";
echo "pan >确定</span></td></tr></table></button> <button class=\"btn\" onclick=\"window.close()\" title=\"关闭\" ><table><tr><td><img src=\"/images/littlegif/b_u.gif\" align=\"center\"></td><td>";
echo "<s";
echo "pan >关闭</span></td></tr></table></button>\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t</table>\r\n\t\t<br>\r\n\t\t<table border=\"0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"5\">\r\n\t\t<tr id=\"shareearid\">\r\n\t\t\t\t<td nowrap class=\"TableLine2\" align=\"left\">\r\n\t\t\t\t文档转移到:\r\n\t\t\t\t<input name=\"filename\" ID = \"filename_id\" type=\"text\" class=\"BigStatic\" readonly value=\"";
echo $SORT_NAME;
echo "\">\r\n\t\t\t\t<input type=\"hidden\" name=\"SORT_SELECTOR\" ID = \"fileid_id\" value=\"";
echo $SORT_ID;
echo "\">\r\n\t\t\t\t";
echo "<s";
echo "pan class=\"linktextOp\" onClick=\"LoadWindowSelectFile('fileid_id','filename_id','MANAGE','";
echo $_REQUEST['FILE_SORT'];
echo "')\">选择目录</span>\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t\t</table>\r\n</body>\r\n</html>";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -