| 1 | <?php /* Smarty version 2.6.13, created on 2007-01-10 13:54:21 |
|---|
| 2 | compiled from /home/web/beta.ec-cube.net/html/user_data/include/bloc/news.tpl */ ?> |
|---|
| 3 | <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); |
|---|
| 4 | smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', '/home/web/beta.ec-cube.net/html/user_data/include/bloc/news.tpl', 22, false),array('modifier', 'nl2br', '/home/web/beta.ec-cube.net/html/user_data/include/bloc/news.tpl', 23, false),)), $this); ?> |
|---|
| 5 | <table width="400" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
|---|
| 6 | <tr>
|
|---|
| 7 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
|---|
| 8 | img/top/news.jpg" width="400" height="29" alt="¿·Ãå¾ðÊó"></td>
|
|---|
| 9 | </tr>
|
|---|
| 10 | <tr>
|
|---|
| 11 | <td colspan="3"><span class="fs10">¡ù¡ú¡ù ¿·Ãå¾ðÊó¤Ï<a href="<?php echo @URL_DIR; ?> |
|---|
| 12 | rss/index.php" target="_blank">RSS</a>¤ÇÇÛ¿®¤·¤Æ¤¤¤Þ¤¹¡£¡ú¡ù¡ú </span></td>
|
|---|
| 13 | </tr>
|
|---|
| 14 | <tr>
|
|---|
| 15 | <td height="10"><img src="<?php echo @URL_DIR; ?> |
|---|
| 16 | img/common/_.gif" width="16" height="1" alt=""></td>
|
|---|
| 17 | <td><img src="<?php echo @URL_DIR; ?> |
|---|
| 18 | img/common/_.gif" width="90" height="1" alt=""></td>
|
|---|
| 19 | <td><img src="<?php echo @URL_DIR; ?> |
|---|
| 20 | img/common/_.gif" width="294" height="1" alt=""></td>
|
|---|
| 21 | </tr>
|
|---|
| 22 |
|
|---|
| 23 | <?php unset($this->_sections['data']); |
|---|
| 24 | $this->_sections['data']['name'] = 'data'; |
|---|
| 25 | $this->_sections['data']['loop'] = is_array($_loop=$this->_tpl_vars['arrNews']) ? count($_loop) : max(0, (int)$_loop); unset($_loop); |
|---|
| 26 | $this->_sections['data']['show'] = true; |
|---|
| 27 | $this->_sections['data']['max'] = $this->_sections['data']['loop']; |
|---|
| 28 | $this->_sections['data']['step'] = 1; |
|---|
| 29 | $this->_sections['data']['start'] = $this->_sections['data']['step'] > 0 ? 0 : $this->_sections['data']['loop']-1; |
|---|
| 30 | if ($this->_sections['data']['show']) { |
|---|
| 31 | $this->_sections['data']['total'] = $this->_sections['data']['loop']; |
|---|
| 32 | if ($this->_sections['data']['total'] == 0) |
|---|
| 33 | $this->_sections['data']['show'] = false; |
|---|
| 34 | } else |
|---|
| 35 | $this->_sections['data']['total'] = 0; |
|---|
| 36 | if ($this->_sections['data']['show']): |
|---|
| 37 | |
|---|
| 38 | for ($this->_sections['data']['index'] = $this->_sections['data']['start'], $this->_sections['data']['iteration'] = 1; |
|---|
| 39 | $this->_sections['data']['iteration'] <= $this->_sections['data']['total']; |
|---|
| 40 | $this->_sections['data']['index'] += $this->_sections['data']['step'], $this->_sections['data']['iteration']++): |
|---|
| 41 | $this->_sections['data']['rownum'] = $this->_sections['data']['iteration']; |
|---|
| 42 | $this->_sections['data']['index_prev'] = $this->_sections['data']['index'] - $this->_sections['data']['step']; |
|---|
| 43 | $this->_sections['data']['index_next'] = $this->_sections['data']['index'] + $this->_sections['data']['step']; |
|---|
| 44 | $this->_sections['data']['first'] = ($this->_sections['data']['iteration'] == 1); |
|---|
| 45 | $this->_sections['data']['last'] = ($this->_sections['data']['iteration'] == $this->_sections['data']['total']); |
|---|
| 46 | ?>
|
|---|
| 47 | <tr valign="top">
|
|---|
| 48 | <td><img src="<?php echo @URL_DIR; ?> |
|---|
| 49 | img/top/news_icon.gif" width="16" height="16" alt=""></td>
|
|---|
| 50 | <td class="fs10"><?php echo ((is_array($_tmp=$this->_tpl_vars['arrNews'][$this->_sections['data']['index']]['news_date_disp'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
|---|
| 51 | </td>
|
|---|
| 52 | <td class="fs10"><?php if ($this->_tpl_vars['arrNews'][$this->_sections['data']['index']]['news_url']): ?><a href="<?php echo $this->_tpl_vars['arrNews'][$this->_sections['data']['index']]['news_url']; ?> |
|---|
| 53 | " <?php if ($this->_tpl_vars['arrNews'][$this->_sections['data']['index']]['link_method'] == '2'): ?>target="_blank"<?php endif; ?> ><?php endif; echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrNews'][$this->_sections['data']['index']]['news_title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); if ($this->_tpl_vars['arrNews'][$this->_sections['data']['index']]['news_url']): ?></a><?php endif; ?><br/><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrNews'][$this->_sections['data']['index']]['news_comment'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> |
|---|
| 54 | </td>
|
|---|
| 55 | </tr>
|
|---|
| 56 | <?php if (! $this->_sections['data']['last']): ?>
|
|---|
| 57 | <tr><td colspan="3" height="20"><img src="<?php echo @URL_DIR; ?> |
|---|
| 58 | img/common/line_400.gif" width="400" height="1" alt=""></td></tr>
|
|---|
| 59 | <?php endif; ?>
|
|---|
| 60 | <?php endfor; endif; ?>
|
|---|
| 61 |
|
|---|
| 62 | <tr><td height="35" colspan="3"></td></tr>
|
|---|
| 63 | </table> |
|---|