
<!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_adminfont.admintitle.]</title>
<link href="templates/images/ourphp_login.css" rel="stylesheet" type="text/css"> 
<script type="text/javascript" src="../../function/plugs/jquery/1.7.2/jquery-1.7.2.min.js"></script>
<script charset="utf-8" src="templates/images/ourphp.js"></script>
<script src="../../function/plugs/layer/layer.min.js"></script>
</head>

<body>
<div style="height:50px;"></div>
<div style="clear:both"></div>
<div id="tabs0">
 <ul class="menu0" id="menu0">
  <li><a href="ourphp_coupon.php">优惠券列表</a></li>
  <li class="hover">领取列表</li>
 </ul>
 <div class="main" id="main0" style="border-top:2px #488fcd solid; clear:both;">
  <ul class="block">
	  <li>
		<div class="ourphp_newslist">
		        <table width="100%" border="0" cellpadding="10" class="ourphp_newslist">
                  <tr>
				  	<td width="5%" bgcolor="#EBEBEB"><div align="center">ID</div></td>
                    <td width="27%" bgcolor="#EBEBEB">关联优惠券</td>
                    <td width="15%" bgcolor="#EBEBEB">领取会员账号</td>
                    <td width="10%" bgcolor="#EBEBEB">是否使用</td>
                    <td width="15%" bgcolor="#EBEBEB">领取时间</td>
                    <td width="24%" bgcolor="#EBEBEB">校验</td>
                    <td width="4%" bgcolor="#EBEBEB">操作</td>
                  </tr>
				  [.section loop=$coupon name=op.]
                  <tr>
				  	<td><div align="center"><font style="background:#009933; color:#FFFFFF; padding:2px; text-align:center;">[.$coupon[op].id.]</font></div></td>
                    <td>[.$coupon[op].classid.]</td>
                    <td>[.$coupon[op].username.]</td>
                    <td>[.if $coupon[op].type == 0.]未用[.else.]<p>已用</p><p>[.$coupon[op].timewin.]</p>[./if.]</td>
                    <td>[.$coupon[op].time.]</td>
                    <td>[.$coupon[op].md.]</td>
                    <td><a href="?ourphp_cms=del&id=[.$coupon[op].id.]" onclick="javascript:return confirm('确认删除吗?')">删除</a></td>
				  </tr>
				  [.sectionelse.]
				  <tr>
                    <td colspan="8">[.$ourphp_access.]</td>
                  </tr>
				  [./section.]
                  <tr>
                    <td colspan="8">[.$ourphppage.]</td>
                  </tr>
                </table>
        </div>
	  </li>
  </ul>
  

 </div>
</div>
[.include file="ourphp_foot.html".]
</body>
</html>