📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
qrmenuv2.demodesign.com.tr
/
admin
/
view
📝
siparisler.php
← Geri Dön
<?php require_once 'include/header.php'; ?> <link rel="stylesheet" href="<?= admin_public_url(); ?>assets/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css"> <link rel="stylesheet" href="<?= admin_public_url(); ?>assets/plugins/iCheck/all.css"> <div class="content-wrapper"> <section class="content"> <form action="" method="POST"> <div class="row"> <div class="col-md-12"> <div class="pull-right"> <button type="submit" class="btn btn-danger" onclick="return confirm('Bu işlemi gerçekten yapmak istiyor musunuz?')"><i class="fa fa-trash"></i> Seçilenleri Sil</button> </div> </div> </div> <div class="pad"></div> <div class="row"> <div class="col-lg-12"> <div class="box"> <div class="box-body table-responsive"> <table id="example" class="table table-bordered select-all"> <thead> <tr> <th id="checkbox-toggle" width="1%">Seç</th> <th width="1%">No</th> <th width="10%">Ürün</th> <th width="10%">Adı Soyadı</th> <th width="7%">masano</th> <th width="1%">Adet</th> <th width="1%">Fiyat</th> <th width="1%">Durum</th> <th width="1%">İşlemler</th> </tr> </thead> <tbody> <?php while($row=$query->fetch(PDO::FETCH_ASSOC)) { ?> <tr> <td align="center"><input type="checkbox" class="minimal" name="deleteorder[]" value="<?= $row['id'] ?>"></td> <td>#<?= $row['id'] ?></td> <td><?= $row['product'] ?></td> <td><?= $row['ad_soyad']?></td> <td><?= $row['masano'] ?></td> <td><?= $row['piece'] ?></td> <td><?= $row['amount'] ?></td> <td><?php if ($row['statu']=="waiting") {echo "Bekliyor";} elseif ($row['statu']=="preparing") {echo "Hazırlanıyor";} elseif ($row['statu']=="cargo") {echo "Kargoda";} elseif ($row['statu']=="completed") {echo "Tamamlandı";} elseif ($row['statu']=="cancelled") {echo "İptal Edildi";} ?></td> <td align="center"><a href="siparis?id=<?= $row['id'] ?>" class="btn btn-primary btn-sm">Görüntüle</a></td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> </form> </section> </div> <?php require_once 'include/footer.php'; ?> <script src="<?= admin_public_url(); ?>assets/bower_components/datatables.net/js/jquery.dataTables.min.js"></script> <script src="<?= admin_public_url(); ?>assets/bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script> <script src="<?= admin_public_url(); ?>assets/plugins/iCheck/icheck.min.js"></script> <script> $(function () { $('#example').DataTable() }); $("#checkbox-toggle").click(function () { var clicks = $(this).data('clicks'); if (clicks) { $(".select-all input[type='checkbox']").iCheck("uncheck"); $(".fa", this).removeClass("fa-check-square-o").addClass('fa-square-o'); } else { $(".select-all input[type='checkbox']").iCheck("check"); $(".fa", this).removeClass("fa-square-o").addClass('fa-check-square-o'); } $(this).data("clicks", !clicks); }); $('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({ checkboxClass: 'icheckbox_minimal-blue', radioClass : 'iradio_minimal-blue' }); </script>
💾 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