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 $hostname, $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; 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 21: 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: $expand = " explode('sysadmin');"; break; case 500: case 501: case 502: case 503: case 504: case 505: case 506: $expand = " explode('WoT');"; break; } ?> ?> <?=$title?>

| | | | ©2004 by CAcert