Fourth pass at adding key files

This commit is contained in:
dsainty
2024-06-17 22:30:36 +10:00
parent 08eb7b7da2
commit 67ccdbcc34
132 changed files with 11416 additions and 0 deletions

View File

@ -0,0 +1,23 @@
<?PHP
include("config.php");
if(!is_admin($user)){
header('Location:'.$site_url.'/');
}
if (!$_POST){ header('Location: '.$site_url); }
if (isset($_POST[account_id])) {
$sql = "DELETE FROM io_account WHERE account_id = '$_POST[account_id]'";
} elseif (isset($_POST[campaign_id])) {
$sql = "DELETE FROM io_campaign WHERE campaign_id = '$_POST[campaign_id]'";
}
//echo $sql;
//exit();
mysql_query($sql) or die(mysql_error());
header('Location: campaign.php');
?>