📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
butikv1.demodesign.com.tr
/
xpanel
📝
siparis-islemleri.php
← Geri Dön
<?php if ($_GET) { include("inc/vt.php"); $id = $_GET['id']; $islem = $_GET['islem']; switch ($islem) { case 'sil': $siparis_sil = $dbh->prepare("DELETE FROM product_order WHERE id = ?"); $siparis_sil->execute([$id]); if ($siparis_sil) { header("location:siparis-liste.php"); } break; case "beklemede": $guncelle = $dbh -> prepare("UPDATE product_order SET status = ? WHERE id = ?"); $guncelle->execute([0, $id]); if ($guncelle) { header("location:siparis-liste.php"); } break; case "yapiliyor": $guncelle = $dbh -> prepare("UPDATE product_order SET status = ? WHERE id = ?"); $guncelle->execute([1, $id]); if ($guncelle) { header("location:siparis-liste.php"); } break; case "kargo": $guncelle = $dbh -> prepare("UPDATE product_order SET status = ? WHERE id = ?"); $guncelle->execute([6, $id]); if ($guncelle) { header("location:siparis-liste.php"); } break; case "tamamlandi": $guncelle = $dbh -> prepare("UPDATE product_order SET status = ? WHERE id = ?"); $guncelle->execute([2, $id]); if ($guncelle) { header("location:siparis-liste.php"); } break; case "odendi": $guncelle = $dbh -> prepare("UPDATE product_order SET payment = ? WHERE id = ?"); $guncelle->execute([1, $id]); if ($guncelle) { header("location:siparis-liste.php"); } break; case "odenmedi": $guncelle = $dbh -> prepare("UPDATE product_order SET payment = ? WHERE id = ?"); $guncelle->execute([0, $id]); if ($guncelle) { header("location:siparis-liste.php"); } break; case "iptal-edildi": $guncelle = $dbh -> prepare("UPDATE product_order SET status = ? WHERE id = ?"); $guncelle->execute([3, $id]); if ($guncelle) { header("location:siparis-liste.php"); } break; } } ?>
💾 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