forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd_question.jsp
More file actions
38 lines (38 loc) · 1.55 KB
/
add_question.jsp
File metadata and controls
38 lines (38 loc) · 1.55 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
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.core.*" %>
<%if (!Crazyadept.UserIsOK(session,FinalConstants.STATUS_ADMIN)) return;%>
<html>
<head>
<title>add_question</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_question.jsp">
<tr align="center">
<td width="24%" bgcolor="#FFFFFF">Ìí¼ÓÎÊÌâ</td>
<td width="76%" align="left" bgcolor="#FFFFFF"> <input name="question" type="text" size="70"> </td>
</tr>
<tr align="center">
<td height="27" bgcolor="#FFFFFF">Ìí¼Ó»Ø´ð</td>
<td align="left" bgcolor="#FFFFFF"> <textarea name="answer" cols="70" rows="7" class="textarea"></textarea></td>
</tr>
<tr align="center">
<td height="27" colspan="2" bgcolor="#FFFFFF"> <input type="hidden" name="action" value="add">
<input name="Submit" type="submit" class="btn_grey" onClick="return questions()" value="Ìá½»">
<input name="Submit2" type="reset" class="btn_grey" value="ÖØÖÃ"></td>
</tr>
</form>
</table>
<table width="98%" 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>