⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qq.asp

📁 购物系统(本版为正式商业版
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="adminset.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆!');window.location.href='login.asp';</script>"
response.End
end if
%>
<%dim action
action=request.QueryString("action")
'//保存信息
if action="save" then
if session("flag")>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限!</b></font></div>"
response.End
end if
if qx20<>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限!</b></font></div>"
response.End
end if
inc1=trim(request("inc1"))
inc2=trim(request("inc2"))
inc3=trim(request("inc3"))
inc4=trim(request("inc4"))
inc5=trim(request("inc5"))
inc6=trim(request("inc6"))
inc7=trim(request("inc7"))

inc=inc1&"|"&inc2&"|"&inc3&"|"&inc4&"|"&inc5&"|"&inc6&"|"&inc7
kf1=trim(request("kf1"))
kfurl1=trim(request("kfurl1"))
kf2=trim(request("kf2"))
kfurl2=trim(request("kfurl2"))
kf3=trim(request("kf3"))
kfurl3=trim(request("kfurl3"))
kf4=trim(request("kf4"))
kfurl4=trim(request("kfurl4"))
kf5=trim(request("kf5"))
kfurl5=trim(request("kfurl5"))
kf6=trim(request("kf6"))
kfurl6=trim(request("kfurl6"))
kf7=trim(request("kf7"))
kfurl7=trim(request("kfurl7"))
set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from shop_kf ",conn,1,3
rs("inc")=inc
rs("kf1")=kf1
rs("kfurl1")=kfurl1
rs("kf2")=kf2
rs("kfurl2")=kfurl2
rs("kf3")=kf3
rs("kfurl3")=kfurl3
rs("kf4")=kf4
rs("kfurl4")=kfurl4
rs("kf5")=kf5
rs("kfurl5")=kfurl5
rs("kf6")=kf6
rs("kfurl6")=kfurl6
rs("kf7")=kf7
rs("kfurl7")=kfurl7
rs.update
rs.close
set rs=nothing
response.Write "<script language=javascript>alert('网站在线客服配置修改成功!');history.go(-1);</script>"
end if%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #FF0000}
.style2 {color: #0000FF}
-->
</style>
</head>

<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/right_top2.gif">
  <tr>
    <td width="1%">&nbsp;</td>
    <td width="99%"><table width="100%" border="0" cellspacing="0" cellpadding="5">
        <tr>
          <td width="30%" height="32" style="font-size:14px;color:#000000">&nbsp;<strong><font color="#000000">网站在线客服设置</font></strong></td>
          <td width="70%" align="right">&nbsp;</td>
        </tr>
    </table></td>
  </tr>
</table><br>
  <table border="0" width="97%" cellspacing="1" cellpadding="3" style="border-collapse: collapse" align=center bgcolor="#9DB2D4">
  <form name="form1" method="post" action="?action=save">
<%set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from shop_kf",conn,1,1
inc_2=rs("inc")
inc_2=split(inc_2,"|")
inc1=inc_2(0)
inc2=inc_2(1)
inc3=inc_2(2)
inc4=inc_2(3)
inc5=inc_2(4)
inc6=inc_2(5)
inc7=inc_2(6)
kf1=rs("kf1")
kfurl1=rs("kfurl1")
kf2=rs("kf2")
kfurl2=rs("kfurl2")
kf3=rs("kf3")
kfurl3=rs("kfurl3")
kf4=rs("kf4")
kfurl4=rs("kfurl4")
kf5=rs("kf5")
kfurl5=rs("kfurl5")
kf6=rs("kf6")
kfurl6=rs("kfurl6")
kf7=rs("kf7")
kfurl7=rs("kfurl7")
%><tr bgcolor="#F0F3F8">
      <td height="4" colspan="3"><strong><a name="#news"></a>首页在线客服配置 </strong></td>
    </tr><tr bgcolor="#F0F3F8">
      <td width="211" height="0" bgcolor="#F0F3F8">是否调用在线客服:</td>
      <td height="-2" colspan="2"><select name="inc1" id="inc1">
        <option value="1" <%if inc1=1 then%>selected<%end if%>>调用</option>
        <option value="2" <%if inc1=2 then%>selected<%end if%>>不调用</option>
      </select>
      </td>
    </tr>
    <tr bgcolor="#F0F3F8">
      <td height="0">在线客服边框颜色:</td>
      <td height="0" colspan="2">
        <input name="inc2" type="text" class="wenbenkuang" id="inc2" value="<%=inc2%>">
      </td>
    </tr>
    <tr bgcolor="#F0F3F8">
      <td height="1">在线客服显示宽度:</td>
      <td height="0" colspan="2">
        <input name="inc3" type="text" class="wenbenkuang" id="inc3" value="<%=inc3%>">
      </td>
    </tr>
    <tr bgcolor="#F0F3F8">
      <td>无连接时文字颜色:</td>
      <td height="0" colspan="2"><input name="inc4" type="text" class="wenbenkuang" id="inc4" value="<%=inc4%>"></td>
    </tr>
    <tr bgcolor="#F0F3F8">
      <td height="0">无连接时背景颜色:</td>
      <td height="-2" colspan="2"><input name="inc5" type="text" class="wenbenkuang" id="inc5" value="<%=inc5%>"></td>
    </tr>
    <tr bgcolor="#F0F3F8">
      <td height="1">在线客服表格高度:</td>
      <td height="-1" colspan="2"><input name="inc6" type="text" class="wenbenkuang" id="inc6" value="<%=inc6%>"></td>
    </tr>
    <tr bgcolor="#F0F3F8">
      <td height="1">表格内文字位置</td>
      <td height="-1" colspan="2"><select name="inc7" id="inc7">
        <option value="left"  <%if inc7="left" then%>selected<%end if%>>居左</option>
        <option value="center"  <%if inc7="center" then%>selected<%end if%>>居中</option>
		<option value="right" <%if inc7="right" then%>selected<%end if%> >居右</option>
      </select></td>
    </tr>
    
    <tr bgcolor="#F0F3F8">
      <td height="0" colspan="3">&nbsp;</td>
    </tr>
    <tr bgcolor="#F0F3F8">
      <td height="1" colspan="3">&nbsp;</td>
    </tr><tr bgcolor="#F0F3F8">
      <td height="0" colspan="3"><a href="qqstatus.asp" class="style1">使用动感购物QQ代码生成器直接生成在线客服代码</a></td>
    </tr>
    <tr bgcolor="#F0F3F8">
      <td height="1">在线客服一文字或图片:</td>
      <td width="305"><input name="kf1" type="text" class="wenbenkuang" id="kf1" value="<%=kf1%>" size="48"></td>
      <td width="406">连接地址:
      <input name="kfurl1" type="text" class="wenbenkuang" id="kfurl1" value="<%=kfurl1%>" size="48"></td>
    </tr>
    <tr bgcolor="#F0F3F8">
      <td height="1">在线客服二文字或图片:</td>
      <td height="-1"><input name="kf2" type="text" class="wenbenkuang" id="kf2" value="<%=kf2%>" size="48"></td>
      <td height="-1">连接地址:
      <input name="kfurl2" type="text" class="wenbenkuang" id="kfurl2" value="<%=kfurl2%>" size="48"></td>
    </tr>
    <tr bgcolor="#F0F3F8">
      <td height="1">在线客服三文字或图片:</td>
      <td height="-1"><input name="kf3" type="text" class="wenbenkuang" id="kf3" value="<%=kf3%>" size="48"></td>
      <td height="-1">连接地址:
      <input name="kfurl3" type="text" class="wenbenkuang" id="kfurl3" value="<%=kfurl3%>" size="48"></td>
    </tr>
    <tr bgcolor="#F0F3F8">
      <td height="1">在线客服四文字或图片:</td>
      <td height="-1"><input name="kf4" type="text" class="wenbenkuang" id="kf4" value="<%=kf4%>" size="48"></td>
      <td height="-1">连接地址:
      <input name="kfurl4" type="text" class="wenbenkuang" id="kfurl4" value="<%=kfurl4%>" size="48"></td>
    </tr>
    <tr bgcolor="#F0F3F8">
      <td height="1">在线客服五文字或图片:</td>
      <td height="0"><input name="kf5" type="text" class="wenbenkuang" id="kf5" value="<%=kf5%>" size="48"></td>
      <td height="0">连接地址:
      <input name="kfurl5" type="text" class="wenbenkuang" id="kfurl5" value="<%=kfurl5%>" size="48"></td>
    </tr>
    <tr bgcolor="#F0F3F8">
      <td height="0">在线客服六文字或图片:</td>
      <td height="0"><input name="kf6" type="text" class="wenbenkuang" id="kf6" value="<%=kf6%>" size="48"></td>
      <td height="0">连接地址:
      <input name="kfurl6" type="text" class="wenbenkuang" id="kfurl6" value="<%=kfurl6%>" size="48"></td>
    </tr>
    <tr bgcolor="#F0F3F8">
      <td height="0">在线客服七文字或图片:</td>
      <td height="0"><input name="kf7" type="text" class="wenbenkuang" id="kf7" value="<%=kf7%>" size="48"></td>
      <td height="0">连接地址:
      <input name="kfurl7" type="text" class="wenbenkuang" id="kfurl7" value="<%=kfurl7%>" size="48"></td>
    </tr>
    <tr bgcolor="#F0F3F8">
      <td height="22" colspan="3">
        <div align="center">
          <input type="submit" class="go-wenbenkuang" name="Submit" value="提 交">
&nbsp;&nbsp;
          <input type="reset" class="go-wenbenkuang" name="Submit2" value="恢 复">
      </div></td>
    </tr>
  </form>
</table>
<br>
在线客服可填写其它连接地址和文字也可添加QQ互动服务,添加文字直接添加即可,链接地址可为空。<br>
如添加图片格式请按QQ代码生成器里添加即可,乱添加则导致网页错误。<br>
图片代码范例:&lt;img border=0 SRC=你的图片地址或QQ在线状态地址 alt=点击这里给我发消息&gt;<br><br><br><br>
<%rs.Close
          set rs=nothing%>
<!--#include file="copyright.asp"-->
</body>
</html>
<script>
	function regInput(obj, reg, inputStr)
	{
		var docSel	= document.selection.createRange()
		if (docSel.parentElement().tagName != "INPUT")	return false
		oSel = docSel.duplicate()
		oSel.text = ""
		var srcRange	= obj.createTextRange()
		oSel.setEndPoint("StartToStart", srcRange)
		var str = oSel.text + inputStr + srcRange.text.substr(oSel.text.length)
		return reg.test(str)
	}
</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -