$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 = "
";
}
?>
= 1 && $G_CurrentPage > 1) { ?>
|<
1 && $G_CurrentPage-$Percent > 0) { ?>
<<
<
|
50) { ?>
Too many (or not the right) results?
Refine your search!
This search is also available as an
RSS feed.
|
>
1 && $G_CurrentPage+$Percent < $G_TotalPages) { ?>
>>
= 1 && $G_CurrentPage < $G_TotalPages) { ?>
>|
|