?? room_edit.asp
字號:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="hotel.asp" -->
<!--#include file="include/is_admin.asp" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改房間</title>
<style type="text/css">
<!--
@import url("style.css");
-->
</style>
</head>
<%
room_id=request("room_id")
'打開房間數據庫--------------------
set rs_room=server.CreateObject("adodb.recordset")
sql = "select * from room where room_id=" & room_id
rs_room.open sql,hotel_conn,3,2
%>
<body>
<div align="center">
<table width="706" height="281" border="0" class="table_big">
<tr>
<td valign="top"><div align="center">
<!--#include file="include/admin_head.asp" -->
<br>
<form name="form1" method="post" action="room_update.asp">
<table width="430" border="0" class="table_small">
<tr>
<td colspan="3"> </td>
</tr>
<tr>
<td colspan="3" class="text_title"><div align="left">添加新房間</div></td>
</tr>
<tr>
<td colspan="3" class="table_title"> </td>
</tr>
<tr class="text">
<td width="119"><div align="left">房間名稱: </div></td>
<td colspan="2"><div align="left">
<input name="name" type="text" class="textfield" id="name" value="<%= rs_room("name") %>">
</div></td>
</tr>
<tr class="text">
<td><div align="left">房間類型:</div></td>
<td colspan="2"><div align="left">
<select name="type" class="textfield" id="type">
<option></option>
<option>總統套房</option>
<option>觀光二人間</option>
<option>標準間</option>
<option>普通二人間</option>
<option>單人間</option>
<option>普通四人間</option>
<option>其他</option>
</select>
</div></td>
</tr>
<tr class="text">
<td><div align="left">花費(每小時/元):</div></td>
<td colspan="2"><div align="left">
<input name="cost" type="text" class="textfield" id="cost" value="<%= rs_room("cost") %>">
</div></td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
<tr>
<td> </td>
<td width="72"><input name="edit" type="submit" id="edit" value="修改"></td>
<td width="221"><div align="left">
<input name="reset" type="button" id="reset" value="清空">
</div></td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
</table>
</form>
<br>
<!--#include file="include/foot.asp" -->
<br>
</div></td>
</tr>
</table>
</div>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -