📄 case_index.tpl.php
字号:
<html>
<head>
<title>vodcms.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="../../images/admin/public.css" rel="stylesheet" type="text/css" />
<link href="../../images/admin/style.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->basedir;?>js/jquery.js" language="javascript"></script>
<script language="javascript">
$(document).ready(function() {
$("#ta tr").mouseover(function(){
$(this).addClass("over");
});
$("#ta tr").mouseout(function(){
$(this).removeClass("over");
});
$("#ta tr:even").addClass("double");
$('#mostrar').click(function(){$('#sh').toggle();});
/*全选*/
$("#checkall").click(function() {
$("input[@name='id[]']").each(function() {
$(this).attr("checked", $('#checkall').attr('checked'));
});
});
$("#all").click(function() {
$("input[@name='id[]']").each(function() {
$(this).attr("checked", $('#all').attr('checked'));
});
});
});
</script>
<body>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr align="center" valign="top">
<td width="*" align="center" valign="top"><div class="Block">
<div class="BlockBar">设置购买商品价格</div>
<form id="form1" name="form1" method="post" action="<?php echo $this->installdir;?>?mod=case&action=delete">
<table cellspacing="1" cellpadding="4" class="tab">
<tr class="sub">
<td width="16%" class="align-center">定单编号</td>
<td width="12%" class="align-center">购买人</td>
<td width="12%" class="align-center">购买服务</td>
<td width="17%" class="align-center">时间</td>
<td width="8%" class="align-center">金额</td>
<td width="14%" class="align-center">支付方式</td>
<td width="6%" class="align-center">状态</td>
<td width="15%" class="align-center">管理</td>
</tr>
<tbody id="ta">
<?php
if(count($this->rows)>0){
foreach($this->rows as $row){?>
<tr class="row align-center">
<td ><?php echo $row['orderno'];?></td>
<td><a href="<?php echo $this->installdir;?>?mod=user&action=modify&username=<?php echo $row['username'];?>"><?php echo $row['username'];?></a></td>
<td><?php echo $row['groupname'];?>会员<?php echo $row['point'];?><?php echo $row['usertype'] ? '天' : '点';?></td>
<td><?php echo date('Y-m-d H:i:s', $row['addtime']);?></td>
<td><?php echo $row['price'];?>元</td>
<td><?php echo $row['payvia'];?></td>
<td><?php echo $row['state'] ? '已成功': '未成功';?></td>
<td><input name="id[]" type="checkbox" value="<?php echo $row['id'];?>" class="checkbox" />
<a href="<?php echo $this->installdir;?>?mod=case&action=delete&id=<?php echo $row['id'];?>" onclick="return confirm('确认删除吗?')">删除</a> <?php
if ($row['state']==0){?><a href="<?php echo $this->installdir;?>?mod=case&action=state&id=<?php echo $row['id'];?>/" onclick="return confirm('确认审核吗?审核后将开通用户购买的服务')">审核订单</a><?php }?></td>
</tr>
<?php }
}else{
echo '<tr class="align-center"><td colspan="8">暂无记录,<a href="javascript:history.back();">点击返回!</a></td></tr>';
}?>
</tbody>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?php echo $this->printpage;?>
<div class="form-handle"><input name="all" type="checkbox" class="checkbox" id="all" value="checkbox" />全选 <input name="Submit" type="submit" value=" 删 除 " class="button" />
</div></td>
</tr>
</table>
</form>
</div></td>
</tr>
</table>
<?php
echo $this->render('copyright');
?>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -