⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 roomlevel.php

📁 酒店管理系统
💻 PHP
字号:
<?
require_once('../include/connectionadmin.php'); 
include('../include/admin_or_user.php');
$selectsql="select * from roomlevel order by room_level asc";
 $result=odbc_exec($conn,$selectsql);
 
?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="../css/hotel.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin-left: 36px;
	margin-right: 36px;
}
.STYLE1 {color: #FF0000}
-->
</style></head>

<body>

<form id="form1" name="form1" method="post" action="modefiyroomlevel.php">
<span class="greenclore">房间星级</span>
<table width="100%" border="1" cellspacing="0">
  <tr>
    <td width="5%" height="17"><div align="center">选择</div></td>
    <td width="9%"><div align="center">房间星级</div></td>
   
    <td width="12%"><div align="center">房间价格/人/天</div></td>
    <td width="84%"><div align="center">房间介绍</div></td>
  </tr>
  <? $i=0;
     do { $i++; ?>
  <tr>
  <td height="14" nowrap="nowrap">
    <div align="center">
      <input type="checkbox" name="checkbox<? echo $i;?>" value="<? echo odbc_result($result,'room_level');?>" />
      </div></td>
    <td nowrap="nowrap"><div align="center"><? echo odbc_result($result,'room_level');?>
    星级</div></td>
    
    
	<td nowrap="nowrap"><div align="center"><span class="STYLE1">&yen;</span><? echo odbc_result($result,'room_prise');?>/人/天</div></td>
    <td nowrap="nowrap">&nbsp;<? echo odbc_result($result,'room_introduction');?></td>
  </tr>
  <? 
     }while(odbc_fetch_row($result));?>
</table>

<p>
  <input name="i" type="hidden" id="i" value="<? echo $i;?>" />
<table width="198" border="0">
<tr>
<td width="50">
操作:</td>
<td width="138"><label>
  <input name="modefiy" type="submit" id="modefiy" value="编辑" />
 &nbsp;  
 <input name="delete" type="submit" id="delete" value="删除" />
</label></td>
  </tr>
</table></p>
</form>
<p \>
 <script src="../copyright.inc">
</script>
</body>
</html>
<? odbc_close($conn);?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -