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

📄 kfxtadd.asp

📁 1。玩家通过游戏里的帐号登陆到客服系统,系统记录玩家的帐号和角色1、角色2。 2.玩家需要自行选择自己的问题种类及所在游戏区、服(我就一个啦
💻 ASP
字号:
<!--#include file="fn/conn.asp"-->
<%
'下面开始成员过滤,非管理员不能登陆此界面
if session("xmid")="" then
response.write"<script>alert('请您先登陆!');history.go(-1);</script>"
response.end
end if
%>
<html>
<head>
<title>无双客服系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="xiazai/common/style_1114.css" tppabs="http://mland.sdo.com/new/common/style_1114.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	background-image: url();
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #D6F7FF;
}
body,td,th {
	font-size: 12px;
}
a:link {
	text-decoration: none;
	color: #990033;
}
a:visited {
	text-decoration: none;
	color: #990033;
}
a:hover {
	text-decoration: none;
	color: #990033;
}
a:active {
	text-decoration: none;
	color: #990033;
}
.STYLE1 {
	font-size: 18px;
	font-weight: bold;
}
.STYLE2 {font-size: 12px}
.STYLE5 {
	color: #FF0000;
	line-height: 20px;
}
.STYLE6 {font-size: 18px; font-weight: bold; color: #0033FF; }
.STYLE7 {color: #0000FF}
.style21 {font-size: 14px}
-->
</style>
<%if request("p")="sub" then
if session("xmid")="" then
response.write"<script>alert('用户超时!请全新登录!');location.replace('index.asp');</script>"
response.end
end if
if request("username")="" then
response.write"<script>alert('请填写上您的真实姓名!');history.go(-1);</script>"
response.end
end if
if request("tel")="" then
response.write"<script>alert('请填写上您的QQ,以方便我们联系您!');history.go(-1);</script>"
response.end
end if
if request("js")="" then
response.write"<script>alert('请填写上您的游戏角色名称!');history.go(-1);</script>"
response.end
end if
if request("事件")="" then
response.write"<script>alert('提交事件内容不能为空!');history.go(-1);</script>"
response.end
end if
if request("qu")="无" then
response.write"<script>alert('请选择您提交问题所在游戏区!');history.go(-1);</script>"
response.end
end if
if request("leixing")="无" then
response.write"<script>alert('请选择您提交问题的类型!');history.go(-1);</script>"
response.end
end if


set rs=Server.createObject("adodb.recordset")

rs.open "select * from kefu",conn,3,3
rs.addnew
rs("qu")=request("qu")
rs("js")=request("js")
rs("xmid")=session("xmid")
rs("leixing")=request("leixing")
rs("事件")=request("事件")
rs("递交日期")=now()
rs("state")="正在受理"
rs("username")=request("username")
rs("tel")=request("tel")
rs("ip")=Request.ServerVariables("REMOTE_ADDR")
rs.update
rs.close
response.write"<script>alert('提交成功!请等待受理');location.replace('kfxtlogin.asp');</script>"

end if%>
<link href="css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE22 {color: #FF0000}
-->
</style>
<link href="style/style_new.css" rel="stylesheet" type="text/css">
<form name="form1" action="kfxtadd.asp?p=sub" method="post">
  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="nei_skybg01">
  <tr>
    <td class="nei_skybg02"><table border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td valign="top" id=iid>&nbsp;</td>
        </tr>
    </table>
      <table width="566" height="265" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="192" align="center" valign="top" background="xiazai/images/nei_form02.gif" tppabs="http://mland.sdo.com/new/images/nei_form02.gif"><table width="500" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="510" height="31" background="xiazai/images/1206_redian.gif"><div align="center" class="title">无双魔力在线客服系统</div></td>
              </tr>
            </table>
              <table width="90%" border="0" cellpadding="3" cellspacing="0" bordercolor="#CCCCCC">
                <tr>
                  <td><span class="STYLE5">  亲爱的玩家,您可以通过本客服系统使用在线服务,我们的客服人员将在后台为您处理提交的问题,您可以在提交后一定时间登陆本系统查询处理结果!</span><br>
                      <table width="487" height="121" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                          <td height="20" bgcolor="#F7F7F7"><div align="right">帐号 :</div></td>
                          <td bgcolor="#F7F7F7"><label><%=session("xmid")%></label></td>
                        </tr>
                        <tr>
                          <td height="20" colspan="2" bgcolor="#F7F7F7"><div align="center"> <span class="style21">&gt;&gt;&gt;&gt;&gt;</span><span class="STYLE7">提交新的客服问题</span><span class="style21">&lt;&lt;&lt;&lt;&lt;</span></div></td>
                        </tr>
                        <tr>
                          <td width="145" height="20" bgcolor="#F7F7F7"><div align="right">相关游戏角色名称:</div></td>
                          <td width="342" bgcolor="#F7F7F7"><label>
                            <select name="js" id="js">
							<%if session("js1")<>"" then%>
                              <option value="<%=session("js1")%>"><%=session("js1")%></option>					
							  <%end if%>
							<%if session("js2")<>"" then%>
                              <option value="<%=session("js2")%>"><%=session("js2")%></option>					
							  <%end if%>
                          </select>
                          </label>
                          <span class="STYLE5">*</span></td>
                        </tr>
                        <tr>
                          <td height="20" bgcolor="#F7F7F7"><div align="right">所在游戏区域:</div></td>
                          <td bgcolor="#F7F7F7"><select name="qu" id="qu">
                              <option value="无双魔力">无双魔力</option>
                            </select>
                              <span class="STYLE5">*</span></td>
                        </tr>
                        <tr>
                          <td height="20" bgcolor="#F7F7F7"><div align="right">提交问题类型:</div></td>
                          <td bgcolor="#F7F7F7"><select name="leixing" id="leixing">
                              <option value="无" selected>请点击选择</option>
                              <option value="道具购买咨询">道具购买咨询</option>
                              <option value="提交游戏建议">提交游戏建议</option>
                              <option value="账号角色问题">账号角色问题</option>
                              <option value="反映游戏BUG">反映游戏BUG</option>
                            </select>
                              <span class="STYLE5">* </span></td>
                        </tr>
                        <tr>
                          <td height="20" bgcolor="#F7F7F7"><div align="right">真实姓名:</div></td>
                          <td bgcolor="#F7F7F7"><input name="username" type="text" id="username" size="25" maxlength="25">
                              <span class="STYLE5">*</span></td>
                        </tr>
                        <tr>
                          <td height="20" bgcolor="#F7F7F7"><div align="right">联系QQ:</div></td>
                          <td bgcolor="#F7F7F7"><input name="tel" type="text" id="tel" size="25" maxlength="25">
                              <span class="STYLE5">*</span></td>
                        </tr>
                        <tr>
                          <td height="20" bgcolor="#F7F7F7"><div align="right">详细事件描述:</div></td>
                          <td bgcolor="#F7F7F7">&nbsp;</td>
                        </tr>
                        <tr>
                          <td colspan="2" bgcolor="#F7F7F7"><div align="center">
                              <textarea name="事件" cols="50" rows="8" id="事件"></textarea>
                              <span class="STYLE22">*</span></div></td>
                        </tr>
                        <tr>
                          <td height="21" colspan="2" bgcolor="#F7F7F7"><div align="center" class="style21">
                              <input type="submit" name="Submit" value="提交">
                            
                            <input type="button" name="Submit2" value="返回" onClick="history.go(-1)">
                            (带<span class="STYLE22">*</span>为必须填写项)</div></td>
                        </tr>
                    </table></td>
                </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
</form>
</body>
</html>

⌨️ 快捷键说明

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