1 | <script type="text/javascript"> |
---|
2 | <!-- |
---|
3 | function next(now, next) { |
---|
4 | if (now.value.length >= now.getAttribute('maxlength')) { |
---|
5 | next.focus(); |
---|
6 | } |
---|
7 | } |
---|
8 | var send = true; |
---|
9 | |
---|
10 | function fnCheckSubmit() { |
---|
11 | if(send) { |
---|
12 | send = false; |
---|
13 | return true; |
---|
14 | } else { |
---|
15 | alert("Âþº£¡¢½èÍýÃæ¤Ç¤¹¡£¤·¤Ð¤é¤¯¤ªÂÔ¤Á²¼¤µ¤¤¡£"); |
---|
16 | return false; |
---|
17 | } |
---|
18 | } |
---|
19 | |
---|
20 | |
---|
21 | function fnCheckPayment(){ |
---|
22 | var fm = document.form1; |
---|
23 | var val = 0; |
---|
24 | list = new Array('card_no01','card_no02','card_no03','card_no04','card_month','card_year','card_name01','card_name02'); |
---|
25 | if(fm['quick_check'].checked){ |
---|
26 | fnChangeDisabled(list); |
---|
27 | }else{ |
---|
28 | fnChangeDisabled(list, false); |
---|
29 | } |
---|
30 | } |
---|
31 | |
---|
32 | function fnChangeDisabled(list, disable) { |
---|
33 | len = list.length; |
---|
34 | |
---|
35 | if(disable == null) { disable = true; } |
---|
36 | |
---|
37 | for(i = 0; i < len; i++) { |
---|
38 | if(document.form1[list[i]]) { |
---|
39 | // ¥é¥¸¥ª¥Ü¥¿¥ó¡¢¥Á¥§¥Ã¥¯¥Ü¥Ã¥¯¥¹Åù¤ÎÇÛÎó¤ËÂбþ |
---|
40 | max = document.form1[list[i]].length |
---|
41 | if(max > 1) { |
---|
42 | for(j = 0; j < max; j++) { |
---|
43 | // ͸ú¡¢Ìµ¸ú¤ÎÀÚ¤êÂؤ¨ |
---|
44 | document.form1[list[i]][j].disabled = disable; |
---|
45 | } |
---|
46 | } else { |
---|
47 | // ͸ú¡¢Ìµ¸ú¤ÎÀÚ¤êÂؤ¨ |
---|
48 | document.form1[list[i]].disabled = disable; |
---|
49 | } |
---|
50 | } |
---|
51 | } |
---|
52 | } |
---|
53 | //--> |
---|
54 | </script> |
---|
55 | |
---|
56 | <!--¢§CONTENTS--> |
---|
57 | <table width="760" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
58 | <tr> |
---|
59 | <td align="center" bgcolor="#ffffff"> |
---|
60 | <!--¢§MAIN ONTENTS--> |
---|
61 | <!--¹ØÆþ¼ê³¤¤Îή¤ì--> |
---|
62 | <table width="700" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
63 | <tr> |
---|
64 | <td><img src="/img/shopping/flow03.gif" width="700" height="36" alt="¹ØÆþ¼ê³¤¤Îή¤ì"></td> |
---|
65 | |
---|
66 | </tr> |
---|
67 | <tr><td height="15"></td></tr> |
---|
68 | </table> |
---|
69 | <!--¹ØÆþ¼ê³¤¤Îή¤ì--> |
---|
70 | |
---|
71 | <!--¢§MAIN CONTENTS--> |
---|
72 | <table width="666" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
73 | <tr> |
---|
74 | <td colspan="3"><img src="/img/contents/contents_title_top.gif" width="666" height="7" alt=""></td> |
---|
75 | </tr> |
---|
76 | <tr> |
---|
77 | <td background="/img/contents/contents_title_left_bg.gif"><img src="/img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> |
---|
78 | <td bgcolor="#636469" width="638" class="fs16n"><strong><span class="white"><!--{$tpl_payment_method}--></span><strong></td> |
---|
79 | <td background="/img/contents/contents_title_right_bg.gif"><img src="/img/common/_.gif" width="18" height="1" alt=""></td> |
---|
80 | </tr> |
---|
81 | <tr> |
---|
82 | <td colspan="3"><img src="/img/contents/contents_title_bottom.gif" width="666" height="7" alt=""></td> |
---|
83 | </tr> |
---|
84 | <tr><td height="15"></td></tr> |
---|
85 | </table> |
---|
86 | |
---|
87 | <table width="666" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
88 | <tr> |
---|
89 | <td bgcolor="#ffffff"> |
---|
90 | |
---|
91 | <!--{if $tpl_error != ""}--> |
---|
92 | <!-- ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸ --> |
---|
93 | <table width="666" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
94 | <tr> |
---|
95 | <td bgcolor="#cccccc"> |
---|
96 | <table width="666" border="0" cellspacing="1" cellpadding="10" summary=" "> |
---|
97 | <tr> |
---|
98 | <td width="666" class="fs12" bgcolor="#ffffff"> |
---|
99 | <span class="redst"><!--{$tpl_error}--></span> |
---|
100 | </td> |
---|
101 | </tr> |
---|
102 | </table> |
---|
103 | </tr> |
---|
104 | <tr><td height="15"></td></tr> |
---|
105 | </table> |
---|
106 | <!--{/if}--> |
---|
107 | |
---|
108 | <table width="666" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
109 | <form name="form1" id="form1" method="post" action="./load_payment_module.php" autocomplete="off"> |
---|
110 | <input type="hidden" name="mode" value="regist"> |
---|
111 | <tr><td height="5" class="fs12"></td></tr> |
---|
112 | <tr> |
---|
113 | <td bgcolor="#cccccc"> |
---|
114 | <table width="666" border="0" cellspacing="1" cellpadding="10" summary=" "> |
---|
115 | <!--{if $tpl_payment_image != ""}--> |
---|
116 | <tr> |
---|
117 | <td width="170" class="fs12" bgcolor="#f3f3f3">¤´ÍøÍѤ¤¤¿¤À¤±¤ë¥«¡¼¥É¤Î¼ïÎà</td> |
---|
118 | <td width="453" bgcolor="#ffffff"> |
---|
119 | <img src="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$tpl_payment_image}-->"> |
---|
120 | </td> |
---|
121 | </tr> |
---|
122 | <!--{/if}--> |
---|
123 | <tr> |
---|
124 | <td class="fs12" bgcolor="#f3f3f3">¥«¡¼¥ÉÈÖ¹æ</td> |
---|
125 | <td class="fs12" bgcolor="#ffffff"> |
---|
126 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
127 | <tr> |
---|
128 | <!--{assign var=key1 value="card_no01"}--> |
---|
129 | <!--{assign var=key2 value="card_no02"}--> |
---|
130 | <!--{assign var=key3 value="card_no03"}--> |
---|
131 | <!--{assign var=key4 value="card_no04"}--> |
---|
132 | <td class="fs12"> |
---|
133 | <span class="red"><!--{$arrErr[$key1]}--></span> |
---|
134 | <span class="red"><!--{$arrErr[$key2]}--></span> |
---|
135 | <span class="red"><!--{$arrErr[$key3]}--></span> |
---|
136 | <span class="red"><!--{$arrErr[$key4]}--></span> |
---|
137 | <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="ime-mode: disabled; <!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" onkeyup="next(this, this.form.<!--{$key2}-->)" > - |
---|
138 | <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="ime-mode: disabled; <!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" onkeyup="next(this, this.form.<!--{$key3}-->)" > - |
---|
139 | <input type="text" name="<!--{$key3}-->" value="<!--{$arrForm[$key3].value|escape}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="ime-mode: disabled; <!--{$arrErr[$key3]|sfGetErrorColor}-->" size="6" onkeyup="next(this, this.form.<!--{$key4}-->)" > - |
---|
140 | <input type="text" name="<!--{$key4}-->" value="<!--{$arrForm[$key4].value|escape}-->" maxlength="<!--{$arrForm[$key4].length}-->" style="ime-mode: disabled; <!--{$arrErr[$key4]|sfGetErrorColor}-->" size="6"> |
---|
141 | </td> |
---|
142 | </tr> |
---|
143 | <tr><td height="5"></td></tr> |
---|
144 | <tr> |
---|
145 | <td class="fs10"><span class="orange">¤´ËÜ¿Í̾µÁ¤Î¥«¡¼¥É¤ò¤´»ÈÍѤ¯¤À¤µ¤¤¡£</span><br> |
---|
146 | Ⱦ³ÑÆþÎÏ¡ÊÎ㡧1234-5678-9012-3456¡Ë</td> |
---|
147 | </tr> |
---|
148 | </table> |
---|
149 | </td> |
---|
150 | </tr> |
---|
151 | <tr> |
---|
152 | <td class="fs12" bgcolor="#f3f3f3">͸ú´ü¸Â</td> |
---|
153 | <!--{assign var=key1 value="card_month"}--> |
---|
154 | <!--{assign var=key2 value="card_year"}--> |
---|
155 | <td bgcolor="#ffffff" class="fs12"> |
---|
156 | <span class="red"><!--{$arrErr[$key1]}--></span> |
---|
157 | <span class="red"><!--{$arrErr[$key2]}--></span> |
---|
158 | <select name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" > |
---|
159 | <option value="">--</option> |
---|
160 | <!--{html_options options=$arrMonth selected=$arrForm[$key1].value}--> |
---|
161 | </select>·î/ |
---|
162 | <select name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" > |
---|
163 | <option value="">--</option> |
---|
164 | <!--{html_options options=$arrYear selected=$arrForm[$key2].value}--> |
---|
165 | </select>ǯ</td> |
---|
166 | </tr> |
---|
167 | <tr> |
---|
168 | <td class="fs12" bgcolor="#f3f3f3">¥«¡¼¥É̾µÁ¡Ê¥í¡¼¥Þ»ú»á̾¡Ë</td> |
---|
169 | <td bgcolor="#ffffff"> |
---|
170 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
171 | <tr> |
---|
172 | <!--{assign var=key2 value="card_name01"}--> |
---|
173 | <!--{assign var=key1 value="card_name02"}--> |
---|
174 | <td class="fs12"> |
---|
175 | <span class="red"><!--{$arrErr[$key1]}--></span> |
---|
176 | <span class="red"><!--{$arrErr[$key2]}--></span> |
---|
177 | ̾ <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="20" class="bo20"> À« |
---|
178 | <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="20" class="bo20"></td> |
---|
179 | </tr> |
---|
180 | <tr><td height="5"></td></tr> |
---|
181 | <tr> |
---|
182 | <td class="fs10">Ⱦ³ÑÆþÎÏ¡ÊÎ㡧TARO YAMADA¡Ë</td> |
---|
183 | </tr> |
---|
184 | </table> |
---|
185 | </td> |
---|
186 | </tr> |
---|
187 | <tr>
|
---|
188 | <td class="fs12" bgcolor="#f3f3f3">¤ª»Ùʧ¤¤ÊýË¡</td>
|
---|
189 | <td bgcolor="#ffffff">
|
---|
190 | <table cellspacing="0" cellpadding="0" summary=" ">
|
---|
191 | <tr>
|
---|
192 | <!--{assign var=key value="paymethod"}-->
|
---|
193 | <td class="fs12n">
|
---|
194 | <select name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" >
|
---|
195 | <!--{html_options options=$arrPayMethod selected=$arrForm[$key].value}-->
|
---|
196 | </select></td>
|
---|
197 | </tr>
|
---|
198 | </table>
|
---|
199 | </td>
|
---|
200 | </tr> |
---|
201 | </table> |
---|
202 | </td> |
---|
203 | </tr> |
---|
204 | </table> |
---|
205 | |
---|
206 | <table width="666" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
207 | <tr><td height="5"></td></tr> |
---|
208 | <tr> |
---|
209 | <td align="center" bgcolor="#f7f5f4"> |
---|
210 | <table width="666" border="0" cellspacing="0" cellpadding="6" summary=" "> |
---|
211 | <tr> |
---|
212 | <td class="fs12st" align="center">°Ê¾å¤ÎÆâÍƤǴְ㤤¤Ê¤±¤ì¤Ð¡¢²¼µ¡ÖÃíʸ´°Î»¥Ú¡¼¥¸¤Ø¡×¥Ü¥¿¥ó¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£<br> |
---|
213 | <span class="orange">¢¨²èÌ̤¬ÀÚ¤êÂؤë¤Þ¤Ç¾¯¡¹»þ´Ö¤¬¤«¤«¤ë¾ì¹ç¤¬¤´¤¶¤¤¤Þ¤¹¤¬¡¢¤½¤Î¤Þ¤Þ¤ªÂÔ¤Á¤¯¤À¤µ¤¤¡£</span></td> |
---|
214 | </tr> |
---|
215 | <tr> |
---|
216 | <td align="center" height="40" bgcolor="#f7f5f4"> |
---|
217 | <a href="#" onclick="document.form2.submit(); return false;" onmouseover="chgImgImageSubmit('/img/common/b_back_on.gif',back03)" onmouseout="chgImgImageSubmit('/img/common/b_back.gif',back03)"><img src="/img/common/b_back.gif" width="150" height="30" alt="Ìá¤ë" border="0" name="back03" id="back03"/></a><img src="/img/_.gif" width="12" height="" alt="" /> |
---|
218 | <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('/img/common/b_next_on.gif',this)" onmouseout="chgImgImageSubmit('/img/common/b_next.gif',this)" src="/img/common/b_next.gif" width="150" height="30" alt="¼¡¤Ø" border="0" name="next" id="next" /> |
---|
219 | </td> |
---|
220 | </tr> |
---|
221 | </table> |
---|
222 | |
---|
223 | </td> |
---|
224 | </tr> |
---|
225 | </table> |
---|
226 | </td> |
---|
227 | </tr> |
---|
228 | </table> |
---|
229 | </form> |
---|
230 | <form name="form2" id="form2" method="post" action="./load_payment_module.php" autocomplete="off"> |
---|
231 | <input type="hidden" name="mode" value="return"> |
---|
232 | </form> |
---|
233 | <!--¢¥MAIN CONTENTS--> |
---|
234 | </td> |
---|
235 | </tr> |
---|
236 | |
---|
237 | </table> |
---|
238 | <!--¢¥CONTENTS--> |
---|