ÿØÿà JFIF ` ` ÿþ
|
Server : Apache/2 System : Linux srv244.medyabim.com 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64 User : lionbursa ( 1773) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/lionbursa/public_html/sistem/ |
Upload File : |
<!-- Start main-content -->
<div class="main-content">
<!-- Section: inner-header -->
<section class="inner-header divider parallax layer-overlay overlay-dark-5" data-bg-img="style/images/ust-bg.jpg">
<div class="container pt-60 pb-60">
<!-- Section Content -->
<div class="section-content">
<div class="row">
<div class="col-sm-8 text-left flip xs-text-center">
<h2 class="title text-white"><span class="text-theme-white"><?php echo $hdil["hyorum"]; ?></span></h2>
</div>
<div class="col-sm-4">
<ol class="breadcrumb text-right sm-text-center mt-10">
<li class="white"><a href="index.php"><?php echo $hdil["hanasayfa"]; ?></a></li>
<li><a href="yorumlar-1.html"><?php echo $hdil["hyorum"]; ?></a></li>
</ol>
</div>
</div>
</div>
</div>
</section>
<!-- Section: Blog -->
<section>
<div class="container mt-30 mb-30 pt-30 pb-30">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<?php
if($_GET[musteriyorumu]==musteriyorumu){
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$recaptcha = $_POST['g-recaptcha-response'];
if (!empty($recaptcha)) {
include "sistem/curl.php";
$google_url = "https://www.google.com/recaptcha/api/siteverify";
$secret = '' .$secretkey. '';
$ip = $_SERVER['REMOTE_ADDR'];
$url = $google_url . "?secret=" . $secret . "&response=" . $recaptcha . "&remoteip=" . $ip;
$res = curlKullan($url);
$res = json_decode($res, true);
if ($res['success']) {
$tarih = date("d-m-Y");
$adsoyad = $_POST['adsoyad'];
$telefon = $_POST['telefon'];
$eposta = $_POST['eposta'];
$mesaj = $_POST['mesaj'];
$onay = guvenlik($_POST['onay']);
$insert = $db->prepare("INSERT INTO yorumlar SET
adsoyad = ?,
eposta = ?,
telefon = ?,
mesaj = ?,
tarih = ?,
onay = ?");
$insert->execute(array(
$adsoyad,
$eposta,
$telefon,
$mesaj,
$tarih,
$onay
));
include "sistem/class.phpmailer.php"; // KLASÖR İSMİNİ DEĞİŞTİREBİLİRSİNİZ.
$sql = $db->query("SELECT * FROM ayarlar");
foreach ($sql as $a) {
$mail = new PHPMailer();
$mail->IsSMTP(); // SMTP İLE GÖNDER
$mail->CharSet = 'utf-8'; // SMTP GÖNDERİLEN MAİL KARAKTER SETİ
$mail->Host = "$a[mailserver]"; // SMTP SUNUCU
$mail->Port = "$a[mailbasligi]"; // SMTP SUNUCU PORTU : 465 VEYA 587 DİR. ANCAK HER İKİSİNDE HATA ALIRSANIZ 25 OLARAK AYARLAYIN.. " İSİMTESCİL.NET İÇİN 587 "
$mail->SMTPAuth = true; // SMTP KIMLIK DOĞRULAMASI ETKIN -- // BAZI HOSTING FIRMALARINDA GEREKLIDIR. ÖRNEK : ISIMTESCIL.NET, NATRO
$mail->Username = "$a[mailadres]"; // SMTP MAİL KULLANICI ADI
$mail->Password = "$a[mailparola]"; // SMTP MAİL ŞİFRENİZ
$mail->IsHTML(true); // SMTP MAİL HTML KULLANIMI ETKİN
$mail->From = "$a[mailadres]"; // SMTP KULLANICI ADINIZ İLE AYNI OLMALI
$mail->FromName = "$a[mailadres]"; //GÖNDEREN ADI
$mail->Sender = "$a[mailadres]"; // GÖNDEREN MAIL
$mail->AddAddress("$a[mailadres]"); //KIME GİDECEĞİ
$mail->Subject = $_POST['adsoyad']. " Ziyaretçi Yorumu"; // MAİL KONUSU
//--------------- SMTP SUNUCU AYARLARI BİTİŞ -------------------------//
$id = $_GET['id'];
$mail->Body = '<table class="made-in_text" border="0" cellSpacing="10" cellPadding="4" height="254" width="700">
<tr>
<td height="30" width="145" align="left">
<font face="Tahoma" size="2"><strong>Adı Soyadı :</strong></font></td>
<td align="left" width="509" bgcolor="#F6FDEC">
<font size="2" face="Tahoma">'. $_POST['adsoyad'] . '</font></td>
</tr>';
$mail->Body .= '<tr>
<td height="30" align="left">
<font face="Tahoma" size="2"><strong>E-Posta :</strong></font></td>
<td align="left" width="509" bgcolor="#F6FDEC">
<font size="2" face="Tahoma">'. $_POST['eposta'] . '</font></td>
</tr>';
$mail->Body .= '<tr>
<td style="VERTICAL-ALIGN: top; PADDING-TOP: 20px" align="left">
<font face="Tahoma" size="2"><strong>Mesaj :</strong></font></td>
<td align="left" width="509" bgcolor="#F6FDEC">
<font size="2" face="Tahoma">'. $_POST['mesaj'] . '</font></td>
</tr>';
$mail->Body .= '<tr>
<td height="30" align="left">
<strong><font face="Tahoma" size="2">IP Adresi </font></strong><font face="Tahoma" size="2"><strong>:</strong></font></td>
<td align="left" width="509" bgcolor="#F6FDEC">
<font size="2" face="Tahoma">'. $_SERVER['REMOTE_ADDR'] . '</font></td>
</tr></table>';
if(!$mail->Send())
{
echo '<div class="col-md-12">
<div class="alert alert-gfort alert-info" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span> </button>'.$hdil["hhata"].'
</div></div>';
}else{
echo '<div class="col-md-12">
<div class="alert alert-gfort alert-success" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span> </button>'.$hdil["hsonuc"].' '.$hdil["htesekkur"].'</div></div>';
}}}
} else {
echo '<h3><font color="#FF0000">Lütfen bot olmadığınızı doğrulayın.</font></h3>';
}
} else {
echo '<h3><font color="#FF0000">Lütfen bot olmadığınızı doğrulayın.</font></h3>';
}
}
?>
<div class="blog-posts single-post">
<?php
$sql = $db->query("SELECT * FROM yorumlar WHERE onay = '1' ORDER BY yId DESC", PDO::FETCH_ASSOC);
foreach ($sql as $a) {
$mesaj = html_entity_decode($a["mesaj"]);
$tarih = $a["tarih"];
$adsoyad = $a["adsoyad"];
?>
<div class="author-details media-post">
<a href="#" class="post-thumb mb-0 pull-left flip pr-20"><img class="img-thumbnail" alt="<?php echo $adsoyad; ?>" src="style/images/yok.png"></a>
<div class="post-right">
<h5 class="post-title mt-0 mb-0"><a href="#" class="font-18"><?php echo $adsoyad; ?></a></h5>
<p><?php echo $mesaj; ?></p>
</div>
<div class="clearfix"></div>
</div>
<hr/>
<?php
}
?>
<div class="comment-box">
<div class="row">
<div class="col-sm-12">
<h5><?php echo $hdil["hrezt"]; ?></h5>
<div class="row">
<form action="yorumlar-1.html?musteriyorumu=musteriyorumu" method="POST">
<div class="col-sm-12 pt-0 pb-0">
<div class="form-group">
<input type="text" class="form-control" required name="adsoyad" placeholder="<?php echo $hdil["had"]; ?>">
</div>
<div class="form-group">
<input type="text" required class="form-control" name="eposta" placeholder="<?php echo $hdil["hmail"]; ?>">
</div>
<div class="col-sm-12">
<div class="form-group">
<textarea class="form-control" required name="mesaj" placeholder="<?php echo $hdil["hmesaj"]; ?>" rows="7"></textarea>
<div class="g-recaptcha" data-sitekey="<?php echo $sitekey; ?>"></div>
</div>
<div class="form-group">
<input name="telefon" type="hidden" value="0">
<input type="hidden" name="onay" value="0">
<button type="submit" class="btn btn-dark btn-flat pull-left m-0" data-loading-text="Please wait..."><?php echo $hdil["hgonder"]; ?></button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<!-- end main-content -->
<script src='https://www.google.com/recaptcha/api.js'></script>