44 lines
1.6 KiB
PHP
44 lines
1.6 KiB
PHP
|
<?php echo $this->fetch('library/page_header.html'); ?>
|
||
|
<link rel="stylesheet" type="text/css" href="<?php echo $this->_var['tpl']; ?>css/room.css">
|
||
|
|
||
|
<div class="mainArea ins">
|
||
|
<div class="wrap b-box">
|
||
|
<div class="titleBox clearfix">
|
||
|
<h2><em>SERVICE</em><strong>服務項目</strong></h2>
|
||
|
</div>
|
||
|
<div class="contentBox clearfix">
|
||
|
<div class="classBox">
|
||
|
<div class="m_classLink"></div>
|
||
|
</div>
|
||
|
<ul class="roomList clearfix">
|
||
|
<?php $_from = $this->_var['rooms']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'room');$this->_foreach['room'] = array('total' => count($_from), 'iteration' => 0);
|
||
|
if ($this->_foreach['room']['total'] > 0):
|
||
|
foreach ($_from AS $this->_var['room']):
|
||
|
$this->_foreach['room']['iteration']++;
|
||
|
?>
|
||
|
<li class="g-mv-12 clearfix">
|
||
|
<div class="item clearfix">
|
||
|
<div class="roomLeftBox">
|
||
|
<div class="Img">
|
||
|
<a href="room.php?act=view&id=<?php echo $this->_var['room']['id']; ?>"><img src="<?php echo $this->_var['room']['image1']; ?>" alt="<?php echo $this->_var['room']['name']; ?>"></a>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="roomRightBox">
|
||
|
<div class="Txt b-box">
|
||
|
<h3><strong><a href="room.php?act=view&id=<?php echo $this->_var['room']['id']; ?>"><?php echo $this->_var['room']['name']; ?></a></strong></h3>
|
||
|
<p class="ellipsis">
|
||
|
<?php echo $this->_var['room']['price']; ?>
|
||
|
</p>
|
||
|
<br/>
|
||
|
<a href="room.php?act=view&id=<?php echo $this->_var['room']['id']; ?>" class="btnMore">View More</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</li>
|
||
|
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<?php echo $this->fetch('library/page_footer.html'); ?>
|