=$title2?>
if($_SESSION['_config']['errmsg'] != "") { ?>echo $_SESSION['_config']['errmsg']; $_SESSION['_config']['errmsg'] = ""; ?>
} ?> } function showfooter() { ?>/* 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 */ $id = 0; if(array_key_exists("id",$_REQUEST)) $id=intval($_REQUEST['id']); $expand=""; function showheader($title = "CAcert.org", $title2 = "") { global $id, $PHP_SELF; $PHP_SELF = &$_SERVER['PHP_SELF']; $expand=""; $tmpid = $id; if($PHP_SELF == "/wot.php") $tmpid = $id + 500; if($PHP_SELF == "/gpg.php") $tmpid = $id + 1000; if($PHP_SELF == "/disputes.php") $tmpid = $id + 1500; if($PHP_SELF == "/advertising.php") $tmpid = $id + 2000; switch($tmpid) { case 1: // Add email address case 2: $expand = " explode('emailacc');"; break; // View email addresses case 3: // Add Client certificate case 4: // Confirm Client Certificate Request case 5: // View Client Certificates case 6: $expand = " explode('clicerts');"; break; // Client Certificate page case 7: // Add new domain case 8: // Confirm Domain page case 9: $expand = " explode('domains');"; break; // View Domains case 10: // Add Server Certifiacte case 11: // Confirm Server Certificate Rewust case 12: // View Server Cerificate case 15: $expand = " explode('servercert');"; break; // Server Certificate page case 13: // ViewEdit case 14: // Change password case 36: // My Alert settings case 41: // Language Settings case 55: // Trainings case 59: // Account History case 507: case 508: // My Listing case 510: // Old points calculation case 515: // New points calculation case 513: $expand = " explode('mydetails');"; break; // My Location case 16: // Add Org Client Cert case 17: // Confirm Org Client Certificate Request case 18: // View Org Client Certificate case 19: $expand = " explode('clientorg');"; break; // Org Cleint Cert page case 20: // Add Org Server Cert case 21: // Conform Org Server Cert Request case 22: // View Org Server Certs case 23: $expand = " explode('serverorg');"; break; // Org Server Certificate page case 24: // Add new Organisation case 25: // View Organisation List case 26: // View Organisation Domains case 27: // Edit Org Account case 28: // View Add Org Domain case 29: // Edit Org Domain case 30: // Delete Org Domain case 31: case 32: // View Org Admin case 33: // Add Org Admin case 34: // Delete Org Admin case 60: // View Organisation Account History case 35: $expand = " explode('orgadmin');"; break; // View Org Admin Organisation List case 42: case 43: case 44: case 45: case 46: case 47: case 48: case 49: case 50: case 54: case 53: $expand = " explode('sysadmin');"; break; case 500: // CAcert Web of Trust case 501: case 502: // Become an Assurer case 503: // CAcert Web of Trust Roles case 504: // TTP case 505: // Assurer Some one case 506: case 509: case 511: case 512: $expand = " explode('WoT');"; break; // Find Assurer case 1000: case 1001: case 1002: // View GPG key case 1003: case 1004: case 1005: case 1006: case 1007: case 1008: case 1009: case 1010: $expand = " explode('gpg');"; break; case 1500: // Dipute case 1501: // Dispute Email Request case 1502: // ViewEdit case 1503: case 1504: case 1505: case 1506: case 1507: case 1508: case 1509: case 1510: $expand = " explode('disputes');"; break; case 2000: case 2001: case 2002: case 2003: case 2004: case 2005: case 2006: case 2007: case 2008: case 2009: $expand = " explode('advertising');"; break; } ?>
echo $_SESSION['_config']['errmsg']; $_SESSION['_config']['errmsg'] = ""; ?>
} ?> } function showfooter() { ?>