<?php
$query = dbquery("SELECT * FROM {$db_prefix}user_ratings LEFT JOIN {$db_prefix}users ON rate_user = user_id WHERE rate_subject = 'norimo_vartotojo_id'");
while ($data = dbarray($query)) echo "<b>#".$data['user_id']." : ".$data['user_name']."</b> vertino <b>".$data['rate_opt']."-uku</b><br>\n";
?>