/Quản lý website nhà đất PHP/nhadatanphat/frontend/templates_c/%%54^540^540AE809%%estatehot.html.php
PHP | 202 lines | 198 code | 4 blank | 0 comment | 15 complexity | 0488992cd4c0c1fd0a0c6f7c6a450ec1 MD5 | raw file
- <?php /* Smarty version 2.6.18, created on 2010-09-23 18:00:44
- compiled from /home/nhadatvanm/domains/nhadatvanminh.com.vn/public_html//frontend/templates/estatehot.html */ ?>
- <?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="200" 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">
- <table width="99%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td valign="top">
- <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="center" name="<?php echo $this->_tpl_vars['items']['value']; ?>
- _hdl" dir="ltr" style="color: #CC0303;">
- <b> Bán gấp </b>
- <!--
- <?php if ($this->_tpl_vars['informid'] != ''): ?>
- <?php echo $this->_tpl_vars['InformDetail']['category_name']; ?>
- <?php else: ?>
- <?php echo $this->_tpl_vars['InformList'][0]['category_name']; ?>
- <?php endif; ?>
- -->
- </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">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td colspan="3" height="10"></td>
- </tr>
- <?php if ($this->_tpl_vars['informid'] != ''): ?>
- <tr>
- <td colspan="3" align="left">
- <table width="98%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="left" style="padding-left: 10px; font-weight: bold;">
- <h3> <?php echo $this->_tpl_vars['InformDetail']['inform_name']; ?>
- <h3>
- </td>
- </tr>
- <!--
- <tr>
- <td width="10%" align="left" valign="top" style="padding-left: 10px; padding-top: 15px;">
- <img src="<?php echo $this->_config[0]['vars']['IMG_INFORM_DIR']; ?>
- <?php echo $this->_tpl_vars['InformDetail']['inform_image']; ?>
- " align="left" style="max-width: 200px;" class="border_img" hspace="5" />
- <b> <?php echo $this->_tpl_vars['InformDetail']['inform_title']; ?>
- </b>
- </td>
- </tr>
- -->
- <tr>
- <td align="left" style="padding-left: 10px; padding-top: 10px;">
- <p style="padding-left: 5px;"><?php echo $this->_tpl_vars['InformDetail']['inform_content']; ?>
- </p>
- </td>
- </tr>
- <?php if (count ( $this->_tpl_vars['InformList'] ) > 0): ?>
- <tr>
- <td>
- <div style="padding-left: 10px; font-weight: bold; padding-bottom: 10px;">Các tin tức khác</div>
- <table width="98%" border="0" cellpadding="0" cellspacing="0">
- <?php $_from = $this->_tpl_vars['InformList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
- foreach ($_from as $this->_tpl_vars['keys'] => $this->_tpl_vars['items']):
- ?>
- <tr>
- <td width="10" align="left" valign="middle" style="padding-right: 5px; padding-left: 10px;">
- <img src="frontend/images/new.gif" width="10" height="8" />
- </td>
- <td align="left"><a href="?hdl=inform&cateid=<?php echo $this->_tpl_vars['items']['category_id']; ?>
- &informid=<?php echo $this->_tpl_vars['items']['inform_id']; ?>
- &page=<?php echo $this->_tpl_vars['page']; ?>
- " class="text_blue"><?php echo $this->_tpl_vars['items']['inform_name']; ?>
- </a></td>
- </tr>
- <?php endforeach; endif; unset($_from); ?>
- <tr>
- <td align="center" colspan="2" style="padding-top: 5px;"><?php echo $this->_tpl_vars['paging']; ?>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <?php endif; ?>
- </table>
- </td>
- </tr>
- <?php else: ?>
- <?php $_from = $this->_tpl_vars['EstateHot']; 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'] % 2 == 0): ?><!-- Mo the -->
- <tr>
- <?php endif; ?>
- <td width="50%" align="center" valign="top">
- <table width="98%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td valign="top" style="padding-top: 5px;">
-
- <img src="<?php echo $this->_config[0]['vars']['IMG_ESTATE_DIR']; ?>
- thumb_<?php echo $this->_tpl_vars['items']['estate_image1']; ?>
- " width="92" class="border_img" align="left" hspace="5" />
-
- <a href="?hdl=detail&cateid=<?php echo $this->_tpl_vars['items']['category_id']; ?>
- &estateid=<?php echo $this->_tpl_vars['items']['estate_id']; ?>
- " class="text_blue" style="text-transform:none;"><strong><?php echo $this->_tpl_vars['items']['estate_title']; ?>
- </strong></a>
- <div style="padding-left:3px"><?php echo $this->_tpl_vars['items']['estate_intro']; ?>
- </div>
- <div style="padding-left:3px"><span style="color:red;">Giá: <?php echo $this->_tpl_vars['items']['estate_price']; ?>
- VND</span></div>
- <div style="padding-left:3px"><span style="color:red;">Liên hệ: <?php echo $this->_tpl_vars['items']['estate_phone_contact']; ?>
- </span></div>
- </td>
- </tr>
- </table>
- </td>
- <?php if (( $this->_tpl_vars['keys']+1 ) % 2 == 0): ?><!-- Dong the -->
- </tr>
- <?php endif; ?>
- <?php endforeach; endif; unset($_from); ?>
- <?php if (( $this->_tpl_vars['keys']+1 ) % 2 != 0): ?><!-- Dong the -->
- </tr>
- <?php endif; ?>
- <tr>
- <td colspan="3" align="center" style="padding-top: 5px;"><?php echo $this->_tpl_vars['paging']; ?>
- </td>
- </tr>
- <?php endif; ?>
- <tr>
- <td colspan="3" height="10"></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>
- </table>
- </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);
- ?>