From 5f494a914a5219ca68dcdd865bd87e7f5abe3be3 Mon Sep 17 00:00:00 2001 From: Wytze van der Raay Date: Thu, 7 Oct 2010 12:35:19 +0000 Subject: [PATCH] Ticket: https://bugs.cacert.org/view.php?id=865 Subject: remove the file pages/wot/7-old.php --- pages/wot/7-old.php | 183 -------------------------------------------- 1 file changed, 183 deletions(-) delete mode 100644 pages/wot/7-old.php diff --git a/pages/wot/7-old.php b/pages/wot/7-old.php deleted file mode 100644 index af167a0..0000000 --- a/pages/wot/7-old.php +++ /dev/null @@ -1,183 +0,0 @@ - -= 100")); - - $town = mysql_escape_string(stripslashes($_GET['town'])); - $start = intval($_GET['start']); - $limit = 25; - - echo "
\n
\n"; - } elseif($regid <= 0) { - echo "\n\n\n\n\n
\n"; - } elseif($locid <= 0) { - echo "\n\n\n\n\n
\n"; - $rc = mysql_num_rows(mysql_query("select * from `locations` where `regid`='".$regid."'")); - if($start > 0) - { - $prev = $start - $limit; - if($prev < 0) - $prev = 0; - - $st = "[ << Start ] "; - $prev = "[ < Previous $limit ] "; - } - if($start < $rc - $limit) - { - $next = $start + $limit; - $last = $rc - $limit; - - $next = "[ Next $limit > ] "; - $end = "[ End >> ]"; - } - echo "
$st
$end
\n"; - echo "
$prev
$next
\n"; -?> -
-
- - - - - - - - - - - -
:
">
- - -
-
-\n\n\n\n\n\n\n
\n"; - echo "

"; - echo _("Make my location here"); - echo "

\n"; - echo "

"._("If you are happy with this location, click 'Make my location here' to update your location details.")."


\n"; - } -} else { - $total1 = mysql_num_rows(mysql_query("select * from `users`,`notary` where `listme`='1' and `users`.`id`=`notary`.`to` - group by `notary`.`to` HAVING SUM(`points`) >= 100")); - - if($locid > 0) - { - $total4 = mysql_num_rows(mysql_query("select * from `users`,`notary` where `listme`='1' and `locid`='".$locid."' and - `users`.`id`=`notary`.`to` group by `notary`.`to` HAVING SUM(`points`) >= 100")); - $loc = mysql_fetch_assoc(mysql_query("select * from `locations` where `id`='".$locid."'")); - $regid = $loc['regid']; - } - - if($regid) > 0) - { - $total3 = mysql_num_rows(mysql_query("select * from `users`,`notary` where `listme`='1' and `regid`='".$regid."' and - `users`.`id`=`notary`.`to` group by `notary`.`to` HAVING SUM(`points`) >= 100")); - $reg = mysql_fetch_assoc(mysql_query("select * from `regions` where `id`='".$regid."'")); - $ccid = $reg['ccid']; - } - - $total2 = mysql_num_rows(mysql_query("select * from `users`,`notary` where `listme`='1' and - `ccid`='".$ccid."' and `users`.`id`=`notary`.`to` - group by `notary`.`to` HAVING SUM(`points`) >= 100")); - - $_SESSION['profile']['ccid'] = $ccid; - $_SESSION['profile']['regid'] = $regid; - $_SESSION['profile']['locid'] = $locid; - - mysql_query("update `users` set `ccid`='".$ccid."',`regid`='".$regid."',`locid`='".$locid."' - where `id`='".$_SESSION['profile']['id']."'"); - - echo _("Your details have been updated."); -} -?>