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 = 'inter-club-juniors-rgam-sur-le-parcours-de-mohammedia-samedi-22-juin-2019'
$p = array(
'Page' => array(
'id' => '308',
'domain' => 'casablanca',
'menu_id' => '4',
'submenu_id' => null,
'type' => '',
'name' => 'INTER CLUB JUNIORS RGAM SUR LE PARCOURS DE MOHAMMEDIA SAMEDI 22 JUIN 2019',
'slug' => 'inter-club-juniors-rgam-sur-le-parcours-de-mohammedia-samedi-22-juin-2019',
'date_page' => '2019-06-22',
'date_page_end' => '2019-06-22',
'terrain_competition' => '',
'type_competition' => 'individuelle',
'tag' => 'juniors',
'description' => '',
'content' => '<p>L'Interclub Junior RGAM a eu lieu ce Samedi 22 Juin 2019 sur le parcours de Mohammedia C est dans une très belle ambiance que s'est déroulée la compétition réservée pour nos jeunes golfeuses et golfeurs. Voici quelques images de cette merveilleuse rencontre.<br />
Nous remercions l'ensemble du staff Anfa et Mohammedia pour leur excellent travail.</p>
',
'a_la_une' => '0',
'evenement_type_paiement' => '',
'publish_depart' => '0',
'publish_resultat' => '1',
'resultat' => '',
'position' => '0',
'media_id' => '1215',
'view_name' => '',
'created' => '2019-06-24 09:24:44',
'modified' => '2019-08-28 11:56:13',
'thumb' => '/img/uploads/64818447_1257330014447057_5461504126108041216_n.jpg'
),
'Menu' => array(
'id' => '4',
'domain' => 'casablanca',
'name' => 'COMPÉTITIONS',
'color' => '',
'link' => '',
'type' => 'header'
),
'Thumb' => array(
'id' => '1215',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pic',
'file' => '/img/uploads/64818447_1257330014447057_5461504126108041216_n.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/64818447_1257330014447057_5461504126108041216_n.jpg'
),
'Gallery' => array(
(int) 0 => array(
'id' => '1205',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pic',
'file' => '/img/uploads/65461660_1257329534447105_2149076428031787008_n.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/65461660_1257329534447105_2149076428031787008_n.jpg'
),
(int) 1 => array(
'id' => '1206',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pic',
'file' => '/img/uploads/64989346_1257329557780436_8969176154082639872_n.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/64989346_1257329557780436_8969176154082639872_n.jpg'
),
(int) 2 => array(
'id' => '1209',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pic',
'file' => '/img/uploads/65076644_1257329674447091_982747878067798016_n.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/65076644_1257329674447091_982747878067798016_n.jpg'
),
(int) 3 => array(
'id' => '1211',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pic',
'file' => '/img/uploads/65232694_1257329811113744_8101776992912801792_n.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/65232694_1257329811113744_8101776992912801792_n.jpg'
),
(int) 4 => array(
'id' => '1212',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pic',
'file' => '/img/uploads/65190108_1257329837780408_2902441411469115392_n.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/65190108_1257329837780408_2902441411469115392_n.jpg'
),
(int) 5 => array(
'id' => '1213',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pic',
'file' => '/img/uploads/65110132_1257329871113738_4292304759873863680_n.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/65110132_1257329871113738_4292304759873863680_n.jpg'
),
(int) 6 => array(
'id' => '1214',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pic',
'file' => '/img/uploads/64783309_1257329961113729_2689922499767959552_n.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/64783309_1257329961113729_2689922499767959552_n.jpg'
),
(int) 7 => array(
'id' => '1215',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pic',
'file' => '/img/uploads/64818447_1257330014447057_5461504126108041216_n.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/64818447_1257330014447057_5461504126108041216_n.jpg'
),
(int) 8 => array(
'id' => '1216',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pic',
'file' => '/img/uploads/65115075_1257330091113716_2881197807438397440_n.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/65115075_1257330091113716_2881197807438397440_n.jpg'
),
(int) 9 => array(
'id' => '1217',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pic',
'file' => '/img/uploads/65169123_1257330164447042_4087164189670375424_n.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/65169123_1257330164447042_4087164189670375424_n.jpg'
),
(int) 10 => array(
'id' => '1218',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pic',
'file' => '/img/uploads/65453515_1257330237780368_5726057739126308864_n.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/65453515_1257330237780368_5726057739126308864_n.jpg'
),
(int) 11 => array(
'id' => '1219',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pic',
'file' => '/img/uploads/65200271_1257330331113692_958807421122248704_n.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/65200271_1257330331113692_958807421122248704_n.jpg'
)
),
'Prive' => array(),
'Depart' => array(),
'Resultat' => array(
(int) 0 => array(
'id' => '1248',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pdf',
'file' => '/img/uploads/RESULTATS_BRUT_1ER_TOUR_11_12_A_9.pdf',
'name' => '',
'nature' => 'resultat',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
),
(int) 1 => array(
'id' => '1249',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pdf',
'file' => '/img/uploads/RESULTATS_BRUT_1ER_TOUR_8_10_A.pdf',
'name' => '',
'nature' => 'resultat',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
),
(int) 2 => array(
'id' => '1250',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pdf',
'file' => '/img/uploads/RESULTATS_NET_1ER_TOUR_8_10_A.pdf',
'name' => '',
'nature' => 'resultat',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
),
(int) 3 => array(
'id' => '1251',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pdf',
'file' => '/img/uploads/RESULTATS_BRUT_1ER_TOUR_13_14_A.pdf',
'name' => '',
'nature' => 'resultat',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
),
(int) 4 => array(
'id' => '1252',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pdf',
'file' => '/img/uploads/RESULTATS_BRUT_1ER_TOUR_15_18_A.pdf',
'name' => '',
'nature' => 'resultat',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
),
(int) 5 => array(
'id' => '1253',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pdf',
'file' => '/img/uploads/RESULTATS_NET_1ER_TOUR_11_12_A.pdf',
'name' => '',
'nature' => 'resultat',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
),
(int) 6 => array(
'id' => '1254',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pdf',
'file' => '/img/uploads/RESULTATS_NET_1ER_TOUR_13_14_A.pdf',
'name' => '',
'nature' => 'resultat',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
),
(int) 7 => array(
'id' => '1255',
'ref' => 'Page',
'ref_id' => '308',
'type' => 'pdf',
'file' => '/img/uploads/RESULTATS_NET_1ER_TOUR_15_18_A.pdf',
'name' => '',
'nature' => 'resultat',
'competition' => '1',
'position' => '0',
'icon' => 'Media.pdf.png'
)
),
'Partie' => array()
)
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