
<!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=utf-8" />
<title>[.$ourphp_adminfont.admintitle.]</title>
<link href="templates/images/ourphp_login.css" rel="stylesheet" type="text/css"> 
<script type="text/javascript" src="../../function/plugs/jquery/1.7.2/jquery-1.7.2.min.js"></script>
<script>
<!--
/*第一种形式 第二种形式 更换显示样式*/
function setTab(m,n){
 var tli=document.getElementById("menu"+m).getElementsByTagName("li");
 var mli=document.getElementById("main"+m).getElementsByTagName("ul");
 for(i=0;i<tli.length;i++){
  tli[i].className=i==n?"hover":"";
  mli[i].style.display=i==n?"block":"none";
 }
}
//-->
</script>

</head>

<body>
<div style="height:50px;"></div>
<div style="clear:both"></div>
<div id="tabs0">
 <ul class="menu0" id="menu0">
  <li onclick="setTab(0,0)" class="hover">可用插件列表</li>
  <li onclick="setTab(0,1)">安装新插件</li>
 </ul>
 <div class="main" id="main0" style="border-top:2px #488fcd solid; clear:both;">
  <ul class="block">
	  <li>
		<div class="ourphp_newslist">
		        <form id="form2" name="form2" method="post" action="?ourphp_cms=Batch">
		        <table width="100%" border="0" cellpadding="10" class="ourphp_newslist">
                  <tr>
				 	<td width="5%" bgcolor="#EBEBEB"><div align="center">ID</div></td>
				  	<td width="18%" bgcolor="#EBEBEB">插件名称</td>
                    <td width="12%" bgcolor="#EBEBEB">插件版本</td>
                    <td width="10%" bgcolor="#EBEBEB">作者</td>
					<td width="30%" bgcolor="#EBEBEB">插件介绍</td>
                    <td width="15%" bgcolor="#EBEBEB">安装时间</td>
					 <td width="10%" bgcolor="#EBEBEB">操作</td>
                  </tr>
				  [.section loop=$Pluslist name=op.]
                  <tr>
				 	 <td><div align="center"><font style="background:#009933; color:#FFFFFF; padding:2px; text-align:center;">[.$Pluslist[op].id.]</font></div></td>
				  	<td>[.$Pluslist[op].name.]</td>
                    <td>[.$Pluslist[op].version.]([.$Pluslist[op].versiondate.])</td>
                    <td>[.$Pluslist[op].author.]</td>
					<td>[.$Pluslist[op].about.]</td>
					<td>[.$Pluslist[op].time.]</td>
                    <td>

					[.if strstr($Pluslist[op].pluspath,'.php').]
					<a href="../plus/[.$Pluslist[op].pluspath.]">管理</a>
					&nbsp;&nbsp;&nbsp;&nbsp;
					[./if.]
					
					<a href="ourphp_plug.php?id=[.$Pluslist[op].id.]&off=1&ourphp_cms=edit" onclick="javascript:return confirm('确认卸载吗?卸载以后，表内数据会被清空哦！')"><font color="red">[卸载]</font></a>
					</td>
                  </tr>
				  [.sectionelse.]
				  <tr>
                    <td colspan="7">[.$ourphp_access.]</td>
                  </tr>
				  [./section.]
                  <tr>
                    <td colspan="7">[.$ourphppage.]</td>
                  </tr>
                </table>
                </form>
        </div>
	  </li>
  </ul>
  <ul>
	  <li>
		        <table width="100%" border="0" cellpadding="10" class="ourphp_newslist">
                  <tr>
				  	<td width="70%" bgcolor="#EBEBEB">插件名称及简介</td>
                    <td width="30%" bgcolor="#EBEBEB">安装?</td>
                  </tr>
				  [.section loop=$Addpluslist name=op.]
                  <tr>
				  	<td>[.$Addpluslist[op].author.]</td>
					<td><a href="[.$Addpluslist[op].url.]/ourphp_[.$Addpluslist[op].name.].php">【安装】</a></td>
                  </tr>
				  [.sectionelse.]
				  <tr>
                    <td colspan="2">[.$ourphp_access.]</td>
                  </tr>
				  [./section.]
                </table>
	  </li>
  </ul>
 </div>
</div>
[.include file="ourphp_foot.html".]
</body>
</html>