$site2 = mysql_query("SELECT * FROM `youtube` WHERE (`active` = '0' AND `points` >= `cpc`) AND `id` NOT IN (SELECT `site_id` FROM `viewed` WHERE `user_id`='{$data->id}') ORDER BY `cpc` DESC LIMIT 0, 1");
$site = mysql_fetch_object($site2);
$ext = mysql_num_rows($site2);
if($ext > 0){
?>
" echo $site->title;?>"
View this video for 10 seconds and after that you will receive echo $site->cpc;?> coins
You need Flash player 8+ and JavaScript enabled to view this video.
Must play for
0/10 seconds (
Skip)
}else{?>
Sorry, there are no more coins to be earned at the moment. Please try again later.
}}else{?>}?>