www.gusucode.com > 网猫影视系统NetMao Movie 4.6.6 开源版源码程序 > upload/admin/tpl/admin.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 == 'admin_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> <table cellpadding="2" cellspacing="1" class="tableborder"> <tr> <th colspan=3> 帐户管理</th> </tr> <tr> <td width="50" class="tablerowhighlight"> 编号 </td> <td width="150" class="tablerowhighlight"> 帐户名称</td> <td class="tablerowhighlight"> 管理操作 </td> </tr> <? if(is_array($users))foreach($users AS $user){ ?> <tr onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#CEEAD3'" bgColor='#F1F3F5'> <td> <?=$user[id]?> </td> <td> <?=$user[user]?> </td> <td> <a href="?action=admin_mod&id=<?=$user[id]?>">修改</a> | <a href="?action=admin_del&id=<?=$user[id]?>">删除</a> </td> </tr> <? } ?> </table> <table cellpadding="0" cellspacing="0" border="0" width="100%" height="10"> <tr> <td ></td> </tr> </table> <table cellpadding="2" cellspacing="1" class="tableborder"> <tr> <th colspan=2>帐户添加</th> </tr> <form name="myform" method="post" action="?action=admin_manage"> <tr> <td width="80" class="tablerow">帐户名称:</td> <td class="tablerow"> <input name="user" type="text" size="30"> </td> </tr> <tr> <td class="tablerow">帐户密码:</td> <td class="tablerow"><input name="pwd" type="password" size="30"> </td> </tr> <tr bgcolor="#E1E1E1"> <td colspan="2"><input name="submit" type="submit" value=" 提 交 "></td> </tr> </form> </table> <? }elseif($action == 'admin_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> <table cellpadding="2" cellspacing="1" class="tableborder"> <tr> <th colspan=2>帐户修改</th> </tr> <form name="myform" method="post" action="#"> <tr> <td width="80" class="tablerow">帐户名称:</td> <td class="tablerow"> <?=$user[user]?> </td> </tr> <tr> <td class="tablerow">帐户密码:</td> <td class="tablerow"><input name="pwd" type="password" size="20"></td> </tr> <tr bgcolor="#E1E1E1"> <td colspan="2"><input name="submit" type="submit" value=" 提 交 "> <input name="button" type="button" onClick="history.go(-1);" value=" 取 消 "></td> </tr> </form> </table> <? } ?>