Code Context $admin_access= $_SESSION["access_administration_panel"] == 1 ;
}
if ($id=='' || $admin_access!=1) {
$viewFile = '/home/aircroat/public_html/vamcore/app/View/Layouts/default.ctp'
$dataForView = array(
'page' => 'home',
'subpage' => null,
'title_for_layout' => 'Home',
'content_for_layout' => '<h2>Release Notes for CakePHP 2.9.0.</h2>
<p>
<a href="http://cakephp.org/changelogs/2.9.0">Read the changelog</a></p>
<p id="url-rewriting-warning" style="background-color:#e32; color:#fff;">
URL rewriting is not properly configured on your server. 1) <a target="_blank" href="http://book.cakephp.org/2.0/en/installation/url-rewriting.html" style="color:#fff;">Help me configure it</a>
2) <a target="_blank" href="http://book.cakephp.org/2.0/en/development/configuration.html#cakephp-core-configuration" style="color:#fff;">I don't / can't use URL rewriting</a>
</p>
<p>
<span class="notice success">Your version of PHP is 5.2.8 or higher.</span></p>
<p>
<span class="notice success">Your tmp directory is writable.</span></p>
<p>
<span class="notice success">The <em>FileEngine</em> is being used for core caching. To change the config edit APP/Config/core.php</span></p>
<p>
<span class="notice success">Your database configuration file is present.</span></p>
<p>
<span class="notice success">CakePHP is able to connect to the database.</span> </p>
<p>
<span class="notice">DebugKit is not installed. It will help you inspect and debug different aspects of your application.<br/>You can install it from <a href="https://github.com/cakephp/debug_kit/tree/2.2">GitHub</a></span></p>
<h3>Editing this Page</h3>
<p>
To change the content of this page, edit: APP/View/Pages/home.ctp.<br />
To change its layout, edit: APP/View/Layouts/default.ctp.<br />
You can also add some CSS styles for your pages at: APP/webroot/css.</p>
<h3>Getting Started</h3>
<p>
<a href="http://book.cakephp.org/2.0/en/" target="_blank"><strong>New</strong> CakePHP 2.0 Docs</a></p>
<p>
<a href="http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html" target="_blank">The 15 min Blog Tutorial</a></p>
<h3>Official Plugins</h3>
<p>
<ul>
<li>
<a href="https://github.com/cakephp/debug_kit/tree/2.2">DebugKit</a>:
provides a debugging toolbar and enhanced debugging tools for CakePHP applications. </li>
<li>
<a href="https://github.com/cakephp/localized">Localized</a>:
contains various localized validation classes and translations for specific countries </li>
</ul>
</p>
<h3>More about CakePHP</h3>
<p>
CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Active Record, Association Data Mapping, Front Controller and MVC.</p>
<p>
Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.</p>
<ul>
<li><a href="http://cakephp.org">CakePHP</a>
<ul><li>The Rapid Development Framework</li></ul></li>
<li><a href="http://book.cakephp.org">CakePHP Documentation </a>
<ul><li>Your Rapid Development Cookbook</li></ul></li>
<li><a href="http://api.cakephp.org">CakePHP API </a>
<ul><li>Quick API Reference</li></ul></li>
<li><a href="http://bakery.cakephp.org">The Bakery </a>
<ul><li>Everything CakePHP</li></ul></li>
<li><a href="http://plugins.cakephp.org">CakePHP Plugins </a>
<ul><li>A comprehensive list of all CakePHP plugins created by the community</li></ul></li>
<li><a href="http://community.cakephp.org">CakePHP Community Center </a>
<ul><li>Everything related to the CakePHP community in one place</li></ul></li>
<li><a href="https://groups.google.com/group/cake-php">CakePHP Google Group </a>
<ul><li>Community mailing list</li></ul></li>
<li><a href="irc://irc.freenode.net/cakephp">irc.freenode.net #cakephp</a>
<ul><li>Live chat about CakePHP</li></ul></li>
<li><a href="https://github.com/cakephp/">CakePHP Code </a>
<ul><li>Find the CakePHP code on GitHub and contribute to the framework</li></ul></li>
<li><a href="https://github.com/cakephp/cakephp/issues">CakePHP Issues </a>
<ul><li>CakePHP Issues</li></ul></li>
<li><a href="https://github.com/cakephp/cakephp/wiki#roadmaps">CakePHP Roadmaps </a>
<ul><li>CakePHP Roadmaps</li></ul></li>
<li><a href="http://training.cakephp.org">Training </a>
<ul><li>Join a live session and get skilled with the framework</li></ul></li>
<li><a href="http://cakefest.org">CakeFest </a>
<ul><li>Don't miss our annual CakePHP conference</li></ul></li>
<li><a href="http://cakefoundation.org">Cake Software Foundation </a>
<ul><li>Promoting development related to CakePHP</li></ul></li>
</ul>
',
'scripts_for_layout' => ''
)
$page = 'home'
$subpage = null
$title_for_layout = 'Home'
$content_for_layout = '<h2>Release Notes for CakePHP 2.9.0.</h2>
<p>
<a href="http://cakephp.org/changelogs/2.9.0">Read the changelog</a></p>
<p id="url-rewriting-warning" style="background-color:#e32; color:#fff;">
URL rewriting is not properly configured on your server. 1) <a target="_blank" href="http://book.cakephp.org/2.0/en/installation/url-rewriting.html" style="color:#fff;">Help me configure it</a>
2) <a target="_blank" href="http://book.cakephp.org/2.0/en/development/configuration.html#cakephp-core-configuration" style="color:#fff;">I don't / can't use URL rewriting</a>
</p>
<p>
<span class="notice success">Your version of PHP is 5.2.8 or higher.</span></p>
<p>
<span class="notice success">Your tmp directory is writable.</span></p>
<p>
<span class="notice success">The <em>FileEngine</em> is being used for core caching. To change the config edit APP/Config/core.php</span></p>
<p>
<span class="notice success">Your database configuration file is present.</span></p>
<p>
<span class="notice success">CakePHP is able to connect to the database.</span> </p>
<p>
<span class="notice">DebugKit is not installed. It will help you inspect and debug different aspects of your application.<br/>You can install it from <a href="https://github.com/cakephp/debug_kit/tree/2.2">GitHub</a></span></p>
<h3>Editing this Page</h3>
<p>
To change the content of this page, edit: APP/View/Pages/home.ctp.<br />
To change its layout, edit: APP/View/Layouts/default.ctp.<br />
You can also add some CSS styles for your pages at: APP/webroot/css.</p>
<h3>Getting Started</h3>
<p>
<a href="http://book.cakephp.org/2.0/en/" target="_blank"><strong>New</strong> CakePHP 2.0 Docs</a></p>
<p>
<a href="http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html" target="_blank">The 15 min Blog Tutorial</a></p>
<h3>Official Plugins</h3>
<p>
<ul>
<li>
<a href="https://github.com/cakephp/debug_kit/tree/2.2">DebugKit</a>:
provides a debugging toolbar and enhanced debugging tools for CakePHP applications. </li>
<li>
<a href="https://github.com/cakephp/localized">Localized</a>:
contains various localized validation classes and translations for specific countries </li>
</ul>
</p>
<h3>More about CakePHP</h3>
<p>
CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Active Record, Association Data Mapping, Front Controller and MVC.</p>
<p>
Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.</p>
<ul>
<li><a href="http://cakephp.org">CakePHP</a>
<ul><li>The Rapid Development Framework</li></ul></li>
<li><a href="http://book.cakephp.org">CakePHP Documentation </a>
<ul><li>Your Rapid Development Cookbook</li></ul></li>
<li><a href="http://api.cakephp.org">CakePHP API </a>
<ul><li>Quick API Reference</li></ul></li>
<li><a href="http://bakery.cakephp.org">The Bakery </a>
<ul><li>Everything CakePHP</li></ul></li>
<li><a href="http://plugins.cakephp.org">CakePHP Plugins </a>
<ul><li>A comprehensive list of all CakePHP plugins created by the community</li></ul></li>
<li><a href="http://community.cakephp.org">CakePHP Community Center </a>
<ul><li>Everything related to the CakePHP community in one place</li></ul></li>
<li><a href="https://groups.google.com/group/cake-php">CakePHP Google Group </a>
<ul><li>Community mailing list</li></ul></li>
<li><a href="irc://irc.freenode.net/cakephp">irc.freenode.net #cakephp</a>
<ul><li>Live chat about CakePHP</li></ul></li>
<li><a href="https://github.com/cakephp/">CakePHP Code </a>
<ul><li>Find the CakePHP code on GitHub and contribute to the framework</li></ul></li>
<li><a href="https://github.com/cakephp/cakephp/issues">CakePHP Issues </a>
<ul><li>CakePHP Issues</li></ul></li>
<li><a href="https://github.com/cakephp/cakephp/wiki#roadmaps">CakePHP Roadmaps </a>
<ul><li>CakePHP Roadmaps</li></ul></li>
<li><a href="http://training.cakephp.org">Training </a>
<ul><li>Join a live session and get skilled with the framework</li></ul></li>
<li><a href="http://cakefest.org">CakeFest </a>
<ul><li>Don't miss our annual CakePHP conference</li></ul></li>
<li><a href="http://cakefoundation.org">Cake Software Foundation </a>
<ul><li>Promoting development related to CakePHP</li></ul></li>
</ul>
'
$scripts_for_layout = ''
$cakeDescription = 'Virtual Airlines Manager'
$id = 'zzz'
$usertype = 'zzz'
include - APP/View/Layouts/default.ctp, line 51
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
PagesController::display() - APP/Controller/PagesController.php, line 68
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 111