| Line | |
|---|
| 1 | <!--{*¥Ø¥Ã¥À¡¼ÆÉ¹þ*}-->
|
|---|
| 2 | <!--{include file=`$tpl_dir_name`/header.tpl}-->
|
|---|
| 3 |
|
|---|
| 4 | <script type="text/javascript">
|
|---|
| 5 | <!--
|
|---|
| 6 | function test() {
|
|---|
| 7 | var change_tag = document.getElementsByTagName("div");
|
|---|
| 8 | var ids = "";
|
|---|
| 9 |
|
|---|
| 10 | for (var i = 0; i < change_tag.length; i++) {
|
|---|
| 11 | str = change_tag.item(i).id;
|
|---|
| 12 | if (str.match('cart_tag_*')) {
|
|---|
| 13 | ids += change_tag.item(i).id + '-';
|
|---|
| 14 | }
|
|---|
| 15 | }
|
|---|
| 16 |
|
|---|
| 17 | return ids;
|
|---|
| 18 | }
|
|---|
| 19 |
|
|---|
| 20 | function init() {
|
|---|
| 21 | if(<!--{$tpl_test}-->) {
|
|---|
| 22 | alert(test());
|
|---|
| 23 | window.location.href = './index.php?test=1&ids=' + ids;
|
|---|
| 24 | }
|
|---|
| 25 | }
|
|---|
| 26 |
|
|---|
| 27 | window.onload = init;
|
|---|
| 28 |
|
|---|
| 29 | //-->
|
|---|
| 30 | </script>
|
|---|
| 31 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->">
|
|---|
| 32 | <input type="hidden" name="mode" value="cart">
|
|---|
| 33 | <input type="hidden" name="product_id" value="">
|
|---|
| 34 |
|
|---|
| 35 | <!--{*¥³¥ó¥Æ¥ó¥ÄÆÉ¹þ*}-->
|
|---|
| 36 | <!--{include file=`$tpl_dir_name`/contents.tpl}-->
|
|---|
| 37 |
|
|---|
| 38 | </form>
|
|---|
| 39 |
|
|---|
| 40 | <!--{*¥Õ¥Ã¥¿¡¼ÆÉ¹þ*}-->
|
|---|
| 41 | <!--{include file=`$tpl_dir_name`/footer.tpl}--> |
|---|
Note: See
TracBrowser
for help on using the repository browser.