Subversion Repositories SmartDukaan

Rev

Rev 10841 | Rev 11032 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10841 Rev 11012
Line 28... Line 28...
28
    $cachemodule = array('header','footer');
28
    $cachemodule = array('header','footer');
29
    $configdata = getCache($configdata,$cachemodule);
29
    $configdata = getCache($configdata,$cachemodule);
30
    //end of get cache
30
    //end of get cache
31
    $this->lessphp->object()->ccompile('assets/css/recharge.less','assets/css/recharge.css');
31
    $this->lessphp->object()->ccompile('assets/css/recharge.less','assets/css/recharge.css');
32
    $data['stylesheet'] = 'recharge.css';
32
    $data['stylesheet'] = 'recharge.css';
-
 
33
    $data['title'] = 'Frequently asked quesitons | saholic.com';
33
    $data['response']=$this->faq_model->getHome($this->input->get(),$this->input->post(),$this->config->item('faq'));
34
    $data['response']=$this->faq_model->getHome($this->input->get(),$this->input->post(),$this->config->item('faq'));
34
    $this->layout->view('faq/faq_view',$data);
35
    $this->layout->view('faq/faq_view',$data);
35
  }
36
  }
36
  
37
  
37
  public function privacy(){
38
  public function privacy(){
Line 42... Line 43...
42
    $cachemodule = array('header','footer');
43
    $cachemodule = array('header','footer');
43
    $configdata = getCache($configdata,$cachemodule);
44
    $configdata = getCache($configdata,$cachemodule);
44
    //end of get cache
45
    //end of get cache
45
    $this->lessphp->object()->ccompile('assets/css/recharge.less','assets/css/recharge.css');
46
    $this->lessphp->object()->ccompile('assets/css/recharge.less','assets/css/recharge.css');
46
    $data['stylesheet'] = 'recharge.css';
47
    $data['stylesheet'] = 'recharge.css';
-
 
48
    $data['title'] = 'Privacy Policy | saholic.com';
47
    $data['response']=$this->faq_model->getHome($this->input->get(),$this->input->post(),$this->config->item('faq'));
49
    $data['response']=$this->faq_model->getHome($this->input->get(),$this->input->post(),$this->config->item('faq'));
48
    $this->layout->view('faq/privacy_policy',$data);
50
    $this->layout->view('faq/privacy_policy',$data);
49
  }
51
  }
50
  
52
  
51
  public function terms(){
53
  public function terms(){
Line 56... Line 58...
56
    $cachemodule = array('header','footer');
58
    $cachemodule = array('header','footer');
57
    $configdata = getCache($configdata,$cachemodule);
59
    $configdata = getCache($configdata,$cachemodule);
58
    //end of get cache
60
    //end of get cache
59
    $this->lessphp->object()->ccompile('assets/css/recharge.less','assets/css/recharge.css');
61
    $this->lessphp->object()->ccompile('assets/css/recharge.less','assets/css/recharge.css');
60
    $data['stylesheet'] = 'recharge.css';
62
    $data['stylesheet'] = 'recharge.css';
-
 
63
    $data['title'] = 'Terms & Conditions | saholic.com';
61
    $data['response']=$this->faq_model->getHome($this->input->get(),$this->input->post(),$this->config->item('faq'));
64
    $data['response']=$this->faq_model->getHome($this->input->get(),$this->input->post(),$this->config->item('faq'));
62
    $this->layout->view('faq/terms_conditions',$data);
65
    $this->layout->view('faq/terms_conditions',$data);
63
  }
66
  }
64
}
67
}
65
 
68