Pinoy IP
Show my IP address location HTML code
Pinoy TIME
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» All Time favorite Romantic Movie
Fri Jul 10, 2015 8:22 pm by lynnel_lynnel

» Nature PIcs
Mon Jul 06, 2015 10:32 am by footballstriker04

» Type of Sports
Mon Jul 06, 2015 10:31 am by footballstriker04

» Best Camera
Mon Jul 06, 2015 10:29 am by footballstriker04

» Transformer 3
Tue May 26, 2015 11:15 pm by troy69_chutey

» ...........x.x...........
Mon May 18, 2015 9:37 am by wangbu12

» Pixels” First Trailer Unveiled!
Sat Mar 28, 2015 12:56 am by mayhanmayan

» Up and coming talented actor Callan McAuliffe stars in “Robot Overlords"
Sat Mar 28, 2015 12:30 am by mayhanmayan

» "Pasama na ng pasama ang mundo... senyales na malapit ng bumalik ang Panginoon..
Thu Nov 29, 2012 8:30 am by James307

December 2017
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
25262728293031

Calendar Calendar


[Share] PHP For "Account Being Connected"

View previous topic View next topic Go down

[Share] PHP For "Account Being Connected"

Post  [Admin] Mr.Suabe on 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;





}


?>
avatar
[Admin] Mr.Suabe
Admin

Posts : 7
Join date : 2009-09-27

View user profile http://thepinoyunderground.forumotion.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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