<? defined('ROOT_PHPLEFT') or exit(require '../../../404.php');?>
<!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=gbk"/>
<title>管理中心 - Powered By phpleft.com</title>
<script src="<?=PL_URL?>js/win/artDialog.js?skin=default"></script>
<script src="<?=PL_URL?>js/win/plugins/iframeTools.js"></script>
 <script type="text/javascript" src="<?=PL_URL?>js/common.js"></script>
 <link href="css/main.css" type="text/css" rel="stylesheet">

</head>
<body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
<div class="tpis"><img src="images/icos.gif" align="absmiddle"/>当前位置：基础设置 > 插件管理</div>
<table class="usertableborder input" cellspacing="1" cellpadding="3" width="100%" align="center"
        border="0">
        <tr>
            <th colspan="7">提示信息</th>
        </tr>
    
    </table>
    <div class="tsc">
1. 删除插件后，可以点击彻底删除 <br>
2. 安装后到扩展管理管理。
</div>
<? include inTemplate(menu);?>


    <table class="usertableborder bb" cellspacing="0" cellpadding="3" width="100%" align="center"
        border="0">

        <tr align="center" class="title">
          <td widtd="100" height="30" valign="top">
          插件文件夹
          </td>
          <td widtd="85" height="30">插件名称</td>
         
            <td widtd="93" height="30">更新日期</td>
            <td widtd="74" height="30">作者</td>
             <td widtd="74" height="30">插件版本</td>
             <td widtd="102" height="30">状态</td>
             <td widtd="249" height="30">模块管理</td>
              <td widtd="263" height="30">&nbsp;</td>
             
        </tr>

         <?php foreach($filelist as $id=>$m) { ?>
        <tr align="center" class="list<?php if($id%2==1) echo '1'?>">
          <td width="100" height="30" style="padding-right:10px;" align="left"><img src="file/folder.gif" align="absmiddle"> <?=$m?>
          </td>
          <td width="85" height="30"><b><?=$phplefts[$m]['plugins_name']?></b></td>
         
            <td width="93" height="30"><?=$phplefts[$m]['plugins_date']?></td>
            <td width="74" height="30"><a href="<?=$phplefts[$m]['plugins_url']?>" target="_blank">
            <?=$phplefts[$m]['plugins_user']?>
            </a></td>
            <td width="102" height="30"><?=$phplefts[$m]['plugins_v']?></td>
             <td width="102" height="30"><?php if(admin::plugins_install($m)<>'1'){?><font color="#FF0000">未安装</font><? } else { ?>以安装<? } ?></td>
             <td width="249" height="30"><?php if(admin::plugins_install($m)<>'1'){?><a href="?file=post_center&post=plugins&input=install&install=<?=$m?>"><img src="<?=PL_URL?>ico/publish.png" align="absmiddle" alt="开始安装" border="0">开始安装</a>&nbsp;<a href="?file=post_center&post=plugins&input=del&delete=<?=$m?>" onClick="if(!confirm('请谨慎操作！确定彻底删除?')) return false;">彻底删除</a>
               <? }else{?>
               &nbsp;<a href="?file=post_center&post=plugins&input=delete&delete=<?=$m?>" onClick="if(!confirm('请谨慎操作！确定卸载?')) return false;" ><img src="<?=PL_URL?>ico/del.png" align="absmiddle" alt="卸载插件" border="0"></a>
<? }?></td>
              <td height="30">&nbsp;</td>
      </tr>
       <?php } ?>
    </table>
 
</body>
</html>
