<?php include_once( "../../../spider.inc.php" ); ?>
{module:system.package.LoadList}
{module:system.package.install.Session}

	{foreach:system.package.install.install_object_hash packageObject}
	{if:packageObject->getPackageId()=='member'}{set:targetPackageObject packageObject}{/if}
	{/foreach}
	
	{if:is_object(targetPackageObject)}
	{set:definitionHash targetPackageObject->'definitionHash'}
	<h1>{write:targetPackageObject->getPackageViewName()}パッケージ</h1>
	{if:targetPackageObject->isInstall()}
	{else}
	<table style="width:95%;margin:0 auto;">
	<tbody>
	<tr>
		<th style="width:16em;">初期化オプション</th>
		<td>
			{if:'1'==definitionHash['MEMBER_INIT_OPTION']}既存テーブルを利用{/if}
			{if:'2'==definitionHash['MEMBER_INIT_OPTION']}テーブルがなければ作成{/if}
			{if:'3'==definitionHash['MEMBER_INIT_OPTION']}テーブルを削除して作成{/if}
		</td>
	</tr>
	</tbody>
	</table>
	<br />
	{/if}
	
	<h2>会員登録設定</h2>
	<table style="width:95%;margin:0 auto;">
	<tbody>
	<tr>
		<th style="width:16em;">会員公募</th>
		<td>
			{if:'true'==definitionHash['MEMBER_PERMIT_REGIST_BY_USER']}する{else}しない{/if}
		</td>
	</tr>
	<tr>
		<th style="width:16em;">会員初期ポイント</th>
		<td>
			{write:definitionHash['MEMBER_INITIAL_POINT']}Pt.
		</td>
	</tr>
	</tbody>
	</table>
	
	<h2>会員登録項目</h2>
	<table style="width:95%;margin:0 auto;">
	<tbody>
	<tr>
		<th style="width:10em;border-style:solid;border-width:1px;">項目名</th>
		<th style="width:1em;border-style:solid;border-width:1px;">登</th>
		<th style="width:1em;border-style:solid;border-width:1px;">必</th>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">姓名</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="name"{if:in_array('name',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="name"{if:in_array('name',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">姓名フリガナ</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="name_kana"{if:in_array('name_kana',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="name_kana"{if:in_array('name_kana',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">国名</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="country_name"{if:in_array('country_name',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="country_name"{if:in_array('country_name',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">都道府県</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="prefecture"{if:in_array('prefecture',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="prefecture"{if:in_array('prefecture',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">郵便番号</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="zip_code"{if:in_array('zip_code',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="zip_code"{if:in_array('zip_code',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">住所</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="address"{if:in_array('address',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="address"{if:in_array('address',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">電話番号</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="telephone"{if:in_array('telephone',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="telephone"{if:in_array('telephone',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">FAX番号</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="faximili"{if:in_array('faximili',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="faximili"{if:in_array('faximili',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">携帯電話番号</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="mobile"{if:in_array('mobile',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="mobile"{if:in_array('mobile',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">ホームページ</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="url"{if:in_array('url',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="url"{if:in_array('url',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">性別</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="sex"{if:in_array('sex',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="sex"{if:in_array('sex',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">生年</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="birth_year"{if:in_array('birth_year',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="birth_year"{if:in_array('birth_year',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">生月</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="birth_month"{if:in_array('birth_month',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="birth_month"{if:in_array('birth_month',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">生日</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="birth_day"{if:in_array('birth_day',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="birth_day"{if:in_array('birth_day',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">血液型</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="blood_type"{if:in_array('blood_type',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="blood_type"{if:in_array('blood_type',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">身長</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="height"{if:in_array('height',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="height"{if:in_array('height',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">体重</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="weight"{if:in_array('weight',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="weight"{if:in_array('weight',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">バスト/ウエスト/ヒップ</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="bwh"{if:in_array('bwh',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="bwh"{if:in_array('bwh',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">会社名</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="company_name"{if:in_array('company_name',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="company_name"{if:in_array('company_name',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">部署名</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="section_name"{if:in_array('section_name',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="section_name"{if:in_array('section_name',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">都道府県２</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="prefecture2"{if:in_array('prefecture2',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="prefecture2"{if:in_array('prefecture2',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">郵便番号２</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="zip_code2"{if:in_array('zip_code2',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="zip_code2"{if:in_array('zip_code2',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">住所２</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="address2"{if:in_array('address2',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="address2"{if:in_array('address2',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">電話番号２</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="telephone2"{if:in_array('telephone2',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="telephone2"{if:in_array('telephone2',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	<tr>
		<td style="width:10em;border-style:solid;border-width:1px;">FAX番号２</td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REGIST_ITEM[]" value="faximili2"{if:in_array('faximili2',definitionHash['MEMBER_REGIST_ITEM'])} checked{/if} disabled="disabled" /></td>
		<td style="width:1em;border-style:solid;border-width:1px;"><input type="checkbox" name="MEMBER_REQUIRE_ITEM[]" value="faximili2"{if:in_array('faximili2',definitionHash['MEMBER_REQUIRE_ITEM'])} checked{/if} disabled="disabled" /></td>
	</tr>
	</tbody>
	</table>
	
	<br />
	<h2>メールマガジン配信用設定</h2>
	<p>
		メールマガジンを大量に配信する方向けにシステム設定と異なる配信サーバーを指定できます。<br />
		必要ない方やわからない方はシステム設定と同じにしてください。
	</p>
	<table style="width:95%;margin:0 auto;">
	<tbody>
	<tr>
		<th style="width:16em;" nowrap>メール速度 <span class="required">※</span></th>
		<td>
			パソコン向け配信 ： 一回の送信で{write:definitionHash['MEMBER_MAIL_SEND_COUNT_DEFAULT']}通<br />
			携帯電話向け配信 ： 一回の送信で{write:definitionHash['MEMBER_MAIL_SEND_COUNT_MOBILE']}通<br />
		</td>
	</tr>
	<tr>
		<th style="width:16em;" nowrap>メール送信方法 <span class="required">※</span></th>
		<td>
			{if:'sendmail'==definitionHash['MEMBER_MAIL_SEND_METHOD']}
				sendmailコマンド<br />
				{write:definitionHash['MEMBER_MAIL_SEND_METHOD_OPTIONS']['sendmail_path']}
			{/if}
			{if:'phpmail'==definitionHash['MEMBER_MAIL_SEND_METHOD']}PHP mail関数{/if}
			{if:'smtp'==definitionHash['MEMBER_MAIL_SEND_METHOD']}
				SMTP接続<br />
				PEARパス: {write:definitionHash['MEMBER_MAIL_SEND_METHOD_OPTIONS']['pear_path']}<br />
				SMTPホスト: {write:definitionHash['MEMBER_MAIL_SEND_METHOD_OPTIONS']['smtp_host']}:{write:definitionHash['MEMBER_MAIL_SEND_METHOD_OPTIONS']['smtp_port']}<br />
				SMTP認証: 
				{if:'false'==definitionHash['MEMBER_MAIL_SEND_METHOD_OPTIONS']['smtp_auth']}
					なし
				{else-if:'true'==definitionHash['MEMBER_MAIL_SEND_METHOD_OPTIONS']['smtp_auth']}
					自動
				{else-if:'PLAIN'==definitionHash['MEMBER_MAIL_SEND_METHOD_OPTIONS']['smtp_auth']}
					PLAIN<br />
					SMTPユーザ:{write:definitionHash['MEMBER_MAIL_SEND_METHOD_OPTIONS']['smtp_auth_user']}<br />
					SMTPパスワード:xxxxxxxx<br />
				{else-if:'DIGEST'==definitionHash['MEMBER_MAIL_SEND_METHOD_OPTIONS']['smtp_auth']}
					DIGEST-MD5<br />
					SMTPユーザ:{write:definitionHash['MEMBER_MAIL_SEND_METHOD_OPTIONS']['smtp_auth_user']}<br />
					SMTPパスワード:xxxxxxxx<br />
				{else-if:'CRAM'==definitionHash['MEMBER_MAIL_SEND_METHOD_OPTIONS']['smtp_auth']}
					CRAM-MD5<br />
					SMTPユーザ:{write:definitionHash['MEMBER_MAIL_SEND_METHOD_OPTIONS']['smtp_auth_user']}<br />
					SMTPパスワード:xxxxxxxx<br />
				{/if}
			{/if}
		</td>
	</tr>
	</tbody>
	</table>

	<br />
	<h2>システム受信メール処理</h2>
	<table style="width:95%;margin:0 auto;">
	<tbody>
	<tr>
		<th style="width:16em;">受信メール処理ドメイン名</th>
		<td>
			{write:definitionHash['MEMBER_MAIL_DOMAIN']}
		</td>
	</tr>
	<tr>
		<th style="width:16em;">登録空メールプレフィックス</th>
		<td>
			{write:definitionHash['MEMBER_REGIST_MAIL_PREFIX']}
		</td>
	</tr>
	<tr>
		<th style="width:16em;">リターンメールプレフィックス</th>
		<td>
			{write:definitionHash['MEMBER_RETURN_MAIL_PREFIX']}
		</td>
	</tr>
	<tr>
		<th style="width:16em;">会員登録フォームURL</th>
		<td>
			{write:definitionHash['MEMBER_REGIST_MAIL_URL']}
		</td>
	</tr>
	<tr>
		<th style="width:16em;">登録情報変更フォームURL</th>
		<td>
			{write:definitionHash['MEMBER_MODIFY_MAIL_URL']}
		</td>
	</tr>
	</tbody>
	</table>
	{else}
	<p>操作が正しくありません</p>
	{/if}