ИССЛЕДОВАНИЯ РЫНКА

Nav ierakstu
</ul>
<div class="logo">
<a href="/<?php echo isset($currentLang) ? $currentLang['Language']['slug'] : '';?>"> <img src="/assets/images/logo-<?php echo $currentLang['Language']['slug']; ?>.png" alt="logo">
$viewFile = '/home/nniaalv/public_html/View/Elements/header.ctp' $dataForView = array( 'blocks' => array(), 'javascripts' => array( (int) 0 => array( 'data' => '/js/vendor/angular.min.js', 'type' => 'file' ), (int) 1 => array( 'data' => '/js/vendor/ng-infinite-scroll.js', 'type' => 'file' ), (int) 2 => array( 'data' => ' var myApp = angular.module('myApp', ['infinite-scroll']); myApp.controller('myCtrl', function ($scope, Market) { $scope.newsModel = new Market(); }); // Reddit constructor function to encapsulate HTTP and pagination logic myApp.factory('Market', function ($http) { var Market = function () { this.items = []; this.busy = false; this.loading = false; this.empty = false; this.page = 1; }; Market.prototype.nextPage = function () { if (this.busy) return; this.busy = true; this.loading = true; // $http.post(url, {page: this.page}) $http({ method: 'GET', url: window.location.href, params: {page: this.page}, headers: {'Content-Type': 'application/x-www-form-urlencoded'}, }).success(function (data) { this.loading = false; if (data == '') { if (this.page == 1) { this.empty = true; } } else { $('.news-list-ul').append(data); this.page++; this.busy = false; } }.bind(this)); }; return Market; }); ', 'type' => 'inline' ) ), 'csses' => array(), 'partnersLogo' => array(), 'socialButtons' => array(), 'urls' => array( 'home' => 'https://www.niaa.lv/ru/sakums/', 'about' => 'https://www.niaa.lv/ru/niaa/', 'participants' => 'https://www.niaa.lv/ru/uchastniki/', 'news' => 'https://www.niaa.lv/ru/novosti/', 'market' => 'https://www.niaa.lv/ru/issledovaniya-ryinka/', 'projects' => 'https://www.niaa.lv/ru/proektyi/', 'management' => 'https://www.niaa.lv/ru/rukovodstvo/' ), 'pages' => array( 'main' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ) ), 'footer' => array(), 'auth' => array() ), 'printView' => false, 'currentUser' => null, 'showBreadCrumbs' => null, 'seo' => array( 'sufix' => 'NĪAA', 'title' => 'Tirgus pētījumi', 'description' => '', 'keywords' => '', 'footer_text' => '' ), 'languages' => array( (int) 1 => array( 'Language' => array( [maximum depth reached] ) ), (int) 2 => array( 'Language' => array( [maximum depth reached] ) ) ), 'languageId' => '17', 'breadCrumbs' => array( 'page' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ), 'depth' => '1' ), 'bodyClass' => 'news', 'content_for_layout' => '<div id="content"> <div class="container"> <h1>ИССЛЕДОВАНИЯ РЫНКА</h1> <div class="posts" ng-app="myApp"> <div class="row news-row news-list" ng-controller="myCtrl"> <div class="news-list-ul clearfix" infinite-scroll='newsModel.nextPage()' infinite-scroll-disabled='newsModel.busy' infinite-scroll-distance="1"> </div> <div class="ajax-loader" ng-show='newsModel.loading'><img src="/img/ajax-loader.gif" alt="Notiek ielāde ..."></div> <div ng-show='newsModel.empty'>Nav ierakstu</div> </div> </div> </div> </div> ', 'scripts_for_layout' => '', 'title_for_layout' => 'Market' ) $blocks = array() $javascripts = array( (int) 0 => array( 'data' => '/js/vendor/angular.min.js', 'type' => 'file' ), (int) 1 => array( 'data' => '/js/vendor/ng-infinite-scroll.js', 'type' => 'file' ), (int) 2 => array( 'data' => ' var myApp = angular.module('myApp', ['infinite-scroll']); myApp.controller('myCtrl', function ($scope, Market) { $scope.newsModel = new Market(); }); // Reddit constructor function to encapsulate HTTP and pagination logic myApp.factory('Market', function ($http) { var Market = function () { this.items = []; this.busy = false; this.loading = false; this.empty = false; this.page = 1; }; Market.prototype.nextPage = function () { if (this.busy) return; this.busy = true; this.loading = true; // $http.post(url, {page: this.page}) $http({ method: 'GET', url: window.location.href, params: {page: this.page}, headers: {'Content-Type': 'application/x-www-form-urlencoded'}, }).success(function (data) { this.loading = false; if (data == '') { if (this.page == 1) { this.empty = true; } } else { $('.news-list-ul').append(data); this.page++; this.busy = false; } }.bind(this)); }; return Market; }); ', 'type' => 'inline' ) ) $csses = array() $partnersLogo = array() $socialButtons = array() $urls = array( 'home' => 'https://www.niaa.lv/ru/sakums/', 'about' => 'https://www.niaa.lv/ru/niaa/', 'participants' => 'https://www.niaa.lv/ru/uchastniki/', 'news' => 'https://www.niaa.lv/ru/novosti/', 'market' => 'https://www.niaa.lv/ru/issledovaniya-ryinka/', 'projects' => 'https://www.niaa.lv/ru/proektyi/', 'management' => 'https://www.niaa.lv/ru/rukovodstvo/' ) $pages = array( 'main' => array( (int) 0 => array( 'Page' => array( [maximum depth reached] ), 'children' => array([maximum depth reached]) ), (int) 1 => array( 'Page' => array( [maximum depth reached] ), 'children' => array([maximum depth reached]) ), (int) 2 => array( 'Page' => array( [maximum depth reached] ), 'children' => array([maximum depth reached]) ), (int) 3 => array( 'Page' => array( [maximum depth reached] ), 'children' => array([maximum depth reached]) ), (int) 4 => array( 'Page' => array( [maximum depth reached] ), 'children' => array([maximum depth reached]) ), (int) 5 => array( 'Page' => array( [maximum depth reached] ), 'children' => array([maximum depth reached]) ), (int) 6 => array( 'Page' => array( [maximum depth reached] ), 'children' => array([maximum depth reached]) ) ), 'footer' => array(), 'auth' => array() ) $printView = false $currentUser = null $showBreadCrumbs = null $seo = array( 'sufix' => 'NĪAA', 'title' => 'Tirgus pētījumi', 'description' => '', 'keywords' => '', 'footer_text' => '' ) $languages = array( (int) 1 => array( 'Language' => array( 'id' => '1', 'slug' => 'lv', 'name' => 'LV', 'is_visible' => 'y' ) ), (int) 2 => array( 'Language' => array( 'id' => '2', 'slug' => 'en', 'name' => 'EN', 'is_visible' => 'y' ) ) ) $languageId = '17' $breadCrumbs = array( 'page' => array( (int) 0 => array( 'id' => '21', 'title' => 'Sākums', 'module_id' => '1', 'url' => '/ru/sakums/', 'level' => '1', 'parent_id' => '0', 'lang_id' => '3', 'mirror_id' => '1', 'slug' => 'sakums', 'is_deleted' => 'n', 'is_public' => 'y', 'is_visible' => 'y', 'is_admin_visible' => 'y', 'is_main' => 'y', 'has_auth' => 'n', 'is_main_link' => 'y', 'main_seq' => '176', 'is_footer_link' => 'n', 'is_auth_link' => 'n', 'footer_seq' => '1', 'auth_seq' => '1', 'is_product_cat_link' => 'n', 'product_cat_seq' => '1', 'is_name_slug' => 'y', 'created_at' => '1487329664', 'modified_at' => '1487329664', 'show_settings' => 'n', 'is_header_link' => 'y', 'header_seq' => '8', 'seo_title' => 'NNĪAA', 'seo_description' => 'NNIAA', 'seo_keywords' => 'NNIAA', 'seo_footer_text' => 'OKbuve txt', 'color' => null, 'data' => null, 'headerimg' => 'header_img_1.jpg', 'img' => null, 'is_sys' => 'y', 'ofl' => 'y', 'code' => null, 'api_id' => '0', 'old_url' => '/ru/sakums/', 'headerimg_path' => '/file/page/header_img_1.jpg' ), (int) 1 => array( 'id' => '17', 'title' => 'ИССЛЕДОВАНИЯ РЫНКА', 'module_id' => '143', 'url' => '/ru/issledovaniya-ryinka/', 'level' => '1', 'parent_id' => '0', 'lang_id' => '3', 'mirror_id' => '5', 'slug' => 'issledovaniya-ryinka', 'is_deleted' => 'n', 'is_public' => 'y', 'is_visible' => 'n', 'is_admin_visible' => 'y', 'is_main' => 'n', 'has_auth' => 'n', 'is_main_link' => 'y', 'main_seq' => '172', 'is_footer_link' => 'n', 'is_auth_link' => 'n', 'footer_seq' => '1', 'auth_seq' => '1', 'is_product_cat_link' => 'n', 'product_cat_seq' => '1', 'is_name_slug' => 'y', 'created_at' => '1487329664', 'modified_at' => '1487602501', 'show_settings' => 'n', 'is_header_link' => 'n', 'header_seq' => '1', 'seo_title' => 'Tirgus pētījumi', 'seo_description' => null, 'seo_keywords' => null, 'seo_footer_text' => null, 'color' => null, 'data' => null, 'headerimg' => null, 'img' => null, 'is_sys' => 'n', 'ofl' => 'n', 'code' => null, 'api_id' => '0', 'type' => 'child', 'Module' => array( [maximum depth reached] ) ) ), 'depth' => '1' ) $bodyClass = 'news' $content_for_layout = '<div id="content"> <div class="container"> <h1>ИССЛЕДОВАНИЯ РЫНКА</h1> <div class="posts" ng-app="myApp"> <div class="row news-row news-list" ng-controller="myCtrl"> <div class="news-list-ul clearfix" infinite-scroll='newsModel.nextPage()' infinite-scroll-disabled='newsModel.busy' infinite-scroll-distance="1"> </div> <div class="ajax-loader" ng-show='newsModel.loading'><img src="/img/ajax-loader.gif" alt="Notiek ielāde ..."></div> <div ng-show='newsModel.empty'>Nav ierakstu</div> </div> </div> </div> </div> ' $scripts_for_layout = '' $title_for_layout = 'Market' $langIterator = (int) 2 $lang = array( 'Language' => array( 'id' => '2', 'slug' => 'en', 'name' => 'EN', 'is_visible' => 'y' ) ) $langId = (int) 2
include - APP/View/Elements/header.ctp, line 18 View::_evaluate() - APP/cakephp/2.8.0/lib/Cake/View/View.php, line 971 View::_render() - APP/cakephp/2.8.0/lib/Cake/View/View.php, line 933 View::_renderElement() - APP/cakephp/2.8.0/lib/Cake/View/View.php, line 1224 View::element() - APP/cakephp/2.8.0/lib/Cake/View/View.php, line 418 include - APP/View/Layouts/default.ctp, line 62 View::_evaluate() - APP/cakephp/2.8.0/lib/Cake/View/View.php, line 971 View::_render() - APP/cakephp/2.8.0/lib/Cake/View/View.php, line 933 View::renderLayout() - APP/cakephp/2.8.0/lib/Cake/View/View.php, line 546 View::render() - APP/cakephp/2.8.0/lib/Cake/View/View.php, line 481 Controller::render() - APP/cakephp/2.8.0/lib/Cake/Controller/Controller.php, line 963 OutController::render() - APP/Controller/OutController.php, line 119 Dispatcher::_invoke() - APP/cakephp/2.8.0/lib/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - APP/cakephp/2.8.0/lib/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 122