source: branches/comu/data/Smarty/templates_c/%%F1^F1F^F1F1F6FA%%deliv.tpl.php @ 2

Revision 2, 8.3 KB checked in by root, 20 years ago (diff)

new import

Line 
1<?php /* Smarty version 2.6.13, created on 2007-01-10 00:05:52
2         compiled from shopping/deliv.tpl */ ?>
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'shopping/deliv.tpl', 23, false),)), $this); ?>
5<!--¢§CONTENTS-->
6<table width="760" border="0" cellspacing="0" cellpadding="0" summary=" ">
7    <tr>
8        <td align="center" bgcolor="#ffffff">
9       
10        <!--¹ØÆþ¼ê³¤­¤Îή¤ì-->
11        <table width="700" border="0" cellspacing="0" cellpadding="0" summary=" ">
12            <tr><td height="15"></td></tr>
13            <tr>
14                <td><img src="<?php echo @URL_DIR; ?>
15img/shopping/flow01.gif" width="700" height="36" alt="¹ØÆþ¼ê³¤­¤Îή¤ì"></td>
16            </tr>
17            <tr><td height="15"></td></tr>
18        </table>
19        <!--¹ØÆþ¼ê³¤­¤Îή¤ì-->
20
21        <!--¢§MAIN ONTENTS-->
22        <table width="700" border="0" cellspacing="0" cellpadding="0" summary=" ">
23        <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)); ?>
24">
25        <input type="hidden" name="mode" value="customer_addr">
26        <input type="hidden" name="uniqid" value="<?php echo $this->_tpl_vars['tpl_uniqid']; ?>
27">
28        <input type="hidden" name="other_deliv_id" value="">
29            <tr>
30                <td><img src="<?php echo @URL_DIR; ?>
31img/shopping/deliv_title.jpg" width="700" height="40" alt="¤ªÆÏ¤±Àè¤Î»ØÄê"></td>
32            </tr>
33            <tr><td height="15"></td></tr>
34            <tr>
35                <td class="fs12">²¼µ­°ìÍ÷¤è¤ê¤ªÆÏ¤±Àè½»½ê¤òÁªÂò¤·¤Æ¡¢¡ÖÁªÂò¤·¤¿¤ªÆÏ¤±Àè¤ËÁ÷¤ë¡×¥Ü¥¿¥ó¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£
36                °ìÍ÷¤Ë¤´´õ˾¤Î½»½ê¤¬Ìµ¤¤¾ì¹ç¤Ï¡¢¡Ö¿·¤·¤¤¤ªÆÏ¤±Àè¤òÄɲ乤ë¡×¤è¤êÄɲÃÅÐÏ¿¤·¤Æ¤¯¤À¤µ¤¤¡£<br>
37                ¢¨ºÇÂç20·ï¤Þ¤ÇÅÐÏ¿¤Ç¤­¤Þ¤¹¡£</td>
38            </tr>
39            <tr><td height="15"></td></tr>
40            <tr>
41                <td>
42                    <a href="../mypage/delivery_addr.php" onclick="win02('../mypage/delivery_addr.php?page=<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
43','new_deiv','600','640'); return false;" onmouseover="chgImg('<?php echo @URL_DIR; ?>
44img/common/newadress_on.gif','addition');" onmouseout="chgImg('<?php echo @URL_DIR; ?>
45img/common/newadress.gif','addition');"><img src="<?php echo @URL_DIR; ?>
46img/common/newadress.gif" width="160" height="22" alt="¿·¤·¤¤¤ªÆÏ¤±Àè¤òÄɲ乤ë" name="addition" id="addition" /></a>
47                </td>
48            </tr>
49            <tr><td height="20"></td></tr>
50            <tr>
51                <td bgcolor="#cccccc">
52                <!--ɽ¼¨¥¨¥ê¥¢¤³¤³¤«¤é-->
53               
54                <?php if ($this->_tpl_vars['arrErr']['deli'] != ""): ?>
55                <table width="700" border="0" cellspacing="2" cellpadding="10" summary=" " bgcolor="#ff7e56">
56                    <tr>
57                        <td align="center" class="fs14" bgcolor="#ffffff">
58                            <span class="red"><strong><?php echo $this->_tpl_vars['arrErr']['deli']; ?>
59</strong></span>
60                        </td>
61                    </tr>
62                </table>
63                </td></tr><tr><td height=15></td></tr><tr><td bgcolor="#cccccc">
64                <?php endif; ?>
65               
66                <table width="700" border="0" cellspacing="1" cellpadding="10" summary=" ">
67                    <tr align="center" bgcolor="#f0f0f0">
68                        <td width="40" class="fs12">ÁªÂò</td>
69                        <td width="100" class="fs12">½»½ê¼ïÎà</td>
70                        <td width="374" class="fs12">¤ªÆÏ¤±Àè</td>
71                        <td width="40" class="fs12">Êѹ¹</td>
72                        <td width="40" class="fs12">ºï½ü</td>
73                    </tr>
74
75                    <?php unset($this->_sections['cnt']);
76$this->_sections['cnt']['name'] = 'cnt';
77$this->_sections['cnt']['loop'] = is_array($_loop=$this->_tpl_vars['arrAddr']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
78$this->_sections['cnt']['show'] = true;
79$this->_sections['cnt']['max'] = $this->_sections['cnt']['loop'];
80$this->_sections['cnt']['step'] = 1;
81$this->_sections['cnt']['start'] = $this->_sections['cnt']['step'] > 0 ? 0 : $this->_sections['cnt']['loop']-1;
82if ($this->_sections['cnt']['show']) {
83    $this->_sections['cnt']['total'] = $this->_sections['cnt']['loop'];
84    if ($this->_sections['cnt']['total'] == 0)
85        $this->_sections['cnt']['show'] = false;
86} else
87    $this->_sections['cnt']['total'] = 0;
88if ($this->_sections['cnt']['show']):
89
90            for ($this->_sections['cnt']['index'] = $this->_sections['cnt']['start'], $this->_sections['cnt']['iteration'] = 1;
91                 $this->_sections['cnt']['iteration'] <= $this->_sections['cnt']['total'];
92                 $this->_sections['cnt']['index'] += $this->_sections['cnt']['step'], $this->_sections['cnt']['iteration']++):
93$this->_sections['cnt']['rownum'] = $this->_sections['cnt']['iteration'];
94$this->_sections['cnt']['index_prev'] = $this->_sections['cnt']['index'] - $this->_sections['cnt']['step'];
95$this->_sections['cnt']['index_next'] = $this->_sections['cnt']['index'] + $this->_sections['cnt']['step'];
96$this->_sections['cnt']['first']      = ($this->_sections['cnt']['iteration'] == 1);
97$this->_sections['cnt']['last']       = ($this->_sections['cnt']['iteration'] == $this->_sections['cnt']['total']);
98?>     
99                        <tr class="fs12" bgcolor="#ffffff">
100                            <td align="center">
101                                <?php if ($this->_sections['cnt']['first']): ?>
102                                <input type="radio" name="deli" id="chk_id_<?php echo $this->_sections['cnt']['iteration']; ?>
103" value="<?php echo $this->_sections['cnt']['iteration']; ?>
104" onclick="mode.value='customer_addr';">
105                                <?php else: ?>
106                                <input type="radio" name="deli" id="chk_id_<?php echo $this->_sections['cnt']['iteration']; ?>
107" value="<?php echo $this->_sections['cnt']['iteration']; ?>
108" onclick="mode.value='other_addr'; other_deliv_id.value=<?php echo $this->_tpl_vars['arrAddr'][$this->_sections['cnt']['index']]['other_deliv_id']; ?>
109;">
110                                <?php endif; ?>
111                            </td>
112                            <td>
113                                <label for="chk_id_<?php echo $this->_sections['cnt']['iteration']; ?>
114"><?php if ($this->_sections['cnt']['first']): ?>²ñ°÷ÅÐÏ¿½»½ê<?php else: ?>ÄɲÃÅÐÏ¿½»½ê<?php endif; ?></label>
115                            </td>
116                            <td>
117                                <?php $this->assign('key', $this->_tpl_vars['arrAddr'][$this->_sections['cnt']['index']]['pref']);  echo $this->_tpl_vars['arrPref'][$this->_tpl_vars['key']];  echo ((is_array($_tmp=$this->_tpl_vars['arrAddr'][$this->_sections['cnt']['index']]['addr01'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp));  echo ((is_array($_tmp=$this->_tpl_vars['arrAddr'][$this->_sections['cnt']['index']]['addr02'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
118<br/>
119                                <?php echo ((is_array($_tmp=$this->_tpl_vars['arrAddr'][$this->_sections['cnt']['index']]['name01'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
120 <?php echo ((is_array($_tmp=$this->_tpl_vars['arrAddr'][$this->_sections['cnt']['index']]['name02'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
121
122                            </td>
123                            <td align="center">
124                                <?php if (! $this->_sections['cnt']['first']): ?><a href="<?php echo @URL_DIR; ?>
125mypage/delivery_addr.php" onclick="win02('/mypage/delivery_addr.php?page=<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
126&other_deliv_id=<?php echo $this->_tpl_vars['arrAddr'][$this->_sections['cnt']['index']]['other_deliv_id']; ?>
127','new_deiv','600','640'); return false;">Êѹ¹</a><?php endif; ?>
128                            </td>
129                            <td align="center">
130                                <?php if (! $this->_sections['cnt']['first']): ?><a href="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
131" onclick="fnModeSubmit('delete', 'other_deliv_id', '<?php echo $this->_tpl_vars['arrAddr'][$this->_sections['cnt']['index']]['other_deliv_id']; ?>
132'); return false">ºï½ü</a><?php endif; ?>
133                            </td>
134                        </tr>
135                    <?php endfor; endif; ?>
136
137                </table>
138                <!--ɽ¼¨¥¨¥ê¥¢¤³¤³¤Þ¤Ç-->
139                </td>
140            </tr>
141            <tr><td height="25"></td></tr>
142            <tr align="center">
143                <td>
144                    <input type="image" onmouseover="chgImgImageSubmit('<?php echo @URL_DIR; ?>
145img/shopping/b_select_on.gif',this)" onmouseout="chgImgImageSubmit('<?php echo @URL_DIR; ?>
146img/shopping/b_select.gif',this)" src="<?php echo @URL_DIR; ?>
147img/shopping/b_select.gif" width="190" height="30" alt="ÁªÂò¤·¤¿¤ªÆÏ¤±Àè¤ËÁ÷¤ë" border="0" name="send_button" id="send_button" />
148                </td>
149            </tr>
150        </form>
151        </table>
152        <!--¢¥MAIN ONTENTS-->
153        </td>
154    </tr>
155</table>
156<!--¢¥CONTENTS-->
Note: See TracBrowser for help on using the repository browser.