rendered paste bodywhile($results = mysql_fetch_array($result)){
$i = $i + 1;
$name = $results['name'];
$id = $results['id'];
$num_votes = $results['num_votes'];
$score = $results['rating'];
if($num_votes < 200){
echo '<tr><td width="5" valign="top" class="small_arial" height="18">'.$i.'.</td><td valign="top" class="new_born" height="18">';
$name = stripslashes($name);
echo '<a href="/media/portal.php?id='.$id.'">'.$name.'</a></td></tr>'."\n";
}elseif($score < 1.60){
echo '<tr><td width="5" valign="top" class="small_arial" height="18">'.$i.'.</td><td valign="top" class="near_death" height="18">';
$name = stripslashes($name);
echo '<a href="/media/portal.php?id='.$id.'">'.$name.'</a>'.$score.'</td></tr>'."\n";
}elseif(($score > '1.59' && $score < '3.00') && $num_votes > 200){
echo '<tr><td width="5" valign="top" class="small_arial" height="18">'.$i.'.</td><td valign="top" class="average_living" height="18">';
$name = stripslashes($name);
echo '<a href="/media/portal.php?id='.$id.'">'.$name.'</a></td></tr>'."\n";
}elseif(($score > '2.99' && $score < '3.50') && $num_votes > 200){
echo '<tr><td width="5" valign="top" class="small_arial" height="18">'.$i.'.</td><td valign="top" class="high_living" height="18">';
$name = stripslashes($name);
echo '<a href="/media/portal.php?id='.$id.'">'.$name.'</a></td></tr>'."\n";
}elseif($score > 3.49){
echo '<tr><td width="5" valign="top" class="small_arial" height="18">'.$i.'.</td><td valign="top" class="godly_living" height="18">';
$name = stripslashes($name);
echo '<a href="/media/portal.php?id='.$id.'">'.$name.'</a></td></tr>'."\n";
}
}