📄 adminsh.php
字号:
<?php
#########################################################
# inso留言本 1.2 #
#########################################################
# 这是个免费软件,但是享有版权 (C)copyright 2003 #
# ▲ ▲ ▲ ▲ #
# 仅限个人网站和非商业网站使用 #
# 如果您使用本脚本,请不要删除版权标记 #
# 如果您一定要删除版权的话或者用于商业网站的话 #
# 请支付人民币100元或美元10元,否则将视为非法 #
# inso汉化 创作 #
# http://www.shi8.com #
#########################################################
include "incl/pss.php";include "incl/metadoc.inc";
if(!isset($topic)){sdd();}else{$filw="data/$topic";sch($topic);}
$fs=obp();$fs=explode("\n",$fs);
if(isset($delete)){
settype($delete,"integer");
if($delete<count($fs)&&$delete!=0){
$fg=opl();$fg=explode("\n",$fg);
for($i=0;$i<count($fg);$i++){
$row=explode(":|:",$fg[$i]);
if($row[0]==$topic){
$crp=(string)$fg[$i];
$cru=explode(":|:",$crp);
settype($cru[5],"integer");
$gp=$cru[5]-1;
$fg[$i]="$cru[0]:|:$cru[1]:|:$cru[2]:|:$cru[3]:|:$cru[4]:|:$gp:|:$cru[6]";
}$bhz=implode("\n",$fg);wri($bhz);}
$bhy=arp($delete);
$bhx=implode("\n",$fs);
wor($bhx);}
die("<script type=\"text/javascript\">window.location='adminsh.php?topic=$topic';</script><title>...</title></head><body></body></html>");
}
?><title>ADMIN: <?php print $crl[29];?>...</title>
</head><body><table align="center" width="95%"><tr><td><?php include "incl/cust-top.inc";?><br clear="all">
<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>
<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td class="q">
<table width="100%" border="0" cellspacing="1" cellpadding="5"><tr class="c"><td colspan="5">
<table width="100%" cellpadding="2" cellspacing="0"><tr><td width="150" nowrap><span class="c"><a href="admin.php" id="lnk" title="<?php print $crl[0];?>" style="color:#ffffff;text-decoration:none" onMouseOver="adt();return true" onMouseOut="rdt();return true" onClick="pp=Math.round(999999*Math.random());window.location='admin.php?n='+pp;return false"><?php print $crl[2];?></a></span></td><td align="right" nowrap><b style="color:white">ADMIN</b></td></tr></table></td></tr>
<tr bgcolor="#aaaaaa"><td class="f" width="20%" nowrap> <?php print $crl[28];?> </td><td class="f" width="60%" nowrap> <?php print $crl[17];?> </td><td class="f" width="10%" nowrap> <?php print $crl[15];?> </td><td class="f" width="5%" nowrap> <?php print $crl[33];?> </td><td class="f" width="5%" nowrap> <?php print $crl[44];?> </td></tr>
<?php
for($i=0;$i<count($fs);$i++){
if(($fs[$i]!="")&&($fs[$i]!="\r")){
$cru=explode(":|:",$fs[$i]);
$zdw=explode(".gif",$cru[2]);
$zdw=substr($zdw[0], -1);
if(isset($cru[5])&&$cru[5]!=''){$bnn="<a href=\"#\" title=\"$cru[5]\" onClick=\"ban('$cru[5]');return false\">$crl[45]</a>";$bpp=explode(".",$cru[5]);$bpp="<a href=\"#\" title=\"$bpp[0].$bpp[1].$bpp[2].xxx\" onClick=\"ban('$bpp[0].$bpp[1].$bpp[2].');return false\">$crl[46]</a>";}else{$bnn="_";$bpp="_";}
if(!isset($cru[4])||$cru[4]==''||$cru[4]=='http://'){$img='';}else{$img="<img src=\"$cru[4]\" align=\"right\" border=\"1\" width=\"50\" height=\"50\" onClick=\"img(this,'$cru[4]')\" vspace=\"4\" hspace=\"4\" onMouseOver=\"this.style.cursor='hand'\" onMouseOut=\"this.style.cursor='default'\" alt=\"$crl[42]\" title=\"$crl[42]\">";}
if($i==0){$lg="<span style=\"color:#999999;text-decoration:underline\">$crl[34]</span>";}else{$lg="<a href=\"adminsh.php?topic=$topic&delete=$i\" onClick=\"return dle('$crl[35]')\">$crl[34]</a>";}
print "\n<tr class=\"$dbl\"><td><b class=\"y\">$cru[2]</b><br clear=\"all\"><img src=\"pics/b$zdw.gif\" width=\"14\" height=\"14\" alt=\"\" hspace=\"1\" align=\"left\"><b>$cru[1]</b></td>";
print "\n<td class=\"sm\">$img $cru[3]</td><td class=\"sm\" nowrap>$cru[0]</td><td align=\"center\" class=\"sm\" nowrap><a href=\"edit.php?topic=$topic&line=$i\">$crl[22]</a> $lg</td><td align=\"center\" class=\"sm\" nowrap>$bnn $bpp</td></tr>";ccl();
}}
print "\n<tr class=\"$dbl\"><td class=\"f\" colspan=\"4\" height=\"20\"> </td><td align=\"center\" class=\"f\" height=\"20\"><a href=\"#\" onClick=\"self.scrollTo(0,0);return false\">$crl[30]</a></td></tr>";
?>
</table></td></tr></table></td></tr></table>
<div class="f"><?php $st2=tmm();$st3=substr(($st2-$st1),0,5);print "$st3 $crl[31]";?></div>
<?php include "incl/cust-bot.inc";?></td></tr></table></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -