📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv4.demodesign.com.tr
/
wpanel
/
islemler
📝
personel.php
← Geri Dön
<?php if(!defined("Hacking")){die("404 Not Found"); } ?> <div id="tour-11" class="header-content"> <h2><i class="fa fa-personel-camera"></i>Personel Listesi</h2> </div> <div class="body-content animated fadeIn"> <div class="panel rounded shadow"> <div class="panel-body"> <button class="btn btn-danger" onclick="topluSilme('personel', 'Personellerden','personel');">Sil</button> <table id="table" class="table" data-pagination="true" data-search="true" data-pagination-v-align="bottom" data-click-to-select="true" data-toggle="table" data-page-list="[10, 25, 50, 100, 150, 200]"> <thead> <tr> <th data-checkbox="true"></th> <th data-visible="false">id</th> <th data-class="expand" class="text-center">Personel Resmi</th> <th data-hide="phone">Adı ve Soyadı</th> <th>Gizle/Göster</th> <th>Sıralama</th> <th data-hide="phone,tablet" style="min-width: 200px" class="text-center">İşlem</th> </tr> </thead> <tbody> <?php if(@$_GET["islev"] != ""){ $db->query("UPDATE personel SET sira='0' WHERE id='".$_GET["id"]."'"); if($_GET["islev"] == "asagi"){ $yeni_sira = $_GET["sira"] + 1; }elseif($_GET["islev"] == "yukari"){ $yeni_sira = $_GET["sira"] - 1; } $db->query("UPDATE personel SET sira='".$_GET["sira"]."' WHERE sira='".$yeni_sira."'"); $db->query("UPDATE personel SET sira='".$yeni_sira."' WHERE sira='0'"); } /*$personel = $db->select('personel') ->orderby('id','DESC') ->run();*/ $personel = $Modul->sayfalamastart($kayitsayisi,'personel'); foreach ($personel as $key => $personelRow){ ?> <tr> <td></td> <td><?=$personelRow['id']?></td> <td class="text-center" style="width: 2%"><img src="../upload/<?php echo $personelRow['personelResim']; ?>" width="160" class="mt-5 mb-5"/></td> <td><?php echo $personelRow['personelBaslik']; ?></td> <td> <label class="switch"> <input type="checkbox" id="toggle[<?=$personelRow['id']?>]" name="toggle" <?php if($personelRow['aktifkontrol']=="aktif"){ print "checked"; } ?> onclick="aktifkontrol(<?=$personelRow['id']?>,'personel');"> <span class="slider round"></span> </label> </td> <td align="center"> <?php if($personelRow["sira"] != "1"){?><a href="index.php?do=personel&islev=yukari&id=<?=$personelRow["id"]?>&sira=<?=$personelRow["sira"]?>"><i class="fa fa-arrow-up fa-2x" style="color:green;"></i></a> <?php } ?> <?php if($personelRow["sira"] != Count($personel)){?><a href="index.php?do=personel&islev=asagi&id=<?=$personelRow["id"]?>&sira=<?=$personelRow["sira"]?>"><i class="fa fa-arrow-down fa-2x" style="color:red;"></i></a><?php } ?> </td> <td class="text-center"> <a href="index.php?do=personel&duzenle=<?php echo $personelRow['id']; ?>" class="btn btn-sm btn-primary btn-s btn-push"><i class="fa fa-edit"></i> Düzenle</a> <a href="#" onclick="itemsil(<?php echo $personelRow['id']?>,'','<?php echo $personelRow['personelBaslik']?>','personel');" class="btn btn-sm btn-danger btn-s btn-push"><i class="fa fa-trash"></i> Sil</a> </td> </tr> <?php } ?> </tbody> </table> </div> </div> <?php //$Modul->sayfalama('personel',"personel",$kayitsayisi); ?> </div>
💾 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