📄 read.php
字号:
$MODE_CONTENT = str_replace( "[***创建人***]", "{$USER_NAME}", $MODE_CONTENT );
$MODE_CONTENT = str_replace( "[***创建时间***]", "{$SEND_TIME}", $MODE_CONTENT );
}
$search_subject = $_REQUEST['search_subject'];
if ( $search_subject != "" )
{
$MODE_CONTENT = str_replace( "{$search_subject}", "<b style='color:red'>{$search_subject}</b>", $MODE_CONTENT );
}
echo $MODE_CONTENT;
echo "<DIV id=\"con\">\r\n<UL id=\"tags\">\r\n <LI class='selectTag' ><A ID=\"tagsli0\" onclick=\"selectTag('tagContent0',this)\" \r\n href=\"javascript:void(0)\">相关附件</A> </LI>\r\n <LI ><A ID=\"tagsli1\" onclick=\"selectTag('tagContent1',this)\" \r\n href=\"javascript:void(0)\">附件说明</A> </LI>\r\n <LI ><A ID=\"tagsli2\" onclick=\"selectTag('tagContent2',this)\" \r\n href=\"javascript:void(0)\">基本信息</A> </LI>\r\n ";
if ( $FILE_SORT == 1 )
{
echo " <LI ><A ID=\"tagsli3\" onclick=\"selectTag('tagContent3',this)\" \r\n href=\"javascript:void(0)\">文档回复</A> </LI>\r\n ";
}
echo "</UL>\r\n\t<DIV id='tagContent'>\r\n\t\t<DIV class='tagContent selectTag' id='tagContent0'>\r\n\t\t\t<table width=\"100%\" cellspacing='1' cellpadding='1'>\r\n\t\t\t\t<tr id = 'attachmentlist' style='display:\"\";'>\r\n\t\t\t\t\t<td class='TableLine2' style=\"padding-left:8px\";>\r\n\t\t\t\t\t";
echo $at_img_title;
echo "\t\t\t\t\t</td>\r\n\t\t\t\t</tr>\r\n\t\t\t</table>\r\n\t\t</DIV>\r\n\r\n\t\t<DIV class=\"tagContent\" id='tagContent1'>\r\n\t\t\t<table width=\"100%\" cellspacing='1' cellpadding='1' >\r\n\t\t\t\t<tr id = 'attachmentextlist'>\r\n\t\t\t\t\t<td class='TableLine2' style=\"padding-left:8px\";>\r\n\t\t\t\t\t";
if ( $ATTACHMENT_DESC == "" )
{
echo " 没有说明!";
}
else
{
echo " ".$ATTACHMENT_DESC;
}
echo "\t\t\t\t\t</td>\r\n\t\t\t\t</tr>\r\n\t\t\t</table>\r\n\t\t</DIV>\r\n\t\t<DIV class=\"tagContent\" id='tagContent2'>\r\n\t\t\t\t<table width=\"100%\" cellspacing='1' cellpadding='1' >\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<table id = 'massagelist' width=\"100%\" cellspacing='1' cellpadding='1' >\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td class='TableLine1'>\r\n\t\t\t\t\t\t\t\t ";
echo "<s";
echo "trong> 标题:</strong>";
echo $SUBJECT;
echo "\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td class='TableLine2'>\r\n\t\t\t\t\t\t\t\t ";
echo "<s";
echo "trong> 创建人:</strong>";
echo $USER_NAME;
echo "\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td class='TableLine1'>\r\n\t\t\t\t\t\t\t\t ";
echo "<s";
echo "trong> 修改时间:</strong>";
echo $SEND_TIME;
echo "\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t";
if ( $_REQUEST['FILE_SORT'] == 1 )
{
echo "\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td class='TableLine2'>\r\n\t\t\t\t\t\t\t\t ";
echo "<s";
echo "trong> 未看回复/回复数量/阅读次数:</strong>";
echo getrecountstr( $CONTENT_ID, $SORT_ID );
echo "\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t";
}
echo "\t\t\t\t\t\t</table>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t</table>\r\n\t\t</DIV>\r\n\t\t<DIV class=\"tagContent\" id='tagContent3'>\r\n\t\t\t<table width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" >\r\n\t\t\t<form method='post' name='form2' action='update.php'>\r\n\t\t\t<input type='hidden' name='CONTENT_ID' id='CONTENT_ID' value='";
echo $_REQUEST['CONTENT_ID'];
echo "'>\r\n\t\t\t<input type='hidden' name='SORT_ID' id='SORT_ID' value='";
echo $_REQUEST['SORT_ID'];
echo "'>\r\n\t\t\t<input type='hidden' name='PAGE_START' id='PAGE_START' value='";
echo $_REQUEST['PAGE_START'];
echo "'>\r\n\t\t\t<input type='hidden' name='refreshno' id='refreshno' value='";
echo $_REQUEST['refreshno'];
echo "'>\r\n\t\t\t<input type='hidden' name='type' id='type' value='re_validate'>\r\n\t\t\t<input type='hidden' name='FILE_SORT' id='FILE_SORT' value='";
echo $_REQUEST['FILE_SORT'];
echo "'>\r\n\t\t\t<tr>\r\n\t\t\t";
if ( $_REQUEST['FILE_SORT'] == 1 )
{
if ( opinionpurview( "RE", $SORT_ID ) )
{
echo "<td class=\"Tablehead1\"><span class=\"linkdivOp\" onclick=\"showOrHideThis('re_place','upordownstate3')\"> <img id='upordownstate3' src='/images/document/close.gif' align=\"absmiddle\" > 我要回复</span></td>";
}
else
{
echo "<td class=\"Tablehead1\"><span class=\"nolinktextOp\" onclick=\"alert('你没有回复权限,详情请咨询系统管理员!')\"> <img id='upordown' src='/images/document/close.gif' align=\"absmiddle\" style='filter:gray();'> 我要回复</span></td>";
}
echo "\t\t\t\t\t</tr>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<td class=\"TableLine1\" id='re_place' style=\"display:'none'\"> <textarea id='re_content' name=\"re_content\" cols=\"46\" rows=\"5\" class=\"BigStatic\" onfocus=\"hideTagRed('hideimg','')\" onblur=\"hideTagRed('hideimg','re_content')\"></textarea> <IMG SRC=\"/images/littlegif/murumpyo.gif\" BORDER=\"0\" id=\"hideimg\"> <input type=\"submit\" onClick=\"return re_validate();\" val";
echo "ue=\"提交\" class=\"SmallButton\" title=\"提交\" name=\"submit\"></td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t</form>\r\n\t\t\t\t</table>\r\n\t\t\t\t<table id='re_list' width=\"100%\" cellspacing='1' cellpadding='1' style='display:\"\";'>\r\n\t\t\t\t";
$re_query = "select * from file_revert where CONTENT_ID=".$_REQUEST['CONTENT_ID']." order by RE_TIME desc";
$re_cursor = exequery( $connection, $re_query );
$count = 0;
while ( $re_row = mysql_fetch_array( $re_cursor ) )
{
++$count;
$re_time = $re_row['RE_TIME'];
$re_name = $re_row['RE_NAME'];
$re_content = $re_row['RE_CONTENT'];
echo "\t\t\t\t\t<tr class=\"TableLine2\" style=\"\" >\r\n\t\t\t\t\t\t<td>";
echo "<s";
echo "trong> ";
echo $re_name;
echo "</strong> (";
echo $re_time;
echo ")</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t<tr class=\"TableLine1\">\r\n\t\t\t\t\t\t<td> <IMG SRC=\"/images/document/saylist.gif\" BORDER=\"0\" ALT=\"\"> ";
echo $re_content;
echo "</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t";
}
if ( $count == 0 )
{
echo " 没有回复!";
}
echo "\t\t\t\t</table>\r\n\t\t\t\t";
}
else
{
echo " 没有回复!";
}
echo "\t\t</DIV>\r\n\t</DIV>\r\n</DIV>\r\n";
echo "<S";
echo "CRIPT type=text/javascript>\r\nfunction selectTag(showContent,selfObj){\r\n\t// 操作标签\r\n\tvar tag = document.getElementById(\"tags\").getElementsByTagName(\"li\");\r\n\tvar taglength = tag.length;\r\n\tfor(i=0; i<taglength; i++){\r\n\t\ttag[i].className = \"\";\r\n\t}\r\n\tselfObj.parentNode.className = \"selectTag\";\r\n\t// 操作内容\r\n\tfor(i=0; j=document.getElementById(\"tagContent\"+i); i++){\r\n\t\tj.style.display = \"none\";\r\n\t}\r\n\t";
echo "document.getElementById(showContent).style.display = \"block\";\r\n}\r\n\r\n\r\nvar tagsli = \"";
echo $_REQUEST['tagsli'];
echo "\";\r\nif(tagsli == \"\"){\r\n\ttagsli = \"tagsli0\"\t;\r\n\ttagsli_content = \"tagContent0\";\r\n}\r\nif(tagsli == \"tagsli3\")\t{\r\n tagsli_content = \"tagContent3\";\r\n}\r\nvar objTagsLi = document.getElementById(tagsli);\r\nselectTag(tagsli_content,objTagsLi);\r\n</SCRIPT>\r\n<input type=\"hidden\" id=\"SORT_ID\" value=\"";
echo $SORT_ID;
echo "\">\r\n<div id=\"revertdiv\" style=\"display:none;position:absolute;width:300;height:auto;padding:5px;background-color: #FFFFFF;border: 1px solid #848484;z-index:10;\" >\r\n</div>\r\n</body>\r\n</html>";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -