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

📄 xgzl.asp

📁 国内最早的在线客服系统源码.可以把访客变成自己的客户.是目前比较流行的在线客服系统
💻 ASP
字号:
<%response.expires=0%>
<!--#include file="function.asp"-->
<%
if session("yhm")="" or session("id")="" or isempty(session("yhm")) or isempty(session("id")) then
	response.write("<center><font color=#cc0000>对不起,您的页面已经过期,请重新登录!</font>")
	response.end
end if
id=request("id")
if id="" then
	id=session("id")
end if
if id="" then
	response.write("<center><font color=#cc0000>对不起,数据传送出错,请返回重试!</font>")
	response.end
end if
%>
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="zh-cn">
<title>:::::快狗:::::</title>
<link rel="stylesheet" type="text/css" href="../style/style_b.css">
<META 
content="free,freeworld,homepage,website,cgi,guestbook,免费主页,免费服务,免费联络,免费注册,免费评选,免费记数器,免费广告交换,统计,计数器,免费社区,免费" 
name=keywords>
<META content=快狗为各位站长送上真正免费的好东西,记得推荐给您的朋友吧! name=description>
<script language="javascript">
function check_form()
{
	if (form.T2.value=="")
		{
			alert("请输入用户名!");
			form.T2.focus();
			return(false);
		}
	if (form.T1.value=="")
		{
			alert("请输入密码!");
			form.T1.focus();
			return(false);
		}
	return(true);
}

function check_form1(thisForm)
{
	if (thisForm.yhm.value=="")
	{
		alert("请输入用户名!")
		thisForm.yhm.focus();
		return (false);
	}
	
  var checkOK="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_";
  var checkStr=thisForm.yhm.value;
  var allValid = true;
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
  }	
  if (!allValid)
  {
	alert("用户名只能输入字母和数字!");
	thisForm.yhm.focus();
	return(false);
  }
  
  if (thisForm.mm.value=="")
	{
		alert("请输入您的用户密码!");
		thisForm.mm.focus();
		return (false);
	}
  
  if (thisForm.mm.value!=thisForm.mmqr.value)
	{
		alert("您两次输入的密码不一致!");
		thisForm.mmqr.focus();
		return (false);
	}
	
if (thisForm.lc.value=="")
	{
		alert("请输入昵称!");
		thisForm.lc.focus();
		return (false);
	}

if (thisForm.oicq.value!="")
	{
		var checkOK="0123456789";
		var checkStr=thisForm.oicq.value;
		var allValid = true;
		for (i = 0;  i < checkStr.length;  i++)
		{
			ch = checkStr.charAt(i);
			for (j = 0;  j < checkOK.length;  j++)
			if (ch == checkOK.charAt(j))
				break;
			if (j == checkOK.length)
			{
			allValid = false;
			break;
			}
		}	
		if (!allValid)
		{
			alert("请输入正确的OICQ号码!");
			thisForm.oicq.focus();
			return (false);
		}
	}

var grzy=thisForm.grzy1.value;

if (thisForm.mc1.value=="")
	{
		alert("请输入主页名称!");
		thisForm.mc1.focus();
		return (false);
	}

	
if (grzy.toUpperCase()=="HTTP://" || grzy.toUpperCase()=="")
	{
		alert("请输入主页地址!");
		thisForm.grzy1.focus();
		return (false);
	}

if (thisForm.lx1.value=="请选择")
	{
		alert("请选择主页类型!");
		thisForm.lx1.focus();
		return (false);
	}

if (thisForm.dzyj.value=="")
	{
		alert("请输入电子邮件!");
		thisForm.dzyj.focus();
		return (false);
	}
	
if (thisForm.jj.value=="")
	{
		alert("请输入网站简介!");
		thisForm.jj.focus();
		return (false);
	}

return(true);
}
</script>
</head>
<body bgcolor="#ffffff" topmargin="0" leftmargin="0">
      <% 
	  set rs=server.createobject("adodb.recordset") 
	  sql="select * from userinfo where id="&id 
	  rs.open sql,conn,1,1 
	  if rs.eof or rs.bof then 
	  	rs.close 
		conn.close 
		response.write("<p align='center'><font color='#ff0000' size=+1>出现错误,该用户可能已经被删除!</font>") 
	  else 
	  %> 
      <table border="0" cellpadding="0" cellspacing="0" width="85%">
        <tr>
          <td width="100%"><img border="0" src="../images/change.gif"></td>
        </tr>
      </table>
	  <form method="post" action="writezl.asp?id=<%=id%>" onsubmit="return check_form1(this)" name="form1"> 
	  <table border="0" cellPadding="0" cellSpacing="12" width="85%">    
        <tbody>    
                <TR>   
                  <TD height=24 width=92>用户名:</TD>  
                  <TD height=24 width=306>   
                    <INPUT maxLength=10 name=yhm value="<%=server.htmlencode(rs("yhm"))%>">  
                    <font color="#ff0000">*</font>1-10个英文字母或数字</TD>      
                </TR>      
                <TR>       
                  <TD height=24 width=92>用户密码:</TD>      
                  <TD height=24 width=306>       
                    <INPUT maxLength=16 name=mm       
                  type=password>      
                    <font color="#ff0000">*</font>1-16个字母或数字</TD>      
                </TR>      
                <TR>       
                  <TD height=24 width=92>密码确认:</TD>     
                  <TD height=24 width=306>      
                    <input maxlength=16 name=mmqr      
                  type=password>     
                    <font color="#ff0000">*</font>重复输入用户密码</TD>      
                </TR>      
                <TR>       
                  <TD height=24 width=92>昵称:</TD>      
                  <TD height=24 width=306>       
                    <INPUT maxLength=6 name=lc value="<%=server.htmlencode(rs("lc"))%>">      
                    <font color="#ff0000">*</font>1-6个字母或汉字</TD>      
                </TR>      
                <TR>       
                  <TD height=24 width=92>OICQ:</TD>     
                  <TD height=24 width=306>      
                    <INPUT maxLength=9 name=oicq size=9 value="<%=rs("oicq")%>">     
                  </TD>     
                </TR>     
                <TR>      
                  <TD height=25 width=92>主页名称:</TD>     
                  <TD height=24 width=306> <input type="text" name="mc1" size="42" value="<%=rs("mc1")%>"><font color="#FF0000">      
                    *</font>     
                  </TD>     
                </TR>     
                <tr>     
                  <TD height=25 width=92>主页地址:</TD>     
                  <TD height=14 width=306> <INPUT maxLength=50 name=grzy1 size=42  value="<%=lcase(rs("url1"))%>">     
                    <font color="#ff0000">*</font>      
                  </TD>      
                </tr>      
                <tr>      
                  <TD height=25 width=92>主页类型:</TD>     
                  <TD height=22 width=306> <select size="1" name="lx1">     
                      <option value="请选择">请选择</option>     
                      <option value="综合门户">综合门户</option>     
                      <option value="电脑网络">电脑网络</option>     
                      <option value="国家地区">国家地区</option>     
                      <option value="政府机关">政府机关</option>     
                      <option value="电信通讯">电信通讯</option>     
                      <option value="休闲娱乐">休闲娱乐</option>     
                      <option value="生活资讯">生活资讯</option>     
                      <option value="文化艺术">文化艺术</option>     
                      <option value="科学教育">科学教育</option>     
                      <option value="游戏世界">游戏世界</option>     
                      <option value="体育健身">体育健身</option>     
                      <option value="工商经济">工商经济</option>     
                      <option value="金融投资">金融投资</option>     
                      <option value="新闻媒体">新闻媒体</option>     
                      <option value="情感交流">情感交流</option>     
                      <option value="女性天地">女性天地</option>     
                      <option value="卫生保健">卫生保健</option>     
                      <option value="其他类别">其他类别</option>     
                    </select>   
					<script language="javascript">   
					form1.lx1.value="<%=rs("lx1")%>";   
					</script>   
					<font color="#FF0000">*</font>   
                  </TD>     
                </tr>     
                <TR>      
                  <TD height=24 width=92>电子邮件:</TD>     
                  <TD height=24 width=306>      
                    <INPUT maxLength=25 name=dzyj size=48 value="<%=rs("dzyj")%>" style="height: 22; width: 292">     
                    <font color="#ff0000">*</font></TD>      
                </TR>      
                <TR>       
                  <TD height=24 vAlign=top width=92>网站简介:</TD>      
                  <TD height=24 width=306>       
                    <TEXTAREA cols=45 name=jj rows=6 style="height: 102; width: 292"><%=server.htmlencode(rs("jj"))%></TEXTAREA>      
                    <font color="#ff0000">*</font></TD>      
                </TR>      
                <TR>       
                  <TD colSpan=2 height=4 width="600"> </TD>
                </TR>
                <TR> 
                  <TD align="middle" colSpan=2 width="400"> 
                    <p align="center"> 
                    <INPUT id=button1 name=button1 style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt" type="submit" value="取得代码">
                    </p>
                  </TD>
 
          </tr>          
        </tbody>          
      </table></form>
	  <%
	  end if
	  rs.close
	  conn.close
	  %>
      <table border="0" cellpadding="0" cellspacing="0" width="85%">
        <tr>
          <td align="right"><img border="0" src="../help/images/helpd.gif"></td>
        </tr>
      </table>
</body>
</html>

⌨️ 快捷键说明

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