Code Context //if($this->auth['role']!='admin') {
$this->loadModel('PagesUser');
$pages_present = $this->PagesUser->find('first', array('conditions'=>array('user_id'=>$this->auth['id'], '1'=>'1 and page_id in(select id from pages where slug="'.$slug.'")')));
$slug = 'competition-de-la-marche-verte--le-mercredi-06-novembre-2019-sur-le-parcours-d'anfa'
$p = array(
'Page' => array(
'id' => '348',
'domain' => 'casablanca',
'menu_id' => '4',
'submenu_id' => null,
'type' => '',
'name' => 'COMPÉTITION DE LA MARCHE VERTE LE MERCREDI 06 NOVEMBRE 2019 SUR LE PARCOURS D'ANFA',
'slug' => 'competition-de-la-marche-verte--le-mercredi-06-novembre-2019-sur-le-parcours-d'anfa',
'date_page' => '2019-11-06',
'date_page_end' => '2019-11-06',
'terrain_competition' => 'Anfa',
'type_competition' => 'equipe',
'tag' => 'adultes',
'description' => '',
'content' => '<p>A l’occasion du 44ème anniversaire de la « <strong>Marche Verte</strong> », le RGAM organise le <strong>Mercredi 06</strong> <strong>Novembre</strong> 2019 sur le Parcours d’Anfa une compétition en Formule Scramble à deux balles.</p>
<p align="right"> </p>
',
'a_la_une' => '0',
'evenement_type_paiement' => '',
'publish_depart' => '1',
'publish_resultat' => '1',
'resultat' => '',
'position' => '0',
'media_id' => '1364',
'view_name' => '',
'created' => '2019-10-23 13:11:51',
'modified' => '2019-11-07 11:25:58',
'thumb' => '/img/uploads/DSC_3116_Copie_Copie.jpg'
),
'Menu' => array(
'id' => '4',
'domain' => 'casablanca',
'name' => 'COMPÉTITIONS',
'color' => '',
'link' => '',
'type' => 'header'
),
'Thumb' => array(
'id' => '1364',
'ref' => 'Page',
'ref_id' => '348',
'type' => 'pic',
'file' => '/img/uploads/DSC_3116_Copie_Copie.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/DSC_3116_Copie_Copie.jpg'
),
'Gallery' => array(
(int) 0 => array(
'id' => '1351',
'ref' => 'Page',
'ref_id' => '348',
'type' => 'pic',
'file' => '/img/uploads/Marche_verte.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/Marche_verte.jpg'
),
(int) 1 => array(
'id' => '1364',
'ref' => 'Page',
'ref_id' => '348',
'type' => 'pic',
'file' => '/img/uploads/DSC_3116_Copie_Copie.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/DSC_3116_Copie_Copie.jpg'
),
(int) 2 => array(
'id' => '1365',
'ref' => 'Page',
'ref_id' => '348',
'type' => 'pic',
'file' => '/img/uploads/DSC_3116.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/DSC_3116.jpg'
),
(int) 3 => array(
'id' => '1366',
'ref' => 'Page',
'ref_id' => '348',
'type' => 'pic',
'file' => '/img/uploads/DSC_3118.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/DSC_3118.jpg'
),
(int) 4 => array(
'id' => '1367',
'ref' => 'Page',
'ref_id' => '348',
'type' => 'pic',
'file' => '/img/uploads/DSC_3122.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/DSC_3122.jpg'
),
(int) 5 => array(
'id' => '1368',
'ref' => 'Page',
'ref_id' => '348',
'type' => 'pic',
'file' => '/img/uploads/DSC_3125.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/DSC_3125.jpg'
),
(int) 6 => array(
'id' => '1369',
'ref' => 'Page',
'ref_id' => '348',
'type' => 'pic',
'file' => '/img/uploads/DSC_3138.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/DSC_3138.jpg'
),
(int) 7 => array(
'id' => '1370',
'ref' => 'Page',
'ref_id' => '348',
'type' => 'pic',
'file' => '/img/uploads/DSC_3140.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/DSC_3140.jpg'
),
(int) 8 => array(
'id' => '1371',
'ref' => 'Page',
'ref_id' => '348',
'type' => 'pic',
'file' => '/img/uploads/DSC_3141.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/DSC_3141.jpg'
),
(int) 9 => array(
'id' => '1373',
'ref' => 'Page',
'ref_id' => '348',
'type' => 'pic',
'file' => '/img/uploads/DSC_3149.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/DSC_3149.jpg'
)
),
'Prive' => array(),
'Depart' => array(
(int) 0 => array(
'id' => '1356',
'ref' => 'Page',
'ref_id' => '348',
'type' => 'pdf',
'file' => '/img/uploads/LISTE_DES_DEPARTS_1ER_GROUPE_A_12H00.pdf',
'name' => 'Liste departs 2eme Groupe',
'nature' => 'depart',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
),
(int) 1 => array(
'id' => '1357',
'ref' => 'Page',
'ref_id' => '348',
'type' => 'pdf',
'file' => '/img/uploads/LISTE_DES_DEPARTS_2EME_GROUPE_A_15H00.pdf',
'name' => 'Liste departs 1er Gourpe',
'nature' => 'depart',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
)
),
'Resultat' => array(
(int) 0 => array(
'id' => '1361',
'ref' => 'Page',
'ref_id' => '348',
'type' => 'pdf',
'file' => '/img/uploads/RESULTATS_BRUT_LA_MARCHE_VERTE.pdf',
'name' => 'Résultats Brut Coupe de la Marche verte',
'nature' => 'resultat',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
),
(int) 1 => array(
'id' => '1362',
'ref' => 'Page',
'ref_id' => '348',
'type' => 'pdf',
'file' => '/img/uploads/RESULTATS_NET_LA_MARCHE_VERTE.pdf',
'name' => 'Résultats Net Coupe de la Marche Verte',
'nature' => 'resultat',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
)
),
'Partie' => array(
(int) 0 => array(
'id' => '174',
'tee' => '1',
'heure_depart' => '12:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'id' => '175',
'tee' => '2',
'heure_depart' => '12:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'id' => '176',
'tee' => '3',
'heure_depart' => '12:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'id' => '177',
'tee' => '4',
'heure_depart' => '12:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'id' => '178',
'tee' => '5',
'heure_depart' => '12:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'id' => '179',
'tee' => '6',
'heure_depart' => '12:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 6 => array(
'id' => '180',
'tee' => '7',
'heure_depart' => '12:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 7 => array(
'id' => '181',
'tee' => '8',
'heure_depart' => '12:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 8 => array(
'id' => '182',
'tee' => '9',
'heure_depart' => '12:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 9 => array(
'id' => '183',
'tee' => '1',
'heure_depart' => '15:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 10 => array(
'id' => '184',
'tee' => '1',
'heure_depart' => '15:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 11 => array(
'id' => '185',
'tee' => '2',
'heure_depart' => '15:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 12 => array(
'id' => '186',
'tee' => '3',
'heure_depart' => '15:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 13 => array(
'id' => '187',
'tee' => '3',
'heure_depart' => '15:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 14 => array(
'id' => '188',
'tee' => '4',
'heure_depart' => '15:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 15 => array(
'id' => '189',
'tee' => '5',
'heure_depart' => '15:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 16 => array(
'id' => '190',
'tee' => '5',
'heure_depart' => '15:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 17 => array(
'id' => '191',
'tee' => '6',
'heure_depart' => '15:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 18 => array(
'id' => '192',
'tee' => '7',
'heure_depart' => '15:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 19 => array(
'id' => '193',
'tee' => '8',
'heure_depart' => '15:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 20 => array(
'id' => '194',
'tee' => '9',
'heure_depart' => '15:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
),
(int) 21 => array(
'id' => '195',
'tee' => '9',
'heure_depart' => '15:00:00',
'competition_id' => '348',
'created' => '2019-11-05 15:24:30',
'modified' => '2019-11-05 15:24:30',
'User' => array(
[maximum depth reached]
)
)
)
)
PagesController::single() - APP/Controller/PagesController.php, line 46
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 107