shoucang.php

(开头部分) 7KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php
include_once("sessionuser.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 shoucang where username='".$_SESSION['username']."' order by id desc ",$conn);
	   $info=mysql_fetch_array($sql);
	   $total=$info['total'];
	   if($total==0)
	   {
		?>
	     <table width="750" height="30" border="0" cellpadding="0" cellspacing="0"  class="nav1">
                <tr>
                  <td align="left" class="con2">&nbsp;&nbsp;&nbsp;<b>产品中心</b></td>
                  <td width="178" align="right" valign="middle" class="more"><a href="index.php">网站首页</a> >> 产品收藏&nbsp;&nbsp;</td>
                </tr>
              </table>
              <table width="100%" height="220" border="0" cellpadding="8" cellspacing="0">
                <tr>
                  <td><div align='center'>暂时没有收藏产品!</div></td></tr></table>
	   
       <?php } 
	   else
	   {
	  ?>
    <table width="750" height="30" border="0" cellpadding="0" cellspacing="0"  class="nav1">
                <tr>
                  <td align="left" class="con2">&nbsp;&nbsp;&nbsp;<b>产品收藏</b></td>
                  <td width="178" align="right" valign="middle" class="more"><a href="index.php">网站首页</a> >> 产品收藏&nbsp;&nbsp;</td>
                </tr>
              </table>
      
      <table width="100%" height="220" border="0" cellpadding="8" cellspacing="0"> <form action="?act=del" method="post" name="lsm" id="lsm">
                <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']);
			
			}
后面还有 123 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。