Code |
Context$slug = "nero-photosnap-po-polsku"
$quest = array(
"Quest" => array(
"id" => "46828",
"ids" => "351",
"name" => "nero photosnap po polsku",
"folder" => "0",
"redirect_id" => null,
"count" => "10"
)
)
$quest_ids = "351"
$programs = array(
array(
"programs" => array(),
"text_quests" => array()
)
)
$parts = array(
"nero",
"photosnap",
"po",
"polsku"
)
$row = array(
"quests" => array(
"id" => "159"
)
)
$query = " SELECT quests.id FROM quests WHERE quests.name LIKE '%polsku%' LIMIT 10 "
$res = array(
array(
"quests" => array()
),
array(
"quests" => array()
),
array(
"quests" => array()
),
array(
"quests" => array()
),
array(
"quests" => array()
),
array(
"quests" => array()
),
array(
"quests" => array()
),
array(
"quests" => array()
),
array(
"quests" => array()
),
array(
"quests" => array()
)
)
$related_quest = array(
"46",
"182",
"241",
"270",
"287",
"373",
"374",
"375",
"394",
"1172",
"26108",
"28756",
"31523",
"33881",
"34553",
"35374",
"36134",
"37037",
"38057",
"38361",
"7",
"9",
"10",
"54",
"52",
"49",
"48",
"46",
"43",
"42",
"10",
"54",
"62",
"68",
"95",
"127",
"128",
"135",
"138",
"159"
)
$array_related = array(
"46",
"182",
"241",
"270",
"287",
"373",
"374",
"375",
"394",
"1172",
"26108",
"28756",
"31523",
"33881",
"34553",
"35374",
"36134",
"37037",
"38057",
"38361",
"7",
"9",
"10",
"54",
"52",
"49",
"48",
"43",
"42",
"62",
"68",
"95",
"127",
"128",
"135",
"138",
"159"
)
$related = "46,182,241,270,287,373,374,375,394,1172,26108,28756,31523,33881,34553,35374,36134,37037,38057,38361,7,9,10,54,52,49,48,43,42,62,68,95,127,128,135,138,159"
$getRelated = array(
array(
"quests" => array()
),
array(
"quests" => array()
),
array(
"quests" => array()
),
array(
"quests" => array()
),
array(
"quests" => array()
),
array(
"quests" => array()
),
array(
"quests" => array()
),
array(
"quests" => array()
),
array(
"quests" => array()
),
array(
"quests" => array()
)
)
$count = array(
"Count" => "Array"
)
{
$count = $this->Cookie->read('count');
if($count['Count'][$quest['Quest']['id']] != NULL)
QuestsController::quest() - APP/controllers/quests_controller.php, line 59
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 245
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
[main] - APP/webroot/index.php, line 88