﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0054)file:///J:/Gersang/newweb/shopkeeper/sxp_w2/s8518.html -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>熱血掌櫃Online - S8518.COM</title>
<meta name="keywords" content="首頁">
<meta name="description" content="首頁 ">
<link rel="stylesheet" type="text/css" href="./s8518_images/style_2_common.css">
<link rel="stylesheet" type="text/css" href="./s8518_images/style_2_portal_index.css">
<script src="./s8518_images/common.js" type="text/javascript"></script><meta name="application-name" content="Discuz! Board">
<script src="./s8518_images/portal.js" type="text/javascript"></script>
<script src="./s8518_images/jquery-1.7.2.js" type="text/javascript"></script>
<script src="./s8518_images/pace.js" type="text/javascript"></script>
<script src="./s8518_images/sxpSlide.js" type="text/javascript"></script>
<script type="text/javascript" id="jljdhYYFOYYKIIKJUanPNWXFOOswOQJZ" charset="UTF-8" src="./s8518_images/common_extra.js">
</script><script type="text/javascript" id="lmTmbVVclVTcTqUcllJzlngWXYbgXWWW" charset="UTF-8" src="./s8518_images/ajax.js"></script>
<style type="text/css">
<!--
td{margin:0;padding:0;border-bottom-width: 0px;border-top-style: none;border-right-style: none;border-bottom-style: solid;border-left-style: none;border-bottom-color: #565555;}
.STYLE2 {
	color: #dfdd1b;
	font-weight: bold;
}
.STYLE4 {color: #FF0000}
.mytable{margin-top:10px;margin-bottom:10px;color: #545454}
.mytable tr{}
.mytable tr td{height:25px;line-height:25px; vertical-align:middle;padding-left:8px;padding-top:20px;}
.mytable a{color:#cc0000}
.mytable a:link {color: #cc0000;text-decoration: none;}
.mytable a:visited {color: #302f2f;text-decoration: none;}
.mytable a:hover {text-decoration: none;color: #a3a3a3;}
.mytable a:active {color: #302f2f;text-decoration: none;}
-->
</style>
</head>
<script type="text/javascript">
	//onblur失去焦点事件，用户离开输入框时执行 JavaScript 代码：
	//函数1：验证邮箱格式
  	function validate_username(username){
  		//定义正则表达式的变量:邮箱正则
  		var usernamReg=/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
  		//console.log(username);
  		if(username.length < 6 || username.length > 12)
  		{
			document.getElementById("test_user").innerHTML = "<font color='red' size='3px'>請輸入遊戲賬戶</font>";

  		}else{
    			document.getElementById("test_user").innerHTML = "<font color='green' size='3px'>√賬戶符合規範</font>";
  		}
  	}
	//函数1：验证邮箱格式
  	function validate_email(email){
  		//定义正则表达式的变量:邮箱正则
  		var emailReg=/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
  		//console.log(username);
  		if(email !="" && email.search(emailReg) != -1)
  		{
  			document.getElementById("test_email").innerHTML = "<font color='green' size='3px'>√Email信箱格式正確。</font>";
  		}else{
  			document.getElementById("test_email").innerHTML = "<font color='red' size='3px'>Email信箱格式錯誤。</font>";
  		}
  	}
 	//函数2：验证密码是否符合要求：匹配6位密码，由数字和字母组成：
  	function validate_password(password){
  		//^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6-10}$
		//测试密码：12345y
  		var passwordReg=/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,11}$/;
  		if(password != "" && passwordReg.test(password))
  		{
  			document.getElementById("test_pw").innerHTML = "<font color='green' size='3px'>√</font>";
  		}else{
  			document.getElementById("test_pw").innerHTML = "<font color='red' size='3px'>密碼格式錯誤，請使用組合。</font>";

  		}
  	}
  	
	//函数3：验证两次输入的密码是否一样
  	 function validate_password2(password2){
  		var password = document.getElementById("passwd").value;
  		//测试：console.log(password);
  		//测试：console.log(password2);
  		if (password == ""){
			document.getElementById("is_test_pw").innerHTML = "<font color='red' size='3px'>請輸入密碼。</font>";
		}else if(password==password2){
  			document.getElementById("is_test_pw").innerHTML = "<font color='green' size='3px'>√</font>";
  		}else{
  			document.getElementById("is_test_pw").innerHTML = "<font color='red' size='3px'>兩次密碼不相同，請重新輸入。</font>";

  		}
  	} 
   	//函数2：phone：
  	function validate_phone(phone){
  		//^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6-10}$
		//测试密码：12345y
  		var phoneReg=/^[0-9]+.?[0-9]{10,11}$/; 
  		if(phone != "" && phoneReg.test(phone))
  		{
  			document.getElementById("test_phone").innerHTML = "<font color='green' size='3px'>√電話號碼格式正確</font>";
  		}else{
  			document.getElementById("test_phone").innerHTML = "<font color='red' size='3px'>輸入11位電話號碼，位數不夠請前方+0</font>";

  		}
  	}	
	//函数4：验证表单是否已经填好
  	function validate_form(){
  		var username = document.getElementById("username").value;
  		var email = document.getElementById("email").value;
  		var phone = document.getElementById("phone").value;
  		var password = document.getElementById("passwd").value;
  		var password2 = document.getElementById("repasswd").value;
  		//console.log("表单填写正确，可以正常提交！");
  	
  		//这三个，如果任何一个有问题，都返回false
  		//18128@qq.com		12345y
  		var emailReg=/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
  		var passwordReg=/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,11}$/;
  		var phoneReg=/^[0-9]+.?[0-9]{10,11}$/; 
  		if(username != "" && emailReg.test(email) && phoneReg.test(phone) && username.length > 5 && username.length < 12){
  			if(password !="" && passwordReg.test(password)){
  				if(password2==password){
  					alert("信息正確，可以正常提交！");
  					console.log("信息正確，可以正常提交！");
  					return true;
  				}else{
  					alert("密碼不一致，失敗，請重填！");
  					console.log("密碼不一致，失敗，請重填！");
  					return false;
  				}
  			}else{
  				alert("密碼格式錯誤，失敗，請重填！");
  				console.log("密碼格式錯誤，失敗，請重填！");
  				return false;
  			}
  		}else{
  			alert("賬號不符合要求，失敗，請重填！");
  			console.log("賬號不符合要求，失敗，請重填！");
  			return false;
  		}
  	}
  </script>

<body id="nv_portal" class="      pace-done"><div class="pace  pace-inactive"><div class="pace-progress" data-progress-text="100%" data-progress="99" style="width: 100%;">
  <div class="pace-progress-inner"></div>
</div>
<div class="pace-activity"></div></div><div class="pace  pace-inactive"><div class="pace-progress" data-progress-text="100%" data-progress="99" style="width: 100%;">
 <div class="pace-progress-inner"></div>
</div>
<div class="pace-activity"></div></div><div class="pace  pace-inactive"><div class="pace-progress" data-progress-text="100%" data-progress="99" style="width: 100%;">
<div class="pace-progress-inner"></div>
</div>
<div class="pace-activity"></div></div>
<div id="hd" class="qis6_hd">
<div><div id="sxp_nv" class="" style="position: fixed; top: 0px; width: 100%; z-index: 199; left: 0px; padding-bottom: 0px; margin-top: 0px; opacity: 0.95;">
<div id="sxp_nv2">     <div id="sxp_nv2_h2">
<a href="https://s8518.com/" title="Discuz! Board"><img src="./s8518_images/logo.png" alt="Discuz! Board" border="0"></a>	
</div>					

<div id="sxp_nv3">
                    <ul>
                                                    <li id="mn_P1"><a href="https://s8518.com/portal.php?mod=list&amp;catid=1" hidefocus="true">掌櫃訊息</a></li>                                                    <li id="mn_P2"><a href="https://s8518.com/portal.php?mod=list&amp;catid=2" hidefocus="true">掌櫃百科</a></li>                                                                                                                                                                                                                                                                    <li id="mn_N395c"><a href="https://s8518.com/#" hidefocus="true">遊戲下載</a></li>                                                    <li id="mn_Nbf7e"><a href="https://s8518.com/#" hidefocus="true">DISCORD</a></li>                                                    <li id="mn_Nd54b"><a href="https://s8518.com/#" hidefocus="true">會員中心</a></li>                                            </ul>
                    </div>


<div id="sxp_nv4">

<div id="scbar" class="cl qis_searchstyle">
  <form id="scbar_form" method="post" autocomplete="off" onsubmit="searchFocus($(&#39;scbar_txt&#39;))" action="https://s8518.com/search.php?searchsubmit=yes" target="_blank">
<input type="hidden" name="mod" id="scbar_mod" value="search">
<input type="hidden" name="formhash" value="f937ad54">
<input type="hidden" name="srchtype" value="title">
<input type="hidden" name="srhfid" value="0">
<input type="hidden" name="srhlocality" value="portal::index">
<table cellspacing="0" cellpadding="0">
<tbody><tr>

<td class="scbar_txt_td"><input type="text" name="srchtxt" id="scbar_txt" value="請輸入搜索內容" autocomplete="off" x-webkit-speech="" speech="" class=" xg1 xg1 xg1 xg1 xg1 xg1" placeholder="請輸入搜索內容"></td>


<td class="scbar_btn_td"><button type="submit" name="searchsubmit" id="scbar_btn" sc="1" class="pn pnc" value="true"></button></td>


</tr>
<tr>
  <td colspan="4">
    </td>
  </tr>
</tbody></table>
</form>
</div>
<ul id="scbar_type_menu" class="p_pop" style="display: none;"><li><a href="javascript:;" rel="article">文章</a></li><li><a href="javascript:;" rel="forum" class="curtype">帖子</a></li><li><a href="javascript:;" rel="user">用戶</a></li></ul>
<script type="text/javascript">
initSearchmenu('scbar', '');
</script>
</div>
</div></div> 
</div>
</div> <div id="wp" class="wp">


<script src="./s8518_images/sxpcase.js" type="text/javascript"></script>
<script type="text/javascript">var jq=jQuery.noConflict();</script>	
<script src="./s8518_images/jquery.flexslider-min.js" type="text/javascript"></script>
<script type="text/javascript">
            jq(document).ready(function(){
                jq('.flexslider').flexslider({
                    directionNav: true,
                    pauseOnAction: false
                });
            });
</script>
<style id="diy_style" type="text/css"></style>
<link href="./s8518_images/portal.css" rel="stylesheet" type="text/css"> 
</div>

<div class="flexslider"><ul class="slides"><li class="flexslider1" style="width: 100%; float: left; margin-right: -100%; position: relative; opacity: 0; display: block; z-index: 1;"></li>
<li class="flexslider2" style="width: 100%; float: left; margin-right: -100%; position: relative; opacity: 0; display: block; z-index: 1;"></li>
<li class="flexslider3 flex-active-slide" style="width: 100%; float: left; margin-right: -100%; position: relative; opacity: 1; display: block; z-index: 2;"></li></ul><ol class="flex-control-nav flex-control-paging"><li><a class="">1</a></li><li><a class="">2</a></li><li><a class="flex-active">3</a></li></ol><ul class="flex-direction-nav"><li><a class="flex-prev" href="file:///J:/Gersang/newweb/shopkeeper/sxp_w2/s8518.html#"></a></li><li><a class="flex-next" href="file:///J:/Gersang/newweb/shopkeeper/sxp_w2/s8518.html#"></a></li></ul></div>
<div class="clear"></div>

<div class="sxp_portal3">
<div class="wp">
		<div class="news_inner">
			<div class="news_detail_title"><span>申請賬號</span><span class="news_detail_date"> </span></div>
			<div class="news_detail_content">
			
        <div id="table-c">
          <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" class="mytable">
            <form name="f1" action="" method="post" onSubmit="return checkfrom(this)">
              <tr>
                <td height="30" width="100" align="left">遊戲賬戶：</td>
                <td align="left" width="280"><input name="username" type="text" id="username" class="app_input" maxlength="20" style="width:250px; height:30px; font-size:16px;" placeholder="賬戶字母數字，6~12位" onBlur="validate_username(this.value)"/ >
                </td>
                <td id="test_user" align="left" width="285"></td>
              </tr>
              <tr>
                <td height="30" align="left">遊戲密碼：</td>
                <td align="left"><input name="passwd" type="password" id="passwd" class="app_input" maxlength="20" style="width:250px; height:30px; font-size:16px;" placeholder="密碼由字母數字組合，6~20位" onBlur="validate_password(this.value)"/>
                </td>
                <td id="test_pw"></td>
              </tr>
              <tr>
                <td height="30" align="left">確認密码：</td>
                <td align="left"><input name="repasswd" type="password" id="repasswd" class="app_input" maxlength="20" style="width:250px; height:30px; font-size:16px;" placeholder="再次輸入密碼" onBlur="validate_password2(this.value)" />
                </td>
                <td id="is_test_pw"></td>
              </tr>
              <tr>
                <td height="30" align="left">電子信箱：</td>
                <td align="left"><input name="email" type="email" id="email" class="app_input" maxlength="30" style="width:250px; height:30px; font-size:16px;" placeholder="输入您的電子信箱，重要憑證" onBlur="validate_email(this.value)"/ >
                </td>
                <td id="test_email"></td>
              </tr>
              <tr>
                <td height="30" align="left">電話號碼：</td>
                <td align="left"><input name="phone" type="text" id="phone" class="app_input" maxlength="11" style="width:250px; height:30px; font-size:16px;" placeholder="输入您的電話號碼，重要憑證" onBlur="validate_phone(this.value)"/ >
                </td>
                <td id="test_phone"></td>
              </tr>
              <tr>
                <td height="30" colspan="3" align="left"><span class="STYLE1">已有遊戲賬號！</span><a href="members.jsp" target="_blank">進入會員中心</a></td>
              </tr>
              <tr>
                <input type="hidden" name="ptype" value="login" id="faceValue"/>
                <td height="30" colspan="3" align="left"><input name="Submit" type="submit" class="btn2 " value="提交註冊" onClick="return validate_form()" style="width:120px; height:40px;cursor:pointer; font-size:16px;" />
                  &nbsp&nbsp
                  <input type="reset" name="reset" value="重新填写" style="width:120px; height:40px; cursor:pointer; font-size:16px;"></td>
              </tr>
            </form>
          </table>
        </div>
		</div>
		</div>

<div class="clear"></div>
</div>

</div>

<div class="clear"></div>

<div class="wp"></div>
		
<div class="sxpfooter">		
				
        
        </div>	
	
        <div class="clear"></div>		
        <div class="sxpftbottom">
        	<div class="wp">
                <div class="sxpftnav"><div class="footer_img"><img src="./s8518_images/rx_xy_logo.png"></div>
<ul><li>
熱血逍遙工作室出品&nbsp;</li>
<li>
所有資源均來自互聯網，如有侵犯，請聯絡我們。&nbsp;</li></ul>
</div>
<div class="sxpftnav">
<div class="footer_img"><img src="./s8518_images/12ico.jpg"></div>
<ul><li>
&nbsp;本遊戲部分內容涉及暴力情節，請避免沉迷遊戲。</li>
<li>
&nbsp;本遊戲部份內容需另行支付費用。</li></ul>
<div class="clear"></div></div>
                <div class="sxpftttr"><ul><li>Copyright&nbsp;&nbsp;2022-2025&nbsp;&nbsp;Powered by © S8518.COM&nbsp;&nbsp;</li></ul></div>
                <div class="clear"></div>
            </div>
        </div>				
    	
<div class="clear"></div>


</body></html>