ÿØÿà 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/domains/lionuluslararasidanismanlik.com/public_ftp/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["hadres"]; ?></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="iletisim.html"><?php echo $hdil["hadres"]; ?></a></li>
</ol>
</div>
</div>
</div>
</div>
</section>
<!-- Divider: Contact -->
<section class="divider">
<div class="container">
<div class="row pt-30">
<div class="col-md-6">
<?php
if($_GET[ticketmesaj]==ticketmesaj){
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'];
$konu = $_POST['konu'];
$mesaj = $_POST['mesaj'];
$okundu = $_POST['okundu'];
$ekle = $db->prepare("INSERT INTO dilek SET
adsoyad = ?,
telefon = ?,
eposta = ?,
konu = ?,
mesaj = ?,
tarih = ?,
okundu = ?");
$ekle->execute(array(
$adsoyad,
$telefon,
$eposta,
$konu,
$mesaj,
$tarih,
$okundu
));
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']. " Kisiden Gelen Mesaj "; // 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>Telefon Numarası :</strong></font></td>
<td align="left" width="509" bgcolor="#F6FDEC">
<font size="2" face="Tahoma">'. $_POST['telefon'] . '</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 height="30" align="left">
<font face="Tahoma" size="2"><strong>Konu :</strong></font></td>
<td align="left" width="509" bgcolor="#F6FDEC">
<font size="2" face="Tahoma">'. $_POST['konu'] . '</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">
<!-- Alert -->
<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">
<!-- Alert -->
<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"].'</div></div>';
}}}
} else {
echo ' <div class="col-md-12">
<!-- Alert -->
<div class="alert alert-gfort alert-danger" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>Lütfen bot olmadığınızı doğrulayın.</div></div>';
}
} else {
echo ' <div class="col-md-12">
<!-- Alert -->
<div class="alert alert-gfort alert-danger" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>Lütfen bot olmadığınızı doğrulayın.</div></div>';
}
}
?>
<h3 class="line-bottom mt-0 mb-30"><?php echo $hdil["hiform"]; ?></h3>
<!-- Contact Form -->
<form action="index.php?page=iletisim&ticketmesaj=ticketmesaj" method="POST">
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label><?php echo $hdil["had"]; ?> <small>*</small></label>
<input class="form-control" type="text" name="adsoyad" placeholder="<?php echo $hdil["had"]; ?>" required="required">
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label><?php echo $hdil["hmail"]; ?> <small>*</small></label>
<input class="form-control required email" type="email" name="eposta" placeholder="<?php echo $hdil["hmail"]; ?>" required="required">
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label><?php echo $hdil["hkonu"]; ?> <small>*</small></label>
<input class="form-control required" type="text" name="konu" placeholder="<?php echo $hdil["hkonu"]; ?>" required="required">
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label><?php echo $hdil["htel"]; ?></label>
<input class="form-control" type="text" name="telefon" placeholder="<?php echo $hdil["htel"]; ?>" required="required">
</div>
</div>
</div>
<div class="form-group">
<label><?php echo $hdil["hmesaj"]; ?></label>
<textarea name="mesaj" class="form-control required" rows="5" placeholder="<?php echo $hdil["hmesaj"]; ?>"></textarea>
</div>
<div class="form-group"><br/>
<div class="g-recaptcha" data-sitekey="<?php echo $sitekey; ?>"></div><br/>
<input type="hidden" name="okundu" value="0" />
<button type="submit" class="btn btn-dark btn-theme-colored btn-flat mr-5" data-loading-text="Please wait..."><?php echo $hdil["hgonder"]; ?></button>
</div>
</form>
</div>
<div class="col-md-6">
<h3 class="line-bottom mt-0"><?php echo $hdil["hadres"]; ?></h3>
<div class="icon-box p-0 media mb-15"> <a class="media-left pull-left flip mr-15" href="#"> <i class="fa fa-phone text-theme-colored"></i></a>
<div class="media-body">
<h5 class="mt-0"><?php echo $hdil["htel"]; ?></h5>
<p><a href="tel:<?php echo $tf; ?>"><?php echo $tf; ?></a></p>
</div>
</div>
<div class="icon-box p-0 media mb-15"> <a class="media-left pull-left flip mr-15" href="#"> <i class="fa fa-tablet text-theme-colored"></i></a>
<div class="media-body">
<h5 class="mt-0"> GSM</h5>
<p><a href="tel:<?php echo $gsm; ?>"><?php echo $gsm; ?></a></p>
</div>
</div>
<div class="icon-box p-0 media mb-15"> <a class="media-left pull-left flip mr-15" href="#"> <i class="fa fa-envelope-o text-theme-colored"></i></a>
<div class="media-body">
<h5 class="mt-0"><?php echo $hdil["hmail"]; ?></h5>
<p><a href="mailto:<?php echo $ep; ?>"><?php echo $ep; ?></a></p>
</div>
</div>
<div class="icon-box p-0 media mb-15"> <a class="media-left pull-left flip mr-20" href="#"> <i class="fa fa-map-marker text-theme-colored"></i></a>
<div class="media-body">
<h5 class="mt-0"><?php echo $hdil["hiadres"]; ?></h5>
<p><?php echo $c; ?> - <?php echo $l; ?></p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Divider: Google Map -->
<section>
<div class="container-fluid pt-0 pb-0">
<div class="row">
<?php
$sql = $db->query("SELECT * FROM iletisim ORDER BY Id ASC", PDO::FETCH_ASSOC);
foreach ($sql as $a) {
echo html_entity_decode($a["harita_geo"]);
}
?>
</div>
</div>
</section>
</div>
<!-- end main-content -->
<script src='https://www.google.com/recaptcha/api.js'></script>