1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?php Class CodeController Extends baseController { //protected $_navig = array('name'=>"info"); public function index() { $data_code = trim($this->getParam['code']); $code = new Code($this->lang); $id = $code->getID_code($data_code); $this->tpl->assign('code_id',$id); } } ?>