update_ssort.jsp~7~
来自「一个完整的门户网站,基于JSP环境下开发的,使用SQL数据库.」· JSP~7~ 代码 · 共 51 行
JSP~7~
51 行
<%@ 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>
<title>
update_ssort
</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,"sid");
Ssort a=bf.SearchSsort("WHERE sid='"+aid+"'");
if(a!=null&&a.getSid()>0){
%>
<form name="form1" method="post" action="modify_affiche.jsp">
<tr align="center">
<td width="40%">公告标题</td>
<td width="60%" align="left"><input type="text" name="title" value="<%=a.getTitle()%>"></td>
</tr>
<tr align="center">
<td height="3">发布时间</td>
<td height="3" align="left"><%=a.getAtime()%></td>
</tr>
<tr align="center">
<td height="4" colspan="2">
<input type="hidden" name="action" value="modify">
<input type="hidden" name="aid" value="<%=a.getAid()%>">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置"></td>
</tr>
</form>
</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 + =
减小字号Ctrl + -
显示快捷键?