<?php
if(!defined('IN_GATEWEI')) {	exit('Access Denied');}


if($action=="updatecache"){
	w2setting();
	w2friendlylink();
	w2articlecategory();
	w2productcategory();
	w2forumcategory();
	gadminmessage("缓存信息更新成功","siteadmin.php?iframe=main",1);
}
?>

<?php if($ipost=="systeminfo"){?>
<table>
<caption>网站系统信息</caption>
	  <tr>
          <th colspan="2" ><span>系统信息</span></th>
      </tr>
      <tr>
          <td  width="30%"> <span>建站引擎</span></td>
          <td ><?php echo $g_project_name.$g_project_version.'&nbsp;[&nbsp;'.$g_zh_name .'&nbsp;]'?></td>
      </tr>
      <tr>
         <td  > <span>服务器操作系统</span></td>
         <td ><?=php_uname()?></td>
     </tr>
     <tr>
         <td > <span>PHP版本/数据库信息</span></td>
          <td><?php echo 'PHP&nbsp;'.phpversion().'&nbsp;/&nbsp;MySql&nbsp;'.$db->version()?></td>
     </tr>
     <tr>
          <td colspan="2">
	         <div id="hr_u"> </div>
	         <div id="hr_d"> </div>
	      </td>
     </tr>


     <tr>
          <th colspan="2"><span>开发团队</span></th>
     </tr>
     <tr>
         <td> <span>项目设计与开发人</span></td>
         <td ><a href="http://hi.baidu.com/gatewei/blog" target="_bank"><?php echo $g_project_designer ?></a></td>
     </tr>
     <tr>
          <td><span> GateWei网站引擎官方网站</span></td>
          <td ><a href="<?php echo $g_project_officialsite ?>" target="_bank"><?php echo $g_project_officialsite ?></a></td>
     </tr>
     <tr>
          <td > <span>电子邮箱地址</span></td>
          <td ><a href="mailto:<?php echo $g_project_email?>" target="_bank"><?php echo $g_project_email?></a></td>
     </tr>
     <tr>
         <td colspan="2">	 
	        <div id="hr_u"> </div>
	        <div id="hr_d"> </div>
	     </td>
     </tr>
  </table>
<?php }?>

<?php if($ipost=="managementmap"){?>
  <table>
<caption>网站管理功能地图</caption>
      <tr>
          <td>
		 <img src="images/siteadmin/sysimg.gif" />
		  </td>
		   <td>
		 <img src="images/siteadmin/contentimg.gif" />
		  </td>
      </tr>
	   <tr>
          <td colspan="2">
	         <div id="hr_u"> </div>
	         <div id="hr_d"> </div>
	      </td>
		    </tr>
</table>


<?php }?>
  </div>