<!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=gb2312" />
<link href="css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/js/image.js"></script>
<script type="text/javascript" src="/js/reg_cookie.js"></script>
<script type="text/javascript" src="http://www.17sanguo.com/regist/javascript/sanguoregjs.js?u=2&u2=2" id="reglog"></script>
<title>《昆仑OnWeb》官方网站-2008游戏无端潮流先锋 点开就能玩的大型网游</title>
<META name="Keywords" content="无端网游,闪游,网页游戏,webgame,FLASH网游,FLASH游戏,十二国记">
<META name="Description" content="2008无端网游潮流先锋，点开就能玩的大型网游">
<script>
function getObject(objName)
{
	if(document.getElementById)
	{
		return eval('document.getElementById("' + objName + '")');
	}
	else if(document.layers)
	{
		return eval("document.layers['" + objName +"']");
	}
	else
	{
		return eval('document.all.' + objName);
	}
}
var kunlun_login_status		= null;
function ajax()
{
	var a	= null;
	try
	{
		a	= new ActiveXObject("Msxml2.XMLHTTP");
	}
	catch(e)
	{
		try
		{
			a	= new ActiveXObject("Microsoft.XMLHTTP");
		}
		catch(oc)
		{
			a	= null;
		}
	}
	if(!a && typeof XMLHttpRequest != "undefined")
	{
		a	= new XMLHttpRequest();
	}
	return a;
}
function getCookieVal(offset)
{
	var endstr	= document.cookie.indexOf(";", offset);
	if(endstr == -1)
		endstr	= document.cookie.length;
	return decodeURIComponent(document.cookie.substring(offset, endstr));
}
function getCookie(name)
{
	var arg		= name + "=";
	var alen	= arg.length;
	var clen	= document.cookie.length;
	var i		= 0;
	while (i < clen)
	{
		var j	= i + alen;
		if (document.cookie.substring(i, j) == arg)
		{
			return getCookieVal(j);
		}
		i	= document.cookie.indexOf(" ", i) + 1;
		if (i == 0)
		{
			break;
		}
	}
	return "";
}
function trim(vStr)
{
	return vStr.replace(/(^[\s]*)|([\s]*$)/g,"");
}

function kunlun_login()
{
	getPar();

	var re= /^[a-zA-Z]{1}([a-zA-Z0-9]|[_]){3,15}$/;
	is_right	= re.test(trim(getObject('User_Name').value));
	if(!is_right)
	{
		alert('用户名不符合规则');
		getObject('User_Name').focus();
		return false;
	}
	if (getObject('User_Pass').value.length < 3 || getObject('User_Pass').value.length > 20)
	{
		alert('密码不符合规则');
		getObject('User_Pass').focus();
		return false;
	}
	if (getObject('User_Pass').value != getObject('User_Pass2').value)
	{
		alert('重复密码错误');
		getObject('User_Pass2').focus();
		return false;
	}
	if(kunlun_login_status && kunlun_login_status.readyState!=0)
	{
		kunlun_login_status.abort()
	}
	kunlun_login_status	= ajax();
	if(kunlun_login_status)
	{
		var data	= "activate_code=4054DCDEB20EBF8F13B9&User_Name=" + encodeURIComponent(getObject('User_Name').value);
		data		= data + "&User_Nickname=";
		data		= data + "&User_Pass=" + encodeURIComponent(getObject('User_Pass').value);
		data		= data + "&reg_validate=" + encodeURIComponent(getObject('reg_validate').value);
		data		= data + "&accept=" + encodeURIComponent(getObject('accept').value);
		data		= data + "&u=" + document.getElementById("uuu0").value;
		data		= data + "&u2=" + document.getElementById("uuu1").value;

		kunlun_login_status.open("POST", "/regist/quickreg.php?nocache=" + Math.random(), true);
		kunlun_login_status.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
		kunlun_login_status.onreadystatechange	= function()
		{
			if(kunlun_login_status.readyState==4 && kunlun_login_status.responseText)
			{
				kunlun_login_status.responseText;
				var response = trim(kunlun_login_status.responseText);
				if (response == 'sucessed')
				{
					alert('注册成功');
					K_SetCookie('u','9',30*24*3600,'/','.17kunlun.com');
					K_SetCookie('u2','0',30*24*3600,'/','.17kunlun.com');
					top.location.href	= "http://t1.17kunlun.com/index.html";
				}
				else if (response == 'validate_illegal')
				{
					getObject('reg_validate').focus();
					getObject('reg_validate').value		= "";
					alert("验证码错误！");
					getObject('checkcode').src	= '/regist/checkcode.php?r='+Math.random()
				}
				else if (response == 'password_illegal')
				{
					alert('密码错误');
					getObject('password').focus();
				}
				else if (response == 'username_forbidden')
				{
					alert('用户名中含有禁止的词汇！');
				}
				else if (response == 'username_illegal')
				{
					alert('用户名不符合规则');
				}
				else if (response == 'passport_error')
				{
					alert('连接通行证失败，请稍后再试！');
				}
				else if (response == 'inactivate')
				{
					alert('您还没有激活，请填写激活码');
					top.location.href	= '/active/code.html';
				}
				else
				{
					alert(response);
				}
			}
		};
		kunlun_login_status.send(data);
	}
	return false;
}
</script>

</head>
<body>
<div class="top"><h1><a href="http://www.17kunlun.com/guide/intro.html" target="_blank">游戏介绍>></a>　　<a href="http://www.17kunlun.com/" target="_blank">官方网站>></a>　　<a href="http://bbs.17kunlun.com/" target="_blank">官方论坛>></a></h1></div>
<div class="middle">
<div class="left"><div class="fastreg"><form id="login_form" name="login_form" method=post action="" onsubmit="kunlun_login()">
<input type="hidden" name="u" id="uuu0" class="fastreg_input"/>
<input type="hidden" name="u2" id="uuu1" class="fastreg_input"/>
<p>帐号名称：<input name="User_Name" id="User_Name" class="fastreg_input"/><span style="font-weight:200; color:#FFCC00;">　*英文/数字/"_",4-16个字符</span></p>
<p>登陆密码：<input type="password" name="User_Pass" id="User_Pass" class="fastreg_input"/><span style="font-weight:200; color:#FFCC00;">　*6-20个字符</span></p>
<p>重输密码：<input type="password" name="User_Pass2" id="User_Pass2" class="fastreg_input"/><span style="font-weight:200; color:#FFCC00;">　*两次输入的密码请保持一致</span></p>
<p>验 证 码：<input name="reg_validate" id="reg_validate" class="fastreg_input" style="width:40px;" maxlength=4 autocomplete=off/> <img id=checkcode src="/regist/checkcode.php" onClick="this.src='/regist/checkcode.php?r='+Math.random()" align="absmiddle" /><span style="font-weight:200; color:#FFCC00;"> *点击图片更换验证码</span><br><span style="font-weight:200; margin-left:-5px; "><input id="accept" name="accept" type="checkbox" value="1" checked="checked" />我已经仔细阅读并遵守<a href="http://www.17kunlun.com/inc/agreement.html" target="_blank">用户协议</a>.</span></p>
<p align="center" style="margin-top:18px; "><input type="image" src="images/fastreg1.gif" onclick="getPar();kunlun_login(); return false" />
</p>
</form>
</div></div>
  <div class="right"><img src="http://www.17kunlun.com/login/images/logo.gif" style="margin:55px 0 0 80px; " /></div>
</div>
<div class="middle2"> <div>　　2008年是游戏革命潮流汹涌的一年，而这股潮流的关键词就是——无端网游。网络游戏的概念从此一分为二，当这个概念再次被提起的时候，它将不仅仅只代表上G的客户端，漫长的游戏内容更新等待，以及不断飙升的电脑配置需求；而无需安装，只需打开浏览器就可开始游戏的无端网游，将给玩家带来一种全新的游戏体验，毫不逊色的游戏品质结合轻松方便的游戏方式，将成为更多玩家的选择。《昆仑OnWeb》走在这股由FLASH 技术革新引发的无端网游狂潮的最前端，我们知道创新的路不可能一帆风顺，但我们相信，有这么多玩家的支持，无端网游《昆仑OnWeb》一定会有一个美好的明天。</div> 
</div>
<div class="bottom"> 本活动最终解释权归北京昆仑万维所有 <br />
Copyright @ 2008 Corporation, All Rights Reserved </div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-4107119-1";
urchinTracker();
</script>
</body>
</html>

