<html>
<head>
<title>{{$title}}</title>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<link href="resources/css/constyle.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="resources/js/jquery.js"></script>
<script type="text/javascript" src="resources/js/jquery.slide.js"></script>
<script type="text/javascript" src="resources/js/jquery.tabs.js"></script>
<script type="text/javascript" src="resources/js/global.js"></script>
<script type="text/javascript" src="resources/js/common.js"></script>
</head>
<body>
{{include file="user_top.inc.html"}}
<div id="main">
<div class="inner">

	<div class="left">{{include file="user_d_left.inc.html"}}</div>
	<div class="right">
	    <ul class="maintitle">
			<li id="mainlink"><img src="/admin/share/up.png" align="absmiddle"> 产品记录</li>
		<li class="tar"><a   href="javascript:location.replace(location.href);" title="刷新" >刷新本页</a> </li>
		</ul>
	    <form action='../user/host_list.php' method='post'>
			<input name="keyword" type="text" class="inputbox">
			<input type="submit" class="btn2" value="搜索">&nbsp;&nbsp;
			<span>
			   <a href='?'>所有产品</a> -
			   <a href='?iStatus=1'>已付款</a> -
			   <a href='?iStatus=2'>已发货</a> -
			   <a href='?iStatus=3'>已收货</a> -
			   <a href='?iStatus=0'>未生效</a> - 
			   <a href='../'>购买</a>
			</span>
	    </form>
		<table class="table tac">
			<tr class="tBar">
			   <td nowrap>编号</td>
			 
			   <td nowrap>状态</td>
			   <td nowrap>产品</td>
			   <td nowrap>时间</td>
			   <td nowrap>数量</td>
			  <td nowrap>操作</td>
			</tr>
		   {{section name=i loop=$HostItems}}
		    <tr bgcolor='{{$HostItems[i].bg}}' onmouseout='outStyle(this)' onmouseover='inStyle(this)'>
			   <td>{{$HostItems[i].IDHost}}</td>
			 
		       <td>{{if $HostItems[i].iStatus == ProductStatus_Actived}} <font color='red'>已发货</font> 
			       {{elseif $HostItems[i].iStatus == ProductStatus_Doing}} <font color='red'>已付款</font>    
				   {{elseif $HostItems[i].iStatus == ProductStatus_Stoped}} <font color='red'>已完成</font> {{else}}<font color='gray'> 未生效 </font> {{/if}} </td>
			   <td nowrap>{{$HostItems[i].ProductName}}</td>
			   <td nowrap>{{$HostItems[i].dtCreate}}</td>
			  <td nowrap>{{$HostItems[i].Num}}</td>
			   <td>
				   {{if $HostItems[i].iStatus == 0}} 
				   <a href='../user/order_list.php?ProductID={{$HostItems[i].IDHost}}&fIDProd={{$HostItems[i].fIDProd}}&backUrl={{$backUrl}}'><font color='red'>交费订单</font></a>
				   {{else}} 
				 <a href='renew.php?ProductID={{$HostItems[i].IDHost}}&fIDProd={{$HostItems[i].fIDProd}}&backUrl={{$backUrl}}'>续费</a>
				   {{/if}} 
			   </td>
		  </tr>
		  {{/section}}
		  <tr>
		       <td colspan="7">{{$pagers}}</td>
		  </tr>
		  </table>
	</div>

</div>
</div>
{{include_php file="user_foot.inc.php"}}
</body>
</html>
