api_client->friends_get(); setCookie('friends', $_COOKIES['friends']); return $_COOKIES['friends']; } else { return $_COOKIES['friends']; } } function generateMultiArray($arr) { $retval="["; $len=count($arr); for($i=0;$i<$len;$i++) { $el=$arr[$i]; if ($i < $len - 1) $retval=$retval.generateArray($el).","; else $retval=$retval.generateArray($el); } $retval=$retval."]"; return $retval; } function getComparisons() { global $user; $sql="select fc_comparison_id, fc_friend_comparer, fc_friend_won, fc_friend_lost, fc_category, fc_timestamp from friend_compare where fc_friend_comparer='$user'"; error_log($sql,-1); $result=mysql_query($sql); $retval=array(); while(list($fc_comparison_id, $fc_friend_comparer, $fc_friend_won, $fc_friend_lost, $fc_category, $fc_timestamp) = mysql_fetch_row($result)) { $arv=array($fc_friend_won, $fc_friend_lost, $fc_category); $retval[]=$arv; } return $retval; } ?> /comparebg_.png style="z-index:-2;">
" />

" />

Only winners are notified when they're voted for.

" />
View My Rankings