Base for a static organization website

error.ctp 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. /**
  3. * @link http://cakephp.org CakePHP(tm) Project
  4. * @package app.View.Layouts
  5. * @since CakePHP(tm) v 0.10.0.1076
  6. */
  7. $cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework');
  8. ?>
  9. <!DOCTYPE html>
  10. <html>
  11. <head>
  12. <?php echo $this->Html->charset(); ?>
  13. <title>
  14. <?php echo $cakeDescription ?>:
  15. <?php echo $this->fetch('title'); ?>
  16. </title>
  17. <?php
  18. echo $this->Html->meta('icon');
  19. echo $this->Html->css('cake.generic');
  20. echo $this->fetch('meta');
  21. echo $this->fetch('css');
  22. echo $this->fetch('script');
  23. ?>
  24. </head>
  25. <body>
  26. <div id="container">
  27. <div id="header">
  28. <h1><?php echo $this->Html->link($cakeDescription, 'http://cakephp.org'); ?></h1>
  29. </div>
  30. <div id="content">
  31. <?php echo $this->Session->flash(); ?>
  32. <?php echo $this->fetch('content'); ?>
  33. </div>
  34. <div id="footer">
  35. <?php echo $this->Html->link(
  36. $this->Html->image('cake.power.gif', array('alt' => $cakeDescription, 'border' => '0')),
  37. 'http://www.cakephp.org/',
  38. array('target' => '_blank', 'escape' => false)
  39. );
  40. ?>
  41. </div>
  42. </div>
  43. <?php echo $this->element('sql_dump'); ?>
  44. </body>
  45. </html>