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

📄 info_affiche.jsp~20~

📁 一个完整的门户网站,基于JSP环境下开发的,使用SQL数据库.
💻 JSP~20~
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.bwm.model.Affiche" %>
<%@ page import="com.bwm.core.*" %>
<%@ page import="java.util.*" %>
<%if (!Crazyadept.UserIsOK(session,FinalConstants.STATUS_ADMIN)) return;%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>
info_affiche
</title>
</head>
<link href="../css/admin.css" rel="stylesheet" type="text/css">
<body>
<table border="1" align="center" cellpadding="0" cellspacing="0" class="tableBorder3">
  <tr align="center">
    <td colspan="2" class="TableTitle1" >公告详细信息</td>
  </tr>
 <%
BasetableFactory bf=BasetableFactory.getInstance();
String aid=ParamUtils.getRequestString(request,"aid");
Affiche a=bf.SearchAffiche("WHERE aid='"+aid+"'");
if(a!=null&&a.getAid()>0){
 %>
  <tr align="center">
    <td width="40%">公告标题</td>
    <td width="60%" align="left">&nbsp;<%=a.getTitle()%>    </td>
  </tr>
  <tr align="center">
    <td height="100">公告内容</td>
      <td align="left" valign="top">&nbsp;&nbsp;&nbsp;<%=a.getContent()%>    </td>
  </tr>
  <tr align="center">
    <td height="7">发布人</td>
    <td height="7" align="left">&nbsp;<%=bf.SearchUser("WHERE uid='"+a.getUid()+"'").getName()%></td>
  </tr>
  <tr align="center">
    <td height="7">发布时间</td>
    <td height="7" align="left">&nbsp;<%=a.getAtime()%></td>
  </tr>
</table>
<%}%>
<table width="80%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="50" colspan="5" align="right"><a href="#" onClick="Jscript:history.back()">返回</a></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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