Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function yas($y)
- {
- $yas = date("Y-m-d") - $y;
- return $yas;
- }
- function form($getpost)
- {
- $gelen = strip_tags(mysql_real_escape_string($getpost));
- return $gelen;
- }
- function mailkontrol($email)
- {
- return filter_var($email, FILTER_VALIDATE_EMAIL);
- }
- function sef($temizle)
- {
- $tr = array(
- "Ç",
- "ç",
- "Ö",
- "ö",
- "Ğ",
- "ğ",
- "Ü",
- "ü",
- "İ",
- "ı",
- "Ş",
- "ş",
- "Ü",
- "ü",
- "?",
- " ",
- ",",
- ".",
- "~",
- "*",
- "\"",
- "(",
- ")",
- "=",
- "{",
- "}",
- "/",
- "[",
- "]",
- "&",
- "#",
- "\$",
- "€",
- "£",
- "<",
- ">",
- "!",
- "'",
- "^",
- "@"
- );
- $en = array(
- "C",
- "c",
- "O",
- "o",
- "G",
- "g",
- "U",
- "u",
- "I",
- "i",
- "S",
- "s",
- "U",
- "u",
- "-",
- "",
- "-",
- "-",
- "",
- "",
- "",
- "",
- "-",
- "",
- "",
- "",
- "",
- "",
- "",
- "-",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- ""
- );
- $link = str_replace($tr, $en, $temizle);
- return $link;
- }
- function cinsiyet($i)
- {
- switch ($i) {
- case 1:
- $cins = "Erkek";
- break;
- case 2:
- $cins = "Kadın";
- break;
- case 3:
- $cins = "Lezbiyen";
- break;
- case 4:
- $cins = "Çift";
- break;
- case 5:
- $cins = "Gay";
- break;
- case 6:
- $cins = "Travesti";
- }
- return $cins;
- }
- function medenidurum($i)
- {
- switch ($i) {
- case 1:
- $medeni = "Bekar";
- break;
- case 2:
- $medeni = "Nişanlı";
- break;
- case 3:
- $medeni = "Evli";
- break;
- case 4:
- $medeni = "Dul";
- break;
- case 5:
- $medeni = "Boşanmış";
- break;
- case 6:
- $medeni = "Ayrı Yaşıyor";
- break;
- case 7:
- $medeni = "İlişkisi Var";
- }
- return $medeni;
- }
- function mesajmedeni($i)
- {
- switch ($i) {
- case 1:
- $medeni = "bekar";
- break;
- case 2:
- $medeni = "nişanlı";
- break;
- case 3:
- $medeni = "evli";
- break;
- case 4:
- $medeni = "dul";
- break;
- case 5:
- $medeni = "boşanmış";
- break;
- case 6:
- $medeni = "ayrı yaşıyor";
- break;
- case 7:
- $medeni = "ilişkisi var";
- }
- return $medeni;
- }
- function burc($ayy, $gunn)
- {
- $ay = $ayy;
- $gun = $gunn;
- if ($ay == 12 && 23 <= $gun || $ay == 1 && $gun <= 20) {
- $site = file_get_contents("http://www.muneccim.com/gunluk_fal/bugun.asp?burc=10");
- preg_match_all("#Narrow\"><strong><big>(.*?)</big></strong></font>#si", $site, $bsonuc);
- $burcu = iconv("iso-8859-9", "utf-8", form($bsonuc[1][0]));
- echo "<p style=\"margin:0;padding:0;text-align:center;font:bold 10pt 'trebuchet ms';\">Oğlak Burcu</p><p style=\"margin:0;padding:3px 17px 7px 7px;text-align:justify;font:normal 8pt tahoma;color:#333;\">" . $burcu . "</p>";
- }
- if ($ay == 1 && 21 <= $gun || $ay == 2 && $gun <= 19) {
- $site = file_get_contents("http://www.muneccim.com/gunluk_fal/bugun.asp?burc=11");
- preg_match_all("#Narrow\"><strong><big>(.*?)</big></strong></font>#si", $site, $bsonuc);
- $burcu = iconv("iso-8859-9", "utf-8", form($bsonuc[1][0]));
- echo "<p style=\"margin:0;padding:0;text-align:center;font:bold 10pt 'trebuchet ms';\">Kova Burcu</p><p style=\"margin:0;padding:3px 17px 7px 7px;text-align:justify;font:normal 8pt tahoma;color:#333;\">" . $burcu . "</p>";
- }
- if ($ay == 2 && 20 <= $gun || $ay == 3 && $gun <= 20) {
- $site = file_get_contents("http://www.muneccim.com/gunluk_fal/bugun.asp?burc=12");
- preg_match_all("#Narrow\"><strong><big>(.*?)</big></strong></font>#si", $site, $bsonuc);
- $burcu = iconv("iso-8859-9", "utf-8", form($bsonuc[1][0]));
- echo "<p style=\"margin:0;padding:0;text-align:center;font:bold 10pt 'trebuchet ms';\">Balık Burcu</p><p style=\"margin:0;padding:3px 17px 7px 7px;text-align:justify;font:normal 8pt tahoma;color:#333;\">" . $burcu . "</p>";
- }
- if ($ay == 3 && 21 <= $gun || $ay == 4 && $gun <= 20) {
- $site = file_get_contents("http://www.muneccim.com/gunluk_fal/bugun.asp?burc=1");
- preg_match_all("#Narrow\"><strong><big>(.*?)</big></strong></font>#si", $site, $bsonuc);
- $burcu = iconv("iso-8859-9", "utf-8", form($bsonuc[1][0]));
- echo "<p style=\"margin:0;padding:0;text-align:center;font:bold 10pt 'trebuchet ms';\">Koç Burcu</p><p style=\"margin:0;padding:3px 17px 7px 7px;text-align:justify;font:normal 8pt tahoma;color:#333;\">" . $burcu . "</p>";
- }
- if ($ay == 4 && 21 <= $gun || $ay == 5 && $gun <= 21) {
- $site = file_get_contents("http://www.muneccim.com/gunluk_fal/bugun.asp?burc=2");
- preg_match_all("#Narrow\"><strong><big>(.*?)</big></strong></font>#si", $site, $bsonuc);
- $burcu = iconv("iso-8859-9", "utf-8", form($bsonuc[1][0]));
- echo "<p style=\"margin:0;padding:0;text-align:center;font:bold 10pt 'trebuchet ms';\">Boğa Burcu</p><p style=\"margin:0;padding:3px 17px 7px 7px;text-align:justify;font:normal 8pt tahoma;color:#333;\">" . $burcu . "</p>";
- }
- if ($ay == 5 && 22 <= $gun || $ay == 6 && $gun <= 21) {
- $site = file_get_contents("http://www.muneccim.com/gunluk_fal/bugun.asp?burc=3");
- preg_match_all("#Narrow\"><strong><big>(.*?)</big></strong></font>#si", $site, $bsonuc);
- $burcu = iconv("iso-8859-9", "utf-8", form($bsonuc[1][0]));
- echo "<p style=\"margin:0;padding:0;text-align:center;font:bold 10pt 'trebuchet ms';\">İkizler Burcu</p><p style=\"margin:0;padding:3px 17px 7px 7px;text-align:justify;font:normal 8pt tahoma;color:#333;\">" . $burcu . "</p>";
- }
- if ($ay == 6 && 22 <= $gun || $ay == 7 && $gun <= 23) {
- $site = file_get_contents("http://www.muneccim.com/gunluk_fal/bugun.asp?burc=4");
- preg_match_all("#Narrow\"><strong><big>(.*?)</big></strong></font>#si", $site, $bsonuc);
- $burcu = iconv("iso-8859-9", "utf-8", form($bsonuc[1][0]));
- echo "<p style=\"margin:0;padding:0;text-align:center;font:bold 10pt 'trebuchet ms';\">Yengeç Burcu</p><p style=\"margin:0;padding:3px 17px 7px 7px;text-align:justify;font:normal 8pt tahoma;color:#333;\">" . $burcu . "</p>";
- }
- if ($ay == 7 && 24 <= $gun || $ay == 8 && $gun <= 23) {
- $site = file_get_contents("http://www.muneccim.com/gunluk_fal/bugun.asp?burc=5");
- preg_match_all("#Narrow\"><strong><big>(.*?)</big></strong></font>#si", $site, $bsonuc);
- $burcu = iconv("iso-8859-9", "utf-8", form($bsonuc[1][0]));
- echo "<p style=\"margin:0;padding:0;text-align:center;font:bold 10pt 'trebuchet ms';\">Aslan Burcu</p><p style=\"margin:0;padding:3px 17px 7px 7px;text-align:justify;font:normal 8pt tahoma;color:#333;\">" . $burcu . "</p>";
- }
- if ($ay == 8 && 24 <= $gun || $ay == 9 && $gun <= 23) {
- $site = file_get_contents("http://www.muneccim.com/gunluk_fal/bugun.asp?burc=6");
- preg_match_all("#Narrow\"><strong><big>(.*?)</big></strong></font>#si", $site, $bsonuc);
- $burcu = iconv("iso-8859-9", "utf-8", form($bsonuc[1][0]));
- echo "<p style=\"margin:0;padding:0;text-align:center;font:bold 10pt 'trebuchet ms';\">Başak Burcu</p><p style=\"margin:0;padding:3px 17px 7px 7px;text-align:justify;font:normal 8pt tahoma;color:#333;\">" . $burcu . "</p>";
- }
- if ($ay == 9 && 24 <= $gun || $ay == 10 && $gun <= 22) {
- $site = file_get_contents("http://www.muneccim.com/gunluk_fal/bugun.asp?burc=7");
- preg_match_all("#Narrow\"><strong><big>(.*?)</big></strong></font>#si", $site, $bsonuc);
- $burcu = iconv("iso-8859-9", "utf-8", form($bsonuc[1][0]));
- echo "<p style=\"margin:0;padding:0;text-align:center;font:bold 10pt 'trebuchet ms';\">Terazi Burcu</p><p style=\"margin:0;padding:3px 17px 7px 7px;text-align:justify;font:normal 8pt tahoma;color:#333;\">" . $burcu . "</p>";
- }
- if ($ay == 10 && 23 <= $gun || $ay == 11 && $gun <= 22) {
- $site = file_get_contents("http://www.muneccim.com/gunluk_fal/bugun.asp?burc=8");
- preg_match_all("#Narrow\"><strong><big>(.*?)</big></strong></font>#si", $site, $bsonuc);
- $burcu = iconv("iso-8859-9", "utf-8", form($bsonuc[1][0]));
- echo "<p style=\"margin:0;padding:0;text-align:center;font:bold 10pt 'trebuchet ms';\">Akrep Burcu</p><p style=\"margin:0;padding:3px 17px 7px 7px;text-align:justify;font:normal 8pt tahoma;color:#333;\">" . $burcu . "</p>";
- }
- if ($ay == 11 && 23 <= $gun || $ay == 12 && $gun <= 22) {
- $site = file_get_contents("http://www.muneccim.com/gunluk_fal/bugun.asp?burc=9");
- preg_match_all("#Narrow\"><strong><big>(.*?)</big></strong></font>#si", $site, $bsonuc);
- $burcu = iconv("iso-8859-9", "utf-8", form($bsonuc[1][0]));
- echo "<p style=\"margin:0;padding:0;text-align:center;font:bold 10pt 'trebuchet ms';\">Yay Burcu</p><p style=\"margin:0;padding:3px 17px 7px 7px;text-align:justify;font:normal 8pt tahoma;color:#333;\">" . $burcu . "</p>";
- }
- }
- function burcu($ayy, $gunn)
- {
- $ay = $ayy;
- $gun = $gunn;
- if ($ay == 12 && 23 <= $gun || $ay == 1 && $gun <= 20) {
- $burcu = "Oğlak";
- }
- if ($ay == 1 && 21 <= $gun || $ay == 2 && $gun <= 19) {
- $burcu = "Kova";
- }
- if ($ay == 2 && 20 <= $gun || $ay == 3 && $gun <= 20) {
- $burcu = "Balık";
- }
- if ($ay == 3 && 21 <= $gun || $ay == 4 && $gun <= 20) {
- $burcu = "Koç";
- }
- if ($ay == 4 && 21 <= $gun || $ay == 5 && $gun <= 21) {
- $burcu = "Boğa";
- }
- if ($ay == 5 && 22 <= $gun || $ay == 6 && $gun <= 21) {
- $burcu = "İkizler";
- }
- if ($ay == 6 && 22 <= $gun || $ay == 7 && $gun <= 23) {
- $burcu = "Yengeç";
- }
- if ($ay == 7 && 24 <= $gun || $ay == 8 && $gun <= 23) {
- $burcu = "Aslan";
- }
- if ($ay == 8 && 24 <= $gun || $ay == 9 && $gun <= 23) {
- $burcu = "Başak";
- }
- if ($ay == 9 && 24 <= $gun || $ay == 10 && $gun <= 22) {
- $burcu = "Terazi";
- }
- if ($ay == 10 && 23 <= $gun || $ay == 11 && $gun <= 22) {
- $burcu = "Akrep";
- }
- if ($ay == 11 && 23 <= $gun || $ay == 12 && $gun <= 22) {
- $burcu = "Yay";
- }
- return $burcu;
- }
- function burcbg($ayy, $gunn)
- {
- $ay = $ayy;
- $gun = $gunn;
- if ($ay == 12 && 23 <= $gun || $ay == 1 && $gun <= 20) {
- echo "<div class=\"profildetaytablo\" style=\"background-image:url(img/burc/oglak.jpg);background-repeat:no-repeat;background-position:120px 0\">";
- }
- if ($ay == 1 && 21 <= $gun || $ay == 2 && $gun <= 19) {
- echo "<div class=\"profildetaytablo\" style=\"background-image:url(img/burc/kova.jpg);background-repeat:no-repeat;background-position:120px 0\">";
- }
- if ($ay == 2 && 20 <= $gun || $ay == 3 && $gun <= 20) {
- echo "<div class=\"profildetaytablo\" style=\"background-image:url(img/burc/balik.jpg);background-repeat:no-repeat;background-position:120px 0\">";
- }
- if ($ay == 3 && 21 <= $gun || $ay == 4 && $gun <= 20) {
- echo "<div class=\"profildetaytablo\" style=\"background-image:url(img/burc/koc.jpg);background-repeat:no-repeat;background-position:120px 0\">";
- }
- if ($ay == 4 && 21 <= $gun || $ay == 5 && $gun <= 21) {
- echo "<div class=\"profildetaytablo\" style=\"background-image:url(img/burc/boga.jpg);background-repeat:no-repeat;background-position:120px 0\">";
- }
- if ($ay == 5 && 22 <= $gun || $ay == 6 && $gun <= 21) {
- echo "<div class=\"profildetaytablo\" style=\"background-image:url(img/burc/ikizler.jpg);background-repeat:no-repeat;background-position:120px 0\">";
- }
- if ($ay == 6 && 22 <= $gun || $ay == 7 && $gun <= 23) {
- echo "<div class=\"profildetaytablo\" style=\"background-image:url(img/burc/yengec.jpg);background-repeat:no-repeat;background-position:120px 0\">";
- }
- if ($ay == 7 && 24 <= $gun || $ay == 8 && $gun <= 23) {
- echo "<div class=\"profildetaytablo\" style=\"background-image:url(img/burc/aslan.jpg);background-repeat:no-repeat;background-position:120px 0\">";
- }
- if ($ay == 8 && 24 <= $gun || $ay == 9 && $gun <= 23) {
- echo "<div class=\"profildetaytablo\" style=\"background-image:url(img/burc/basak.jpg);background-repeat:no-repeat;background-position:120px 0\">";
- }
- if ($ay == 9 && 24 <= $gun || $ay == 10 && $gun <= 22) {
- echo "<div class=\"profildetaytablo\" style=\"background-image:url(img/burc/terazi.jpg);background-repeat:no-repeat;background-position:120px 0\">";
- }
- if ($ay == 10 && 23 <= $gun || $ay == 11 && $gun <= 22) {
- echo "<div class=\"profildetaytablo\" style=\"background-image:url(img/burc/akrep.jpg);background-repeat:no-repeat;background-position:120px 0\">";
- }
- if ($ay == 11 && 23 <= $gun || $ay == 12 && $gun <= 22) {
- echo "<div class=\"profildetaytablo\" style=\"background-image:url(img/burc/yay.jpg);background-repeat:no-repeat;background-position:120px 0\">";
- }
- }
- function sacrengi($srenk)
- {
- switch ($srenk) {
- case 1:
- $sac = "Siyah";
- break;
- case 2:
- $sac = "Kahverengi";
- break;
- case 3:
- $sac = "Sarı";
- break;
- case 4:
- $sac = "Kızıl";
- break;
- case 5:
- $sac = "Kumral";
- break;
- case 6:
- $sac = "Kırlaşmış";
- break;
- case 7:
- $sac = "Beyaz";
- break;
- case 8:
- }
- $sac = "Diğer";
- break;
- $sac = "Belirtmemiş";
- break;
- return $sac;
- }
- function gozrengi($grenk)
- {
- switch ($grenk) {
- case 1:
- $goz = "Kahverengi";
- break;
- case 2:
- $goz = "Açık kahve";
- break;
- case 3:
- $goz = "Ela";
- break;
- case 4:
- $goz = "Yeşil";
- break;
- case 5:
- $goz = "Mavi";
- break;
- case 6:
- $goz = "Siyah";
- break;
- case 7:
- $goz = "Gri";
- break;
- case 8:
- }
- $goz = "Diğer";
- break;
- $goz = "Belirtmemiş";
- break;
- return $goz;
- }
- function vucuttipi($vtip)
- {
- switch ($vtip) {
- case 1:
- $vucut = "İnce";
- break;
- case 2:
- $vucut = "Normal";
- break;
- case 3:
- $vucut = "Atletik";
- break;
- case 4:
- $vucut = "Balık eti";
- break;
- case 5:
- }
- $vucut = "Kilolu";
- break;
- $vucut = "Belirtmemiş";
- break;
- return $vucut;
- }
- function meslek($mesleka)
- {
- switch ($mesleka) {
- case 46:
- $meslek1 = "Belirtmek istemiyor";
- break;
- case 1:
- $meslek1 = "Bilişim";
- break;
- case 2:
- $meslek1 = "Çevirmen";
- break;
- case 3:
- $meslek1 = "Danışmanlık";
- break;
- case 4:
- $meslek1 = "Denizci";
- break;
- case 5:
- $meslek1 = "Diğer";
- break;
- case 6:
- $meslek1 = "Din adamı";
- break;
- case 7:
- $meslek1 = "Doktor";
- break;
- case 8:
- $meslek1 = "Eczacı";
- break;
- case 9:
- $meslek1 = "Emniyet görevlisi";
- break;
- case 10:
- $meslek1 = "Ev kadını";
- break;
- case 11:
- $meslek1 = "Finans";
- break;
- case 12:
- $meslek1 = "Halkla ilişkiler";
- break;
- case 13:
- $meslek1 = "Hemşire";
- break;
- case 14:
- $meslek1 = "Hostes";
- break;
- case 15:
- $meslek1 = "Hukukçu";
- break;
- case 16:
- $meslek1 = "İlaç sektörü";
- break;
- case 17:
- $meslek1 = "İnsan kaynakları";
- break;
- case 18:
- $meslek1 = "İthalat-İhracat";
- break;
- case 19:
- $meslek1 = "Manken";
- break;
- case 20:
- $meslek1 = "Medya mensubu";
- break;
- case 21:
- $meslek1 = "Memur";
- break;
- case 22:
- $meslek1 = "Mimar";
- break;
- case 23:
- $meslek1 = "Muhasebe";
- break;
- case 24:
- $meslek1 = "Mühendis";
- break;
- case 25:
- $meslek1 = "Müzisyen";
- break;
- case 26:
- $meslek1 = "Ordu mensubu";
- break;
- case 27:
- $meslek1 = "Otomotiv";
- break;
- case 28:
- $meslek1 = "Öğretim görevlisi";
- break;
- case 29:
- $meslek1 = "Öğretmen";
- break;
- case 30:
- $meslek1 = "Politikacı";
- break;
- case 31:
- $meslek1 = "Psikolog";
- break;
- case 32:
- $meslek1 = "Reklam";
- break;
- case 33:
- $meslek1 = "Sağlık hizmetleri";
- break;
- case 34:
- $meslek1 = "Sanatçı";
- break;
- case 35:
- $meslek1 = "Sanayici";
- break;
- case 36:
- $meslek1 = "Satış-Pazarlama";
- break;
- case 37:
- $meslek1 = "Serbest meslek";
- break;
- case 38:
- $meslek1 = "Sigortacı";
- break;
- case 39:
- $meslek1 = "Sporcu";
- break;
- case 40:
- $meslek1 = "Tekstil";
- break;
- case 41:
- $meslek1 = "Ticaret";
- break;
- case 42:
- $meslek1 = "Turizm";
- break;
- case 43:
- $meslek1 = "Ulaşım-Taşımacılık";
- break;
- case 44:
- $meslek1 = "Yayıncılık";
- break;
- case 45:
- }
- $meslek1 = "Yöneticilik";
- break;
- $meslek1 = "Belirtmemiş";
- break;
- return $meslek1;
- }
- function meslekpoz($meslekd)
- {
- switch ($meslekd) {
- case 1:
- $meslek2 = "Full time çalışan";
- break;
- case 2:
- $meslek2 = "Part time çalışan";
- break;
- case 3:
- $meslek2 = "Orta düzey yönetici";
- break;
- case 4:
- $meslek2 = "Üst düzey yönetici";
- break;
- case 5:
- $meslek2 = "Kendi işim";
- break;
- case 6:
- $meslek2 = "Öğrenci";
- break;
- case 7:
- $meslek2 = "Emekli";
- break;
- case 8:
- }
- $meslek2 = "İşsiz";
- break;
- $meslek2 = "Belirtmemiş";
- break;
- return $meslek2;
- }
- function gelir($gelird)
- {
- switch ($gelird) {
- case 1:
- $gelir2 = "500 TL altı";
- break;
- case 2:
- $gelir2 = "500-1000 TL";
- break;
- case 3:
- $gelir2 = "1000-2000 TL";
- break;
- case 4:
- $gelir2 = "2000-3000 TL";
- break;
- case 5:
- $gelir2 = "3000 TL üstü";
- break;
- case 6:
- }
- $gelir2 = "Cevap vermek istemiyorum";
- break;
- $gelir2 = "Belirtmemiş";
- break;
- return $gelir2;
- }
- function yabancidil($yabancidild)
- {
- switch ($yabancidild) {
- case 1:
- $yabancidil2 = "Almanca";
- break;
- case 2:
- $yabancidil2 = "Arapça";
- break;
- case 3:
- $yabancidil2 = "Bulgarca";
- break;
- case 4:
- $yabancidil2 = "Çince";
- break;
- case 5:
- $yabancidil2 = "Farsça";
- break;
- case 6:
- $yabancidil2 = "Fransızca";
- break;
- case 7:
- $yabancidil2 = "Hollandaca";
- break;
- case 8:
- $yabancidil2 = "İngilizce";
- break;
- case 9:
- $yabancidil2 = "İspanyolca";
- break;
- case 10:
- $yabancidil2 = "İtalyanca";
- break;
- case 11:
- $yabancidil2 = "Japonca";
- break;
- case 12:
- $yabancidil2 = "Rusça";
- break;
- case 13:
- $yabancidil2 = "Yunanca";
- break;
- case 14:
- }
- $yabancidil2 = "Diğer";
- break;
- $yabancidil2 = "Belirtmemiş";
- break;
- return $yabancidil2;
- }
- function kiminleyas($kiminleyasd)
- {
- switch ($kiminleyasd) {
- case 1:
- $kiminleyas2 = "Yalnızım";
- break;
- case 2:
- $kiminleyas2 = "Çocuklarımla";
- break;
- case 3:
- $kiminleyas2 = "Ev arkadaşımla";
- break;
- case 4:
- $kiminleyas2 = "Oda arkadaşımla";
- break;
- case 5:
- $kiminleyas2 = "Ailemle";
- break;
- case 6:
- }
- $kiminleyas2 = "Diğer";
- break;
- $kiminleyas2 = "Belirtmemiş";
- break;
- return $kiminleyas2;
- }
- function cocuk($cocukd)
- {
- switch ($cocukd) {
- case 1:
- $cocuk2 = "Çocuksuzum";
- break;
- case 2:
- $cocuk2 = "Var, onunla yaşıyorum";
- break;
- case 3:
- $cocuk2 = "Var, ama onunla yaşamıyorum";
- break;
- case 4:
- }
- $cocuk2 = "Var, bazen onunla yaşıyorum";
- break;
- $cocuk2 = "Belirtmemiş";
- break;
- return $cocuk2;
- }
- function cocukiste($cocukisted)
- {
- switch ($cocukisted) {
- case 1:
- $cocukiste2 = "İstiyorum";
- break;
- case 2:
- $cocukiste2 = "Emin değilim";
- break;
- case 3:
- }
- $cocukiste2 = "İstemiyorum";
- break;
- $cocukiste2 = "Belirtmemiş";
- break;
- return $cocukiste2;
- }
- function sigara($sig)
- {
- switch ($sig) {
- case 1:
- $sigara = "Az içiyorum";
- break;
- case 2:
- $sigara = "İçiyorum";
- break;
- case 3:
- $sigara = "İçmiyorum";
- break;
- case 4:
- $sigara = "Puro";
- break;
- case 5:
- }
- $sigara = "Pipo";
- break;
- $sigara = "Belirtmemiş";
- break;
- return $sigara;
- }
- function alkol($alk)
- {
- switch ($alk) {
- case 1:
- $alkol = "Az içiyorum";
- break;
- case 2:
- $alkol = "İçiyorum";
- break;
- case 3:
- $alkol = "İçmiyorum";
- break;
- case 4:
- }
- $alkol = "Sadece özel günlerde";
- break;
- $alkol = "Belirtmemiş";
- break;
- return $alkol;
- }
- function egitim($egitimd)
- {
- switch ($egitimd) {
- case 1:
- $egitim1 = "İlkokul";
- break;
- case 2:
- $egitim1 = "Ortaokul";
- break;
- case 3:
- $egitim1 = "Lise";
- break;
- case 4:
- $egitim1 = "Önlisans";
- break;
- case 5:
- $egitim1 = "Lisans";
- break;
- case 6:
- }
- $egitim1 = "Yüksek lisans";
- break;
- $egitim1 = "Belirtmemiş";
- break;
- return $egitim1;
- }
- function medeni()
- {
- echo "<option value=\"1\">Bekar</option><option value=\"2\">Nişanlı</option><option value=\"3\">Evli</option><option value=\"4\">Dul</option><option value=\"5\">Boşanmış</option><option value=\"6\">Ayrı Yaşıyor</option><option value=\"7\">İlişkisi var</option>";
- }
- function aracinsiyet($arac)
- {
- switch ($arac) {
- case 1:
- $aracinsiyet1 = "Erkek";
- break;
- case 2:
- $aracinsiyet1 = "Kadın";
- }
- return $aracinsiyet1;
- }
- function arailiski($arai)
- {
- switch ($arai) {
- case 1:
- $arailiski1 = "Sanal arkadaşlık";
- break;
- case 2:
- $arailiski1 = "Arkadaşlık";
- break;
- case 3:
- $arailiski1 = "Kısa süreli ilişki";
- break;
- case 4:
- $arailiski1 = "Uzun süreli ilişki";
- break;
- case 5:
- $arailiski1 = "Evlilik";
- }
- return $arailiski1;
- }
- function sehir($s)
- {
- switch ($s) {
- case 1:
- $il = "Adana";
- break;
- case 2:
- $il = "Adıyaman";
- break;
- case 3:
- $il = "Afyon";
- break;
- case 4:
- $il = "Ağrı";
- break;
- case 5:
- $il = "Amasya";
- break;
- case 6:
- $il = "Ankara";
- break;
- case 7:
- $il = "Antalya";
- break;
- case 8:
- $il = "Artvin";
- break;
- case 9:
- $il = "Aydın";
- break;
- case 10:
- $il = "Balıkesir";
- break;
- case 11:
- $il = "Bilecik";
- break;
- case 12:
- $il = "Bingöl";
- break;
- case 13:
- $il = "Bitlis";
- break;
- case 14:
- $il = "Bolu";
- break;
- case 15:
- $il = "Burdur";
- break;
- case 16:
- $il = "Bursa";
- break;
- case 17:
- $il = "Çanakkale";
- break;
- case 18:
- $il = "Çankırı";
- break;
- case 19:
- $il = "Çorum";
- break;
- case 20:
- $il = "Denizli";
- break;
- case 21:
- $il = "Diyarbakır";
- break;
- case 22:
- $il = "Edirne";
- break;
- case 23:
- $il = "Elazığ";
- break;
- case 24:
- $il = "Erzican";
- break;
- case 25:
- $il = "Erzurum";
- break;
- case 26:
- $il = "Eskişehir";
- break;
- case 27:
- $il = "Gaziantep";
- break;
- case 28:
- $il = "Giresun";
- break;
- case 29:
- $il = "Gümüşhane";
- break;
- case 30:
- $il = "Hakkari";
- break;
- case 31:
- $il = "Hatay";
- break;
- case 32:
- $il = "Isparta";
- break;
- case 33:
- $il = "Mersin";
- break;
- case 34:
- $il = "İstanbul";
- break;
- case 35:
- $il = "İzmir";
- break;
- case 36:
- $il = "Kars";
- break;
- case 37:
- $il = "Kastamonu";
- break;
- case 38:
- $il = "Kayseri";
- break;
- case 39:
- $il = "Kırklareli";
- break;
- case 40:
- $il = "Kırşehir";
- break;
- case 41:
- $il = "Kocaeli";
- break;
- case 42:
- $il = "Konya";
- break;
- case 43:
- $il = "Kütahya";
- break;
- case 44:
- $il = "Malatya";
- break;
- case 45:
- $il = "Manisa";
- break;
- case 46:
- $il = "Kahramanmaraş";
- break;
- case 47:
- $il = "Mardin";
- break;
- case 48:
- $il = "Muğla";
- break;
- case 49:
- $il = "Muş";
- break;
- case 50:
- $il = "Nevşehir";
- break;
- case 51:
- $il = "Niğde";
- break;
- case 52:
- $il = "Ordu";
- break;
- case 53:
- $il = "Rize";
- break;
- case 54:
- $il = "Sakarya";
- break;
- case 55:
- $il = "Samsun";
- break;
- case 56:
- $il = "Siirt";
- break;
- case 57:
- $il = "Sinop";
- break;
- //============================================== PAYMENT ==========================================//
Add Comment
Please, Sign In to add comment