1
mirror of https://github.com/jakejarvis/jbb.git synced 2025-10-21 05:54:25 -04:00

first commit

This commit is contained in:
2018-10-18 12:42:02 -04:00
commit 59d1ee3c22
105 changed files with 3773 additions and 0 deletions

22
admin/forum_delete_submit.php Executable file
View File

@@ -0,0 +1,22 @@
<?php
include('../conf.php');
$conn = mysql_connect ($sqlServer, $sqlUsername, $sqlPassword)
or die ("Uh oh! I could not connect to server $sqlServer.");
mysql_select_db ($sqlDatabase, $conn)
or die ("Uh oh! I could not connect to database $sqlDatabase");
$query2 = "DELETE FROM jbb_forums
WHERE forumID ='$forumID'";
$result2 = mysql_query ($query2)
or die ($query2);
echo "<CENTER>The post was successfully deleted. Now taking you to the administration cp index.<BR><A HREF=\"admin.php\">(Click here if you do not wish to wait.)</A></CENTER>";
echo "<meta http-equiv=\"refresh\" content=\"5; url=admin.php\">";
}
?>