  {include file='admin/head'}
<div class="admin">

<!--<div class="alert alert-yellow">
		<span class="close rotate-hover"></span><strong>注意：</strong>请按照要求填写内容。</div>
	<div class="alert alert-blue">
		<span class="close rotate-hover"></span><strong>提示：</strong>请按照要求填写内容。</div>
	<div class="alert alert-green">
		<span class="close rotate-hover"></span><strong>恭喜：</strong>操作成功。</div>-->

			<div class="tab border-main">
				<div class="tab-head">
				  <ul class="tab-nav border-main">
						<li class="active"><a href="#tab-set">系统设置</a></li>
						<li><a href="#tab-email">伪静态URL</a></li>
						<li><a href="#tab-upload">缓存设置</a></li>
						 
					</ul>
				</div>
		
				<div class="tab-body">
					<br />
                    	<form method="post" class="form-x" action="/index.php/admin/save">
					<div class="tab-panel active" id="tab-set">
					
						
                        
               
						
							<div class="form-group">
								<div class="label">
									<label for="web">网站名称</label>
								</div>
								<div class="field">
									<input type="text" class="input" id="web" name="web" size="50" placeholder="网站名称" value="{$rs['web']}" data-validate="required:请填写你网站的名称" />
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="website">网址</label>
								</div>
								<div class="field">
									<input type="text" class="input" id="website" name="website"  value="{$rs['website']}" size="50" placeholder="请填写网址" data-validate="required:请填写网址" />
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="seo_1">优化标题</label>
								</div>
								<div class="field">
									<input type="text" class="input" id="seo_1" name="seo_1" size="50"   value="{$rs['seo_1']}" placeholder="title标题内容，用于搜索引擎优化" data-validate="required:请填写优化标题，建议在80字以内。" />
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="seo_2">关键词</label>
								</div>
								<div class="field">
									<input type="text" class="input" id="seo_2" name="seo_2" size="50"   value="{$rs['seo_2']}" placeholder="站点关键词，用于搜索引擎优化" data-validate="required:请填写站点关键词，建议在100字以内。" />
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="seo_3">描述</label>
								</div>
								<div class="field">
									<input type="text" class="input" id="seo_3" name="seo_3" size="50"   value="{$rs['seo_3']}" placeholder="网站的描述，用于搜索引擎优化" data-validate="required:请填写网站的描述，建议在200字以内。" />
								</div>
							</div>
                            <div class="form-group">
								<div class="label">
									<label for="seo_3">备案号</label>
								</div>
								<div class="field">
									<input type="text" class="input" id="beian" name="beian" size="50"  value="{$rs['beian']}" placeholder="网站的备案号" data-validate="required:请填写网站的备案号" />
								</div>
							</div>
                          
                            	<div class="form-group">
								<div class="label">
									<label for="readme">统计代码</label>
								</div>
								<div class="field">
									<textarea class="input" rows="3" cols="30" name="tj" id="tj" placeholder="请填写统计代码" data-validate="required:请填写统计代码">{$rs['tj']}</textarea>
								</div>
							</div>
                            <div class="form-group">
								<div class="label">
									<label for="readme">头部广告位</label>
								</div>
								<div class="field">
									<textarea class="input" rows="3" cols="30" name="ad" id="ad" placeholder="请填写头部广告位" data-validate="required:请填写头部广告位">{$rs['ad']}</textarea>
								</div>
							</div>
                            <div class="form-group">
								<div class="label">
									<label for="readme">尾部广告位</label>
								</div>
								<div class="field">
									<textarea class="input" rows="3" cols="30" name="ad3" id="ad3" placeholder="请填写尾部广告位" data-validate="required:请填写尾部广告位">{$rs['ad3']}</textarea>
								</div>
							</div>
                                     <div class="form-group">
								<div class="label">
									<label for="web">网站LOGO</label>
								</div>
								<div class="field">
									<input type="text" class="input" id="logo" name="logo" size="50" placeholder="网站LOGO" value="{$rs['logo']}" data-validate="required:请填写你网站的LOGO" />
								</div>
							</div>
                            
                                         <div class="form-group">
								<div class="label">
									<label for="web">随机关键词更新时间</label>
								</div>
								<div class="field">
									<input type="text" class="input" id="key_time" name="key_time" size="50" placeholder="随机关键词更新时间" value="{$rs['key_time']}" data-validate="required:随机关键词更新时间" />
								</div>
							</div>
                            
                                         <div class="form-group">
								<div class="label">
									<label for="web">随机关键词数量</label>
								</div>
								<div class="field">
									<input type="text" class="input" id="keys3" name="keys3" size="50" placeholder="随机关键词数量" value="{$rs['keys3']}" data-validate="required:随机关键词数量" />
								</div>
							</div>
                            
                            
                            
                            
                                	<div class="form-group">
								<div class="label">
									<label>图片服务器开关</label>
								</div>
								<div class="field">
									<div class="button-group button-group-small radio">
										<label class="button <?php 
                                            if($rs['img_true']==1) echo 'active';
                                            ?>">
											<input name="img_true" value="1" <?php 
                                            if($rs['img_true']==1) echo 'checked="checked"';
                                            ?>  type="radio">
											<span class="icon icon-check"></span> 开启</label>
										<label class="button <?php 
                                            if($rs['img_true']==0) echo 'active';
                                            ?>">
											<input name="img_true" value="0" <?php 
                                            if($rs['img_true']==0) echo 'checked="checked"';
                                            ?> type="radio">
											<span class="icon icon-times"></span> 关闭</label>
									</div>
								</div>
                                
                                
							</div>
                                          <div class="form-group">
								<div class="label">
									<label for="web">图片服务器地址</label>
								</div>
								<div class="field">
									<input type="text" class="input" id="img_server" name="img_server" size="50" placeholder="图片服务器地址" value="{$rs['img_server']}" data-validate="required:图片服务器地址" />
								</div>
							</div>
					
						
					</div>
					<div class="tab-panel" id="tab-email">
                    
                    	<div class="form-group">
								<div class="label">
									<label>网站URL伪静态</label>
								</div>
								<div class="field">
									<div class="button-group button-group-small radio">
										<label class="button <?php 
                                            if($rs['url_index']==1) echo 'active';
                                            ?>">
											<input name="url_index" value="1" <?php 
                                            if($rs['url_index']==1) echo 'checked="checked"';
                                            ?>  type="radio">
											<span class="icon icon-check"></span> 开启</label>
										<label class="button <?php 
                                            if($rs['url_index']==0) echo 'active';
                                            ?>">
											<input name="url_index" value="0" <?php 
                                            if($rs['url_index']==0) echo 'checked="checked"';
                                            ?> type="radio">
											<span class="icon icon-times"></span> 关闭</label>
									</div>
								</div>
                                
                                
							</div>
                            
                                   	<div class="form-group">
								<div class="label">
									<label>网站URL链接加密</label>
								</div>
								<div class="field">
									<div class="button-group button-group-small radio">
										<label class="button <?php 
                                            if($rs['key_true']==1) echo 'active';
                                            ?>">
											<input name="key_true" value="1" <?php 
                                            if($rs['key_true']==1) echo 'checked="checked"';
                                            ?> type="radio">
											<span class="icon icon-check"></span> 开启</label>
										<label class="button <?php 
                                            if($rs['key_true']==0) echo 'active';
                                            ?>">
											<input name="key_true" <?php 
                                            if($rs['key_true']==0) echo 'checked="checked"';
                                            ?> value="0" type="radio">
											<span class="icon icon-times"></span> 关闭</label>
									</div>
								</div>
                                
                                
							</div>
                            
                                     <div class="form-group">
								<div class="label">
									<label for="web_key">URL链接加密位数</label>
								</div>
								<div class="field">
									<input type="text" class="input" id="web_key" name="web_key" size="50"  value="{$rs['web_key']}" placeholder="URL链接加密位数" data-validate="required:URL链接加密位数" />
								</div>
							</div>
                            
                            <div class="form-group">
							 <blockquote class="border-main">
                              
							 
伪静态规则<br />
如果是APACHE环境请使用public/文件夹下.htaccess静态规则。<Br />
如果是nginx环境请使用public/文件夹下Nginx.conf静态规则。<Br />
如果是iis环境请使用public/iis文件夹下httpd.ini静态规则。
</blockquote>
 
							</div>
                            
                            
                            </div>
					<div class="tab-panel" id="tab-upload">
                    
                    	<div class="form-group">
								<div class="label">
									<label>网站缓存</label>
								</div>
								<div class="field">
									<div class="button-group button-group-small radio">
										<label class="button <?php 
                                            if($rs['cache_true']==1) echo 'active';
                                            ?>">
											<input name="cache_true" value="1" <?php 
                                            if($rs['cache_true']==1) echo 'checked="checked"';
                                            ?>  type="radio">
											<span class="icon icon-check"></span> 开启</label>
										<label class="button <?php 
                                            if($rs['cache_true']==0) echo 'active';
                                            ?>">
											<input name="cache_true" value="0" <?php 
                                            if($rs['cache_true']==0) echo 'checked="checked"';
                                            ?> type="radio">
											<span class="icon icon-times"></span> 关闭</label>
									</div>
								</div>
                                
                                
							</div>
                            
                                   
                            
                                     <div class="form-group">
								<div class="label">
									<label for="web_key">首页默认10分钟</label>
								</div>
								<div class="field">
									<input type="text" class="input" id="cache_index" name="cache_index" size="50"  value="{$rs['cache_index']}" placeholder="首页默认10分钟一更新" data-validate="required:首页默认10分钟一更新" />
								</div>
							</div>
                            
                              <div class="form-group">
								<div class="label">
									<label for="web_key">列表默认30分钟</label>
								</div>
								<div class="field">
									<input type="text" class="input" id="cache_list" name="cache_list" size="50"  value="{$rs['cache_list']}" placeholder="列表默认30分钟一更新" data-validate="required:列表默认30分钟一更新" />
								</div>
							</div>
                            
                              <div class="form-group">
								<div class="label">
									<label for="web_key">内容页默认120分钟</label>
								</div>
								<div class="field">
									<input type="text" class="input" id="cache_read" name="cache_read" size="50"  value="{$rs['cache_read']}" placeholder="内容页默认120分钟一更新" data-validate="required:内容页默认120分钟一更新" />
								</div>
							</div>
                    
                    </div>
				<Br />
				
                		<div class="form-button">
								<button class="button bg-main" type="submit">提交</button>
							</div>
          
		
	 

	   </form>
	</body>

</html>