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

📄 channel.php

📁 phpcms网站管理系统  很不错的 有需要的就下载看看八 
💻 PHP
字号:
<?php 
defined('IN_PHPCMS') or exit('Access Denied');
include admintpl('header');
?>
<body>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="10">
  <tr>
    <td></td>
  </tr>
</table>
<?=$menu?>
<form method="post" action="?mod=<?=$mod?>&file=<?=$file?>&action=updateorder">
<table cellpadding="2" cellspacing="1" class="tableborder">
  <tr>
    <th colspan=8>频道管理</th>
  </tr>
<tr align="center">
<td class="tablerowhighlight">排序</td>
<td class="tablerowhighlight">ID</td>
<td class="tablerowhighlight">频道名称</td>
<td class="tablerowhighlight">频道类型</td>
<td class="tablerowhighlight">模型</td>
<td class="tablerowhighlight">访问地址</td>
<td class="tablerowhighlight">状态</td>
<td class="tablerowhighlight">管理操作</td>
</tr>
<?php 
if(is_array($channels)){
	foreach($channels as $channel){
?>
<tr align="center"  align=center onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#BFDFFF'" bgColor='#F1F3F5'>
<td><input name="orderid[<?=$channel['channelid']?>]" type="text" size="4" value="<?=$channel['orderid']?>"></td>
<td><?=$channel['channelid']?></td>
<td><?=$channel['channelname']?></td>
<?php if($channel['channeltype']){?>
<td>内部频道</td>
<?php }else{ ?>
<td><font color="red">外部频道</font></td>
<?php } ?>
<td>
<?php if($channel['channeltype']){?>
<?=$_MODULE[$channel['module']]['modulename']?>
<?php } ?>
</td>
<td><a href="<?=$channel['channelurl']?>" target="_blank" ><?=$channel['channeldir']?></a></td>
<td><?=$channel['status']?></td>
<td><a href="?mod=<?=$mod?>&file=<?=$file?>&action=edit&channelid=<?=$channel['channelid']?>">修改</a> | 
<?php if($channel['disabled']){?>
<a href="?mod=<?=$mod?>&file=<?=$file?>&action=disabled&value=0&channelid=<?=$channel['channelid']?>">启用</a></td>
<?php }else{ ?>
<a href="?mod=<?=$mod?>&file=<?=$file?>&action=disabled&value=1&channelid=<?=$channel['channelid']?>">禁用</a></td>
<?php } ?>
</tr>
<?php 
	}
}
?>
</table>

<table cellpadding="0" cellspacing="0" border="0" width="100%" height="30">
  <tr>
    <td><input name="submit" type="submit" size="4" value=" 更新排序 "></td>
  </tr>
</table>
</form>
</body>
</html>

⌨️ 快捷键说明

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