/* 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 */ ?> $row = $_SESSION['_config']['notarise']; if($_SESSION['profile']['ttpadmin'] == 1 && $_SESSION['profile']['board'] == 1) { $methods = array("Face to Face Meeting", "Trusted 3rd Parties", "Thawte Points Transfer", "Administrative Increase", "CT Magazine - Germany"); } else if($_SESSION['profile']['ttpadmin'] == 1) { $methods = array("Face to Face Meeting", "Trusted 3rd Parties"); } $cap = "/cap.php?"; $name = $row['fname']." ".$row['mname']." ".$row['lname']." ".$row['suffix']; $_SESSION['_config']['wothash'] = md5($name."-".$row['dob']); while(strstr($name, " ")) $name = str_replace(" ", " ", $name); $cap .= "name=".urlencode($name); $cap .= "&dob=".urlencode($row['dob']); $cap .= "&email=".urlencode($row['email']); $name = $_SESSION['profile']['fname']." ".$_SESSION['profile']['mname']." ".$_SESSION['profile']['lname']." ".$_SESSION['profile']['suffix']; while(strstr($name, " ")) $name = str_replace(" ", " ", $name); $cap .= "&assurer=".urlencode($name); $cap .= "&date=now"; $cap .= "&maxpoints=".maxpoints(); $maxpoints = maxpoints(); if($maxpoints > 100) $maxpoints = 100; if($_SESSION['_config']['error'] != "") { ?>