Welcome Guest, Not a member yet? Register   Sign In
Controller problem : cannot load it's index automatically
#3

[eluser]anggie[/eluser]
Sure...
Code:
<?php
class Admin extends Controller{
    function Admin(){
      parent::Controller();
      $this->load->plugin('captcha');
      $this->load->library('auth');
    }
    function index()
    {
      $this->template->write_view('nav','common/nav');
      $this->template->write_view('content','admin/menu');
      $this->template->write_view('sidebar','common/sidebar');
      $this->template->render();
    }
Thanks for fast reply...


Messages In This Thread
Controller problem : cannot load it's index automatically - by El Forum - 08-28-2008, 07:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB