Location: PHPKode > projects > Battle Cart > order/admin/action.php
<?
require "basic.inc.php";

switch ($_GET['action']) {
	case "remove_txn":
		mysql_query("DELETE FROM orders WHERE txn_id='".$_GET['txn_id']."'");
		break;
	case "unfulfill":
		mysql_query("UPDATE orders SET fulfilled='0' WHERE fulfilled_time='".date("Y-m-d H:i:s", strtotime(urldecode($_GET['batch'])))."'");
		break;
}
header("Location: index.php");
?>
Return current item: Battle Cart