| Server IP : 104.21.73.108 / Your IP : 216.73.216.59 Web Server : Apache/2 System : Linux cat167-197.static.lnwhostname.com 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 User : paphayomho ( 1042) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/paphayomho/domains/paphayomhospital.go.th/private_html/room/rooms/ |
Upload File : |
<?php
$title = 'ห้องประชุม'; //กำหนดไตเติ้ล
error_reporting (E_ALL ^ E_NOTICE);
include 'templates/header.php';
include 'connect.php';
?>
<div class="breadcrumbs ace-save-state" id="breadcrumbs">
<ul class="breadcrumb">
<li>
<i class="ace-icon fa fa-home home-icon"></i>
<a href="index.php?page=home">หน้าหลัก</a>
</li>
<li class="active">ห้องประชุม</li>
</ul><!-- /.breadcrumb -->
</div>
<div class="page-header">
<h1>
<?php echo $org; ?>
<!--<small>
<i class="ace-icon fa fa-angle-double-right"></i>
ข้อความ
</small>-->
</h1>
</div><!-- /.page-header -->
<div class="main-container ace-save-state" id="main-container">
<div class="main-content">
<div class="main-content-inner">
<div class="page-content" >
<div class="row" >
<div class="col-sm-12">
<!-- หน้าแรก -->
<?php if (!isset($_GET['action'])) {
$meSQL = "SELECT * FROM tb_rooms ORDER BY id_rooms asc";
$meQuery = $conn->query($meSQL);
?>
<div class="table-header">
<?php echo $title; ?>
</div>
<!-- div.table-responsive -->
<!-- div.dataTables_borderWrap -->
<div class="table-responsive">
<table id="dynamic-table" class="table table-striped table-bordered table-hover" >
<thead>
<tr>
<th class="center">ลำดับ</th>
<th class="center">รูปภาพ</th>
<th class="center">ชื่อห้อง</th>
<th class="center">จำนวนคน</th>
<th class="center">รายละเอียด</th>
</tr>
</thead>
<tbody>
<?php
$i=1 ;
while ($rs = $meQuery->fetch_assoc()){
?>
<tr>
<td class="center"><?php echo $i++; ?></td>
<td class="center ace-thumbnails clearfix"><p><a href="images/<?php echo $rs['image_rooms']?>" data-rel="colorbox"><img src="images/<?php echo $rs['image_rooms']?>" alt="รูปภาพ" style="width:120px;height:100px;border: 1px solid #9e9e9e"></p></td>
<td class="center"><?php echo $rs['name_rooms']?></td>
<td class="center"><?php echo $rs['people_rooms']?></td>
<td><pre style="padding: 1px;border: 0px;background-color: transparent !important;"><?php echo $rs['detail_rooms']?></pre></td>
</tr>
<?php } ?>
</tbody>
</table>
<?php } ?>
</div>
</div>
</div>
<?php
include 'templates/footer.php';
$conn->close();
?>