<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title = L('system_setting');
include $this->admin_tpl('header');
?>
<div class="subnav">
	<h2 class="title-1 line-x f14 fb blue lh28"><?php echo L('system_setting')?></h2>
	<div class="content-menu ib-a blue line-x"><a href="?m=admin&c=system&a=init" class="on"><em><?php echo L('submit_setting')?></em></a></div>
</div>
<div class="pad-lr-10">
<form action="?m=admin&c=system&a=init" method="post" name="form_messagequeue_manage">
	<table width="100%" cellspacing="0" class="table_form">
	<tbody>
		<tr>
			<th width="120"><?php echo L('site_name')?></th>
			<td>
			<input type="text" name="site_name" class="input-text" value="<?php echo $setting['site_name'];?>"> <?php echo L('site_name_setting')?></td>
		</tr>
		<tr>
			<th width="120"><?php echo L('meta_keyword')?></th>
			<td>
			<input type="text" name="meta_keyword" class="input-text" style="width:60%;" value="<?php echo $setting['meta_keyword'];?>"><?php echo L('meta_keyword_setting')?></td>
		</tr>
		<tr>
			<th width="120"><?php echo L('meta_description')?></th>
			<td>
			<textarea name="meta_description" style="height:100px; width:50%"><?php echo $setting['meta_description'];?></textarea><?php echo L('meta_description_setting')?></td>
		</tr>
		<tr>
			<th width="120"><?php echo L('index_page_size')?></th>
			<td>
			<input type="text" name="index_page_size" class="input-text" value="<?php echo $setting['index_page_size'];?>"><?php echo L('tiao')?></td>
		</tr>
		<tr>
			<th width="120"><?php echo L('page_size')?></th>
			<td>
			<input type="text" name="page_size" class="input-text" value="<?php echo $setting['page_size'];?>"><?php echo L('tiao')?></td>
		</tr>
		<tr>
			<th width="120"><?php echo L('js_size')?></th>
			<td>
			<input type="text" name="js_size" class="input-text" value="<?php echo $setting['js_size'];?>"><?php echo L('tiao').L('js_tiao')?></td>
		</tr>
		<tr>
			<th width="120"><?php echo L('js_content_length')?></th>
			<td>
			<input type="text" name="js_content_length" class="input-text" value="<?php echo $setting['js_content_length'];?>"><?php echo L('js_content_length_tip')?></td>
		</tr>
		<tr>
			<th width="120"><?php echo L('denyed_str')?></th>
			<td>
			<textarea name="denystr" style="height:160px; width:30%"><?php foreach($setting['denystr'] as $v) {?><?php echo $v."\r\n";?><?php }?></textarea><?php echo L('denyed_denystr_setting')?></td>
		</tr>
	</tbody>
	</table>
    <div class="bk15"></div>
    <input type="submit" class="button" name="dosubmit" value="<?php echo L('submit')?>" />
</form>
</div>

</body>
</html>