This file is part of CAcert. CAcert has been released under a CAcert license which can be found included with these source files or can be downloaded from the internet from the following address: http://www.cacert.org/src-lic.php CAcert is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more details. */ function showheader($title = "CAcert.org", $title2 = "") { global $id, $PHP_SELF; $locrest = ""; if($_SESSION['profile']['ccid'] > 0) $locrest .= "&ccid=".$_SESSION['profile']['ccid']; if($_SESSION['profile']['regid'] > 0) $locrest .= "®id=".$_SESSION['profile']['regid']; if($_SESSION['profile']['locid'] > 0) $locrest .= "&locid=".$_SESSION['profile']['locid']; $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; switch($tmpid) { case 1: case 2: $expand = " explode('emailacc');"; break; case 3: case 4: case 5: case 6: $expand = " explode('clicerts');"; break; case 7: case 8: case 9: $expand = " explode('domains');"; break; case 10: case 11: case 12: case 15: $expand = " explode('servercert');"; break; case 13: case 14: case 36: case 41: case 507: case 508: $expand = " explode('mydetails');"; break; case 16: case 17: case 18: case 19: $expand = " explode('clientorg');"; break; case 20: case 21: case 22: case 23: $expand = " explode('serverorg');"; break; case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32: case 33: case 34: case 35: $expand = " explode('orgadmin');"; break; case 42: case 43: case 44: case 45: case 46: case 47: case 48: case 49: case 50: $expand = " explode('sysadmin');"; break; case 500: case 501: case 502: case 503: case 504: case 505: case 506: case 509: case 510: case 511: $expand = " explode('WoT');"; break; case 1000: case 1001: case 1002: case 1003: case 1004: case 1005: case 1006: case 1007: case 1008: case 1009: case 1010: $expand = " explode('gpg');"; break; case 1500: case 1501: case 1502: case 1503: case 1504: case 1505: case 1506: case 1507: case 1508: case 1509: case 1510: $expand = " explode('disputes');"; break; } ?> <?=$title?>

| | | | ©2002-2005 by CAcert