<!--#include file="system_Fun.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="<%=sitepath%>css/bootstrap.min.css" rel="stylesheet">
<link href="<%=sitepath%>css/font-awesome.min.css" rel="stylesheet">
<link href="<%=sitepath%>css/animate.min.css" rel="stylesheet">
<link href="<%=sitepath%>css/style.min.css" rel="stylesheet">
<link href="<%=sitepath&adminPath%>css/adminstyle.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="../../inc/webuploader/css/webuploader.css" />
<link rel="stylesheet" type="text/css" href="../../inc/webuploader/css/style.css" />
<script src="<%=sitepath%>js/jquery.min.js"></script>
<script src="<%=sitepath%>plugins/colorpicker/bootstrap-colorpicker.min.js"></script>
<!--[if lte IE 9]>
<script src="<%=sitepath%>js/respond.min.js"></script>
<script src="<%=sitepath%>js/html5.js"></script>
<![endif]-->
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content">
  <div class="ibox float-e-margins">
    <div class="row m-t">
      <form method="post" action="?act=editsite&lid=<%=zset.LID%>" class="form-horizontal">
        
<div class="col-md-6">
							<div class="panel">
								<div class="panel-heading">
									<h3 class="panel-title">网站信息</h3>
									<div class="panel-aj">
										<button type="button" class="btn-toggle-collapse"><i class="fa fa-chevron-down"></i></button>
										<button type="button" class="btn-remove"><i class="fa fa-times"></i></button>
									</div>
								</div>
<div class="panel-body">
<div class="panel-body no-padding">		
<div class="ibox-content">
              <div class="form-group">
                <label class="col-sm-2 control-label">网站名称</label>
                <div class="col-sm-10">
                  <input type="text" name="siteTitle" id="siteTitle" placeholder="<%=zset.siteTitle%>"  value="<%=zset.siteTitle%>" class="form-control">
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">网页附加名称</label>
                <div class="col-sm-4">
                  <input type="text" name="additionTitle" id="additionTitle"  placeholder="<%=zset.additionTitle%>"  value="<%=zset.additionTitle%>" class="form-control">
                </div>
                <label class="col-sm-2 control-label">备案号</label>
                <div class="col-sm-4">
                  <input type="text" name="companyICP" id="companyICP" placeholder="<%=zset.companyICP%>" value="<%=zset.companyICP%>" class="form-control">
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">网站LOGO</label>
                <div class="col-sm-5">
                  <input type="text" name="SitePcLogo" id="PcLogo" placeholder="<%=zset.SitePcLogo%>" value="<%=zset.SitePcLogo%>" class="form-control">
                </div>
                <div class="col-sm-2">
                	<div id="logo_upload">上传</div>
                </div>
                <div class="col-sm-2"> <img src="<%=zset.SitePcLogo%>" height="30" id="img_PcLogo"></div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">手机LOGO</label>
                <div class="col-sm-5">
                  <input type="text" name="SiteWapLogo" id="WapLogo" placeholder="<%=zset.SiteWapLogo%>" value="<%=zset.SiteWapLogo%>"  class="form-control">
                </div>
                <div class="col-sm-2">
             		 <div id="waplogo_upload">上传</div>
                </div>
                <div class="col-sm-2"> <img src="<%=zset.SiteWapLogo%>" height="30" id="img_WapLogo"></div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">微信二维码</label>
                <div class="col-sm-5">
                  <input type="text" name="weixin" id="Weixin" placeholder="<%=zset.weixin%>" value="<%=zset.weixin%>" class="form-control">
                </div>
                <div class="col-sm-2">
                  	<div id="weixin_upload">上传</div>
                </div>
                <div class="col-sm-2"> <img src="<%=zset.weixin%>" height="30" id="img_Weixin"></div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">PC网址</label>
                <div class="col-sm-10">
                  <input type="text" name="siteUrl" id="siteUrl" placeholder="<%=zset.siteUrl%>" value="<%=zset.siteUrl%>" class="form-control">
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">Wap网址</label>
                <div class="col-sm-10">
                  <input type="text" name="siteWapUrl" id="siteWapUrl" placeholder="<%=zset.siteWapUrl%>" value="<%=zset.siteWapUrl%>" class="form-control">
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">网站关键字</label>
                <div class="col-sm-10">
                  <input type="text" name="SiteKeys" id="SiteKeys" placeholder="<%=zset.SiteKeys%>" value="<%=zset.SiteKeys%>" class="form-control">
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">网站描述</label>
                <div class="col-sm-10">
                  <textarea id="SiteDesc" name="SiteDesc" class="form-control" placeholder="<%=zset.SiteDesc%>"><%=zset.SiteDesc%></textarea>
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">版权信息</label>
                <div class="col-sm-10">
                  <textarea id="copyRight" name="copyRight" class="form-control" placeholder="<%=zset.copyRight%>"><%=zset.copyRight%></textarea>
                </div>
              </div>
            </div>

<div class="panel">
								<div class="panel-heading">
									<h3 class="panel-title">公司信息</h3>
								</div>
<div class="panel-body">
<div class="panel-body no-padding">		
<div class="ibox-content">
              <div class="form-group">
                <label class="col-sm-2 control-label">公司名称</label>
                <div class="col-sm-10">
                  <input type="text" name="companyName" id="companyName" placeholder="<%=zset.companyName%>" value="<%=zset.companyName%>" class="form-control">
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">联系人</label>
                <div class="col-sm-10">
                <div class="input-group">
                  <input type="text"  name="companyContact" id="companyContact" placeholder="<%=zset.companyContact%>" value="<%=zset.companyContact%>" class="form-control">
                  <span class="input-group-addon">多个联系人用|分隔</span>
                  </div>
                </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">联系qq</label>
                <div class="col-sm-10">
                  <div class="input-group">
                  <input type="text" title="支持多个qq，用|分隔" name="qq" id="qq" placeholder="<%=zset.qq%>"  value="<%=zset.qq%>"  class="form-control">
                   <span class="input-group-addon">多个客服qq用|分隔</span>
                </div> </div>
              </div>
              <div class="form-group">
                <label class="col-sm-2 control-label">电话</label>
                <div class="col-sm-10">
                <div class="input-group">
                  <input type="text" name="companyTel" id="companyTel" placeholder="<%=zset.companyTel%>" value="<%=zset.companyTel%>" title="支持多个电话，用|分隔" class="form-control">
                  <span class="input-group-addon">多个电话号用|分隔</span>
                </div> </div>
              </div>
                <div class="form-group">
                <label class="col-sm-2 control-label">邮箱</label>
                <div class="col-sm-10">
                 <div class="input-group">
                  <input type="text" name="companyEmail" id="companyEmail" placeholder="<%=zset.companyEmail%>" value="<%=zset.companyEmail%>" class="form-control">
                    <span class="input-group-addon">多个邮箱号用|分隔</span>
                </div> 
                </div>
               </div>  
              <div class="form-group">
                <label class="col-sm-2 control-label">手机</label>
                <div class="col-sm-4">
                  <input type="text"  name="companyMobile" id="companyMobile" placeholder="<%=zset.companyMobile%>" value="<%=zset.companyMobile%>" class="form-control">
                </div>
                 <label class="col-sm-2 control-label">传真</label>
                <div class="col-sm-4">
                  <input type="text" name="companyFax" id="companyFax"  placeholder="<%=zset.companyFax%>" value="<%=zset.companyFax%>" class="form-control">
                </div>
              </div>
            
  			  <div class="form-group">
                <label class="col-sm-2 control-label">地址</label>
                <div class="col-sm-4">
                  <input type="text" name="companyAddress" id="companyAddress" placeholder="<%=zset.companyAddress%>"  value="<%=zset.companyAddress%>" class="form-control">
                </div>
              <label class="col-sm-2 control-label">邮编</label>
                <div class="col-sm-4">
                  <input type="text"name="companyPostCode" id="companyPostCode" placeholder="<%=zset.companyPostCode%>"  value="<%=zset.companyPostCode%>"  class="form-control">
                </div>
              </div>
                             
                 <div class="form-group">
                <label class="col-sm-2 control-label">PC客服</label>
                <div class="col-sm-4">                
     			<%
				dim foothtml,selected0,selected1,selected2,selected3,wapkf
				foothtml=loadfile(sitepath&"template/pc/"&zset.PcTemplate&zset.PchtmlPath&"foot.html")
				wapkf=loadfile(sitepath&"plugins/qqkf/wapqq.html")
				if ifstrin(foothtml,"{cms:qqkf") then
					if ifstrin(foothtml,"{cms:qqkf1}")	then selected1="selected='selected'"
			
				else
					selected0="selected='selected'"
				end if
				%>
                    <select name="fancySelect" class="makeMeFancy" id="qqkf">                
                        <option value="0" <%=selected0%>data-icon="../../../plugins/qqkf/qqkf0.jpg" data-html-text="关闭PC客服">关闭PC客服</option>
                        <option value="1"  data-icon="" data-html-text="PC客服-样式1">PC客服-样式1</option>
      
                    </select>
 
                <link rel="stylesheet" type="text/css" href="../../../plugins/selectpic/selectpic.css" />
                <script src="../../../plugins/selectpic/selectpic.js"></script>
                </div>
                <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>更多扩展功能请访问启点在线官方网站<a href="http://www.kelvinvt.com" target="_blank">kelvinvt.com</a> 点我直接会话QQ：<a href="http://wpa.qq.com/msgrd?v=3&uin=15038883&site=qq&menu=yes" target="_blank">15038883</a></span>
              </div>   
                                        </div>
<div class="col-sm-12  m-t">
          <div class=" col-sm-10 col-md-offset-1">
            <button class="btn btn-primary" type="submit"><i class="fa fa-floppy-o"></i>　保存内容</button>
            <button onClick="location.reload()" class="btn btn-primary1" type="button"><i class="fa fa-refresh"></i> 刷新</button>
          </div>
        </div>
</div>
</div>

							</div>

</div>
</div>

							</div>
						</div>
      </form>
    </div>
  </div>
  <!-- End Panel Other --> 
</div>
<script src="<%=sitepath%>js/klorofil-common.js"></script>
<script src="<%=sitepath%>js/bootstrap.min.js"></script>
<link href="<%=sitepath%>plugins/colorpicker/bootstrap-colorpicker.min.css" rel="stylesheet">
<script src="<%=sitepath%>plugins/layer/layer.min.js"></script> 
<script src="<%=sitepath&adminPath%>js/adminjs.js"></script> 
<script type="text/javascript" src="../../inc/webuploader/js/webuploader.js"></script> 
<script type="text/javascript" charset="utf-8" src="../../inc/webuploader/config.asp"></script> 
<script type="text/javascript" src="../../inc/webuploader/js/oneupload.js"></script> 
<script type="text/javascript">
$(function () {
	fileuploader("logo_upload","image","logo","PcLogo","logo")
	fileuploader("waplogo_upload","image","logo","WapLogo","wapLogo")
	fileuploader("weixin_upload","image","logo","Weixin","weixin")
	$("#color").colorpicker().on('changeColor', function(e) {
 	 $('#title').attr("style","color:"+e.color.toHex());
	 $("li").on("click",".dropDown li",function(){
		qqkfval=$("#qqkf").val()
	});
 });
  $("input,textarea").blur(function() {
    var colval = $(this).val();
    var colplace = $(this).attr('placeholder');
    var colname = $(this).attr('name');
    if (colval != colplace) {
        $(this).attr('placeholder', colval);      
		$.post("system_Fun.asp?act=saveid",{"colval":colval,"colname":colname},function(data){layer.msg('保存成功');});
    }
	});	
  });

function openmap(url){
	layer.open({
	  type: 2,
	  area: ['1000px', '600px'],
	  fix: false, //不固定
	  maxmin: true,
	  content: url,
	  end: function(index, layero){
	   $("#companyMapPoint").focus();
	  }
	});
}
</script>
</body>
</html>