Revision 1957 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed
<?phpclass Herstellerkatalog extends CI_Controller{public function __construct(){parent::__construct();$this->load->model('herstellerkatalog_model', 'herstellerkatalog');$robots = array("index,follow","index,nofollow","noindex,follow","noindex,nofollow",);$this->smarty->assign('robots', $robots);}public function index(){$hersteller = $this->herstellerkatalog->get_list();$this->smarty->assign('title', 'Herstellerliste');$this->smarty->assign('hersteller', $hersteller);$this->smarty->view('herstellerkatalog.tpl');}public function edit($id = null){$hst = array();if ($id){$hst = $this->herstellerkatalog->get($id);}$this->smarty->assign('daten', $hst);$this->smarty->view('single_hersteller.tpl');}}