public function indexAction()
 {
     $File = new File();
     $Root = $_SERVER['DOCUMENT_ROOT'];
     $File->file_root = $Root . '/themes/admin/';
     $this->view->setVar('Themes', $File->lists());
     $File->file_root = $Root . '/webmis/themes/';
     $this->view->setVar('Webmis', $File->lists());
     $File->file_root = $Root . '/webmis/plugin/jquery/';
     $this->view->setVar('Jquery', $File->lists());
     $config = new ConfigIni(APP_PATH . 'config/config.ini');
     $this->view->setVar('Config', $config);
     $this->view->setVar('Lang', $this->inc->getLang('system/sys_config'));
     $this->view->setVar('LoadJS', array('system/sys_config.js'));
     // Menus
     $this->view->setVar('Menus', $this->inc->getMenus());
     $this->tag->prependTitle($this->inc->Ctitle);
     // View
     if ($this->session->get('IsMobile')) {
         $this->view->setTemplateAfter(APP_THEMES . '/main_m');
         $this->view->pick("system/config/index_m");
     } else {
         $this->view->setTemplateAfter(APP_THEMES . '/main');
         $this->view->pick("system/config/index");
     }
 }
 public function indexAction()
 {
     $File = new File();
     $File->file_root = $this->FileRoot;
     $this->view->setVar('Files', $File->lists(''));
     // Data
     $this->view->setVar('Lang', $this->inc->getLang('system/sys_db'));
     $this->view->setVar('LoadJS', array('system/sys_db_restore.js'));
     // Menus
     $this->view->setVar('Menus', $this->inc->getMenus());
     $this->tag->prependTitle($this->inc->Ctitle);
     // View
     if ($this->session->get('IsMobile')) {
         $this->view->setTemplateAfter(APP_THEMES . '/main_m');
         $this->view->pick("system/db/restore/index_m");
     } else {
         $this->view->setTemplateAfter(APP_THEMES . '/main');
         $this->view->pick("system/db/restore/index");
     }
 }
 public function indexAction()
 {
     $path = trim($this->request->getQuery('path'));
     $File = new File();
     $File->file_root = $this->FileRoot;
     $this->view->setVar('filelist', $File->lists($path));
     // Data
     $this->view->setVar('Lang', $this->inc->getLang('system/sys_file'));
     $this->view->setVar('LoadJS', array('system/sys_filemanager.js'));
     // Menus
     $this->view->setVar('Menus', $this->inc->getMenus());
     $this->tag->prependTitle($this->inc->Ctitle);
     // View
     if ($this->session->get('IsMobile')) {
         $this->view->setTemplateAfter(APP_THEMES . '/main_m');
         $this->view->pick("system/filemanager/index_m");
     } else {
         $this->view->setTemplateAfter(APP_THEMES . '/main');
         $this->view->pick("system/filemanager/index");
     }
 }