# START $countplius = dbcount("(type)", "reputation", " to_id='".$data['user_id']."' AND type='1'"); $countminus = dbcount("(type)", "reputation", " to_id='".$data['user_id']."' AND type='0'"); $counttotal = $countplius - $countminus; echo "Reputacija: ".$counttotal.""; if (iMEMBER) { echo " [+$countplius/-$countminus]

\n"; } else { echo "

"; } # END