forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinfo_affiche.jsp
More file actions
42 lines (42 loc) · 1.74 KB
/
info_affiche.jsp
File metadata and controls
42 lines (42 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.model.Affiche" %>
<%@ page import="com.core.*" %>
<%@ page import="java.util.*" %>
<%if (!Crazyadept.UserIsOK(session,FinalConstants.STATUS_ADMIN)) return;%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>info_affiche</title>
</head>
<link href="../css/admin.css" rel="stylesheet" type="text/css">
<body>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" class="tableNew">
<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%" bgcolor="#FFFFFF">公告标题</td>
<td width="60%" align="left" bgcolor="#FFFFFF"> <%=a.getTitle()%> </td>
</tr>
<tr align="center">
<td height="100" bgcolor="#FFFFFF">公告内容</td>
<td align="left" valign="top" bgcolor="#FFFFFF"> <%=a.getContent()%> </td>
</tr>
<tr align="center">
<td height="7" bgcolor="#FFFFFF">发布人</td>
<td height="7" align="left" bgcolor="#FFFFFF"> <%=bf.SearchUser("WHERE uid='"+a.getUid()+"'").getName()%></td>
</tr>
<tr align="center">
<td height="7" bgcolor="#FFFFFF">发布时间</td>
<td height="7" align="left" bgcolor="#FFFFFF"> <%=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>