Location: PHPKode > projects > SowiBB > SowiBB3/Upgrading/RC 1 To RC 2 PRE RELEASE/upgrade.php
<?php

/******************* // SowiBB 3 \\ *******************
 *  SowiBB 3 RC 2 PRE RELEASE
 *
 *  Webpage: http://sowibb.sf.net
 *  E-mail: hide@address.com
 *  Licence: http://sowibb.sf.net/index.php?p=licence
 *
 *  Someonewhois - hide@address.com
 *  Copyright (c) 2002 SowiBB
 *  http://sowibb.sf.net
 *****************************************************
 * You must leave this intact at the top of every page.
 * You can modify the files if you wish to, however you can not state it's yours.
 * All files Copyright (c) 2002 SowiBB, and in no way can you state it's yours.
 * Even if it's greatly modified, it is still part of SowiBB.
 *
 * All Rights Reserved.
 *****************************************************
 *
 *  -> Written By Someonewhois
 *  -> Date Started: December 6, 2002
 *  -> Date Finished: December 6, 2002
 *  -> Last Modified: December 6, 2002
 *
 *  -> This is the page in which shows the list of members that are registered.
 *     -> You can choose which group you want to see members from,
       -> and you can chose how many to view per page.
 *
 *  -> Made For Version: SowiBB 3 RC 2 PRE RELEASE
 *****************************************************/

	if (empty($SowiBB))
	{
		include("class.php");
	}

$sql = mysql_query("ALTER TABLE catagory ADD show_forums VARCHAR(5) DEFAULT 'All' NOT NULL");
$sql = mysql_query("DELETE FROM template");
$sql = mysql_query("INSERT INTO template VALUES (1, 'main', '<html>\r\n<head>\r\n{JAVASCRIPT}\r\n{CSS}\r\n<title>{BOARDNAME} -> {TITLE}</title></head>\r\n<body {BODY}>\r\n\r\n    <table cellpadding=\'0\' cellspacing=\'0\' border=\'0\' width=\'95%\' align=\'center\'>\r\n\r\n        <tr>\r\n          <td align=\'left\' valign=\'middle\'>\r\n<p align=\"left\"><span class=\"plain\"><a href=\"index.php\"><img src=\"{LOGO}\" border=\"0\"></a><BR><BR>\r\n	  		  Welcome <B>{USERNAME}</B>!<BR>{LINKBAR}</span>\r\n</p>          </td>\r\n <td align=\"center\">\r\n<span class=\"plain\"><b>\r\n<a href=\"index.php\">{BOARDNAME}</a> | <a href=\"{HOMEURL}\">{SITENAME}</a></b></span>\r\n<BR><BR>\r\n\r\n<a href=\"memberlist.php\"><img src=\"{MEMBERLIST}\" border=\"0\"></a>    \r\n<a href=\"messenger.php\"><img src=\"{MESSENGER}\" border=\"0\"></a><BR>\r\n<a href=\"search.php\"><img src=\"{SEARCH}\" border=\"0\"></a>    <a href=\"calendar.php\"><img src=\"{CALENDAR}\" border=\"0\"></a><BR>\r\n<a href=\"team.php\"><img src=\"{TEAM}\" border=\"0\"></a>    <a href=\"stats.php\"><img src=\"{STATS}\" border=\"0\"></a><BR>\r\n<a href=\"links.php\"><img src=\"{LINKS}\" border=\"0\"></a>    <a href=\"downloads.php\"><img src=\"{DOWNLOADS}\" border=\"0\"></a><BR>\r\n</td>\r\n        </tr>\r\n<tr><td><BR></td><td><BR></td></tr>\r\n    </table>\r\n\r\n      <table cellpadding=\'0\' cellspacing=\'0\' border=\'0\' width=\'95%\' align=\'center\'>\r\n        <tr>\r\n          <td><center>\r\n\r\n{CONTENT}\r\n\r\n</center><BR>\r\n         </td>\r\n    </tr>\r\n</table>\r\n</table>\r\n<BR>\r\n<HR>\r\n<BR>\r\n<center><span class=\"plain\">{YOURCOPYRIGHT}</span><BR><BR>{COPYRIGHT}<BR><BR>\r\n<span class=\"plain\">[ Hits: <B>{HITS}</b> | Execution Time: <B>{TIME}</b> | Queries: <b>{QUERIES}</B> ]<BR><BR></span><BR><BR></center>\r\n</center>\r\n</face>\r\n</body></html>\r\n', 'DEFAULT', '{CONTENT}|{COPYRIGHT}|{CSS}')");
$sql = mysql_query("INSERT INTO template VALUES (2, 'admincp', '<span class=\"plain\">| <a href=\"admincp.php\" target=\"_BLANK\">AdminCP</a></span>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (3, 'guestbar', '<span class=\"plain\">[ <a href=\"signup.php\">Register</a> | <a href=\"login.php\">Login</a> ]<BR><BR>\r\n  <p><form method=\"post\" action=\"login.php?act=submit\">\r\n    Username: <input type=\"text\" name=\"uid\" size=\"8\">&nbsp;&nbsp;&nbsp;\r\n    Password: <input type=\"password\" name=\"pwd\" SIZE=\"8\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n    <input type=\"submit\" value=\"Log in\">\r\n  </form></span>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (4, 'memberbar', '<span class=\"plain\">[ <a href=\"usercp.php\">UserCP</a> | <a href=\"index.php?act=logout\">Logout</a> | <a href=\"index.php?act=new&page=posts\">New Posts</a> {ADMINCPLINK} ]</span>', 'DEFAULT', '{ADMINCPLINK}')");
$sql = mysql_query("INSERT INTO template VALUES (5, 'action', '<html>\r\n<head>\r\n{CSS}\r\n<title>Please stand by...</title>\r\n<meta http-equiv=\"refresh\" content=\"2; url={PLACE}\">\r\n</head>\r\n<body bgcolor=\"#FFFFFF\" valign=\"center\" align=\"center\">\r\n<table align=\"center\" width=\"100%\" height=\"100%\">\r\n<tr>\r\n<td valign=\"center\">\r\n\r\n<table align=\"center\" valign=\"center\" border=\"1\" cellpadding=\"3\" cellspacing=\"3\" width=\"60%\" bgcolor=\"#EFEFEF\" bordercolordark=\"white\" bordercolorlight=\"black\">\r\n    <tr>\r\n        <td width=\"100%\" height=\"10%\" align=\"center\" valign=\"middle\">\r\n            <p><span class=\"plain\">        Thanks, \r\n            {MESSAGE}</span></font></p>\r\n	    <p><span class=\"plain\">        Please \r\n            wait while we transfer you...</span></font></p>\r\n            <p><span class=\"plain\">        (<a href=\"{PLACE}\">Or click here if you do not wish to wait</a>)</span><br> </font></p>\r\n        </td>\r\n    </tr>\r\n</table>\r\n</td>\r\n</tr>\r\n</table>\r\n</body>\r\n\r\n</html>\r\n', 'DEFAULT', '{PLACE}|{METHOD}|{CSS}')");
$sql = mysql_query("INSERT INTO template VALUES (6, 'error', '<p>&nbsp;</p>\r\n<table align=\"center\" border=\"1\" cellpadding=\"3\" cellspacing=\"3\" bgcolor=\"#B9DBFF\" bordercolordark=\"white\" bordercolorlight=\"black\" width=\"95%\">\r\n    <tr>\r\n        <td width=\"98%\">\r\n            <p>&nbsp;<span class=\"mysubtitles\">SowiBB Error Message</span></p>\r\n        </td>\r\n    </tr>\r\n    <tr>\r\n        <td width=\"98%\">\r\n            <p align=\"center\"> <span class=\"mytitles\">Error:</span>\r\n		<BR><BR><span class=\"regular\"><B>You have come acrros the following errors:</B></span>\r\n		<BR>\r\n		<hr width=\"30%\">\r\n		<p align=\"center\"><BR>\r\n		<span class=\"regular\">{ERROR}</span>\r\n		<BR><BR>\r\n		<hr width=\"30%\">\r\n		<p align=\"center\"><BR>\r\n		<span class=\"regular\">Please go <a href=\"javascript:history.back(-1)\">back</a> and fix them.<BR></span>\r\n		<BR>\r\n	    </p>\r\n        </td>\r\n    </tr>\r\n    <tr>\r\n        <td width=\"98%\">\r\n            <p><a href=\"javascript:history.back(-1)\"><span class=\"regular\">Back</span></a></p>\r\n        </td>\r\n    </tr>\r\n</table>\r\n<p>&nbsp;</p>\r\n', 'DEFAULT', '{ERROR}')");
$sql = mysql_query("INSERT INTO template VALUES (7, 'navbar', '<table border=\"0\" width=\"100%\" align=\"Center\" cellspacing=\"0\" cellpadding=\"0\">\r\n<tr>\r\n<td bgcolor=\"#DCDCDC\">\r\n<table border=\"0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"4\">\r\n<tr height=\"22\">\r\n<td colspan=\"6\" height=\"22\" bgcolor=\"#eeeeee\" valign=\"center\"><div valign=\"center\"><img src=\"{NAVIMG}\">&nbsp;&nbsp;&nbsp;&nbsp;<span class=\"navbar\"><a href=\"index.php\"><span class=\"navbar\">{BOARDNAME}</span></a> -> <span class=\"navbar\">{NAVBAR}</span></div></span>\r\n</td>\r\n</tr>\r\n</table>\r\n</td>\r\n</tr>\r\n</table><BR>', 'DEFAULT', '{NAVBAR}')");
$sql = mysql_query("INSERT INTO template VALUES (8, 'post', '<form {FORMDETAILS}>\r\n    <p> </p>\r\n    <table border=\"1\" cellspacing=\"3\" cellpadding=\"3\" width=\"90%\" height=\"50%\" bgcolor=\"#66CCFF\" bordercolordark=\"white\" bordercolorlight=\"black\">\r\n        <tr align=\"center\" valign=\"middle\" width=\"20%\" height=\"3%\">\r\n            <td>\r\n                <p align=\"center\"><span class=\"plain\">Post Icon:</span></p>\r\n            </td>\r\n            <td align=\"center\" valign=\"middle\">\r\n                <p align=\"center\" valign=\"center\"><img src=\"{POST}\"><input type=\"radio\" name=\"{ICON}\" value=\"{VALUE}\" CHECKED>  \r\n<img src=\"{POST1}\"><input type=\"radio\" name=\"{ICON}\" value=\"{VALUE1}\">  \r\n<img src=\"{POST2}\"><input type=\"radio\" name=\"{ICON}\" value=\"{VALUE2}\">  \r\n<img src=\"{POST3}\"><input type=\"radio\" name=\"{ICON}\" value=\"{VALUE3}\">  \r\n<img src=\"{POST4}\"><input type=\"radio\" name=\"{ICON}\" value=\"{VALUE4}\">  \r\n<img src=\"{POST5}\"><input type=\"radio\" name=\"{ICON}\" value=\"{VALUE5}\">  </p>\r\n            </td>\r\n        </tr>\r\n        <tr width=\"20%\" height=\"3%\">\r\n            <td>\r\n                <p align=\"center\"><span class=\"plain\">BB Code:</span></p>\r\n            </td>\r\n            <td>\r\n                <p align=\"center\">{BBCODE}</p>\r\n            </td>\r\n        </tr>\r\n        <tr width=\"80%\" height=\"20%\">\r\n            <td align=\"center\">\r\n                <table bgcolor=\"EBF1F7\" border=\"1\" bordercolor=\"000000\" cellpadding=\"5\"><tr><td>{EMOTIONS}</td></tr></table>\r\n            </td>\r\n            <td align=\"center\">\r\n                <p align=\"center\" valign=\"middle\"> {FIELDS}</p>\r\n            </td>\r\n        </tr>\r\n    </table><BR>\r\n<center><input type=\"submit\" value=\"Submit Post\"></center>\r\n</form>\r\n\r\n', 'DEFAULT', '{FORMDETAILS}|{FIELDS}')");
$sql = mysql_query("INSERT INTO template VALUES (9, 'profile', '<center>\r\n<table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" bgcolor=\"000000\"><tr><td>\r\n<table border=\"0\" cellpadding=\"2\" cellspacing=\"1\" width=\"100%\">\r\n  				 <tr>\r\n					<td width=\"100%\" colspan=\"2\" id=\"profileheader\">&nbsp;{USERNAME}\'s Personal Information</td>\r\n				</tr><tr>\r\n					<td width=\"38%\" valign=\"top\" id=\"profiletextdark\" nowrap><b>Member Title:</b></td>\r\n 					<td width=\"62%\" id=\"profiletextdark\">{MTITLE}</font></td>\r\n	 			 </tr><tr>\r\n					<td width=\"38%\" valign=\"top\" id=\"profiletextlite\" nowrap><b>Email:</font></b></font></td>\r\n					<td width=\"62%\" id=\"profiletextlite\"><a href=\"email.php?act=send&page={USERNAME}\">E-mail {USERNAME}</a></font></td>\r\n				</tr><tr>\r\n					<td width=\"38%\" valign=\"top\" id=\"profiletextdark\" nowrap><b>PM:</b></font></td>\r\n 					<td width=\"62%\" id=\"profiletextdark\"><a href=\"pm-post.php?person={USERNAME}\">PM {USERNAME}</a></font></td>\r\n	 			 </tr><tr>\r\n					 <td width=\"38%\" valign=\"top\" id=\"profiletextlite\" nowrap><b>ICQ:</b></font></td>\r\n					 <td width=\"62%\" id=\"profiletextlite\">{ICQ}</font></td>\r\n				 </tr><tr>\r\n					 <td width=\"38%\" valign=\"top\" id=\"profiletextdark\" nowrap><b>AIM:</b></font></td>\r\n 					<td width=\"62%\" id=\"profiletextdark\">{AIM}</font></td>\r\n				</tr><tr>\r\n					<td width=\"38%\" valign=\"top\" id=\"profiletextlite\" nowrap><b>Yahoo!:</b></font></td>\r\n					<td width=\"62%\" id=\"profiletextlite\">{YAHOO}</font></td>\r\n				</tr><tr>\r\n  					<td width=\"38%\" valign=\"top\" id=\"profiletextdark\" nowrap><b>MSN:<b></font></td>\r\n  			  		<td width=\"62%\" id=\"profiletextdark\">{MSN}</font></td>\r\n				</tr><tr>\r\n  					<td width=\"38%\" valign=\"top\" id=\"profiletextlite\" nowrap><b>Threads:<b></font></td>\r\n  			 		<td width=\"62%\" id=\"profiletextlite\">{THREADS}</font></td>\r\n				</tr><tr>\r\n  					<td width=\"38%\" valign=\"top\" id=\"profiletextdark\" nowrap><b>Total Posts:<b></font></td>\r\n  			  		<td width=\"62%\" id=\"profiletextdark\">{POSTS}</font></td>\r\n				</tr><tr>\r\n					<td width=\"38%\" valign=\"top\" id=\"profiletextlite\" nowrap><b>Group:</b></font></td>\r\n					<td width=\"62%\" id=\"profiletextlite\"><a href=\"viewgroups.php?act=view&page={GROUPNAME}\">{GROUPNAME}</a></font></td>\r\n				</tr><tr>\r\n  					<td width=\"38%\" valign=\"top\" id=\"profiletextdark\" nowrap><b>Location:<b></font></td>\r\n  			  		<td width=\"62%\" id=\"profiletextdark\">{LOCATION}</font></td>\r\n				</tr><tr>\r\n					<td width=\"38%\" valign=\"top\" id=\"profiletextlite\" nowrap><b>Referals:</b></font></td>\r\n					<td width=\"62%\" id=\"profiletextlite\">{REFERALS}</font></td>\r\n				</tr><tr>\r\n					<td width=\"38%\" valign=\"top\" id=\"profiletextdark\" nowrap><b>Mood:</b></font></td>\r\n					<td width=\"62%\" id=\"profiletextdark\">{MOOD}</font></td>\r\n				</tr><tr>\r\n					<td width=\"38%\" valign=\"top\" id=\"profiletextlite\" nowrap><b>Mood Description:</b></font></td>\r\n					<td width=\"62%\" id=\"profiletextlite\">{MOOD_DESC}</font></td>\r\n				</tr><tr>\r\n					<td width=\"38%\" valign=\"top\" id=\"profiletextdark\" nowrap><b>Mood Was Last Modified:</b></font></td>\r\n					<td width=\"62%\" id=\"profiletextdark\">{MOOD_MODIFIED}</font></td>\r\n				</tr><tr>\r\n					<td width=\"38%\" valign=\"top\" id=\"profiletextlite\" nowrap><b>Gender:</b></font></td>\r\n					<td width=\"62%\" id=\"profiletextlite\">{GENDER}</font></td>\r\n				</tr><tr>\r\n					<td width=\"38%\" valign=\"top\" id=\"profiletextdark\" nowrap><b>Interests:</b></font></td>\r\n					<td width=\"62%\" id=\"profiletextdark\">{INTERESTS}</font></td>\r\n				</tr><tr>\r\n  					<td width=\"38%\" valign=\"top\" id=\"profiletextlite\" nowrap><b>Signature:<b></font></td>\r\n  			 		<td width=\"62%\" id=\"profiletextlite\">{SIG}</font></td>\r\n				</tr><tr>\r\n					<td width=\"38%\" valign=\"top\" id=\"profiletextdark\" nowrap><b>Avatar:</b></font></td>\r\n					<td width=\"62%\" id=\"profiletextdark\"><img src=\"{AVATAR}\"></font></td>\r\n				</tr>\r\n			</table></td></tr><tr><td>\r\n\r\n<table border=\"0\" cellpadding=\"2\" cellspacing=\"1\" rowspacing=\"1\" width=\"100%\">\r\n<tr id=\"profileheader\">\r\n    <td colspan=\"2\" id=\"profileheader\">&nbsp;Last Post by {USERNAME}</td>\r\n</tr>\r\n<tr>\r\n    <td colspan=\"2\" id=\"profiletextdark\"><p>\r\n<u>Subject: <b><a href=\"viewposts.php?act=view&page={POSTID}\">{POSTSUBJECT}</a></b></u><BR>\r\nPosted <b>{POSTDATE}</b>, by <b>{POSTUSERNAME}</b><BR>\r\n<BR>{POST}\r\n<BR>\r\n</td>\r\n  </tr>\r\n<tr id=\"profileheader\">\r\n    <td colspan=\"2\" id=\"profileheader\">&nbsp;Last Reply by {USERNAME}</td>\r\n</tr>\r\n<tr>\r\n    <td colspan=\"2\" id=\"profiletextdark\"><p>\r\n<u>Subject: <b><a href=\"viewposts.php?act=view&page={REPLYID}\">{REPLYSUBJECT}</a></b></u><BR>\r\nPosted <b>{REPLYDATE}</b>, by <b>{REPLYUSERNAME}</b><BR>\r\n<BR>{REPLY}\r\n<BR>\r\n</td>\r\n  </tr>\r\n</table>\r\n</td></tr></table>\r\n</center>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (10, 'popup.js', '           alert(\"You have a new PM!\");\r\n           check1 = confirm(\"Read it now?\");\r\n           if (check1 == true)\r\n			{\r\n           newwindow = confirm(\"Open in a new window?\");\r\n           if (newwindow == true) {\r\n               window.open(\'messenger.php\'); \r\n           } else {\r\n               window.location=\"messenger.php\";\r\n           }\r\n       		}', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (11, 'usercp', '<table cellpadding=\"0\" cellspacing=\"0\" border=\"1\" noshade bordercolor=\"000000\" width=\"95%\" bgcolor=\"#ffffff\" align=\"center\">\r\n        <tr>\r\n           <td>\r\n              <table cellpadding=\"2\" cellspacing=\"1\" border=\"0\" width=\"100%\">\r\n              <tr>\r\n               <td width=\"20%\"><center><span class=\"mytitles\">Links</span></center></td>\r\n			   <td width=\"80%\"><center><span class=\"mytitles\">Main UserCP</span></center></td>\r\n			  </tr>\r\n			   <td valign=\"top\">\r\n			    <table cellpadding=\"2\" cellspacing=\"1\" border=\"1\" width=\"100%\" bordercolor=\"000000\">\r\n			     <tr>\r\n			       <td id=\"usercptitles\">Messenger</td>\r\n			     </tr>\r\n			     <tr>\r\n			       <td id=\"usercplinks\"><a href=\"pm-post.php\"><span class=\"usercplinks\">Send A PM</span></a></td>\r\n			     </tr>\r\n			     <tr>\r\n			       <td id=\"usercplinks\"><a href=\"pm.php\"><span class=\"usercplinks\">Inbox</span></a></td>\r\n			     </tr>\r\n\r\n			    </table>\r\n			    \r\n			    <br>\r\n			    \r\n			    <table cellpadding=\"2\" cellspacing=\"1\" border=\"1\" width=\"100%\" bordercolor=\"000000\">\r\n			     <tr>\r\n			       <td id=\"usercptitles\">Personal Profile</td>\r\n			     </tr>\r\n			     <tr>\r\n			       <td id=\"usercplinks\"><a href=\"usercp.php?act=main\"><span class=\"usercplinks\">Edit Contact Info</span></a></td>\r\n			     </tr>\r\n			     <tr>\r\n			       <td id=\"usercplinks\"><a href=\"usercp.php?act=other\"><span class=\"usercplinks\">Edit Profile</span></a></td>\r\n			     </tr>\r\n			     <tr>\r\n			       <td id=\"usercplinks\"><a href=\"usercp.php?act=mood\"><span class=\"usercplinks\">Edit Mood</span></a></td>\r\n			     </tr>\r\n			    </table>\r\n			    \r\n			    <br>\r\n			    \r\n			    <table cellpadding=\"2\" cellspacing=\"1\" border=\"1\" width=\"100%\" bordercolor=\"000000\">\r\n			     <tr>\r\n			       <td id=\"usercptitles\">Options</td>\r\n			     </tr>\r\n			     <tr>\r\n			       <td id=\"usercplinks\"><a href=\"usercp.php?act=email\"><span class=\"usercplinks\">Email Settings</span></a></font></td>\r\n			     </tr>\r\n			     <tr>\r\n			       <td id=\"usercplinks\"><a href=\"usercp.php?act=password\"><span class=\"usercplinks\">Change Password</span></a></td>\r\n			     </tr>\r\n			     <tr>\r\n			       <td id=\"usercplinks\"><a href=\"usercp.php?act=settings\"><span class=\"usercplinks\">Board Settings</span></a></td>\r\n			     </tr>\r\n			     <tr>\r\n			       <td id=\"usercplinks\"><a href=\"usercp.php?act=subscription\"><span class=\"usercplinks\">Subscriptions</span></a></td>\r\n			     </tr>\r\n			    </table>\r\n		    \r\n			   </td>\r\n			   <td valign=\"top\">\r\n\r\n			   <table cellpadding=\"4\" cellspacing=\"0\" border=\"1\" bordercolor=\"000000\" noshade width=\"100%\">\r\n			 <tr>\r\n                                   {CONTENT}\r\n	  </tr>\r\n		\r\n\r\n         </table>\r\n        </td>\r\n       </tr>\r\n    </table></td></tr></table>', 'DEFAULT', '{CONTENT}')");
$sql = mysql_query("INSERT INTO template VALUES (12, 'userInfo', '<tr valign=\"top\">\r\n<td width=\"20%\" id=\"postuserinfo\">\r\n\r\n<center><B><font face=\"verdana\"><u><a href=\"profile.php?userid={USERID}\"><font color=\"{COLOUR}\">{USERID}</font></a></u></font></b></center>\r\n<BR><center>{PIPS}</center><BR>\r\n<B>Posts: {POSTS} </b><BR>\r\n\r\n{STATUS}<BR>\r\n\r\n<B><i>{MTITLE}</i></b><BR>\r\n<B>Group:</b> <a href=\"viewgroups.php?act=view&page={GROUPNAME}\">{GROUPNAME}</a><BR>\r\n<B>Location:</b> {LOCATION}<BR>\r\n<B>Mood:</b> {MOOD}<BR>\r\n<center><BR>{AVATAR}<br><BR><BR>\r\n\r\n<span class=\"main\">{IP}</span><BR></center>\r\n\r\n<BR></td>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (14, 'portal', '<table align=\"center\" width=\'100%\' border=\'0\' cellspacing=\'1\' cellpadding=\'5\'>\r\n<tr>\r\n<td id=\"mlistheader\">Links</td>\r\n<td id=\"mlistheader\" width=\"60%\" align=\"center\">{BOARDNAME}\'s {SECTION}</td>\r\n<td id=\"mlistheader\" width=\"20%\" align=\"left\">Board Stats</td>\r\n</tr>\r\n\r\n<tr>\r\n<td valign=\"top\" id=\"postslite\" width=\"20%\" align=\"left\">\r\n\r\n	<table align=\"center\" width=\'100%\' border=\'0\' cellspacing=\'1\' cellpadding=\'5\'>\r\n	<tr><td id=\"postslite\">\r\n			<ul>\r\n				<li> <a href=\"{HOMEURL}\">Home</a></li>\r\n				<li> <a href=\"{BOARDURL}\">Board</a></li>\r\n				<li> <a href=\"{PORTALURL}\">Portal</a></li>\r\n			</ul>\r\n\r\n		<tr><td id=\"mlistheader\">SowiBB Links</td></tr>\r\n		<tr>\r\n		<td>\r\n			<table width=\'100%\' align=\"center\" border=\'0\' cellspacing=\'1\' cellpadding=\'0\'>\r\n			<tr align=\"left\">\r\n			<td valign=\"top\" width=\"15%\" align=\"left\" id=\"postslite\">\r\n				<ul>\r\n					<li> <a href=\"{BOARDURL}\">Main Boards</a></li>\r\n					<li> <a href=\"{BOARDURL}/memberlist.php\">Member List</a></li>\r\n					<li> <a href=\"{BOARDURL}/search.php\">Search</a></li>\r\n					<li> <a href=\"{BOARDURL}/usercp.php\">UserCP</a></li>\r\n					<li> <a href=\"{BOARDURL}/messenger.php\">Messanger</a></li>\r\n					<li> <a href=\"{BOARDURL}/calendar.php\">Calendar</a></li>\r\n					<li> <a href=\"{BOARDURL}/downloads.php\">Downloads</a></li>\r\n					<li> <a href=\"{BOARDURL}/links.php\">Links</a></li>\r\n					<li> <a href=\"{BOARDURL}/stats.php\">Stats</a></li>\r\n				</ul>\r\n			</td>\r\n			</table>\r\n		</td>\r\n		</tr>\r\n				\r\n		<tr><td id=\"mlistheader\">Portal Links</td></tr>\r\n		<tr>\r\n		<td>\r\n			<table width=\'100%\' align=\"center\" border=\'0\' cellspacing=\'1\' cellpadding=\'0\'>\r\n			<tr align=\"left\">\r\n			<td valign=\"top\" width=\"15%\" align=\"left\" id=\"postslite\">\r\n				<ul>\r\n					<li> <a href=\"{PORTALURL}\">Main Portal</a></li>\r\n					<li> <a href=\"{PORTALURL}?act=lastactive\">Last Active Threads</a></li>\r\n		<li> <a href=\"{PORTALURL}?act=threads\">Latest Threads</a></li>\r\n					<li> <a href=\"{PORTALURL}?act=polls\">Portal Polls</a></li>\r\n					<li> <a href=\"{PORTALURL}?act=members\">Newest Members</a></li>\r\n				</td>\r\n			</table>\r\n		</td>\r\n		</tr>\r\n\r\n\r\n	</td></tr>\r\n	</table>\r\n\r\n\r\n</td>\r\n\r\n<td valign=\"top\" id=\"postsdark\" width=\"60%\" align=\"center\">\r\n	{CONTENT}\r\n<BR>\r\n</td>\r\n\r\n<td valign=\"top\" id=\"postslite\" width=\"20%\" align=\"center\">\r\n{BOARDNAME} has a total of {STATS_POSTS} posts. ({STATS_THREADS} threads and {STATS_REPLIES} replies) \r\n<BR>\r\n<br>\r\n\r\nThere is {ONLINE_USERS} users active on our forum within the past 15 minutes.<BR>\r\n{ONLINE_MEMBERS} members, with {ONLINE_GUESTS} guests online.<BR>\r\n{ONLINE_NAMES}\r\n<BR><BR>\r\nWe welcome our newest member <a href=\"{BOARDURL}/profile.php?userid={STATS_NEW_USER}\">{STATS_NEW_USER}</a>, making a total of <a href=\"{BOARDURL}/memberlist.php\">{STATS_MEMBERS}</a> registered users.\r\n</td>\r\n\r\n</td>\r\n</tr>\r\n</table>\r\n</td>\r\n</tr>\r\n</table>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (17, 'viewForum Posts', '          <td align=\"center\" nowrap id=\"tablebglite\">\r\n{POST_MARKER}\r\n</td>\r\n\r\n          <td align=\"center\" nowrap id=\"tablebglite\">\r\n\r\n<img src=\"{NEWURL}images/posts/{POSTS_ICON}.gif\"></td>\r\n\r\n          <td id=\"tablebgdark\"><span class=\"main\">{OTHER_PREFIXES} <b><a href=\"viewposts.php?act=view&page={POSTS_ID}\"><span class=\"main\">{POSTS_SUBJECT}</span></a><BR><span class=\"postdescription\">{POSTS_DESCRIPTION}</span>\r\n            </b></span></td>\r\n          <td nowrap id=\"tablebgdark\"><center><span class=\"main\"><a href=\"profile.php?userid={POSTS_USERNAME}\"><span class=\"main\">{POSTS_USERNAME}</span></a></span></center>\r\n          </td>\r\n          <td valign=\"middle\" align=\"center\" nowrap id=\"tablebglite\">\r\n<a href=\"#\" onClick=\"MyWindow=window.open(\'index.php?act=who&id={POSTS_ID}\',\'MyWindow\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=300,height=300\'); return false;\"><span class=\"main\">\r\n{POSTS_REPLIES}</span></a></td>\r\n          <td valign=\"middle\" align=\"center\" nowrap id=\"tablebgdark\"><span class=\"main\">{POSTS_VIEWS}</span>\r\n          </td>\r\n          <td valign=\"middle\" nowrap id=\"tablebglite\"> \r\n{IF_NO_REPLIES}\r\n<center><B>No Replies</b></center>\r\n{END_NO_REPLIES_IF}\r\n{IF_REPLIES}\r\n            <div align=\"left\">\r\n\r\n<span class=\"main\">By: \r\n              <a href=\"profile.php?userid={LAST_USERNAME}\"><span class=\"main\">{LAST_USERNAME}</span></a><br>\r\n              In: <a href=\"viewposts.php?act=view&page={POSTS_ID}#{LAST_ID}\"><span class=\"main\">{LAST_SUBJECT}</span></a><br>\r\n              {LAST_DATE}</span>\r\n\r\n</div>\r\n{END_REPLIES_IF}\r\n          </td>\r\n        </tr>\r\n', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (18, 'List Header', '<table border=\"0\" width=\"100%\" align=\"Center\" cellspacing=\"0\" cellpadding=\"0\">\r\n\r\n<tr>\r\n\r\n    <td bgcolor=\"#DCDCDC\">\r\n      <table border=\"0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"4\">\r\n        <tr height=\"22\"> \r\n          <td width=\"30\" nowrap height=\"22\" id=\"forumbg\"></td>\r\n          <td width=\"100%\" id=\"forumbg\">Forum</td>\r\n          <td nowrap id=\"postsbg\">Threads</td>\r\n          <td nowrap id=\"postsbg\">Posts</td>\r\n          <td nowrap id=\"lastpostbg\"> \r\n            <div align=\"center\" id=\"postsbg\">Last \r\n              Post</div>\r\n          </td>\r\n        </tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (19, 'viewForum News', '<tr height=\"22\">\r\n<td id=\"tablebglite\"></td>\r\n<td id=\"tablebglite\"></td>\r\n<td id=\"tablebgdark\"><span class=\"main\"><font color=\"#000000\"><B>Announcement:</b></font> <a href=\"viewnews.php?act=view&page={NEWS_ID}\"><span class=\"main\"><B>{NEWS_SUBJECT}</span></b></a></span></td>\r\n<td nowrap id=\"tablebgdark\"><center><span class=\"main\"><a href=\"profile.php?userid={NEWS_USERNAME}\"><span class=\"main\">{NEWS_USERNAME}</span></a></span></center></td>\r\n<td width=\"55\" align=\"center\" nowrap id=\"tablebglite\"><span class=\"main\">--</span></td>\r\n<td width=\"55\" align=\"center\" nowrap id=\"tablebgdark\"><span class=\"main\">--</span></td>\r\n<td width=\"140\" nowrap id=\"tablebglite\"><span class=\"main\">--</span></td>\r\n</tr>\r\n', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (20, 'viewForum Header', '<table border=\"0\" width=\"100%\" align=\"Center\" cellspacing=\"0\" cellpadding=\"0\">\r\n\r\n<tr>\r\n\r\n\r\n    <td bgcolor=\"#DCDCDC\">\r\n      <table border=\"0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"4\">\r\n        <tr height=\"22\"> \r\n          <td width=\"30\" nowrap id=\"forumbg\"></td> \r\n          <td width=\"30\" nowrap id=\"forumbg\"></td>\r\n          <td width=\"100%\" id=\"forumbg\">Subject</td>\r\n          <td id=\"postsbg\"><center>Poster</center></td>\r\n          <td width=\"55\" id=\"postsbg\">Replies</td>\r\n          <td width=\"55\" id=\"postsbg\">Views</td>\r\n          <td nowrap id=\"lastpostbg\"> \r\n            <div align=\"center\" id=\"postsbg\"> Last \r\n              Post</div>\r\n          </td>\r\n        </tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (21, 'viewForum Pinned', '          <td align=\"center\" nowrap id=\"tablebglite\">\r\n{POST_MARKER}\r\n</td>\r\n\r\n          <td align=\"center\" nowrap id=\"tablebglite\">\r\n\r\n<img src=\"{NEWURL}images/posts/{POSTS_ICON}.gif\"></td>\r\n\r\n          <td id=\"tablebgdark\"><span class=\"main\">{PINNED_PREFIX} {OTHER_PREFIXES} <b><a href=\"viewposts.php?act=view&page={POSTS_ID}\"><span class=\"main\">{POSTS_SUBJECT}</span></a><BR><span class=\"postdescription\">{POSTS_DESCRIPTION}</span>\r\n            </b></span></td>\r\n          <td nowrap id=\"tablebgdark\"><center><span class=\"main\"><a href=\"profile.php?userid={POSTS_USERNAME}\"><span class=\"main\">{POSTS_USERNAME}</span></a></span></center>\r\n          </td>\r\n          <td valign=\"middle\" align=\"center\" nowrap id=\"tablebglite\">\r\n<a href=\"#\" onClick=\"MyWindow=window.open(\'index.php?act=who&id={POSTS_ID}\',\'MyWindow\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=300,height=300\'); return false;\"><span class=\"main\">\r\n{POSTS_REPLIES}</span></a></td>\r\n          <td valign=\"middle\" align=\"center\" nowrap id=\"tablebgdark\"><span class=\"main\">{POSTS_VIEWS}</span>\r\n          </td>\r\n          <td valign=\"middle\" nowrap id=\"tablebglite\"> \r\n{IF_NO_REPLIES}\r\n<center><B>No Replies</b></center>\r\n{END_NO_REPLIES_IF}\r\n{IF_REPLIES}\r\n            <div align=\"left\">\r\n\r\n<span class=\"main\">By: \r\n              <a href=\"profile.php?userid={LAST_USERNAME}\"><span class=\"main\">{LAST_USERNAME}</span></a><br>\r\n              In: <a href=\"viewposts.php?act=view&page={POSTS_ID}#{LAST_ID}\"><span class=\"main\">{LAST_SUBJECT}</span></a><br>\r\n              {LAST_DATE}</span>\r\n\r\n</div>\r\n{END_REPLIES_IF}\r\n          </td>\r\n        </tr>\r\n', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (22, 'viewForum No Posts', '		<td id=\"tablebglite\"></td>\r\n		<td id=\"tablebglite\"></td>\r\n\r\n          <td id=\"tablebgdark\"><span class=\"main\"><BR><BR><p align=\"center\" valign=\"top\"><center><span class=\"mytitles\">There are no posts<BR>in this forum yet.</span></center></p><BR><BR>\r\n</font></td>\r\n          <td id=\"tablebgdark\"></td>\r\n          <td id=\"tablebglite\"></td>\r\n          <td id=\"tablebgdark\"></td>\r\n          <td id=\"tablebglite\"></td>\r\n        </tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (23, 'List Catagory', '        <tr height=\"25\" id=\"catagory\" valign=\"middle\"> \r\n          <td colspan=\"5\" height=\"25\" id=\"catagory\" valign=\"middle\"><div valign=\"middle\" align=\"left\" id=\"catagory\"><a href=\"viewcat.php?act=view&page={CAT_ID}\"><div id=\"catagory\">{CAT_NAME}</div></a></div>\r\n	<div align=\"right\" valign=\"middle\">\r\n{IF_SPONSER}\r\n<a href=\"{SPONSER_LINK}\"><img src=\"{SPONSER_IMG}\" border=\"0\"></a>\r\n{END_IF_SPONSER}</div>\r\n</div></td>\r\n        </tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (24, 'List Sub Cat', '          <td nowrap id=\"tablebglite\"><img src=\"{SUB_IMAGE}\" width=\"27\" height=\"27\" border=\"0\"></td>\r\n          <td id=\"tablebgdark\"><span class=\"main\"><b><a href=\"viewcat.php?act=view&page={SUB_ID}\"><span class=\"main\">{SUB_NAME}</span>\r\n            </a></b></span></td>\r\n          <td id=\"tablebglite\"></td>\r\n          <td id=\"tablebgdark\"></td>\r\n          <td id=\"tablebglite\"></td>\r\n        </tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (25, 'List Forums', '          <td nowrap id=\"tablebglite\">\r\n{FORUM_MARKER}\r\n</td>\r\n          <td valign=\"middle\" id=\"tablebgdark\"><span class=\"main\"><B><a href=\"forum.php?act=view&page={FORUM_ID}&id={CAT_ID}\"><span class=\"main\">{FORUM_NAME}</span>\r\n            </a></b></span><BR>\r\n<span class=\"forumdescription\">{DESCRIPTION}</span><BR>\r\n{FORUM_MODS}\r\n</span></td>\r\n          <td nowrap id=\"tablebglite\"><span class=\"main\"><center>\r\n{POSTS}\r\n		</center></span></td>          \r\n		<td nowrap id=\"tablebgdark\"><span class=\"main\"><center>\r\n{REPLIES}</center></span></div>\r\n          </td>\r\n          <td nowrap id=\"tablebglite\"> \r\n\r\n{IF_NO_REPLIES}\r\n<center><B>No Posts</b></center>\r\n{END_NO_REPLIES_IF}\r\n{IF_REPLIES}\r\n            <div align=\"left\">\r\n\r\n              In: <a href=\"viewposts.php?act=view&page={LASTID}\"><span class=\"main\">{LASTSUBJECT}</span></a><br>\r\n<span class=\"main\">By: \r\n              <a href=\"profile.php?userid={LAST_USERNAME}\"><span class=\"main\">{LAST_USERNAME}</span></a><br>\r\n              {LASTDATE}</span></div>\r\n\r\n</div>\r\n{END_REPLIES_IF}\r\n          </td>\r\n        </tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (26, 'viewPosts Reply', '<tr bgcolor=\"#779EC5\">\r\n<td width=\"20%\">\r\n<span class=\"postinfo\">Date: {DATE}</span></td>\r\n    <td width=\"80%\">\r\n<span class=\"postinfo\">{ICON} <a name=\"{ID}\"><b>Subject: {SUBJECT}</b></span>\r\n    </td>\r\n  </tr>\r\n<tr valign=\"top\">\r\n<td width=\"20%\" id=\"postuserinfo\">\r\n\r\n<center><B><font face=\"verdana\"><u><a href=\"profile.php?userid={USERID}\"><font color=\"{COLOUR}\">{USERID}</font></a></u></font></b></center>\r\n<BR><center>{PIPS}</center><BR>\r\n<B>Posts: {POSTS} </b><BR>\r\n\r\n{STATUS}<BR>\r\n\r\n<B><i>{MTITLE}</i></b><BR>\r\n<B>Group:</b> <a href=\"viewgroups.php?act=view&page={GROUPNAME}\">{GROUPNAME}</a><BR>\r\n<B>Location:</b> {LOCATION}<BR>\r\n<B>Mood:</b> {MOOD}<BR>\r\n<center><BR>{AVATAR}<br><BR><BR>\r\n\r\n<span class=\"main\">{IP}</span><BR></center>\r\n\r\n<BR></td>\r\n<td colspan=\"2\" id=\"{ALTERNATE_COLOUR}\"><p>\r\n{IF_NOT_CLOSED}\r\n<div align=\"right\"><a href=\"quote.php?id={ID}\"><img src=\"{QUOTE_IMAGE}\" border=\"0\"></a>\r\n{IF_HAS_PERM}\r\n&nbsp;&nbsp;&nbsp;&nbsp;\r\n<a href=\"moderator.php?&act=edit&page=reply&id={ID}\"><img src=\"{EDIT_IMAGE}\" border=\"0\"></a> &nbsp;&nbsp;&nbsp;&nbsp;<a href=\"moderator.php?act=delete&page=reply&id={ID}\"><img src=\"{DELETE_IMAGE}\" border=\"0\"></a>\r\n{END_IF_HAS_PERM}\r\n{END_IF_NOT_CLOSED}\r\n</div>\r\n<BR><BR>\r\n{POST}\r\n{IF_EDITED}\r\n<BR><BR><i>Post edited {WHATTIME} by {WHO}.</i>\r\n{END_IF_EDITED}\r\n<BR>\r\n<left>\r\n<BR><BR>\r\n{IF_HAS_SIG}\r\n<table border=\"1\" cellspacing=\"0\" cellpading=\"0\" bgcolor=\"ffffff\">\r\n<tr border=\"0\"><td border=\"0\"><span class=\"sig\">\r\n{SIGNATURE}</span>\r\n</td></tr></table><BR>\r\n{END_IF_HAS_SIG}\r\n<BR>\r\n</left>\r\n</td>\r\n  </tr>\r\n', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (27, 'viewPosts Header', '<table border=\"1\" cellpadding=\"2\" cellspacing=\"1\" rowspacing=\"1\" width=\"100%\" align=\"center\" nowrap>\r\n', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (28, 'viewPosts Post', '<tr bgcolor=\"#779EC5\">\r\n<td width=\"20%\">\r\n<span class=\"postinfo\">Date: {DATE}</span></td>\r\n    <td width=\"80%\">\r\n<span class=\"postinfo\">{ICON} <b>Subject: {SUBJECT}</b>\r\n{IF_DESCRIPTION}\r\n<i>({DESCRIPTION})</i>\r\n{END_IF_DESCRIPTION}</span>\r\n    </td>\r\n  </tr>\r\n<tr valign=\"top\">\r\n<td width=\"20%\" id=\"postuserinfo\">\r\n\r\n<center><B><font face=\"verdana\"><u><a href=\"profile.php?userid={USERID}\"><font color=\"{COLOUR}\">{USERID}</font></a></u></font></b></center>\r\n<BR><center>{PIPS}</center><BR>\r\n<B>Posts: {POSTS} </b><BR>\r\n\r\n{STATUS}<BR>\r\n\r\n<B><i>{MTITLE}</i></b><BR>\r\n<B>Group:</b> <a href=\"viewgroups.php?act=view&page={GROUPNAME}\">{GROUPNAME}</a><BR>\r\n<B>Location:</b> {LOCATION}<BR>\r\n<B>Mood:</b> {MOOD}<BR>\r\n<center><BR>{AVATAR}<br><BR><BR>\r\n\r\n<span class=\"main\">{IP}</span><BR></center>\r\n\r\n<BR></td>\r\n <td colspan=\"2\" id=\"postsdark\"><p>\r\n{IF_NOT_CLOSED}\r\n{IF_HAS_PERM}\r\n<div align=\"right\" valign=\"top\">\r\n<a href=\"moderator.php?&act=edit&page=posts&id={ID}\"><img src=\"{EDIT_IMAGE}\" border=\"0\"></a> &nbsp;&nbsp;&nbsp;&nbsp;<a href=\"moderator.php?act=delete&page=posts&id={ID}\"><img src=\"{DELETE_IMAGE}\" border=\"0\"></a>\r\n</div>\r\n{END_IF_HAS_PERM}\r\n{END_IF_NOT_CLOSED}\r\n{SHOW_POLL}\r\n<BR>\r\n{POST}\r\n<BR>\r\n{IF_EDITED}\r\n<BR><BR><BR><i>Post edited {WHATTIME} by {BYWHO}.</i>\r\n{END_IF_EDITED}\r\n<BR>\r\n<left>\r\n<BR><BR>\r\n{IF_HAS_SIG}\r\n<table border=\"1\" cellspacing=\"0\" cellpading=\"0\" bgcolor=\"ffffff\">\r\n<tr border=\"0\"><td border=\"0\"><span class=\"sig\">\r\n{SIGNATURE}</span>\r\n</td></tr></table><BR>\r\n<BR>\r\n{END_IF_HAS_SIG}\r\n\r\n{IF_ATTACHMENT}\r\n<i>Attachement: <a href=\"downloads.php?act=view&page={DOWNLOAD_URL}\">{DOWNLOAD_NAME}</a> ({NUM_DOWNLOADS})</i><br><BR>\r\n<BR>\r\n{END_IF_ATTACHMENT}\r\n</left>\r\n</td>\r\n  </tr>\r\n', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (29, 'Poll showForm', '<BR><form action=\"{PHP_SELF}?act=vote\" method=\"post\">\r\n{IF_OPTION1}\r\n{OPTION1} <input type=\"radio\" name=\"vote\" value=\"1\"><BR>\r\n{END_IF_OPTION1}\r\n{IF_OPTION2}\r\n{OPTION2} <input type=\"radio\" name=\"vote\" value=\"2\"><BR>\r\n{END_IF_OPTION2}\r\n{IF_OPTION3}\r\n{OPTION3} <input type=\"radio\" name=\"vote\" value=\"3\"><BR>\r\n{END_IF_OPTION3}\r\n{IF_OPTION4}\r\n{OPTION4} <input type=\"radio\" name=\"vote\" value=\"4\"><BR>\r\n{END_IF_OPTION4}\r\n{IF_OPTION5}\r\n{OPTION5} <input type=\"radio\" name=\"vote\" value=\"5\"><BR>\r\n{END_IF_OPTION5}\r\n\r\n<input type=\"hidden\" name=\"pollid\" value=\"{POLL_ID}\">\r\n<input type=\"hidden\" name=\"oldpostid\" value=\"{POST_ID}\">\r\n<BR>\r\n<input type=\"submit\" value=\"Vote\">\r\n<BR>\r\n</form>\r\n<BR>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (30, 'Poll Results', '<table border=\"0\" cellspacing=\"2\" cellpadding=\"0\">\r\n\r\n{IF_OPTION1}\r\n<tr><td> <span class=\"regular\"><B>{OPTION1}</b></span></td>\r\n<td><img height=\"9\" src=\"{VOTE_LEFT_IMAGE}\"><img height=\"9\" width=\"{WIDTH1}\" src=\"{VOTE_CENTER_IMAGE}\"><img height=\"9\" src=\"{VOTE_RIGHT_IMAGE}\"> <span class=\"regular\"><B>{PERCENT1}%</b></span> </td>\r\n<td><span class=\"main\">({VOTES1})</span></td></tr>\r\n{END_IF_OPTION1}\r\n{IF_OPTION2}\r\n<tr><td> <span class=\"regular\"><B>{OPTION2}</b></span></td>\r\n<td><img height=\"9\" src=\"{VOTE_LEFT_IMAGE}\"><img height=\"9\" width=\"{WIDTH1}\" src=\"{VOTE_CENTER_IMAGE}\"><img height=\"9\" src=\"{VOTE_RIGHT_IMAGE}\"> <span class=\"regular\"><B>{PERCENT2}%</b></span> </td>\r\n<td><span class=\"main\">({VOTES2})</span></td></tr>\r\n{END_IF_OPTION2}\r\n{IF_OPTION3}\r\n<tr><td> <span class=\"regular\"><B>{OPTION3}</b></span></td>\r\n<td><img height=\"9\" src=\"{VOTE_LEFT_IMAGE}\"><img height=\"9\" width=\"{WIDTH1}\" src=\"{VOTE_CENTER_IMAGE}\"><img height=\"9\" src=\"{VOTE_RIGHT_IMAGE}\"> <span class=\"regular\"><B>{PERCENT3}%</b></span> </td>\r\n<td><span class=\"main\">({VOTES3})</span></td></tr>\r\n{END_IF_OPTION3}\r\n{IF_OPTION4}\r\n<tr><td> <span class=\"regular\"><B>{OPTION4}</b></span></td>\r\n<td><img height=\"9\" src=\"{VOTE_LEFT_IMAGE}\"><img height=\"9\" width=\"{WIDTH1}\" src=\"{VOTE_CENTER_IMAGE}\"><img height=\"9\" src=\"{VOTE_RIGHT_IMAGE}\"> <span class=\"regular\"><B>{PERCENT4}%</b></span> </td>\r\n<td><span class=\"main\">({VOTES4})</span></td></tr>\r\n{END_IF_OPTION4}\r\n{IF_OPTION5}\r\n<tr><td> <span class=\"regular\"><B>{OPTION5}</b></span></td>\r\n<td><img height=\"9\" src=\"{VOTE_LEFT_IMAGE}\"><img height=\"9\" width=\"{WIDTH5}\" src=\"{VOTE_CENTER_IMAGE}\"><img height=\"9\" src=\"{VOTE_RIGHT_IMAGE}\"> <span class=\"regular\"><B>{PERCENT5}%</b></span> </td>\r\n<td><span class=\"main\">({VOTES5})</span></td></tr>\r\n{END_IF_OPTION5}\r\n\r\n\r\n</table>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (31, 'Poll Header', '<center>\r\n<table bgcolor=\"99D0FF\" border=\"1\">\r\n<tr bgcolor=\"99D0FF\" border=\"1\">\r\n<td bgcolor=\"99D0FF\" border=\"0\">\r\n<CENTER><span class=\"regular\">\r\n<B><span class=\"mysubtitles\">Q: {QUESTION}</span></b>\r\n<hr width=\"50%\">', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (32, 'Poll Footer', '</span></CENTER></td></tr></table><BR></center>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (33, 'active members', '        <tr id=\"catagory\"> \r\n          <td colspan=\"5\" height=\"25\"><a href=\"index.php?online=detailed&page=members\"><span class=\"mywhitetitles\">Active \r\n            Members</a> [ {GROUP_NAMES} ] </td>\r\n        </tr>\r\n\r\n        <tr height=\"35\"> \r\n          <td colspan=\"1\" id=\"tablebglite\"> \r\n            <div align=\"center\"> </div>\r\n          </td>\r\n          <td colspan=\"4\" id=\"tablebgdark\"> \r\n            <p><span class=\"main\">There are <b>{ONLINE_TOTAL}</b> users\r\n              active on our forum within the past 15 minutes.<br>\r\n<B>{ONLINE_MEMBERS}</b> members, with <B>{ONLINE_GUESTS}</b> guests online.<BR>\r\n{USERS_ONLINE}\r\n</p></span>\r\n          </td>\r\n        </tr>\r\n\r\n        <tr height=\"25\" id=\"catagory\"> \r\n          <td colspan=\"5\" height=\"25\"><span class=\"mywhitetitles\"><u>Board Stats</u></span></a></td>\r\n        </tr>\r\n\r\n        <tr height=\"35\"> \r\n          <td colspan=\"1\" id=\"tablebglite\"> \r\n            <div align=\"center\"> </div>\r\n          </td>\r\n          <td colspan=\"4\" id=\"tablebgdark\"> \r\n            <p><span class=\"main\">\r\n\r\n              {BOARD_NAME} welcomes the newest member\r\n			<a href=\"profile.php?userid={NEWEST_UID}\"><b><span class=\"main\">{NEWEST_UID}</span></b></a> \r\n              making a total of <B>{TOTAL_REGISTERED_USERS}</b> registered users.<br>\r\n\r\n              {BOARD_NAME} has a total of <B>{TOTAL_POSTS}</b> posts. (<B>{THREADS_POSTS}</b> threads and <b>{REPLY_POSTS}</b> replies)\r\n              <BR>Most users online at the same time was <B>{HOWMANY}</b> on <b>{MOST_DATE}</b>.\r\n</font>\r\n</p>\r\n\r\n          </td>\r\n        </tr>\r\n\r\n        <tr height=\"25\" id=\"catagory\"> \r\n          <td colspan=\"5\" height=\"25\"><a href=\"calendar.php\"><span class=\"mywhitetitles\">Calendar</span></a></td>\r\n        </tr>\r\n\r\n\r\n        <tr height=\"35\"> \r\n          <td colspan=\"1\" id=\"tablebglite\"> \r\n          </td>\r\n          <td colspan=\"4\" id=\"tablebgdark\"> \r\n            <p><span class=\"main\">There are <B>{NUM_EVENTS}</b> events today.\r\n{IF_NUM_EVENTS}\r\n<br>They are <a href=\"events.php?act=view&page={EVENT_ID}\"><font color=\"700000\">{EVENT_SUBJECT}</font></a>, \r\n{END_IF_NUM_EVENTS}\r\n<BR><BR>\r\nThere are <B>{NUM_BDAYS}</b> birthdays today.\r\n{IF_NUM_BDAYS}\r\n<br>Happy Birthday <font color=\"700000\"><a href=\"profile.php?userid={BDAY_USERID}\"><font color=\"700000\">{BDAY_USERID}</font></a>,  </font>{END_IF_NUM_BDAYS}\r\n		</span></p>\r\n          </td>\r\n        </tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (34, 'mlist Header', '<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" bgcolor=\"000000\">\r\n<tr><td>\r\n<table cellpadding=\"4\" cellspacing=\"1\" border=\"0\" width=\"100%\">\r\n<tr border=\"0\" width=\"100%\">\r\n<td id=\"mlistheader\">Username</td>\r\n<td id=\"mlistheader\">E-mail</td>\r\n<td id=\"mlistheader\">MSN</td>\r\n<td id=\"mlistheader\">AIM</td>\r\n<td id=\"mlistheader\">ICQ</td>\r\n<td id=\"mlistheader\">Yahoo</td>\r\n</tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (35, 'mlist NONE', '<tr bgcolor=\"FFFFFF\"><td></td><td></td><td><center><span class=\"myregtitles\">No Results</span></center></td><td></td><td></td><td></tr></tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (36, 'mlist Members', '<tr border=\"0\">\r\n<td id=\"mlistdark\">\r\n<a href=\"profile.php?userid={USERID}\" alt=\"See {USERID}\'s profile\"><font color=\"000000\">{USERID}</font></a>\r\n</td>\r\n<td id=\"mlistlite\">\r\n{IF_EMAIL}\r\n<a href=\"email.php?act=send&page={USERID}\"><font color=\"000000\">{EMAIL}</font></a>\r\n<?php\r\n{END_IF_EMAIL}\r\n\r\n</td>\r\n<td id=\"mlistdark\">\r\n{IF_HAS_MSN}\r\n<center><a href=\"#\" onClick=\"alert(\'{MSN}\')\"><img src=\"{MSN_IMAGE}\" border=\"0\" alt=\"Get {USERID}\'s MSN id\"></a></center>\r\n{END_IF_HAS_MSN}\r\n\r\n</td>\r\n<td id=\"mlistlite\">\r\n{IF_HAS_AIM}\r\n<center><a href=\"#\" onClick=\"alert(\'{AIM}\')\"><img src=\"{AIM_IMAGE}\" border=\"0\" alt=\"Get {USERID}\'s AIM name\"></a></center>\r\n{END_IF_HAS_AIM}\r\n\r\n</td>\r\n<td id=\"mlistdark\">\r\n{IF_HAS_ICQ}\r\n<center><a href=\"#\" onClick=\"alert(\'{ICQ}\')\"><img src=\"{ICQ_IMAGE}\" border=\"0\" alt=\"Get {USERID}\'s ICQ number\"></a></center>\r\n{END_IF_HAS_ICQ}\r\n\r\n</td>\r\n<td id=\"mlistlite\">\r\n{IF_HAS_YAHOO}\r\n<center><a href=\"#\" onClick=\"alert(\'{YAHOO}\')\"><img src=\"{YAHOO_IMAGE}\" border=\"0\" alt=\"Get {USERID}\'s Yahoo! name\"></a></center>\r\n{END_IF_HAS_YAHOO}\r\n\r\n</td>\r\n</tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (37, 'mlist Footer', '</table>\r\n</td></tr></table>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (38, 'Downloads header', '<table border=\"1\" cellspacing=\"0\" cellpadding=\"1\" width=\"100%\" bgcolor=\"000000\">\r\n<tr><td>\r\n	<table cellpadding=\"4\" cellspacing=\"1\" border=\"0\" width=\"100%\" height=\"100%\">\r\n	<tr><td id=\"mlistheader\" width=\"15%\">File</td><td id=\"mlistheader\" width=\"25%\">Description</td> <td id=\"mlistheader\" width=\"15%\">Added By</td><td id=\"mlistheader\" width=\"10%\">Added</td><td id=\"mlistheader\" width=\"5%\">Views</td></tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (39, 'Downloads', '	<tr>\r\n		<td id=\"mlistlite\" align=\"center\"><span class=\"plain\"><a href=\"downloads.php?act=view&page={URL}\" target=\"_BLANK\">{NAME}</a></span></td>\r\n		<td id=\"mlistdark\" align=\"center\"><span class=\"plain\">{DESCRIPTION}</span></td>\r\n		<td id=\"mlistlite\" align=\"center\"><span class=\"plain\"><a href=\"profile.php?userid={USERNAME}\">{USERNAME}</a></span></td>\r\n		<td id=\"mlistdark\" align=\"center\"><span class=\"plain\">{DATE}</span></td>\r\n		<td id=\"mlistlite\" align=\"center\"><span class=\"plain\">{DOWNLOADS}</span></td>\r\n	</tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (40, 'Downloads NONE', '<tr bgcolor=\"FFFFFF\"><td></td><td><center><span class=\"myregtitles\">No Results</span></center></td><td></td><td></td><td></td></tr></tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (41, 'Downloads Footer', '	</table>\r\n</tr></td>\r\n</table>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (42, 'Links', '	<tr>\r\n		<td id=\"mlistlite\" align=\"center\"><span class=\"plain\"><a href=\"links.php?act=view&page={URL}\" target=\"_BLANK\">{NAME}</a></span></td>\r\n		<td id=\"mlistdark\" align=\"center\"><span class=\"plain\">{DESCRIPTION}</span></td>\r\n		<td id=\"mlistlite\" align=\"center\"><span class=\"plain\"><a href=\"profile.php?userid={USERNAME}\">{USERNAME}</a></span></td>\r\n		<td id=\"mlistdark\" align=\"center\"><span class=\"plain\">{DATE}</span></td>\r\n		<td id=\"mlistlite\" align=\"center\"><span class=\"plain\">{VIEWS}</span></td>\r\n	</tr>', 'DEFAULT', '\r\n')");
$sql = mysql_query("INSERT INTO template VALUES (43, 'Links Header', '<table border=\"1\" cellspacing=\"0\" cellpadding=\"1\" width=\"100%\" bgcolor=\"000000\">\r\n<tr><td>\r\n	<table cellpadding=\"4\" cellspacing=\"1\" border=\"0\" width=\"100%\" height=\"100%\">\r\n	<tr><td id=\"mlistheader\" width=\"15%\">Link</td><td id=\"mlistheader\" width=\"25%\">Description</td> <td id=\"mlistheader\" width=\"15%\">Added By</td><td id=\"mlistheader\" width=\"10%\">Added</td><td id=\"mlistheader\" width=\"5%\">Views</td></tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (44, 'Links NONE', '<tr bgcolor=\"FFFFFF\"><td></td><td><center><span class=\"myregtitles\">No Results</span></center></td><td></td><td></td><td></td></tr></tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (45, 'Links Footer', '	</table>\r\n</tr></td>\r\n</table>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (46, 'Signup Form', '<center>\r\n<span class=\"mytitles\">New User Registration</span>\r\n<hr width=\"50%\">\r\n\r\n<p><span class=\"plain\"><font color=orangered size=+1><tt><b>*</b></tt></font>\r\n   indicates a required field</span></p>\r\n<form method=post action=\"{PHP_SELF}?act=submit\">\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"5\">\r\n    <tr>\r\n        <td align=\"left\">\r\n            <p><span class=\"plain\">Username</span></p>\r\n        </td>\r\n        <td>\r\n            <input name=\"newid\" type=\"text\" maxlength=\"100\" size=\"25\">\r\n            <font color=\"orangered\" size=\"+1\"><tt><b><span class=\"plain\">*</span></b></tt></font>\r\n        </td>\r\n    </tr>\r\n	    <tr>\r\n        <td align=\"left\">\r\n            <p><span class=\"plain\">Password</span></p>\r\n        </td>\r\n        <td>\r\n            <input name=\"newpass\" type=\"password\" maxlength=\"100\" size=\"25\">\r\n            <font color=\"orangered\" size=\"+1\"><tt><b><span class=\"plain\">*</span></b></tt></font>\r\n        </td>\r\n    </tr>\r\n	    <tr>\r\n        <td align=\"left\">\r\n            <p><span class=\"plain\">Password (Same)</span></p>\r\n        </td>\r\n        <td>\r\n            <input name=\"newpass2\" type=\"password\" maxlength=\"100\" size=\"25\">\r\n            <font color=\"orangered\" size=\"+1\"><tt><b><span class=\"plain\">*</span></b></tt></font>\r\n        </td>\r\n    </tr>\r\n    <tr>\r\n        <td align=\"left\">\r\n            <p><span class=\"plain\">MSN</span></p>\r\n        </td>\r\n        <td>\r\n            <input name=\"msn\" type=\"text\" maxlength=\"100\" size=\"25\">\r\n        </td>\r\n    </tr>\r\n    <tr>\r\n        <td align=\"left\">\r\n            <p><span class=\"plain\">Yahoo</span></p>\r\n        </td>\r\n        <td>\r\n            <input name=\"yahoo\" type=\"text\" maxlength=\"100\" size=\"25\">\r\n        </td>\r\n    </tr>\r\n    <tr>\r\n        <td align=\"left\">\r\n            <p><span class=\"plain\">AIM</span></p>\r\n        </td>\r\n        <td>\r\n            <input name=\"aim\" type=\"text\" maxlength=\"100\" size=\"25\">\r\n        </td>\r\n    </tr>\r\n    <tr>\r\n        <td align=\"left\">\r\n            <p><span class=\"plain\">ICQ</span></p>\r\n        </td>\r\n        <td>\r\n            <input name=\"icq\" type=\"text\" maxlength=\"100\" size=\"25\">\r\n        <td align=\"right\">\r\n    </tr>\r\n    <tr>\r\n        <td align=\"left\">\r\n            <p><span class=\"plain\">E-Mail Address</span></p>\r\n        </td>\r\n        <td>\r\n            <input name=\"newemail\" type=\"text\" maxlength=\"100\" size=\"25\">\r\n            <font color=\"orangered\" size=\"+1\"><tt><b><span class=\"plain\">*</span></b></tt></font>\r\n        </td>\r\n    </tr>\r\n        <td align=\"left\">\r\n<p></p>\r\n        </td>\r\n    </tr>\r\n    <tr>\r\n        <td align=\"center\" colspan=\"2\">\r\n            <hr noshade color=\"black\">\r\n		 <input type=\"hidden\" name=\"refer\" value=\"{REFERER}\">\r\n            <input type=\"submit\" value=\"Register\">\r\n        </td>\r\n    </tr>\r\n</table>\r\n</form>\r\n</center>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (47, 'Top Viewed List', '<tr><td><center><span class=\"plain\">{TOP_VIEWED_VIEWS}</span></span></td><td><center><span class=\"plain\"><a href=\"viewposts.php?act=view&page={TOP_VIEWED_ID}\">{TOP_VIEWED_SUBJECT}</a></span></center></td><td><center><span class=\"plain\"><a href=\"profile.php?userid={TOP_VIEWED_USERNAME}\">{TOP_VIEWED_USRENAME}</a></span></center></td></tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (48, 'Top Poster List', '<tr><td><center><span class=\"plain\">{TOP_POSTER_POSTS}</span></span></td><td><center><span class=\"plain\"><a href=\"profile.php?userid={TOP_POSTER_USERNAME}\">{TOP_POSTER_USERNAME}</a></span></center></td><td><center><span class=\"plain\"><a href=\"email.php?act=send&page={TOP_POSTER_USERNAME}\">{TOP_POSTER_EMAIL}</a></span></center></td></tr>', 'DEFAULT', '')");
$sql = mysql_query("INSERT INTO template VALUES (191, 'Stats', '<table border=\"1\" cellspacing=\"0\" cellpadding=\"1\" width=\"100%\" bgcolor=\"000000\">\r\n<tr><td>\r\n<table cellpadding=\"4\" cellspacing=\"1\" border=\"0\" width=\"100%\" height=\"100%\">\r\n<tr><td id=\"mlistheader\">Today\'s Stats</td><td id=\"mlistheader\">Board Stats</td></tr>\r\n<tr>\r\n<td id=\"mlistlite\" width=\"50%\">\r\n<center>\r\n<table border=\"1\" bordercolor=\"000000\" cellspacing=\"0\" celpadding=\"1\" width=\"99%\">\r\n<tr><td width=\"50%\"><center><span class=\"plain\"><B>Number Of Posts Today</b></span></center></td><td width=\"50%\"><center><span class=\"plain\">{NUM_POSTS_TODAY}</span></center></td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Number Of Replies Today</b></span></center></td><td><center><span class=\"plain\">{NUM_REPLIES_TODAY}</span></center></td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Number Of Users Registered Today</b></span></center></td><td><center><span class=\"plain\">{NUM_REGSISTRATIONS_TODAY}</span></center></td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Number Of Hits Today</b></span></center></td><td><center><span class=\"plain\">{TODAYS_HITS}</span></center></td></tr>\r\n</table>\r\n</center>\r\n</td><td id=\"mlistlite\" width=\"50%\">\r\n<center>\r\n<table border=\"1\" bordercolor=\"000000\" cellspacing=\"0\" celpadding=\"1\" width=\"99%\">\r\n<tr><td width=\"50%\"><center><span class=\"plain\"><B>Number Of Posts</b></span></center></td><td width=\"50%\"><center><span class=\"plain\">{NUM_REPLIES}</span></center></td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Number Of Replies</b></span></center></td><td><center><span class=\"plain\">{NUM_REPLIES}</span></center></td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Number Of Users Registered</b></span></center></td><td><center><span class=\"plain\"><a href=\"memberlist.php\" target=\"_BLANK\"><font color=\"000000\">{NUM_USERS}</font></a></span></center></td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Number Of Hits</b></span></center></td><td><center><span class=\"plain\">{HITS}</span></center></td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Newest User</b></span></center></td><td><center><span class=\"plain\"><a href=\"profile.php?userid={NEWEST_USERID}\" target=\"_BLANK\"><font color=\"000000\">{NEWEST_USERID}</font></a></span></center></td></tr>\r\n<tr><td><span class=\"plain\"><center><B>Board Created On</b></center></span></td><td><span class=\"plain\"><center>{CREATED}</center></span></td></tr>\r\n</table>\r\n</center>\r\n</td>\r\n</tr>\r\n\r\n<tr><td id=\"mlistheader\">Other Board Stats</td><td id=\"mlistheader\">Member Stats</td></tr><tr>\r\n<td id=\"mlistlite\">\r\n\r\n<table border=\"1\" bordercolor=\"000000\" cellspacing=\"0\" celpadding=\"1\" width=\"99%\">\r\n<tr><td width=\"50%\"><center><span class=\"plain\"><B>Number Of Forums</b></span></center></td><td width=\"50%\"><center><span class=\"plain\">{NUM_FORUMS</span></center></td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Number Of Catagories</b></span></center></td><td><center><span class=\"plain\">{NUM_CATAGORIES}</span></center></td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Number Of PM\'s Sent</b></span></center></td><td><center><span class=\"plain\">{NUM_PMS}</span></center></td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Number Of Referals</b></span></center></td><td><center><span class=\"plain\">{REFERALS}</span></center></td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Last Post On Board</b></span></center></td><td><center><span class=\"plain\"><a href=\"viewposts?act=view&page={LAST_POST_ID}\" target=\"_BLANK\"><font color=\"000000\">{LAST_POST_SUBJECT}</font></a></span></center></td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Posts Per Day</b></span></center></td><td><center><span class=\"plain\">{POSTS_PER_DAY}</span></center></td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Members Per Day</b></span></center></td><td><center><span class=\"plain\">{USERS_PER_DAY}</span></center></td></tr>\r\n</table>\r\n</td>\r\n\r\n<td id=\"mlistlite\">\r\n<center>\r\n<table border=\"1\" bordercolor=\"000000\" cellspacing=\"0\" celpadding=\"1\" width=\"99%\">\r\n<tr><td width=\"50%\"><center><span class=\"plain\"><B>Most Referals</b></span></center></td><td width=\"50%\"><center><span class=\"plain\"><a href=\"profile.php?userid={TOP_RERFERER}\" target=\"_BLANK\"><font color=\"000000\">{TOP_REFERER}</font></a></span></center></td></tr>\r\n<tr><td width=\"50%\"><center><span class=\"plain\"><B>Top Topic Starter</b></span></center></td><td width=\"50%\"><center><span class=\"plain\"><a href=\"profile.php?userid={TOP_THREAD_STARTER}\" target=\"_BLANK\"><font color=\"000000\">{TOP_THREAD_STARTER}</font></a></span></center></td></tr>\r\n<tr><td width=\"50%\"><center><span class=\"plain\"><B>Top Poster</b></span></center></td><td width=\"50%\"><center><span class=\"plain\"><a href=\"profile.php?userid={TOP_POSTER}\" target=\"_BLANK\"><font color=\"000000\">{TOP_POSTER}</font></a></span></center></td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Number Of Avatars</b></span></center></td><td><center><span class=\"plain\">{NUM_AVATARS}</td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Number Of Users</b></span></center></td><td><center><span class=\"plain\">{NUM_UESRS}</td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Number Of Males</b></span></center></td><td><center><span class=\"plain\">{NUM_MALES}</td></tr>\r\n<tr><td><center><span class=\"plain\"><B>Number Of Females</b></span></center></td><td><center><span class=\"plain\">{NUM_FEMALES}</td></tr>\r\n</table>\r\n</center>\r\n</td></tr>\r\n\r\n<tr><td id=\"mlistheader\">Top 10 Most Viewed Topics</td><td id=\"mlistheader\">Top 10 Posters</td></tr><tr>\r\n<td id=\"mlistlite\" valign=\"top\" align=\"center\">\r\n\r\n<table border=\"1\" bordercolor=\"000000\" cellspacing=\"0\" celpadding=\"1\" width=\"99%\">\r\n<tr><td width=\"5%\"><center><span class=\"plain\"><B>Views</b></span></span></td><td width=\"47%\"><center><span class=\"plain\"><b>Topic</b></span></center></td><td width=\"47%\"><center><span class=\"plain\"><B>Poster</b></span></center></td></tr>\r\n{TOP_VIEWED_ROWS}\r\n</table>\r\n\r\n</td><td id=\"mlistlite\" valign=\"top\" align=\"center\">\r\n\r\n<table border=\"1\" bordercolor=\"000000\" cellspacing=\"0\" celpadding=\"1\" width=\"99%\">\r\n<tr><td width=\"5%\"><center><span class=\"plain\"><B>Posts</b></span></span></td><td width=\"47%\"><center><span class=\"plain\"><b>Username</b></span></center></td><td width=\"47%\"><center><span class=\"plain\"><B>E-mail</b></span></center></td></tr>\r\n{TOP_POSTER_ROWS}\r\n</table>', 'DEFAULT', '')");


echo "Upgrade successful! You should now delete this file, or others will be able to overwrite your skin to default at any point in time.";

?>
Return current item: SowiBB