【JSP开源代码栏目提醒】:网学会员在JSP开源代码频道为大家收集整理了add_board_form.jsp提供大家参考,希望对大家有所帮助!
<%@ page contentType="text/html; charset=gb2312" language="java" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
String s_UserName = (String) session.getAttribute("UserName");
if(s_UserName == null)
{
s_UserName = "";
}
if(s_UserName.compareTo("WebMaster") != 0)
{
out.println("<p align=center>您没权进行该项操作!</p>");
out.println("<div align=\"center\"><input type=\"button\" name=\"btn1\" value=\"返回\" onClick=\"javascript:window.history.go(-1)\"></div>");
return;
}
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>欢迎光临风沙论坛</title>
</head>
<body bgcolor="#f8f5ff">
<div align="center">
<h2>风沙论坛——<font color="#0000FF">添加讨论区</font></h2>
<link rel=stylesheet type=text/css href="../lib/bbs.css">
<hr>
<form name="form1" method="post" action="add_board_save.jsp">
<table width="80%" border="0">
<tr>
<td width="50%" align="right" height="25">讨论区名称:</td>
<td width="50%" align="left" height="25"><input name="BoardName" type="text" size="25"></td>
</tr>
<tr>
<td width="50%" align="right" height="25">讨论区版主1:</td>
<td width="50%" align="left" height="25"><input name="BoardMaster1" type="text" size="20"></td>
</tr>
<tr>
<td width="50%" align="right" height="25">讨论区版主2:</td>
<td width="50%" align="left" height="25"><input name="BoardMaster2" type="text" size="20"></td>
</tr>
<tr>
<td width="50%" align="right" height="25">讨论区版主3:</td>
<td width="50%" align="left" height="25"><input name="BoardMaster3" type="text" size="20"></td>
</tr>
<tr>
<td width="100%" align="center" height="30" colspan="2"><input type="submit" name="sub" value="添加">
<input type="reset" name="res" value="重填">
</td>
</tr>
</table>
</form>
</div>
</body>
</html>
上一篇:
add_article_save.jsp
下一篇:
临床前药物安全性评价中毒性病理学新技术的应用