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

📄 main.php

📁 多国语言系统,支持中英文,繁体文.有很强的 稳定性.
💻 PHP
字号:
<?
####################################################################################
//					霖厚
####################################################################################
set_time_limit(0);
if(!$is_admin){
nalog_error("捞 敲矾弊牢篮 包府磊父 荤侩且 荐 乐嚼聪促.");
}
?>

<?
####################################################################################
//					霉拳搁
####################################################################################
if(!$pmode){?>
<table width=100% board=0 cellpadding=2 cellspacing=0 align=center bgcolor=white>
<tr><td align=center>
<br><br><br><br><br>
<img src="plug_in/<?=$plugin[dir]?>/logo.gif" border=0>
<br><br><br><br><br><br>
</td></tr>
</table>
<?}?>

<?
####################################################################################
//					归诀拳搁
####################################################################################
if($pmode==1){?>
<?
$tables=nalog_list_bd();
$total=count($tables);

$page=10;
$pageviewsu=10; 
$pagesu=ceil($total/$page); 
$start=($page*$pagenum); 
$no=$total-$start;
$pagegroup=ceil(($pagenum+1)/$pageviewsu); 
$pagestart=($pageviewsu*($pagegroup-1))+1; 
$pageend=$pagestart+$pageviewsu-1;
$nowpage=$pagenum+1; 
$send="&page=$page&";
?>
		<table align=center width=98% cellpadding=4 cellspacing=0 border=1 bordercolor=white>
		<form method=post action=plug_in/<?=$plugin[dir]?>/dump.php>
		<tr>
		<td>醚 <b><?=$total?></b>俺狼 墨款磐</td>
		<td align=right>历厘规过 : <input type=radio name=how value=1 checked> 促款肺靛 
		<input type=radio name=how value=0> 辑滚俊 历厘 (历厘版肺 : <?=str_replace("admin_counter.php","*.sql",$PHP_SELF)?>)</td> 
		</tr> 
		</table>
	
		<table align=center width=98% cellpadding=4 cellspacing=0 border=1 bordercolor=white>
		<input type=hidden name=counter value="<?=$counter?>">
		<input type=hidden name=id value="<?=$id?>">
		<input type=hidden name=pmode value="<?=$pmode?>">
		<tr bgcolor=#C9F0FF>
		<td width=1% nowrap align=center>锅龋</td>
		<td width=1% nowrap align=center>急琶</td>
		<td width=92% align=center>墨款磐 捞抚</td>
		<td width=1% nowrap align=center>墨款磐扁废</td>
		<td width=1% nowrap align=center>OS/BW扁废</td>
		<td width=1% nowrap align=center>LOG扁废</td>
		<td width=1% nowrap align=center>DLOG扁废</td>
		<td width=1% nowrap align=center>规巩磊扁废</td>
		<td width=1% nowrap align=center>雀盔扁废</td>
		</tr>
<?
		$j=0;
		for($i=$start;$i<$start+$page;$i++)
		{
		if(!$tables[$i]){break;}
		$board_name=$tables[$i];

		$total_data=mysql_fetch_array(mysql_query("select count(*) from nalog3_data where counter='$board_name'"));
		$total_os=mysql_fetch_array(mysql_query("select count(*) from nalog3_os where counter='$board_name' and os='1'"));
		$total_bw=mysql_fetch_array(mysql_query("select count(*) from nalog3_os where counter='$board_name' and os='0'"));
		$total_log=mysql_fetch_array(mysql_query("select count(*) from nalog3_log_$board_name"));
		$total_dlog=mysql_fetch_array(mysql_query("select count(*) from nalog3_dlog_$board_name"));
		$total_dlog=mysql_fetch_array(mysql_query("select count(*) from nalog3_dlog_$board_name"));
		$total_counter=mysql_fetch_array(mysql_query("select count(*) from nalog3_counter_$board_name"));
		$total_member=mysql_fetch_array(mysql_query("select count(*) from nalog3_counter_$board_name where id<>''"));


		echo"
		<tr bgcolor=white>
		<td width=1% nowrap align=center>$no</td>
		<td width=1% nowrap align=center><input type=checkbox name=name[$j] value='$board_name' checked id=name[$j]></td>
		<td width=92%><b><label for=name[$j]>$board_name</label></b></td>
		<td width=1% nowrap align=right>$total_data[0]老</td>
		<td width=1% nowrap align=right>$total_os[0]/$total_bw[0]俺</td>
		<td width=1% nowrap align=right>$total_log[0]俺</td>
		<td width=1% nowrap align=right>$total_dlog[0]俺</td>
		<td width=1% nowrap align=right>$total_counter[0]疙</td>
		<td width=1% nowrap align=right>$total_member[0]疙</td>
		</tr>
		";
		$no--;
		$j++;
		}
?>
		</table>
		<table align=center width=98% cellpadding=4 cellspacing=0 border=1 bordercolor=white>
		<tr>
		<td align=center><?nalog_index()?></td>
		</tr>
		<tr bgcolor=white>
		<td align=center><input type=submit class=button value=归诀窍扁></td>	
		</tr>
		</form>
		</table>
<?}?>

<?
####################################################################################
//					汗备拳搁
####################################################################################
if($pmode==2){?>

		<script language=javascript>
		function chk(){
		if(!ok.filename.value){alert('汗备 措惑 颇老阑 急琶秦 林技夸\n父距 措惑 颇老捞 辑滚俊 绝促搁 颇老阑 诀肺靛秦 林技夸');ok.filename.focus();return false;}
		}
		function chkup(){
		if(!up.backup.value){alert('诀肺靛且 颇老阑 急琶秦 林技夸');up.backup.click();return false;}
		}
		</script>

		<table align=center width=98% cellpadding=4 cellspacing=0 border=1 bordercolor=white>
		<tr bgcolor=#C9F0FF>
		<td align=center>n@log 单捞磐 归诀 颇老 诀肺靛</td>
		</tr>
		</table>

		<table align=center width=98% cellpadding=10 cellspacing=0 border=1 bordercolor=white>
		<form method=post action=plug_in/<?=$plugin[dir]?>/upload.php onsubmit="return chkup()" name=up enctype=multipart/form-data>
		<tr bgcolor=white>
		<td><input type=file name=backup size=32 class=input> 颇老阑 n@log叼泛配府肺 傈价 钦聪促.</td>
		<td align=right><input type=submit class=button value=傈价窍扁></td>
		</tr>
		</form>
		</table>

		<table align=center width=98% cellpadding=10 cellspacing=0 border=1 bordercolor=white>
		<tr><td>单捞磐甫 汗备窍妨搁 n@log啊 汲摹等 叼泛配府俊 归诀 颇老(*.sql)捞 乐绢具 钦聪促.<br>
		FTP肺 流立 傈价 窍矫芭唱 困狼 汽俊 傈价窍角 颇老阑 梅何秦 林技夸.<br>
		</td></tr>
		</table>

		<table align=center width=98% cellpadding=4 cellspacing=0 border=1 bordercolor=white>
		<tr bgcolor=#C9F0FF>
		<td align=center>n@log 叼泛配府俊 历厘等 单捞磐 颇老 汗备</td>
		</tr>
		</table>

		<table align=center width=98% cellpadding=10 cellspacing=0 border=1 bordercolor=white>
		<tr bgcolor=white>
		<form method=post action=plug_in/<?=$plugin[dir]?>/restore.php onsubmit="return chk()" name=ok>
		<td><select name=filename>
		<option value="">单捞磐甫 汗备且 颇老阑 急琶窍技夸</option>
		<?
		$handle=@opendir("./");
		while ($dir = @readdir($handle))
		{
		if(!eregi("\.sql$",$dir)){continue;}
		echo "<option value=\"$dir\">$dir</option>";
		}
		?>
		</select> 颇老阑 泅犁 辑滚狼 n@log肺 汗备 钦聪促.</td>
		<td align=right><input type=submit class=button value=汗备矫累></td>
		</tr>
		</table>


<?}?>

<?
####################################################################################
//					敲矾弊牢沥焊
####################################################################################
if($pmode==3){?>
<table width=100% board=0 cellpadding=5 cellspacing=0 align=center bgcolor=white>
<tr>
<td width=99% valign=top>
	<table width=100% board=0 cellpadding=4 cellspacing=0 align=center bgcolor=white>
	<tr>
	<td width=1% nowrap>敲矾弊牢捞抚</td>
	<td width=99%> : <?=$plugin[name]?></td>
	</tr>	
	<tr>
	<td width=1% nowrap>敲矾弊牢 ID</td>
	<td width=99%> : <?=$plugin[id]?></td>
	</tr>
	<tr>
	<td width=1% nowrap>硅器滚傈</td>
	<td width=99%> : <?=$plugin[version]?></td>
	</tr>
	<tr>
	<td width=1% nowrap>硅器老磊</td>
	<td width=99%> : <?=$plugin[date]?></td>
	</tr>
	<tr>
	<td width=1% nowrap>力 累 磊</td>
	<td width=99%> : <?=$plugin[programmer]?></td>
	</tr>
	<tr>
	<td width=1% nowrap>e-mail</td>
	<td width=99%> : <?=$plugin[email]?></td>
	</tr>
	<tr>
	<td width=1% nowrap>homepage</td>
	<td width=99%> : <?=$plugin[homepage]?></td>
	</tr> 
	</table>                        
</td>
<td width=1% nowrap valign=top><img src="plug_in/<?=$plugin[dir]?>/logo.gif" border=0></td>
</tr>
</table>
<?}?>

⌨️ 快捷键说明

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