Üye adınız:
Sözlük şifresi*:
query("INSERT INTO ".$ftable."uyeler (kid, nick, sifre, email, kayittarihi, isimsoyad, memleket, meslek, cinsiyet, durum, ip, yetki, dogumtarih, nesil, acticode) VALUES ('', '".$yeniuyeadii."', '". md5($yeniuyesifre)."', '".$me[email]."', '".$tarihlisaat."', '".$me[name]."', '".$me['hometown']['name']."', '', '".$cinsiyet."', '', '".$ip."', '".$yeniuyerutbe."', '".$yenidotarih."', '".$kayitnesil."', '')"); $_SESSION['userid'] = $db->insert_id; $_SESSION['username'] = $yeniuyeadii; } $fb = addslashes($_GET['fb']); if($fb=="ok"){ if($me){ $query1345 = $db->query("SELECT * FROM ".$ftable."uyeler WHERE email='".$me['email']."' and durum='1'"); while ($result1345 = $query1345 ->fetch_object()) { $username = $result1345->nick; $userkid = $result1345->kid;} if($query1345->num_rows == "1"){ $_SESSION['username'] = $username; $_SESSION['userid'] = $userkid; } }// me else { } }//fbok if ((isSet($_COOKIE[$cookie_name])) && (!isSet($_SESSION['username'])))// Cookie başlangıç { parse_str($_COOKIE[$cookie_name]); ####### $query134 = $db->query("SELECT * FROM ".$ftable."uyeler WHERE nick='".mysql_escape_string(htmlspecialchars($usr))."' and durum='1'"); while ($result134 = $query134 ->fetch_object()) { $mevcutsifresi = md5($result134->sifre); $userkid = $result134->kid;} if($mevcutsifresi == $hash) { $_SESSION['username'] = $usr; $_SESSION['userid'] = $userkid; $db->query("UPDATE ".$ftable."uyeler SET sononline='".$online."' where kid='".$userkid."'"); } ######## } // Cookie bitiş $izin = "var"; include_once 'genelsorgular.php'; include_once 'inc.php'; if(isset($_GET['skin']) && !empty($_GET['skin'])){ $_SESSION['skin'] = $_GET['skin']; $temayolu = 'skin/'.mysql_escape_string(htmlspecialchars($_GET['skin'])).'/'; include_once ('skin/'.mysql_escape_string(htmlspecialchars($_GET['skin'])).'/index.php'); } else { //unset($_SESSION['skin']); if ($tema == true){ $temayolu2 = $temayolu; $temayolu = 'skin/'.$tema.'/'; include_once ('skin/'.$tema.'/index.php'); if($indexmi != "evet"){ $temayolu = $temayolu2; include_once (''.$temayolu2.'index.php'); } }else{ include_once (''.$temayolu.'index.php'); } } $_SESSION['chatname'] = seo_str_plain($uyenick); ?>