APPPATH/views/frontend/public/index.php [ 32 ]
27 $images_preload_html = '';
28 foreach($articles as $key => $article) {
29 $image = $article->images->find();
30 $size = $image->uid ? getimagesize($image->image_file(Model_Article_Image::BIG_NAME)) : 0;
31 ?>
32 <div class="article_image width" style="background-image:url('<?php echo $image->url(Model_Article_Image::BIG_NAME); ?>'); z-index:<?php echo 900-$key; ?>;" data-width="<?php echo $size[0]; ?>" data-height="<?php echo $size[1]; ?>">
33 <div class="hor_centered">
34 <div class="ver_centered">
35 <?php
36 echo HTML::anchor('/article/'.$article->url_title, $article->header, array('title' => $article->header, 'class' => 'article_slide_header'));
37 echo HTML::anchor('/article/'.$article->url_title, HTML::__('Read more'), array('title' => $article->header, 'class' => 'article_link'));
-
APPPATH/views/frontend/public/index.php [ 32 ] » Kohana_Core::error_handler()
27 $images_preload_html = ''; 28 foreach($articles as $key => $article) { 29 $image = $article->images->find(); 30 $size = $image->uid ? getimagesize($image->image_file(Model_Article_Image::BIG_NAME)) : 0; 31 ?> 32 <div class="article_image width" style="background-image:url('<?php echo $image->url(Model_Article_Image::BIG_NAME); ?>'); z-index:<?php echo 900-$key; ?>;" data-width="<?php echo $size[0]; ?>" data-height="<?php echo $size[1]; ?>"> 33 <div class="hor_centered"> 34 <div class="ver_centered"> 35 <?php 36 echo HTML::anchor('/article/'.$article->url_title, $article->header, array('title' => $article->header, 'class' => 'article_slide_header')); 37 echo HTML::anchor('/article/'.$article->url_title, HTML::__('Read more'), array('title' => $article->header, 'class' => 'article_link'));
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(71) "/srv/www/plahrestaurant/web/application/views/frontend/public/index.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture()
343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 } // End View
-
MODPATH/avo/classes/View.php [ 15 ] » Kohana_View->render()
10 */ 11 public function __toString() 12 { 13 try 14 { 15 return $this->render(); 16 } 17 catch (Throwable $e) 18 { 19 /** 20 * Display the exception message.
-
APPPATH/views/frontend/layout.php [ 50 ] » View->__toString()
45 <?php } ?> 46 <!--[if lt IE 7]> 47 <p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p> 48 <![endif]--> 49 <div id="main"> 50 <?php echo $content ?> 51 </div> 52 <?php if ($google_api_key) { ?> 53 <script type="text/javascript"> 54 var _gaq = _gaq || []; 55 _gaq.push(['_setAccount', <?php echo json_encode($google_api_key) ?>]);
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(65) "/srv/www/plahrestaurant/web/application/views/frontend/layout.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture()
343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 } // End View
-
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49
-
MODPATH/avo/classes/AVO/Controller.php [ 146 ] » Kohana_Controller_Template->after()
141 142 143 public function after() 144 { 145 $this->dispatch_ajax_controller_request(); 146 parent::after(); 147 } 148 149 150 /** 151 * collects a gargbage produced by the application
-
APPPATH/classes/Controller/Public.php [ 24 ] » AVO_Controller->after()
19 /** 20 * Post-process some stuff 21 * @see AVO_Controller::after() 22 */ 23 public function after() { 24 parent::after(); 25 } 26 27 28 /** 29 * Intro page action handler
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Public->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke()
92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request()
109 $orig_response = $response = Response::factory(); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute()
985 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 986 ':uri' => $this->_uri, 987 )); 988 } 989 990 return $this->_client->execute($this); 991 } 992 993 /** 994 * Returns whether this request is the initial request Kohana received. 995 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 118 ] » Kohana_Request->execute()
113 /** 114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 115 * If no source is specified, the URI will be automatically detected. 116 */ 117 echo Request::factory(TRUE, array(), FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }