www.gusucode.com > 网猫影视系统NetMao Movie 4.6.6 开源版源码程序 > upload/admin/tpl/server.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 == 'server_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">当前操作 &gt; 服务器管理</td>
  </tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="10">
  <tr>
    <td ></td>
  </tr>
</table>
<form name="myform1" action="?action=server_order" method="post" >
  <table cellpadding="2" cellspacing="1" class="tableborder">
    <tr> 
      <th colspan=6>服务器管理</th>
    </tr>
    <tr> 
      <td width="100" class="tablerowhighlight">标识<font color="#FF0000">*</font></td>
      <td width="60" class="tablerowhighlight">顺序</td>
      <td width="150" class="tablerowhighlight">名称<font color="#FF0000">*</font></td>
      <td class="tablerowhighlight">描述</td>
      <td class="tablerowhighlight">服务器信息<font color="#FF0000">*</font></td>
      <td width="150" class="tablerowhighlight">操作</td>
    </tr>
    <? if(is_array($servers))foreach($servers AS $server){ ?>
    <tr onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#CEEAD3'" bgColor='#F1F3F5'> 
      <td> <input name="displayorders[]" type="text" value="<?=$server[identifier]?>" size="10" disabled> 
      </td>
      <td><input name="servids[]" type="hidden" value="<?=$server[servid]?>"> 
        <input name="displayorders[]" type="text" value="<?=$server[displayorder]?>" size="5"> 
      </td>
      <td><input name="names[]" type="text" value="<?=$server[name]?>" size="20"></td>
      <td><input name="descriptions[]" type="text" value="<?=$server[description]?>" size="20"></td>
      <td><input name="contents[]" type="text" value="<?=$server[content]?>" size="50"></td>
      <td><a href="?action=server_mod&servid=<?=$server[servid]?>">修改</a>&nbsp;|&nbsp;<a href="?action=server_del&servid=<?=$server[identifier]?>">删除</a></td>
    </tr>
    <? } ?>
    <tr align="right"> 
      <td colspan="6" bgcolor="#E1E1E1"> 
        <?=$pages?>
      </td>
    </tr>
    <tr> 
      <td colspan="6" bgcolor="#E1E1E1"><input name='submit' 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" method="post" action="?action=server_manage">
  <table cellpadding="2" cellspacing="1" class="tableborder">
    <tr> 
      <th colspan=6>服务器添加</th>
    </tr>
    <tr> 
      <td width="100" class="tablerowhighlight">标识<font color="#FF0000">*</font></td>
      <td width="60" class="tablerowhighlight">顺序</td>
      <td width="150" class="tablerowhighlight">名称<font color="#FF0000">*</font></td>
      <td class="tablerowhighlight">描述</td>
      <td class="tablerowhighlight">服务器信息<font color="#FF0000">*</font></td>
      <td width="150" class="tablerowhighlight">&nbsp;</td>
    </tr>
    <tr> 
      <td class="tablerow"><input name="identifiernew" type="text" size="10"></td>
      <td class="tablerow"> 
        <input name="displayordernew" type="text" value="0" size="5"></td>
      <td class="tablerow"><input name="namenew" type="text" size="20"></td>
      <td class="tablerow"><input name="descriptionnew" type="text" size="20"></td>
      <td class="tablerow"><input name="contentnew" type="text" size="50"> </td>
      <td class="tablerow">&nbsp;</td>
    </tr>
    <tr> 
      <td colspan="6" bgcolor="#E1E1E1"><input name="submit" type="submit" value=" 提 交 "> 
      </td>
    </tr>
  </table>
</form>
<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">小技巧:<br>
      服务器信息添填写格式:服务器地址|播放器标识符。<br>
      举例:http://www.netmao.com/soft/|down。</td>
  </tr>
</table>
<? }elseif($action == 'server_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">当前操作 &gt; 修改服务器</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=server_mod">
  <table cellpadding="2" cellspacing="1" class="tableborder">
    <tr> 
      <th colspan=6>修改服务器</th>
    </tr>
    <tr> 
      <td width="100" class="tablerowhighlight">标识<font color="#FF0000">*</font></td>
      <td width="60" class="tablerowhighlight">顺序</td>
      <td width="150" class="tablerowhighlight">名称<font color="#FF0000">*</font></td>
      <td class="tablerowhighlight">描述</td>
      <td class="tablerowhighlight">服务器信息<font color="#FF0000">*</font></td>
      <td width="150" class="tablerowhighlight">&nbsp;</td>
    </tr>
    <tr> 
      <td class="tablerow">
<input name="identifiernew" type="text" value="<?=$server[identifier]?>" size="10">
      </td>
      <td class="tablerow">
<input name="displayordernew" type="text" value="<?=$server[displayorder]?>" size="5">
      </td>
      <td class="tablerow">
<input name="namenew" type="text" value="<?=$server[name]?>" size="20">
      </td>
      <td class="tablerow">
<input name="descriptionnew" type="text" value="<?=$server[description]?>" size="20">
      </td>
      <td class="tablerow">
<input name="contentnew" type="text" value="<?=$server[content]?>" size="50">
      </td>
      <td class="tablerow">&nbsp;</td>
    </tr>
    <tr> 
      <td colspan="6" bgcolor="#E1E1E1"><input name="servid" type="hidden" value="<?=$servid?>"> 
        <input name="submit" type="submit" value=" 提 交 "></td>
    </tr>
  </table>
</form>
<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">小技巧:<br>
      服务器信息添填写格式:服务器地址|播放器标识符。<br>
      举例:http://www.netmao.com/soft/|real。</td>
  </tr>
</table>
<? } ?>