?? adminsubjectchapteredit.asp
字號:
<!--#include file="conn.asp"-->
<%
if session("adminname")="" then
response.redirect "relogin.asp"
end if
%>
<%
kcid=trim(request("kcid"))
chapter=cint(trim(request("chapter")))
sql1="select * from tbchapter where kcid="&kcid&" and chapter="&chapter&""
set rs1=server.createobject("adodb.recordset")
rs1.open sql1,conn,3,2
sql2="select kcm from tbkc where kcid="&kcid&""
set rs2=server.createobject("adodb.recordset")
rs2.open sql2,conn,3,2
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>系統(tǒng)管理 | 科目管理 | 章節(jié)控制</title>
<link rel="stylesheet" type="text/css" href="css.css">
</head>
<body>
<div align="center">
<center>
<table cellspacing="1" style="border-collapse: collapse" bordercolor="#799AE1" width="100%" id="AutoNumber2" border="1" bgcolor="#FFFDE8">
<form method="POST" action="adminsubjectchaptersave.asp">
<tr class="trh">
<td width="100%" height="25" >
<p align="center"><font color="#FFFFFF"><b>章節(jié)</b></font><b><font color="#FFFFFF">控制</font></b></td>
</tr>
<tr class="trh1">
<td width="100%" height="160" >
<p align="center"> </p>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="170">
<tr>
<td width="28%" height="28">
<p align="right">課程名稱:</td>
<td width="72%" height="28">
<input name="kcm" size="40" value="<%=rs2("kcm")%>" readonly class="inputnormal" style="float: left"> </td>
</tr>
<tr>
<td width="28%" height="29">
<p align="right">章 節(jié):</td>
<td width="72%" height="29">
<input name="ch" size="40" value="第<%=chapter %>章"
readonly class="inputnormal" style="float: left"> </td>
</tr>
<tr>
<td width="28%" height="29">
<p align="right">開始時間:</td>
<td width="72%" height="29"><p align="right">
<input name="sdate" size="40" value="<%=rs1("sdate")%>" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal" style="float: left"></td>
</tr>
<tr>
<td width="28%" height="29">
<p align="right">結(jié)束時間:</td>
<td width="72%" height="29"><p align="right">
<input name="edate" size="40" value="<%=rs1("edate")%>" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal" style="float: left"></td>
</tr>
</table>
<p align="center"> </p>
</td>
</tr>
<tr>
<td width="100%" height="25" bgcolor="#FFFDE8">
<p align="center">
<input name="kcid" type="hidden" size="40" value="<%=kcid%>">
<input name="chapter" type="hidden" size="40" value="<%=chapter%>">
<input type="submit" value="保存" name="B1" class="s02"><span lang="en-us">
</span>
<INPUT class="s02" onclick="window.location='adminsubjectchapter.asp?kcid=<%=kcid%>'" type=button value=返回 name=close><span lang="en-us">
</span>
<input type="button" value="關(guān)閉窗口" name="B2" onclick="self.close()" class="s02"></td>
</tr></form>
</table>
</center>
</div>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -