0) { $suggestString=""; foreach ($autoSuggestTerms as $term ) { $path = url('ebsco/results', array('query' => array('type' => ""))); $suggestString.="".$term." "; } echo "
Did you mean ".$suggestString."?
"; } } if ($records){ echo t('Showing')." ".$record_start." - ".$record_end." ".t('of')." ".$record_count." "; if ($search_view == 'basic') { echo t('for search')." '".check_plain($lookfor)."' "; } if ($search_time){ echo "," .t('query time').":".check_plain(round($search_time, 2))." s"; } print $sort_form; print $pager; if (!user_is_logged_in()) { $link = '' . t('Login') . ''; echo ' '; } $tabs=""; $tabsContent=""; $counter=0; $rsItem=null; if (isset ($relatedContent) ) { foreach ($relatedContent as $item ) { if (isset($item["RelatedRecord"])) { $tabs.=''; $counter++; if (isset($item["RelatedRecord"]["Records"]["Record"][0])) { $rsItem=$item["RelatedRecord"]["Records"]["Record"][0]; } else { if (isset($item["Records"]["Record"])) { $rsItem=$item["Records"]["Record"]; } } if ($rsItem==null) { continue ; } //var_dump($rsItem); $rsTitle=""; $rsSubjects=""; $rsAbstract=""; $rsSource=""; $rsImage=""; $rsAN=$rsItem["Header"]["An"]; $rsDB=$rsItem["Header"]["DbId"]; $rsUrl = url('ebsco/result', array('query' => array('id' => $rsAN."|".$rsDB))); if (isset($rsItem["ImageInfo"]["CoverArt"])) { $rsImage=$rsItem["ImageInfo"]["CoverArt"]["Target"]; } foreach($rsItem["Items"]["Item"] as $it) { switch ($it["Group"]) { case "Ti": $rsTitle=$it["Data"]; break; case "Src": $rsSource=$it["Data"]; break; case "Su": $rsSubjects=$it["Data"]; break; case "Ab": $rsAbstract=$it["Data"]; break; } } $tabsContent.='';
$label = '' . check_plain($record->db_label) . '';
$link = '' . t('Login') . '';
echo sprintf(t('This result from %s cannot be displayed to guests.'), $label)."
".sprintf(t('%s for full access.'), $link)."";
echo "
'.t('Published in')." ".$record->source.'
'; } ?>