admin/dingdanedit.php
(开头部分) 5KB这里只显示每个文件的开头 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
$id = !empty($_GET['id']) ? intval($_GET['id']) : '';
$sql=mysql_query("select * from dingdan where id='".$id."'",$conn);
$info=mysql_fetch_array($sql)
?>
<table width="100%" cellPadding="6" bgcolor="#cecece" class="table table-bordered">
<form name="form1" method="post" action="saveorder.php?id=<?php echo $info['id'];?>">
<tr>
<td width="70" height="35" align="right">订单编号:</td>
<td width="271"><?php echo $info['dingdanhao'];
?></td>
<td width="100">已收款
<input type="checkbox" value="已收款" name="ysk" <?php if($info['zt']=="已收款") {?>checked<?php }?>></td>
<td width="101">已发货
<input name="yfh" type="checkbox" value="已发货" <?php if($info['zt']=="已发货") {?>checked<?php }?>>
</td>
<td width="100">已收货
<input name="ysh" type="checkbox" value="已收货" <?php if($info['zt']=="已收货") {?>checked<?php }?>>
</td>
<td width="101"><input type="submit" value="修改" class="buttoncss"></td>
</tr>
</form>
</table>
<table width="100%" cellPadding="6" bgcolor="#cecece" class="table table-bordered">
<tr bgcolor="#cecece">
<td height="35" align="center">商 品 名 称</td>
<td width="106" align="center">数量</td>
<td width="106" align="center">市场价</td>
<td width="106" align="center">会员价</td>
<td width="106" height="20" align="center">成交价</td>
<td width="106" align="center">折扣</td>
<td width="10%">小 计</td>
</tr>
<?php
$array=explode("@",$info['spc']);
$arraysl=explode("@",$info['slc']);
$total=0;
for($i=0;$i<count($array)-1;$i++)
{
if($array[$i]!="")
{
$sql1=mysql_query("select * from shops where id='".$array[$i]."'",$conn);
$info1=mysql_fetch_array($sql1);
$total=$total+$info1['huiyuanjia']*$arraysl[$i];
?>
<tr>
<td height="35" align="center"> <?php echo $info1['mingcheng'];?></td>
<td height="25" align="center"><?php if($info1['shuliang']<0) echo "售完"; else echo $arraysl[$i];?></td>
<td height="25" align="center"><?php echo $info1['shichangjia'];?></td>
后面还有 74 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。