admin/pinglun.php
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php include("check_login.php"); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>评论编辑</title>
<link rel="stylesheet" type="text/css" href="images/admincp.css">
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
</head>
<body topmargin="0" leftmargin="0" bottommargin="0">
<?php
include("../conn.php");
$sql=mysql_query("select count(*) as total from pingjia ",$conn);
$info=mysql_fetch_array($sql);
$total=$info[total];
if($total==0)
{
echo "本站暂无用户发表评论!";
}
else
{
?>
<script language="javascript">
function openpj(id)
{
window.open("lookpinglun.php?id="+id,"newframe","width=500,height=300,top=100,left=200,menubar=no,toolbar=no,location=no,scrollbar=no,status=no");
}
</script>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
<form name="form2" method="post" action="pingjia_del.php">
<tr #E7F3FB>
<td height="20" colspan="2"><div align="center" >用户评论编辑</div></td>
</tr>
<tr>
<td height="40" colspan="2" bgcolor="#E7F3FB"><table width="750" height="45" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td width="294" height="22" bgcolor="#FFFFFF"><div align="center">评论主题</div></td>
<td width="93" bgcolor="#FFFFFF"><div align="center">汽车名称</div></td>
<td width="100" bgcolor="#FFFFFF"><div align="center">评论者</div></td>
<td width="110" bgcolor="#FFFFFF"><div align="center">评论时间</div></td>
<td width="87" bgcolor="#FFFFFF"><div align="center">操作</div></td>
<td width="59" 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;
后面还有 82 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。