<?php /* Smarty version Smarty-3.0.8, created on 2012-03-26 12:35:52
         compiled from "E:/wwwroot/guanjianzi/wwwroot/themes/system/option.html" */ ?>
<?php /*%%SmartyHeaderCode:106844f6ff228b7f910-05629765%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '4ad9f3f942334ae33c02a232061bdfe2c4b11ef8' => 
    array (
      0 => 'E:/wwwroot/guanjianzi/wwwroot/themes/system/option.html',
      1 => 1323093779,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '106844f6ff228b7f910-05629765',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>

    <h3 class="title"><em><?php echo $_smarty_tpl->getVariable('pagetitle')->value;?>
</em></h3>
    <div class="formbox">
        <form name="mform" method="post" action="<?php echo $_smarty_tpl->getVariable('fileurl')->value;?>
">
		<table width="100%" border="0" cellspacing="1" cellpadding="0">
			<?php if ($_smarty_tpl->getVariable('option')->value=='basic'){?>
			<tr>
				<th>网站名称：</th>
				<td><input name="cfg[site_name]" type="text" class="ipt" id="site_name" size="50" maxlength="50" value="<?php echo $_smarty_tpl->getVariable('cfg')->value['site_name'];?>
" /></td>
			</tr>
			<tr>
				<th>网站标题：</th>
				<td><input name="cfg[site_title]" type="text" class="ipt" id="site_title" size="50" maxlength="255" value="<?php echo $_smarty_tpl->getVariable('cfg')->value['site_title'];?>
" /></td>
			</tr>
			<tr>
				<th>网站地址：</th>
				<td><input name="cfg[site_url]" type="text" class="ipt" id="site_url" size="50" maxlength="255" value="<?php echo $_smarty_tpl->getVariable('cfg')->value['site_url'];?>
" /></td>
			</tr>
			<tr>
				<th>安装目录：</th>
				<td><input name="cfg[site_root]" type="text" class="ipt" id="site_root" size="50" maxlength="255" value="<?php echo $_smarty_tpl->getVariable('cfg')->value['site_root'];?>
" readonly="readonly" /><span class="tips">系统自动获得正确的路径，仅需手工保存。</span></td>
			</tr>
			<tr>
				<th>站长邮件：</th>
				<td><input name="cfg[admin_email]" type="text" class="ipt" id="admin_email" size="50" maxlength="100" value="<?php echo $_smarty_tpl->getVariable('cfg')->value['admin_email'];?>
" /><span class="tips">用来发送邮件的邮箱地址</span></td>
			</tr>
			<tr>
				<th valign="top">关 键 词：</th>
				<td><textarea name="cfg[site_keywords]" cols="60" rows="6" class="ipt" id="site_keywords"><?php echo $_smarty_tpl->getVariable('cfg')->value['site_keywords'];?>
</textarea></td>
			</tr>
			<tr>
				<th valign="top">网站描述：</th>
				<td><textarea name="cfg[site_description]" cols="60" rows="6" class="ipt" id="site_description"><?php echo $_smarty_tpl->getVariable('cfg')->value['site_description'];?>
</textarea></td>
			</tr>
			<tr>
				<th valign="top">页底版权：</th>
				<td><textarea name="cfg[site_copyright]" cols="60" rows="6" class="ipt" id="site_copyright"><?php echo $_smarty_tpl->getVariable('cfg')->value['site_copyright'];?>
</textarea></td>
			</tr>
        	<?php }elseif($_smarty_tpl->getVariable('option')->value=='misc'){?>
			<tr>
				<th>是否启用Gzip压缩功能：</th>
				<td><input name="cfg[is_enabled_gzip]" type="radio" id="is_enabled_gzip1" value="yes"<?php echo opt_checked($_smarty_tpl->getVariable('cfg')->value['is_enabled_gzip'],'yes');?>
><label for="is_enabled_gzip1">开启</label>　<input name="cfg[is_enabled_gzip]" type="radio" id="is_enabled_gzip0" value="no"<?php echo opt_checked($_smarty_tpl->getVariable('cfg')->value['is_enabled_gzip'],'no');?>
><label for="is_enabled_gzip0">关闭</label></td>
			</tr>
			<tr>
				<th>是否启用站点提交功能：</th>
				<td><input name="cfg[is_enabled_submit]" type="radio" id="is_enabled_submit1" value="yes"<?php echo opt_checked($_smarty_tpl->getVariable('cfg')->value['is_enabled_submit'],'yes');?>
 onclick="$('#submit_reason').hide();"><label for="is_enabled_submit1">开启</label>　<input name="cfg[is_enabled_submit]" type="radio" id="is_enabled_submit0" value="no"<?php echo opt_checked($_smarty_tpl->getVariable('cfg')->value['is_enabled_submit'],'no');?>
 onclick="$('#submit_reason').show();"><label for="is_enabled_submit0">关闭</label></td>
			</tr>
			<tr id="submit_reason" style="display: <?php echo opt_display($_smarty_tpl->getVariable('cfg')->value['is_enabled_submit'],'no');?>
;">
				<th valign="top">关闭站点提交功能说明：</th>
				<td><textarea name="cfg[submit_close_reason]" cols="60" rows="6" class="ipt" id="submit_close_reason"><?php echo $_smarty_tpl->getVariable('cfg')->value['submit_close_reason'];?>
</textarea></td>
			</tr>
			<tr>
				<th>每日最多提交站点上限：</th>
				<td><input name="cfg[submit_url_limit]" type="text" class="ipt" id="submit_url_limit" size="10" maxlength="10" value="<?php echo $_smarty_tpl->getVariable('cfg')->value['submit_url_limit'];?>
" /><span class="tips">当为0时不限制提交数量</span></td>
			</tr>
			<tr>
				<th>站点数据更新周期设置：</th>
				<td><input name="cfg[data_update_cycle]" type="text" class="ipt" id="data_update_cycle" size="10" maxlength="10" value="<?php echo $_smarty_tpl->getVariable('cfg')->value['data_update_cycle'];?>
" /><span class="tips">系统自动更新PR, SPR, Alexa</span></td>
			</tr>
        	<?php }elseif($_smarty_tpl->getVariable('option')->value=='mail'){?>
			<tr>
				<th>SMTP服务器地址：</th>
				<td><input name="cfg[smtp_host]" type="text" class="ipt" id="smtp_host" size="50" maxlength="50" value="<?php echo $_smarty_tpl->getVariable('cfg')->value['smtp_host'];?>
" /><span class="tips">发送邮件的服务器地址，例smtp.126.com</span></td>
			</tr>
			<tr>
				<th>SMTP服务器端口：</th>
				<td><input name="cfg[smtp_port]" type="text" class="ipt" id="smtp_port" size="10" maxlength="10" value="<?php echo $_smarty_tpl->getVariable('cfg')->value['smtp_port'];?>
" /><span class="tips">默认端口为25</span></td>
			</tr>
			<tr>
				<th>是否启用SMTP验证功能：</th>
				<td><input name="cfg[smtp_auth]" type="radio" id="smtp_auth1" value="yes"<?php echo opt_checked($_smarty_tpl->getVariable('cfg')->value['smtp_auth'],'yes');?>
><label for="smtp_auth1">开启</label>　<input name="cfg[smtp_auth]" type="radio" id="smtp_auth0" value="no"<?php echo opt_checked($_smarty_tpl->getVariable('cfg')->value['smtp_auth'],'no');?>
><label for="smtp_auth0">关闭</label><span class="tips">通常需要开启</span></td>
			</tr>
			<tr>
				<th>SMTP服务器帐号：</th>
				<td><input name="cfg[smtp_user]" type="text" class="ipt" id="smtp_user" size="30" maxlength="20" value="<?php echo $_smarty_tpl->getVariable('cfg')->value['smtp_user'];?>
" /><span class="tips">登录邮件服务器的帐号</span></td>
			</tr>
			<tr>
				<th>SMTP服务器密码：</th>
				<td><input name="cfg[smtp_pass]" type="password" class="ipt" id="smtp_pass" size="30" maxlength="20" value="<?php echo $_smarty_tpl->getVariable('cfg')->value['smtp_pass'];?>
" /><span class="tips">登录邮件服务器的密码</span></td>
			</tr>
        	<?php }elseif($_smarty_tpl->getVariable('option')->value=='rewrite'){?>
			<tr>
				<th>是否启用伪静态功能：</th>
				<td><input name="cfg[is_enabled_rewrite]" type="radio" id="is_enabled_rewrite1" value="yes"<?php echo opt_checked($_smarty_tpl->getVariable('cfg')->value['is_enabled_rewrite'],'yes');?>
><label for="is_enabled_rewrite1">开启</label>　<input name="cfg[is_enabled_rewrite]" type="radio" id="is_enabled_rewrite0" value="no"<?php echo opt_checked($_smarty_tpl->getVariable('cfg')->value['is_enabled_rewrite'],'no');?>
><label for="is_enabled_rewrite0">关闭</label><span class="tips">此功能需要了解服务器或虚拟主机环境是否支持Rewrite</span></td>
			</tr>
			<tr>
				<th>URL静态化文件扩展名：</th>
				<td>
                	<select name="cfg[rewrite_suffix]" id="rewrite_suffix">
					<option value=".htm"<?php echo opt_selected($_smarty_tpl->getVariable('cfg')->value['rewrite_suffix'],'.htm');?>
> .htm </option>
					<option value=".html"<?php echo opt_selected($_smarty_tpl->getVariable('cfg')->value['rewrite_suffix'],'.html');?>
> .html </option>
					<option value=".shtml"<?php echo opt_selected($_smarty_tpl->getVariable('cfg')->value['rewrite_suffix'],'.shtml');?>
> .shtml </option>
					<option value=".tpl"<?php echo opt_selected($_smarty_tpl->getVariable('cfg')->value['rewrite_suffix'],'.tpl');?>
> .tpl </option>
					<option value=".asp"<?php echo opt_selected($_smarty_tpl->getVariable('cfg')->value['rewrite_suffix'],'.asp');?>
> .asp </option>
                    <option value=".php"<?php echo opt_selected($_smarty_tpl->getVariable('cfg')->value['rewrite_suffix'],'.php');?>
> .php </option>
					<option value=".jsp"<?php echo opt_selected($_smarty_tpl->getVariable('cfg')->value['rewrite_suffix'],'.jsp');?>
> .jsp </option>
					<option value=".do"<?php echo opt_selected($_smarty_tpl->getVariable('cfg')->value['rewrite_suffix'],'.do');?>
> .do </option>
					</select><span class="tips">默认为html格式，如修改为其他格式，请修改相应伪静态规则</span>
                </td>
			</tr>
        	<?php }?>
			<tr class="btnbox">
            	<th>&nbsp;</th>
				<td>
					<input name="act" type="hidden" id="act" value="update">
					<input type="submit" class="btn" value="保 存">
				</td>
			</tr>
		</table>
		</form>
	</div>

<?php $_template = new Smarty_Internal_Template("footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>