※適時改行してください。 _; } elseif ($field[Type] == 2 || $field[Type] == 3) { $text = ""; $Select = split("\r", $field[Select]); $col = 1; $i = 1; foreach ($Select as $line) { if ($col > $field[Cols]) { $text .= ""; $col = 1; } if (preg_match("/:/", $line)) { list($img, $title) = split(":", $line); $text .= " "; } else { $text .= " "; } $col++; $i++; } $text .= "
$title
\"\"
$line
"; if ($field[Type] == 3) { $text .= textbox($a, "$field[Que]-2", $style). " ※選択肢に無い場合はご記入ください。"; } } elseif ($field[Type] == 4 || $field[Type] == 5 || $field[Type] == 8 || $field[Type] == 9) { /* * リストボックス及び、+テキストボックス * (複数選択両用) */ if ($field[Type] == 8 || $field[Type] == 9) { $multi = "multiple size=\"5\""; $name = $field[Que]. "[]"; $name2 = $name; } else { $name = $field[Que]; $name2 = "$name-2"; $topoption = " "; } $text = ""; if ($field[Type] == 5 || $field[Type] == 9) { $text .= "
". textbox($a, $name2, $style). " ※選択肢に無い場合はご記入ください。"; } } elseif ($field[Type] == 6 || $field[Type] == 7) { $text = ""; $Select = split("\r", $field[Select]); $col = 1; $i = 1; foreach ($Select as $line) { if ($col > $field[Cols]) { $text .= ""; $col = 1; } if (preg_match("/:/", $line)) { list($img, $title) = split(":", $line); $text .= " "; } else { $text .= " "; } $col++; $i++; } $text .= "
$title
\"\"
$line
"; if ($field[Type] == 7) { $text .= textbox($a, "$field[Que][]", $style). " ※選択肢に無い場合はご記入ください。"; } } elseif ($field[Type] == 10) { /* * 郵便番号付き住所セット * */ $text =<<<_
市区町村 :  町域以下 : 
_; } elseif ($field[Type] == 11) { $style = "style=\"margin:1px 0 1px 0;width:$field[textWidth]px;ime-mode:disabled;\""; $text = textbox($a, "$field[Que]", $style). "
"; $text .= textbox($a, "$field[Que]-2", $style). " ※確認の為もう一度"; _; } elseif ($field[Type] == 12) { $text = ""; } elseif ($field[Type] == 13 || $field[Type] == 14) { $text =<<<_ 日 _; } elseif ($field[Type] == 15) { $text = " "; } else { $text = textbox($a, $field[Que], $style); } !$Setup[formType] && $field[longQue] && $text .= "
$field[longQue]
"; return($text); } function textbox($no, $name, $style) { return(""); } ?>