⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 feedback_view.tpl.php

📁 a short sketch about linux syntex lines.
💻 PHP
字号:

<html>
<head>
<title>系统后台</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 src="<?php echo $this->basedir;?>js/jquery.tablednd.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");
	 /*全选*/
	 $("#all").click(function() {
	 	$("input[@name='id[]']").each(function() {
			$(this).attr("checked", $('#all').attr('checked'));
		});
	});
});

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
<body>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
  <tr align="center" valign="top">
    <td width="*" align="center" valign="top"><!-- ######### begin ######### -->
      <div class="Block">
        <div class="BlockBar">信息反馈收集</div>
        <form action="<?php echo $this->installdir?>?mod=feedback&action=delete" method="post" name="form1" id="form1" >
          <table cellspacing="1" cellpadding="4" class="tab">
            <tr class="sub">
              <td width="9%" class="align-center">编号</td>
              <td width="15%" class="align-center">发送人</td>
              <td width="36%" class="align-center">留言内容</td>
              <td width="20%" class="align-center">发送时间</td>
              <td width="8%" class="align-center">状态</td>
              <td width="12%" 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['id'];?></td>
                <td><?php echo $row['username'];?></td>
                <td class="align-left"><?php echo truncate($row['contents'],50,'...');?>&nbsp;&nbsp;<a href="javascript:MM_openBrWindow('<?php echo $this->installdir;?>?mod=feedback&action=read&id=<?php echo $row['id'];?>','','width=500,height=400')" title="查看详情">查看详情</a></td>
                <td><?php echo date('Y-m-d H:i:s', $row['addtime']);?></td>
                <td><?php echo $row['isread'] ? '已读' : '未读';?></td>
                <td class="align-center"><input name="id[]" type="checkbox" class="checkbox" id="id[]" value="<?php echo $row['id'];?>" />
                <a href="<?php echo $this->installdir;?>?mod=feedback&action=delete&id=<?php echo $row['id'];?>"> 删除</a></td>
              </tr>
              <?php } }else{echo '<tr class="row align-center"><td colspan="6">没有找到任何记录!</td></tr>';}?>
            </tbody>
          </table>
          <table width="100%" border="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="全部删除" />
                </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 + -