getConnection(); } $settings = new Settings($db); $business = new Business($db); $page = new Page($db); $page->readOne($page_title); // CHECK IF WEBSITE IS IN MAINTENANCE MODE OR PAGE IS OFFLINE if (!isset($_SESSION) || !isset($_SESSION['logged_in']) || !isset($_SESSION['access_level'])) { if (empty($_SESSION['logged_in']) || $_SESSION['access_level'] != "Admin") { // Website Maintenance if ($settings->maintenance == 1) { //echo 'Website em manutenção!'; include "manutencao.php"; die(); } // Page Status if ($page->status == 0) { //echo 'Página não disponível de momento!!!'; include "indisponivel.php"; die(); } } } // CHECK IF WEBSITE IS IN MAINTENANCE MODE OR PAGE IS OFFLINE // INCLUDE OBJECTS CLASSES - NEWS include "config/objects/product.php"; include "config/objects/product_category.php"; include "config/objects/product_sub_category.php"; include "config/objects/product_sub_sub_category.php"; $products = new Product($db); $total_products = $products->countAll(); $products_categories = new ProductCategory($db); $total_products_categories = $products_categories->countAll(); $products_sub_categories = new ProductSubCategory($db); $total_products_sub_categories = $products_sub_categories->countAll(); $products_sub_sub_categories = new ProductSubSubCategory($db); $total_products_sub_sub_categories = $products_sub_sub_categories->countAll(); // INCLUDE OBJECTS CLASSES - NEWS include "config/objects/news.php"; include "config/objects/news_category.php"; $news = new News($db); $total_news = $news->countAll(); $news_cat = new NewsCategory($db); $total_news_cat = $news_cat->countAll(); //echo "

$total_news

"; //echo "

$total_news_cat

"; // INCLUDE OBJECTS CLASSES - TESTIMONILAS include "config/objects/testimonial.php"; $testimonials = new Testimonial($db); $total_testimonials = $testimonials->countAll(); //echo "

$total_testimonials

"; // INCLUDE OBJECTS CLASSES - TESTIMONILAS include "config/objects/works.php"; $works = new Works($db); $total_works = $works->countAll(); $get_works = $works->readAllASC(); // echo "

$total_works

"; ?>

Slider element

Categorias em Destaque

Nós apenas mantemos as coisas mínimas. Ver Todas

readAll(); ?> fetch(PDO::FETCH_ASSOC)) : ?>