Code |
Context$id = "605"
$content_news = array(
"ContentNews" => array(
"id" => "605",
"language_id" => "3",
"content_news_category_id" => "1",
"name" => "St. Lawrence pilgrimage",
"title" => "St. Lawrence pilgrimage",
"link_text" => null,
"date" => "2013-08-12",
"introduction" => "<p style="text-align: justify;">On August 10th 2013 the Bezpečně na silnicích o.p.s. - Team together with the Czech Mountain Rescue Service presented the project "Na kole jen s přilbou" during the support program of the St. Lawrence pilgrimage to the highest peak of the Czech Republic the Snow Mountain.</p>",
"text" => "<p style="text-align: justify;">The visitors had the opportunity to talk to our team about the importance of bicycle helmets, the obligatory and recommended bicycle equipment, reflective materials and the importance of being seen. A member of the Czech Mountain Rescue Service gave valuable tips on first-aid-provision and the youngest visitors enjoyed the bicycle themed computer game "Škoda hrou". Every visitor could also take a knowledge quiz on road safety which automatically entered him/her in a draw, which will take place at the end of September. To win there are bicycle helmets and discount coupons for sports equipment. Everyone received a cycle-map of the Jizera and Giant Mountains and a useful reflective stripe.</p>
<p style="text-align: center;"><a href="/files/editor/file/Krkonose_pout_sv_Vavrince_053.jpg" target="_blank"><img src="/files/editor/image/Krkonose_pout_sv_Vavrince_053.jpg" width="560" height="373" alt="" /></a></p>
<p style="text-align: center;"> </p>",
"position" => null,
"active" => "1",
"link_is_ajax" => "0",
"created" => "2013-08-12 09:48:42",
"modified" => "2013-08-12 09:48:42"
),
"Language" => array(
"id" => "3",
"name" => "English",
"code" => "eng",
"created" => "2010-11-30 14:43:52",
"modified" => "2010-12-03 09:53:57"
),
"ContentNewsCategory" => array(
"id" => "1",
"parent_id" => "0",
"name" => "Aktuálně",
"all_news_text" => "Všechny novinky",
"hp_title" => null,
"hp_count" => "5",
"created" => "2015-04-28 06:35:52",
"modified" => "2018-10-15 19:41:22"
),
"ContentImage" => array(),
"User" => array(),
"ContentSlider" => array(),
"Tag" => array(),
"similar" => array(),
"Image" => false
)
$content_news['Image'] = $this->ContentNews->ContentImage->get_main("content_news", $content_news['ContentNews']['id']);
$this->set('image', 'https://www.tymbezpecnosti.cz/image/l/' . $content_news['ContentImage'][0]['id'] . '.jpg');
ContentNewsController::view() - APP/controllers/content_news_controller.php, line 161
Object::dispatchMethod() - CORE/cake/libs/object.php, line 119
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 226
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 193
[main] - APP/webroot/index.php, line 87