>
IsLoggedIn()) { ?> You are logged in.
Welcome, Get("UserName")); ?>
HasPriv(PRIV_SYSADMIN) && !$SysConfig->HasRegistered()) { PrintMenuEntry("Register", "SPT--RegisterPortal.php"); } PrintMenuEntry("Preferences", "SPT--Preferences.php"); if ($SysConfig->AccessibilityWizardEnabled()) { PrintMenuEntry("Accessibility", "SPT--AccessPreferences.php"); } if ($User->HasPriv(PRIV_RESOURCEADMIN, PRIV_CLASSADMIN, PRIV_MYRESOURCEADMIN, PRIV_NAMEADMIN, PRIV_RELEASEADMIN)) { PrintMenuEntry("Metadata Tool", "MetadataTool/SPT--MDHome.php"); } if ($User->HasPriv(PRIV_SYSADMIN, PRIV_COLLECTIONADMIN, PRIV_USERADMIN)) { PrintMenuEntry("Administration", "SPT--SysAdmin.php"); } if ($User->HasPriv(PRIV_USERADMIN)) { PrintMenuEntry("Edit User Account", "SPT--SelectEditUser.php"); } PrintMenuEntry("Log Out", "SPT--UserLogout.php"); ?>

Log In:

User name:
Password:
HasPriv(PRIV_RESOURCEADMIN, PRIV_CLASSADMIN, PRIV_NAMEADMIN, PRIV_SYSADMIN, PRIV_MYRESOURCEADMIN, PRIV_RELEASEADMIN)) { if ($User->HasPriv(PRIV_RESOURCEADMIN, PRIV_MYRESOURCEADMIN)) { PrintMDTMenuEntry("Add New Resource", "SPT--EditResource.php?ID=NEW"); } if ($User->HasPriv(PRIV_RESOURCEADMIN, PRIV_MYRESOURCEADMIN, PRIV_RELEASEADMIN)) { PrintMDTMenuEntry("Edit Resources", "SPT--Advanced.php?Editing=1"); } if ($User->HasPriv(PRIV_NAMEADMIN)) { PrintMDTMenuEntry("Add New Controlled Name", "MetadataTool/SPT--AddControlledName.php"); PrintMDTMenuEntry("Edit Controlled Names", "MetadataTool/SPT--EditControlledName.php?FieldId=0"); PrintMDTMenuEntry("Edit Option Lists", "MetadataTool/SPT--EditControlledNameList.php?FieldId=1"); } if ($User->HasPriv(PRIV_CLASSADMIN)) { PrintMDTMenuEntry("Add/Edit Classifications", "SPT--BrowseResources.php?Editing=1"); } print("
"); PrintMDTMenuEntry("Metadata Tool Help", "MetadataTool/SPT--MetadataHelp.php", TRUE); } ?>
Id()); if (count($Searches)) { ?>
My Searches Manage
· GetSearchGroupsAsTextDescription(NULL, FALSE, FALSE, 30))); ?>">SearchName()); ?>
IsLoggedIn()) { $EventLog->LimitFindToUser(); $Searches = $EventLog->FindEvents(NULL, NULL, 0, 5, SPTEVENT_SEARCH, SPTEVENT_ADVANCEDSEARCH); } elseif (FALSE) // (need to add system configuration option to disable before allowing this) { $EventLog->AddSqlConditionForFind("UserId >= 0"); $Searches = $EventLog->FindEvents(NULL, NULL, 0, 5, SPTEVENT_SEARCH); } if (isset($Searches) && count($Searches)) { ?>
Recent Searches
· ">
Query("SELECT * FROM RSSFeeds"); $HaveLoadedFeedFromSite = FALSE; while ($FeedInfo = $DB->FetchRow()) { if ($FeedInfo["Enabled"]) { # if we are on a page that this feed should be displayed on if (($FeedInfo["DisplayLocations"] & RSSDISP_ALLPAGES) || (($FeedInfo["DisplayLocations"] & RSSDISP_FRONTPAGE) && (basename($_SERVER["SCRIPT_NAME"]) == "SPT--Home.php")) || (($FeedInfo["DisplayLocations"] & RSSDISP_ADMINPAGE) && (basename($_SERVER["SCRIPT_NAME"]) == "SPT--SysAdmin.php")) || (($FeedInfo["DisplayLocations"] & RSSDISP_MTOOLPAGE) && (basename($_SERVER["SCRIPT_NAME"]) == "SPT--MDHome.php"))) { $RefreshTime = $HaveLoadedFeedFromSite ? 999999 : $FeedInfo["RefreshRate"]; $Feed =& new RSSClient($FeedInfo["URL"], $RFeedDB, "", $RefreshTime); $Items = $Feed->GetItems($FeedInfo["NumberItemsToDisplay"]); if ($Feed->UsedCachedData() != TRUE) { $HaveLoadedFeedFromSite = TRUE; } $Title = strip_tags($Feed->GetChannelTitle()); if (!strlen($Title)) { $Title = $FeedInfo["Title"]; } $TitleLink = strip_tags($Feed->GetChannelLink()); $NewWindow = $SysConfig->ResourceLaunchesNewWindowEnabled() ? " target=\"_blank\"" : ""; ?>
>
· ">
HasPriv(PRIV_SYSADMIN)) { ?>
page gen time: seconds version: database name: db cache rate: CacheHitRate(), $DB->NumCacheHits(), $DB->NumQueries()); ?>