Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Advanced Warning System (AWS) Details »»
Advanced Warning System (AWS)
Version: 3.4.16, by sv1cec sv1cec is offline
Developer Last Online: Mar 2022 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 11-20-2004 Last Update: 08-30-2005 Installs: 256
DB Changes Template Edits
Code Changes  
No support by the author.

Advanced Warning System Version 3.5.0

The AWS version for vB 3.5 has been released. You can download it and get support in this thread:

https://vborg.vbsupport.ru/showthread.php?p=770032


Advanced Warning System Version 3.4.16 (latest stable release for vB 3.0.x)


LATEST ANNOUNCEMENT

The AWS has its own Premium Forum here at vBulletin.org, so please use that for questions and discussion on this hack.

The Permium Forum is located at :

https://vborg.vbsupport.ru/forumdisplay.php?f=105





This Warning System owes its existence to Zero Tolerance's Warning Hack (https://vborg.vbsupport.ru/showthread.php?t=65336). I liked the idea, so I installed Zero's hack in my forums site. However, as in most cases, I was not fully satisfied with the way it worked, so I started customizing it. Other people in the thread above, asked questions, which I had already answered by my customizing work, so I answered, giving away those parts of the code, that I had modified.

In the long run, I almost hijacked the thread and the hack from Zero, so I guess I owe him an apology. However, the mods I did have compiled a new, more complete warning system, with much more functionality. Several members from that thread, asked if this could be released as a new hack, so after discussing it with Zero, here it is.

What it does? Well, it is a Warning System, which means it allows you (the administrative team of your site, in other words the admins, the supermods and the mods), to define offences, which the members of your forum should NOT commit. But as we all know, there are instances where members do not follow the rules. In that case, this warning system, allows you to issue a warning to the member who commited the offence. The warning has some points associated with it, as well as a period over which it is valid. When a member gathers enough points, he is banned from your forums, for a predefined period of time. That's mostly it, but below, you can find a short list of features:

Full warning system with:

- post- and non-post-related warnings
- hierarchical warning schema
- hidden or real warners
- customizable maximum warning points
- automatically bans members who reached the maximum warning points
- customizable ban days
- customizable ban user group and permanent ban user group
- customizable restore user group, where users are restored after they get unbanned
- customizable option for who can see the warning level of the members
- automatically issued warnings for posts which contain censored words
- automatically issued warnings for private messages which contain censored words
- supports incremental banning periods
- supports multiple warnings for the same post
- warned members are notified either by Private Message or e-mail when they are warned and when one of the warnings they have received is either deleted or expired
- maintains historical listings of issued warnings (even if deleted or expired)
- customizable warning types
- each warning type has predefined warning points associated with it
- each warning type has predefined maturity period, after which it is automatically deleted
- reports for admin, mods and members
- cron job included to automatically remove matured warnings
- uses vBulletin's cron job, to automatically unban banned users
- all options are setable in your AdminCP
- user warning points and number of bans viewable in your AdminCP User Manager.
- statistics show warning per type, warnings per warner, bans per user.
- Allows you to warn a user from your AdminCP/User Manager.
- Large "Warn" sign, in posts which have received a warning, for mods, supermods and admins, to easily distinguish those posts.
- Ability to remove user's avatar, signature or usage of the Private Messaging system, depending on the warning points he has collected.
- Supports non-standard admins, supermods and mods user groups.
- Allows you to save a copy of the warning send to the warned user, in a predefined forum.
- Allows you to issue "Alerts" (warnings without warning points, for first-time offenders)
- Allows you to add private or public notes for a user, either post-specific or not. Notes appear in the postbit, above each user's message.
- etc.

Admitedly, this is not an easy hack to install. It requires 20 new templates and modifications to some existing ones too. It requires five new tables and modifications to some others. It requires several new phrases. I've tried to make the installation, as easy as I could, by automating certain tasks in an automatic installer. The installer will add the new templates for you, add the new tables required and change the existing ones, and will add the required new phrases. You will have to manually edit the existing templates and the php files though. I also included an upgrade script, which will upgrade those who are using Zero Tolerance's warning hack (version 1.5) to this one. An uninstaller is also included, which removes what the installer installs.

Please keep in mind, that this is a very difficult hack to install. For this reason, I strongly recommend that you back up your database before starting the installation. I also suggest that you keep copies of each file and template you edit, so that you can always revert to a previous stable condition. Finally, I strongly suggest that you always run the latest release.

The zip file always contains both the instructions and the files required to install the latest version. If you have installed a previous version and want to upgrade to the latest, there is a text file attached, in the zip with upgrade instructions. Follow them.

In this thread, you will also find a more detailed document describing the features of this hack, as well as a document describing its version evolution.

Also keep in mind that the installer, will add the AWS templates only to your default style. If you want to use them in another one, you may try this Zero Tolerance's hack, which copies the templates to other styles you may have.

Another thing, the installation instructions were written when vB was at release 3.0.3, so you may expect to find some differences, with the latest files and templates. As far as I can tell, I haven't faced any such case, but I post this reservation here, since I do not have the time to recheck all the instructions for compliance with the latest vB release. The hack has been installed and is working fine with the vBulletin version shown at the top of this thread.

Finally, if you are using more than one style, the installer will install the templates only in the default one. If you want to use the rest of your styles, here is a hack, that will do this for you.

This hack can also be integrated with Zero Tolerance's vBChat. However, since I am using a heavily-modified version of vBChat, I haven't included instructions, on how to patch the original vBChat files, in the documentation. If you are interested in having AWS issue automatic warnings when one of your user enters a censored word in a vBChat message, or if you want your moderators to be able to warn a user, who misbehaves in vBChat, please post a thread in this forum and I'll help you through.

This is my first officially released hack, so please don't be to harsh with me, if I broke any rules or made any mistakes. The mods have been tested extensively, both by me and two volunteers (thank you gentlemen), but I am only human.

Closing, let me thank Zero Tolerance, who got me started in this, and who owns a big part of the code of this hack. I definnitely couldn't have done it, without his code.

Special Note
For those who upgrade from Zero Tolerance's hack to my AWS, even though I have included a script which will do some of the work automatically, not everything is done by that script. Read the installation instructions carefully. You have to run the upgrade script first and then do several things manually. If you just run the upgrade script and just upload the files, the AWS will not work properly. If you have any questions, please do not hesitate to post here.

Also, let me add here, that version 3.3.0 wouldn't have been possible without the contribution of Revan.

And a couple of warnings:

PLEASE DOWNLOAD THE LATEST ZIP FILE FROM HERE, BEFORE YOU START INSTALLING THIS HACK. JUST BECAUSE YOU DOWNLOADED IT A COUPLE OF DAYS AGO, THAT DOES NOT MEAN IT IS THE LATEST VERSION. MAKE SURE YOU DOWNLOAD THE ZIP, JUST BEFORE YOU START INSTALLING THIS HACK.


LATEST VERSION

Version 3.4.16 (released Thursday August 25th, 2005 GMT 18:18)

A couple of bugs fixed in this version. One is related to the Notes feature, and it allowed plain users to see the notes entered, if the "Who can view warning points" setting was set to "All".

Features.txt a new version of this file has been uploaded on April 4th2 005 GMT 09:30, which covers the latest additions to the hack. The original Features.txt file hasn't been updated since the first release of this hack, so it was time for an update.

John

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-21-2004, 02:03 PM
burrelly burrelly is offline
 
Join Date: Oct 2002
Location: none
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are there any file updates for the upgrade?

Help file doesent tell you what ones to use for the upgrade!!
Reply With Quote
  #13  
Old 11-21-2004, 02:39 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by burrelly
Are there any file updates for the upgrade?

Help file doesent tell you what ones to use for the upgrade!!
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
Reply With Quote
  #14  
Old 11-21-2004, 02:54 PM
burrelly burrelly is offline
 
Join Date: Oct 2002
Location: none
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin 3.0.3:
Invalid SQL: insert into warnings values('','5','1','1101055996','You Have Been Warned!','504','2')
mysql error: Column count doesn't match value count at row 1
mysql error number: 1136
Date: Sunday 21st of November 2004 04:53:16 PM
Script: http://www.mysite.com/Warn.php
Referer: http://www.mysite.com/Warn.php?do=Wa...&id=5&post=504

When i try to warn members using the link above the users posts!

Warning: Invalid argument supplied for foreach() in /home/virtual/site5/fst/var/www/html/includes/functions.php on line 1815

When i try to warn using link at top of profile
Reply With Quote
  #15  
Old 11-21-2004, 02:59 PM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 11-21-2004, 03:32 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by burrelly
Database error in vBulletin 3.0.3:
Invalid SQL: insert into warnings values('','5','1','1101055996','You Have Been Warned!','504','2')
mysql error: Column count doesn't match value count at row 1
mysql error number: 1136
Date: Sunday 21st of November 2004 04:53:16 PM
Script: http://www.mysite.com/Warn.php
Referer: http://www.mysite.com/Warn.php?do=Wa...&id=5&post=504

When i try to warn members using the link above the users posts!

Warning: Invalid argument supplied for foreach() in /home/virtual/site5/fst/var/www/html/includes/functions.php on line 1815

When i try to warn using link at top of profile
Have you uploaded the files to your web server? The insert statement does not have all the values required.

Try uploading all the files in the proper directories, especially warn.php and admincp/admin_warn.php. Your error shows me that you are using the wrong warn.php file.

Rgds
Reply With Quote
  #17  
Old 11-21-2004, 03:35 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jluerken
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
Thanks for the tip, I'll check it out and try to incorporate it in the installation file.

Rgds
Reply With Quote
  #18  
Old 11-21-2004, 03:40 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jluerken
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
Thanks for the tip, I'll see if I can include it in the installation file.

Rgds
Reply With Quote
  #19  
Old 11-21-2004, 04:09 PM
TCattitude's Avatar
TCattitude TCattitude is offline
 
Join Date: Oct 2004
Location: Chile
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

¡Nice work sv1cec!

This is the best useful hack for vb.
Reply With Quote
  #20  
Old 11-21-2004, 04:12 PM
burrelly burrelly is offline
 
Join Date: Oct 2002
Location: none
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it working

Another hack was messing it up
Reply With Quote
  #21  
Old 11-21-2004, 06:13 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by burrelly
Got it working

Another hack was messing it up
Glad you made it.

Enjoy!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:19 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.19180 seconds
  • Memory Usage 2,837KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete