<?php
$template = <<<END
<!--biz63_voice:お客様の声-->
<section class="bg3 bg-pattern3" id="koe">
<h2 class="c">{val item/title}</h2>
<div class="list-normal1">
<!--{each item/list}-->
<div class="list {val item/list/view} {val item/list/pos}">
<figure><img src="user_data/{val item/list/image}" alt=""></figure>
<div class="text">
<h4>{val item/list/title}</h4>
<p>{val item/list/text}</p>
<p class="name">{val item/list/name}</p>
</div>
</div>
<!--{/def}-->
</div><!--/.list-normal1-->
<!--{def item/more_title}-->
<div class="r"><p class="btn1"><a href="{val item/more_link}" class="inline-block">{val item/more_title}</a></p></div>
<!--{/def}-->
</section>
END;

$biz63_voice = array(
	"title" => "biz63お客様の声",
	"name" => "biz63_voice",			// 名称、重複すると正しく動作しません
	"template" => $template,		// ブロックのテンプレートファイル
	"input" => array(
		"help" => array(
			"title" => "使い方",
			"type" => "comment",
			"link" => DOCUMENT1 . "/?act=biz63_voice",
			"class" => "notice",
		),
		"title" => array(
			"title" => "タイトル",
			"type" => "text",
		),
		"dummy1" => array(
			"title" => " ",
			"type" => "comment",
		),
		"title1" => array(
			"title" => "タイトル1",
			"type" => "text",
		),
		"image1" => array(
			"title" => "画像1",
			"type" => "image",
		),
		"view1" => array(
			"title" => "出現1",
			"type" => "select",
			"list" => array(
				"" => "なし",
				"up" => "上から",
				"down" => "下から",
				"transform1" => "横回転",
				"transform2" => "縦回転",
				"blur" => "徐々に",
			),
		),
		"text1" => array(
			"title" => "テキスト1",
			"type" => "textarea",
		),
		"name1" => array(
			"title" => "お名前1",
			"type" => "text",
		),
		"pos1" => array(
			"title" => "画像位置",
			"type" => "select",
			"list" => array(
				"" => "左側",
				"reverse" => "右側",
			),
		),
		"dummy2" => array(
			"title" => " ",
			"type" => "comment",
		),
		"title2" => array(
			"title" => "タイトル2",
			"type" => "text",
		),
		"image2" => array(
			"title" => "画像2",
			"type" => "image",
		),
		"view2" => array(
			"title" => "出現2",
			"type" => "select",
			"list" => array(
				"" => "なし",
				"up" => "上から",
				"down" => "下から",
				"transform1" => "横回転",
				"transform2" => "縦回転",
				"blur" => "徐々に",
			),
		),
		"text2" => array(
			"title" => "テキスト2",
			"type" => "textarea",
		),
		"name2" => array(
			"title" => "お名前2",
			"type" => "text",
		),
		"pos2" => array(
			"title" => "画像位置",
			"type" => "select",
			"list" => array(
				"" => "左側",
				"reverse" => "右側",
			),
		),
		"dummy3" => array(
			"title" => " ",
			"type" => "comment",
		),
		"title3" => array(
			"title" => "タイトル3",
			"type" => "text",
		),
		"image3" => array(
			"title" => "画像3",
			"type" => "image",
		),
		"view3" => array(
			"title" => "出現3",
			"type" => "select",
			"list" => array(
				"" => "なし",
				"up" => "上から",
				"down" => "下から",
				"transform1" => "横回転",
				"transform2" => "縦回転",
				"blur" => "徐々に",
			),
		),
		"text3" => array(
			"title" => "テキスト3",
			"type" => "textarea",
		),
		"name3" => array(
			"title" => "お名前3",
			"type" => "text",
		),
		"pos3" => array(
			"title" => "画像位置",
			"type" => "select",
			"list" => array(
				"" => "左側",
				"reverse" => "右側",
			),
		),
		"dummy4" => array(
			"title" => " ",
			"type" => "comment",
		),
		"title4" => array(
			"title" => "タイトル4",
			"type" => "text",
		),
		"image4" => array(
			"title" => "画像4",
			"type" => "image",
		),
		"view4" => array(
			"title" => "出現4",
			"type" => "select",
			"list" => array(
				"" => "なし",
				"up" => "上から",
				"down" => "下から",
				"transform1" => "横回転",
				"transform2" => "縦回転",
				"blur" => "徐々に",
			),
		),
		"text4" => array(
			"title" => "テキスト4",
			"type" => "textarea",
		),
		"name4" => array(
			"title" => "お名前4",
			"type" => "text",
		),
		"pos4" => array(
			"title" => "画像位置",
			"type" => "select",
			"list" => array(
				"" => "左側",
				"reverse" => "右側",
			),
		),
		"dummy5" => array(
			"title" => " ",
			"type" => "comment",
		),
		"title5" => array(
			"title" => "タイトル5",
			"type" => "text",
		),
		"image5" => array(
			"title" => "画像5",
			"type" => "image",
		),
		"view5" => array(
			"title" => "出現5",
			"type" => "select",
			"list" => array(
				"" => "なし",
				"up" => "上から",
				"down" => "下から",
				"transform1" => "横回転",
				"transform2" => "縦回転",
				"blur" => "徐々に",
			),
		),
		"text5" => array(
			"title" => "テキスト5",
			"type" => "textarea",
		),
		"name5" => array(
			"title" => "お名前5",
			"type" => "text",
		),
		"pos5" => array(
			"title" => "画像位置",
			"type" => "select",
			"list" => array(
				"" => "左側",
				"reverse" => "右側",
			),
		),
		"dummy6" => array(
			"title" => " ",
			"type" => "comment",
		),
		"more_title" => array(
			"title" => "もっと見るタイトル",
			"type" => "text",
		),
		"more_link" => array(
			"title" => "もっと見るリンク",
			"type" => "text",
		),
	),
	"repeat" => array("title", "text", "image", "name", "pos", "view"),
);

block_add($biz63_voice);
