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

📄 alarm1info.jsp

📁 这是一个法律事务所系统源码
💻 JSP
字号:
<%--
模块名称:个人助理
模块功能:提醒显示
版    本:V1.0
著 作 人:蔡静
著作日期:2001-11-13
使用说明:
主要技术说明:
参考文献:法律事务设计书
修改历史:= = = = = = = = = = = = = = = = = = = = = = = = = =
	修改日期:
	修 改 人:
	修改理由:
	修改出处:
	= = = = = = = = = = = = = = = = = = = = = = = = = =

--%>
<%@ page contentType= "text/html; charset=gb2312" %>
<%@ page language="java" import="java.sql.*" %>
<jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
<%
  String alert_id = request.getParameter("alert_id");
  String alert_title, alert_thing, alert_fromtime, alert_totime;
  String sql = "select alert_title, alert_thing, alert_fromtime, alert_totime";
  sql = sql + " from t_alert where alert_id = '" + alert_id + "'";
  ResultSet rs = db.executeQuery(sql);
  if (rs.next()) {
    alert_title = rs.getString("alert_title");
    alert_thing = rs.getString("alert_thing");
    alert_fromtime = rs.getString("alert_fromtime");
    alert_totime = rs.getString("alert_totime");
%>
<html>
<head>
<title>提醒显示</title>
<%@ include file="../inc/config.jsp" %>
</head>

<body class=page>
<!--显示工具条-->
<table width="98%" align="center" cellspacing="1">
  <tr>
    <td><a href="Alarm1.jsp"><img src="../images/alarm.gif" width="88" height="22" border="0"></a>
    <a href="Alarm1all.jsp"><img src="../images/alarm_all.gif" height="22" border="0" width="88"></a>
    <a href="AlarmAdd.jsp"><img src="../images/add.gif" alt="增加内容" width="79" height="22" border="0"></a>
    <img src="../images/delete.gif" alt="删除选中的内容" style="cursor:hand" width="79" height="22">
    <a href="Alarmall.jsp"><img src="../images/alarm_2.gif" width="88" height="22" border="0"></a></td>
    <td align="right"><img src="../images/back.gif" width="50" height="22" onClick="window.history.back()" style="cursor:hand" alt="返回"></td>
  </tr>
</table>
<table width="98%" background="../images/line.gif" border="0" cellspacing="0" cellpadding="0" height="12" align="center">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<!--显示工具条结束-->
<table width="98%" border="0" cellspacing="1" cellpadding="5" class="table_bg" align="center">
  <tr>
    <td width="21%" class="title_bg" align="right"> 提醒标题:</td>
    <td width="79%" class="tr_bg1"><%=alert_title%></td>
  </tr>
  <tr>
    <td width="21%" class="title_bg" height="4" align="right"> 提醒开始时间:</td>
    <td width="79%" class="tr_bg1" height="-2"><%=alert_fromtime.substring(0,19)%></td>
  </tr>
  <tr>
    <td width="21%" class="title_bg" height="4" align="right"> 提醒结束时间:</td>
    <td width="79%" class="tr_bg1" height="0"><%=alert_totime.substring(0,19)%></td>
  </tr>
  <tr>
    <td width="21%" class="title_bg" height="9" align="right">被提醒人:</td>
    <td width="79%" class="tr_bg1" height="9">
    <%
      String sql1 = "select a.alerted_person, b.employee_name from t_alerted a,";
      sql1 = sql1 + "t_employee b where a.alerted_person = b.employee_id";
      sql1 = sql1 + " and a.alert_id = '" + alert_id + "'";
      String employee_name, alerteds = null;
      ResultSet rs1 = db.executeQuery(sql1);
      while (rs1.next()) {
        employee_name = rs1.getString("employee_name");
        if (alerteds == null)
          alerteds = employee_name;
        else
          alerteds = alerteds + "," + employee_name;
      }
      out.print(alerteds);
    %>
    </td>
  </tr>
  <tr>
    <td width="21%" class="title_bg"  align="right"> 提醒内容:</td>
    <td class="tr_bg1"><textarea name="alert_thing" cols="75" class="input" rows="10" readOnly><%=alert_thing%></textarea></td>
  </tr>
</table>
<div align="center"><br>
</div>
</body>
</html>
<%}%>

⌨️ 快捷键说明

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