📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
reelsolusturmascripti.demodesign.com.tr
/
adminpnl
📝
uye-detay.php
← Geri Dön
<?php include ('config.php'); include ('inc/sitedata.php'); if (!isset($_SESSION['login'])){ echo " <meta http-equiv='refresh' content='1;URL=index.php'> "; exit(); } if($uuid != 1){ echo "<script>location='../index.php'; </script>"; die; } ?> <html lang="en"> <?php include ('inc/header.php'); ?> <div class="page-content"> <div class="d-flex justify-content-between align-items-center flex-wrap grid-margin"> <div> <h4 class="mb-3 mb-md-0 text-primary"><?=$site_name;?> - <?=$site_aciklama;?></h4> </div> </div> <div class="row"> <div class="col-lg-12 col-xl-12 grid-margin stretch-card"> <div class="card"> <div class="card-body"> <?php $uyeid = $_GET['uyeid']; $queryMusteri = mysqli_query($connect, "SELECT * FROM data_users WHERE id = '$uyeid'"); $fetchMusteri = mysqli_fetch_array($queryMusteri); $emaila = $fetchMusteri['email']; $passworda = $fetchMusteri['password']; $adsoyada = $fetchMusteri['adsoyad']; $createhaka = $fetchMusteri['createhak']; $telefona = $fetchMusteri['telefon']; $aktivasyonkod = $fetchMusteri['aktivasyonkod']; ?> <div class="d-flex justify-content-between align-items-baseline mb-2"> <h6 class="card-title mb-0">Üye Detayları (Aktivasyon Kodu : <?=$aktivasyonkod;?>)</h6> <div class="dropdown mb-2"> </div> </div> <div class="row"> <div class="col-md-4"> <label>Email : </label> <input id="emaila" class="form-control" type="text" value="<?=$emaila;?>"> </div> <div class="col-md-4"> <label>Kullanıcı Şifre : </label> <input id="passworda" class="form-control" type="text" value="<?=$passworda;?>"> </div> <div class="col-md-4"> <label>Kullanıcı Ad Soyad : </label> <input id="adsoyada" class="form-control" type="text" value="<?=$adsoyada;?>"> </div> <div class="col-md-4"> <label>İçerik Hak : </label> <input id="createhaka" class="form-control" type="text" value="<?=$createhaka;?>"> </div> <input id="uyeid" type="hidden" value="<?=$uyeid;?>"> <div class="col-md-8"> <button id="btn-uye" class="btn btn-primary" style="width:100%;margin-top:30px">Güncelle</button> </div> </div> </div> </div> </div> </div> <!-- row --> <div class="row"> <div class="col-lg-12 col-xl-12 grid-margin stretch-card"> <div class="card"> <div class="card-body"> <div class="d-flex justify-content-between align-items-baseline mb-2"> <h6 class="card-title mb-0">Üyenin Aldığı Paketler</h6> </div> <div class="row"> <div class="table-responsive mt-1"> <table id="myTable" class="table table-hover-animation mb-0"> <thead> <tr> <th>Üye</th> <th>Paket</th> <th>İşlem Tarihi</th> <th>İşlem Kodu</th> </tr> </thead> <tbody> <?php $query_r = mysqli_query($connect, "SELECT * FROM alinanuyelik WHERE userid = '$uyeid' ORDER BY id DESC"); if (mysqli_affected_rows($connect)){ $i = 1; while ($fetch_r = mysqli_fetch_array($query_r)){ ?> <tr class="active"> <td><?php echo $fetch_r['username']; ?></td> <td><?php echo $fetch_r['paket']; ?></td> <td><?php echo $fetch_r['tarih']; ?></td> <td><?php echo $fetch_r['islemcode']; ?></td> </tr> <?php $i++;} }else{ ?> <tr class="active"> <th scope="row">0</th> <td>Kayıt</td> <td>Yok</td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> </div> </div> <!-- row --> <div class="row"> <div class="col-lg-12 col-xl-12 grid-margin stretch-card"> <div class="card"> <div class="card-body"> <div class="d-flex justify-content-between align-items-baseline mb-2"> <h6 class="card-title mb-0">Üyenin İçerikleri</h6> </div> <div class="row"> <div class="table-responsive mt-1"> <table id="myTable" class="table table-hover-animation mb-0"> <thead> <tr> <th>Özet</th> <th>Süre</th> <th>Prompt Sonucu</th> <th>Dosyalar</th> </tr> </thead> <tbody> <?php $query_r = mysqli_query($connect, "SELECT * FROM icerikler WHERE userid = '$uyeid' ORDER BY id DESC"); if (mysqli_affected_rows($connect)){ $i = 1; while ($fetch_r = mysqli_fetch_array($query_r)){ ?> <tr class="active"> <td><?php echo $fetch_r['icerikozet']; ?></td> <td><?php echo $fetch_r['iceriksure']; ?> sn.</td> <td><span class="badge badge-primary" data-toggle="modal" data-target="#myModal<?php echo $fetch_r['id']; ?>">Gör</span></td> <td> <a href="../sounds/<?php echo $fetch_r['sesdosyasi']; ?>" target="_blank" class="badge badge-success"><i class="fas fa-microphone"></i></a> <a href="../downloaded/<?php echo $fetch_r['outputfile']; ?>" target="_blank" class="badge badge-success"><i class="fas fa-camera"></i></a> <a href="../created_videos/<?php echo $fetch_r['sonicerikhali']; ?>" target="_blank" class="badge badge-success"><i class="fas fa-trophy"></i></a> </td> </tr> <div id="myModal<?php echo $fetch_r['id']; ?>" class="modal fade" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> </div> <div class="modal-body"> <p><?php echo $fetch_r['promptsonuc']; ?></p> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </div> </div> </div> <?php $i++;} }else{ ?> <tr class="active"> <th scope="row">0</th> <td>Kayıt</td> <td>Yok</td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> </div> </div> <!-- row --> <div class="row"> <div class="col-lg-12 col-xl-12 grid-margin stretch-card"> <div class="card"> <div class="card-body"> <div class="d-flex justify-content-between align-items-baseline mb-2"> <h6 class="card-title mb-0">Üye Text to Image</h6> </div> <div class="row"> <div class="table-responsive mt-1"> <table id="myTable" class="table table-hover-animation mb-0"> <thead> <tr> <th>Prompt</th> <th>Görsel</th> <th>Tarih</th> </tr> </thead> <tbody> <?php $query_r = mysqli_query($connect, "SELECT * FROM gorseller WHERE userid = '$uyeid' ORDER BY id DESC"); if (mysqli_affected_rows($connect)){ $i = 1; while ($fetch_r = mysqli_fetch_array($query_r)){ ?> <tr class="active"> <td><?php echo $fetch_r['prompt']; ?></td> <td><a href="<?php echo $fetch_r['link']; ?>" target="_blank">Görüntüyü aç</a></td> <td><?php echo $fetch_r['date']; ?></td> </tr> <?php $i++;} }else{ ?> <tr class="active"> <th scope="row">0</th> <td>Kayıt</td> <td>Yok</td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> </div> </div> <!-- row --> <div class="row"> <div class="col-lg-12 col-xl-12 grid-margin stretch-card"> <div class="card"> <div class="card-body"> <div class="d-flex justify-content-between align-items-baseline mb-2"> <h6 class="card-title mb-0">Üye Text to Mp3</h6> </div> <div class="row"> <div class="table-responsive mt-1"> <table id="myTable" class="table table-hover-animation mb-0"> <thead> <tr> <th>Prompt</th> <th>Dosya</th> <th>Tarih</th> </tr> </thead> <tbody> <?php $query_r = mysqli_query($connect, "SELECT * FROM sesler WHERE userid = '$uyeid' ORDER BY id DESC"); if (mysqli_affected_rows($connect)){ $i = 1; while ($fetch_r = mysqli_fetch_array($query_r)){ ?> <tr class="active"> <td><?php echo $fetch_r['prompt']; ?></td> <td><a href="../texttosound/index.php?fileget=<?php echo $fetch_r['dosya']; ?>" target="_blank">Sesi aç</a></td> <td><?php echo $fetch_r['date']; ?></td> </tr> <?php $i++;} }else{ ?> <tr class="active"> <th scope="row">0</th> <td>Kayıt</td> <td>Yok</td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> </div> </div> <!-- row --> </div> <?php include ('inc/footer.php'); ?> <script> $('.uyeonay').click(function(){ id = $(this).attr('id'); swal({ title: "Onaylıyor musun?", text: "Onayladığın takdirde bu üyeyi onaylı hale getireceksiniz.", type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: "Hayır", cancelButtonText: "Evet", closeOnConfirm: true, closeOnCancel: false }, function(isConfirm){ if (!isConfirm) { $.ajax({ type:'POST', data:'id='+id, url:'system/ajax/uyeonay.php', success:function(reply) { if (reply == 0) { swal("Tebrikler!", "Üye onaylı duruma getirildi", "success"); setTimeout(function(){ location.href = "uye-detay.php?uyeid="+id; },1000); } if (reply == 1) { swal("Başarısız!", "Üzgünüz sistemsel bir sorun meydana geldi.", "error"); } } }) } }); }) $('.uyepasif').click(function(){ id = $(this).attr('id'); swal({ title: "Onaylıyor musun?", text: "Onayladığın takdirde bu üyeyi onaysız hale getireceksiniz.", type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: "Hayır", cancelButtonText: "Evet", closeOnConfirm: true, closeOnCancel: false }, function(isConfirm){ if (!isConfirm) { $.ajax({ type:'POST', data:'id='+id, url:'system/ajax/uyeonaysiz.php', success:function(reply) { if (reply == 0) { swal("Tebrikler!", "Üye onaysız duruma getirildi", "success"); setTimeout(function(){ location.href = "uye-detay.php?uyeid="+id; },1000); } if (reply == 1) { swal("Başarısız!", "Üzgünüz sistemsel bir sorun meydana geldi.", "error"); } } }) } }); }) </script> </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