<?php
$template = <<<END
<!--biz63_result:制作実績-->
<section id="products">
<h2 class="bg-slideup" style="background-image: url('user_data/{val item/bg_image_file}')">
<div class="image">
<!--{def item/title_en}-->
<div class="en-text">{val item/title_en}</div>
<!--{/def}-->
<!--{def item/title_jp}-->
<div class="jp-text">{val item/title_jp}</div>
<!--{/def}-->
</div>
</h2>
<div class="list-grid-simple">
<!--{each item/list}-->
<div class="list">
<figure><img src="user_data/{val item/list/image}" alt=""></figure>
<h4 class="c">{val item/list/name}</h4>
</div>
<!--{/each}-->
</div><!--/.list-grid1-->
<!--{def item/more_title}-->
<p class="btn1"><a href="{val item/more_link}">{val item/more_title}</a></p>
<!--{/def}-->
</section>
END;

$biz63_result = array(
	"title" => "biz63制作実績",
	"name" => "biz63_result",			// 名称、重複すると正しく動作しません
	"template" => $template,		// ブロックのテンプレートファイル
	"input" => array(
		"help" => array(
			"title" => "使い方",
			"type" => "comment",
			"link" => DOCUMENT1 . "/?act=biz63_result",
			"class" => "notice",
		),
		"title_jp" => array(
			"title" => "日本語タイトル",
			"type" => "text",
		),
		"title_en" => array(
			"title" => "英語タイトル",
			"type" => "text",
		),
		"bg_image" => array(
			"title" => "背景画像",
			"type" => "image",
		),
		"dummy1" => array(
			"title" => " ",
			"type" => "comment",
		),
		"name1" => array(
			"title" => "名称1",
			"type" => "text",
		),
		"image1" => array(
			"title" => "画像1",
			"type" => "image",
		),
		"dummy2" => array(
			"title" => " ",
			"type" => "comment",
		),
		"name2" => array(
			"title" => "名称2",
			"type" => "text",
		),
		"image2" => array(
			"title" => "画像2",
			"type" => "image",
		),
		"dummy3" => array(
			"title" => " ",
			"type" => "comment",
		),
		"name3" => array(
			"title" => "名称3",
			"type" => "text",
		),
		"image3" => array(
			"title" => "画像3",
			"type" => "image",
		),
		"dummy4" => array(
			"title" => " ",
			"type" => "comment",
		),
		"name4" => array(
			"title" => "名称4",
			"type" => "text",
		),
		"image4" => array(
			"title" => "画像4",
			"type" => "image",
		),
		"dummy5" => array(
			"title" => " ",
			"type" => "comment",
		),
		"name5" => array(
			"title" => "名称5",
			"type" => "text",
		),
		"image5" => array(
			"title" => "画像5",
			"type" => "image",
		),
		"dummy6" => array(
			"title" => " ",
			"type" => "comment",
		),
		"name6" => array(
			"title" => "名称6",
			"type" => "text",
		),
		"image6" => array(
			"title" => "画像6",
			"type" => "image",
		),
		"dummy7" => array(
			"title" => " ",
			"type" => "comment",
		),
		"name7" => array(
			"title" => "名称7",
			"type" => "text",
		),
		"image7" => array(
			"title" => "画像7",
			"type" => "image",
		),
		"dummy8" => array(
			"title" => " ",
			"type" => "comment",
		),
		"name8" => array(
			"title" => "名称8",
			"type" => "text",
		),
		"image8" => array(
			"title" => "画像8",
			"type" => "image",
		),
		"dummy9" => array(
			"title" => " ",
			"type" => "comment",
		),
		"name9" => array(
			"title" => "名称9",
			"type" => "text",
		),
		"image9" => array(
			"title" => "画像9",
			"type" => "image",
		),
		"dummy10" => array(
			"title" => " ",
			"type" => "comment",
		),
		"name10" => array(
			"title" => "名称10",
			"type" => "text",
		),
		"image10" => array(
			"title" => "画像10",
			"type" => "image",
		),
		"dummy11" => array(
			"title" => " ",
			"type" => "comment",
		),
		"more_title" => array(
			"title" => "もっと見るタイトル",
			"type" => "text",
		),
		"more_link" => array(
			"title" => "もっと見るリンク",
			"type" => "text",
		),
	),
	"repeat" => array("name", "image"),
);

block_add($biz63_result);
