<!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; ?>-<?php echo $cfg_softname." ".$cfg_version; ?></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 language="javascript" src="js/jquery.min.js" type="text/javascript"></script>	
<script type="text/javascript" src="js/admin.jquery.configuration.js"></script>
<script src="js/frame.js" language="javascript" type="text/javascript"></script>

<script language="javascript" type="text/javascript">
	window.onload=function (){
		setInterval("document.getElementById('time').innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",1000);
	}
</script>
	
</head>
<body>
<div id="main-content">
			
			<h2>欢迎访问网站管理后台</h2>
			<p id="page-intro">快捷方式</p>
			
			<ul class="shortcut-buttons-set">
				                                                             
				<li><a class="shortcut-button" href="article_add.php"><span>         
					<img src="images/icons/pencil.png" alt="添加文章" /><br />
					添加文章
				</span></a></li>	
<!--此条信息根据情况添加
                <li><a class="shortcut-button" href="catalog_do.php?channelid=17&cid=10&dopost=addArchives"><span>  
					<img src="images/icons/post.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_list.php?action=list&diyid=1"><span>
					<img src="images/icons/comment.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>Siyuan 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>MySQL 版本</td>
									<td><?php echo "mysql ".mysql_get_server_info();?></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>
                                <tr>
									<td>建站仿站</td>
									<td><a href="tencent://message/?uin=474323217&Site=dedemao.cn&Menu=yes" target="_blank">QQ：474323217</a></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>            
