⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showmsg.jsp

📁 网络版办公管理系统,采用最新技术java开发,对学习java语语的朋友可以借鉴
💻 JSP
字号:
<%@ page contentType="text/html;charset=gb2312" %><%@ include file="check.jsp" %>
<%@ page import="java.util.Date" %>
<html><head>
<meta content="text/html; charset=gb2312" http-equiv=Content-Type>
<style type="text/css">
a:link {  text-decoration: none; color: #1C5F82}
a:visited {  text-decoration: none; color: #1C5F82}
a:hover {  text-decoration: underline;color: #CC5533}
.tdc {  font-family: "宋体"; font-size: 9pt; color: #333333}
.tdc1 {  font-family: "宋体"; font-size: 9pt; color: #ffffff}
.bdtj{background: #6699CC; border: 1px solid; border-color:#6699CC; color: FFFFFF; font-size: 9pt; height: 18px}
BODY {
SCROLLBAR-HIGHLIGHT-COLOR: #f7f7f7;
        SCROLLBAR-SHADOW-COLOR: #f7f7f7;
        SCROLLBAR-ARROW-COLOR: #EFF1F3;
        SCROLLBAR-TRACK-COLOR: #EFF1F3;
        SCROLLBAR-BASE-COLOR: #f7f7f7
}
</style>
</head>
<body leftMargin=0 topMargin=0 marginheight=0 marginwidth=0>
<br><br>
<%
	String sql="select * from allmail where status= 0 and isread=0 and ID="+session.getAttribute("Uid"); 
	sqlbean.executeQuery(sql); 
	int totalrows = sqlbean.getTotalNum();

%>	
   <div align=center>
      <center>
    <table border=1 cellpadding=4 style='BORDER-COLLAPSE: collapse' bordercolor=#0092f2 width=300 id="AutoNumber1">
    <tr>
      <td width='100%' colspan=2 align=middle background="images/b1.gif" height=22 class=tdc1>查看收件箱:</td>
    </tr>
    <tr>
      <td width='28%' align=middle height=22 bgcolor=#eff1f3 class=tdc>收件箱:</td>
      <td width='75%' align=middle height=22 bgcolor=#eff1f3 class=tdc><%=totalrows%></td>
    </tr>
  </table>
      </center>
  </div>	
 <% 
	
	Date nowtime= new Date();
	String sj = nowtime.toLocaleString();
	sql ="SELECT * FROM calendar where userid="+session.getAttribute("Uid")+" and state='0' and remindtime<'"+sj+"'";
	sqlbean.executeQuery(sql);
	totalrows = sqlbean.getTotalNum();
	sqlbean.close();
%>	
   <div align=center>
      <center>
    <table border=1 cellpadding=4 style='BORDER-COLLAPSE: collapse' bordercolor=#0092f2 width=300 id="AutoNumber1">
    <tr>
      <td width='80%' colspan=2 align=middle background="images/b1.gif" height=22 class=tdc1>查看日程:</td>
    </tr>
    <tr>
      <td width='28%' align=middle height=22 bgcolor=#eff1f3 class=tdc>日程提示:</td>
      <td width='75%' align=middle height=22 bgcolor=#eff1f3 class=tdc><%=totalrows%></td>
    </tr>
  </table>
      </center>
  </div>	
 <% 	

	if(application.getAttribute("MeetingBegin")!= null && application.getAttribute("MeetingBegin")!=""){
%>	
   <div align=center>
      <center>
    <table border=1 cellpadding=4 style='BORDER-COLLAPSE: collapse' bordercolor=#0092f2 width=300 id="AutoNumber1">
    <tr>
      <td width='80%' colspan=2 align=middle background="images/b1.gif" height=22 class=tdc1>查看会议:</td>
    </tr>
    <tr>
      <td width='28%' align=middle height=22 bgcolor=#eff1f3 class=tdc>会议状态:</td>
      <td width='75%' align=middle height=22 bgcolor=#eff1f3 class=tdc><%=totalrows%></td>
    </tr>
  </table>
      </center>
  </div>	
<%  } %>
<p align=center>
<a href="Javascript:window.close();" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','images/close_2.gif',1)">
<img name="Image3" border="0" src="images/close_1.gif" width="85" height="19" hspace="5"></a> 
</p>
</body>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -