Author Topic: My Gift To Everyone - [FREE Aurora Mod] - Pin Number & Pin to Withdraw  (Read 383 times)

0 Members and 1 Guest are viewing this topic.

Offline GPSBlack

  • Jr. Member
  • **
  • Posts: 93
  • Reputation: 5
    • View Profile
    • GPSBlack - Secure GPT Software
  • Referrals: 0
open members/profile.php

FIND
Code: [Select]
if($action == "email") {
$hold="Account";
if (!eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$settings[currency]", $email)) {
$error_msg="Enter a valid email address";
}
else {
$sql=$Db1->query("UPDATE user SET email='$email' WHERE username='$username'");
if($settings[verify_emails] == 1) {
$Db1->query("UPDATE user SET verified='0' WHERE username='$username'");
send_act_email($username);
$Db1->query("DELETE FROM sessions WHERE user_id = '$userid'");
$Db1->sql_close();
header("Location: index.php?view=verify&uname=$form_username");
exit;
}
$Db1->sql_close();
header("Location: index.php?view=account&hold=Account&ac=profile&".$url_variables."");
exit;
}
}
BELOW IT ADD
Code: [Select]
if($action == "set_pin") {
$hold="Account";
if (!eregi("^[0-9]{8}", $set_pin)) {
$error_msg="Enter a valid pin number 8 digits long";
}
else {
$sql=$Db1->query("UPDATE user SET pin='".md5($set_pin)."' WHERE username='$username'");
$Db1->sql_close();
header("Location: index.php?view=account&hold=Account&ac=profile&".$url_variables."");
exit;
}
}
FIND
Code: [Select]
else if(!isset($account) || $account=="") {
$error_msg="You must enter a valid account id!";
}
BELOW IT ADD
Code: [Select]
else if(md5($spin) != $thismemberinfo[pin]) {
$error_msg="You must enter a valid 8 digit pin number!";
}
   
FIND
Code: [Select]
<form action=\"index.php?view=account&ac=profile&action=email&".$url_variables."\" method=\"post\" onSubmit=\"submitonce(this)\" >
<table class=\"tableStyle2\">
<tr>
<td colspan=2 class=\"tableHead\"><b>Your Email</b></td>
</tr>
<tr>
<td>Current Email: </td>
<td>$thismemberinfo[email]</td>
</tr>
<tr>
<td>New Email</td>
<td><input type=\"text\" name=\"email\" value=\"\" style=\"width: 200px\"></td>
</tr>
<tr>
<td align=\"center\" colspan=2><input type=\"submit\" value=\"Save New Email\"></td>
</tr>
</table>
</form>
BELOW IT ADD
Code: [Select]
".iif($thismemberinfo[pin] == "","
<form action=\"index.php?view=account&ac=profile&action=set_pin&".$url_variables."\" method=\"post\" onSubmit=\"submitonce(this)\" >
<table class=\"tableStyle2\">
<tr>
<td colspan=2 class=\"tableHead\"><b>Set Your Pin Number</b></td>
</tr>
<tr>
<td>Your Pin Number(8 digits long):</td>
<td><input type=\"text\" name=\"set_pin\" value=\"\" style=\"width: 200px\"></td>
</tr>
<tr>
<td align=\"center\" colspan=2><input type=\"submit\" value=\"Set As Pin\"></td>
</tr>
</table>
</form>")."
FIND
Code: [Select]
<tr>
<td>Account Id:</td>
<td><input type=\"text\" name=\"account\"></td>
</tr>
BELOW IT ADD
Code: [Select]
<tr>
<td>Pin Number:</td>
<td><input type=\"text\" name=\"spin\"></td>
</tr>
FIND
Code: [Select]
<tr>
<td>Account Id:</td>
<td><input type=\"text\" name=\"auto_account\" value=\"$thismemberinfo[auto_account]\"></td>
</tr>
BELOW IT ADD
Code: [Select]
<tr>
<td>Pin Number:</td>
<td><input type=\"text\" name=\"spin\"></td>
</tr>

SAVE & UPLOAD FILE

Open phpmyadmin

goto aurora db

select sql tab

Copy and paste the commands below into the area and press go
Code: [Select]
ALTER TABLE `user` ADD `pin` VARCHAR( 32 ) NOT NULL DEFAULT '' AFTER `mod_permission` ;
ALTER TABLE `user_deleted` ADD `pin` VARCHAR( 32 ) NOT NULL DEFAULT '' AFTER `mod_permission` ;