PageRenderTime 40ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/www/application/views/kohana_error_page.php

https://github.com/chardcastle/mysite
PHP | 26 lines | 26 code | 0 blank | 0 comment | 2 complexity | 6e2bb3775206972db3accc23d89d7e78 MD5 | raw file
  1. <?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
  2. <!DOCTYPE html>
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <title><?php echo $error ?></title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  7. <meta name="keywords" content="<?php echo kohana::config('config.keywords');?>"/>
  8. <meta name="description" content="<?php echo kohana::config('config.description');?>"/>
  9. <link rel='stylesheet' href='/ui/css/screen.css' type='text/css' media='Screen' />
  10. <link rel='stylesheet' href='/ui/css/handheld.css' type='text/css' media='handheld' />
  11. <link rel='shortcut icon' href='/ui/images/favicon.ico' />
  12. </head>
  13. <body>
  14. <div id="globalOuter">
  15. <div id="header">
  16. <a href="/"><img src="/ui/images/title.jpg" alt="Chris Hardcastle"/></a>
  17. </div>
  18. <h3 id="app-error"><?php echo strtoupper(html::specialchars($error)) ?></h3>
  19. <p><?php echo $description; ?></p>
  20. <?php if($error == "Page Not Found"){ ?>
  21. <p>Why don't you try some place else? Perhaps the <a href="/">homepage</a> or search the internet using <a href="http://bing.com">Bing</a>?</p>
  22. <?php } ?>
  23. </div>
  24. </body>
  25. </html>