/* LibreSSL - CAcert web application Copyright (C) 2004-2008 CAcert Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ require_once($_SESSION['_config']['filepath'].'/includes/lib/l10n.php'); $res = mysql_query("select * from `users` where `id`='".intval($_REQUEST['userid'])."' and `listme`='1'"); if(mysql_num_rows($res) <= 0) { echo _("Sorry, I was unable to locate that user, the person doesn't wish to be contacted, or isn't an assurer."); } else { $user = mysql_fetch_array($res); $userlang = L10n::normalise_translation($user['language']); $points = mysql_num_rows(mysql_query("select sum(`points`) as `total` from `notary` where `to`='".intval($user['id'])."' and `deleted`=0 group by `to` HAVING SUM(`points`) > 0")); if($points <= 0) { echo _("Sorry, I was unable to locate that user."); } else { $_SESSION['_config']['pagehash'] = md5(date("U")); ?> if($_SESSION['_config']['error'] != "") { ?>ERROR: =$_SESSION['_config']['error']?> unset($_SESSION['_config']['error']); } ?>
[ =_("Go Back")?> ]
} } ?>