PHP Classes

File: fwphp/01mater/shop/admin/orders/confirm_delete.php

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/01mater/shop/admin/orders/confirm_delete.php  >  Download  
File: fwphp/01mater/shop/admin/orders/confirm_delete.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change: ver 7.0.1 mnu, msg, mkd FUNCTIONAL namespaces, CRUD PDO trait, pretty URL-s
Date: 3 months ago
Size: 777 bytes


Class file image Download
<?php include 'view/header.php'; ?>
include 'view/sidebar_admin.php'; ?>
    <h2>Delete Order</h2>
    <p>Order Number: <?php echo $order_id; ?></p>
    <p>Order Date: <?php echo $order_date; ?></p>
    <p>Customer: <?php echo htmlspecialchars($customer_name) . ' (' .
htmlspecialchars($email) . ')'; ?></p>
    <p>Are you sure you want to delete this order?</p>
    <form action="." method="post">
        <input type="hidden" name="action" value="delete">
        <input type="hidden" name="order_id"
               value="<?php echo $order_id; ?>">
        <input type="submit" value="Delete Order">
    <form action="." method="post">
        <input type="submit" value="Cancel">
<?php include 'view/footer.php'; ?>

For more information send a message to info at phpclasses dot org.