<?php
class viewweb{
    function newweb(){
        include "view/fungsi/fung_tmp.php";
	    include "view/fungsi/fungsi_combobox.php";
	    include "view/fungsi/class_paging.php";
	    include "konfig/dbconnect.php";
	    include "view/fungsi/library.php";
	    include "view/fungsi/fungsi_indotgl.php";
        include "view/fungsi/fungsi_db.php";
        include "controller/security.php";
        include "controller/proses.php";
        include "model/viewmenu.php";
        include "model/viewuser.php";
        include "model/viewlevel.php";
        include "model/viewcetak.php";
        include "model/viewpengumuman.php";
        //include "model/viewpesan.php";
        include "model/viewnotifikasi.php";
        include "model/viewproduk.php";
        include "model/proseslogin.php";
        include "model/viewpetugas.php";
        include "model/viewkategori.php";
        include "model/viewbrand.php";
        include "model/viewgambar.php";
        include "model/viewpost.php";
        include "model/viewpage.php";
        include "model/viewmenuweb.php";
        include "model/viewslider.php";
        include "model/viewfront.php";
        include "model/viewgaleri.php";
        include "model/viewkatgaleri.php";
        include "model/viewkatlist.php";
        include "model/viewlist.php";
    }
    
    function header($user){
        if(isset($user)){
            include 'view/part/header.php';
        }
    }
    
    function footer($user){
        if(isset($user)){
            include 'view/part/footer.php';
        }
    }
    
    function sidebar(){
        include 'view/part/sidebar.php';
    }
    
    function form(){
        include 'view/part/form.php';
    }
      
}


