| [ PHPXref.com ] | [ Generated: Sun Jul 20 20:18:29 2008 ] | [ Siteframe 5.0.2 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 // $Id: error.php,v 1.7 2005/12/11 16:58:11 glen Exp $ 3 // Copyright (c)2005, Glen Campbell. All rights reserved. 4 5 require_once 'siteframe.inc'; 6 7 $code = $_GET['code']; 8 9 switch($code) 10 { 11 case 401: 12 break; 13 case 403: 14 break; 15 case 404: 16 header('HTTP/1.0 404 Not Found'); 17 break; 18 case 500: 19 break; 20 } 21 22 $PAGE->assign('page_title', lang("page_title_error_$code")); 23 $PAGE->assign('error_help', lang("help_error_$code")); 24 $PAGE->assign('error_code', $code); 25 $PAGE->display(); 26 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |