require_once BX_DIRECTORY_PATH_INC . 'admin_design.inc.php'; bx_import('BxDolDatabaseBackup'); bx_import('BxTemplFormView'); $logged['admin'] = member_auth(1, true, true); set_time_limit(36000); $aEnabledDbAction = array('perform' => 1); $oZ = new BxDolAlerts('system', 'admin_db_backup_actions', 0, 0, array('actions' => &$aEnabledDbAction)); $oZ->alert(); $sStatusText = $sStatusTextRestore = ''; if (isset($aEnabledDbAction['perform'])) { list($sStatusText, $sStatusTextRestore) = getActionResultBlock(); } $sRestoreC = _t('_adm_dbtools_Database_restore'); $sTablesBackupToolsBlock = getTablesBackupTools($sStatusText); $sDatabaseBackupToolsBlock = DatabaseBackupTools($sStatusText); $sDatabaseRestoreBlock = getDatabaseRestoreBlock($sStatusText); $sBoxContent = <<<EOF <style> div.hidden { display:none; } </style> <script type="text/javascript"> <!-- function switchAdmPage(oLink) { var sType = \$(oLink).attr('id').replace('main_menu', ''); var sName = '#page' + sType; \$(oLink).parent('.notActive').hide().siblings('.notActive:hidden').show().siblings('.active').hide().siblings('#' + \$(oLink).attr('id') + '-act').show(); \$(sName).siblings('div:visible').bx_anim('hide', 'fade', 'slow', function(){
* see license.txt file; if not, write to marketing@boonex.com ***************************************************************************/ require_once '../inc/header.inc.php'; require_once BX_DIRECTORY_PATH_INC . 'design.inc.php'; require_once BX_DIRECTORY_PATH_INC . 'admin_design.inc.php'; bx_import('BxDolDatabaseBackup'); bx_import('BxTemplFormView'); $logged['admin'] = member_auth(1, true, true); set_time_limit(36000); list($sStatusText, $sStatusTextRestore) = getActionResultBlock(); $sTablesC = _t('_adm_dbtools_Tables_backup_tools'); $sDatabaseC = _t('_adm_dbtools_Database_backup_tools'); $sRestoreC = _t('_adm_dbtools_Database_restore'); $sTablesBackupToolsBlock = getTablesBackupTools($status_text); $sDatabaseBackupToolsBlock = DatabaseBackupTools($status_text); $sDatabaseRestoreBlock = getDatabaseRestoreBlock($status_text); $sBoxContent = <<<EOF <style> \tdiv.hidden { \t\tdisplay:none; \t} </style> <script type="text/javascript"> \t<!-- \tfunction switchAdmPage(iPageID) { \t\t//make all tabs - inactive \t\t//mace selected tab - active \t\t//hide all pages \t\t//show selected page \t\t\$(".dbTopMenu").children().removeClass().toggleClass("notActive");