📄 mawhole.htm
字号:
<!--<?php print <<<EOT
-->
<form name="form1" method="post" action="mawhole.php?">
<input type="hidden" name="action" value="$action">
<input type="hidden" name="fid" value="$fid">
<input type="hidden" name="step" value="2">
<!--
EOT;
if($threaddb){print <<<EOT
-->
<table width="$tablewidth" cellspacing=1 cellpadding=3 align=center $i_table>
<tr align="center" class="head">
<td width="5%">ID</td>
<td>标题</td>
<td width="15%">论坛</td>
<td width="15%">作者</td>
<td width="8%">回复</td>
<td width="15%">发表时间</td>
</tr>
<!--
EOT;
$id=0;
foreach($threaddb as $key=>$val){
$id++;
print <<<EOT
-->
<tr align=center>
<td class="f_one" ><input type="checkbox" name="tidarray[]" value="$val[tid]" checked>$id</td>
<td class="f_one" align=left>
<a href="read.php?tid=$val[tid]" target="_blank">$val[subject]</a>
</td>
<td class="f_one">
<a href="index.php?fid=$val[fid]" target="_blank">{$forum[$val[fid]][name]}</a>
</td>
<td class="f_one">
<a href="profile.php?action=show&username=$val[author]" target="_blank">$val[author]</a>
</td>
<td class="f_one">$val[replies]</td>
<td class="f_one">$val[date]</td>
</tr>
<!--
EOT;
}print <<<EOT
-->
</table>
<!--
EOT;
}print <<<EOT
-->
<br>
<table width="$tablewidth" cellspacing=1 cellpadding=3 align=center $i_table>
<tr><td class="head" colspan="2">管理选项:
<!--
EOT;
if($action=='del'){print <<<EOT
-->
删除文章
<!--
EOT;
}elseif($action=='move'){print <<<EOT
-->
移动文章
<!--
EOT;
}elseif($action=='copy'){print <<<EOT
-->
复制文章
<!--
EOT;
}elseif($action=='headtopic'){print <<<EOT
-->
文章置顶操作
<!--
EOT;
}elseif($action=='digest'){print <<<EOT
-->
文章精华操作
<!--
EOT;
}elseif($action=='type'){print <<<EOT
-->
文章分类管理
<!--
EOT;
}elseif($action=='check'){print <<<EOT
-->
文章审核管理
<!--
EOT;
}elseif($action=='lock'){print <<<EOT
-->
文章锁定操作
<!--
EOT;
}elseif($action=='pushtopic'){print <<<EOT
-->
提前文章
<!--
EOT;
}elseif($action=='edit'){print <<<EOT
-->
加亮文章标题操作
<!--
EOT;
}print <<<EOT
-->
</td></tr>
<!--
EOT;
if($action=='headtopic'){
print <<<EOT
-->
<tr>
<td class='f_one' width='20%'>管理选项:</td>
<td class='f_one'>
<input type='radio' name='topped' value='0' $topped_0> 取消置顶
<input type='radio' name='topped' value='1' $topped_1> 置顶1
<!--
EOT;
if($groupid != 5){
if($SYSTEM['topped']==2){print <<<EOT
-->
<input type='radio' name='topped' value='2' $topped_2> 置顶2
<!--
EOT;
} elseif($SYSTEM['topped']==3){print <<<EOT
-->
<input type='radio' name='topped' value='2' $topped_2> 置顶2
<input type='radio' name='topped' value='3' $topped_3> 置顶3
<!--
EOT;
}}print <<<EOT
-->
</td>
</tr>
<!--
EOT;
}elseif($action=='digest'){
print <<<EOT
-->
<tr>
<td class='f_one' width='20%'>管理选项:</td>
<td class='f_one'>
<input type='radio' name='digest' value='0' $digest_0>取消精华
<input type='radio' name='digest' value='1' $digest_1>精华I
<input type='radio' name='digest' value='2' $digest_2>精华II
</td>
</tr>
<!--
EOT;
}elseif($action=='lock'){
print <<<EOT
-->
<tr>
<td class='f_one' width='21%'>管理选项:</td>
<td class='f_one'>
<input type='radio' name='locked' value='0' $lock_0>解除锁定
<input type='radio' name='locked' value='1' $lock_1>锁定
<input type='radio' name='locked' value='2' $lock_2>关闭
</td>
</tr>
<!--
EOT;
}elseif($action=='pushtopic'){
print <<<EOT
-->
<tr><td class='f_one' width='21%'>管理选项:</td><td class='f_one'>
提前帖子
</td></tr>
<!--
EOT;
}elseif($action=='edit'){
print <<<EOT
-->
<tr>
<td class='f_one' width='21%'>管理选项:</td>
<td class='f_one'>
<input type=checkbox name='title2' value='1' $ifchecked[1]><B>粗体字</B>
<input type=checkbox name='title3' value='1' $ifchecked[2]><I>斜体字</I>
<input type=checkbox name='title4' value='1' $ifchecked[3]><U>下划线</U>
<br><br>
特效(占CPU资源)<br>
<input type=checkbox name="title5" value="1" $ifchecked[4]>彩虹高亮
<input type=checkbox name="title6" value="1" $ifchecked[5]>霓虹闪烁
<input type=checkbox name="title7" value="1" $ifchecked[6]>跳跃心情
<input type=checkbox name="title8" value="1" $ifchecked[7]>突然惊现
<input type=checkbox name="title9" value="1" $ifchecked[8]>色框包揽
<input type=checkbox name="title10" value="1" $ifchecked[9]>文字底色
<br><br>
颜色
<font color='red'>自定义颜色代码</font>
<input name=title1 type=test value=""><br>
<input name=title1 type=radio value='' $ifchecked[none]>不使用
<input name=title1 type=radio value=red $ifchecked[red]>
<font color='red'>红色</font>
<input name=title1 type=radio value=blue $ifchecked[blue]>
<font color='blue'>蓝色</font>
<input name=title1 type=radio value=green $ifchecked[green]>
<font color='green'>绿色</font>
<input name=title1 type=radio value=orange $ifchecked[orange]>
<font color='orange'>橙色</font>
<input name=title1 type=radio value=silver $ifchecked[silver]>
<font color='silver'>银色</font>
</td>
</tr>
<!--
EOT;
}elseif($action=='del'){
print <<<EOT
-->
<tr>
<td class="f_one">扣除积分:</td>
<td class="f_one">
<input type=radio name=ifdel value=1 checked>是
<input type=radio name=ifdel value=0>否
</td>
</tr>
<!--
EOT;
}print <<<EOT
-->
<tr>
<td class="f_one">短消息通知:</td>
<td class="f_one">
<input type=radio name=ifmsg value=1>是
<input type=radio name=ifmsg value=0 checked>否
</td>
</tr>
<tr>
<td class='f_one'>操作原因:</td>
<td class='f_one'>
<!--
EOT;
if($db_adminreason){print <<<EOT
-->
<select name="" size='8' multiple onchange="this.form.atc_content.value=this.value">
<option value="">自定义</option>
<option value="">-------</option>
$reason_sel
</select>
<!--
EOT;
}print <<<EOT
-->
<textarea name='atc_content' rows='8' cols='80'></textarea>
</td>
</tr>
</table>
<br><br>
<center>
<!--
EOT;
if($action=='type'){
print <<<EOT
-->
文章分类管理 <select name="type">
<!--
EOT;
foreach($t_typedb as $key=>$value){
if($value){
print <<<EOT
-->
<OPTION value="$key">$value</OPTION>
<!--
EOT;
}}print <<<EOT
-->
</select><p>
<!--
EOT;
}if($action=='move' || $action=='copy'){
print <<<EOT
-->
选择目的版块:
<select name=to_id>$forumcache
<!--
EOT;
if($forumadd){
print <<<EOT
-->
<option value=''>>> 隐藏版块</option>
$forumadd
<!--
EOT;
}if(trim($cmscache)){print <<<EOT
-->
<option value=''></option>
<option value=''>文章分类</option>
$cmscache
<!--
EOT;
}print <<<EOT
-->
</select><p>
<!--
EOT;
}print <<<EOT
-->
<input class="button" type=button value='返 回' onclick='javascript:history.go(-1)'>
<input class="button" type=submit name=Submit value='提 交'>
</center>
</form>
<!--
EOT;
?>-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -