LiteSpeed Linux server2.poyrazhosting.com 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64 safemode : OFF MySQL: OFF | Perl: OFF | cURL: ON | WGet: OFF > / home / cuneytsener53 / anaokulu1.snrsoft.com.tr / | Server Ip : 104.21.78.54 |
Filename | /home/cuneytsener53/anaokulu1.snrsoft.com.tr/iletisim.php |
Size | 7.29 kb |
Permission | rw-r--r-- |
Owner | |
Create time | 02-Mar-2025 05:46 |
Last modified | 20-Sep-2021 07:38 |
Last accessed | 02-Apr-2025 22:13 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php include "includes/header.php"; ?>
<!-- Inner Heading Start -->
<div class="innerHeading-wrap">
<div class="container">
<h1>İletişim</h1>
</div>
</div>
<!-- Inner Heading End -->
<!-- Inner Content Start -->
<div class="innerContent-wrap">
<div class="container">
<div class="cont_info ">
<div class="row">
<div class="col-lg-3 col-md-6 md-mb-30">
<div class="address-item style">
<div class="address-icon"> <i class="fas fa-phone-alt"></i> </div>
<div class="address-text">
<h3 class="contact-title">Telefon</h3>
<ul class="unorderList">
<li><a href="tel:<?=$tel1?>"><?=$tel1?></a></li>
<li><a href="tel:<?=$tel2?>"><?=$tel2?></a></li>
</ul>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 md-mb-30">
<div class="address-item style">
<div class="address-icon"> <i class="far fa-envelope"></i> </div>
<div class="address-text">
<h3 class="contact-title">E-Posta</h3>
<ul class="unorderList">
<li><a href="mailto:<?=$email?>"><?=$email?></a></li>
</ul>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 sm-mb-30">
<div class="address-item">
<div class="address-icon"> <i class="far fa-clock"></i> </div>
<div class="address-text">
<h3 class="contact-title">Çalışma Saatleri</h3>
<ul class="unorderList">
<?php
$sayfada = 10; // sayfada gösterilecek içerik miktarını belirtiyoruz.
$sorgu=$db->prepare("select * from calisma");
$sorgu->execute();
$toplam_icerik=$sorgu->rowCount();
$toplam_sayfa = ceil($toplam_icerik / $sayfada);
// eğer sayfa girilmemişse 1 varsayalım.
$sayfa = isset($_GET['sayfa']) ? (int) $_GET['sayfa'] : 1;
// eğer 1'den küçük bir sayfa sayısı girildiyse 1 yapalım.
if($sayfa < 1) $sayfa = 1;
// toplam sayfa sayımızdan fazla yazılırsa en son sayfayı varsayalım.
if($sayfa > $toplam_sayfa) $sayfa = $toplam_sayfa;
$limit = ($sayfa - 1) * $sayfada;
$refsor=$db->prepare("select * from calisma order by rank ASC limit $limit,$sayfada");
$refsor->execute();
while ($refcek=$refsor->fetch(PDO::FETCH_ASSOC)) {
if ($refcek['isActive']==1){
?>
<li class="d-flex mb-1"><?php echo $refcek['baslik']; ?> <span class="ml-auto"><?php echo $refcek['aciklama']; ?></span></li>
<?php }} ?>
</ul>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="address-item">
<div class="address-icon"> <i class="fas fa-map-marker-alt"></i> </div>
<div class="address-text">
<h3 class="contact-title">Adres</h3>
<p> <?=$adres?></p>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-7">
<!-- Register Start -->
<div class="login-wrap">
<div class="contact-info login_box">
<div class="contact-form loginWrp registerWrp">
<form action="" method="post" role="form" id="contactForm" novalidate="">
<input name="ip" type="hidden" class="form-control" value="<?php echo $_SERVER['REMOTE_ADDR']; ?>">
<input name="durum" type="hidden" class="form-control" value="0">
<input id="tarih" type="hidden" name="tarih" value="<?php echo date('d.m.Y H:i:s'); ?>">
<h3>İletişim Formu</h3>
<div class="row">
<div class="col-lg-6">
<div class="form-group">
<input type="email" name="isim" class="form-control" placeholder="İsim Soyisim">
</div>
</div>
<div class="col-lg-6">
<div class="form-group">
<input type="email" name="mail" class="form-control" placeholder="Elektronik Posta Adresi">
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<textarea name="mesaj" class="form-control" placeholder="İletmek İstediğiniz Mesaj"></textarea>
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<button name="iletisim" type="submit" class="default-btn btn send_btn"> Mesajı Gönder <span></span></button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<!-- Register End -->
</div>
<div class="col-lg-5">
<div class="map">
<?=$haritakodu?>
</div>
</div>
</div>
</div>
</div>
<!-- Inner Content Start -->
<?php include "includes/footer.php"; ?>
<!-- Inner Heading Start -->
<div class="innerHeading-wrap">
<div class="container">
<h1>İletişim</h1>
</div>
</div>
<!-- Inner Heading End -->
<!-- Inner Content Start -->
<div class="innerContent-wrap">
<div class="container">
<div class="cont_info ">
<div class="row">
<div class="col-lg-3 col-md-6 md-mb-30">
<div class="address-item style">
<div class="address-icon"> <i class="fas fa-phone-alt"></i> </div>
<div class="address-text">
<h3 class="contact-title">Telefon</h3>
<ul class="unorderList">
<li><a href="tel:<?=$tel1?>"><?=$tel1?></a></li>
<li><a href="tel:<?=$tel2?>"><?=$tel2?></a></li>
</ul>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 md-mb-30">
<div class="address-item style">
<div class="address-icon"> <i class="far fa-envelope"></i> </div>
<div class="address-text">
<h3 class="contact-title">E-Posta</h3>
<ul class="unorderList">
<li><a href="mailto:<?=$email?>"><?=$email?></a></li>
</ul>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 sm-mb-30">
<div class="address-item">
<div class="address-icon"> <i class="far fa-clock"></i> </div>
<div class="address-text">
<h3 class="contact-title">Çalışma Saatleri</h3>
<ul class="unorderList">
<?php
$sayfada = 10; // sayfada gösterilecek içerik miktarını belirtiyoruz.
$sorgu=$db->prepare("select * from calisma");
$sorgu->execute();
$toplam_icerik=$sorgu->rowCount();
$toplam_sayfa = ceil($toplam_icerik / $sayfada);
// eğer sayfa girilmemişse 1 varsayalım.
$sayfa = isset($_GET['sayfa']) ? (int) $_GET['sayfa'] : 1;
// eğer 1'den küçük bir sayfa sayısı girildiyse 1 yapalım.
if($sayfa < 1) $sayfa = 1;
// toplam sayfa sayımızdan fazla yazılırsa en son sayfayı varsayalım.
if($sayfa > $toplam_sayfa) $sayfa = $toplam_sayfa;
$limit = ($sayfa - 1) * $sayfada;
$refsor=$db->prepare("select * from calisma order by rank ASC limit $limit,$sayfada");
$refsor->execute();
while ($refcek=$refsor->fetch(PDO::FETCH_ASSOC)) {
if ($refcek['isActive']==1){
?>
<li class="d-flex mb-1"><?php echo $refcek['baslik']; ?> <span class="ml-auto"><?php echo $refcek['aciklama']; ?></span></li>
<?php }} ?>
</ul>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="address-item">
<div class="address-icon"> <i class="fas fa-map-marker-alt"></i> </div>
<div class="address-text">
<h3 class="contact-title">Adres</h3>
<p> <?=$adres?></p>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-7">
<!-- Register Start -->
<div class="login-wrap">
<div class="contact-info login_box">
<div class="contact-form loginWrp registerWrp">
<form action="" method="post" role="form" id="contactForm" novalidate="">
<input name="ip" type="hidden" class="form-control" value="<?php echo $_SERVER['REMOTE_ADDR']; ?>">
<input name="durum" type="hidden" class="form-control" value="0">
<input id="tarih" type="hidden" name="tarih" value="<?php echo date('d.m.Y H:i:s'); ?>">
<h3>İletişim Formu</h3>
<div class="row">
<div class="col-lg-6">
<div class="form-group">
<input type="email" name="isim" class="form-control" placeholder="İsim Soyisim">
</div>
</div>
<div class="col-lg-6">
<div class="form-group">
<input type="email" name="mail" class="form-control" placeholder="Elektronik Posta Adresi">
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<textarea name="mesaj" class="form-control" placeholder="İletmek İstediğiniz Mesaj"></textarea>
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<button name="iletisim" type="submit" class="default-btn btn send_btn"> Mesajı Gönder <span></span></button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<!-- Register End -->
</div>
<div class="col-lg-5">
<div class="map">
<?=$haritakodu?>
</div>
</div>
</div>
</div>
</div>
<!-- Inner Content Start -->
<?php include "includes/footer.php"; ?>