admin/dingdan.php

(开头部分) 4KB

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

<?php
include_once("top.php");
?>
<!-- 顶部 --> 
<div id="middle">
     <?php
include_once("left.php");
?>
     <div class="right"  id="mainFrame">
     <div class="right_cont">
   <div class="title_right"><strong>会员管理</strong></div>
   <?php
   $sql1=mysql_query("select count(*) as total from dingdan",$conn);
	   $info1=mysql_fetch_array($sql1);
	   $total=$info1['total'];
	   if($total==0)
	   {
	   ?>
   <table width="100%" cellPadding="6" bgcolor="#cecece" class="table table-bordered">
  <tr bgcolor="#cecece"><td>暂时没有内容</td></tr></table>
   <?php
   }
  else
  {
	  
	  $pagesize=20;
		   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 dingdan order by id desc limit ".($page-1)*$pagesize.",$pagesize ",$conn);
             $info1=mysql_fetch_array($sql1);
	  
	  ?>
   <table width="100%" cellPadding="6" bgcolor="#cecece" class="table table-bordered">
     <tr>
        <td height="35" colspan="9" align="center" bgcolor="#cecece">订单中心</td>
        </tr>
	  <tr>
        <td width="121" height="35" align="center">订单号</td>
        <td width="59" align="center">下单人</td>
        <td width="60" align="center">订货人</td>
        <td width="70" align="center">金额总计</td>
        <td width="88" align="center">付款方式</td>
        <td width="87" align="center">收货方式</td>
        <td width="69" align="center">订单状态</td>
后面还有 74 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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