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 = '4ème-etape-du-007-golf-tour-le-samedi-12-juin-2021'
$p = array(
'Page' => array(
'id' => '449',
'domain' => 'casablanca',
'menu_id' => '4',
'submenu_id' => null,
'type' => '',
'name' => '4ème ETAPE DU 007 GOLF TOUR LE SAMEDI 12 JUIN 2021',
'slug' => '4ème-etape-du-007-golf-tour-le-samedi-12-juin-2021',
'date_page' => '2021-06-21',
'date_page_end' => '2021-06-21',
'terrain_competition' => 'Mohammedia',
'type_competition' => 'individuelle',
'tag' => 'adultes',
'description' => '',
'content' => '<p>La Commission sportive du RGAM est heureuse de vous annoncer l'organisation de la 4ème étape du 007 Golf tour le Samedi 12 Juin sur le parcours de Mohammedia. Inscrivez vous en ligne en cliquant sur le lien : http://rgam.ma/4%C3%A8me-etape-du-007-golf-tour-le-samedi-12-juin-2021 ou contactez : Noura.rgm@gmail.com</p>
',
'a_la_une' => '0',
'evenement_type_paiement' => '',
'publish_depart' => '1',
'publish_resultat' => '1',
'resultat' => '',
'position' => '0',
'media_id' => '1713',
'view_name' => '',
'created' => '2021-06-04 10:25:06',
'modified' => '2021-06-15 11:22:27',
'thumb' => '/img/uploads/bf539043_1cef_4da8_9e7f_2c8296df355d.jpg'
),
'Menu' => array(
'id' => '4',
'domain' => 'casablanca',
'name' => 'COMPÉTITIONS',
'color' => '',
'link' => '',
'type' => 'header'
),
'Thumb' => array(
'id' => '1713',
'ref' => 'Page',
'ref_id' => '449',
'type' => 'pic',
'file' => '/img/uploads/bf539043_1cef_4da8_9e7f_2c8296df355d.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/bf539043_1cef_4da8_9e7f_2c8296df355d.jpg'
),
'Gallery' => array(
(int) 0 => array(
'id' => '1713',
'ref' => 'Page',
'ref_id' => '449',
'type' => 'pic',
'file' => '/img/uploads/bf539043_1cef_4da8_9e7f_2c8296df355d.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/bf539043_1cef_4da8_9e7f_2c8296df355d.jpg'
)
),
'Prive' => array(),
'Depart' => array(
(int) 0 => array(
'id' => '1715',
'ref' => 'Page',
'ref_id' => '449',
'type' => 'pdf',
'file' => '/img/uploads/2021_06_12_T1_DEPARTS_HORAIRES.pdf',
'name' => '',
'nature' => 'depart',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
)
),
'Resultat' => array(
(int) 0 => array(
'id' => '1716',
'ref' => 'Page',
'ref_id' => '449',
'type' => 'pdf',
'file' => '/img/uploads/RESULTATS_BRUT_1ER_TOUR_1ERE_SERIE_MIXTE-1.pdf',
'name' => '',
'nature' => 'resultat',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
),
(int) 1 => array(
'id' => '1717',
'ref' => 'Page',
'ref_id' => '449',
'type' => 'pdf',
'file' => '/img/uploads/RESULTATS_BRUT_1ER_TOUR_2EME_SERIE_MIXTE-2.pdf',
'name' => '',
'nature' => 'resultat',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
),
(int) 2 => array(
'id' => '1718',
'ref' => 'Page',
'ref_id' => '449',
'type' => 'pdf',
'file' => '/img/uploads/RESULTATS_BRUT_1ER_TOUR_SERIE_ELITE_MIXTE-1.pdf',
'name' => '',
'nature' => 'resultat',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
),
(int) 3 => array(
'id' => '1719',
'ref' => 'Page',
'ref_id' => '449',
'type' => 'pdf',
'file' => '/img/uploads/RESULTATS_NET_1ER_TOUR_1ERE_SERIE_MIXTE-1.pdf',
'name' => '',
'nature' => 'resultat',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
),
(int) 4 => array(
'id' => '1720',
'ref' => 'Page',
'ref_id' => '449',
'type' => 'pdf',
'file' => '/img/uploads/RESULTATS_NET_1ER_TOUR_2EME_SERIE_MIXTE-2.pdf',
'name' => '',
'nature' => 'resultat',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
),
(int) 5 => array(
'id' => '1721',
'ref' => 'Page',
'ref_id' => '449',
'type' => 'pdf',
'file' => '/img/uploads/RESULTATS_NET_1ER_TOUR_SERIE_ELITE_MIXTE-1.pdf',
'name' => '',
'nature' => 'resultat',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
)
),
'Partie' => array(
(int) 0 => array(
'id' => '444',
'tee' => '1',
'heure_depart' => '11:40:00',
'competition_id' => '449',
'created' => '2021-06-11 14:50:03',
'modified' => '2021-06-11 14:50:03',
'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