📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
anaokuluscripti.demodesign.com.tr
📝
kadromuz.php
← Geri Dön
<?php include "includes/header.php"; ?> <!-- Inner Heading Start --> <div class="innerHeading-wrap"> <div class="container"> <h1>Kadromuz</h1> </div> </div> <!-- Inner Heading End --> <!-- Inner Content Start --> <div class="innerContent-wrap"> <div class="container"> <!-- Teachers Start --> <div class="innerteacher-wrap"> <div class="row"> <?php $sayfada = 100; // sayfada gösterilecek içerik miktarını belirtiyoruz. $sorgu=$db->prepare("select * from teams"); $sorgu->execute(); $toplam_icerik=$sorgu->rowCount(); $toplam_sayfa = ceil($toplam_icerik / $sayfada); // eğer sayfa girilmemişse 1 varsayalım. $sayfa = isset($_GET['sayfa']) ? (int) $_GET['sayfa'] : 1; // eğer 1'den küçük bir sayfa sayısı girildiyse 1 yapalım. if($sayfa < 1) $sayfa = 1; // toplam sayfa sayımızdan fazla yazılırsa en son sayfayı varsayalım. if($sayfa > $toplam_sayfa) $sayfa = $toplam_sayfa; $limit = ($sayfa - 1) * $sayfada; $refsor=$db->prepare("select * from teams order by rank ASC limit $limit,$sayfada"); $refsor->execute(); while ($refcek=$refsor->fetch(PDO::FETCH_ASSOC)) { if ($refcek['isActive']==1){ ?> <div class="col-lg-3 col-md-6 "> <div class="single-teachers"> <div class="teacherImg"> <img style="width: 100%;height: 350px;object-fit: cover;" src="<?php echo $site; ?>/panel/uploads/teams_v/349x388/<?php echo $refcek['img_url']; ?>" alt="<?php echo $refcek['ad_soyad']; ?>"> <ul class="social-icons list-inline"> <!-- social-icons --> <?php if (!empty($refcek['facebook'])){ ?> <li><a href="<?php echo $refcek['facebook']; ?>" ><i class="fab fa-facebook"></i></a></li> <?php } ?> <?php if (!empty($refcek['instagram'])){ ?> <li><a href="<?php echo $refcek['instagram']; ?>" ><i class="fab fa-instagram"></i></a></li> <?php } ?> <?php if (!empty($refcek['twitter'])){ ?> <li><a href="<?php echo $refcek['twitter']; ?>" ><i class="fab fa-twitter"></i></a></li> <?php } ?> <?php if (!empty($refcek['youtube'])){ ?> <li><a href="<?php echo $refcek['youtube']; ?>" ><i class="fab fa-youtube"></i></a></li> <?php } ?> <?php if (!empty($refcek['linkedin'])){ ?> <li><a href="<?php echo $refcek['linkedin']; ?>" ><i class="fab fa-linkedin"></i></a></li> <?php } ?> <?php if (!empty($refcek['pinterest'])){ ?> <li><a href="<?php echo $refcek['pinterest']; ?>" ><i class="fab fa-pinterest"></i></a></li> <?php } ?> </ul> </div> <div class="teachers-content"> <h3><?php echo $refcek['ad_soyad']; ?></h3> <div class="designation"><?php echo $refcek['pozisyon']; ?></div> </div> </div> </div> <?php }} ?> </div> </div> <!-- Teachers End --> </div> </div> <!-- Inner Content Start --> <?php include "includes/footer.php"; ?>
💾 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