AddActionButton( "Spam", $H_BaseLink ."&".TransportControlsUI::PNAME_STARTINGINDEX."=".$H_TransportUI->StartingIndex() ."&Spam=\$ID"); $StartOptionList = new HtmlOptionList( "ST", array( ST_FOREVER => "All time", ST_24_MONTH => "Last 24 months", ST_12_MONTH => "Last 12 months", ST_6_MONTH => "Last 6 months", ST_3_MONTH => "Last 3 months", ST_1_MONTH => "Last month", ST_1_WEEK => "Last week", ST_1_DAY => "Last day" ), $H_StartTime); $StartOptionList->SubmitOnChange(TRUE); $UserTypeOptionList = new HtmlOptionList( "UT", array( UT_ALL => "All Users", UT_ANON => "Anonymous", UT_PRIV => "Privileged", UT_UNPRIV => "Unprivileged"), $UserType); $UserTypeOptionList->SubmitOnChange(TRUE); $SearchTypeOptionList = new HtmlOptionList( "STY", array( STY_ALL => "All", STY_SUCCESSFUL => "Successful", STY_FAILED => "Failed"), $H_SearchType); $SearchTypeOptionList->SubmitOnChange(TRUE); $RPOtionList = new HtmlOptionList( "RP", array( 50 => 50, 100 => 100, 250 => 250, 500 => 500, 750 => 750), $H_ResultsPerPage); $RPOtionList->SubmitOnChange(TRUE); ?>
Period: GetHtml(); ?> Users: GetHtml(); ?> Search Type: GetHtml(); ?> Results: GetHtml(); ?>
Search Frequency"; } else { PageTitle("Search Log"); print "

# Search Log

"; } $H_TransportUI->PrintControls( TransportControlsUI::NO_ITEM_TYPE, $H_BaseLink, "Results " .number_format(min(($H_TransportUI->StartingIndex() + 1), $H_TotalResults)) ." - " .number_format(min(($H_TransportUI->StartingIndex() + $H_ResultsPerPage), $H_TotalResults)) ." of ".number_format($H_TotalResults)."" ); $ListUI->Display($H_ListData); $H_TransportUI->PrintControls( TransportControlsUI::NO_ITEM_TYPE, $H_BaseLink);