whatsapdan da ulaşabilirsiniz 0554 983 37 31 tşk ederim
iletisim sayfası
<section class="breadcrumbs">
<div class="row">
<div class="container">
<div class="col-sm-6">
</div>
<div class="col-sm-6">
<ol class="breadcrumb">
<li>Buradasınız : </li>
<li><a href="index.php"> Anasayfa</a> </li>
<li class="active">İletişim</li>
</ol>
</div>
</div>
</div>
</section>
<div class="needsupport section_sapce bg_gray">
<div class="row">
<div class="container">
<div class="col-sm-12">
<div class="section-title margin-b50">
<h2>İletişim Bilgileri</h2>
</div>
<div class="col-sm-4 margin-b30">
<div class="text-center padding30 main-feature">
<div class="ribbon ribbon-small text-white">
<div class="ribbon-content bg_dark text-uppercase">Hızlı İletişim</div>
</div>
<i class="fa fa-headphones fa-3x text_primary square-border-icon"></i>
<h3>7/24 Müşteri Desteği</h3>
<p style="font-family: Segoe UI; font-size: 28px; color: black"><?php echo $ayarcek['ayar_gsm']; ?></p>
</div>
</div>
<div class="col-sm-4 margin-b30">
<div class="text-center padding30 main-feature">
<i class="fa fa-envelope-open fa-3x text_primary square-border-icon"></i>
<h3>E-mail Adresi</h3>
<p style="font-family: Segoe UI; font-size: 26px; color: black"><?php echo $ayarcek['ayar_mail']; ?></p>
</div>
</div>
<div class="col-sm-4 margin-b30">
<div class="text-center padding30 main-feature relative">
<i class="fa fa-map-marker fa-3x text_primary square-border-icon"></i>
<h3>Adres</h3>
<p style="font-family: Segoe UI; font-size: 16px; color: black"><?php echo $ayarcek['ayar_adres']; ?></p>
</div>
</div>
</div>
</div>
</div>
</div>
<section class="contact section_sapce2">
<div class="row">
<div class="container">
<div class="col-sm-6 col-md-8">
<h3 class="text-uppercase margin-bottom-0" style="font-family: Segoe UI; font-size: 22px; color: black">Hızlı İletişim Formu</h3>
<div class="contactForm row m0">
<div class="contactForm">
<div class="row">
<div class="successMessage alert alert-success alert-dismissible fade in margin-top-30" role="alert" style="display: none">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><i class="fa fa-times"></i></button>
</div>
</div>
<br>
<form id="iletisim" role="form" action="phpmail/index.php" method="post" class="contact_form contactForm validateIt" data-email-subject="Contact Form" data-show-errors="true">
<div class="row">
<div class="form-group">
<input required type="text" name="adsoyad" class="name form-control" placeholder="Ad Soyad">
</div>
<div class="form-group">
<input required type="email" name="eposta" class="email form-control" placeholder="E-mail">
</div>
<div class="form-group">
<input required type="tel" name="telefon" class="phonenumber form-control" placeholder="Telefon Numarası">
</div>
<div class="form-group">
<textarea class="form-control" rows="4" name="mesaj" required placeholder="Mesajınızı Yazınız"></textarea>
</div>
<button type="submit" name="iletisimform" class="submit btn btn-block btn-primary">Formu Gönder</button>
</div>
</form>
</div>
</div>
</div>
<div class="col-sm-6 col-md-3 col-md-offset-1">
<!-- Contact Address Area Start -->
<div class="contact-address">
<h3 class="text-uppercase">İletiim Bilgileri</h3>
<!-- Contact Address Area Start -->
<address>
<p><i class="fa fa-home"></i> <span><?php echo $ayarcek['ayar_adres']; ?></span></p>
<p><i class="fa fa-phone"></i> <span><?php echo $ayarcek['ayar_gsm']; ?></span></p>
<p><i class="fa fa-fax"></i> <span><?php echo $ayarcek['ayar_fax']; ?></span></p>
<p><i class="fa fa-envelope"></i> <span><?php echo $ayarcek['ayar_mail']; ?></span></p>
</address>
<!-- Contact Address Area End -->
<!-- Contact Social Links Start -->
<div>
<ul class="list-inline">
<li><a href="#"><i class="fa fa-facebook"></i></a></li>
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
<li><a href="#"><i class="fa fa-linkedin"></i></a></li>
<li><a href="#"><i class="fa fa-google-plus"></i></a></li>
</ul>
</div>
<!-- Contact Social Links End -->
</div>
<!-- Contact Address Area End -->
</div>
</div>
</div>
</section>
<!-- End of Contact -->
<?php include 'footer.php'; ?>PHPMAİİLER SAYFASI<?php
ob_start();
session_start();
$smtpuser="info@zeynabilisim.com";
$smtphost="mail.zeynabilisim.com";
$smtpport="25";
$smtppass="******";
if (isset($_POST['iletisimform'])) {
$adsoyad = htmlspecialchars(trim($_POST['adsoyad']));
$telefon = htmlspecialchars(trim($_POST['telefon']));
$konu = htmlspecialchars(trim($_POST['konu']));
$eposta = htmlspecialchars(trim($_POST['eposta']));
$mesaj = htmlspecialchars(trim($_POST['mesaj']));
$ip = htmlspecialchars(trim($_POST['ip']));
include 'class.phpmailer.php';
$epostal=$smtpuser;
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->SMTPAuth = false;
$mail->Host = $smtphost;
$mail->Port = $smtpport;
$mail->SMTPSecure = 'tls';
$mail->Username = $smtpuser;
$mail->Password = $smtppass;
$mail->SetFrom($mail->Username, $adsoyad);
$mail->AddAddress($epostal, $adsoyad);
$mail->AddAddress($eposta, $adsoyad);
$mail->CharSet = 'UTF-8';
$mail->Subject = 'İletişim Formu';
$content = '
<b>Websitenizden gelen İletişim maili</b><br>
<table>
<tr>
<td class="tg-031e">Ad Soyad</td>
<td class="tg-031e">:</td>
<td class="tg-031e">'.$adsoyad.'</td>
</tr>
<tr>
<td class="tg-031e">Telefon</td>
<td class="tg-031e">:</td>
<td class="tg-031e">'.$telefon.'</td>
</tr>
<tr>
<td class="tg-031e">E-posta</td>
<td class="tg-031e">:</td>
<td class="tg-031e">'.$eposta.'</td>
</tr>
<tr>
<td class="tg-031e">Konu</td>
<td class="tg-031e">:</td>
<td class="tg-031e">'.$konu.'</td>
</tr>
<tr>
<td class="tg-031e">Mesaj</td>
<td class="tg-031e">:</td>
<td class="tg-031e">'.$mesaj.'</td>
</tr>
<tr>
<td class="tg-031e">İp Adresi</td>
<td class="tg-031e">:</td>
<td class="tg-031e">'.$ip.'</td>
</tr>
</table>';
$mail->MsgHTML($content);
if($mail->Send()) {
header("Location:../iletisim.php?iletisimgonder=ok");
} else {
header("Location:../iletisim.php?iletisimgonder=no");
}
}
exit;
?>