<!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><?php echo $cfg_webname; ?>-网站后台管理系统</title>
<link rel="stylesheet" href="css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/invalid.css" type="text/css" media="screen" />	
<script type="text/javascript" src="js/admin.jquery.configuration.js"></script>
<script src="js/frame.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript" src="../include/js/jquery/jquery.js" ></script>
<script language="javascript" src="../include/js/jquery/ui.core.js"></script>
<script language="javascript" src="../include/js/jquery/ui.sortable.js"></script>
<script language="javascript" src="js/drag.js"></script>
<script language="javascript" type="text/javascript">
	window.onload=function (){
		setInterval("document.getElementById('time').innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",1000);
	}
</script>
<script type="text/javascript">
function showMore()
{
	$("#allInfo").toggle();
	$("#allInfoTD").toggle();
}

$(function()
{
   $.get("index_testenv.php",function(data)
  {
	if(data !== '')
	{
		$("#__testEvn").html(data);
	}
  });
   $.get("index_body.php?dopost=get_seo",function(data)
  {
	if(data !== '')
	{
		$("#SEOInfo").html(data);
	}
  });
});
</script>
</head>
<body>
<div id="main-content">
			<div id="__testEvn"></div>
			<h2>欢迎访问网站管理后台</h2>
            
			<p id="page-intro">快捷方式</p>
			
			<ul class="shortcut-buttons-set">
				                                                             
				<li><a class="shortcut-button" href="catalog_main.php"><span>         
					<img src="images/icons/pencil.png" alt="栏目管理" /><br />
					栏目管理
				</span></a></li>			
				<li><a class="shortcut-button" href="content_list.php"><span>
					<img src="images/icons/document.png" alt="文章管理" /><br />
					文章管理
				</span></a></li>				
				
				<li><a class="shortcut-button" href="diy_main.php"><span>
					<img src="images/icons/comment.png" alt="留言管理" /><br />
					留言管理
				</span></a></li>
                
				<!--<li><a class="shortcut-button" href="#"  onClick="JumpFrame('catalog_menu.php','public_guide.php');"><span>  
					<img src="images/icons/post.png" alt="发布内容" /><br />
					发布内容
				</span></a></li>     -->             
                
				<li><a class="shortcut-button" href="makehtml_all.php"><span>
					<img src="images/icons/html.png" alt="生成HTML" /><br />
					生成HTML
				</span></a></li>
                
				<li><a class="shortcut-button" href="sys_info.php"><span>
					<img src="images/icons/hammer.png" alt="基本设置" /><br />
					基本设置
				</span></a></li>                                
				
			</ul><!-- End .shortcut-buttons-set -->
            <script>
                $(".shortcut-button").click(function(){
                    curhref=$(this).attr('href');
 
                    $("#main-nav li ul",window.parent.menu.document).hide(); // Slide up all sub menus except the one clicked

	  $(".nav-bottom-item[href='"+curhref+"']",window.parent.menu.document).parent().parent().show(); // Slide down the clicked sub menu
                    $(".nav-bottom-item",window.parent.menu.document).removeClass('current');
                    $(".nav-top-item",window.parent.menu.document).removeClass('current');
                    $(".nav-bottom-item[href='"+curhref+"']",window.parent.menu.document).addClass("current");
                    $(".nav-bottom-item[href='"+curhref+"']",window.parent.menu.document).parents("li").children(".nav-top-item").addClass("current");
                });        
        
    </script>            
			
			<div class="clear"></div> <!-- End .clear -->
			
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>系统信息</h3>
					
					
					
					<div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab -->
						
						
						
						<table>
						 
							<tbody>
								<tr>
									<td>程序版本</td>
									<td>CMS</td>
								</tr>
								<tr>
									<td>操作系统</td>
									<td><?php echo PHP_OS;?></td>
								</tr>
								<tr>
									<td>网站域名/IP</td>
									<td><?php echo $_SERVER['SERVER_NAME'];?>(<?php echo gethostbyname($_SERVER['SERVER_NAME']);?>)</td>
								</tr>
								<tr>
									<td>服务器解译引擎</td>
									<td><?php echo $_SERVER['SERVER_SOFTWARE'];?></td>
								</tr>
								<tr>
									<td>PHP</td>
									<td><?php echo "php ".PHP_VERSION;?></td>
								</tr>
																
																<tr>
									<td>服务器时间</td>
									<td><div class="fRight mR10" id="time">  </div></td>
								</tr>
								<tr>
									<td>当前附件尺寸</td>
									<td><?php echo get_cfg_var("upload_max_filesize");?></td>
								</tr>
								<tr>
									<td>服务器语言</td>
									<td><?php echo getenv("HTTP_ACCEPT_LANGUAGE");?></td>
								</tr>

							</tbody>
							
						</table>
						
					</div> <!-- End #tab1 -->
					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->
			
			<div class="clear"></div>
			
			<?php include(DEDEADMIN.'/templets/footer.htm'); ?>
			
		</div> <!-- End #main-content -->	
	</div>
<script language="javascript">
function JumpFrame(url1, url2){
    jQuery('#menufra',window.parent.document).get(0).src = url1;
    jQuery('#main',window.parent.document).get(0).src = url2;
}
</script>  
</body>
</html>            
