Não apareceu nada só redirecionou para a Home , como era de esperar , o nosso problema fica na pagina win.php
Quando ganha-se ele manda para win.php e depois ele redireciona.
O trecho de código que é :
$.post('check.php', {
'c': Recaptcha.get_challenge(),
'r': Recaptcha.get_response()
}, function(result) {
if (result == "-1") {
// not logged in
window.location = "/";
return;
} else if (result == "1") {
// win!
$("#result").html("<b>You Win! Redirecting...</b>");
window.location = "/free_day/win.php";
return;
} else if(-2 == result) {
// bad captcha; make it look like it did something
setTimeout(function() {
$("#result").html('Incorrect Captcha - ' + c_messages[Math.floor(Math.random() * c_messages.length)]);
showRecaptcha();
$("#clicky").attr('disabled', false);
}, 200);
} else {
// try again; make it look like it did something
setTimeout(function() {
$("#result").html('Try Again - ' + messages[Math.floor(Math.random() * messages.length)]);
showRecaptcha();
$("#clicky").attr('disabled', false);
}, 200);
}
E altera-se para:
$.post('check.php', {
'c': Recaptcha.get_challenge(),
'r': Recaptcha.get_response()
}, function(result) {
if (result == "-1") {
// not logged in
window.location = "/";
return;
} else {
// win!
$("#result").html("<b>You Win! Redirecting...</b>");
window.location = "/free_day/win.php";
return; }
Que é basicamente tirar todos os else if e meter o else if do win em else apenas.
Se quisrem installem o firebug e tentem.