Welcome Guest, Not a member yet? Register   Sign In
upgrade from 1.4.x to 2.1.2 Error
#3

[eluser]Grego606[/eluser]
Code:
<?php

class Home extends CI_Controller {
  //The constructor
   public function __construct() {
    parent::__construct();
   }

function index()
{
  $this->load->model('songs_model');

  $data['song'] = $this->songs_model->get_random();

  $this->load->view('../../templates/homepage', $data);
}

function licensing()
{
  // test browser: firefox not able to display pdf's
  $this->load->view('../../templates/licensing');
}

function aboutus()
{
  $this->load->view('../../templates/aboutus');
}

/* bonus pages */
function styxii()
{
  $this->load->view('../../templates/includes/head');
  
  $this->load->view('../../templates/albumPages/styxii');
  
  $this->load->view('../../templates/includes/footer');
  $this->load->view('../../templates/includes/analytics');
}

  function gloria()
{
  $this->load->view('../../templates/includes/head');
  
  $this->load->view('../../templates/albumPages/gloria');
  
  $this->load->view('../../templates/includes/footer');
  $this->load->view('../../templates/includes/analytics');
}

  function bestofAB()
{
  $this->load->view('../../templates/includes/head');
  
  $this->load->view('../../templates/albumPages/bestofAB');
  
  $this->load->view('../../templates/includes/footer');
  $this->load->view('../../templates/includes/analytics');
}

  function crow()
{
  $this->load->view('../../templates/includes/head');
  
  $this->load->view('../../templates/albumPages/crow');
  
  $this->load->view('../../templates/includes/footer');
  $this->load->view('../../templates/includes/analytics');
}

  function zazu()
{
  $this->load->view('../../templates/includes/head');
  
  $this->load->view('../../templates/albumPages/zazu');
  
  $this->load->view('../../templates/includes/footer');
  $this->load->view('../../templates/includes/analytics');
}

  function manofMiricles()
{
  $this->load->view('../../templates/includes/head');
  
  $this->load->view('../../templates/albumPages/manofMiricles');
  
  $this->load->view('../../templates/includes/footer');
  $this->load->view('../../templates/includes/analytics');
}
  function test()
{
  $this->load->view('../../templates/includes/head');
  
  $this->load->view('../../templates/albumPages/test');
  
  $this->load->view('../../templates/includes/footer');
  $this->load->view('../../templates/includes/analytics');
}
function contactus()
{
  $this->load->view('../../templates/includes/head');
  
  $this->load->view('../../templates/contactus');
  
  $this->load->view('../../templates/includes/footer');
  $this->load->view('../../templates/includes/analytics');
}


}

/* End of file home.php */
/* Location: ./application/controllers/home.php */


Messages In This Thread
upgrade from 1.4.x to 2.1.2 Error - by El Forum - 10-03-2012, 10:17 PM
upgrade from 1.4.x to 2.1.2 Error - by El Forum - 10-04-2012, 01:20 AM
upgrade from 1.4.x to 2.1.2 Error - by El Forum - 10-04-2012, 04:28 AM
upgrade from 1.4.x to 2.1.2 Error - by El Forum - 10-04-2012, 04:55 AM
upgrade from 1.4.x to 2.1.2 Error - by El Forum - 10-04-2012, 12:52 PM
upgrade from 1.4.x to 2.1.2 Error - by El Forum - 10-05-2012, 01:18 AM
upgrade from 1.4.x to 2.1.2 Error - by El Forum - 10-05-2012, 08:25 AM
upgrade from 1.4.x to 2.1.2 Error - by El Forum - 10-05-2012, 08:29 AM
upgrade from 1.4.x to 2.1.2 Error - by El Forum - 10-05-2012, 09:18 AM
upgrade from 1.4.x to 2.1.2 Error - by El Forum - 10-05-2012, 09:49 AM
upgrade from 1.4.x to 2.1.2 Error - by El Forum - 10-05-2012, 03:41 PM
upgrade from 1.4.x to 2.1.2 Error - by El Forum - 10-05-2012, 07:50 PM
upgrade from 1.4.x to 2.1.2 Error - by El Forum - 10-07-2012, 03:50 PM
upgrade from 1.4.x to 2.1.2 Error - by El Forum - 10-09-2012, 10:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB