Beispiel #1
0
 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));
 }
Beispiel #2
0
 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));
 }
Beispiel #3
0
 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));
 }
Beispiel #4
0
 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));
 }