+ if ( !sqgetGlobalVar('username',$username,SQ_SESSION) ) {
+ $username = '';
+ }
+
+ /* This needs to be first, for all non_options pages */
+ //if (!defined('PAGE_NAME') || strpos(PAGE_NAME, 'options') === FALSE) {
+ if (!defined('PAGE_NAME')
+ || (PAGE_NAME != 'administrator_options' && PAGE_NAME != 'options')) {