?? homestuin.asp
字號:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>學(xué)生入住</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style3 {font-size: 12px}
.style5 {font-size: 12px; color: #0000CC; }
.style7 {
color: #FF0000;
font-size: 12px;
}
.style9 {
color: #FF0000;
font-size: 18px;
font-weight: bold;
}
-->
</style>
<%
dim a,bz,yz
a=trim(Request.QueryString("La")) '樓號+房間號
bz=trim(Request.QueryString("bz")) '最大床位數(shù)
yz=trim(Request.QueryString("yz")) '已經(jīng)入住人數(shù)
HomeUses=trim(Request.QueryString("HomeUses"))
%>
</head>
<body>
<table width="600" border="0" align="center">
<tr align="center" valign="middle">
<td height="40" colspan="5" class="style9">
<%if bz-yz>0 then%>
<%=a%>宿舍</span></td>
</tr>
<tr align="center" valign="middle" class="style5">
<td height="60" colspan="5">設(shè)定標(biāo)準<%=bz%>人,已入住<%=yz%>人,還能再入住<%response.write bz-yz%>人。
<%else%><%=a%>宿舍<br><br>設(shè)定標(biāo)準<%=bz%>人已入住<%=yz%>人<br>超個標(biāo)準還有床位嗎?<%end if%>
</td>
</tr><form name="form" method="post" action="Homestuin2.asp?a=<%=a%>&yz=<%=yz%>&HomeUses=<%=HomeUses%>">
<tr>
<td width="104"> </td>
<td width="98" height="20" align="right" class="style3">學(xué) 號</td>
<td width="29"> </td>
<td width="250" align="left"><input name="b" type="text" id="b" size="16"></td>
<td width="97"> </td>
</tr>
<tr>
<td> </td>
<td height="20" align="right" class="style3">姓 名</td>
<td> </td>
<td align="left"><input name="c" type="text" id="c" size="16"></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td height="30" align="right" class="style3">選擇床號</td>
<td> </td>
<td align="left">
<input name="bed" type="text" id="bed" size="16">
</td>
<td> </td>
</tr>
<tr>
<td> </td>
<td height="30" align="right"> </td>
<td> </td>
<td align="left">
<input type="submit" name="Submit" value="提 交"></td>
<td> </td>
</tr></form><%if yz=0 then%>
<form name="form1" method="post" action="roomTaggadd.asp?Latagg=<%=a%>">
<tr align="center" valign="bottom">
<td height="40" colspan="5" class="style5">把此房間標(biāo)為
<input name="roomtagg" type="text" id="roomtagg" size="6" style="background-color: #FFFFFF; border-color: #003300; border-style: solid; border-width: 0px 0px 1px">
<input type="submit" name="Submit2" value="Go" style="background-color: #FFFFFF; border-color: #000099; border-style: solid; border-width: 0px 0px 0px"></td>
</tr></form><%end if%>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -