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

📄 editpasswordok.php

📁 劲舞团3.2商城!简单版!宠物 GB转换
💻 PHP
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>蓝色劲舞团 - 非官方网站</title>
<style type="text/css">
<!--
.STYLE3 {
	color: #00FF00;
	font-weight: bold;
}
-->
</style>
</head>

<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<STYLE type=text/css>
BODY {
	MARGIN: 0px
}
.STYLE2 {
	COLOR: #ffffff
}
BODY {
	FONT-SIZE: 12px
}
TD {
	FONT-SIZE: 12px
}
TH {
	FONT-SIZE: 12px
}
A:link {
	COLOR: #FFFFff
}
A:visited {
	COLOR: #FFFFFF
}
A:hover {
	COLOR: #FFFF15
}
A:active {
	COLOR: #FFFF15
}
a{TEXT-DECORATION:none}  
</STYLE>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<table width="1000" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
  <tr> 
    <td><table width="998" height="140" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="265"> 
            <table width="427" height="129" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="427"><img src="images/top.jpg" width="897" height="126"></td>
              </tr>
            </table>          </td>
          <td width="717" valign="bottom"> <p><br>
              <br>
            </p>          </td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td height="342" valign="top"> 
      <table width="998" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="105" height="334"> 
          <td width="542" valign="top"><table width="792" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="792" height="25"> <table width="787" height="25" border="0" cellpadding="0" cellspacing="2">
                    <tr> 
                      <td height="20" align="center" bgcolor="#FF62A0"><strong> 
                        <a href="index.php">劲舞首页</a> | <a href="reg.php" targehtmt="_blank">注册帐号</a> 
                        | <a href="editpassword.php" targehtmt="_blank">密码修改</a> 
                        | <a href="RecoverPasswd.php" targehtmt="_blank">密码找回</a> 
                        | <a href="shop.php" targehtmt="_blank">商城结帐</a> | <a href="item.php" targehtmt="_blank">购买道具</a> 
                        | <a href="pet.php" targehtmt="_blank">宠物领养</a> | <a href="cash.php" targehtmt="_blank">GB兑换MB</a> 
                        | <a href="aubar.php" targehtmt="_blank">网吧合作</a> | <a href="Itemlogin.php" targehtmt="_blank">卡号自救</a>
                        | <a href="rank.php" targehtmt="_blank">排名</a> 
                        </strong></td>
                    </tr>
                  </table>
                  <font color="#FF0000">友情提示:购买商城物品,请点击一次即可!无须重复点击!不然后果不堪设想!</font></td>
              </tr>
              <tr> 
                <td height="311" valign="top"> 
                  <table width="784" border="0" cellspacing="2" cellpadding="0">
                    <tr> 
                      <td width="788" height="126" valign="middle"><table width="784" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" bgcolor="#F9F9F9">
                          <tr> 
                            <td><table width="780" border="0" cellpadding="0" cellspacing="5">
                                <tr> 
                                   <!-- 夯巩单捞鸥矫累------------------------------------>
                              <table style="word-break:break-all;padding:10px;" cellspacing="0" cellpadding="3" border="0" width="562" height="200">
                                
                                <tr>
                                  <td colspan=2 height="250" valign="top"> <TABLE width="100%" border=0 cellPadding=0 cellSpacing=0>
                                      <p><BR><TBODY>
                                        <TR>
                                          <TD align="center"><table style="text-align:center;">
<?php
//error_reporting(0);
include_once('include/global.php');

/* 检查提交方式 */
if (strtoupper($_SERVER['REQUEST_METHOD'])!= "POST") {
	ErrorLogin('提交的数据错误,拒绝请求!');
}else {

/* 获得提交数据 */
$account = $_POST['account'];
$pasword = $_POST['pasword'];
$pasword1 = $_POST['pasword1'];
$pasword2 = $_POST['pasword2'];
$picmama = $_POST['picma'];
$piccard = $_COOKIE['authnum'];
/* 检查提交的数据是否为空 */
if (   $account  == '' 
	|| $pasword  == '' 
	|| $pasword1  == '' 
	|| $pasword2  == '' 
  || $picmama  == '' ) {
	ErrorLogin('帐号或密码或验证码含有非法数据<br />请返回后重新填写');
}else {


/* 检查数据长度 */
if (strlen($account) < 4 || strlen($account) > 12) {
	ErrorLogin('您要使用的帐号长度不符合规定<br />请返回后重新填写');
}else {


if (strlen($pasword) < 6 || strlen($pasword) > 20) {
	ErrorLogin('您要使用的密码长度不符合规定<br />请返回后重新填写');
}else {
	
/* 检查新密码长度 */
if (strlen($pasword1) < 6 || strlen($pasword1) > 20) {
	ErrorLogin('您要使用的密码长度不符合规定<br />请返回后重新填写');
}else {
	
/* 检查新密码长度 */
if (strlen($pasword2) < 6 || strlen($pasword2) > 20) {
	ErrorLogin('您要使用的密码长度不符合规定<br />请返回后重新填写');
}else {

/* 检查两次新密码是否相等 */
if ($pasword1 != $pasword2) {
	ErrorLogin('您要使用的密码长度不符合规定<br />请返回后重新填写');
}else {

/* 检查两次新密码是否含有非法数据 */
if (!ValidData($pasword1) || !ValidData($pasword2)) {
	ErrorLogin('您要使用的密码长度不符合规定<br />请返回后重新填写');
}else {

/* 检查帐号密码数据是否含有非法数据 */
if (!ValidData($account) || !ValidData($pasword)) {
	ErrorLogin('您要使用的帐号或密码含有非法数据<br />请返回后重新填写');
}else {

/* 检查提交的验证码 */
if (   $picmama  == $piccard )
{
	
/* 实例化DB类 操作audition库 */
$db = new DB($db_host, $db_user, $db_pwd, $AU_db, $pconnect);

		$query ="
				SELECT UserSN, UserID, Password, UserNick, Level, Exp 
				FROM userinfo 
				WHERE UserID = '$account'
			";
		$check = $db->query($query);
		$count = $db->num_rows($check);
		$wannabuy = 0;
		
		if ($count != 1) {
			ErrorLogin("帐号或密码不合法");
		} else {
			$result = $db->fetch_array($check);
			if ($account != $result['UserID'] || $pasword != $result['Password']) {
				ErrorLogin("帐号或密码不合法");
			} else {
				$usersn = $result['UserSN'];
				
				echo '<input type="hidden" name="usersn" value="'.$usersn.'"></input>';
				echo '<input type="hidden" name="account" value="'.$account.'"></input>';
				echo '<input type="hidden" name="pasword" value="'.$pasword.'"></input>';

					echo '<table border="1" cellspacing="0" cellpadding="1">';
					echo '<tr align="center"> <td width="center" colspan="4"><B>人物资料列表</B></td></tr>';
					echo '<tr align="center"> 
 					<td width="15%"><font color="#000000"><B>玩家帐号</B></font></td>
					<td width="15%"><B>'.$result['UserID'].'</B></td>
					<td width="15%"><font color="#000000"><B>玩家经验</B></font></td>
					<td width="15%"><B>'.$result['Exp'].'</B></td>
					</tr>';
					echo '<tr align="center"> 
					<td width="15%"><font color="#000000"><B>玩家昵称</B></font></td>
					<td width="15%"><B>'.$result['UserNick'].'</B></td>
					<td width="15%"><font color="#000000"><B>玩家等级</B></font></td>
					<td width="15%"><B>'.$result['Level'].'</B></td>
					</tr>';							
	 $query ="
						UPDATE `userinfo` SET password = '$pasword2' WHERE userid ='$account'
					     ";
					     
        $result = $db->query($query);
       
/* 实例化DB类 操作auditionlogin库 */
        $aulogin = new DB($db_host, $db_user, $db_pwd, $AUlogin_db, $pconnect);
        
        $query ="
            UPDATE `member` SET passwd = '$pasword2' WHERE userid = '$account'
                ";
        $result = $aulogin->query($query);
	mysql_close();
       echo '<tr align="center"><td colspan="4"><b>更改密码成功,祝您游戏愉快!</b></td></tr>'; 
       echo '<tr align="center"><td colspan="4"><img src="getcode.php"></td></tr>';
       echo '<tr align="center"><td colspan="4"><a href="#" onclick="javascript:window.close()">关闭窗口</a></td></tr>';
			echo '</table>';

		}
	}
/* 检查提交的验证码 */
}
else {
ErrorLogin('您递交的验证码错误!!!!!!!!<br />请返回后重新填写');
}
/* 检查帐号密码数据是否含有非法数据 */
}
/* 检查两次新密码是否含有非法数据 */
}
/* 检查两次新密码是否相等 */
}
/* 检查新密码长度 */
}
/* 检查新密码长度 */
}
/* 检查ACCOUNT数据长度 */
}
/* 检查PASSWORD数据长度 */
}
/* 检查提交的数据是否为空 */
}
/* 第一个判断 */
}

function EndOfPage($ErrMsg)
{
	ErrorLogin($ErrMsg);
	die(0);
}
?>
                                         </TD>
                                        </TR>
                                        </TABLE>
									<p><BR>
</td>
                                </tr>
                                
                              </table></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                    </tr>
                    <tr>
                      <td height="80"> 
                        <table width="784" height="90" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" bgcolor="#F9F9F9">
                          <tr>
                            <td><table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr> 
                                  <td height="23" align="center"><font color="#FF0000">免责声明:本服只用于研究和娱乐,游戏服务端来于互联网,非盈利性,请支持9YOU网。</font></td>
                                </tr>
                                <tr> 
                                  <td height="18" align="center"><font color="#FF0000">使用完整3.25客户端,游戏中所提供的功能道具商品完全免费,不出售或变相出售,下载登陆器后24小时内删除。</font></td>
                                </tr>
                                <tr> 
                                  <td height="37" align="center"><font color="#000066">其他下载:</font> 
                                    <a href="http://au.9you.com" target="_blank"><font color="#666666">完整3.25客户端下载①</font></a> 
                                    | <a href="http://au.download1.9you.com/gameclient/Audition20071222.exe"><font color="#666666">完整3.25客户端下载②</font></a> 
                                    | <a href="http://au.9you.com/download/regedit_2k.reg"><font color="#666666">XP注册表文件下载</font></a> 
                                    | <a href="http://au.9you.com/guide_patch.html#3" target="_blank"><font color="#666666">网吧登陆补丁下载</font></a></td>
                                </tr>
                              </table></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
          <td width="105">&nbsp;</td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td height="110" class="STYLE2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center">[<a href="index.html"><font color="#333333">返回首页</font></a>] 
            [<a href="http://bbs.wimm.cn" target="_blank"><font color="#333333">游戏论坛</font></a>]</td>
        </tr>
        <tr> 
          <td height="23" align="center">Copyright&copy; 2007 - 2008  Inc. 
            All Rights Reserved<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1" height="1">
  <param name="movie" value="http://www.178au.cn/web_music.swf">
  <param name="quality" value="high">
  <embed src="http://www.178au.cn/web_music.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1" height="1"></embed></object>
</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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