
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>[.$ourphp_adminfont.admintitle.]</title>
<link href="templates/images/ourphp_login.css" rel="stylesheet" type="text/css"> 
<script type="text/javascript" src="../../function/plugs/jquery/1.7.2/jquery-1.7.2.min.js"></script>
<script>
<!--
/*第一种形式 第二种形式 更换显示样式*/
function setTab(m,n){
 var tli=document.getElementById("menu"+m).getElementsByTagName("li");
 var mli=document.getElementById("main"+m).getElementsByTagName("ul");
 for(i=0;i<tli.length;i++){
  tli[i].className=i==n?"hover":"";
  mli[i].style.display=i==n?"block":"none";
 }
}
//-->
</script>
<style type="text/css">
.upload-btn {
	width:100px; height:35px; line-height:35px; background:#0099CC; color:#FFFFFF; border:0px;
}
</style>
</head>
<body>
<div style="height:50px;"></div>
<div style="clear:both"></div>
<form id="form1" name="form1" method="POST" action="?ourphp_cms=edit" class="registerform">
<!--第一种形式-->
<div id="tabs0">
 <ul class="menu0" id="menu0">
  <li onclick="setTab(0,0)" [.if empty($smarty.get.page).]class="hover"[./if.]>网站信息</li>
  <li onclick="setTab(0,1)" [.if $smarty.get.page == 'two'.]class="hover"[./if.]>基本信息</li>
  <li onclick="setTab(0,2)">其它信息</li>
  <li onclick="setTab(0,3)">二维码设置</li>
  <li><a href="ourphp_qq.php?id=ourphp">其它客服设置</a></li>
  
  [.section loop=$langlist name=op.]
	  [.if $langlist[op].id != 1.]
		<li><a href="ourphp_langview.php?id=[.$langlist[op].id.]">[.$langlist[op].font.]</a></li>
	  [./if.]
  [./section.]
  
 </ul>
 <div class="main" id="main0" style="border-top:2px #488fcd solid; clear:both;">
  <ul [.if empty($smarty.get.page).]class="block"[./if.]><li>
		<table width="98%" border="0" cellpadding="5" cellspacing="0" bordercolor="#666666" style="border-collapse:collapse; " align="center">
		  <tr>
		  	<td width="170"><div align="right">网站标题</div></td>
			<td><input name="OP_Website" type="text" value="[.$ourphp_web.OP_Website.]" class="win inputxt" [.$ourphp_bgcolor.] datatype="*" nullmsg="网站标题是必填项!"/><font color=red> (*)</font></td>
		  </tr>
		  <tr>
		  	<td width="170" valign="top"><div align="right">短信内容</div></td>
			<td><input name="OP_Websitemin" type="text" value="[.$ourphp_web.OP_Websitemin.]" class="win inputxt" [.$ourphp_bgcolor.] />
			
			<div style="clear:both;"></div>
			<div style="background:url(../../skin/admintitlebg.gif) no-repeat; width:610px; height:60px; float:left; padding:30px 0px 0px 20px;">
				<p>用于发送短信验证码,【】中的签名要放在前面。发送短信的内容在和接口服务商确认，不然发送不成功!</p>
			</div>
			
			
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">网站地址</div></td>
			<td><input name="OP_Weburl" type="text" value="[.$ourphp_web.OP_Weburl.]" class="win" [.$ourphp_bgcolor.]  datatype="*" nullmsg="网站地址是必填项!"/><font color="#ff0000"> (*)</font>
			
			<div style="clear:both;"></div>
			<div style="background:url(../../skin/admintitlebg.gif) no-repeat; width:610px; height:60px; float:left; padding:30px 0px 0px 20px;">
				<p>1.不要用 http(s):// 开头 — 不要用 / 结尾</p><p>2.正确的写法是：[.$smarty.server.SERVER_NAME.]</p>
			</div>
			
			</td>
		  </tr>
		  <tr>
		  	<td><div align="right">网站协议</div></td>
			<td><input name="OP_Webhttp" type="text" value="[.$ourphp_web.OP_Webhttp.]" class="win3" [.$ourphp_bgcolor.]  datatype="*" nullmsg="网站协议是必填项!"/><font color="#ff0000"> (*)</font> 只支持 http:// 或 https://
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">网站Logo</div></td>
			<td><input name="OP_Weblogo" type="text" id="upload" [.$ourphp_bgcolor.] value="[.$ourphp_web.OP_Weblogo.]" class="win"  />&nbsp;
			<input type="button" onclick="uploadimg('upload');" value="上传" class="upload-btn" />
			
			<link rel="stylesheet" href="../../function/editor/themes/default/default.css" />
			<script src="../../function/editor/kindeditor.js"></script>
			<script src="../../function/editor/lang/zh_CN.js"></script>
			<script>
				KindEditor.ready(function(K) {
					var editor = K.editor({
						allowFileManager : true
					});
				});
				
				function uploadimg(id)
				{
					KindEditor.ready(function(K) {
							var editor = K.editor({
								allowFileManager : true
							});
							editor.loadPlugin('image', function() {
								editor.plugin.imageDialog({
									showRemote : false,
									imageUrl : K('#'+id).val(),
									clickFn : function(url, title, width, height, border, align) {
										K('#'+id).val(url);
										editor.hideDialog();
									}
								});
							});
					});
				}
			</script>
			<p>&nbsp;</p>
			<p><img src="../../[.$ourphp_web.OP_Weblogo.]" border="0" id="logoimgimg" style="max-width:300px;"></p>
		

			</td>
		  </tr>
		</table>
  </li></ul>
  <ul [.if $smarty.get.page == 'two'.]class="block"[./if.]><li>
		<table width="98%" border="0" cellpadding="5" cellspacing="0" bordercolor="#666666" style="border-collapse:collapse;" align="center">
		  <tr>
		  	<td width="170"><div align="right">公司名称</div></td>
			<td><input name="OP_Webname" type="text" value="[.$ourphp_web.OP_Webname.]" class="win" [.$ourphp_bgcolor.] /></td>
		  </tr>
		  <tr>
		  	<td><div align="right">公司地址</div></td>
			<td><input name="OP_Webadd" type="text" value="[.$ourphp_web.OP_Webadd.]" class="win" [.$ourphp_bgcolor.] /></td>
		  </tr>
		  <tr>
		  	<td><div align="right">固定电话</div></td>
			<td><input name="OP_Webtel" type="text" value="[.$ourphp_web.OP_Webtel.]" class="win" [.$ourphp_bgcolor.] /></td>
		  </tr>
		  <tr>
		  	<td><div align="right">移动电话</div></td>
			<td><input name="OP_Webmobi" type="text" value="[.$ourphp_web.OP_Webmobi.]" class="win" [.$ourphp_bgcolor.] /></td>
		  </tr>
		  <tr>
		  	<td><div align="right">传真号码</div></td>
			<td><input name="OP_Webfax" type="text" value="[.$ourphp_web.OP_Webfax.]" class="win" [.$ourphp_bgcolor.] /></td>
		  </tr>
		  <tr>
		  	<td><div align="right">Email</div></td>
			<td><input name="OP_Webemail" type="text" value="[.$ourphp_web.OP_Webemail.]" class="win" [.$ourphp_bgcolor.] /></td>
		  </tr>
		  <tr>
		  	<td><div align="right">邮编</div></td>
			<td><input name="OP_Webzip" type="text" value="[.$ourphp_web.OP_Webzip.]" class="win" [.$ourphp_bgcolor.] /></td>
		  </tr>
		  <tr>
		  	<td><div align="right">QQ</div></td>
			<td><input name="OP_Webqq" type="text" value="[.$ourphp_web.OP_Webqq.]" class="win" [.$ourphp_bgcolor.] /></td>
		  </tr>
		  <tr>
		  	<td><div align="right">联系人</div></td>
			<td><input name="OP_Weblinkman" type="text" value="[.$ourphp_web.OP_Weblinkman.]" class="win" [.$ourphp_bgcolor.] /></td>
		  </tr>
		  <tr>
		  	<td><div align="right">微信号</div></td>
			<td><input name="OP_Weixin" type="text" value="[.$ourphp_web.OP_Weixin.]" class="win" [.$ourphp_bgcolor.] /></td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">支付宝号</div></td>
			<td><input name="OP_Alipayname" type="text" value="[.$ourphp_web.OP_Alipayname.]" class="win" [.$ourphp_bgcolor.] />
			
			<div style="clear:both;"></div>
			<div style="background:url(../../skin/admintitlebg.gif) no-repeat; width:610px; height:60px; float:left; padding:30px 0px 0px 20px;">
				<p>(只用于展示，非支付宝支付接口)</p>
			</div>
			
			</td>
		  </tr>
  		</table>
  </li></ul>
  <ul><li>
  
		<table width="98%" border="0" cellpadding="5" cellspacing="0" bordercolor="#666666" style="border-collapse:collapse;" align="center">
		  <tr>
		  	<td width="170"><div align="right">ICP备案号</div></td>
			<td><input name="OP_Webicp" type="text" value="[.$ourphp_web.OP_Webicp.]" class="win" [.$ourphp_bgcolor.] /></td>
		  </tr>
		  <tr>
		  	<td width="170"><div align="right">公安网备案号</div></td>
			<td><input name="OP_Webpoliceicp" type="text" value="[.$ourphp_web.OP_Webpoliceicp.]" class="win" [.$ourphp_bgcolor.] /></td>
		  </tr>
		  <tr>
		  	<td width="170"><div align="right">公安网备案链接</div></td>
			<td><input name="OP_Webpoliceicpurl" type="text" value="[.$ourphp_web.OP_Webpoliceicpurl.]" class="win" [.$ourphp_bgcolor.] /></td>
		  </tr>
		  <tr>
		  	<td><div align="right">建站时间</div></td>
			<td><input name="OP_Webtime" type="text" value="[.$ourphp_web.OP_Webtime.]" class="win" [.$ourphp_bgcolor.] /></td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">第三方统计代码</div></td>
			<td><textarea name="OP_Webstatistics" cols="50" rows="5" class="wtextarea" [.$ourphp_bgcolor.]>[.$ourphp_web.OP_Webstatistics.]</textarea></td>
		  </tr>
		</table>
		
  </li></ul>
  <ul>
	  <li>
		<table width="98%" border="0" cellpadding="5" cellspacing="0" bordercolor="#666666" style="border-collapse:collapse;" align="center">
		  <tr>
		  	<td valign="top"><div align="right">微信二维码(客服)</div></td>
			<td><input name="OP_Weixinerweima" type="text" id="weixinkefu" value="[.$ourphp_web.OP_Weixinerweima.]" class="win" [.$ourphp_bgcolor.] />&nbsp;
			<input type="button" onclick="uploadimg('weixinkefu');" value="上传图片" class="upload-btn" />&nbsp;[.literal.]调用：[.$ourphp_web.erweima.][./literal.]
			<div style="clear:both;"></div>
			<div style="background:url(../../skin/admintitlebg.gif) no-repeat; width:610px; height:60px; float:left; padding:30px 0px 0px 20px;">
				<p>(可用于网页底部等位置，浮动微信客服请在 内容->浮动客服管理中增加)</p>
			</div>
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">手机网站二维码</div></td>
			<td><input name="wapqrcode" type="text" id="wapqrcode" value="[.$ourphp_web2.wapqrcode.]" class="win" [.$ourphp_bgcolor.] />&nbsp;
			<input type="button" onclick="uploadimg('wapqrcode');" value="上传图片" class="upload-btn" />&nbsp;[.literal.]调用：[.$ourphp_web.qrcode['wapqrcode'].][./literal.]
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">微信公众号</div></td>
			<td><input name="weixingzh" type="text" id="weixingzh" value="[.$ourphp_web2.weixingzh.]" class="win" [.$ourphp_bgcolor.] />&nbsp;
			<input type="button" onclick="uploadimg('weixingzh');" value="上传图片" class="upload-btn" />&nbsp;[.literal.]调用：[.$ourphp_web.qrcode['weixingzh'].][./literal.]
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">微信小程序</div></td>
			<td><input name="weixinxcx" type="text" id="weixinxcx" value="[.$ourphp_web2.weixinxcx.]" class="win" [.$ourphp_bgcolor.] />&nbsp;
			<input type="button" onclick="uploadimg('weixinxcx');" value="上传图片" class="upload-btn" />&nbsp;[.literal.]调用：[.$ourphp_web.qrcode['weixinxcx'].][./literal.]
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">微信视频号</div></td>
			<td><input name="shipinghao" type="text" id="shipinghao" value="[.$ourphp_web2.shipinghao.]" class="win" [.$ourphp_bgcolor.] />&nbsp;
			<input type="button" onclick="uploadimg('shipinghao');" value="上传图片" class="upload-btn" />&nbsp;[.literal.]调用：[.$ourphp_web.qrcode['shipinghao'].][./literal.]
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">淘宝</div></td>
			<td><input name="taobao" type="text" id="taobao" value="[.$ourphp_web2.taobao.]" class="win" [.$ourphp_bgcolor.] />&nbsp;
			<input type="button" onclick="uploadimg('taobao');" value="上传图片" class="upload-btn" />&nbsp;[.literal.]调用：[.$ourphp_web.qrcode['taobao'].][./literal.]
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">快手</div></td>
			<td><input name="kuaishou" type="text" id="kuaishou" value="[.$ourphp_web2.kuaishou.]" class="win" [.$ourphp_bgcolor.] />&nbsp;
			<input type="button" onclick="uploadimg('kuaishou');" value="上传图片" class="upload-btn" />&nbsp;[.literal.]调用：[.$ourphp_web.qrcode['kuaishou'].][./literal.]
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">抖音</div></td>
			<td><input name="douyin" type="text" id="douyin" value="[.$ourphp_web2.douyin.]" class="win" [.$ourphp_bgcolor.] />&nbsp;
			<input type="button" onclick="uploadimg('douyin');" value="上传图片" class="upload-btn" />&nbsp;[.literal.]调用：[.$ourphp_web.qrcode['douyin'].][./literal.]
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">小红书</div></td>
			<td><input name="xiaohongshu" type="text" id="xiaohongshu" value="[.$ourphp_web2.xiaohongshu.]" class="win" [.$ourphp_bgcolor.] />&nbsp;
			<input type="button" onclick="uploadimg('xiaohongshu');" value="上传图片" class="upload-btn" />&nbsp;[.literal.]调用：[.$ourphp_web.qrcode['xiaohongshu'].][./literal.]
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">陌陌</div></td>
			<td><input name="momo" type="text" id="momo" value="[.$ourphp_web2.momo.]" class="win" [.$ourphp_bgcolor.] />&nbsp;
			<input type="button" onclick="uploadimg('momo');" value="上传图片" class="upload-btn" />&nbsp;[.literal.]调用：[.$ourphp_web.qrcode['momo'].][./literal.]
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">Telegram</div></td>
			<td><input name="telegram" type="text" id="telegram" value="[.$ourphp_web2.telegram.]" class="win" [.$ourphp_bgcolor.] />&nbsp;
			<input type="button" onclick="uploadimg('telegram');" value="上传图片" class="upload-btn" />&nbsp;[.literal.]调用：[.$ourphp_web.qrcode['telegram'].][./literal.]
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">TikTok</div></td>
			<td><input name="TikTok" type="text" id="TikTok" value="[.$ourphp_web2.TikTok.]" class="win" [.$ourphp_bgcolor.] />&nbsp;
			<input type="button" onclick="uploadimg('TikTok');" value="上传图片" class="upload-btn" />&nbsp;[.literal.]调用：[.$ourphp_web.qrcode['tiktok'].][./literal.]
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">Facebook</div></td>
			<td><input name="Facebook" type="text" id="Facebook" value="[.$ourphp_web2.Facebook.]" class="win" [.$ourphp_bgcolor.] />&nbsp;
			<input type="button" onclick="uploadimg('Facebook');" value="上传图片" class="upload-btn" />&nbsp;[.literal.]调用：[.$ourphp_web.qrcode['facebook'].][./literal.]
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">Twitter(X)</div></td>
			<td><input name="Twitter" type="text" id="Twitter" value="[.$ourphp_web2.Twitter.]" class="win" [.$ourphp_bgcolor.] />&nbsp;
			<input type="button" onclick="uploadimg('Twitter');" value="上传图片" class="upload-btn" />&nbsp;[.literal.]调用：[.$ourphp_web.qrcode['x'].][./literal.]
			</td>
		  </tr>
		  <tr>
		  	<td valign="top"><div align="right">亚马逊</div></td>
			<td><input name="yamaxun" type="text" id="yamaxun" value="[.$ourphp_web2.yamaxun.]" class="win" [.$ourphp_bgcolor.] />&nbsp;
			<input type="button" onclick="uploadimg('yamaxun');" value="上传图片" class="upload-btn" />&nbsp;[.literal.]调用：[.$ourphp_web.qrcode['yamaxun'].][./literal.]
			</td>
		  </tr>
		  
		</table>
	  </li>
  </ul>
 </div>
</div>
		<table width="90%" border="0" cellpadding="5" cellspacing="0" bordercolor="#666666" style="border-collapse:collapse; margin-top:20px;" align="center">
		  <tr>
			<td><input type="submit" name="submit" value="提 交" class="ourphp-anniu"/></td>
		  </tr>
		</table>
</form>
[.include file="ourphp_foot.html".]
</body>
</html>