mychart.php

(开头部分) 5KB

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

<?php
 session_start();
 if($_SESSION[username]=="")
  {
    echo "<script>alert('请先登录,后购买!');history.back();</script>";
	exit;
  }

?>
<?php
 include("header.php");
?>
<table width="950" height="438" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="561" height="438" valign="top" bgcolor="#FFFFFF"><table width="950"  height="10" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table>
      <table width="950"  border="1" align="center" cellpadding="0" cellspacing="0">
        <form name="form1" method="post" action="mychart.php">
          <tr>
            <td height="33" bgcolor="#054175"><div align="center" ><?php echo $_SESSION[username];?>的购物车</div></td>
          </tr>
          <tr>
            <td ><table width="500" border="0" align="center" cellpadding="0" cellspacing="1">
                <?php

			  session_start();
			  session_register("total");
			  if($_GET[qk]=="yes")
			  {
			     $_SESSION[producelist]="";
				 $_SESSION[quatity]="";
			  }
			   $arraygwc=explode("@",$_SESSION[producelist]);
			   $s=0;
			   for($i=0;$i<count($arraygwc);$i++)
			   {
			       $s+=intval($arraygwc[$i]);
			   }
			  if($s==0 )
			    {
				   echo "<tr>";
                   echo" <td height='25' colspan='6' bgcolor='#FFFFFF' align='center'>您的购物车为空!</td>";
                   echo"</tr>";
				}
			  else
			   {
			?>
                <tr>
                  <td width="125" height="25" bgcolor="#FFFFFF"><div align="center">汽车名称</div></td>
                  <td width="52" bgcolor="#FFFFFF"><div align="center">数量</div></td>
                  <td width="64" bgcolor="#FFFFFF"><div align="center">市场价</div></td>
                  <td width="64" bgcolor="#FFFFFF"><div align="center">会员价</div></td>
                  <td width="51" bgcolor="#FFFFFF"><div align="center">折扣</div></td>
                  <td width="66" bgcolor="#FFFFFF"><div align="center">小计</div></td>
                  <td width="71" bgcolor="#FFFFFF"><div align="center">操作</div></td>
                </tr>
                <?php
后面还有 78 行代码,购买后查看完整代码

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

AI 解读 AI

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

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