Code |
Context$id = "610"
$content_news = array(
"ContentNews" => array(
"id" => "610",
"language_id" => "2",
"content_news_category_id" => "1",
"name" => "Weitere 2 Tage in der Kulturlandschaft Lednice-Valtice",
"title" => "Weitere 2 Tage in der Kulturlandschaft Lednice-Valtice",
"link_text" => null,
"date" => "2013-08-14",
"introduction" => "<p style="text-align: justify;">Am Montag den 12.8. und am Dienstag den 13.8. besuchten die Radwachten des Projekts "Na kole jen s přilbou" schon zum zweiten Mal die Kulturlandschaft Lednice-Valtice.</p>",
"text" => "<p style="text-align: justify;">Sie kommunizierten mit Fahrradfahrern zum Beispiel an der St. Hubert Kapelle, bei den 3 Grazien, an der Burg Janův Hrad und am Schloß Lednice.</p>
<p style="text-align: center;"><a target="_blank" href="/files/editor/file/Valtice_podruhe_036.jpg"><img width="550" height="413" alt="" src="/files/editor/image/Valtice_podruhe_036.jpg" /></a></p>
<p style="text-align: center;"> </p>",
"position" => null,
"active" => "1",
"link_is_ajax" => "0",
"created" => "2013-08-15 12:44:47",
"modified" => "2013-08-15 12:44:47"
),
"Language" => array(
"id" => "2",
"name" => "Deutsch",
"code" => "deu",
"created" => "2010-11-30 14:43:44",
"modified" => "2010-12-03 09:53:52"
),
"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