<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>{#$txt_title#} - Powered by HuCart.COM</title>
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/info.css" rel="stylesheet">
<script language="javascript" src="{#$base_weburl#}/js/pinyin.js"></script>
<script language="javascript" src="{#$base_weburl#}/js/admin_common.js"></script>

<!--[if lt IE 9]>
  <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->

<script language="javascript">
	var webroot_url = '{#$base_weburl#}';
	function submitFun()
	{
			var idweb_name 			= document.getElementById('web_name');
			var idweb_title 		= document.getElementById('web_title');
			var idweb_description 	= document.getElementById('web_description');
			var idweb_keyword 		= document.getElementById('web_keyword');
	
			if(idweb_name.value=='')
			{
				alert('{#$lang.web_name_err#}');
				idweb_name.focus();
				return false;
			}else if(idweb_title.value=='')
			{
				alert('{#$lang.web_title_err#}');
				idweb_title.focus();
				return false;
			}else if(idweb_description.value=='')
			{
				alert('{#$lang.web_description_err#}');
				idweb_description.focus();
				return false;
			}else if(idweb_keyword.value=='')
			{
				alert('{#$lang.web_keyword_err#}');
				idweb_keyword.focus();
				return false;
			}
			
			document.formSub.target="_self"
			document.formSub.submit();
	}
	
	function close_web(val)
	{
		 if(val=='1'){
			 document.getElementById('div_web_close').style.display='block';
		 }else{
			 document.getElementById('div_web_close').style.display='none';
		 }
		 
	}
	
</script>
</head>
<body>
    <div class="info-tit"><span class="glyphicon glyphicon-paperclip"> </span> <a href="index.php?load={#$master_act#}&act=info_list" >{#$lang.title#}</a> > {#$txt_title#} ({#$lang.need_edit#}&nbsp;&nbsp; {#$lang.need_add#} {#$lang.need_del#})<a href="http://help.hucart.com/item-show-{#$master_act#}.html" target="_blank" title="{#$lang.help_url#}"><span class="glyphicon glyphicon-question-sign" style="float: right"></span></a></div>
    <!-- custom con start -->
    <div class="info-add">
      <form class="form-horizontal" name="add-form" id="add-form" method="post" action="{#$act_url#}">
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_name#}</label>
          <div class="col-sm-4">
            <input class="form-control" name="web_name" id="web_name" value="{#$re_arr.web_name.sys_value#}" type="text"  >
          </div>
        </div>

        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_title#}</label>
          <div class="col-sm-4">
            <input class="form-control" name="web_title" id="web_title" value="{#$re_arr.web_title.sys_value#}" type="text"  >
          </div>
        </div>

        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_logo#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="web_logo" id="web_logo" value="{#$re_arr.web_logo.sys_value#}" type="text"  >
          </div>
        </div>

        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_keyword#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="web_keyword" id="web_keyword" value="{#$re_arr.web_keyword.sys_value#}" type="text"  >
          </div>
        </div>



        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"> {#$lang.field_list.web_description#}</label>
          <div class="col-sm-4">
          {#$ckeditorLoad#}
          </div>
        </div>


        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_qq#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="web_qq" id="web_qq" value="{#$re_arr.web_qq.sys_value#}" type="text"  >
          </div>
        </div>




        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_phote#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="web_phote" id="web_phote" value="{#$re_arr.web_phote.sys_value#}" type="text"  >
          </div>
        </div>

        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_close#}</label>
          <div class="col-sm-4">
			{#foreach key=ek item=ei from=$lang.web_close_arr#}&nbsp;&nbsp;
			{#$ei#}<input type="radio"   name="sys_enabled" id="sys_enabled[{#$ek#}]" onClick="close_web(this.value)"  value="{#$ek#}" {#if $ek eq $re_arr.web_close.sys_value#} checked="checked" {#/if#}>
			{#/foreach#}
          </div>
        </div> 



        <div class="form-group form-group-sm" id="div_web_close" {#if $re_arr.web_close.sys_value eq 0#}  style="display:none;" {#/if#}>
          <label class="col-sm-2 control-label" for="i-tit"> {#$lang.field_list.web_close_val#}</label>
          <div class="col-sm-4">
          {#$close_ckeditorLoad#}
          </div>
        </div>


		
		
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_close_reg#}</label>
          <div class="col-sm-3">
			{#foreach key=ek item=ei from=$lang.web_close_reg_arr#}&nbsp;&nbsp;
			{#$ei#}<input type="radio"   name="web_close_reg" id="web_close_reg[{#$ek#}]"   value="{#$ek#}" {#if $ek eq $re_arr.web_close_reg.sys_value#} checked="checked" {#/if#}>
			{#/foreach#}
          </div>
        </div>
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_certificate#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="web_certificate" id="web_certificate" value="{#$re_arr.web_certificate.sys_value#}" type="text"  >
          </div>
        </div>
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_serach_key#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="web_serach_key" id="web_serach_key" value="{#$re_arr.web_serach_key.sys_value#}" type="text"  >
          </div>
        </div>
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_linkman#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="web_linkman" id="web_linkman" value="{#$re_arr.web_linkman.sys_value#}" type="text"  >
          </div>
        </div>
		
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_address#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="web_address" id="web_address" value="{#$re_arr.web_address.sys_value#}" type="text"  >
          </div>
        </div>
		
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_language#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="web_language" id="web_language" value="{#$re_arr.web_language.sys_value#}" type="text"  >
          </div>
        </div>


        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_powered#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="web_powered" id="web_powered" value="{#$re_arr.web_powered.sys_value#}" type="text"  >
          </div>
        </div>

        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_count_code#}</label>
          <div class="col-sm-3">
		  	<textarea class="form-control" name="web_count_code" id="web_count_code" style="width:300px;" >{#$re_arr.web_count_code.sys_value#}</textarea>
          </div>
        </div>
		
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_tmp#}</label>
          <div class="col-sm-3">
			{#foreach key=ek item=ei from=$lang.web_tmp_arr#}&nbsp;&nbsp;
			{#$ei#}<input type="radio"   name="web_tmp" id="web_tmp[{#$ek#}]"   value="{#$ek#}" {#if $ek eq $re_arr.web_tmp.sys_value#} checked="checked" {#/if#}>
			{#/foreach#}
          </div>
        </div>

        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.web_tmp_time#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="web_tmp_time" id="web_tmp_time" value="{#$re_arr.web_tmp_time.sys_value#}" type="text"  >
          </div>
        </div>
		
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.mail_localhost#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="mail_localhost" id="mail_localhost" value="{#$re_arr.mail_localhost.sys_value#}" type="text"  >
          </div>
        </div>

        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.mail_user_name#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="mail_user_name" id="mail_user_name" value="{#$re_arr.mail_user_name.sys_value#}" type="text"  >
          </div>
        </div>
		
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.mail_passwd#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="mail_passwd" id="mail_passwd" value="{#$re_arr.mail_passwd.sys_value#}" type="password"  >
          </div>
        </div>

 
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.mail_reply#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="mail_reply" id="mail_reply" value="{#$re_arr.mail_reply.sys_value#}" type="text"  >
          </div>
        </div>
 
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.mail_reply_name#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="mail_reply_name" id="mail_reply_name" value="{#$re_arr.mail_reply_name.sys_value#}" type="text"  >
          </div>
        </div>
 
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.mail_from_name#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="mail_from_name" id="mail_from_name" value="{#$re_arr.mail_from_name.sys_value#}" type="text"  >
          </div>
        </div>
 
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.mail_type_mail#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="mail_type_mail" id="mail_type_mail" value="{#$re_arr.mail_type_mail.sys_value#}" type="text"  >
          </div>
        </div>
 
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.mail_from#}</label>
          <div class="col-sm-3">
              <input class="form-control" name="mail_from" id="mail_from" value="{#$re_arr.mail_from.sys_value#}" type="text"  >
          </div>
        </div>



        <div class="form-group">
          <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-primary  btn-sm" onClick="return submitFun(this)" >{#$edit_submit#}</button>&nbsp;&nbsp;&nbsp;&nbsp;
            <button type="reset" class="btn btn-default btn-sm">{#$lang.reset#}</button>
          </div>
        </div>
        <input type="hidden" name="act_type" value="{#$act_type#}">
        <input type="hidden" name="sys_id" id="sys_id"  value="{#$re_arr.web_name.sys_id#}">
      </form>
    </div>
    <!-- custom con end -->
    
    <footer class="footer">
      <div class="container">
        <p class="text-muted">Powered by <a href="http://Www.HuCart.COM" target="_blank">HuCart.COM</a></p>
      </div>
    </footer>
<script src="{#$base_weburl#}/js/jquery.min.js"></script>
<script src="{#$base_weburl#}/js/base.js"></script>
</body>
</html>