ben ise yayınla yerine açılacak olan sayfada örneğin recapta çözsün ve onaylanıp puanını alsın.şimdi hangi kod oluyor bu ? :)


ilgili sayfanın php kodu..




include('header.php');
if(!$is_online){
redirect('index.php');
exit;
}
?>


Puan Kazan - Google




$sql = $db->Query("SELECT id,site,title,cpc FROM `sites` WHERE (`banned` = '0' AND `points` >= `cpc`) AND (`id` NOT IN (SELECT `site_id` FROM `plused` WHERE `user_id`='".$data['id']."') AND `user`!='".$data['login']."') ORDER BY `cpc` DESC LIMIT 5");
$ext = $db->GetNumRows($sql);
$sites = $db->FetchArrayAll($sql);
if($ext > 0){
?>

Puan Kazanmak İçin +1'e Basmanız Yeterlidir.


<script>
function click_callback(id, ncpc){
document.getElementById("Hint").style.display='block';
$.ajax({
type: "GET",
url: "pages/gpreceive.php",
data: "data="+id,
cache: false,
success: function(){
replace_button();
}
});
c_coins = document.getElementById("currentpoints");
var cpc = ncpc;
var coins = c_coins.innerHTML;
document.getElementById("currentpoints").innerHTML = (1*coins)+(1*cpc);
$("#Hint").html('Plused with success!');
removeElement('tbl', id);
}

function removeElement(parentDiv, childDiv){
if (document.getElementById(childDiv)) {
var child = document.getElementById(childDiv);
var parent = document.getElementById(parentDiv);
parent.removeChild(child);
}
}
function skipElement(parentDiv, childDiv){
if (document.getElementById(childDiv)) {
var child = document.getElementById(childDiv);
var parent = document.getElementById(parentDiv);
$.ajax({
type: "GET",
url: "pages/gpreceive.php?step=skip",
data: "url="+childDiv,
success: function(msg){
$("#Hint").html(msg);
parent.removeChild(child);
replace_button();
}
});
}
}
function replace_button(){ $.get('pages/gpmore.php', function(html){ $('div[rel*="replacement"]').first().remove(); $('#tbl').append(html); }); }
function refreshpage(){window.location.reload();}
</script>


foreach($sites as $sit)
{
?>

x


Puan:










Puan Kazanılacak Hesap Bulunmamaktadır.