📄 forums.php
字号:
<?
// 注意,HTML代码不要使用“ " ” ,尽量使用 “ '”
//printLoginForm 'Part 1
//新风格专用风格模板
//版权所有 Bob Shen 2003
global $winimages;
$po[0]="<script language=\"JavaScript\">
function CheckAll(form){
for (var i=0;i<form.elements.length;i++){
var e = form.elements[i];
e.checked = true;
}}
function FanAll(form){
for (var i=0;i<form.elements.length;i++){
var e = form.elements[i];
if (e.checked == true){ e.checked = false; }
else { e.checked = true;}
}}
function admin(){
var URL = document.adminjump.jumpto1.options[document.adminjump.jumpto1.selectedIndex].value;
top.location.href = URL; target = '_self';
}
function menu(){
var URL = document.jump.jumpto.options[document.jump.jumpto.selectedIndex].value;
top.location.href = URL; target = '_self';
}
</script><p>
<table cellspacing=0 cellpadding=0 width=100% align=center border=0>
<tr>
<td>
<table cellspacing=1 cellpadding=5 width=$tablewidth align=center border=0 bgcolor=$bordercolor>";
$po[1]="<tr align=center valign=middle bgcolor=$forumcolortwo>
<td width=26><a onfocus=this.blur() href=\"forums.php?forumid=$detail[3]\">$forum_icon</a></td>
<td width=* bgcolor=$forumcolorone align=left onmouseover=javascript:this.bgColor='$forumcolortwo' onmouseout=javascript:this.bgColor='$forumcolorone'>$forumlabel<br><table width=100% cellpadding=1><tr><td width=3%>$detail[5]</td><td width=1></td><td width=65%><font color=$forumdescolor>$detail[2]</font></td><td align=right width=32%><a href=post.php?forumid=$detail[3]><img src=$posticon border=0 alt='{$forum_line[14]} $detail[1] {$forum_line[15]}'></a> <a href=poll.php?forumid=$detail[3]><img src=$pollicon border=0 alt='{$forum_line[14]} $detail[1] {$forum_line[16]}'></a> </td></table></td>
<td width=74>$admin_list_2</td>
<td width=45 bgcolor=$forumcolortwo valign=middle align=center><b><font class=cau>$forum_line[19]<br>$ztnum</font></b></td>
<td width=45 bgcolor=$forumcolortwo valign=middle align=center><b><font class=cau>$forum_line[20]<br>$ztnum1</font></b></td>
<td width=168 bgcolor=$forumcolorone align=left> $title<br> $user<br> $time</td>
<td width=26><span style=\"CURSOR: hand\" onClick=\"window.external.AddFavorite('{$script_pos}/forums.php?forumid=$detail[3]', '$detail[1]')\"><img alt='$forum_line[21]{$detail[1]}$forum_line[22]' src=\"$winimages/addfav.gif\" border=0></span></td>
</tr>";
$po[2]="<br><table cellspacing=1 cellpadding=1 width=$tablewidth align=center bgcolor='$article_color2' background='$tablebg' bordercolor=$bordercolor>
<tr align=center ><td align=center width=34><a href=announceforum.php?forumid=$forumid><img alt='更多公告' border=0 src='$otherimages/system/gb.gif' border=0 width=18></a></td><td width=* align=center >
<SCRIPT language=JavaScript src=\"images/fader.js\" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript type=text/javascript>
prefix=\"\";
arNews = [$announcement]
</SCRIPT>
<DIV id=elFader style=\"VISIBILITY: hidden; POSITION: relative; HEIGHT: 16px\"></DIV>
</tr></table><BR>";
$po[3]="<table width=$tablewidth border=0 cellspacing=0 cellpadding=0 align=center>
<tr align=right valign=bottom>
<td align=left><a href=\"post.php?forumid=$forumid\"><img src=\"$npost\" border=0></a>
<a href=\"poll.php?forumid=$forumid\"><img src=\"$npollicon\" border=0></a>
</td><td width=50%> <select onChange=admin() name=jumpto1>
<OPTION>$infoan[2]</OPTION><OPTION>--------</OPTION>
";
$po[4]=" </OPTION></select></form> <a href=\"forums.php?forumid=$forumid&trash=trash\">$infoan[3]</a> <a href=\"forums.php?forumid=$forumid&jinhua=jinhua\">$infoan[4]</a> <a href=\"forumlogs.php?forumid=$forumid\">$infoan[5]</a></td>
</tr>
</table>
$decorate2
<table cellspacing=0 cellpadding=4 width=$tablewidth align=center border=1 bgcolor='$categorycolor' background='$tile_back' bordercolor=$bordercolor>
<tr align=center height=26>";
$po[5]=" <td width=* ><b><a href=forums.php?forumid=$forumid&listby=title&jinhua=$jinhua&page=$page><font color=$categoryfontcolor> $listbyyy[0]</a></font></b></td>
<td width=80><b ><a href=forums.php?forumid=$forumid&listby=author&jinhua=$jinhua&page=$page><font color=$categoryfontcolor>$listbyyy[1]</a></b></td>
<td width=26><b ><a href=forums.php?forumid=$forumid&listby=reply&jinhua=$jinhua&page=$page><font color=$categoryfontcolor>$listbyyy[2]</a></b></td>
<td width=26><b ><a href=forums.php?forumid=$forumid&listby=hit&jinhua=$jinhua&page=$page><font color=$categoryfontcolor>$listbyyy[3]</a></b></td>
<td width=220><b><a href=forums.php?forumid=$forumid&listby=posttime&jinhua=$jinhua&page=$page><font color=$categoryfontcolor>$listbyyy[4]</a></b></td>
</tr>
</table>";
$po[6]=" <table cellspacing=0 cellpadding=4 width=\"$tablewidth\" align=center border=1 bordercolor=$bordercolor>
<tr align=center height=25 bgcolor=$list_color1>
<td width=20 ><img src='$otherimages/announce.gif'></td>
<td width=* bgcolor=$list_color2 align=left onmouseover=javascript:this.bgColor='$list_color1' onmouseout=javascript:this.bgColor='$list_color2'>
<table width=$tablewidth border=0 cellspacing=0 cellpadding=4>
<tr>
<td> <B><A
href=\"topsys.php\" ><font color=$jiazhongcolor>$coninfo[7]</font></A> </B><A
href=\"$filetopn?forumid=$foruid&filename=$topid\" title=\"$title\">$topic_name</A><DIV ALIGN=Right><font color=#FF8BA2> $toplangg </font></div></div>
</td>
</tr>
</table>
</td>
<td width=80><A href=\"profile.php?job=show&target=$topic_author\">$topic_author</A><br>$aimetoshow</td>
<td width=61 bgcolor=$list_color2><A
href=\"topsys.php\" target=_blank>$coninfo[8]</A></td>
<td width=220 align=left> <IMG
src=\"$otherimages/system/icon_post.gif\" border=0> $almdtime <FONT color=#000066>|</FONT> <a href=\"profile.php?job=show&target=$retopic_author\">$retopic_author</a></td>
</tr>
</table>
";
$po[7]=" <table cellspacing=0 cellpadding=4 width=\"$tablewidth\" align=center border=1 bordercolor=$bordercolor>
<tr align=center height=25 bgcolor=$list_color1>
<td width=20 ><img src='$otherimages/system/lockcattop.gif'></td>
<td width=* bgcolor=$list_color2 align=left onmouseover=javascript:this.bgColor='$list_color1' onmouseout=javascript:this.bgColor='$list_color2'>
<table width=100% border=0 cellspacing=1 cellpadding=4>
<tr>
<td> <B><A
href=\"catesys.php?cateid=$forum_cid\" ><font color=$jiazhongcolor>$coninfo[9]</font></A> </B><A
href=\"$filetopn?forumid=$foruid&filename=$topid\" title=\"$title\">$topic_name</A><DIV ALIGN=Right><font color=#FF8BA2> $toplangg </font></div></div>
</td>
</tr>
</table>
</td>
<td width=80><A href=\"profile.php?job=show&target=$topic_author\">$topic_author</A><br>$ximetoshow</td>
<td width=61 bgcolor=$list_color2><A
href=\"catesys.php?cateid=$forum_cid\" target=_blank>$coninfo[10]</A></td>
<td width=220 align=left> <IMG
src=\"$otherimages/system/icon_post.gif\" border=0> $almdtime <FONT color=#000066>|</FONT> <a href=\"profile.php?job=show&target=$retopic_author\">$retopic_author</a></td>
</tr>
</table>
";
$po[8]="<table cellspacing=0 cellpadding=0 width=$tablewidth align=center border=1 bgcolor=ffffff bordercolor=$bordercolor>
<tr>
<td width=382 height=25 valign=middle align=center>
<input type=button name=chkall value=$maninfo[0] onclick='CheckAll(this.form)' style=\"color: #000000; background-color: #f3f3f3; border-style: solid; border-width: 1\" onMouseOver =\"this.style.backgroundColor='#ffffff'\" onMouseOut =\"this.style.backgroundColor='#f3f3f3'\">
<input type=button name=clear2 value=$maninfo[1] onclick='FanAll(this.form)' style=\"color: #000000; background-color: #f3f3f3; border-style: solid; border-width: 1\" onMouseOver =\"this.style.backgroundColor='#ffffff'\" onMouseOut =\"this.style.backgroundColor='#f3f3f3'\">
<input type=reset name=Reset value=$maninfo[2] style=\"color: #000000; background-color: #f3f3f3; border-style: solid; border-width: 1\" onMouseOver =\"this.style.backgroundColor='#ffffff'\" onMouseOut =\"this.style.backgroundColor='#f3f3f3'\">
<input type=radio value=copy name=action id=\"mag_1\"><label for=\"mag_1\">$maninfo[3]</label> <input type=radio value=move name=action id=\"mag_2\"><label for=\"mag_2\">$maninfo[4]</label> <input type=radio value=hebing name=action id=\"mag_3\"><label for=\"mag_3\">$maninfo[5]</label> <input type=radio value=del checked name=action id=\"mag_4\"><label for=\"mag_4\">$maninfo[6]</label>
<input type=submit value=$maninfo[7] style=\"color: #000000; background-color: #f3f3f3; border-style: solid; border-width: 1\" onMouseOver =\"this.style.backgroundColor='#ffffff'\" onMouseOut =\"this.style.backgroundColor='#f3f3f3'\">
</td></form>
<td> <a href='badman.php?forumid=$forumid'>$maninfo[8]</a> <a href='announceforum.php?forumid=$forumid'><img border=0 src=$otherimages/system/gb.gif>$maninfo[9]</a> <a href='modfix.php?target=$forumid'>$maninfo[10]</a></td>
</tr>
</table>";
$po[418]="<table cellspacing=0 cellpadding=0 width=$tablewidth align=center border=1 bgcolor=ffffff bordercolor=$bordercolor>
<tr>
<td width=382 height=25 valign=middle align=center>
<input type=button name=chkall value=$maninfo[0] onclick='CheckAll(this.form)' style=\"color: #000000; background-color: #f3f3f3; border-style: solid; border-width: 1\" onMouseOver =\"this.style.backgroundColor='#ffffff'\" onMouseOut =\"this.style.backgroundColor='#f3f3f3'\">
<input type=button name=clear2 value=$maninfo[1] onclick='FanAll(this.form)' style=\"color: #000000; background-color: #f3f3f3; border-style: solid; border-width: 1\" onMouseOver =\"this.style.backgroundColor='#ffffff'\" onMouseOut =\"this.style.backgroundColor='#f3f3f3'\">
<input type=reset name=Reset value=$maninfo[2] style=\"color: #000000; background-color: #f3f3f3; border-style: solid; border-width: 1\" onMouseOver =\"this.style.backgroundColor='#ffffff'\" onMouseOut =\"this.style.backgroundColor='#f3f3f3'\">
<input type=radio value=del checked name=action id=\"mag_4\"><label for=\"mag_4\">$maninfo[6]</label>
<input type=submit value=$maninfo[7] style=\"color: #000000; background-color: #f3f3f3; border-style: solid; border-width: 1\" onMouseOver =\"this.style.backgroundColor='#ffffff'\" onMouseOut =\"this.style.backgroundColor='#f3f3f3'\">
</td></form>
<td> <a href='badman.php?forumid=$forumid'>$maninfo[8]</a> <a href='announceforum.php?forumid=$forumid'><img border=0 src=$otherimages/system/gb.gif>$maninfo[9]</a> <a href='modfix.php?target=$forumid'>$maninfo[10]</a></td>
</tr>
</table>";
$po[9]="<table cellspacing=5 cellpadding=0 width=$tablewidth align=center border=0 >
<tr>
<td align=left >";
$po[10]="$pageinfo[0]<input type='text' name='page' size=4 maxlength=4 style='background-color:#ffffff; color:#8888AA; border: 1 double #B4B4B4' onMouseOver =\"this.style.backgroundColor = '#E5F0FF'\" onMouseOut = \"this.style.backgroundColor = ''\">$pageinfo[1]
<input type='submit' value='$pageinfo[2]' style='color: #000000;height:18px; background-color: #f3f3f3; border-style: solid; border-width: 1' onMouseOver =\"this.style.backgroundColor='#FFC864'\" onMouseOut =\"this.style.backgroundColor='#f3f3f3'\" name='submit'>";
$po[11]="</td>
";
$po[12]="<table border=0 cellpadding=0 cellspacing=3 width='$tablewidth' align=center>
<tr>
<FORM METHOD=POST ACTION='search.php?forumid=$forumid'>
<td width=70% valign=middle nowrap height=40>
$forum_pos[0]<input type=text name='keyword'> <input type=submit style='color: #000000;height:18px; background-color: #f3f3f3; border-style: solid; border-width: 1' onMouseOver =\"this.style.backgroundColor='#FFC864'\" onMouseOut =\"this.style.backgroundColor='#f3f3f3'\" name='submit' value='$forum_pos[2]'>
</td>
</FORM>
<td width=30% valign=middle nowrap height=40 align=right><form name=jump action=forums.php method=post>
$forum_pos[1]
<select onChange=menu() name=jumpto>
<OPTION value=\"index.php\" selected>$forum_pos[3]</OPTION>";
$po[13]="</select></form></td></table>
<script language=\"JavaScript1.2\">
<!--
helpstat = false;
stprompt = true;
basic = false;
clckcnt = 0;
var postmaxchars = $max_post_length;
ie = (document.all)? true:false
if (ie){
function ctlent(eventobject){if(event.ctrlKey && window.event.keyCode==13){this.document.FORM.submit();}}
}
function clckcntr() {
clckcnt++;
if(clckcnt > 1) {
if(clckcnt > 2) { return false; }
alert('$jsinfo[0]');
return false;
}
return true;
}
function thelp(swtch){
if (swtch == 1){
basic = false;
stprompt = false;
helpstat = true;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -