?? finaler.jsp
字號:
<HEAD>
<%@ page contentType="text/html;charset=gb2312" %>
<%@ include file="top.jsp"%>
<TABLE cellSpacing=0 cellPadding=0 width=778 border=0>
<TBODY>
<TR>
<TD vAlign=top align=middle width=150 background=images/leftmanu_bg.gif>
<%@ include file="left.jsp"%>
</TD>
<TD style="BACKGROUND-POSITION: right 50%; BACKGROUND-IMAGE: url(images/bg1.gif); BACKGROUND-REPEAT: repeat-y; BACKGROUND-COLOR: #ffffff" vAlign=top align=middle width=628>
<TABLE cellSpacing=0 cellPadding=0 width=628 border=0>
<TBODY>
<TR>
<TD class=s vAlign=top align=right width=459
background=images/leftmanu_top1.gif height=30><FONT
color=#ffffff></FONT></TD>
<TD class=s vAlign=top width=141
background=images/top_nav_bg2.gif><FONT
color=#ffffff></FONT> </TD>
<TD width=28><IMG height=30 src="images/top_nav_5.gif"
width=28></TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=0 cellPadding=0 width=570 border=0>
<TBODY>
<TR>
<TD
style="BACKGROUND-POSITION: left top; BACKGROUND-REPEAT: no-repeat"
align=right background=images/mi1.gif
height=154>
<TABLE cellSpacing=0 cellPadding=2 border=0>
<TBODY>
<TR>
<TD class=C vAlign=top align=left><font color=browse>超級管理員</font>:<STRONG><%=(String) session.getAttribute("finalername")%></STRONG>
先生,您好! </TD></TR>
</TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=478 border=0>
<TBODY>
<TR>
<TD colSpan=3><IMG height=13 src="images/tj_1.gif"
width=478></TD></TR>
<TR>
<TD width=2 bgColor=#ffc75c><IMG height=1
src="images/shim.gif" width=2></TD>
<TD align=middle width=474 bgColor=#ffffd6>
<TABLE cellSpacing=0 cellPadding=0 width="92%" border=0>
<TBODY>
<TR>
<TD
class="C lh13"><STRONG>我是您的小幫手!</STRONG>
<script language="JavaScript">
<!--
var mess1="";
day = new Date( )
hr = day.getHours( )
if (( hr >= 0 ) && (hr <= 4 ))
mess1="深夜了,您別累壞身體了哦!"
if (( hr >= 4 ) && (hr < 7))
mess1="清晨好,您這麼早就工作了呀?! "
if (( hr >= 7 ) && (hr < 12))
mess1="早上好,祝您今天有個好心情!"
if (( hr >= 12) && (hr <= 13))
mess1="該放下鼠標吃午飯了吧?"
if (( hr >= 13) && (hr <= 17))
mess1="現在外面天氣還好吧?您困不困呀? "
if (( hr >= 17) && (hr <= 18))
mess1="太陽落山了!準備下班了嗎?"
if ((hr >= 18) && (hr <= 20))
mess1="您吃過晚飯了嗎?"
if ((hr >= 20) && (hr <= 23))
mess1="晚上了!今天收獲不少吧!?"
document.write(mess1)
//--->
</script>
</TD>
<TR><td>
<br><br></td></tr>
<%
int i=0 ;
rs=stmt.executeQuery("SELECT count(*) from finalermsg where flag=0 order by id desc");
while(rs.next()) i = rs.getInt(1) ;
%>
<TR>
<TD colSpan=8 class=C align=left>
你有<font color=red><%=i%></font>條未讀留言</TD></TR>
<TR><td>
<br><br></td></tr>
<TR>
<TD colSpan=8 class=C align=left>今日注冊<font color=red><iframe frameborder=0 leftmargin=0 marginheight=0 marginwidth=0 scrolling=no src=todaytotal.jsp topmargin=0 width=50 height=13></iframe></font>人 今日商機<font color=red><iframe frameborder=0 leftmargin=0 marginheight=0 marginwidth=0 scrolling=no src=todaysjtotal.jsp topmargin=0 width=50 height=13></iframe></font>條 今日申請加盟<font color=red><iframe frameborder=0 leftmargin=0 marginheight=0 marginwidth=0 scrolling=no src=todaydltotal.jsp topmargin=0 width=50 height=13></iframe></font>家
</TD></TR>
<TR><td>
<br><br></td></tr>
<TR>
<TD colSpan=8 class=C align=left>目前共有注冊會員<font color=red><iframe frameborder=0 leftmargin=0 marginheight=0 marginwidth=0 scrolling=no src=memtotal.jsp topmargin=0 width=50 height=13></iframe></font>人 商機<font color=red><iframe frameborder=0 leftmargin=0 marginheight=0 marginwidth=0 scrolling=no src=sjtotal.jsp topmargin=0 width=50 height=13></iframe></font>條 目前總加盟<font color=red><iframe frameborder=0 leftmargin=0 marginheight=0 marginwidth=0 scrolling=no src=dltotal.jsp topmargin=0 width=50 height=13></iframe></font>家
</TD></TR>
</TR></TBODY></TABLE></TD>
<TD width=2 bgColor=#ffc75c><IMG height=1
src="images/shim.gif" width=2></TD></TR>
<TR>
<TD colSpan=3><IMG height=13 src="images/tj_2.gif"
width=478></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=0 cellPadding=0 width=570 border=0>
<TBODY>
<TR>
<TD background=images/bodybg.gif colSpan=3 height=22>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width="3%"><IMG height=22
src="images/bodyleft.gif" width=10></TD>
<TD class=index_title width="64%">最新留言 <IMG height=4
src="images/point2.gif" width=7 align=absMiddle></TD>
<TD align=right width="33%"><IMG height=22
src="images/bodyright.gif"
width=10></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD width=1 bgColor=#8abaff><IMG height=1
src="images/shim.gif" width=1></TD>
<TD align=middle width=568><BR>
<TABLE cellSpacing=2 cellPadding=2 width="94%" border=0>
<TBODY>
<TR>
<TD class=C align=middle colSpan=2>
<table width="521" border="0" cellpadding="3" cellspacing="1" bgcolor="A8A8A9">
<tr bgcolor="EAECED" class="zl">
<td width="191"><div align="center"><strong><font color="#333333">留言內容</font></strong></div></td>
<td width="70" bgcolor="EAECED">
<div align="center"><strong><font color="#333333">留言人</font></strong></div></td>
<td width="70" bgcolor="EAECED">
<div align="center"><strong><font color="#333333">接收時間</font></strong></div></td>
<td width="50" bgcolor="EAECED"><div align="center"><strong><font color="#333333">狀態</font></strong></div></td>
<td width="51" bgcolor="EAECED"><div align="center"><strong><font color="#333333">回復</font></strong></div></td>
<td width="51" bgcolor="EAECED"><div align="center"><strong><font color="#333333">操作</font></strong></div></td>
</tr>
<%
String userid=(String) session.getAttribute("userid");
stmt = con.createStatement() ;
rs=stmt.executeQuery("SELECT * from finalermsg where flag=0 order by id desc");
while(rs.next()&i<20){
i++ ;
%>
<tr bgcolor="#FFFFFF">
<td class="zl">
<div align="center">
<%=rs.getString("content")%>
</div></td>
<td class="zl">
<div align="center"><font color="#333333"><%=rs.getString("sendmem")%></font></div></td>
<td class="zl">
<div align="center"><font color="#333333"><%=rs.getString("sendtime")%></font></div></td>
<td class="zl"><div align="center"><%if(Integer.parseInt((String)rs.getString("flag"))==0){%><a href=flag.jsp?id=<%=rs.getString("id")%>><font color=red>未讀</font></a><%}else{%><font color=cccccc>已讀</font><%}%></div></td>
<td class="zl">
<div align="center"><a href="replymsg.jsp?recemem=<%=rs.getString("sendmem")%>" class="zllink"><font color="#333333">回復</font></a></div></td>
<td class="zl">
<div align="center"><a href="delmsg.jsp?id=<%=rs.getString("id")%>" class="zllink"><font color="#333333">刪除</font></a></div></td>
</tr>
<%
}
%>
<tr bgcolor="#FFFFFF">
<td height="30" colspan="7" bgcolor="#FFFFFF" class="zl">
<div align="center">
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="39"><div align="right">
</div></td>
</tr>
</table>
</div></td>
</tr>
</td>
</tr>
</table>
</TD></TR></TBODY></TABLE>
<BR></TD>
<TD width=1 bgColor=#8abaff><IMG height=1
src="images/shim.gif" width=1></TD></TR>
<TR bgColor=#8abaff>
<TD colSpan=3 height=1><IMG height=1 src="images/shim.gif"
width=1></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><IMG
height=10 src="images/bottom.gif" width=778><BR>
<%@ include file="end.jsp"%>
</BODY></HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -