<?php
// メンバー管理用データ定義
$member_data = array(
	"id" => "member_id",
	"name" => "member",
	"title" => "メンバー管理",
//	"preview" => "?act=member&id=",
	"list" => array(
		"form" => "list.html",
		"items" => array(
			"member_id" => array(
				"title" => "ID",
			),


			"item1" => array(
				"title" => "お名前",

			),

			"item2" => array(
				"title" => "メールアドレス",

			),

			"status" => array(
				"title" => "有効・無効",
				"values" => array(
					"0" => "未認証",
					"1" => "有効",
					"2" => "無効",
				),
			),
			"reg_date" => array(
				"title" => "登録日",
				"type" => "date",
			),
		),
		"search" => array(




		),
	),
	"input" => array(
		"form" => "contents.html",
		"buttons" => array(
			//
		),
		"items" => array(



			"item1" => array(
				"title" => "お名前",
				"type" => "text",
			),










			"item2" => array(
				"title" => "メールアドレス",
				"type" => "text",
			),










			"item3" => array(
				"title" => "パスワード",
				"type" => "text",
			),








			"last_login" => array(
				"title" => "最終ログイン",
				"type" => "text",
				//"type" => "date",
			),
			"status" => array(
				"title" => "有効・無効",
				"type" => "select",
				"list" => array(
					"0" => "未認証",
					"1" => "有効",
					"2" => "無効",
				),
			),
		),
	),
);
// メンバー管理処理
if ($act_ary[0] == "member") {
	login_check("ログインしてください");

	cms2($member_data, $act_ary[1], new Member(), $msg, false, $menu);
}
