ordershow.php

(开头部分) 7KB

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

<?php
include_once("sessionuser.php");
include_once("top.php");
?>
<?php

  $act = !empty($_GET['act']) ? trim($_GET['act']) : '';
  if($act == 'shouhuo')
	{
		$dingdanhao=!empty($_GET['dingdanhao']) ? trim($_GET['dingdanhao']) : '';
		$sqlss=mysql_query("update dingdan set zt='已收货' where dingdanhao='".$dingdanhao."'",$conn);
		echo "<script>alert('收货成功!');location.href='order.php';</script>";
	}
if($act == 'zhifu')
{
	$dingdanhao=!empty($_GET['dd']) ? trim($_GET['dd']) : '';
	$sqlss=mysql_query("update dingdan set zt='已收款' where dingdanhao='".$dingdanhao."'",$conn);
	echo "<script>alert('支付成功!');location.href='order.php';</script>";
}
  $dingdanhao=$_GET['dd'];
  $sql2=mysql_query("select * from dingdan where dingdanhao='".$dingdanhao."'",$conn);
  $info2=mysql_fetch_array($sql2);
  $spc=$info2['spc'];
  $slc=$info2['slc'];
  $arraysp=explode("@",$spc);
  $arraysl=explode("@",$slc);
?>
<table width="980" height="438" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="220" height="438" align="left" valign="top" bgcolor="#FFFFFF">
      <?php
	   include("left.php");
	?>
    </td>
    <td width="760" align="right" valign="top" bgcolor="#FFFFFF"><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>
        </tr>
      </table><div class="height25"></div>
      
      <table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="306" bgcolor="#FFFFFF"><table width="700"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="35" bgcolor="#f1f1f1"><div align="center" class="style7">订单号:<?php echo $dingdanhao;?></div></td>
      </tr>
    </table>
      <table width="700" height="60" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td bgcolor="#d0d0cf"><table width="700" border="0" align="center" cellpadding="0" cellspacing="1">
              <tr bgcolor="#CC3300">
                <td width="153" height="20"><div align="center" class="style7">商品名称</div></td>
                <td width="80"><div align="center" class="style7">市场价</div></td>
                <td width="80"><div align="center" class="style7">会员价</div></td>
                <td width="80"><div align="center" class="style7">数量</div></td>
                <td width="101" height="35" bgcolor="#CC3300"><div align="center" class="style7">小计</div></td>
              </tr>
              <?php
	  $total=0;
	  for($i=0;$i<count($arraysp)-1;$i++){
后面还有 90 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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