Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
12694 anikendra 1
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2
 
3
class Statics extends MY_Controller {
4
 
5
public $layoutName ='';
6
 
7
  public function __construct() {
8
    // Call the CI_controller constructor
9
    parent::__construct();
10
    $this->layout->setlayout('layout/layout_main');
11
    $this->layoutName= $this->layout->getLayout();
12
    $this->layoutName =substr($this->layoutName , 0, strrpos($this->layoutName , "/")).'/';
13
  }
14
 
15
  public function insuranceterms(){
16
    $this->lessphp->object()->ccompile('assets/css/recharge.less','assets/css/recharge.css');
17
    $data['stylesheet'] = 'recharge.css';
18
    $data['title'] = 'Theft Insurance - Terms and Conditions';
19
    $this->layout->view('statics/insuranceterms',$data);
20
  }
21
 
22
  public function invalidoffer(){
23
    $this->lessphp->object()->ccompile('assets/css/recharge.less','assets/css/recharge.css');
24
    $data['stylesheet'] = 'recharge.css';
25
    $data['title'] = 'Expired Offer';
26
    $this->layout->view('statics/invalidoffer',$data);
27
  }
28
}
29
 
30
/* End of file statics.php */
31
/* Location: ./application/widgets/controllers/statics.php */