			<div class="col-md-9">
				<?php 
                  $attr = array('class' => 'form-horizontal','role' => 'form');
                  echo form_open('admin/setsystem', $attr);
                ?>
                	<div class="form-group">
                		<label class="col-sm-2 control-label">网站名称</label>
				    	<div class="col-sm-8">
				    		<input type="text" name="webtitle" value="<?php echo $this->system_model->sysinfo('webtitle') ?>" class="form-control border" maxlength="16" autocomplete="off" required="true">    	
				  		</div>
				  		<div class="col-sm-offset-2 col-sm-8" style="margin-top: 10px;"><?php echo form_error('webtitle'); ?></div>
				  	</div>

				  	<div class="form-group">
                		<label class="col-sm-2 control-label">关键字</label>
				    	<div class="col-sm-8">
				    		<input type="text" name="keywords" value="<?php echo $this->system_model->sysinfo('keywords') ?>" class="form-control border" maxlength="256" autocomplete="off" required="true">    	
				  		</div>
				  		<div class="col-sm-offset-2 col-sm-8" style="margin-top: 10px;"><?php echo form_error('keywords'); ?></div>
				  	</div>

				  	<div class="form-group">
                		<label class="col-sm-2 control-label">内容标签</label>
				    	<div class="col-sm-8">
				    		<input type="text" name="description" value="<?php echo $this->system_model->sysinfo('description') ?>" class="form-control border" maxlength="256" autocomplete="off" required="true">    	
				  		</div>
				  		<div class="col-sm-offset-2 col-sm-8" style="margin-top: 10px;"><?php echo form_error('description'); ?></div>
				  	</div>

				  	<div class="form-group">
                		<label class="col-sm-2 control-label">单幅图像大小限制</label>
				    	<div class="col-sm-8">
				    		<input type="text" name="imagesize" value="<?php echo $this->system_model->sysinfo('imagesize') ?>" class="form-control border" maxlength="12" autocomplete="off" required="true">
				    		<span class="help-block">单位（KB）例如：1 M = 1024 * 1024 KB = 1048576 KB</span>    	
				  		</div>
				  		<div class="col-sm-8" style="margin-top: 10px;"><?php echo form_error('imagesize'); ?></div>
				  	</div>

				  	<div class="form-group">
                		<label class="col-sm-2 control-label">单次上传图片数量限制</label>
				    	<div class="col-sm-8">
				    		<input type="text" name="imagenum" value="<?php echo $this->system_model->sysinfo('imagenum') ?>" class="form-control border" maxlength="3" autocomplete="off" required="true">
				  		</div>
				  		<div class="col-sm-8" style="margin-top: 10px;"><?php echo form_error('imagenum'); ?></div>
				  	</div>

				  	<div class="form-group">
                		<label class="col-sm-2 control-label">略缩图宽度</label>
				    	<div class="col-sm-8">
				    		<input type="text" name="thumb_width" value="<?php echo $this->system_model->sysinfo('thumb_width') ?>" class="form-control border" maxlength="3" autocomplete="off" required="true">
				  		</div>
				  		<div class="col-sm-8" style="margin-top: 10px;"><?php echo form_error('thumb_width'); ?></div>
				  	</div>

				  	<div class="form-group">
                		<label class="col-sm-2 control-label">分页模式的图片宽度</label>
				    	<div class="col-sm-8">
				    		<input type="text" name="img_show_width" value="<?php echo $this->system_model->sysinfo('img_show_width') ?>" class="form-control border" maxlength="3" autocomplete="off" required="true">
				    		<span class="help-block">不能大于略缩图宽度</span>
				  		</div>
				  		<div class="col-sm-8" style="margin-top: 10px;"><?php echo form_error('img_show_width'); ?></div>
				  	</div>

				  	<div class="form-group">
                		<label class="col-sm-2 control-label">分页模式的图片高度</label>
				    	<div class="col-sm-8">
				    		<input type="text" name="img_show_height" value="<?php echo $this->system_model->sysinfo('img_show_height') ?>" class="form-control border" maxlength="3" autocomplete="off" required="true">
				  		</div>
				  		<div class="col-sm-8" style="margin-top: 10px;"><?php echo form_error('img_show_height'); ?></div>
				  	</div>

				  	<div class="form-group">
                		<label class="col-sm-2 control-label">是否开启图片审核</label>
				    	<div class="col-sm-8">
				    		<label class="radio-inline">
							  	<input type="radio" name="is_image_status" value="TRUE" <?php if($this->system_model->sysinfo('is_image_status') == "TRUE") echo "checked" ?>> 是
							</label>
							<label class="radio-inline">
							  	<input type="radio" name="is_image_status" value="FALSE" <?php if($this->system_model->sysinfo('is_image_status') == "FALSE") echo "checked" ?>> 否
							</label>
				  		</div>
				  		<div class="col-sm-offset-2 col-sm-8" style="margin-top: 10px;"><?php echo form_error('is_image_status'); ?></div>
				  	</div>

				  	<div class="form-group">
                		<label class="col-sm-2 control-label">是否启用瀑布流</label>
				    	<div class="col-sm-8">
				    		<label class="radio-inline">
							  	<input type="radio" name="is_auto_layout" value="TRUE" <?php if($this->system_model->sysinfo('is_auto_layout') == "TRUE") echo "checked" ?>> 是
							</label>
							<label class="radio-inline">
							  	<input type="radio" name="is_auto_layout" value="FALSE" <?php if($this->system_model->sysinfo('is_auto_layout') == "FALSE") echo "checked" ?>> 否
							</label>
				  		</div>
				  		<div class="col-sm-offset-2 col-sm-8" style="margin-top: 10px;"><?php echo form_error('is_auto_layout'); ?></div>
				  	</div>

				  	<div class="form-group">
                		<label class="col-sm-2 control-label">是否启用CDN加速</label>
				    	<div class="col-sm-8">
				    		<label class="radio-inline">
							  	<input type="radio" name="is_loacl_debug" value="FALSE" <?php if($this->system_model->sysinfo('is_loacl_debug') == "FALSE") echo "checked" ?>> 是
							</label>
							<label class="radio-inline">
							  	<input type="radio" name="is_loacl_debug" value="TRUE" <?php if($this->system_model->sysinfo('is_loacl_debug') == "TRUE") echo "checked" ?>> 否
							</label>
				  		</div>
				  		<div class="col-sm-offset-2 col-sm-8" style="margin-top: 10px;"><?php echo form_error('is_loacl_debug'); ?></div>
				  	</div>

				  	<div class="form-group">
                		<label class="col-sm-2 control-label">是否启用开启评论</label>
				    	<div class="col-sm-8">
				    		<label class="radio-inline">
							  	<input type="radio" name="have_comment" value="TRUE" <?php if($this->system_model->sysinfo('have_comment') == "TRUE") echo "checked" ?>> 是
							</label>
							<label class="radio-inline">
							  	<input type="radio" name="have_comment" value="FALSE" <?php if($this->system_model->sysinfo('have_comment') == "FALSE") echo "checked" ?>> 否
							</label>
				  		</div>
				  		<div class="col-sm-offset-2 col-sm-8" style="margin-top: 10px;"><?php echo form_error('have_comment'); ?></div>
				  	</div>

				  	
				  	<div class="form-group">
    					<div class="col-sm-offset-2 col-sm-8">
							<button type="submit" class="btn btn-success border">保存</button>
						</div>
  					</div>
				</form>
			</div>
			
		</div>
	</div>
</div>