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 = 'horaires-restaurants-rgam'
$p = array(
'Page' => array(
'id' => '448',
'domain' => 'casablanca',
'menu_id' => '3',
'submenu_id' => null,
'type' => '',
'name' => 'HORAIRES RESTAURANTS RGAM',
'slug' => 'horaires-restaurants-rgam',
'date_page' => '2021-05-27',
'date_page_end' => null,
'terrain_competition' => '',
'type_competition' => '',
'tag' => '',
'description' => '',
'content' => '<p>Suite à l’allègement par les autorités des mesures sanitaires, nous informons nos chers membres, que les nouvelles horaires des restaurants sont comme suit :</p>
<p>Restaurant d’Anfa :</p>
<ul>
<li>De 12h00 à 16h00 : Service déjeuner au restaurant</li>
<li>De 16h00 à 19h00 : Service Sandwich et pizza</li>
<li>De 19h à 22h00 : Service Dîner au restaurant (dernière commande à 22h)</li>
</ul>
<p>Restaurant de Mohammedia :</p>
<ul>
<li>De 7h00 à 20h00 : Service Continu</li>
<li>De 20h00 à 22h00 : Service Sandwich et pizza (dernière commande à 21h30)</li>
</ul>
<p>Nous vous rappelons que les bars sont fermés toute la journée.</p>
',
'a_la_une' => '0',
'evenement_type_paiement' => '',
'publish_depart' => '0',
'publish_resultat' => '0',
'resultat' => '',
'position' => '0',
'media_id' => '1697',
'view_name' => '',
'created' => '2021-05-27 12:06:15',
'modified' => '2021-06-22 10:08:12',
'thumb' => '/img/uploads/h.jpg'
),
'Menu' => array(
'id' => '3',
'domain' => 'casablanca',
'name' => 'LA VIE DU CLUB',
'color' => '',
'link' => '',
'type' => 'header'
),
'Thumb' => array(
'id' => '1697',
'ref' => 'Page',
'ref_id' => '448',
'type' => 'pic',
'file' => '/img/uploads/h.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/h.jpg'
),
'Gallery' => array(
(int) 0 => array(
'id' => '1697',
'ref' => 'Page',
'ref_id' => '448',
'type' => 'pic',
'file' => '/img/uploads/h.jpg',
'name' => '',
'nature' => 'gallery',
'competition' => '0',
'position' => '0',
'icon' => '/img/uploads/h.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