<?php /* # ---------------------------------------------------------------------- # HOME: CONTROL # ---------------------------------------------------------------------- */ /* --- CONSTRUCT CLASS --- */ $_get = new BLOG_GET(); $_update = new BLOG_UPDATE(); /* --- SLIDESHOW --- */ $count_slideshow = $_get->count_slideshow(); $get_slideshow = $_get->get_slideshows(); $get_our_philosophy = $_get->get_home_slideshows(); $data_our_philosophy = ''; if (!empty($get_our_philosophy[0]->textarea)) { $data_our_philosophy = json_decode($get_our_philosophy[0]->textarea); } // var_dump($data_our_philosophy); // die; $countService = $_get->countService(); if ($countService->rows > 0) { $getService = $_get->getService(); }