its prob cause the person dont have short tag support..
anyway fixed versions for 2.08
In
account-details.php replace all of this stuff:
<!--| Start Reputation Points |-->
<table cellpadding="4">
<tr class="f-border comment">
<? #---| config
$width = "16";
$height = "16";
$textsize = "2";
$picthumbsgood = "images/reputation/good.png";
$picthumbsbad = "images/reputation/bad.png";
if ($user[reputation] == "0") { $color = "#2B2525"; }
elseif ($user[reputation] > "0") { $color = "#209200"; }
elseif ($user[reputation] < "0") { $color = "#B50000"; }
?>
<td>Reputatation:</td>
<?php if ($user["id"] != $CURUSER['id']) { ?>
<td width="20" align="center"><a href="simpaty.php?action=add&good&targetid=<?=$user["id"];?>"><img src="<?=$picthumbsgood;?>" width="<?=$width;?>" height="<?=$height;?>" border="0" title="Give one point"></a></td>
<?php } ?>
<td bgcolor="<?=$color;?>" height="16" align="center"><font size="<?=$textsize;?>" color="#FEFEFE"><b> <?=$user[reputation];?> </b></font></td>
<?php if ($user["id"] != $CURUSER['id']) { ?>
<td width="20" align="center"><a href="simpaty.php?action=add&bad&targetid=<?=$user["id"];?>"><img src="<?=$picthumbsbad;?>" width="<?=$width;?>" height="<?=$height;?>" border="0" title="Subtract one point"></a></td>
<?php } ?>
</tr>
</table>
<!--| End Reputation Points |-->
with
<!--| Start Reputation Points |-->
<table cellpadding="4">
<tr class="f-border comment">
<?php
//---| config
$width = "16";
$height = "16";
$textsize = "2";
$picthumbsgood = "images/reputation/good.png";
$picthumbsbad = "images/reputation/bad.png";
if ($user[reputation] == "0") {
$color = "#2B2525";
} elseif ($user[reputation] > "0") {
$color = "#209200";
} elseif ($user[reputation] < "0") {
$color = "#B50000";
}
?>
<td>Reputatation:</td>
<?php
if ($user["id"] != $CURUSER['id']) { ?> <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>
<?php } ?>
<td bgcolor="<?php echo $color; ?>" height="16" align="center"><font size="<?php echo $textsize; ?>" color="#FEFEFE"><b> <?php echo $user[reputation]; ?> </b></font></td>
<?php
if ($user["id"] != $CURUSER['id']) { ?> <td width="20" align="center"><a href="simpaty.php?action=add&bad&targetid=<?php echo $user["id"]; ?>"><img src="<?php echo $picthumbsbad; ?>" width="<?php echo $width; ?>" height="<?php echo $height; ?>" border="0" title="Subtract one point"></a></td>
<?php } ?>
</tr>
</table>
<!--| End Reputation Points |-->
In
torrents-details.php replace all of this stuff:
//===| 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="<?=$color;?>" height="16" align="center"><font size="<?=$textsize;?>" color="#FEFEFE"><b> <?=$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=<?=$user["id"];?>"><img src="<?=$picthumbsgood;?>" width="<?=$width;?>" height="<?=$height;?>" border="0" title="Give one point"></a></td>
</tr>
<tr><td height="5"></td></tr><!--| 5px space here! |-->
</table>
<?php
}
//===| End Reputation Points |===//
with
//===| 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 |===//
new fixed [url="
http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6974"]simpaty.php[/url]