order.php
(开头部分) 3KB这里只显示每个文件的开头 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">
<table width="750" height="30" border="0" cellpadding="0" cellspacing="0" class="nav1">
<tr>
<td align="left" class="con2"> <b>我的订单</b></td>
</tr>
</table>
<?php
$username=$_SESSION['username'];
$sql=mysql_query("select * from dingdan where xiadanren='".$username."' order by id desc",$conn);
$info=mysql_fetch_array($sql);
if($info==false)
{
echo "<div algin='center'>对不起,没有查找到该订单!</div>";
}
else
{
do
{
?>
<table cellpadding="0" cellspacing="0" width="99%"
style="margin-top:20px;">
<tr bgcolor="#fdd8ae">
<td width="243" height="32" class=""> 订单号:<a href="ordershow.php?dd=<?php echo $info['dingdanhao'];?>"><?php echo $info['dingdanhao'];?></a></td><td width="115" class="">金额总计:<?php echo $info['total'];?></td>
<td width="200" class="">下单时间:<?php echo $info['time'];?></td>
<td width="200" class="">订单状态:<?php if($info['th']==0){ echo $info['zt'];?> <?php if($info['zt']=="未作任何处理"){?><a href="?action=del&id=<?php echo $info['id'];?> ">取消</a> <a href="ordershow.php?act=zhifu&dd=<?php echo $info['dingdanhao'];?>"><font color="#FF0000">付款</font></a><?php }}elseif($info['th']==-1){echo "退货审核中";}else{echo "已退货";}?></td>
</tr>
</table><br />
<?php
$spc=$info['spc'];
$slc=$info['slc'];
$arraysp=explode("@",$spc);
$arraysl=explode("@",$slc);
$total=0;
for($i=0;$i<count($arraysp)-1;$i++){
if($arraysp[$i]!=""){
$sql1=mysql_query("select * from shops where id='".$arraysp[$i]."'",$conn);
$info1=mysql_fetch_array($sql1);
$total=$total+=$arraysl[$i]*$info1['huiyuanjia'];
?>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="tb2_td1">件数:<?php echo $arraysl[$i];?></td>
<td class="tb2_td2"><a href="shopshow.php?id=<?php echo $info1['id'];?>"><img src="<?php echo __BASE__;?>/upimages/<?php echo $info1["tupian"];?>"/></a></td>
<td class="tb2_td3"><a href="shopshow.php?id=<?php echo $info1['id'];?>"><?php echo $info1['mingcheng'];?></a></td>
<td class="tb1_td5">价格:<?php echo $info1['huiyuanjia'];?></td>
<td class="tb1_td7"><a href="addcart.php?id=<?php echo $info1['id']?>">再次购买</a> <a href="shopshow.php?id=<?php echo $info1['id']?>">评价</a></td>
</tr>
</table><br />
<?php
}
后面还有 19 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。