<?php include '../header.php'; include 'solrFacets.php'; $CUSTOM = custom::instance(); $bfacet = $CUSTOM->getDSpaceVer() == "1.7" ? "" : "&facet.field=bundleName"; solrFacets::init($CUSTOM); $comm = util::getArg("comm", ""); $coll = util::getArg("coll", ""); $time = util::getArg("time", ""); $colls = util::getArg("colls", ""); if ($time != "") { $time = "+AND+time:" . str_replace(" ", "+", $time); } $typearg = solrFacets::getTypeArg(); if ($comm != "") { if ($typearg == "COMMV") { $q = "(owningComm:" . $comm . "+OR+id:" . $comm . ")"; } else { if ($typearg == "COLLV") { $q = "("; foreach (explode(",", $colls) as $col) { if ($q != "(") { $q .= "+OR+"; } $q .= "id:" . $col; } $q .= ")"; } else { $q = "("; foreach (explode(",", $colls) as $col) {
<?php include '../header.php'; include 'solrFacets.php'; ini_set('max_execution_time', 120); $CUSTOM = custom::instance(); $CUSTOM->getCommunityInit()->initCommunities(); $CUSTOM->getCommunityInit()->initCollections(); solrFacets::init($CUSTOM); $duration = solrFacets::getDurationArg(); $type = solrFacets::getTypeArg(); $auth = solrFacets::getAuthArg(); $ip = solrFacets::getIpArg(); $scope = util::getArg("scope", "ALL"); hierarchy::initHierarchy($scope == "ALL", $scope); $colcount = solrFacets::getDurationKey("colcount"); header('Content-type: text/html; charset=UTF-8'); ?> <html> <head> <?php $header = new LitHeader(solrFacets::getTypeKey("desc") . " for the " . solrFacets::getDurationKey("desc") . " for " . solrFacets::getAuthKey("desc") . " from " . solrFacets::getIpKey("desc")); $header->litPageHeader(); ?> <script type="text/javascript"> var first = true; var complete = 0; var getStatsFunc = function(cell, tbd) { var id = cell.attr("id");