?? epapermakeinput.jsp
字號:
<%@ page contentType="text/html;charset=gb2312"%>
<%@ include file="/agt/public/jsp/top.jsp" %>
<!-- title>業務代表管理系統生成試卷錄入頁面</title -->
<br>
<form name="epaperform" method="POST" action="/ExamPaperMan.do">
<table width="539" border="0" cellpadding="3" cellspacing="1" class="table-cs1">
<input type="hidden" name="opeType" value="<%=OperatorFlagCode.EPAPER_MAKE%>">
<tr>
<td width="110" align="center" class="td-cs1">試卷名稱*</td>
<td width="80%" class="td-cs2"> <input name="title" type="text" class="input2" size="40" maxlength="50"></td>
</tr>
<tr>
<td width="110" align="center" class="td-cs1">所屬類別*</td>
<td class="td-cs2">
<table width="89%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="67%"><input name="className" type="text" class="input2" size="40" readonly></td>
<td width="33%"><a href="javascript:;" onClick="javascript:openClassWindow('/ClsMngOperatorAction.do?operatorFlag=<%=OperatorFlagCode.CLSMNG_CHOOSE%>&select=03','選擇類別');return false;" onMouseOver="MM_swapImage('view','','/agt/public/images/choise_2.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="/agt/public/images/choise.gif" name="view" width="48" height="25" border="0"></a>
<input type="hidden" name="classId"> </td>
</tr>
</table></td>
</tr>
<tr>
<td width="110" align="center" class="td-cs1">試題策略*</td>
<td class="td-cs2"> <select name="policyId" size="1" class="input2">
<% SysResultSet rs = (SysResultSet)request.getAttribute("EPAPER-GET-POLICY");
if(rs != null)
{ for(int i=0;rs.setRecord(i)&&i<rs.getMetaData().getRecordCount();i++)
{
%>
<option value="<%=rs.getString(0)%>"><%=rs.getString(1)%></option>
<% }
}
%>
</select> </td>
</tr>
<tr>
<td width="110" align="center" class="td-cs1">類型名稱*</td>
<td class="td-cs2"> <select name="paperType" class="input2">
<option value="0">考試題</option>
<option value="1">自測題</option>
<option value="2">考試題&自測題</option>
</select></td>
</tr>
</table>
<table width="539" height="30" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="35" align="center"> <table width="55%" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="28%">
<input name="submit" type="image" onclick="checkSubmit();return false;" src="/agt/public/images/submit.gif" width="82" height="22" border="0" onmouseover="this.src='/agt/public/images/'+ this.name + '_2.gif';" onmouseout="this.src='/agt/public/images/'+ this.name + '.gif'">
</td>
<td width="7%"> </td>
<td width="65%">
<input name="reset" type="image" onclick="epaperform.reset();return false;" src="/agt/public/images/reset.gif" width="82" height="22" border="0" onmouseover="this.src='/agt/public/images/'+ this.name + '_2.gif';" onmouseout="this.src='/agt/public/images/'+ this.name + '.gif'"></td>
</tr>
</table></td>
</tr>
</table>
</form>
<script src="/agt/public/js/scriptfuns.js" type="text/javascript"></script>
<script src="/agt/public/js/my_functions.js" type="text/javascript"></script>
<script language="javascript">
//進行提交檢查與提交表單
function checkSubmit()
{
var titleObj = document.epaperform.title;
var classId = document.epaperform.classId;
if(titleObj == null || titleObj.value == "")
{
alert("試卷名稱不能為空,請輸入!");
titleObj.focus();
return false;
}
if(classId == null || classId.value == "")
{
alert("所屬類別不能為空,請選擇!");
return false;
}
document.epaperform.submit();
}
</script>
<%@ include file="/agt/public/jsp/bot.jsp" %>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -