cacheFilesIndexes( $config_db ); if( defined( 'MOBILE' ) && $config['mobile'] === true ){ $oTpl->setPrefixBlock( 'MOBILE_', true ); $config['template'] = $config['template_mobile']; } $oFile = Files::getInstance( ); $oPage = Pages::getInstance( ); $content = null; $sTheme = null; $sBanner = null; $sKeywords = $config['keywords']; $sDescription = $config['description']; if( isset( $aActions ) && is_file( 'actions_client/'.$aActions['f'].'.php' ) ) require 'actions_client/'.$aActions['f'].'.php'; if( isset( $sTheme ) && !empty( $sTheme ) && is_file( DIR_THEMES.$sTheme ) ){ require DIR_THEMES.$sTheme; } else{ if( is_file( DIR_THEMES.$aActions['f'].'-'.$aActions['a'].'.php' ) ){ require DIR_THEMES.$aActions['f'].'-'.$aActions['a'].'.php'; } else{ require DIR_THEMES.$config['default_theme']; } } ?>