showdd.php

(开头部分) 4KB

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

<?php
session_start();
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>汽车订单</title>
<link rel="stylesheet" type="text/css" href="css/font.css">
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
.style5 {
	color: #000000;
	font-weight: bold;
}
.style6 {color: #000000}
-->
</style>
</head>
<?php

  include("conn.php");
  $ordershao=$_GET[dd];
  $sql=mysql_query("select * from orders where dingdanhao ='".$dd."'",$conn);
  $info=@mysql_fetch_array($sql);
  $spc=$info[spc];
  $slc=$info[slc];
  $arraysp=explode("@",$spc);
  $arraysl=explode("@",$slc);
   include("header.php");
?>
<body topmargin="0" leftmargin="0" bottommargin="0" class="scrollbar">
<table width="600"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="25" bgcolor="#054175"><div align="center" class="style1">恭喜<?php echo $_SESSION[username];?>您已成功的提交了此订单!详细信息如下:</div></td>
  </tr>
  <tr>
    <td height="20"><div align="left"><span class="style5">订单号:</span><?php echo $ordershao;?></div></td>
  </tr>
  <tr>
    <td height="20"><div align="left" class="style5">汽车列表(如下):</div></td>
  </tr>
</table>
<table width="500" height="60" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#E7F3FB"><table width="500" border="0" align="center" cellpadding="0" cellspacing="1">
      <tr bgcolor="#054175">
        <td width="153" height="30"><div align="center" class="style1">汽车名称</div></td>
        <td width="80"><div align="center" class="style1">市场价</div></td>
        <td width="80"><div align="center" class="style1">会员价</div></td>
        <td width="80"><div align="center" class="style1">数量</div></td>
        <td width="101"><div align="center" class="style1">小计</div></td>
      </tr>
	  <?php
	  $total=0;
	  for($i=0;$i<count($arraysp)-1;$i++){
		 if($arraysp[$i]!=""){
	     $sql1=mysql_query("select * from goods where id='".$arraysp[$i]."'",$conn);
	     $info1=mysql_fetch_array($sql1);
		 $total=$total+=$arraysl[$i]*$info1[huiyuanjia];
后面还有 68 行代码,购买后查看完整代码

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

AI 解读 AI

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

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