<?php TPL::output('admin/global/header.tpl.htm'); ?>
<!--left-->
<?php TPL::output('admin/global/left.tpl.htm'); ?>
<!--left-->

<div id="main-content" style="margin:0 0 0 200px;">
	<div class="clear"></div>
	<div class="content-box">
		<div class="content-box-header">
			<h3>Interface setting</h3>
			<ul class="content-box-tabs">
			</ul>
			<div class="clear"></div>
		</div>
		<div class="content-box-content">
			<div id="notification_box" class="notification success png_bg" style="display:none;"> <a class="close" href="javascript:;"></a>
				<div name="notification_content"></div>
			</div>
			<div class="tab-content default-tab" id="tab1">
				<form id="_save_form" action="admin/setting/sys_save_ajax/" method="post">
					<fieldset>
					<p groupid="11" name="ui_style">
						<label>User interface style:</label>
						<select class="small-input" name="ui_style">
						<?php foreach($this->styles as $skey => $val) { ?>
							<option value="<?php echo $val['id']; ?>"<?php if ($this->setting['ui_style'] == $val['id']) { ?> selected="selected"<?php } ?>><?php echo $val['title']; ?></option>
							<?php } ?>
						</select>
					</p>
					<p groupid="11" name="index_per_page">
						<label>Numer of new posts to display:</label>
						<input name="index_per_page" class="text-input small-int" type="text" value="<?php echo $this->setting['index_per_page']; ?>"/>
					</p>
					<p groupid="11" name="notifications_per_page">
						<label>Notice display number:</label>
						<input name="notifications_per_page" class="text-input small-int" type="text" value="<?php echo $this->setting['notifications_per_page']; ?>"/>
					</p>
					<p groupid="11" name="contents_per_page">
						<label>Page displays a list of issues and the number of users:</label>
						<input name="contents_per_page" class="text-input small-int" type="text" value="<?php echo $this->setting['contents_per_page']; ?>"/>
					</p>
					<p groupid="11" name="recommend_users_number">
						<label>Homepage recommend user and topic number:</label>
						<input name="recommend_users_number" class="text-input small-int" type="text" value="<?php echo $this->setting['recommend_users_number']; ?>"/>
					</p>
					<p groupid="11" name="recommend_topics_number">
						<label>Number topic recommendation:</label>
						<input name="recommend_topics_number" class="text-input small-int" type="text" value="<?php echo $this->setting['recommend_topics_number']; ?>"/>
					</p>
					<p groupid="11" name="focus_topics_list_per_page">
						<label>Number my followed topics:</label>
						<input name="focus_topics_list_per_page" class="text-input small-int" type="text" value="<?php echo $this->setting['focus_topics_list_per_page']; ?>"/>
					</p>
					<p>
						<input class="button" type="button" onclick="ajax_post($('#_save_form'), _form_process);" value="Save" />
					</p>
					</fieldset>
					<div class="clear"></div>
				</form>
			</div>
		</div>
		<div class="clear"></div>
		<div id="notf_tip" style="display:none;" class="notification png_bg"> <a href="javascript:;" class="close"><img src="<?php echo GET_STATIC_URL;?>/admin/images/icons/cross_grey_small.png" alt="Close" /></a>
			<div id="notf_cont"></div>
		</div>
	</div>
	<!-- footer -->
	<?php TPL::output('admin/global/footer.tpl.htm'); ?>
	<!-- footer -->
</div>
<!-- main -->
</div>
</body></html>