<?php

session_start();
//include the DAL library for the method to insert the details
include '../library/library.DAL.php';
$manageData = new manageContent_DAL();
//taking the values from url
$order_id = $_GET['o_id'];
if (!empty($order_id)) {
    //calling method for undo payment confirmation
    $result = $manageData->updateValueWhere("purchase_info", "payment_request", "Undo", "order_id", $order_id);
    $delilvery_status = $manageData->updateValueWhere("purchase_log", "delivery_status", 0, "order_id", $order_id);
    $delete_withdraw = $manageData->deleteValue("withdraw_log", "withdraw_order_id", $order_id);
}
header("Location: ../../finalConfirmationByAccount.php");
Exemplo n.º 2
0
<?php

session_start();
//include the DAL library for the method to insert the details
include '../library/library.DAL.php';
$manageData = new manageContent_DAL();
//taking the values from get value
$category_id = $_GET['c_id'];
//updating the selected values
if (isset($category_id)) {
    $result = $manageData->deleteValue("coupon_category", "id", $category_id);
}
header("Location: ../../couponCategoryList.php");
Exemplo n.º 3
0
<?php

session_start();
//include the DAL library for the method to insert the details
include '../library/library.DAL.php';
$manageData = new manageContent_DAL();
//taking the values from get value
$id = $_GET['id'];
//updating the selected values
if (isset($id)) {
    $result = $manageData->deleteValue("addmoney_info", "id", $id);
}
header("Location: ../../pending_add_money.php");
Exemplo n.º 4
0
<?php

session_start();
//include the DAL library for the method to insert the details
include '../library/library.DAL.php';
$manageData = new manageContent_DAL();
//taking the values from form
if (isset($GLOBALS['_GET'])) {
    $id = $_GET['id'];
}
//updating the selected values
$result = $manageData->deleteValue("mypage", "id", $id);
header("Location: ../../listmypage.php");
Exemplo n.º 5
0
<?php

session_start();
//include the DAL library for the method to insert the details
include '../library/library.DAL.php';
$manageData = new manageContent_DAL();
//taking the values from get value
$category_id = $_GET['c_id'];
//updating the selected values
if (isset($category_id)) {
    $result = $manageData->deleteValue("product_category", "id", $category_id);
}
header("Location: ../../categoryList.php");
Exemplo n.º 6
0
<?php

session_start();
//include the DAL library for the method to insert the details
include '../library/library.DAL.php';
$manageData = new manageContent_DAL();
//taking the values from get value
$id = $_GET['o_id'];
//updating the selected values
if (isset($id)) {
    $result1 = $manageData->deleteValue("purchase_log", "order_id", $id);
    $result2 = $manageData->deleteValue("purchase_info", "order_id", $id);
}
header("Location: ../../duePayment.php");
Exemplo n.º 7
0
<?php

session_start();
//include the DAL library for the method to insert the details
include '../library/library.DAL.php';
$manageData = new manageContent_DAL();
//taking the values from get value
$id = $_GET['id'];
//updating the selected values
if (isset($id)) {
    $result = $manageData->deleteValue("footer_content", "id", $id);
}
header("Location: ../../listFooterLinks.php");