PageRenderTime 27ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/Quản lý website nhà đất PHP/nhadatanphat/frontend/templates_c/%%54^540^540AE809%%estatehot.html.php

https://gitlab.com/phamngsinh/baitaplon_sinhvien
PHP | 202 lines | 198 code | 4 blank | 0 comment | 15 complexity | 0488992cd4c0c1fd0a0c6f7c6a450ec1 MD5 | raw file
  1. <?php /* Smarty version 2.6.18, created on 2010-09-23 18:00:44
  2. compiled from /home/nhadatvanm/domains/nhadatvanminh.com.vn/public_html//frontend/templates/estatehot.html */ ?>
  3. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  4. $this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['include_header'], 'smarty_include_vars' => array()));
  5. $this->_tpl_vars = $_smarty_tpl_vars;
  6. unset($_smarty_tpl_vars);
  7. ?>
  8. <!-- Begin center area -->
  9. <tr>
  10. <td>
  11. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  12. <tr>
  13. <!-- Begin left area -->
  14. <td width="200" valign="top">
  15. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  16. $this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['include_left'], 'smarty_include_vars' => array()));
  17. $this->_tpl_vars = $_smarty_tpl_vars;
  18. unset($_smarty_tpl_vars);
  19. ?>
  20. </td>
  21. <!-- End left area -->
  22. <!-- Begin right area -->
  23. <td align="right" valign="top">
  24. <table width="99%" border="0" cellpadding="0" cellspacing="0">
  25. <tr>
  26. <td valign="top">
  27. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  28. <tr>
  29. <td>
  30. <table width="100%" border="0" cellpadding="0" cellspacing="0" background="frontend/images/c3.jpg">
  31. <tr>
  32. <td><img src="frontend/images/c1.jpg" width="7" height="32" /></td>
  33. <td width="100%" align="left" class="text_red">
  34. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  35. <tr>
  36. <td align="center" name="<?php echo $this->_tpl_vars['items']['value']; ?>
  37. _hdl" dir="ltr" style="color: #CC0303;">
  38. <b> Bán gấp </b>
  39. <!--
  40. <?php if ($this->_tpl_vars['informid'] != ''): ?>
  41. <?php echo $this->_tpl_vars['InformDetail']['category_name']; ?>
  42. <?php else: ?>
  43. <?php echo $this->_tpl_vars['InformList'][0]['category_name']; ?>
  44. <?php endif; ?>
  45. -->
  46. </td>
  47. </tr>
  48. </table>
  49. </td>
  50. <td><img src="frontend/images/c2.jpg" width="7" height="32" /></td>
  51. </tr>
  52. </table>
  53. </td>
  54. </tr>
  55. <tr>
  56. <td>
  57. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  58. <tr>
  59. <td width="3" background="frontend/images/c4.jpg"></td>
  60. <td align="center" bgcolor="#F5F9FD">
  61. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  62. <tr>
  63. <td colspan="3" height="10"></td>
  64. </tr>
  65. <?php if ($this->_tpl_vars['informid'] != ''): ?>
  66. <tr>
  67. <td colspan="3" align="left">
  68. <table width="98%" border="0" cellpadding="0" cellspacing="0">
  69. <tr>
  70. <td align="left" style="padding-left: 10px; font-weight: bold;">
  71. <h3> <?php echo $this->_tpl_vars['InformDetail']['inform_name']; ?>
  72. <h3>
  73. </td>
  74. </tr>
  75. <!--
  76. <tr>
  77. <td width="10%" align="left" valign="top" style="padding-left: 10px; padding-top: 15px;">
  78. <img src="<?php echo $this->_config[0]['vars']['IMG_INFORM_DIR']; ?>
  79. <?php echo $this->_tpl_vars['InformDetail']['inform_image']; ?>
  80. " align="left" style="max-width: 200px;" class="border_img" hspace="5" />
  81. <b> <?php echo $this->_tpl_vars['InformDetail']['inform_title']; ?>
  82. </b>
  83. </td>
  84. </tr>
  85. -->
  86. <tr>
  87. <td align="left" style="padding-left: 10px; padding-top: 10px;">
  88. <p style="padding-left: 5px;"><?php echo $this->_tpl_vars['InformDetail']['inform_content']; ?>
  89. </p>
  90. </td>
  91. </tr>
  92. <?php if (count ( $this->_tpl_vars['InformList'] ) > 0): ?>
  93. <tr>
  94. <td>
  95. <div style="padding-left: 10px; font-weight: bold; padding-bottom: 10px;">Các tin tức khác</div>
  96. <table width="98%" border="0" cellpadding="0" cellspacing="0">
  97. <?php $_from = $this->_tpl_vars['InformList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  98. foreach ($_from as $this->_tpl_vars['keys'] => $this->_tpl_vars['items']):
  99. ?>
  100. <tr>
  101. <td width="10" align="left" valign="middle" style="padding-right: 5px; padding-left: 10px;">
  102. <img src="frontend/images/new.gif" width="10" height="8" />
  103. </td>
  104. <td align="left"><a href="?hdl=inform&cateid=<?php echo $this->_tpl_vars['items']['category_id']; ?>
  105. &informid=<?php echo $this->_tpl_vars['items']['inform_id']; ?>
  106. &page=<?php echo $this->_tpl_vars['page']; ?>
  107. " class="text_blue"><?php echo $this->_tpl_vars['items']['inform_name']; ?>
  108. </a></td>
  109. </tr>
  110. <?php endforeach; endif; unset($_from); ?>
  111. <tr>
  112. <td align="center" colspan="2" style="padding-top: 5px;"><?php echo $this->_tpl_vars['paging']; ?>
  113. </td>
  114. </tr>
  115. </table>
  116. </td>
  117. </tr>
  118. <?php endif; ?>
  119. </table>
  120. </td>
  121. </tr>
  122. <?php else: ?>
  123. <?php $_from = $this->_tpl_vars['EstateHot']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  124. foreach ($_from as $this->_tpl_vars['keys'] => $this->_tpl_vars['items']):
  125. ?>
  126. <?php if ($this->_tpl_vars['keys'] % 2 == 0): ?><!-- Mo the -->
  127. <tr>
  128. <?php endif; ?>
  129. <td width="50%" align="center" valign="top">
  130. <table width="98%" border="0" cellpadding="0" cellspacing="0">
  131. <tr>
  132. <td valign="top" style="padding-top: 5px;">
  133. <img src="<?php echo $this->_config[0]['vars']['IMG_ESTATE_DIR']; ?>
  134. thumb_<?php echo $this->_tpl_vars['items']['estate_image1']; ?>
  135. " width="92" class="border_img" align="left" hspace="5" />
  136. <a href="?hdl=detail&cateid=<?php echo $this->_tpl_vars['items']['category_id']; ?>
  137. &estateid=<?php echo $this->_tpl_vars['items']['estate_id']; ?>
  138. " class="text_blue" style="text-transform:none;"><strong><?php echo $this->_tpl_vars['items']['estate_title']; ?>
  139. </strong></a>
  140. <div style="padding-left:3px"><?php echo $this->_tpl_vars['items']['estate_intro']; ?>
  141. </div>
  142. <div style="padding-left:3px"><span style="color:red;">Giá:&nbsp;<?php echo $this->_tpl_vars['items']['estate_price']; ?>
  143. &nbsp;VND</span></div>
  144. <div style="padding-left:3px"><span style="color:red;">Liên hệ:&nbsp;<?php echo $this->_tpl_vars['items']['estate_phone_contact']; ?>
  145. </span></div>
  146. </td>
  147. </tr>
  148. </table>
  149. </td>
  150. <?php if (( $this->_tpl_vars['keys']+1 ) % 2 == 0): ?><!-- Dong the -->
  151. </tr>
  152. <?php endif; ?>
  153. <?php endforeach; endif; unset($_from); ?>
  154. <?php if (( $this->_tpl_vars['keys']+1 ) % 2 != 0): ?><!-- Dong the -->
  155. </tr>
  156. <?php endif; ?>
  157. <tr>
  158. <td colspan="3" align="center" style="padding-top: 5px;"><?php echo $this->_tpl_vars['paging']; ?>
  159. </td>
  160. </tr>
  161. <?php endif; ?>
  162. <tr>
  163. <td colspan="3" height="10"></td>
  164. </tr>
  165. </table>
  166. </td>
  167. <td width="4" background="frontend/images/c5.jpg"></td>
  168. </tr>
  169. </table>
  170. </td>
  171. </tr>
  172. <tr>
  173. <td>
  174. <table width="100%" border="0" cellpadding="0" cellspacing="0" background="frontend/images/c8.jpg">
  175. <tr>
  176. <td><img src="frontend/images/c6.jpg" width="8" height="8" /></td>
  177. <td width="100%"></td>
  178. <td><img src="frontend/images/c7.jpg" width="7" height="8" /></td>
  179. </tr>
  180. </table>
  181. </td>
  182. </tr>
  183. </table>
  184. </td>
  185. </tr>
  186. </table>
  187. </td>
  188. <!-- End right area -->
  189. </tr>
  190. </table>
  191. </td>
  192. </tr>
  193. <!-- End center area -->
  194. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  195. $this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['include_footer'], 'smarty_include_vars' => array()));
  196. $this->_tpl_vars = $_smarty_tpl_vars;
  197. unset($_smarty_tpl_vars);
  198. ?>