📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
gorevyapscriptiv2.demodesign.com.tr
📝
vipal.php
← Geri Dön
<?php include ('config.php'); include ('system/inc/sitedata.php'); if (!isset($_SESSION['login'])){ echo " <meta http-equiv='refresh' content='1;URL=login.php'> "; exit(); } ?> <!DOCTYPE html> <html lang="en"> <?php include ('system/inc/header.php'); ?> <!--********************************** Content body start ***********************************--> <div class="content-body"> <div class="container-fluid"> <div class="row"> <div class="col-xl-12 col-xxl-12 col-lg-12 col-12"> <div class="card"> <div class="card-header border-0 pb-0"> <h4 class="card-title">VIP Üyeliğe Geç</h4> </div> <div class="card-body"> <center> <div> <img src="system/themes/vip.gif" style="border-radius: 50%;width:100px;height:100px;background-color:white"> <br> </div> <?php if($uyeliktipi == 1){ ?> <div style="margin-top:-30px; height:50px; background:#ECEFF1; box-shadow: 10px 10px rgba(0,0,0,0.2); border-radius:50px;"><font class="text-danger" size="6" style=" -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: black;"> <strong> VIP GEÇİŞİ</strong></font> </div> <div class="alert alert-success"> <strong>VİP ÜYELİK İLE :</strong> <li>Görevlerde VIP Üyelere Özel Fiyatlardan Yararlanabilirsin.</li> <li>VIP lere Özel Görevlere Erişebilirsin.</li> <li>VIP Üyelik Süresi 30 Gündür. Süre Dolduğunda Otomatik Olarak Sonlanır.</li> </div> <br> <input id="useer" value="0" type="hidden"> <button id="btn-vipal" class="btn btn-success" style="width:100%">VIP ÜYELİĞE GEÇ (<?=$vipfiyat;?> TL)</button> <?php }else{ ?> <div style="margin-top:-30px; height:50px; background:#ECEFF1; box-shadow: 10px 10px rgba(0,0,0,0.2); border-radius:50px;"><font class="text-danger" size="6" style=" -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: black;"> <strong> HEY! ZATEN VIPSİN</strong></font> </div> <div class="alert alert-success"> <strong>SEN DE VIP ÜYELER ARASINDA OLMAKTAN GURUR DUYUYOR MUSUN?</strong> </li> </div> <br> <?php $querySonV = mysqli_query($connect, "SELECT * FROM vipalim WHERE userid = '$userid' ORDER BY id DESC LIMIT 1"); $fetchSonV = mysqli_fetch_array($querySonV); $bitisTarih = $fetchSonV['bitis']; $tarihAc = date('d.m.Y',$bitisTarih); ?> <button class="btn btn-danger" style="width:100%">VIP BİTİŞ : <?=$tarihAc;?></button> <?php } ?> <div class="table-responsive"> <table class="table table-hover mb-0"> <thead> <tr> <th>Tarih</th> <th>Bitiş</th> <th>Durum</th> </tr> </thead> <tbody> <?php $query_r = mysqli_query($connect, "SELECT * FROM vipalim WHERE userid = '$userid' ORDER BY id DESC"); if (mysqli_affected_rows($connect)){ $i = 1; while ($fetch_r = mysqli_fetch_array($query_r)){ if($fetch_r['durum'] == 1){ $durumYaz = '<span class="badge badge-success">AKTİF</span>'; } if($fetch_r['durum'] == 2){ $durumYaz = '<span class="badge badge-danger">BİTMİŞ</span>'; } $bitisgel = $fetch_r['bitis']; $acyap = date('d.m.Y',$bitisgel); ?> <tr class="active"> <td class="text-warning"><?php echo $fetch_r['tarih']; ?></td> <td class="text-warning"><?php echo $acyap; ?></td> <td><?=$durumYaz;?></td> </tr> <?php $i++;} }else{ ?> <tr class="active"> <th scope="row">0</th> <td>Çekim</td> <td>Yok</td> </tr> <?php } ?> </tbody> </table> </div> </center> </div> </div> </div> </div> </div> </div> <!--********************************** Content body end ***********************************--> <?php include ('system/inc/footer.php'); ?> </body> </html>
💾 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