/Quản lý website nhà đất PHP/nhadatanphat/frontend/templates_c/%%63^637^63787B04%%interior.html.php
PHP | 178 lines | 171 code | 7 blank | 0 comment | 13 complexity | c656a8d9a9ae4963b73c845dc6ebeaba MD5 | raw file
- <?php /* Smarty version 2.6.18, created on 2011-03-19 17:57:24
- compiled from /home/nhadatan/public_html//frontend/templates/interior.html */ ?>
- <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
- smarty_core_load_plugins(array('plugins' => array(array('modifier', 'indent', '/home/nhadatan/public_html//frontend/templates/interior.html', 49, false),)), $this); ?>
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
- $this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['include_header'], 'smarty_include_vars' => array()));
- $this->_tpl_vars = $_smarty_tpl_vars;
- unset($_smarty_tpl_vars);
- ?>
- <!-- Begin center area -->
- <tr>
- <td>
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <!-- Begin left area -->
- <td width="262" valign="top">
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
- $this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['include_left'], 'smarty_include_vars' => array()));
- $this->_tpl_vars = $_smarty_tpl_vars;
- unset($_smarty_tpl_vars);
- ?>
- </td>
- <!-- End left area -->
- <!-- Begin right area -->
- <td align="right" valign="top">
- <div>
- <table width="99%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td>
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td>
- <table width="100%" border="0" cellpadding="0" cellspacing="0" background="frontend/images/c3.jpg">
- <tr>
- <td><img src="frontend/images/c1.jpg" width="7" height="32" /></td>
- <td width="100%" align="left" class="text_red">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="left" id="menu1" dir="ltr" style="color: #CC0303;"><?php echo $this->_tpl_vars['lable']; ?>
- </td>
- </tr>
- </table>
- </td>
- <td><img src="frontend/images/c2.jpg" width="7" height="32" /></td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="3" background="frontend/images/c4.jpg"></td>
- <td align="center" bgcolor="#F5F9FD">
- <form name="searchForm" action="" method="post">
- Chọn loại mẫu:
- <select name="cat_interior_id" class="dropdown" onChange="document.searchForm.submit();">
- <option value="">Tất cả</option>
- <?php $_from = $this->_tpl_vars['cat_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
- foreach ($_from as $this->_tpl_vars['cat']):
- ?>
- <option value="<?php echo $this->_tpl_vars['cat']['category_id']; ?>
- " <?php if ($this->_tpl_vars['cat_interior_id'] == $this->_tpl_vars['cat']['category_id']): ?> selected <?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['cat']['category_name'])) ? $this->_run_mod_handler('indent', true, $_tmp, $this->_tpl_vars['cat']['level'], "¦ ", "¦-- ") : smarty_modifier_indent($_tmp, $this->_tpl_vars['cat']['level'], "¦ ", "¦-- ")); ?>
- </option>
- <?php endforeach; endif; unset($_from); ?>
- </select>
- </form>
- </td>
- <td width="4" background="frontend/images/c5.jpg"></td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="3" background="frontend/images/c4.jpg"></td>
- <td align="center" bgcolor="#F5F9FD">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <?php if (count ( $this->_tpl_vars['InteriorList'] ) > 0): ?>
- <?php $_from = $this->_tpl_vars['InteriorList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
- foreach ($_from as $this->_tpl_vars['keys'] => $this->_tpl_vars['items']):
- ?>
- <?php if ($this->_tpl_vars['keys'] % 3 == 0): ?><!-- Mo the -->
- <tr>
- <?php endif; ?>
- <td width="33%" align="center" valign="top">
- <table width="98%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="center" style="padding-top: 5px;">
- <div style="padding-bottom: 5px;">
- <a id="thumb<?php echo $this->_tpl_vars['items']['album_id']; ?>
- " href="<?php echo $this->_config[0]['vars']['IMG_INTERIOR_DIR']; ?>
- <?php echo $this->_tpl_vars['items']['interior_image']; ?>
- " class="highslide"
- onclick="return hs.expand(this)">
- <img src="<?php echo $this->_config[0]['vars']['IMG_INTERIOR_DIR']; ?>
- thumb_<?php echo $this->_tpl_vars['items']['interior_image']; ?>
- " alt="Highslide JS" width="100" height="100" title="Click to enlarge" class="borderimg" />
- </a>
- <!--
- <div align="center" class="highslide-caption">
- <?php echo $this->_tpl_vars['items']['interior_description']; ?>
- </div>
- -->
- </div>
- </td>
- </tr>
- <tr>
- <td align="center" valign="top" style="padding-top: 5px;">
- <strong class="text_blue"><?php echo $this->_tpl_vars['items']['interior_name']; ?>
- </strong>
- </td>
- </tr>
- </table>
- </td>
- <?php if (( $this->_tpl_vars['keys']+1 ) % 3 == 0): ?><!-- Dong the -->
- </tr>
- <?php endif; ?>
- <?php endforeach; endif; unset($_from); ?>
- <?php if (( $this->_tpl_vars['keys']+1 ) % 3 != 0): ?><!-- Dong the -->
- </tr>
- <?php endif; ?>
- <?php endif; ?>
- <tr>
- <td align="center" colspan="3" style="padding: 10px;"><?php echo $this->_tpl_vars['paging']; ?>
- </td>
- </tr>
- <tr>
- <td height="10" align="center"></td>
- <td align="center"></td>
- </tr>
- </table>
- </td>
- <td width="4" background="frontend/images/c5.jpg"></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>
- <table width="100%" border="0" cellpadding="0" cellspacing="0" background="frontend/images/c8.jpg">
- <tr>
- <td><img src="frontend/images/c6.jpg" width="8" height="8" /></td>
- <td width="100%"></td>
- <td><img src="frontend/images/c7.jpg" width="7" height="8" /></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td height="5"></td>
- </tr>
- </table>
- </div>
- </td>
- <!-- End right area -->
- </tr>
- </table>
- </td>
- </tr>
- <!-- End center area -->
-
- <?php $_smarty_tpl_vars = $this->_tpl_vars;
- $this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['include_footer'], 'smarty_include_vars' => array()));
- $this->_tpl_vars = $_smarty_tpl_vars;
- unset($_smarty_tpl_vars);
- ?>