Data[id] < 2 ){ header('location: /'); exit(); }; UI_PageHeader(); if( $RTL_SITE ){ UI_Begin2Section(); } else { UI_Begin2Section('120px'); UI_SideMenu(); UI_SectionDelimiter(); }; if( $CUser->Data[id] > 1 ){ //Main Content } else { UI_LoginForm(); }; if( $RTL_SITE ){ UI_SectionDelimiter('120px'); UI_SideMenu(); } UI_End2Section(); UI_PageBottom(); ?>