mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 14:41:59 +01:00
34 lines
687 B
PHP
34 lines
687 B
PHP
|
<?php
|
||
|
|
||
|
|
||
|
class ControllerMessageDl extends Controller {
|
||
|
|
||
|
public function index(){
|
||
|
|
||
|
$this->id = "content";
|
||
|
$this->template = "message/headers.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('message/restore');
|
||
|
|
||
|
$session = Registry::get('session');
|
||
|
$a = $session->get('last_search');
|
||
|
if($a) {
|
||
|
$a = unserialize($a);
|
||
|
}
|
||
|
|
||
|
$idlist = $this->model_search_search->check_your_permission_by_id_list($a);
|
||
|
print implode(",", $idlist);
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|