📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv3.demodesign.com.tr
/
yonetim
📝
oziywebs.php
← Geri Dön
<?php ob_start(); session_start(); include ("db.php"); include ("system.php"); oturumKontrol($DB,1); if(!isset($_SESSION["login"])){ header("Location:index.php"); } else { echo ""; echo ""; } ?> <!DOCTYPE html> <html lang="tr"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <meta name="description" content="OziyWeb Yönetim Paneli"> <meta name="author" content="OziyWeb Yönetim Paneli"> <link rel="icon" href="images/favicon.ico"> <title>Yönetim Paneli</title> <!-- Bootstrap 4.0--> <link rel="stylesheet" href="assets/vendor_components/bootstrap/dist/css/bootstrap.css"> <!--amcharts --> <link href="css/export.css" rel="stylesheet" type="text/css"> <!-- Popup CSS --> <link href="assets/vendor_components/Magnific-Popup-master/dist/magnific-popup.css" rel="stylesheet"> <!-- Chartist--> <link rel="stylesheet" href="assets/vendor_components/chartist-js-develop/chartist.css"> <!-- Bootstrap switch--> <link rel="stylesheet" href="assets/vendor_components/bootstrap-switch/switch.css"> <!-- Bootstrap-extend --> <link rel="stylesheet" href="css/bootstrap-extend.css"> <!-- theme style --> <link rel="stylesheet" href="css/master_style.css"> <link rel="stylesheet" href="assets/vendor_components/font-awesome/css/font-awesome.css"> <link rel="stylesheet" href="assets/vendor_components/Ionicons/css/ionicons.css"> <link rel="stylesheet" href="assets/vendor_components/themify-icons/themify-icons.css"> <link rel="stylesheet" href="assets/vendor_components/linea-icons/linea.css"> <link rel="stylesheet" href="assets/vendor_components/glyphicons/glyphicon.css"> <link rel="stylesheet" href="assets/vendor_components/flag-icon/css/flag-icon.css"> <link rel="stylesheet" href="assets/vendor_components/material-design-iconic-font/css/materialdesignicons.css"> <link rel="stylesheet" href="assets/vendor_components/simple-line-icons-master/css/simple-line-icons.css"> <link rel="stylesheet" href="assets/vendor_components/cryptocoins-master/webfont/cryptocoins.css"> <link rel="stylesheet" href="css.css"> <link rel="stylesheet" href="css/skins/_all-skins.css"> <link rel="stylesheet" type="text/css" href="css/bootstrap-fileupload.min.css" /> <link href="https://fonts.googleapis.com/css?family=Titillium+Web" rel="stylesheet"> <link href="dist/summernote.css" rel="stylesheet"> <link href="css/toggle.css" rel="stylesheet"> <!--Dropzone [ OPTIONAL ]--> <link href="assets/dropzone/dropzone.min.css" rel="stylesheet"> <link href="assets/dropzone/drop.css" rel="stylesheet"> <!--Bootstrap Tags Input [ OPTIONAL ]--> <link href="assets/bootstrap-tagsinput/bootstrap-tagsinput.min.css" rel="stylesheet"> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body class="hold-transition skin-purple sidebar-mini"> <div class="wrapper"> <header class="main-header"> <!-- Header Navbar --> <nav class="navbar navbar-static-top"> <!-- Sidebar toggle button--> <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button"> <span class="sr-only">Menü</span> </a> <div class="navbar-custom-menu"> <ul class="nav navbar-nav"> <!-- Messages --> <li class="dropdown messages-menu"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="mdi mdi-email"></i> </a> <ul class="dropdown-menu scale-up"> <li class="header">Gelen Kutusunda <?php $sorgu = $DB->prepare("SELECT COUNT(*) FROM mesajlar"); $sorgu->execute(); $say = $sorgu->fetchColumn(); echo ''.$say.''; ?> mesaj var.</li> <li> <!-- inner menu: contains the actual data --> <ul class="menu inner-content-div"> <?php $hizmet = $DB->query("select * from mesajlar order by id desc limit 5")->fetchAll(PDO::FETCH_ASSOC); foreach($hizmet as $hu){ ?> <li><!-- start message --> <a href="mesajlarekle.html?ok=gn&id=<?php echo $hu['id']; ?>"> <div class="pull-left"> <img src="img/profile-photos/3.png" class="rounded-circle" alt="User Image"> </div> <div class="mail-contnet"> <h4> <?php echo $hu['isim']; ?> <small style="float: right;"><i class="fa fa-clock-o"></i> <?php echo $hu['tarih']; ?></small> </h4> <span><?php echo $hu['konu']; ?></span> </div> </a> </li> <?php } ?> </ul> </li> <li class="footer"><a href="mesajlar.html">Tüm Mesajlar</a></li> </ul> </li> <!-- Notifications --> <li class="dropdown notifications-menu"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="mdi mdi-bell"></i> </a> <ul class="dropdown-menu scale-up"> <li class="header">Sipariş Kutusunda <?php $sorgu = $DB->prepare("SELECT COUNT(*) FROM siparisler"); $sorgu->execute(); $say = $sorgu->fetchColumn(); echo ''.$say.''; ?> sipariş var.</li> <li> <!-- inner menu: contains the actual data --> <ul class="menu inner-content-div"> <?php $hizmet = $DB->query("select * from siparisler order by id desc limit 5")->fetchAll(PDO::FETCH_ASSOC); foreach($hizmet as $hu){ ?> <li><!-- start message --> <a href="siparislerekle.html?ok=gn&id=<?php echo $hu['id']; ?>"> <div class="pull-left"> <img style="width: 40px; height: 40px;" src="img/profile-photos/4.png" class="rounded-circle" alt="User Image"> </div> <div class="mail-contnet"> <h4 style="font-size: 12px;line-height: 12px;"> <?php echo $hu['isim']; ?> <small style="float: right;"><i class="fa fa-clock-o"></i> <?php echo $hu['tarih']; ?></small> </h4> <span><?php echo $hu['odeme']; ?></span> </div> </a> </li> <?php } ?> </ul> </li> <li class="footer"><a href="siparisler.html">Tüm Siparişler</a></li> </ul> </li> <!-- Tasks --> <li class="dropdown tasks-menu"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="mdi mdi-message"></i> </a> <ul class="dropdown-menu scale-up"> <li class="header">Destek Merkezinde <?php $sorgu = $DB->prepare("SELECT COUNT(*) FROM destek"); $sorgu->execute(); $say = $sorgu->fetchColumn(); echo ''.$say.''; ?> destek talebi var.</li> <li> <!-- inner menu: contains the actual data --> <ul class="menu inner-content-div"> <?php $hizmet = $DB->query("select * from destek order by id desc limit 5")->fetchAll(PDO::FETCH_ASSOC); foreach($hizmet as $hu){ ?> <li><!-- start message --> <a href="desteklerekle.html?ok=gn&id=<?php echo $hu['id']; ?>"> <div class="pull-left"> <img style="width: 40px; height: 40px;" src="img/profile-photos/5.png" class="rounded-circle" alt="User Image"> </div> <div class="mail-contnet"> <h4 style="font-size: 12px;line-height: 12px;"> <?php echo $hu['mid']; ?> <small style="float: right;"><i class="fa fa-clock-o"></i> <?php echo $hu['tarih']; ?></small> </h4> <span><?php echo $hu['konu']; ?></span> </div> </a> </li> <?php } ?> </ul> </li> <li class="footer"><a href="destekler.html">Destek Merkezi</a></li> </ul> </li> <!-- User Account --> <li class="dropdown user user-menu"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-cog fa-spin"></i> </a> <ul class="dropdown-menu scale-up"> <!-- User image --> <li class="user-header"> <img src="img/profile-photos/1.png" class="float-left rounded-circle" alt="User Image"> <p> <?php echo $ayar['siteadi']; ?> <small class="mb-5"><?php echo $ayar['email']; ?></small> <a href="yonetimekle.html?ok=gn&id=<?php echo $_SESSION['id'];?>" class="btn btn-danger btn-sm btn-rounded">Profiliniz</a> </p> </li> <!-- Menu Body --> <li class="user-body"> <div class="row no-gutters"> <?php if($_SESSION['status']=='1'){?> <div class="col-12 text-left"> <a href="ayarlar.html"><i class="ion ion-settings"></i> Site Ayarları</a> </div> <div role="separator" class="divider col-12"></div> <div class="col-12 text-left"> <a href="yonetimekle.html?ok=gn&id=<?php echo $_SESSION['id'];?>"><i class="ti-settings"></i> Yönetici Ayarları</a> </div> <?php } ?> <div role="separator" class="divider col-12"></div> <div class="col-12 text-left"> <a href="cikis.html"><i class="fa fa-power-off"></i> Sistemden Çıkış</a> </div> </div> <!-- /.row --> </li> </ul> </li> <!-- Control Sidebar Toggle Button --> <li> <a target="_blank" href="<?php echo $modul['url'];?>"> Site Önizlemesi</a> </li> </ul> </div> </nav> </header> <?php error_reporting(0); $oziywebs=isset($_GET['oziywebs']) ? addslashes($_GET['oziywebs']) : ""; if($oziywebs=="bloglarekle"){ $bloglarekle='active'; }else if($oziywebs=="bloglar"){ $bloglar='active'; }else if($oziywebs=="duyurularekle"){ $duyurularekle='active'; }else if($oziywebs=="duyurular"){ $duyurular='active'; }else if($oziywebs=="toplurunler"){ $toplurunler='active'; }else if($oziywebs=="ekibimizekle"){ $ekibimizekle='active'; }else if($oziywebs=="ekibimiz"){ $ekibimiz='active'; }else if($oziywebs=="etkinliklerekle"){ $etkinliklerekle='active'; }else if($oziywebs=="etkinlikler"){ $etkinlikler='active'; }else if($oziywebs=="haberlerekle"){ $haberlerekle='active'; }else if($oziywebs=="haberler"){ $haberler='active'; }else if($oziywebs=="sepetlerekle"){ $sepetlerekle='active'; }else if($oziywebs=="sepetler"){ $sepetler='active'; }else if($oziywebs=="kuponlarekle"){ $kuponlarekle='active'; }else if($oziywebs=="kuponlar"){ $kuponlar='active'; }else if($oziywebs=="kargolarekle"){ $kargolarekle='active'; }else if($oziywebs=="kargolar"){ $kargolar='active'; }else if($oziywebs=="ebulten"){ $ebulten='active'; }else if($oziywebs=="aramaekle"){ $aramaekle='active'; }else if($oziywebs=="arama"){ $arama='active'; }else if($oziywebs=="markalarekle"){ $markalarekle='active'; }else if($oziywebs=="markalar"){ $markalar='active'; }else if($oziywebs=="verilerekle"){ $verilerekle='active'; }else if($oziywebs=="veriler"){ $veriler='active'; }else if($oziywebs=="modullerekle"){ $modullerekle='active'; }else if($oziywebs=="reklamekle"){ $reklamekle='active'; }else if($oziywebs=="moduller"){ $moduller='active'; }else if($oziywebs=="sssekle"){ $sssekle='active'; }else if($oziywebs=="xmlayar"){ $xmlayar='active'; }else if($oziywebs=="sss"){ $sss='active'; }else if($oziywebs=="kurumsalekle"){ $kurumsalekle='active'; }else if($oziywebs=="eksayfalarekle"){ $eksayfalarekle='active'; }else if($oziywebs=="byorumlar"){ $byorumlar='active'; }else if($oziywebs=="excelal"){ $excelal='active'; }else if($oziywebs=="excelver"){ $excelver='active'; }else if($oziywebs=="uyorumlar"){ $uyorumlar='active'; }else if($oziywebs=="eksayfalar"){ $eksayfalar='active'; }else if($oziywebs=="bayiler"){ $bayiler='active'; }else if($oziywebs=="bayilerekle"){ $bayilerekle='active'; }else if($oziywebs=="odemelerekle"){ $odemelerekle='active'; }else if($oziywebs=="kurumsal"){ $kurumsal='active'; }else if($oziywebs=="bankalarekle"){ $bankalarekle='active'; }else if($oziywebs=="bankalar"){ $bankalar='active'; }else if($oziywebs=="odemeler"){ $odemeler='active'; }else if($oziywebs=="yontemler"){ $yontemler='active'; }else if($oziywebs=="menulerekle"){ $menulerekle='active'; }else if($oziywebs=="menuler"){ $menuler='active'; }else if($oziywebs=="projekekle"){ $projekekle='active'; }else if($oziywebs=="reklamekle"){ $reklamekle='active'; }else if($oziywebs=="projek"){ $projek='active'; }else if($oziywebs=="projelerekle"){ $projelerekle='active'; }else if($oziywebs=="projeler"){ $projeler='active'; }else if($oziywebs=="resimlerekle"){ $resimlerekle='active'; }else if($oziywebs=="resimler"){ $resimler='active'; }else if($oziywebs=="sliderekle"){ $sliderekle='active'; }else if($oziywebs=="slider"){ $slider='active'; }else if($oziywebs=="xmlekle"){ $xmlekle='active'; }else if($oziywebs=="xml"){ $xml='active'; }else if($oziywebs=="faturaekle"){ $faturaekle='active'; }else if($oziywebs=="fatura"){ $fatura='active'; }else if($oziywebs=="urunkekle"){ $urunkekle='active'; }else if($oziywebs=="urunk"){ $urunk='active'; }else if($oziywebs=="bsiparisler"){ $bsiparisler='active'; }else if($oziywebs=="ksiparisler"){ $ksiparisler='active'; }else if($oziywebs=="osiparisler"){ $osiparisler='active'; }else if($oziywebs=="kasiparisler"){ $kasiparisler='active'; }else if($oziywebs=="aurunkekle"){ $aurunkekle='active'; }else if($oziywebs=="aurunk"){ $aurunk='active'; }else if($oziywebs=="baurunkekle"){ $baurunkekle='active'; }else if($oziywebs=="baurunk"){ $baurunk='active'; }else if($oziywebs=="xml"){ $xml='active'; }else if($oziywebs=="xmlekle"){ $xmlekle='active'; }else if($oziywebs=="ustkisim"){ $ustkisim='active'; }else if($oziywebs=="urunlerekle"){ $urunlerekle='active'; }else if($oziywebs=="urunler"){ $urunler='active'; }else if($oziywebs=="ozellikekle"){ $ozellikekle='active'; }else if($oziywebs=="ozellikler"){ $ozellikler='active'; }else if($oziywebs=="iozellikekle"){ $iozellikekle='active'; }else if($oziywebs=="iozellikler"){ $iozellikler='active'; }else if($oziywebs=="videolarekle"){ $videolarekle='active'; }else if($oziywebs=="videolar"){ $videolar='active'; }else if($oziywebs=="yonetimekle"){ $yonetimekle='active'; }else if($oziywebs=="yonetim"){ $yonetim='active'; }else if($oziywebs=="uyelerekle"){ $uyelerekle='active'; }else if($oziywebs=="uyeler"){ $uyeler='active'; }else if($oziywebs=="topluemail"){ $topluemail='active'; }else if($oziywebs=="referanslarekle"){ $referanslarekle='active'; }else if($oziywebs=="referans"){ $referans='active'; }else if($oziywebs=="sertifikaekle"){ $sertifikaekle='active'; }else if($oziywebs=="toplurunler"){ $toplurunler='active'; }else if($oziywebs=="sertifika"){ $sertifika='active'; }else if($oziywebs=="yorumlarekle"){ $yorumlarekle='active'; }else if($oziywebs=="urunyorumlarekle"){ $urunyorumlarekle='active'; }else if($oziywebs=="yorumlar"){ $yorumlar='active'; }else if($oziywebs=="mesajlaroku"){ $mesajlaroku='active'; }else if($oziywebs=="mesajlar"){ $mesajlar='active'; }else if($oziywebs=="mesajlarekle"){ $mesajlarekle='active'; }else if($oziywebs=="siparisler"){ $siparisler='active'; }else if($oziywebs=="tsiparisler"){ $tsiparisler='active'; }else if($oziywebs=="xsiparisler"){ $xsiparisler='active'; }else if($oziywebs=="isiparisler"){ $isiparisler='active'; }else if($oziywebs=="bayisiparisler"){ $bayisiparisler='active'; }else if($oziywebs=="moduller"){ $moduller='active'; }else if($oziywebs=="siparislerekle"){ $siparislerekle='active'; }else if($oziywebs=="xsiparislerekle"){ $xsiparislerekle='active'; }else if($oziywebs=="ksiparislerekle"){ $ksiparislerekle='active'; }else if($oziywebs=="bayisiparislerekle"){ $bayisiparislerekle='active'; }else if($oziywebs=="toplumesajlar"){ $toplumesajlar='active'; }else if($oziywebs=="toplumesajlarekle"){ $toplumesajlarekle='active'; }else if($oziywebs=="destekler"){ $destekler='active'; }else if($oziywebs=="desteklerekle"){ $desteklerekle='active'; }else if($oziywebs=="moduller"){ $moduller='active'; }else if($oziywebs=="ebulten"){ $ebulten='active'; }else if($oziywebs=="ayarlar"){ $ayarlar='active'; }else if($oziywebs=="cikis"){ $cikis='active'; }else if($oziywebs=="home"){ $home='active'; }else if($oziywebs=="integrations"){ $integrations='active'; } ?> <!-- Left side column. contains the logo and sidebar --> <aside class="main-sidebar"> <!-- sidebar --> <section class="sidebar"> <!-- Sidebar user panel --> <div class="user-panel"> <div class="ulogo"> <a href="index.html"> <!-- logo for regular state and mobile devices --> <span><b>Yönetim </b>Paneli</span> </a> </div> <div class="image"> <img src="../images/ayarlar/<?php echo $ayar['logo']; ?>" class="rounded-circle" alt="Logo"> </div> <div class="info"> <p><?php echo $ayar['siteadi']; ?></p> <a href="ayarlar.html" class="link" data-toggle="tooltip" title="" data-original-title="Site Ayarları"><i class="ion ion-gear-b"></i></a> <a href="mesajlar.html" class="link" data-toggle="tooltip" title="" data-original-title="Gelen Kutusu"><i class="ion ion-android-mail"></i></a> <a href="cikis.html" class="link" data-toggle="tooltip" title="" data-original-title="Sistemden Çıkış"><i class="ion ion-power"></i></a> </div> </div> <!-- sidebar menu --> <ul class="sidebar-menu" data-widget="tree"> <li class="nav-devider"></li> <li class="<?php echo $home; ?>"> <a href="index.html"> <i class="icon-home"></i> <span>Anasayfa</span> <span class="pull-right-container"> </span> </a> </li> <li class="treeview <?php echo $xsiparisler; ?><?php echo $xsiparislerekle; ?><?php echo $bayisiparisler; ?><?php echo $isiparisler; ?><?php echo $tsiparisler; ?><?php echo $bsiparisler; ?><?php echo $siparisler; ?> <?php echo $siparislerekle; ?><?php echo $ksiparisler; ?><?php echo $osiparisler; ?><?php echo $kasiparisler; ?>"> <a href="#"> <i class="fa fa-shopping-bag"></i> <span>Gelen Siparişler</span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <li <?php echo $xsiparisler; ?><?php echo $xsiparislerekle; ?>><a href="xsiparisler.html">XML Gelen Siparişler</a></li> <li <?php echo $modul['f4'] != '1' ? 'style="display:none;" ' : null; ?> <?php echo $bayisiparisler; ?>><a href="bayisiparisler.html">Bayi Siparişleri</a></li> <li <?php echo $tsiparisler; ?>><a href="siparisler.html">Tüm Siparişler</a></li> <li <?php echo $bsiparisler; ?>><a href="bsiparisler.html">Bekleyen Siparişler</a></li> <li <?php echo $ksiparisler; ?>><a href="ksiparisler.html">Kapıda Ödeme Siparişleri</a></li> <li <?php echo $osiparisler; ?>><a href="osiparisler.html">Onaylanan Siparişler</a></li> <li <?php echo $kasiparisler; ?>><a href="kasiparisler.html">Kargolanan Siparişler</a></li> <li <?php echo $isiparisler; ?>><a href="isiparisler.html">İptal Edilen Siparişler</a></li> <li <?php echo $tsiparisler; ?>><a href="tsiparisler.html">Tamamlanan Siparişler</a></li> </ul> </li> <li class="treeview <?php echo $bankalarekle; ?><?php echo $bankalar; ?><?php echo $yontemler; ?><?php echo $ustkisim; ?><?php echo $modullerekle; ?><?php echo $reklamekle; ?>"> <a href="#"> <i class="fa fa-snowflake-o"></i> <span>Sistem Modülleri</span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <?php if($_SESSION['status']=='1'){?> <li class="<?php echo $yontemler; ?>"><a href="yontemler.html">Ödeme Modül Ayarları</a></li> <li class="<?php echo $bankalarekle; ?>-link"><a href="bankalarekle.html">Banka Hesabı Ekle</a></li> <li class="<?php echo $bankalar; ?>-link"><a href="bankalar.html">Tüm Banka Hesapları</a></li> <?php } ?> <li class="<?php echo $ustkisim; ?>"><a href="ustkisim.html?ok=gn&id=11">Ana Banner Alanı</a></li> <li class="<?php echo $ustkisim; ?>"><a href="ustkisim.html?ok=gn&id=10">Üst Banner Alanı</a></li> <li class="<?php echo $modullerekle; ?>-link"><a href="modullerekle.html?ok=gn&id=1">Günün Fırsatı</a></li> </ul> </li> <li class="<?php echo $sepetler; ?><?php echo $sepetlerekle; ?>"> <a href="sepetler.html"> <i class="fa fa-shopping-basket" aria-hidden="true"></i> <span>Sepet Yönetimi</span> <span class="pull-right-container"> </span> </a> </li> <li class="<?php echo $odemeler; ?><?php echo $odemelerekle; ?>"> <a href="odemeler.html"> <i class="fa fa-cc-visa"></i> <span>Ödeme Bildirimleri</span> <span class="pull-right-container"> </span> </a> </li> <li class="<?php echo $destekler; ?><?php echo $desteklerekle; ?>"> <a href="destekler.html"> <i class="fa fa-life-ring"></i> <span>Destek Merkezi</span> <span class="pull-right-container"> </span> </a> </li> <li class="treeview <?php echo $toplurunler; ?><?php echo $ozellikekle; ?><?php echo $ozellikler; ?><?php echo $urunlerekle; ?><?php echo $urunler; ?><?php echo $urunkekle; ?><?php echo $urunk; ?><?php echo $aurunkekle; ?><?php echo $aurunk; ?><?php echo $baurunkekle; ?><?php echo $baurunk; ?>"> <a href="#"> <i class="fa fa-bug" aria-hidden="true"></i> <span>Ürünler</span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <li class="<?php echo $urunkekle; ?>"><a href="urunkekle.html">Kategori Ekle</a></li> <li class="<?php echo $urunk; ?>"><a href="urunk.html">Kategoriler</a></li> <li class="<?php echo $aurunkekle; ?>"><a href="aurunkekle.html">Alt Kategori Ekle</a></li> <li class="<?php echo $aurunk; ?>"><a href="aurunk.html">Alt Kategoriler</a></li> <li class="<?php echo $baurunkekle; ?>"><a href="baurunkekle.html">En Alt Kategori Ekle</a></li> <li class="<?php echo $baurunk; ?>"><a href="baurunk.html">En Alt Kategoriler</a></li> <li class="<?php echo $urunlerekle; ?>-link"><a href="urunlerekle.html">Ürün Ekle</a></li> <li class="<?php echo $urunler; ?>"><a href="urunler.html">Ürünler</a></li> <li class="<?php echo $toplurunler; ?>"><a href="toplurunler.html">Toplu Ürün Güncelleme</a></li> </ul> </li> <li class="treeview <?php echo $veriler; ?><?php echo $verilerekle; ?><?php echo $excelal; ?><?php echo $excelver; ?>"> <a href="#"> <i class="fa fa-exchange"></i> <span>Entegrasyonlar </span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <li class="<?php echo $excelver; ?>"><a href="veriler.html">XML Ayarları</a></li> <li class="<?php echo $excelver; ?>"><a href="excelver.html">Excel İçe Aktar</a></li> <li class="<?php echo $excelal; ?>"><a href="excelal.html">Excel Dışa Aktar</a></li> </ul> </li> <li class="treeview <?php echo $kuponlarekle; ?><?php echo $kuponlar; ?>"> <a href="#"> <i class="fa fa-tag"></i> <span>İndirim Kuponları</span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <li class="<?php echo $kuponlarekle; ?>"><a href="kuponlarekle.html">Kupon Ekle</a></li> <li class="<?php echo $kuponlar; ?>"><a href="kuponlar.html">İndirim Kuponları</a></li> </ul> </li> <li class="treeview <?php echo $kargolarekle; ?><?php echo $kargolar; ?>"> <a href="#"> <i class="fa fa-truck"></i> <span>Kargo Firmaları</span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <li class="<?php echo $kargolarekle; ?>"><a href="kargolarekle.html">Kargo Firması Ekle</a></li> <li class="<?php echo $kargolar; ?>"><a href="kargolar.html">Kargolar</a></li> </ul> </li> <li class="treeview <?php echo $arama; ?><?php echo $aramaekle; ?>"> <a href="#"> <i class="fa fa-search"></i> <span>Arama Kriterleri</span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <li class="<?php echo $aramaekle; ?>"><a href="aramaekle.html">Kriter Ekle</a></li> <li class="<?php echo $arama; ?>"><a href="arama.html">Arama Kriterleri</a></li> </ul> </li> <li class="treeview <?php echo $kurumsalekle; ?><?php echo $kurumsal; ?>"> <a href="#"> <i class="fa fa-briefcase"></i> <span>Kurumsal</span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <li class="<?php echo $kurumsalekle; ?>"><a href="kurumsalekle.html">Sayfa Ekle</a></li> <li class="<?php echo $kurumsal; ?>"><a href="kurumsal.html">Sayfalar</a></li> </ul> </li> <li class="treeview <?php echo $uyeler; ?><?php echo $uyelerekle; ?>"> <a href="#"> <i class="icon-people"></i> <span>Üyeler</span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <li class="<?php echo $uyelerekle; ?>"><a href="uyelerekle.html">Üye Ekle</a></li> <li class="<?php echo $uyeler; ?>"><a href="uyeler.html">Üyeler</a></li> </ul> </li> <li class="treeview <?php echo $bayiler; ?><?php echo $bayilerekle; ?>" <?php echo $modul['f4'] != '1' ? '& style="display:none;" ' : null; ?>> <a href="#"> <i class="fa fa-user-plus" aria-hidden="true"></i> <span>Bayiler</span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <li class="<?php echo $bayilerekle; ?>"><a href="bayilerekle.html">Bayi Ekle</a></li> <li class="<?php echo $bayiler; ?>"><a href="bayiler.html">Bayiler</a></li> </ul> </li> <?php if($modul['f2']=='1'){?> <li class="treeview <?php echo $haberlerekle; ?><?php echo $haberler; ?>"> <a href="#"> <i class="fa fa-newspaper-o"></i> <span>Blog</span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <li class="<?php echo $haberlerekle; ?>"><a href="haberlerekle.html">Blog Ekle</a></li> <li class="<?php echo $haberler; ?>"><a href="haberler.html">Bloglar</a></li> </ul> </li> <?php } ?> <li class="treeview <?php echo $eksayfalarekle; ?><?php echo $eksayfalar; ?>"> <a href="#"> <i class="fa fa-cubes"></i> <span>Bilgi Sayfaları</span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <li class="<?php echo $eksayfalarekle; ?>"><a href="eksayfalarekle.html">Sayfa Ekle</a></li> <li class="<?php echo $eksayfalar; ?>"><a href="eksayfalar.html">Sayfalar</a></li> </ul> </li> <li class="treeview <?php echo $slider; ?><?php echo $sliderekle; ?>"> <a href="#"> <i class="fa fa-caret-square-o-right "></i> <span>Slider</span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <li class="<?php echo $sliderekle; ?>"><a href="sliderekle.html">Slider Ekle</a></li> <li class="<?php echo $slider; ?>"><a href="slider.html">Slider</a></li> </ul> </li> <li class="treeview <?php echo $uyorumlarekle; ?><?php echo $uyorumlar; ?><?php echo $byorumlarekle; ?><?php echo $byorumlar; ?>"> <a href="#"> <i class="fa fa-smile-o"></i> <span>Gelen Yorumlar</span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <li class="<?php echo $uyorumlar; ?>"><a href="uyorumlar.html">Ürün Yorumları</a></li> <li class="<?php echo $byorumlar; ?>"><a href="byorumlar.html">Haber Yorumları</a></li> </ul> </li> <li class="treeview <?php echo $sssekle; ?><?php echo $sss; ?>"> <a href="#"> <i class="fa fa-exclamation-circle"></i> <span>S.S.S.</span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <li class="<?php echo $sssekle; ?>"><a href="sssekle.html">Soru Ekle</a></li> <li class="<?php echo $sss; ?>"><a href="sss.html">S.S.S.</a></li> </ul> </li> <li class="treeview <?php echo $ebulten; ?> <?php echo $mesajlar; ?><?php echo $mesajlarekle; ?><?php echo $toplumesajlarekle; ?><?php echo $toplumesajlar; ?><?php echo $topluemail; ?>"> <a href="#"> <i class="fa fa-envelope-o"></i> <span>İletişim Merkezi</span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <li class="<?php echo $mesajlar; ?>"><a href="mesajlar.html">Gelen Mesajlar</a></li> <li class="<?php echo $toplumesajlar; ?>"><a href="toplumesajlar.html">Toplu Eposta Gönderimi</a></li> <li class="<?php echo $ebulten; ?>"><a href="ebulten.html">E-Bülten</a></li> </ul> </li> <?php if($_SESSION['status']=='1'){?> <li class="treeview <?php echo $yonetim; ?><?php echo $yonetimekle; ?>"> <a href="#"> <i class="fa fa-users"></i> <span>Admin Yönetimi</span> <span class="pull-right-container"> <i class="fa fa-angle-right pull-right"></i> </span> </a> <ul class="treeview-menu"> <li class="<?php echo $yonetimekle; ?>"><a href="yonetimekle.html">Admin Ekle</a></li> <li class="<?php echo $yonetim; ?>"><a href="yonetim.html">Adminler</a></li> </ul> </li> <li class="<?php echo $ayarlar; ?>"> <a href="ayarlar.html"> <i class="fa fa-cog"></i> <span>Site Ayarları</span> <span class="pull-right-container"> </span> </a> </li> <?php } ?> <li class="<?php echo $ayarlar; ?>"> <a href="cikis.html"> <i class="ion ion-power"></i> <span>Sistemden Çıkış</span> <span class="pull-right-container"> </span> </a> </li> </ul> </section> </aside> <?php if(isset($_GET['oziywebs'])){ $s = $_GET['oziywebs']; switch($s){ case 'home'; require_once("home.php"); break; case 'bloglarekle'; require_once("bloglarekle.php"); break; case 'moduller'; require_once("moduller.php"); break; case 'bloglar'; require_once("bloglar.php"); break; case 'duyurularekle'; require_once("duyurularekle.php"); break; case 'duyurular'; require_once("duyurular.php"); break; case 'yontemler'; require_once("yontemler.php"); break; case 'ekibimizekle'; require_once("ekibimizekle.php"); break; case 'destekler'; require_once("destekler.php"); break; case 'desteklerekle'; require_once("desteklerekle.php"); break; case 'ekibimiz'; require_once("ekibimiz.php"); break; case 'etkinliklerekle'; require_once("etkinliklerekle.php"); break; case 'etkinlikler'; require_once("etkinlikler.php"); break; case 'xml'; require_once("xml.php"); break; case 'xmlekle'; require_once("xmlekle.php"); break; case 'bankalarekle'; require_once("bankalarekle.php"); break; case 'odemelerekle'; require_once("odemelerekle.php"); break; case 'bankalar'; require_once("bankalar.php"); break; case 'bsiparisler'; require_once("bsiparisler.php"); break; case 'ksiparisler'; require_once("ksiparisler.php"); break; case 'xsiparisler'; require_once("xsiparisler.php"); break; case 'xsiparislerekle'; require_once("xsiparislerekle.php"); break; case 'osiparisler'; require_once("osiparisler.php"); break; case 'kasiparisler'; require_once("kasiparisler.php"); break; case 'tsiparisler'; require_once("tsiparisler.php"); break; case 'isiparisler'; require_once("isiparisler.php"); break; case 'siparisler'; require_once("siparisler.php"); break; case 'siparislerekle'; require_once("siparislerekle.php"); break; case 'haberlerekle'; require_once("haberlerekle.php"); break; case 'haberler'; require_once("haberler.php"); break; case 'verilerekle'; require_once("verilerekle.php"); break; case 'veriler'; require_once("veriler.php"); break; case 'sepetlerekle'; require_once("sepetlerekle.php"); break; case 'sepetler'; require_once("sepetler.php"); break; case 'sssekle'; require_once("sssekle.php"); break; case 'reklamekle'; require_once("reklamekle.php"); break; case 'sss'; require_once("sss.php"); break; case 'kargolarekle'; require_once("kargolarekle.php"); break; case 'kargolar'; require_once("kargolar.php"); break; case 'markalarekle'; require_once("markalarekle.php"); break; case 'markalar'; require_once("markalar.php"); break; case 'moduller'; require_once("moduller.php"); break; case 'topluemail'; require_once("topluemail.php"); break; case 'referanslarekle'; require_once("referanslarekle.php"); break; case 'referanslar'; require_once("referanslar.php"); break; case 'modullerekle'; require_once("modullerekle.php"); break; case 'moduller'; require_once("moduller.php"); break; case 'ebulten'; require_once("ebulten.php"); break; case 'kurumsalekle'; require_once("kurumsalekle.php"); break; case 'bayilerekle'; require_once("bayilerekle.php"); break; case 'bayiler'; require_once("bayiler.php"); break; case 'bayisiparisler'; require_once("bayisiparisler.php"); break; case 'kurumsal'; require_once("kurumsal.php"); break; case 'eksayfalarekle'; require_once("eksayfalarekle.php"); break; case 'eksayfalar'; require_once("eksayfalar.php"); break; case 'menulerekle'; require_once("menulerekle.php"); break; case 'menuler'; require_once("menuler.php"); break; case 'projekekle'; require_once("projekekle.php"); break; case 'excelal'; require_once("excelal.php"); break; case 'excelver'; require_once("excelver.php"); break; case 'projek'; require_once("projek.php"); break; case 'projelerekle'; require_once("projelerekle.php"); break; case 'projeler'; require_once("projeler.php"); break; case 'resimlerekle'; require_once("resimlerekle.php"); break; case 'resimler'; require_once("resimler.php"); break; case 'sliderekle'; require_once("sliderekle.php"); break; case 'slider'; require_once("slider.php"); break; case 'urunkekle'; require_once("urunkekle.php"); break; case 'urunk'; require_once("urunk.php"); break; case 'kuponlarekle'; require_once("kuponlarekle.php"); break; case 'kuponlar'; require_once("kuponlar.php"); break; case 'toplurunler'; require_once("toplurunler.php"); break; case 'aurunkekle'; require_once("aurunkekle.php"); break; case 'aurunk'; require_once("aurunk.php"); break; case 'baurunkekle'; require_once("baurunkekle.php"); break; case 'baurunk'; require_once("baurunk.php"); break; case 'urunlerekle'; require_once("urunlerekle.php"); break; case 'urunler'; require_once("urunler.php"); break; case 'aramaekle'; require_once("aramaekle.php"); break; case 'arama'; require_once("arama.php"); break; case 'ozellikekle'; require_once("ozellikekle.php"); break; case 'ozellikler'; require_once("ozellikler.php"); break; case 'iozellikekle'; require_once("iozellikekle.php"); break; case 'iozellikler'; require_once("iozellikler.php"); break; case 'videolarekle'; require_once("videolarekle.php"); break; case 'ksiparislerekle'; require_once("ksiparislerekle.php"); break; case 'videolar'; require_once("videolar.php"); break; case 'xmlayar'; require_once("xmlayar.php"); break; case 'sertifikaekle'; require_once("sertifikaekle.php"); break; case 'sertifika'; require_once("sertifika.php"); break; case 'yonetimekle'; require_once("yonetimekle.php"); break; case 'yonetim'; require_once("yonetim.php"); break; case 'uyelerekle'; require_once("uyelerekle.php"); break; case 'uyeler'; require_once("uyeler.php"); break; case 'yorumlarekle'; require_once("yorumlarekle.php"); break; case 'urunyorumlarekle'; require_once("urunyorumlarekle.php"); break; case 'yorumlar'; require_once("yorumlar.php"); break; case 'mesajlaroku'; require_once("mesajlaroku.php"); break; case 'mesajlar'; require_once("mesajlar.php"); break; case 'mesajlarekle'; require_once("mesajlarekle.php"); break; case 'toplumesajlar'; require_once("toplumesajlar.php"); break; case 'toplumesajlarekle'; require_once("toplumesajlarekle.php"); break; case 'ebulten'; require_once("ebulten.php"); break; case 'fatura'; require_once("fatura.php"); break; case 'faturaekle'; require_once("faturaekle.php"); break; case 'byorumlar'; require_once("byorumlar.php"); break; case 'ustkisim'; require_once("ustkisim.php"); break; case 'uyorumlar'; require_once("uyorumlar.php"); break; case 'ayarlar'; require_once("ayarlar.php"); break; case 'odemeler'; require_once("odemeler.php"); break; case 'reklamekle'; require_once("reklamekle.php"); break; case 'cikis'; require_once("cikis.php"); break; default: require_once("home.php"); } }else{ require_once("home.php"); } ?> <footer class="main-footer"> © 2018 <?php echo $ayar['siteadi']; ?>. Tüm Hakkı Saklıdır. </footer> <!-- Control Sidebar --> <aside class="control-sidebar control-sidebar-dark"> <!-- Tab panes --> <div class="tab-content"> <!-- Home tab content --> <div class="tab-pane" id="control-sidebar-home-tab"> </div> <!-- /.tab-pane --> <!-- Stats tab content --> <!-- /.tab-pane --> <!-- /.tab-pane --> </div> </aside> <!-- /.control-sidebar --> <!-- Add the sidebar's background. This div must be placed immediately after the control sidebar --> <div class="control-sidebar-bg"></div> </div> <!-- ./wrapper --> <!-- jQuery 3 --> <script src="assets/vendor_components/jquery/dist/jquery.js"></script> <!-- popper --> <script src="assets/vendor_components/popper/dist/popper.min.js"></script> <!-- Bootstrap 4.0--> <script src="assets/vendor_components/bootstrap/dist/js/bootstrap.js"></script> <!-- Magnific popup JavaScript --> <script src="assets/vendor_components/Magnific-Popup-master/dist/jquery.magnific-popup.min.js"></script> <script src="assets/vendor_components/Magnific-Popup-master/dist/jquery.magnific-popup-init.js"></script> <!-- Slimscroll --> <script src="assets/vendor_components/jquery-slimscroll/jquery.slimscroll.js"></script> <!-- FastClick --> <script src="assets/vendor_components/fastclick/lib/fastclick.js"></script> <!-- ChartJS --> <script src="assets/vendor_components/chart.js-master/Chart.min.js"></script> <!-- Chartist --> <script src="assets/vendor_components/chartist-js-develop/chartist.min.js"></script> <!--amcharts charts --> <script src="js/amcharts.js" type="text/javascript"></script> <script src="js/gauge.js" type="text/javascript"></script> <script src="js/serial.js" type="text/javascript"></script> <script src="js/amstock.js" type="text/javascript"></script> <script src="js/pie.js" type="text/javascript"></script> <script src="js/animate.min.js" type="text/javascript"></script> <script src="js/export.min.js" type="text/javascript"></script> <script src="js/patterns.js" type="text/javascript"></script> <script src="js/light.js" type="text/javascript"></script> <!-- EChartJS JavaScript --> <script src="assets/vendor_components/echarts-master/dist/echarts-en.min.js"></script> <script src="assets/vendor_components/echarts-liquidfill-master/dist/echarts-liquidfill.min.js"></script> <!-- This is data table --> <script src="assets/vendor_plugins/DataTables-1.10.15/media/js/jquery.dataTables.min.js"></script> <!-- Sparkline --> <script src="assets/vendor_components/jquery-sparkline/dist/jquery.sparkline.min.js"></script> <!-- DataTables --> <script src="assets/vendor_components/datatables.net/js/jquery.dataTables.min.js"></script> <script src="assets/vendor_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script> <script src="js/demo.js"></script> <!-- Crypto_Admin for Data Table --> <script src="js/pages/data-table.js"></script> <!-- Crypto_Admin App --> <script src="js/template.js"></script> <!-- Crypto_Admin dashboard demo (This is only for demo purposes) --> <script src="js/pages/dashboard.js"></script> <script src="js/pages/dashboard-chart.js"></script> <!-- This is data table --> <script src="assets/vendor_plugins/DataTables-1.10.15/media/js/jquery.dataTables.min.js"></script> <!-- start - This is for export functionality only --> <script src="assets/vendor_plugins/DataTables-1.10.15/extensions/Buttons/js/dataTables.buttons.min.js"></script> <script src="assets/vendor_plugins/DataTables-1.10.15/extensions/Buttons/js/buttons.flash.min.js"></script> <script src="assets/vendor_plugins/DataTables-1.10.15/ex-js/jszip.min.js"></script> <script src="assets/vendor_plugins/DataTables-1.10.15/ex-js/pdfmake.min.js"></script> <script src="assets/vendor_plugins/DataTables-1.10.15/ex-js/vfs_fonts.js"></script> <script src="assets/vendor_plugins/DataTables-1.10.15/extensions/Buttons/js/buttons.html5.min.js"></script> <script src="assets/vendor_plugins/DataTables-1.10.15/extensions/Buttons/js/buttons.print.min.js"></script> <!-- end - This is for export functionality only --> <script type="text/javascript" src="js/bootstrap-fileupload.min.js"></script> <script src="dist/summernote.js"></script> <script src="js/toggle.js"></script> <script> $(document).ready(function() { $("#idurum").on("change",function(){ if($("#idurum").is(":checked")){ $("#ifiyat").show(); } else{ $("#ifiyat").hide(); } }); $("#rdurum").on("change",function(){ if($("#rdurum").is(":checked")){ $("#renktonu").show(); } else{ $("#renktonu").hide(); } }); $("#dstok").on("change",function(){ if($("#dstok").is(":checked")){ $("#ustok").show(); } else{ $("#ustok").hide(); } }); $("#a5").on("change",function(){ if($("#a5").is(":checked")){ $("#k1").show(); } else{ $("#k1").hide(); } }); $("#a6").on("change",function(){ if($("#a6").is(":checked")){ $("#k2").show(); } else{ $("#k2").hide(); } }); $("#a7").on("change",function(){ if($("#a7").is(":checked")){ $("#k3").show(); } else{ $("#k3").hide(); } }); $("#kargodurum").change(function(){ if($(this).val()=="Kargolandı") { $("#kargo1").show(); $("#kargo2").show(); } else { $("#kargo1").hide(); $("#kargo2").hide(); } }); }); </script> <script src="//cdn.ckeditor.com/4.13.1/full/ckeditor.js"></script> <script> // Replace the <textarea id="editor1"> with a CKEditor // instance, using default configuration. CKEDITOR.replace( 'summernote' ); CKEDITOR.replace( 'summernote1' ); CKEDITOR.replace( 'summernote2' ); CKEDITOR.replace( 'summernote3' ); CKEDITOR.replace( 'summernote4' ); CKEDITOR.replace( 'summernote5' ); CKEDITOR.replace( 'summernote6' ); CKEDITOR.replace( 'summernote7' ); CKEDITOR.replace( 'summernote8' ); CKEDITOR.replace( 'summernote9' ); CKEDITOR.replace( 'summernote10' ); </script> <!--Dropzone [ OPTIONAL ]--> <script src="assets/dropzone/dropzone.min.js"></script> <script src="assets/bootstrap-tagsinput/bootstrap-tagsinput.min.js"></script> <script> $(function () { "use strict"; $(document).ready(function () { var table = $('#project-table').DataTable({ "data": testdata.data, "searching": true, "paging": true, "info": true, select:"single", "columns": [ { "className": 'details-control', "orderable": false, "data": null, "defaultContent": '', "render": function () { return ''; }, width:"15px" }, { "data": "name" }, { "data": "est" }, { "data": "contacts" }, { "data": "status" }, { "data": "starts" }, { "data": "ends" }, { "data": "tracker" }, ], "order": [[1, 'asc']] }); if ($('.table-responsive').length) { setRandomClass(); setInterval(function () { setRandomClass(); },1000); function setRandomClass() { var tbody = $(".table-responsive table tbody"); var items = tbody.find("tr"); var number = items.length; var random1 = Math.floor((Math.random() * number)); var random2 = Math.floor((Math.random() * number)); items.removeClass("bg-pale-warning"); items.eq(random1).addClass("bg-pale-warning"); items.eq(random2).addClass("bg-pale-warning"); } } // Add event listener for opening and closing details $('#project-table tbody').on('click', 'td.details-control', function () { var tr = $(this).closest('tr'); var tdi = tr.find("i.fa"); var row = table.row(tr); if (row.child.isShown()) { // This row is already open - close it row.child.hide(); tr.removeClass('shown'); tdi.first().removeClass('fa-minus-square'); tdi.first().addClass('fa-plus-square'); } else { // Open this row row.child(format(row.data())).show(); tr.addClass('shown'); tdi.first().removeClass('fa-plus-square'); tdi.first().addClass('fa-minus-square'); } }); table.on("user-select", function (e, dt, type, cell, originalEvent) { if ($(cell.node()).hasClass("details-control")) { e.preventDefault(); } }); }); function format(d){ // `d` is the original data object for the row return '<table cellpadding="6" cellspacing="0" border="0" style="padding-left:50px; width:100%;">' + '<tr>'+ '<td style="width:100px">ADI SOYADI:</td>'+ '<td>'+d.name+'</td>'+ '</tr>'+ '<tr>'+ '<td>DURUMU:</td>'+ '<td>'+d.ends+'</td>'+ '</tr>'+ '<tr>'+ '<td>YORUM BAŞLIĞI:</td>'+ '<td>'+d.status+'</td>'+ '</tr>'+ '<tr>'+ '<td>YORUM:</td>'+ '<td>'+d.comments+'</td>'+ '</tr>'+ '<tr>'+ '<td>İŞLEM & CEVAP:</td>'+ '<td>'+d.action+'</td>'+ '</tr>'+ '</table>'; } var testdata = { "data": [ <?php $duy = $DB->query("select * from urun_yorumlar")->fetchAll(PDO::FETCH_ASSOC); foreach($duy as $dirilis){ ?> <?php $diger = $dirilis['urunid'];?> <?php $ss = $DB->query("select * from urunler where urunid='$diger'")->fetchAll(PDO::FETCH_ASSOC); foreach($ss as $cc){ ?> { "name": "<?php echo $dirilis['isim']?>", "est": "<td><?php echo $dirilis['eposta']?></td>", "contacts": "<div class='project-members'><a target='_blank' href='../urunler/<?php echo $cc['seo']?>-<?php echo $cc['urunid']?>'><img src='../images/urunler/<?php echo $cc['resim']?>' class='offline' alt='user'></a> / <a href='../images/urun_yorumlar/<?php echo $dirilis['resim']?>' target='_blank'><img src='../images/urun_yorumlar/<?php echo $dirilis['resim']?>'></img></a></div> ", "status": "<?php echo $dirilis['baslik']?>", <?php if($dirilis['durum']=='1'){?> "ends": "<div class='label label-success'>Aktif</div>", <?php } else { ?> "ends": "<div class='label label-danger'>Pasif</div>", <?php } ?> "starts": "<?php echo $dirilis['yildiz']?>", "tracker": "<?php echo $dirilis['tarih']?>", "comments": "<?php echo strip_tags($dirilis['yorum']);?>", "action": "<form action='' method='post'><input type='hidden' name='id' value='<?php echo $dirilis['id']?>'/><div class='controls' style='margin-left:-20px;'><select name='durum' class='form-control'><option value='1'>Aktif</option><option value='0'>Pasif</option><textarea name='cevap' class='form-control' rows='8' cols='20'><?php echo $dirilis['cevap']; ?></textarea></div></br><a class='btn btn btn-danger pull-right' style='margin-left:5px;width:100px;height:50px;padding-top:15px;' href='?usil=<?php echo $dirilis['id']; ?>'>Sil</a><button type'submit' style='width:100px;height:50px;' name='uguncelle' class='btn btn btn-success pull-right'>Güncelle</button></form>" }, <?php }} ?> ] }; }); // End of use strict </script> <script> $(function () { "use strict"; $(document).ready(function () { var table = $('#haber-table').DataTable({ "data": testdata.data, "searching": true, "paging": true, "info": true, select:"single", "columns": [ { "className": 'details-control', "orderable": false, "data": null, "defaultContent": '', "render": function () { return ''; }, width:"15px" }, { "data": "name" }, { "data": "est" }, { "data": "contacts" }, { "data": "status" }, { "data": "starts" }, { "data": "ends" }, { "data": "tracker" }, ], "order": [[1, 'asc']] }); if ($('.table-responsive').length) { setRandomClass(); setInterval(function () { setRandomClass(); },1000); function setRandomClass() { var tbody = $(".table-responsive table tbody"); var items = tbody.find("tr"); var number = items.length; var random1 = Math.floor((Math.random() * number)); var random2 = Math.floor((Math.random() * number)); items.removeClass("bg-pale-warning"); items.eq(random1).addClass("bg-pale-warning"); items.eq(random2).addClass("bg-pale-warning"); } } // Add event listener for opening and closing details $('#haber-table tbody').on('click', 'td.details-control', function () { var tr = $(this).closest('tr'); var tdi = tr.find("i.fa"); var row = table.row(tr); if (row.child.isShown()) { // This row is already open - close it row.child.hide(); tr.removeClass('shown'); tdi.first().removeClass('fa-minus-square'); tdi.first().addClass('fa-plus-square'); } else { // Open this row row.child(format(row.data())).show(); tr.addClass('shown'); tdi.first().removeClass('fa-plus-square'); tdi.first().addClass('fa-minus-square'); } }); table.on("user-select", function (e, dt, type, cell, originalEvent) { if ($(cell.node()).hasClass("details-control")) { e.preventDefault(); } }); }); function format(d){ // `d` is the original data object for the row return '<table cellpadding="6" cellspacing="0" border="0" style="padding-left:50px; width:100%;">' + '<tr>'+ '<td style="width:100px">ADI SOYADI:</td>'+ '<td>'+d.name+'</td>'+ '</tr>'+ '<tr>'+ '<td>DURUMU:</td>'+ '<td>'+d.ends+'</td>'+ '</tr>'+ '<tr>'+ '<td>YORUM BAŞLIĞI:</td>'+ '<td>'+d.status+'</td>'+ '</tr>'+ '<tr>'+ '<td>YORUM:</td>'+ '<td>'+d.comments+'</td>'+ '</tr>'+ '<tr>'+ '<td>İŞLEM & CEVAP:</td>'+ '<td>'+d.action+'</td>'+ '</tr>'+ '</table>'; } var testdata = { "data": [ <?php $cur = $DB->query("select * from yorumlar")->fetchAll(PDO::FETCH_ASSOC); foreach($cur as $tr){ ?> <?php $ok = $tr['blogid'];?> <?php $ben = $DB->query("select * from haberler where id='$ok'")->fetchAll(PDO::FETCH_ASSOC); foreach($ben as $sen){ ?> { "name": "<?php echo $tr['isim'];?>", "est": "<td><?php echo $tr['eposta'];?></td>", "contacts": "<div class='project-members'><a target='_blank' href='../blog/<?php echo $sen['seo'];?>'><img src='../images/haberler/<?php echo $sen['resim']?>' class='offline' alt='user'></a> </div> ", "status": "<?php echo $tr['baslik'];?>", <?php if($tr['durum']=='1'){?> "ends": "<div class='label label-success'>Aktif</div>", <?php } else { ?> "ends": "<div class='label label-danger'>Pasif</div>", <?php } ?> "starts": "5", "tracker": "<?php echo $tr['tarih'];?>", "comments": "<?php echo strip_tags($tr['yorum']);?>", "action": "<form action='' method='post'><input type='hidden' name='id' value='<?php echo $tr['id']?>'/><div class='controls' style='margin-left:-20px;'><select name='durum' class='form-control'><option value='1'>Aktif</option><option value='0'>Pasif</option><textarea name='cevap' class='form-control' rows='8' cols='20'><?php echo $tr['cevap']; ?></textarea></div></br><a class='btn btn btn-danger pull-right' style='margin-left:5px;width:100px;height:50px;padding-top:15px;' href='?bsil=<?php echo $tr['id']; ?>'>Sil</a><button type'submit' style='width:100px;height:50px;' name='bguncelle' class='btn btn btn-success pull-right'>Güncelle</button></form> " }, <?php }} ?> ] }; }); // End of use strict </script> <!-- FastClick --> <script src="assets/vendor_components/fastclick/lib/fastclick.js"></script> <!-- Crypto_Admin App --> <!-- iCheck --> <script src="assets/vendor_plugins/iCheck/icheck.js"></script> <!-- Crypto_Admin for mailbox --> <script src="js/pages/mailbox.js"></script> <script src="js/pages/app-chat.js"></script> <script> var icons = [{ icon: 'fa fa-glass' }, { icon: 'fa fa-music' }, { icon: 'fa fa-search' }, { icon: 'fa fa-envelope-o' }, { icon: 'fa fa-heart' }, { icon: 'fa fa-star' }, { icon: 'fa fa-star-o' }, { icon: 'fa fa-user' }, { icon: 'fa fa-film' }, { icon: 'fa fa-th-large' }, { icon: 'fa fa-th' }, { icon: 'fa fa-th-list' }, { icon: 'fa fa-check' }, { icon: 'fa fa-times' }, { icon: 'fa fa-search-plus' }, { icon: 'fa fa-search-minus' }, { icon: 'fa fa-power-off' }, { icon: 'fa fa-signal' }, { icon: 'fa fa-cog' }, { icon: 'fa fa-trash-o' }, { icon: 'fa fa-home' }, { icon: 'fa fa-file-o' }, { icon: 'fa fa-clock-o' }, { icon: 'fa fa-road' }, { icon: 'fa fa-download' }, { icon: 'fa fa-arrow-circle-o-down' }, { icon: 'fa fa-arrow-circle-o-up' }, { icon: 'fa fa-inbox' }, { icon: 'fa fa-play-circle-o' }, { icon: 'fa fa-repeat' }, { icon: 'fa fa-refresh' }, { icon: 'fa fa-list-alt' }, { icon: 'fa fa-lock' }, { icon: 'fa fa-flag' }, { icon: 'fa fa-headphones' }, { icon: 'fa fa-volume-off' }, { icon: 'fa fa-volume-down' }, { icon: 'fa fa-volume-up' }, { icon: 'fa fa-qrcode' }, { icon: 'fa fa-barcode' }, { icon: 'fa fa-tag' }, { icon: 'fa fa-tags' }, { icon: 'fa fa-book' }, { icon: 'fa fa-bookmark' }, { icon: 'fa fa-print' }, { icon: 'fa fa-camera' }, { icon: 'fa fa-font' }, { icon: 'fa fa-bold' }, { icon: 'fa fa-italic' }, { icon: 'fa fa-text-height' }, { icon: 'fa fa-text-width' }, { icon: 'fa fa-align-left' }, { icon: 'fa fa-align-center' }, { icon: 'fa fa-align-right' }, { icon: 'fa fa-align-justify' }, { icon: 'fa fa-list' }, { icon: 'fa fa-outdent' }, { icon: 'fa fa-indent' }, { icon: 'fa fa-video-camera' }, { icon: 'fa fa-picture-o' }, { icon: 'fa fa-pencil' }, { icon: 'fa fa-map-marker' }, { icon: 'fa fa-adjust' }, { icon: 'fa fa-tint' }, { icon: 'fa fa-pencil-square-o' }, { icon: 'fa fa-share-square-o' }, { icon: 'fa fa-check-square-o' }, { icon: 'fa fa-arrows' }, { icon: 'fa fa-step-backward' }, { icon: 'fa fa-fast-backward' }, { icon: 'fa fa-backward' }, { icon: 'fa fa-play' }, { icon: 'fa fa-pause' }, { icon: 'fa fa-stop' }, { icon: 'fa fa-forward' }, { icon: 'fa fa-fast-forward' }, { icon: 'fa fa-step-forward' }, { icon: 'fa fa-eject' }, { icon: 'fa fa-chevron-left' }, { icon: 'fa fa-chevron-right' }, { icon: 'fa fa-plus-circle' }, { icon: 'fa fa-minus-circle' }, { icon: 'fa fa-times-circle' }, { icon: 'fa fa-check-circle' }, { icon: 'fa fa-question-circle' }, { icon: 'fa fa-info-circle' }, { icon: 'fa fa-crosshairs' }, { icon: 'fa fa-times-circle-o' }, { icon: 'fa fa-check-circle-o' }, { icon: 'fa fa-ban' }, { icon: 'fa fa-arrow-left' }, { icon: 'fa fa-arrow-right' }, { icon: 'fa fa-arrow-up' }, { icon: 'fa fa-arrow-down' }, { icon: 'fa fa-share' }, { icon: 'fa fa-expand' }, { icon: 'fa fa-compress' }, { icon: 'fa fa-plus' }, { icon: 'fa fa-minus' }, { icon: 'fa fa-asterisk' }, { icon: 'fa fa-exclamation-circle' }, { icon: 'fa fa-gift' }, { icon: 'fa fa-leaf' }, { icon: 'fa fa-fire' }, { icon: 'fa fa-eye' }, { icon: 'fa fa-eye-slash' }, { icon: 'fa fa-exclamation-triangle' }, { icon: 'fa fa-plane' }, { icon: 'fa fa-calendar' }, { icon: 'fa fa-random' }, { icon: 'fa fa-comment' }, { icon: 'fa fa-magnet' }, { icon: 'fa fa-chevron-up' }, { icon: 'fa fa-chevron-down' }, { icon: 'fa fa-retweet' }, { icon: 'fa fa-shopping-cart' }, { icon: 'fa fa-folder' }, { icon: 'fa fa-folder-open' }, { icon: 'fa fa-arrows-v' }, { icon: 'fa fa-arrows-h' }, { icon: 'fa fa-bar-chart' }, { icon: 'fa fa-twitter-square' }, { icon: 'fa fa-facebook-square' }, { icon: 'fa fa-camera-retro' }, { icon: 'fa fa-key' }, { icon: 'fa fa-cogs' }, { icon: 'fa fa-comments' }, { icon: 'fa fa-thumbs-o-up' }, { icon: 'fa fa-thumbs-o-down' }, { icon: 'fa fa-star-half' }, { icon: 'fa fa-heart-o' }, { icon: 'fa fa-sign-out' }, { icon: 'fa fa-linkedin-square' }, { icon: 'fa fa-thumb-tack' }, { icon: 'fa fa-external-link' }, { icon: 'fa fa-sign-in' }, { icon: 'fa fa-trophy' }, { icon: 'fa fa-github-square' }, { icon: 'fa fa-upload' }, { icon: 'fa fa-lemon-o' }, { icon: 'fa fa-phone' }, { icon: 'fa fa-square-o' }, { icon: 'fa fa-bookmark-o' }, { icon: 'fa fa-phone-square' }, { icon: 'fa fa-twitter' }, { icon: 'fa fa-facebook' }, { icon: 'fa fa-github' }, { icon: 'fa fa-unlock' }, { icon: 'fa fa-credit-card' }, { icon: 'fa fa-rss' }, { icon: 'fa fa-hdd-o' }, { icon: 'fa fa-bullhorn' }, { icon: 'fa fa-bell' }, { icon: 'fa fa-certificate' }, { icon: 'fa fa-hand-o-right' }, { icon: 'fa fa-hand-o-left' }, { icon: 'fa fa-hand-o-up' }, { icon: 'fa fa-hand-o-down' }, { icon: 'fa fa-arrow-circle-left' }, { icon: 'fa fa-arrow-circle-right' }, { icon: 'fa fa-arrow-circle-up' }, { icon: 'fa fa-arrow-circle-down' }, { icon: 'fa fa-globe' }, { icon: 'fa fa-wrench' }, { icon: 'fa fa-tasks' }, { icon: 'fa fa-filter' }, { icon: 'fa fa-briefcase' }, { icon: 'fa fa-arrows-alt' }, { icon: 'fa fa-users' }, { icon: 'fa fa-link' }, { icon: 'fa fa-cloud' }, { icon: 'fa fa-flask' }, { icon: 'fa fa-scissors' }, { icon: 'fa fa-files-o' }, { icon: 'fa fa-paperclip' }, { icon: 'fa fa-floppy-o' }, { icon: 'fa fa-square' }, { icon: 'fa fa-bars' }, { icon: 'fa fa-list-ul' }, { icon: 'fa fa-list-ol' }, { icon: 'fa fa-strikethrough' }, { icon: 'fa fa-underline' }, { icon: 'fa fa-table' }, { icon: 'fa fa-magic' }, { icon: 'fa fa-truck' }, { icon: 'fa fa-pinterest' }, { icon: 'fa fa-pinterest-square' }, { icon: 'fa fa-google-plus-square' }, { icon: 'fa fa-google-plus' }, { icon: 'fa fa-money' }, { icon: 'fa fa-caret-down' }, { icon: 'fa fa-caret-up' }, { icon: 'fa fa-caret-left' }, { icon: 'fa fa-caret-right' }, { icon: 'fa fa-columns' }, { icon: 'fa fa-sort' }, { icon: 'fa fa-sort-desc' }, { icon: 'fa fa-sort-asc' }, { icon: 'fa fa-envelope' }, { icon: 'fa fa-linkedin' }, { icon: 'fa fa-undo' }, { icon: 'fa fa-gavel' }, { icon: 'fa fa-tachometer' }, { icon: 'fa fa-comment-o' }, { icon: 'fa fa-comments-o' }, { icon: 'fa fa-bolt' }, { icon: 'fa fa-sitemap' }, { icon: 'fa fa-umbrella' }, { icon: 'fa fa-clipboard' }, { icon: 'fa fa-lightbulb-o' }, { icon: 'fa fa-exchange' }, { icon: 'fa fa-cloud-download' }, { icon: 'fa fa-cloud-upload' }, { icon: 'fa fa-user-md' }, { icon: 'fa fa-stethoscope' }, { icon: 'fa fa-suitcase' }, { icon: 'fa fa-bell-o' }, { icon: 'fa fa-coffee' }, { icon: 'fa fa-cutlery' }, { icon: 'fa fa-file-text-o' }, { icon: 'fa fa-building-o' }, { icon: 'fa fa-hospital-o' }, { icon: 'fa fa-ambulance' }, { icon: 'fa fa-medkit' }, { icon: 'fa fa-fighter-jet' }, { icon: 'fa fa-beer' }, { icon: 'fa fa-h-square' }, { icon: 'fa fa-plus-square' }, { icon: 'fa fa-angle-double-left' }, { icon: 'fa fa-angle-double-right' }, { icon: 'fa fa-angle-double-up' }, { icon: 'fa fa-angle-double-down' }, { icon: 'fa fa-angle-left' }, { icon: 'fa fa-angle-right' }, { icon: 'fa fa-angle-up' }, { icon: 'fa fa-angle-down' }, { icon: 'fa fa-desktop' }, { icon: 'fa fa-laptop' }, { icon: 'fa fa-tablet' }, { icon: 'fa fa-mobile' }, { icon: 'fa fa-circle-o' }, { icon: 'fa fa-quote-left' }, { icon: 'fa fa-quote-right' }, { icon: 'fa fa-spinner' }, { icon: 'fa fa-circle' }, { icon: 'fa fa-reply' }, { icon: 'fa fa-github-alt' }, { icon: 'fa fa-folder-o' }, { icon: 'fa fa-folder-open-o' }, { icon: 'fa fa-smile-o' }, { icon: 'fa fa-frown-o' }, { icon: 'fa fa-meh-o' }, { icon: 'fa fa-gamepad' }, { icon: 'fa fa-keyboard-o' }, { icon: 'fa fa-flag-o' }, { icon: 'fa fa-flag-checkered' }, { icon: 'fa fa-terminal' }, { icon: 'fa fa-code' }, { icon: 'fa fa-reply-all' }, { icon: 'fa fa-star-half-o' }, { icon: 'fa fa-location-arrow' }, { icon: 'fa fa-crop' }, { icon: 'fa fa-code-fork' }, { icon: 'fa fa-chain-broken' }, { icon: 'fa fa-question' }, { icon: 'fa fa-info' }, { icon: 'fa fa-exclamation' }, { icon: 'fa fa-superscript' }, { icon: 'fa fa-subscript' }, { icon: 'fa fa-eraser' }, { icon: 'fa fa-puzzle-piece' }, { icon: 'fa fa-microphone' }, { icon: 'fa fa-microphone-slash' }, { icon: 'fa fa-shield' }, { icon: 'fa fa-calendar-o' }, { icon: 'fa fa-fire-extinguisher' }, { icon: 'fa fa-rocket' }, { icon: 'fa fa-maxcdn' }, { icon: 'fa fa-chevron-circle-left' }, { icon: 'fa fa-chevron-circle-right' }, { icon: 'fa fa-chevron-circle-up' }, { icon: 'fa fa-chevron-circle-down' }, { icon: 'fa fa-html5' }, { icon: 'fa fa-css3' }, { icon: 'fa fa-anchor' }, { icon: 'fa fa-unlock-alt' }, { icon: 'fa fa-bullseye' }, { icon: 'fa fa-ellipsis-h' }, { icon: 'fa fa-ellipsis-v' }, { icon: 'fa fa-rss-square' }, { icon: 'fa fa-play-circle' }, { icon: 'fa fa-ticket' }, { icon: 'fa fa-minus-square' }, { icon: 'fa fa-minus-square-o' }, { icon: 'fa fa-level-up' }, { icon: 'fa fa-level-down' }, { icon: 'fa fa-check-square' }, { icon: 'fa fa-pencil-square' }, { icon: 'fa fa-external-link-square' }, { icon: 'fa fa-share-square' }, { icon: 'fa fa-compass' }, { icon: 'fa fa-caret-square-o-down' }, { icon: 'fa fa-caret-square-o-up' }, { icon: 'fa fa-caret-square-o-right' }, { icon: 'fa fa-eur' }, { icon: 'fa fa-gbp' }, { icon: 'fa fa-usd' }, { icon: 'fa fa-inr' }, { icon: 'fa fa-jpy' }, { icon: 'fa fa-rub' }, { icon: 'fa fa-krw' }, { icon: 'fa fa-btc' }, { icon: 'fa fa-file' }, { icon: 'fa fa-file-text' }, { icon: 'fa fa-sort-alpha-asc' }, { icon: 'fa fa-sort-alpha-desc' }, { icon: 'fa fa-sort-amount-asc' }, { icon: 'fa fa-sort-amount-desc' }, { icon: 'fa fa-sort-numeric-asc' }, { icon: 'fa fa-sort-numeric-desc' }, { icon: 'fa fa-thumbs-up' }, { icon: 'fa fa-thumbs-down' }, { icon: 'fa fa-youtube-square' }, { icon: 'fa fa-youtube' }, { icon: 'fa fa-xing' }, { icon: 'fa fa-xing-square' }, { icon: 'fa fa-youtube-play' }, { icon: 'fa fa-dropbox' }, { icon: 'fa fa-stack-overflow' }, { icon: 'fa fa-instagram' }, { icon: 'fa fa-flickr' }, { icon: 'fa fa-adn' }, { icon: 'fa fa-bitbucket' }, { icon: 'fa fa-bitbucket-square' }, { icon: 'fa fa-tumblr' }, { icon: 'fa fa-tumblr-square' }, { icon: 'fa fa-long-arrow-down' }, { icon: 'fa fa-long-arrow-up' }, { icon: 'fa fa-long-arrow-left' }, { icon: 'fa fa-long-arrow-right' }, { icon: 'fa fa-apple' }, { icon: 'fa fa-windows' }, { icon: 'fa fa-android' }, { icon: 'fa fa-linux' }, { icon: 'fa fa-dribbble' }, { icon: 'fa fa-skype' }, { icon: 'fa fa-foursquare' }, { icon: 'fa fa-trello' }, { icon: 'fa fa-female' }, { icon: 'fa fa-male' }, { icon: 'fa fa-gratipay' }, { icon: 'fa fa-sun-o' }, { icon: 'fa fa-moon-o' }, { icon: 'fa fa-archive' }, { icon: 'fa fa-bug' }, { icon: 'fa fa-vk' }, { icon: 'fa fa-weibo' }, { icon: 'fa fa-renren' }, { icon: 'fa fa-pagelines' }, { icon: 'fa fa-stack-exchange' }, { icon: 'fa fa-arrow-circle-o-right' }, { icon: 'fa fa-arrow-circle-o-left' }, { icon: 'fa fa-caret-square-o-left' }, { icon: 'fa fa-dot-circle-o' }, { icon: 'fa fa-wheelchair' }, { icon: 'fa fa-vimeo-square' }, { icon: 'fa fa-try' }, { icon: 'fa fa-plus-square-o' }, { icon: 'fa fa-space-shuttle' }, { icon: 'fa fa-slack' }, { icon: 'fa fa-envelope-square' }, { icon: 'fa fa-wordpress' }, { icon: 'fa fa-openid' }, { icon: 'fa fa-university' }, { icon: 'fa fa-graduation-cap' }, { icon: 'fa fa-yahoo' }, { icon: 'fa fa-google' }, { icon: 'fa fa-reddit' }, { icon: 'fa fa-reddit-square' }, { icon: 'fa fa-stumbleupon-circle' }, { icon: 'fa fa-stumbleupon' }, { icon: 'fa fa-delicious' }, { icon: 'fa fa-digg' }, { icon: 'fa fa-pied-piper' }, { icon: 'fa fa-pied-piper-alt' }, { icon: 'fa fa-drupal' }, { icon: 'fa fa-joomla' }, { icon: 'fa fa-language' }, { icon: 'fa fa-fax' }, { icon: 'fa fa-building' }, { icon: 'fa fa-child' }, { icon: 'fa fa-paw' }, { icon: 'fa fa-spoon' }, { icon: 'fa fa-cube' }, { icon: 'fa fa-cubes' }, { icon: 'fa fa-behance' }, { icon: 'fa fa-behance-square' }, { icon: 'fa fa-steam' }, { icon: 'fa fa-steam-square' }, { icon: 'fa fa-recycle' }, { icon: 'fa fa-car' }, { icon: 'fa fa-taxi' }, { icon: 'fa fa-tree' }, { icon: 'fa fa-spotify' }, { icon: 'fa fa-deviantart' }, { icon: 'fa fa-soundcloud' }, { icon: 'fa fa-database' }, { icon: 'fa fa-file-pdf-o' }, { icon: 'fa fa-file-word-o' }, { icon: 'fa fa-file-excel-o' }, { icon: 'fa fa-file-powerpoint-o' }, { icon: 'fa fa-file-image-o' }, { icon: 'fa fa-file-archive-o' }, { icon: 'fa fa-file-audio-o' }, { icon: 'fa fa-file-video-o' }, { icon: 'fa fa-file-code-o' }, { icon: 'fa fa-vine' }, { icon: 'fa fa-codepen' }, { icon: 'fa fa-jsfiddle' }, { icon: 'fa fa-life-ring' }, { icon: 'fa fa-circle-o-notch' }, { icon: 'fa fa-rebel' }, { icon: 'fa fa-empire' }, { icon: 'fa fa-git-square' }, { icon: 'fa fa-git' }, { icon: 'fa fa-hacker-news' }, { icon: 'fa fa-tencent-weibo' }, { icon: 'fa fa-qq' }, { icon: 'fa fa-weixin' }, { icon: 'fa fa-paper-plane' }, { icon: 'fa fa-paper-plane-o' }, { icon: 'fa fa-history' }, { icon: 'fa fa-circle-thin' }, { icon: 'fa fa-header' }, { icon: 'fa fa-paragraph' }, { icon: 'fa fa-sliders' }, { icon: 'fa fa-share-alt' }, { icon: 'fa fa-share-alt-square' }, { icon: 'fa fa-bomb' }, { icon: 'fa fa-futbol-o' }, { icon: 'fa fa-tty' }, { icon: 'fa fa-binoculars' }, { icon: 'fa fa-plug' }, { icon: 'fa fa-slideshare' }, { icon: 'fa fa-twitch' }, { icon: 'fa fa-yelp' }, { icon: 'fa fa-newspaper-o' }, { icon: 'fa fa-wifi' }, { icon: 'fa fa-calculator' }, { icon: 'fa fa-paypal' }, { icon: 'fa fa-google-wallet' }, { icon: 'fa fa-cc-visa' }, { icon: 'fa fa-cc-mastercard' }, { icon: 'fa fa-cc-discover' }, { icon: 'fa fa-cc-amex' }, { icon: 'fa fa-cc-paypal' }, { icon: 'fa fa-cc-stripe' }, { icon: 'fa fa-bell-slash' }, { icon: 'fa fa-bell-slash-o' }, { icon: 'fa fa-trash' }, { icon: 'fa fa-copyright' }, { icon: 'fa fa-at' }, { icon: 'fa fa-eyedropper' }, { icon: 'fa fa-paint-brush' }, { icon: 'fa fa-birthday-cake' }, { icon: 'fa fa-area-chart' }, { icon: 'fa fa-pie-chart' }, { icon: 'fa fa-line-chart' }, { icon: 'fa fa-lastfm' }, { icon: 'fa fa-lastfm-square' }, { icon: 'fa fa-toggle-off' }, { icon: 'fa fa-toggle-on' }, { icon: 'fa fa-bicycle' }, { icon: 'fa fa-bus' }, { icon: 'fa fa-ioxhost' }, { icon: 'fa fa-angellist' }, { icon: 'fa fa-cc' }, { icon: 'fa fa-ils' }, { icon: 'fa fa-meanpath' }, { icon: 'fa fa-buysellads' }, { icon: 'fa fa-connectdevelop' }, { icon: 'fa fa-dashcube' }, { icon: 'fa fa-forumbee' }, { icon: 'fa fa-leanpub' }, { icon: 'fa fa-sellsy' }, { icon: 'fa fa-shirtsinbulk' }, { icon: 'fa fa-simplybuilt' }, { icon: 'fa fa-skyatlas' }, { icon: 'fa fa-cart-plus' }, { icon: 'fa fa-cart-arrow-down' }, { icon: 'fa fa-diamond' }, { icon: 'fa fa-ship' }, { icon: 'fa fa-user-secret' }, { icon: 'fa fa-motorcycle' }, { icon: 'fa fa-street-view' }, { icon: 'fa fa-heartbeat' }, { icon: 'fa fa-venus' }, { icon: 'fa fa-mars' }, { icon: 'fa fa-mercury' }, { icon: 'fa fa-transgender' }, { icon: 'fa fa-transgender-alt' }, { icon: 'fa fa-venus-double' }, { icon: 'fa fa-mars-double' }, { icon: 'fa fa-venus-mars' }, { icon: 'fa fa-mars-stroke' }, { icon: 'fa fa-mars-stroke-v' }, { icon: 'fa fa-mars-stroke-h' }, { icon: 'fa fa-neuter' }, { icon: 'fa fa-facebook-official' }, { icon: 'fa fa-pinterest-p' }, { icon: 'fa fa-whatsapp' }, { icon: 'fa fa-server' }, { icon: 'fa fa-user-plus' }, { icon: 'fa fa-user-times' }, { icon: 'fa fa-bed' }, { icon: 'fa fa-viacoin' }, { icon: 'fa fa-train' }, { icon: 'fa fa-subway' }, { icon: 'fa fa-medium' }]; var itemTemplate = $('.icon-picker-list').clone(true).html(); $('.icon-picker-list').html(''); // Loop through JSON and appends content to show icons $(icons).each(function(index) { var itemtemp = itemTemplate; var item = icons[index].icon; if (index == selectedIcon) { var activeState = 'active' } else { var activeState = '' } itemtemp = itemtemp.replace(/{{item}}/g, item).replace(/{{index}}/g, index).replace(/{{activeState}}/g, activeState); $('.icon-picker-list').append(itemtemp); }); // Variable that's passed around for active states of icons var selectedIcon = null; $('.icon-class-input').each(function() { if ($(this).val() != null) { $(this).siblings('.demo-icon').addClass($(this).val()); } }); // To be set to which input needs updating var iconInput = null; // Click function to set which input is being used $('.picker-button').click(function() { // Sets var to which input is being updated iconInput = $(this).siblings('.icon-class-input'); // Shows Bootstrap Modal $('#iconPicker').modal('show'); // Sets active state by looping through the list with the previous class from the picker input selectedIcon = findInObject(icons, 'icon', $(this).siblings('.icon-class-input').val()); // Removes any previous active class $('.icon-picker-list a').removeClass('active'); // Sets active class $('.icon-picker-list a').eq(selectedIcon).addClass('active'); }); // Click function to select icon $(document).on('click', '.icon-picker-list a', function() { // Sets selected icon selectedIcon = $(this).data('index'); // Removes any previous active class $('.icon-picker-list a').removeClass('active'); // Sets active class $('.icon-picker-list a').eq(selectedIcon).addClass('active'); }); // Update icon input $('#change-icon').click(function() { iconInput.val(icons[selectedIcon].icon); iconInput.siblings('.demo-icon').attr('class', 'demo-icon'); iconInput.siblings('.demo-icon').addClass(icons[selectedIcon].icon); $('#iconPicker').modal('hide'); console.log(iconInput); console.log(icons[selectedIcon].icon); }); function findInObject(object, property, value) { for (var i = 0; i < object.length; i += 1) { if (object[i][property] === value) { return i; } } } </script> </body> </html> <?php ob_end_flush(); ?>
💾 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