<?php
$template = <<<END
<section class="padding0">
<!--{def item/title}-->
<h2 class="dn">{val item/title}</h2>
<!--{/def}-->
<div class="list-c2">
<div class="list image1" style="background: url('user_data/{val item/image1_file}') no-repeat center center / cover;">
<div class="text">
<h4><span class="sub-text">{val item/subtitle1}</span><span class="main-text">{val item/maintitle1}</span></h4>
<p class="btn1"><a href="{val item/link1}">{val item/button1}</a></p>
</div>
</div>
<div class="list image2" style="background: url('user_data/{val item/image2_file}') no-repeat center center / cover;">
<div class="text">
<h4><span class="sub-text">{val item/subtitle2}</span><span class="main-text">{val item/maintitle2}</span></h4>
<p class="btn1"><a href="{val item/link2}">{val item/button2}</a></p>
</div>
</div>
</div><!--/.list-c2-->
</section>
END;

$biz63_link = array(
	"title" => "biz63問い合わせ＆資料請求",
	"name" => "biz63_link",			// 名称、重複すると正しく動作しません
	"template" => $template,		// ブロックのテンプレートファイル
	"input" => array(
		"help" => array(
			"title" => "使い方",
			"type" => "comment",
			"link" => DOCUMENT1 . "/?act=biz63_link",
			"class" => "notice",
		),
		"title" => array(
			"title" => "タイトル",
			"type" => "text",
		),
		"dummy1" => array(
			"title" => " ",
			"type" => "comment",
		),
		"image1" => array(
			"title" => "画像1",
			"type" => "image",
		),
		"maintitle1" => array(
			"title" => "メインタイトル1",
			"type" => "text",
		),
		"subtitle1" => array(
			"title" => "サブタイトル1",
			"type" => "text",
		),
		"button1" => array(
			"title" => "ボタン1",
			"type" => "text",
		),
		"link1" => array(
			"title" => "リンク1",
			"type" => "text",
		),
		"dummy2" => array(
			"title" => " ",
			"type" => "comment",
		),
		"image2" => array(
			"title" => "画像2",
			"type" => "image",
		),
		"maintitle2" => array(
			"title" => "メインタイトル2",
			"type" => "text",
		),
		"subtitle2" => array(
			"title" => "サブタイトル2",
			"type" => "text",
		),
		"button2" => array(
			"title" => "ボタン2",
			"type" => "text",
		),
		"link2" => array(
			"title" => "リンク2",
			"type" => "text",
		),
	),
);

block_add($biz63_link);
