[The Pinoy Underground Forum]
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Pinoy IP
Show my IP address location HTML code
Pinoy TIME
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» My Work Life
[Share] PHP For "Account Being Connected" EmptyMon Oct 22, 2018 8:20 pm by techrhonz

» Need help..homebased job
[Share] PHP For "Account Being Connected" EmptyMon Oct 22, 2018 8:18 pm by techrhonz

» All Time favorite Romantic Movie
[Share] PHP For "Account Being Connected" EmptyFri Jul 10, 2015 8:22 pm by lynnel_lynnel

» Nature PIcs
[Share] PHP For "Account Being Connected" EmptyMon Jul 06, 2015 10:32 am by footballstriker04

» Type of Sports
[Share] PHP For "Account Being Connected" EmptyMon Jul 06, 2015 10:31 am by footballstriker04

» Best Camera
[Share] PHP For "Account Being Connected" EmptyMon Jul 06, 2015 10:29 am by footballstriker04

» Transformer 3
[Share] PHP For "Account Being Connected" EmptyTue May 26, 2015 11:15 pm by troy69_chutey

» ...........x.x...........
[Share] PHP For "Account Being Connected" EmptyMon May 18, 2015 9:37 am by wangbu12

» Pixels” First Trailer Unveiled!
[Share] PHP For "Account Being Connected" EmptySat Mar 28, 2015 12:56 am by mayhanmayan

May 2024
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  

Calendar Calendar


[Share] PHP For "Account Being Connected"

Go down

[Share] PHP For "Account Being Connected" Empty [Share] PHP For "Account Being Connected"

Post  [Admin] Mr.Suabe Wed Sep 30, 2009 3:41 pm

PHP Code:

<?php
require("config.php");


$error=1;
if($_POST['lostpassword']=='Buy') {

$error = 2;
$account_id = stripslashes($_SESSION['user']);
$Nation = stripslashes($_POST['nation']);
$query = "SELECT header from RanUser.dbo.Web";
$result = $db->Execute($query);
$row = $result->fetchrow();
$idcode = (int)$_POST['idcode'];
$name = stripslashes($_POST['name']);
$row = $result->fetchrow();
$Cost = 150;
$result = mssql_query ("SELECT UserPoint FROM RanUser.dbo.UserInfo Where Username = '$account_id'");
$rows=mssql_num_rows($result);


}
if($error==1) {
$query = "SELECT resetmoney,resetlevel,resetslimit,reset_skill,reset_quest,reset_stat,clean_skills from RanUser.dbo.Web";
$result = $db->Execute($query);
$row = $result->fetchrow();
$login = stripslashes($_SESSION['user']);
$comanda1="SELECT UserNum from RanUser.dbo.UserInfo where Username = '$login' ";
$rezultat2=mssql_query($comanda1) or die("Can`t be executed");
while($r2=mssql_fetch_array($rezultat2)){
$Usernum = $r2["UserNum"];







}


echo "<center><form name='lostpassword' action='' method='post' onsubmit='return checkform1()' autocomplete='off'>
<table CELLSPACING=0 BORDER=0 CELLPADDING=0 align=CENTER>
<tr>
<td width=170 align=right>
<font size=2><b><img src='images/point_b.gif'/> UserName: &nbsp;&nbsp;
</td>
<td>
<select style='background: #ea6fc4; font: 11px verdana, sans-serif; color:#eee;'>";



{
$account_id = stripslashes($_SESSION['user']);
echo('
<option value='.$account_id.'>'.$account_id.'</option>
');

}

echo "
</select>
</td>
</tr>



<table>
<tr align=center><input type=hidden name=lostpassword value='Buy'>

</td></tr><tr><center><br><input type='Submit' name='submit' value='Submit' /><br><br>

</form></table>

";
}
if($error==2) {
$account_id = stripslashes($_SESSION['user']);
$Usernum = ($UserNum);
$Alz = ($Alz);
$query = "SELECT header from RanUser.dbo.Web";
$result = $db->Execute($query);
$row = $result->fetchrow();
$Nation = stripslashes($_POST['nation']);
$name = stripslashes($_POST['name']);
$idcode = (int)$_POST['idcode'];



mssql_query("UPDATE Userinfo SET UserLoginState = '0' WHERE Username = '$account_id' ");
mssql_query("UPDATE Userinfo SET UserAvailable = '1' WHERE Username = '$account_id' ");





echo '<center>Reset Account "User Account is Being Connected" Fixed.</center>';
$error = 1;





}


?>
[Admin] Mr.Suabe
[Admin] Mr.Suabe
Admin

Posts : 7
Join date : 2009-09-27

https://thepinoyunderground.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum