$MaxDescriptionLength) { $Description = NeatlyTruncateString($Description, $MaxDescriptionLength); } # build rating graphic image tag (if any) $RatingGraphicImageTag = ""; if (($SearchResult["Cumulative Rating"] !== NULL) && ($SearchResult["Cumulative Rating Scale"] > 0)) { $RatingIndex = ($SearchResult["Cumulative Rating"] * 10) / $SearchResult["Cumulative Rating Scale"]; $RatingGraphicFileSuffixes = array( 0 => "1_0.gif", 1 => "1_0.gif", 2 => "1_0.gif", 3 => "1_5.gif", 4 => "2_0.gif", 5 => "2_5.gif", 6 => "3_0.gif", 7 => "3_5.gif", 8 => "4_0.gif", 9 => "4_5.gif", 10 => "5_0.gif", ); $RatingGraphicAltText = array( 0 => "This resource has a 1 star rating", 1 => "This resource has a 1 star rating", 2 => "This resource has a 1 star rating", 3 => "This resource has a 1.5 star rating", 4 => "This resource has a 2 star rating", 5 => "This resource has a 2.5 star rating", 6 => "This resource has a 3 star rating", 7 => "This resource has a 3.5 star rating", 8 => "This resource has a 4 star rating", 9 => "This resource has a 4.5 star rating", 10 => "This resource has a 5 star rating", ); $RatingGraphicImageTag = "\""
"; } ?>
" border="0" width="21" height="22" alt="View Resource" />

" target="_blank">
"> " target="_blank">More Info
0) { foreach ($Facets as $Key => $Values) { if ( isset($FieldsOpenByDefault[$Key]) ) print( "
" ."[" ."" ."" ."] ".$Key."" ."
\n" ."