Subversion Repositories SmartDukaan

Rev

Rev 11590 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
11588 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
  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
 
23
/* End of file welcome.php */
24
/* Location: ./application/controllers/welcome.php */