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_category1.php [ 44 ] » include(arguments)
0string(106) "/home/kspa/domains/spa.bsxsystem.pl/public_html/application/views/spaogrodowe/part_shop_product_single.php"39 40 <div class="padding-top" > 41 42 <div name="items_wrapper"> 43 <?php foreach ($results['rows'] as $lp=>$product) : ?> 44 <?php include('part_shop_product_single.php') ; ?> 45 <?php endforeach; ?> 46 </div> 47 48 49 <div class="clearfix"></div> -
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0string(101) "/home/kspa/domains/spa.bsxsystem.pl/public_html/application/views/spaogrodowe/part_shop_category1.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 [ 221 ] » Kohana_View->__toString()
216 $page->set('sklep',$sklep); 217 $page->set('slug',$cat['wslug']); 218 $page->set('this_url', $this_url); 219 $page->title=$this->view->title; 220 $page->path=$this->view->path; 221 echo $page; 222 } 223 224 private function showListBySearch($s,$start=0) 225 { 226 $this->view->title='Szukaj: '.$s; -
APPPATH/classes/Controller/Shop/Core.php [ 177 ] » Controller_Shop_Core->showListByCat()
172 $page->path=$this->view->path; 173 echo $page; 174 } else { 175 $p = sql_row('SELECT id, wslug, pname FROM bs_groups WHERE wslug=:slug AND tblname=\'bs_stockindex\'', array(':slug' => $catSlug)); 176 if (!$p) throw new HTTP_Exception_404(':file does not exist!', array(':file' => $catSlug)); 177 return $this->showListByCat($p, $start); 178 } 179 } 180 181 private function showListByCat($cat,$start=0) 182 { -
APPPATH/classes/Controller/Shop/Core.php [ 44 ] » Controller_Shop_Core->showCategory()
39 else if ($w[0]=='beforeCart') return $this->showBeforeCart($w, $m); 40 else if ($w[0]=='cart') return $this->showCart($w); 41 else if ($w[0]=='checkout') return $this->showCheckout($w); 42 else if ($w[0]=='order') return $this->showOrder($w); 43 else if ($w[0]=='search') return $this->showListBySearch(getGet('s'),(int)$w[1]); 44 else if ($w[0]=='category') return $this->showCategory($w[1],(int)$w[2]); 45 else if ($w[0]=='recalculate') return $this->recalculatePrice(); 46 else { 47 if (is_numeric($w[0]) && !empty($w[1])) $p = sql_row('SELECT id FROM bs_stockindex WHERE id=:slug', array(':slug' => $w[0])); 48 else $p = sql_row('SELECT id FROM bs_stockindex WHERE wslug=:slug', array(':slug' => $w[0])); 49 if ($p) return $this->showProduct($p['id']); -
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Shop_Core->action_detect()
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 }