Advertisement
Guest User

CakePHP registration controller

a guest
Sep 28th, 2010
597
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.07 KB | None | 0 0
  1. <?php
  2. /**
  3.  *
  4.  * PHP versions 4 and 5
  5.  *
  6.  * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  7.  * Copyright 2005-2009, 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-2009, Cake Software Foundation, Inc. (http://cakefoundation.org)
  13.  * @link          http://cakephp.org CakePHP(tm) Project
  14.  * @package       cake
  15.  * @subpackage    cake.cake.console.libs.templates.skel.views.layouts
  16.  * @since         CakePHP(tm) v 0.10.0.1076
  17.  * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
  18.  */
  19. ?>
  20. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  21. <html xmlns="http://www.w3.org/1999/xhtml">
  22. <head>
  23.     <?php echo $this->Html->charset(); ?>
  24.     <title>
  25.         <?php __('CakePHP: the rapid development php framework:'); ?>
  26.         <?php echo $title_for_layout; ?>
  27.     </title>
  28.     <?php
  29.         echo $this->Html->meta('icon');
  30.  
  31.         echo $this->Html->css('cake.generic');
  32.        
  33.         echo $this->Html->script('prototype');
  34.        
  35.         echo $this->Html->script('scriptaculous');
  36.  
  37.         echo $scripts_for_layout;
  38.     ?>
  39. </head>
  40. <body>
  41. <div id="container">
  42.  
  43.         <div id="top_menu">
  44.             <div class ='nav' >
  45.                 <ul id='left'>
  46.                     <li><?php echo $this->Html->link('Home', '/'); ?></li>
  47.                     <li><?php echo $this->Html->link('Data', '/registrations/index'); ?></li>
  48.                     <li><?php echo $this->Html->link('Form', '/registrations/form'); ?></li>
  49.  
  50.                 </ul>
  51.             </div> 
  52.         </div>
  53.        
  54.        
  55.         <div id="content">
  56.  
  57.             <?php echo $this->Session->flash(); ?>
  58.  
  59.             <?php echo $content_for_layout; ?>
  60.  
  61.         </div>
  62.         <div id="footer">
  63.             <?php echo $this->Html->link(
  64.                     $this->Html->image('cake.power.gif', array('alt'=> __('CakePHP: the rapid development php framework', true), 'border' => '0')),
  65.                     'http://www.cakephp.org/',
  66.                     array('target' => '_blank', 'escape' => false)
  67.                 );
  68.             ?>
  69.         </div>
  70.     </div>
  71.     <?php echo $this->element('sql_dump'); ?>
  72. </body>
  73. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement