Data['id'] > 1 ){ UI_PageHeaderExt( 'rgoose_general.js', array('rgoose_timeline.js','rgoose_camera_editor.js','rgoose_mediaserver_module.js','rgoose_sysmap_editor.js','rgoose_location_editor.js','rgoose_dashboard.js','rgoose_main.js') ); UI_PageBottomExt(); } else { UI_PageHeader(); if( $RTL_SITE ){ UI_Begin2Section(); } else { UI_Begin2Section('120px'); UI_SideMenu(); UI_SectionDelimiter(); }; //Main Content if( $CUser->Data[id] > 1 ){ UI_MainDashBoard(); } else { UI_LoginForm(); }; if( $RTL_SITE ){ UI_SectionDelimiter('120px'); UI_SideMenu(); } UI_End2Section(); UI_PageBottom(); }; ?>