【JSP开源代码栏目提醒】:本文主要为网学会员提供add_new.jsp,希望对需要add_new.jsp网友有所帮助,学习一下!
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.model.User" %>
<%@ page import="com.core.*" %>
<%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 width="98%" border="0" align="center" cellpadding="0" cellspacing="1" class="tableNew">
<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%" bgcolor="#FFFFFF">新闻标题</td>
<td width="60%" align="left" bgcolor="#FFFFFF"> <input type="text" name="title"> </td>
</tr>
<tr align="center">
<td height="27" bgcolor="#FFFFFF">新闻内容</td>
<td align="left" bgcolor="#FFFFFF"> <textarea name="content" cols="50" rows="8"></textarea> </td>
</tr>
<tr align="center">
<td height="14" bgcolor="#FFFFFF">摘自</td>
<td height="14" align="left" bgcolor="#FFFFFF"><input type="text" name="fromto" value="无"></td>
</tr>
<tr align="center">
<td height="13" colspan="2" bgcolor="#FFFFFF"> <input type="hidden" name="action" value="add">
<input type="hidden" name="uid" value="<%=(((User)session.getAttribute("user")).getUid())%>">
<input name="Submit" type="submit" class="btn_grey" onClick="return news()" value="提交">
<input name="Submit2" type="reset" class="btn_grey" 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>
上一篇:
add_mend.jsp
下一篇:
她要是喜欢我