{include "header.inc.html"}
<div class="content_box">
	<div class="toolbar_box">
		<div class="toolbar"> <span> <strong>{$lang.admin.site.name}</strong><br />
		<span class="english">{$lang.admin.site.name_en}</span> </span> </div>
	</div>
<div class="hotkeyForm">
<form class="form" action="" method="post" id="form-site">
<input type="hidden" name="act" value="edit" /><input type="hidden" name="inajax" value="1" /><input type="hidden" name="id" value="{$siteInfo.id}" />
<div class="form-line">
<label class="label">siteName {$lang.admin.site.siteName}：</label><div class="element"><input type="text" class="text w200" name="siteName" value="{$siteInfo.siteName}" /></div>
</div>
<div class="form-line">
<label class="label">shortName 简洁名称：</label><div class="element"><input type="text" class="text w200" name="shortName" value="{$siteInfo.shortName}" /></div>
</div>
<div class="form-line">
<label class="label">siteUrl {$lang.admin.site.siteUrl}：</label><div class="element"><input type="text" class="text w200" name="siteUrl" value="{$siteInfo.siteUrl}" /></div>
</div>
<div class="form-line">
<label class="label">siteHost 域名：</label><div class="element"><input type="text" class="text w200" name="siteHost" value="{$siteInfo.siteHost}" /> 不包含http://在内的网站网址</div>
</div>
<div class="form-line">
<label class="label">siteDomain 主域名：</label><div class="element"><input type="text" class="text w200" name="siteDomain" value="{$siteInfo.siteDomain}" /> 不含www. ，只包含主域名</div>
</div>
<div class="form-line">
<label class="label">{$lang.admin.site.sitePath}：</label><div class="element"><input type="text" class="text w200" name="sitePath" value="{$siteInfo.sitePath}" /></div>
</div>
<div class="form-line">
<label class="label">comName {$lang.admin.site.comName}：</label><div class="element"><input type="text" class="text w200" name="comName" value="{$siteInfo.comName}" /></div>
</div>
<div class="form-line">
<label class="label">comAddr {$lang.admin.site.comAddr}：</label><div class="element"><input type="text" class="text w300" name="comAddr" value="{$siteInfo.comAddr}" /> 邮编：<input type="text" class="text w60" name="comZip" value="{$siteInfo.comZip}" /></div>
</div>
<div class="form-line">
<label class="label">comTel 公司电话：</label><div class="element"><input type="text" class="text w300" name="comTel" value="{$siteInfo.comTel}" /></div>
</div>
<div class="form-line">
<label class="label">comFax 公司传真：</label><div class="element"><input type="text" class="text w300" name="comFax" value="{$siteInfo.comFax}" /></div>
</div>
<div class="form-line">
<label class="label">comEmail 公司邮箱：</label><div class="element"><input type="text" class="text w300" name="comEmail" value="{$siteInfo.comEmail}" /></div>
</div>
<div class="form-line">
<label class="label">comQQ 公司QQ：</label><div class="element"><input type="text" class="text w300" name="comQQ" value="{$siteInfo.comQQ}" /></div>
</div>
<div class="form-line">
<label class="label">LOGO图片：</label><div class="element"><input type="text" class="text w300" name="logoImage" value="{$siteInfo.logoImage}" /></div>
</div>
<div class="form-line">
<label class="label">LOGO宽：</label><div class="element"><input type="text" class="text w50" name="logoWidth" value="{$siteInfo.logoWidth}" /></div>
</div>
<div class="form-line">
<label class="label">LOGO高：</label><div class="element"><input type="text" class="text w50" name="logoHeight" value="{$siteInfo.logoHeight}" /></div>
</div>

<div class="form-line">
<label class="label">网站公告：</label><div class="element"><textarea type="text" class="text w400" name="announcement">{$siteInfo.announcement}</textarea></div>
</div>
{if $cfg_lang=="zh-cn"}
<div class="form-line">
<label class="label">icprNo {$lang.admin.site.icprNo}：</label><div class="element"><input type="text" class="text w200" name="icprNo" value="{$siteInfo.icprNo}" /></div>
</div>
{/if}
<div class="form-line"><label class="label">网站标题：</label><div class="element"><input type="text" class="text w500" name="title" value="{$siteInfo.title}" /></div></div>
<div class="form-line"><label class="label">网站关键字：</label><div class="element"><textarea name="keywords" style="width:550px;height:60px;">{$siteInfo.keywords}</textarea></div></div>
<div class="form-line"><label class="label">网站描述：</label><div class="element"><textarea name="description" style="width:550px;height:60px;">{$siteInfo.description}</textarea></div></div>
<div class="form-line"><label class="label">模板名称：</label><div class="element"><input type="text" class="text w100" name="template" value="{$siteInfo.template}" /></div></div>
<div class="form-line"><label class="label">模板名称：</label><div class="element"><input type="text" class="text w100" name="theme" value="{$siteInfo.theme}" /></div></div>
<div class="form-line">
<label class="label"></label><div class="element"><input type="submit" class="btn_sub" value="{$lang.form.submit}" /></div>
</div>
</form>
</div>
</div><!--.content_box-->
<script type="text/javascript">
$("#form-site").ajaxForm({ dataType:'json',success:function(json){ if(json.success){ qlib.tips({ icon:'success',msg:'修改成功'}); }else{ qlib.tips({ icon:'error',msg:'修改失败' }); } } });
</script>
{include "footer.inc.html"}