FleaBag
05-20-2002, 03:09 PM
I added the original toplist hack to my database, but now I want to remove it I'm having some trouble with the SQL... The original command I ran is below...
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_menu', '<normalfont><a href=toplist.php?s=$session[sessionhash]>Toplist</a> | <a href=toplist.php?s=$session[sessionhash]&action=add>Add Site</a> | <a href=toplist.php?s=$session[sessionhash]&action=edit>Edit Site</a></normalfont>');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_addsite', '{htmldoctype}\r\n<html>\r\n<head><title>$bbtitle - Toplist</title>\r\n$headinclude \r\n</head> <body> $header \r\n<div align=center>$toplistmenu</div><br><form action=\"toplist.php\" method=\"post\">\r\n<table cellpadding=\"{tableouterborderwidth}\" cellspacing=\"0\" border=\"0\" bgcolor=\"{tablebordercolor}\" {tableouterextra} width=\"{contenttablewidth}\" align=\"center\"><tr><td>\r\n<table cellpadding=\"4\" cellspacing=\"{tableinnerborderwidth}\" border=\"0\" {tableinnerextra} width=\"100%\">\r\n<tr> \r\n<td bgcolor=\"{tableheadbgcolor}\" colspan=\"2\"><normalfont color=\"{tableheadtextcolor}\" class=\"thtcolor\"><b>Add Site </b></normalfont> <smallfont color=\"{tableheadtextcolor}\" class=\"thtcolor\">(All fields are required.)</smallfont></td>\r\n</tr><tr> \r\n<td bgcolor=\"{secondaltcolor}\"><normalfont><b>Site Title:</b></normalfont></td>\r\n<td bgcolor=\"{secondaltcolor}\">\r\n<input type=\"text\" class=\"bginput\" name=\"title\" size=\"25\" maxlength=\"50\"></td>\r\n</tr>\r\n<tr> \r\n<td bgcolor=\"{firstaltcolor}\"><normalfont><b>Site Description:</b></normalfont></td>\r\n<td bgcolor=\"{firstaltcolor}\">\r\n<input type=\"text\" class=\"bginput\" name=\"description\" size=\"25\" maxlength=\"200\">\r\n</td>\r\n</tr><tr> \r\n<td bgcolor=\"{secondaltcolor}\"><normalfont><b>Site URL:</b></normalfont></td>\r\n<td bgcolor=\"{secondaltcolor}\">\r\n<input type=\"text\" class=\"bginput\" name=\"siteurl\" value=\"http://\" size=\"25\" maxlength=\"100\">\r\n</td>\r\n</tr></table></td></tr></table>\r\n<div align=\"center\">\r\n<input type=\"hidden\" name=\"s\" value=\"$session[sessionhash]\">\r\n<input type=\"hidden\" name=\"action\" value=\"addsite\">\r\n<br><input type=\"submit\" class=\"bginput\" name=\"Submit\" value=\"Submit\">\r\n<input type=\"reset\" class=\"bginput\" name=\"Reset\" value=\"Reset\">\r\n</div>\r\n</form>$footer \r\n</body>\r\n</html>');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_redirect_add', 'Thank you, your site has been added to the toplist.');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_error_allfields', 'All fields are required.');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_editsite_nosites', 'You have no sites in the database.');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_editsite', '{htmldoctype}\r\n<html>\r\n<head><title>$bbtitle - Toplist</title>\r\n$headinclude \r\n</head> <body> $header \r\n<div align=center>$toplistmenu</div><br>\r\n$editsitebit\r\n$footer \r\n</body>\r\n</html>');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_redirect_delete', 'Your site has been deleted from the toplist.');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_redirect_edit', 'Your site info has been updated.');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplistbit_nosites', '<tr bgcolor=\"{firstaltcolor}\"> \r\n <td align=\"center\"><normalfont>1</normalfont></td>\r\n <td><normalfont><b>\r\n<a href=toplist.php?s=$session[sessionhash]&action=add>Add Your Site</a></b></normalfont><br><smallfont>Add your site to our toplist and receive tons of high quality traffic!</smallfont></td>\r\n <td align=\"center\"><normalfont>0</normalfont></td>\r\n <td align=\"center\"><normalfont>0</normalfont></td>\r\n </tr>');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_editsitebit', '<form action=\"toplist.php\" method=\"post\">\r\n<table cellpadding=\"{tableouterborderwidth}\" cellspacing=\"0\" border=\"0\" bgcolor=\"{tablebordercolor}\" {tableouterextra} width=\"{contenttablewidth}\" align=\"center\"><tr><td>\r\n<table cellpadding=\"4\" cellspacing=\"{tableinnerborderwidth}\" border=\"0\" {tableinnerextra} width=\"100%\">\r\n<tr> \r\n<td bgcolor=\"{tableheadbgcolor}\" colspan=\"2\"> <normalfont color=\"{tableheadtextcolor}\" class=\"thtcolor\"><b>Edit Site</b> </normalfont><a href=toplist.php?s=$session[sessionhash]&action=delete&topid=$topid><smallfont color=\"{tableheadtextcolor}\" class=\"thtcolor\">[Delete Site]</smallfont></a></td>\r\n</tr><tr> \r\n<td bgcolor=\"{secondaltcolor}\"><normalfont><b>Site Title:</b></normalfont></td>\r\n<td bgcolor=\"{secondaltcolor}\">\r\n<input type=\"text\" class=\"bginput\" name=\"title\" value=\"$title\" size=\"25\" maxlength=\"50\"></td>\r\n</tr>\r\n<tr> \r\n<td bgcolor=\"{firstaltcolor}\"><normalfont><b>Site Description:</b></normalfont></td>\r\n<td bgcolor=\"{firstaltcolor}\">\r\n<input type=\"text\" class=\"bginput\" name=\"description\" value=\"$description\" size=\"25\" maxlength=\"200\">\r\n</td>\r\n</tr> <tr> \r\n<td bgcolor=\"{secondaltcolor}\"><normalfont><b>Site URL:</b></normalfont></td>\r\n<td bgcolor=\"{secondaltcolor}\">\r\n<input type=\"text\" class=\"bginput\" name=\"siteurl\" value=\"$siteurl\" size=\"25\" maxlength=\"100\">\r\n</td>\r\n</tr>\r\n<tr> \r\n<td bgcolor=\"{firstaltcolor}\"><normalfont><b>Today\'s Stats:</b></normalfont></td>\r\n<td bgcolor=\"{firstaltcolor}\"><normalfont>Hits In: <b>$in</b> | Hits Out: <b>$out</b></normalfont>\r\n</td>\r\n</tr>\r\n<tr> \r\n<td bgcolor=\"{secondaltcolor}\"><normalfont><b>Vote URL:</b></normalfont></td>\r\n<td bgcolor=\"{secondaltcolor}\"><normalfont><a href=\"$bburl/toplist.php?action=in&topid=$topid\">$bburl/toplist.php?action=in&topid=$topid</a></normalfont>\r\n</td>\r\n</tr>\r\n</table></td></tr></table>\r\n<div align=\"center\">\r\n<input type=\"hidden\" name=\"s\" value=\"$session[sessionhash]\">\r\n<input type=\"hidden\" name=\"action\" value=\"editsite\">\r\n<input type=\"hidden\" name=\"topid\" value=\"$topid\">\r\n<br><input type=\"submit\" class=\"bginput\" name=\"Submit\" value=\"Submit\">\r\n<input type=\"reset\" class=\"bginput\" name=\"Reset\" value=\"Reset\">\r\n</div>\r\n</form>');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist', '{htmldoctype}\r\n<html>\r\n<head><title>$bbtitle - Toplist</title>\r\n$headinclude \r\n</head> <body> $header \r\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"right\">\r\n <tr>\r\n <td>\r\n<div align=center>$toplistmenu</div><br>\r\n<table cellpadding=\"{tableouterborderwidth}\" cellspacing=\"0\" border=\"0\" bgcolor=\"{tablebordercolor}\" {tableouterextra} width=\"{contenttablewidth}\" align=\"center\"><tr><td>\r\n <table cellpadding=\"4\" cellspacing=\"{tableinnerborderwidth}\" border=\"0\" {tableinnerextra} width=\"100%\">\r\n <tr> \r\n <td bgcolor=\"{tableheadbgcolor}\" width=\"30\"> <normalfont color=\"{tableheadtextcolor}\"><b>Rank</b></normalfont></td>\r\n <td align=center bgcolor=\"{tableheadbgcolor}\"><normalfont color=\"{tableheadtextcolor}\"><b>Site description</b></normalfont></td>\r\n <td bgcolor=\"{tableheadbgcolor}\" width=\"30\" align=center><normalfont color=\"{tableheadtextcolor}\"><b>In</b></normalfont></td>\r\n <td bgcolor=\"{tableheadbgcolor}\" width=\"30\" align=center><normalfont color=\"{tableheadtextcolor}\"><b>Out</b></normalfont></td>\r\n </tr>$toplistbit</table>\r\n</td></tr></table>\r\n</td></tr></table>\r\n$footer \r\n</body>\r\n</html>');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplistbit', '<tr bgcolor=\"$bgcolor\"> \r\n <td align=\"center\"><normalfont>$rank</normalfont></td>\r\n <td><normalfont><b><a href=toplist.php?action=out&topid=$topid target=_blank>$title</a></b></normalfont><br><smallfont>$description</smallfont></td>\r\n <td align=\"center\"><normalfont>$in</normalfont></td>\r\n <td align=\"center\"><normalfont>$out</normalfont></td>\r\n </tr>');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplistbit_admin_nosites', '<tr bgcolor=\"{firstaltcolor}\"> \r\n <td align=\"center\"><normalfont>No sites in the database</normalfont></td>\r\n </tr>');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_adminbit', '<form action=\"toplist.php\" method=\"post\">\r\n <table cellpadding=\"{tableouterborderwidth}\" cellspacing=\"0\" border=\"0\" bgcolor=\"{tablebordercolor}\" {tableouterextra} width=\"{contenttablewidth}\" align=\"center\">\r\n <tr>\r\n <td> \r\n <table cellpadding=\"4\" cellspacing=\"{tableinnerborderwidth}\" border=\"0\" {tableinnerextra} width=\"100%\">\r\n <tr> \r\n <td bgcolor=\"{tableheadbgcolor}\" colspan=\"2\"> <normalfont color=\"{tableheadtextcolor}\" class=\"thtcolor\"><b>Edit \r\n Site</b> </normalfont><a href=toplist.php?s=$session[sessionhash]&action=admindelete&topid=$topid&pw=$pw><smallfont color=\"{tableheadtextcolor}\" class=\"thtcolor\">[Delete \r\n Site]</smallfont></a></td>\r\n </tr>\r\n <tr> \r\n <td bgcolor=\"{secondaltcolor}\"><normalfont><b>Site Title:</b></normalfont></td>\r\n <td bgcolor=\"{secondaltcolor}\"> \r\n <input type=\"text\" class=\"bginput\" name=\"title\" value=\"$title\" size=\"25\" maxlength=\"50\">\r\n </td>\r\n </tr>\r\n <tr> \r\n <td bgcolor=\"{firstaltcolor}\"><normalfont><b>Site Description:</b></normalfont></td>\r\n <td bgcolor=\"{firstaltcolor}\"> \r\n <input type=\"text\" class=\"bginput\" name=\"description\" value=\"$description\" size=\"25\" maxlength=\"200\">\r\n </td>\r\n </tr>\r\n <tr> \r\n <td bgcolor=\"{secondaltcolor}\"><normalfont><b>Site URL:</b></normalfont></td>\r\n <td bgcolor=\"{secondaltcolor}\"> \r\n <input type=\"text\" class=\"bginput\" name=\"siteurl\" value=\"$siteurl\" size=\"25\" maxlength=\"100\">\r\n </td>\r\n </tr>\r\n <tr> \r\n <td bgcolor=\"{firstaltcolor}\"><normalfont><b>Today\'s Stats:</b></normalfont></td>\r\n <td bgcolor=\"{firstaltcolor}\"><normalfont>Hits In: <b>$in</b> | Hits \r\n Out: <b>$out</b> | Current Rank: <b>$rank</b></normalfont> </td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n </table>\r\n <div align=\"center\"> \r\n <input type=\"hidden\" name=\"s\" value=\"$session[sessionhash]\">\r\n <input type=\"hidden\" name=\"action\" value=\"admineditsite\">\r\n <input type=\"hidden\" name=\"pw\" value=\"$pw\">\r\n <input type=\"hidden\" name=\"topid\" value=\"$topid\">\r\n <input type=\"submit\" class=\"bginput\" name=\"Submit\" value=\"Submit\">\r\n <input type=\"reset\" class=\"bginput\" name=\"Reset\" value=\"Reset\">\r\n </div>\r\n</form>');
...Could anyone be so generous as to help me by suppling the command I'd need to run to remove what I've added? Thanks guys.
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_menu', '<normalfont><a href=toplist.php?s=$session[sessionhash]>Toplist</a> | <a href=toplist.php?s=$session[sessionhash]&action=add>Add Site</a> | <a href=toplist.php?s=$session[sessionhash]&action=edit>Edit Site</a></normalfont>');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_addsite', '{htmldoctype}\r\n<html>\r\n<head><title>$bbtitle - Toplist</title>\r\n$headinclude \r\n</head> <body> $header \r\n<div align=center>$toplistmenu</div><br><form action=\"toplist.php\" method=\"post\">\r\n<table cellpadding=\"{tableouterborderwidth}\" cellspacing=\"0\" border=\"0\" bgcolor=\"{tablebordercolor}\" {tableouterextra} width=\"{contenttablewidth}\" align=\"center\"><tr><td>\r\n<table cellpadding=\"4\" cellspacing=\"{tableinnerborderwidth}\" border=\"0\" {tableinnerextra} width=\"100%\">\r\n<tr> \r\n<td bgcolor=\"{tableheadbgcolor}\" colspan=\"2\"><normalfont color=\"{tableheadtextcolor}\" class=\"thtcolor\"><b>Add Site </b></normalfont> <smallfont color=\"{tableheadtextcolor}\" class=\"thtcolor\">(All fields are required.)</smallfont></td>\r\n</tr><tr> \r\n<td bgcolor=\"{secondaltcolor}\"><normalfont><b>Site Title:</b></normalfont></td>\r\n<td bgcolor=\"{secondaltcolor}\">\r\n<input type=\"text\" class=\"bginput\" name=\"title\" size=\"25\" maxlength=\"50\"></td>\r\n</tr>\r\n<tr> \r\n<td bgcolor=\"{firstaltcolor}\"><normalfont><b>Site Description:</b></normalfont></td>\r\n<td bgcolor=\"{firstaltcolor}\">\r\n<input type=\"text\" class=\"bginput\" name=\"description\" size=\"25\" maxlength=\"200\">\r\n</td>\r\n</tr><tr> \r\n<td bgcolor=\"{secondaltcolor}\"><normalfont><b>Site URL:</b></normalfont></td>\r\n<td bgcolor=\"{secondaltcolor}\">\r\n<input type=\"text\" class=\"bginput\" name=\"siteurl\" value=\"http://\" size=\"25\" maxlength=\"100\">\r\n</td>\r\n</tr></table></td></tr></table>\r\n<div align=\"center\">\r\n<input type=\"hidden\" name=\"s\" value=\"$session[sessionhash]\">\r\n<input type=\"hidden\" name=\"action\" value=\"addsite\">\r\n<br><input type=\"submit\" class=\"bginput\" name=\"Submit\" value=\"Submit\">\r\n<input type=\"reset\" class=\"bginput\" name=\"Reset\" value=\"Reset\">\r\n</div>\r\n</form>$footer \r\n</body>\r\n</html>');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_redirect_add', 'Thank you, your site has been added to the toplist.');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_error_allfields', 'All fields are required.');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_editsite_nosites', 'You have no sites in the database.');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_editsite', '{htmldoctype}\r\n<html>\r\n<head><title>$bbtitle - Toplist</title>\r\n$headinclude \r\n</head> <body> $header \r\n<div align=center>$toplistmenu</div><br>\r\n$editsitebit\r\n$footer \r\n</body>\r\n</html>');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_redirect_delete', 'Your site has been deleted from the toplist.');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_redirect_edit', 'Your site info has been updated.');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplistbit_nosites', '<tr bgcolor=\"{firstaltcolor}\"> \r\n <td align=\"center\"><normalfont>1</normalfont></td>\r\n <td><normalfont><b>\r\n<a href=toplist.php?s=$session[sessionhash]&action=add>Add Your Site</a></b></normalfont><br><smallfont>Add your site to our toplist and receive tons of high quality traffic!</smallfont></td>\r\n <td align=\"center\"><normalfont>0</normalfont></td>\r\n <td align=\"center\"><normalfont>0</normalfont></td>\r\n </tr>');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_editsitebit', '<form action=\"toplist.php\" method=\"post\">\r\n<table cellpadding=\"{tableouterborderwidth}\" cellspacing=\"0\" border=\"0\" bgcolor=\"{tablebordercolor}\" {tableouterextra} width=\"{contenttablewidth}\" align=\"center\"><tr><td>\r\n<table cellpadding=\"4\" cellspacing=\"{tableinnerborderwidth}\" border=\"0\" {tableinnerextra} width=\"100%\">\r\n<tr> \r\n<td bgcolor=\"{tableheadbgcolor}\" colspan=\"2\"> <normalfont color=\"{tableheadtextcolor}\" class=\"thtcolor\"><b>Edit Site</b> </normalfont><a href=toplist.php?s=$session[sessionhash]&action=delete&topid=$topid><smallfont color=\"{tableheadtextcolor}\" class=\"thtcolor\">[Delete Site]</smallfont></a></td>\r\n</tr><tr> \r\n<td bgcolor=\"{secondaltcolor}\"><normalfont><b>Site Title:</b></normalfont></td>\r\n<td bgcolor=\"{secondaltcolor}\">\r\n<input type=\"text\" class=\"bginput\" name=\"title\" value=\"$title\" size=\"25\" maxlength=\"50\"></td>\r\n</tr>\r\n<tr> \r\n<td bgcolor=\"{firstaltcolor}\"><normalfont><b>Site Description:</b></normalfont></td>\r\n<td bgcolor=\"{firstaltcolor}\">\r\n<input type=\"text\" class=\"bginput\" name=\"description\" value=\"$description\" size=\"25\" maxlength=\"200\">\r\n</td>\r\n</tr> <tr> \r\n<td bgcolor=\"{secondaltcolor}\"><normalfont><b>Site URL:</b></normalfont></td>\r\n<td bgcolor=\"{secondaltcolor}\">\r\n<input type=\"text\" class=\"bginput\" name=\"siteurl\" value=\"$siteurl\" size=\"25\" maxlength=\"100\">\r\n</td>\r\n</tr>\r\n<tr> \r\n<td bgcolor=\"{firstaltcolor}\"><normalfont><b>Today\'s Stats:</b></normalfont></td>\r\n<td bgcolor=\"{firstaltcolor}\"><normalfont>Hits In: <b>$in</b> | Hits Out: <b>$out</b></normalfont>\r\n</td>\r\n</tr>\r\n<tr> \r\n<td bgcolor=\"{secondaltcolor}\"><normalfont><b>Vote URL:</b></normalfont></td>\r\n<td bgcolor=\"{secondaltcolor}\"><normalfont><a href=\"$bburl/toplist.php?action=in&topid=$topid\">$bburl/toplist.php?action=in&topid=$topid</a></normalfont>\r\n</td>\r\n</tr>\r\n</table></td></tr></table>\r\n<div align=\"center\">\r\n<input type=\"hidden\" name=\"s\" value=\"$session[sessionhash]\">\r\n<input type=\"hidden\" name=\"action\" value=\"editsite\">\r\n<input type=\"hidden\" name=\"topid\" value=\"$topid\">\r\n<br><input type=\"submit\" class=\"bginput\" name=\"Submit\" value=\"Submit\">\r\n<input type=\"reset\" class=\"bginput\" name=\"Reset\" value=\"Reset\">\r\n</div>\r\n</form>');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist', '{htmldoctype}\r\n<html>\r\n<head><title>$bbtitle - Toplist</title>\r\n$headinclude \r\n</head> <body> $header \r\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"right\">\r\n <tr>\r\n <td>\r\n<div align=center>$toplistmenu</div><br>\r\n<table cellpadding=\"{tableouterborderwidth}\" cellspacing=\"0\" border=\"0\" bgcolor=\"{tablebordercolor}\" {tableouterextra} width=\"{contenttablewidth}\" align=\"center\"><tr><td>\r\n <table cellpadding=\"4\" cellspacing=\"{tableinnerborderwidth}\" border=\"0\" {tableinnerextra} width=\"100%\">\r\n <tr> \r\n <td bgcolor=\"{tableheadbgcolor}\" width=\"30\"> <normalfont color=\"{tableheadtextcolor}\"><b>Rank</b></normalfont></td>\r\n <td align=center bgcolor=\"{tableheadbgcolor}\"><normalfont color=\"{tableheadtextcolor}\"><b>Site description</b></normalfont></td>\r\n <td bgcolor=\"{tableheadbgcolor}\" width=\"30\" align=center><normalfont color=\"{tableheadtextcolor}\"><b>In</b></normalfont></td>\r\n <td bgcolor=\"{tableheadbgcolor}\" width=\"30\" align=center><normalfont color=\"{tableheadtextcolor}\"><b>Out</b></normalfont></td>\r\n </tr>$toplistbit</table>\r\n</td></tr></table>\r\n</td></tr></table>\r\n$footer \r\n</body>\r\n</html>');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplistbit', '<tr bgcolor=\"$bgcolor\"> \r\n <td align=\"center\"><normalfont>$rank</normalfont></td>\r\n <td><normalfont><b><a href=toplist.php?action=out&topid=$topid target=_blank>$title</a></b></normalfont><br><smallfont>$description</smallfont></td>\r\n <td align=\"center\"><normalfont>$in</normalfont></td>\r\n <td align=\"center\"><normalfont>$out</normalfont></td>\r\n </tr>');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplistbit_admin_nosites', '<tr bgcolor=\"{firstaltcolor}\"> \r\n <td align=\"center\"><normalfont>No sites in the database</normalfont></td>\r\n </tr>');
INSERT INTO template (templatesetid,title,template) VALUES('1','toplist_adminbit', '<form action=\"toplist.php\" method=\"post\">\r\n <table cellpadding=\"{tableouterborderwidth}\" cellspacing=\"0\" border=\"0\" bgcolor=\"{tablebordercolor}\" {tableouterextra} width=\"{contenttablewidth}\" align=\"center\">\r\n <tr>\r\n <td> \r\n <table cellpadding=\"4\" cellspacing=\"{tableinnerborderwidth}\" border=\"0\" {tableinnerextra} width=\"100%\">\r\n <tr> \r\n <td bgcolor=\"{tableheadbgcolor}\" colspan=\"2\"> <normalfont color=\"{tableheadtextcolor}\" class=\"thtcolor\"><b>Edit \r\n Site</b> </normalfont><a href=toplist.php?s=$session[sessionhash]&action=admindelete&topid=$topid&pw=$pw><smallfont color=\"{tableheadtextcolor}\" class=\"thtcolor\">[Delete \r\n Site]</smallfont></a></td>\r\n </tr>\r\n <tr> \r\n <td bgcolor=\"{secondaltcolor}\"><normalfont><b>Site Title:</b></normalfont></td>\r\n <td bgcolor=\"{secondaltcolor}\"> \r\n <input type=\"text\" class=\"bginput\" name=\"title\" value=\"$title\" size=\"25\" maxlength=\"50\">\r\n </td>\r\n </tr>\r\n <tr> \r\n <td bgcolor=\"{firstaltcolor}\"><normalfont><b>Site Description:</b></normalfont></td>\r\n <td bgcolor=\"{firstaltcolor}\"> \r\n <input type=\"text\" class=\"bginput\" name=\"description\" value=\"$description\" size=\"25\" maxlength=\"200\">\r\n </td>\r\n </tr>\r\n <tr> \r\n <td bgcolor=\"{secondaltcolor}\"><normalfont><b>Site URL:</b></normalfont></td>\r\n <td bgcolor=\"{secondaltcolor}\"> \r\n <input type=\"text\" class=\"bginput\" name=\"siteurl\" value=\"$siteurl\" size=\"25\" maxlength=\"100\">\r\n </td>\r\n </tr>\r\n <tr> \r\n <td bgcolor=\"{firstaltcolor}\"><normalfont><b>Today\'s Stats:</b></normalfont></td>\r\n <td bgcolor=\"{firstaltcolor}\"><normalfont>Hits In: <b>$in</b> | Hits \r\n Out: <b>$out</b> | Current Rank: <b>$rank</b></normalfont> </td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n </table>\r\n <div align=\"center\"> \r\n <input type=\"hidden\" name=\"s\" value=\"$session[sessionhash]\">\r\n <input type=\"hidden\" name=\"action\" value=\"admineditsite\">\r\n <input type=\"hidden\" name=\"pw\" value=\"$pw\">\r\n <input type=\"hidden\" name=\"topid\" value=\"$topid\">\r\n <input type=\"submit\" class=\"bginput\" name=\"Submit\" value=\"Submit\">\r\n <input type=\"reset\" class=\"bginput\" name=\"Reset\" value=\"Reset\">\r\n </div>\r\n</form>');
...Could anyone be so generous as to help me by suppling the command I'd need to run to remove what I've added? Thanks guys.