?? editpasswordok.php
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>藍(lán)色勁舞團(tuán) - 非官方網(wǎng)站</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">商城結(jié)帳</a> | <a href="item.php" targehtmt="_blank">購買道具</a>
| <a href="pet.php" targehtmt="_blank">寵物領(lǐng)養(yǎng)</a> | <a href="cash.php" targehtmt="_blank">GB兌換MB</a>
| <a href="aubar.php" targehtmt="_blank">網(wǎng)吧合作</a> | <a href="Itemlogin.php" targehtmt="_blank">卡號自救</a>
| <a href="rank.php" targehtmt="_blank">排名</a>
</strong></td>
</tr>
</table>
<font color="#FF0000">友情提示:購買商城物品,請點(diǎn)擊一次即可!無須重復(fù)點(diǎn)擊!不然后果不堪設(shè)想!</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('提交的數(shù)據(jù)錯誤,拒絕請求!');
}else {
/* 獲得提交數(shù)據(jù) */
$account = $_POST['account'];
$pasword = $_POST['pasword'];
$pasword1 = $_POST['pasword1'];
$pasword2 = $_POST['pasword2'];
$picmama = $_POST['picma'];
$piccard = $_COOKIE['authnum'];
/* 檢查提交的數(shù)據(jù)是否為空 */
if ( $account == ''
|| $pasword == ''
|| $pasword1 == ''
|| $pasword2 == ''
|| $picmama == '' ) {
ErrorLogin('帳號或密碼或驗(yàn)證碼含有非法數(shù)據(jù)<br />請返回后重新填寫');
}else {
/* 檢查數(shù)據(jù)長度 */
if (strlen($account) < 4 || strlen($account) > 12) {
ErrorLogin('您要使用的帳號長度不符合規(guī)定<br />請返回后重新填寫');
}else {
if (strlen($pasword) < 6 || strlen($pasword) > 20) {
ErrorLogin('您要使用的密碼長度不符合規(guī)定<br />請返回后重新填寫');
}else {
/* 檢查新密碼長度 */
if (strlen($pasword1) < 6 || strlen($pasword1) > 20) {
ErrorLogin('您要使用的密碼長度不符合規(guī)定<br />請返回后重新填寫');
}else {
/* 檢查新密碼長度 */
if (strlen($pasword2) < 6 || strlen($pasword2) > 20) {
ErrorLogin('您要使用的密碼長度不符合規(guī)定<br />請返回后重新填寫');
}else {
/* 檢查兩次新密碼是否相等 */
if ($pasword1 != $pasword2) {
ErrorLogin('您要使用的密碼長度不符合規(guī)定<br />請返回后重新填寫');
}else {
/* 檢查兩次新密碼是否含有非法數(shù)據(jù) */
if (!ValidData($pasword1) || !ValidData($pasword2)) {
ErrorLogin('您要使用的密碼長度不符合規(guī)定<br />請返回后重新填寫');
}else {
/* 檢查帳號密碼數(shù)據(jù)是否含有非法數(shù)據(jù) */
if (!ValidData($account) || !ValidData($pasword)) {
ErrorLogin('您要使用的帳號或密碼含有非法數(shù)據(jù)<br />請返回后重新填寫');
}else {
/* 檢查提交的驗(yàn)證碼 */
if ( $picmama == $piccard )
{
/* 實(shí)例化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>玩家?guī)ぬ?lt;/B></font></td>
<td width="15%"><B>'.$result['UserID'].'</B></td>
<td width="15%"><font color="#000000"><B>玩家經(jīng)驗(yàn)</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);
/* 實(shí)例化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()">關(guān)閉窗口</a></td></tr>';
echo '</table>';
}
}
/* 檢查提交的驗(yàn)證碼 */
}
else {
ErrorLogin('您遞交的驗(yàn)證碼錯誤!!!!!!!!<br />請返回后重新填寫');
}
/* 檢查帳號密碼數(shù)據(jù)是否含有非法數(shù)據(jù) */
}
/* 檢查兩次新密碼是否含有非法數(shù)據(jù) */
}
/* 檢查兩次新密碼是否相等 */
}
/* 檢查新密碼長度 */
}
/* 檢查新密碼長度 */
}
/* 檢查ACCOUNT數(shù)據(jù)長度 */
}
/* 檢查PASSWORD數(shù)據(jù)長度 */
}
/* 檢查提交的數(shù)據(jù)是否為空 */
}
/* 第一個判斷 */
}
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">免責(zé)聲明:本服只用于研究和娛樂,游戲服務(wù)端來于互聯(lián)網(wǎng),非盈利性,請支持9YOU網(wǎng)。</font></td>
</tr>
<tr>
<td height="18" align="center"><font color="#FF0000">使用完整3.25客戶端,游戲中所提供的功能道具商品完全免費(fèi),不出售或變相出售,下載登陸器后24小時內(nèi)刪除。</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">網(wǎng)吧登陸補(bǔ)丁下載</font></a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="105"> </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© 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>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -