📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv4.demodesign.com.tr
📝
projedetay.php
← Geri Dön
<?php require_once 'ayar/Config.php'; if ($Site->modul_ayarlari('projegoster') != "pasif") { // Gelen Değer $gelen = @get('id'); // Hit İşlemi + İstediğinize Bağlı $proje = $db->select('projeler') ->where('proje_seflink', $gelen) ->run(); if (isset($proje[0])) { $proje = $proje[0]; if($proje['proje_aktifkontrol'] == "aktif" || $Site->adminyetki(session("id"),'yetki')==1){ $okunma = $proje['proje_okunma']; $deneme = 1; $hit = $okunma+$deneme; $okunma = $db->update('projeler') ->where('proje_seflink',$gelen) ->set(array( 'proje_okunma' => $hit )); ?> <!DOCTYPE html> <html lang="tr"> <head> <meta charset="utf-8"> <!--===== Meta =====--> <?php if ($proje['proje_seo_title'] != ''){ ?> <title> <?php echo $proje['proje_seo_title']; ?> </title> <?php } else { ?> <title> <?php echo $proje['proje_baslik']; ?> </title> <?php } ?> <meta name="description" content="<?php echo $proje['proje_seo_aciklama']; ?>"> <meta name="keywords" content="<?php echo $proje['proje_seo_etiket']; ?>"> <!--===== Header =====--> <?php include('header.php'); ?> <!--===== Body =====--> <section class="beautypress-inner-welocme-section beautypress-bg parallax-bg" data-parallax="scroll" style="background-color:#<?php echo $Site->site_ayarlari('tema_renk2'); ?>;"> <div class="beautypress-black-overlay"></div> <div class="container"> <div class="beautypress-inner-welcome-content"> <h1 class="color-white"><?php echo $proje['proje_baslik']; ?></h1> </div> <div class="beautypress-inner-welcome-footer-content"> <ul class="beautypress-breadcrumb"> <?php // Projeye ait kategoriyi listeleme > Start $kategori = $proje['proje_kategori']; $kategori = explode(',', $kategori)[0]; if ($kategori){ $kategori1 = $db->select('sayfalar') ->where('sayfa_id', $kategori) ->run()[0]; } if($kategori1){ ?> <li> <a href="<?php echo $kategori1['sayfa_id']; ?>/<?php echo $kategori1['sayfa_seflink']; ?>"> <?php echo $kategori1['sayfa_baslik']; ?> </a> </li> <?php } // < Stop ?> <li> <a style="text-transform:uppercase;" href="proje/<?php echo $proje['proje_seflink']; ?>"><?php echo $proje['proje_baslik']; ?></a></li> </ul> </div> </div> </section> <!-- Sayfa --> <div class="col-md-12 col-xl-12"> <div class="beautypress-accordion beautypress-version-1"><br> <!-- Detaylar --> <div class="beautypress-shop-single-page section-padding product"> <div class="container"> <div class="row"> <div class="col-md-6 col-sm-12 col-lg-8"> <div class="beautypress-sync-slider-wraper"> <div id="sync1" class="beautypress-sync-slider-preview beautypress-version-2 owl-carousel"> <div class="beautypress-sync-preview"> <img src="upload/<?php echo $proje['proje_anaresim']?>" alt=""> </div> <?php $proje_resimleri = explode(",",$proje['proje_resim']); foreach($proje_resimleri as $uresim){ if ($proje['proje_resim'] != "") { ?> <div class="beautypress-sync-preview"> <img src="upload/<?php echo $uresim ?>" alt=""> </div> <?php } } ?> </div> <!-- .beautypress-sync-slider-preview END --> <div id="sync2" class="beautypress-sync-slider-thumb beautypress-version-2 owl-carousel"> <div class="beautypress-sync-thumb"> <img src="upload/<?php echo $Site->urun($gelen,'anasayfa_resim')?>" alt=""> </div> <?php $proje_resimleri = explode(",",$proje['proje_resim']); foreach($proje_resimleri as $uresim){ if ($proje['proje_resim'] != "") { ?> <div class="beautypress-sync-thumb"> <img src="upload/<?php echo $uresim ?>" alt=""> </div> <?php } } ?> </div> <!-- .beautypress-sync-slider-thumb END --> </div> <div class="woocommerce-tabs beautypress-woocommerce-tabs"> <ul class="nav nav-tabs"> <li class="active beautypress-tab"><a data-toggle="tab" aria-expanded="true" href="#aciklama"><i class="fa fa-info-circle" aria-hidden="true"> </i><b> Açıklama</b></a></li> <?php if ($proje['proje_pdfgoster'] == "1") { ?> <li class="beautypress-tab beautypress-tab-left-border"><a data-toggle="tab" href="#pdf"><i class="fa fa-file-pdf-o" aria-hidden="true"> </i><b> PDF</b></a></li> <?php } ?> <?php if ($proje['proje_videogoster'] == "1") { ?> <li class="beautypress-tab beautypress-tab-left-border"><a data-toggle="tab" href="#video"><i class="fa fa-youtube-play" aria-hidden="true"> </i><b> Video</b></a></li> <?php } ?> <li class="beautypress-tab beautypress-tab-left-border"><a data-toggle="tab" href="#SiparisFormu"><i class="fa fa-cart-plus" aria-hidden="true"> </i><b> Sipariş Formu</b></a></li> </ul> <div class="tab-content woocommerce-Tabs-panel woocommerce-Tabs-panel--description panel entry-content wc-tab"> <div id="aciklama" class="tab-pane fade in active"> <p> <?php echo $proje['proje_text']; ?> </p> </div> <div id="pdf" class="tab-pane fade "> <div class="beautypress-blog-post-wraper"> <p> <iframe id="fred" style="border:1px solid #000000;" src="upload/PDF/<?php echo $proje['proje_pdf']; ?>" frameborder="1" scrolling="auto" height="450" width="100%"> </iframe></p> </div> <!-- .beautypress-blog-post-wraper END --> </div> <div id="video" class="tab-pane fade "> <div class="beautypress-blog-post-wraper"> <p> <iframe width="560" height="315" src="https://www.youtube.com/embed/<?php echo $proje['proje_video']; ?>" frameborder="0" allowfullscreen> </iframe></p> </div> <!-- .beautypress-blog-post-wraper END --> </div> <div id="SiparisFormu" class="tab-pane fade "> <div class="beautypress-blog-post-wraper"> <p> <?php error_reporting(0); if($_POST){ // Formdan Gelen Bilgiler $siparisler_adsoyad = post('siparisler_adsoyad'); $siparisler_email = post('siparisler_email'); $siparisler_telefon = post('siparisler_telefon'); $siparisler_adres = post('siparisler_adres'); $siparisler_konu = $proje['proje_baslik']; $siparisler_text = post('siparisler_text'); // İletişime Geç $Site->siparisler($siparisler_adsoyad,$siparisler_telefon,$siparisler_email,$siparisler_konu,$siparisler_text,$siparisler_adres); if($Site->site_ayarlari('siparismailgonderilsinmi')==1){ //mail $mailicerik = $siparisler_adsoyad."<br>"; $mailicerik .= $siparisler_telefon."<br>"; $mailicerik .= $siparisler_email."<br>"; $mailicerik .= $siparisler_adres."<br>"; $mailicerik .= $siparisler_konu."<br>"; $mailicerik .= $siparisler_text."<br>"; $smtp_server = $Site->site_ayarlari('smtp_server'); $smtp_port = $Site->site_ayarlari('smtp_port'); $smtp_protokol = $Site->site_ayarlari('smtp_protokol'); $e_posta = $Site->site_ayarlari('e_posta'); $e_posta_sifre = $Site->site_ayarlari('e_posta_sifre'); $gonderici_bilgi = $Site->site_ayarlari('gonderici_bilgi'); $gidecek_e_posta = $Site->site_ayarlari('gidecek_e_posta'); include "ayar/class.phpmailer.php"; $mail = new PHPMailer(); $mail->IsSMTP(); $mail->SMTPDebug = 1; $mail->SMTPAuth = true; $mail->SMTPSecure = $smtp_protokol ; $mail->Host = $smtp_server; $mail->Port = $smtp_port; $mail->IsHTML(true); $mail->Username = $e_posta; $mail->Password = $e_posta_sifre; $mail->SetFrom($mail->Username, $iletisim_adsoyad); $mail->CharSet = 'UTF-8'; $mail->Subject = $iletisim_konu; $content = $mailicerik; $mail->MsgHTML($content); $mail->AddAddress($gidecek_e_posta, $gonderici_bilgi); if($mail->Send()) { } else { echo $mail->ErrorInfo; } } } ?> <form action="" method="post" class="findus"> <div class="row mt-10"> <div class="col-sm-12"> <div class="contact-form border-form clearfix"> <div class="section-field"> <input type="text" required="required" placeholder="Adınız ve Soyadınız" class="form-control" name="siparisler_adsoyad"> </div><br> <div class="section-field"> <input type="email" required="required" placeholder="E-Posta Adresiniz" class="form-control" name="siparisler_email"> </div><br> <div class="section-field"> <input type="text" required="required" placeholder="Telefon Numaranız" class="form-control" name="siparisler_telefon"> </div><br> <div class="section-field"> <input type="text" required="required" placeholder="Adresiniz" class="form-control" name="siparisler_adres"> </div><br> <div class="section-field"> <input type="text" value="<?php echo $proje['proje_baslik']; ?> / <?php echo $proje['proje_fiyat']." TL "; ?>" class="form-control" name="siparisler_konu" disabled="" required> </div><br> <div class="section-field textarea"> <textarea required="required" class="input-message form-control" placeholder="Siparişinizle İlgili Mesajınızı Yazınız" rows="5" name="siparisler_text"></textarea> </div><br> <input type="hidden" name="action" value="sendEmail"> <button name="submit" type="submit" value="Gonder" class="button mt-10"><span> Siparişi Gönder </span> <i class="fa fa-paper-plane"></i></button> </div> </div> </div> </form> </p> </div> <!-- .beautypress-blog-post-wraper END --> </div> </div> </div> </div> <div class="col-md-6 col-sm-12 col-lg-4"> <div class="beautypress-single-details"> <p class="price"> <span class="woocommerce-Price-amount amount"> Fiyat<span class="woocommerce-Price-currencySymbol"> <?php if ($Site->modul_ayarlari('fiyatgoster') == "aktif") { if ($proje['proje_fiyatgoster']==1){ ?> <?php echo $proje['proje_fiyat']?> <i class="fa fa fa-try"></i> <?php } else { ?> <?php }} else { ?> <?=$Site->modul_ayarlari('fiyattext');?> <?php } ?> </span> </span> </p> <?php if(!empty($proje['proje_kodu'])){ ?><b>Proje Kodu: </b> <?=$proje['proje_kodu']?> <?php } ?><br> <?php if(!empty($proje['proje_stokbilgisi'])){ ?><b>Stok Bilgisi: </b> <?=$proje['proje_stokbilgisi']?> <?php } ?><br><br> <?php if(!empty($proje['proje_digerbilgiler'])){ ?><p class="mt-20"> <i class="fa fa-files-o"></i><b> Diğer Bilgiler </b><br> </p> <p class="mt-20"> <?=$proje['proje_digerbilgiler']?> </p><?php } ?> </div> </div> </div> </div> </div> <!-- Rasgele Bazı Ürünler Modülü --> <section class="beautypress-padding-bottom beautypress-related-products bg-color-gray"> <div class="container"> <div class="beautypress-section-headinig"> <h2><br>Rasgele Bazı Projeler<br><br></h2> </div> <div class="related products"> <ul class="products row"> <?php $projeler = $Site->benzerprojelistele(); foreach ($projeler as $key => $value){ ?> <li class="product col-md-6 col-lg-3"> <div class="beautypress-product-group"> <div class="beautypress-product-content"> <!-- .beautypress-rating END --> <div class="beautypress-product-details"> <h3><?php echo $value['proje_baslik']; ?></h3> <h4><?php if ($Site->modul_ayarlari('fiyatgoster') == "aktif") { if ($value['fiyatgoster']==1){ echo $value['proje_fiyat'] ?> <i class="fa fa fa-try"> </i> <?php } else { ?> <?php }} else { ?> <?=$Site->modul_ayarlari('fiyattext');?> </p> <?php } ?></h4> </div> <div class="beautypress-product-img"> <img src="upload/<?php echo $value['anasayfa_resim'] ?>" alt="<?php echo $value['proje_baslik']; ?>"> </div> </div> <p> <?php if ($value['urunkodu'] != "") { echo "Ürün Kodu: ".$value['urunkodu']; } else { echo " "; } ?> </p> <div class="beautypress-product-hover-elements"> <a href="urun/<?php echo $value['proje_seflink'] ?>" class="beautypress-iocn-btn pulse-btn full-round-btn bg-color-green"> <i class="fa fa-eye"></i> </a> </div> </div> </li> <?php } ?> </ul> </div> </div> </section> </div> </div><br><br> <?php include('footer.php'); } else { $sitepath = file_get_contents("ayar/Domain.php"); git($sitepath,0); } } else { $sitepath = file_get_contents("ayar/Domain.php"); git($sitepath,0); ?> <?php } } else { $sitepath = file_get_contents("ayar/Domain.php"); git($sitepath,0); } ?>
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula