<!-- #include file="../inc/checklogin.asp" -->
<!-- #include file="../inc/conn.asp" -->
<!-- #include file="inc/Config.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
		
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		
		<title>首页 - <%=admin_name%></title>
		
		<!--                       CSS                       -->
	  
		<!-- Reset Stylesheet -->
		<link rel="stylesheet" href="images/css/reset.css" type="text/css" media="screen" />
	  
		<!-- Main Stylesheet -->
		<link rel="stylesheet" href="images/css/style.css" type="text/css" media="screen" />
		
		<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
		<link rel="stylesheet" href="images/css/invalid.css" type="text/css" media="screen" />	
		
		<!-- Colour Schemes
	  
		Default colour scheme is green. Uncomment prefered stylesheet to use it.
		
		<link rel="stylesheet" href="images/css/blue.css" type="text/css" media="screen" />
		
		<link rel="stylesheet" href="images/css/red.css" type="text/css" media="screen" />  
	 
		-->
		
		<!-- Internet Explorer Fixes Stylesheet -->
		
		<!--[if lte IE 7]>
			<link rel="stylesheet" href="images/css/ie.css" type="text/css" media="screen" />
		<![endif]-->
		
		<!--                       Javascripts                       -->
  
		<!-- jQuery -->
		<script type="text/javascript" src="images/scripts/jquery-1.3.2.min.js"></script>
		
		<!-- jQuery Configuration -->
		<script type="text/javascript" src="images/scripts/simpla.jquery.configuration.js"></script>
		
		<!-- Facebox jQuery Plugin -->
		<script type="text/javascript" src="images/scripts/facebox.js"></script>
		
		<!-- jQuery WYSIWYG Plugin -->
		<script type="text/javascript" src="images/scripts/jquery.wysiwyg.js"></script>
		
		<!-- jQuery Datepicker Plugin -->
		<script type="text/javascript" src="images/scripts/jquery.datePicker.js"></script>
		<script type="text/javascript" src="images/scripts/jquery.date.js"></script>
		<!--[if IE]><script type="text/javascript" src="images/scripts/jquery.bgiframe.js"></script><![endif]-->

		
		<!-- Internet Explorer .png-fix -->
		
		<!--[if IE 6]>
			<script type="text/javascript" src="images/scripts/DD_belatedPNG_0.0.7a.js"></script>
			<script type="text/javascript">
				DD_belatedPNG.fix('.png_bg, img, li');
			</script>
		<![endif]-->
		
	</head>
  
	<body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
		<!-- #include file="Menu.asp" -->
		 <!-- End #sidebar -->
		
		<div id="main-content"> <!-- Main Content Section with everything -->
			
			<noscript> <!-- Show a notification if the user has disabled javascript -->
				<div class="notification error png_bg">
					<div>
						亲爱的，你的浏览器不支持。请升级您的浏览器。</div>
				</div>
</noscript>
			
			<!-- Page Head -->
			<h2><%=u_name%>，欢迎您！</h2>
			<p id="page-intro">你的身份为：<b><%=u_sfxs%></b> ,你想做点什么呢？</p>
			
			<ul class="shortcut-buttons-set">
				
			<li><a class="shortcut-button" href="NewArticle.asp"><span>
					<img src="images/images/icons/pencil_48.png" alt="icon" /><br />
					写文章
				</span></a></li>
				<%if u_class=0 then%> 
				<li><a class="shortcut-button" href="CommentList.asp"><span>
					<img src="images/images/icons/paper_content_pencil_48.png" alt="icon" /><br />
					查看评论</span></a></li>
				
				<li><a class="shortcut-button" href="NewImages.asp"><span>
					<img src="images/images/icons/image_add_48.png" alt="icon" /><br />
					上传照片</span></a></li>
				
				<li><a class="shortcut-button" href="UserList.asp"><span>
					<img src="images/images/icons/clock_48.png" alt="icon" /><br />
					用户管理
				</span></a></li>
				
				<li><a class="shortcut-button" href="MessageList.asp" ><span>
					<img src="images/images/icons/comment_48.png" alt="icon" /><br />
					查看留言
				</span></a></li>
				<%end if%>
			</ul><!-- End .shortcut-buttons-set -->
			
			<div class="clear"></div> <!-- End .clear -->
			
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>系统信息</h3>
					
					<ul class="content-box-tabs">
						<li></li> <!-- href must be unique and match the id of target div -->
					</ul>
					
					<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 -->
						
						<div class="notification attention png_bg">
							<a href="#" class="close"><img src="images/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
							<div>
								感谢使用熊海博客管理系统，当前版本 Version 1.4.1 全功能版</div>
						</div>


<%
set rs=server.createobject("adodb.recordset")
sql="select w_id from web_Article "
rs.open(sql),conn,1,1
shuliang=rs.recordcount
rs.close
set rs=nothing
%>
<% 
set rs=server.createobject("adodb.recordset")
sql="select u_aid from web_Article_comment where u_aid=0"
rs.open(sql),conn,1,1
liuyan=rs.recordcount
%>	
<% 
set rs=server.createobject("adodb.recordset")
sql="select u_aid from web_Article_comment where u_aid<>0"
rs.open(sql),conn,1,1
pinlun=rs.recordcount
%>	
<% 
set rs=server.createobject("adodb.recordset")
sql="select u_aid,u_view from web_Article_comment where u_aid=0 and u_view<>1"
rs.open(sql),conn,1,1
shenhe=rs.recordcount
if shenhe<>0 then
shxh="<font color='#FF0000'>"&shenhe&"</font> 条留言未审核"
end if
%>	

<% 
set rs=server.createobject("adodb.recordset")
sql="select u_aid,u_view from web_Article_comment where u_aid<>0 and u_view<>1"
rs.open(sql),conn,1,1
plsl=rs.recordcount
if plsl<>0 then
plxh="<font color='#FF0000'>"&plsl&"</font> 条评论未审核"
end if
%>

<% 
set rs=server.createobject("adodb.recordset")
sql="select su_view from web_shuoshuo_comment where su_view<>1"
rs.open(sql),conn,1,1
sssl=rs.recordcount
if sssl<>0 then
ssxh="<font color='#FF0000'>"&sssl&"</font> 条说说评论未审核"
end if
%>
<p>当前共有文章：<font color="#FF0000"><%=shuliang%></font> 篇 评论：<font color="#FF0000"><%=pinlun%></font> 条 留言：<font color="#FF0000"><%=liuyan%></font> 条 </p>
<%if ( shenhe<>0 or plsl<>0 or sssl<>0 ) and u_class=0 then%>
<p>系统消息：亲爱的<%=u_name%> &nbsp; 您有 <%=shxh%> &nbsp; <%=plxh%>&nbsp;<%=ssxh%> </p>
<%end if%>
<p>组件状态：ASPJPEG：
<%
     on error resume next
     set jpeg1=server.createobject("persits.jpeg")
     if err.number<>0 then
      Response.write "<font color='#FF0000'>× 不支持</font>"
     else
      Response.write "<font color='#339900'>√ 支 持</font>"
     End if
%>  
  JMAIL：
<%
On Error Resume Next
 Dim JMail
 Set JMail=Server.CreateObject("JMail.Message")
 If JMail Is Nothing  Then 
 Response.Write "<font color='#FF0000'>× 不支持</font>"
Else
 Response.Write "<font color='#339900'>√ 支 持</font>"
End If 
%>
</p>		  
                  
                  </div> 
					<!-- End #tab1 -->
					
					<div class="tab-content" id="tab2"></div> <!-- End #tab2 -->        
					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->
			
			<div class="content-box column-left">
				
				<div class="content-box-header">
					
					<h3>系统消息</h3>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div class="tab-content default-tab">
<!-- 接收程序更新，请保留。 -->
<iframe style="top:2px" id="UploadFiles" src="http://www.isea.so/soft/new.php" frameborder="0" scrolling="No" width="100%" height="200" name="I1" marginwidth="1" marginheight="0"></iframe>
						</p>
						
					</div> <!-- End #tab3 -->        
					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->
			
			<div class="content-box column-right ">
				
				<div class="content-box-header"> <!-- Add the class "closed" to the Content box header to have it closed by default -->
					
					<h3>程序信息</h3>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div class="tab-content default-tab">
					
						<h4>
						  <iframe style="top:2px" id="UploadFiles2" src="http://www.isea.so/soft/Version.php" frameborder="0" scrolling="No" width="100%" height="200" name="I1" marginwidth="1" marginheight="0"></iframe>
						</h4>
					</div> <!-- End #tab3 -->        
					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->
			<div class="clear"></div>
			
			
			<!-- Start Notifications --><!-- End Notifications -->
			
<div id="footer">
				<small> <!-- Remove this notice or replace it with whatever you want -->
						<%=Copyright%>
				</small>
			</div><!-- End #footer -->
			
		</div> <!-- End #main-content -->
		
	</div></body>
  

</html>
<!-- #include file="../inc/close.asp" -->