Fifth pass at adding key files

This commit is contained in:
dsainty
2024-06-17 22:42:14 +10:00
parent 67ccdbcc34
commit 9797a6824a
535 changed files with 95045 additions and 0 deletions

View File

@ -0,0 +1,29 @@
<?PHP
include("config.php");
if (!$_POST || !is_admin()){ header('Location: '.$site_url); }
$sql = "DELETE FROM ".$prefix."Runshops WHERE runshop_id = '$_POST[runshop_id]'";
mysql_query($sql) or die(mysql_error());
$sql = "DELETE FROM ".$prefix."RunshopsEdits WHERE runshop_id_fk = '$_POST[runshop_id]'";
mysql_query($sql) or die(mysql_error());
$sql = "DELETE FROM ".$prefix."RunshopsEditors WHERE runshop_id_fk = '$_POST[runshop_id]'";
mysql_query($sql) or die(mysql_error());
$sql = "DELETE FROM ".$prefix."RunshopsComment WHERE runshop_id_fk = '$_POST[runshop_id]'";
mysql_query($sql) or die(mysql_error());
$sql = "DELETE FROM ".$prefix."RunshopsRating WHERE runshop_id_fk = '$_POST[runshop_id]'";
mysql_query($sql) or die(mysql_error());
header('Location: '.$site_url);
?>