include("../includes/dbBaglan.php"); $islem = $_GET['is']; ?>
if(!$islem){ ?> Pėrdoruesi }elseif($islem=="sifre"){ $kad = $_POST['kad']; $kad = stripslashes($kad); $kad = stripcslashes($kad); if(!$kad){ echo "Ju lutem plotėsoni pėrdoruesin tuaj."; }else{ $query = "SELECT * FROM uyeticari WHERE kad = '$kad'"; $result = mysql_query($query); $num_row = mysql_num_rows($result); if(empty($num_row)){ echo " Pėrdoruesi juaj nuk u gjend nė tė rregjistrat tanė!."; }else{ $row = mysql_fetch_array($result); $uyeAd = $row['ad']; $uyeSoyad = $row['soyad']; $uyeEposta = $row['eposta']; $uyeKad = $row['kad']; $uyeSifre = $row['sifre']; $epostaKonu = "Fjalėkalimi i Real-Estate-Albania.com"; $epostaKimden = "Real-Estate-Albania.com. "; $epostaMesaj = " I respektuar $uyeAd $uyeSoyad, Nė sistemin Real-Estate-Albania.com tė dhėnat tuaja janė si mėposhtė. Eposta : $uyeEposta Pėrdoruesi : $uyeKad Fjalėkalimi : $uyeSifre Adresa e qėndrės sė kontrollit : http://www.real-estate-albania.com/ticari Nėse gjatė pėrdorimit tė faqes hasni ndonjė problem ju lutem kontaktoni E-Posta : info@real-estate-albania.com Tel : 00355 4 269790 Ju urojmė punė tė mbarė. --------------------------------------------------------- Real-Estate-Albania.com "; mb_language("TR"); //add From: header $headers = "From: $epostaKimden \r\n"; //specify MIME version 1.0 $headers .= "MIME-Version: 1.0\r\n"; //unique boundary $boundary = uniqid("EMLAKTARA.COM"); //tell e-mail client this e-mail contains//alternate versions $headers .= "Content-Type: multipart/alternative" . "; boundary = $boundary\r\n\r\n"; //message to people with clients who don't understand MIME $headers .= "This is a MIME encoded message.\r\n\r\n"; //plain text version of message $headers .= "--$boundary\r\n" . "Content-Type: text/plain; charset=ISO-8859-9\r\n" . "Content-Transfer-Encoding: base64\r\n\r\n"; $headers .= chunk_split(base64_encode("$epostaMesaj")); //HTML version of message $headers .= "--$boundary\r\n" . "Content-Type: text/html; charset=ISO-8859-9\r\n" . "Content-Transfer-Encoding: base64\r\n\r\n"; $headers .= chunk_split(base64_encode("$epostaMesaj")); //send message $send = mail($uyeEposta, $epostaKonu, "", $headers); if($send){ echo "Fjalėkalimi juaj ėshtė dėrguar tek eposta juaj."; }else{ echo "Gabim: Njė gabim ndodhi gjatė dėrgimit tė fjalėkalimit tuaj ju lutem kontaktoni me drejtuesit e faqes Eposta : info@real-estate-albania.com Tel : (+355) 4 26 97 90 "; } } } } ?>