source: branches/comu/data/Smarty/templates_c/%%69^695^695322CA%%index.tpl.php @ 2

Revision 2, 14.6 KB checked in by root, 17 years ago (diff)

new import

Line 
1<?php /* Smarty version 2.6.13, created on 2007-01-10 00:05:30
2         compiled from cart/index.tpl */ ?>
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'cart/index.tpl', 25, false),array('modifier', 'number_format', 'cart/index.tpl', 25, false),array('modifier', 'default', 'cart/index.tpl', 25, false),array('modifier', 'sfPreTax', 'cart/index.tpl', 93, false),)), $this); ?>
5<!--¢§CONTENTS-->
6<table width="760" border="0" cellspacing="0" cellpadding="0" summary=" ">
7    <tr>
8        <td align="center" bgcolor="#ffffff">
9        <!--¢§MAIN ONTENTS-->
10        <table width="700" border="0" cellspacing="0" cellpadding="0" summary=" ">
11            <tr>
12                <td><img src="<?php echo @URL_DIR; ?>
13img/cart/title.jpg" width="700" height="40" alt="¸½ºß¤Î¥«¥´¤ÎÃæ"></td>
14            </tr>
15            <tr><td height="15"></td></tr>
16            <tr>
17                <td><img src="<?php echo @URL_DIR; ?>
18img/cart/flame_top.gif" width="700" height="15" alt=""></td>
19            </tr>
20            <tr>
21                <td align="center" background="<?php echo @URL_DIR; ?>
22img/cart/flame_bg.gif">
23                <table width="680" border="0" cellspacing="0" cellpadding="0" summary=" ">
24                    <tr>
25                        <td align="center" class="fs14">
26                            <?php if ($this->_tpl_vars['tpl_login']): ?>
27                            <!--¥á¥¤¥ó¥³¥á¥ó¥È--><?php echo ((is_array($_tmp=$this->_tpl_vars['tpl_name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
28 ÍͤΡ¢¸½ºß¤Î½ê»ý¥Ý¥¤¥ó¥È¤Ï¡Ö<span class="redst"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['tpl_user_point'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)))) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)); ?>
29 pt</span>¡×¤Ç¤¹¡£<br />
30                            <?php else: ?>
31                            <!--¥á¥¤¥ó¥³¥á¥ó¥È-->¥Ý¥¤¥ó¥ÈÀ©ÅÙ¤ò¤´ÍøÍѤˤʤé¤ì¤ë¾ì¹ç¤Ï¡¢²ñ°÷ÅÐÏ¿¸å¥í¥°¥¤¥ó¤·¤Æ¤¤¤À¤À¤­¤Þ¤¹¤è¤¦¤ª´ê¤¤Ãפ·¤Þ¤¹¡£<br />
32                            <?php endif; ?>                         
33                            ¥Ý¥¤¥ó¥È¤Ï¾¦ÉʹØÆþ»þ¤Ë1pt¡á<?php echo @POINT_VALUE; ?>
34±ß¤È¤·¤Æ»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£<br/>
35
36                            <!-- ¥«¥´¤ÎÃæ¤Ë¾¦Éʤ¬¤¢¤ë¾ì¹ç¤Ë¤Î¤ßɽ¼¨ -->
37                            <?php if (count ( $this->_tpl_vars['arrProductsClass'] ) > 0): ?>
38                                ¤ªÇ㤤¾å¤²¾¦Éʤιç·×¶â³Û¤Ï¡Ö<span class="redst"><?php echo ((is_array($_tmp=$this->_tpl_vars['tpl_total_pretax'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
39±ß</span>¡×¤Ç¤¹¡£
40                                <?php if ($this->_tpl_vars['arrInfo']['free_rule'] > 0): ?>
41                                <?php if (((is_array($_tmp=$this->_tpl_vars['arrData']['deliv_fee'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)) > 0): ?>
42                                    ¤¢¤È¡Ö<span class="redst"><?php echo ((is_array($_tmp=$this->_tpl_vars['tpl_deliv_free'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
43±ß</span>¡×¤ÇÁ÷ÎÁ̵ÎÁ¤Ç¤¹¡ª¡ª
44                                <?php else: ?>
45                                    ¸½ºß¡¢¡Ö<span class="redst">Á÷ÎÁ̵ÎÁ</span>¡×¤Ç¤¹¡ª¡ª
46                                <?php endif; ?>
47                                <?php endif; ?>
48                            <?php endif; ?>
49                        </td>
50                    </tr>
51                </table>
52                </td>
53            </tr>
54            <tr>
55                <td><img src="<?php echo @URL_DIR; ?>
56img/cart/flame_bottom.gif" width="700" height="15" alt=""></td>
57            </tr>
58            <tr><td height="15"></td></tr>
59            <tr>
60                <td bgcolor="#cccccc" align="center">
61                    <?php if ($this->_tpl_vars['tpl_message'] != ""): ?>
62                    <table cellspacing="0" cellpadding="0" summary=" " bgcolor="#ffffff" width=100%>
63                        <tr>
64                            <td class="fs12"><span class="redst"><?php echo $this->_tpl_vars['tpl_message']; ?>
65</span></td>
66                        </tr>
67                    </table>
68                    <?php endif; ?>
69                    <?php if (count ( $this->_tpl_vars['arrProductsClass'] ) > 0): ?>
70                    <table width="700" border="0" cellspacing="1" cellpadding="10" summary=" ">
71                    <form name="form1" id="form1" method="post" action="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
72">
73                    <input type="hidden" name="mode" value="confirm">
74                    <input type="hidden" name="cart_no" value="">
75   
76                    <!--¤´ÃíʸÆâÍƤ³¤³¤«¤é-->
77                   
78                        <tr align="center" bgcolor="#f0f0f0">
79                            <td width="50" class="fs12">ºï½ü</td>
80                            <td width="85" class="fs12">¾¦Éʼ̿¿</td>
81                            <td width="305" class="fs12">¾¦ÉÊ̾</td>
82                            <td width="60" class="fs12">ñ²Á</td>
83                            <td width="50" class="fs12">¸Ä¿ô</td>
84                            <td width="150" class="fs12">¾®·×</td>
85                        </tr>
86                   
87                        <?php unset($this->_sections['cnt']);
88$this->_sections['cnt']['name'] = 'cnt';
89$this->_sections['cnt']['loop'] = is_array($_loop=$this->_tpl_vars['arrProductsClass']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
90$this->_sections['cnt']['show'] = true;
91$this->_sections['cnt']['max'] = $this->_sections['cnt']['loop'];
92$this->_sections['cnt']['step'] = 1;
93$this->_sections['cnt']['start'] = $this->_sections['cnt']['step'] > 0 ? 0 : $this->_sections['cnt']['loop']-1;
94if ($this->_sections['cnt']['show']) {
95    $this->_sections['cnt']['total'] = $this->_sections['cnt']['loop'];
96    if ($this->_sections['cnt']['total'] == 0)
97        $this->_sections['cnt']['show'] = false;
98} else
99    $this->_sections['cnt']['total'] = 0;
100if ($this->_sections['cnt']['show']):
101
102            for ($this->_sections['cnt']['index'] = $this->_sections['cnt']['start'], $this->_sections['cnt']['iteration'] = 1;
103                 $this->_sections['cnt']['iteration'] <= $this->_sections['cnt']['total'];
104                 $this->_sections['cnt']['index'] += $this->_sections['cnt']['step'], $this->_sections['cnt']['iteration']++):
105$this->_sections['cnt']['rownum'] = $this->_sections['cnt']['iteration'];
106$this->_sections['cnt']['index_prev'] = $this->_sections['cnt']['index'] - $this->_sections['cnt']['step'];
107$this->_sections['cnt']['index_next'] = $this->_sections['cnt']['index'] + $this->_sections['cnt']['step'];
108$this->_sections['cnt']['first']      = ($this->_sections['cnt']['iteration'] == 1);
109$this->_sections['cnt']['last']       = ($this->_sections['cnt']['iteration'] == $this->_sections['cnt']['total']);
110?>
111                        <tr bgcolor="#ffffff" class="fs12n">
112                            <td align="center"><a href="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
113" onclick="fnChangeAction('<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
114'); fnModeSubmit('delete', 'cart_no', '<?php echo $this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['cart_no']; ?>
115'); return false;">ºï½ü</a></td>
116                            <td ><a href="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
117" onclick="win01('../products/detail_image.php?product_id=<?php echo $this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['product_id']; ?>
118&image=main_image','detail_image','<?php echo $this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['tpl_image_width']; ?>
119','<?php echo $this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['tpl_image_height']; ?>
120'); return false;" target="_blank">
121                                <img src="<?php echo @SITE_URL; ?>
122resize_image.php?image=<?php echo @IMAGE_SAVE_DIR; ?>
123/<?php echo $this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['main_list_image']; ?>
124&width=65&height=65" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
125">
126                            </a></td>
127                            <td ><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
128</storng><br />
129                            <?php if ($this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['classcategory_name1'] != ""): ?>
130                                <?php echo $this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['class_name1']; ?>
131¡§<?php echo $this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['classcategory_name1']; ?>
132<br />
133                            <?php endif; ?>
134                            <?php if ($this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['classcategory_name2'] != ""): ?>
135                                <?php echo $this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['class_name2']; ?>
136¡§<?php echo $this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['classcategory_name2']; ?>
137
138                            <?php endif; ?>
139                            </td>
140                            <td align="right">
141                            <?php if ($this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['price02'] != ""): ?>
142                                <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['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)); ?>
143±ß
144                            <?php else: ?>
145                                <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['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)); ?>
146±ß
147                            <?php endif; ?>                     
148                            </td>
149                            <td align="center" >
150                            <table cellspacing="0" cellpadding="0" summary=" " id="form">
151                                <tr>
152                                    <td colspan="3" align="center" class="fs12n"><?php echo $this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['quantity']; ?>
153</td>
154                                </tr>
155                                <tr><td height="5"></td></tr>
156                                <tr>
157                                    <td><a href="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
158" onclick="fnChangeAction('<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
159'); fnModeSubmit('up','cart_no','<?php echo $this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['cart_no']; ?>
160'); return false"><img src="<?php echo @URL_DIR; ?>
161img/button/plus.gif" width="16" height="16" alt="¡Ü" /></a></td>
162                                    <td><img src="<?php echo @URL_DIR; ?>
163img/_.gif" width="10" height="1" alt="" /></td>
164                                    <td><a href="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
165" onclick="fnChangeAction('<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
166'); fnModeSubmit('down','cart_no','<?php echo $this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['cart_no']; ?>
167'); return false"><img src="<?php echo @URL_DIR; ?>
168img/button/minus.gif" width="16" height="16" alt="-" /></a></td>
169                                </tr>
170                            </table>
171                            </td>
172                            <td id="price_c" align="right"><?php echo ((is_array($_tmp=$this->_tpl_vars['arrProductsClass'][$this->_sections['cnt']['index']]['total_pretax'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
173±ß</td>
174                        </tr>
175                        <?php endfor; endif; ?>
176                       
177                        <tr align="right">
178                            <td colspan="5" class="fs12n" bgcolor="#f0f0f0">¾®·×</td>
179                            <td class="fs12n" bgcolor="#ffffff"><?php echo ((is_array($_tmp=$this->_tpl_vars['tpl_total_pretax'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
180±ß</td>
181                        </tr>
182                        <tr align="right">
183                            <td colspan="5" class="fs12n" bgcolor="#f0f0f0">¹ç·×</td>
184                            <td class="fs12st" bgcolor="#ffffff"><?php echo ((is_array($_tmp=$this->_tpl_vars['arrData']['total']-$this->_tpl_vars['arrData']['deliv_fee'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
185±ß</td>
186                        </tr>
187                        <?php if ($this->_tpl_vars['arrData']['birth_point'] > 0): ?>
188                        <tr align="right">
189                            <td colspan="5" class="fs12n" bgcolor="#f0f0f0">¤ªÃÂÀ¸·î¥Ý¥¤¥ó¥È</td>
190                            <td class="fs12st" bgcolor="#ffffff"><?php echo ((is_array($_tmp=$this->_tpl_vars['arrData']['birth_point'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
191pt</td>
192                        </tr>
193                        <?php endif; ?>
194                        <tr align="right">
195                            <td colspan="5" class="fs12n" bgcolor="#f0f0f0">º£²ó²Ã»»¥Ý¥¤¥ó¥È</td>
196                            <td class="fs12st" bgcolor="#ffffff"><?php echo ((is_array($_tmp=$this->_tpl_vars['arrData']['add_point'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?>
197pt</td>
198                        </tr>
199                    </table>
200                </td>
201            </tr>
202            <tr><td height="10"></td></tr>
203
204            <tr>
205                <td class="fs10">
206                    ¢¨¾¦Éʼ̿¿¤Ï»²¹ÍÍѼ̿¿¤Ç¤¹¡£¤´Ãíʸ¤Î¥«¥é¡¼¤È°Û¤Ê¤ë¼Ì¿¿¤¬É½¼¨¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ç¤â¡¢¾¦ÉÊÈÖ¹æ¤Ëµ­ºÜ¤µ¤ì¤Æ¤¤¤ë¥«¥é¡¼É½¼¨¤Ç´Ö°ã¤¤¤´¤¶¤¤¤Þ¤»¤ó¤Î¤Ç¤´°Â¿´¤¯¤À¤µ¤¤¡£<br>
207                    ¢¨¾åµ­ÎÁ¶â¤ËÊÌÅÓÁ÷ÎÁ¼ê¿ôÎÁ¤¬È¯À¸¤·¤Þ¤¹¡£¤´Ãí°Õ¤¯¤À¤µ¤¤¡£
208                </td>
209            </tr>
210            <tr><td height="30"></td></tr>
211            <tr>
212                <td align="center"><img src="<?php echo @URL_DIR; ?>
213img/cart/text.gif" width="390" height="13" alt="¾åµ­ÆâÍƤǤè¤í¤·¤±¤ì¤Ð¡Ö¥ì¥¸¤Ø¹Ô¤¯¡×¥Ü¥¿¥ó¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£"></td>
214            </tr>
215            <tr><td height="20"></td></tr>
216
217            <tr>
218                <td align="center">
219                    <?php if ($this->_tpl_vars['tpl_prev_url'] != ""): ?>
220                    <a href="<?php echo $this->_tpl_vars['tpl_prev_url']; ?>
221" onmouseOver="chgImg('<?php echo @URL_DIR; ?>
222img/cart/b_pageback_on.gif','back');" onmouseOut="chgImg('<?php echo @URL_DIR; ?>
223img/cart/b_pageback.gif','back');"><img src="<?php echo @URL_DIR; ?>
224img/cart/b_pageback.gif" width="150" height="30" alt="Á°¤Î¥Ú¡¼¥¸¤ØÌá¤ë" name="back" id="back" /></a>¡¡
225                    <?php endif; ?>
226                    <input type="image" onMouseover="chgImgImageSubmit('<?php echo @URL_DIR; ?>
227img/cart/b_buystep_on.gif',this)" onMouseout="chgImgImageSubmit('<?php echo @URL_DIR; ?>
228img/cart/b_buystep.gif',this)" src="<?php echo @URL_DIR; ?>
229img/cart/b_buystep.gif" width="150" height="30" alt="¹ØÆþ¼ê³¤­¤Ø" name="confirm" />
230                </td>
231            </tr>
232            </form>
233                    <?php else: ?>
234                        <table width=100% cellspacing="0" cellpadding="10" summary=" ">
235                            <tr bgcolor="#ffffff" align="center">
236                                <td class="fs12"><span class="redst">¢¨ ¸½ºß¥«¡¼¥ÈÆâ¤Ë¾¦ÉʤϤ´¤¶¤¤¤Þ¤»¤ó¡£</span><br />
237                            </tr>
238                        </table>
239                    <?php endif; ?>
240                </td>
241                <!--¢¥CONTENTS-->   
242        </table>
243        <!--¢¥MAIN CONTENTS-->
244        </td>
245    </tr>
246</table>
247<!--¢¥CONTENTS-->
Note: See TracBrowser for help on using the repository browser.