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

📄 templatetype.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?>
<table cellpadding="2" cellspacing="1" class="tableborder">
  <tr>
    <th colspan=4>模板类型管理</th>
  </tr>
<form method="post" action="?mod=<?=$mod?>&file=<?=$file?>&action=update&module=<?=$module?>">
<tr align="center">
<td class="tablerowhighlight">英文名</td>
<td class="tablerowhighlight">中文名</td>
<td class="tablerowhighlight">所属模块</td>
<td class="tablerowhighlight">管理操作</td>
</tr>
<?php 
if(is_array($types)){
	foreach($types as $type){
?>
<tr align="center"  align=center onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#BFDFFF'" bgColor='#F1F3F5'>
<td><input size=15 name="type[<?=$type['typeid']?>]" type="text" value="<?=$type['type']?>" readonly></td>
<td><input size=25 name="typename[<?=$type['typeid']?>]" type="text" value="<?=$type['typename']?>"></td>
<td><?=$_MODULE[$module]['modulename']?></td>
<td>
<a href="?mod=<?=$mod?>&file=template&action=add&typeid=<?=$type['typeid']?>&module=<?=$module?>" title="新建此类型的模板">新建模板</a> | 
<a href="?mod=<?=$mod?>&file=template&action=manage&typeid=<?=$type['typeid']?>&type=<?=$type['type']?>&module=<?=$module?>" title="管理此类型的模板">管理模板</a> | 
<a href="?mod=<?=$mod?>&file=<?=$file?>&action=delete&typeid=<?=$type['typeid']?>&type=<?=$type['type']?>&module=<?=$module?>"  title="删除此模板类型和相关模板">删除</a>
</td>
</tr>
<?php 
	}
}
?>
<tr align="center"  onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#BFDFFF'" bgColor='#F1F3F5'>
<td><input size=15 name="newtype" type=text ></td>
<td><input size=25 name="newtypename" type=text ></td>
<td align="left" colspan=2>添加模板类型</td>
</tr>
</table>
<table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center"><input type="submit" name="submit" value=" 更新模板类型 "></td>
  </tr>
</table>
</form>
</body>
</html>

⌨️ 快捷键说明

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