www.gusucode.com > 网猫影视系统NetMao Movie 4.6.6 开源版源码程序 > upload/admin/tpl/category.tpl.php
<?php /* *###################################### * Netmao Movie 4.x - NetMao Movie System * Copyright (c) 2007-2008 NetMao.cn * For further information go to http://www.netmao.cn/ * This copyright notice must stay intact for use. *###################################### */ if(!defined('IN_NetMao')) exit('Access Denied'); ?> <? if($action == 'cat_manage') { ?> <table cellpadding="0" cellspacing="0" border="0" width="100%" height="10"> <tr> <td ></td> </tr> </table> <table cellpadding="2" cellspacing="1" border="0" align=center class="tableBorder"> <tr> <td class="tablerow">当前操作 > 分类管理</td> </tr> </table> <table cellpadding="0" cellspacing="0" border="0" width="100%" height="10"> <tr> <td ></td> </tr> </table> <form name="myform1" action="?action=cat_order" method="post"> <table cellpadding="2" cellspacing="1" class="tableborder"> <tr> <th colspan=10>分类管理</th> </tr> <tr> <td width="60" class="tablerowhighlight">CID</td> <td width="150" class="tablerowhighlight">名称<font color="#FF0000">*</font></td> <td width="150" class="tablerowhighlight">地址<font color="#FF0000">*</font></td> <td width="60" class="tablerowhighlight">顺序</td> <td class="tablerowhighlight">关键词</td> <td width="150" class="tablerowhighlight">操作</td> </tr> <? if(is_array($cats))foreach($cats AS $key=>$cat){ ?> <tr onMouseOut="this.style.backgroundColor='#F1F3F5'" onMouseOver="this.style.backgroundColor='#CEEAD3'" bgcolor='#F1F3F5'> <td> <?=$cat[cid]?> </td> <td> <input name="names" type="text" value="<?=$cat[name]?>" size="20" disabled></td> <td> <input name="contents" type="text" value="<?=$cat[content]?>" size="20" disabled> </td> <td> <input name="cids[]" type="hidden" value="<?=$cat[cid]?>"> <input name="displayorders[]" type="text" value="<?=$cat[displayorder]?>" size="5"> </td> <td><input name="keywords[]" type="text" value="<?=$cat[keyword]?>" size="50"> </td> <td><a href="?action=cat_mod&cid=<?=$cat[cid]?>">修改</a> | <a href="?action=cat_del&cid=<?=$cat[cid]?>">删除</a></td> </tr> <? } ?> <tr align="right"> <td colspan="10" bgcolor="#E1E1E1"> <?=$pages?> </td> </tr> <tr> <td colspan="10" bgcolor="#E1E1E1"><input name='submit2' type='submit' value=' 提 交 ' ></td> </tr> </table> </form> <table cellpadding="0" cellspacing="0" border="0" width="100%" height="10"> <tr> <td ></td> </tr> </table> <form name="myform" action="?action=cat_manage" method="post"> <table cellpadding="2" cellspacing="1" class="tableborder"> <tr> <th colspan=6>分类添加</th> </tr> <tr> <td width="60" class="tablerowhighlight">新增</td> <td width="150" class="tablerowhighlight">名称<font color="#FF0000">*</font></td> <td width="150" class="tablerowhighlight">地址<font color="#FF0000">*</font></td> <td width="60" class="tablerowhighlight">顺序</td> <td class="tablerowhighlight">关键词</td> <td width="150" class="tablerowhighlight"> </td> </tr> <tr> <td class="tablerow"> </td> <td class="tablerow"><input name="namenew" type="text" size="20"></td> <td class="tablerow"><input name="contentnew" type="text" size="20"></td> <td class="tablerow"><input name="displayordernew" type="text" value="0" size="5"></td> <td class="tablerow"><input name="keywordnew" type="text" size="50"></td> <td class="tablerow"> </td> </tr> <tr> <td colspan="6" bgcolor="#E1E1E1"><input name="submit" type="submit" value=" 提 交 "></td> </tr> </table> </form> <? }elseif($action == 'cat_mod'){ ?> <table cellpadding="0" cellspacing="0" border="0" width="100%" height="10"> <tr> <td ></td> </tr> </table> <table cellpadding="2" cellspacing="1" border="0" align=center class="tableBorder"> <tr> <td class="tablerow">当前操作 > 分类修改</td> </tr> </table> <table cellpadding="0" cellspacing="0" border="0" width="100%" height="10"> <tr> <td ></td> </tr> </table> <form name="myform" method="post" action="?action=cat_mod"> <table cellpadding="2" cellspacing="1" class="tableborder"> <tr> <th colspan=6>分类修改</th> </tr> <tr> <td width="60" class="tablerowhighlight">修改</td> <td width="150" class="tablerowhighlight">名称<font color="#FF0000">*</font></td> <td width="150" class="tablerowhighlight">地址<font color="#FF0000">*</font></td> <td width="60" class="tablerowhighlight">顺序</td> <td class="tablerowhighlight">关键词</td> <td width="150" class="tablerowhighlight"> </td> </tr> <tr> <td class="tablerow"> </td> <td class="tablerow"><input name="namenew" type="text" value="<?=$cat[name]?>" size="20"></td> <td class="tablerow"><input name="contentnew" type="text" value="<?=$cat[content]?>" size="20"></td> <td class="tablerow"><input name="displayordernew" type="text" value="<?=$cat[displayorder]?>" size="5"></td> <td class="tablerow"><input name="keywordnew" type="text" value="<?=$cat[keyword]?>" size="50"></td> <td class="tablerow"> </td> </tr> <tr> <td colspan="6" bgcolor="#E1E1E1"><input name="cid" type="hidden" value="<?=$cid?>"> <input name="submit" type="submit" value=" 提 交 "></td> </tr> </table> </form> <? } ?>