<?php
if(!isset($GLOBALS['_vars'])) $GLOBALS['_vars'] = array(); 
$fields = array();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>插件管理</title>
<link href='css/base.css' rel='stylesheet' type='text/css'>
</head>
<body background='images/allbg.gif' leftmargin='8' topmargin='8'>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6">
  <tr> 
    <td height="25" colspan="5" background="images/tbg.gif" style="padding-left:10px;">
    	<table width='96%' cellpadding='0' cellspacing='0'>
    		<tr>
    		<td width='30%'><b>插件管理</b></td>
        <td align='right'>
    	  [<a href="module_main.php?moduletype=plus"><u>安装新插件</u></a>]
        </td>
      </tr>
     </table>
    </td>
  </tr>
  <tr align="center" bgcolor="#FBFCE2" height="24"> 
      <td width="10%">ID号</td>
      <td width="40%">插件名称</td>
      <td width="20%">插件作者</td>
      <td width="30%">管理</td>
   </tr>
   <?php
$atts = array();
$atts['tagname'] = 'datalist';
$blockValue = $this->refObj->GetArcList($atts,$this->refObj,$fields); 
if(is_array($blockValue)){
foreach( $blockValue as $key=>$fields )
{
?>
    <tr align="center" bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> 
        <td><?php echo $fields['aid']; ?></td>
        <td><?php echo $fields['plusname']; ?></td>
        <td><?php echo $fields['writer']; ?></td>
        <td><?php echo GetSta($fields['isshow'],$fields['aid'],$fields['plusname']); ?></td>
     </tr>
		<?php
}
}?>
     <tr align="center" bgcolor="#F9FCEF" height="36"> 
      <td colspan="5">
      	<?php
$atts = array();
$atts['tagname'] = 'pagelist';
$atts['listsize'] = '6';
 echo $this->refObj->GetPageList($atts,$this->refObj,$fields); 
?>

      </td>
     </tr>
   </table>
   </td>
</tr>
</table>
</body>
</html>