admin/guest.php
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php include("check_login.php"); ?>
<html>
<head>
<title>用户留言管理</title>
<link rel="stylesheet" type="text/css" href="images/admincp.css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body topmargin="0" leftmargin="0" bottommargin="0">
<?php
include("../conn.php");
include("function.php");
$sql=mysql_query("select count(*) as total from liuyan ",$conn);
$info=mysql_fetch_array($sql);
$total=$info[total];
if($total==0)
{
echo "本站暂无用户留言!";
}
else
{
?>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
<form name="form1" method="post" action="guest_del.php">
<tr bgcolor="#E7F3FB">
<td height="20" colspan="2"><div align="center">用户留言管理</font></div></td>
</tr>
<tr>
<td height="40" colspan="2" bgcolor="#E7F3FB"><table width="750" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td width="357" height="20" bgcolor="#FFFFFF"><div align="center">留言主题</div></td>
<td width="80" bgcolor="#FFFFFF"><div align="center">留言者</div></td>
<td width="156" bgcolor="#FFFFFF"><div align="center">留言时间</div></td>
<td width="93" bgcolor="#FFFFFF"><div align="center">操作</div></td>
<td width="58" bgcolor="#FFFFFF"><div align="center">删除</div></td>
</tr>
<?php
$pagesize=20;
if ($total<=$pagesize){
$pagecount=1;
}
if(($total%$pagesize)!=0){
$pagecount=intval($total/$pagesize)+1;
}else{
$pagecount=$total/$pagesize;
}
if(($_GET[page])==""){
$page=1;
}else{
$page=intval($_GET[page]);
}
后面还有 62 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。