| 1 | <?php /* Smarty version 2.6.13, created on 2007-01-19 12:53:16 |
|---|
| 2 | compiled from contents/recomend.tpl */ ?> |
|---|
| 3 | <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); |
|---|
| 4 | smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'contents/recomend.tpl', 95, false),array('modifier', 'sfGetEnabled', 'contents/recomend.tpl', 132, false),)), $this); ?> |
|---|
| 5 | <script language="JavaScript">
|
|---|
| 6 | <!--
|
|---|
| 7 | function lfnCheckSubmit( fm ){
|
|---|
| 8 |
|
|---|
| 9 | var err = '';
|
|---|
| 10 | /*
|
|---|
| 11 | if ( ! fm["title"].value ){
|
|---|
| 12 | err += '¸«½Ð¤·¥³¥á¥ó¥È¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£';
|
|---|
| 13 | }
|
|---|
| 14 | */
|
|---|
| 15 | if ( ! fm["comment"].value ){
|
|---|
| 16 | if ( err ) err += '\n';
|
|---|
| 17 | err += '¥ª¥¹¥¹¥á¥³¥á¥ó¥È¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£';
|
|---|
| 18 | }
|
|---|
| 19 | if ( err ){
|
|---|
| 20 | alert(err);
|
|---|
| 21 | return false;
|
|---|
| 22 | } else {
|
|---|
| 23 | if(window.confirm('ÆâÍÆ¤òÅÐÏ¿¤·¤Æ¤âµ¹¤·¤¤¤Ç¤¹¤«')){
|
|---|
| 24 | return true;
|
|---|
| 25 | }
|
|---|
| 26 | }
|
|---|
| 27 | }
|
|---|
| 28 |
|
|---|
| 29 | function lfnCheckSetItem( rank ){
|
|---|
| 30 | var flag = true;
|
|---|
| 31 | var checkRank = '<?php echo $this->_tpl_vars['checkRank']; ?> |
|---|
| 32 | ';
|
|---|
| 33 | if ( checkRank ){
|
|---|
| 34 | if ( rank != checkRank ){
|
|---|
| 35 | if( ! window.confirm('¤µ¤¤Û¤ÉÁªÂò¤·¤¿<?php echo $this->_tpl_vars['checkRank']; ?> |
|---|
| 36 | °Ì¤Î¾ðÊó¤ÏÇË´þ¤µ¤ì¤Þ¤¹¡£µ¹¤·¤¤¤Ç¤·¤ç¤¦¤«')){
|
|---|
| 37 | flag = false;
|
|---|
| 38 | }
|
|---|
| 39 | }
|
|---|
| 40 | }
|
|---|
| 41 |
|
|---|
| 42 | if ( flag ){
|
|---|
| 43 | win03('./recommend_search.php?rank=' + rank,'search','500','500');
|
|---|
| 44 | }
|
|---|
| 45 | }
|
|---|
| 46 |
|
|---|
| 47 | //-->
|
|---|
| 48 | </script>
|
|---|
| 49 |
|
|---|
| 50 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
|---|
| 51 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
|---|
| 52 | <tr valign="top">
|
|---|
| 53 | <td background="<?php echo @URL_DIR; ?> |
|---|
| 54 | img/contents/navi_bg.gif" height="402">
|
|---|
| 55 | <!--¢§SUB NAVI-->
|
|---|
| 56 | <?php $_smarty_tpl_vars = $this->_tpl_vars; |
|---|
| 57 | $this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['tpl_subnavi'], 'smarty_include_vars' => array())); |
|---|
| 58 | $this->_tpl_vars = $_smarty_tpl_vars; |
|---|
| 59 | unset($_smarty_tpl_vars); |
|---|
| 60 | ?>
|
|---|
| 61 | <!--¢¥SUB NAVI-->
|
|---|
| 62 | </td>
|
|---|
| 63 | <td class="mainbg" >
|
|---|
| 64 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
|---|
| 65 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
|---|
| 66 | <tr>
|
|---|
| 67 | <td align="center">
|
|---|
| 68 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
|---|
| 69 |
|
|---|
| 70 | <tr><td height="14"></td></tr>
|
|---|
| 71 | <tr>
|
|---|
| 72 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
|---|
| 73 | img/contents/main_top.jpg" width="706" height="14" alt=""></td>
|
|---|
| 74 | </tr>
|
|---|
| 75 | <tr>
|
|---|
| 76 | <td background="<?php echo @URL_DIR; ?> |
|---|
| 77 | img/contents/main_left.jpg"><img src="<?php echo @URL_DIR; ?> |
|---|
| 78 | img/common/_.gif" width="14" height="1" alt=""></td>
|
|---|
| 79 | <td bgcolor="#cccccc">
|
|---|
| 80 |
|
|---|
| 81 | <!--ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
|
|---|
| 82 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
|---|
| 83 | <tr>
|
|---|
| 84 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
|---|
| 85 | img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
|---|
| 86 | </tr>
|
|---|
| 87 | <tr>
|
|---|
| 88 | <td background="<?php echo @URL_DIR; ?> |
|---|
| 89 | img/contents/contents_title_left_bg.gif"><img src="<?php echo @URL_DIR; ?> |
|---|
| 90 | img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
|
|---|
| 91 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥ª¥¹¥¹¥á´ÉÍý</span></td>
|
|---|
| 92 | <td background="<?php echo @URL_DIR; ?> |
|---|
| 93 | img/contents/contents_title_right_bg.gif"><img src="<?php echo @URL_DIR; ?> |
|---|
| 94 | img/common/_.gif" width="18" height="1" alt=""></td>
|
|---|
| 95 | </tr>
|
|---|
| 96 | <tr>
|
|---|
| 97 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
|---|
| 98 | img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
|---|
| 99 | </tr>
|
|---|
| 100 | <tr>
|
|---|
| 101 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
|---|
| 102 | img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
|---|
| 103 | </tr>
|
|---|
| 104 | </table>
|
|---|
| 105 |
|
|---|
| 106 | <?php unset($this->_sections['cnt']); |
|---|
| 107 | $this->_sections['cnt']['name'] = 'cnt'; |
|---|
| 108 | $this->_sections['cnt']['loop'] = is_array($_loop=$this->_tpl_vars['tpl_disp_max']) ? count($_loop) : max(0, (int)$_loop); unset($_loop); |
|---|
| 109 | $this->_sections['cnt']['show'] = true; |
|---|
| 110 | $this->_sections['cnt']['max'] = $this->_sections['cnt']['loop']; |
|---|
| 111 | $this->_sections['cnt']['step'] = 1; |
|---|
| 112 | $this->_sections['cnt']['start'] = $this->_sections['cnt']['step'] > 0 ? 0 : $this->_sections['cnt']['loop']-1; |
|---|
| 113 | if ($this->_sections['cnt']['show']) { |
|---|
| 114 | $this->_sections['cnt']['total'] = $this->_sections['cnt']['loop']; |
|---|
| 115 | if ($this->_sections['cnt']['total'] == 0) |
|---|
| 116 | $this->_sections['cnt']['show'] = false; |
|---|
| 117 | } else |
|---|
| 118 | $this->_sections['cnt']['total'] = 0; |
|---|
| 119 | if ($this->_sections['cnt']['show']): |
|---|
| 120 | |
|---|
| 121 | for ($this->_sections['cnt']['index'] = $this->_sections['cnt']['start'], $this->_sections['cnt']['iteration'] = 1; |
|---|
| 122 | $this->_sections['cnt']['iteration'] <= $this->_sections['cnt']['total']; |
|---|
| 123 | $this->_sections['cnt']['index'] += $this->_sections['cnt']['step'], $this->_sections['cnt']['iteration']++): |
|---|
| 124 | $this->_sections['cnt']['rownum'] = $this->_sections['cnt']['iteration']; |
|---|
| 125 | $this->_sections['cnt']['index_prev'] = $this->_sections['cnt']['index'] - $this->_sections['cnt']['step']; |
|---|
| 126 | $this->_sections['cnt']['index_next'] = $this->_sections['cnt']['index'] + $this->_sections['cnt']['step']; |
|---|
| 127 | $this->_sections['cnt']['first'] = ($this->_sections['cnt']['iteration'] == 1); |
|---|
| 128 | $this->_sections['cnt']['last'] = ($this->_sections['cnt']['iteration'] == $this->_sections['cnt']['total']); |
|---|
| 129 | ?>
|
|---|
| 130 | <!--¢§¤ª¤¹¤¹¤á<?php echo $this->_sections['cnt']['iteration']; ?> |
|---|
| 131 | -->
|
|---|
| 132 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
|---|
| 133 | <form name="form<?php echo $this->_sections['cnt']['iteration']; ?> |
|---|
| 134 | " id="form<?php echo $this->_sections['cnt']['iteration']; ?> |
|---|
| 135 | " method="post" action="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
|---|
| 136 | ">
|
|---|
| 137 | <input type="hidden" name="mode" value="regist">
|
|---|
| 138 | <input type="hidden" name="product_id" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrItems'][$this->_sections['cnt']['iteration']]['product_id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
|---|
| 139 | ">
|
|---|
| 140 | <input type="hidden" name="category_id" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['category_id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
|---|
| 141 | ">
|
|---|
| 142 | <input type="hidden" name="rank" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrItems'][$this->_sections['cnt']['iteration']]['rank'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
|---|
| 143 | ">
|
|---|
| 144 |
|
|---|
| 145 | <tr class="fs12n">
|
|---|
| 146 | <td bgcolor="#f2f1ec" width="15" align="center"><?php echo $this->_sections['cnt']['iteration']; ?> |
|---|
| 147 | </td>
|
|---|
| 148 | <td bgcolor="#ffffff" width="130" align="center">
|
|---|
| 149 | <?php if ($this->_tpl_vars['arrItems'][$this->_sections['cnt']['iteration']]['main_list_image'] != ""): ?>
|
|---|
| 150 | <?php $this->assign('image_path', (@IMAGE_SAVE_URL)."/".($this->_tpl_vars['arrItems'][$this->_sections['cnt']['iteration']]['main_list_image'])); ?>
|
|---|
| 151 | <?php else: ?>
|
|---|
| 152 | <?php $this->assign('image_path', (@NO_IMAGE_URL)); ?>
|
|---|
| 153 | <?php endif; ?>
|
|---|
| 154 | <img src="<?php echo $this->_tpl_vars['image_path']; ?> |
|---|
| 155 | " alt="" />
|
|---|
| 156 | </td>
|
|---|
| 157 | <td bgcolor="#ffffff" width="40" align="center">
|
|---|
| 158 | <?php if ($this->_tpl_vars['arrItems'][$this->_sections['cnt']['iteration']]['product_id']): ?>
|
|---|
| 159 | <a href="#" onClick="return fnInsertValAndSubmit( document.form<?php echo $this->_sections['cnt']['iteration']; ?> |
|---|
| 160 | , 'mode', 'delete', 'ºï½ü¤·¤Þ¤¹¡£µ¹¤·¤¤¤Ç¤¹¤«' )">ºï½ü</a>
|
|---|
| 161 | <?php endif; ?>
|
|---|
| 162 | </td>
|
|---|
| 163 | <td bgcolor="#ffffff" width="40" align="center">
|
|---|
| 164 | <a href="#" onclick="lfnCheckSetItem('<?php echo $this->_sections['cnt']['iteration']; ?> |
|---|
| 165 | '); return false;" target="_blank">
|
|---|
| 166 | <?php if ($this->_tpl_vars['arrItems'][$this->_sections['cnt']['iteration']]['product_id']): ?>¾¦ÉÊ<br/>Êѹ¹<?php else: ?>¾¦ÉÊ<br/>ÁªÂò<?php endif; ?>
|
|---|
| 167 | </a></td>
|
|---|
| 168 | <td bgcolor="#ffffff" width="350">
|
|---|
| 169 | <table width="350" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
|---|
| 170 | <tr class="fs12">
|
|---|
| 171 | <td width="70">¾¦ÉÊ̾¡§<?php echo ((is_array($_tmp=$this->_tpl_vars['arrItems'][$this->_sections['cnt']['iteration']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
|---|
| 172 | </td>
|
|---|
| 173 | </tr>
|
|---|
| 174 | <tr><td height="5"></td></tr>
|
|---|
| 175 | <tr class="fs12">
|
|---|
| 176 | <td colspan="2">¥ª¥¹¥¹¥á¥³¥á¥ó¥È¡§</td>
|
|---|
| 177 | </tr>
|
|---|
| 178 | <tr>
|
|---|
| 179 | <td colspan="2" class="fs12n">
|
|---|
| 180 | <span class="red"><?php echo $this->_tpl_vars['arrErr'][$this->_sections['cnt']['iteration']]['comment']; ?> |
|---|
| 181 | </span>
|
|---|
| 182 | <textarea name="comment" cols="45" rows="4" style="width: 337px; height: 82px; " <?php echo ((is_array($_tmp=$this->_tpl_vars['arrItems'][$this->_sections['cnt']['iteration']]['product_id'])) ? $this->_run_mod_handler('sfGetEnabled', true, $_tmp) : sfGetEnabled($_tmp)); ?> |
|---|
| 183 | ><?php echo $this->_tpl_vars['arrItems'][$this->_sections['cnt']['iteration']]['comment']; ?> |
|---|
| 184 | </textarea>
|
|---|
| 185 | </td>
|
|---|
| 186 | </tr>
|
|---|
| 187 | <?php if ($this->_tpl_vars['arrItems'][$this->_sections['cnt']['iteration']]['product_id']): ?>
|
|---|
| 188 | <tr><td colspan=2><input type="submit" name="subm" value="ÅÐÏ¿¤¹¤ë" onclick="return lfnCheckSubmit(document.form<?php echo $this->_sections['cnt']['iteration']; ?> |
|---|
| 189 | );"/></td></tr>
|
|---|
| 190 | <?php endif; ?>
|
|---|
| 191 | </table>
|
|---|
| 192 | </td>
|
|---|
| 193 | </tr>
|
|---|
| 194 | </form>
|
|---|
| 195 | </table>
|
|---|
| 196 | <!--¢¥¤ª¤¹¤¹¤á<?php echo $this->_sections['cnt']['iteration']; ?> |
|---|
| 197 | -->
|
|---|
| 198 | <?php endfor; endif; ?>
|
|---|
| 199 |
|
|---|
| 200 | <!--ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
|
|---|
| 201 | </td>
|
|---|
| 202 | <td background="<?php echo @URL_DIR; ?> |
|---|
| 203 | img/contents/main_right.jpg"><img src="<?php echo @URL_DIR; ?> |
|---|
| 204 | img/common/_.gif" width="14" height="1" alt=""></td>
|
|---|
| 205 | </tr>
|
|---|
| 206 | <tr>
|
|---|
| 207 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
|---|
| 208 | img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
|
|---|
| 209 | </tr>
|
|---|
| 210 | <tr><td height="30"></td></tr>
|
|---|
| 211 |
|
|---|
| 212 | </table>
|
|---|
| 213 | </td>
|
|---|
| 214 | </tr>
|
|---|
| 215 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
|---|
| 216 | </table>
|
|---|
| 217 | </td>
|
|---|
| 218 | </tr>
|
|---|
| 219 | </table>
|
|---|
| 220 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
|---|