echo '
<script>
$(\'#user_nickname\').on(\'keydown\', function(e) { if (e.which == 13) {
$.post("member.php", $("#member_login_form").serialize(), function(regesult){
if($.trim(regesult) == "success"){
$("#member_register_result").html(\''.ls_login_sucalert.'
\');
setTimeout(function () {
window.location.href = \'AnaSayfa\';
}, 3000);
}else if($.trim(regesult) == "space"){
$("#member_register_result").html(\''.ls_login_space.'
\');
}else if($.trim(regesult) == "banned"){
$("#member_register_result").html(\''.ls_login_acanned.'
\');
}else if($.trim(regesult) == "nover"){
$("#member_register_result").html(\''.ls_login_nover.'
\');
}else if($.trim(regesult) == "false"){
$("#member_register_result").html(\''.ls_login_falsg.'
\');
}
});
} });
$(\'#user_password\').on(\'keydown\', function(e) { if (e.which == 13) {
$.post("member.php", $("#member_login_form").serialize(), function(regesult){
if($.trim(regesult) == "success"){
$("#member_register_result").html(\''.ls_login_sucalert.'
\');
setTimeout(function () {
window.location.href = \'AnaSayfa\';
}, 3000);
}else if($.trim(regesult) == "space"){
$("#member_register_result").html(\''.ls_login_space.'
\');
}else if($.trim(regesult) == "banned"){
$("#member_register_result").html(\''.ls_login_acanned.'
\');
}else if($.trim(regesult) == "nover"){
$("#member_register_result").html(\''.ls_login_nover.'
\');
}else if($.trim(regesult) == "false"){
$("#member_register_result").html(\''.ls_login_falsg.'
\');
}
});
} });
$("#member_login_btn").click(function(){
$.post("member.php", $("#member_login_form").serialize(), function(regesult){
if($.trim(regesult) == "success"){
$("#member_register_result").html(\''.ls_login_sucalert.'
\');
setTimeout(function () {
window.location.href = \'AnaSayfa\';
}, 3000);
}else if($.trim(regesult) == "space"){
$("#member_register_result").html(\''.ls_login_space.'
\');
}else if($.trim(regesult) == "banned"){
$("#member_register_result").html(\''.ls_login_acanned.'
\');
}else if($.trim(regesult) == "nover"){
$("#member_register_result").html(\''.ls_login_nover.'
\');
}else if($.trim(regesult) == "false"){
$("#member_register_result").html(\''.ls_login_falsg.'
\');
}
});
});
/* Only_English Characters */
$("#member_nickname").bind("keyup blur",function(){
var node = $(this);
node.val(node.val().replace(/[^a-z0-9]/g,\'\') ); }
);
</script>';
?>