shop.balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

search.php (399B)


      1 <?php
      2 class ControllerCommonSearch extends Controller {
      3 	public function index() {
      4 		$this->load->language('common/search');
      5 
      6 		$data['text_search'] = $this->language->get('text_search');
      7 
      8 		if (isset($this->request->get['search'])) {
      9 			$data['search'] = $this->request->get['search'];
     10 		} else {
     11 			$data['search'] = '';
     12 		}
     13 
     14 		return $this->load->view('common/search', $data);
     15 	}
     16 }