implemented admin/user search

This commit is contained in:
Serghey Rodin 2012-10-01 17:29:49 +03:00
commit b1c9568248
60 changed files with 789 additions and 144 deletions

View file

@ -3,6 +3,7 @@
error_reporting(NULL);
session_start();
$TAB = 'CRON';
$_SESSION['back'] = $_SERVER['REQUEST_URI'];
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
// Header
@ -19,7 +20,6 @@ if ($_SESSION['user'] == 'admin') {
unset($output);
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_cron.html');
} else {
exec (VESTA_CMD."v_list_cron_jobs $user json", $output, $return_var);
$data = json_decode(implode('', $output), true);
$data = array_reverse($data);