player_index.tpl.php

来自「a short sketch about linux syntex lines.」· PHP 代码 · 共 64 行

PHP
64
字号

<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" type="text/javascript"></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"><a href="<?php echo $this->installdir;?>?mod=category&action=index">分类列表</a><?php echo $this->location;?></div>
		<table cellspacing="1" cellpadding="4" class="tab" id="tbl">
          <tr class="sub align-center nodrag">
            <td width="13%" class="align-center">编号</td>
            <td class="align-center">播放器名</td>
            <td width="15%" class="align-center">唯一标记</td>
            <td width="16%" class="align-center">管理</td>
          </tr>
          <?php
          if (count($this->player)>0){
          	foreach ($this->player as $rs){?>
			   <tr class="row">
				<td class="align-center"><?php echo $rs['id'];?></td>
				<td><?php echo $rs['name'];?></td>
				<td class="align-center"><?php echo $rs['tag'];?></td>
				<td class="align-center"><a href="<?php echo $this->installdir;?>?mod=player&action=modify&id=<?php echo $rs['id'];?>">编辑</a> <a href="<?php echo $this->installdir;?>?mod=player&action=delete&id=<?php echo $rs['id'];?>" onclick="return confirm('确认删除吗')">删除</a></td>
			  </tr>
			  <?php
          	}
          }else{
          	echo '<tr class="row align-center"><td colspan="5">没有找到任何记录!<a href="'.$this->installdir.'player/add/">您可以点击这里添加个新播放器</a></td></tr>';
          }?>
        </table>
        <?php echo $this->printpage;?>
	  </div>
      
      <div id="App-Version-Prompt" style="display:none;">
        <div class="space"></div>
        <div class="Block">
          <div class="BlockBar">版本更新信息</div>
          <div class="BlockContent" id="App-Version-Prompt-Body" style="padding:20px 5px 20px 5px; text-align:center; background:#FFFFCC;">loading...</div>
        </div>
      </div>
      <!-- ########## end ########## -->
    </td>
    <td width="5"></td>
    <td width="150" align="center" valign="top">
    <?php
	echo $this->render('menu');
	?>
     </td>
  </tr>
</table>
<?php
echo $this->render('copyright');
?>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?