APPPATH/classes/Model/BSX/Core.php [ 684 ]
679 if (!empty($_SESSION['bsxcloud']['nftpurl'])) $url=$_SESSION['bsxcloud']['nftpurl'];
680 if ($url!='')
681 {
682 $img=$url.$table . DIRECTORY_SEPARATOR . $id . DIRECTORY_SEPARATOR . $name;
683 }
684 } else if ($table=='' && $id=='' && (substr($name,0,4)=='http' || substr($name,0,1)=='/')) {
685 $img=$name;
686 } else
687 {
688 $img=Model_BSX_Core::$bsx_cfg['passets'].DIRECTORY_SEPARATOR.'img'.DIRECTORY_SEPARATOR.'empty.jpg';
689 }
-
{PHP internal call} » Kohana_Core::error_handler()
-
APPPATH/classes/Model/BSX/Core.php [ 684 ] » substr()
679 if (!empty($_SESSION['bsxcloud']['nftpurl'])) $url=$_SESSION['bsxcloud']['nftpurl']; 680 if ($url!='') 681 { 682 $img=$url.$table . DIRECTORY_SEPARATOR . $id . DIRECTORY_SEPARATOR . $name; 683 } 684 } else if ($table=='' && $id=='' && (substr($name,0,4)=='http' || substr($name,0,1)=='/')) { 685 $img=$name; 686 } else 687 { 688 $img=Model_BSX_Core::$bsx_cfg['passets'].DIRECTORY_SEPARATOR.'img'.DIRECTORY_SEPARATOR.'empty.jpg'; 689 } -
APPPATH/views/spaogrodowe/part_shop_product_single.php [ 6 ] » Model_BSX_Core::cache_img()
1 2 <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12 <?php if ($lp==0) echo 'first'; ?>"> 3 <div class="shop_item product-single" > 4 <a href="<?php echo $product['url']; ?>"> 5 <div class="entryx" style="height:260px; display: flex; justify-content: center;"> 6 <img src="<?php echo Model_BSX_Core::cache_img($product['ptable'],$product['pid'],$product['apname'],250,250,105); ?>" alt="" class="img-responsive" style="max-height:250px; "> 7 </div><!-- end entry --> 8 </a> 9 <div class="shop_desc" style="height: 110px;"> 10 <div class="shop_title" style="height:50px; text-align: center;"> 11 <a href="<?php echo $product['url']; ?>" title="<?php echo $product['pname']; ?>" > -
APPPATH/views/spaogrodowe/part_shop_home1.php [ 66 ] » include(arguments)
0string(106) "/home/kspa/domains/spa.bsxsystem.pl/public_html/application/views/spaogrodowe/part_shop_product_single.php"61 <p class="lead">Zachęcamy do zakupu towarów w atrakcyjnych cenach</p> 62 </div><!-- end general title --> 63 64 <div class="shop_wrapper padding-top"> 65 <?php $products=$sklep->getProductsListFromCategory('last',null,'',0,12,false);; foreach ($products['rows'] as $lp=>$product) : ?> 66 <?php include('part_shop_product_single.php'); ?> 67 <?php endforeach; ?> 68 </div><!-- end shop-wrapper --> 69 70 <div class="clearfix"></div> 71 -
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0string(97) "/home/kspa/domains/spa.bsxsystem.pl/public_html/application/views/spaogrodowe/part_shop_home1.php"57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Throwable $e) 65 { 66 // Delete the output buffer 67 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture()
354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 } -
SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()
231 */ 232 public function __toString() 233 { 234 try 235 { 236 return $this->render(); 237 } 238 catch (Throwable $e) 239 { 240 /** 241 * Display the exception message. -
APPPATH/classes/Controller/Shop/Core.php [ 77 ] » Kohana_View->__toString()
72 73 $page=Model_BSX_Core::create_view($this,'part_shop_home1'); 74 $page->set('results',$results); 75 $page->set('sklep',$sklep); 76 77 echo $page; 78 } 79 80 private function showProduct($id) 81 { 82 $sklep=Model_BSX_Shop::init(); -
APPPATH/classes/Controller/Shop/Core.php [ 28 ] » Controller_Shop_Core->showHome()
23 24 25 //---strona główna sklepu--- 26 public function action_index() 27 { 28 return $this->showHome(0); 29 } 30 31 public function action_detect() 32 { 33 $m = $this->request->param('modrewrite'); -
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Shop_Core->action_index()
79 array(':uri' => $this->request->uri()) 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response -
{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(array('_protocol' => $request->protocol())); 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 [ 993 ] » Kohana_Request_Client->execute()
988 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 989 ':uri' => $this->_uri, 990 )); 991 } 992 993 return $this->_client->execute($this); 994 } 995 996 /** 997 * Returns whether this request is the initial request Kohana received. 998 * 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 }