mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 19:41:59 +01:00
31 lines
553 B
PHP
31 lines
553 B
PHP
|
<?php
|
||
|
|
||
|
|
||
|
class ControllerSearchLoad extends Controller {
|
||
|
private $error = array();
|
||
|
|
||
|
|
||
|
public function index(){
|
||
|
|
||
|
$this->id = "content";
|
||
|
$this->template = "search/load.tpl";
|
||
|
$this->layout = "common/layout-empty";
|
||
|
|
||
|
|
||
|
$request = Registry::get('request');
|
||
|
$db = Registry::get('db');
|
||
|
|
||
|
$this->load->model('search/search');
|
||
|
$this->load->model('search/message');
|
||
|
$this->load->model('user/user');
|
||
|
|
||
|
$this->data['terms'] = $this->model_search_search->get_search_terms();
|
||
|
|
||
|
$this->render();
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
?>
|