cart.php
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
session_start();
include_once("top.php");
?>
<table width="980" height="438" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="220" height="438" align="left" valign="top"><?php include("left.php");?></td>
<td width="760" align="right" valign="top" bgcolor="#FFFFFF">
<table width="750" border="0" cellpadding="0" cellspacing="0">
<form name="form1" method="post" action="cart.php">
<tr>
<td align="right">
<table width="750" height="30" border="0" cellpadding="0" cellspacing="0" class="nav1">
<tr>
<td align="left" class="con2"> <b>我的购物车</b></td>
</tr>
</table>
</td>
</tr>
<tr><td height="20"></td></tr>
<tr>
<td><table width="700" border="0" align="center" cellpadding="0" cellspacing="1" style="border:#d0d0cf 1px solid">
<?php
$_SESSION['total'] = null;
$qk = !empty($_GET['qk']) ? trim($_GET['qk']) : '';
if($qk=="yes"){
$_SESSION['producelist']="";
$_SESSION['quatity']="";
}
$sessionproducelist = !empty($_SESSION['producelist']) ? trim($_SESSION['producelist']) : '';
if(!isset($_SESSION['producelist'])){
echo "<tr>";
echo" <td height='25' colspan='6' bgcolor='#FFFFFF' align='center'>您的购物车为空!</td>";
echo"</tr>";
}else{
$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 bgcolor="#f1f1f1">
<td width="125" height="35" align="center">商品名称</div></td>
<td width="52" height="35" align="center">数量</td>
<td width="64" height="35" align="center">市场价</td>
<td width="64" height="35" align="center">会员价</td>
<td width="51" height="35" align="center">折扣</td>
<td width="66" height="35" align="center">小计</td>
<td width="71" height="35" align="center">操作</td>
</tr>
<?php
$total=0;
$array=explode("@",$_SESSION['producelist']);
后面还有 76 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。