<!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=utf-8" />
<title>会员中心 - [.$ourphp_web.website.]</title>
<link rel="stylesheet" href="[.$templatepath.]css/style.css" type="text/css" />
<script type="text/javascript" src="[.$webpath.]function/plugs/YIQI-UI/jquery-2.1.1.min.js"></script>
<link rel="stylesheet" href="[.$webpath.]function/plugs/YIQI-UI/YIQI-UI.min.css" type="text/css" />
<link href="[.$webpath.]function/plugs/YIQI-UI/font/YIQI-UI-iconfont.min.css" rel="stylesheet">
</head>
<body class="bodygb">
<div id="YIQI-UI">
    [.include file="cn_top.html".] 
	<div class="nav">
		<div class="ourphp_center">
				<li class="on"><a href="[.$webpath.]client/user/">会员中心</a></li>
				<li><a href="[.$webpath.]?cn-shop.html">商城首页</a></li>
				<li><a href="[.$webpath.]">企业官网</a></li>
				<li><a href="[.$webpath.]?cn-product-11.html">积分中心</a></li>
				<li><a href="[.$webpath.]?cn-product-12.html">团购</a></li>
				<li><a href="[.$webpath.]?cn-brand-1.html">品牌商城</a></li>
		</div>
	</div>
    <div class="clear"></div>
    <div class="ourphp_center">
    <div class="clear"></div>
    
        <div class="ourphp_login">
            <div class="ourphp_user_left">
                [.include file="cn_leftnav.html".] 
            </div>
            <div class="ourphp_user_right">
            
            [.*订单模板开始*.]
            <script src="../../function/plugs/layer/layer.min.js"></script>
            <style type="text/css">
            tr,td { padding:6px;}
			      input {-webkit-appearance: checkbox; border:1px #ccc solid; }
            </style>
            
            [.if isset($smarty.get.tag).]
            <script type="text/javascript">$(document).ready(function(){$("#[.$smarty.get.tag.]").addClass("btn-primary radius-5 pt-5 pb-5 pl-10 pr-10");});</script>
            [.else.]
            <script type="text/javascript">$(document).ready(function(){$("#qb").addClass("btn-primary radius-5 pt-5 pb-5 pl-10 pr-10");});</script>
            [./if.]
			      </script>
            <form id="form2" name="form2" method="post" action="[.$webpath.]function/ourphp_play.class.php?ourphp_shoporders">
              <table width="100%" border="0" class="table table-border table-hover">
              	<tr>
                	<td colspan="7" class="shopnav">
                    	<a href="?cn-usershopping-op.html" id="qb">全部订单</a>
                        <a href="?cn-usershopping-op.html-&tag=dfk" id="dfk">待付款</a>
                        <a href="?cn-usershopping-op.html-&tag=dfh" id="dfh">待发货</a>
                        <a href="?cn-usershopping-op.html-&tag=dqs" id="dqs">待签收/评价</a>
                    </td>
                </tr>
                <tr style="background:url([.$webpath.]skin/clubgb.png) repeat-x;">
                  <td width="20"></td>
                  <td width="200">单号</td>
                  <td>商品</td>
                  <td width="80">价格</td>
                  <td width="70">&nbsp;</td>
                  <td width="70">&nbsp;</td>
                  <td width="40">&nbsp;</td>
                </tr>
                [.foreach $orderslist2 as $op.]
                <tr bgcolor="[.cycle values="#ffffff,#f5f5f5".]">
                  <td>[.if $op.pay == 1.]<div align="center"><input type="checkbox" name="id[]" value="[.$op.id.]" /></div>[./if.]</td>
                  <td>[.$op.number.]</td>
                  <td>
                  <p class="f-14"><img src="[.$op.minimg.]" width="60" height="60">[.if $op.tuantype == 2.]<span class="btn-yellow pl-5 pr-5">团</span> [./if.]&nbsp;&nbsp;[.$op.title|truncate:30:"...".]</p>
				  [.if $op.tuantype == 2.]
					[.if $op.tuanznum >= $op.tuannum.]
					<p class="f-12 mt-5 f-f00">【拼团成功】 - <a href="?cn-usertuanview.html-&tuanid=[.$op.tuanid.]">团队队员</a></p>
					[.else.]
					<p class="f-12 mt-5 f-f00">【[.$op.tuannum.] 人团,还差 [.$op.tuannum - $op.tuanznum.] 人】 <a href="[.$webpath.]?cn-productview-[.$op.prclass.]-[.$op.prid.].html-&tuan&tuanid=[.$op.tuanid.]&introducer=[.$user.id.]" target="_blank" >分享拼团链接,让好友和我拼团</a></p>
					[./if.]
				  [./if.]
                  <p class="f-12 mt-5 f-999">[.if $op.pratt != ''.]([.$op.pratt.])[./if.]&nbsp;[.$op.text.]</p>
                  </td>
                  <td>
                  <p>[.$op.usermarket.]&nbsp;×&nbsp;[.$op.num.]</p>
                  <p class="f-999 mt-5">(运费：[.$op.freight.]元)</p>
                  </td>
                  <td><div align="center">
                  [.if $op.pay == 1.]
                  <a href="[.$webpath.]?cn-shoppingorders.html-&id=[.$op.id.]&tuan&tuanid=[.$op.tuanid.]"><img src="[.$webpath.]skin/fukuan.gif" border="0" /></a>
                  [.else.]
                      [.if $op.send == 1.]
                      <p>待发货...</p>
                      [.else.]
                      <p>已发货</p>
                      <p><a href="javascript:dialog('[.$op.express.]','[.$op.expressnum.]')"><span style="color:#999999;">物流查询</span></a></p>
                      [./if.]

                      
                      <div class="text-r f-r">
					  
					  [.if $op.moneyback == 1.]
                          <a href="[.$webpath.]client/user/?cn-usermoneyback.html-&id=[.$op.id.]&md=[.md5($op.id+1000).]" class="btn-danger pl-5 pr-5">申请退款</a>
                          [.elseif $op.moneyback == 2.]
                          <a href="#" class="btn-danger pl-5 pr-5">退款中...</a>
                          [.elseif $op.moneyback == 3.]
                          <a href="#" class="btn-danger pl-5 pr-5">退款成功</a>
                      [./if.]
                      </div>

                  [./if.]
          
                  </div></td>
                  <td>
                  [.if $op.send != 1.]
                    [.if $op.sign == 0.]
                    <div align="center">
                        <a href="[.$webpath.]client/user/?cn-usershopping-op.html-&ourphp_cms=sign&id=[.$op.id.]&dh=[.$op.number.]" onclick="javascript:return confirm('确认签收吗?')">【签收】</a>
                        [.else.]
                        已签收
                    </div>
                    [./if.]
                  [./if.]
                  </td>
                  <td><div align="center">
                  [.if $op.pay == 1.]
                      <a href="[.$webpath.]client/user/?cn-usershopping-op.html-&ourphp_cms=del&id=[.$op.id.]&dh=[.$op.number.]&tuan" onclick="javascript:return confirm('确认删除吗?')">删除</a>
                        [.else.]
                        
                        [.if $op.sign == 1.]
                            <a href="../../function/plugs/Comment/product-content.php?id=[.$op.prid.]&type=productview&row=10" target="_blank">评论</a>
                        [./if.]
                        
                  [./if.]
                  </div></td>
                </tr>
                [./foreach.]
              </table>
              </form>
              <script> 
                function dialog(title,number){
                    $.layer({
                        type: 2,
                        title: '快递查询',
                        shade: [0],
                        border: [5, 0.3, '#000'],
                        area: ['600px', '340px'],
                        iframe:{src: '../../function/api/kuaidi100/index.php?title='+title+'&number='+number}
                    });
                };
                </script>
                 
                <link rel="stylesheet" href="../../function/plugs/Validform/style.css" type="text/css" />
                <script type="text/javascript" src="../../function/plugs/Validform/Validform_v5.3.2.js"></script>
                <script type="text/javascript"> 
                $(function(){
                    $(".registerform").Validform();
                })
                </script>
                <div style=" clear:both; height:20px;"></div>
                [.$ourphppage.]
              [.*订单模板结束*.]
              
            </div>
        </div>
    </div>
    [.include file="cn_foot.html".]
</div>
</body>
</html>
