| 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/best5.tpl */ ?> |
|---|
| 3 | <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); |
|---|
| 4 | smarty_core_load_plugins(array('plugins' => array(array('modifier', 'sfRmDupSlash', '/home/web/beta.ec-cube.net/html/user_data/include/bloc/best5.tpl', 21, false),array('modifier', 'escape', '/home/web/beta.ec-cube.net/html/user_data/include/bloc/best5.tpl', 21, false),array('modifier', 'sfPreTax', '/home/web/beta.ec-cube.net/html/user_data/include/bloc/best5.tpl', 30, false),array('modifier', 'number_format', '/home/web/beta.ec-cube.net/html/user_data/include/bloc/best5.tpl', 30, false),array('modifier', 'nl2br', '/home/web/beta.ec-cube.net/html/user_data/include/bloc/best5.tpl', 38, false),array('modifier', 'count', '/home/web/beta.ec-cube.net/html/user_data/include/bloc/best5.tpl', 49, false),)), $this); ?> |
|---|
| 5 | <!--¢§¤ª¤¹¤¹¤á¾ðÊ󤳤³¤«¤é-->
|
|---|
| 6 | <table width="400" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
|---|
| 7 | <tr>
|
|---|
| 8 | <td colspan="2"><img src="<?php echo @URL_DIR; ?> |
|---|
| 9 | img/top/osusume.jpg" width="400" height="29" alt="¤ª¤¹¤¹¤á¾ðÊó"></td>
|
|---|
| 10 | </tr>
|
|---|
| 11 | <tr><td height="10"></td></tr>
|
|---|
| 12 |
|
|---|
| 13 | <?php unset($this->_sections['cnt']); |
|---|
| 14 | $this->_sections['cnt']['name'] = 'cnt'; |
|---|
| 15 | $this->_sections['cnt']['loop'] = is_array($_loop=$this->_tpl_vars['arrBestProducts']) ? count($_loop) : max(0, (int)$_loop); unset($_loop); |
|---|
| 16 | $this->_sections['cnt']['step'] = ((int)2) == 0 ? 1 : (int)2; |
|---|
| 17 | $this->_sections['cnt']['show'] = true; |
|---|
| 18 | $this->_sections['cnt']['max'] = $this->_sections['cnt']['loop']; |
|---|
| 19 | $this->_sections['cnt']['start'] = $this->_sections['cnt']['step'] > 0 ? 0 : $this->_sections['cnt']['loop']-1; |
|---|
| 20 | if ($this->_sections['cnt']['show']) { |
|---|
| 21 | $this->_sections['cnt']['total'] = min(ceil(($this->_sections['cnt']['step'] > 0 ? $this->_sections['cnt']['loop'] - $this->_sections['cnt']['start'] : $this->_sections['cnt']['start']+1)/abs($this->_sections['cnt']['step'])), $this->_sections['cnt']['max']); |
|---|
| 22 | if ($this->_sections['cnt']['total'] == 0) |
|---|
| 23 | $this->_sections['cnt']['show'] = false; |
|---|
| 24 | } else |
|---|
| 25 | $this->_sections['cnt']['total'] = 0; |
|---|
| 26 | if ($this->_sections['cnt']['show']): |
|---|
| 27 | |
|---|
| 28 | for ($this->_sections['cnt']['index'] = $this->_sections['cnt']['start'], $this->_sections['cnt']['iteration'] = 1; |
|---|
| 29 | $this->_sections['cnt']['iteration'] <= $this->_sections['cnt']['total']; |
|---|
| 30 | $this->_sections['cnt']['index'] += $this->_sections['cnt']['step'], $this->_sections['cnt']['iteration']++): |
|---|
| 31 | $this->_sections['cnt']['rownum'] = $this->_sections['cnt']['iteration']; |
|---|
| 32 | $this->_sections['cnt']['index_prev'] = $this->_sections['cnt']['index'] - $this->_sections['cnt']['step']; |
|---|
| 33 | $this->_sections['cnt']['index_next'] = $this->_sections['cnt']['index'] + $this->_sections['cnt']['step']; |
|---|
| 34 | $this->_sections['cnt']['first'] = ($this->_sections['cnt']['iteration'] == 1); |
|---|
| 35 | $this->_sections['cnt']['last'] = ($this->_sections['cnt']['iteration'] == $this->_sections['cnt']['total']); |
|---|
| 36 | ?>
|
|---|
| 37 | <tr valign="top">
|
|---|
| 38 | <td>
|
|---|
| 39 |
|
|---|
| 40 | <?php if ($this->_tpl_vars['arrBestProducts'][$this->_sections['cnt']['index']]['main_list_image'] != ""): $this->assign('image_path', (@IMAGE_SAVE_DIR)."/".($this->_tpl_vars['arrBestProducts'][$this->_sections['cnt']['index']]['main_list_image'])); else: $this->assign('image_path', (@NO_IMAGE_DIR)); endif; ?>
|
|---|
| 41 |
|
|---|
| 42 | <table width="190" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
|---|
| 43 | <tr valign="top">
|
|---|
| 44 | <td align="center" valign="middle"><a href="<?php echo @URL_DIR; ?> |
|---|
| 45 | products/detail.php?product_id=<?php echo $this->_tpl_vars['arrBestProducts'][$this->_sections['cnt']['index']]['product_id']; ?> |
|---|
| 46 | "><img src="<?php echo @SITE_URL; ?> |
|---|
| 47 | resize_image.php?image=<?php echo ((is_array($_tmp=$this->_tpl_vars['image_path'])) ? $this->_run_mod_handler('sfRmDupSlash', true, $_tmp) : sfRmDupSlash($_tmp)); ?> |
|---|
| 48 | &width=48&height=48" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrBestProducts'][$this->_sections['cnt']['index']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
|---|
| 49 | "></a></td>
|
|---|
| 50 | <td align="right">
|
|---|
| 51 | <table width="132" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
|---|
| 52 | <tr>
|
|---|
| 53 | <?php $this->assign('price01', ($this->_tpl_vars['arrBestProducts'][$this->_sections['cnt']['index']]['price01_min'])); ?>
|
|---|
| 54 | <?php $this->assign('price02', ($this->_tpl_vars['arrBestProducts'][$this->_sections['cnt']['index']]['price02_min'])); ?>
|
|---|
| 55 | <td><span class="fs12"><a href="<?php echo @URL_DIR; ?> |
|---|
| 56 | products/detail.php?product_id=<?php echo $this->_tpl_vars['arrBestProducts'][$this->_sections['cnt']['index']]['product_id']; ?> |
|---|
| 57 | "><?php echo ((is_array($_tmp=$this->_tpl_vars['arrBestProducts'][$this->_sections['cnt']['index']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
|---|
| 58 | </a></span><br>
|
|---|
| 59 | <span class="red"><span class="fs12">²Á³Ê</span><span class="fs10">(Àǹþ)</span></span><span class="redst"><span class="fs12">¡§
|
|---|
| 60 | <?php if ($this->_tpl_vars['price02'] == ""): ?>
|
|---|
| 61 | <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['price01'])) ? $this->_run_mod_handler('sfPreTax', true, $_tmp, $this->_tpl_vars['arrInfo']['tax'], $this->_tpl_vars['arrInfo']['tax_rule']) : sfPreTax($_tmp, $this->_tpl_vars['arrInfo']['tax'], $this->_tpl_vars['arrInfo']['tax_rule'])))) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?> |
|---|
| 62 |
|
|---|
| 63 | <?php else: ?>
|
|---|
| 64 | <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['price02'])) ? $this->_run_mod_handler('sfPreTax', true, $_tmp, $this->_tpl_vars['arrInfo']['tax'], $this->_tpl_vars['arrInfo']['tax_rule']) : sfPreTax($_tmp, $this->_tpl_vars['arrInfo']['tax'], $this->_tpl_vars['arrInfo']['tax_rule'])))) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?> |
|---|
| 65 |
|
|---|
| 66 | <?php endif; ?>
|
|---|
| 67 | ±ß</span></span></td>
|
|---|
| 68 | </tr>
|
|---|
| 69 | <tr><td height="5"></td></tr>
|
|---|
| 70 | <tr>
|
|---|
| 71 | <td class="fs10"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrBestProducts'][$this->_sections['cnt']['index']]['comment'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> |
|---|
| 72 | </td>
|
|---|
| 73 | </tr>
|
|---|
| 74 | </table>
|
|---|
| 75 | </td>
|
|---|
| 76 | </tr>
|
|---|
| 77 | </table>
|
|---|
| 78 |
|
|---|
| 79 | </td>
|
|---|
| 80 | <td align="right">
|
|---|
| 81 |
|
|---|
| 82 | <?php $this->assign('cnt2', ($this->_sections['cnt']['iteration']*$this->_sections['cnt']['step']-1)); ?>
|
|---|
| 83 | <?php if (((is_array($_tmp=$this->_tpl_vars['arrBestProducts'][$this->_tpl_vars['cnt2']])) ? $this->_run_mod_handler('count', true, $_tmp) : count($_tmp)) > 0): ?>
|
|---|
| 84 | <?php if ($this->_tpl_vars['arrBestProducts'][$this->_tpl_vars['cnt2']]['main_list_image'] != ""): $this->assign('image_path', (@IMAGE_SAVE_DIR)."/".($this->_tpl_vars['arrBestProducts'][$this->_tpl_vars['cnt2']]['main_list_image'])); else: $this->assign('image_path', (@NO_IMAGE_DIR)); endif; ?>
|
|---|
| 85 | <table width="190" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
|---|
| 86 | <tr valign="top">
|
|---|
| 87 | <td align="center" valign="middle"><a href="<?php echo @URL_DIR; ?> |
|---|
| 88 | products/detail.php?product_id=<?php echo $this->_tpl_vars['arrBestProducts'][$this->_tpl_vars['cnt2']]['product_id']; ?> |
|---|
| 89 | "><img src="<?php echo @SITE_URL; ?> |
|---|
| 90 | resize_image.php?image=<?php echo ((is_array($_tmp=$this->_tpl_vars['image_path'])) ? $this->_run_mod_handler('sfRmDupSlash', true, $_tmp) : sfRmDupSlash($_tmp)); ?> |
|---|
| 91 | &width=48&height=48" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrBestProducts'][$this->_tpl_vars['cnt2']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
|---|
| 92 | "></a></td>
|
|---|
| 93 | <td align="right">
|
|---|
| 94 | <table width="132" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
|---|
| 95 | <tr>
|
|---|
| 96 | <?php $this->assign('price01', ($this->_tpl_vars['arrBestProducts'][$this->_tpl_vars['cnt2']]['price01_min'])); ?>
|
|---|
| 97 | <?php $this->assign('price02', ($this->_tpl_vars['arrBestProducts'][$this->_tpl_vars['cnt2']]['price02_min'])); ?>
|
|---|
| 98 | <td><span class="fs12"><a href="<?php echo @URL_DIR; ?> |
|---|
| 99 | products/detail.php?product_id=<?php echo $this->_tpl_vars['arrBestProducts'][$this->_tpl_vars['cnt2']]['product_id']; ?> |
|---|
| 100 | "><?php echo ((is_array($_tmp=$this->_tpl_vars['arrBestProducts'][$this->_tpl_vars['cnt2']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
|---|
| 101 | </a></span><br>
|
|---|
| 102 | <span class="red"><span class="fs12">²Á³Ê</span><span class="fs10">(Àǹþ)</span></span><span class="redst"><span class="fs12">¡§
|
|---|
| 103 | <?php if ($this->_tpl_vars['price02'] == ""): ?>
|
|---|
| 104 | <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['price01'])) ? $this->_run_mod_handler('sfPreTax', true, $_tmp, $this->_tpl_vars['arrInfo']['tax'], $this->_tpl_vars['arrInfo']['tax_rule']) : sfPreTax($_tmp, $this->_tpl_vars['arrInfo']['tax'], $this->_tpl_vars['arrInfo']['tax_rule'])))) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?> |
|---|
| 105 |
|
|---|
| 106 | <?php else: ?>
|
|---|
| 107 | <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['price02'])) ? $this->_run_mod_handler('sfPreTax', true, $_tmp, $this->_tpl_vars['arrInfo']['tax'], $this->_tpl_vars['arrInfo']['tax_rule']) : sfPreTax($_tmp, $this->_tpl_vars['arrInfo']['tax'], $this->_tpl_vars['arrInfo']['tax_rule'])))) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?> |
|---|
| 108 |
|
|---|
| 109 | <?php endif; ?>
|
|---|
| 110 | ±ß</span></span></td>
|
|---|
| 111 | </tr>
|
|---|
| 112 | <tr><td height="5"></td></tr>
|
|---|
| 113 | <tr>
|
|---|
| 114 | <td class="fs10"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrBestProducts'][$this->_tpl_vars['cnt2']]['comment'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> |
|---|
| 115 | </td>
|
|---|
| 116 | </tr>
|
|---|
| 117 | </table>
|
|---|
| 118 | </td>
|
|---|
| 119 | </tr>
|
|---|
| 120 | </table>
|
|---|
| 121 | <?php endif; ?>
|
|---|
| 122 |
|
|---|
| 123 | <?php if (! $this->_sections['cnt']['last']): ?>
|
|---|
| 124 | <tr>
|
|---|
| 125 | <td height="20"><img src="<?php echo @URL_DIR; ?> |
|---|
| 126 | img/common/line_190.gif" width="190" height="1" alt=""></td>
|
|---|
| 127 | <td align="right"><img src="<?php echo @URL_DIR; ?> |
|---|
| 128 | img/common/line_190.gif" width="190" height="1" alt=""></td>
|
|---|
| 129 | </tr>
|
|---|
| 130 | <?php endif; ?>
|
|---|
| 131 |
|
|---|
| 132 | <?php endfor; endif; ?>
|
|---|
| 133 | <tr><td height="35"></td></tr>
|
|---|
| 134 | </table>
|
|---|
| 135 | <!--¢¥¤ª¤¹¤¹¤á¾ðÊ󤳤³¤Þ¤Ç-->
|
|---|
| 136 |
|
|---|
| 137 | |
|---|