<load target="../../../member/skins/default/css/member.css" />
<include target="../../../member/skins/default/common_header.html" />
<div class="xm">

	<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/ncenterlite/skins/default/unsubscribe/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
		<p>{$XE_VALIDATOR_MESSAGE}</p>
	</div>
	<form ruleset="insertConfig" action="./" method="post" class="form-horizontal" id="fo_ncenterlite">
		<input type="hidden" name="module" value="ncenterlite" />
		<input type="hidden" name="act" value="procNcenterliteInsertUnsubscribe" />
		<input type="hidden" name="xe_validator_id" value="modules/ncenterlite/skins/default/unsubscribe/1" />
		<!--@if($unsubscribeData)-->
		<input type="hidden" name="target_srl" value="{$unsubscribeData->target_srl}" />
		<input type="hidden" name="unsubscribe_srl" value="{$unsubscribeData->unsubscribe_srl}" />
		<input type="hidden" name="unsubscribe_type" value="{$unsubscribeData->unsubscribe_type}" />
		<!--@else-->
		<input type="hidden" name="target_srl" value="{$target_srl}" />
		<input type="hidden" name="unsubscribe_srl" value="{$unsubscribe_srl}" />
		<input type="hidden" name="unsubscribe_type" value="{$unsubscribe_type}" />
		<!--@end-->
		<section class="section">
			<div class="control-group">
				<label class="control-label">{lang('ncenterlite_content_type')}</label>
				<div class="controls">
					<p>
						{$type}
					</p>
				</div>
			</div>
			<div class="control-group">
				<label class="control-label">{lang('content')}</label>
				<div class="controls">
					<p>
						<!--@if($unsubscribeData)-->
						{escape($unsubscribeData->text, false)}
						<!--@else-->
						{escape($text, false)}
						<!--@end-->
					</p>
				</div>
			</div>
			
			<div class="control-group">
				<label class="control-label">{$lang->this_message_unsubscribe}</label>
				<div class="controls">
					<label class="inline">
						<input type="radio" name="value" value="Y" checked="checked"|cond="$unsubscribeData->value != 'N'" /> {$lang->ncenterlite_to_unsubscribe}
					</label>
					<label class="inline">
						<input type="radio" name="value" value="N" checked="checked"|cond="$unsubscribeData->value == 'N'" /> {$lang->ncenterlite_subscribe}
					</label>
					<p>{$lang->about_this_message_unsubscribe}</p>
				</div>
			</div>
		</section>
		<div class="clearfix btnArea">
			<div class="pull-right">
				<button class="btn btn-primary" type="submit">{$lang->cmd_registration}</button>
			</div>
		</div>
	</form>
</div>
<include target="../../../member/skins/default/common_footer.html" />
