'; if (!isset($_REQUEST['sa'])) { echo'
SMF DB Editor - SMF-Shoutbox MOD - SQL UNINSTALL
Click here to start shoutbox uninstallation
'; } else { echo ''; if ((isset($_REQUEST['man'])) || (!isset($db_name))) { require_once (dirname(realpath($_SERVER['SCRIPT_FILENAME'])) . "/Settings.php"); $dbcon = mysql_connect($db_server, $db_user, $db_passwd); mysql_select_db($db_name); } $error=0; $shoutChunkSize = 350; $timeLimitThreshold = 10; $self = &$_SERVER['PHP_SELF']; $start_time = time(); // Now time to make the new table $result = mysql_query("DROP TABLE {$db_prefix}sbox_content;"); if (!$result) { echo "Error removing shoutbox table. SQL Error: ".mysql_error()."
"; $error++; } else echo "Shoutbox table deleted!
"; $result = mysql_query("DELETE FROM {$db_prefix}settings WHERE variable LIKE 'sbox_%';"); if(!$result) { echo "Settings: ".mysql_error().".
"; $error++; } else echo "Settings removed correctly!
"; $done = 1; // Result if (isset($done)) { echo ""; if($error==0) echo "

Downgrade of SQL was successfull."; elseif ($error==1) echo "

There was one error when downgrading your SQL."; elseif ($error>1) echo "

There were $error errors when downgrading your SQL."; } } echo ''; ?>