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 = 'retour-des-soirees-grillades-au-restaurant-d'anfa'
$p = array(
'Page' => array(
'id' => '639',
'domain' => 'casablanca',
'menu_id' => '3',
'submenu_id' => null,
'type' => null,
'name' => 'RETOUR DES SOIREES GRILLADES AU RESTAURANT D'ANFA',
'slug' => 'retour-des-soirees-grillades-au-restaurant-d'anfa',
'date_page' => '2025-05-20',
'date_page_end' => null,
'terrain_competition' => null,
'type_competition' => null,
'tag' => null,
'description' => '',
'content' => '<p>Cher(e)s membres,<br />
Nous avons le plaisir de vous annoncer le retour des soirées grillades, tous les vendredis et samedis soir au club !<br />
<strong>Au menu</strong></p>
<ul>
<li>Salade marocaine </li>
<li>Grillades au feu de bois</li>
<li> Fruits de saison</li>
</ul>
<p>Le tout dans une ambiance conviviale et chaleureuse, au tarif de<strong> 170 DH </strong>par personne. Pour vous garantir plus de choix, la carte habituelle du club sera également proposée.<br />
À très bientôt;</p>
',
'a_la_une' => '0',
'evenement_type_paiement' => null,
'publish_depart' => null,
'publish_resultat' => null,
'resultat' => null,
'position' => null,
'media_id' => '2211',
'view_name' => '',
'created' => '2025-05-20 10:25:19',
'modified' => '2025-10-01 17:03:06',
'thumb' => '/img/uploads/499241977_1427259348254388_3577790754534023301_n.jpg'
),
'Menu' => array(
'id' => '3',
'domain' => 'casablanca',
'name' => 'LA VIE DU CLUB',
'color' => '',
'link' => '',
'type' => 'header'
),
'Thumb' => array(
'id' => '2211',
'ref' => 'Page',
'ref_id' => '639',
'type' => 'pic',
'file' => '/img/uploads/499241977_1427259348254388_3577790754534023301_n.jpg',
'name' => null,
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/499241977_1427259348254388_3577790754534023301_n.jpg'
),
'Gallery' => array(
(int) 0 => array(
'id' => '2211',
'ref' => 'Page',
'ref_id' => '639',
'type' => 'pic',
'file' => '/img/uploads/499241977_1427259348254388_3577790754534023301_n.jpg',
'name' => null,
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/499241977_1427259348254388_3577790754534023301_n.jpg'
)
),
'Prive' => array(),
'Depart' => array(),
'Resultat' => array(),
'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