www.gusucode.com > 网猫影视系统NetMao Movie 4.6.6 开源版源码程序 > upload/admin/tpl/plugin.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 == 'plugin_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=plugin_order" 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>
    <? if(is_array($plugins))foreach($plugins AS $plugin){ ?>
    <tr onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#CEEAD3'" bgColor='#F1F3F5'> 
      <td> 
        <?=$plugin[pluginid]?>
      </td>
      <td> 
        <input name="names[]" type="text" value="<?=$plugin[name]?>" size="20" disabled> 
      </td>
      <td> 
        <input name="contents[]" type="text" value="<?=$plugin[content]?>" size="20" disabled> 
      </td>
      <td> <input name="pluginids[]" type="hidden" value="<?=$plugin[pluginid]?>"> 
        <input name="displayorders[]" type="text" value="<?=$plugin[displayorder]?>" size="5"> 
      </td>
      <td><input name="keywords[]" type="text" value="<?=$plugin[keyword]?>" size="50"> </td>
      <td><a href="?action=plugin_mod&pluginid=<?=$plugin[pluginid]?>">修改</a>&nbsp;|&nbsp;<a href="?action=plugin_del&pluginid=<?=$plugin[pluginid]?>">删除</a></td>
    </tr>
    <? } ?>
    <tr align="right"> 
      <td colspan="10" bgcolor="#E1E1E1"> 
        <?=$pages?>
      </td>
    </tr>
    <tr> 
      <td colspan="10" 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=plugin_manage">
  <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">&nbsp;</td>
    </tr>
    <tr> 
      <td class="tablerow">&nbsp;</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">&nbsp;</td>
    </tr>
    <tr> 
      <td colspan="6" bgcolor="#E1E1E1"><input name="submit" type="submit" value=" 提 交 "> 
      </td>
    </tr>
  </table>
</form>
<? }elseif($action == 'plugin_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=plugin_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">&nbsp;</td>
      <td class="tablerow"><input name="namenew" type="text" value="<?=$plugin[name]?>" size="20"></td>
      <td class="tablerow"><input name="contentnew" type="text" value="<?=$plugin[content]?>" size="20"></td>
      <td class="tablerow"><input name="displayordernew" type="text" value="<?=$plugin[displayorder]?>" size="5"></td>
      <td class="tablerow"><input name="keywordnew" type="text" value="<?=$plugin[keyword]?>" size="50"></td>
      <td class="tablerow">&nbsp; </td>
    </tr>
    <tr> 
      <td colspan="6" bgcolor="#E1E1E1"><input name="pluginid" type="hidden" value="<?=$pluginid?>"> 
        <input name="submit" type="submit" value=" 提 交 "></td>
    </tr>
  </table>
  </form>
<? } ?>