jluerken |
11-21-2004 02:59 PM |
Quote:
Originally Posted by sv1cec
Please download the new zip, I've corrected the mistake in the upgrade script.
What do you mean file updates? If you are refering to the php files, and the standard templates, you will have to undo them yourself.
Sorry, that's the best I can do for the upgrade. Creating an uninstall script for Zero's hack is not something I will do right now.
Rgds
|
Ok here is a way to add the template to other styles.
I used PHPMyAdmin to do so:
PHP Code:
INSERT INTO vb3_template VALUES (3646,7,'warn_addwarn','<form action=\\\"Warn.php\\\" method=\\\"post\\\">\r\n<input type=\\\"hidden\\\" name=\\\"do\\\" value=\\\"DoWarnUser\\\">\r\n<input type=\\\"hidden\\\" name=\\\"id\\\" value=\\\"{$_GET[\'id\']}\\\">\r\n<input type=\\\"hidden\\\" name=\\\"post\\\" value=\\\"{$_GET[\'post\']}\\\">\r\n<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<tr>\r\n <td class=\\\"tcat\\\" colspan=\\\"2\\\">Warning User $user[username]<div class=\\\"smallfont\\\">All links below, will open a new browser window, close it to return here.</div></td>\r\n</tr>\r\n<tr>\r\n <td class=\\\"alt1\\\">User Info:</td>\r\n <td class=\\\"alt1\\\">\r\n\r\n<a href=\\\"member.php?u=$_GET[id]\\\" onclick=\\\"window.open(\'member.php?u=$_GET[id]}\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">User Profile for $user[username] - User ID: $_GET[id]</a><br />\r\n\" . (($user[warning_level]>0) ? (\"\r\n<Font color=\\\"red\\\">User Current Warning Level: {$user[\'warning_level\']}</font> \r\n\") : (\"\")).\"\r\n\" . (($user[warning_bans]>0) ? (\"\r\n<Font color=\\\"red\\\"> - User Number of Bans: {$user[\'warning_bans\']}</font>\") : (\"\")).\"<br />\r\n\r\n\" . (($user[warning_level]>0) ? (\"\r\n<a href=\\\"Warn.php?do=ViewWarnings&id=$user[userid]\\\" onclick=\\\"window.open(\'Warn.php?do=ViewWarnings&id=$user[userid]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">View Existing Warnings for $user[username]</a>\r\n\") : (\"\")).\"\r\n </td>\r\n</tr>\r\n<tr>\r\n <td class=\\\"alt2\\\">Warned Post:</td>\r\n <td class=\\\"alt2\\\">\r\n\r\n<a href=\\\"showthread.php?p=$_GET[post]\\\" onclick=\\\"window.open(\'showthread.php?p=$_GET[post]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">Review Warned Post, Post ID: $_GET[post]</a>\r\n\r\n\" . (($warning_multiwarns1<>\'\') ? (\"\r\n<br><Font color=\\\"red\\\">$warning_multiwarns1</font><br>\r\n<A HREF=\\\"Warn.php?do=ViewPostWarnings&post=$_GET[post]\\\" onclick=\\\"window.open(\'Warn.php?do=ViewPostWarnings&post=$_GET[post]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">$warning_multiwarns2</a>\") : (\"\")).\"</td>\r\n\r\n</tr>\r\n<tr>\r\n <td class=\\\"alt1\\\">Warning Selection:</td>\r\n <td class=\\\"alt1\\\"><select name=\\\"warningid\\\" class=\\\"smallfont\\\">\r\n <optgroup label=\\\"Choose A Warning\\\">\r\n $warnopts\r\n </optgroup>\r\n </select></td>\r\n</tr>\r\n<tr>\r\n <td class=\\\"alt2\\\">\r\n Moderator Comments:</td>\r\n <td class=\\\"alt2\\\"><input type=\\\"text\\\" name=\\\"comment\\\" size=\\\"50\\\" class=\\\"bginput\\\">\r\n </td>\r\n</tr>\r\n<tr>\r\n <td class=\\\"tfoot\\\" align=\\\"center\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" value=\\\" Add Warning \\\" class=\\\"bginput\\\"></td>\r\n</tr>\r\n</table>\r\n</form>\r\n<br />','<form action=\"Warn.php\" method=\"post\">\r\n<input type=\"hidden\" name=\"do\" value=\"DoWarnUser\">\r\n<input type=\"hidden\" name=\"id\" value=\"{$_GET[\'id\']}\">\r\n<input type=\"hidden\" name=\"post\" value=\"{$_GET[\'post\']}\">\r\n<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<tr>\r\n <td class=\"tcat\" colspan=\"2\">Warning User $user[username]<div class=\"smallfont\">All links below, will open a new browser window, close it to return here.</div></td>\r\n</tr>\r\n<tr>\r\n <td class=\"alt1\">User Info:</td>\r\n <td class=\"alt1\">\r\n\r\n<a href=\"member.php?u=$_GET[id]\" onclick=\"window.open(\'member.php?u=$_GET[id]}\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">User Profile for $user[username] - User ID: $_GET[id]</a><br />\r\n<if condition=\"$user[warning_level]>0\">\r\n<Font color=\"red\">User Current Warning Level: {$user[\'warning_level\']}</font> \r\n</if>\r\n<if condition=\"$user[warning_bans]>0\">\r\n<Font color=\"red\"> - User Number of Bans: {$user[\'warning_bans\']}</font></if><br />\r\n\r\n<if condition=\"$user[warning_level]>0\">\r\n<a href=\"Warn.php?do=ViewWarnings&id=$user[userid]\" onclick=\"window.open(\'Warn.php?do=ViewWarnings&id=$user[userid]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">View Existing Warnings for $user[username]</a>\r\n</if>\r\n </td>\r\n</tr>\r\n<tr>\r\n <td class=\"alt2\">Warned Post:</td>\r\n <td class=\"alt2\">\r\n\r\n<a href=\"showthread.php?p=$_GET[post]\" onclick=\"window.open(\'showthread.php?p=$_GET[post]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">Review Warned Post, Post ID: $_GET[post]</a>\r\n\r\n<if condition=\"$warning_multiwarns1<>\'\'\">\r\n<br><Font color=\"red\">$warning_multiwarns1</font><br>\r\n<A HREF=\"Warn.php?do=ViewPostWarnings&post=$_GET[post]\" onclick=\"window.open(\'Warn.php?do=ViewPostWarnings&post=$_GET[post]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">$warning_multiwarns2</a></if></td>\r\n\r\n</tr>\r\n<tr>\r\n <td class=\"alt1\">Warning Selection:</td>\r\n <td class=\"alt1\"><select name=\"warningid\" class=\"smallfont\">\r\n <optgroup label=\"Choose A Warning\">\r\n $warnopts\r\n </optgroup>\r\n </select></td>\r\n</tr>\r\n<tr>\r\n <td class=\"alt2\">\r\n Moderator Comments:</td>\r\n <td class=\"alt2\"><input type=\"text\" name=\"comment\" size=\"50\" class=\"bginput\">\r\n </td>\r\n</tr>\r\n<tr>\r\n <td class=\"tfoot\" align=\"center\" colspan=\"2\"><input type=\"submit\" value=\" Add Warning \" class=\"bginput\"></td>\r\n</tr>\r\n</table>\r\n</form>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3647,7,'warn_addwarn_nopost','<form action=\\\"Warn.php\\\" method=\\\"post\\\">\r\n<input type=\\\"hidden\\\" name=\\\"do\\\" value=\\\"DoWarnUserNoPost\\\">\r\n<input type=\\\"hidden\\\" name=\\\"id\\\" value=\\\"{$_GET[\'id\']}\\\">\r\n<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<tr>\r\n <td class=\\\"tcat\\\" colspan=\\\"2\\\">Warning User $user[username]<div class=\\\"smallfont\\\">All links below, will open a new browser window, close it to return here.</div></td>\r\n</tr>\r\n<tr>\r\n <td class=\\\"alt1\\\">User Info:</td>\r\n <td class=\\\"alt1\\\">\r\n\r\n <a href=\\\"member.php?u=$_GET[id]\\\" onclick=\\\"window.open(\'member.php?u=$_GET[id]}\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">User Profile for $user[username] - User ID: $_GET[id]</a><br />\r\n\" . (($user[warning_level]>0) ? (\"\r\n<Font color=\\\"red\\\">User Current Warning Level: {$user[\'warning_level\']}</font>\") : (\"\")).\"\r\n\" . (($user[warning_bans]>0) ? (\"\r\n<Font color=\\\"red\\\"> - User Number of Bans: {$user[\'warning_bans\']}</font>\") : (\"\")).\"\r\n<br />\r\n\r\n\" . (($user[warning_level]>0) ? (\"\r\n<a href=\\\"Warn.php?do=ViewWarnings&id=$user[userid]\\\" onclick=\\\"window.open(\'Warn.php?do=ViewWarnings&id=$user[userid]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">View Existing Warnings for $user[username]</a>\r\n\") : (\"\")).\"\r\n </td>\r\n</tr>\r\n<tr>\r\n <td class=\\\"alt1\\\">Warning Selection:<br><div class=\\\"smallfont\\\">(not post-related)</div></td>\r\n <td class=\\\"alt1\\\"><select name=\\\"warningid\\\" class=\\\"smallfont\\\">\r\n <optgroup label=\\\"Choose A Warning\\\">\r\n $warnopts\r\n </optgroup>\r\n </select></td>\r\n</tr>\r\n<tr>\r\n <td class=\\\"alt2\\\">\r\n Moderator Comments:<br><div class=\\\"smallfont\\\">(Please be very specific, since no offensive<br>item is linked to this warning.)</div></td>\r\n <td class=\\\"alt2\\\"><input type=\\\"text\\\" name=\\\"comment\\\" size=\\\"50\\\" class=\\\"bginput\\\">\r\n </td>\r\n</tr>\r\n<tr>\r\n <td class=\\\"tfoot\\\" align=\\\"center\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" value=\\\" Add Warning \\\" class=\\\"bginput\\\"></td>\r\n</tr>\r\n</table>\r\n</form>\r\n<br />','<form action=\"Warn.php\" method=\"post\">\r\n<input type=\"hidden\" name=\"do\" value=\"DoWarnUserNoPost\">\r\n<input type=\"hidden\" name=\"id\" value=\"{$_GET[\'id\']}\">\r\n<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<tr>\r\n <td class=\"tcat\" colspan=\"2\">Warning User $user[username]<div class=\"smallfont\">All links below, will open a new browser window, close it to return here.</div></td>\r\n</tr>\r\n<tr>\r\n <td class=\"alt1\">User Info:</td>\r\n <td class=\"alt1\">\r\n\r\n <a href=\"member.php?u=$_GET[id]\" onclick=\"window.open(\'member.php?u=$_GET[id]}\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">User Profile for $user[username] - User ID: $_GET[id]</a><br />\r\n<if condition=\"$user[warning_level]>0\">\r\n<Font color=\"red\">User Current Warning Level: {$user[\'warning_level\']}</font></if>\r\n<if condition=\"$user[warning_bans]>0\">\r\n<Font color=\"red\"> - User Number of Bans: {$user[\'warning_bans\']}</font></if>\r\n<br />\r\n\r\n<if condition=\"$user[warning_level]>0\">\r\n<a href=\"Warn.php?do=ViewWarnings&id=$user[userid]\" onclick=\"window.open(\'Warn.php?do=ViewWarnings&id=$user[userid]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">View Existing Warnings for $user[username]</a>\r\n</if>\r\n </td>\r\n</tr>\r\n<tr>\r\n <td class=\"alt1\">Warning Selection:<br><div class=\"smallfont\">(not post-related)</div></td>\r\n <td class=\"alt1\"><select name=\"warningid\" class=\"smallfont\">\r\n <optgroup label=\"Choose A Warning\">\r\n $warnopts\r\n </optgroup>\r\n </select></td>\r\n</tr>\r\n<tr>\r\n <td class=\"alt2\">\r\n Moderator Comments:<br><div class=\"smallfont\">(Please be very specific, since no offensive<br>item is linked to this warning.)</div></td>\r\n <td class=\"alt2\"><input type=\"text\" name=\"comment\" size=\"50\" class=\"bginput\">\r\n </td>\r\n</tr>\r\n<tr>\r\n <td class=\"tfoot\" align=\"center\" colspan=\"2\"><input type=\"submit\" value=\" Add Warning \" class=\"bginput\"></td>\r\n</tr>\r\n</table>\r\n</form>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3648,7,'warn_em','Dear $user[username],\r\n\r\nYou have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because :\r\n\r\n$warn_type[warn_desc]\r\n(Warning Type = \'$warn_type[warn_name]\') \r\n\r\nFor this violation, you have been given $warn_type[warn_points] point(s).\r\n\r\nThe post for which you are warned can be seen here:\r\n\r\n$vboptions[bburl]/showthread.php?p=$_POST[post].\r\n\r\nThe admin/moderator who warned you, entered this comment: \r\n\r\n=======================================\r\n$_POST[comment]\r\n=======================================\r\n\r\nYour total Warning Level at the moment is: $level point(s).\r\n\r\nIf you reach the maximum of $warn_options[points_before_banned], you will be banned from the Forums, for $peruserbanlimit days.\r\n\r\nTo see details about all the warnings you have received, until now, please click here:\r\n\r\n$vboptions[bburl]/Warn.php?do=ViewMyWarnings\r\n\r\nPlease reply back if you have a dispute.\r\n\r\n----------------\r\n\r\n$vboptions[bbtitle] Team','Dear $user[username],\r\n\r\nYou have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because :\r\n\r\n$warn_type[warn_desc]\r\n(Warning Type = \'$warn_type[warn_name]\') \r\n\r\nFor this violation, you have been given $warn_type[warn_points] point(s).\r\n\r\nThe post for which you are warned can be seen here:\r\n\r\n$vboptions[bburl]/showthread.php?p=$_POST[post].\r\n\r\nThe admin/moderator who warned you, entered this comment: \r\n\r\n=======================================\r\n$_POST[comment]\r\n=======================================\r\n\r\nYour total Warning Level at the moment is: $level point(s).\r\n\r\nIf you reach the maximum of $warn_options[points_before_banned], you will be banned from the Forums, for $peruserbanlimit days.\r\n\r\nTo see details about all the warnings you have received, until now, please click here:\r\n\r\n$vboptions[bburl]/Warn.php?do=ViewMyWarnings\r\n\r\nPlease reply back if you have a dispute.\r\n\r\n----------------\r\n\r\n$vboptions[bbtitle] Team','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3649,7,'warn_error','<table class=\\\"tborder\\\" cellpadding=\\\"6\\\" cellspacing=\\\"1\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n <tr>\r\n <td class=\\\"tcat\\\">\r\n <a style=\\\"float:right\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'forumhome_error\')\\\"><img id=\\\"collapseimg_forumhome_error\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat.gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n <div align=\'center\'>Error</div></td>\r\n </tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_forumhome_error\\\" style=\\\"\\\">\r\n <tr>\r\n <td class=\\\"thead\\\" width=\\\"100%\\\">An Error Has Occured!</td>\r\n </tr>\r\n<tr>\r\n<td class=\'alt2\' align=\'center\' width=\'100%\'>An error has occured, the following message has been left below:<br/><br/>{$message}</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"tfoot\\\" width=\\\"100%\\\" align=\'center\'>[ <a href=\'javascript:history.go(-1)\'>Back</a> ]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','<table class=\"tborder\" cellpadding=\"6\" cellspacing=\"1\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n <tr>\r\n <td class=\"tcat\">\r\n <a style=\"float:right\" href=\"#top\" onclick=\"return toggle_collapse(\'forumhome_error\')\"><img id=\"collapseimg_forumhome_error\" src=\"$stylevar[imgdir_button]/collapse_tcat.gif\" alt=\"\" border=\"0\" /></a>\r\n <div align=\'center\'>Error</div></td>\r\n </tr>\r\n</thead>\r\n<tbody id=\"collapseobj_forumhome_error\" style=\"\">\r\n <tr>\r\n <td class=\"thead\" width=\"100%\">An Error Has Occured!</td>\r\n </tr>\r\n<tr>\r\n<td class=\'alt2\' align=\'center\' width=\'100%\'>An error has occured, the following message has been left below:<br/><br/>{$message}</td>\r\n</tr>\r\n<tr>\r\n<td class=\"tfoot\" width=\"100%\" align=\'center\'>[ <a href=\'javascript:history.go(-1)\'>Back</a> ]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3650,7,'warn_pm','Dear $user[username],\r\n\r\nYou have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because: \r\n\r\n[b][i] $warn_type[warn_desc] [/i][/b]\r\n(Warning Type = $warn_type[warn_name]) \r\n\r\nFor this violation, you have been given : [b] $warn_type[warn_points] [/b] point(s).\r\n\r\nThe post for which you are warned can be seen [URL=\\\"$vboptions[bburl]/showthread.php?p=$_POST[post]\\\"]here[/URL].\r\n\r\nThe admin/moderator who warned you, entered this comment: \r\n\r\n=======================================\r\n[i]$_POST[comment][/i]\r\n=======================================\r\n\r\nYour total Warning Level at the moment is: [b] $level [/b] point(s).\r\n\r\nIf you reach the maximum of [b]$warn_options[points_before_banned][/b], you will be banned from the Forums, for [b] $peruserbanlimit [/b] days.\r\n\r\nTo see details about all the warnings you have received, until now, please click [URL=\\\"$vboptions[bburl]/Warn.php?do=ViewMyWarnings\\\"]here[/URL].\r\n\r\nPlease reply back if you have a dispute.','Dear $user[username],\r\n\r\nYou have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because: \r\n\r\n[b][i] $warn_type[warn_desc] [/i][/b]\r\n(Warning Type = $warn_type[warn_name]) \r\n\r\nFor this violation, you have been given : [b] $warn_type[warn_points] [/b] point(s).\r\n\r\nThe post for which you are warned can be seen [URL=\"$vboptions[bburl]/showthread.php?p=$_POST[post]\"]here[/URL].\r\n\r\nThe admin/moderator who warned you, entered this comment: \r\n\r\n=======================================\r\n[i]$_POST[comment][/i]\r\n=======================================\r\n\r\nYour total Warning Level at the moment is: [b] $level [/b] point(s).\r\n\r\nIf you reach the maximum of [b]$warn_options[points_before_banned][/b], you will be banned from the Forums, for [b] $peruserbanlimit [/b] days.\r\n\r\nTo see details about all the warnings you have received, until now, please click [URL=\"$vboptions[bburl]/Warn.php?do=ViewMyWarnings\"]here[/URL].\r\n\r\nPlease reply back if you have a dispute.','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3651,7,'warn_redirect','<META HTTP-EQUIV=\\\"REFRESH\\\" CONTENT=\\\"1; URL={$url}\\\">\r\n<table class=\\\"tborder\\\" cellpadding=\\\"6\\\" cellspacing=\\\"1\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n <tr>\r\n <td class=\\\"tcat\\\">\r\n <a style=\\\"float:right\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'forumhome_redirect\')\\\"><img id=\\\"collapseimg_forumhome_redirect\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat.gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n <div align=\'center\'>Redirecting..</div></td>\r\n </tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_forumhome_redirect\\\" style=\\\"\\\">\r\n <tr>\r\n <td class=\\\"thead\\\" width=\\\"100%\\\">Please Wait..</td>\r\n </tr>\r\n<tr>\r\n<td class=\'alt2\' align=\'center\' width=\'100%\'>{$message}<br/><br/>Your browser is now redirecting you</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"tfoot\\\" width=\\\"100%\\\" align=\'center\'>[ <a href=\'{$url}\'>Click here if you are not redirected</a> ]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','<META HTTP-EQUIV=\"REFRESH\" CONTENT=\"1; URL={$url}\">\r\n<table class=\"tborder\" cellpadding=\"6\" cellspacing=\"1\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n <tr>\r\n <td class=\"tcat\">\r\n <a style=\"float:right\" href=\"#top\" onclick=\"return toggle_collapse(\'forumhome_redirect\')\"><img id=\"collapseimg_forumhome_redirect\" src=\"$stylevar[imgdir_button]/collapse_tcat.gif\" alt=\"\" border=\"0\" /></a>\r\n <div align=\'center\'>Redirecting..</div></td>\r\n </tr>\r\n</thead>\r\n<tbody id=\"collapseobj_forumhome_redirect\" style=\"\">\r\n <tr>\r\n <td class=\"thead\" width=\"100%\">Please Wait..</td>\r\n </tr>\r\n<tr>\r\n<td class=\'alt2\' align=\'center\' width=\'100%\'>{$message}<br/><br/>Your browser is now redirecting you</td>\r\n</tr>\r\n<tr>\r\n<td class=\"tfoot\" width=\"100%\" align=\'center\'>[ <a href=\'{$url}\'>Click here if you are not redirected</a> ]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3652,7,'warn_viewb_end','<tr>\r\n <td class=\\\"tfoot\\\" colspan=\\\"10\\\" align=\\\"right\\\">Total Warning Points: $user[warning_level] / $warn_options[points_before_banned] - Number of Bans: $user[warning_bans]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','<tr>\r\n <td class=\"tfoot\" colspan=\"10\" align=\"right\">Total Warning Points: $user[warning_level] / $warn_options[points_before_banned] - Number of Bans: $user[warning_bans]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3653,7,'warn_viewb_row','<tr>\r\n\" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"alt1\\\"><div class=\\\"smallfont\\\"><a href=\\\"member.php?u=$warn[wuserid]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <font color=\\\"grey\\\">\") : (\"\")).\"$warn[wusername]</a></div></td>\") : (\"\")).\"\r\n <td class=\\\"alt1\\\"><div class=\\\"smallfont\\\" align=\\\"center\\\">\" . (($warn[warned_post]!=0) ? (\"<a href=\\\"showthread.php?p=$warn[warned_post]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <font color=\\\"grey\\\">\") : (\"\")).\"Post ID<br>$warn[warned_post]<br>Review<br>Post</a>\") : (\"\")).\"\" . (($warn[warned_post]==0) ? (\"\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <font color=\\\"grey\\\">\") : (\"\")).\"Not a post-related warning\") : (\"\")).\"</div></td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"On $warn[date] at $warn[time]</td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_name]</td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_points]</td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_maturity]</td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_permban]</td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warned_reason]</td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">Inactive</font>\") : (\"Active\")).\"</td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warn_permban\']!=\'Yes\' AND $warn[\'warned_status\']!=\'I\') ? (\"\r\n<a href=\'Warn.php?do=RemoveWarning&id=$warn[wid]\'>Remove Warning</a>\") : (\"\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"Non-removable Warning\")).\"</td>\r\n</tr>','<tr>\r\n<if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"alt1\"><div class=\"smallfont\"><a href=\"member.php?u=$warn[wuserid]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <font color=\"grey\"></if>$warn[wusername]</a></div></td></if>\r\n <td class=\"alt1\"><div class=\"smallfont\" align=\"center\"><if condition=\"$warn[warned_post]!=0\"><a href=\"showthread.php?p=$warn[warned_post]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <font color=\"grey\"></if>Post ID<br>$warn[warned_post]<br>Review<br>Post</a></if><if condition=\"$warn[warned_post]==0\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <font color=\"grey\"></if>Not a post-related warning</if></div></td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>On $warn[date] at $warn[time]</td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_name]</td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_points]</td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_maturity]</td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_permban]</td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warned_reason]</td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\">Inactive</font><else />Active</if></td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warn_permban\']!=\'Yes\' AND $warn[\'warned_status\']!=\'I\'\">\r\n<a href=\'Warn.php?do=RemoveWarning&id=$warn[wid]\'>Remove Warning</a><else /><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>Non-removable Warning</if></td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3654,7,'warn_viewb_top','<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n<tr>\r\n <td class=\\\"tcat\\\" colspan=\\\"10\\\">\r\n <a style=\\\"float:$stylevar[right]\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'warn_list\')\\\"><img id=\\\"collapseimg_warn_list\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n Viewing Warning Information For $user[username]\r\n </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_warn_list\\\" style=\\\"$vbcollapse[collapseobj_warn_list]\\\">\r\n<tr>\r\n \" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"thead\\\">Warned By</td>\") : (\"\")).\"\r\n <td class=\\\"thead\\\">Warned Post</td>\r\n <td class=\\\"thead\\\">Warned Date</td>\r\n <td class=\\\"thead\\\">Warning Type</td>\r\n <td class=\\\"thead\\\">Warning Points</td>\r\n <td class=\\\"thead\\\">Warning Maturity</td>\r\n <td class=\\\"thead\\\">Permanent Ban</td>\r\n <td class=\\\"thead\\\">Comment</td>\r\n <td class=\\\"thead\\\">Status</td>\r\n <td class=\\\"thead\\\">Remove</td>\r\n</tr>','<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n<tr>\r\n <td class=\"tcat\" colspan=\"10\">\r\n <a style=\"float:$stylevar[right]\" href=\"#top\" onclick=\"return toggle_collapse(\'warn_list\')\"><img id=\"collapseimg_warn_list\" src=\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\" alt=\"\" border=\"0\" /></a>\r\n Viewing Warning Information For $user[username]\r\n </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\"collapseobj_warn_list\" style=\"$vbcollapse[collapseobj_warn_list]\">\r\n<tr>\r\n <if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"thead\">Warned By</td></if>\r\n <td class=\"thead\">Warned Post</td>\r\n <td class=\"thead\">Warned Date</td>\r\n <td class=\"thead\">Warning Type</td>\r\n <td class=\"thead\">Warning Points</td>\r\n <td class=\"thead\">Warning Maturity</td>\r\n <td class=\"thead\">Permanent Ban</td>\r\n <td class=\"thead\">Comment</td>\r\n <td class=\"thead\">Status</td>\r\n <td class=\"thead\">Remove</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3655,7,'warn_viewc_end','<tr>\r\n <td class=\\\"tfoot\\\" colspan=\\\"9\\\" align=\\\"right\\\"><a href=\\\"javascript:window.top.close();\\\"><IMG SRC=\\\"images/closeOFF.gif\\\"></A></td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','<tr>\r\n <td class=\"tfoot\" colspan=\"9\" align=\"right\"><a href=\"javascript:window.top.close();\"><IMG SRC=\"images/closeOFF.gif\"></A></td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3656,7,'warn_viewc_row','<tr>\r\n\" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"alt1\\\"><a href=\\\"member.php?u=$warn[wuserid]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[wusername]</a></td>\") : (\"\")).\"\r\n\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"On $warn[date] at $warn[time]</td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_name]</td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_points]</td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_maturity]</td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_permban]</td>\r\n</tr>','<tr>\r\n<if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"alt1\"><a href=\"member.php?u=$warn[wuserid]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>$warn[wusername]</a></td></if>\r\n\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>On $warn[date] at $warn[time]</td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_name]</td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_points]</td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_maturity]</td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_permban]</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3657,7,'warn_viewc_top','<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n<tr>\r\n <td class=\\\"tcat\\\" colspan=\\\"9\\\">\r\n <a style=\\\"float:$stylevar[right]\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'warn_list\')\\\"><img id=\\\"collapseimg_warn_list\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n Viewing Warning Information For Post ID: $_GET[post]<div class=\\\"smallfont\\\">(Grey lines are inactive warnings)</div>\r\n </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_warn_list\\\" style=\\\"$vbcollapse[collapseobj_warn_list]\\\">\r\n<tr>\r\n \" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"thead\\\">Warned By</td>\") : (\"\")).\"\r\n <td class=\\\"thead\\\">Warned Date</td>\r\n <td class=\\\"thead\\\">Warning Type</td>\r\n <td class=\\\"thead\\\">Warning Points</td>\r\n <td class=\\\"thead\\\">Warning Maturity</td>\r\n <td class=\\\"thead\\\">Permanent Ban</td>\r\n</tr>','<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n<tr>\r\n <td class=\"tcat\" colspan=\"9\">\r\n <a style=\"float:$stylevar[right]\" href=\"#top\" onclick=\"return toggle_collapse(\'warn_list\')\"><img id=\"collapseimg_warn_list\" src=\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\" alt=\"\" border=\"0\" /></a>\r\n Viewing Warning Information For Post ID: $_GET[post]<div class=\"smallfont\">(Grey lines are inactive warnings)</div>\r\n </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\"collapseobj_warn_list\" style=\"$vbcollapse[collapseobj_warn_list]\">\r\n<tr>\r\n <if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"thead\">Warned By</td></if>\r\n <td class=\"thead\">Warned Date</td>\r\n <td class=\"thead\">Warning Type</td>\r\n <td class=\"thead\">Warning Points</td>\r\n <td class=\"thead\">Warning Maturity</td>\r\n <td class=\"thead\">Permanent Ban</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3658,7,'warn_viewtype_end','<tr>\r\n <td class=\\\"tfoot\\\" colspan=\\\"7\\\" align=\\\"right\\\">Warning limit before being banned: $warn_options[points_before_banned] points. Initial banning period: $warn_options[banned_limit] days.</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n','<tr>\r\n <td class=\"tfoot\" colspan=\"7\" align=\"right\">Warning limit before being banned: $warn_options[points_before_banned] points. Initial banning period: $warn_options[banned_limit] days.</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3659,7,'warn_viewtype_row','<tr>\r\n <td class=\\\"alt1\\\"><b>{$warn[\'warn_name\']}</b></td>\r\n <td class=\\\"alt1\\\">{$warn[\'warn_desc\']}</td>\r\n <td class=\\\"alt1\\\">{$warn[\'warn_points\']}</td>\r\n <td class=\\\"alt1\\\">{$warn[\'warn_maturity\']}</td>\r\n <td class=\\\"alt1\\\">{$warn[\'warn_permban\']}</td>\r\n <td class=\\\"alt1\\\">{$warn[\'warn_type\']}</td>\r\n</tr>','<tr>\r\n <td class=\"alt1\"><b>{$warn[\'warn_name\']}</b></td>\r\n <td class=\"alt1\">{$warn[\'warn_desc\']}</td>\r\n <td class=\"alt1\">{$warn[\'warn_points\']}</td>\r\n <td class=\"alt1\">{$warn[\'warn_maturity\']}</td>\r\n <td class=\"alt1\">{$warn[\'warn_permban\']}</td>\r\n <td class=\"alt1\">{$warn[\'warn_type\']}</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3660,7,'warn_viewtype_top','<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n<tr>\r\n <td class=\\\"tcat\\\" colspan=\\\"6\\\">\r\n <a style=\\\"float:$stylevar[right]\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'warn_listtype\')\\\"><img id=\\\"collapseimg_warn_listtype\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n Warning Types\r\n </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_warn_listtype\\\" style=\\\"$vbcollapse[collapseobj_warn_list]\\\">\r\n<tr>\r\n <td class=\\\"thead\\\">Warning Name</td>\r\n <td class=\\\"thead\\\">Warning Description</td>\r\n <td class=\\\"thead\\\">Warning Points</td>\r\n <td class=\\\"thead\\\">Warning Maturity</td>\r\n <td class=\\\"thead\\\">Permanent Ban</td>\r\n <td class=\\\"thead\\\">Post-related</td>\r\n</tr>','<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n<tr>\r\n <td class=\"tcat\" colspan=\"6\">\r\n <a style=\"float:$stylevar[right]\" href=\"#top\" onclick=\"return toggle_collapse(\'warn_listtype\')\"><img id=\"collapseimg_warn_listtype\" src=\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\" alt=\"\" border=\"0\" /></a>\r\n Warning Types\r\n </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\"collapseobj_warn_listtype\" style=\"$vbcollapse[collapseobj_warn_list]\">\r\n<tr>\r\n <td class=\"thead\">Warning Name</td>\r\n <td class=\"thead\">Warning Description</td>\r\n <td class=\"thead\">Warning Points</td>\r\n <td class=\"thead\">Warning Maturity</td>\r\n <td class=\"thead\">Permanent Ban</td>\r\n <td class=\"thead\">Post-related</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3661,7,'warn_view_end','<tr>\r\n <td class=\\\"tfoot\\\" colspan=\\\"9\\\" align=\\\"right\\\">Total Warning Points: $user[warning_level] / $warn_options[points_before_banned] - Number of Bans: $user[warning_bans]</td>\r\n</tr>\r\n</tbody>\r\n</table><br/>','<tr>\r\n <td class=\"tfoot\" colspan=\"9\" align=\"right\">Total Warning Points: $user[warning_level] / $warn_options[points_before_banned] - Number of Bans: $user[warning_bans]</td>\r\n</tr>\r\n</tbody>\r\n</table><br/>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3662,7,'warn_view_row','<tr>\r\n\r\n\" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"smallfont\\\"><a href=\\\"member.php?u=$warn[wuserid]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[wusername]</a></td>\") : (\"\")).\"\r\n\r\n <td class=\\\"alt1\\\"><div class=\\\"smallfont\\\" align=\\\"center\\\">\" . (($warn[warned_post]!=0) ? (\"<a href=\\\"showthread.php?p=$warn[warned_post]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <font color=\\\"grey\\\">\") : (\"\")).\"Post ID<br> $warn[warned_post]<br>Review<br>Post</a>\") : (\"\")).\"\" . (($warn[warned_post]==0) ? (\"\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <font color=\\\"grey\\\">\") : (\"\")).\"Not a post-related warning\") : (\"\")).\"</div></td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"On $warn[date] At $warn[time]</div></td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_name]</td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_points]</td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_maturity]</td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_permban]</td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <font color=\\\"grey\\\">\") : (\"\")).\"<div class=\\\"smallfont\\\">$warn[warned_reason]</div></td>\r\n <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">Inactive</font>\") : (\"Active\")).\"</td>\r\n</tr>','<tr>\r\n\r\n<if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"smallfont\"><a href=\"member.php?u=$warn[wuserid]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>$warn[wusername]</a></td></if>\r\n\r\n <td class=\"alt1\"><div class=\"smallfont\" align=\"center\"><if condition=\"$warn[warned_post]!=0\"><a href=\"showthread.php?p=$warn[warned_post]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <font color=\"grey\"></if>Post ID<br> $warn[warned_post]<br>Review<br>Post</a></if><if condition=\"$warn[warned_post]==0\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <font color=\"grey\"></if>Not a post-related warning</if></div></td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>On $warn[date] At $warn[time]</div></td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_name]</td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_points]</td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_maturity]</td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_permban]</td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <font color=\"grey\"></if><div class=\"smallfont\">$warn[warned_reason]</div></td>\r\n <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n <div class=\"smallfont\"><font color=\"grey\">Inactive</font><else />Active</if></td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3663,7,'warn_view_top','<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n<tr>\r\n <td class=\\\"tcat\\\" colspan=\\\"9\\\">\r\n <a style=\\\"float:$stylevar[right]\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'warn_list\')\\\"><img id=\\\"collapseimg_warn_list\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n Viewing Warning Information For $user[username]\r\n </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_warn_list\\\" style=\\\"$vbcollapse[collapseobj_warn_list]\\\">\r\n<tr>\r\n \" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"thead\\\">Warned By</td>\") : (\"\")).\"\r\n <td class=\\\"thead\\\">Warned Post</td>\r\n <td class=\\\"thead\\\">Warned Date</td>\r\n <td class=\\\"thead\\\">Warning Type</td>\r\n <td class=\\\"thead\\\">Warning Points</td>\r\n <td class=\\\"thead\\\">Warning Maturity</td>\r\n <td class=\\\"thead\\\">Permanent Ban</td>\r\n <td class=\\\"thead\\\">Comment</td>\r\n <td class=\\\"thead\\\">Status</td>\r\n</tr>','<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n<tr>\r\n <td class=\"tcat\" colspan=\"9\">\r\n <a style=\"float:$stylevar[right]\" href=\"#top\" onclick=\"return toggle_collapse(\'warn_list\')\"><img id=\"collapseimg_warn_list\" src=\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\" alt=\"\" border=\"0\" /></a>\r\n Viewing Warning Information For $user[username]\r\n </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\"collapseobj_warn_list\" style=\"$vbcollapse[collapseobj_warn_list]\">\r\n<tr>\r\n <if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"thead\">Warned By</td></if>\r\n <td class=\"thead\">Warned Post</td>\r\n <td class=\"thead\">Warned Date</td>\r\n <td class=\"thead\">Warning Type</td>\r\n <td class=\"thead\">Warning Points</td>\r\n <td class=\"thead\">Warning Maturity</td>\r\n <td class=\"thead\">Permanent Ban</td>\r\n <td class=\"thead\">Comment</td>\r\n <td class=\"thead\">Status</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
How to modify this?
Change the beginning of the lines to meet your db
INSERT INTO vb3_template VALUES (3646,7,'
where 3646 in my example is the first free number. Check table 'template' for the latest ID and change the above lines so that it is always last ID+1
The 7 is my style where I want the templates to be added.
Check your admincp Style Manager to find out the correct ID.
Please backup your database before you to so and close the forum!
After adding the template manually to the DB using this way you have to create a fake table from your adminCP Style Manager so that the board cache is updated. You can delte this one again with PHPMyAdmin.
cu
|