购物车取消了原来模版的session改建立数据库,结果网页显示不完全!
时间:2011-10-27
来源:互联网
cart.html:
{[Execute(include(about_us &"templates/"& skin_folder&"/style/index_top.html"))]}
<form id="formcart" name="formcart" method="post" action="cart.asp">
<div id="cart">
<div style="background-color:#FFFFFF; padding:10px;" align="center">
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#e7e7e7">
<tr>
<td width="12%" align="center" bgcolor="#eeeeee">商品编号/ID </td>
<td width="17%" align="center" bgcolor="#eeeeee">商品名称/Product Name</td>
<td width="9%" align="center" bgcolor="#eeeeee">颜色/Color</td>
<td width="8%" align="center" bgcolor="#eeeeee">尺码/Size</td>
<td width="14%" align="center" bgcolor="#eeeeee">购买数量/Quantity</td>
<td width="9%" align="center" bgcolor="#eeeeee">单价/Price</td>
<td width="15%" align="center" bgcolor="#eeeeee">单个总价/Item Price</td>
<td width="16%" align="center" bgcolor="#eeeeee">操作/Operation</td>
</tr>
<!--{['将编号和数量和name值分离,并赋值]}
<!--{[account = 0]}-->
<!--{[intn = 1]}-->
<!--{[dim buynum,quatity]}-->
{[cartDetail()]}
{['修改购物车商品数量程序]}
{[changeNum()]}
<!--{[clearCart(cart)]}-->
<!-- <script language= "jscript " src= "../include/item_cart.asp "> </script>-->
<tr>
</table>
<div align="right" class="font1" ><b>金额总计/Total Sum:¥{$account}</b></div>
<div align="center" style="margin:20px;">
<input name="button1" type="button" value="<< 继续购物/Continue Shopping" class="button" onClick="location.href='../index.asp'"/ >
<input name="button2" type="button" class="button" onclick="location.href='order.asp'" value="结算中心/Settle Accounts >>" />
<input name="changenum" type="submit" class="button" value="修改数量/Edit Quantity"/>
<input name="clear_all" type="button" class="button" value="清空购物车/Empty The Cart" onclick="clearall();" />
<input type="hidden" name="edit" value="ok" />
</div>
<div align="left">
<table width="100%" border="0">
<tr>
<td>▲如果您想继续购物,请点继续购物,最低购物要求为 ¥0。/ If you want to continue shopping, click the button and the minimum shopping demand is ¥0</td>
</tr>
<tr>
<td bgcolor="#F3F3F3">▲如果您想更新已在购物车内的产品数量,请先修改,然后点修改数量。/ Edit the quantity first, then click the "Edit Quantity"button.</td>
</tr>
<tr>
<td>▲如果您想删除已订购在购物车中的产品,请点删除。/ If you want to delet the products in your cart, click the"delet"</td>
</tr>
<tr>
<td bgcolor="#F3F3F3">▲如果您满意您所购买的产品,请点选去结算中心。/ If you are satisfied with your shopping, click "Settle Accounts"</td>
</tr>
</table>
</div>
</div>
</div>
</form>
{[Execute(include(about_us &"templates/"& skin_folder&"/style/footer.html"))]}
{[Execute(include(about_us &"templates/"& skin_folder&"/style/index_top.html"))]}
<form id="formcart" name="formcart" method="post" action="cart.asp">
<div id="cart">
<div style="background-color:#FFFFFF; padding:10px;" align="center">
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#e7e7e7">
<tr>
<td width="12%" align="center" bgcolor="#eeeeee">商品编号/ID </td>
<td width="17%" align="center" bgcolor="#eeeeee">商品名称/Product Name</td>
<td width="9%" align="center" bgcolor="#eeeeee">颜色/Color</td>
<td width="8%" align="center" bgcolor="#eeeeee">尺码/Size</td>
<td width="14%" align="center" bgcolor="#eeeeee">购买数量/Quantity</td>
<td width="9%" align="center" bgcolor="#eeeeee">单价/Price</td>
<td width="15%" align="center" bgcolor="#eeeeee">单个总价/Item Price</td>
<td width="16%" align="center" bgcolor="#eeeeee">操作/Operation</td>
</tr>
<!--{['将编号和数量和name值分离,并赋值]}
<!--{[account = 0]}-->
<!--{[intn = 1]}-->
<!--{[dim buynum,quatity]}-->
{[cartDetail()]}
{['修改购物车商品数量程序]}
{[changeNum()]}
<!--{[clearCart(cart)]}-->
<!-- <script language= "jscript " src= "../include/item_cart.asp "> </script>-->
<tr>
</table>
<div align="right" class="font1" ><b>金额总计/Total Sum:¥{$account}</b></div>
<div align="center" style="margin:20px;">
<input name="button1" type="button" value="<< 继续购物/Continue Shopping" class="button" onClick="location.href='../index.asp'"/ >
<input name="button2" type="button" class="button" onclick="location.href='order.asp'" value="结算中心/Settle Accounts >>" />
<input name="changenum" type="submit" class="button" value="修改数量/Edit Quantity"/>
<input name="clear_all" type="button" class="button" value="清空购物车/Empty The Cart" onclick="clearall();" />
<input type="hidden" name="edit" value="ok" />
</div>
<div align="left">
<table width="100%" border="0">
<tr>
<td>▲如果您想继续购物,请点继续购物,最低购物要求为 ¥0。/ If you want to continue shopping, click the button and the minimum shopping demand is ¥0</td>
</tr>
<tr>
<td bgcolor="#F3F3F3">▲如果您想更新已在购物车内的产品数量,请先修改,然后点修改数量。/ Edit the quantity first, then click the "Edit Quantity"button.</td>
</tr>
<tr>
<td>▲如果您想删除已订购在购物车中的产品,请点删除。/ If you want to delet the products in your cart, click the"delet"</td>
</tr>
<tr>
<td bgcolor="#F3F3F3">▲如果您满意您所购买的产品,请点选去结算中心。/ If you are satisfied with your shopping, click "Settle Accounts"</td>
</tr>
</table>
</div>
</div>
</div>
</form>
{[Execute(include(about_us &"templates/"& skin_folder&"/style/footer.html"))]}
作者: yyisong998 发布时间: 2011-10-27
代码好多,看上去头晕
根据标题的描述好像是网站的某些地方需要那个session才可以正常显示
根据标题的描述好像是网站的某些地方需要那个session才可以正常显示
作者: cweisledxianzai 发布时间: 2011-11-03
没明白你说的"取消了原来模版的session改建立数据库"是什么意思。
修改了信息,检查相关程序调用修改的参数时是否同步修改。
修改了信息,检查相关程序调用修改的参数时是否同步修改。
作者: zhpfaff 发布时间: 2011-11-03
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28