DOCROOT/application/views/templates/rosneft/action/action_rule.php [ 8 ]
3 <a href="/" class="home-page-link"> 4 <svg xmlns="http://www.w3.org/2000/svg" width="7" height="13" fill="none" viewBox="0 0 7 13"><path stroke="#fff" stroke-linecap="round" stroke-width="1.8" d="M6 1 1.734 5.693a1.2 1.2 0 0 0 0 1.614L6 12"></path></svg> 5 </a> 6 Правила акции</h1> 7 <div class="inner-page-wrapper br-default"> 8 <iframe src="/static/libs/pdf.js-gh-pages/web/viewer.html?file=<?= URL::base('https'); ?>files/a<?= $action['action_id']; ?>/rules.pdf?v=<?= filemtime($_SERVER['DOCUMENT_ROOT'].'/files/a'.$action['action_id'].'/rules.pdf');?>" class="iframe-wrapper"></iframe> 9 </div>10 </div>
-
{PHP internal call} » Kohana_Core::error_handler ( arguments )
0 2 1 filemtime(): stat failed for /var/www/promo/files/a259/rules.pdf 2 /var/www/promo/application/views/templates/rosneft/action/action_rule.php 3 8 4 array(17) { ["kohana_view_filename"] => string(58) "application/views/templates/rosneft/action/action_rule.php" ["kohana_view_data"] => array(0) { } ["template_name"] => &string(5) "bordo" ["style_name"] => &string(7) "rosneft" ["action"] => &array(106) { ["action_id"] => string(3) "259" ["enabled"] => string(1) "1" ["mobile_paid"] => string(1) "0" ["mobile_active"] => string(1) "0" ["mobile"] => string(1) "0" ["referral"] => string(1) "1" ["mobile_count_point_price"] => string(2) "15" ["points_null_check"] => string(1) "0" ["mobile_min_price_check"] => string(1) "0" ["mobile_min_hours_check"] => string(1) "0" ["mobile_min_hours_check_delay"] => string(1) "0" ["mobile_max_hours_check"] => string(1) "0" ["mobile_add_points_check"] => string(1) "0" ["date_check"] => string(1) "0" ["start_date_check_day"] => string(1) "0" ["finish_date_check_day"] => string(1) "0" ["mobile_prize_text"] => string(0) "" ["mobile_chance_text"] => string(0) "" ["mobile_participation_text"] => string(0) "" ["mobile_win_desc"] => string(0) "" ["mobile_rule_text"] => string(0) "" ["enabled_start"] => string(10) "1744059600" ["enabled_end"] => string(10) "1744923599" ["draw_start"] => string(10) "1744059600" ["draw_end"] => string(10) "1744923599" ["vouchers_start"] => string(10) "1744059600" ["vouchers_end"] => string(10) "1744923599" ["date_start"] => NULL ["title"] => string(13) "Тест_ФН" ["description"] => string(27) "Чек 200 л. = 2 игры" ["users_count"] => string(3) "110" ["requests"] => string(1) "0" ["winners"] => string(1) "0" ["domain"] => string(7) "cl-q.ru" ["main"] => string(1) "0" ["parent"] => string(2) "-1" ["child"] => string(2) "-1" ["max_days"] => string(2) "56" ["max_dots"] => string(2) "25" ["type"] => string(1) "6" ["prize_veiw"] => string(1) "1" ["tbl_postfix"] => string(1) "1" ["style"] => string(7) "rosneft" ["template"] => string(5) "bordo" ["photo"] => string(1) "0" ["photo_href"] => NULL ["prize_href"] => NULL ["team_play"] => string(1) "0" ["coupon_team"] => string(1) "0" ["organizator_description"] => string(175) "Организатором акции является ООО « тест»,<br /> ОГРН тест, <br />ИНН/КПП: тест / тест,<br /> Адрес: тест" ["phone"] => string(11) "000-000-000" ["email"] => NULL ["site_link"] => NULL ["description_small"] => string(53) "для 1 участия нужен чек от 100 л" ["sequence_name"] => string(1) "1" ["block_title_1"] => string(34) "заправиться на АЗС" ["block_text_1_1"] => string(282) "<ul> <li>дизельным топливом на сумму от 100 и более литров - при покупке по топливной карте начисляются очки для получения призов или подарочных купонов. </ul>" ["block_title_2"] => string(41) "зарегистрировать чеки" ["block_text_2_1"] => string(518) "<ul> <li>Загрузите фото чека хорошего качества в разделе "Регистрация чека" и сохраните чек после полного заполнения требуемых данных в форме регистрации чека. <li>За регистрацию чеков на сумму 5000 рублей (100 л по топливной карте) дается право на одно участие в розыгрыше призов акции.</li> </ul>" ["block_title_3"] => string(40) "выиграть много призов" ["block_text_3_1"] => string(475) "<ul> <li>Для выигрыша приза зайдите в раздел "Розыгрыш призов", который будет доступен с ТЕСТ по ТЕСТ, заполните все поля и нажмите кнопку "Принять участие". <li>На e-mail, указанный при регистрации в розыгрыше, будет направлен сертификат победителя для получения приза." ["block_monitor_1"] => string(582) "<ul> <li>Общий срок проведения акции ТЕСТ г.</li> <li>Период регистрации чеков для участия: ТЕСТ г.</li> <li>Срок приема заявок на участие в акции ТЕСТ г.</li> <li>Срок определения победителей акции с ТЕСТ г.</li> <li>Срок выдачи призов победителям акции с ТЕСТ г.</li> <li>Акция проводится на АЗС «ТЕСТ», расположенных на территории ТЕСТ.</li> </ul>" ["block_footer_1"] => string(268) "Победитель, выигравший топливный приз, может получить его, выбрав из всех видов топлива, реализуемых на АЗС, которую он выбрал для получения приза." ["block_footer_2"] => string(266) "Получение призов акции ограничено сроком 23:59 часов 14 марта 2223 г. Победитель, не получивший на АЗС акции свой приз в этот срок, теряет на него право." ["block_footer_3"] => string(211) "Настоящий сайт не содержит элементов рекламы и является исключительно средством информирования участников акции." ["block_footer_4"] => string(259) "Организатор акции запрещает третьим лицам использование этого сайта акции для рекламы в сети интернет, в полном объеме или в любой его части." ["header_type"] => string(1) "1" ["certificate_text_winners"] => NULL ["text_photo"] => NULL ["certificate-email"] => string(0) "" ["guid"] => string(36) "C2BF335B-DDDF-4ABD-866D-9E97D570F704" ["date_update"] => string(10) "1744713679" ["used_koef"] => NULL ["mobile_verify_geo"] => string(1) "0" ["send_mail_winners"] => string(1) "0" ["deferred"] => string(1) "0" ["prize"] => string(1) "1" ["finish"] => NULL ["brands_group_id"] => string(1) "0" ["fiscal"] => string(1) "1" ["general_vouchers"] => string(1) "0" ["point_auth"] => string(1) "0" ["crm"] => string(1) "1" ["coupon_description"] => string(41) "Чек 100 литров = 10 литров" ["coupon_block_footer_1"] => string(268) "Победитель, выигравший топливный приз, может получить его, выбрав из всех видов топлива, реализуемых на АЗС, которую он выбрал для получения приза." ["coupon_block_footer_2"] => string(0) "" ["coupon_block_footer_3"] => string(0) "" ["coupon_block_footer_4"] => string(0) "" ["referral_description"] => string(25) "Описание игры" ["referral_block_title_1"] => string(28) "Участие в акции" ["referral_block_text_1"] => string(39) "Участие в акции текст" ["referral_block_title_2"] => string(30) "Участие в акции 2" ["referral_block_text_2"] => string(41) "Участие в акции текст 2" ["referral_block_title_3"] => string(30) "Участие в акции 3" ["referral_block_text_3"] => string(41) "Участие в акции текст 3" ["referral_percent"] => string(2) "20" ["referral_prize_description"] => string(27) "Конкурс призов" ["referral_block_footer_1"] => string(38) "Конкурс призов текст" ["referral_block_footer_2"] => string(40) "Конкурс призов текст 2" ["referral_block_footer_3"] => string(40) "Конкурс призов текст 3" ["referral_block_footer_4"] => string(40) "Конкурс призов текст 4" ["play_company"] => NULL ["liters_vouchers"] => string(1) "0" ["code"] => string(8) "1C6D082B" ["manager_id_point"] => string(1) "0" ["cert_email"] => string(1) "0" } ["points"] => &array(1) { ["points"] => int(0) } ["request_fields"] => &array(6) { ["name"] => array(17) { ["field_id"] => string(1) "1" ["action_id"] => string(3) "259" ["required"] => string(1) "1" ["order"] => string(2) "40" ["draw_type"] => string(5) "prize" ["title"] => string(6) "ФИО" ["enabled"] => string(1) "1" ["type"] => string(6) "string" ["count"] => string(1) "0" ["name"] => string(4) "name" ["entity_name"] => string(16) "users_fields_set" ["system"] => string(1) "0" ["fields_order"] => string(1) "0" ["field_name"] => string(4) "name" ["field_title"] => string(6) "ФИО" ["field_order"] => string(1) "0" ["field_count"] => string(1) "0" } ["phone"] => array(17) { ["field_id"] => string(1) "2" ["action_id"] => string(3) "259" ["required"] => string(1) "1" ["order"] => string(2) "50" ["draw_type"] => string(5) "prize" ["title"] => string(35) "Контактный телефон" ["enabled"] => string(1) "1" ["type"] => string(6) "string" ["count"] => string(1) "0" ["name"] => string(5) "phone" ["entity_name"] => string(16) "users_fields_set" ["system"] => string(1) "0" ["fields_order"] => string(1) "0" ["field_name"] => string(5) "phone" ["field_title"] => string(35) "Контактный телефон" ["field_order"] => string(1) "0" ["field_count"] => string(1) "0" } ["city"] => array(17) { ["field_id"] => string(1) "6" ["action_id"] => string(3) "259" ["required"] => string(1) "1" ["order"] => NULL ["draw_type"] => string(5) "prize" ["title"] => string(40) "Город получения приза" ["enabled"] => string(1) "1" ["type"] => string(6) "string" ["count"] => string(1) "0" ["name"] => string(4) "city" ["entity_name"] => string(16) "users_fields_set" ["system"] => string(1) "1" ["fields_order"] => string(1) "0" ["field_name"] => string(4) "city" ["field_title"] => string(40) "Город получения приза" ["field_order"] => string(1) "0" ["field_count"] => string(1) "0" } ["fuel_type"] => array(17) { ["field_id"] => string(2) "11" ["action_id"] => string(3) "259" ["required"] => string(1) "1" ["order"] => NULL ["draw_type"] => string(5) "prize" ["title"] => string(25) "Топливо приза" ["enabled"] => string(1) "1" ["type"] => string(6) "string" ["count"] => string(1) "0" ["name"] => string(9) "fuel_type" ["entity_name"] => string(16) "users_fields_set" ["system"] => string(1) "0" ["fields_order"] => string(1) "0" ["field_name"] => string(9) "fuel_type" ["field_title"] => string(25) "Топливо приза" ["field_order"] => string(1) "0" ["field_count"] => string(1) "0" } ["f1"] => array(18) { ["field_id"] => string(2) "12" ["action_id"] => string(3) "259" ["required"] => string(1) "1" ["order"] => NULL ["draw_type"] => string(5) "prize" ["title"] => string(39) "Дополнительное поле 1" ["enabled"] => string(1) "1" ["type"] => string(4) "list" ["count"] => string(1) "0" ["name"] => string(2) "f1" ["entity_name"] => string(16) "users_fields_set" ["system"] => string(1) "0" ["fields_order"] => string(1) "0" ["field_name"] => string(2) "f1" ["field_title"] => string(25) "Наличие карты" ["field_order"] => string(1) "0" ["field_count"] => string(1) "0" ["list"] => array(3) { [0] => string(25) "Наличие карты" ["есть"] => string(8) "есть" ["нет"] => string(6) "нет" } } ["office_id"] => array(17) { ["field_id"] => string(2) "32" ["action_id"] => string(3) "259" ["required"] => string(1) "1" ["order"] => NULL ["draw_type"] => string(5) "prize" ["title"] => string(23) "Точка выдачи" ["enabled"] => string(1) "1" ["type"] => string(6) "string" ["count"] => string(1) "0" ["name"] => string(9) "office_id" ["entity_name"] => string(6) "office" ["system"] => string(1) "1" ["fields_order"] => string(1) "0" ["field_name"] => string(9) "office_id" ["field_title"] => string(23) "Точка выдачи" ["field_order"] => string(1) "0" ["field_count"] => string(1) "0" } } ["cities"] => &array(2) { [789] => string(17) "г.Воронеж" [937] => string(13) "г.Лиски" } ["offices"] => &array(3) { [0] => array(10) { ["office_id"] => string(5) "25689" ["address"] => string(43) "Острогожская, 144, справа" ["action_id"] => string(3) "259" ["brands_dots_id"] => string(4) "2536" ["city_id"] => string(3) "789" ["city"] => string(17) "г.Воронеж" ["name"] => string(12) "АЗС № 1" ["x"] => string(9) "39.175684" ["y"] => string(9) "51.619758" ["guid"] => string(36) "E59E9FE8-A260-49B8-B93A-3FEAA5CB86CB" } [1] => array(10) { ["office_id"] => string(5) "25690" ["address"] => string(36) "ул. 40 лет Октября, 1 а" ["action_id"] => string(3) "259" ["brands_dots_id"] => string(4) "2585" ["city_id"] => string(3) "937" ["city"] => string(13) "г.Лиски" ["name"] => string(13) "АЗС № 10" ["x"] => string(9) "39.527904" ["y"] => string(9) "50.975436" ["guid"] => string(36) "5A3A52B7-DE10-4F3D-A159-1CE90FDCA1D9" } [2] => array(10) { ["office_id"] => string(5) "25691" ["address"] => string(27) "ул. 9 января 245,а" ["action_id"] => string(3) "259" ["brands_dots_id"] => string(4) "2610" ["city_id"] => string(3) "789" ["city"] => string(17) "г.Воронеж" ["name"] => string(14) "АЗС № 100" ["x"] => string(9) "39.116483" ["y"] => string(9) "51.680286" ["guid"] => string(36) "84B20676-3519-4355-B089-703E916BA932" } } ["refer"] => &NULL ["faqs"] => &array(6) { [0] => array(5) { ["id"] => string(1) "6" ["name"] => string(18) "Заголовок" ["sort"] => string(3) "150" ["text"] => string(31) "Описание вопроса" ["action_id"] => string(3) "259" } [1] => array(5) { ["id"] => string(1) "9" ["name"] => string(14) "Вопрос 3" ["sort"] => string(3) "200" ["text"] => string(59) "Ответ на третий вопрос для акции" ["action_id"] => string(3) "259" } [2] => array(5) { ["id"] => string(1) "8" ["name"] => string(14) "Вопрос 2" ["sort"] => string(3) "300" ["text"] => string(30) "Ответ на вопрос 2" ["action_id"] => string(3) "259" } [3] => array(5) { ["id"] => string(2) "10" ["name"] => string(72) "Когда заканчивается регистрация чеков?" ["sort"] => string(3) "500" ["text"] => string(687) "<p>Регистрация чеков для участия в розыгрыше призов заканчивается в 23.59 московского времени 30 сентября 2023 года - после этого момента кнопка исчезнет и Вы не сможете зарегистрировать чек.</p> <p>Регистрация чеков для участия в розыгрыше призов заканчивается в 23.59 московского времени 30 сентября 2023 года - после этого момента кнопка исчезнет и Вы не сможете зарегистрировать чек.</p>" ["action_id"] => string(3) "259" } [4] => array(5) { ["id"] => string(2) "11" ["name"] => string(68) "Когда заканчивается Розыгрыш призов?" ["sort"] => string(3) "600" ["text"] => string(242) "<p>Регистрация участий в розыгрыше призов заканчивается в 23.59 московского времени 3 октября 2023 года - в этот момент кнопка исчезнет.</p>" ["action_id"] => string(3) "259" } [5] => array(5) { ["id"] => string(2) "12" ["name"] => string(72) "Как принять участие в розыгрыше призов?" ["sort"] => string(3) "700" ["text"] => string(1210) "<p> - приобрести дизельное топливо согласно Правилам акции с 20 июля 2023 года до 30 сентября 2023 года;<br> - зарегистрироваться на сайте https://dt-promo.ru с указанием необходимых данных, ознакомившись и согласившись с правилами акции;<br> - зарегистрировать на сайте https://dt-promo.ru чеки за топливо в разделе «Регистрация чеков»;<br> - получить подтверждение успешной проверки зарегистрированных чеков, которое отображается в окне «История игры»;<br> - зарегистрировать в окне «Розыгрыш призов» сайта заявку на участие в розыгрыше призов, заполнив все поля регистрационной формы, нажать кнопку «Принять участие» (ОКНО ДОСТУПНО НА САЙТЕ С 1 АВГУСТА ДО 3 ОКТЯБРЯ 2023г.). </p>" ["action_id"] => string(3) "259" } } ["slides"] => &array(1) { [0] => array(7) { ["image_id"] => string(3) "336" ["action_id"] => string(3) "259" ["type"] => string(1) "0" ["image"] => string(16) "7z96bxzk55ad.jpg" ["order"] => string(1) "1" ["speed"] => string(1) "0" ["image_mobile"] => NULL } } ["parallax"] => &array(0) { } ["prizes"] => &array(2) { [815] => array(21) { ["prize_id"] => string(3) "815" ["action_id"] => string(3) "259" ["enabled"] => string(1) "1" ["points"] => string(1) "0" ["refer"] => string(1) "0" ["count_points"] => string(2) "20" ["pay_prize"] => string(1) "0" ["name"] => string(30) "топливо 20 литров" ["description"] => string(91) "Подарочный купон на получение топлива на 20 литров" ["detail_description"] => string(329) "Подарочный купон на получение топлива на 20 литров. Выдается на любой АЗС, участвующей в акции. Для получения необходимо показать оператору АЗС штрих-код на сертификате победителя." ["prize_level"] => string(1) "1" ["multiplicity"] => string(1) "1" ["offset"] => string(1) "2" ["count"] => string(2) "10" ["last_level"] => string(1) "0" ["image"] => string(16) "buq9kq7gt5fx.jpg" ["guid"] => string(36) "6ED560B5-B1CF-4F1E-B0C8-4F293D37E5B5" ["cod_img"] => NULL ["cod_mail_type"] => string(1) "1" ["type_users"] => string(1) "2" ["return_points"] => string(1) "0" } [816] => array(21) { ["prize_id"] => string(3) "816" ["action_id"] => string(3) "259" ["enabled"] => string(1) "1" ["points"] => string(1) "0" ["refer"] => string(1) "0" ["count_points"] => string(1) "0" ["pay_prize"] => string(1) "0" ["name"] => string(30) "топливо 10 литров" ["description"] => string(91) "Подарочный купон на получение топлива на 10 литров" ["detail_description"] => string(329) "Подарочный купон на получение топлива на 10 литров. Выдается на любой АЗС, участвующей в акции. Для получения необходимо показать оператору АЗС штрих-код на сертификате победителя." ["prize_level"] => string(1) "1" ["multiplicity"] => string(1) "1" ["offset"] => string(1) "3" ["count"] => string(3) "100" ["last_level"] => string(1) "0" ["image"] => string(16) "2bzi8ngcpn4t.jpg" ["guid"] => string(36) "2D54A316-AB72-4991-80FD-7D427109329B" ["cod_img"] => NULL ["cod_mail_type"] => string(1) "1" ["type_users"] => string(1) "0" ["return_points"] => string(2) "10" } } ["bonus_prizes"] => &array(1) { [0] => array(14) { ["name"] => string(30) "топливо 20 литров" ["guid"] => string(36) "227707A6-7986-40A0-931D-9220F1D74C94" ["description"] => string(91) "Подарочный купон на получение топлива на 20 литров" ["detail_description"] => string(329) "Подарочный купон на получение топлива на 20 литров. Выдается на любой АЗС, участвующей в акции. Для получения необходимо показать оператору АЗС штрих-код на сертификате победителя." ["image"] => string(16) "saqmwq9fuph6.jpg" ["cod_img"] => NULL ["count_points"] => string(2) "20" ["count"] => string(2) "20" ["prize_id"] => string(3) "814" ["pay_prize"] => string(1) "0" ["type_users"] => string(1) "0" ["points"] => string(1) "1" ["count_use"] => string(1) "0" ["count_no_use"] => int(20) } } ["min_points"] => &string(4) "1000" ["page"] => &array(7) { ["type"] => string(10) "rules_page" ["page_tags"] => array(0) { } ["title"] => string(29) "Условия участия" ["meta_description"] => string(0) "" ["meta_keywords"] => string(0) "" ["active_menu_item"] => string(0) "" ["h1"] => string(0) "" } }
-
DOCROOT/application/views/templates/rosneft/action/action_rule.php [ 8 ] » filemtime ( arguments )
filename /var/www/promo/files/a259/rules.pdf 3 <a href="/" class="home-page-link"> 4 <svg xmlns="http://www.w3.org/2000/svg" width="7" height="13" fill="none" viewBox="0 0 7 13"><path stroke="#fff" stroke-linecap="round" stroke-width="1.8" d="M6 1 1.734 5.693a1.2 1.2 0 0 0 0 1.614L6 12"></path></svg> 5 </a> 6 Правила акции</h1> 7 <div class="inner-page-wrapper br-default"> 8 <iframe src="/static/libs/pdf.js-gh-pages/web/viewer.html?file=<?= URL::base('https'); ?>files/a<?= $action['action_id']; ?>/rules.pdf?v=<?= filemtime($_SERVER['DOCUMENT_ROOT'].'/files/a'.$action['action_id'].'/rules.pdf');?>" class="iframe-wrapper"></iframe> 9 </div>10 </div>
-
DOCROOT/system/classes/Kohana/View.php [ 62 ] » include ( arguments )
0 /var/www/promo/application/views/templates/rosneft/action/action_rule.php 57 ob_start();58 59 try60 {61 // Load the view within the current scope62 include $kohana_view_filename;63 }64 catch (Exception $e)65 {66 // Delete the output buffer67 ob_end_clean();68
-
DOCROOT/system/classes/Kohana/View.php [ 359 ] » Kohana_View::capture ( arguments )
0 application/views/templates/rosneft/action/action_rule.php 1 array(0) { }
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 output359 return View::capture($this->_file, $this->_data);360 }361 362 }363
-
DOCROOT/system/classes/Kohana/View.php [ 236 ] » Kohana_View->render ( )
231 */232 public function __toString()233 {234 try235 {236 return $this->render();237 }238 catch (Exception $e)239 {240 /**241 * Display the exception message.242
-
DOCROOT/application/views/main.php [ 3 ] » Kohana_View->__toString ( )
-2 <?php echo $header; ?>-1 0 <?php echo $content; ?>1 2 <?php echo $footer; ?>3
-
DOCROOT/system/classes/Kohana/View.php [ 62 ] » include ( arguments )
0 /var/www/promo/application/views/main.php 57 ob_start();58 59 try60 {61 // Load the view within the current scope62 include $kohana_view_filename;63 }64 catch (Exception $e)65 {66 // Delete the output buffer67 ob_end_clean();68
-
DOCROOT/system/classes/Kohana/View.php [ 359 ] » Kohana_View::capture ( arguments )
0 application/views/main.php 1 array(3) { ["content"] => object(View)#67 (2) { ["_file":protected] => string(58) "application/views/templates/rosneft/action/action_rule.php" ["_data":protected] => array(0) { } } ["header"] => &object(View)#65 (2) { ["_file":protected] => string(51) "application/views/templates/rosneft/main_header.php" ["_data":protected] => array(0) { } } ["footer"] => &object(View)#54 (2) { ["_file":protected] => string(51) "application/views/templates/rosneft/main_footer.php" ["_data":protected] => array(0) { } } }
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 output359 return View::capture($this->_file, $this->_data);360 }361 362 }363
-
DOCROOT/system/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 50
-
DOCROOT/application/classes/Controller/Template.php [ 109 ] » Kohana_Controller_Template->after ( )
104 else105 {106 //$this->response->headers('Content-Type','application/json');107 }108 109 parent::after();110 }111 112 // public function include_js($path)113 // {114 // $this->included_scripts .= "<script src=\"".$path."\"></script>\r\n";115
-
DOCROOT/application/classes/Controller/Page.php [ 1515 ] » Controller_Template->after ( )
1510 $style_name = Action::style();1511 1512 $this->header = 'templates/'.$style_name.'/'.$this->header;1513 $this->footer = 'templates/'.$style_name.'/'.$this->footer;1514 1515 parent::after();1516 }1517 1518 }1519
-
DOCROOT/system/classes/Kohana/Controller.php [ 87 ] » Controller_Page->after ( )
82 83 // Execute the action itself84 $this->{$action}();85 86 // Execute the "after action" method87 $this->after();88 89 // Return the response90 return $this->response;91 }92 93
-
{PHP internal call} » Kohana_Controller->execute ( )
-
DOCROOT/system/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke ( arguments )
0 object(Controller_Page)#50 (9) { ["template_name"] => NULL ["style_name"] => NULL ["template"] => object(View)#52 (2) { ["_file":protected] => string(26) "application/views/main.php" ["_data":protected] => array(3) { ["content"] => object(View)#67 (2) { ["_file":protected] => string(58) "application/views/templates/rosneft/action/action_rule.php" ["_data":protected] => array(0) { } } ["header"] => &object(View)#65 (2) { ["_file":protected] => string(51) "application/views/templates/rosneft/main_header.php" ["_data":protected] => array(0) { } } ["footer"] => &object(View)#54 (2) { ["_file":protected] => string(51) "application/views/templates/rosneft/main_footer.php" ["_data":protected] => array(0) { } } } } ["page"] => &array(7) { ["type"] => string(10) "rules_page" ["page_tags"] => array(0) { } ["title"] => string(29) "Условия участия" ["meta_description"] => string(0) "" ["meta_keywords"] => string(0) "" ["active_menu_item"] => string(0) "" ["h1"] => string(0) "" } ["header"] => string(29) "templates/rosneft/main_header" ["footer"] => string(29) "templates/rosneft/main_footer" ["auto_render"] => bool(true) ["request"] => object(Request)#44 (19) { ["_requested_with":protected] => NULL ["_method":protected] => string(3) "GET" ["_protocol":protected] => string(8) "HTTP/1.1" ["_secure":protected] => bool(true) ["_referrer":protected] => NULL ["_route":protected] => object(Route)#7 (5) { ["_filters":protected] => array(0) { } ["_uri":protected] => string(11) "action_rule" ["_regex":protected] => array(0) { } ["_defaults":protected] => array(2) { ["controller"] => string(4) "Page" ["action"] => string(11) "action_rule" } ["_route_regex":protected] => string(17) "#^action_rule$#uD" } ["_routes":protected] => array(0) { } ["_header":protected] => object(HTTP_Header)#45 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => NULL ["_directory":protected] => string(0) "" ["_controller":protected] => string(4) "Page" ["_action":protected] => string(11) "action_rule" ["_uri":protected] => string(11) "action_rule" ["_external":protected] => bool(false) ["_params":protected] => array(0) { } ["_get":protected] => array(0) { } ["_post":protected] => array(0) { } ["_cookies":protected] => array(0) { } ["_client":protected] => object(Request_Client_Internal)#46 (9) { ["_previous_environment":protected] => NULL ["_cache":protected] => NULL ["_follow":protected] => bool(false) ["_follow_headers":protected] => array(1) { [0] => string(13) "authorization" } ["_strict_redirect":protected] => bool(true) ["_header_callbacks":protected] => array(1) { ["Location"] => string(34) "Request_Client::on_header_location" } ["_max_callback_depth":protected] => int(5) ["_callback_depth":protected] => int(1) ["_callback_params":protected] => array(0) { } } } ["response"] => object(Response)#47 (5) { ["_status":protected] => int(200) ["_header":protected] => object(HTTP_Header)#48 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => string(0) "" ["_cookies":protected] => array(0) { } ["_protocol":protected] => string(8) "HTTP/1.1" } }
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');103
-
DOCROOT/system/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request ( arguments )
0 object(Request)#44 (19) { ["_requested_with":protected] => NULL ["_method":protected] => string(3) "GET" ["_protocol":protected] => string(8) "HTTP/1.1" ["_secure":protected] => bool(true) ["_referrer":protected] => NULL ["_route":protected] => object(Route)#7 (5) { ["_filters":protected] => array(0) { } ["_uri":protected] => string(11) "action_rule" ["_regex":protected] => array(0) { } ["_defaults":protected] => array(2) { ["controller"] => string(4) "Page" ["action"] => string(11) "action_rule" } ["_route_regex":protected] => string(17) "#^action_rule$#uD" } ["_routes":protected] => array(0) { } ["_header":protected] => object(HTTP_Header)#45 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => NULL ["_directory":protected] => string(0) "" ["_controller":protected] => string(4) "Page" ["_action":protected] => string(11) "action_rule" ["_uri":protected] => string(11) "action_rule" ["_external":protected] => bool(false) ["_params":protected] => array(0) { } ["_get":protected] => array(0) { } ["_post":protected] => array(0) { } ["_cookies":protected] => array(0) { } ["_client":protected] => object(Request_Client_Internal)#46 (9) { ["_previous_environment":protected] => NULL ["_cache":protected] => NULL ["_follow":protected] => bool(false) ["_follow_headers":protected] => array(1) { [0] => string(13) "authorization" } ["_strict_redirect":protected] => bool(true) ["_header_callbacks":protected] => array(1) { ["Location"] => string(34) "Request_Client::on_header_location" } ["_max_callback_depth":protected] => int(5) ["_callback_depth":protected] => int(1) ["_callback_params":protected] => array(0) { } } }
1 object(Response)#47 (5) { ["_status":protected] => int(200) ["_header":protected] => object(HTTP_Header)#48 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => string(0) "" ["_cookies":protected] => array(0) { } ["_protocol":protected] => string(8) "HTTP/1.1" }
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 callbacks117 foreach ($this->header_callbacks() as $header => $callback)118 {119 if ($response->headers($header))120
-
DOCROOT/system/classes/Kohana/Request.php [ 997 ] » Kohana_Request_Client->execute ( arguments )
0 object(Request)#44 (19) { ["_requested_with":protected] => NULL ["_method":protected] => string(3) "GET" ["_protocol":protected] => string(8) "HTTP/1.1" ["_secure":protected] => bool(true) ["_referrer":protected] => NULL ["_route":protected] => object(Route)#7 (5) { ["_filters":protected] => array(0) { } ["_uri":protected] => string(11) "action_rule" ["_regex":protected] => array(0) { } ["_defaults":protected] => array(2) { ["controller"] => string(4) "Page" ["action"] => string(11) "action_rule" } ["_route_regex":protected] => string(17) "#^action_rule$#uD" } ["_routes":protected] => array(0) { } ["_header":protected] => object(HTTP_Header)#45 (5) { ["_accept_content":protected] => NULL ["_accept_charset":protected] => NULL ["_accept_encoding":protected] => NULL ["_accept_language":protected] => NULL ["storage":"ArrayObject":private] => array(0) { } } ["_body":protected] => NULL ["_directory":protected] => string(0) "" ["_controller":protected] => string(4) "Page" ["_action":protected] => string(11) "action_rule" ["_uri":protected] => string(11) "action_rule" ["_external":protected] => bool(false) ["_params":protected] => array(0) { } ["_get":protected] => array(0) { } ["_post":protected] => array(0) { } ["_cookies":protected] => array(0) { } ["_client":protected] => object(Request_Client_Internal)#46 (9) { ["_previous_environment":protected] => NULL ["_cache":protected] => NULL ["_follow":protected] => bool(false) ["_follow_headers":protected] => array(1) { [0] => string(13) "authorization" } ["_strict_redirect":protected] => bool(true) ["_header_callbacks":protected] => array(1) { ["Location"] => string(34) "Request_Client::on_header_location" } ["_max_callback_depth":protected] => int(5) ["_callback_depth":protected] => int(1) ["_callback_params":protected] => array(0) { } } }
992 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 993 ':uri' => $this->_uri, 994 )); 995 } 996 997 return $this->_client->execute($this); 998 } 999 1000 /**1001 * Returns whether this request is the initial request Kohana received.1002 * Can be used to test for sub requests.1003
-
DOCROOT/index.php [ 123 ] » Kohana_Request->execute ( )
118 /**119 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].120 * If no source is specified, the URI will be automatically detected.121 */122 echo Request::factory(TRUE, array(), FALSE)123 ->execute()124 ->send_headers(TRUE)125 ->body();126 }127