APPPATH/views/frontend4/detail.php [ 48 ]
43 <? if (strlen($item->filename)) : ?>
44 <? $img="<img src=\"/upload/images/watermark/".$item->filename."\">";
45 $path = DOCROOT . '/upload/images/watermark/'.$item->filename;
46 ?>
47 <? elseif (strlen($filename)): $images = $item->get_images(); ?>
48 <? $img="<img src=\"".$images[$filename]["watermark"]."\">";
49 $path = DOCROOT . $images[$filename]['original'];
50 ?>
51 <? else : $images = $item->get_images(); $image = array_shift($images); ?>
52 <? $img="<img src=\"".$image['watermark']."\">";
53 $path = DOCROOT . $image['original'];
-
APPPATH/views/frontend4/detail.php [ 48 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(19) "Undefined index: en"
2
string(82) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend4/detail.php"
3
integer 48
4
array(13) ( "kohana_view_filename" => string(82) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend4/detail.php" "kohana_view_data" => array(8) ( "item" => object Model_Item(35)
{ protected _serialize_columns => array(2) ( 0 => string(5) "title" 1 => string(11) "description" ) protected rules => NULL protected _belongs_to => array(1) ( "author" => array(2) ( "model" => string(6) "author" "foreign_key" => string(9) "author_id" ) ) protected _has_many => array(2) ( "tags" => array(4) ( "model" => string(3) "tag" "foreign_key" => string(7) "item_id" "through" => string(10) "items_tags" "far_key" => string(6) "tag_id" ) "carts" => array(4) ( "model" => string(4) "cart" "foreign_key" => string(7) "item_id" "through" => NULL "far_key" => string(7) "cart_id" ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(8) ( "id" => string(5) "50939" "filename" => NULL "dt" => string(19) "2020-03-30 00:00:00" "title" => string(472) "{"ru":"С целью предотвращения распространения коронавирусной инфекции в столице проводятся дезинфекционные работы","kz":"Коронав …" "description" => string(25) "{"ru":"","kz":"","en":""}" "author_id" => string(1) "2" "main" => string(1) "0" "folder" => string(13) "1591092213036" ) protected _changed => array(0) protected _original_values => array(8) ( "id" => string(5) "50939" "filename" => NULL "dt" => string(19) "2020-03-30 00:00:00" "title" => string(472) "{"ru":"С целью предотвращения распространения коронавирусной инфекции в столице проводятся дезинфекционные работы","kz":"Коронав …" "description" => string(25) "{"ru":"","kz":"","en":""}" "author_id" => string(1) "2" "main" => string(1) "0" "folder" => string(13) "1591092213036" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "item" protected _object_plural => string(5) "items" protected _table_name => string(5) "items" protected _table_columns => array(8) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "filename" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "filename" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "20" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "dt" => array(10) ( "type" => string(6) "string" "column_name" => string(2) "dt" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "character_maximum_length" => string(4) "2000" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(5) "10000" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(6) "-32768" "max" => string(5) "32767" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(8) "smallint" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "display" => string(1) "6" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "main" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(4) "main" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "folder" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "folder" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "character_maximum_length" => string(2) "20" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _primary_key => string(2) "id" protected _primary_key_value => string(5) "50939" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"items_more" => object View(2){ protected _connection_id => string(40) "ac47a44e2861c2efd9caee233b285ed14ec5bbd8" protected _identifier => string(1) "`" public last_query => string(317) "SELECT `item`.`id` AS `id`, `item`.`filename` AS `filename`, `item`.`dt` AS `dt`, `item`.`title` AS `title`, `item`.`description …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(12) "192.168.10.4" "database" => string(8) "photo_db" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "item" }{ protected _file => string(85) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend/items_more.php" protected _data => array(1) ( "images" => array(6) ( "1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" ) "1591093170a410501f968dcfeda165b838f78cdef2.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" ) "1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" ) "1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" ) "1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" ) "15910931866548d01798d5e94ab06271c136808613.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" ) ) ) }
"items_add" => object View(2){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend/items_add.php" protected _data => array(2) ( "items" => NULL "lang" => string(2) "en" ) }
"disqus" => object View(2){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend/en/disqus.php" protected _data => array(0) }
"menu" => object View(2){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views//frontend4/menu/en.php" protected _data => array(0) }
"lang" => string(2) "en" "filename" => string(2) "en" "client" => NULL ) "item" => object Model_Item(35){ protected _serialize_columns => array(2) ( 0 => string(5) "title" 1 => string(11) "description" ) protected rules => NULL protected _belongs_to => array(1) ( "author" => array(2) ( "model" => string(6) "author" "foreign_key" => string(9) "author_id" ) ) protected _has_many => array(2) ( "tags" => array(4) ( "model" => string(3) "tag" "foreign_key" => string(7) "item_id" "through" => string(10) "items_tags" "far_key" => string(6) "tag_id" ) "carts" => array(4) ( "model" => string(4) "cart" "foreign_key" => string(7) "item_id" "through" => NULL "far_key" => string(7) "cart_id" ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(8) ( "id" => string(5) "50939" "filename" => NULL "dt" => string(19) "2020-03-30 00:00:00" "title" => string(472) "{"ru":"С целью предотвращения распространения коронавирусной инфекции в столице проводятся дезинфекционные работы","kz":"Коронав …" "description" => string(25) "{"ru":"","kz":"","en":""}" "author_id" => string(1) "2" "main" => string(1) "0" "folder" => string(13) "1591092213036" ) protected _changed => array(0) protected _original_values => array(8) ( "id" => string(5) "50939" "filename" => NULL "dt" => string(19) "2020-03-30 00:00:00" "title" => string(472) "{"ru":"С целью предотвращения распространения коронавирусной инфекции в столице проводятся дезинфекционные работы","kz":"Коронав …" "description" => string(25) "{"ru":"","kz":"","en":""}" "author_id" => string(1) "2" "main" => string(1) "0" "folder" => string(13) "1591092213036" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "item" protected _object_plural => string(5) "items" protected _table_name => string(5) "items" protected _table_columns => array(8) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "filename" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "filename" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "20" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "dt" => array(10) ( "type" => string(6) "string" "column_name" => string(2) "dt" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "character_maximum_length" => string(4) "2000" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(5) "10000" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(6) "-32768" "max" => string(5) "32767" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(8) "smallint" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "display" => string(1) "6" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "main" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(4) "main" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "folder" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "folder" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "character_maximum_length" => string(2) "20" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _primary_key => string(2) "id" protected _primary_key_value => string(5) "50939" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"items_more" => object View(2){ protected _connection_id => string(40) "ac47a44e2861c2efd9caee233b285ed14ec5bbd8" protected _identifier => string(1) "`" public last_query => string(317) "SELECT `item`.`id` AS `id`, `item`.`filename` AS `filename`, `item`.`dt` AS `dt`, `item`.`title` AS `title`, `item`.`description …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(12) "192.168.10.4" "database" => string(8) "photo_db" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "item" }{ protected _file => string(85) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend/items_more.php" protected _data => array(1) ( "images" => array(6) ( "1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" ) "1591093170a410501f968dcfeda165b838f78cdef2.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" ) "1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" ) "1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" ) "1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" ) "15910931866548d01798d5e94ab06271c136808613.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" ) ) ) }
"items_add" => object View(2){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend/items_add.php" protected _data => array(2) ( "items" => NULL "lang" => string(2) "en" ) }
"disqus" => object View(2){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend/en/disqus.php" protected _data => array(0) }
"menu" => object View(2){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views//frontend4/menu/en.php" protected _data => array(0) }
"lang" => string(2) "en" "filename" => string(2) "en" "client" => NULL "title" => string(1) " " "description" => string(0) "" "images" => array(6) ( "1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" ) "1591093170a410501f968dcfeda165b838f78cdef2.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" ) "1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" ) "1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" ) "1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" ) "15910931866548d01798d5e94ab06271c136808613.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" ) ) )43 <? if (strlen($item->filename)) : ?> 44 <? $img="<img src=\"/upload/images/watermark/".$item->filename."\">"; 45 $path = DOCROOT . '/upload/images/watermark/'.$item->filename; 46 ?> 47 <? elseif (strlen($filename)): $images = $item->get_images(); ?> 48 <? $img="<img src=\"".$images[$filename]["watermark"]."\">"; 49 $path = DOCROOT . $images[$filename]['original']; 50 ?> 51 <? else : $images = $item->get_images(); $image = array_shift($images); ?> 52 <? $img="<img src=\"".$image['watermark']."\">"; 53 $path = DOCROOT . $image['original'];
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(82) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend4/detail.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 [ 343 ] » Kohana_View::capture(arguments)
0
string(82) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend4/detail.php"
1
array(8) ( "item" => object Model_Item(35)
{ protected _serialize_columns => array(2) ( 0 => string(5) "title" 1 => string(11) "description" ) protected rules => NULL protected _belongs_to => array(1) ( "author" => array(2) ( "model" => string(6) "author" "foreign_key" => string(9) "author_id" ) ) protected _has_many => array(2) ( "tags" => array(4) ( "model" => string(3) "tag" "foreign_key" => string(7) "item_id" "through" => string(10) "items_tags" "far_key" => string(6) "tag_id" ) "carts" => array(4) ( "model" => string(4) "cart" "foreign_key" => string(7) "item_id" "through" => NULL "far_key" => string(7) "cart_id" ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(8) ( "id" => string(5) "50939" "filename" => NULL "dt" => string(19) "2020-03-30 00:00:00" "title" => string(472) "{"ru":"С целью предотвращения распространения коронавирусной инфекции в столице проводятся дезинфекционные работы","kz":"Коронав …" "description" => string(25) "{"ru":"","kz":"","en":""}" "author_id" => string(1) "2" "main" => string(1) "0" "folder" => string(13) "1591092213036" ) protected _changed => array(0) protected _original_values => array(8) ( "id" => string(5) "50939" "filename" => NULL "dt" => string(19) "2020-03-30 00:00:00" "title" => string(472) "{"ru":"С целью предотвращения распространения коронавирусной инфекции в столице проводятся дезинфекционные работы","kz":"Коронав …" "description" => string(25) "{"ru":"","kz":"","en":""}" "author_id" => string(1) "2" "main" => string(1) "0" "folder" => string(13) "1591092213036" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "item" protected _object_plural => string(5) "items" protected _table_name => string(5) "items" protected _table_columns => array(8) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "filename" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "filename" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "20" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "dt" => array(10) ( "type" => string(6) "string" "column_name" => string(2) "dt" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "character_maximum_length" => string(4) "2000" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(5) "10000" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(6) "-32768" "max" => string(5) "32767" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(8) "smallint" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "display" => string(1) "6" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "main" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(4) "main" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "folder" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "folder" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "character_maximum_length" => string(2) "20" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _primary_key => string(2) "id" protected _primary_key_value => string(5) "50939" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"items_more" => object View(2){ protected _connection_id => string(40) "ac47a44e2861c2efd9caee233b285ed14ec5bbd8" protected _identifier => string(1) "`" public last_query => string(317) "SELECT `item`.`id` AS `id`, `item`.`filename` AS `filename`, `item`.`dt` AS `dt`, `item`.`title` AS `title`, `item`.`description …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(12) "192.168.10.4" "database" => string(8) "photo_db" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "item" }{ protected _file => string(85) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend/items_more.php" protected _data => array(1) ( "images" => array(6) ( "1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" ) "1591093170a410501f968dcfeda165b838f78cdef2.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" ) "1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" ) "1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" ) "1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" ) "15910931866548d01798d5e94ab06271c136808613.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" ) ) ) }
"items_add" => object View(2){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend/items_add.php" protected _data => array(2) ( "items" => NULL "lang" => string(2) "en" ) }
"disqus" => object View(2){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend/en/disqus.php" protected _data => array(0) }
"menu" => object View(2){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views//frontend4/menu/en.php" protected _data => array(0) }
"lang" => string(2) "en" "filename" => string(2) "en" "client" => NULL )338 { 339 throw new View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // End View
-
SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()
223 */ 224 public function __toString() 225 { 226 try 227 { 228 return $this->render(); 229 } 230 catch (Exception $e) 231 { 232 // Display the exception message 233 Kohana_Exception::handler($e);
-
APPPATH/views/frontend4.php [ 155 ] » Kohana_View->__toString()
150 </div> 151 </form> 152 <h1 class="title_foto-block"><a href="https://photobank.inform.kz/<?= $lang?>"><img src="/frontend4/img/logo3.png" alt=""></a></h1> 153 </div> 154 155 <?=$content; ?> 156 157 <? /* wrap_title_first_search - END / в $content */ ?> 158 159 <DIV style="clear: both; padding-bottom: 50px;"></DIV> 160
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(75) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend4.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 [ 343 ] » Kohana_View::capture(arguments)
0
string(75) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend4.php"
1
array(8) ( "date" => string(10) "19.10.2020" "menu" => object View(2)
{ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views//frontend4/menu/en.php" protected _data => array(0) }
"archive_block" => object View(2){ protected _file => string(90) "/home/photo/web/photo.inform.kz/public_html/application/views//frontend4/archive_block.php" protected _data => array(2) ( "lang" => string(2) "en" "date" => string(10) "19.10.2020" ) }
"client" => NULL "content" => object View(2){ protected _file => string(82) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend4/detail.php" protected _data => array(8) ( "item" => object Model_Item(35)
"tags" => object Database_MySQL_Result(7){ protected _serialize_columns => array(2) ( 0 => string(5) "title" 1 => string(11) "description" ) protected rules => NULL protected _belongs_to => array(1) ( "author" => array(2) ( "model" => string(6) "author" "foreign_key" => string(9) "author_id" ) ) protected _has_many => array(2) ( "tags" => array(4) ( "model" => string(3) "tag" "foreign_key" => string(7) "item_id" "through" => string(10) "items_tags" "far_key" => string(6) "tag_id" ) "carts" => array(4) ( "model" => string(4) "cart" "foreign_key" => string(7) "item_id" "through" => NULL "far_key" => string(7) "cart_id" ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(8) ( "id" => string(5) "50939" "filename" => NULL "dt" => string(19) "2020-03-30 00:00:00" "title" => string(472) "{"ru":"С целью предотвращения распространения коронавирусной инфекции в столице проводятся дезинфекционные работы","kz":"Коронав …" "description" => string(25) "{"ru":"","kz":"","en":""}" "author_id" => string(1) "2" "main" => string(1) "0" "folder" => string(13) "1591092213036" ) protected _changed => array(0) protected _original_values => array(8) ( "id" => string(5) "50939" "filename" => NULL "dt" => string(19) "2020-03-30 00:00:00" "title" => string(472) "{"ru":"С целью предотвращения распространения коронавирусной инфекции в столице проводятся дезинфекционные работы","kz":"Коронав …" "description" => string(25) "{"ru":"","kz":"","en":""}" "author_id" => string(1) "2" "main" => string(1) "0" "folder" => string(13) "1591092213036" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "item" protected _object_plural => string(5) "items" protected _table_name => string(5) "items" protected _table_columns => array(8) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "filename" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "filename" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "20" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "dt" => array(10) ( "type" => string(6) "string" "column_name" => string(2) "dt" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "character_maximum_length" => string(4) "2000" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(5) "10000" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(6) "-32768" "max" => string(5) "32767" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(8) "smallint" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "display" => string(1) "6" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "main" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(4) "main" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "folder" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "folder" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "character_maximum_length" => string(2) "20" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _primary_key => string(2) "id" protected _primary_key_value => string(5) "50939" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"items_more" => object View(2){ protected _connection_id => string(40) "ac47a44e2861c2efd9caee233b285ed14ec5bbd8" protected _identifier => string(1) "`" public last_query => string(317) "SELECT `item`.`id` AS `id`, `item`.`filename` AS `filename`, `item`.`dt` AS `dt`, `item`.`title` AS `title`, `item`.`description …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(12) "192.168.10.4" "database" => string(8) "photo_db" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "item" }{ protected _file => string(85) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend/items_more.php" protected _data => array(1) ( "images" => array(6) ( "1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" ) "1591093170a410501f968dcfeda165b838f78cdef2.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" ) "1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" ) "1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" ) "1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" ) "15910931866548d01798d5e94ab06271c136808613.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" ) ) ) }
"items_add" => object View(2){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend/items_add.php" protected _data => array(2) ( "items" => NULL "lang" => string(2) "en" ) }
"disqus" => object View(2){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend/en/disqus.php" protected _data => array(0) }
"menu" => object View(2){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views//frontend4/menu/en.php" protected _data => array(0) }
"lang" => string(2) "en" "filename" => string(2) "en" "client" => NULL ) }{ protected _internal_row => integer 0 protected _query => string(197) "SELECT `tag`.`id` AS `id`, `tag`.`name` AS `name` FROM `tags` AS `tag` JOIN `items_tags` ON (`items_tags`.`tag_id` = `tag`.`id`) …" protected _result => resource(mysql result) protected _total_rows => integer 15 protected _current_row => integer 0 protected _as_object => string(9) "Model_Tag" protected _object_params => NULL }
"title" => string(1) " " "lang" => string(2) "en" )338 { 339 throw new View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // 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
-
{PHP internal call} » Kohana_Controller_Template->after()
-
SYSPATH/classes/kohana/request/client/internal.php [ 119 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Frontend4(15)
{ public content => NULL public template => object View(2)
{ protected _file => string(75) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend4.php" protected _data => array(8) ( "date" => string(10) "19.10.2020" "menu" => object View(2)
public limit => integer 19 public tag_id => NULL public rubric_id => NULL public author_id => NULL public tags => object Database_MySQL_Result(7){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views//frontend4/menu/en.php" protected _data => array(0) }
"archive_block" => object View(2){ protected _file => string(90) "/home/photo/web/photo.inform.kz/public_html/application/views//frontend4/archive_block.php" protected _data => array(2) ( "lang" => string(2) "en" "date" => string(10) "19.10.2020" ) }
"client" => NULL "content" => object View(2){ protected _file => string(82) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend4/detail.php" protected _data => array(8) ( "item" => object Model_Item(35)
"tags" => object Database_MySQL_Result(7){ protected _serialize_columns => array(2) ( 0 => string(5) "title" 1 => string(11) "description" ) protected rules => NULL protected _belongs_to => array(1) ( "author" => array(2) ( "model" => string(6) "author" "foreign_key" => string(9) "author_id" ) ) protected _has_many => array(2) ( "tags" => array(4) ( "model" => string(3) "tag" "foreign_key" => string(7) "item_id" "through" => string(10) "items_tags" "far_key" => string(6) "tag_id" ) "carts" => array(4) ( "model" => string(4) "cart" "foreign_key" => string(7) "item_id" "through" => NULL "far_key" => string(7) "cart_id" ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(8) ( "id" => string(5) "50939" "filename" => NULL "dt" => string(19) "2020-03-30 00:00:00" "title" => string(472) "{"ru":"С целью предотвращения распространения коронавирусной инфекции в столице проводятся дезинфекционные работы","kz":"Коронав …" "description" => string(25) "{"ru":"","kz":"","en":""}" "author_id" => string(1) "2" "main" => string(1) "0" "folder" => string(13) "1591092213036" ) protected _changed => array(0) protected _original_values => array(8) ( "id" => string(5) "50939" "filename" => NULL "dt" => string(19) "2020-03-30 00:00:00" "title" => string(472) "{"ru":"С целью предотвращения распространения коронавирусной инфекции в столице проводятся дезинфекционные работы","kz":"Коронав …" "description" => string(25) "{"ru":"","kz":"","en":""}" "author_id" => string(1) "2" "main" => string(1) "0" "folder" => string(13) "1591092213036" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "item" protected _object_plural => string(5) "items" protected _table_name => string(5) "items" protected _table_columns => array(8) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "filename" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "filename" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "20" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "dt" => array(10) ( "type" => string(6) "string" "column_name" => string(2) "dt" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "character_maximum_length" => string(4) "2000" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(5) "10000" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(6) "-32768" "max" => string(5) "32767" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(8) "smallint" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "display" => string(1) "6" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "main" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(4) "main" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "folder" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "folder" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "character_maximum_length" => string(2) "20" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _primary_key => string(2) "id" protected _primary_key_value => string(5) "50939" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"items_more" => object View(2){ protected _connection_id => string(40) "ac47a44e2861c2efd9caee233b285ed14ec5bbd8" protected _identifier => string(1) "`" public last_query => string(317) "SELECT `item`.`id` AS `id`, `item`.`filename` AS `filename`, `item`.`dt` AS `dt`, `item`.`title` AS `title`, `item`.`description …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(12) "192.168.10.4" "database" => string(8) "photo_db" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "item" }{ protected _file => string(85) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend/items_more.php" protected _data => array(1) ( "images" => array(6) ( "1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093169b046db6ea5611259870eeaffc60f01a2.jpeg" ) "1591093170a410501f968dcfeda165b838f78cdef2.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093170a410501f968dcfeda165b838f78cdef2.jpeg" ) "1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093172176adb6507c3d6eda5223b7d77612eb0.jpeg" ) "1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093175a259be56e8e73b924d054bb3e78e4ba6.jpeg" ) "1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/1591093179d3bcfdc4755d61cf5f35d0fe5dec09ed.jpeg" ) "15910931866548d01798d5e94ab06271c136808613.jpeg" => array(3) ( "original" => string(86) "/upload/images2/original/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" "small" => string(83) "/upload/images2/small/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" "watermark" => string(87) "/upload/images2/watermark/1591092213036/15910931866548d01798d5e94ab06271c136808613.jpeg" ) ) ) }
"items_add" => object View(2){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend/items_add.php" protected _data => array(2) ( "items" => NULL "lang" => string(2) "en" ) }
"disqus" => object View(2){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views/frontend/en/disqus.php" protected _data => array(0) }
"menu" => object View(2){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views//frontend4/menu/en.php" protected _data => array(0) }
"lang" => string(2) "en" "filename" => string(2) "en" "client" => NULL ) }{ protected _internal_row => integer 0 protected _query => string(197) "SELECT `tag`.`id` AS `id`, `tag`.`name` AS `name` FROM `tags` AS `tag` JOIN `items_tags` ON (`items_tags`.`tag_id` = `tag`.`id`) …" protected _result => resource(mysql result) protected _total_rows => integer 15 protected _current_row => integer 0 protected _as_object => string(9) "Model_Tag" protected _object_params => NULL }
"title" => string(1) " " "lang" => string(2) "en" ) }{ protected _internal_row => integer 0 protected _query => string(197) "SELECT `tag`.`id` AS `id`, `tag`.`name` AS `name` FROM `tags` AS `tag` JOIN `items_tags` ON (`items_tags`.`tag_id` = `tag`.`id`) …" protected _result => resource(mysql result) protected _total_rows => integer 15 protected _current_row => integer 0 protected _as_object => string(9) "Model_Tag" protected _object_params => NULL }
public current_lang_code => string(2) "en" public client => NULL public menu => object View(2){ protected _file => string(84) "/home/photo/web/photo.inform.kz/public_html/application/views//frontend4/menu/en.php" protected _data => array(0) }
public archive_block => NULL public auto_render => bool TRUE public request => object Request(20){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(59) "http://photobank.inform.kz/en/photo/50939-/en?dt=19.10.2020" protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(32) "<lang>/photo(/<id>(/<filename>))" protected _regex => array(2) ( "lang" => string(14) "ru|kz|en|ar|cn" "filename" => string(2) ".*" ) protected _defaults => array(2) ( "controller" => string(9) "frontend4" "action" => string(6) "detail" ) protected _route_regex => string(84) "#^(?P<lang>ru|kz|en|ar|cn)/photo(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<filename>.*))?)?$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(9) "frontend4" protected _action => string(6) "detail" protected _uri => string(18) "en/photo/50939-/en" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "en" "id" => string(6) "50939-" "filename" => string(2) "en" ) protected _get => array(1) ( "dt" => string(10) "19.10.2020" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
public date => string(10) "19.10.2020" }{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }114 115 $method = $class->getMethod('action_'.$action); 116 $method->invoke($controller); 117 118 // Execute the "after action" method 119 $class->getMethod('after')->invoke($controller); 120 } 121 catch (Exception $e) 122 { 123 // Restore the previous request 124 if ($previous instanceof Request)
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(59) "http://photobank.inform.kz/en/photo/50939-/en?dt=19.10.2020" protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(32) "<lang>/photo(/<id>(/<filename>))" protected _regex => array(2) ( "lang" => string(14) "ru|kz|en|ar|cn" "filename" => string(2) ".*" ) protected _defaults => array(2) ( "controller" => string(9) "frontend4" "action" => string(6) "detail" ) protected _route_regex => string(84) "#^(?P<lang>ru|kz|en|ar|cn)/photo(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<filename>.*))?)?$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(9) "frontend4" protected _action => string(6) "detail" protected _uri => string(18) "en/photo/50939-/en" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "en" "id" => string(6) "50939-" "filename" => string(2) "en" ) protected _get => array(1) ( "dt" => string(10) "19.10.2020" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}59 public function execute(Request $request) 60 { 61 if ($this->_cache instanceof HTTP_Cache) 62 return $this->_cache->execute($this, $request); 63 64 return $this->execute_request($request); 65 } 66 67 /** 68 * Processes the request passed to it and returns the response from 69 * the URI resource identified.
-
SYSPATH/classes/kohana/request.php [ 1164 ] » Kohana_Request_Client->execute(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(59) "http://photobank.inform.kz/en/photo/50939-/en?dt=19.10.2020" protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(32) "<lang>/photo(/<id>(/<filename>))" protected _regex => array(2) ( "lang" => string(14) "ru|kz|en|ar|cn" "filename" => string(2) ".*" ) protected _defaults => array(2) ( "controller" => string(9) "frontend4" "action" => string(6) "detail" ) protected _route_regex => string(84) "#^(?P<lang>ru|kz|en|ar|cn)/photo(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<filename>.*))?)?$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(9) "frontend4" protected _action => string(6) "detail" protected _uri => string(18) "en/photo/50939-/en" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "en" "id" => string(6) "50939-" "filename" => string(2) "en" ) protected _get => array(1) ( "dt" => string(10) "19.10.2020" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}1159 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1160 ':uri' => $this->_uri, 1161 )); 1162 } 1163 1164 return $this->_client->execute($this); 1165 } 1166 1167 /** 1168 * Returns whether this request is the initial request Kohana received. 1169 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 111 ] » Kohana_Request->execute()
106 * If no source is specified, the URI will be automatically detected. 107 */ 108 //try 109 //{ 110 echo Request::factory() 111 ->execute() 112 ->send_headers(TRUE) 113 ->body(); 114 //} 115 116