|
|
<?php |
|
|
session_start(); |
|
|
include 'include/menu.php'; |
|
|
include 'include/slide.php'; |
|
|
|
|
|
if ( isset( $_POST[ 'sepetle' ] ) ) |
|
|
{ |
|
|
|
|
|
ob_start(); |
|
|
session_start(); |
|
|
$update = array( |
|
|
'id' => $_POST['urun_id'], |
|
|
'paket' => $_POST['urun_paket'], |
|
|
'urun' => $_POST['urun_adi'], |
|
|
'adet' => $_POST['urun_adet'], |
|
|
'fiyat' => $_POST['urun_fiyat'] |
|
|
) ; |
|
|
|
|
|
$_SESSION['urunler'][]=$update; |
|
|
|
|
|
|
|
|
if ( $update ) |
|
|
{ |
|
|
|
|
|
Header( "Location:sepet" ); |
|
|
} |
|
|
else |
|
|
{ |
|
|
|
|
|
Header( "Location:sepet" ); |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
?> |
|
|
<title><?php echo $settingsprint['ayar_title'] ?></title> |
|
|
<meta name="description" content="<?php echo $settingsprint['ayar_description'] ?>"> |
|
|
<meta name="keywords" content="<?php echo $settingsprint['ayar_keywords'] ?>"> |
|
|
</head> |
|
|
|
|
|
|
|
|
|
|
|
<?php if ($widgetprint['widget_diger']==1) { ?> |
|
|
<!-- BAŞLIK --> |
|
|
<div class="call-to-action call-to-action-colored cta-center p-b-50 p-t-50"> |
|
|
<div class="container"> |
|
|
<div class="row"> |
|
|
<div class="col-md-10"> |
|
|
<h3><?php echo $widgetprint['widget_bdiger'] ?></h3> |
|
|
</div> |
|
|
</div> |
|
|
</div></div> |
|
|
<!-- end: BAŞLIK --> |
|
|
<?php } ?> |
|
|
<!-- HİZMETLER --> |
|
|
<section class="p-b-20 p-t-0"> |
|
|
<div class="container"> |
|
|
<div class="row"> |
|
|
<?php echo $widgetprint['widget_html']; ?> |
|
|
</div> |
|
|
<!-- end features box --> |
|
|
</div> |
|
|
</section> |
|
|
<?php if ($widgetprint['widget_hizmet']==1) { ?> |
|
|
|
|
|
<!-- HİZMETLER --> |
|
|
<section class="p-b-20 p-t-0"> |
|
|
<div class="container"> |
|
|
<div class="row"> |
|
|
<div class="hr-title hr-long center"><abbr><?php echo $widgetprint['widget_bhizmet']; ?></abbr> </div> |
|
|
<?php |
|
|
$hizmetarticle=$db->prepare("SELECT * from hizmetler where hizmet_vitrin=1 Limit 9"); |
|
|
$hizmetarticle->execute(array(0)); |
|
|
while ($hizmetarticleprint=$hizmetarticle->fetch(PDO::FETCH_ASSOC)) { ?> |
|
|
<!-- features box --> |
|
|
<div style="margin-bottom: 20px;" class="col-md-4"> |
|
|
<a href="<?=seo('hizmet-'.$hizmetarticleprint["hizmet_baslik"]).'-'.$hizmetarticleprint["hizmet_id"]?>" alt="<?php echo $hizmetarticleprint['hizmet_baslik'] ?>" title="<?php echo $hizmetarticleprint['hizmet_baslik'] ?>"><img alt="<?php echo $hizmetarticleprint['hizmet_baslik'] ?>" title="<?php echo $hizmetarticleprint['hizmet_baslik'] ?>" style="height: 220px; width: 100%; border: 1px solid #f1f1f1;" src="admin/<?php echo $hizmetarticleprint['hizmet_resim']; ?>" class="img-responsive m-b-20"></a> |
|
|
<a href="<?=seo('hizmet-'.$hizmetarticleprint["hizmet_baslik"]).'-'.$hizmetarticleprint["hizmet_id"]?>" title="<?php echo $hizmetarticleprint['hizmet_baslik'] ?>"><h4 style="margin-top: -20px;"><?php echo $hizmetarticleprint['hizmet_baslik'] ?></h4></a> |
|
|
</div> |
|
|
<!-- end: features box --> |
|
|
<?php } ?> |
|
|
</div> |
|
|
<!-- end features box --> |
|
|
</div> |
|
|
</section> |
|
|
|
|
|
<?php } if ($widgetprint['widget_urun']==1) { ?> |
|
|
<!-- ÜRÜNLER --> |
|
|
<section class="p-t-100 p-b-30"> |
|
|
<div class="container"> |
|
|
<!--Shop products Carousel --> |
|
|
<div class="hr-title hr-long center"><abbr><?php echo $widgetprint['widget_burun']; ?></abbr> </div> |
|
|
|
|
|
<?php |
|
|
$urunsor=$db->prepare("SELECT * from urunler where urun_paket='0' and urun_vitrin=1 order by urun_id DESC"); |
|
|
$urunsor->execute(); |
|
|
while($uruncek=$urunsor->fetch(PDO::FETCH_ASSOC)) { |
|
|
|
|
|
$resimsor=$db->prepare("SELECT * from resim where resim_urun=:resim_urun Limit 2"); |
|
|
$resimsor->execute(array( |
|
|
'resim_urun' => $uruncek['urun_id'] |
|
|
)); |
|
|
|
|
|
?> |
|
|
<div style="height: 300px;" class="product col-md-4"> |
|
|
<div class="product-image"> |
|
|
<?php while($resimcek=$resimsor->fetch(PDO::FETCH_ASSOC)) { ?> |
|
|
<a href="<?=seo('urunler-'.$uruncek["urun_baslik"]).'-'.$uruncek["urun_id"]?>" title="<?php echo $uruncek['urun_baslik']; ?>"><img alt="<?php echo $uruncek['urun_baslik']; ?>" src="admin/<?php echo $resimcek['resim_link'] ?>"> |
|
|
</a> |
|
|
<?php } if ($widgetprint['widget_ufiyat']==1) { ?> |
|
|
<span style="border-radius: 2%; |
|
|
color: #ffffff; |
|
|
font-size: 20px; |
|
|
font-weight: 600; |
|
|
height: 43px; |
|
|
right: 0; |
|
|
line-height: 42px; |
|
|
position: absolute; |
|
|
text-align: center; |
|
|
text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.14); |
|
|
top: 20px; |
|
|
width: 90px; |
|
|
opacity: .9; |
|
|
z-index: 5;" class="background-colored" ><i class="fa fa-try"></i><?php echo $uruncek['urun_fiyat']; ?></span> |
|
|
<?php } ?> |
|
|
<div class="col-md-6"> |
|
|
<div class="product-overlay"> |
|
|
<a target="_blank" href="<?php echo $uruncek['urun_demo']; ?>" title="<?php echo $uruncek['urun_baslik']; ?>" ><i class="fa fa-eye"></i> DEMO</a> |
|
|
</div> |
|
|
</div> |
|
|
<div class="col-md-6"> |
|
|
<div class="product-overlay"> |
|
|
<a href="<?=seo('urunler-'.$uruncek["urun_baslik"]).'-'.$uruncek["urun_id"]?>" ><i class="fa fa-search"></i> DETAY</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="product-description"> |
|
|
<div class="product-category"><hr></div> |
|
|
<div class="product-title"> |
|
|
<h4><a href="<?=seo('urunler-'.$uruncek["urun_baslik"]).'-'.$uruncek["urun_id"]?>" title="<?php echo $uruncek['urun_baslik']; ?>"><?php |
|
|
$urunkarakter = strlen( $uruncek['urun_baslik'] ); |
|
|
if ( $urunkarakter > 30 ) |
|
|
{ |
|
|
echo mb_substr($uruncek['urun_baslik'], 0,30, 'UTF-8'); |
|
|
} else { |
|
|
echo $uruncek['urun_baslik']; |
|
|
} ?></a></h4> |
|
|
</div> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<?php } ?> |
|
|
</div> |
|
|
<!--END: Shop products Carousel --> |
|
|
</section> |
|
|
<!-- end: ÜRÜNLER --> |
|
|
<?php } if ($widgetprint['widget_welcome1']==1) { ?> |
|
|
<!-- Pricing Table Default --> |
|
|
<section id="content"> |
|
|
<div class="container"> |
|
|
|
|
|
<!-- Pricing Table --> |
|
|
<div class="hr-title hr-long center"><abbr><?php echo $widgetprint['widget_bwelcome1']; ?></abbr> </div> |
|
|
<div class="row"> |
|
|
<div class="pricing-table"> |
|
|
<?php |
|
|
$urunsor=$db->prepare("SELECT * from urunler where urun_paket='1' and urun_vitrin=1 order by urun_id ASC"); |
|
|
$urunsor->execute(); |
|
|
while($uruncek=$urunsor->fetch(PDO::FETCH_ASSOC)) { ?> |
|
|
<div style="height: 700px;" class="col-md-4" id="<?php echo $uruncek['urun_id']; ?>"> |
|
|
<div style="border: 1px solid #f1f1f1;" class="plan"> |
|
|
<div class="plan-header"> |
|
|
|
|
|
<h4><?php echo $uruncek['urun_baslik']; ?></h4> |
|
|
<div style="font-size: 50px" class="plan-price"><?php echo $uruncek['urun_fiyat']; ?><i style="font-size: 30px;" class="fa fa-try"></i></div> |
|
|
</div> |
|
|
<div style="padding-top: 0;" class="plan-list"> |
|
|
<hr> |
|
|
<ul> |
|
|
<?php echo $uruncek['urun_aciklama']; ?> |
|
|
</ul> |
|
|
|
|
|
<?php if ($widgetprint['widget_usatinal']==1) { ?> |
|
|
<!-- Form --> |
|
|
<form method="post" action=""> |
|
|
<input type="hidden" name="urun_adi" value="<?php echo $uruncek['urun_baslik']; ?>"> |
|
|
<input type="hidden" name="urun_paket" value="<?php echo $uruncek['urun_paket']; ?>"> |
|
|
<input type="hidden" name="urun_adet" value="1"> |
|
|
<input type="hidden" name="urun_fiyat" value="<?php echo $uruncek['urun_fiyat']; ?>"> |
|
|
<input type="hidden" name="urun_id" value="<?php echo $uruncek['urun_id']; ?>"> |
|
|
|
|
|
<!-- Form Group --> |
|
|
<div class="plan-button"> |
|
|
<button name="sepetle" type="submit" class="btn"><i class="fa fa-shopping-cart"></i>Sepete Ekle</button> |
|
|
|
|
|
</div><!-- /End Form Group --> |
|
|
|
|
|
|
|
|
</form><!-- /End Form --> |
|
|
<?php } ?> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<?php } ?> |
|
|
</div> |
|
|
</div> |
|
|
<div class="call-to-action call-to-action-colored"> |
|
|
<div class="col-md-10"> |
|
|
<h3>İstediğiniz paketi bulamadınız mı? Tüm paketlerimizi inceleyin.</h3> |
|
|
</div> |
|
|
<div class="col-md-2"> |
|
|
<a style="margin-top: 8px;margin-bottom: 20px" href="paketler" class="btn btn-light btn-outline">TÜM PAKETLER</a> </div> |
|
|
</div> |
|
|
</section> |
|
|
<!-- end: Pricing Table Default --> |
|
|
|
|
|
<?php } if ($widgetprint['widget_bilgi']==1) { ?> |
|
|
<!-- NELER YAPARIZ --> |
|
|
<section class="p-b-0 p-t-50"> |
|
|
<div class="container"> |
|
|
<div class="heading text-left"> |
|
|
<div class="row"> |
|
|
<!--Process icons--> |
|
|
<div style="margin-bottom: -10px;" class="hr-title hr-long center"><abbr><?php echo $widgetprint['widget_bbilgi']; ?></abbr> </div> |
|
|
|
|
|
<?php |
|
|
$bilgisor=$db->prepare("SELECT * from bilgi"); |
|
|
$bilgisor->execute(array(0)); |
|
|
while ($bilgicek=$bilgisor->fetch(PDO::FETCH_ASSOC)) {?> |
|
|
<div class="col-md-4"> |
|
|
<div style="padding-top: 20px;" class="icon-box effect medium center process"> |
|
|
<h3><?php echo $bilgicek['bilgi_baslik'] ?></h3> |
|
|
<p><?php echo $bilgicek['bilgi_aciklama'] ?></p> |
|
|
</div> |
|
|
</div> |
|
|
<?php } ?> |
|
|
</div> |
|
|
</div> |
|
|
<!--End: Process icons--> |
|
|
</div> |
|
|
</section> |
|
|
<!-- NELER YAPARIZ --> |
|
|
<?php } if ($widgetprint['widget_proje']==1) { ?> |
|
|
<!-- PROJELER --> |
|
|
<section class="p-t-50 p-b-50"> |
|
|
<div class="container"> |
|
|
<div class="row"> |
|
|
<div class="col-md-7 m-b-30"> |
|
|
|
|
|
<div class="carousel" data-items="1" data-lightbox="gallery"> |
|
|
<?php |
|
|
$projearticle=$db->prepare("SELECT * from projeler"); |
|
|
$projearticle->execute(array(0)); |
|
|
while ($projearticleprint=$projearticle->fetch(PDO::FETCH_ASSOC)) { ?> |
|
|
<a href="admin/<?php echo $projearticleprint['proje_resim']; ?>" data-lightbox="gallery-item" title="<?php echo $projearticleprint['proje_baslik']; ?>"><img src="admin/<?php echo $projearticleprint['proje_resim']; ?>" alt="<?php echo $projearticleprint['proje_baslik']; ?>"></a> |
|
|
<?php } ?> |
|
|
</div> |
|
|
</div> |
|
|
<div class="col-md-5 p-l-40 p-r-40"> |
|
|
<div class="m-b-40"> |
|
|
<h2><?php echo $widgetprint['widget_bproje']; ?></h2> |
|
|
<p><?php echo $widgetprint['widget_pyazi']; ?></p> |
|
|
</div> |
|
|
<a class="btn" href="<?php echo $widgetprint['widget_plink']; ?>"><span><?php echo $widgetprint['widget_pbuton']; ?></span></a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
</section> |
|
|
<!-- end: PROJELER --> |
|
|
<?php } if ($widgetprint['widget_referans']==1) { ?> |
|
|
<!-- REFERANSLAR --> |
|
|
<section class="p-t-20"> |
|
|
<div class="container"> |
|
|
<div class="hr-title hr-long center"><abbr><?php echo $widgetprint['widget_breferans']; ?></abbr> </div> |
|
|
<div class="carousel" data-items="4" data-items-sm="4" data-items-xs="3" data-items-xxs="2" data-margin="20" data-arrows="false" data-autoplay="true" data-autoplay-timeout="3000" data-loop="true"> |
|
|
<?php |
|
|
$refsor=$db->prepare("SELECT * from referanslar"); |
|
|
$refsor->execute(array(0)); |
|
|
while ($refprint=$refsor->fetch(PDO::FETCH_ASSOC)) { ?> |
|
|
<div> |
|
|
<a target="_blank" href="<?php echo $refprint['referans_link'] ?>"><img alt="<?php echo $refprint['referans_adi']; ?>" title="<?php echo $refprint['referans_adi'].' - '; ?><?php echo $refprint['referans_kategori']; ?>" src="admin/<?php echo $refprint['referans_resim1'] ?>"></a> |
|
|
</div> |
|
|
<?php } ?> |
|
|
</div> |
|
|
</div> |
|
|
</section> |
|
|
<!-- end: REFERANSLAR --> |
|
|
<?php } if ($widgetprint['widget_counter']==1) { ?> |
|
|
|
|
|
<!-- COUNTERS --> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Our numbers --> |
|
|
<section class="background-colored p-t-120 p-b-40"> |
|
|
<div id="particles-js" class="particles"></div> |
|
|
<div class="container xs-text-center sm-text-center text-light"> |
|
|
<div class="row"> |
|
|
<?php |
|
|
$counterarticle=$db->prepare("SELECT * from counter"); |
|
|
$counterarticle->execute(array(0)); |
|
|
while ($counterarticleprint=$counterarticle->fetch(PDO::FETCH_ASSOC)) { ?> |
|
|
|
|
|
<div class="col-md-3"> |
|
|
|
|
|
<div class="text-center"> |
|
|
<div class="icon"><i class="fa fa-3x <?php echo $counterarticleprint['counter_icon']; ?>"></i></div> |
|
|
<div class="counter"> <span data-speed="3000" data-refresh-interval="50" data-to="<?php echo $counterarticleprint['counter_rakam']; ?>" data-from="600" data-seperator="true"></span> </div> |
|
|
<div class="seperator seperator-small"></div> |
|
|
<p><?php echo $counterarticleprint['counter_isim']; ?></p> |
|
|
</div> |
|
|
</div> |
|
|
<?php } ?> |
|
|
</div> |
|
|
</div> |
|
|
</section> |
|
|
<!-- end: COUNTERS --> |
|
|
<?php } if ($widgetprint['widget_yorum']==1) { ?> |
|
|
<!-- YORUMLAR --> |
|
|
<section> |
|
|
<div class="container"> |
|
|
<!-- Heading --> |
|
|
<div class="text-center m-b-20"> |
|
|
<div class="hr-title hr-long center"><abbr><?php echo $widgetprint['widget_byorum']; ?></abbr> </div> |
|
|
</div> |
|
|
<!-- end: Heading --> |
|
|
|
|
|
<!-- Testimonials --> |
|
|
<div class="carousel arrows-visibile testimonial testimonial-single" data-items="2" data-loop="true" data-autoplay="true" data-autoplay-timeout="3500" data-arrows="false"> |
|
|
<?php |
|
|
$yorum=$db->prepare("SELECT * from yorumlar order by yorum_id"); |
|
|
$yorum->execute(); |
|
|
while($yorumcek=$yorum->fetch(PDO::FETCH_ASSOC)) { ?> |
|
|
<!-- Testimonials item --> |
|
|
<div class="testimonial-item"> |
|
|
<img src="admin/<?php echo $yorumcek['yorum_resim']; ?>" alt="<?php echo $yorumcek['yorum_isim']; ?>"> |
|
|
<p><?php echo $yorumcek['yorum_icerik']; ?></p> |
|
|
<span><?php echo $yorumcek['yorum_isim']; ?></span> |
|
|
</div> |
|
|
<!-- end: Testimonials item--> |
|
|
<?php } ?> |
|
|
|
|
|
</div> |
|
|
<!-- end: Testimonials --> |
|
|
</div> |
|
|
</section> |
|
|
<!-- end: YORUMLAR --> |
|
|
<?php } if ($widgetprint['widget_blog']==1) { ?> |
|
|
<!-- Blog --> |
|
|
<section class="p-t-0"> |
|
|
<div class="container"> |
|
|
<div class="hr-title hr-long center"><abbr><?php echo $widgetprint['widget_bblog']; ?></abbr> </div> |
|
|
<div class="carousel" data-items="3" data-item="post-item" data-margin="20"> |
|
|
<?php |
|
|
$blog=$db->prepare("SELECT * from blog order by blog_id Limit 5"); |
|
|
$blog->execute(); |
|
|
while($blogcek=$blog->fetch(PDO::FETCH_ASSOC)) { ?> |
|
|
<!-- Post item--> |
|
|
<div class="post-item border"> |
|
|
<div class="post-item-wrap"> |
|
|
<div class="post-image"> |
|
|
<a href="<?=seo('blog-'.$blogcek["blog_baslik"]).'-'.$blogcek["blog_id"]?>"> |
|
|
<img alt="<?php echo $blogcek['blog_baslik']; ?>" src="admin/<?php echo $blogcek['blog_resim']; ?>"> |
|
|
</a> |
|
|
</div> |
|
|
<div class="post-item-description"> |
|
|
<span class="post-meta-date"><i class="fa fa-calendar-o"></i><?php echo substr($blogcek['blog_tarih'], 0,10); ?></span> |
|
|
<h2><a href="<?=seo('blog-'.$blogcek["blog_baslik"]).'-'.$blogcek["blog_id"]?>"><?php |
|
|
$karakter = strlen( $blogcek['blog_baslik'] ); |
|
|
if ( $karakter > 35 ) |
|
|
{ |
|
|
echo mb_substr( $blogcek['blog_baslik'], 0, 35, 'UTF-8' ) . '...'; |
|
|
} |
|
|
else |
|
|
{ |
|
|
echo $blogcek['blog_baslik']; |
|
|
} |
|
|
?> |
|
|
</a></h2> |
|
|
<p><?php echo substr($blogcek['blog_detay'], 0,100).'...'; ?></p> |
|
|
|
|
|
<a href="<?=seo('blog-'.$blogcek["blog_baslik"]).'-'.$blogcek["blog_id"]?>" class="item-link">Devamını Oku <i class="fa fa-arrow-right"></i></a> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<!-- end: Post item--> |
|
|
<?php } ?> |
|
|
|
|
|
</div> |
|
|
<!--END: Post Carousel --> |
|
|
</div> |
|
|
</section> |
|
|
<!-- end: Blog --> |
|
|
<?php } include 'include/footer.php'; ?> |
|
|
|