📄 add_new.jsp
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.bwm.model.Affiche" %>
<%@ page import="com.bwm.model.User" %>
<%@ page import="com.bwm.core.*" %>
<%@ page import="java.util.*" %>
<%if (!Crazyadept.UserIsOK(session,FinalConstants.STATUS_ADMIN)) return;%>
<html>
<head>
<title>add_new</title>
</head>
<link href="../css/admin.css" rel="stylesheet" type="text/css">
<script src="../js/validate.js"></script>
<body>
<table border="1" align="center" cellpadding="0" cellspacing="0" class="tableBorder3">
<tr align="center">
<td colspan="2" class="TableTitle1" >添加新闻</td>
</tr>
<form name="form2" method="post" action="modify_new.jsp">
<tr align="center">
<td width="40%">新闻标题</td>
<td width="60%" align="left"> <input type="text" name="title"> </td>
</tr>
<tr align="center">
<td height="27">新闻内容</td>
<td align="left"> <textarea name="content" cols="50" rows="8"></textarea> </td>
</tr>
<tr align="center">
<td height="14">摘自</td>
<td height="14" align="left"><input type="text" name="fromto" value="无"></td>
</tr>
<tr align="center">
<td height="13" colspan="2"> <input type="hidden" name="action" value="add">
<input type="hidden" name="uid" value="<%=(((User)session.getAttribute("user")).getUid())%>">
<input type="submit" name="Submit" value="提交" onClick="return news()">
<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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -