\n
  • "; echo ""._("Home")." ("._("Listed").": $total1)\n"; $display = ""; if(intval($_GET['locid']) > 0) { $loc = mysql_fetch_assoc(mysql_query("select * from `locations` where `id`='".intval($_GET['locid'])."'")); $display = "\n
    \n"; } elseif(intval($_GET['regid']) > 0 && intval($_GET['locid']) <= 0) { echo "\n
  • \n\n\n\n
    \n"; } elseif(intval($_GET['locid']) > 0){ echo "\n\n\n\n\n\n\n
    \n"; } $query = "select *, `users`.`id` as `id` from `users`,`notary` where `listme`='1' and `ccid`='".intval($_GET['ccid'])."' and `regid`='".intval($_GET['regid'])."' and `locid`='".intval($_GET['locid'])."' and `users`.`id`=`notary`.`to` group by `notary`.`to` HAVING SUM(`points`) >= 100 order by `points` desc"; $list = mysql_query($query); if(mysql_num_rows($list) > 0) { ?>