Parašė samsung123· 2008 Vas. 10 12:02:43
#1
Taigi kuriu savo web'a ir susiduriau su problema viskas ejo kaip sviestu patepta bet iskilo viena beda neina iterpti kodo i viewthread.php
prisegu viewthread.php
# START
$countplius = dbcount("(type)", "reputation", " to_id='".$data['user_id']."' AND type='1'"smiley;
$countminus = dbcount("(type)", "reputation", " to_id='".$data['user_id']."' AND type='0'"smiley;
$counttotal = $countplius - $countminus;
echo "<span class='alt'>Reputacija:</span> <a href='reputation.php?uid=".$data['user_id']."'>".$counttotal."</a>";
if (iMEMBER) {
echo " [<a href='".INFUSIONS."reputation/options.php?type=1&post=".$data['post_id']."&uid=".$data['user_id']."'>+$countplius</a>/<a href='".INFUSIONS."reputation/options.php?type=0&post=".$data['post_id']."&uid=".$data['user_id']."'>-$countminus</a>] <br><br>\n";
} else {
echo "<br><br>";
}
# END
idekit busiu dekingas :)