Base for a static organization website

error.ctp 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. /**
  3. * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  4. * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
  5. *
  6. * Licensed under The MIT License
  7. * For full copyright and license information, please see the LICENSE.txt
  8. * Redistributions of files must retain the above copyright notice.
  9. *
  10. * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
  11. * @link http://cakephp.org CakePHP(tm) Project
  12. * @package app.View.Layouts
  13. * @since CakePHP(tm) v 0.10.0.1076
  14. * @license http://www.opensource.org/licenses/mit-license.php MIT License
  15. */
  16. $cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework');
  17. ?>
  18. <!DOCTYPE html>
  19. <html>
  20. <head>
  21. <?php echo $this->Html->charset(); ?>
  22. <title>
  23. <?php echo $cakeDescription ?>:
  24. <?php echo $this->fetch('title'); ?>
  25. </title>
  26. <?php
  27. echo $this->Html->meta('icon');
  28. echo $this->Html->css('cake.generic');
  29. echo $this->fetch('meta');
  30. echo $this->fetch('css');
  31. echo $this->fetch('script');
  32. ?>
  33. </head>
  34. <body>
  35. <div id="container">
  36. <div id="header">
  37. <h1><?php echo $this->Html->link($cakeDescription, 'http://cakephp.org'); ?></h1>
  38. </div>
  39. <div id="content">
  40. <?php echo $this->Session->flash(); ?>
  41. <?php echo $this->fetch('content'); ?>
  42. </div>
  43. <div id="footer">
  44. <?php echo $this->Html->link(
  45. $this->Html->image('cake.power.gif', array('alt' => $cakeDescription, 'border' => '0')),
  46. 'http://www.cakephp.org/',
  47. array('target' => '_blank', 'escape' => false)
  48. );
  49. ?>
  50. </div>
  51. </div>
  52. <?php echo $this->element('sql_dump'); ?>
  53. </body>
  54. </html>