<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="generator" content="anxinMall v{anxinMall:global.cfg_version}" />
<meta name="author" content="www.xuzhou.it" />
<title>用户收藏管理 - {anxinMall:global.cfg_sitename} - Powered by anxinMall</title>
<link rel="stylesheet" href="/skin/default/style/common.css" type="text/css" />
<link rel="stylesheet" href="/skin/default/style/member.css" type="text/css" />
<script type="text/javascript" src="/file/js/config.js"></script>
<script type="text/javascript" src="/skin/default/js/common.js"></script>
<script type="text/javascript" src="/file/js/config.js"></script>
<script type="text/javascript" src="/file/js/jquery.js"></script>
<script type="text/javascript" src="/file/js/jquery.thickbox.js"></script>
<script type="text/javascript" src="/file/js/jquery.asyncbox.js"></script>
<script type="text/javascript"> 
$(document).ready(function() { 
	$("#selectAll").click(function() { 
		$(".id").each(function() { 
			if($(this).attr("checked"))
			{
				$(this).attr("checked", false); 
			}
			else
			{
				$(this).attr("checked", true); 
			}
		}); 
	}); 

	var ids=""; 

	$("#delete").click(function() {
		$("[.id][checked]").each(function(){ids+=$(this).val()+",";});
		if (ids==""){$.error('请点击左侧的选择框，选择要删除的信息！');return false}	
			$.confirm("删除后不可恢复，确定要删除吗？",'删除确认',function(action){
				if(action == 'ok'){
					window.location.href = "user_shoucang_action.asp?action=delete&id="+ids;
				}
			});
	});


}); 

function anxinMall_delete(t,l){
	if(t=="")t="确定要删除吗？ 删除后不可恢复！";
	$.confirm(t,'删除确认',function(action){
		if(action == 'ok'){
			window.location.href = l;
		}
	});
}
</script>
</head>

<body>
<div id="anxinMall_layout">
<!--#include file="member_head.tpl"-->
<div id="anxinMall_body2">
<div class="memberbox">
	<table width="980" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="left">
			<!--#include file="member_menu.tpl"-->
		</td>
		<td class="center"></td>
		<td class="right">
			<div class="title"><h3 class="current">用户收藏管理</h3></div>
			<div class="info_list">
			<script language="JavaScript">
			<!--
			var newWindow = null
			function windowOpener(loadpos)
			{	
			  newWindow = window.open(loadpos,'newwindow','width=450,height=350,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');
				newWindow.focus();
			}

			//-->
			</script>

<table width="96%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#cccccc"><tr><td align=center height="22"><strong><font color=#FFFFFF>您最多只能收藏十种商品</font></strong></td></tr></table>

<table width="96%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#cccccc">
  <form action="sctogw.asp" target="newwindow" method=post name=form1 onsubmit="windowOpener('')">
    <tr align="center">
      <td bgcolor="#FFFFFF" width=8% height="22">序号</td>
      <td bgcolor="#FFFFFF" width=25% height="22">加入购物车</td>
      <td bgcolor="#FFFFFF" width=45%>商品名称</td>
      <td bgcolor="#FFFFFF" width=10%>市场价</td>
      <td bgcolor="#FFFFFF" width=10%>会员价</td>
      <!-- <td bgcolor="#FFFFFF" width=10%>VIP 价</td> -->
      <td bgcolor="#FFFFFF" width=7%>操作</td>
    </tr>
	{anxinMall:shoucang $sql=select mall_action.actionid,mall_action.bookid,mall_books.bookname,mall_books.shichangjia,mall_books.huiyuanjia,mall_books.vipjia,mall_books.dazhe from mall_books inner join mall_action on mall_books.bookid=mall_action.bookid where mall_action.username='{anxinMall:field.username}' and mall_action.zhuangtai=6 $cache=0}
    <tr> 
      <td height="22" bgcolor="#ffffff">[shoucang:i]</td>
      <td height="22" bgcolor="#ffffff" align="center"><a href="sctogw.asp?id=[shoucang:bookid]" target="_blank">[加入购物车]</a></td>
      <td align=left bgcolor="#ffffff"><a href="/item/[shoucang:bookid].html" target="_blank">[shoucang:bookname]</a></td>
      <td bgcolor="#ffffff">[shoucang:shichangjia]元</td>
      <td bgcolor="#ffffff">[shoucang:huiyuanjia]元</td>
      <!-- <td bgcolor="#ffffff">[shoucang:vipjia]元</td> -->
      <td bgcolor="#ffffff">
      <input name=actionid type=checkbox value="[shoucang:actionid]">&nbsp;<a href="javascript:;" onclick="anxinMall_delete('','shoucang.asp?action=del&actionid=[shoucang:actionid]')"><img src="/skin/default/images/delete.gif" width=15 height=17 border=0  id="delete"></a>
      </td>
    </tr>

	{/anxinMall:shoucang}
	</form>
	</table>
	<br>
	</td>
      </tr>
    </table>
</div>

</div>
<!--#include file="member_foot.tpl"-->
</div>
</body>
</html>