1 | <!--{*
|
---|
2 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
|
---|
3 | *
|
---|
4 | * http://www.lockon.co.jp/
|
---|
5 | *}-->
|
---|
6 | <!--{section name=question loop=$QUESTION.question}-->
|
---|
7 | <!--{if $QUESTION.question[question].kind }-->
|
---|
8 | <tr>
|
---|
9 | <td colspan="2" bgcolor="#edf6ff" class="fs12n">質問<!--{$smarty.section.question.iteration}-->:<!--{$QUESTION.question[question].name|escape}--></td>
|
---|
10 | </tr>
|
---|
11 | <!--{if $QUESTION.question[question].kind eq 1}-->
|
---|
12 | <tr>
|
---|
13 | <td colspan="2" bgcolor="ffffff" class="fs12n">
|
---|
14 | <textarea name="option[<!--{$smarty.section.question.index}-->]" cols="55" rows="8" class="area55" wrap="physical" <!--{if $arrErr.option[$smarty.section.question.index]}--><!--{sfSetErrorStyle}--><!--{/if}-->><!--{$arrForm.option[$smarty.section.question.index]|escape}--></textarea>
|
---|
15 | <!--{if $arrErr.option[$smarty.section.question.index]}--><br><span class="red">質問<!--{$smarty.section.question.iteration}-->を入力して下さい</sapn><!--{/if}-->
|
---|
16 | </td>
|
---|
17 | </tr>
|
---|
18 | <!--{elseif $QUESTION.question[question].kind eq 2}-->
|
---|
19 | <tr>
|
---|
20 | <td colspan="2" bgcolor="ffffff" class="fs12n">
|
---|
21 | <input type="text" name="option[<!--{$smarty.section.question.index}-->]" size="55" class="box50" value="<!--{$arrForm.option[$smarty.section.question.index]|escape}-->" <!--{if $arrErr.option[$smarty.section.question.index]}--><!--{sfSetErrorStyle}--><!--{/if}-->>
|
---|
22 | <!--{if $arrErr.option[$smarty.section.question.index]}--><br><span class="red">質問<!--{$smarty.section.question.iteration}-->を入力して下さい</sapn><!--{/if}-->
|
---|
23 | </td>
|
---|
24 | </tr>
|
---|
25 | <!--{elseif $QUESTION.question[question].kind eq 3}-->
|
---|
26 | <tr>
|
---|
27 | <td colspan="2" bgcolor="ffffff">
|
---|
28 | <table width="540" border="0" cellspacing="0" cellpadding="3" summary=" ">
|
---|
29 | <input type="hidden" name="option[<!--{$smarty.section.question.index}-->][0]" value="">
|
---|
30 | <tr><td class="fs12n">
|
---|
31 | <span <!--{if $arrErr.option[$smarty.section.question.index]}--><!--{sfSetErrorStyle}--><!--{/if}-->>
|
---|
32 | <!--{html_checkboxes name="option[`$smarty.section.question.index`]" options=$QUESTION.question[question].option selected=$arrForm.option[question] separator="<br>"}-->
|
---|
33 | </span>
|
---|
34 | </td>
|
---|
35 | </tr>
|
---|
36 | <!--{if $arrErr.option[$smarty.section.question.index]}--><tr><td class="fs12n"><span class="red">質問<!--{$smarty.section.question.iteration}-->を入力して下さい</sapn></td></tr><!--{/if}-->
|
---|
37 | </table>
|
---|
38 | </td>
|
---|
39 | </tr>
|
---|
40 | <!--{elseif $QUESTION.question[question].kind eq 4}-->
|
---|
41 | <tr>
|
---|
42 | <td colspan="2" bgcolor="ffffff">
|
---|
43 | <input type="hidden" name="option[<!--{$smarty.section.question.index}-->][0]" value="">
|
---|
44 | <table width="540" border="0" cellspacing="0" cellpadding="3" summary=" ">
|
---|
45 | <!--{section name=sub loop=$QUESTION.question[question].option}-->
|
---|
46 | <!--{if $smarty.section.sub.index is even}--><tr><!--{/if}-->
|
---|
47 | <td width="270" class="fs12n">
|
---|
48 | <span <!--{if $arrErr.option[$smarty.section.question.index]}--><!--{sfSetErrorStyle}--><!--{/if}-->>
|
---|
49 | <!--{if $QUESTION.question[question].option[sub]}-->
|
---|
50 | <input type="radio" name="option[<!--{$smarty.section.question.index}-->]" value="<!--{$smarty.section.sub.index|escape}-->" <!--{if $smarty.section.sub.index eq $arrForm.option[question]|default:"-1" }-->checked<!--{/if}-->>
|
---|
51 | <!--{$QUESTION.question[question].option[sub]|escape}-->
|
---|
52 | <!--{/if}-->
|
---|
53 | </span>
|
---|
54 | </td>
|
---|
55 | <!--{if $smarty.section.sub.index is odd}--></tr><!--{/if}-->
|
---|
56 | <!--{/section}-->
|
---|
57 | <!--{if $arrErr.option[$smarty.section.question.index]}--><tr><td class="fs12n"><span class="red">質問<!--{$smarty.section.question.iteration}-->を入力して下さい</sapn></tr><!--{/if}-->
|
---|
58 | </table>
|
---|
59 | </td>
|
---|
60 | </tr>
|
---|
61 | <!--{/if}-->
|
---|
62 | <!--{/if}-->
|
---|
63 |
|
---|
64 | <!--{/section}-->
|
---|