diff --git a/pages/account/43.php b/pages/account/43.php
index bc565bb..4fe32bc 100644
--- a/pages/account/43.php
+++ b/pages/account/43.php
@@ -16,27 +16,27 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ ?>
- if($_REQUEST['assurance'] > 0)
- {
- $assurance = mysql_escape_string($_REQUEST['assurance']);
- mysql_query("delete from `notary` where `id`='$assurance'");
- }
+ if($_REQUEST['assurance'] > 0)
+ {
+ $assurance = mysql_escape_string($_REQUEST['assurance']);
+ mysql_query("delete from `notary` where `id`='$assurance'");
+ }
- if(intval($_REQUEST['userid']) <= 0)
- {
- $emailsearch = $email = mysql_escape_string(stripslashes($_REQUEST['email']));
- if(!strstr($email, "%"))
- $emailsearch = "%$email%";
- if(intval($email) > 0)
- $emailsearch = "";
+ if(intval($_REQUEST['userid']) <= 0)
+ {
+ $emailsearch = $email = mysql_escape_string(stripslashes($_REQUEST['email']));
+ if(!strstr($email, "%"))
+ $emailsearch = "%$email%";
+ if(intval($email) > 0)
+ $emailsearch = "";
- $query = "select `users`.`id` as `id`, `email`.`email` as `email` from `users`,`email`
- where `users`.`id`=`email`.`memid` and
- (`email`.`email` like '$emailsearch' or `email`.`id`='$email' or `users`.`id`='$email') and
- `email`.`hash`='' and `email`.`deleted`=0 and `users`.`deleted`=0
- group by `users`.`id` limit 100";
- $res = mysql_query($query);
- if(mysql_num_rows($res) > 1) { ?>
+ $query = "select `users`.`id` as `id`, `email`.`email` as `email` from `users`,`email`
+ where `users`.`id`=`email`.`memid` and
+ (`email`.`email` like '$emailsearch' or `email`.`id`='$email' or `users`.`id`='$email') and
+ `email`.`hash`='' and `email`.`deleted`=0 and `users`.`deleted`=0
+ group by `users`.`id` limit 100";
+ $res = mysql_query($query);
+ if(mysql_num_rows($res) > 1) { ?>
=_("Select Specific Account Details")?>
@@ -46,8 +46,8 @@
=_("Email")?>
- while($row = mysql_fetch_assoc($res))
- { ?>
+ while($row = mysql_fetch_assoc($res))
+ { ?>
=$row['id']?>
=$row['email']?>
@@ -62,28 +62,28 @@
} ?>
- } elseif(mysql_num_rows($res) == 1) {
- $row = mysql_fetch_assoc($res);
- $_REQUEST['userid'] = $row['id'];
- } else {
- printf(_("No users found matching %s"), $email);
- }
- }
+ } elseif(mysql_num_rows($res) == 1) {
+ $row = mysql_fetch_assoc($res);
+ $_REQUEST['userid'] = $row['id'];
+ } else {
+ printf(_("No users found matching %s"), $email);
+ }
+ }
- if(intval($_REQUEST['userid']) > 0)
- {
- $id = intval($_REQUEST['userid']);
- $query = "select * from `users` where `id`='$id' and `users`.`deleted`=0";
- $res = mysql_query($query);
- if(mysql_num_rows($res) <= 0)
- {
- echo _("I'm sorry, the user you were looking for seems to have disappeared! Bad things are a foot!");
- } else {
- $row = mysql_fetch_assoc($res);
- $query = "select sum(`points`) as `points` from `notary` where `to`='".$row['id']."'";
- $dres = mysql_query($query);
- $drow = mysql_fetch_assoc($dres);
- $alerts = mysql_fetch_assoc(mysql_query("select * from `alerts` where `memid`='".$row['id']."'"));
+ if(intval($_REQUEST['userid']) > 0)
+ {
+ $id = intval($_REQUEST['userid']);
+ $query = "select * from `users` where `id`='$id' and `users`.`deleted`=0";
+ $res = mysql_query($query);
+ if(mysql_num_rows($res) <= 0)
+ {
+ echo _("I'm sorry, the user you were looking for seems to have disappeared! Bad things are a foot!");
+ } else {
+ $row = mysql_fetch_assoc($res);
+ $query = "select sum(`points`) as `points` from `notary` where `to`='".$row['id']."'";
+ $dres = mysql_query($query);
+ $drow = mysql_fetch_assoc($dres);
+ $alerts = mysql_fetch_assoc(mysql_query("select * from `alerts` where `memid`='".$row['id']."'"));
?>
@@ -104,10 +104,10 @@
=_("Last Name")?>:
+
+
+
+
=_("Suffix")?>:
@@ -117,10 +117,10 @@
=_("Date of Birth")?>:
- $year = intval(substr($row['dob'], 0, 4));
- $month = intval(substr($row['dob'], 5, 2));
- $day = intval(substr($row['dob'], 8, 2));
- ?>
+ $year = intval(substr($row['dob'], 0, 4));
+ $month = intval(substr($row['dob'], 5, 2));
+ $day = intval(substr($row['dob'], 8, 2));
+ ?>
for($i = 1; $i <= 31; $i++)
{
@@ -145,6 +145,18 @@
+
+ =_("Trainings")?>:
+ show
+
+
+ =_("Is Assurer")?>:
+ =$row['assurer']?>
+
+
+ =_("Blocked Assurer")?>:
+ =$row['assurer_blocked']?>
+
=_("Account Locking")?>:
=$row['locked']?>
@@ -202,8 +214,8 @@
=_("Delete Account")?>
- // This is intensionally a $_GET for audit purposes. DO NOT CHANGE!!!
- if($_GET['showlostpw'] != "yes") {
+ // This is intensionally a $_GET for audit purposes. DO NOT CHANGE!!!
+ if($_GET['showlostpw'] != "yes") {
?>
=_("Show Lost Password Details")?>
@@ -256,17 +268,17 @@
- $query = "select * from `email` where `memid`='".$row['id']."' and `deleted`=0 and `hash`=''
- and `email`!='".$row['email']."'";
- $dres = mysql_query($query);
- if(mysql_num_rows($dres) > 0) { ?>
+ $query = "select * from `email` where `memid`='".$row['id']."' and `deleted`=0 and `hash`=''
+ and `email`!='".$row['email']."'";
+ $dres = mysql_query($query);
+ if(mysql_num_rows($dres) > 0) { ?>
=_("Alternate Verified Email Addresses")?>
- $rc = mysql_num_rows($dres);
- while($drow = mysql_fetch_assoc($dres))
- { ?>
+ $rc = mysql_num_rows($dres);
+ while($drow = mysql_fetch_assoc($dres))
+ { ?>
=_("Secondary Emails")?>:
=$drow['email']?>
@@ -275,16 +287,16 @@
} ?>
- $query = "select * from `domains` where `memid`='".$row['id']."' and `deleted`=0 and `hash`=''";
- $dres = mysql_query($query);
- if(mysql_num_rows($dres) > 0) { ?>
+ $query = "select * from `domains` where `memid`='".$row['id']."' and `deleted`=0 and `hash`=''";
+ $dres = mysql_query($query);
+ if(mysql_num_rows($dres) > 0) { ?>
=_("Verified Domains")?>
- $rc = mysql_num_rows($dres);
- while($drow = mysql_fetch_assoc($dres))
- { ?>
+ $rc = mysql_num_rows($dres);
+ while($drow = mysql_fetch_assoc($dres))
+ { ?>
=_("Domain")?>:
=$drow['domain']?>
@@ -306,13 +318,13 @@
=_("Revoke")?>
- $query = "select * from `notary` where `to`='".$row['id']."'";
- $dres = mysql_query($query);
- $points = 0;
- while($drow = mysql_fetch_assoc($dres))
- {
- $fromuser = mysql_fetch_assoc(mysql_query("select * from `users` where `id`='".$drow['from']."'"));
- $points += $drow['points'];
+ $query = "select * from `notary` where `to`='".$row['id']."'";
+ $dres = mysql_query($query);
+ $points = 0;
+ while($drow = mysql_fetch_assoc($dres))
+ {
+ $fromuser = mysql_fetch_assoc(mysql_query("select * from `users` where `id`='".$drow['from']."'"));
+ $points += $drow['points'];
?>
=$drow['date']?>
@@ -343,13 +355,13 @@
=_("Revoke")?>
- $query = "select * from `notary` where `from`='".$row['id']."' and `to`!='".$row['id']."'";
- $dres = mysql_query($query);
- $points = 0;
- while($drow = mysql_fetch_assoc($dres))
- {
- $fromuser = mysql_fetch_assoc(mysql_query("select * from `users` where `id`='".$drow['to']."'"));
- $points += $drow['points'];
+ $query = "select * from `notary` where `from`='".$row['id']."' and `to`!='".$row['id']."'";
+ $dres = mysql_query($query);
+ $points = 0;
+ while($drow = mysql_fetch_assoc($dres))
+ {
+ $fromuser = mysql_fetch_assoc(mysql_query("select * from `users` where `id`='".$drow['to']."'"));
+ $points += $drow['points'];
?>
=$drow['date']?>