connect_error) { die("Connection failed: " . $conn->connect_error); }*/ //echo "Connected successfully"; if(is_array($_FILES)) { $pasaport=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["form-pasaport"]))); $ad=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["form-first-name"]))); $soyad=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["form-last-name"]))); $babaad=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["form-father"]))); $telefon=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["form-telephone"]))); $sinavyeri=mysqli_real_escape_string($conn, htmlspecialchars($_POST["sinavyeri"])); $whatsapp=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["form-telephone2"]))); $kurallar=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["sinavkurallari"]))); $mezunokul=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["form-mezun-okul"]))); $telefon=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["form-telephone"]))); $email=mysqli_real_escape_string($conn, htmlspecialchars($_POST["form-email"])); $annebabatelefon=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["form-motherfather-phone"]))); $babasoyad=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["form-father-lname"]))); $annead=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["form-mother"]))); $annesoyad=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["form-mother-lname"]))); $dogumyerioblast=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["form-dogum-oblast"]))); $dogumyerirayon=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["form-dogum-rayon"]))); $dogumtarihi=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["form-dogum-tarihi"]))); $testdili=strtoupper(mysqli_real_escape_string($conn, htmlspecialchars($_POST["testdili"]))); //if ((preg_match("/[\-]{2,}|[;]|[']|[\\\*]/", $input)) //mysql_real_escape_string if($sinavyeri=="biskek") { $sinavyeri2="Бишкек Түрк Башталгыч окуу жайы
(КТУ Манас, Жал кампусу) Тыналиев к.38"; } else if($sinavyeri=="os") { $sinavyeri2="Ош шаары, Ош МУ
Теология факультети"; } $hata=0; /* if((preg_match('/\s/', $ad)) or (preg_match('/\s/', $soyad)) or (preg_match('/\s/', $email)) or (preg_match('/\s/', $telefon)) or (preg_match('/\s/', $babaad)) or (preg_match('/\s/', $babasoyad)) or (preg_match('/\s/', $annead)) or (preg_match('/\s/', $annesoyad)) or (preg_match('/\s/', $dogumyerioblast)) or (preg_match('/\s/', $dogumyerirayon)) or (preg_match('/\s/', $dogumyerirayon)) or (preg_match('/\s/', $dogumtarihi)) or (preg_match('/\s/', $annebabatelefon)) or (preg_match('/\s/', $mezunokul))) {echo " "; $hata=1;} // no whitespaces */ $query2 = "SELECT pasaport FROM kayitlar WHERE pasaport=?"; if ($stmt2 = $conn->prepare($query2)){ $stmt2->bind_param("s", $pasaport); if($stmt2->execute()){ $stmt2->store_result(); $email_check= ""; $stmt2->bind_result($email_check); $stmt2->fetch(); if ($stmt2->num_rows>0){ // echo "That ad already exists."; echo " "; $hata=1; exit; } } } $query = "SELECT ad FROM kayitlar WHERE ad=? and soyad=? and telefon=?"; if ($stmt = $conn->prepare($query)){ $stmt->bind_param("sss", $ad,$soyad,$telefon); if($stmt->execute()){ $stmt->store_result(); $email_check= ""; $stmt->bind_result($email_check); $stmt->fetch(); if ($stmt->num_rows>0){ // echo "That ad already exists."; echo " "; $hata=1; exit; } } } if((preg_match('/[\'"]/', $ad)) or (preg_match('/[\'"]/', $soyad)) or (preg_match('/[\'"]/', $email)) or (preg_match('/[\'"]/', $telefon)) or (preg_match('/[\'"]/', $babaad)) or (preg_match('/[\'"]/', $babasoyad)) or (preg_match('/[\'"]/', $annead)) or (preg_match('/[\'"]/', $annesoyad)) or (preg_match('/[\'"]/', $dogumyerioblast)) or (preg_match('/[\'"]/', $dogumyerirayon)) or (preg_match('/[\'"]/', $dogumyerirayon)) or (preg_match('/[\'"]/', $dogumtarihi)) or (preg_match('/[\'"]/', $annebabatelefon)) or (preg_match('/[\'"]/', $mezunokul))) {echo " "; $hata=1;} // no whitespaces else if((preg_match('/[\/\\\\]/', $ad)) or (preg_match('/[\/\\\\]/', $soyad)) or (preg_match('/[\/\\\\]/', $email)) or (preg_match('/[\/\\\\]/', $telefon)) or (preg_match('/[\/\\\\]/', $babaad)) or (preg_match('/[\/\\\\]/', $babasoyad)) or (preg_match('/[\/\\\\]/', $annead)) or (preg_match('/[\/\\\\]/', $annesoyad)) or (preg_match('/[\/\\\\]/', $dogumyerioblast)) or (preg_match('/[\/\\\\]/', $dogumyerirayon)) or (preg_match('/[\/\\\\]/', $dogumyerirayon)) or (preg_match('/[\/\\\\]/', $dogumtarihi)) or (preg_match('/[\/\\\\]/', $annebabatelefon)) or (preg_match('/[\/\\\\]/', $mezunokul))) {echo " "; $hata=1;} // no whitespaces /* else if((preg_match('/(and|or|null|not)/i', $ad)) or (preg_match('/(and|or|null|not)/i', $soyad)) or (preg_match('/(and|or|null|not)/i', $email)) or (preg_match('/(and|or|null|not)/i', $telefon)) or (preg_match('/(and|or|null|not)/i', $babaad)) or (preg_match('/(and|or|null|not)/i', $babasoyad)) or (preg_match('/(and|or|null|not)/i', $annead)) or (preg_match('/(and|or|null|not)/i', $annesoyad)) or (preg_match('/(and|or|null|not)/i', $dogumyerioblast)) or (preg_match('/(and|or|null|not)/i', $dogumyerirayon)) or (preg_match('/(and|or|null|not)/i', $dogumyerirayon)) or (preg_match('/(and|or|null|not)/i', $dogumtarihi)) or (preg_match('/(and|or|null|not)/i', $annebabatelefon)) or (preg_match('/(and|or|null|not)/i', $mezunokul))) {echo " "; $hata=1;} // no whitespaces */ else if((preg_match('/(union|select|from|where)/i', $ad)) or (preg_match('/(union|select|from|where)/i', $soyad)) or (preg_match('/(union|select|from|where)/i', $email)) or (preg_match('/(union|select|from|where)/i', $telefon)) or (preg_match('/(union|select|from|where)/i', $babaad)) or (preg_match('/(union|select|from|where)/i', $babasoyad)) or (preg_match('/(union|select|from|where)/i', $annead)) or (preg_match('/(union|select|from|where)/i', $annesoyad)) or (preg_match('/(union|select|from|where)/i', $dogumyerioblast)) or (preg_match('/(union|select|from|where)/i', $dogumyerirayon)) or (preg_match('/(union|select|from|where)/i', $dogumyerirayon)) or (preg_match('/(union|select|from|where)/i', $dogumtarihi)) or (preg_match('/(union|select|from|where)/i', $annebabatelefon)) or (preg_match('/(union|select|from|where)/i', $mezunokul))) {echo " "; $hata=1;} // no whitespaces else if((preg_match('/(group|order|having|limit)/i', $ad)) or (preg_match('/(group|order|having|limit)/i', $soyad)) or (preg_match('/(group|order|having|limit)/i', $email)) or (preg_match('/(group|order|having|limit)/i', $telefon)) or (preg_match('/(group|order|having|limit)/i', $babaad)) or (preg_match('/(group|order|having|limit)/i', $babasoyad)) or (preg_match('/(group|order|having|limit)/i', $annead)) or (preg_match('/(group|order|having|limit)/i', $annesoyad)) or (preg_match('/(group|order|having|limit)/i', $dogumyerioblast)) or (preg_match('/(group|order|having|limit)/i', $dogumyerirayon)) or (preg_match('/(group|order|having|limit)/i', $dogumyerirayon)) or (preg_match('/(group|order|having|limit)/i', $dogumtarihi)) or (preg_match('/(group|order|having|limit)/i', $annebabatelefon)) or (preg_match('/(group|order|having|limit)/i', $mezunokul))) {echo " "; $hata=1;} // no whitespaces else if((preg_match('/(into|file|case)/i', $ad)) or (preg_match('/(into|file|case)/i', $soyad)) or (preg_match('/(into|file|case)/i', $email)) or (preg_match('/(into|file|case)/i', $telefon)) or (preg_match('/(into|file|case)/i', $babaad)) or (preg_match('/(into|file|case)/i', $babasoyad)) or (preg_match('/(into|file|case)/i', $annead)) or (preg_match('/(into|file|case)/i', $annesoyad)) or (preg_match('/(into|file|case)/i', $dogumyerioblast)) or (preg_match('/(into|file|case)/i', $dogumyerirayon)) or (preg_match('/(into|file|case)/i', $dogumyerirayon)) or (preg_match('/(into|file|case)/i', $dogumtarihi)) or (preg_match('/(into|file|case)/i', $annebabatelefon)) or (preg_match('/(into|file|case)/i', $mezunokul))) {echo " "; $hata=1;} // no whitespaces else if((preg_match('/(--|#|\/\*)/', $ad)) or (preg_match('/(--|#|\/\*)/', $soyad)) or (preg_match('/(--|#|\/\*)/', $email)) or (preg_match('/(--|#|\/\*)/', $telefon)) or (preg_match('/(--|#|\/\*)/', $babaad)) or (preg_match('/(--|#|\/\*)/', $babasoyad)) or (preg_match('/(--|#|\/\*)/', $annead)) or (preg_match('/(--|#|\/\*)/', $annesoyad)) or (preg_match('/(--|#|\/\*)/', $dogumyerioblast)) or (preg_match('/(into|file|case)/i', $dogumyerirayon)) or (preg_match('/(into|file|case)/i', $dogumyerirayon)) or (preg_match('/(into|file|case)/i', $dogumtarihi)) or (preg_match('/(--|#|\/\*)/', $annebabatelefon)) or (preg_match('/(--|#|\/\*)/', $mezunokul))) {echo " "; $hata=1;} // no whitespaces else if((preg_match('/(=|&|\|)/', $ad)) or (preg_match('/(=|&|\|)/', $soyad)) or (preg_match('/(=|&|\|)/', $email)) or (preg_match('/(=|&|\|)/', $telefon)) or (preg_match('/(=|&|\|)/', $babaad)) or (preg_match('/(=|&|\|)/', $babasoyad)) or (preg_match('/(=|&|\|)/', $annead)) or (preg_match('/(=|&|\|)/', $annesoyad)) or (preg_match('/(=|&|\|)/', $dogumyerioblast)) or (preg_match('/(=|&|\|)/', $dogumyerirayon)) or (preg_match('/(=|&|\|)/', $dogumyerirayon)) or (preg_match('/(=|&|\|)/', $dogumtarihi)) or (preg_match('/(=|&|\|)/', $annebabatelefon)) or (preg_match('/(=|&|\|)/', $mezunokul))) {echo " "; $hata=1;} // no whitespaces $klasor=$ad."---".$telefon."---".$annebabatelefon; $file = $_FILES['image']['tmp_name'][0]; $sourceProperties = getimagesize($file); $fileNewName =$ad."---".$telefon."---".$annebabatelefon."---fotograf"; $folderPath = "belgeler/".$klasor; $ext = pathinfo($_FILES['image']['name'][0], PATHINFO_EXTENSION); $imageType = $sourceProperties[2]; $resim=$fileNewName.".".$ext; $file2 = $_FILES['image']['tmp_name'][1]; $sourceProperties2 = getimagesize($file2); $fileNewName2 =$ad."---".$telefon."---".$annebabatelefon."---kimlik"; $folderPath2 = "belgeler/".$klasor; $ext2 = pathinfo($_FILES['image']['name'][1], PATHINFO_EXTENSION); $imageType2 = $sourceProperties2[2]; $resim2=$fileNewName2.".".$ext2; $file3 = $_FILES['image']['tmp_name'][2]; $sourceProperties3 = getimagesize($file3); $fileNewName3 =$ad."---".$telefon."---".$annebabatelefon."---ogrenci"; $folderPath3 = "belgeler/".$klasor; $ext3 = pathinfo($_FILES['image']['name'][2], PATHINFO_EXTENSION); $imageType3 = $sourceProperties3[2]; $resim3=$fileNewName3.".".$ext2; if($hata==0){ $query = "INSERT INTO kayitlar (pasaport,ad, soyad, email, telefon, whatsapp, babaad, babasoyad, annead, annesoyad, dogumyerioblast, dogumyerirayon, dogumtarihi, sinavdili, sinavyeri, resim, kimlikbelgesi, ogrencibelgesi,annebabatelefon,mezunokul,okudumu) VALUES (?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"; $stmt = $conn->prepare($query); $stmt->bind_param("sssssssssssssssssssss", $pasaport,$ad, $soyad, $email, $telefon, $whatsapp, $babaad, $babasoyad, $annead, $annesoyad, $dogumyerioblast, $dogumyerirayon, $dogumtarihi, $testdili, $sinavyeri, $resim, $resim2, $resim3, $annebabatelefon, $mezunokul, $kurallar); $stmt->execute(); if($stmt) { $klasor=$ad."---".$telefon."---".$annebabatelefon; $location = "belgeler/".$klasor; if(!is_dir($location)){ mkdir($location, 0777); } $location .= "/".$fileNewName; $location2 = "belgeler/".$klasor; $location2 .= "/".$fileNewName2; $location3 = "belgeler/".$klasor; $location3 .= "/".$fileNewName3; /* if (!file_exists("belgeler/".$klasor)) { mkdir("belgeler/".$klasor, 0777, true); } */ //$klasor .= "/".$fileNewName; $file = $_FILES['image']['tmp_name'][0]; $sourceProperties = getimagesize($file); $fileNewName =$telefon; $folderPath = "belgeler/$klasor"; $ext = pathinfo($_FILES['image']['name'][0], PATHINFO_EXTENSION); $imageType = $sourceProperties[2]; $resim=$fileNewName.".".$ext; switch ($imageType) { case IMAGETYPE_PNG: $imageResourceId = imagecreatefrompng($file); $targetLayer = imageResize($imageResourceId,$sourceProperties[0],$sourceProperties[1]); //imagepng($targetLayer,$folderPath. $fileNewName. "_thump.". $ext); break; case IMAGETYPE_GIF: $imageResourceId = imagecreatefromgif($file); $targetLayer = imageResize($imageResourceId,$sourceProperties[0],$sourceProperties[1]); //imagegif($targetLayer,$folderPath. $fileNewName. "_thump.". $ext); break; case IMAGETYPE_JPEG: $imageResourceId = imagecreatefromjpeg($file); $targetLayer = imageResize($imageResourceId,$sourceProperties[0],$sourceProperties[1]); //imagejpeg($targetLayer,$folderPath. $fileNewName. "_thump.". $ext); break; default: echo "Invalid Image type."; exit; break; } //move_uploaded_file($file, $folderPath. $fileNewName. ".". $ext); move_uploaded_file($file,$location.".".$ext); $file2 = $_FILES['image']['tmp_name'][1]; $sourceProperties2 = getimagesize($file2); $fileNewName2 =$ad."---".$telefon."---".$annebabatelefon."---kimlik"; $folderPath2 = "belgeler/".$klasor; $ext2 = pathinfo($_FILES['image']['name'][1], PATHINFO_EXTENSION); $imageType2 = $sourceProperties2[2]; $resim2=$fileNewName2.".".$ext2; switch ($imageType2) { case IMAGETYPE_PNG: $imageResourceId2 = imagecreatefrompng($file2); $targetLayer2 = imageResize($imageResourceId2,$sourceProperties2[0],$sourceProperties2[1]); //imagepng($targetLayer,$folderPath. $fileNewName. "_thump.". $ext); break; case IMAGETYPE_GIF: $imageResourceId2 = imagecreatefromgif($file2); $targetLayer2 = imageResize($imageResourceId2,$sourceProperties2[0],$sourceProperties2[1]); //imagegif($targetLayer,$folderPath. $fileNewName. "_thump.". $ext); break; case IMAGETYPE_JPEG: $imageResourceId2 = imagecreatefromjpeg($file2); $targetLayer2 = imageResize($imageResourceId2,$sourceProperties2[0],$sourceProperties2[1]); //imagejpeg($targetLayer,$folderPath. $fileNewName. "_thump.". $ext); break; default: echo "Invalid Image type."; exit; break; } //move_uploaded_file($file, $folderPath. $fileNewName. ".". $ext); move_uploaded_file($file2,$location2.".".$ext2); $file3 = $_FILES['image']['tmp_name'][2]; $sourceProperties3 = getimagesize($file3); $fileNewName3 =$ad."---".$telefon."---".$annebabatelefon."---ogrenci"; $folderPath3 = "belgeler/".$klasor; $ext3 = pathinfo($_FILES['image']['name'][2], PATHINFO_EXTENSION); $imageType3 = $sourceProperties3[2]; $resim3=$fileNewName3.".".$ext3; switch ($imageType3) { case IMAGETYPE_PNG: $imageResourceId3 = imagecreatefrompng($file3); $targetLayer3 = imageResize($imageResourceId3,$sourceProperties3[0],$sourceProperties3[1]); //imagepng($targetLayer,$folderPath. $fileNewName. "_thump.". $ext); break; case IMAGETYPE_GIF: $imageResourceId3 = imagecreatefromgif($file3); $targetLayer3 = imageResize($imageResourceId3,$sourceProperties3[0],$sourceProperties3[1]); //imagegif($targetLayer,$folderPath. $fileNewName. "_thump.". $ext); break; case IMAGETYPE_JPEG: $imageResourceId3 = imagecreatefromjpeg($file3); $targetLayer3 = imageResize($imageResourceId3,$sourceProperties3[0],$sourceProperties3[1]); //imagejpeg($targetLayer,$folderPath. $fileNewName. "_thump.". $ext); break; default: echo "Invalid Image type."; exit; break; } //move_uploaded_file($file, $folderPath. $fileNewName. ".". $ext); move_uploaded_file($file3,$location3.".".$ext3); } /* $sql = "INSERT INTO kayitlar (ad, soyad, email, telefon, babaad, babasoyad, annead, annesoyad, dogumyerioblast, dogumyerirayon, dogumtarihi, sinavdili, resim,annebabatelefon,mezunokul,okudumu) VALUES ('$ad', '$soyad','$email','$telefon','$babaad','$babasoyad','$annead','$annesoyad','$dogumyerioblast','$dogumyerirayon','$dogumtarihi','$testdili','$resim','$annebabatelefon','$mezunokul','$kurallar')"; */ //echo "New record created successfully"; include 'denememail/PHPMailer/class.phpmailer.php'; include 'denememail/PHPMailer/class.smtp.php'; //İletişim formumuzdan gelen bilgileri alıyoruz. /*$adisoyadi=$_POST['adisoyadi']; $telefon=$_POST['telefon']; $eposta=$_POST['eposta']; $mesaj=$_POST['mesaj']; */ $mail = new PHPMailer(); //ilgili PHPMailer class'ımızdan bir nesne türetiyoruz. $mail->IsSMTP(); $mail->SMTPAuth = true; $mail->Host = 'rd-sansa.guzelhosting.com'; //SMTP için kullanılacak sunucu adresi $mail->Port = 465; //TLS protokolünün kullanacağı port numarası $mail->SMTPSecure = 'ssl'; //kullanacağımız güvenlik protokolü SSL veya TLS olabilir. $mail->Username = 'mezunlar@ktakml.com'; //Email gönderecek adres $mail->Password = 'ktakml2022*'; ////Email gönderecek adresin şifresi $mail->SetFrom($mail->Username, 'KTAKML SINAV 2023'); $mail->AddAddress("$email", "KIRGIZ TURK ANADOLU KIZ MESLEK LISESI"); //Bu emaili gideceği e-posta adresi $mail->CharSet = 'UTF-8'; //Karakterlerin düzgün görünmesi için utf-8 ekliyoruz. $mail->Subject ="!!!Basvurunuz basarılı!!!"; //emailimizin konusu //email içeriğimiz $icerik = "GÖNDEREN:"."KIRGIZ TÜRK ANADOLU KIZ MESLEK LİSESİ

"." TELEFON:"."+996312318663

". " E-POSTA:"."kirgizturkkizmesleklisesi@gmail.com

"." MESAJ:"."Merhaba değerli mezunumuz. Sizi aramızda tekrar görmek ne güzel


" ; $mail->MsgHTML($icerik); if(!$mail->send()) { $mailgon=0; } else { //echo 'Message has been sent'; $mailgon=1; } if($mailgon==1) { echo " "; }//ikinci if else if($mailgon==0) { echo " "; } } else { echo " "; echo "Error: " . $sql . "
" . $conn->error; }$conn->close(); /* echo "$ad"; echo "
"; echo "$soyad"; echo "
"; echo "$email"; echo "
"; echo "$telefon"; echo "
"; echo "$babaad"; echo "
"; echo "$babasoyad"; echo "
"; echo "$annead"; echo "
"; echo "$annesoyad"; echo "
"; echo "$dogumyerioblast"; echo "
"; echo "$dogumyerirayon"; echo "
"; echo "$dogumtarihi"; echo "
"; echo "$testdili"; echo "
"; */ } } function imageResize($imageResourceId,$width,$height) { $targetWidth =200; $targetHeight =200; $targetLayer=imagecreatetruecolor($targetWidth,$targetHeight); imagecopyresampled($targetLayer,$imageResourceId,0,0,0,0,$targetWidth,$targetHeight, $width,$height); return $targetLayer; } ?>

Кыргызско-Турецкий Женский Профессиональный Лицей "Анадолу"
Форма регистрации на экзамен

Объявление для кандидатов !!!

Вступительный Экзамен на 2023-2024 учебный год будет проводиться в 03.06.2022. Онлайн-регистрация на вступительный экзамен будет до 25 мая. Регистрация в лицее будет продолжаться до 25 мая. Желаем успешного дня!

Заполнив форму ниже, вы можете зарегистрироваться на экзамен онлайн. Убедитесь, что ваша информация точна и полна. Перед заполнением формы перейдите на страницу, содержащую подробную информацию об экзамене и правилах экзамена.

Если у вас возникнут проблемы при регистрации на экзамен, свяжитесь с нами.
(0 702 922 326-Whatsapp)

Шаг 1/3

Личные данные:

Вы ознакомились с условиями экзамена?
ПИН номер
Имя
Фамилия
Номер телефона (000)000-000
Не использовать "0" перед кодом номера
WhatsApp номер(000)000-000
Не использовать "0" перед кодом номера
Электронная почта
Фото
Свидетельство о рождении
Справка в том что учиться в 8-классе

Шаг 2 / 3

Информация о ваших родителях:

Имя отца
Фамилия отца
Имя матери
Фамилия матери
Номер телефона ваших родителей(000)000-000
Не использовать "0" перед кодом номера

Шаг 3 / 3

Экзамен и другая информация:

Место рождения (область)
Место рождения (район)
Дата рождения (дд.мм.гггг)
Имя школы
Язык Экзамена
Адрес экзамена