📄 addsubject.aspx
字号:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="AddSubject.aspx.vb" Inherits="Exam.addsubject" %>
<%@ Register TagPrefix="uc1" TagName="LeftMenu" Src="../inc/LeftMenu.ascx" %>
<%@ Register TagPrefix="uc1" TagName="MainMenu" Src="../inc/MainMenu.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>在线考试系统 -- 管理考试科目</title>
<LINK href="style/style.css" type="text/css" rel="stylesheet">
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="../style/css.css" type="text/css" rel="stylesheet">
</HEAD>
<body bottomMargin="0" background="../images/bj.gif" topMargin="0" MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<table height="840" cellSpacing="0" cellPadding="0" width="900" align="center" border="0">
<tr>
<td vAlign="top">
<table height="23" cellSpacing="0" cellPadding="0" width="900" border="0">
<tr>
<td><IMG height="23" src="../images/exam_01.jpg" width="900"></td>
</tr>
</table>
<table height="41" cellSpacing="0" cellPadding="0" width="900" border="0">
<tr>
<td width="282"><IMG height="41" src="../images/exam_02.jpg" width="282"></td>
<td width="618" background="../images/exam_03.jpg">
<!--主菜单-->
<uc1:MainMenu id="MainMenu1" runat="server"></uc1:MainMenu>
</td>
</tr>
</table>
<table height="672" cellSpacing="0" cellPadding="0" width="900" border="0">
<tr>
<td vAlign="top" width="282">
<table cellSpacing="0" cellPadding="0" width="282" border="0">
<tr>
<td><IMG height="144" src="../images/exam_04.jpg" width="282"></td>
</tr>
<tr>
<td vAlign="top" background="../images/exam_09.jpg" height="141">
<!--左侧菜单-->
<uc1:LeftMenu id="LeftMenu1" runat="server"></uc1:LeftMenu>
</td>
</tr>
<tr>
<td><IMG height="387" src="../images/exam_11.jpg" width="282"></td>
</tr>
</table>
</td>
<td width="14"><IMG height="672" src="../images/exam_05.jpg" width="14"></td>
<td vAlign="top" width="604" bgColor="#ffffff">
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td valign="top" align="center">
<!--提示信息-->
<%if session("StuName") <> nothing then%>
<font face="华文行楷" size="2">欢迎</font><font face="隶书" color="red" size="3"><%= session("stuname")%></font><font face="华文行楷" size="2">用户进入飞翔图书网在线考试系统,请您遵守考场规则,注意把握时间。</font>
<%elseif Session("AdminName")<> nothing then%>
<font face="华文行楷" size="2">欢迎管理员</font><font face="隶书" color="red" size="3"><%= session("AdminName")%></font><font face="华文行楷" size="2">进入飞翔图书网在线考试系统。
</font>
<%=now.TOstring("yyyy-MM-dd dddd")%>
<%end if%>
</td>
</tr>
<tr>
<td align="center"><IMG height="67" src="../images/subject.jpg" width="568"></td>
</tr>
<tr>
<td></td>
</tr>
</table>
<table height="50" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TBODY>
<tr>
<td align="center" height="25">
<!--panel1-->
<asp:panel id="Panel1" runat="server"><%if subedit="" then%>添加考试科目 <%else%>编辑考试科目 <%end if%>
<TABLE cellSpacing="0" cellPadding="0" width="98%" border="0">
<TR>
<TD align="right">科目名称:</TD>
<TD align="center"> </TD>
<TD align="left"><%if subedit="" then%><INPUT class="input" type="text" size="20" name="subjectname"><%else%><%=subject1%><%end if%>
</TD>
</TR>
<TR>
<TD align="right" width="47%">考试时间:</TD>
<TD width="3%"> </TD>
<TD align="left" width="50%"><INPUT class="input" id="testtime1" type="text" size="20" name="testtime" runat="server"></TD>
</TR>
<TR>
<TD align="right">单选题量:</TD>
<TD> </TD>
<TD align="left"><INPUT class="input" id="singlenumber1" type="text" size="20" name="singlenumber" runat="server"></TD>
</TR>
<TR>
<TD align="right">单选分值:</TD>
<TD> </TD>
<TD align="left"><INPUT class="input" id="singlescore1" type="text" size="20" name="singlescore" runat="server"></TD>
</TR>
<TR>
<TD align="right">多选题量:</TD>
<TD> </TD>
<TD align="left"><INPUT class="input" id="multinumber1" type="text" size="20" name="multinumber" runat="server"></TD>
</TR>
<TR>
<TD align="right">多选分值:</TD>
<TD> </TD>
<TD align="left"><INPUT class="input" id="multiscore1" type="text" size="20" name="multiscore" runat="server"></TD>
</TR>
<TR>
<TD align="center" colSpan="3"><%if subedit="" then%>
<asp:Button id="Button1" runat="server" Text="添 加"></asp:Button><%else%>
<asp:Button id="Button2" runat="server" Text="修 改"></asp:Button><%end if%></TD>
</TR>
</TABLE></asp:panel>
<!--panel1--></td>
</tr>
<tr>
<td align="center" height="25">
<!--panel2-->
<asp:panel id="Panel2" runat="server">
<asp:repeater id="Repeater1" runat="server">
<HeaderTemplate>
<TABLE cellSpacing="1" cellPadding="1" width="95%" bgColor="#029BFB" align="center" border="0">
<TR bgcolor="#FFFFFF">
<TD class="style11" align="center" width="20%">科目名称</TD>
<TD class="style11" align="center" width="13%">考试时间(分钟)</TD>
<TD class="style11" align="center" width="11%">单选题量</TD>
<TD class="style11" align="center" width="10%">单选分值</TD>
<TD class="style11" align="center" width="9%">多选题量</TD>
<TD class="style11" align="center" width="10%">多选分值</TD>
<TD class="style11" align="center" width="27%">修改信息</TD>
</TR>
</HeaderTemplate>
<ItemTemplate>
<TR bgcolor="#FFFFFF">
<TD align="center" class="Context" width="20%" height="21"><%#DataBinder.Eval(Container.DataItem,"subject")%></TD>
<TD align="center" class="Context" width="17%" height="21"><%#DataBinder.Eval(Container.DataItem,"testtime")%></TD>
<TD align="center" class="Context" width="11%" height="21"><%#DataBinder.Eval(Container.DataItem,"singlenum")%></TD>
<TD align="center" class="Context" width="10%" height="21"><%#DataBinder.Eval(Container.DataItem,"singlescore")%></TD>
<TD align="center" class="Context" width="9%" height="21"><%#DataBinder.Eval(Container.DataItem,"multinum")%></TD>
<TD align="center" class="Context" width="10%" height="21"><%#DataBinder.Eval(Container.DataItem,"multiscore")%></TD>
<TD align="center" width="23%" height="21" class="Link1">
<A href='addsubject.aspx?subedit=<%#DataBinder.Eval(Container.DataItem,"id")%>'><font color="black">
编辑--</font> </A><A href='addsubject.aspx?subdel=<%#DataBinder.Eval(Container.DataItem,"id")%>'>
<font color="black">删除--</font></A><A href='managesubject.aspx?mana=<%#manager(DataBinder.Eval(Container.DataItem,"subject"))%>'><font color="black">管理试题</font>
</A>
</TD>
</TR>
</ItemTemplate>
<FooterTemplate>
</table>
<p></p>
</FooterTemplate> </asp:repeater></asp:panel>
<!--panel2--></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="90%" border="0" align="center">
<tr>
<td align="center" bgColor="#cccccc" height="25"> <asp:button id="Button3" runat="server" Text="管理科目"></asp:button></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="900" bgColor="#ffffff" border="0">
<tr>
<td><IMG height="104" src="../images/exam_14.jpg" width="900"></td>
</tr>
</table>
</TD></TR></TBODY></TABLE></form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -