Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/yildizyapiinsaat/public_html/emanage/Includes/Classes/database.php on line 8
function Login() { $('error_text').innerHTML = "Lütfen Bekleyiniz."; $('Button').value = "Lütfen Bekleyiniz."; $('Button').disabled = true; username = $('Posta').value; password = $('passwords').value; new Ajax.Request('/Ajax/doLogin.php?username='+username+'&password='+password,{method:'get',onComplate:RegSys,onSuccess:RegSys, onFailure:ErrorType}); } function ErrorType() { alert("Bağlantı Problemi Oluştu...!"); } function RegSys(eq) { if(eq.responseText == "1") { alert('Giriş işlemi tamamlanmıştır.'); parent.parent.location.reload(); parent.parent.GB_hide(); } else { $('error_text').innerHTML = "Kullanıcı adı yada şifre uyuşmuyor."; $('Button').value = "Giriş"; $('Button').disabled = false; $('passwords').value = ""; $('passwords').focus(); } } function ShowReg() { GB_hide(); GB_showPage('Üye Olmak İstiyorum', '/Ajax/EcomRegister.php'); } function promtOner(id) { return GB_showCenter('Arkadaşına Öner', '/Ajax/Oner.php?url=http://www.yildizyapiinsaat.net/Tools/JS/login.js.php', 245, 325); }