isLoggedIn()) doError(_NOTLOGGEDIN); include($DIR_LIBS . 'PLUGINADMIN.php'); global $galleryaction, $CONF, $NPG_CONF,$gmember,$member; $galleryaction=$CONF['PluginURL']."gallery/index.php"; //create extra header info for admin page $gallery_header = ' ' ; // create the admin area page $oPluginAdmin = new PluginAdmin('gallery'); $oPluginAdmin->start($gallery_header); echo '

'.__NPG_ADMIN_TITLE.'

'; $action = requestVar('action'); if(!$action) $action = 'albumlist'; $admin = new NPG_ADMIN(); $admin->action($action); $oPluginAdmin->end(); ?>