public function post($id = NULL) { // Getting data $website = WebsiteManagement::get_website(); $menu = PageManagement::get_pages(); $post = BlogManagement::get_post($id); $this->load->view('front/header', array('website' => $website)); $this->load->view('front/blog_post', array('menu' => $menu, 'post' => $post)); $this->load->view('front/footer', array('website' => $website)); }
public function index() { // Getting data $website = WebsiteManagement::get_website(); $menu = PageManagement::get_pages(); $portfolio = PortfolioManagement::get_portfolio(); PageManagement::add_visit(3); $this->load->view('front/header', array('website' => $website)); $this->load->view('front/portfolio_content', array('website' => $website, 'menu' => $menu, 'portfolio' => $portfolio)); $this->load->view('front/footer', array('website' => $website)); }
public function index() { // Getting data $website = WebsiteManagement::get_website(); $menu = PageManagement::get_pages(); PageManagement::add_visit(5); $this->load->view('front/header', array('website' => $website)); $this->load->view('front/menu', array('menu' => $menu)); $this->load->view('front/contact_content', array()); $this->load->view('front/footer', array('website' => $website)); }
public function index() { // Getting data $website = WebsiteManagement::get_website(); $menu = PageManagement::get_pages(); $slider = SliderManagement::get_slider(); PageManagement::add_visit(2); $this->load->view('front/header', array('website' => $website)); $this->load->view('front/menu', array('menu' => $menu)); $this->load->view('front/who_are_we', array('website' => $website)); $this->load->view('front/footer', array('website' => $website)); }