mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:27:03 +02:00
added download all hits feature
This commit is contained in:
33
webui/controller/message/dl.php
Normal file
33
webui/controller/message/dl.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user