1 | <!--{include file="`$smarty.const.TEMPLATE_DIR`popup_header.tpl" subtitle="アンケート `$QUESTION.title`/確認画面"}--> |
---|
2 | |
---|
3 | <script type="text/javascript"> |
---|
4 | <!-- |
---|
5 | function func_return(){ |
---|
6 | document.form1.mode.value = "return"; |
---|
7 | document.form1.submit(); |
---|
8 | } |
---|
9 | //--> |
---|
10 | </script> |
---|
11 | |
---|
12 | <div id="inquiry"> |
---|
13 | <h1><!--{$QUESTION.title|escape}--></h1> |
---|
14 | <form name="form1" method="post" action="?"> |
---|
15 | <input type="hidden" name="mode" value="regist"> |
---|
16 | <!--{foreach key=key item=item from=$arrHidden}--> |
---|
17 | <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->" /> |
---|
18 | <!--{/foreach}--> |
---|
19 | <div id="inquiry-contents"><!--{$QUESTION.contents|escape|nl2br}--></div> |
---|
20 | <!--{if $errmsg}--><p><span class="attention">入力エラーが発生致しました。各項目のエラーメッセージをご確認の上、正しく入力してください。</span></p><!--{/if}--> |
---|
21 | <table id="inquiry-body"> |
---|
22 | <!--{section name=question loop=$QUESTION.question}--> |
---|
23 | <!--{if $QUESTION.question[question].kind ne '0' }--> |
---|
24 | <tr> |
---|
25 | <th>質問<!--{$smarty.section.question.iteration}-->:<!--{$QUESTION.question[question].name|escape}--></th> |
---|
26 | </tr> |
---|
27 | <tr> |
---|
28 | <!--{if $QUESTION.question[question].kind eq 1}--> |
---|
29 | <td> |
---|
30 | <!--{$smarty.post.option[$smarty.section.question.index]|nl2br}--> |
---|
31 | </td> |
---|
32 | <!--{elseif $QUESTION.question[question].kind eq 2}--> |
---|
33 | <td> |
---|
34 | <!--{$smarty.post.option[$smarty.section.question.index]|escape}--> |
---|
35 | </td> |
---|
36 | <!--{elseif $QUESTION.question[question].kind eq 4}--> |
---|
37 | <td> |
---|
38 | <!--{lfArray_Search_key_Smarty arr=$QUESTION.question[question].option val=$smarty.post.option[$smarty.section.question.index] }--> |
---|
39 | </td> |
---|
40 | <!--{elseif $QUESTION.question[question].kind eq 3}--> |
---|
41 | <td> |
---|
42 | <!--{foreach item=sub from=$smarty.post.option[question]}--> |
---|
43 | <!--{if strlen($sub) > 0}--> |
---|
44 | <!--{lfArray_Search_key_Smarty arr=$QUESTION.question[question].option val=$sub }--><br> |
---|
45 | <!--{/if}--> |
---|
46 | <!--{/foreach}--> |
---|
47 | </td> |
---|
48 | <!--{/if}--> |
---|
49 | </tr> |
---|
50 | <!--{/if}--> |
---|
51 | <!--{/section}--> |
---|
52 | </table> |
---|
53 | <p><span class="attention">※</span>印は入力必須項目です。</p> |
---|
54 | <table id="inquiry-personal"> |
---|
55 | <tr> |
---|
56 | <th><span class="attention">※</span>お名前</th> |
---|
57 | <td> |
---|
58 | <!--{$arrForm.name01|escape}--> <!--{$arrForm.name02|escape}--> |
---|
59 | <input type="hidden" name="name01" value="<!--{$arrForm.name01|escape}-->" /> |
---|
60 | <input type="hidden" name="name02" value="<!--{$arrForm.name02|escape}-->" /> |
---|
61 | </td> |
---|
62 | </tr> |
---|
63 | <tr> |
---|
64 | <th><span class="attention">※</span>フリガナ</th> |
---|
65 | <td> |
---|
66 | <!--{$arrForm.kana01|escape}--> <!--{$arrForm.kana02|escape}--> |
---|
67 | <input type="hidden" name="kana01" value="<!--{$arrForm.kana01|escape}-->" /> |
---|
68 | <input type="hidden" name="kana02" value="<!--{$arrForm.kana02|escape}-->" /> |
---|
69 | </td> |
---|
70 | </tr> |
---|
71 | <tr> |
---|
72 | <th><span class="attention">※</span>郵便番号</th> |
---|
73 | <td> |
---|
74 | 〒<!--{$arrForm.zip01|escape}-->-<!--{$arrForm.zip02|escape}--> |
---|
75 | <input type="hidden" name="zip01" value="<!--{$arrForm.zip01|escape}-->" /> |
---|
76 | <input type="hidden" name="zip02" value="<!--{$arrForm.zip02|escape}-->" /> |
---|
77 | </td> |
---|
78 | </tr> |
---|
79 | <tr> |
---|
80 | <th><span class="attention">※</span>ご住所</th> |
---|
81 | <td> |
---|
82 | <input type="hidden" name="pref" value="<!--{$arrForm.pref|escape}-->" /> |
---|
83 | <input type="hidden" name="addr01" value="<!--{$arrForm.addr01|escape}-->" /> |
---|
84 | <input type="hidden" name="addr02" value="<!--{$arrForm.addr02|escape}-->" /> |
---|
85 | <!--{$arrPref[$arrForm.pref]|escape}--><!--{$arrForm.addr01|escape}--> <!--{$arrForm.addr02|escape}--> |
---|
86 | </td> |
---|
87 | </tr> |
---|
88 | <tr> |
---|
89 | <th><span class="attention">※</span>お電話番号</th> |
---|
90 | <td> |
---|
91 | <!--{$arrForm.tel01|escape}-->-<!--{$arrForm.tel02|escape}-->-<!--{$arrForm.tel03|escape}--> |
---|
92 | <input type="hidden" name="tel01" value="<!--{$arrForm.tel01|escape}-->" /> |
---|
93 | <input type="hidden" name="tel02" value="<!--{$arrForm.tel02|escape}-->" /> |
---|
94 | <input type="hidden" name="tel03" value="<!--{$arrForm.tel03|escape}-->" /> |
---|
95 | </td> |
---|
96 | </tr> |
---|
97 | <tr> |
---|
98 | <th><span class="attention">※</span>メールアドレス</th> |
---|
99 | <td> |
---|
100 | <!--{$arrForm.email|escape}--> |
---|
101 | <input type="hidden" name="email" value="<!--{$arrForm.email|escape}-->" /> |
---|
102 | <input type="hidden" name="email02" value="<!--{$arrForm.email02|escape}-->" /> |
---|
103 | </td> |
---|
104 | </tr> |
---|
105 | </table> |
---|
106 | <div class="btn"> |
---|
107 | <button type="button" name="subm1" onclick="return func_return();"><span>戻る</span></button> |
---|
108 | <button type="submit" name="subm2"><span>送信</span></button> |
---|
109 | </div> |
---|
110 | </form> |
---|
111 | </div> |
---|
112 | |
---|
113 | <!--{include file="`$smarty.const.TEMPLATE_DIR`popup_footer.tpl"}--> |
---|