default.ctp 1.6 KB

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