Posted By

bhasunjaya on 06/23/11


Tagged


Versions (?)

test


 / Published in: PHP
 

  1. class dealer extends Controller {
  2.  
  3. function dealer()
  4. {
  5. parent::Controller();
  6. $this->load->model('dealer_model','dealer');
  7.  
  8. $this->load->model('faq_model','faq');
  9. $this->load->helper('quickstuff');
  10. insert_log();
  11. }
  12.  
  13. function index(){
  14. $template['pageTitle'] = "dealer aora | ";
  15. // breadcrumbs
  16. $template['breadCrumbs'] = true;
  17. $template['breadCrumbsColor'] = "bgrBpurple"; //bgrBgreen, bgrBCyan
  18. $template['breadCrumbsText'] = '<a href="' . base_url() . '">Beranda</a> &gt; Tentang aora &gt; <span class="here">FAQ</span>';
  19.  
  20. $parsedData['itemData'] = $this->dealer->getAllItems();
  21.  
  22.  
  23. $this->load->view('dealer/list',$parsedData);
  24. }

Report this snippet  

You need to login to post a comment.