<%@ page contentType="text/html;charset=gb2312" %>
<%@ include file="include/config.jsp"%>
<%@ include file="include/connect.jsp"%><%@ page import="java.text.SimpleDateFormat"%>
<%@ page import="java.text.DateFormat"%>
<%@ page import="java.util.Date"%>
<%@ page import="java.util.Calendar"%><jsp:useBean id="online" class="tools.StatBean" scope="session"/><%!
ResultSet rs=null; //返回记录集对象
ResultSet rs2=null; //返回记录集对象
int iTmp=0; //临时变量
String sql="";
%>
<%
//取服务器的当前时间,格式为 "2002年12月26日 星期四"//取周数
Calendar cal= Calendar.getInstance();
cal.setTime(new Date());int zs=cal.get(Calendar.DAY_OF_WEEK)-1;
String week="";
DateFormat df=new SimpleDateFormat("yyyy年MM月dd日 星期");
String serverTime=df.format(new Date());switch(zs) {
case 1 :
week="一";
break;
case 2 :
week="二";
break;
case 3 :
week="三";
break;
case 4 :
week="四";
break;
case 5 :
week="五";
break;
case 6 :
week="六";
break;
case 7 :
week="日";
break;
}serverTime=serverTime+week;
%><html>
<head>
<title>欢迎光临沈阳热电厂信息港!</title>
<meta http-equiv="Content-Type" content="text/html;"><link rel="stylesheet" href="Syrd.css" type="text/css">
</head>
<body bgcolor="#ffffff">
<table width="777" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="777" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="269">
<div align="center"><font color="#006699"><img src="images/dot1_b3.gif" width="6" height="6"></font>
<font color="#000000"><%=serverTime%></font></div>
</td>
<td width="17"><img name="top_r2_c3" src="images/top_r2_c3.jpg" width="17" height="18" border="0" alt=""></td>
<td background="images/top_r2_c4.jpg" width="49">首页</td>
<td width="3"><img name="top_r2_c6" src="images/top_r2_c6.jpg" width="3" height="18" border="0" alt=""></td>
<td bgcolor="#999999" width=354><marquee>!</marquee></td>
<td width="11" bgcolor="#999999"><img name="top_r3_c9" src="images/top_r3_c9.jpg" width="11" height="11" border="0" alt=""></td>
<td width="75" bgcolor="#999999"><font color="#FFFFFF"><a href="http://192.168.0.80/admin/page.html" target="_blank">管理员通道</a></font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="777" border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="3" width="166"><img name="top_r5_c1" src="images/top_r5_c1.jpg" width="166" height="71" border="0" alt=""></td>
<td colspan="2"><img name="top_r5_c2" src="images/top_r5_c2.jpg" width="611" height="10" border="0" alt=""></td>
</tr>
<tr>
<td><img src="images/logo.gif" width="443" height="56"></td>
<td rowspan="2" width="168" bgcolor="#00CCFF" background="images/top_r7_c2.jpg" valign="bottom">
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="center"><font color="#006699"><img src="images/dot1_b3.gif" width="6" height="6"></font></td>
<td><font color="#006699">网站在线人数:<%=online.getLink()%>人</font></td>
</tr>
<tr>
<td align="center"><font color="#006699"><img src="images/dot1_b3.gif" width="6" height="6"></font></td>
<td><font color="#006699">网站访问人数:<%=online.getLife()%>11人</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><img name="top_r7_c2" src="images/top_r7_c2.jpg" width="443" height="5" border="0" alt=""></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="777" border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2" width="166" valign="top"><img name="top_r8_c1" src="images/top_r8_c1.jpg" width="166" height="41" border="0" alt=""></td>
<td height="37" bgcolor="#006699">
<table width="600" border="0" cellspacing="0" cellpadding="1">
<tr valign="bottom">
<td height="0" valign="bottom"> <div align="right"><font color="#ffffff"><a href="#"><font color="#ffffff">首
页</font></a></font>|</div></td>
<td height="0"> <div align="center"><font color="#ffffff">|</font><a href="gsjj/rd.html" target="_blank" ><font color="white" onmouseover="style.color='yellow';" onmouseout="style.color='white';">公司简介</font></a><font color="#ffffff">|</font></div></td>
<td height="0"> <div align="center"><font color="#ffffff">|</font><a href="zxtz/index.html" target="_blank" ><font color="white" onmouseover="style.color='yellow';" onmouseout="style.color='white';">最新通知</font></a><font color="#ffffff">|</font></div></td>
<td height="0"> <div align="center"><font color="#ffffff">|</f
<%@ include file="include/config.jsp"%>
<%@ include file="include/connect.jsp"%><%@ page import="java.text.SimpleDateFormat"%>
<%@ page import="java.text.DateFormat"%>
<%@ page import="java.util.Date"%>
<%@ page import="java.util.Calendar"%><jsp:useBean id="online" class="tools.StatBean" scope="session"/><%!
ResultSet rs=null; //返回记录集对象
ResultSet rs2=null; //返回记录集对象
int iTmp=0; //临时变量
String sql="";
%>
<%
//取服务器的当前时间,格式为 "2002年12月26日 星期四"//取周数
Calendar cal= Calendar.getInstance();
cal.setTime(new Date());int zs=cal.get(Calendar.DAY_OF_WEEK)-1;
String week="";
DateFormat df=new SimpleDateFormat("yyyy年MM月dd日 星期");
String serverTime=df.format(new Date());switch(zs) {
case 1 :
week="一";
break;
case 2 :
week="二";
break;
case 3 :
week="三";
break;
case 4 :
week="四";
break;
case 5 :
week="五";
break;
case 6 :
week="六";
break;
case 7 :
week="日";
break;
}serverTime=serverTime+week;
%><html>
<head>
<title>欢迎光临沈阳热电厂信息港!</title>
<meta http-equiv="Content-Type" content="text/html;"><link rel="stylesheet" href="Syrd.css" type="text/css">
</head>
<body bgcolor="#ffffff">
<table width="777" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="777" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="269">
<div align="center"><font color="#006699"><img src="images/dot1_b3.gif" width="6" height="6"></font>
<font color="#000000"><%=serverTime%></font></div>
</td>
<td width="17"><img name="top_r2_c3" src="images/top_r2_c3.jpg" width="17" height="18" border="0" alt=""></td>
<td background="images/top_r2_c4.jpg" width="49">首页</td>
<td width="3"><img name="top_r2_c6" src="images/top_r2_c6.jpg" width="3" height="18" border="0" alt=""></td>
<td bgcolor="#999999" width=354><marquee>!</marquee></td>
<td width="11" bgcolor="#999999"><img name="top_r3_c9" src="images/top_r3_c9.jpg" width="11" height="11" border="0" alt=""></td>
<td width="75" bgcolor="#999999"><font color="#FFFFFF"><a href="http://192.168.0.80/admin/page.html" target="_blank">管理员通道</a></font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="777" border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="3" width="166"><img name="top_r5_c1" src="images/top_r5_c1.jpg" width="166" height="71" border="0" alt=""></td>
<td colspan="2"><img name="top_r5_c2" src="images/top_r5_c2.jpg" width="611" height="10" border="0" alt=""></td>
</tr>
<tr>
<td><img src="images/logo.gif" width="443" height="56"></td>
<td rowspan="2" width="168" bgcolor="#00CCFF" background="images/top_r7_c2.jpg" valign="bottom">
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="center"><font color="#006699"><img src="images/dot1_b3.gif" width="6" height="6"></font></td>
<td><font color="#006699">网站在线人数:<%=online.getLink()%>人</font></td>
</tr>
<tr>
<td align="center"><font color="#006699"><img src="images/dot1_b3.gif" width="6" height="6"></font></td>
<td><font color="#006699">网站访问人数:<%=online.getLife()%>11人</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><img name="top_r7_c2" src="images/top_r7_c2.jpg" width="443" height="5" border="0" alt=""></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="777" border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2" width="166" valign="top"><img name="top_r8_c1" src="images/top_r8_c1.jpg" width="166" height="41" border="0" alt=""></td>
<td height="37" bgcolor="#006699">
<table width="600" border="0" cellspacing="0" cellpadding="1">
<tr valign="bottom">
<td height="0" valign="bottom"> <div align="right"><font color="#ffffff"><a href="#"><font color="#ffffff">首
页</font></a></font>|</div></td>
<td height="0"> <div align="center"><font color="#ffffff">|</font><a href="gsjj/rd.html" target="_blank" ><font color="white" onmouseover="style.color='yellow';" onmouseout="style.color='white';">公司简介</font></a><font color="#ffffff">|</font></div></td>
<td height="0"> <div align="center"><font color="#ffffff">|</font><a href="zxtz/index.html" target="_blank" ><font color="white" onmouseover="style.color='yellow';" onmouseout="style.color='white';">最新通知</font></a><font color="#ffffff">|</font></div></td>
<td height="0"> <div align="center"><font color="#ffffff">|</f
还有在环境配置上会不会有问题?比如LINUX的配置???