⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 repair.php

📁 邮件特快传递
💻 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($aa)&&is_file("data/g_show")){
copy("data/g_show","data/gshow");unlink("data/g_show");
die("<title>...</title></head><body><b style=\"color:#ffffff\">DONE!</b></body></html>");}

$mrr=array();$j=0;$handle=opendir("data");
while($entry=readdir($handle)){
if(is_file("data/$entry")&&strstr("data/$entry","20")){
$filw="data/$entry";$ww=obp();$ww=explode("\n",$ww);$wcw=count($ww)-1;
$w1=explode(":|:",$ww[0]);
$w2=explode(":|:",$ww[$wcw]);
$desc=strip_tags($w1[3]);$desc=substr($desc,0,80).'...';$wcw=$wcw+1;
$mrr[$j]="$entry:|:$w2[0]:|:$w1[1]:|:$desc:|:$w1[2]:|:$wcw:|:0";$j++;
}}closedir($handle);
rsort($mrr);$mrr=implode("\n",$mrr);
$filw="data/g_show";wor($mrr);
?>
<title>Repairing "data/gshow" ...</title></head><body><table align="center" width="95%"><tr><td>
<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="index.php" id="lnk" style="color:#ffffff;text-decoration:none" onMouseOver="adt();return true" onMouseOut="rdt();return true" onClick="return false"><?php print $crl[2];?></a></span></td><td align="right" nowrap><b>&nbsp;</b></td></tr></table></td></tr>
<tr bgcolor="#aaaaaa"><td class="f" width="70%" nowrap>&nbsp;<?php print $crl[21];?>&nbsp;</td><td class="f" width="10%" nowrap>&nbsp;<?php print $crl[23];?>&nbsp;</td><td class="f" width="10%" nowrap>&nbsp;<?php print $crl[24];?>&nbsp;</td><td class="f" width="5%" nowrap>&nbsp;<?php print $crl[25];?>&nbsp;</td><td class="f" width="5%" nowrap>&nbsp;<?php print $crl[26];?>&nbsp;</td></tr>
<?php
$fs=explode("\n",$mrr);
for($i=0;$i<count($fs);$i++){
settype($fs[$i],"string");
if(($fs[$i]!="")&&($fs[$i]!="\r")){
$zdn=explode(":|:",$fs[$i]);
$zdw=explode(".gif",$zdn[4]);
$zdw=substr($zdw[0], -1);

if($zdn[3]!="&nbsp;"){$zdn[3]="<div class=\"sm\">$zdn[3]</div>";}
print "<tr class=\"$dbl\"><td><a href=\"show.php?topic=$zdn[0]\"><img src=\"pics/t$zdw.gif\" width=\"19\" height=\"24\" alt=\"\" border=\"0\" align=\"left\" vspace=\"0\"><b>$zdn[2]</b></a>$zdn[3]</td>";
print "\n<td nowrap><b>$zdn[4]</b></td>";
print "<td class=\"sm\" nowrap>$zdn[1]</td>";
print "<td class=\"sm\">$zdn[5]</td>";
print "<td class=\"sm\">$zdn[6]</td></tr>\n";ccl();
}}?></table></td></tr></table></td></tr></table></td></tr></table>
<br><br><div style="color:#ffffff"><b>Is that way of displaying "data/gshow" acceptable?</b><br>
<br>1. There is no way to repair the number of the views.
<br>2. The order of the topics is not absolutely correct.
<br>3. Take a note that you'll have 10 topics/page as usual.
<br><br><a href="repair.php?aa=1" style="color:#ffffff"><b>Click here</b></a> to continue...</div><br><br>
</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -