themeName; $style="style"; cms_admin_sendheaders('text/css'); $thelang = CmsNlsOperations::get_language_info(CmsNlsOperations::get_current_language()); if( is_object($thelang) && $thelang->direction() == 'rtl' ) $style.="-rtl"; if (isset($_GET['ie'])) $style.="_ie"; $style .= ".css"; if (file_exists(__DIR__."/themes/".$theme."/css/".$style)) $cms_readfile(__DIR__."/themes/".$theme."/css/".$style); if (file_exists(__DIR__."/themes/".$theme."/extcss/".$style)) $cms_readfile(__DIR__."/themes/".$theme."/extcss/".$style); $allmodules = ModuleOperations::get_instance()->GetLoadedModules(); if( is_array($allmodules) && count($allmodules) ) { foreach( $allmodules as $key => &$object ) { if( !is_object($object) ) continue; if( $object->HasAdmin() ) echo $object->AdminStyle(); } } ?>