Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Statics extends MY_Controller {

public $layoutName ='';
  
  public function __construct() {
    // Call the CI_controller constructor
    parent::__construct();
    $this->layout->setlayout('layout/layout_main');
    $this->layoutName= $this->layout->getLayout();
    $this->layoutName =substr($this->layoutName , 0, strrpos($this->layoutName , "/")).'/';
  }
  
  public function insuranceterms(){
    $this->lessphp->object()->ccompile('assets/css/recharge.less','assets/css/recharge.css');
    $data['stylesheet'] = 'recharge.css';
    $data['title'] = 'Theft Insurance - Terms and Conditions';
    $this->layout->view('statics/insuranceterms',$data);
  }

  public function invalidoffer(){
    $this->lessphp->object()->ccompile('assets/css/recharge.less','assets/css/recharge.css');
    $data['stylesheet'] = 'recharge.css';
    $data['title'] = 'Expired Offer';
    $this->layout->view('statics/invalidoffer',$data);
  }
}

/* End of file statics.php */
/* Location: ./application/widgets/controllers/statics.php */