//===| Start Reputation Points |===//
$rep = SQL_Query_exec("SELECT id,reputation FROM users WHERE id=".$row["owner"]);
$user = mysql_fetch_array($rep);
if ($user["id"] != $CURUSER['id'] && $row["anon"] != "yes") {
#---| config
$width = "16";
$height = "16";
$textsize = "2";
$picthumbsgood = "images/reputation/good.png";
if ($user[reputation] == "0") { $color = "#2B2525"; }
elseif ($user[reputation] > "0") { $color = "#209200"; }
elseif ($user[reputation] < "0") { $color = "#B50000"; }
?>
<table cellpadding="4" align="center">
<tr class="f-border comment">
<td>Uploader Reputatation:</td>
<td bgcolor="<?php echo $color;?>" height="16" align="center"><font size="<?php echo $textsize;?>" color="#FEFEFE"><b> <?php echo $user[reputation];?> </b></font></td>
<td>Say <b>Thanks</b> with one point of reputation:</td>
<td width="20" align="center"><a href="simpaty.php?action=add&good&targetid=<?php echo $user["id"];?>"><img src="<?php echo $picthumbsgood;?>" width="<?php echo $width;?>" height="<?php echo $height;?>" border="0" title="Give one point"></a></td>
</tr>
<tr><td height="5"></td></tr><!--| 5px space here! |-->
</table>
<?php
}
//===| End Reputation Points |===//