shops1.php
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
include_once("top.php");
?>
<table width="980" height="438" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="220" height="438" valign="top"><?php include("left.php");?></td>
<td width="760" align="right" valign="top" bgcolor="#FFFFFF">
<?php
$sql=mysql_query("select count(*) as total from shops where tuijian=1 order by addtime desc ",$conn);
$info=mysql_fetch_array($sql);
$total=$info['total'];
if($total==0)
{
echo "<div align='center'>本站暂无该类产品!</div>";
}
else
{
?>
<table width="750" height="30" border="0" cellpadding="0" cellspacing="0" class="nav1">
<tr>
<td align="left" class="con2"> <b>产品中心</b></td>
<td width="178" align="right" valign="middle" class="more"><a href="index.php">网站首页</a> >> 产品中心 </td>
</tr>
</table>
<table width="100%" height="220" border="0" cellpadding="8" cellspacing="0">
<tr>
<td>
<?php
$pagesize=6;
if ($total<=$pagesize){
$pagecount=1;
}
if(($total%$pagesize)!=0){
$pagecount=intval($total/$pagesize)+1;
}else{
$pagecount=$total/$pagesize;
}
$page = !empty($_GET['page']) ? trim($_GET['page']) : '';
if(($page)==""){
$page=1;
}else{
$page=intval($_GET['page']);
}
$sql1=mysql_query("select * from shops where tuijian=1 order by addtime desc limit ".($page-1)*$pagesize.",$pagesize ",$conn);
$info1=mysql_fetch_array($sql1);
if($info1==false){
echo "本站暂无推荐商品!";
}
else{
for ($j=1;$j<=5;$j++){
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
后面还有 87 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。