<?xml version="1.0" encoding="UTF-8"?>
<theme name="MyBB Master Style" version="1600">
	<properties>
		<templateset><![CDATA[1]]></templateset>
		<imgdir><![CDATA[images]]></imgdir>
		<logo><![CDATA[images/logo.gif]]></logo>
		<tablespace><![CDATA[4]]></tablespace>
		<borderwidth><![CDATA[1]]></borderwidth>
		<editortheme><![CDATA[default]]></editortheme>
	</properties>
	<stylesheets>
		<stylesheet name="global.css" version="1600"><![CDATA[body {
	background: #efefef;
	color: #000;
	font-family: Verdana, Arial, Sans-Serif;
	font-size: 13px;
	text-align: center; /* IE 5 fix */
	line-height: 1.4;
}

a:link {
	color: #026CB1;
	text-decoration: none;
}

a:visited {
	color: #026CB1;
	text-decoration: none;
}

a:hover, a:active {
	color: #000;
	text-decoration: underline;
}

#container {
	width: 95%;
	background: #fff;
	border: 1px solid #e4e4e4;
	color: #000000;
	margin: auto auto;
	padding: 20px;
	text-align: left; /* IE 5 fix */
}

#content {
	/* FIX: Make internet explorer wrap correctly */
	width: auto !important;

}

.menu ul {
	color: #000000;
	font-weight: bold;
	text-align: right;
	padding: 4px;
}

.menu ul a:link {
	color: #000000;
	text-decoration: none;
}

.menu ul a:visited {
	color: #000000;
	text-decoration: none;
}

.menu ul a:hover, .menu ul a:active {
	color: #4874a3;
	text-decoration: none;
}

#panel {
	background: #efefef;
	color: #000000;
	font-size: 11px;
	border: 1px solid #D4D4D4;
	padding: 8px;
}

#panel .remember_me input {
	vertical-align: middle;
	margin-top: -1px;
}

table {
	color: #000000;
	font-family: Verdana, Arial, Sans-Serif;
	font-size: 13px;
}

.tborder {
	background: #81A2C4;
	width: 100%;
	margin: auto auto;
	border: 1px solid #0F5C8E;
}

.thead {
	background: #026CB1 url(images/thead_bg.gif) top left repeat-x;
	color: #ffffff;
}

.thead a:link {
	color: #ffffff;
	text-decoration: none;
}

.thead a:visited {
	color: #ffffff;
	text-decoration: none;
}

.thead a:hover, .thead a:active {
	color: #ffffff;
	text-decoration: underline;
}

.tcat {
	background: #ADCBE7;
	color: #000000;
	font-size: 12px;
}

.tcat a:link {
	color: #000000;
}

.tcat a:visited {
	color: #000000;
}

.tcat a:hover, .tcat a:active {
	color: #000000;
}

.trow1 {
	background: #f5f5f5;
}

.trow2 {
	background: #EFEFEF;
}

.trow_shaded {
	background: #ffdde0;
}

.trow_selected td {
	background: #FFFBD9;
}

.trow_sep {
	background: #e5e5e5;
	color: #000;
	font-size: 12px;
	font-weight: bold;
}

.tfoot {
	background: #026CB1 url(images/thead_bg.gif) top left repeat-x;
	color: #ffffff;
}

.tfoot a:link {
	color: #ffffff;
	text-decoration: none;
}

.tfoot a:visited {
	color: #ffffff;
	text-decoration: none;
}

.tfoot a:hover, .tfoot a:active {
	color: #ffffff;
	text-decoration: underline;
}

.bottommenu {
	background: #efefef;
	color: #000000;
	border: 1px solid #4874a3;
	padding: 10px;
}

.navigation {
	color: #000000;
	font-size: 13px;
	font-weight: bold;
}

.navigation a:link {
	text-decoration: none;
}

.navigation a:visited {
	text-decoration: none;
}

.navigation a:hover, .navigation a:active {
	text-decoration: none;
}

.navigation .active {
	color: #000000;
	font-size: 13px;
	font-weight: bold;
}

.smalltext {
	font-size: 11px;
}

.largetext {
	font-size: 16px;
	font-weight: bold;
}

input.textbox {
	background: #ffffff;
	color: #000000;
	border: 1px solid #0f5c8e;
	padding: 1px;
}

textarea {
	background: #ffffff;
	color: #000000;
	border: 1px solid #0f5c8e;
	padding: 2px;
	font-family: Verdana, Arial, Sans-Serif;
	line-height: 1.4;
	font-size: 13px;
}

select {
	background: #ffffff;
	border: 1px solid #0f5c8e;
}

.editor {
	background: #f1f1f1;
	border: 1px solid #ccc;
}

.editor_control_bar {
	background: #fff;
	border: 1px solid #0f5c8e;
}

.autocomplete {
	background: #fff;
	border: 1px solid #000;
	color: black;
}

.autocomplete_selected {
	background: #adcee7;
	color: #000;
}

.popup_menu {
	background: #ccc;
	border: 1px solid #000;
}

.popup_menu .popup_item {
	background: #fff;
	color: #000;
}

.popup_menu .popup_item:hover {
	background: #C7DBEE;
	color: #000;
}

.trow_reputation_positive {
	background: #ccffcc;
}

.trow_reputation_negative {
	background: #ffcccc;
}

.reputation_positive {
	color: green;
}

.reputation_neutral {
	color: #444;
}

.reputation_negative {
	color: red;
}

.invalid_field {
	border: 1px solid #f30;
	color: #f30;
}

.valid_field {
	border: 1px solid #0c0;
}

.validation_error {
	background: url(images/invalid.gif) no-repeat center left;
	color: #f30;
	margin: 5px 0;
	padding: 5px;
	font-weight: bold;
	font-size: 11px;
	padding-left: 22px;
}

.validation_success {
	background: url(images/valid.gif) no-repeat center left;
	color: #00b200;
	margin: 5px 0;
	padding: 5px;
	font-weight: bold;
	font-size: 11px;
	padding-left: 22px;
}

.validation_loading {
	background: url(images/spinner.gif) no-repeat center left;
	color: #555;
	margin: 5px 0;
	padding: 5px;
	font-weight: bold;
	font-size: 11px;
	padding-left: 22px;
}

/* Additional CSS (Master) */
img {
	border: none;
}

.clear {
	clear: both;
}

.hidden {
	display: none;
	float: none;
	width: 1%;
}

.hiddenrow {
	display: none;
}

.selectall {
	background-color: #FFFBD9;
	font-weight: bold;
	text-align: center;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

.menu ul {
	list-style: none;
	margin: 0;
}

.menu li {
	display: inline;
	padding-left: 5px;
}

.menu img {
	padding-right: 5px;
	vertical-align: top;
}

#panel .links {
	margin: 0;
	float: right;
}

.expcolimage {
	float: right;
	width: auto;
	vertical-align: middle;
	margin-top: 3px;
}

img.attachment {
	border: 1px solid #E9E5D7;
	padding: 2px;
}

hr {
	background-color: #000000;
	color: #000000;
	height: 1px;
	border: 0px;
}

#copyright {
	font: 11px Verdana, Arial, Sans-Serif;
	margin: 0;
	padding: 10px 0 0 0;
}

#debug {
	float: right;
	text-align: right;
	margin-top: 0;
}

blockquote {
	border: 1px solid #ccc;
	margin: 0;
	background: #fff;
	padding: 4px;
}

blockquote cite {
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	font-style: normal;
	display: block;
	margin: 4px 0;
}

blockquote cite span {
	float: right;
	font-weight: normal;
}

blockquote cite span.highlight {
	float: none;
	font-weight: bold;
	padding-bottom: 0;
}

.codeblock {
	background: #fff;
	border: 1px solid #ccc;
	padding: 4px;
}

.codeblock .title {
	border-bottom: 1px solid #ccc;
	font-weight: bold;
	margin: 4px 0;
}

.codeblock code {
	overflow: auto;
	height: auto;
	max-height: 200px;
	display: block;
	font-family: Monaco, Consolas, Courier, monospace;
	font-size: 13px;
}

.subforumicon {
	border: 0;
	vertical-align: middle;
}

.separator {
	margin: 5px;
	padding: 0;
	height: 0px;
	font-size: 1px;
	list-style-type: none;
}

form {
	margin: 0;
	padding: 0;
}

.popup_menu .popup_item_container {
	margin: 1px;
	text-align: left;
}

.popup_menu .popup_item {
	display: block;
	padding: 3px;
	text-decoration: none;
	white-space: nowrap;
}

.popup_menu a.popup_item:hover {
	text-decoration: none;
}

.autocomplete {
	text-align: left;
}

.subject_new {
	font-weight: bold;
}

.highlight {
	background: #FFFFCC;
	padding-top: 3px;
	padding-bottom: 3px;
}

.pm_alert {
	background: #FFF6BF;
	border: 1px solid #FFD324;
	text-align: center;
	padding: 5px 20px;
	margin-bottom: 15px;
	font-size: 11px;
}

.red_alert {
	background: #FBE3E4;
	border: 1px solid #A5161A;
	color: #A5161A;
	text-align: center;
	padding: 5px 20px;
	margin-bottom: 15px;
	font-size: 11px;
}

.high_warning {
	color: #CC0000;
}

.moderate_warning {
	color: #F3611B;
}

.low_warning {
	color: #AE5700;
}

div.error {
	padding: 5px 10px;
	border-top: 2px solid #FFD324;
	border-bottom: 2px solid #FFD324;
	background: #FFF6BF;
	font-size: 12px;
}

div.error p {
	margin: 0;
	color: #000;
	font-weight: normal;
}

div.error p em {
	font-style: normal;
	font-weight: bold;
	padding-left: 24px;
	display: block;
	color: #C00;
	background: url('images/error.gif') no-repeat 0;
}

div.error.ul {
	margin-left: 24px;
}

.online {
	color: #15A018;
}

.offline {
	color: #C7C7C7;
}

.pagination {
	font-size: 11px;
	padding-top: 10px;
	margin-bottom: 5px;
}

.tfoot .pagination, .tcat .pagination {
	padding-top: 0;
}
.pagination .pages {
	font-weight: bold;
}

.pagination .pagination_current, .pagination a {
	padding: 2px 6px;
	margin-bottom: 3px;
}

.pagination a {
	border: 1px solid #81A2C4;
}

.pagination .pagination_current {
	background: #F5F5F5;
	border: 1px solid #81A2C4;
	font-weight: bold;
	color: #000;
}

.pagination a:hover {
	background: #F5F5F5;
	text-decoration: none;
}

.thread_legend, .thread_legend dd {
	margin: 0;
	padding: 0;
}

.thread_legend dd {
	padding-bottom: 4px;
	margin-right: 15px;
}

.thread_legend img {
	margin-right: 4px;
	vertical-align: bottom;
}

.forum_legend, .forum_legend dt, .forum_legend dd {
	margin: 0;
	padding: 0;
}

.forum_legend dd {
	float: left;
	margin-right: 10px;
}

.forum_legend dt {
	margin-right: 10px;
	float: left;
}

.success_message {
	color: #00b200;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

.error_message {
	color: #C00;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

.post_body {
	padding: 5px;
}

.post_content {
	padding: 5px 10px;
}

.quick_jump {
	background: url('images/jump.gif') no-repeat 0;
	width: 13px;
	height: 13px;
	padding-left: 13px; /* amount of padding needed for image to fully show */
	vertical-align: middle;
	border: none;
}

.repbox {
	font-size:16px;
	font-weight: bold;
	padding:5px 7px 5px 7px;
}

._neutral {
	background-color:#FAFAFA;
	color: #999999;
	border:1px solid #CCCCCC;
}

._minus {
	background-color: #FDD2D1;
	color: #CB0200;
	border:1px solid #980201;
}

._plus {
	background-color:#E8FCDC;
	color: #008800;
	border:1px solid #008800;
}

.pagination_breadcrumb {
	background-color: #f5f5f5;
	border: 1px solid #fff;
	outline: 1px solid #ccc;
	padding: 5px;
	margin-top: 5px;
	font-weight: normal;
}

.pagination_breadcrumb_link {
	vertical-align: middle;
	cursor: pointer;
}]]>
		</stylesheet>
		<stylesheet name="usercp.css" attachedto="usercp.php|usercp2.php|private.php" version="1600"><![CDATA[.usercp_nav_item {
	display: block;
	padding: 1px 0 1px 23px;
}
.usercp_nav_composepm {
	background: url('images/usercp/composepm.gif') no-repeat left center;
}

.usercp_nav_pmfolder {
	background: url('images/usercp/pmfolder.gif') no-repeat left center;
}

.usercp_nav_sub_pmfolder {
	padding-left: 40px;
	background: url('images/usercp/sub_pmfolder.gif') no-repeat left center;
}

.usercp_nav_trash_pmfolder {
	padding-left: 40px;
	background: url('images/usercp/trash_pmfolder.gif') no-repeat left center;
}

.usercp_nav_pmtracking {
	background: url('images/usercp/pmtracking.gif') no-repeat left center;
}

.usercp_nav_pmfolders {
	background: url('images/usercp/editfolders.gif') no-repeat left center;
}

.usercp_nav_profile {
	background: url('images/usercp/profile.gif') no-repeat left center;
}

.usercp_nav_email {
	padding-left: 40px;
	background: url('images/usercp/email.gif') no-repeat left center;
}

.usercp_nav_password {
	padding-left: 40px;
	background: url('images/usercp/password.gif') no-repeat left center;
}

.usercp_nav_username {
	padding-left: 40px;
	background: url('images/usercp/username.gif') no-repeat left center;
}

.usercp_nav_editsig {
	padding-left: 40px;
	background: url('images/usercp/editsig.gif') no-repeat left center;
}

.usercp_nav_avatar {
	padding-left: 40px;
	background: url('images/usercp/avatar.gif') no-repeat left center;
}

.usercp_nav_options {
	background: url('images/usercp/options.gif') no-repeat left center;
}

.usercp_nav_usergroups {
	background: url('images/usercp/usergroups.gif') no-repeat left center;
}

.usercp_nav_editlists {
	background: url('images/usercp/editlists.gif') no-repeat left center;
}

.usercp_nav_attachments {
	background: url('images/usercp/attachments.gif') no-repeat left center;
}

.usercp_nav_drafts {
	background: url('images/usercp/drafts.gif') no-repeat left center;
}

.usercp_nav_subscriptions {
	background: url('images/usercp/subscriptions.gif') no-repeat left center;
}

.usercp_nav_fsubscriptions {
	background: url('images/usercp/fsubscriptions.gif') no-repeat left center;
}

.usercp_nav_notepad {
	background: url('images/usercp/notepad.gif') no-repeat left center;
}

.usercp_nav_viewprofile {
	background: url('images/usercp/viewprofile.gif') no-repeat left center;
}

.usercp_nav_home {
	background: url('images/usercp/home.gif') no-repeat left center;
}

.usercp_notepad {
	width: 99%;
}

.usercp_container {
	margin: 5px;
	padding: 8px;
	border:1px solid #CCCCCC;
}]]></stylesheet>
		<stylesheet name="modcp.css" attachedto="modcp.php" version="1400"><![CDATA[.modcp_nav_item {
	display: block;
	padding: 1px 0 1px 23px;
}

.modcp_nav_home {
	background: url('images/modcp/home.gif') no-repeat left center;
}

.modcp_nav_announcements {
	background: url('images/modcp/announcements.gif') no-repeat left center;
}

.modcp_nav_reports {
	background: url('images/modcp/reports.gif') no-repeat left center;
}

.modcp_nav_modqueue {
	background: url('images/modcp/modqueue.gif') no-repeat left center;
}

.modcp_nav_modlogs {
	background: url('images/modcp/modlogs.gif') no-repeat left center;
}

.modcp_nav_editprofile {
	background: url('images/modcp/editprofile.gif') no-repeat left center;
}

.modcp_nav_banning {
	background: url('images/modcp/banning.gif') no-repeat left center;
}

.modcp_nav_warninglogs {
	background: url('images/modcp/warninglogs.gif') no-repeat left center;
}

.modcp_nav_ipsearch {
	background: url('images/modcp/ipsearch.gif') no-repeat left center;
}

.modqueue_message {
	overflow: auto;
	max-height: 250px;
}

.modqueue_controls {
	width: 270px;
	float: right;
	text-align: center;
	border: 1px solid #ccc;
	background: #fff;
	padding: 6px;
	font-weight: bold;
}

.modqueue_controls label {
	margin-right: 8px;
}

.label_radio_ignore, .label_radio_delete, .label_radio_approve {
	font-weight: bold;
}

.modqueue_meta {
	color: #444;
	font-size: 95%;
	margin-bottom: 8px;
}

.modqueue_mass {
	list-style: none;
	margin: 0;
	width: 150px;
	padding: 0;
}

.modqueue_mass li {
	margin-bottom: 4px;
	padding: 0;
}

.modqueue_mass li a {
	display: block;
	padding: 4px;
	border: 1px solid transparent;
}

.modqueue_mass li a:hover {
	background: #efefef;
	border: 1px solid #ccc;
	text-decoration: none;
}]]></stylesheet>
		<stylesheet name="star_ratings.css" attachedto="forumdisplay.php|showthread.php" version="1400"><![CDATA[.star_rating,
.star_rating li a:hover,
.star_rating .current_rating {
	background: url(images/star_rating.gif) left -1000px repeat-x;
	vertical-align: middle;
}

.star_rating {
	position: relative;
	width:80px;
	height:16px;
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 0;
	background-position: left top;
}

td .star_rating {
	margin: auto;
}

.star_rating li {
	display: inline;
}

.star_rating li a,
.star_rating .current_rating {
	position: absolute;
	text-indent: -1000px;
	height: 16px;
	line-height: 16px;
	outline: none;
	overflow: hidden;
	border: none;
	top:0;
	left:0;
}

.star_rating_notrated li a:hover {
	background-position: left bottom;
}

.star_rating li a.one_star {
	width:20%;
	z-index:6;
}

.star_rating li a.two_stars {
	width:40%;
	z-index:5;
}

.star_rating li a.three_stars {
	width:60%;
	z-index:4;
}

.star_rating li a.four_stars {
	width:80%;
	z-index:3;
}

.star_rating li a.five_stars {
	width:100%;
	z-index:2;
}

.star_rating .current_rating {
	z-index:1;
	background-position: left center;
}

.star_rating_success, .success_message {
	color: #00b200;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

.inline_rating {
	float: left;
	vertical-align: middle;
	padding-right: 5px;
}]]></stylesheet>
		<stylesheet name="showthread.css" attachedto="showthread.php" version="1400"><![CDATA[ul.thread_tools, ul.thread_tools li {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.thread_tools li {
	padding-left: 26px;
	padding-bottom: 4px;
	margin-bottom: 3px;
	font-size: 11px;
}

ul.thread_tools li.printable {
	background: url('images/printable.gif') no-repeat 0px 0px;
}

ul.thread_tools li.sendthread {
	background: url('images/send.gif') no-repeat 0px 0px;
}

ul.thread_tools li.subscription_add {
	background: url('images/subscribe.gif') no-repeat 0px 0px;
}

ul.thread_tools li.subscription_remove {
	background: url('images/unsubscribe.gif') no-repeat 0px 0px;
}]]></stylesheet>
	</stylesheets>
	<templates>
			<template name="forumdisplay_threadlist" version="1603"><![CDATA[<div class="float_left">
	{$multipage}
</div>
<div class="float_right">
	{$newthread}
</div>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
	<tr>
		<td class="thead" colspan="{$colspan}">
			<div style="float: right;">
				<span class="smalltext"><strong><a href="misc.php?action=markread&amp;fid={$fid}{$post_code_string}">{$lang->markforum_read}</a> | <a href="usercp2.php?action={$add_remove_subscription}subscription&amp;type=forum&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a>{$clearstoredpass}</strong></span>
			</div>
			<div>
				<strong>{$foruminfo['name']}</strong>
			</div>
		</td>
	</tr>
	<tr>
		<td class="tcat" colspan="3" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow['subject']} / <a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
		<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
		<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
		{$ratingcol}
		<td class="tcat" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
		{$inlinemodcol}
	</tr>
	{$selectall}
	{$announcementlist}
	{$threads}
	<tr>
		<td class="tfoot" align="right" colspan="{$colspan}">
			<form action="forumdisplay.php" method="get">
				<input type="hidden" name="selectall" value="{$allselected}" />
				<input type="hidden" name="fid" value="{$fid}" />
				<select name="sortby">
					<option value="subject" {$sortsel['subject']}>{$lang->sort_by_subject}</option>
					<option value="lastpost" {$sortsel['lastpost']}>{$lang->sort_by_lastpost}</option>
					<option value="starter" {$sortsel['starter']}>{$lang->sort_by_starter}</option>
					<option value="started" {$sortsel['started']}>{$lang->sort_by_started}</option>
					{$ratingsort}
					<option value="replies" {$sortsel['replies']}>{$lang->sort_by_replies}</option>
					<option value="views" {$sortsel['views']}>{$lang->sort_by_views}</option>
				</select>
				<select name="order">
					<option value="asc" {$ordersel['asc']}>{$lang->sort_order_asc}</option>
					<option value="desc" {$ordersel['desc']}>{$lang->sort_order_desc}</option>
				</select>
				<select name="datecut">
					<option value="1" {$datecutsel['1']}>{$lang->datelimit_1day}</option>
					<option value="5" {$datecutsel['5']}>{$lang->datelimit_5days}</option>
					<option value="10" {$datecutsel['10']}>{$lang->datelimit_10days}</option>
					<option value="20" {$datecutsel['20']}>{$lang->datelimit_20days}</option>
					<option value="50" {$datecutsel['50']}>{$lang->datelimit_50days}</option>
					<option value="75" {$datecutsel['75']}>{$lang->datelimit_75days}</option>
					<option value="100" {$datecutsel['100']}>{$lang->datelimit_100days}</option>
					<option value="365" {$datecutsel['365']}>{$lang->datelimit_lastyear}</option>
					<option value="9999" {$datecutsel['9999']}>{$lang->datelimit_beginning}</option>
				</select>
				{$gobutton}
			</form>
		</td>
	</tr>
</table>
<div class="float_left">
	{$multipage}
</div>
<div class="float_right" style="margin-top: 4px;">
	{$newthread}
</div>
<br style="clear: both;" />
<br />
<div class="float_left">
	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><img src="{$theme['imgdir']}/newfolder.gif" alt="{$lang->new_thread}" title="{$lang->new_thread}" /> {$lang->new_thread}</dd>
			<dd><img src="{$theme['imgdir']}/newhotfolder.gif" alt="{$lang->new_hot_thread}" title="{$lang->new_hot_thread}" /> {$lang->new_hot_thread}</dd>
			<dd><img src="{$theme['imgdir']}/hotfolder.gif" alt="{$lang->hot_thread}" title="{$lang->hot_thread}" /> {$lang->hot_thread}</dd>
		</dl>
	</div>

	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><img src="{$theme['imgdir']}/folder.gif" alt="{$lang->no_new_thread}" title="{$lang->no_new_thread}" /> {$lang->no_new_thread}</dd>
			<dd><img src="{$theme['imgdir']}/dot_folder.gif" alt="{$lang->posts_by_you}" title="{$lang->posts_by_you}" /> {$lang->posts_by_you}</dd>
			<dd><img src="{$theme['imgdir']}/lockfolder.gif" alt="{$lang->locked_thread}" title="{$lang->locked_thread}" /> {$lang->locked_thread}</dd>
		</dl>
	</div>
	<br style="clear: both" />
</div>

<div class="float_right" style="text-align: right;">
	{$inlinemod}
	{$searchforum}
	{$forumjump}
</div>
<br style="clear: both" />
{$inline_edit_js}]]></template>
		<template name="forumdisplay_threadlist_sortrating" version="120"><![CDATA[<option value="rating" {$sortsel['rating']}>{$lang->sort_by_rating}</option>]]></template>
		<template name="global_boardclosed_warning" version="1600"><![CDATA[<div class="red_alert"><strong><span style="color:#FF0000;">{$lang->bbclosed_warning}</span></strong></div>]]></template>
		<template name="global_pm_alert" version="1600"><![CDATA[<div class="pm_alert" id="pm_notice">
	<div class="float_right"><a href="private.php?action=dismiss_notice&amp;my_post_key={$mybb->post_code}" title="{$lang->dismiss_notice}" onclick="return MyBB.dismissPMNotice()"><img src="{$theme['imgdir']}/dismiss_notice.gif" alt="{$lang->dismiss_notice}" title="[x]" /></a></div>
	<div>{$privatemessage_text}</div>
</div>
<br />]]></template>
		<template name="post_savedraftbutton" version="120"><![CDATA[&nbsp;<input type="submit" class="button" name="savedraft" value="{$lang->save_draft}" />]]></template>
		<template name="index" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$forums}
{$boardstats}

<dl class="forum_legend smalltext">
	<dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
	<dd>{$lang->new_posts}</dd>

	<dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
	<dd>{$lang->no_new_posts}</dd>

	<dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
	<dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$footer}
</body>
</html>]]></template>
<template name="modcp_reports_allreports" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->all_reported_posts}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$modcp_nav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" colspan="6"><strong>{$lang->all_reported_posts_note}</strong></td>
</tr>
<tr>
<td class="tcat" align="center" width="10%"><span class="smalltext"><strong>{$lang->post_id}</strong></span></td>
<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->poster}</strong></span></td>
<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->thread}</strong></span></td>
<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->reporter}</strong></span></td>
<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->report_reason}</strong></span></td>
<td class="tcat" align="center" width="10%"><span class="smalltext"><strong>{$lang->report_time}</strong></span></td>
</tr>
{$allreports}
{$allreportspages}
</table>
</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="modcp_modlogs" version="1405"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->modlogs}</title>
{$headerinclude}
</head>
<body>
	{$header}
	<form action="modcp.php?action=modlogs" method="post">
		<table width="100%" border="0" align="center">
			<tr>
				{$modcp_nav}
				<td valign="top">
					<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
						<tr>
							<td class="thead" align="center" colspan="5"><strong>{$lang->modlogs}</strong></td>
						</tr>
						<tr>
							<td class="tcat"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
							<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->date}</strong></span></td>
							<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->action}</strong></span></td>
							<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->information}</strong></span></td>
							<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->ip}</strong></span></td>
						</tr>
						{$results}
						{$resultspages}
					</table>
					<br />
					<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
						<tr>
							<td class="thead" colspan="2"><strong>{$lang->filter_modlogs}</strong></td>
						</tr>
						<tr>
							<td class="trow1" width="25%"><strong>{$lang->forum}</strong></td>
							<td class="trow1" width="75%">
								{$forum_select}
							</td>
						</tr>
						<tr>
							<td class="trow1" width="25%"><strong>{$lang->from_moderator}</strong></td>
							<td class="trow1" width="75%">
								<select name="uid">
									<option value="">{$lang->all_moderators}</option>
									<option value="">----------</option>
									{$user_options}
								</select>
							</td>
						</tr>
						<tr>
							<td class="trow1" width="25%"><strong>{$lang->sort_by}</strong></td>
							<td class="trow1" width="75%">
								<select name="sortby">
									<option value="dateline"{$sortbysel['dateline']}>{$lang->date}</option>
									<option value="username"{$sortbysel['username']}>{$lang->username}</option>
									<option value="forum"{$sortbysel['forum']}>{$lang->forum_name}</option>
									<option value="thread"{$sortbysel['thread']}>{$lang->thread_subject}</option>
								</select>
								{$lang->in}
								<select name="order">
									<option value="asc"{$ordersel['asc']}>{$lang->asc}</option>
									<option value="desc"{$ordersel['desc']}>{$lang->desc}</option>
								</select>
								{$lang->order}
							</td>
						</tr>
						<tr>
							<td class="trow1" width="25%"><strong>{$lang->per_page}</strong></td>
							<td class="trow1" width="75%"><input type="text" name="perpage" value="{$perpage}" size="4" /></td>
						</tr>
					</table>
					<br />
					<div align="center">
						<input type="submit" class="button" value="{$lang->filter_logs}" />
					</div>
				</td>
			</tr>
		</table>
	</form>
{$footer}
</body>
</html>]]></template>
		<template name="modcp_nav" version="1400"><![CDATA[<td width="{$lang->nav_width}" valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td class="thead"><strong>{$lang->nav_menu}</strong></td>
	</tr>
	<tr><td class="trow1 smalltext"><a href="modcp.php" class="modcp_nav_item modcp_nav_home">{$lang->mcp_nav_home}</a></td></tr>
	<tr>
		<td class="tcat">
			<div class="float_right"><img src="{$theme['imgdir']}/collapse{$collapsedimg['modcpforums']}.gif" id="modcpforums_img" class="expander" alt="[-]" title="[-]" /></div>
			<div><span class="smalltext"><strong>{$lang->mcp_nav_forums}</strong></span></div>
		</td>
	</tr>
	<tbody style="{$collapsed['modcpforums_e']}" id="modcpforums_e">
		<tr><td class="trow1 smalltext"><a href="modcp.php?action=announcements" class="modcp_nav_item modcp_nav_announcements">{$lang->mcp_nav_announcements}</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="modcp.php?action=modqueue" class="modcp_nav_item modcp_nav_modqueue">{$lang->mcp_nav_modqueue}</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="modcp.php?action=reports" class="modcp_nav_item modcp_nav_reports">{$lang->mcp_nav_reported_posts}</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="modcp.php?action=modlogs" class="modcp_nav_item modcp_nav_modlogs">{$lang->mcp_nav_modlogs}</a></td></tr>
	</tbody>
	<tr>
		<td class="tcat">
			<div class="float_right"><img src="{$theme['imgdir']}/collapse{$collapsedimg['modcpusers']}.gif" id="modcpusers_img" class="expander" alt="[-]" title="[-]" /></div>
			<div><span class="smalltext"><strong>{$lang->mcp_nav_users}</strong></span></div>
		</td>
	</tr>
	<tbody style="{$collapsed['modcpusers_e']}" id="modcpusers_e">
		<tr><td class="trow1 smalltext"><a href="modcp.php?action=finduser" class="modcp_nav_item modcp_nav_editprofile">{$lang->mcp_nav_editprofile}</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="modcp.php?action=banning" class="modcp_nav_item modcp_nav_banning">{$lang->mcp_nav_banning}</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="modcp.php?action=warninglogs" class="modcp_nav_item modcp_nav_warninglogs">{$lang->mcp_nav_warninglogs}</a></td></tr>
		<tr><td class="trow1 smalltext"><a href="modcp.php?action=ipsearch" class="modcp_nav_item modcp_nav_ipsearch">{$lang->mcp_nav_ipsearch}</a></td></tr>
	</tbody>
</table>
</td>]]></template>
		<template name="modcp" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->modcp}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$modcp_nav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" colspan="3"><strong>{$lang->awaiting_moderation}</strong></td>
</tr>
<tr>
<td class="tcat" width="23%"><span class="smalltext"><strong>{$lang->type}</strong></span></td>
<td class="tcat" align="center" width="33%"><span class="smalltext"><strong>{$lang->number_awaiting}</strong></span></td>
<td class="tcat" align="center" width="44%"><span class="smalltext"><strong>{$lang->latest}</strong></span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext"><strong>{$lang->threads}</strong></span></td>
<td class="trow1" align="center"><span class="smalltext">{$unapproved_threads}</span></td>
<td class="trow1" align="center"><span class="smalltext">{$latest_thread}</span></td>
</tr>
<tr>
<td class="trow2"><span class="smalltext"><strong>{$lang->posts}</strong></span></td>
<td class="trow2" align="center"><span class="smalltext">{$unapproved_posts}</span></td>
<td class="trow2" align="center"><span class="smalltext">{$latest_post}</span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext"><strong>{$lang->attachments}</strong></span></td>
<td class="trow1" align="center"><span class="smalltext">{$unapproved_attachments}</span></td>
<td class="trow1" align="center"><span class="smalltext">{$latest_attachment}</span></td>
</tr>
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
	<td class="thead" align="center" colspan="5"><strong>{$lang->latest_5_modactions}</strong></td>
</tr>
<tr>
<td class="tcat"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->date}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->action}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->information}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->ip}</strong></span></td>
</tr>
{$modlogresults}
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" colspan="4"><strong>{$lang->bans_ending_soon}</strong></td>
</tr>
<tr>
<td class="tcat" width="25%"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
<td class="tcat" align="center" width="30%"><span class="smalltext"><strong>{$lang->reason}</strong></span></td>
<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->ban_length}</strong></span></td>
<td class="tcat" align="center" width="20%"><span class="smalltext"><strong>{$lang->ban_bannedby}</strong></span></td>
</tr>
{$bannedusers}
</table>
<br />
<form action="modcp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="do_modnotes" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" colspan="1"><strong>{$lang->moderator_notes}</strong></td>
</tr>
<tr>
<td class="tcat"><span class="smalltext"><strong>{$lang->notes_public_all}</strong></span>
</td>
<tr>
<td class="trow1"><textarea name="modnotes" style="width: 99%; height: 200px;" rows="5" cols="45">{$modnotes}</textarea></td>
</tr>
</table>
<br />
<div align="center"><input type="submit" class="button" name="notessubmit" value="{$lang->save_notes}" /></div>
</form>
</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="modcp_reports" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->reported_posts}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="modcp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="page" value="{$page}" />
<table width="100%" border="0" align="center">
<tr>
{$modcp_nav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" colspan="6"><strong>{$lang->reported_posts_note}</strong></td>
</tr>
<tr>
<td class="tcat" align="center" width="10%"><span class="smalltext"><strong>{$lang->post_id}</strong></span></td>
<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->poster}</strong></span></td>
<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->thread}</strong></span></td>
<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->reporter}</strong></span></td>
<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->report_reason}</strong></span></td>
<td class="tcat" align="center" width="10%"><span class="smalltext"><strong>{$lang->report_time}</strong></span></td>
</tr>
{$reports}
{$reportspages}
<tr>
<td class="tfoot" colspan="6" align="right"><span class="smalltext"><strong><a href="modcp.php?action=allreports">{$lang->view_all_reported_posts}</a></strong></span></td>
</tr>
</table>
<br />
<div align="center"><input type="hidden" name="action" value="do_reports" /><input type="submit" class="button" name="reportsubmit" value="{$lang->mark_read}" /></div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="modcp_modlogs_result" version="1400"><![CDATA[<tr>
<td class="{$trow}" valign="top">{$logitem['profilelink']}</td>
<td class="{$trow}" align="center" valign="top">{$log_date}, {$log_time}</td>
<td class="{$trow}" align="center" valign="top">{$logitem['action']}</td>
<td class="{$trow}" align="center" valign="top">{$information}</td>
<td class="{$trow}" align="center" valign="top">{$logitem['ipaddress']}</td>
</tr>]]></template>
		<template name="modcp_modlogs_noresults" version="1400"><![CDATA[<tr>
	<td class="trow1" align="center" colspan="5">{$lang->error_no_results}</td>

</tr>]]></template>
		<template name="modcp_modlogs_multipage" version="1400"><![CDATA[<tr>
<td class="tcat" colspan="6"><span class="smalltext"> {$multipage}</span></td>
</tr>]]></template>
		<template name="modcp_ipsearch" version="1600"><![CDATA[
		<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->ipsearch}</title>
{$headerinclude}
</head>
<body>
	{$header}
	<form action="modcp.php?action=ipsearch" method="post">
		<table width="100%" border="0" align="center">
			<tr>
				{$modcp_nav}
				<td valign="top">
					{$ipsearch_results}
					<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
						<tr>
							<td class="thead" colspan="2"><strong>{$lang->ipaddress_search}</strong></td>
						</tr>
						<tr>
							<td class="trow1" width="25%"><strong>{$lang->ip_address}</strong></td>
							<td class="trow1" width="75%"><input type="text" class="textbox" name="ipaddress" value="{$ipaddressvalue}" size="30" /></td>
						</tr>
						<tr>
							<td class="trow1" width="25%" valign="top"><strong>{$lang->options}</strong></td>
							<td class="trow1" width="75%">
								<label><input type="checkbox" class="checkbox" name="search_users" value="1" {$usersearchselect} />{$lang->search_users}</label><br />
								<label><input type="checkbox" class="checkbox" name="search_posts" value="1" {$postsearchselect} />{$lang->search_posts}</label>
							</td>
						</tr>
					</table>
					<br />
					<div align="center">
						<input type="submit" class="button" value="{$lang->find}" />
					</div>
				</td>
			</tr>
		</table>
	</form>
{$footer}
</body>
</html>]]></template>
		<template name="modcp_ipsearch_results" version="1600"><![CDATA[					<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
						<tr>
							<td class="thead" align="center" colspan="2">
								{$misc_info_link}<div><strong>{$lang->ipsearch_results}</strong></div>
							</td>
						</tr>
						<tr>
							<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->ipaddress}</strong></span></td>
							<td class="tcat"><span class="smalltext"><strong>{$lang->result}</strong></span></td>
						</tr>
						{$results}
					</table>
					{$multipage}
					<br />]]></template>
		<template name="modcp_ipsearch_misc_info" version="1600"><![CDATA[<html>
<head>
<title>{$lang->ipaddress_misc_info}</title>
{$headerinclude}
<style type="text/css">
body {
	text-align: left;
}
</style>
</head>
<body style="margin:0; padding: 4px; top: 0; left: 0;">
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="thead" align="center" colspan="2">
				<div class="float_right" style="margin-top: 3px;"><span class="smalltext"><a href="#" onclick="window.close();">Close</a></span></div>
				<div><strong>{$lang->ipaddress_misc_info}</strong></div>
			</td>
		</tr>
		<tr>
			<td class="trow1" width="25%" align="center">{$lang->ipaddress_host_name}</td>
			<td class="trow1">{$ipaddress_host_name}</td>
		</tr>
		<tr>
			<td class="trow2" width="25%" align="center">{$lang->ipaddress_location}</td>
			<td class="trow2">{$ipaddress_location}</td>
		</tr>
	</table>
</body>
</html>]]></template>
		<template name="modcp_ipsearch_result" version="1408"><![CDATA[<tr>
<td class="{$trow}" align="center">{$ip}</td>
<td class="{$trow}">{$subject}</td>
</tr>
]]></template>
		<template name="modcp_ipsearch_noresults" version="1400"><![CDATA[<tr>
	<td class="trow1" align="center" colspan="2">{$lang->error_no_results}</td>
</tr>]]></template>
		<template name="header_welcomeblock_member" version="1400"><![CDATA[	<span style="float:right;">{$lang->welcome_current_time}</span>
		{$lang->welcome_back} (<a href="{$mybb->settings['bburl']}/usercp.php"><strong>{$lang->welcome_usercp}</strong></a>{$modcplink}{$admincplink} &mdash; <a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">{$lang->welcome_logout}</a>)<br />
				<span class="links">
					<a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 350, 350);">{$lang->welcome_open_buddy_list}</a>
				</span>
				<a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a> | <a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a> | <a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}]]></template>
		<template name="header_welcomeblock_member_moderator" version="1400"><![CDATA[ &mdash; <a href="{$mybb->settings['bburl']}/modcp.php">{$lang->welcome_modcp}</a>]]></template>
		<template name="postbit_online" version="1400"><![CDATA[<a href="online.php" title="{$lang->postbit_status_online}"><img src="{$theme['imgdir']}/buddy_online.gif" border="0" alt="{$lang->postbit_status_online}" /></a>]]></template>
		<template name="showthread_moderationoptions" version="1600"><![CDATA[{$inlinemod}
<form action="moderation.php" method="post" style="margin-top: 0; margin-bottom: 0;" id="moderator_options">
	<input type="hidden" name="modtype" value="thread" />
	<input type="hidden" name="tid" value="{$tid}" />
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	<span class="smalltext">
	<strong>{$lang->moderation_options}</strong></span>
	<select name="action" onchange="$('moderator_options').submit();">
		<option value="delayedmoderation">{$lang->delayed_moderation}</option>
		<optgroup label="{$lang->standard_mod_tools}">
			<option value="threadnotes" selected="selected">{$lang->thread_notes}</option>
			<option value="openclosethread">{$lang->open_close_thread}</option>
			<option value="deletethread">{$lang->delete_thread}</option>
			{$adminpolloptions}
			<option value="deleteposts">{$lang->delete_posts}</option>
			<option value="move">{$lang->move_thread}</option>
			<option value="stick">{$lang->stick_unstick_thread}</option>
			<option value="split">{$lang->split_thread}</option>
			<option value="merge">{$lang->merge_threads}</option>
			<option value="mergeposts">{$lang->merge_posts}</option>
			<option value="removeredirects">{$lang->remove_redirects}</option>
			<option value="removesubscriptions">{$lang->remove_subscriptions}</option>
			{$approveunapprovethread}
		</optgroup>
		{$customthreadtools}
	</select>
	{$gobutton}
</form>
<br />]]></template>
		<template name="showthread_moderationoptions_custom" version="120"><![CDATA[<optgroup label="{$lang->custom_mod_tools}">{$customthreadtools}</optgroup>]]></template>
		<template name="showthread_moderationoptions_custom_tool" version="120"><![CDATA[<option value="{$tool['tid']}">{$tool['name']}</option>]]></template>
		<template name="showthread_inlinemoderation_custom" version="120"><![CDATA[<optgroup label="{$lang->custom_mod_tools}">{$customposttools}</optgroup>]]></template>
		<template name="showthread_inlinemoderation_custom_tool" version="120"><![CDATA[<option value="{$tool['tid']}">{$tool['name']}</option>]]></template>
		<template name="showthread_inlinemoderation" version="1600"><![CDATA[<script type="text/javascript" src="jscripts/inline_moderation.js?ver=1600"></script>
<form action="moderation.php" method="post" style="margin-top: 0; margin-bottom: 0;">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="tid" value="{$tid}" />
<input type="hidden" name="modtype" value="inlinepost" />
<span class="smalltext"><strong>{$lang->inline_post_moderation}</strong></span>
<select name="action">
<optgroup label="{$lang->standard_mod_tools}">
	<option value="multideleteposts">{$lang->inline_delete_posts}</option>
	<option value="multimergeposts">{$lang->inline_merge_posts}</option>
	<option value="multisplitposts">{$lang->inline_split_posts}</option>
	<option value="multiapproveposts">{$lang->inline_approve_posts}</option>
	<option value="multiunapproveposts">{$lang->inline_unapprove_posts}</option>
</optgroup>
{$customposttools}
</select>
<input type="submit" class="button" name="go" value="{$lang->go} ({$inlinecount})" id="inline_go" />&nbsp;
<input type="button" class="button" onclick="javascript:inlineModeration.clearChecked();" value="{$lang->clear}" />
</form>
<script type="text/javascript">
<!--
	var go_text = "{$lang->inline_go}";
	var all_text = "{$threadcount}";
	var inlineType = "thread";
	var inlineId = {$tid};
// -->
</script><br />]]></template>
		<template name="showthread_classic_header" version="1400"><![CDATA[<tr>
			<td class="tcat" width="15%"><span class="smalltext"><strong>{$lang->author}</strong></span></td>
			<td class="tcat"><span class="smalltext"><strong>{$lang->message}</strong></span></td>
		</tr>
		]]></template>
		<template name="showthread" version="1603"><![CDATA[<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	var quickdelete_confirm = "{$lang->quickdelete_confirm}";
// -->
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=1603"></script>
</head>
<body>
	{$header}
	{$pollbox}
	<div class="float_left">
		{$multipage}

	</div>
	<div class="float_right">
		{$newreply}
	</div>
	{$ratethread}
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
		<tr>
			<td class="thead" colspan="2">
				<div style="float: right;">
					<span class="smalltext"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
				</div>
				<div>
					<strong>{$thread['threadprefix']}{$thread['subject']}</strong>
				</div>
			</td>
		</tr>
		{$classic_header}
	</table>
	<div id="posts">
		{$posts}
	</div>
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="border-top-width: 0;">
		<tr>
			<td colspan="2" class="tfoot">
				{$search_thread}
				<div>
					<strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
				</div>
			</td>
		</tr>
	</table>
	<div class="float_left">
		{$multipage}
	</div>
	<div style="padding-top: 4px;" class="float_right">
		{$newreply}
	</div>
	<br style="clear: both;" />
	{$quickreply}
	{$threadexbox}
	{$similarthreads}
	<br />
	<div class="float_left">
		<ul class="thread_tools">
			<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
			<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
			<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
		</ul>
	</div>

	<div class="float_right" style="text-align: right;">
		{$moderationoptions}
		{$forumjump}
	</div>
	<br style="clear: both;" />
	{$usersbrowsing}
	{$footer}
</body>
</html>]]></template>
		<template name="showthread_usersbrowsing" version="1600"><![CDATA[<br />
<span class="smalltext">{$lang->users_browsing_thread} {$onlinemembers}{$onlinesep}{$invisonline}{$onlinesep2}{$guestsonline}</span>
<br />]]></template>
		<template name="showthread_usersbrowsing_user" version="1600"><![CDATA[{$comma}<a href="{$user['profilelink']}" title="{$lang->users_browsing_thread_reading} ({$user['reading']})">{$user['username']}</a>{$invisiblemark}]]></template>
		<template name="showthread_ratethread" version="1400"><![CDATA[<div style="margin-top: 6px; padding-right: 10px;" class="float_right">
		<script type="text/javascript" src="jscripts/rating.js?ver=1400"></script>
		<div id="success_rating_{$thread['tid']}" style="float: left; padding-top: 2px; padding-right: 10px;">&nbsp;</div>
		<strong style="float: left; padding-right: 10px;">{$lang->thread_rating}</strong>
		<div class="inline_rating">
			<ul class="star_rating{$not_rated}" id="rating_thread_{$thread['tid']}">
				<li style="width: {$thread['width']}%" class="current_rating" id="current_rating_{$thread['tid']}">{$ratingvotesav}</li>
				<li><a class="one_star" title="{$lang->one_star}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=1&amp;my_post_key={$mybb->post_code}">1</a></li>
				<li><a class="two_stars" title="{$lang->two_stars}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=2&amp;my_post_key={$mybb->post_code}">2</a></li>
				<li><a class="three_stars" title="{$lang->three_stars}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=3&amp;my_post_key={$mybb->post_code}">3</a></li>
				<li><a class="four_stars" title="{$lang->four_stars}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=4&amp;my_post_key={$mybb->post_code}">4</a></li>
				<li><a class="five_stars" title="{$lang->five_stars}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=5&amp;my_post_key={$mybb->post_code}">5</a></li>
			</ul>
		</div>
</div>]]></template>
		<template name="forumjump_advanced" version="120"><![CDATA[<form action="forumdisplay.php" method="get">
<span class="smalltext"><strong>{$lang->forumjump}</strong></span>
<select name="{$name}" onchange="window.location=('forumdisplay.php?fid='+this.options[this.selectedIndex].value)">
<option value="-1" {$jumpsel['default']}>{$lang->forumjump_select}</option>
<option value="-1">--------------------</option>
<option value="-4">{$lang->forumjump_pms}</option>
<option value="-3">{$lang->forumjump_usercp}</option>
<option value="-5">{$lang->forumjump_wol}</option>
<option value="-2">{$lang->forumjump_search}</option>
<option value="-1">{$lang->forumjump_home}</option>
{$forumjumpbits}
</select>
{$gobutton}
</form>
]]></template>
		<template name="forumdisplay_searchforum" version="120"><![CDATA[<form action="search.php" method="post">
	<span class="smalltext"><strong>{$lang->search_forum}</strong></span>
	<input type="text" class="textbox" name="keywords" /> {$gobutton}
	<input type="hidden" name="action" value="do_search" />
	<input type="hidden" name="forums" value="{$fid}" />
	<input type="hidden" name="postthread" value="1" />
	</form><br />]]></template>
		<template name="editpost" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->edit_post}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$post_errors}
{$attacherror}
<form action="editpost.php" method="post" name="editpost">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="3"><strong>{$lang->delete_post}</strong></td>
</tr>
<tr>
<td class="trow1" style="white-space: nowrap"><input type="checkbox" class="checkbox" name="delete" value="1" tabindex="9" /> <strong>{$lang->delete_q}</strong></td>
<td class="trow1" width="100%">{$lang->delete_1}<br /><span class="smalltext">{$lang->delete_2}</span></td>
<td class="trow1"><input type="submit" class="button" name="submit" value="{$lang->delete_now}" tabindex="10" /></td>
</tr>
</table>
<input type="hidden" name="action" value="deletepost" />
<input type="hidden" name="pid" value="{$pid}" />
</form>
<br />
<form action="editpost.php?pid={$pid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->edit_post}</strong></td>
</tr>
{$loginbox}
<tr>
<td class="trow2"><strong>{$lang->subject}</strong></td>
<td class="trow2">{$prefixselect}<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</tr>
{$posticons}
<tr>
<td class="trow2" valign="top"><strong>{$lang->your_message}:</strong><br /><div style="text-align: center;">{$smilieinserter}</div></td>
<td class="trow2">
<textarea name="message" id="message" rows="20" cols="70" tabindex="3">{$message}</textarea>
{$codebuttons}
</td>
</tr>
<tr>
<td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<td class="trow1"><span class="smalltext">
<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="6"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{$disablesmilies}</span>
</td>
</tr>
{$subscriptionmethod}
{$pollbox}
</table>
{$attachbox}
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->update_post}" tabindex="3" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="4" /></div>
<input type="hidden" name="action" value="do_editpost" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="editpost_disablesmilies" version="120"><![CDATA[<br />
<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" tabindex="8"{$postoptionschecked['disablesmilies']} /> {$lang->options_disablesmilies}</label>]]></template>
		<template name="newreply" version="1400"><![CDATA[<html>
<head>
<title>{$lang->post_reply_to}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$maximageserror}
{$attacherror}
{$reply_errors}
<form action="newreply.php?tid={$tid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->post_new_reply}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->reply_to}</strong></span></td>
</tr>
{$loginbox}
<tr>
<td class="trow2" width="20%"><strong>{$lang->post_subject}</strong></td>
<td class="trow2"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</tr>
{$posticons}
<tr>
<td class="trow2" valign="top"><strong>{$lang->your_message}</strong><br />{$smilieinserter}</td>
<td class="trow2">
<textarea id="message" name="message" rows="20" cols="70" tabindex="2" >{$message}</textarea>
{$codebuttons}
{$multiquote_external}
</td>
</tr>
<tr>
<td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<td class="trow1"><span class="smalltext">
<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="6"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{$disablesmilies}
</span></td>
</tr>
{$modoptions}
{$subscriptionmethod}
{$captcha}
</table>
{$attachbox}
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->post_reply}" tabindex="3" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="4" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newreply" />
<input type="hidden" name="replyto" value="{$replyto}" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
<input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
<input type="hidden" name="tid" value="{$tid}" />
{$editdraftpid}
</form>
{$forumrules}
{$threadreview}
{$footer}
</body>
</html>]]></template>
		<template name="newreply_disablesmilies" version="120"><![CDATA[<br />
<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" tabindex="9"{$postoptionschecked['disablesmilies']} /> {$lang->options_disablesmilies}</label>]]></template>
		<template name="usercp_drafts" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->drafts}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="usercp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="4"><strong>{$lang->drafts} {$draftcount}</strong></td>
</tr>
<tr>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->draft_title}</strong></span></td>
<td class="tcat" align="center" width="20%"><span class="smalltext"><strong>{$lang->draft_saved}</strong></span></td>
<td class="tcat" align="center" width="20%"><span class="smalltext"><strong>{$lang->draft_options}</strong></span></td>
<td class="tcat" align="center" width="1"><input type="checkbox" class="checkbox checkall" /></td>
</tr>
{$drafts}
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_drafts" />
<input type="submit" class="button" name="draftman" value="{$lang->delete_drafts}" $disable_delete_drafts />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="usercp_drafts_draft" version="120"><![CDATA[<tr>
<td class="{$trow}"><strong>{$draft['subject']}</strong><br /><span class="smalltext">{$detail}</span></td>
<td class="{$trow}" align="center">{$savedate}, {$savetime}</td>
<td class="{$trow}" align="center"><a href="{$editurl}">{$lang->edit_draft}</a></td>
<td class="{$trow}" align="center"><input type="checkbox" class="checkbox" name="deletedraft[{$id}]" value="{$type}" /></td>
</tr>]]></template>
		<template name="newthread" version="1600"><![CDATA[<html>
<head>
<title>{$lang->newthread_in}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$thread_errors}
{$attacherror}
<form action="newthread.php?fid={$fid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->post_new_thread}</strong></td>
</tr>
{$loginbox}
<tr>
<td class="trow2" width="20%"><strong>{$lang->thread_subject}</strong></td>
<td class="trow2">{$prefixselect}<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</tr>
{$posticons}
<tr>
<td class="trow2" valign="top"><strong>{$lang->your_message}</strong>{$smilieinserter}</td>
<td class="trow2">
<textarea name="message" id="message" rows="20" cols="70" tabindex="2">{$message}</textarea>
{$codebuttons}
{$multiquote_external}
</td>
</tr>
<tr>
<td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<td class="trow1"><span class="smalltext">
<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{$disablesmilies}</span></td>
</tr>
{$modoptions}
{$subscriptionmethod}
{$pollbox}
{$captcha}
</table>
{$attachbox}
<br />
<div style="text-align:center"><input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newthread" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
<input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
<input type="hidden" name="tid" value="{$tid}" />
{$editdraftpid}
</form>
{$forumrules}
{$footer}
</body>
</html>]]></template>
		<template name="newthread_disablesmilies" version="120"><![CDATA[<br />
<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" tabindex="9"{$postoptionschecked['disablesmilies']} /> {$lang->options_disablesmilies}</label>]]></template>
		<template name="usercp_nav" version="1400"><![CDATA[<td width="{$lang->ucp_nav_width}" valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td class="thead"><strong>{$lang->ucp_nav_menu}</strong></td>
	</tr>
	<tr>
		<td class="trow1 smalltext"><a href="usercp.php" class="usercp_nav_item usercp_nav_home">{$lang->ucp_nav_home}</a></td>
	</tr>
{$usercpmenu}
</table>
</td>]]></template>
		<template name="usercp_nav_messenger" version="1400"><![CDATA[<tr>
	<td class="tcat">
		<div class="float_right"><img src="{$theme['imgdir']}/collapse{$collapsedimg['usercppms']}.gif" id="usercppms_img" class="expander" alt="[-]"/></div>
		<div><span class="smalltext"><strong>{$lang->ucp_nav_messenger}</strong></span></div>
	</td>
</tr>
<tbody style="{$collapsed['usercppms_e']}" id="usercppms_e">
	<tr><td class="trow1 smalltext"><a href="private.php?action=send" class="usercp_nav_item usercp_nav_composepm">{$lang->ucp_nav_compose}</a></td></tr>
	<tr>
		<td class="trow1 smalltext">
			{$folderlinks}
		</td>
	</tr>
	<tr><td class="trow1 smalltext"><a href="private.php?action=tracking" class="usercp_nav_item usercp_nav_pmtracking">{$lang->ucp_nav_tracking}</a></td></tr>
	<tr><td class="trow1 smalltext"><a href="private.php?action=folders" class="usercp_nav_item usercp_nav_pmfolders">{$lang->ucp_nav_edit_folders}</a></td></tr>
</tbody>
]]></template>
		<template name="usercp_nav_profile" version="1600"><![CDATA[<tr>
	<td class="tcat">
		<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['usercpprofile']}.gif" id="usercpprofile_img" class="expander" alt="[-]" title="[-]" /></div>
		<div><span class="smalltext"><strong>{$lang->ucp_nav_profile}</strong></span></div>
	</td>
</tr>
<tbody style="{$collapsed['usercpprofile_e']}" id="usercpprofile_e">
	<tr><td class="trow1 smalltext">
		<div><a href="usercp.php?action=profile" class="usercp_nav_item usercp_nav_profile">{$lang->ucp_nav_edit_profile}</a></div>
		{$changenameop}
		<div><a href="usercp.php?action=password" class="usercp_nav_item usercp_nav_password">{$lang->ucp_nav_change_pass}</a></div>
		<div><a href="usercp.php?action=email" class="usercp_nav_item usercp_nav_email">{$lang->ucp_nav_change_email}</a></div>
		<div><a href="usercp.php?action=avatar" class="usercp_nav_item usercp_nav_avatar">{$lang->ucp_nav_change_avatar}</a></div>
		{$changesigop}
	</td></tr>
	<tr><td class="trow1 smalltext"><a href="usercp.php?action=options" class="usercp_nav_item usercp_nav_options">{$lang->ucp_nav_edit_options}</a></td></tr>
</tbody>]]></template>
		<template name="usercp_nav_editsignature" version="1600"><![CDATA[<div><a href="usercp.php?action=editsig" class="usercp_nav_item usercp_nav_editsig">{$lang->ucp_nav_edit_sig}</a></div>]]></template>
		<template name="usercp_nav_misc" version="1601"><![CDATA[<tr>
	<td class="tcat">
		<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['usercpmisc']}.gif" id="usercpmisc_img" class="expander" alt="[-]" title="[-]" /></div>
		<div><span class="smalltext"><strong>{$lang->ucp_nav_misc}</strong></span></div>
	</td>
</tr>
<tbody style="{$collapsed['usercpmisc_e']}" id="usercpmisc_e">
	<tr><td class="trow1 smalltext"><a href="usercp.php?action=usergroups" class="usercp_nav_item usercp_nav_usergroups">{$lang->ucp_nav_usergroups}</a></td></tr>
	<tr><td class="trow1 smalltext"><a href="usercp.php?action=editlists" class="usercp_nav_item usercp_nav_editlists">{$lang->ucp_nav_editlists}</a></td></tr>
	<tr><td class="trow1 smalltext"><a href="usercp.php?action=attachments" class="usercp_nav_item usercp_nav_attachments">{$lang->ucp_nav_attachments}</a></td></tr>
	<tr><td class="trow1 smalltext">{$draftstart}<a href="usercp.php?action=drafts" class="usercp_nav_item usercp_nav_drafts">{$lang->ucp_nav_drafts} {$draftcount}</a>{$draftend}</td></tr>
	<tr><td class="trow1 smalltext"><a href="usercp.php?action=subscriptions" class="usercp_nav_item usercp_nav_subscriptions">{$lang->ucp_nav_subscribed_threads}</a></td></tr>
	<tr><td class="trow1 smalltext"><a href="usercp.php?action=forumsubscriptions" class="usercp_nav_item usercp_nav_fsubscriptions">{$lang->ucp_nav_forum_subscriptions}</a></td></tr>
	<tr><td class="trow1 smalltext"><a href="{$profile_link}" class="usercp_nav_item usercp_nav_viewprofile">{$lang->ucp_nav_view_profile}</a></td></tr>
</tbody>]]></template>
		<template name="usercp_profile_away" version="120"><![CDATA[<br />
<fieldset class="trow2">
<legend><strong>{$lang->away_information}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}">
<tr>
<td colspan="2"><span class="smalltext">{$lang->away_status}</span></td>
</tr>
<tr>
<td><span class="smalltext"><input type="radio" class="radio" name="away" value="1" {$awaycheck['1']} /> {$lang->im_away}</span></td>
<td><span class="smalltext"><input type="radio" class="radio" name="away" value="0" {$awaycheck['0']} /> {$lang->im_here}</span></td>
</tr>
<tr>
<td colspan="2"><span class="smalltext">{$lang->away_reason}</span></td>
</tr>
<tr>
<td colspan="2"><input type="text" class="textbox" name="awayreason" value="{$user['awayreason']}" size="25" /></td>
</tr>
</table>
<table cellspacing="0" cellpadding="{$theme['tablespace']}">
<tr>
<td colspan="3"><span class="smalltext">{$lang->return_date}</span></td>
</tr>
<tr>
<td>
<select name="awayday">
<option value="">&nbsp;</option>
{$returndatesel}
</select>
</td>
<td>
<select name="awaymonth">
<option value="">&nbsp;</option>
<option value="1" {$returndatemonthsel['1']}>{$lang->month_1}</option>
<option value="2" {$returndatemonthsel['2']}>{$lang->month_2}</option>
<option value="3" {$returndatemonthsel['3']}>{$lang->month_3}</option>
<option value="4" {$returndatemonthsel['4']}>{$lang->month_4}</option>
<option value="5" {$returndatemonthsel['5']}>{$lang->month_5}</option>
<option value="6" {$returndatemonthsel['6']}>{$lang->month_6}</option>
<option value="7" {$returndatemonthsel['7']}>{$lang->month_7}</option>
<option value="8" {$returndatemonthsel['8']}>{$lang->month_8}</option>
<option value="9" {$returndatemonthsel['9']}>{$lang->month_9}</option>
<option value="10" {$returndatemonthsel['10']}>{$lang->month_10}</option>
<option value="11" {$returndatemonthsel['11']}>{$lang->month_11}</option>
<option value="12" {$returndatemonthsel['12']}>{$lang->month_12}</option>
</select>
</td>
<td>
<input type="text" class="textbox" size="4" maxlength="4" name="awayyear" value="{$returndate['2']}" />
</td>
</tr>
</table>
</fieldset>]]></template>
		<template name="usercp_options" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->edit_options}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="usercp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
{$errors}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->edit_options}</strong></td>
</tr>
<tr>
<td width="50%" class="trow1" valign="top">
<fieldset class="trow2">
<legend><strong>{$lang->login_cookies_privacy}</strong></legend>
<table cellspacing="0" cellpadding="2">
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="invisible" id="invisible" value="1" {$invisiblecheck} /></td>
<td><span class="smalltext"><label for="invisible">{$lang->invisible_mode}</label></span></td>
</tr>
</table>
</fieldset>
<br />
<fieldset class="trow2">
<legend><strong>{$lang->messaging_notification}</strong></legend>
<table cellspacing="0" cellpadding="2">
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="allownotices" id="allownotices" value="1" {$allownoticescheck} /></td>
<td><span class="smalltext"><label for="allownotices">{$lang->allow_notices}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="hideemail" id="hideemail" value="1" {$hideemailcheck} /></td>
<td><span class="smalltext"><label for="hideemail">{$lang->allow_emails}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="receivepms" id="receivepms" value="1" {$receivepmscheck} /></td>
<td><span class="smalltext"><label for="receivepms">{$lang->receive_pms}</label></span></td>
</tr>
{$pms_from_buddys}
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="pmnotice" id="pmnotice" value="1"{$pmnoticecheck} /></td>
<td><span class="smalltext"><label for="pmnotice">{$lang->pm_notice}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="pmnotify" id="pmnotify" value="1" {$pmnotifycheck} /></td>
<td><span class="smalltext"><label for="pmnotify">{$lang->pm_notify}</label></span></td>
</tr>
<tr>
<td colspan="2"><span class="smalltext"><label for="subscriptionmethod">{$lang->subscription_method}</label></span></td>
</tr>
<tr>
<td colspan="2">
	<select name="subscriptionmethod" id="subscriptionmethod">
		<option value="0" {$no_subscribe_selected}>{$lang->no_auto_subscribe}</option>
		<option value="1" {$no_email_subscribe_selected}>{$lang->no_email_subscribe}</option>
		<option value="2" {$instant_email_subscribe_selected}>{$lang->instant_email_subscribe}</option>
	</select>
</td>
</tr>

</table>
</fieldset>
<br />
<fieldset class="trow2">
<legend><strong>{$lang->date_time_options}</strong></legend>
<table cellspacing="0" cellpadding="2">
<tr>
<td><span class="smalltext">{$lang->date_format}</span></td>
</tr>
<tr>
<td>
<select name="dateformat">
{$date_format_options}
</select>
</td>
</tr>
<tr>
<td><span class="smalltext">{$lang->time_format}</span></td>
</tr>
<tr>
<td>
<select name="timeformat">
{$time_format_options}
</select>
</td>
</tr>
<tr>
<td><span class="smalltext">{$lang->time_offset_desc}</span></td>
</tr>
<tr>
<td>{$tzselect}</td>
</tr>
<tr>
<td><span class="smalltext">{$lang->dst_correction}</span></td>
</tr>
<tr>
<td>
	<select name="dstcorrection">
		<option value="2" {$dst_auto_selected}>{$lang->dst_correction_auto}</option>
		<option value="1" {$dst_enabled_selected}>{$lang->dst_correction_enabled}</option>
		<option value="0" {$dst_disabled_selected}>{$lang->dst_correction_disabled}</option>
	</select>
</td>
</tr>
</table>
</fieldset>
</td>
<td width="50%" class="trow1" valign="top">
<fieldset class="trow2">
<legend><strong>{$lang->forum_display_options}</strong></legend>
<table cellspacing="0" cellpadding="2">
{$tppselect}
<tr>
<td><span class="smalltext">{$lang->thread_view}</span></td>
</tr>
<tr>
<td>
<select name="daysprune">
<option value="">{$lang->use_default}</option>
<option value="1" {$daysprunesel['1']}>{$lang->thread_view_lastday}</option>
<option value="5" {$daysprunesel['5']}>{$lang->thread_view_5days}</option>
<option value="10" {$daysprunesel['10']}>{$lang->thread_view_10days}</option>
<option value="20" {$daysprunesel['20']}>{$lang->thread_view_20days}</option>
<option value="50" {$daysprunesel['50']}>{$lang->thread_view_50days}</option>
<option value="75" {$daysprunesel['75']}>{$lang->thread_view_75days}</option>
<option value="100" {$daysprunesel['100']}>{$lang->thread_view_100days}</option>
<option value="365" {$daysprunesel['365']}>{$lang->thread_view_year}</option>
<option value="9999" {$daysprunesel['9999']}>{$lang->thread_view_all}</option>
</select>
</td>
</tr>
</table>
</fieldset>
<br />
<fieldset class="trow2">
<legend><strong>{$lang->thread_view_options}</strong></legend>
<table cellspacing="0" cellpadding="2">
	<tr>
	<td valign="top" width="1"><input type="checkbox" class="checkbox" name="classicpostbit" id="classicpostbit" value="1" {$classicpostbitcheck} /></td>
	<td><span class="smalltext"><label for="classicpostbit">{$lang->show_classic_postbit}</label></span></td>
	</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="showsigs" id="showsigs" value="1" {$showsigscheck} /></td>
<td><span class="smalltext"><label for="showsigs">{$lang->show_sigs}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="showavatars" id="showavatars" value="1" {$showavatarscheck} /></td>
<td><span class="smalltext"><label for="showavatars">{$lang->show_avatars}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="showquickreply" id="showquickreply" value="1" {$showquickreplycheck} /></td>
<td><span class="smalltext"><label for="showquickreply">{$lang->show_quick_reply}</label></span></td>
</tr>
{$pppselect}
<tr>
<td colspan="2"><span class="smalltext">{$lang->thread_mode}</span></td>
</tr>
<tr>
<td colspan="2"><select name="threadmode"><option value="">{$lang->use_default}</option><option value="linear" {$threadview['linear']}>{$lang->linear}</option><option value="threaded" {$threadview['threaded']}>{$lang->threaded}</option></select></td>
</tr>
</table>
</fieldset>
<br />
<fieldset class="trow2">
<legend><strong>{$lang->other_options}</strong></legend>
<table cellspacing="0" cellpadding="2">
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="showredirect" id="showredirect" value="1" {$showredirectcheck} /></td>
<td><span class="smalltext"><label for="showredirect">{$lang->show_redirect}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="showcodebuttons" id="showcodebuttons" value="1" {$showcodebuttonscheck} /></td>
<td><span class="smalltext"><label for="showcodebuttons">{$lang->show_codebuttons}</label></span></td>
</tr>
<tr>
<td colspan="2"><span class="smalltext">{$lang->style}</span></td>
</tr>
<tr>
<td colspan="2">{$stylelist}</td>
</tr>
<tr>
<td colspan="2"><span class="smalltext">{$lang->board_language}</span></td>
</tr>
<tr>
<td colspan="2"><select name="language"><option value="">{$lang->use_default}</option><option value="0">-----------</option>{$langoptions}</select></td>
</tr>
</table>
</fieldset>
</td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_options" />
<input type="submit" class="button" name="regsubmit" value="{$lang->update_options}" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="usercp_subscriptions_none" version="120"><![CDATA[<tr>
<td class="trow1" colspan="7">{$lang->no_thread_subscriptions}</td>
</tr>]]></template>
		<template name="usercp_drafts_none" version="120"><![CDATA[<tr>
<td class="trow1" colspan="7">{$lang->no_drafts}</td>
</tr>]]></template>
		<template name="usercp_subscriptions_thread" version="1600"><![CDATA[<tr>
	<td align="center" class="{$bgcolor}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
	<td align="center" class="{$bgcolor}" width="2%">{$icon}</td>
	<td class="{$bgcolor}">{$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$new_class}">{$thread['subject']}</a><br /><span class="smalltext">{$lang->notification_method} {$notification_type}</span></td>
	<td align="center" class="{$bgcolor}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a></td>
	<td align="center" class="{$bgcolor}">{$thread['views']}</td>
	<td class="{$bgcolor}" style="white-space: nowrap">
		<span class="smalltext">{$lastpostdate} {$lastposttime}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
	</td>
	<td class="{$bgcolor}" align="center"><input type="checkbox" class="checkbox" name="check[{$thread['tid']}]" value="{$thread['tid']}" /></td>
</tr>]]></template>
		<template name="usercp_subscriptions_remove" version="1600"><![CDATA[<tr>
	<td class="tfoot" colspan="7">
	<div class="float_right">
		<strong>{$lang->with_selected}</strong>
		<select name="do">
			<option value="delete">{$lang->delete_subscriptions}</option>
			<option value="no_notification">{$lang->update_no_notification}</option>
			<option value="instant_notification">{$lang->update_instant_notification}</option>
		</select>
		{$gobutton}
	</div>
	<div>
		<strong><a href="usercp2.php?action=removesubscriptions&amp;my_post_key={$mybb->post_code}">{$lang->remove_all_subscriptions}</a></strong>
	</div>
	</td>
</tr>]]></template>
		<template name="header_welcomeblock_member_admin" version="120"><![CDATA[ &mdash; <a href="{$mybb->settings['bburl']}/{$config['admin_dir']}/index.php">{$lang->welcome_admin}</a>]]></template>
		<template name="forumdisplay_newthread" version="120"><![CDATA[<a href="newthread.php?fid={$fid}"><img src="{$theme['imglangdir']}/newthread.gif" alt="{$lang->post_thread}" title="{$lang->post_thread}" /></a>]]></template>
		<template name="showthread_threaded_bitactive" version="120"><![CDATA[<div style="margin-left: {$indentsize}px;"><strong>{$post['subject']}</strong> <span class="smalltext">- {$lang->by} {$post['profilelink']} - {$postdate} {$posttime}</span></div>]]></template>
		<template name="showthread_threaded_bit" version="120"><![CDATA[<div style="margin-left: {$indentsize}px;"><a href="showthread.php?tid={$tid}&amp;pid={$post['pid']}&amp;mode=threaded">{$post['subject']}</a> <span class="smalltext">- {$lang->by} {$post['profilelink']} - {$postdate}, {$posttime}</span></div>]]></template>
		<template name="showthread_poll" version="120"><![CDATA[<form action="polls.php" method="get">
<input type="hidden" name="action" value="vote" />
<input type="hidden" name="pid" value="{$poll['pid']}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="4" class="thead" align="center"><strong>{$lang->poll} {$poll['question']}</strong></td>
</tr>
{$polloptions}
</table>
<table width="100%" align="center">
<tr>
<td><input type="submit" class="button" value="{$lang->vote}" /></td>
<td valign="top" align="right"><span class="smalltext">[<a href="polls.php?action=showresults&amp;pid={$poll['pid']}">{$lang->show_results}</a>{$edit_poll}]</span></td>
</tr>
<tr>
<td colspan="2"><span class="smalltext">{$publicnote}</span></td>
</tr>
</table>
</form>]]></template>
		<template name="forumdisplay_inlinemoderation_custom" version="120"><![CDATA[<optgroup label="{$lang->custom_mod_tools}">{$customthreadtools}</optgroup>]]></template>
		<template name="forumdisplay_inlinemoderation_custom_tool" version="120"><![CDATA[<option value="{$tool['tid']}">{$tool['name']}</option>]]></template>
		<template name="forumdisplay_inlinemoderation" version="1600"><![CDATA[<script type="text/javascript" src="jscripts/inline_moderation.js?ver=1600"></script>
		<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="fid" value="{$fid}" />
<input type="hidden" name="modtype" value="inlinethread" />
<span class="smalltext"><strong>{$lang->inline_thread_moderation}</strong></span>
<select name="action">
	<option value="delayedmoderation">{$lang->delayed_moderation}</option>
	<optgroup label="{$lang->standard_mod_tools}">
		<option value="multiclosethreads" selected="selected">{$lang->close_threads}</option>
		<option value="multiopenthreads">{$lang->open_threads}</option>
		<option value="multistickthreads">{$lang->stick_threads}</option>
		<option value="multiunstickthreads">{$lang->unstick_threads}</option>
		<option value="multideletethreads">{$lang->delete_threads}</option>
		<option value="multimovethreads">{$lang->move_threads}</option>
		<option value="multiapprovethreads">{$lang->approve_threads}</option>
		<option value="multiunapprovethreads">{$lang->unapprove_threads}</option>
	</optgroup>
	{$customthreadtools}
</select>
<input type="submit" class="button" name="go" value="{$lang->inline_go} ({$inlinecount})" id="inline_go" />&nbsp;
<input type="button" onclick="javascript:inlineModeration.clearChecked();" value="{$lang->clear}" class="button" />
</form>
<script type="text/javascript">
<!--
	var go_text = "{$lang->inline_go}";
	var all_text = "{$threadcount}";
	var inlineType = "forum";
	var inlineId = {$fid};
// -->
</script>
<br />]]></template>
		<template name="forumdisplay_inlinemoderation_selectall" version="1600"><![CDATA[<tr id="selectAllrow" class="hiddenrow">
	<td colspan="8" class="selectall">{$lang->page_selected} <a href="#" onclick='inlineModeration.selectAll();'>{$lang->select_all}</a></td>
</tr>
<tr id="allSelectedrow" class="hiddenrow">
	<td colspan="8" class="selectall">{$lang->all_selected} <a href="#" onclick='inlineModeration.clearChecked();'>{$lang->clear_selection}</a></td>
</tr>
]]></template>
		<template name="search_threads_inlinemoderation_selectall" version="1600"><![CDATA[<tr id="selectAllrow" class="hiddenrow">
	<td colspan="8" class="selectall">{$lang->page_selected} <a href="#" onclick='inlineModeration.selectAll();'>{$lang->select_all}</a></td>
</tr>
<tr id="allSelectedrow" class="hiddenrow">
	<td colspan="8" class="selectall">{$lang->all_selected} <a href="#" onclick='inlineModeration.clearChecked();'>{$lang->clear_selection}</a></td>
</tr>
]]></template>
		<template name="search_posts_inlinemoderation_selectall" version="1600"><![CDATA[<tr id="selectAllrow" class="hiddenrow">
	<td colspan="9" class="selectall">{$lang->page_selected} <a href="#" onclick='inlineModeration.selectAll();'>{$lang->select_all}</a></td>
</tr>
<tr id="allSelectedrow" class="hiddenrow">
	<td colspan="9" class="selectall">{$lang->all_selected} <a href="#" onclick='inlineModeration.clearChecked();'>{$lang->clear_selection}</a></td>
</tr>
]]></template>
		<template name="report_thanks" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->report_post}</title>
{$headerinclude}
</head>
<body>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1" align="center">
<br />
<br />
<strong>{$lang->thank_you}</strong>
<blockquote>{$lang->post_reported}</blockquote>
<br /><br />
<div style="text-align: center;">
	<script type="text/javascript">
	<!--
		document.write('[<a href="javascript:window.close();">{$lang->close_window}</a>]');
	// -->
	</script>
</div>
</td>
</tr>
</table>
</body>
</html>]]></template>
		<template name="report" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->report_post}</title>
{$headerinclude}
</head>
<body>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1" align="center">
<br />
<br />
<strong>{$lang->report_to_mod}</strong>
<form action="report.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="do_report" />
<input type="hidden" name="pid" value="{$pid}" />
<blockquote>{$lang->only_report}</blockquote>
<br />
<br />
<span class="smalltext">{$lang->report_reason}</span>
<br />
<input type="text" class="textbox" name="reason" size="40" maxlength="250" />
<br />
<br />
<div align="center"><input type="submit" class="button" value="{$lang->report_post}" /></div>
</form>
</td>
</tr>
</table>
</body>
</html>]]></template>
		<template name="report_error" version="123"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->report_post}</title>
{$headerinclude}
</head>
<body>
<br />
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr>
<td class="thead"><span class="smalltext"><strong>{$mybb->settings['bbname']}</strong></span></td>

</tr>
<tr>
<td class="trow1">{$error}</td>
</tr>
</table>
</body>
</html>]]></template>
		<template name="redirect" version="120"><![CDATA[<html>
<head>
<title>{$title}</title>
<meta http-equiv="refresh" content="2;URL={$url}" />
{$headerinclude}
</head>
<body>
<br />
<br />
<br />
<br />
<div style="margin: auto auto; width: {$lang->redirect_width}" align="center">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$title}</strong></td>
</tr>
<tr>
<td class="trow1" align="center"><p>{$message}</p></td>
</tr>
<tr>
<td class="trow2" align="right"><a href="{$url}"><span class="smalltext">{$lang->click_no_wait}</span></a></td>
</tr>
</table>
</div>
</body>
</html>]]></template>
		<template name="gobutton" version="120"><![CDATA[<input type="submit" class="button" value="{$lang->go}" />]]></template>
		<template name="postbit_away" version="1400"><![CDATA[<a href="{$post['profilelink_plain']}" title="{$lang->postbit_status_away}"><img src="{$theme['imgdir']}/buddy_away.gif" border="0" alt="{$lang->postbit_status_away}" /></a>]]></template>
		<template name="forumdisplay_thread_rating" version="1600"><![CDATA[<td align="center" class="{$bgcolor}{$thread_type_class}" id="rating_table_{$thread['tid']}">
		<ul class="star_rating{$not_rated}" id="rating_thread_{$thread['tid']}">
			<li style="width: {$thread['width']}%" class="current_rating" id="current_rating_{$thread['tid']}">{$ratingvotesav}</li>
		</ul>
		<script type="text/javascript">
		<!--
			Rating.build_forumdisplay({$thread['tid']}, { width: '{$thread['width']}', extra_class: '{$not_rated}', current_average: '{$ratingvotesav}' });
		// -->
		</script>
	</td>
]]></template>
	<template name="forumdisplay_announcement_rating" version="1400"><![CDATA[	<td class="{$bgcolor}" align="center"><img src="{$theme['imgdir']}/pixel.gif" alt="" /></td>]]></template>
		<template name="forumdisplay_password" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->password_required} </title>
{$headerinclude}
</head>
<body>
{$header}
<form action="{$_SERVER['REQUEST_URI']}" method="post">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" colspan="2"><strong>{$lang->password_required}</strong></td>
</tr>
<tr>
<td class="trow2" colspan="2">{$lang->forum_password_note}</td>
</tr>
<tr>
<td class="tcat" colspan="2"><strong>{$lang->enter_password_below}</strong></td>
</tr>
{$pwnote}
<tr>
<td class="trow1" align="center" colspan="2"><input type="password" class="textbox" name="pwverify" size="50" value="" /></td>
</tr>
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->verify_forum_password}" /></div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="error_maxsigimages" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->too_many_images}</strong></td>
</tr>
<tr>
<td class="trow1">{$lang->too_many_sig_images}<br /><span class="smalltext">{$lang->too_many_sig_images2}</span>
</td>
</tr>
</table>
<br />]]></template>
		<template name="forumbit_depth2_forum" version="1400"><![CDATA[<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>]]></template>
		<template name="forumbit_depth3" version="1404"><![CDATA[{$comma}{$statusicon}<a href="{$forum_url}" title="{$forum_viewers_text_plain}">{$forum['name']}</a>]]></template>
		<template name="forumbit_depth3_statusicon" version="1400"><![CDATA[<img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="subforumicon ajax_mark_read" id="mark_read_{$forum['fid']}" />]]></template>
		<template name="forumbit_subforums" version="120"><![CDATA[<br />{$lang->subforums} {$sub_forums}]]></template>
		<template name="private_empty" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->empty_folders}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="private.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="3"><strong>{$lang->empty_folders}</strong></td>
</tr>
<tr>
<td class="trow1" colspan="3"><span class="smalltext">{$lang->empty_note}</span></td>
</tr>
<tr>
<td class="tcat" align="center"><strong>{$lang->export_folder}</strong></td>
<td class="tcat" align="center"><strong>{$lang->num_messages}</strong></td>
<td class="tcat" align="center"><strong>{$lang->empty_q}</strong></td>
</tr>
{$folderlist}
<tr>
<td class="trow2" align="center" colspan="3"><input type="checkbox" class="checkbox" name="keepunread" value="1" checked="checked" /><strong>{$lang->keep_unread}</strong></td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_empty" />
<input type="submit" class="button" name="submit" value="{$lang->delete}" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="usercp" version="1600"><![CDATA[<html>
<head>
<title>{$lang->user_cp}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="{$colspan}"><strong>{$lang->account_summary}</strong></td>
</tr>
<tr>
{$avatar}
<td class="trow2">
<span class="largetext">{$username}</span><br />
<strong>{$lang->postnum}</strong> <a href="search.php?action=finduser&amp;uid={$mybb->user['uid']}">{$mybb->user['posts']}</a> {$lang->posts_day}<br />
{$reputation}
<strong>{$lang->email}</strong> {$mybb->user['email']}<br />
<strong>{$lang->registration_date}</strong> {$regdate}<br />
<strong>{$lang->primary_usergroup}</strong> {$usergroup}<br />
{$referral_info}
</td>
</tr>
</table>
{$latest_subscribed}
{$latest_threads}
{$latest_warnings}
{$user_notepad}
</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="usercp_referrals" version="1600"><![CDATA[<strong>{$lang->members_referred}</strong> {$mybb->user['referrals']}<br />
{$referral_link}]]></template>
		<template name="usercp_reputation" version="1600"><![CDATA[<strong>{$lang->reputation}</strong> {$reputation_link} [<a href="reputation.php?uid={$mybb->user['uid']}">{$lang->details}</a>]<br />]]></template>
		<template name="usercp_currentavatar" version="1600"><![CDATA[<td class="trow1" valign="middle" align="center" width="1"><div class="usercp_container"><img src="{$mybb->user['avatar']}" alt="{$mybb->user['username']}" title="{$mybb->user['username']}" {$avatar_width_height} /></div></td>]]></template>
		<template name="footer" version="1413"><![CDATA[			<br />
			<div class="bottommenu">
				<div class="float_right">{$lang_select}</div>
				<div>
					<span class="smalltext"><a href="{$mybb->settings['contactlink']}">{$lang->bottomlinks_contactus}</a> | <a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a> | <a href="#top">{$lang->bottomlinks_returntop}</a> | <a href="#content">{$lang->bottomlinks_returncontent}</a> | <a href="<archive_url>">{$lang->bottomlinks_litemode}</a> | <a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a></span>
				</div>
			</div>
			</div>
		<hr class="hidden" />
			<div id="copyright">
				<div id="debug"><debugstuff></div>
				<!-- MyBB is free software developed and maintained by a volunteer community. 
					 It would be much appreciated by the MyBB Group if you left the full copyright and "powered by" notice intact, 
					 to show your support for MyBB.  If you choose to remove or modify the copyright below, 
					 you may be refused support on the MyBB Community Forums.
					 
					 This is free software, support us and we'll support you. -->
{$lang->powered_by} <a href="http://mybb.com/" target="_blank">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="http://mybb.com/" target="_blank">MyBB Group</a>.<br />
				<!-- End powered by -->
				<br />
<br class="clear" />
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->
{$auto_dst_detection}
		</div>
		</div>]]></template>
		<template name="private_archive_csv" version="120"><![CDATA[{$lang->export_date_sent},{$lang->export_folder},{$lang->export_subject},{$lang->export_to},{$lang->export_from},{$lang->export_message}
{$pmsdownload}]]></template>
		<template name="usercp_profile_customtitle" version="120"><![CDATA[<fieldset class="trow2">
<legend><strong>{$lang->custom_usertitle}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}">
<tr>
<td><span class="smalltext">{$lang->custom_usertitle_note}</span></td>
</tr>
<tr>
<td><span class="smalltext">{$lang->default_usertitle}</span></td>
</tr>
<tr>
<td><span class="smalltext"><strong>{$defaulttitle}</strong></span></td>
</tr>
<tr>
<td><span class="smalltext">{$lang->current_custom_usertitle}</span></td>
</tr>
<tr>
<td><span class="smalltext"><strong>{$user['usertitle']}</strong></span></td>
</tr>
<tr>
<td><span class="smalltext">{$lang->new_custom_usertitle}</span></td>
</tr>
<tr>
<td><input type="text" class="textbox" name="usertitle" size="25" maxlength="{$mybb->settings['customtitlemaxlength']}" value="{$newtitle}" /></td>
</tr>
<tr>
<td><span class="smalltext"><input type="checkbox" name="reverttitle" id="reverttitle" class="checkbox" /> {$lang->revert_usertitle}</span></td>
</tr>
</table>
</fieldset>
<br />]]></template>
		<template name="usercp_attachments_none" version="120"><![CDATA[<tr>
<td class="trow1" align="center" colspan="5">{$lang->no_attachments}</td>
</tr>]]></template>
		<template name="usercp_nav_changename" version="1400"><![CDATA[<div><a href="usercp.php?action=changename" class="usercp_nav_item usercp_nav_username">{$lang->ucp_nav_change_username}</a></div>]]></template>
		<template name="usercp_profile" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->edit_profile}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="usercp.php" method="post" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
{$errors}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->edit_profile}</strong></td>
</tr>
<tr>
<td width="50%" class="trow1" valign="top">
<fieldset class="trow2">
<legend><strong>{$lang->profile_required}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}">
<tr>
<td colspan="2"><span class="smalltext"><strong>{$lang->change_email_notice}</strong></span></td>
</tr>
{$requiredfields}
</table>
</fieldset>
<br />
<fieldset class="trow2">
<legend><strong>{$lang->profile_optional}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}">
<tr>
<td colspan="3"><span class="smalltext">{$lang->birthday}</span></td>
</tr>
<tr>
<td>
<select name="bday1">
<option value="">&nbsp;</option>
{$bdaydaysel}
</select>
</td>
<td>
<select name="bday2">
<option value="">&nbsp;</option>
<option value="1" {$bdaymonthsel['1']}>{$lang->month_1}</option>
<option value="2" {$bdaymonthsel['2']}>{$lang->month_2}</option>
<option value="3" {$bdaymonthsel['3']}>{$lang->month_3}</option>
<option value="4" {$bdaymonthsel['4']}>{$lang->month_4}</option>
<option value="5" {$bdaymonthsel['5']}>{$lang->month_5}</option>
<option value="6" {$bdaymonthsel['6']}>{$lang->month_6}</option>
<option value="7" {$bdaymonthsel['7']}>{$lang->month_7}</option>
<option value="8" {$bdaymonthsel['8']}>{$lang->month_8}</option>
<option value="9" {$bdaymonthsel['9']}>{$lang->month_9}</option>
<option value="10" {$bdaymonthsel['10']}>{$lang->month_10}</option>
<option value="11" {$bdaymonthsel['11']}>{$lang->month_11}</option>
<option value="12" {$bdaymonthsel['12']}>{$lang->month_12}</option>
</select>
</td>
<td>
<input type="text" class="textbox" size="4" maxlength="4" name="bday3" value="{$bday['2']}" />
</td>
</tr>
<tr>
<td colspan="3">
<span class="smalltext">{$lang->birthdayprivacy}</span>
</td>
</tr>
<tr>
<td colspan="3">
<select name="birthdayprivacy">
{$bdayprivacysel}
</select>
</td>
</tr>
<tr>
<td colspan="3"><span class="smalltext">{$lang->website_url}</span></td>
</tr>
<tr>
<td colspan="3"><input type="text" class="textbox" name="website" size="25" maxlength="75" value="{$user['website']}" /></td>
</tr>
</table>
</fieldset>
{$customfields}
</td>
<td width="50%" class="trow1" valign="top">
{$customtitle}
<fieldset class="trow2">
<legend><strong>{$lang->additional_contact_details}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}">
<tr>
<td><span class="smalltext">{$lang->icq_number}</span></td>
</tr>
<tr>
<td><input type="text" class="textbox" name="icq" size="25" value="{$user['icq']}" /></td>
</tr>
<tr>
<td><span class="smalltext">{$lang->aim_screenname}</span></td>
</tr>
<tr>
<td><input type="text" class="textbox" name="aim" size="25" value="{$user['aim']}" /></td>
</tr>
<tr>
<td><span class="smalltext">{$lang->msn}</span></td>
</tr>
<tr>
<td><input type="text" class="textbox" name="msn" size="25" value="{$user['msn']}" /></td>
</tr>
<tr>
<td><span class="smalltext">{$lang->yahoo_id}</span></td>
</tr>
<tr>
<td><input type="text" class="textbox" name="yahoo" size="25" value="{$user['yahoo']}" /></td>
</tr>
</table>
</fieldset>
{$awaysection}
</td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_profile" />
<input type="submit" class="button" name="regsubmit" value="{$lang->update_profile}" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="post_attachments" version="120"><![CDATA[<br />
			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
	<td class="thead" colspan="3"><strong>{$lang->attachments}</strong></td>
</tr>
<tr>
	<td class="tcat smalltext" colspan="3">{$lang->attach_quota} <a href="usercp.php?action=attachments">{$lang->view_attachments}</a></td>
</tr>
{$newattach}
{$attachments}
</table>]]></template>
		<template name="usercp_attachments" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->attachments_manager}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="usercp.php" method="post" name="attachmentsmanager">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5"><strong>{$lang->attachments_manager} {$usagenote}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2" width="40%"><span class="smalltext"><strong>{$lang->attachments_attachment}</strong></span></td>
<td class="tcat" width="40%"><span class="smalltext"><strong>{$lang->attachments_post}</strong></span></td>
<td class="tcat" align="center" width="20%"><span class="smalltext"><strong>{$lang->date_uploaded}</strong></span></td>
<td class="tcat" width="1"><input type="checkbox" class="checkbox checkall" /></td>
</tr>
{$attachments}
</table>
{$multipage}
<br />
<div align="center">
<input type="hidden" name="action" value="do_attachments" />
<input type="submit" class="button" value="{$lang->delete_attachments}" />
</div>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->attachments_stats}</strong></td>
</tr>
<tr>
<td class="trow1" width="40%"><strong>{$lang->attachstats_attachs}</strong></td>
<td class="trow1" width="60%">{$totalattachments}</td>
</tr>
<tr>
<td class="trow2" width="40%"><strong>{$lang->attachstats_spaceused}</strong></td>
<td class="trow2" width="60%">{$friendlyusage} ({$percent})</td>
</tr>
<tr>
<td class="trow1" width="40%"><strong>{$lang->attachstats_quota}</strong></td>
<td class="trow1" width="60%">{$attachquota}</td>
</tr>
<tr>
<td class="trow2" width="40%"><strong>{$lang->attachstats_totaldl}</strong></td>
<td class="trow2" width="60%">{$totaldownloads}</td>
</tr>
<tr>
<td class="trow1" width="40%"><strong>{$lang->attachstats_bandwidth}</strong></td>
<td class="trow1" width="60%">{$bandwidth}</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="usercp_attachments_attachment" version="1400"><![CDATA[<tr>
<td class="{$altbg}" width="1">{$icon}</td>
<td class="{$altbg}" width="40%"><a href="attachment.php?aid={$attachment['aid']}" target="_blank">{$attachment['filename']}</a><br /><span class="smalltext">{$sizedownloads}</span></td>
<td class="{$altbg}"><a href="{$attachment['postlink']}#pid{$attachment['pid']}">{$attachment['subject']}</a><br /><span class="smalltext">{$lang->attachment_thread} <a href="{$attachment['threadlink']}">{$attachment['threadsubject']}</a></span></td>
<td class="{$altbg}" align="center">{$attachdate}, {$attachtime}</td>
<td class="{$altbg}" width="1"><input type="checkbox" class="checkbox" name="attachments[{$attachment['aid']}]" value="{$attachment['aid']}" /></td>
</tr>]]></template>
		<template name="misc_rules_forum" version="1210"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$forum['rulestitle']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="{$colspan}"><strong>{$forum['rulestitle']}</strong></td>
</tr>
<tr>
<td class="trow1">{$forum['rules']}</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="forumdisplay_rules" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$foruminfo['rulestitle']}</strong></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">{$foruminfo['rules']}</span></td>
</tr>
</table>
<br />]]></template>
		<template name="forumdisplay_rules_link" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1"><strong><a href="misc.php?action=rules&amp;fid={$fid}">{$foruminfo['rulestitle']}</a></strong></td>
</tr>
</table>
<br />]]></template>
		<template name="forumdisplay" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$foruminfo['name']} </title>
{$headerinclude}
{$rssdiscovery}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$moderatedby}
{$usersbrowsing}
{$rules}
{$subforums}
{$threadslist}
{$footer}
</body>
</html>]]></template>
		<template name="member_register_referrer" version="1400"><![CDATA[<br />
<fieldset class="trow2">
<legend><strong>{$lang->referrer}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}">
<tr>
<td><span class="smalltext"><label for="referrer">{$lang->referrer_desc}</label></span></td>
</tr>
<tr>
<td>
<input type="text" class="textbox" name="referrername" id="referrer" value="{$referrername}" style="width: 100%;" />
</td>
</tr></table>
</fieldset>
<script type="text/javascript" src="jscripts/autocomplete.js?ver=1400"></script>
<script type="text/javascript">
<!--
	if(use_xmlhttprequest == "1")
	{
		new autoComplete("referrer", "xmlhttp.php?action=get_users", {valueSpan: "username"});
	}
// -->
</script>]]></template>
		<template name="usercp_usergroups_joingroup" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->request_join_usergroup}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="usercp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->request_join_usergroup}</strong></td>
</tr>
<tr>
<td class="trow1" align="center" colspan="2">{$lang->join_group_moderate_note}</td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->user_group}</strong></td>
<td class="trow2">{$usergroup['title']}</td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->join_reason}</strong></td>
<td class="trow1"><input type="text" class="textbox" name="reason" value="" size="50" /></td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="usergroups" />
<input type="hidden" name="joingroup" value="{$joingroup}" />
<input type="hidden" name="do" value="joingroup" />
<input type="submit" class="button" value="{$lang->send_join_request}" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="usercp_options_pms_from_buddys" version="1600"><![CDATA[<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="receivefrombuddy" id="receivefrombuddy" value="1" {$receivefrombuddycheck} /></td>
<td><span class="smalltext"><label for="receivefrombuddy">{$lang->receive_from_buddy}</label></span></td>
</tr>]]></template>
		<template name="usercp_avatar" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->change_avatar}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
{$avatar_error}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->change_avatar}</strong></td>
</tr>
<tr>
<td class="trow1" colspan="2">
<table cellspacing="0" cellpadding="0" width="100%"><tr>
<td>{$lang->avatar_note}{$avatarmsg}
</td>
{$currentavatar}
</tr></table>
</td>
</tr>
<tr>
<td class="tcat" colspan="2"><strong>{$lang->local_galleries}</strong></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->gallery}</strong></td>
<td class="trow2">
<form method="post" action="usercp.php">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="avatar" />
<select name="gallery">
{$galleries}
</select>
&nbsp;{$gobutton}
</form>
</td>
</tr>
<tr>
<td class="tcat" colspan="2"><strong>{$lang->custom_avatar}</strong></td>
</tr>
<tr>
<td class="trow1" width="40%"><strong>{$lang->avatar_upload}</strong></td>
<td class="trow1" width="60%">
<form enctype="multipart/form-data" action="usercp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="file" name="avatarupload" size="25" class="fileupload" />
{$auto_resize}
</td>
</tr>
<tr>
<td class="trow2" width="40%"><strong>{$lang->avatar_url}</strong></td>
<td class="trow2" width="60%"><input type="text" class="textbox" name="avatarurl" size="45" value="{$avatarurl}" /></td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_avatar" />
<input type="submit" class="button" name="submit" value="{$lang->change_avatar}" />
<input type="submit" class="button" name="remove" value="{$lang->remove_avatar}" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="usercp_avatar_gallery" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->change_avatar}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
{$avatar_error}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->change_avatar}</strong></td>
</tr>
<tr>
<td class="tcat"><strong>{$lang->local_galleries}</strong></td>
</tr>
<tr>
<td class="trow1" align="center">
<form method="post" action="usercp.php">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="avatar" />
<select name="gallery">
{$galleries}
</select>
&nbsp;{$gobutton}
</form>
</td>
</tr>
<tr>
<td class="tcat"><strong>{$lang->avatars_in_gallery}</strong></td>
</tr>
<tr>
<td class="trow2">
<form method="post" action="usercp.php">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="do_avatar" />
<input type="hidden" name="gallery" value="{$gallery}" />
<table width="100%" cellpadding="4">
{$avatarlist}
</table>
</td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_avatar" />
<input type="submit" class="button" name="submit" value="{$lang->change_avatar}" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="usercp_avatar_gallery_avatar" version="120"><![CDATA[<td width="20%" align="center"><label for="avatar-{$avatar}"><img src="{$avatarpath}" alt="{$avatar}" title="{$avatar}" /><br /><input type="radio" class="radio" name="avatar" value="{$avatar}" id="avatar-{$avatar}" /><strong>{$avatarname}</strong></td>]]></template>
		<template name="usercp_avatar_current" version="1600"><![CDATA[<td class="trow1" width="150" align="right"><img src="{$urltoavatar}" alt="{$lang->avatar}" title="{$lang->avatar}" {$avatar_width_height} /></td>]]></template>
		<template name="headerinclude" version="1603"><![CDATA[<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
{$stylesheets}
<script type="text/javascript">
<!--
	var cookieDomain = "{$mybb->settings['cookiedomain']}";
	var cookiePath = "{$mybb->settings['cookiepath']}";
	var cookiePrefix = "{$mybb->settings['cookieprefix']}";
	var deleteevent_confirm = "{$lang->deleteevent_confirm}";
	var removeattach_confirm = "{$lang->removeattach_confirm}";
	var loading_text = '{$lang->ajax_loading}';
	var saving_changes = '{$lang->saving_changes}';
	var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
	var my_post_key = "{$mybb->post_code}";
	var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}]]></template>
		<template name="showthread_similarthreads" version="120"><![CDATA[<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" colspan="6"><strong>{$lang->similar_threads}</strong></td>
</tr>
<tr>
<td class="tcat" align="center" colspan="2"><span class="smalltext"><strong>{$lang->thread}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->author}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->replies}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->views}</strong></span></td>
<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->lastpost}</strong></span></td>
</tr>
{$similarthreadbits}
</table>]]></template>
		<template name="nav_sep" version="120"><![CDATA[ / ]]></template>
		<template name="post_attachments_new" version="1600"><![CDATA[<tr>
<td class="trow1" width="1"><img src="{$theme['imgdir']}/paperclip.gif" alt="" /></td>
<td class="trow1" style="white-space: nowrap"><strong>{$lang->new_attachment}</strong> <input type="file" name="attachment" size="30" class="fileupload" /></td><td class="trow1" align="center"><input type="submit" class="button" name="updateattachment" value="{$lang->update_attachment}" tabindex="12" /> <input type="submit" class="button" name="newattachment" value="{$lang->add_attachment}"  tabindex="13" />
</td>
</tr>]]></template>
		<template name="nav_sep_active" version="120"><![CDATA[ / ]]></template>
		<template name="member_profile_online" version="1400"><![CDATA[<a href="online.php"><span class="online" style="font-weight: bold;">{$lang->postbit_status_online}</span></a> ({$location} @ {$location_time})]]></template>
		<template name="member_profile_offline" version="1400"><![CDATA[<span class="offline" style="font-weight: bold;">{$lang->postbit_status_offline}</span>]]></template>
		<template name="member_profile" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td class="trow1" width="75%">
<span class="largetext"><strong>{$formattedname}</strong></span><br />
<span class="smalltext">
({$usertitle})<br />
{$groupimage}
{$userstars}<br />
<br />
<strong>{$lang->registration_date}</strong> {$memregdate}<br />
<strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />
<strong>{$lang->local_time}</strong> {$localtime}<br />
<strong>{$lang->postbit_status}</strong> {$online_status}
</span>
</td><td width="25%" align="right" valign="middle">{$avatar}</td></tr></table>
</td>
</tr>
{$awaybit}
</table>
<br />
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td width="50%" valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_forum_info}</strong></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->joined}</strong></td>
<td class="trow1">{$memregdate}</td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->lastvisit}</strong></td>
<td class="trow2">{$memlastvisitdate} {$memlastvisittime}</td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->total_posts}</strong></td>
<td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a> &mdash; <a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</span></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->timeonline}</strong></td>
<td class="trow2">{$timeonline}</td>
</tr>
{$referrals}
{$reputation}
{$warning_level}
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_contact_details}</strong></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->homepage}</strong></td>
<td class="trow1">{$website}</td>
</tr>
{$sendemail}
<tr>
<td class="{$bgcolors['pm']}"><strong>{$lang->pm}</strong></td>
<td class="{$bgcolors['pm']}"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
<tr>
<td class="{$bgcolors['icq']}"><strong>{$lang->icq_number}</strong></td>
<td class="{$bgcolors['icq']}">{$memprofile['icq']}</td>
</tr>
<tr>
<td class="{$bgcolors['aim']}"><strong>{$lang->aim_screenname}</strong></td>
<td class="{$bgcolors['aim']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=aim&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td>
</tr>
<tr>
<td class="{$bgcolors['yahoo']}"><strong>{$lang->yahoo_id}</strong></td>
<td class="{$bgcolors['yahoo']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=yahoo&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td>
</tr>
<tr>
<td class="{$bgcolors['msn']}"><strong>{$lang->msn}</strong></td>
<td class="{$bgcolors['msn']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=msn&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>
</table>
</td>
<td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>
<td width="50%" valign="top">
{$profilefields}
{$signature}
{$modoptions}
{$adminoptions}
{$buddy_options}
</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="member_profile_adminoptions" version="1600"><![CDATA[
<br /><table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" width="100%" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->admin_options}</strong></td>
</tr>
<tr>
<td class="trow1">
<ul>
<li><a href="{$mybb->settings['bburl']}/{$config['admin_dir']}/index.php?module=user/users&amp;action=edit&amp;uid={$uid}">{$lang->admin_edit_in_acp}</a></li>
<li><a href="{$mybb->settings['bburl']}/{$config['admin_dir']}/index.php?module=user/banning&amp;uid={$uid}">{$lang->admin_ban_in_acp}</a></li>
</ul>
</td>
</tr>
</table>]]></template>
		<template name="member_profile_modoptions" version="1600"><![CDATA[
<br /><table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" width="100%" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->mod_options}</strong></td>
</tr>
<tr>
<td class="trow1">
<ul>
<li><a href="{$mybb->settings['bburl']}/modcp.php?action=editprofile&amp;uid={$uid}">{$lang->edit_in_mcp}</a></li>
<li><a href="{$mybb->settings['bburl']}/modcp.php?action=banuser&amp;uid={$uid}">{$lang->ban_in_mcp}</a></li>
</ul>
</td>
</tr>
<tr>
<td class="trow2">
{$memprofile['usernotes']}<br />
<a href="{$mybb->settings['bburl']}/modcp.php?action=editprofile&amp;uid={$uid}">{$lang->edit_usernotes}</a>
</td>
</tr>
</table>
]]></template>
		<template name="header_welcomeblock_guest" version="1600"><![CDATA[<script type="text/javascript">
<!--
	lang.username = "{$lang->login_username}";
	lang.password = "{$lang->login_password}";
	lang.login = "{$lang->login}";
	lang.lost_password = " &mdash; <a href=\"{$mybb->settings['bburl']}/member.php?action=lostpw\">{$lang->lost_password}<\/a>";
	lang.register_url = " &mdash; <a href=\"{$mybb->settings['bburl']}/member.php?action=register\">{$lang->welcome_register}<\/a>";
	lang.remember_me = "{$lang->remember_me}";
// -->
</script>
<span style="float: right;">{$lang->welcome_current_time}</span>
		<span id="quick_login">{$lang->welcome_guest} (<a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="MyBB.quickLogin(); return false;">{$lang->welcome_login}</a> &mdash; <a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}</a>)</span>]]></template>
		<template name="header" version="1600"><![CDATA[	<div id="container">
		<a name="top" id="top"></a>
		<div id="header">
			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
			<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
				</ul>
			</div>
			<hr class="hidden" />
			<div id="panel">
				{$welcomeblock}
			</div>
		</div>
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
			{$pending_joinrequests}
			<navigation>
			<br />
]]></template>
		<template name="usercp_usergroups_leader_usergroup" version="120"><![CDATA[<tr>
<td class="{$trow}"><strong>{$usergroup['title']}</strong></td>
<td class="{$trow}" align="center">{$usergroup['users']} {$memberlistlink}</td>
<td class="{$trow}" align="center">{$usergroup['joinrequests']} {$moderaterequestslink}</td>
</tr>]]></template>
		<template name="usercp_usergroups_leader" version="1400"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="3"><strong>{$lang->usergroups_leader}</strong></td>
</tr>
<tr>
<td class="tcat" width="36%"><strong><span class="smalltext">{$lang->usergroup}</span></strong></td>
<td class="tcat" align="center" width="32%"><strong><span class="smalltext">{$lang->usergroup_members}</span></strong></td>
<td class="tcat" align="center" width="32%"><strong><span class="smalltext">{$lang->join_requests}</span></strong></td>
</tr>
{$groupsledlist}
</table>
<br />]]></template>
		<template name="usercp_usergroups_joinable" version="1400"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="3"><strong>{$lang->usergroups_joinable}</strong></td>
</tr>
<tr>
<td class="tcat" width="36%"><strong><span class="smalltext">{$lang->usergroup}</span></strong></td>
<td class="tcat" align="center" width="32%"><strong><span class="smalltext">{$lang->join_conditions}</span></strong></td>
<td class="tcat" align="center" width="32%"><strong><span class="smalltext">{$lang->join_group}</span></strong></td>
</tr>
{$joinablegrouplist}
</table>
<br />]]></template>
		<template name="usercp_usergroups_joinable_usergroup" version="120"><![CDATA[<tr>
<td class="{$trow}"><strong>{$usergroup['title']}</strong>{$description}</td>
<td class="{$trow}"><span class="smalltext">{$conditions}</span><br /><span class="smalltext">{$usergroupleaders}</span></td>
<td class="{$trow}" align="center">{$joinlink}</td>
</tr>]]></template>
		<template name="usercp_usergroups_memberof_usergroup" version="1400"><![CDATA[<tr>
<td class="{$trow}"><strong>{$usergroup['title']}</strong> {$displaycode}{$description}</td>
<td class="{$trow}" align="center">{$usergroup['usertitle']}</td>
<td class="{$trow}">{$leavelink}</td>
</tr>]]></template>
		<template name="usercp_usergroups" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->group_memberships}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
{$leadinggroups}
{$joinablegroups}
{$membergroups}
</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="usercp_usergroups_memberof" version="1400"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="3"><strong>{$lang->usergroups_memberof}</strong></td>
</tr>
<tr>
<td class="tcat" width="35%"><strong><span class="smalltext">{$lang->usergroup}</span></strong></td>
<td class="tcat" align="center" width="32%"><strong><span class="smalltext">{$lang->usertitle}</span></strong></td>
<td class="tcat" align="center" width="32%"><strong><span class="smalltext">{$lang->usergroup_leave}</span></strong></td>
</tr>
{$memberoflist}
</table>
<br />]]></template>
		<template name="managegroup" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->members_of}</title>
{$headerinclude}
</head>
<body>
{$header}
{$joinrequests}
<p>{$usergrouptype}</p>
{$group_leaders}
<form method="post" action="managegroup.php">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="do_manageusers" />
<input type="hidden" name="gid" value="{$gid}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6"><strong>{$lang->members_of}</strong></td>
</tr>
<tr>
<td class="tcat" width="40%"><span class="smalltext"><strong>{$lang->user_name}</strong></span></td>
<td class="tcat" colspan="2" align="center"><span class="smalltext"><strong>{$lang->contact}</strong></span></td>
<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->reg_date}</strong></span></td>
<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->post_count}</strong></span></td>
<td class="tcat" width="1">&nbsp;</td>
</tr>
{$users}
</table>
<br />
<div align="center">{$remove_users}</div>
</form>
{$add_user}

{$footer}
</body>
</html>]]></template>
		<template name="managegroup_removeusers" version="120"><![CDATA[<input type="submit" class="button" value="{$lang->remove_selected}" />]]></template>
		<template name="managegroup_adduser" version="1400"><![CDATA[<br />
<form method="post" action="managegroup.php">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="do_add" />
<input type="hidden" name="gid" value="{$gid}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6"><strong>{$lang->add_member}</strong></td>
</tr>
<tr>
<td class="trow1">{$lang->username}</td>
<td class="trow1"><input type="text" class="textbox" name="username" size="40" maxlength="{$mybb->settings['maxnamelength']}" /></td>
</tr>
</table>
<br />
<div align="center"><input type="submit" class="button" value="{$lang->add_member_submit}" /></div>
</form>]]></template>
		<template name="managegroup_user" version="1400"><![CDATA[<tr>
<td class="{$altbg}">{$user['profilelink']} {$leader}</td>
<td class="{$altbg}" align="center" width="100">{$email}</td>
<td class="{$altbg}" align="center" width="100">{$sendpm}</td>
<td class="{$altbg}" align="center">{$regdate}</td>
<td class="{$altbg}" align="center">{$user['postnum']}</td>
<td class="{$altbg}" align="center">{$checkbox}</td>
</tr>
]]></template>
		<template name="managegroup_user_checkbox" version="120"><![CDATA[<input type="checkbox" class="checkbox" name="removeuser[{$user['uid']}]" value="{$user['uid']}" />]]></template>
		<template name="managegroup_requestnote" version="120"><![CDATA[<p>
<strong><a href="managegroup.php?action=joinrequests&amp;gid={$gid}">{$lang->pending_requests}</a></strong><br />
{$lang->num_requests_pending}
</p>]]></template>
		<template name="managegroup_joinrequests" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->join_requests}</title>
{$headerinclude}
</head>
<body>
{$header}
{$joinrequests}
<form method="post" action="managegroup.php">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="do_joinrequests" />
<input type="hidden" name="gid" value="{$gid}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6"><strong>{$lang->join_requests}</strong></td>
</tr>
<tr>
<td class="tcat" width="30%"><strong>{$lang->user_name}</strong></td>
<td class="tcat" align="center" width="40%"><strong>{$lang->reason}</strong></td>
<td class="tcat" align="center" width="10%"><strong>{$lang->accept}</strong></td>
<td class="tcat" align="center" width="10%"><strong>{$lang->ignore}</strong></td>
<td class="tcat" align="center" width="10%"><strong>{$lang->decline}</strong></td>
</tr>
{$users}
</table>
<br />
<div align="center"><input type="submit" class="button" value="{$lang->action_requests}" /></div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="managegroup_joinrequests_request" version="1400"><![CDATA[<tr>
<td class="{$altbg}">{$user['profilelink']}</td>
<td class="{$altbg}" align="center">{$user['reason']}</td>
<td class="{$altbg}" align="center"><input type="radio" class="radio" name="request[{$user['uid']}]" value="accept" /></td>
<td class="{$altbg}" align="center"><input type="radio" class="radio" name="request[{$user['uid']}]" value="ignore" checked="checked" /></td>
<td class="{$altbg}" align="center"><input type="radio" class="radio" name="request[{$user['uid']}]" value="decline" /></td>
</tr>
]]></template>
		<template name="managegroup_leaders" version="1600"><![CDATA[<p>{$lang->group_leaders}: {$leaders}</p>]]></template>
		<template name="managegroup_leaders_bit" version="1600"><![CDATA[{$leader_profile_link}{$comma}]]></template>
		<template name="private_send" version="1600"><![CDATA[<html>
<head>
<title>{$lang->compose_pm}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/usercp.js?ver=1600"></script>
</head>
<body>
{$header}
<form action="private.php" method="post" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
{$preview}
{$send_errors}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->compose_pm}</strong></td>
</tr>
<tr>
<td class="trow1" valign="top" width="200"><strong>{$lang->compose_to}</strong>
	<script type="text/javascript">
	<!--
		document.write('(<a href="#" onclick="showBcc(); return false;" title="{$lang->compose_bcc_show_title}">{$lang->compose_bcc_show}<\/a>)');
	// -->
	</script>
	<br /><span class="smalltext">{$lang->separate_names}{$buddy_select_to}</span></td>
<td class="trow1" valign="top"><textarea name="to" id="to" rows="2" cols="38" tabindex="1">{$to}</textarea>{$max_recipients}</td>
</tr>
<tr id="bcc_area">
<td class="trow2" valign="top"><strong>{$lang->compose_bcc}</strong>{$buddy_select_bcc}</td>
<td class="trow2"><textarea name="bcc" id="bcc" rows="2" cols="38" tabindex="1">{$bcc}</textarea></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->compose_subject}</strong></td>
<td class="trow1"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="3" /></td>
</tr>
{$posticons}
<tr>
<td class="trow2" valign="top"><strong>{$lang->compose_message}</strong>{$smilieinserter}</td>
<td class="trow2">
<textarea name="message" id="message" rows="20" cols="70" tabindex="4">{$message}</textarea>
{$codebuttons}
</td>
</tr>
<tr>
<td class="trow1" valign="top"><strong>{$lang->compose_options}</strong></td>
<td class="trow1"><span class="smalltext">
<label><input type="checkbox" class="checkbox" name="options[signature]" value="1" tabindex="5" {$optionschecked['signature']} />{$lang->options_sig}</label><br />
<label><input type="checkbox" class="checkbox" name="options[disablesmilies]" value="1" tabindex="6" {$optionschecked['disablesmilies']} />{$lang->options_disable_smilies}</label><br />
<label><input type="checkbox" class="checkbox" name="options[savecopy]" value="1" tabindex="7" {$optionschecked['savecopy']} />{$lang->options_save_copy}</label><br />
<label><input type="checkbox" class="checkbox" name="options[readreceipt]" value="1" tabindex="8" {$optionschecked['readreceipt']} />{$lang->options_read_receipt}</label><br />
</span></td>
</tr>
</table>
<br />
<input type="hidden" name="action" value="do_send" />
<input type="hidden" name="pmid" value="{$pmid}" />
<input type="hidden" name="do" value="{$do}" />
<div style="text-align: center;">
<input type="submit" class="button" name="submit" value="{$lang->send_message}" tabindex="9" accesskey="s" />
<input type="submit" class="button" name="saveasdraft" value="{$lang->save_draft}" tabindex="10" />
<input type="submit" class="button" name="preview" value="{$lang->preview}" tabindex="11" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
<script type="text/javascript">
<!--
	if($('bcc_area') && $('bcc').value == "")
	{
		$('bcc_area').style.display = 'none';
	}

	function showBcc()
	{
		if($('bcc_area').style.display == 'none')
		{
			$('bcc_area').style.display = '';
		}
		else
		{
			$('bcc_area').style.display = 'none';
		}
	}
// -->
</script>
{$autocompletejs}
</body>
</html>]]></template>
		<template name="showthread_newreply_closed" version="120"><![CDATA[<a href="newreply.php?tid={$tid}"><img src="{$theme['imglangdir']}/closed.gif" alt="{$lang->thread_closed}" title="{$lang->thread_closed}" /></a>&nbsp;]]></template>
		<template name="polls_editpoll" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->edit_poll}</title>
{$headerinclude}
</head>
<body>
{$header}
{$preview}
<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="3"><strong>{$lang->delete_poll}</strong></td>
</tr>
<tr>
<td class="trow1" style="white-space: nowrap"><input type="checkbox" class="checkbox" name="delete" value="1" tabindex="9" /><strong>{$lang->delete_q}</strong></td>
<td class="trow1" width="100%">{$lang->delete_note}<br /><span class="smalltext">{$lang->delete_note2}</span></td>
<td class="trow1" style="white-space: nowrap"><input type="submit" class="button" name="submit" value="{$lang->delete_poll}" tabindex="10" /></td>
</table>
<input type="hidden" name="action" value="do_deletepoll" />
<input type="hidden" name="tid" value="{$tid}" />
</form>
<br />
<form action="polls.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->edit_poll}</strong></td>
</tr>
{$loginbox}
<tr>
<td class="trow2"><strong>{$lang->question}</strong></td>
<td class="trow2"><input type="text" class="textbox" name="question" size="40" maxlength="240" value="{$question}" /></td>
</tr>
<tr>
<td class="trow1" valign="top"><strong>{$lang->num_options}</strong><br /><span class="smalltext">{$lang->max_options} {$mybb->settings['maxpolloptions']}</span></td>
<td class="trow1"><input type="text" class="textbox" name="numoptions" size="10" value="{$numoptions}" />&nbsp;&nbsp;<input type="submit" class="button" name="updateoptions" value="{$lang->update_options}" /></td>
</tr>
<tr>
<td class="trow2" valign="top"><strong>{$lang->poll_options}</strong></td>
<td class="trow2"><span class="smalltext">{$lang->poll_options_note}</span>
<table border="0" cellspacing="0" cellpadding="0">
{$optionbits}
</table>
</td>
</tr>
<tr>
<td class="trow1" valign="top"><strong>{$lang->options}</strong></td>
<td class="trow1"><span class="smalltext">
<label><input type="checkbox" class="checkbox" name="postoptions[multiple]" value="1" {$postoptionschecked['multiple']} />&nbsp;{$lang->option_multiple}</label><br />
<label><input type="checkbox" class="checkbox" name="postoptions[public]" value="1" {$postoptionschecked['public']} />&nbsp;{$lang->option_public}</label><br />
<label><input type="checkbox" class="checkbox" name="postoptions[closed]" value="1" {$postoptionschecked['closed']} />&nbsp;{$lang->option_closed}</label>
</span>
</td>
</tr>
<tr>
<td class="trow2" valign="top"><strong>{$lang->poll_timeout}</strong><br /><span class="smalltext">{$lang->timeout_note}</span></td>
<td class="trow2"><input type="text" class="textbox" name="timeout" value="{$timeout}" /> {$lang->days_after} {$polldate}</td>
</tr>
</table>
<br />
<div align="center">
<input type="submit" class="button" name="submit" value="{$lang->update_poll}" />
</div>
<input type="hidden" name="action" value="do_editpoll" />
<input type="hidden" name="pid" value="{$pid}" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="forumbit_depth1_cat" version="1400"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />]]></template>
		<template name="postbit_edit" version="1400"><![CDATA[<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}"><img src="{$theme['imglangdir']}/postbit_edit.gif" alt="{$lang->postbit_edit}" title="{$lang->postbit_edit}" /></a>
<div id="edit_post_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="javascript:;" onclick="Thread.quickEdit({$post['pid']});" class="popup_item">{$lang->postbit_quick_edit}</a></div><div class="popup_item_container"><a href="editpost.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_full_edit}</a></div></div>
<script type="text/javascript">
// <!--
	if(use_xmlhttprequest == "1")
	{
		new PopupMenu("edit_post_{$post['pid']}");
	}
// -->
</script>]]></template>
		<template name="postbit_email" version="120"><![CDATA[<a href="member.php?action=emailuser&amp;uid={$post['uid']}"><img src="{$theme['imglangdir']}/postbit_email.gif" alt="{$lang->postbit_email}" title="{$lang->postbit_email}" /></a>]]></template>
		<template name="postbit_find" version="120"><![CDATA[<a href="search.php?action=finduser&amp;uid={$post['uid']}"><img src="{$theme['imglangdir']}/postbit_find.gif" alt="{$lang->postbit_find}" title="{$lang->postbit_find}" /></a>]]></template>
		<template name="postbit_pm" version="120"><![CDATA[<a href="private.php?action=send&amp;uid={$post['uid']}"><img src="{$theme['imglangdir']}/postbit_pm.gif" alt="{$lang->postbit_pm}" title="{$lang->postbit_pm}" /></a>]]></template>
		<template name="postbit_quickdelete" version="1400"><![CDATA[<a href="editpost.php?pid={$post['pid']}" onclick="Thread.deletePost({$post['pid']}); return false;" style="display: none;" id="quick_delete_{$post['pid']}"><img src="{$theme['imglangdir']}/postbit_delete.gif" alt="{$lang->postbit_qdelete}" title="{$lang->postbit_qdelete}" /></a>
<script type="text/javascript">
// <!--
	$('quick_delete_{$post['pid']}').style.display = '';
// -->
</script>]]></template>
		<template name="postbit_quote" version="120"><![CDATA[<a href="newreply.php?tid={$tid}&amp;pid={$post['pid']}"><img src="{$theme['imglangdir']}/postbit_quote.gif" alt="{$lang->postbit_quote}" title="{$lang->postbit_quote}" /></a>]]></template>
		<template name="postbit_rep_button" version="1600"><![CDATA[<a href="javascript:MyBB.reputation({$post['uid']},{$post['pid']});"><img src="{$theme['imglangdir']}/postbit_reputation.gif" alt="{$lang->postbit_reputation}" title="{$lang->postbit_reputation}" /></a>]]></template>
		<template name="postbit_report" version="120"><![CDATA[<a href="javascript:Thread.reportPost({$post['pid']});"><img src="{$theme['imglangdir']}/postbit_report.gif" alt="{$lang->postbit_report}" title="{$lang->postbit_report}" /></a>]]></template>
		<template name="postbit_www" version="120"><![CDATA[<a href="{$post['website']}" target="_blank"><img src="{$theme['imglangdir']}/postbit_www.gif" alt="{$lang->postbit_website}" title="{$lang->postbit_website}" /></a>]]></template>
		<template name="polls_showresults_resultbit" version="1402"><![CDATA[<tr>
<td class="{$optionbg}" align="right">{$option}{$votestar}</td>
<td class="{$optionbg}" width="{$imagerowwidth}"><img src="{$theme['imgdir']}/pollbar-s.gif" alt="" /><img src="{$theme['imgdir']}/pollbar.gif" width="{$imagewidth}" height="10" alt="{$percent}%" title="{$percent}%" /><img src="{$theme['imgdir']}/pollbar-e.gif" alt="" /><br />{$userlist}</td>
<td class="{$optionbg}" width="67" align="center">{$votes}</td>
<td class="{$optionbg}" width="67" align="center">{$percent}%</td>
</tr>
]]></template>
		<template name="showthread_poll_resultbit" version="1402"><![CDATA[<tr>
<td class="{$optionbg}" align="right">{$option}{$votestar}</td>
<td class="{$optionbg}"><img src="{$theme['imgdir']}/pollbar-s.gif" alt="" /><img src="{$theme['imgdir']}/pollbar.gif" width="{$imagewidth}" height="10" alt="{$percent}%" title="{$percent}%" /><img src="{$theme['imgdir']}/pollbar-e.gif" alt="" /></td>
<td class="{$optionbg}" width="67" align="center">{$votes}</td>
<td class="{$optionbg}" width="67" align="center">{$percent}%</td>
</tr>
]]></template>
		<template name="showteam_usergroup" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="3"><strong>{$usergroup['title']}</strong></td>
</tr>
<tr>
<td class="tcat"><span class="smalltext"><strong>{$lang->uname}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->email}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->pm}</strong></span></td>
</tr>
{$usergrouprows}
</table>
<br />]]></template>
		<template name="showteam_moderators" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="4"><strong>{$lang->moderators}</strong></td>
</tr>
<tr>
<td class="tcat"><span class="smalltext"><strong>{$lang->mod_username}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->mod_forums}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->mod_email}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->mod_pm}</strong></span></td>
</tr>
{$modrows}
</table>
<br/>]]></template>
		<template name="showteam_moderators_mod" version="1400"><![CDATA[<tr>
<td width="50%" class="trow1"><a href="{$user['profilelink']}"><strong>{$user['username']}</strong></a></td>
<td width="30%" class="trow2"><span class="smalltext">{$forumslist}</span></td>
<td width="10%" class="trow2">{$emailcode}</td>
<td width="10%" class="trow1">{$pmcode}</td>
</tr>]]></template>
		<template name="report_noreason" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->report_post}</title>
{$headerinclude}
</head>
<body>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1" align="center">
<br />
<br />
<strong>{$lang->report_error}</strong>
<blockquote>{$lang->no_reason}</blockquote>
<br /><br />
<div>
	<script type="text/javascript">
	<!--
		document.write('[<a href="javascript:history.go(-1);">{$lang->go_back}</a>]');
		document.write('[<a href="javascript:window.close();">{$lang->close_window}</a>]');
	// -->
	</script>
</div>
</td>
</tr>
</table>
</body>
</html>]]></template>
		<template name="reputation" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->reputation_report}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	var delete_reputation_confirm = "{$lang->delete_reputation_confirm}";
// -->
</script>
</head>
<body>
{$header}
{$add_reputation}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
<tr>
	<td class="thead"><strong>{$lang->reputation_report}</strong></td>
</tr>
<tr>
	<td class="tcat"><strong>{$lang->summary}</strong></td>
</tr>
<tr>
	<td class="trow1">
	<table width="100%" cellspacing="0" cellpadding="0" border="0">
		<tr>
			<td>
				<span class="largetext"><strong>{$username}</strong></span><br />
				<span class="smalltext">
					({$usertitle})<br />
					<br />
					<strong>{$lang->total_reputation}:</strong> <span class="repbox {$total_class}">{$user['reputation']}</span><br /><br />
					<strong>{$lang->reputation_members} {$rep_members}</strong><br />
					<strong>{$lang->reputation_posts} {$rep_posts}</strong><br />
					<strong class="reputation_positive">{$lang->positive_count}:</strong> {$positive_count}<br />
					<strong class="reputation_neutral">{$lang->neutral_count}:</strong> {$neutral_count}<br />
					<strong class="reputation_negative">{$lang->negative_count}:</strong> {$negative_count}
				</span>
			</td>
			<td align="right" style="width: 300px;">
					<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder trow2">
						<tr>
							<td>&nbsp;</td>
							<td><span class="smalltext reputation_positive">{$lang->positive_count}</span></td>
							<td><span class="smalltext reputation_neutral">{$lang->neutral_count}</span></td>
							<td><span class="smalltext reputation_negative">{$lang->negative_count}</span></td>
						</tr>
						<tr>
							<td style="text-align: right;"><span class="smalltext">{$lang->last_week}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$positive_week}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$neutral_week}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$negative_week}</span></td>
						</tr>
						<tr>
							<td style="text-align: right;"><span class="smalltext">{$lang->last_month}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$positive_month}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$neutral_month}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$negative_month}</span></td>
						</tr>
						<tr>
							<td style="text-align: right;"><span class="smalltext">{$lang->last_6months}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$positive_6months}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$neutral_6months}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$negative_6months}</span></td>
						</tr>
					</table>
			</td>
		</tr>
	</table>
	</td>
</tr>
<tr>
	<td class="tcat"><strong>{$lang->comments}</strong></td>
</tr>
{$reputation_votes}
<tr>
	<td class="tfoot" align="right">
	<form action="reputation.php" method="get">
		<input type="hidden" name="uid" value="{$user['uid']}" />
		<select name="show">
			<option value="all" {$show_selected['all']}>{$lang->show_all}</option>
			<option value="positive" {$show_selected['positive']}>{$lang->show_positive}</option>
			<option value="neutral" {$show_selected['neutral']}>{$lang->show_neutral}</option>
			<option value="negative" {$show_selected['negative']}>{$lang->show_negative}</option>
		</select>
		<select name="sort">
			<option value="dateline" {$sort_selected['last_updated']}>{$lang->sort_updated}</option>
			<option value="username" {$sort_selected['username']}>{$lang->sort_username}</option>
		</select>
		{$gobutton}
	</form>
	</td>
</tr>
</table>
{$multipage}
{$footer}
</body>
</html>]]></template>
		<template name="misc_buddypopup" version="1400"><![CDATA[<html>
<head>
<title>{$lang->buddy_list}</title>
<meta http-equiv="refresh" content="60; URL=misc.php?action=buddypopup" />
{$headerinclude}
<style type="text/css">
body {
	text-align: left;
}

.buddy_avatar {
	height: 50px;
	width: 50px;
	background: #fff;
	border: 1px solid #ccc;
	float: left;
	clear: left;
	margin-right: 5px;
	text-align: center;
}

.buddy_details img {
	vertical-align: middle;
}

.buddy_action {
	margin-left: 80px;
}
</style>
</head>
<body style="margin:0; padding: 4px; top: 0; left: 0;">
	<table width="100%" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" border="0" align="center" class="tborder">
	<tr>
		<td class="thead">
			<div class="float_right" style="margin-top: 3px;"><span class="smalltext"><a href="#" onclick="window.close();">{$lang->close}</a></span></div>
			<div><strong>{$lang->buddy_list}</strong></div>
		</td>
	</tr>
	<tr>
		<td class="trow2">
			<div style="overflow: auto; height: 300px;">
				<table width="100%" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" border="0" align="center" class="tborder" style="border: 0;">
					{$buddys['online']}
					{$buddys['offline']}
				</table>
			</div>
		</td>
	</tr>
	</table>
</body>
</html>]]></template>
		<template name="misc_buddypopup_user_offline" version="1400"><![CDATA[					<tr>
						<td class="trow1">
						<div class="buddy_avatar"><img src="{$buddy['avatar']}" alt="" width="{$scaled_dimensions['width']}" height="{$scaled_dimensions['height']}" style="margin-top: {$margin_top}px;" /></div>
						<div class="buddy_details">
							<img src="{$theme['imgdir']}/buddy_offline.gif" alt="{$lang->offline}" title="{$lang->offline}" /> {$profile_link}
							<div class="buddy_action">
								<span class="smalltext">{$last_active}<br />{$send_pm}</span>
							</div>
						</div>
						</td>
					</tr>]]></template>
		<template name="misc_buddypopup_user_online" version="1400"><![CDATA[					<tr>
						<td class="trow1">
						<div class="buddy_avatar"><img src="{$buddy['avatar']}" alt="" width="{$scaled_dimensions['width']}" height="{$scaled_dimensions['height']}" style="margin-top: {$margin_top}px;" /></div>
						<div class="buddy_details">
							<img src="{$theme['imgdir']}/buddy_online.gif" alt="{$lang->online}" title="{$lang->online}" /> {$profile_link}
							<div class="buddy_action">
								<span class="smalltext">{$last_active}<br />{$send_pm}</span>
							</div>
						</div>
						</td>
					</tr>]]></template>
		<template name="private_archive_txt" version="120"><![CDATA[{$lang->private_messages_for}
({$lang->exported_date})

{$pmsdownload}]]></template>
		<template name="postbit_avatar" version="1400"><![CDATA[<a href="{$post['profilelink_plain']}"><img src="{$post['avatar']}" alt="" {$avatar_width_height} /></a>]]></template>
		<template name="usercp_profile_customfield" version="1400"><![CDATA[<tr>
<td><span class="smalltext">
<a title="{$profilefield['description']}" style="text-decoration: none;">{$profilefield['name']}</a>:</span></td>
</tr>
<tr>
<td>{$code}</td>
</tr>
]]></template>
		<template name="usercp_profile_profilefields" version="120"><![CDATA[<br />
<fieldset class="trow2">
<legend><strong>{$lang->additional_information}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}" width="100%">
{$customfields}
</table>
</fieldset>]]></template>
		<template name="private_archive" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->archive_messages}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="private.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->archive_messages}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2"><span class="smalltext">{$lang->archive_note}</span></td>
</tr>
<tr>
<td class="trow1" valign="top" width="30%"><strong>{$lang->folders}</strong></td>
<td class="trow1">{$folderlist}</td>
</tr>
<tr>
<td class="trow2" valign="top" width="30%"><strong>{$lang->date_limit}</strong></td>
<td class="trow2"><select name="dayway"><option value="older">{$lang->date_limit_older}</option><option value="newer">{$lang->date_limit_newer}</option><option value="disregard">{$lang->date_limit_disregard}</option></select> <input type="text" class="textbox" name="daycut" value="30" size="3" maxlength="4" /> {$lang->date_limit_days}</td>
</tr>
<tr>
<td class="trow1" valign="top" width="30%"><strong>{$lang->export_unread}</strong></td>
<td class="trow1"><input type="radio" class="radio" name="exportunread" value="1" /> {$lang->yes} <input type="radio" class="radio" name="exportunread" value="0" checked="checked" /> {$lang->no} </td>
</tr>
<tr>
<td class="trow2" valign="top" width="30%"><strong>{$lang->delete_archived}</strong><br /><span class="smalltext">{$lang->delete_archived_note}</span></td>
<td class="trow2"><input type="radio" class="radio" name="deletepms" value="1" /> {$lang->yes} <input type="radio" class="radio" name="deletepms" value="0" checked="checked" /> {$lang->no} </td>
</tr>
<tr>
<td class="trow1" valign="top" width="30%"><strong>{$lang->export_format}</strong><br /><span class="smalltext">{$lang->export_format_note}</span></td>
<td class="trow1"><input type="radio" class="radio" name="exporttype" value="html" checked="checked" /> {$lang->export_html}<br /><input type="radio" class="radio" name="exporttype" value="txt" /> {$lang->export_txt}<br /><input type="radio" class="radio" name="exporttype" value="csv" /> {$lang->export_csv}</td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_export" />
<input type="submit" class="button" name="submit" value="{$lang->archive_messages}" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="private_folders_folder" version="120"><![CDATA[<tr>
<td class="trow1"><input type="text" class="textbox" name="folder[{$fid}]" size="25" value="{$foldername}" maxlength="30" /></td>
</tr>]]></template>
		<template name="private_folders_folder_unremovable" version="1400"><![CDATA[<tr>
<td class="trow1"><input type="text" class="textbox" name="folder[{$fid}]" size="25" value="{$foldername}" maxlength="30" /> <span class="smalltext">({$foldername2} - {$lang->cannot_be_removed})</span>
</td>
</tr>]]></template>
		<template name="showteam_usergroup_user" version="1400"><![CDATA[<tr>
<td width="80%" class="{$bgcolor}"><a href="{$user['profilelink']}"><strong>{$user['username']}</strong></a></td>
<td width="10%" class="{$bgcolor}">{$emailcode}</td>
<td width="10%" class="{$bgcolor}">{$pmcode}</td>
</tr>]]></template>
		<template name="showteam_moderators_forum" version="1400"><![CDATA[<a href="{$forum_url}">{$forum['name']}</a><br/>]]></template>
		<template name="moderation_inline_deleteposts" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->delete_posts}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->delete_posts}</strong></td>
</tr>
<tr>
<td class="trow1" colspan="2" align="center">{$lang->confirm_delete_posts}</td>
</tr>
{$loginbox}
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->delete_posts}" /></div>
<input type="hidden" name="action" value="do_multideleteposts" />
<input type="hidden" name="tid" value="{$tid}" />
<input type="hidden" name="posts" value="{$inlineids}" />
<input type="hidden" name="url" value="{$return_url}" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="online_today" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->online_today}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" width="50%"><span class="smalltext"><strong>{$lang->on_username}</strong></span></td>
<td class="thead" align="center" width="50%"><span class="smalltext"><strong>{$lang->time}</strong></span></td>
</tr>
{$todayrows}
<tr>
<td align="center" colspan="2" class="trow1" style="white-space: nowrap">{$onlinetoday}</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="forumdisplay_thread_modbit" version="120"><![CDATA[<td class="{$bgcolor}" align="center" style="white-space: nowrap"><input type="checkbox" class="checkbox" name="inlinemod_{$multitid}" id="inlinemod_{$multitid}" value="1" {$inlinecheck}  /></td>]]></template>
		<template name="forumdisplay_thread_gotounread" version="1400"><![CDATA[<a href="{$thread['newpostlink']}"><img src="{$theme['imgdir']}/jump.gif" alt="{$lang->goto_first_unread}" title="{$lang->goto_first_unread}" /></a> ]]></template>
		<template name="private_tracking" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->pm_tracking}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
{$read_multipage}
<form action="private.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="do_tracking" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" colspan="5"><strong>{$lang->read_messages}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->message_title}</strong></span></td>
<td class="tcat" align="center" width="30%"><span class="smalltext"><strong>{$lang->sentto}</strong></span></td>
<td class="tcat" align="right" width="20%"><span class="smalltext"><strong>{$lang->dateread}</strong></span></td>
<td class="tcat" align="center" width="1%"><span class="smalltext"><input type="checkbox" class="checkbox checkall" /></span></td>
</tr>
{$readmessages}
<tr>
<td class="tfoot" align="right" colspan="5"><strong><input type="submit" class="button" name="stoptracking" value="{$lang->stop_tracking}" /> {$lang->selected_messages}</strong></td>
</tr>
</table>
</form>
<br />
{$unread_multipage}
<form action="private.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="do_tracking" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" colspan="5"><strong>{$lang->unread_messages}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->message_title}</strong></span></td>
<td class="tcat" align="center" style="white-space: nowrap" width="30%"><span class="smalltext"><strong>{$lang->sentto}</strong></span></td>
<td class="tcat" align="right" style="white-space: nowrap" width="20%"><span class="smalltext"><strong>{$lang->datesent}</strong></span></td>
<td class="tcat" align="center" width="1%" style="white-space: nowrap"><span class="smalltext"><input type="checkbox" class="checkbox checkall" /></span></td>
</tr>
{$unreadmessages}
<tr>
<td class="tfoot" align="right" colspan="5"><strong><input type="submit" class="button" name="stoptrackingunread" value="{$lang->stop_tracking}" /> / <input type="submit" class="button" name="cancel" value="{$lang->cancel}" /> {$lang->selected_messages}</strong></td>
</tr>
</table>
</form>
</td></tr></table>
{$footer}
</body>
</html>]]></template>
		<template name="moderation_threadnotes" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->thread_notes_editor}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->thread_notes_editor}</strong></td>
</tr>
{$loginbox}
<tr>
<td class="trow2" colspan="2">{$lang->below_notes}</td>
</tr>
<td class="trow1" align="center" colspan="2"><textarea name="threadnotes" cols="80" rows="10" tabindex="1">{$thread['notes']}</textarea></td>
</tr>
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->update_notes}" tabindex="2" /></div>
<input type="hidden" name="action" value="do_threadnotes" />
<input type="hidden" name="tid" value="{$tid}" />
</form>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="4"><strong>{$lang->mod_logs}</strong></td>
</tr>
<tr>
<td class="tcat" align="center"><strong>{$lang->mod_username}</strong></td>
<td class="tcat" align="center"><strong>{$lang->mod_date}</strong></td>
<td class="tcat" align="center"><strong>{$lang->mod_actions}</strong></td>
<td class="tcat" align="center"><strong>{$lang->mod_information}</strong></td>
</tr>
{$modactions}
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="4"><strong>{$lang->delayed_mod_queue}</strong></td>
</tr>
<tr>
<td class="tcat" align="center"><strong>{$lang->mod_username}</strong></td>
<td class="tcat" align="center"><strong>{$lang->days_to_perform_action}</strong></td>
<td class="tcat" align="center"><strong>{$lang->mod_actions}</strong></td>
<td class="tcat" align="center"><strong>{$lang->mod_information}</strong></td>
</tr>
{$delayedmods}
</table>
{$footer}
</body>
</html>]]></template>
		<template name="error_maxpostimages" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->error_too_many_images}</strong></td>
</tr>
<tr>
<td class="trow1">{$lang->error_too_many_images2}<br /><span class="smalltext">{$lang->error_too_many_images3} {$mybb->settings['maxpostimages']}.</span>
</td>
</tr>
</table>
<br />]]></template>
		<template name="private_archive_html" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->private_messages_for}</title>
<style type="text/css">{$css}
* {text-align: left}</style>
</head>
<body>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="1"><span class="largetext"><strong>{$lang->private_messages_for}</strong></span></td>
</tr>
{$pmsdownload}
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1" colspan="1">{$lang->exported_date}<br /><a href="{$mybb->settings['bburl']}">{$mybb->settings['bbname']}</a></td>
</tr>
</table>
</body>]]></template>
		<template name="private_messagebit" version="128"><![CDATA[<tr>
<td align="center" class="trow1" width="1%"><img src="{$theme['imgdir']}/{$msgfolder}" alt="{$msgalt}" title="{$msgalt}" /></td>
<td align="center" class="trow2" width="1%">{$icon}</td>
<td class="trow1" width="35%">{$msgprefix}<a href="private.php?action=read&amp;pmid={$message['pmid']}">{$message['subject']}</a>{$msgsuffix}{$denyreceipt}</td>
<td align="center" class="trow2">{$tofromusername}</td>
<td class="trow1" align="right" style="white-space: nowrap"><span class="smalltext">{$senddate} {$sendtime}</span></td>
<td class="trow2" align="center"><input type="checkbox" class="checkbox" name="check[{$message['pmid']}]" value="1" /></td>
</tr>]]></template>
		<template name="private_search_messagebit" version="1600"><![CDATA[<tr>
<td align="center" class="trow1" width="1%"><img src="{$theme['imgdir']}/{$msgfolder}" alt="{$msgalt}" title="{$msgalt}" /></td>
<td align="center" class="trow2" width="1%">{$icon}</td>
<td class="trow1" width="35%">{$msgprefix}<a href="private.php?action=read&amp;pmid={$message['pmid']}">{$message['subject']}</a>{$msgsuffix}{$denyreceipt}
<br />{$message['message']}</td>
<td align="center" class="trow2">{$tofromusername}</td>
<td align="center" class="trow1"><a href="private.php?fid={$message['folder']}">{$foldername}</a></td>
<td class="trow2" align="center" style="white-space: nowrap"><span class="smalltext">{$senddate} {$sendtime}</span></td>
<td class="trow1" align="center"><input type="checkbox" class="checkbox" name="check[{$message['pmid']}]" value="1" /></td>
</tr>]]></template>
		<template name="private_multiple_recipients" version="1400"><![CDATA[<a href="private.php?action=read&amp;pmid={$message['pmid']}" id="private_message_{$message['pmid']}">{$lang->multiple_recipients}</a>
		<div id="private_message_{$message['pmid']}_popup" class="popup_menu" style="display: none;"><div class="tcat"><strong>{$lang->to}</strong></div>{$to_users}{$bcc_users}</div>
<script type="text/javascript">
<!--
	new PopupMenu("private_message_{$message['pmid']}");
// -->
</script>]]></template>
		<template name="private_multiple_recipients_user" version="1400"><![CDATA[<div class="popup_item_container"><a href="{$profilelink}" class="popup_item">{$username}</a></div>]]></template>
		<template name="private_multiple_recipients_bcc" version="1400"><![CDATA[<div class="tcat"><strong>{$lang->bcc}</strong></div>]]></template>
		<template name="private_nomessages" version="120"><![CDATA[<tr>
<td colspan="6" class="trow1">{$lang->nomessages}</td>
</tr>]]></template>
		<template name="private_search_results_nomessages" version="1600"><![CDATA[<tr>
<td colspan="7" class="trow1">{$lang->nomessages}</td>
</tr>]]></template>
		<template name="codebuttons" version="1600"><![CDATA[<script type="text/javascript" src="jscripts/editor.js?ver=1600"></script>
<script type="text/javascript">
<!--
	{$editor_language}
	var clickableEditor = new messageEditor("{$bind}", {lang: editor_language, rtl: {$lang->settings['rtl']}, theme: "{$theme['editortheme']}"});
	if(clickableEditor)
	{
		clickableEditor.bindSmilieInserter("clickable_smilies");
	}
// -->
</script>]]></template>
		<template name="showthread_quickreply" version="1400"><![CDATA[<br />
<form method="post" action="newreply.php?tid={$tid}&amp;processed=1" name="quick_reply_form" id="quick_reply_form">
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	<input type="hidden" name="subject" value="RE: {$thread['subject']}" />
	<input type="hidden" name="action" value="do_newreply" />
	<input type="hidden" name="posthash" value="{$posthash}" id="posthash" />
	<input type="hidden" name="quoted_ids" value="" id="quoted_ids" />
	<input type="hidden" name="lastpid" id="lastpid" value="{$last_pid}" />
	<input type="hidden" name="from_page" value="{$page}" />
	<input type="hidden" name="tid" value="{$tid}" />
	<input type="hidden" name="method" value="quickreply" />

	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<thead>
			<tr>
				<td class="thead" colspan="2">
					<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['quickreply']}.gif" id="quickreply_img" class="expander" alt="[-]" title="[-]" /></div>
					<div><strong>{$lang->quick_reply}</strong></div>
				</td>
			</tr>
		</thead>
		<tbody style="{$collapsed['quickreply_e']}" id="quickreply_e">
			<tr>
				<td class="trow1" valign="top" width="22%">
					<strong>{$lang->message}</strong><br />
					<span class="smalltext">{$lang->message_note}<br /><br />
					<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" {$postoptionschecked['signature']} />&nbsp;<strong>{$lang->signature}</strong></label><br />
					<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" />&nbsp;<strong>{$lang->disable_smilies}</strong></label>{$closeoption}</span>
				</td>
				<td class="trow1">
					<div style="width: 95%">
						<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>
					</div>
					<div class="editor_control_bar" style="width: 95%; padding: 4px; margin-top: 3px; display: none;" id="quickreply_multiquote">
						<span class="smalltext">
							{$lang->quickreply_multiquote_selected} <a href="./newreply.php?tid={$tid}&amp;load_all_quotes=1" onclick="return Thread.loadMultiQuoted();">{$lang->quickreply_multiquote_now}</a> {$lang->or} <a href="javascript:Thread.clearMultiQuoted();">{$lang->quickreply_multiquote_deselect}</a>.
						</span>
					</div>
				</td>
			</tr>
			{$captcha}
			<tr>
				<td colspan="2" align="center" class="tfoot"><input type="submit" class="button" value="{$lang->post_reply}" tabindex="2" accesskey="s" id="quick_reply_submit" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="3" /></td>
			</tr>
		</tbody>
	</table>
</form>]]></template>
		<template name="memberlist" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->member_list}</title>
{$headerinclude}
</head>
<body>
{$header}
{$multipage}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6">
	<div class="float_right">
		<a href="memberlist.php?username_match=begins&amp;username={$lang->a}" style="padding: 5px;">{$lang->a}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->b}" style="padding: 5px;">{$lang->b}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->c}" style="padding: 5px;">{$lang->c}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->d}" style="padding: 5px;">{$lang->d}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->e}" style="padding: 5px;">{$lang->e}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->f}" style="padding: 5px;">{$lang->f}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->g}" style="padding: 5px;">{$lang->g}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->h}" style="padding: 5px;">{$lang->h}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->i}" style="padding: 5px;">{$lang->i}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->j}" style="padding: 5px;">{$lang->j}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->k}" style="padding: 5px;">{$lang->k}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->l}" style="padding: 5px;">{$lang->l}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->m}" style="padding: 5px;">{$lang->m}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->n}" style="padding: 5px;">{$lang->n}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->o}" style="padding: 5px;">{$lang->o}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->p}" style="padding: 5px;">{$lang->p}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->q}" style="padding: 5px;">{$lang->q}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->r}" style="padding: 5px;">{$lang->r}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->s}" style="padding: 5px;">{$lang->s}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->t}" style="padding: 5px;">{$lang->t}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->u}" style="padding: 5px;">{$lang->u}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->v}" style="padding: 5px;">{$lang->v}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->w}" style="padding: 5px;">{$lang->w}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->x}" style="padding: 5px;">{$lang->x}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->y}" style="padding: 5px;">{$lang->y}</a>
		<a href="memberlist.php?username_match=begins&amp;username={$lang->z}" style="padding: 5px;">{$lang->z}</a>
	</div>
	<div><strong>{$lang->member_list}</strong></td></div>
</tr>
<tr>
<td class="tcat" width="1%"><span class="smalltext"><strong>{$lang->avatar}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->joined}</strong></span></td>
<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->lastvisit}</strong></span></td>
<td class="tcat" width="10%" align="center"><span class="smalltext"><strong>{$lang->posts}</strong></span></td>
{$referral_header}
</tr>
{$users}
</table>
<div class="float_right" style="padding-top: 4px;">
	<a href="showteam.php"><strong>{$lang->forumteam}</strong></a>
</div>
{$multipage}
<br style="clear: both;" />
<br />
<form method="post" action="memberlist.php">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="3">
	<div class="float_right">
		<strong><a href="memberlist.php?action=search">{$lang->advanced_search}</a></strong>
	</div>
	<div><strong>{$lang->search_members}</strong></div>
</td>
</tr>
<tr>
	<td class="tcat"><strong><label for="username">{$lang->username}</label></strong></td>
	<td class="tcat"><strong><label for="website">{$lang->website}</label></strong></td>
	<td class="tcat"><strong><label for="sort">{$lang->sort_by}</label></strong></td>
</tr>
<tr>
	<td class="trow1" width="33%" style="vertical-align: top;">
		{$lang->contains}<br />
		<input type="text" class="textbox" name="username" id="username" style="width: 99%; margin-top: 4px;" value="{$search_username}" />
	</td>
	<td class="trow1" width="33%" style="vertical-align: top;">
		{$lang->contains}<br />
		<input type="text" class="textbox" name="website" id="website" style="width: 99%; margin-top: 4px;" value="{$search_website}" />
	</td>
	<td class="trow1" width="33%">
		<select name="sort" id="sort" style="width: 99%;">
			<option value="username"{$sort_selected['username']}>{$lang->sort_by_username}</option>
			<option value="regdate"{$sort_selected['regdate']}>{$lang->sort_by_regdate}</option>
			<option value="lastvisit"{$sort_selected['lastvisit']}>{$lang->sort_by_lastvisit}</option>
			<option value="postnum"{$sort_selected['postnum']}>{$lang->sort_by_posts}</option>
			<option value="referrals"{$sort_selected['referrals']}>{$lang->sort_by_referrals}</options>
		</select><br />
		<span class="smalltext">
		<input type="radio" class="radio" name="order" id="order_asc" value="ascending"{$order_check['ascending']} /> <label for="order_asc">{$lang->order_asc}</label><br />
		<input type="radio" class="radio" name="order" id="order_desc" value="descending"{$order_check['descending']} /> <label for="order_desc">{$lang->order_desc}</label>
		</span>
	</td>
</tr>
</table>
<div align="center"><br /><input type="submit" class="button" name="submit" value="{$lang->search}" /></div>
</form>
{$footer}
<script type="text/javascript" src="jscripts/autocomplete.js?ver=1400"></script>
<script type="text/javascript">
<!--
	if(use_xmlhttprequest == "1")
	{
		new autoComplete("username", "xmlhttp.php?action=get_users", {valueSpan: "username"});
	}
// -->
</script>
</body>
</html>]]></template>
		<template name="memberlist_referrals" version="1600"><![CDATA[<td class="tcat" width="10%" align="center"><span class="smalltext"><strong>{$lang->referrals}</strong></span></td>]]></template>
		<template name="memberlist_referrals_bit" version="1600"><![CDATA[<td class="{$alt_bg}" align="center">{$user['referrals']}</td>]]></template>
		<template name="memberlist_search" version="1405"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->search_member_list}</title>
{$headerinclude}
</head>
<body>
{$header}
<form method="post" action="memberlist.php">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->search_member_list}</strong></td>
</tr>
<tr>
	<td class="tcat" colspan="2"><strong>{$lang->search_criteria}</strong></td>
</tr>
<tr>
	<td class="trow1" style="vertical-align: top;" width="20%"><strong><label for="username">{$lang->username}</label></strong></td>
	<td class="trow1">
		<select name="username_match">
			<option value="begins">{$lang->begins_with}</option>
			<option value="contains">{$lang->username_contains}</option>
		</select>
		&nbsp;
		<input type="text" class="textbox" name="username" id="username" />
	</td>
</tr>
<tr>
	<td class="trow2" width="20%"><strong><label for="website">{$lang->search_website}</label></strong></td>
	<td class="trow2">
		<input type="text" class="textbox" name="website" id="website" />
	</td>
</tr>
<tr>
	<td class="trow1" width="20%"><strong><label for="aim">{$lang->search_aim}</label></strong></td>
	<td class="trow1">
		<input type="text" class="textbox" name="aim" id="aim" />
	</td>
</tr>
<tr>
	<td class="trow1" width="20%"><strong><label for="msn">{$lang->search_msn}</label></strong></td>
	<td class="trow1">
		<input type="text" class="textbox" name="msn" id="msn" />
	</td>
</tr>
<tr>
	<td class="trow1" width="20%"><strong><label for="yahoo">{$lang->search_yahoo}</label></strong></td>
	<td class="trow1">
		<input type="text" class="textbox" name="yahoo" id="yahoo" />
	</td>
</tr>
<tr>
	<td class="trow1" width="20%"><strong><label for="icq">{$lang->search_icq}</label></strong></td>
	<td class="trow1">
		<input type="text" class="textbox" name="icq" id="icq" />
	</td>
</tr>
<tr>
	<td class="tcat" colspan="2"><strong>{$lang->search_options}</strong></td>
</tr>
<tr>
	<td class="trow1" width="20%"><strong><label for="sort">{$lang->sort_by}</label></strong></td>
	<td class="trow1">
		<select name="sort" id="sort">
			<option value="username">{$lang->sort_by_username}</option>
			<option value="regdate">{$lang->sort_by_regdate}</option>
			<option value="lastvisit">{$lang->sort_by_lastvisit}</option>
			<option value="postnum">{$lang->sort_by_posts}</option>
		</select><br />
		<span class="smalltext">
		<input type="radio" class="radio" name="order" id="order_asc" value="asc" /> <label for="order_asc">{$lang->order_asc}</label><br />
		<input type="radio" class="radio" name="order" id="order_desc" value="desc" /> <label for="order_desc">{$lang->order_desc}</label>
		</span>
	</td>
</tr>
<tr>
	<td class="trow1" width="20%"><strong><label for="perpage">{$lang->per_page}</label></strong></td>
	<td class="trow1">
		<input type="text" class="textbox" size="4" name="perpage" id="perpage" value="15" />
	</td>
</tr>
</table>
<div align="center"><br /><input type="submit" class="button" name="submit" value="{$lang->search}" /></div>
</form>
{$footer}
<script type="text/javascript" src="jscripts/autocomplete.js?ver=1400"></script>
<script type="text/javascript">
<!--
	if(use_xmlhttprequest == "1")
	{
		new autoComplete("username", "xmlhttp.php?action=get_users", {valueSpan: "username"});
	}
// -->
</script>
</body>
</html>]]></template>
		<template name="private" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->private_messaging}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="private.php" method="post" name="pmForm">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="trow1">{$pmspacebar}<span class="smalltext"><a href="private.php">{$lang->inbox}</a> | <a href="private.php?action=send">{$lang->compose_message2}</a> | <a  href="private.php?action=folders">{$lang->manage_folders}</a> | <a  href="private.php?action=empty">{$lang->empty_folders2}</a> | <a href="private.php?action=export">{$lang->export_messages2}</a></span></td>
</tr>
</table>
</td>
</tr>
</table>
<br />
{$limitwarning}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6">
	<div class="float_right">
	<input type="text" name="keywords" value="{$lang->enter_keywords}" onfocus="if(this.value == '{$lang->enter_keywords}') { this.value = ''; }" onblur="if(this.value=='') { this.value='{$lang->enter_keywords}'; }" class="textbox" size="25" />
	<input type="submit" class="button" name="quick_search" value="{$lang->search_pms}" />
	(<a href="private.php?action=advanced_search">{$lang->advanced_search}</a>)</div>
	<strong>{$lang->pms_in_folder}</strong></td>
</tr>
<tr>
<td class="tcat" align="center" colspan="3"><span class="smalltext"><strong>{$lang->message_title}</strong></span></td>
<td class="tcat" align="center" width="30%" style="white-space: nowrap"><span class="smalltext"><strong>{$sender}</strong></span></td>
<td class="tcat" align="right"  width="20%" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->date_sent}</strong></span></td>
<td class="tcat" align="center" width="1%" style="white-space: nowrap"><span class="smalltext"><input name="allbox" title="{$lang->check_all}" type="checkbox" class="checkbox checkall" value="{$lang->check_all}" /></span></td>
</tr>
{$messagelist}
<tr>
<td class="tfoot" align="right" colspan="6">
<input type="submit" class="button" name="moveto" value="{$lang->move_to}" /> {$folderoplist} {$lang->or}
<input type="submit" class="button" name="delete" value="{$lang->delete}" /> {$lang->selected_messages}
</td>
</tr>
</table>
<br />
<div class="float_left">{$multipage}</div>
<div class="float_right">
<span class="smalltext">
<strong>{$lang->jump_folder} {$folderjump}
<input type="submit" class="button" name="hop" value="{$lang->go}" />
</strong>
</span>
</div>
</td>
</tr>
</table>
<input type="hidden" name="action" value="do_stuff" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="private_search_results" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->private_messaging}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="private.php" method="post" name="pmForm">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="7">
	<div class="float_right">
	<input type="text" name="keywords" value="{$lang->enter_keywords}" onfocus="if(this.value == '{$lang->enter_keywords}') { this.value = ''; }" onblur="if(this.value=='') { this.value='{$lang->enter_keywords}'; }" class="textbox" size="25" />
	<input type="submit" class="button" name="quick_search" value="{$lang->search_pms}" />
	(<a href="private.php?action=advanced_search">{$lang->advanced_search}</a>)</div>
	<strong>{$lang->pm_search_results}</strong></td>
</tr>
<tr>
<td class="tcat" align="left" colspan="3"><span class="smalltext"><strong>{$lang->message}</strong></span></td>
<td class="tcat" align="center" width="10%" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->sender}</strong></span></td>
<td class="tcat" align="center"  width="10%" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->folder}</strong></span></td>
<td class="tcat" align="center"  width="10%" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->date_sent}</strong></span></td>
<td class="tcat" align="center" width="1%" style="white-space: nowrap"><span class="smalltext"><input name="allbox" title="{$lang->check_all}" type="checkbox" class="checkbox checkall" value="{$lang->check_all}" /></span></td>
</tr>
{$messagelist}
<tr>
<td class="tfoot" align="right" colspan="7">
<input type="submit" class="button" name="moveto" value="{$lang->move_to}" /> {$folderoplist} {$lang->or}
<input type="submit" class="button" name="delete" value="{$lang->delete}" /> {$lang->selected_messages}
</td>
</tr>
</table>
<br />
<div class="float_left">{$multipage}</div>
<div class="float_right">
<span class="smalltext">
<strong>{$lang->jump_folder} {$folderjump}
<input type="submit" class="button" name="hop" value="{$lang->go}" />
</strong>
</span>
</div>
</td>
</tr>
</table>
<input type="hidden" name="action" value="do_stuff" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="private_advanced_search" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->advanced_private_message_search}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="private.php" method="post" name="pmForm">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="do_search" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
	<tr>
		<td class="thead" colspan="2"><strong>{$lang->advanced_private_message_search}</strong></td>
	</tr>
	<tr>
		<td class="tcat" colspan="2"><strong>{$lang->search_criteria}</strong></td>
	</tr>
	<tr>
		<td class="trow1" width="20%"><strong><label for="keywords">{$lang->keywords}</label></strong></td>
		<td class="trow1">
			<input type="text" class="textbox" name="keywords" id="keywords" size="35" maxlength="250" />
			<br />
			<span class="smalltext">
				<label><input type="checkbox" name="subject" checked="checked" value="1" /> {$lang->search_in_subject}</label><br />
				<label><input type="checkbox" name="message" checked="checked" value="1" /> {$lang->search_in_message}</label>
			</span>
		</td>
	</tr>
	<tr>
		<td class="trow2"><strong><label for="keywords">{$lang->sender}</label></strong></td>
		<td class="trow2"><input type="text" class="textbox" name="sender" id="sender" size="35" maxlength="250" /></td>
	</tr>
	<tr>
		<td class="trow1"><strong>{$lang->message_status}</strong></td>
		<td class="trow1 smalltext">
			<label><input type="checkbox" name="status[new]" checked="checked" value="1" /> {$lang->message_status_new}</label><br />
			<label><input type="checkbox" name="status[replied]" checked="checked" value="1" /> {$lang->message_status_replied_to}</label><br />
			<label><input type="checkbox" name="status[forwarded]" checked="checked" value="1" /> {$lang->message_status_forwarded}</label><br />
			<label><input type="checkbox" name="status[read]" checked="checked" value="1" /> {$lang->message_status_read}</label>
		</td>
	</tr>
	<tr>
		<td class="trow2"><strong><label for="folder">{$lang->folder}</label></strong>
	</td>
		<td class="trow2">
			{$foldersearch}
		</td>
	</tr>
	<tr>
		<td class="tcat" colspan="2"><strong>{$lang->search_options}</strong></td>
	</tr>
	<tr>
		<td class="trow1" width="20%"><strong><label for="sort">{$lang->sort_by}</label></strong></td>
	
		<td class="trow1">
			<select name="sort" id="sort">
				<option value="subject">{$lang->sort_by_subject}</option>
				<option value="sender">{$lang->sort_by_sender}</option>
				<option value="dateline" selected="selected">{$lang->sort_by_date}</option>
			</select><br />
			<span class="smalltext">
				<input type="radio" class="radio" name="order" id="order_asc" value="asc" /> <label for="order_asc">{$lang->ascending_order}</label><br />
				<input type="radio" class="radio" name="order" id="order_desc" checked="checked" value="desc" /> <label for="order_desc">{$lang->descending_order}</label>
			</span>
		</td>
	</tr>
</table>
<br />
<div align="center"><input type="submit" value="{$lang->search_private_messages}" /></div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="private_pmspace" version="120"><![CDATA[<span style="float:right"><table cellspacing="0" cellpadding="0" width="230" style="border: solid 1px #000000;">
	<tr>
		<td width="{$spaceused}" bgcolor="red" align="center"><span class="smalltext"><strong>{$overhalf}</strong></span></td>
		<td width="{$spaceused2}" bgcolor="green" align="center"><span class="smalltext"><strong>{$belowhalf}</strong></span></td>
		<td width="130" align="center"><span class="smalltext"><strong>{$lang->pmspaceused}</strong></span></td>
	</tr>
</table></span>]]></template>
		<template name="forumdisplay_announcements_announcement" version="1408"><![CDATA[<tr>
<td align="center" class="{$bgcolor}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt=""/></td>
<td align="center" class="{$bgcolor}" width="2%">&nbsp;</td>
<td class="{$bgcolor}">
	<a href="{$announcement['announcementlink']}"{$new_class}>{$announcement['subject']}</a>
	<div class="author smalltext">{$announcement['profilelink']}</div>
</td>
<td align="center" class="{$bgcolor}">-</td>
<td align="center" class="{$bgcolor}">-</td>
{$rating}
<td class="{$bgcolor}" style="white-space: nowrap; text-align: right"><span class="smalltext">{$postdate} {$posttime}</span></td>
{$modann}
</tr>
]]></template>
		<template name="forumdisplay_announcements" version="120"><![CDATA[<tr>
<td class="trow_sep" colspan="{$colspan}">{$lang->forum_announcements}</td>
</tr>
{$announcements}]]></template>
		<template name="forumdisplay_sticky_sep" version="120"><![CDATA[<tr>
<td class="trow_sep" colspan="{$colspan}">{$lang->sticky_threads}</td>
</tr>]]></template>
		<template name="forumdisplay_threads_sep" version="120"><![CDATA[<tr>
<td class="trow_sep" colspan="{$colspan}">{$lang->normal_threads}</td>
</tr>]]></template>
		<template name="postbit" version="1600"><![CDATA[{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
	<tbody>
		<tr>
			<td class="tcat">
				<div class="float_left smalltext">
					{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
				</div>
				{$post['posturl']}
			</td>
		</tr>

		<tr>
			<td class="trow1 {$unapproved_shade}">
				<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
					<tr>
						<td class="post_avatar" width="1" style="{$post['avatar_padding']}">
							{$post['useravatar']}
						</td>
						<td class="post_author">
							<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
							<span class="smalltext">
								{$post['usertitle']}<br />
								{$post['userstars']}
								{$post['groupimage']}
							</span>
						</td>
						<td class="smalltext post_author_info" width="165">
							{$post['user_details']}
						</td>
					</tr>
				</table>
			</td>
		</tr>

		<tr>
			<td class="trow2 post_content {$unapproved_shade}">
				<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>

				<div class="post_body" id="pid_{$post['pid']}">
					{$post['message']}
				</div>
				{$post['attachments']}
				{$post['signature']}

				<div class="post_meta" id="post_meta_{$post['pid']}">
				{$post['iplogged']}
				</div>
			</td>
		</tr>

		<tr>
			<td class="trow1 post_buttons {$unapproved_shade}">
				<div class="author_buttons float_left">
					{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
				</div>
				<div class="post_management_buttons float_right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
				</div>
			</td>
		</tr>
	</tbody>
</table>]]></template>
		<template name="postbit_classic" version="1600"><![CDATA[{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
	<tr>
		<td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
		<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
		<span class="smalltext">
			{$post['usertitle']}<br />
			{$post['userstars']}
			{$post['groupimage']}
			{$post['useravatar']}<br />
			{$post['user_details']}
		</span>
	</td>
	<td class="{$altbg}" valign="top">
		<table width="100%">
			<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
			<br />
			<div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
				{$post['message']}
			</div>
			{$post['attachments']}
			{$post['signature']}
			<div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
				<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
				{$post['iplogged']}
			</div>
		</td></tr>
	</table>
</td>
</tr>
<tr>
	<td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
	<td class="{$altbg}" style="vertical-align: middle;">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr valign="bottom">
				<td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
				<td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>
			</tr>
		</table>
	</td>
</tr>
</table>]]></template>
		<template name="postbit_gotopost" version="1400"><![CDATA[<a href="{$url}" class="quick_jump">&nbsp;</a>]]></template>
		<template name="forumdisplay_threadlist_clearpass" version="120"><![CDATA[ | <a href="misc.php?action=clearpass&amp;fid={$fid}">{$lang->clear_stored_password}</a>]]></template>
		<template name="portal_welcome_guesttext" version="1600"><![CDATA[<span class="smalltext">{$lang->guest_welcome_registration}</span><br />
<br />
<form method="post" action="{$portal_url}"><input type="hidden" name="action" value="do_login" />
{$lang->username}<br />&nbsp;&nbsp;<input type="text" class="textbox" name="username" value="" /><br /><br />
{$lang->password}<br />&nbsp;&nbsp;<input type="password" class="textbox" name="password" value="" /><br /><br />
<label title="{$lang->remember_me_desc}"><input type="checkbox" class="checkbox" name="remember" value="yes" /> {$lang->remember_me}</label><br /><br />
<br /><input type="submit" class="button" name="loginsubmit" value="{$lang->login}" /></form>]]></template>
		<template name="portal_latestthreads_thread" version="1601"><![CDATA[<tr>
<td class="{$altbg}">
<strong><a href="{$mybb->settings['bburl']}/{$thread['threadlink']}">{$thread['subject']}</a></strong>
<span class="smalltext"><br />
<a href="{$thread['lastpostlink']}">{$lang->latest_threads_lastpost}</a> {$lastposterlink}<br />
{$lastpostdate} {$lastposttime}<br />
<strong>&raquo; </strong>{$lang->latest_threads_replies} {$thread['replies']}<br />
<strong>&raquo; </strong>{$lang->latest_threads_views} {$thread['views']}
</span>
</td>
</tr>]]></template>
		<template name="search" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->search}</title>
{$headerinclude}
</head>
<body>
{$header}
<form method="post" action="search.php">
<input type="hidden" name="action" value="do_search" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$mybb->settings['bbname']} - {$lang->search}</strong></td>
</tr>
<tr>
<td class="tcat" width="50%"><strong>{$lang->search_keyword}</strong></td>
<td class="tcat" width="50%"><strong>{$lang->search_username}</strong></td>
</tr>
<tr>
<td class="trow1">
<table><tr>
<td valign="top"><input type="text" class="textbox" name="keywords" size="35" maxlength="250" /></td>
</tr>
<tr>
<td>
<span class="smalltext"><input type="radio" class="radio" name="postthread" value="1" checked="checked" />{$lang->search_entire_post}<br /><input type="radio" class="radio" name="postthread" value="2" />{$lang->search_titles_only}</span></td>
</tr></table>
</td>
<td class="trow1">
<table><tr>
<td class="trow1"><input type="text" class="textbox" id="author" name="author" size="35" maxlength="{$mybb->settings['maxnamelength']}" /><br /><span class="smalltext"><input type="checkbox" class="checkbox" name="matchusername" value="1" checked="checked" /> {$lang->match_username}</span></td>
<td class="trow1">&nbsp;</td>
</tr></table>
</td>
</tr>
<tr>
<td class="tcat"><strong>{$lang->search_forums}</strong></td>
<td class="tcat"><strong>{$lang->search_options}</strong></td>
</tr>
<tr>
<td class="trow1" rowspan="{$rowspan}">{$srchlist}</td>
<td class="trow1">
<select name="findthreadst">
<option value="1">{$lang->threads_at_least}</option>
<option value="2">{$lang->threads_at_most}</option>
</select> <input type="text" class="textbox" name="numreplies" size="2" maxlength="4" />&nbsp;{$lang->replies2}<br />
<br />
<select name="postdate">
<option value="0">{$lang->find_anydate}</option>
<option value="1">{$lang->find_yesterday}</option>
<option value="7">{$lang->find_lastweek}</option>
<option value="14">{$lang->find_2weeks}</option>
<option value="30">{$lang->find_month}</option>
<option value="90">{$lang->find_3months}</option>
<option value="180">{$lang->find_6months}</option>
<option value="365">{$lang->find_year}</option>
</select>&nbsp;&nbsp; <input type="radio" class="radio" name="pddir" value="1" checked="checked" />{$lang->and_newer}  <input type="radio" class="radio" name="pddir" value="0" />{$lang->and_older}<br />
<br />
{$prefixselect}
</td>
</tr>
<tr>
<td class="tcat"><strong>{$lang->sorting_options}</strong></td>
</tr>
<tr>
<td class="trow1">
<select name="sortby">
<option value="lastpost">{$lang->sort_lastpost}</option>
<option value="starter">{$lang->sort_author}</option>
<option value="forum">{$lang->sort_forum}</option>
</select> {$lang->sort_in} <input type="radio" class="radio" name="sortordr" value="asc" />{$lang->sort_asc} <input type="radio" class="radio" name="sortordr" value="desc" checked="checked" />{$lang->sort_desc} {$lang->sort_order}
</td>
</tr>
<tr>
<td class="tcat"><strong>{$lang->display_options}</strong></td>
</tr>
<tr>
<td class="trow1">{$lang->show_results_as} <input type="radio" class="radio" name="showresults" value="threads" checked="checked" />{$lang->show_results_threads} <input type="radio" class="radio" name="showresults" value="posts" />{$lang->show_results_posts}</td>
</tr>
{$moderator_options}
</table>
<div align="center"><br /><input type="submit" class="button" name="submit" value="{$lang->search}" /></div>
</form>
{$footer}
<script type="text/javascript" src="jscripts/autocomplete.js?ver=1400"></script>
<script type="text/javascript">
<!--
	if(use_xmlhttprequest == "1")
	{
		new autoComplete("author", "xmlhttp.php?action=get_users", {valueSpan: "username"});
	}
// -->
</script>
</body>
</html>
]]></template>
<template name="search_moderator_options" version="1600"><![CDATA[<tr>
<td class="tcat"><strong>{$lang->mod_options}</strong></td>
</tr>
<tr>
<td class="trow1" valign="top">
<select name="visible">
<option value="">{$lang->find_all}</option>
<option value="1">{$lang->find_only_approved}</option>
<option value="-1">{$lang->find_only_unapproved}</option>
</select> {$lang->results}
</td>
</tr>
]]></template>
		<template name="postbit_groupimage" version="120"><![CDATA[<img src="{$usergroup['image']}" alt="{$usergroup['title']}" title="{$usergroup['title']}" />]]></template>
		<template name="showthread_newreply" version="120"><![CDATA[<a href="newreply.php?tid={$tid}"><img src="{$theme['imglangdir']}/newreply.gif" alt="{$lang->post_reply_img}" title="{$lang->post_reply_img}" /></a>&nbsp;]]></template>
		<template name="showthread_newthread" version="120"><![CDATA[<a href="newthread.php?fid={$fid}"><img src="{$theme['imglangdir']}/newthread.gif" alt="{$lang->post_thread}" title="{$lang->post_thread}" /></a>&nbsp;]]></template>
		<template name="member_profile_groupimage" version="120"><![CDATA[<img src="{$displaygroup['image']}" alt="{$usertitle}" title="{$usertitle}" /><br />]]></template>
		<template name="misc_help_section" version="1400"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
<thead>
<tr>
<td class="thead"><div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="sid_{$section['sid']}_img" class="expander" alt="[-]" title="[-]" /></div><div><strong>{$section['name']}</strong></div></td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="sid_{$section['sid']}_e">
<tr>
<td class="tcat"><span class="smalltext"><strong>{$section['description']}</strong></span></td>
</tr>
{$helpbits}
</tbody>
</table>
<br />]]></template>
		<template name="announcement" version="1400"><![CDATA[<html>
<head>
<title>{$lang->announcements}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
<tr>
<td class="thead" colspan="3"><strong>{$lang->forum_announcement}</strong></td>
</tr>
</table>
{$announcement}
{$footer}
</body>
</html>]]></template>
		<template name="announcement_edit" version="1600"><![CDATA[<a href="modcp.php?action=edit_announcement&amp;aid={$post['aid']}&amp;fid={$fid}"><img src="{$theme['imglangdir']}/postbit_edit.gif" alt="{$lang->announcement_edit}" title="{$lang->announcement_edit}" /></a>]]></template>
		<template name="announcement_quickdelete" version="1600"><![CDATA[<a href="modcp.php?action=delete_announcement&amp;aid={$post['aid']}&amp;my_post_key={$mybb->post_code}" onclick="if(confirm(&quot;{$lang->announcement_quickdelete_confirm}&quot;))window.location=this.href.replace('action=delete_announcement','action=do_delete_announcement');return false;"><img src="{$theme['imglangdir']}/postbit_delete.gif" alt="{$lang->announcement_qdelete}" title="{$lang->announcement_qdelete}" /></a>]]></template>
		<template name="member_emailuser" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->email_user}</title>
{$headerinclude}
</head>
<body>
{$header}
{$errors}
<form action="member.php" method="post" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" width="100%" class="thead"><strong>{$lang->email_user}</strong></td>
</tr>
<tr>
<td width="40%" class="trow2"><strong>{$lang->email_subject}</strong></td>
<td width="60%" class="trow2"><input type="text" class="textbox" size="50" name="subject" value="{$subject}" /></td>
</tr>
<tr>
<td valign="top" width="40%" class="trow1"><strong>{$lang->email_message}</strong></td>
<td width="60%" class="trow1"><textarea cols="50" rows="10" name="message">{$message}</textarea></td>
</tr>
</table>
<br />
<input type="hidden" name="action" value="do_emailuser" />
<input type="hidden" name="uid" value="{$to_user['uid']}" />
<div align="center"><input type="submit" class="button" value="{$lang->send_email}" /></div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="changeuserbox" version="1400"><![CDATA[<tr>
<td class="trow1" width="20%"><strong>{$lang->username}</strong></td>
<td class="trow1">{$mybb->user['username']} <span class="smalltext">[<strong><a href="member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">{$lang->change_user}</a></strong>]</span></td>
</tr>
]]></template>
		<template name="showthread_poll_results" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="4" align="center"><strong>{$lang->poll} {$poll['question']}</strong><br /><span class="smalltext">{$pollstatus}</span></td>
</tr>
{$polloptions}
<tr>
<td class="tfoot" align="right" colspan="2"><strong>{$lang->total}</strong></td>
<td class="tfoot" align="center"><strong>{$lang->total_votes}</strong></td>
<td class="tfoot" align="center"><strong>{$totpercent}</strong></td>
</tr>
</table>
<table cellspacing="0" cellpadding="2" border="0" width="100%" align="center">
<tr>
<td align="left"><span class="smalltext">{$lang->you_voted}</span></td>
<td align="right"><span class="smalltext">[<a href="polls.php?action=showresults&amp;pid={$poll['pid']}">{$lang->show_results}</a>{$edit_poll}]</span></td>
</tr>
</table>
<br />]]></template>
		<template name="polls_showresults" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->poll_results}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="4" align="center"><strong>{$poll['question']}</strong></td>
</tr>
{$polloptions}
<tr>
<td class="tfoot" align="right" colspan="2"><strong>{$lang->poll_total}</strong></td>
<td class="tfoot" align="center"><strong>{$poll['numvotes']} {$lang->poll_votes}</strong></td>
<td class="tfoot" align="center"><strong>{$totpercent}</strong></td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="member_register_password" version="1400"><![CDATA[<tr>
<td><span class="smalltext">{$lang->password}</span></td>
<td><span class="smalltext">{$lang->confirm_password}</span></td>
</tr>
<tr>
<td><input type="password" class="textbox" name="password" id="password" style="width: 100%" /></td>
<td><input type="password" class="textbox" name="password2" id="password2" style="width: 100%" /></td>
</tr>
<tr>
	<td colspan="2" style="display: none;" id="password_status">&nbsp;</td>
</tr>
]]></template>
		<template name="usercp_forumsubscriptions_forum" version="1600"><![CDATA[<tr>
<td class="trow1" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$folder}.gif" valign="top" /></td>
<td class="trow1" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><span class="smalltext"><a href="usercp2.php?action=removesubscription&amp;type=forum&amp;fid={$forum['fid']}&amp;my_post_key={$mybb->post_code}">{$lang->unsubscribe}</a> | <a href="newthread.php?fid={$forum['fid']}">{$lang->new_thread}</a></span></td>
<td class="trow2" valign="top" style="white-space: nowrap; text-align: center;">{$posts}</td>
<td class="trow1" valign="top" style="white-space: nowrap; text-align: center;">{$threads}</td>
<td class="trow2" valign="top" style="white-space: nowrap">{$lastpost}</td>
</tr>]]></template>
		<template name="usercp_latest_subscribed" version="1600"><![CDATA[<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6"><div class="float_right"><a href="usercp.php?action=subscriptions"><strong>{$lang->view_all_subscriptions}</strong></a></div><strong>{$lang->new_thread_subscriptions}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="3"><span class="smalltext"><strong>{$lang->thread} / {$lang->author}</strong></span></td>
<td class="tcat" align="center" width="75"><span class="smalltext"><strong>{$lang->replies}</strong></span></td>
<td class="tcat" align="center" width="75"><span class="smalltext"><strong>{$lang->views}</strong></span></td>
<td class="tcat" align="center" width="200"><span class="smalltext"><strong>{$lang->lastpost}</strong></span></td>
</tr>
{$latest_subscribed_threads}
</table>]]></template>
		<template name="usercp_latest_subscribed_threads" version="1600"><![CDATA[<tr>
<td align="center" class="{$bgcolor}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
<td align="center" class="{$bgcolor}" width="2%">{$icon}</td>
<td class="{$bgcolor}">{$gotounread}{$thread['displayprefix']}<a href="{$thread['threadlink']}" class="{$new_class}">{$thread['subject']}</a><br /><span class="smalltext">{$thread['author']}</span></td>
<td align="center" class="{$bgcolor}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a></td>
<td align="center" class="{$bgcolor}">{$thread['views']}</td>
<td class="{$bgcolor}" style="white-space: nowrap"><span class="smalltext">{$lastpostdate} {$lastposttime}
<br /><a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
</tr>]]></template>
		<template name="usercp_latest_threads" version="1600"><![CDATA[<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6"><div class="float_right"><a href="search.php?action=finduserthreads&amp;uid={$mybb->user['uid']}"><strong>{$lang->find_all_threads}</strong></a></div><strong>{$lang->latest_threads}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="3"><span class="smalltext"><strong>{$lang->thread} / {$lang->author}</strong></span></td>
<td class="tcat" align="center" width="75"><span class="smalltext"><strong>{$lang->replies}</strong></span></td>
<td class="tcat" align="center" width="75"><span class="smalltext"><strong>{$lang->views}</strong></span></td>
<td class="tcat" align="center" width="200"><span class="smalltext"><strong>{$lang->lastpost}</strong></span></td>
</tr>
{$latest_threads_threads}
</table>]]></template>
		<template name="usercp_latest_threads_threads" version="1600"><![CDATA[<tr>
<td align="center" class="{$bgcolor}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
<td align="center" class="{$bgcolor}" width="2%">{$icon}</td>
<td class="{$bgcolor}">{$gotounread}{$thread['displayprefix']}<a href="{$thread['threadlink']}" class="{$new_class}">{$thread['subject']}</a><br /><span class="smalltext">{$thread['author']}</span></td>
<td align="center" class="{$bgcolor}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a></td>
<td align="center" class="{$bgcolor}">{$thread['views']}</td>
<td class="{$bgcolor}" style="white-space: nowrap"><span class="smalltext">{$lastpostdate} {$lastposttime}
<br /><a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
</tr>]]></template>
		<template name="newthread_postpoll" version="120"><![CDATA[<tr>
<td class="{$bgcolor2}" valign="top">
<strong>{$lang->poll}</strong><br /><span class="smalltext">{$lang->poll_desc}</span>
</td>
<td class="{$bgcolor2}" valign="top">
<span class="smalltext"><label><input type="checkbox" class="checkbox" name="postpoll" value="1" {$postpollchecked} /><strong>{$lang->poll_check}</strong></label><br />
{$lang->num_options} <input type="text" class="textbox" name="numpolloptions" value="{$numpolloptions}" size="10" /> {$lang->max_options}</span>
</td>
</tr>]]></template>
		<template name="modcp_reports_report" version="1400"><![CDATA[<tr>
<td class="{$trow}" align="center"><label for="reports_{$report['rid']}"><input type="checkbox" class="checkbox" name="reports[]" id="reports_{$report['rid']}" value="{$report['rid']}" />&nbsp;<a href="{$report['postlink']}#pid{$report['pid']}" target="_blank">{$report['pid']}</a></label></td>
<td class="{$trow}" align="center"><a href="{$report['posterlink']}" target="_blank">{$report['postusername']}</a></td>
<td class="{$trow}"><a href="{$report['threadlink']}" target="_blank">{$report['threadsubject']}</a></td>
<td class="{$trow}" align="center"><a href="{$report['reporterlink']}" target="_blank">{$report['username']}</a></td>
<td class="{$trow}">{$report['reason']}</td>
<td class="{$trow}" align="center" style="white-space: nowrap"><span class="smalltext">{$reportdate}<br />{$reporttime}</small></td>
</tr>]]></template>
	<template name="modcp_reports_multipage" version="120"><![CDATA[<tr>
<td class="tcat" colspan="6"><span class="smalltext"> {$multipage}</span></td>
</tr>]]></template>
	<template name="modcp_allreports" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->all_reported_posts}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$modcp_nav}
<td valign="top">
<p>{$lang->unread_reports_key}</p>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center" colspan="6"><strong>{$lang->all_reported_posts}</strong></td>
</tr>
<tr>
<td class="tcat" align="center" width="10%"><span class="smalltext"><strong>{$lang->post_id}</strong></span></td>
<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->poster}</strong></span></td>
<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->thread}</strong></span></td>
<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->reporter}</strong></span></td>
<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->report_reason}</strong></span></td>
<td class="tcat" align="center" width="10%"><span class="smalltext"><strong>{$lang->report_time}</strong></span></td>
</tr>
{$allreports}
{$allreportspages}
</table>
</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
	<template name="modcp_reports_allreport" version="1400"><![CDATA[<tr>
<td class="{$trow}" align="center"><a href="{$report['postlink']}#pid{$report['pid']}" target="_blank">{$report['pid']}</a></td>
<td class="{$trow}" align="center">{$report['postusername']}</td>
<td class="{$trow}">{$report['threadsubject']}</td>
<td class="{$trow}" align="center"><a href="{$report['reporterlink']}" target="_blank">{$report['username']}</a></td>
<td class="{$trow}">{$report['reason']}</td>
<td class="{$trow}" align="center" style="white-space: nowrap"><span class="smalltext">{$reportdate}<br />{$reporttime}</span></td>
</tr>]]></template>
	<template name="modcp_reports_allnoreports" version="120"><![CDATA[<tr>
<td class="trow1" align="center" colspan="6">{$lang->no_reports}</td>
</tr>]]></template>
		<template name="modcp_reports_noreports" version="120"><![CDATA[<tr>
<td class="trow1" align="center" colspan="6">{$lang->no_reports}</td>
</tr>]]></template>
		<template name="global_unreadreports" version="1600"><![CDATA[<div class="red_alert"><a href="modcp.php?action=reports">{$lang->unread_reports}</a></div>
<br />]]></template>
		<template name="global_pending_joinrequests" version="1600"><![CDATA[<div class="red_alert"><a href="usercp.php?action=usergroups">{$lang->pending_joinrequests}</a></div>]]></template>
		<template name="member_loggedin_notice" version="1400"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1" align="right"><span class="smalltext">{$lang->already_logged_in}</a></span></td>
</tr>
</table>
<br />]]></template>
		<template name="member_login" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->login}</title>
{$headerinclude}
</head>
<body>
{$header}
<br />
{$inline_errors}
{$member_loggedin_notice}
<form action="member.php" method="post">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->login}</strong></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->username}</strong></td>
<td class="trow1"><input type="text" class="textbox" name="username" size="25" maxlength="{$mybb->settings['maxnamelength']}" style="width: 200px;" value="{$username}" /></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->password}</strong><br /><span class="smalltext">{$lang->pw_note}</span></td>
<td class="trow2"><input type="password" class="textbox" name="password" size="25" style="width: 200px;" value="{$password}" /> (<a href="member.php?action=lostpw">{$lang->lostpw_note}</a>)</td>
</tr>
<tr>
<td class="trow1" colspan="2" align="center"><label title="{$lang->remember_me_desc}"><input type="checkbox" class="checkbox" name="remember" checked="checked" value="yes" /> {$lang->remember_me}</label></td>
</tr>
{$captcha}
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->login}" /></div>
<input type="hidden" name="action" value="do_login" />
<input type="hidden" name="url" value="{$redirect_url}" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="misc_imcenter_aim" version="120"><![CDATA[<html>
<head>
<title>{$lang->aim_center}</title>
{$headerinclude}
</head>
<body style="margin:0;left:0;top:0" class="trow2">
<table width="100%" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" border="0" align="center" class="tborder">
<tr>
<td class="thead" align="center" colspan="2"><strong>{$user['username']} - {$lang->aim_center}</strong></td>
</tr>
<tr>
<td class="tcat" align="center" colspan="2"><span class="smalltext"><strong>{$navigationbar}</strong></span></td>
</tr>
<tr>
<td class="trow2">
<!-- Begin AIM Remote -->
<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" style="white-space: nowrap"><a href="http://www.aol.co.uk/aim/index.html"><img src="http://www.aol.co.uk/aim/remote/gr/aimver_man.gif" width="44" height="55" alt="($lang->download_aim}" title="($lang->download_aim}" /></a><img src="http://www.aol.co.uk/aim/remote/gr/aimver_topsm.gif" width="73" height="55" alt="{$lang->aim_remote}" title="{$lang->aim_remote}" /></td>
</tr>
<tr>
<td align="center" style="white-space: nowrap"><a href="aim:goim?screenname={$user['aim']}&amp;message=Hi.+Are+you+there?"><img src="http://www.aol.co.uk/aim/remote/gr/aimver_im.gif" width="117" height="39" alt="{$lang->send_me_instant}" title="{$lang->send_me_instant}" /></a></td>
</tr>
<tr>
<td align="center" style="white-space: nowrap"><a href="aim:addbuddy?screenname={$user['aim']}"><img src="http://www.aol.co.uk/aim/remote/gr/aimver_bud.gif" width="117" height="39" alt="{$lang->add_me_buddy_list}" title="{$lang->add_me_buddy_list}" /></a></td>
</tr>
<tr>
<td align="center" style="white-space: nowrap"><a href="http://www.aol.co.uk/aim/remote.html"><img src="http://www.aol.co.uk/aim/remote/gr/aimver_botadd.gif" width="117" height="23" alt="($lang->add_remote_to_page}" title="($lang->add_remote_to_page}" /></a></td>
</tr>
<td align="center" style="white-space: nowrap"><a href="http://www.aol.co.uk/aim/index.html"><img src="http://www.aol.co.uk/aim/remote/gr/aimver_botdow.gif" width="117" height="29" alt="{$lang->download_aol_im}" title="{$lang->download_aol_im}" /></a></td>
</tr>
</table>
<!-- End AIM Remote -->
</td>
</tr>
</table>
</body>
</html>]]></template>
		<template name="misc_syndication" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->syndication}</title>
{$headerinclude}
</head>
<body>
{$header}
{$feedurl}
<table border="0" cellspacing="0" cellpadding="{$theme['tablespace']}" width="100%">
<tr><td>{$lang->syndication_note}</td></tr>
</table>
<br />
<form method="post" action="misc.php?action=syndication">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->syndication}</strong></td>
</tr>
<tr>
<td class="trow1" width="40%" valign="top"><strong>{$lang->syndication_forum}</strong><br /><span class="smalltext">{$lang->syndication_forum_desc}</span></td>
<td class="trow1" width="60%">{$forumselect}</td>
</tr>
<tr>
<td class="trow2" width="40%" valign="top"><strong>{$lang->syndication_version}</strong><br /><span class="smalltext">{$lang->syndication_version_desc}</span></td>
<td class="trow2" width="60%"><input type="radio" class="radio" name="version" value="rss2.0" {$rss2check} />&nbsp;{$lang->syndication_version_rss2}<br /><input type="radio" class="radio" name="version" value="atom1.0" {$atom1check} />&nbsp;{$lang->syndication_version_atom1}</td>
</tr>
<tr>
<td class="trow1" width="40%" valign="top"><strong>{$lang->syndication_limit}</strong><br /><span class="smalltext">{$lang->syndication_limit_desc}</span></td>
<td class="trow1" width="60%"><input type="text" class="textbox" name="limit" value="{$limit}" size="3" /> {$lang->syndication_threads_time}</td>
</tr></table>
<br />
<div align="center"><input type="submit" class="button" name="make" value="{$lang->syndication_generate}" /></div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="misc_syndication_feedurl" version="120"><![CDATA[<table border="0" cellspacing="0" cellpadding="{$theme['tablespace']}" width="100%">
<tr><td>
<strong>{$lang->syndication_generated_url}</strong><blockquote>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"><tr><td class="trow1">
{$url}
</td></tr></table>
</blockquote>
</td></tr>
</table>
<br />]]></template>
		<template name="memberlist_user" version="1600"><![CDATA[<tr>
	<td class="{$alt_bg}" align="center">{$user['avatar']}</td>
	<td class="{$alt_bg}">{$user['profilelink']}<br />
<span class="smalltext">
	{$user['usertitle']}<br />
	{$usergroup['groupimage']}
	{$user['userstars']}
</span></td>
	<td class="{$alt_bg}" align="center">{$user['regdate']}</td>
	<td class="{$alt_bg}" align="center">{$user['lastvisit']}</td>
	<td class="{$alt_bg}" align="center">{$user['postnum']}</td>
	{$referral_bit}
</tr>]]></template>
		<template name="memberlist_user_avatar" version="1400"><![CDATA[<img src="{$user['avatar']}" alt="" {$avatar_width_height} />]]></template>
		<template name="memberlist_user_groupimage" version="1400"><![CDATA[<img src="{$usergroup['image']}" alt="{$usergroup['title']}" title="{$usergroup['title']}" />]]></template>
		<template name="index_loginform" version="123"><![CDATA[<br /><br />
<form action="member.php" method="post">
	<input type="hidden" name="action" value="do_login" />
	<span class="smalltext"><strong>{$lang->quick_login}</strong></span>
	<input type="text" class="textbox" name="username" title="{$lang->login_username}" value="{$lang->login_username}" onfocus="if(this.value == '{$lang->login_username}') { this.value=''; }" onblur="if(this.value=='') { this.value='{$lang->login_username}'; }" />
	<input type="password" class="textbox" name="password" title="{$lang->login_password}" value="{$lang->login_password}" onfocus="if(this.value == '{$lang->login_password}') { this.value=''; }" onblur="if(this.value=='') { this.value='{$lang->login_password}'; }" />
	{$gobutton}
</form>]]></template>
		<template name="multipage_breadcrumb" version="1600"><![CDATA[<div id="breadcrumb_multipage_popup" class="pagination pagination_breadcrumb" style="display: none;">
{$prevpage}{$start}{$mppage}{$end}{$nextpage}
</div>
<script type="text/javascript">
// <!--
	if(use_xmlhttprequest == "1")
	{
		new PopupMenu("breadcrumb_multipage");
	}
// -->
</script>]]></template>
		<template name="multipage" version="1400"><![CDATA[<div class="pagination">
<span class="pages">{$lang->multipage_pages}</span>
{$prevpage}{$start}{$mppage}{$end}{$nextpage}
</div>]]></template>
		<template name="multipage_end" version="1600"><![CDATA[{$lang->multipage_link_end} <a href="{$page_url}" class="pagination_last">{$pages}</a>]]></template>
		<template name="multipage_nextpage" version="1400"><![CDATA[<a href="{$page_url}" class="pagination_next">{$lang->next} &raquo;</a>]]></template>
		<template name="multipage_page" version="1400"><![CDATA[<a href="{$page_url}" class="pagination_page">{$i}</a>]]></template>
		<template name="multipage_page_current" version="1400"><![CDATA[ <span class="pagination_current">{$i}</span>]]></template>
		<template name="multipage_page_link_current" version="1600"><![CDATA[ <a href="{$page_url}" class="pagination_current">{$i}</a>]]></template>
		<template name="multipage_prevpage" version="1400"><![CDATA[<a href="{$page_url}" class="pagination_previous">&laquo; {$lang->previous}</a>]]></template>
		<template name="multipage_start" version="1600"><![CDATA[<a href="{$page_url}" class="pagination_first">1</a> {$lang->multipage_link_start}]]></template>
		<template name="usercp_forumsubscriptions_none" version="120"><![CDATA[<tr>
<td class="trow1" colspan="5">{$lang->no_forum_subscriptions}</td>
</tr>]]></template>
		<template name="index_whosonline" version="1400"><![CDATA[<tr>
<td class="tcat"><span class="smalltext"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
</tr>]]></template>
		<template name="index_stats" version="1400"><![CDATA[<tr><td class="tcat"><span class="smalltext"><strong>{$lang->boardstats}</strong></span></td></tr>
<tr>
<td class="trow1"><span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
</span>
</td>
</tr>]]></template>
		<template name="moderation_deletethread" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->delete_thread}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$thread['subject']} - {$lang->delete_thread}</strong></td>
</tr>
<tr>
<td class="trow1" colspan="2" align="center">{$lang->confirm_delete_threads}</td>
</tr>
{$loginbox}
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->delete_thread}" /></div>
<input type="hidden" name="action" value="do_deletethread" />
<input type="hidden" name="tid" value="{$tid}" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="postbit_attachments_thumbnails" version="120"><![CDATA[<span class="smalltext"><strong>{$lang->postbit_attachments_thumbnails}</strong></span><br />
{$post['thumblist']}
<br />]]></template>
		<template name="forumdisplay_subforums" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5" align="center"><strong>{$lang->sub_forums_in}</strong></td>
</tr>
<tr>
<td class="tcat" width="2%">&nbsp;</td>
<td class="tcat" width="59%"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$forums}
</table>
<br />]]></template>
		<template name="forumdisplay_threadlist_rating" version="1400"><![CDATA[	<td class="tcat" align="center" width="80">
		<span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=rating&amp;order=desc">{$lang->rating}</a> {$orderarrow['rating']}</strong></span>
		<script type="text/javascript" src="jscripts/rating.js?ver=1400"></script>
		<script type="text/javascript">
		<!--
			lang.stars = new Array();
			lang.stars[1] = "{$lang->one_star}";
			lang.stars[2] = "{$lang->two_stars}";
			lang.stars[3] = "{$lang->three_stars}";
			lang.stars[4] = "{$lang->four_stars}";
			lang.stars[5] = "{$lang->five_stars}";
		// -->
		</script>
	</td>
]]></template>
		<template name="forumdisplay_thread" version="1600"><![CDATA[<tr>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
	<td class="{$bgcolor}{$thread_type_class}">
		{$attachment_count}
		<div>
			<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
			<div class="author smalltext">{$thread['profilelink']}</div>
		</div>
	</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
	{$rating}
	<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
		<span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
	</td>
{$modbit}
</tr>
]]></template>
		<template name="forumdisplay_orderarrow" version="120"><![CDATA[<span class="smalltext">[<a href="{$sorturl}&amp;sortby={$sortby}&amp;order={$oppsortnext}">{$oppsort}</a>]</span>]]></template>
		<template name="postbit_posturl" version="1400"><![CDATA[<div style="float: right; width: auto; vertical-align: top"><span class="smalltext"><strong>{$lang->postbit_post} <a href="{$post['postlink']}#pid{$post['pid']}">#{$postcounter}</a></strong>{$post['inlinecheck']}</span></div>]]></template>
		<template name="postbit_attachments_thumbnails_thumbnail" version="120"><![CDATA[<a href="attachment.php?aid={$attachment['aid']}" target="_blank"><img src="attachment.php?thumbnail={$attachment['aid']}" class="attachment" alt="" /></a>&nbsp;&nbsp;&nbsp;]]></template>
		<template name="postbit_attachments_images_image" version="120"><![CDATA[<img src="attachment.php?aid={$attachment['aid']}" class="attachment" alt="" />&nbsp;&nbsp;&nbsp;]]></template>
		<template name="postbit_signature" version="120"><![CDATA[<hr size="1" width="25%"  align="left" />
{$post['signature']}]]></template>
		<template name="post_attachments_attachment" version="1600"><![CDATA[<tr>
<td class="trow2" width="1" align="center">{$attachment['icon']}</td>
<td class="trow2" width="75%" style="white-space: nowrap">{$attachment['filename']} ({$attachment['size']})</td>
<td class="trow2" style="white-space: nowrap; text-align: center;">{$attach_mod_options} <input type="submit" class="button" name="rem" value="{$lang->remove_attachment}" onclick="return Post.removeAttachment({$attachment['aid']});" /> {$postinsert}</td>
</tr>]]></template>
		<template name="post_attachments_attachment_unapproved" version="120"><![CDATA[<tr>
<td class="trow_shaded" width="1" align="center">{$attachment['icon']}</td>
<td class="trow_shaded" style="white-space: nowrap"><em><a href="attachment.php?aid={$attachment['aid']}" target="_blank">{$attachment['filename']}</a> ({$attachment['size']})</em></td>
<td class="trow_shaded" style="white-space: nowrap; text-align: center;">{$attach_mod_options} <input type="submit" class="button" name="rem" value="{$lang->remove_attachment}" onclick="return Post.removeAttachment({$attachment['aid']});" /> {$postinsert}</td>
</tr>]]></template>
	<template name="post_attachments_attachment_mod_approve" version="120"><![CDATA[<input type="submit" class="button" name="approveattach" value="{$lang->approve_attachment}" onclick="return Post.attachmentAction({$attachment['aid']},'approve');" />]]></template>
	<template name="post_attachments_attachment_mod_unapprove" version="120"><![CDATA[<input type="submit" class="button" name="unapproveattach" value="{$lang->unapprove_attachment}" onclick="return Post.attachmentAction({$attachment['aid']},'unapprove');" />]]></template>
		<template name="error_attacherror" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"><tr>
<td class="thead"><strong>{$lang->error_attach_file}</strong></td>
</tr>
<tr>
<td class="trow1">{$attachedfile['error']}</td>
</tr>
</table>
<br />]]></template>
		<template name="postbit_attachments" version="120"><![CDATA[<br />
<br />
<fieldset>
<legend><strong>{$lang->postbit_attachments}</strong></legend>
{$post['attachedthumbs']}
{$post['attachedimages']}
{$post['attachmentlist']}
</fieldset>]]></template>
		<template name="postbit_attachments_attachment" version="120"><![CDATA[<br />{$attachment['icon']}&nbsp;&nbsp;<a href="attachment.php?aid={$attachment['aid']}" target="_blank">{$attachment['filename']}</a> ({$lang->postbit_attachment_size} {$attachment['filesize']} / {$lang->postbit_attachment_downloads} {$attachment['downloads']})]]></template>
		<template name="postbit_attachments_attachment_unapproved" version="1402"><![CDATA[<br /><strong>{$postbit_unapproved_attachments}</strong>]]></template>
		<template name="postbit_attachments_images" version="120"><![CDATA[<span class="smalltext"><strong>{$lang->postbit_attachments_images}</strong></span><br />
{$post['imagelist']}
<br />]]></template>
		<template name="post_attachments_attachment_postinsert" version="1405"><![CDATA[<input type="button" class="button" name="insert" value="{$lang->insert_attachment_post}" onclick="clickableEditor.insertAttachment({$attachment['aid']});" />]]></template>
		<template name="moderation_mergeposts" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->merge_posts}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"><tr>
<td class="thead" colspan="2"><strong>{$lang->merge_posts}</strong></td>
</tr>
<tr>
<td class="trow1" colspan="2">{$lang->merge_posts_note}</td>
</tr>
<tr>
<td class="tcat" colspan="2"><strong>{$lang->post_separator}</strong></td>
</tr>
<tr>
<td class="trow2" colspan="2"><label><input type="radio" class="radio" name="sep" value="hr" checked="checked" /> {$lang->horizontal_rule}</label><br /><label><input type="radio" class="radio" name="sep" value="new_line" /> {$lang->new_line}</label></td>
</tr>
{$posts}
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->merge_posts}" /></div>
<input type="hidden" name="action" value="do_mergeposts" />
<input type="hidden" name="tid" value="{$tid}" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="moderation_mergeposts_post" version="1600"><![CDATA[<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->posted_by} {$post['username']} - {$postdate} {$posttime}</strong></span></td>
</tr>
<tr>
<td class="{$altbg}" valign="top" align="center" width="1"><input type="checkbox" class="checkbox" checked="checked" name="mergepost[{$post['pid']}]" value="1" /></td>
<td class="{$altbg}">{$message}</td>
</tr>]]></template>
		<template name="stats" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->board_stats}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->board_stats}</strong></td>
</tr>
<tr>
<td class="tcat" width="50%"><strong>{$lang->totals}</strong></td>
<td class="tcat" width="50%"><strong>{$lang->averages}</strong></td>
</tr>
<tr>
<td class="trow1" valign="top">
{$lang->posts} <strong>{$stats['numposts']}</strong><br />
{$lang->threads} <strong>{$stats['numthreads']}</strong><br />
{$lang->members} <strong>{$stats['numusers']}</strong>
</td>
<td class="trow1" rowspan="3" valign="top">
{$lang->ppd} <strong>{$postsperday}</strong><br />
{$lang->tpd} <strong>{$threadsperday}</strong><br />
{$lang->mpd} <strong>{$membersperday}</strong><br />
{$lang->ppm} <strong>{$postspermember}</strong><br />
{$lang->rpt} <strong>{$repliesperthread}</strong>
</td>
</tr>
<tr>
<td class="tcat" valign="top"><strong>{$lang->general}</strong></td>
</tr>
<tr>
<td class="trow1">
{$lang->newest_member} {$stats['newest_user']}<br />
{$lang->members_posted} <strong>{$havepostedpercent}</strong><br />
{$lang->todays_top_poster}<br />
{$lang->popular_forum}
</td>
</tr>
</table>


<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->most_popular}</strong></td>
</tr>
<tr>
<td class="tcat" width="50%"><strong>{$lang->most_replied_threads}</strong></td>
<td class="tcat" width="50%"><strong>{$lang->most_viewed_threads}</strong></td>
</tr>
<tr>
<td class="trow1" valign="top">{$mostreplies}</td>
<td class="trow1" valign="top">{$mostviews}</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="polls_newpoll" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->post_new_poll}</title>
{$headerinclude}
</head>
<body>
{$header}
{$preview}
<form action="polls.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->post_new_poll}</strong></td>
</tr>
{$loginbox}
<tr>
<td class="trow2"><strong>{$lang->question}</strong></td>
<td class="trow2"><input type="text" class="textbox" name="question" size="40" maxlength="240" value="{$question}" /></td>
</tr>
<tr>
<td class="trow1" valign="top"><strong>{$lang->num_options}</strong><br /><span class="smalltext">{$lang->max_options} {$mybb->settings['maxpolloptions']}</span></td>
<td class="trow1"><input type="text" class="textbox" name="polloptions" size="10" value="{$polloptions}" />&nbsp;<input type="submit" class="button" name="updateoptions" value="{$lang->update_options}" /></td>
</tr>
<tr>
<td class="trow2" valign="top"><strong>{$lang->poll_options}</strong></td>
<td class="trow2"><span class="smalltext">{$lang->poll_options_note}</span>
<table border="0" cellspacing="0" cellpadding="0">
{$optionbits}
</table>
</td>
</tr>
<tr>
<td class="trow1" valign="top"><strong>{$lang->options}</strong></td>
<td class="trow1"><span class="smalltext">
<label><input type="checkbox" class="checkbox" name="postoptions[multiple]" value="1" {$postoptionschecked['multiple']} />&nbsp;{$lang->option_multiple}</label><br />
<label><input type="checkbox" class="checkbox" name="postoptions[public]" value="1" {$postoptionschecked['public']} />&nbsp;{$lang->option_public}</label>
</span>
</td>
</tr>
<tr>
<td class="trow2" valign="top"><strong>{$lang->poll_timeout}</strong><br /><span class="smalltext">{$lang->timeout_note}</span></td>
<td class="trow2"><input type="text" class="textbox" name="timeout" value="{$timeout}" /> {$lang->days}</td>
</tr>
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->post_new_poll}" /></div>
<input type="hidden" name="action" value="do_newpoll" />
<input type="hidden" name="tid" value="{$tid}" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="member_register_agreement" version="123"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->agreement}</title>
{$headerinclude}
</head>
<body>
{$header}
<br />
<form action="member.php" method="post">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$mybb->settings['bbname']} - {$lang->agreement}</strong></td>
</tr>
{$coppa_agreement}
<tr>
<td class="trow1">
<p>{$lang->agreement_1}</p>
<p>{$lang->agreement_2}</p>
<p>{$lang->agreement_3}</p>
<p>{$lang->agreement_4}</p>
<p><strong>{$lang->agreement_5}</strong></p>
</td>
</tr>
</table>

<br />
<div align="center">
<input type="hidden" name="step" value="agreement" />
<input type="hidden" name="action" value="register" />
<input type="submit" class="button" name="agree" value="{$lang->i_agree}" />
</div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="stats_thread" version="1400"><![CDATA[<a href="{$thread['threadlink']}"><strong>{$thread['subject']}</strong></a> ({$numberbit} {$numbertype})<br />]]></template>
		<template name="online" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->users_online}</title>
{$headerinclude}
{$refresh}
</head>
<body>
	{$header}
	{$multipage}
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="thead" colspan="3"><strong>{$lang->users_online}</strong></td>
		</tr>
		<tr>
			<td class="tcat" align="center"><a href="online.php?sortby=username"><span class="smalltext"><strong>{$lang->on_username}</strong></span></a></td>
			<td class="tcat" align="center"><a href="online.php?sortby=time"><span class="smalltext"><strong>{$lang->time}</strong></span></a></td>
			<td class="tcat" width="50%"><a href="online.php?sortby=location"><span class="smalltext"><strong>{$lang->location}</strong></span></a></td>
		</tr>
		{$online_rows}
		<tr>
			<td class="tfoot" colspan="3" align="right"><span class="smalltext"><strong><a href="online.php?action=today">{$lang->online_today}</a> | <a href="online.php">{$lang->refresh_page}</a></strong></span></td>
		</tr>
	</table>
	<br />
	{$multipage}
	{$footer}
</body>
</html>]]></template>
		<template name="portal_welcome_membertext" version="120"><![CDATA[<span class="smalltext"><em>{$lang->member_welcome_lastvisit}</em> {$lastvisit}<br />
{$lang->since_then}<br />
<strong>&raquo;</strong> {$lang->new_announcements}<br />
<strong>&raquo;</strong> {$lang->new_threads}<br />
<strong>&raquo;</strong> {$lang->new_posts}<br /><br />
<a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->view_new}</a><br /><a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->view_todays}</a>
</span>]]></template>
		<template name="portal" version="127"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr><td valign="top" width="200">
{$welcome}
{$pms}
{$search}
{$stats}
{$whosonline}
{$latestthreads}
</td>
<td>&nbsp;</td>
<td valign="top">
{$announcements}
</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="portal_pms" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong><a href="{$mybb->settings['bburl']}/private.php">{$lang->private_messages}</a></strong></td>
</tr>
<tr>
<td class="trow1">
<span class="smalltext">{$lang->pms_received_new}<br /><br />
<strong>&raquo; </strong> <strong>{$messages['pms_unread']}</strong> {$lang->pms_unread}<br />
<strong>&raquo; </strong> <strong>{$messages['pms_total']}</strong> {$lang->pms_total}</span>
</td>
</tr>
</table>
<br />]]></template>
		<template name="portal_stats" version="1400"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->forum_stats}</strong></td>
</tr>
<tr>
<td class="trow1">
<span class="smalltext">
<strong>&raquo; </strong>{$lang->num_members} {$stats['numusers']}<br />
<strong>&raquo; </strong>{$lang->latest_member} {$newestmember}<br />
<strong>&raquo; </strong>{$lang->num_threads} {$stats['numthreads']}<br />
<strong>&raquo; </strong>{$lang->num_posts} {$stats['numposts']}
<br /><br /><a href="{$mybb->settings['bburl']}/stats.php">{$lang->full_stats}</a>
</span>
</td>
</tr>
</table>
<br />]]></template>
		<template name="portal_welcome" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->welcome}</strong></td>
</tr>
<tr>
<td class="trow1">
{$welcometext}
</td>
</tr>
</table><br />]]></template>
		<template name="portal_whosonline" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->online}</strong></td>
</tr>
<tr>
<td class="trow1">
<span class="smalltext">
{$lang->online_users}<br /><strong>&raquo;</strong> {$lang->online_counts}<br />{$onlinemembers}
</span>
</td>
</tr>
</table>
<br />]]></template>
		<template name="portal_announcement_numcomments" version="1400"><![CDATA[- <a href="{$mybb->settings['bburl']}/{$announcement['threadlink']}">{$lang->replies}</a> ({$announcement['replies']})]]></template>
		<template name="portal_announcement" version="1600"><![CDATA[<table cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$icon} <a href="{$mybb->settings['bburl']}/{$announcement['threadlink']}">{$announcement['subject']}</a></strong></td>
</tr>
<tr>
<td class="trow2" align="right">
<span class="smalltext">{$lang->posted_by} {$profilelink}  - {$anndate} {$anntime} {$numcomments}</span>
</td>
</tr>
<tr>
<td class="trow1">
<table border="0" cellpadding="{$theme['tablespace']}" width="100%">
	<tr>
		{$avatar}
		<td class="trow1">
			<p>
				{$message}
			</p>
			{$post['attachments']}
		</td>
	</tr>
	<tr>
		<td align="right" colspan="2" valign="bottom">
			<span class="smalltext">
				<a href="{$mybb->settings['bburl']}/printthread.php?tid={$announcement['tid']}"><img src="{$theme['imgdir']}/printable.gif" alt="{$lang->print_this_item}" title="{$lang->print_this_item}" /></a>&nbsp;<a href="{$mybb->settings['bburl']}/sendthread.php?tid={$announcement['tid']}"><img src="{$theme['imgdir']}/send.gif" alt="{$lang->send_to_friend}" title="{$lang->send_to_friend}" /></a>
			</span>
		</td>
	</tr>
</table>
</td>
</tr>
</table>
<br />]]></template>
		<template name="portal_announcement_numcomments_no" version="120"><![CDATA[- {$lang->no_replies}]]></template>
		<template name="portal_search" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->search_forums}</strong></td>
</tr>
<tr>
<td class="trow1" align="center">
<form method="post" action="{$mybb->settings['bburl']}/search.php">
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
<input type="text" class="textbox" name="keywords" value="" />
{$gobutton}
</form><br />
<span class="smalltext">
(<a href="{$mybb->settings['bburl']}/search.php">{$lang->advanced_search}</a>)
</span>
</td>
</tr>
</table>
<br />]]></template>
		<template name="portal_latestthreads" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->latest_threads}</strong></td>
</tr>
{$threadlist}
</table>
<br />]]></template>
		<template name="portal_whosonline_memberbit" version="1400"><![CDATA[{$comma}<a href="{$mybb->settings['bburl']}/{$user['profilelink']}">{$user['username']}</a>{$invisiblemark}]]></template>
		<template name="printthread" version="1600"><![CDATA[<html>
<head>
<title>{$thread['threadprefix']} {$thread['subject']} - {$lang->printable_version}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<style type="text/css">
body { font-family: Verdana, Arial, sans-serif; font-size: 13px; }
.largetext { font-family: Verdana, Arial, sans-serif; font-size: medium; font-weight: bold; }
</style>
</head>
<body>
<table width="98%" align="center">
<tr>
<td valign="top"><a href="index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" border="0" /></a></td>
</tr>
<tr>
<td>
<span class="largetext">{$thread['displaystyle']} <a href="{$thread['threadlink']}">{$thread['subject']}</a> - {$lang->printable_version}</span><br />
<br />
+- {$mybb->settings['bbname']} (<em>{$mybb->settings['bburl']}</em>)<br />
{$breadcrumb}
+{$tdepth} {$lang->thread} {$thread['displaystyle']} {$thread['subject']} (<em>/{$thread['threadlink']}</em>)<br />
<br />
{$multipage}</td>
</tr>
<tr>
<td><br /><hr size="1" />{$postrows}</td>
</tr>
</table>
</body>
</html>]]></template>
		<template name="forumdisplay_nothreads" version="120"><![CDATA[<tr>
<td colspan="{$colspan}" class="trow1">{$lang->nothreads}</td>
</tr>]]></template>
		<template name="usercp_password" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->change_password}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="usercp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
{$errors}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->change_password}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2"><strong>{$lang->current_password}</strong></td>
</tr>
<tr>
<td class="trow1" colspan="2" align="center"><input type="password" class="textbox" name="oldpassword" size="25" /></td>
</tr>
<tr>
<td class="tcat" colspan="2"><strong>{$lang->please_enter_confirm_new_password}</strong></td>
</tr>
<tr>
<td class="trow2" width="40%"><strong>{$lang->new_password}</strong></td>
<td class="trow2" width="60%"><input type="password" class="textbox" name="password" size="25" /></td>
</tr>
<tr>
<td class="trow1" width="40%"><strong>{$lang->confirm_password}</strong></td>
<td class="trow1" width="60%"><input type="password" class="textbox" name="password2" size="25" /></td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_password" />
<input type="submit" class="button" name="submit" value="{$lang->update_password}" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="usercp_email" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->change_email}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="usercp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
{$errors}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->change_email}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2"><strong>{$lang->enter_password}</strong></td>
</tr>
<tr>
<td class="trow1" colspan="2" align="center"><input type="password" class="textbox" name="password" size="25" /></td>
</tr>
<tr>
<td class="tcat" colspan="2"><strong>{$lang->please_enter_confirm_new_email}</strong></td>
</tr>
<tr>
<td class="trow2" width="40%"><strong>{$lang->new_email}</strong></td>
<td class="trow2" width="60%"><input type="text" class="textbox" name="email" size="25" maxlength="150" value="{$email}" /></td>
</tr>
<tr>
<td class="trow1" width="40%"><strong>{$lang->confirm_email}</strong></td>
<td class="trow1" width="60%"><input type="text" class="textbox" name="email2" size="25" maxlength="150" value="{$email2}" /></td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_email" />
<input type="submit" class="button" name="submit" value="{$lang->update_email}" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="private_archive_txt_folderhead" version="120"><![CDATA[#######################################################################
{$lang->folder} {$foldername}
#######################################################################
]]></template>
		<template name="private_archive_txt_message" version="120"><![CDATA[{$lang->subject} {$message['subject']}
{$tofrom} {$tofromusername}
{$lang->sent} {$senddate}
------------------------------------------------------------------------
{$message['message']}
------------------------------------------------------------------------

]]></template>
		<template name="private_archive_html_folderhead" version="120"><![CDATA[</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="tcat" colspan="2"><strong>{$lang->folder} {$foldername}</strong></td>
</tr>]]></template>
		<template name="private_archive_html_message" version="120"><![CDATA[<tr>
<td class="trow1"><strong>{$lang->subject} {$message['subject']}</strong><br /><em>{$lang->to} {$message['tousername']}<br />{$lang->from} {$message['fromusername']}<br />{$lang->sent} {$senddate}</em></td>
</tr>
<tr>
<td class="trow2">{$message['message']}</td>
</tr>
<tr>
<td class="tcat" height="3"><img src="pixel.gif" height="3" width="1" alt="" /></td>
</tr>]]></template>
		<template name="private_archive_csv_message" version="1400"><![CDATA[{$senddate},"{$foldername}","{$message['subject']}","{$message['tousername']}","{$message['fromusername']}","{$message['message']}"
]]></template>
		<template name="search_results_threads_thread" version="1600"><![CDATA[<tr>
	<td align="center" class="{$bgcolor}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif"  alt="{$folder_label}" title="{$folder_label}" /></td>
	<td align="center" class="{$bgcolor}" width="2%">{$icon}</td>
	<td class="{$bgcolor}">
		{$attachment_count}
		<div>
			<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread_link}{$highlight}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
			<div class="author smalltext">{$thread['profilelink']}</div>
		</div>
	</td>
	<td class="{$bgcolor}">{$thread['forumlink']}</td>
	<td align="center" class="{$bgcolor}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a></td>
	<td align="center" class="{$bgcolor}">{$thread['views']}</td>
	<td class="{$bgcolor}" style="white-space: nowrap">
		<span class="smalltext">
			{$lastpostdate} {$lastposttime}<br />
			<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}
		</span>
	</td>
	{$inline_mod_checkbox}
</tr>]]></template>
		<template name="search_results_threads" version="1600"><![CDATA[<html>
		<head>
		<title>{$mybb->settings['bbname']} - {$lang->search_results}</title>
		{$headerinclude}
		</head>
		<body>
		{$header}
		<table width="100%" align="center" border="0">
			<tr>
				<td align="right" valign="top">{$multipage}</td>
			</tr>
		</table>
		<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
			<tr>
				<td colspan="8" class="thead">
					<strong>{$lang->search_results}</strong>
				</td>
			</tr>
			<tr>
				<td class="tcat" align="center" colspan="3" width="56%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow['subject']}</strong> / <strong><a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
				<td class="tcat" align="center" width="14%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=forum&amp;order=asc">{$lang->forum}</a> {$orderarrow['forum']}</strong></span></td>
				<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
				<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
				<td class="tcat" align="center" width="200"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
				{$inlinemodcol}
			</tr>
			{$selectall}
			{$results}
		</table>
		{$inline_edit_js}
		<table width="100%" align="center" border="0">
			<tr>
				<td align="left" valign="top">{$multipage}</td>
				<td align="right" valign="top">{$inlinemod}</td>
			</tr>
		</table>
		{$footer}
		</body>
		</html>]]></template>
		<template name="search_results_posts_post" version="1400"><![CDATA[<tr>
	<td align="center" class="{$bgcolor}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt=""/></td>
	<td align="center" class="{$bgcolor}" width="2%">{$icon}</td>
	<td class="{$bgcolor}">
		<span class="smalltext">
			{$lang->post_thread} <a href="{$thread_url}{$highlight}">{$post['thread_subject']}</a><br />
			{$lang->post_subject} <a href="{$post_url}{$highlight}#pid{$post['pid']}">{$post['subject']}</a>
		</span><br />
		<table width="100%"><tr><td><span class="smalltext"><em>{$prev}</em></span></td></tr></table>
	</td>
	<td align="center" class="{$bgcolor}">{$post['profilelink']}</td>
	<td class="{$bgcolor}" >{$post['forumlink']}</td>
	<td align="center" class="{$bgcolor}"><a href="javascript:MyBB.whoPosted({$post['tid']});">{$post['thread_replies']}</a></td>
	<td align="center" class="{$bgcolor}">{$post['thread_views']}</td>
	<td class="{$bgcolor}" style="white-space: nowrap; text-align: center;"><span class="smalltext">{$posted}</span></td>
	{$inline_mod_checkbox}
</tr>]]></template>
		<template name="reputation_add" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->reputation}</title>
{$headerinclude}
</head>
<body>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td class="trow1" style="padding: 20px">
			<strong>{$vote_title}</strong><br />{$post_rep_info}<br />
			<form action="reputation.php" method="post">
				<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
				<input type="hidden" name="action" value="do_add" />
				<input type="hidden" name="uid" value="{$user['uid']}" />
				<input type="hidden" name="pid" value="{$mybb->input['pid']}" />
				<input type="hidden" name="rid" value="{$rid}" />
				<select name="reputation" id="reputation">
					{$positive_power}
					<option value="0" class="reputation_neutral" onclick="$('reputation').className='reputation_neutral'"{$vote_check[0]}>{$lang->power_neutral}</option>
					{$negative_power}
				</select>
				<br /><br />
				<span class="smalltext">{$lang->user_comments}</span>
				<br />
				<input type="text" class="textbox" name="comments" size="35" maxlength="250" value="{$comments}" style="width: 95%" />
				<br /><br />
				<div style="text-align: center;">
					<input type="submit" class="button" value="{$vote_button}" />
					{$delete_button}
				</div>
			</form>
		</td>
	</tr>
</table>
</body>
</html>]]></template>
		<template name="postbit_reputation" version="1400"><![CDATA[<br />{$lang->postbit_reputation} {$post['userreputation']}]]></template>
		<template name="moderation_threadnotes_modaction" version="120"><![CDATA[<tr>
<td class="{$trow}" align="center">{$modaction['profilelink']}</td>
<td class="{$trow}" align="center">{$modaction['dateline']}</td>
<td class="{$trow}" align="center">{$modaction['action']}</td>
<td class="{$trow}">{$info}</td>
</tr>
]]></template>
		<template name="moderation_threadnotes_delayedmodaction" version="1600"><![CDATA[<tr>
<td class="{$trow}" align="center">{$delayedmod['profilelink']}</td>
<td class="{$trow}" align="center">{$delayedmod['dateline']}</td>
<td class="{$trow}" align="center">{$delayedmod['action']}</td>
<td class="{$trow}">{$info}</td>
</tr>
]]></template>
		<template name="misc_smilies" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->smilies_listing}</title>
{$headerinclude}
</head>
<body>
{$header}
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="3"><strong>{$lang->smilies_listing}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2" align="center"><span class="smalltext"><strong>{$lang->name}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->abbreviation}</strong></span></td>
</tr>
{$smilies}
</table>
{$footer}
</body>
</html>]]></template>
		<template name="search_results_posts" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->search_results}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" align="center" border="0">
	<tr>
		<td align="right" valign="top">{$multipage}</td>
	</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td colspan="9" class="thead">
			<strong>{$lang->search_results}</strong>
		</td>
	</tr>
	<tr>
		<td class="tcat" align="center" colspan="3"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->post}</a> {$orderarrow['subject']}</strong></span></td>
		<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
		<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=forum&amp;order=asc">{$lang->forum}</a> {$orderarrow['forum']}</strong></span></td>
		<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
		<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a></strong> {$orderarrow['views']}</span></td>
		<td class="tcat" align="center"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=dateline&amp;order=desc">{$lang->posted}</a> {$orderarrow['dateline']}</strong></span></td>
		{$inlinemodcol}
	</tr>
	{$selectall}
	{$results}
</table>
<table width="100%" align="center" border="0">
	<tr>
		<td align="left" valign="top">{$multipage}</td>
		<td align="right" valign="top">{$inlinemod}</td>
	</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="private_limitwarning" version="1400"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1" align="center"><span class="smalltext"><strong><span style="color:#FF0000;">{$lang->reached_warning}</span></strong><br />{$lang->reached_warning2}</span></td>
</tr>
</table>
<br />]]></template>
		<template name="misc_smilies_smilie" version="120"><![CDATA[<tr>
<td class="{$class}" align="center"><img src="{$smilie['image']}" /></td>
<td class="{$class}">{$smilie['name']}</td>
<td class="{$class}">{$smilie['find']}</td>
</tr>]]></template>
		<template name="member_emailuser_guest" version="120"><![CDATA[<tr>
<td width="40%" class="trow2"><strong>{$lang->your_name}</strong><br /><span class="smalltext">{$lang->name_note}</span></td>
<td width="60%" class="trow2"><input type="text" class="textbox" size="50" name="fromname" /></td>
</tr>
<tr>
<td width="40%" class="trow1"><strong>{$lang->your_email}</strong><br /><span class="smalltext">{$lang->email_note}</span></td>
<td width="60%" class="trow1"><input type="text" class="textbox" size="50" name="fromemail" /></td>
</tr>]]></template>
		<template name="usercp_subscriptions" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->subscriptions}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="usercp.php" method="post" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="do_subscriptions" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
{$multipage}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td class="thead" colspan="7"><strong>{$lang->subscriptions} ({$threadcount})</strong></td>
	</tr>
	<tr>
		<td class="tcat" align="center" colspan="2">&nbsp;</td>
		<td class="tcat" align="center"><span class="smalltext"><strong>{$lang->thread}</strong></span></td>
		<td class="tcat" align="center" width="7%"><span class="smalltext"><strong>{$lang->replies}</strong></span></td>
		<td class="tcat" align="center" width="7%"><span class="smalltext"><strong>{$lang->views}</strong></span></td>
		<td class="tcat" align="center" width="200"><span class="smalltext"><strong>{$lang->lastpost}</strong></span></td>
		<td class="tcat" align="center" width="1"><input name="allbox" title="Select All" type="checkbox" class="checkbox checkall" value="1" /></td>
	</tr>
	{$threads}
	{$remove_options}
</table>
<br />
<div class="float_left">
	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><img src="{$theme['imgdir']}/newfolder.gif" alt="{$lang->new_posts_thread}" title="{$lang->new_posts_thread}" /> {$lang->new_posts_thread}</dd>
			<dd><img src="{$theme['imgdir']}/newhotfolder.gif" alt="{$lang->new_hot_thread}" title="{$lang->new_hot_thread}" /> {$lang->new_hot_thread}</dd>
			<dd><img src="{$theme['imgdir']}/hotfolder.gif" alt="{$lang->hot_thread}" title="{$lang->hot_thread}" /> {$lang->hot_thread}</dd>
		</dl>
	</div>

	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><img src="{$theme['imgdir']}/folder.gif" alt="{$lang->no_new_thread}" title="{$lang->no_new_thread}" /> {$lang->no_new_thread}</dd>
			<dd><img src="{$theme['imgdir']}/dot_folder.gif" alt="{$lang->posts_by_you}" title="{$lang->posts_by_you}" /> {$lang->posts_by_you}</dd>
			<dd><img src="{$theme['imgdir']}/lockfolder.gif" alt="{$lang->locked_thread}" title="{$lang->locked_thread}" /> {$lang->locked_thread}</dd>
		</dl>
	</div>
	<br style="clear: both" />
</div>
{$multipage}
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="online_today_row" version="1400"><![CDATA[<tr>
<td align="center" class="trow1" width="50%">{$online['profilelink']}{$invisiblemark}</td>
<td align="center" class="trow2" width="50%">{$onlinetime}</td>
</tr>]]></template>
		<template name="member_profile_email" version="120"><![CDATA[<tr>
<td class="trow2"><strong>{$lang->email}</strong></td>
<td class="trow2"><a href="member.php?action=emailuser&amp;uid={$memprofile['uid']}">{$lang->send_user_email}</a></td>
</tr>]]></template>
		<template name="loginbox" version="120"><![CDATA[<tr>
<td class="trow2"><strong>{$lang->username}</strong></td>
<td class="trow2"><input type="text" class="textbox" name="username" size="30" value="{$username}" /></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->password}</strong></td>
<td class="trow1"><input type="password" class="textbox" name="password" size="30" value="{$password}" /></td>
</tr>

]]></template>
		<template name="misc_help_section_bit" version="1400"><![CDATA[<tr>
<td width="100%" class="{$altbg}"><strong><a href="misc.php?action=help&amp;hid={$helpdoc['hid']}">{$helpdoc['name']}</a></strong><br /><span class="smalltext">{$helpdoc['description']}</span></td>
</tr>
]]></template>
		<template name="index_birthdays_birthday" version="1400"><![CDATA[{$comma}{$bdayuser['profilelink']}{$age}]]></template>
		<template name="private_tracking_readmessage" version="1400"><![CDATA[<tr>
<td align="center" class="trow1" width="1%"><img src="{$theme['imgdir']}/old_pm.gif" alt="" /></td>
<td class="trow2">{$readmessage['subject']}</td>
<td class="trow1" align="center">{$readmessage['profilelink']}</td>
<td class="trow2" align="right"><span class="smalltext">{$readdate}<br />{$readtime}</span></td>
<td class="trow1"><input type="checkbox" class="checkbox" name="readcheck[{$readmessage['pmid']}]" value="1" /></td>
</tr>]]></template>
		<template name="private_tracking_unreadmessage" version="1400"><![CDATA[<tr>
<td align="center" class="trow1" width="1%"><img src="{$theme['imgdir']}/new_pm.gif" alt="" /></td>
<td class="trow2">{$unreadmessage['subject']}</td>
<td class="trow1" align="center">{$unreadmessage['profilelink']}</td>
<td class="trow2" align="right"><span class="smalltext">{$senddate}<br />{$sendtime}</span></td>
<td class="trow1"><input type="checkbox" class="checkbox" name="unreadcheck[{$unreadmessage['pmid']}]" value="1" /></td>
</tr>]]></template>
		<template name="private_tracking_nomessage" version="1400"><![CDATA[<tr>
<td align="center" class="trow1" colspan="5">{$lang->no_readmessages}</td>
</tr>]]></template>
		<template name="usercp_editlists_user" version="1400"><![CDATA[<li style="width: 33%; float: left; list-style: none; margin-bottom: 4px;" id="{$type}_{$user['uid']}">
	<a href="usercp.php?action=do_editlists&amp;my_post_key={$mybb->post_code}&amp;manage={$type}&amp;delete={$user['uid']}" onclick="return UserCP.removeBuddy('{$type}', {$user['uid']});" title="{$lang->remove_from_list}"><img src="{$theme['imgdir']}/buddy_delete.gif" title="[{$lang->delete}]"  alt="{$lang->remove_from_list}" style="vertical-align: middle;" /></a>
	<img src="{$theme['imgdir']}/buddy_{$status}.gif" title="{$lang->$status}" alt="" style="vertical-align: middle;" />
	{$profile_link}
</li>]]></template>
		<template name="showthread_threadedbox" version="120"><![CDATA[<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><span class="smalltext"><strong>{$lang->messages_in_thread}</strong></span></td>
</tr>
<tr>
<td class="trow1">{$threadedbits}</td>
</tr>
</table>
]]></template>
		<template name="showthread_multipage" version="126"><![CDATA[<tr>
<td class="tcat" colspan="2"> {$multipage}</td>
</tr>]]></template>
		<template name="forumbit_moderators" version="120"><![CDATA[<br />{$lang->forumbit_moderated_by} {$moderators}]]></template>
		<template name="moderation_deletepoll" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->delete_poll}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->delete_poll}</strong></td>
</tr>
{$loginbox}
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->delete_poll}" /></div>
<input type="hidden" name="action" value="do_deletepoll" />
<input type="hidden" name="tid" value="{$tid}" />
<input type="hidden" name="delete" value="1" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="member_profile_signature" version="120"><![CDATA[<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->users_signature}</strong></td>
</tr>
<tr>
<td class="trow1">{$memprofile['signature']}</td>
</tr>
</table>]]></template>
		<template name="newreply_modoptions" version="1400"><![CDATA[<tr>
<td class="trow2" valign="top"><strong>{$lang->mod_options}</strong></td>
<td class="trow2"><span class="smalltext">
<label><input type="checkbox" class="checkbox" name="modoptions[closethread]" value="1"{$closecheck} />&nbsp;{$lang->close_thread}</label><br />
<label><input type="checkbox" class="checkbox" name="modoptions[stickthread]" value="1"{$stickycheck} />&nbsp;{$lang->stick_thread}</label>
</span></td>
</tr>]]></template>
		<template name="smilieinsert_getmore" version="120"><![CDATA[<tr>
<td class="trow2" align="center"><span class="smalltext"><strong>[<a href="javascript:clickableEditor.openGetMoreSmilies('clickableEditor');">{$lang->smilieinsert_getmore}</a>]</strong></span></td>
</tr>]]></template>
		<template name="misc_smilies_popup" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->smilies_listing}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	var editor = eval('opener.' + '{$editor}');
	function insertSmilie(code)
	{
		if(editor)
		{
			editor.performInsert(code, "", true, false);
		}
	}
// -->
</script>

</head>
<body>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="4"><strong>{$lang->smilies_listing}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="4"><span class="smalltext">{$lang->click_to_add}</span></td>
</tr>
{$smilies}
<tr>
<td class="thead" colspan="4" align="center"><span class="smalltext">[<a href="javascript:window.close();">{$lang->close_window}</a>]</span></td>
</tr>
</table>
</body>
</html>]]></template>
		<template name="misc_smilies_popup_smilie" version="123"><![CDATA[<td class="{$class}" align="center"><img src="{$smilie['image']}" alt="{$smilie['find']}" title="{$smilie['find']}" onclick="insertSmilie('{$smilie['insert']}');" /></a></td>
<td class="{$class}">{$smilie['find']}</td>]]></template>
		<template name="showteam" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->forum_team}</title>
{$headerinclude}
</head>
<body>
{$header}
{$grouplist}
{$footer}
</body>
</html>]]></template>
		<template name="index_birthdays" version="120"><![CDATA[<tr><td class="tcat"><span class="smalltext"><strong>{$lang->todays_birthdays}</strong></span></td></tr>
<tr>
<td class="trow1"><span class="smalltext">{$bdays}</span></td>
</tr>]]></template>
		<template name="moderation_getip" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->get_post_ip}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->get_post_ip}</strong></td>
</tr>
{$loginbox}
<tr>
<td class="trow2"><strong>{$lang->ip_address}</strong></td>
<td class="trow2">{$post['ipaddress']}</td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->hostname}<br /><span class="smalltext">{$lang->if_resolvable}</span></strong></td>
<td class="trow2">{$hostname}</td>
</tr>
{$modoptions}
</table>
{$footer}
</body>
</html>]]></template>
		<template name="moderation_getip_modoptions" version="1600"><![CDATA[<tr>
<td class="trow2"><strong>{$lang->mod_options}</strong></td>
<td class="trow2">
	<a href="modcp.php?action=ipsearch&amp;ipaddress={$post['ipaddress']}&amp;search_users=1">{$lang->search_ip_users}</a><br />
	<a href="modcp.php?action=ipsearch&amp;ipaddress={$post['ipaddress']}&amp;search_posts=1">{$lang->search_ip_posts}</a><br />
	<a href="modcp.php?action=iplookup&ipaddress={$post['ipaddress']}" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/modcp.php?action=iplookup&ipaddress={$post['ipaddress']}', 'iplookup', 500, 250); return false;">{$lang->info_on_ip}</a>
</td>
</tr>]]></template>
		<template name="postbit_iplogged_hiden" version="1400"><![CDATA[<p class="smalltext">{$lang->postbit_ipaddress} <a href="moderation.php?action=getip&amp;pid={$post['pid']}">{$lang->postbit_ipaddress_logged}</a></p>]]></template>
		<template name="usercp_options_tppselect" version="120"><![CDATA[<tr>
<td colspan="2"><span class="smalltext">{$lang->tpp}</span></td>
</tr>
<tr>
<td colspan="2">
<select name="tpp">
<option value="">{$lang->use_default}</option>
{$tppoptions}
</select>
</td>
</tr>]]></template>
		<template name="index_logoutlink" version="1400"><![CDATA[<a href="member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">{$lang->index_logout}</a> | ]]></template>
		<template name="postbit_iplogged_show" version="1400"><![CDATA[<p class="smalltext">{$lang->postbit_ipaddress} {$post['ipaddress']}</p>]]></template>
		<template name="usercp_changeavatar" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->change_avatar}</title>
{$headerinclude}
</head>
<body>
{$header}
<form enctype="multipart/form-data" action="usercp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="3"><strong>{$lang->change_avatar}</strong></td>
</tr>
<tr>
<td align="center" class="trow1" width="1%"><input type="radio" class="radio" name="avatar" value="url"{$checked['url']} /></td>
<td class="trow1" width="40%"><strong>{$lang->avatar_url}</strong><br /><span class="smalltext">{$lang->avatar_url_note}</span></td>
<td class="trow1" width="55%"><input type="text" class="textbox" name="avatarurl" size="25" maxlength="100" value="{$avatarurl}" /></td>
</tr>
<tr>
<td align="center" class="trow2" width="1%"><input type="radio" class="radio" name="avatar" value="upload"{$checked['upload']} /></td>
<td class="trow2" width="40%"><strong>{$lang->avatar_upload}</strong><br /><span class="smalltext">{$lang->avatar_upload_note}</span></td>
<td class="trow2" width="55%"><input type="file" name="avatarupload" size="25" value="" class="fileupload" />{$uploadedmsg}</td>
</tr>
<tr>
<td align="center" class="trow1" width="1%"><input type="radio" class="radio" name="avatar" value="list"{$checked['list']} /></td>
<td class="trow1" width="40%"><strong>{$lang->avatar_list}</strong><br /><span class="smalltext">{$lang->avatar_list_note}</span></td>
<td class="trow1" width="55%">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td valign="middle">
<select name="avatarlist" size="5" onChange="document.images.avatarpic.src='{$mybb->settings['avatardir']}/'+this[this.selectedIndex].value;">
{$listoptions}
</select>
</td>
<td valign="middle">
<img src="{$avatarpic}" name="avatarpic" width="80" height="80" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" class="trow2" width="1%"><input type="radio" class="radio" name="avatar" value="none"{$checked['none']} /></td>
<td colspan="2" class="trow2" width="95%"><strong>{$lang->no_avatar}</strong><br /><span class="smalltext">{$lang->no_avatar_note}</span></td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_avatar" />
<input type="submit" class="button" name="submit" value="{$lang->change_avatar}" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="usercp_notepad" version="1600"><![CDATA[<br />
<form action="usercp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->personal_notepad}</strong></td>
</tr>
<tr>
<td align="center" class="trow1" width="100%">
<textarea name="notepad" cols="1" rows="10" class="usercp_notepad">{$mybb->user['notepad']}</textarea>
</td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_notepad" />
<input type="submit" class="button" name="submit" value="{$lang->update_notepad}" />
</div>
</form>]]></template>
		<template name="private_messagebit_sep" version="120"><![CDATA[<tr>
<td class="tcat" align="center" colspan="6" height="1"><img src="{$theme['imgdir']}/pixel.gif" height="1" width="1" alt=""/></td>
</tr>]]>
    </template>

		<template name="polls_editpoll_option" version="120"><![CDATA[<tr>
<td>{$lang->option} {$counter}:&nbsp;</td>
<td><input type="text" class="textbox" name="options[{$counter}]" value="{$option}" /></td>
<td>{$lang->votes}&nbsp;</td>
<td><input type="text" class="textbox" name="votes[{$counter}]" value="{$optionvotes}" /></td>
</tr>]]></template>
		<template name="member_resetpassword" version="127"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->reset_password}</title>
{$headerinclude}
</head>
<body>
{$header}
<br />
<form action="member.php" method="post">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->reset_password}</strong></td>
</tr>
<tr>
<td class="trow1" width="30%"><strong>{$lang->username}</strong></td>
<td class="trow1"><input type="text" class="textbox" name="username" value="{$user['username']}" /></td>
</tr>
<tr>
<td class="trow1" width="30%"><strong>{$lang->activation_code}</strong></td>
<td class="trow1"><input type="text" class="textbox" name="code" value="{$code}" /></td>
</tr>
</table>
<br />
<div align="center"><input type="hidden" name="action" value="resetpassword" /><input type="submit" class="button" name="regsubmit" value="{$lang->send_password}" /></div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="forumdisplay_thread_multipage" version="120"><![CDATA[ <span class="smalltext">({$lang->pages} {$threadpages}{$morelink})</span>]]></template>
		<template name="forumdisplay_thread_multipage_page" version="1400"><![CDATA[<a href="{$page_link}">{$i}</a> ]]></template>
		<template name="forumdisplay_thread_multipage_more" version="1600"><![CDATA[... <a href="{$page_link}">{$thread['pages']}</a>]]></template>
		<template name="member_profile_customfields" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_additional_info}</strong></td>
</tr>
{$customfields}
</table>]]></template>
		<template name="member_profile_customfields_field" version="120"><![CDATA[<tr>
<td class="{$bgcolor}" width="40%"><strong>{$customfield['name']}:</strong></td>
<td class="{$bgcolor}" width="60%">{$customfieldval}</td>
</tr>
]]></template>
		<template name="forumdisplay_usersbrowsing_user" version="1400"><![CDATA[{$comma}{$user['profilelink']}{$invisiblemark}]]></template>
		<template name="forumdisplay_usersbrowsing" version="1400"><![CDATA[<span class="smalltext">{$lang->users_browsing_forum} {$onlinemembers}{$onlinesep}{$invisonline}{$onlinesep2}{$guestsonline}</span><br />]]></template>
		<template name="member_lostpw" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->lost_pw}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="member.php" method="post">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->lost_pw_form}</strong></td>
</tr>
<tr>
<td class="trow1" width="40%"><strong>{$lang->email_address}</strong></td>
<td class="trow1" width="60%"><input type="text" class="textbox" name="email" /></td>
</tr>
</table>
<br />
<div align="center"><input type="submit" class="button" value="{$lang->request_user_pass}" /></div>
<input type="hidden" name="action" value="do_lostpw" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="usercp_changename" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->change_username}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="usercp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
{$errors}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->change_username}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2"><strong>{$lang->current_password}</strong></td>
</tr>
<tr>
<td class="trow1" colspan="2" align="center"><input type="password" class="textbox" name="password" size="25" /></td>
</tr>
<tr>
<td class="tcat" colspan="2"><strong>{$lang->change_username}</strong></td>
</tr>
<tr>
<td class="trow2" width="40%"><strong>{$lang->new_username}</strong></td>
<td class="trow2" width="60%"><input type="text" class="textbox" name="username" size="25" maxlength="{$mybb->settings['maxnamelength']}" /></td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_changename" />
<input type="submit" class="button" name="submit" value="{$lang->update_username}" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="moderation_split_post" version="127"><![CDATA[<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->posted_by} {$post['username']} - {$postdate} {$posttime}</strong></span></td>
</tr>
<tr>
<td class="{$altbg}" valign="top" align="center" width="1%"><input type="checkbox" class="checkbox" name="splitpost[{$post['pid']}]" value="1" /></td>
<td class="{$altbg}">{$message}</td>
</tr>]]></template>
		<template name="newreply_threadreview_more" version="120"><![CDATA[<tr>
<td class="thead" align="center"><span class="smalltext"><strong>{$lang->thread_review_more}</strong></span></td>
</tr>]]></template>
		<template name="misc_whoposted" version="120"><![CDATA[<html>
<head>
<title>{$lang->who_posted}</title>
{$headerinclude}
</head>
<body style="margin:0px;top:0px;left:0px" class="trow2">
<table width="100%" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" border="0" align="center" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->total_posts} {$numposts}</strong></td>
</tr>
<tr>
<td class="tcat"><span class="smalltext"><strong><a href="misc.php?action=whoposted&amp;tid={$tid}&amp;sort=username">{$lang->user}</a></strong></span></td>
<td class="tcat"><span class="smalltext"><strong><a href="misc.php?action=whoposted&amp;tid={$tid}&amp;sort=numposts">{$lang->num_posts}</a></strong></span></td>
</tr>
{$whoposted}
<tr>
<td colspan="2" class="thead" align="center"><span class="smalltext">[<a href="javascript:self.close();">{$lang->close_window}</a>]</span></td>
</tr>
</table>
</body>
</html>]]></template>
		<template name="misc_whoposted_poster" version="120"><![CDATA[<tr>
<td class="{$altbg}">{$profile_link}</a></td>
<td class="{$altbg}">{$poster['posts']}</td>
</tr>]]></template>
		<template name="moderation_deleteposts_post" version="120"><![CDATA[<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->posted_by} {$post['username']} - {$postdate} {$posttime}</strong></span></td>
</tr>
<tr>
<td class="{$altbg}" valign="top" align="center" style="width:5%"><input type="checkbox" class="checkbox" name="deletepost[{$post['pid']}]" value="1" /></td>
<td class="{$altbg}">{$message}</td>
</tr>]]></template>
		<template name="moderation_deleteposts" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->delete_posts}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->delete_posts}</strong></td>
</tr>
{$posts}
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->delete_selected_posts}" /></div>
<input type="hidden" name="action" value="do_deleteposts" />
<input type="hidden" name="tid" value="{$tid}" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="moderation_split" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->split_thread}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->split_thread}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->new_thread_info}</strong></span></td>
</tr>
{$loginbox}
<tr>
<td class="trow2"><strong>{$lang->new_subject}</strong></td>
<td class="trow2"><input type="text" class="textbox" name="newsubject" value="[split] {$thread['subject']}" size="50" /></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->new_forum}</strong></td>
<td class="trow1">{$forumselect}</td>
</tr>
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->posts_to_split}</strong></td>
</tr>
{$posts}
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->split_thread}" /></div>
<input type="hidden" name="action" value="do_split" />
<input type="hidden" name="tid" value="{$tid}" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="newreply_threadreview_post" version="120"><![CDATA[<tr>
<td class="tcat"><span class="smalltext"><strong>{$lang->posted_by} {$post['username']} - {$reviewpostdate} {$reviewposttime}</strong></span></td>
</tr>
<tr>
<td class="{$altbg}">
{$reviewmessage}
</td>
</tr>]]></template>
		<template name="newreply_threadreview" version="120"><![CDATA[<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" align="center"><strong>{$lang->thread_review}</strong></td>
</tr>
{$reviewbits}
{$reviewmore}
</table>
]]></template>
		<template name="sendthread" version="1600"><![CDATA[<html>
<head>
<title>{$threadprefix['prefix']} {$thread['subject']} - {$lang->send_thread}</title>
{$headerinclude}
</head>
<body>
{$header}
{$errors}
<form action="sendthread.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" width="100%" class="thead"><strong>{$lang->send_thread}</strong></td>
</tr>
<tr>
<td width="40%" class="trow1"><strong>{$lang->recipient}</strong><br /><span class="smalltext">{$lang->recipient_note}</span></td>
<td width="60%" class="trow1"><input type="text" class="textbox" size="50" name="email" value="{$email}" /></td>
</tr>
{$guestfields}
<tr>
<td width="40%" class="trow2"><strong>{$lang->subject}</strong></td>
<td width="60%" class="trow2"><input type="text" class="textbox" size="50" name="subject" value="{$subject}" /></td>
</tr>
<tr>
<td valign="top" width="40%" class="trow1"><strong>{$lang->message}</strong></td>
<td width="60%" class="trow1"><textarea cols="50" rows="10" name="message">{$message}</textarea></td>
</tr>
</table>
<br />
<input type="hidden" name="action" value="do_sendtofriend" />
<input type="hidden" name="tid" value="{$tid}" />
<div align="center"><input type="submit" class="button" value="{$lang->send_thread}" /></div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="usercp_editsig" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->edit_sig}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="usercp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
{$error}
{$signature}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->edit_sig}</strong></td>
</tr>
<tr>
<td class="trow1" valign="top" width="20%"><span class="smalltext">{$lang->edit_sig_note}</span>
{$smilieinserter}</td>
<td class="trow1" width="80%">
<textarea rows="15" cols="70" id="signature" name="signature">{$sig}</textarea>
{$codebuttons}
</td>
</tr>
<tr>
<td class="trow2">
<span class="smalltext">{$lang->edit_sig_note2}</span>
</td>
<td class="trow2">
<span class="smalltext">
<label><input type="radio" class="radio" name="updateposts" value="enable" />&nbsp;{$lang->enable_sig_posts}</label><br />
<label><input type="radio" class="radio" name="updateposts" value="disable" />&nbsp;{$lang->disable_sig_posts}</label><br />
<label><input type="radio" class="radio" name="updateposts" value="0" checked="checked" />&nbsp;{$lang->leave_sig_settings}</label></span>
</td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_editsig" />
<input type="submit" class="button" name="submit" value="{$lang->update_sig}" />
<input type="submit" class="button" name="preview" value="{$lang->preview}" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="usercp_editsig_suspended" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->edit_sig}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<div class="error">
	<p><em>{$lang->edit_sig_error_title}</em></p>
	<ul>
		<li>{$lang->edit_sig_no_permission}</li>
	</ul>
</div>
<br />
{$signature}
</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="private_messagebit_denyreceipt" version="120"><![CDATA[ <span class="smalltext"><a href="private.php?action=read&amp;pmid={$message['pmid']}&amp;denyreceipt=1">{$lang->deny_receipt}</a></span>]]></template>
		<template name="private_read_to" version="1400"><![CDATA[<br />
{$lang->to} {$to_recipients}
{$bcc}]]></template>
		<template name="private_read_bcc" version="1400"><![CDATA[<br />{$lang->bcc} {$bcc_recipients}]]></template>
		<template name="private_read_action" version="1400"><![CDATA[<tr>
	<td class="tcat" align="center"><strong>{$actioned_on}</strong></td>
</tr>]]></template>
		<template name="private_read" version="1405"><![CDATA[<html>
<head>
<title>{$lang->viewing_pm} {$pm['subject']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
<tr>
<td class="thead">
<strong>{$pm['subject']}</strong>
</td>
</tr>
{$action_time}
{$message}
</table>
</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="forumdisplay_inlinemoderation_col" version="1400"><![CDATA[<td class="tcat" align="center" width="1"><input type="checkbox" name="allbox" onclick="inlineModeration.checkAll(this)" /></td>]]></template>
		<template name="printthread_post" version="1400"><![CDATA[<strong>{$postrow['subject']}</strong> - {$postrow['profilelink']} -  <strong>{$postrow['date']}</strong> <strong>{$postrow['time']}</strong>
<br />
<br />
{$postrow['message']}
<br />
<br />
<hr size="1" />]]></template>
		<template name="error_nopermission" version="1600"><![CDATA[{$lang->error_nopermission_guest_1}
<ol>
<li>{$lang->error_nopermission_guest_2}</li>
<li>{$lang->error_nopermission_guest_3}</li>
<li>{$lang->error_nopermission_guest_4}</li>
<li>{$lang->error_nopermission_guest_5}</li>
</ol>
<form action="member.php" method="post">
<input type="hidden" name="action" value="do_login" />
<input type="hidden" name="url" value="{$url}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><span class="smalltext"><strong>{$lang->login}</strong></span></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->username}</strong></td>
<td class="trow1"><input type="text" class="textbox" name="username" tabindex="1" /></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->password}</strong></td>
<td class="trow2"><input type="password" class="textbox" name="password" tabindex="2" /></td>
</tr>
<tr>
<td class="trow2" colspan="2"><span class="smalltext" style="float:right; padding-top:3px;"><a href="member.php?action=register">{$lang->need_reg}</a> | <a href="member.php?action=lostpw">{$lang->forgot_password}</a>&nbsp;</span>&nbsp;<input type="submit" class="button" value="{$lang->login}" tabindex="3" /></td>
</tr>
</table>
</form>
<br />]]></template>
		<template name="error_nopermission_loggedin" version="1600"><![CDATA[{$lang->error_nopermission_user_1}
<ol>
	<li>{$lang->error_nopermission_user_2}</li>
	<li>{$lang->error_nopermission_user_3}</li>
	<li>{$lang->error_nopermission_user_4} (<a href="member.php?action=resendactivation">{$lang->error_nopermission_user_resendactivation}</a>)</li>
	<li>{$lang->error_nopermission_user_5}</li>
</ol>
<br />
{$lang->error_nopermission_user_username}]]></template>
		<template name="private_folders" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->pm_folders}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="private.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->existing_folders}</strong></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">{$lang->edit_folder_note}</span></td>
</tr>
{$folderlist}
<tr>
<td class="thead"><strong>{$lang->new_folders}</strong></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">{$lang->add_folders_note}</span></td>
</tr>
{$newfolders}
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_folders" />
<input type="submit" class="button" name="submit" value="{$lang->update_folders}" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="forumjump_bit" version="120"><![CDATA[<option value="{$forum['fid']}" {$optionselected}>{$depth} {$forum['name']}</option>]]></template>
		<template name="forumjump_special" version="120"><![CDATA[<select name="{$name}">
<option value="index" {$jumpsel['default']}>{$lang->forumjump_select}</option>
<option value="index">--------------------</option>
{$forumjumpbits}
</select>
]]></template>
		<template name="moderation_move" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->move_copy_thread}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->move_copy_thread}</strong></td>
</tr>
{$loginbox}
<tr>
<td class="trow1"><strong>{$lang->new_forum}</strong></td>
<td class="trow2">{$forumselect}</td>
</tr>
<tr>
<td class="trow1" valign="top"><strong>{$lang->method}</strong></td>
<td class="trow2">
<label><input type="radio" class="radio" name="method" value="move" />{$lang->method_move}</label><br />
<label><input type="radio" class="radio" name="method" value="redirect" checked="checked" />{$lang->method_move_redirect}</label> <input type="text" class="textbox" name="redirect_expire" size="3" /> {$lang->redirect_expire_note}<br />
<label><input type="radio" class="radio" name="method" value="copy" />{$lang->method_copy}</label><br />
</td>
</tr>
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->move_copy_thread}" /></div>
<input type="hidden" name="action" value="do_move" />
<input type="hidden" name="tid" value="{$tid}" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="moderation_merge" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->merge_threads}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->merge_threads}</strong></td>
</tr>
{$loginbox}
<tr>
<td class="trow2"><strong>{$lang->new_subject}</strong></td>
<td class="trow2"><input type="text" class="textbox" name="subject" value="{$thread['subject']}" size="40" /></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->thread_to_merge_with}</strong><br /><span class="smalltext">{$lang->merge_with_note}</span></td>
<td class="trow1" width="60%"><input type="text" class="textbox" name="threadurl" size="40" />
</td>
</tr>
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->merge_threads}" /></div>
<input type="hidden" name="action" value="do_merge" />
<input type="hidden" name="tid" value="{$tid}" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="showthread_similarthreads_bit" version="1600"><![CDATA[<tr>
	<td align="center" class="{$trow}" width="2%">{$icon}</td>
	<td class="{$trow}">{$similar_thread['threadprefix']}<a href="{$similar_thread['threadlink']}">{$similar_thread['subject']}</a></td>
	<td align="center" class="{$trow}">{$similar_thread['profilelink']}</td>
	<td align="center" class="{$trow}"><a href="javascript:MyBB.whoPosted({$similar_thread['tid']});">{$similar_thread['replies']}</a></td>
	<td align="center" class="{$trow}">{$similar_thread['views']}</td>
	<td class="{$trow}" style="white-space: nowrap">
		<span class="smalltext">{$lastpostdate} {$lastposttime}<br />
		<a href="{$similar_thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
	</td>
	</tr>]]></template>
		<template name="polls_newpoll_option" version="120"><![CDATA[<tr>
<td>{$lang->option} {$i}:&nbsp;</td>
<td><input type="text" class="textbox" name="options[{$i}]" value="{$option}" size="25" /></td>
</tr>]]></template>
		<template name="showthread_poll_option_multiple" version="1601"><![CDATA[<tr>
<td class="trow1" width="1%"><input type="checkbox" class="checkbox" name="option[{$number}]" id="option_{$number}" value="1" /></td>
<td class="trow2" colspan="3">{$option}</td>
</tr>]]></template>
		<template name="showthread_poll_option" version="1600"><![CDATA[<tr>
<td class="trow1" width="1%"><input type="radio" class="radio" name="option" id="option_{$number}" value="{$number}" /></td>
<td class="trow1" colspan="3">{$option}</td>
</tr>]]></template>
		<template name="member_activate" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->account_activation}</title>
{$headerinclude}
</head>
<body>
{$header}
<br />
<form action="member.php" method="post">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->activate_account}</strong></td>
</tr>
<tr>
<td class="trow1" width="30%"><strong>{$lang->username}</strong></td>
<td class="trow1"><input type="text" class="textbox" name="username" value="{$user['username']}" /></td>
</tr>
<tr>
<td class="trow1" width="30%"><strong>{$lang->activation_code}</strong></td>
<td class="trow1"><input type="text" class="textbox" name="code" value="{$code}" /></td>
</tr>
</table>
<br />
<div align="center"><input type="hidden" name="action" value="activate" /><input type="submit" class="button" name="regsubmit" value="{$lang->activate_account}" /></div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="smilieinsert" version="120"><![CDATA[
<div style="margin:auto; width: 170px; margin-top: 20px;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" width="150">
<tr>
<td class="thead"><span class="smalltext"><strong>{$lang->smilieinsert}</strong></span></td>
</tr>
<tr>
<td class="trow1">
<table width="100%" align="center" border="0" cellspacing="0" cellpadding="2" id="clickable_smilies">
{$smilies}
</table>
</td>
</tr>
{$getmore}
</table>
</div>
]]></template>
		<template name="misc_buddypopup_user_sendpm" version="1400"><![CDATA[<a href="private.php?action=send&amp;uid={$buddy['uid']}" target="_blank" onclick="window.opener.location.href=this.href; return false;">{$lang->pm_buddy}</a>]]></template>
		<template name="usercp_editlists" version="1400"><![CDATA[<html>
<head>
	<title>{$mybb->settings['bbname']} - {$lang->edit_lists}</title>
	{$headerinclude}
	<script type="text/javascript" src="jscripts/usercp.js"></script>
	<script type="text/javascript">
		lang.remove_buddy = '{$lang->confirm_remove_buddy}';
		lang.remove_ignored = '{$lang->confirm_remove_ignored}';
		lang.adding_buddy = '{$lang->adding_buddy}';
		lang.adding_ignored = '{$lang->adding_ignored}';
	</script>
</head>
<body>
	{$header}
	<table width="100%" border="0" align="center">
	<tr>
		{$usercpnav}
		<td valign="top">

		<form action="usercp.php" method="post" id="buddy" onsubmit="return UserCP.addBuddy('buddy');">
			<input type="hidden" name="action" value="do_editlists" />
			<input type="hidden" name="manage" value="buddy" />
			<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
				<tr>
					<td class="thead" align="center"><strong>{$lang->edit_buddy_list}</strong></td>
				</tr>
				<tr>
					<td class="trow1">
						<fieldset>
							<legend><strong>{$lang->add_buddies}</strong></legend>
							<span class="smalltext">{$lang->add_buddies_desc}</span><br />
							<div style="width: 120px; float: left; text-align: right;"><strong>{$lang->username_or_usernames}</strong></div>
							<div style="margin-left: 130px;"><input type="text" name="add_username" id="buddy_add_username" style="width: 60%;" class="textbox" /> <input type="submit" value="{$lang->add_to_buddies}" id="buddy_submit" class="button" /></div>
							<script type="text/javascript" src="jscripts/autocomplete.js?ver=1400"></script>
							<script type="text/javascript">
							<!--
								if(use_xmlhttprequest == "1")
								{
									new autoComplete("buddy_add_username", "xmlhttp.php?action=get_users", {valueSpan: "username", delimChar: ","});
								}
							// -->
							</script>
						</fieldset>
						<fieldset id="buddy_container">
							<legend><strong>{$lang->current_buddies}</strong></legend>
							<ul id="buddy_list" style="list-style: none;">
								{$buddy_list}
							</ul>
						</fieldset>
					</td>
				</tr>
			</table>
		</form>
		<br />
		<form action="usercp.php" method="post" id="ignored" onsubmit="return UserCP.addBuddy('ignored');">
			<input type="hidden" name="action" value="do_editlists" />
			<input type="hidden" name="manage" value="ignored" />
			<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
				<tr>
					<td class="thead" align="center"><strong>{$lang->edit_ignore_list}</strong></td>
				</tr>
				<tr>
					<td class="trow1">
						<fieldset>
							<legend><strong>{$lang->add_ignored_users}</strong></legend>
							<span class="smalltext">{$lang->add_ignored_users_desc}</span><br />
							<div style="width: 120px; float: left; text-align: right;"><strong>{$lang->username_or_usernames}</strong></div>
							<div style="margin-left: 130px;"><input type="text" name="add_username" id="ignored_add_username" style="width: 60%;" class="textbox" /> <input type="submit" value="{$lang->ignore_users}" id="ignored_submit" class="button" /></div>
							<script type="text/javascript">
							<!--
								if(use_xmlhttprequest == "1")
								{
									new autoComplete("ignored_add_username", "xmlhttp.php?action=get_users", {valueSpan: "username", delimChar: ","});
								}
							// -->
							</script>
						</fieldset>
						<fieldset id="ignored_container">
							<legend><strong>{$lang->current_ignored_users}</strong></legend>
							<ul id="ignore_list" style="list-style: none;">
								{$ignore_list}
							</ul>
						</fieldset>
					</td>
				</tr>
			</table>
		</form>
		</td>
	</tr>
	</table>
	{$footer}
</body>
</html>]]></template>
		<template name="online_row" version="1400"><![CDATA[<tr>
<td class="trow1">{$online_name}{$user_ip}</td>
<td align="center" class="trow2">{$online_time}</td>
<td class="trow1" width="50%">{$location}</td>
</tr>]]></template>
		<template name="online_row_ip" version="120"><![CDATA[<br /><span class="smalltext">{$lang->ip} {$user['ip']} <a href="modcp.php?action=ipsearch&amp;ipaddress={$user['ip']}&amp;search_users=1">{$lang->lookup}</a></span>]]></template>
		<template name="postbit_offline" version="1400"><![CDATA[<img src="{$theme['imgdir']}/buddy_offline.gif" title="{$lang->postbit_status_offline}" alt="{$lang->postbit_status_offline}" />]]></template>
		<template name="postbit_editedby" version="1400"><![CDATA[<span class="smalltext">({$post['editnote']} {$post['editedprofilelink']}.)</span>

]]></template>
		<template name="member_register_requiredfields" version="1400"><![CDATA[<br />
<fieldset class="trow2">
<legend><strong>{$lang->additional_info}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}">
{$requiredfields}
</table>
</fieldset>]]></template>
		<template name="member_register_customfield" version="1410"><![CDATA[<tr>
<td><span class="smalltext">{$profilefield['name']}</span></td>
</tr>
<tr>
<td>{$code}</td>
</tr>]]></template>
		<template name="error" version="120"><![CDATA[<html>
<head>
<title>{$title}</title>
{$headerinclude}
</head>
<body>
{$header}
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><span class="smalltext"><strong>{$title}</strong></span></td>
</tr>
<tr>
<td class="trow1">{$error}</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="index_whosonline_memberbit" version="1400"><![CDATA[{$comma}{$user['profilelink']}{$invisiblemark}]]></template>
		<template name="member_profile_away" version="120"><![CDATA[<tr>
<td class="trow1" align="center">
<strong>{$lang->away_note}</strong><br />
<span class="smalltext"><em>{$lang->away_reason} {$awayreason}</em></span><br />
{$lang->away_since} {$awaydate} &nbsp;&nbsp;&nbsp; {$lang->away_returns} {$returndate}
</td>
</tr>]]></template>
		<template name="forumdisplay_moderatedby" version="1600"><![CDATA[<span class="smalltext">{$lang->moderated_by} <strong>{$moderators}</strong></span><br />]]></template>
		<template name="forumbit_depth2_cat" version="1400"><![CDATA[<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>]]></template>
		<template name="forumbit_depth1_cat_subforum" version="1400"><![CDATA[<tr>
<td class="tcat" colspan="6"><strong>&raquo;&nbsp;&nbsp;<a href="{$forum_url}">{$forum['name']}</a></strong><br /><span class="smalltext">{$forum['description']}</span></td></tr>{$sub_forums}]]></template>
		<template name="misc_help" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->help_docs}</title>
{$headerinclude}
</head>
<body>
{$header}
{$sections}
{$footer}
</body>
</html>]]></template>
		<template name="posticons" version="1410"><![CDATA[<tr>
<td class="trow1" style="vertical-align: top"><strong>{$lang->post_icon}</strong><br /><span class="smalltext"><label><input type="radio" class="radio" name="icon" value="-1"{$no_icons_checked} />{$lang->no_post_icon}</label></span></td>
<td class="trow1" valign="top">{$iconlist}</td>
</tr>
]]></template>
		<template name="previewpost" version="1400"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
<tr>
<td class="thead" colspan="2"><strong>{$lang->post_preview}</strong></td>
</tr>
</table>
{$postbit}
<br />
]]></template>
		<template name="misc_help_helpdoc" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->help_docs}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$helpdoc['name']}</strong></td>
</tr>
<tr>
<td width="100%" class="trow1">{$helpdoc['document']}</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="usercp_options_pppselect" version="120"><![CDATA[<tr>
<td colspan="2"><span class="smalltext">{$lang->ppp}</span></td>
</tr>
<tr>
<td colspan="2">
<select name="ppp">
<option value="">{$lang->use_default}</option>
{$pppoptions}
</select>
</td>
</tr>]]></template>
		<template name="usercp_forumsubscriptions" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->forum_subscriptions}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5"><strong>{$lang->forum_subscriptions}</strong></td>
</tr>
<tr>
<td class="tcat" valign="bottom" colspan="2"><span class="smalltext"><strong>{$lang->forum}</strong></span></td>
<td class="tcat" valign="bottom" style="white-space: nowrap; text-align: center;" width="85"><span class="smalltext"><strong>{$lang->posts}</strong></span></td>
<td class="tcat" valign="bottom" style="white-space: nowrap; text-align: center;" width="85"><span class="smalltext"><strong>{$lang->threads}</strong></span></td>
<td class="tcat" valign="bottom" align="center" width="200px"><span class="smalltext"><strong>{$lang->lastpost}</strong></span></td>
</tr>
{$forums}
</table>
</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="member_register_stylebit" version="120"><![CDATA[<option value="{$style['sid']}">{$style['name']}</option>]]></template>
		<template name="usercp_options_stylebit" version="120"><![CDATA[<option value="{$style['sid']}" {$selected}>{$style['name']}</option>]]></template>
		<template name="forumdisplay_password_wrongpass" version="120"><![CDATA[<tr>
<td class="trow1" align="center" colspan="2"><strong>{$lang->wrong_forum_password}</strong></td>
</tr>
]]></template>
		<template name="private_empty_folder" version="120"><![CDATA[<tr>
<td class="trow1"><strong>{$foldername}</strong></td>
<td class="trow1" align="center">{$foldercount}</td>
<td class="trow1" align="center"><input type="checkbox" class="checkbox" name="empty[{$fid}]" value="1" /></td>
</tr>]]></template>
		<template name="misc_imcenter_msn" version="120"><![CDATA[<html>
<head>
<title>{$lang->msn_messenger_center}</title>
{$headerinclude}
</head>
<body style="margin:0;left:0;top:0" class="trow2">
<table width="100%" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" border="0" align="center" class="tborder">
<tr>
<td class="thead" align="center"><strong>{$user['username']} - {$lang->msn_messenger_center}</strong></td>
</tr>
<tr>
<td class="tcat" align="center"><span class="smalltext"><strong>{$navigationbar}</strong></span></td>
</tr>
<tr>
<td class="trow1" align="center">{$lang->msn_address_is}<br />{$user['msn']}</td>
</tr>
</table>
</body>
</html>]]></template>
		<template name="misc_imcenter_yahoo" version="120"><![CDATA[<html>
<head>
<title>{$lang->yahoo_center}</title>
{$headerinclude}
</head>
<body style="margin:0;left:0;top:0" class="trow2">
<table width="100%" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" border="0" align="center" class="tborder">
<tr>
<td class="thead" align="center"><strong>{$user['username']} - {$lang->yahoo_center}</strong></td>
</tr>
<tr>
<td class="tcat" align="center"><span class="smalltext"><strong>{$navigationbar}</strong></span></td>
</tr>
<tr>
<td class="trow1" align="center" colspan="2"><strong>{$user['yahoo']}</strong></td>
</tr>
<tr>
<td class="trow1" align="center" colspan="2"><strong><img src="http://opi.yahoo.com/online?u={$user['yahoo']}&amp;m=g&amp;t=2" /></strong></td>
</tr>
<tr>
<td class="trow1" align="center" colspan="2"><span class="smalltext"><a href="http://edit.yahoo.com/config/send_webmesg?.target={$user['yahoo']}&amp;.src=pg">{$lang->send_y_message}</a></span></td>
</tr><tr>
<td class="trow1" align="center" colspan="2"><span class="smalltext"><a href="http://members.yahoo.com/interests?.oc=t&amp;.kw={$user['yahoo']}&amp;.sb=1">{$lang->view_y_profile}</a></td>
</tr>
</table>
</body>
</html>]]></template>
		<template name="usercp_editsig_current" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->current_sig}</strong></td>
</tr>
<tr>
<td class="trow1">{$sigpreview}</td>
</tr>
</table>
<br />]]></template>
		<template name="usercp_editsig_preview" version="120"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->sig_preview}</strong></td>
</tr>
<tr>
<td class="trow1">{$sigpreview}</td>
</tr>
</table>
<br />]]></template>
		<template name="member_resendactivation" version="120"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->resend_activation}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="member.php" method="post">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->resend_activation}</strong></td>
</tr>
<tr>
<td class="trow1" width="40%"><strong>{$lang->email_address}</strong></td>
<td class="trow1" width="60%"><input type="text" class="textbox" name="email" /></td>
</tr>
</table>
<br />
<div align="center"><input type="submit" class="button" value="{$lang->request_activation}" /></div>
<input type="hidden" name="action" value="do_resendactivation" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="nav" version="120"><![CDATA[
<div class="navigation">
{$nav}{$activesep}{$activebit}
</div>]]></template>
		<template name="nav_bit" version="120"><![CDATA[<a href="{$navbit['url']}">{$navbit['name']}</a>{$sep}]]></template>
		<template name="nav_bit_active" version="120"><![CDATA[<span class="active">{$navbit['name']}</span>]]></template>
		<template name="moderation_inline_deletethreads" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->delete_threads}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->delete_threads}</strong></td>
</tr>
<tr>
<td class="trow1" colspan="2" align="center">{$lang->confirm_delete_threads}</td>
</tr>
{$loginbox}
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->delete_threads}" /></div>
<input type="hidden" name="action" value="do_multideletethreads" />
<input type="hidden" name="fid" value="{$fid}" />
<input type="hidden" name="threads" value="{$inlineids}" />
<input type="hidden" name="url" value="{$return_url}" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="postbit_inlinecheck" version="120"><![CDATA[| <input type="checkbox" class="checkbox" name="inlinemod_{$post['pid']}" id="inlinemod_{$post['pid']}" value="1" style="vertical-align: middle;" {$inlinecheck}  />]]></template>
		<template name="moderation_inline_movethreads" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->move_threads}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->move_threads}</strong></td>
</tr>
{$loginbox}
<tr>
<td class="trow1"><strong>{$lang->new_forum}</strong></td>
<td class="trow2">{$forumselect}</td>
</tr>
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->move_threads}" /></div>
<input type="hidden" name="action" value="do_multimovethreads" />
<input type="hidden" name="fid" value="{$fid}" />
<input type="hidden" name="threads" value="{$inlineids}" />
<input type="hidden" name="url" value="{$return_url}" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="moderation_inline_mergeposts" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->merge_posts}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->merge_posts}</strong></td>
</tr>
<tr>
{$loginbox}
<tr>
<td class="trow2"><strong>{$lang->post_separator}</strong></td>
<td class="trow2"><label><input type="radio" class="radio" name="sep" value="hr" checked="checked" />&nbsp;{$lang->horizontal_rule}</label><br /><label><input type="radio" class="radio" name="sep" value="new_line" />&nbsp;{$lang->new_line}</label></td>
</tr>
{$postlist}
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->merge_posts}" /></div>
<input type="hidden" name="action" value="do_multimergeposts" />
<input type="hidden" name="tid" value="{$tid}" />
<input type="hidden" name="url" value="{$return_url}" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="moderation_inline_splitposts" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->split_thread}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->split_thread}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->new_thread_info}</strong></span></td>
</tr>
{$loginbox}
<tr>
<td class="trow2"><strong>{$lang->new_subject}</strong></td>
<td class="trow2"><input type="text" class="textbox" name="newsubject" value="[split] {$thread['subject']}" size="50" /></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->new_forum}</strong></td>
<td class="trow1">{$forumselect}</td>
</tr>
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->split_thread}" /></div>
<input type="hidden" name="action" value="do_multisplitposts" />
<input type="hidden" name="tid" value="{$tid}" />
<input type="hidden" name="posts" value="{$inlineids}" />
<input type="hidden" name="url" value="{$return_url}" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="moderation_delayedmoderation_move" version="1600"><![CDATA[<br />
{$lang->method}:<br />
<label><input type="radio" class="radio" name="delayedmoderation[method]" value="move" {$method_selected['move']} />{$lang->method_move}</label><br />
<label><input type="radio" class="radio" name="delayedmoderation[method]" value="redirect" {$method_selected['redirect']} />{$lang->method_move_redirect}</label> <input type="text" class="textbox" name="delayedmoderation[redirect_expire]" value="{$mybb->input['redirect_expire']}" size="3" /> {$lang->redirect_expire_note}<br />
<label><input type="radio" class="radio" name="delayedmoderation[method]" value="copy" {$method_selected['copy']} />{$lang->method_copy}</label><br />]]></template>
		<template name="moderation_delayedmoderation_merge" version="1600"><![CDATA[<dt><input type="radio" name="type" value="merge" {$type_selected['merge']} id="type_merge" onclick="toggleType();" /> <label for="type_merge"><strong>{$lang->merge_threads}</strong></label></dt>
<dd style="margin-top: 4px; width: 100%;" id="type_merge_expanded">
	{$lang->new_subject}<br />
	<input type="text" class="textbox" name="delayedmoderation[subject]" value="{$mybb->input['delayedmoderation']['subject']}" size="40" /><br />
	{$lang->thread_to_merge_with}<br />
	<input type="text" class="textbox" name="delayedmoderation[threadurl]" value="{$mybb->input['delayedmoderation']['threadurl']}" size="40" />
	<br /><span class="smalltext">{$lang->merge_with_note}</span>
</dd>]]></template>
		<template name="moderation_delayedmodaction_notes" version="1600"><![CDATA[<tr>
<td class="{$trow}" align="center">{$delayedmod['profilelink']}</td>
<td class="{$trow}" align="center">{$delayedmod['dateline']}</td>
<td class="{$trow}" align="center">{$delayedmod['action']}</td>
<td class="{$trow}">{$info}</td>
<td class="{$trow}" align="center"><a href="moderation.php?action=cancel_delayedmoderation&amp;tid={$tid}&amp;fid={$fid}&amp;did={$delayedmod['did']}&amp;my_post_key={$mybb->post_code}">{$lang->cancel}</a></td>
</tr>
]]></template>
		<template name="moderation_delayedmoderation" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->delayed_moderation}</title>
{$headerinclude}
</head>
<body>
{$header}
{$display_errors}
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5"><strong>{$lang->delayed_mod_queue}</strong></td>
</tr>
<tr>
<td class="tcat" align="center"><strong>{$lang->mod_username}</strong></td>
<td class="tcat" align="center"><strong>{$lang->days_to_perform_action}</strong></td>
<td class="tcat" align="center"><strong>{$lang->mod_actions}</strong></td>
<td class="tcat" align="center"><strong>{$lang->mod_information}</strong></td>
<td class="tcat" align="center"><strong>{$lang->actions}</strong></td>
</tr>
{$delayedmods}
</table>
<br />
<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="do_delayedmoderation" />
<input type="hidden" name="url" value="{$url}" />
<input type="hidden" name="tid" value="{$tid}" />
<input type="hidden" name="fid" value="{$fid}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->delayed_moderation}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2"><strong>{$lang->delayed_moderation_desc}</strong></td>
</tr>
{$loginbox}
<tr>
<td class="trow1"><strong>{$lang->threads}</strong></td>
<td class="trow2">{$threads}</td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->delay_moderation_for}</strong></td>
<td class="trow2"><input type="text" class="textbox" size="5" name="delay" maxlength="10" value="{$mybb->input['delay']}"/> {$lang->days}</td>
</tr>
<tr>
<td class="trow1" style="vertical-align: top;"><strong>{$lang->moderation_action}</strong></td>
<td class="trow2">
<script type="text/javascript">
<!--
	function toggleType()
	{
		if($('type_merge'))
		{
			if($('type_movecopythread').checked == true)
			{
				Element.hide('type_merge_expanded');
				Element.show('type_movecopythread_expanded');
			}
			else if($('type_merge').checked == true)
			{
				Element.hide('type_movecopythread_expanded');
				Element.show('type_merge_expanded');
			}
			else
			{
				Element.hide('type_movecopythread_expanded');
				Element.hide('type_merge_expanded');
			}
		}
		else
		{
			if($('type_movecopythread').checked == true)
			{
				Element.show('type_movecopythread_expanded');
			}
			else
			{
				Element.hide('type_movecopythread_expanded');
			}
		}
	}
// -->
</script>
<dl style="margin-top: 0; margin-bottom: 0; width: 100%;">
	<dt><input type="radio" name="type" value="openclosethread" {$type_selected['openclosethread']} id="type_openclosethread" onclick="toggleType();" /> <label for="type_openclosethread"><strong>{$lang->open_close_thread}</strong></label></dt>
	<dt><input type="radio" name="type" value="deletethread" {$type_selected['deletethread']} id="type_deletethread" onclick="toggleType();" /> <label for="type_deletethread"><strong>{$lang->delete_thread}</strong></label></dt>
	<dt><input type="radio" name="type" value="move" {$type_selected['movecopythread']} id="type_movecopythread" onclick="toggleType();" /> <label for="type_movecopythread"><strong>{$lang->move_copy_thread}</strong></label></dt>
	<dd style="margin-top: 4px;" id="type_movecopythread_expanded">
	{$lang->new_forum}<br />
	{$forumselect}
	{$moderation_delayedmoderation_move}
	</dd>
	<dt><input type="radio" name="type" value="stick" {$type_selected['stick_unstick_thread']} id="type_stick_unstick_thread" onclick="toggleType();" /> <label for="type_stick_unstick_thread"><strong>{$lang->stick_unstick_thread}</strong></label></dt>
	{$moderation_delayedmoderation_merge}
	<dt><input type="radio" name="type" value="removeredirects" {$type_selected['removeredirects']} id="type_removeredirects" onclick="toggleType();" /> <label for="type_removeredirects"><strong>{$lang->remove_redirects}</strong></label></dt>
	<dt><input type="radio" name="type" value="removesubscriptions" {$type_selected['removesubscriptions']} id="type_removesubscriptions" onclick="toggleType();" /> <label for="type_removesubscriptions"><strong>{$lang->remove_subscriptions}</strong></label></dt>
	<dt><input type="radio" name="type" value="approveunapprovethread" {$type_selected['approveunapprovethread']} id="type_approveunapprovethread" onclick="toggleType();" /> <label for="type_approveunapprovethread"><strong>{$lang->approve_unapprove_thread}</strong></label></dt>
	{$customthreadtools}
</dl>
<script type="text/javascript">
<!--
	toggleType();
// -->
</script>
</td>
</tr>
</table>
<br />
<div align="center"><input type="submit" class="button" value="{$lang->save_delayed_moderation}" /></div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="moderation_delayedmoderation_custommodtool" version="1600"><![CDATA[<dt><input type="radio" name="type" value="modtool_{$tool['tid']}" {$checked} id="type_modtool_{$tool['tid']}" onclick="toggleType();" /> <label for="type_modtool_{$tool['tid']}"><strong>{$tool['name']}</strong> <small>({$lang->custom})</small></label></dt>]]></template>
		<template name="member_register_regimage" version="1400"><![CDATA[<br />
<fieldset class="trow2">
<script type="text/javascript" src="jscripts/captcha.js?ver=1400"></script>
<legend><strong>{$lang->image_verification}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}">
<tr>
<td><span class="smalltext">{$lang->verification_note}</span></td>
<td rowspan="2" align="center"><img src="captcha.php?action=regimage&amp;imagehash={$imagehash}" alt="{$lang->image_verification}" title="{$lang->image_verification}" id="captcha_img" /><br /><span style="color: red;" class="smalltext">{$lang->verification_subnote}</span>
<script type="text/javascript">
<!--
	if(use_xmlhttprequest == "1")
	{
		document.write('<br \/><br \/><input type="button" class="button" tabindex="10000" name="refresh" value="{$lang->refresh}" onclick="return captcha.refresh();" \/>');
	}
// -->
</script>
</td>
</tr>
<tr>
<td><input type="text" class="textbox" name="imagestring" value="" id="imagestring" style="width: 100%;" /><input type="hidden" name="imagehash" value="{$imagehash}" id="imagehash" /></td>
</tr>
<tr>
	<td id="imagestring_status"  style="display: none;" colspan="2">&nbsp;</td>
</tr>
</table>
</fieldset>]]></template>
		<template name="error_inline" version="120"><![CDATA[<div class="error">
	<p><em>{$title}</em></p>
	<ul>
		{$errorlist}
	</ul>
</div>
<br />]]></template>
		<template name="member_register" version="1405"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->registration}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/validator.js"></script>
</head>
<body>
{$header}
<br />
<form action="member.php" method="post" id="registration_form"><input type="text" style="visibility: hidden;" value="" name="regcheck1" /><input type="text" style="visibility: hidden;" value="true" name="regcheck2" />
{$regerrors}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->registration}</strong></td>
</tr>
<tr>
<td width="50%" class="trow1" valign="top">
<fieldset class="trow2">
<legend><strong>{$lang->account_details}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}" width="100%">
<tr>
<td colspan="2"><span class="smalltext"><label for="username">{$lang->username}</label></span></td>
</tr>
<tr>
<td colspan="2"><input type="text" class="textbox" name="username" id="username" style="width: 100%" value="{$username}" /></td>
</tr>
{$passboxes}
<tr>
<td><span class="smalltext"><label for="email">{$lang->email}</label></span></td>
<td><span class="smalltext"><label for="email2">{$lang->confirm_email}</label></span></td>
</tr>
<tr>
<td><input type="text" class="textbox" name="email" id="email" style="width: 100%" maxlength="50" value="{$email}" /></td>
<td><input type="text" class="textbox" name="email2" id="email2" style="width: 100%" maxlength="50" value="{$email2}" /></td>
</tr>
<tr>
	<td colspan="2" style="display: none;" id="email_status">&nbsp;</td>
</tr>
</table>
</fieldset>
{$requiredfields}
{$referrer}
{$regimage}
</td>
<td width="50%" class="trow1" valign="top">
<fieldset class="trow2">
<legend><strong>{$lang->account_prefs}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}" width="100%">
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="allownotices" id="allownotices" value="1" {$allownoticescheck} /></td>
<td valign="top"><span class="smalltext"><label for="allownotices">{$lang->allow_notices}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="hideemail" id="hideemail" value="1" {$hideemailcheck} /></td>
<td valign="top"><span class="smalltext"><label for="hideemail">{$lang->hide_email}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="receivepms" id="receivepms" value="1" {$receivepmscheck} /></td>
<td valign="top"><span class="smalltext"><label for="receivepms">{$lang->receive_pms}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="pmnotice" id="pmnotice" value="1"{$pmnoticecheck} /></td>
<td valign="top"><span class="smalltext"><label for="pmnotice">{$lang->pm_notice}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="emailpmnotify" id="emailpmnotify" value="1" {$emailpmnotifycheck} /></td>
<td valign="top"><span class="smalltext"><label for="emailpmnotify">{$lang->email_notify_newpm}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="invisible" id="invisible" value="1" {$invisiblecheck} /></td>
<td valign="top"><span class="smalltext"><label for="invisible">{$lang->invisible_mode}</label></span></td>
</tr>
<tr>
<td colspan="2"><span class="smalltext"><label for="subscriptionmethod">{$lang->subscription_method}</label></span></td>
</tr>
<tr>
<td colspan="2">
	<select name="subscriptionmethod" id="subscriptionmethod">
		<option value="0" {$no_subscribe_selected}>{$lang->no_auto_subscribe}</option>
		<option value="1" {$no_email_subscribe_selected}>{$lang->no_email_subscribe}</option>
		<option value="2" {$instant_email_subscribe_selected}>{$lang->instant_email_subscribe}</option>
	</select>
</td>
</tr>

</table>
</fieldset>
<br />
<fieldset class="trow2">
<legend><strong><label for="timezone">{$lang->time_offset}</label></strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}" width="100%">
<tr>
<td><span class="smalltext">{$lang->time_offset_desc}</span></td>
</tr>
<tr>
<td>{$tzselect}</td>
</tr>
<tr>
<td><span class="smalltext">{$lang->dst_correction}</span></td>
</tr>
<tr>
<td>
	<select name="dstcorrection">
		<option value="2" {$dst_auto_selected}>{$lang->dst_correction_auto}</option>
		<option value="1" {$dst_enabled_selected}>{$lang->dst_correction_enabled}</option>
		<option value="0" {$dst_disabled_selected}>{$lang->dst_correction_disabled}</option>
	</select>
</td>
</tr>
</table>
</fieldset>
<br />
<fieldset class="trow2">
<legend><strong><label for="language">{$lang->lang_select}</label></strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}" width="100%">
<tr>
<td colspan="2"><span class="smalltext">{$lang->lang_select_desc}</span></td>
</tr>
<tr>
<td><select name="language" id="language"><option value="">{$lang->lang_select_default}</option><option value="">-----------</option>{$langoptions}</select></td>
</tr>
</table>
</fieldset>
</td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="step" value="registration" />
<input type="hidden" name="action" value="do_register" />
<input type="submit" class="button" name="regsubmit" value="{$lang->submit_registration}" />
</div>
</form>
<script type="text/javascript">
<!--
	regValidator = new FormValidator('registration_form');
	regValidator.register('username', 'notEmpty', {failure_message:'{$lang->js_validator_no_username}'});
    regValidator.register('email', 'regexp', {match_field:'email2', regexp:'^([a-zA-Z0-9_\\.\\+\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$', failure_message:'{$lang->js_validator_invalid_email}'});
	regValidator.register('email2', 'matches', {match_field:'email', status_field:'email_status', failure_message:'{$lang->js_validator_email_match}'});
{$validator_extra}
	regValidator.register('username', 'ajax', {url:'xmlhttp.php?action=username_availability', loading_message:'{$lang->js_validator_checking_username}'}); // needs to be last
// -->
</script>
{$footer}
</body>
</html>]]></template>
		<template name="global_bannedwarning" version="1400"><![CDATA[<div class="red_alert">
<strong>{$lang->banned_warning}</strong>
{$lang->banned_warning2}: {$reason}<br />
{$lang->banned_warning3}: {$banlift}<br />
</div>
<br />]]></template>
		<template name="htmldoctype" version="120"><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">]]></template>
		<template name="postbit_multiquote" version="1400"><![CDATA[<a href="javascript:Thread.multiQuote({$post['pid']});" style="display: none;" id="multiquote_link_{$post['pid']}"><img src="{$theme['imglangdir']}/postbit_multiquote.gif" alt="{$lang->postbit_multiquote}" title="{$lang->postbit_multiquote}" id="multiquote_{$post['pid']}" /></a>
<script type="text/javascript">
//<!--
	$('multiquote_link_{$post['pid']}').style.display = '';
// -->
</script>]]></template>
		<template name="private_send_autocomplete" version="1400"><![CDATA[<script type="text/javascript" src="jscripts/autocomplete.js?ver=1400"></script>
<script type="text/javascript">
<!--
	if(use_xmlhttprequest == "1")
	{
		new autoComplete("to", "xmlhttp.php?action=get_users", {valueSpan: "username", delimChar: ","});
		if($('bcc'))
		{
			new autoComplete("bcc", "xmlhttp.php?action=get_users", {valueSpan: "username", delimChar: ","});
		}
	}
// -->
</script>]]></template>
		<template name="forumdisplay_threadlist_inlineedit_js" version="1400"><![CDATA[<script type="text/javascript" src="jscripts/inline_edit.js?ver=1400"></script>
<script type="text/javascript">
<!--
	if(use_xmlhttprequest == "1")
	{
		new inlineEditor("xmlhttp.php?action=edit_subject&my_post_key="+my_post_key, {className: "subject_editable", spinnerImage: "{$theme['imgdir']}/spinner.gif", lang_click_edit: "{$lang->click_hold_edit}"});
	}
// -->
</script>]]></template>
		<template name="xmlhttp_inline_post_editor" version="120"><![CDATA[<br />
		<div style="clear: both;">
			<div>
				<textarea style="width: 99%; padding: 4px; margin: 0;" rows="12" cols="80" id="quickedit_{$post['pid']}" tabindex="999">{$post['message']}</textarea>
			</div>
			<div class="editor_control_bar" style="width: 99%; padding: 4px; margin-top: 3px; text-align: right;">
				<input type="button" class="button" onclick="Thread.quickEditSave({$post['pid']});" value="{$lang->save_changes}" tabindex="1000" />
				<input type="button" class="button" onclick="Thread.quickEditCancel({$post['pid']});" value="{$lang->cancel_edit}" tabindex="1001" />
			</div>
			<br style="clear: both;" />
		</div>]]></template>
		<template name="reputation_vote" version="1600"><![CDATA[<tr>
	<td class="trow1 {$status_class}">
		{$reputation_vote['username']} <span class="smalltext">{$reputation_vote['user_reputation']} - {$last_updated} {$delete_link}<br />{$postrep_given}<br /></span>
		<strong class="{$vote_type_class}">{$vote_type} {$vote_reputation}:</strong> {$reputation_vote['comments']}
	</td>
</tr>]]></template>
		<template name="reputation_addlink" version="120"><![CDATA[<div class="float_right" style="padding-bottom: 4px;"><a href="javascript:MyBB.reputation({$user['uid']});"><img src="{$theme['imglangdir']}/rateuser.gif" alt="{$lang->rate_user}" title="{$lang->rate_user}" /></a></div>]]></template>
		<template name="member_profile_reputation" version="1600"><![CDATA[<tr>
	<td class="{$bg_color}"><strong>{$lang->reputation}</strong></td>
	<td class="{$bg_color}">{$reputation} [<a href="reputation.php?uid={$memprofile['uid']}">{$lang->reputation_details}</a>] {$vote_link}</td>
</tr>]]></template>
		<template name="reputation_no_votes" version="120"><![CDATA[<tr>
	<td class="trow1" style="text-align: center;">{$lang->no_reputation_votes}</td>
</tr>]]></template>
		<template name="reputation_add_error" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->reputation}</title>
{$headerinclude}
</head>
<body>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td class="trow1" style="padding: 20px">
			<strong>{$lang->error}</strong><br /><br />
			   <blockquote>{$message}</blockquote>
				<br /><br />
				<div style="text-align: center;">
					<script type="text/javascript">
					<!--
						var showBack = {$show_back};
						if(showBack == 1)
						{
							document.write('[<a href="javascript:history.go(-1);">{$lang->go_back}</a>]');
						}
						document.write('[<a href="javascript:window.close();">{$lang->close_window}</a>]');
					// -->
					</script>
				</div>
		</td>
	</tr>
</table>
</body>
</html>]]></template>
		<template name="reputation_added" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->reputation}</title>
{$headerinclude}
</head>
<body onunload="window.opener.location.reload();">
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td class="trow1" style="padding: 20px">
			<strong>{$lang->vote_added}</strong><br /><br />
			   <blockquote>{$lang->vote_added_message}</blockquote>
				<br /><br />
				<div style="text-align: center;">
					<script type="text/javascript">
					<!--
						document.write('[<a href="javascript:window.close();">{$lang->close_window}</a>]');
					// -->
					</script>
				</div>
		</td>
	</tr>
</table>
</body>
</html>]]></template>
		<template name="reputation_deleted" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->reputation}</title>
{$headerinclude}
</head>
<body onunload="window.opener.location.reload();">
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td class="trow1" style="padding: 20px">
			<strong>{$lang->vote_deleted}</strong><br /><br />
			   <blockquote>{$lang->vote_deleted_message}</blockquote>
				<br /><br />
				<div style="text-align: center;">
					<script type="text/javascript">
					<!--
						document.write('[<a href="javascript:window.close();">{$lang->close_window}</a>]');
					// -->
					</script>
				</div>
		</td>
	</tr>
</table>
</body>
</html>]]></template>
		<template name="forumdisplay_thread_attachment_count" version="120"><![CDATA[<div style="float: right;"><img src="{$theme['imgdir']}/paperclip.gif" alt="" title="{$attachment_count}" /></div>]]></template>
		<template name="forumdisplay_rssdiscovery" version="120"><![CDATA[<link rel="alternate" type="application/rss+xml" title="{$lang->rss_discovery_forum} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php?fid={$fid}" />
<link rel="alternate" type="application/atom+xml" title="{$lang->rss_discovery_forum} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0&amp;fid={$fid}" />]]></template>
		<template name="post_captcha" version="1400"><![CDATA[<tr id="captcha_trow">
<td class="trow1" valign="top"><strong>{$lang->image_verification}</strong></td>
<td class="trow1">
<script type="text/javascript" src="jscripts/captcha.js?ver=1400"></script>
<table style="width: 300px; padding: 4px;">
	<tr>
		<td rowspan="2" style="vertical-align: middle;"><img src="captcha.php?imagehash={$imagehash}" alt="{$lang->image_verification}" title="{$lang->image_verification}" id="captcha_img" /><br /><span style="color: red;" class="smalltext">{$lang->verification_subnote}</span>
		<script type="text/javascript">
		<!--
			if(use_xmlhttprequest == "1")
			{
				document.write('<br \/><br \/><input type="button" class="button" name="refresh" value="{$lang->refresh}" onclick="return captcha.refresh();" \/>');
			}
		// -->
		</script>
		</td>
		<td><span class="smalltext">{$lang->verification_note}</span></td>
	</tr>
	<tr>
		<td><input type="text" class="textbox" name="imagestring" value="" id="imagestring" /><input type="hidden" name="imagehash" value="{$imagehash}" id="imagehash" /></td>
	</tr>
</table>
</td>
</tr>]]></template>
	<template name="post_captcha_hidden" version="120"><![CDATA[<input type="hidden" name="imagehash" value="{$imagehash}" />
	<input type="hidden" name="imagestring" value="{$imagestring}" />]]></template>
	<template name="newreply_multiquote_external" version="1400"><![CDATA[<div id="multiquote_unloaded"><span class="smalltext">{$multiquote_text} <a href="./newreply.php?tid={$tid}" onclick="return Post.loadMultiQuoted();">{$multiquote_quote}</a>, <a href="javascript:Post.clearMultiQuoted();">{$multiquote_deselect}</a></span></div>]]></template>
	<template name="newthread_multiquote_external" version="1400"><![CDATA[<div id="multiquote_unloaded"><span class="smalltext">{$multiquote_text} <a href="./newthread.php?fid={$fid}&amp;load_all_quotes=1" onclick="return Post.loadMultiQuotedAll();">{$multiquote_quote}</a>, <a href="javascript:Post.clearMultiQuoted();">{$multiquote_deselect}</a></span></div>]]></template>
	<template name="postbit_author_user" version="1400"><![CDATA[
	{$lang->postbit_posts} {$post['postnum']}<br />
	{$lang->postbit_joined} {$post['userregdate']}
	{$post['replink']}{$post['warninglevel']}]]></template>
	<template name="postbit_author_guest" version="120"><![CDATA[&nbsp;]]></template>
	<template name="php_warnings" version="1400"><![CDATA[<table border="0" cellspacing="1" cellpadding="4" align="center" class="tborder">
<tr>
<td class="tcat">
<strong>{$lang->warnings}</strong>
</td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">{$this->warnings}</span><br /></td>
</tr>
</table><br /><br />]]></template>
	<template name="postbit_delete_pm" version="1400"><![CDATA[<a href="private.php?action=delete&amp;pmid={$id}&amp;my_post_key={$mybb->post_code}"><img src="{$theme['imglangdir']}/pm_delete.gif" alt="{$lang->delete}" title="{$lang->delete_title}" /></a>]]></template>
	<template name="postbit_forward_pm" version="1400"><![CDATA[<a href="private.php?action=send&amp;pmid={$id}&amp;do=forward"><img src="{$theme['imglangdir']}/pm_forward.gif" alt="{$lang->forward}" title="{$lang->forward_title}" /></a>]]></template>
	<template name="postbit_reply_pm" version="1400"><![CDATA[<a href="private.php?action=send&amp;pmid={$id}&amp;do=reply"><img src="{$theme['imglangdir']}/pm_reply.gif" alt="{$lang->reply}" title="{$lang->reply_title}" /></a>]]></template>
	<template name="postbit_replyall_pm" version="1400"><![CDATA[<a href="private.php?action=send&amp;pmid={$id}&amp;do=replyall"><img src="{$theme['imglangdir']}/postbit_replyall.gif" alt="{$lang->reply_to_all}" title="{$lang->reply_title}" /></a>]]></template>
	<template name="showthread_search" version="1400"><![CDATA[	<div class="float_right">
		<form action="search.php" method="post">
			<input type="hidden" name="action" value="thread" />
			<input type="hidden" name="tid" value="{$thread['tid']}" />
			<input type="text" name="keywords" value="{$lang->enter_keywords}" onfocus="if(this.value == '{$lang->enter_keywords}') { this.value = ''; }" onblur="if(this.value=='') { this.value='{$lang->enter_keywords}'; }" class="textbox" size="25" />
			<input type="submit" class="button" value="{$lang->search_thread}" />
		</form>
	</div>]]></template>
	<template name="postbit_ignored" version="1410"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style}" id="ignored_post_{$post['pid']}">
<tr>
	<td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;">
		<strong><span class="largetext">{$post['profilelink']}</span></strong>
	</td>
	<td class="{$altbg}" width="85%" style="vertical-align: middle;">
		<div style="float: right; width: auto; vertical-align: top; display: none;" id="show_ignored_link_{$post['pid']}"><span class="smalltext"><a href="#" onclick="Thread.showIgnoredPost({$post['pid']}); return false;">{$lang->postbit_show_ignored_post}</a></span></div>
<script type="text/javascript">
<!--
	$('show_ignored_link_{$post['pid']}').show();
// -->
</script>
		<span class="smalltext">{$ignored_message}</span>
	</td>
</tr>
</table>]]></template>
	<template name="footer_languageselect" version="1400"><![CDATA[<form method="{$lang_redirect_url['form_method']}" action="{$lang_redirect_url['location']}" id="lang_select">
		{$lang_redirect_url['form_html']}
		<select name="language" onchange="MyBB.changeLanguage();">
			<optgroup label="{$lang->select_language}">
				{$lang_options}
			</optgroup>
		</select>
		{$gobutton}
	</form>]]></template>
	<template name="usercp_addsubscription_thread" version="1600"><![CDATA[<html>
<head>
<title>{$lang->subscribe_to_thread}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="usercp2.php" method="post" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="do_addsubscription" />
<input type="hidden" name="tid" value="{$thread['tid']}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->subscribe_to_thread}</strong></td>
</tr>
<tr>
<td class="trow1" valign="top" width="200"><strong>{$lang->notification_method}</strong></td>
<td class="trow1" valign="top">
	<table width="100%" border="0" align="center">
		<tr>
			<td width="1"><input type="radio" name="notification" id="notification_none" value="0" {$notification_none_checked} /></td>
			<td><strong><label for="notification_none">{$lang->no_notification}</label></strong><br /><span class="smalltext">{$lang->no_notification_desc}</span></td>
		</tr>
		<tr>
			<td width="1"><input type="radio" name="notification" id="notification_instant" value="1" {$notification_instant_checked} /></td>
			<td><strong><label for="notification_instant">{$lang->instant_notification}</label></strong><br /><span class="smalltext">{$lang->instant_notification_desc}</span></td>
		</tr>
	</table>
</td>
</tr>
</table>
<br />
<div style="text-align: center;">
	<input type="submit" class="button" name="submit" value="{$lang->do_subscribe}" tabindex="3" accesskey="s" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
	<template name="post_subscription_method" version="1400"><![CDATA[<tr>
<td class="{$bgcolor}" valign="top">{$lang->thread_subscription_method}</td>
<td class="{$bgcolor} smalltext">
	<label><input type="radio" name="postoptions[subscriptionmethod]" {$postoptions_subscriptionmethod_dont} value="" style="vertical-align: middle;" /> {$lang->no_subscribe}</label><br />
	<label><input type="radio" name="postoptions[subscriptionmethod]" {$postoptions_subscriptionmethod_none} value="none" style="vertical-align: middle;" /> {$lang->no_email_subscribe}</label><br />
	<label><input type="radio" name="postoptions[subscriptionmethod]" {$postoptions_subscriptionmethod_instant} value="instant" style="vertical-align: middle;" /> {$lang->instant_email_subscribe}</label><br />
</td>
</tr>]]></template>
	<template name="index_boardstats" version="1603"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" title="[-]" /></div>
<div><strong>{$lang->boardstats}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e">
{$whosonline}
{$birthdays}
{$forumstats}
<tr>
	<td class="tfoot" style="text-align: right">
		<span class="smalltext">
			{$logoutlink}
			<a href="misc.php?action=markread{$post_code_string}">{$lang->markread}</a> |
			<a href="showteam.php">{$lang->forumteam}</a> |
			<a href="stats.php">{$lang->forumstats}</a>
		</span>
	</td>
</tr>
</tbody>
</table>
<br />]]></template>
		<template name="calendar" version="1400"><![CDATA[<html>
<head>
	<title>{$mybb->settings['bbname']} - {$lang->calendar}</title>
	{$headerinclude}
</head>
<body>
	{$header}
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<thead>
			<tr>
				<td class="thead" colspan="8">
					<div class="float_right">
						<a href="{$prev_link}">&laquo; {$monthnames[$prev_month['month']]} {$prev_month['year']}</a> | <a href="{$next_link}">{$monthnames[$next_month['month']]} {$next_month['year']} &raquo;</a>
					</div>
					<div><strong>{$monthnames[$month]} {$year}</strong></div>
				</td>
			</tr>
			<tr>
				<td class="tcat">&nbsp;</td>
			{$weekday_headers}
			</tr>
		</thead>
		<tbody>
		{$calendar_rows}
		</tbody>
	</table>
<br />
<form action="calendar.php" method="post">
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="trow1">
				<table width="100%" cellspacing="0" cellpadding="0" border="0">
					<tr>
						<td class="trow1" valign="top">{$addevent}</td>
						<td class="trow1" align="right">
						<span class="smalltext"><strong>{$lang->jump_month}</strong></span>
						<select name="month">
							<option value="{$month}">{$monthnames[$month]}</option>
							<option value="{$month}">----------</option>
							<option value="1">{$lang->alt_month_1}</option>
							<option value="2">{$lang->alt_month_2}</option>
							<option value="3">{$lang->alt_month_3}</option>
							<option value="4">{$lang->alt_month_4}</option>
							<option value="5">{$lang->alt_month_5}</option>
							<option value="6">{$lang->alt_month_6}</option>
							<option value="7">{$lang->alt_month_7}</option>
							<option value="8">{$lang->alt_month_8}</option>
							<option value="9">{$lang->alt_month_9}</option>
							<option value="10">{$lang->alt_month_10}</option>
							<option value="11">{$lang->alt_month_11}</option>
							<option value="12">{$lang->alt_month_12}</option>
						</select>
						<select name="year">
							<option value="{$year}">{$year}</option>
							<option value="{$year}">----------</option>
							{$yearsel}
						</select>
						{$gobutton}
						<br /><br />
						<span class="smalltext"><strong>{$lang->jump_to_calendar}</strong></span>
						{$calendar_jump}
						{$gobutton}
						</td>
					</tr>
				</table>
			</td>
		</tr>
		</table>
	</form>
{$footer}
</body>
</html>]]></template>
		<template name="calendar_weekdayheader" version="1400"><![CDATA[				<td class="tcat" align="center" width="14%"><strong>{$weekday_name}</strong></td>]]></template>
		<template name="calendar_weekrow" version="1400"><![CDATA[			<tr>
				<td class="tcat" align="center" width="1"><a href="{$week_link}">&raquo;</a></td>
				{$day_bits}
			</tr>]]></template>
		<template name="calendar_weekrow_day_today" version="1400"><![CDATA[				<td class="calendar_daybit_today">
					<div class="float_right smalltext"><a href="{$day_link}">{$day}</a></div>
					<div>
					{$day_events}
					{$day_birthdays}
					</div>
				</td>]]></template>
		<template name="calendar_weekrow_day" version="1400"><![CDATA[				<td class="{$day_class}" height="100" valign="top">
					<div class="float_right smalltext"><a href="{$day_link}">{$day}</a></div>
					<div style="clear: both;">
					{$day_birthdays}
					{$day_events}
					</div>
				</td>
]]></template>
		<template name="calendar_weekrow_day_external" version="1400"><![CDATA[				<td class="calendar_daybit_external">
					<div class="float_right smalltext"><a href="{$day_link}">{$day}</a></div>
					<div>
					{$day_events}
					{$day_birthdays}
					</div>
				</td>
]]></template>
		<template name="calendar_addevent" version="1402"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->calendar} - {$lang->add_event}</title>
{$headerinclude}
</head>
<body>
{$header}
{$event_errors}
<form action="calendar.php" method="post" name="input">
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
		<tr>
			<td colspan="2" width="100%" class="thead"><strong>{$lang->add_event}</strong></td>
		</tr>
		<tr>
			<td width="20%" class="trow1"><strong>{$lang->event_name}</strong></td>
			<td class="trow1"><input type="text" class="textbox" size="50" name="name" maxlength="120" value="{$name}"/></td>
		</tr>
		<tr>
			<td width="20%" class="trow1"><strong>{$lang->select_calendar}</strong></td>
			<td class="trow1">
				<select name="calendar">
					{$calendar_select}
				</select>
			</td>
		</tr>
		<tr>
			<td class="trow2" style="vertical-align: top;"><strong>{$lang->event_date}</strong></td>
			<td class="trow1">
				<script type="text/javascript">
				<!--
					function toggleType()
					{
						if($('type_single').checked == true)
						{
							Element.hide('ranged_selects');
							Element.show('single_selects');
						}
						else
						{
							Element.hide('single_selects');
							Element.show('ranged_selects');
							toggleRepeats();
						}
					}

					function toggleRepeats()
					{
						var repeats = $('repeats').options[$('repeats').selectedIndex].value;
						$$('.repeats_type').each(function(e)
						{
							Element.hide(e);
						});
						if($('repeats_type_'+repeats))
						{
							Element.show('repeats_type_'+repeats);
						}
					}
				// -->
				</script>
				<dl style="margin-top: 0; margin-bottom: 0; width: 100%;">
					<dt><input type="radio" name="type" value="single" {$type_single} id="type_single" onclick="toggleType();" /> <label for="type_single"><strong>{$lang->type_single}</strong></label></dt>
					<dd style="margin-top: 4px;" id="single_selects">
						<select name="single_day">
							{$single_days}
						</select>
						&nbsp;
						<select name="single_month">
							<option value="1"{$single_month['1']}>{$lang->month_1}</option>
							<option value="2"{$single_month['2']}>{$lang->month_2}</option>
							<option value="3"{$single_month['3']}>{$lang->month_3}</option>
							<option value="4"{$single_month['4']}>{$lang->month_4}</option>
							<option value="5"{$single_month['5']}>{$lang->month_5}</option>
							<option value="6"{$single_month['6']}>{$lang->month_6}</option>
							<option value="7"{$single_month['7']}>{$lang->month_7}</option>
							<option value="8"{$single_month['8']}>{$lang->month_8}</option>
							<option value="9"{$single_month['9']}>{$lang->month_9}</option>
							<option value="10"{$single_month['10']}>{$lang->month_10}</option>
							<option value="11"{$single_month['11']}>{$lang->month_11}</option>
							<option value="12"{$single_month['12']}>{$lang->month_12}</option>
						</select>
						&nbsp;
						<select name="single_year">
							{$single_years}
						</select>
					</dd>
					<dt><input type="radio" name="type" value="ranged" {$type_ranged} id="type_ranged" onclick="toggleType();" /> <label for="type_ranged"><strong>{$lang->type_ranged}</strong></label></dt>
					<dd style="margin-top: 4px; width: 100%;" id="ranged_selects">
						<table width="100%">
							<tr>
								<td class="smalltext" style="padding: 4px; text-align: right;">{$lang->start_time}</td>
								<td style="padding: 4px;">
									<select name="start_day">
										{$start_days}
									</select>
									<select name="start_month">
										<option value="1"{$start_month['1']}>{$lang->month_1}</option>
										<option value="2"{$start_month['2']}>{$lang->month_2}</option>
										<option value="3"{$start_month['3']}>{$lang->month_3}</option>
										<option value="4"{$start_month['4']}>{$lang->month_4}</option>
										<option value="5"{$start_month['5']}>{$lang->month_5}</option>
										<option value="6"{$start_month['6']}>{$lang->month_6}</option>
										<option value="7"{$start_month['7']}>{$lang->month_7}</option>
										<option value="8"{$start_month['8']}>{$lang->month_8}</option>
										<option value="9"{$start_month['9']}>{$lang->month_9}</option>
										<option value="10"{$start_month['10']}>{$lang->month_10}</option>
										<option value="11"{$start_month['11']}>{$lang->month_11}</option>
										<option value="12"{$start_month['12']}>{$lang->month_12}</option>
									</select>
									<select name="start_year">
										{$start_years}
									</select>
									<span class="smalltext">&nbsp;&nbsp;&nbsp;{$lang->enter_time}</span>
									<input type="text" class="textbox" name="start_time" value="{$start_time}" size="7" />
								</td>
							</tr>
							<tr>
								<td class="smalltext" style="padding: 4px; text-align: right;">{$lang->end_time}</td>
								<td style="padding: 4px;">
									<select name="end_day">
										{$end_days}
									</select>
									<select name="end_month">
										<option value="1"{$end_month['1']}>{$lang->month_1}</option>
										<option value="2"{$end_month['2']}>{$lang->month_2}</option>
										<option value="3"{$end_month['3']}>{$lang->month_3}</option>
										<option value="4"{$end_month['4']}>{$lang->month_4}</option>
										<option value="5"{$end_month['5']}>{$lang->month_5}</option>
										<option value="6"{$end_month['6']}>{$lang->month_6}</option>
										<option value="7"{$end_month['7']}>{$lang->month_7}</option>
										<option value="8"{$end_month['8']}>{$lang->month_8}</option>
										<option value="9"{$end_month['9']}>{$lang->month_9}</option>
										<option value="10"{$end_month['10']}>{$lang->month_10}</option>
										<option value="11"{$end_month['11']}>{$lang->month_11}</option>
										<option value="12"{$end_month['12']}>{$lang->month_12}</option>
									</select>
									<select name="end_year">
										{$end_years}
									</select>
									<span class="smalltext">&nbsp;&nbsp;&nbsp;{$lang->enter_time}</span>
									<input type="text" class="textbox" name="end_time" value="{$end_time}" size="7" />
								</td>
							</tr>
							<tr>
								<td class="smalltext" style="padding: 4px; text-align: right; vertical-align: top;">{$lang->time_zone}</td>
								<td style="padding: 4px;">
									{$timezones}<br />
									<label class="smalltext" style="display: block; padding-top: 4px;"><input type="checkbox" name="ignoretimezone" value="1" {$ignore_timezone} style="vertical-align: middle;" /> {$lang->ignore_timezone} </label>
								</td>
							</tr>
							<tr>
								<td class="smalltext" style="padding: 4px; text-align: right; vertical-align:top;">{$lang->repeats}</td>
								<td class="smalltext" style="padding: 4px;">
									<select name="repeats" id="repeats" onchange="toggleRepeats();">
										<option value="0">{$lang->does_not_repeat}</option>
										<option value="1"{$repeats_sel[1]}>{$lang->repeats_daily}</option>
										<option value="2"{$repeats_sel[2]}>{$lang->repeats_weekdays}</option>
										<option value="3"{$repeats_sel[3]}>{$lang->repeats_weekly}</option>
										<option value="4"{$repeats_sel[4]}>{$lang->repeats_monthly}</option>
										<option value="5"{$repeats_sel[5]}>{$lang->repeats_yearly}</option>
									</select>
									<div class="repeats_type" id="repeats_type_1" style="padding: 4px;">
										{$lang->repeats_every}
										<input type="text" class="textbox" name="repeats_1_days" value="{$repeats_1_days}" size="2" /> {$lang->day_or_days}
									</div>
									<div class="repeats_type" id="repeats_type_3" style="padding: 4px;">
										{$lang->repeats_every}
										<input type="text" class="textbox" name="repeats_3_weeks" value="{$repeats_3_weeks}" size="2" /> {$lang->week_or_weeks_on}
										<br />
										<table style="padding: 4px;">
											<tr>
												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[0]" value="1" {$repeats_3_days[0]} style="vertical-align: middle;" /> {$lang->sunday}</label></td>
												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[1]" value="1" {$repeats_3_days[1]} style="vertical-align: middle;" /> {$lang->monday}</label></td>
												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[2]" value="1" {$repeats_3_days[2]} style="vertical-align: middle;" /> {$lang->tuesday}</label></td>
												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[3]" value="1" {$repeats_3_days[3]} style="vertical-align: middle;" /> {$lang->wednesday}</label></td>
											</tr>
											<tr>
												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[4]" value="1" {$repeats_3_days[4]} style="vertical-align: middle;" /> {$lang->thursday}</label></td>
												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[5]" value="1" {$repeats_3_days[5]} style="vertical-align: middle;" /> {$lang->friday}</label></td>
												<td style="padding: 2px;" class="smalltext" colspan="2"><label><input type="checkbox" name="repeats_3_days[6]" value="1" {$repeats_3_days[6]} style="vertical-align: middle;" /> {$lang->saturday}</label></td>
											</tr>
										</table>
									</div>
									<div class="repeats_type" id="repeats_type_4" style="padding: 4px;">
										<div class="smalltext"><label>
											<input type="radio" name="repeats_4_type" id="repeats_4_type_1" value="1" style="vertical-align: middle;" {$repeats_4_type[1]} />
											{$lang->repeats_on_day}</label>
											<input type="text" class="textbox" name="repeats_4_day" value="{$repeats_4_day}" onfocus="$('repeats_4_type_1').checked=true;" size="2" /> {$lang->of_every} <input type="text" class="textbox" name="repeats_4_months" value="{$repeats_4_months}" size="2" onfocus="$('repeats_4_type_1').checked=true;" /> {$lang->month_or_months}
										</div>
										<div class="smalltext" style="margin-top: 5px;"><label>
											<input type="radio" name="repeats_4_type" id="repeats_4_type_2" value="2" style="vertical-align: middle;" {$repeats_4_type[2]} />
											{$lang->repeats_on_the}</label>
											<select name="repeats_4_occurance" onfocus="$('repeats_4_type_2').checked=true;">
												<option value="1"{$repeats_4_occurance[1]}>{$lang->first}</option>
												<option value="2"{$repeats_4_occurance[2]}>{$lang->second}</option>
												<option value="3"{$repeats_4_occurance[3]}>{$lang->third}</option>
												<option value="4"{$repeats_4_occurance[4]}>{$lang->fourth}</option>
												<option value="last"{$repeats_4_occurance['last']}>{$lang->last}</option>
											</select>
											<select name="repeats_4_weekday" onfocus="$('repeats_4_type_2').checked=true;">
												<option value="0"{$repeats_4_weekday[0]}>{$lang->sunday}</option>
												<option value="1"{$repeats_4_weekday[1]}>{$lang->monday}</option>
												<option value="2"{$repeats_4_weekday[2]}>{$lang->tuesday}</option>
												<option value="3"{$repeats_4_weekday[3]}>{$lang->wednesday}</option>
												<option value="4"{$repeats_4_weekday[4]}>{$lang->thursday}</option>
												<option value="5"{$repeats_4_weekday[5]}>{$lang->friday}</option>
												<option value="6"{$repeats_4_weekday[6]}>{$lang->saturday}</option>
											</select>
											{$lang->of_every}
											<input type="text" class="textbox" name="repeats_4_months2" value="{$repeats_4_months2}" size="2" onfocus="$('repeats_4_type_2').checked=true;" /> {$lang->month_or_months}
										</div>
									</div>
									<div class="repeats_type" id="repeats_type_5" style="padding: 4px;">
										<div class="smalltext"><label>
											<input type="radio" name="repeats_5_type" value="1" id="repeats_5_type_1" style="vertical-align: middle;" {$repeats_5_type[1]} />
											{$lang->repeats_on}</label>
											<input type="text" class="textbox" name="repeats_5_day" onfocus="$('repeats_5_type_1').checked=true;" value="{$repeats_5_day}" size="2" />
											<select name="repeats_5_month" onfocus="$('repeats_5_type_1').checked=true;" >
												<option value="1"{$repeats_5_month['1']}>{$lang->month_1}</option>
												<option value="2"{$repeats_5_month['2']}>{$lang->month_2}</option>
												<option value="3"{$repeats_5_month['3']}>{$lang->month_3}</option>
												<option value="4"{$repeats_5_month['4']}>{$lang->month_4}</option>
												<option value="5"{$repeats_5_month['5']}>{$lang->month_5}</option>
												<option value="6"{$repeats_5_month['6']}>{$lang->month_6}</option>
												<option value="7"{$repeats_5_month['7']}>{$lang->month_7}</option>
												<option value="8"{$repeats_5_month['8']}>{$lang->month_8}</option>
												<option value="9"{$repeats_5_month['9']}>{$lang->month_9}</option>
												<option value="10"{$repeats_5_month['10']}>{$lang->month_10}</option>
												<option value="11"{$repeats_5_month['11']}>{$lang->month_11}</option>
												<option value="12"{$repeats_5_month['12']}>{$lang->month_12}</option>
											</select>
											{$lang->every}
											<input type="text" class="textbox" name="repeats_5_years" value="{$repeats_5_years}" onfocus="$('repeats_5_type_1').checked=true;" size="2" /> {$lang->year_or_years}
										</div>
										<div class="smalltext" style="margin-top: 5px;"><label>
											<input type="radio" name="repeats_5_type" value="2" id="repeats_5_type_2" style="vertical-align: middle;" {$repeats_5_type[2]} />
											{$lang->repeats_on_the}</label>
											<select name="repeats_5_occurance" onfocus="$('repeats_5_type_2').checked=true;" >
												<option value="1"{$repeats_5_occurance[1]}>{$lang->first}</option>
												<option value="2"{$repeats_5_occurance[2]}>{$lang->second}</option>
												<option value="3"{$repeats_5_occurance[3]}>{$lang->third}</option>
												<option value="4"{$repeats_5_occurance[4]}>{$lang->fourth}</option>
												<option value="last"{$repeats_4_occurance['last']}>{$lang->last}</option>
											</select>
											<select name="repeats_5_weekday" onfocus="$('repeats_5_type_2').checked=true;" >
												<option value="0"{$repeats_5_weekday[0]}>{$lang->sunday}</option>
												<option value="1"{$repeats_5_weekday[1]}>{$lang->monday}</option>
												<option value="2"{$repeats_5_weekday[2]}>{$lang->tuesday}</option>
												<option value="3"{$repeats_5_weekday[3]}>{$lang->wednesday}</option>
												<option value="4"{$repeats_5_weekday[4]}>{$lang->thursday}</option>
												<option value="5"{$repeats_5_weekday[5]}>{$lang->friday}</option>
												<option value="6"{$repeats_5_weekday[6]}>{$lang->saturday}</option>
											</select>
											{$lang->of}
											<select name="repeats_5_month2" onfocus="$('repeats_5_type_2').checked=true;" >
												<option value="1"{$repeats_5_month2['1']}>{$lang->month_1}</option>
												<option value="2"{$repeats_5_month2['2']}>{$lang->month_2}</option>
												<option value="3"{$repeats_5_month2['3']}>{$lang->month_3}</option>
												<option value="4"{$repeats_5_month2['4']}>{$lang->month_4}</option>
												<option value="5"{$repeats_5_month2['5']}>{$lang->month_5}</option>
												<option value="6"{$repeats_5_month2['6']}>{$lang->month_6}</option>
												<option value="7"{$repeats_5_month2['7']}>{$lang->month_7}</option>
												<option value="8"{$repeats_5_month2['8']}>{$lang->month_8}</option>
												<option value="9"{$repeats_5_month2['9']}>{$lang->month_9}</option>
												<option value="10"{$repeats_5_month2['10']}>{$lang->month_10}</option>
												<option value="11"{$repeats_5_month2['11']}>{$lang->month_11}</option>
												<option value="12"{$repeats_5_month2['12']}>{$lang->month_12}</option>
											</select>
											{$lang->every}
											<input type="text" class="textbox" name="repeats_5_years2" value="{$repeats_5_years}" size="2" onfocus="$('repeats_5_type_2').checked=true;" /> {$lang->year_or_years}
										</div>
									</div>
								</td>
							</tr>
						</table>
					</dd>
				</dl>
				<script type="text/javascript">
				<!--
					toggleType();
					toggleRepeats();
				// -->
				</script>
			</td>
		</tr>
		<tr>
			<td valign="top" width="20%" class="trow1"><strong>{$lang->event_details}</strong>{$smilieinserter}</td>
			<td class="trow1"><textarea name="description" id="message" rows="20" cols="70">{$description}</textarea>
			{$codebuttons}</td>
		</tr>
		<tr>
			<td width="20%" class="trow2"><strong>{$lang->event_options}</strong></td>
			<td class="trow2">
				<input type="checkbox" class="checkbox" name="private" value="1"{$privatecheck} /><span class="smalltext">{$lang->private_option}</span><br />
			</td>
		</tr>
	</table>
	<br />
	<input type="hidden" name="action" value="do_addevent" />
	<div align="center"><input type="submit" class="button" value="{$lang->post_event}" /></div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="calendar_addprivateevent" version="1400"><![CDATA[<a href="calendar.php?action=addevent&amp;calendar={$calendar['cid']}&amp;private=1">{$lang->add_private_event}</a>]]></template>
		<template name="calendar_addpublicevent" version="1400"><![CDATA[<a href="calendar.php?action=addevent&amp;calendar={$calendar['cid']}">{$lang->add_public_event}</a>]]></template>
		<template name="calendar_eventbit_private" version="1402"><![CDATA[<div style="margin-bottom: 4px;" class="smalltext eventbit_private"><a href="{$event['eventlink']}" title="{$event['fullname']}">{$event['name']}</a></div>]]></template>
		<template name="calendar_eventbit" version="1402"><![CDATA[<div style="margin-bottom: 4px;" class="smalltext {$event_class}"><a href="{$event['eventlink']}" title="{$event['fullname']}">{$event['name']}</a></div>]]></template>
		<template name="calendar_weekview" version="1600"><![CDATA[<html>
<head>
	<title>{$mybb->settings['bbname']} - {$lang->calendar}</title>
	{$headerinclude}
</head>
<body>
	{$header}
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<thead>
			<tr>
				<td class="thead" colspan="2">
					<div class="float_right">
						<a href="{$prev_link}">&laquo; {$lang->previous_week}</a> | <a href="{$next_link}">{$lang->next_week} &raquo;</a>
					</div>
					<div><strong>{$lang->weekly_overview} ({$friendly_week_from} - {$friendly_week_to})</strong></div>
				</td>
			</tr>
		</thead>
		<tbody>
			{$weekday_bits}
		</tbody>
	</table>
</td>
<td style="padding-left: 10px; vertical-align: top;">{$mini_calendars}</td>
</tr>
</table>
	<br />
	<form action="calendar.php" method="post">
		<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
			<tr>
				<td class="trow1">
					<table width="100%" cellspacing="0" cellpadding="0" border="0">
						<tr>
						<td class="trow1" valign="top">{$addevent}</td>
							<td class="trow1" align="right">
							<span class="smalltext"><strong>{$lang->jump_month}</strong></span>
							<select name="month">
								<option value="{$week_from[1]}">{$monthnames[$week_from[1]]}</option>
								<option value="{$week_from[1]}">----------</option>
								<option value="1">{$lang->alt_month_1}</option>
								<option value="2">{$lang->alt_month_2}</option>
								<option value="3">{$lang->alt_month_3}</option>
								<option value="4">{$lang->alt_month_4}</option>
								<option value="5">{$lang->alt_month_5}</option>
								<option value="6">{$lang->alt_month_6}</option>
								<option value="7">{$lang->alt_month_7}</option>
								<option value="8">{$lang->alt_month_8}</option>
								<option value="9">{$lang->alt_month_9}</option>
								<option value="10">{$lang->alt_month_10}</option>
								<option value="11">{$lang->alt_month_11}</option>
								<option value="12">{$lang->alt_month_12}</option>
							</select>
							<select name="year">
								<option value="{$week_from[2]}">{$week_from[2]}</option>
								<option value="{$week_from[2]}">----------</option>
								{$yearsel}
							</select>
							{$gobutton}
							<br /><br />
							<span class="smalltext"><strong>{$lang->jump_to_calendar}</strong></span>
							{$calendar_jump}
							{$gobutton}
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</form>
{$footer}
</body>
</html>]]></template>
		<template name="calendar_weekview_month" version="1400"><![CDATA[			<tr>
				<td class="tcat" colspan="2"><strong>{$weekday_month} {$weekday_year}</strong></td>
			</tr>
			{$days}]]></template>
		<template name="calendar_weekview_day" version="1400"><![CDATA[			<tr>
				<td class="trow_sep" colspan="2">{$weekday_name}</td>
			</tr>
			<tr>
				<td class="trow2{$day_shaded}" style="text-align: center; padding: 8px;"><span class="largetext">{$weekday_day}</span></td>
				<td class="trow1" width="100%">{$day_birthdays}{$day_events}</td>
			</tr>]]></template>
		<template name="calendar_weekview_day_event" version="1400"><![CDATA[<a href="{$event['eventlink']}" class="{$event_class}" title="{$event['fullname']}">{$event['fullname']}</a>{$event_time}<br />]]></template>
		<template name="calendar_mini" version="1400"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="width: 180px;">
	<thead>
		<tr>
			<td class="thead" colspan="8">
				<strong><a href="{$month_link}">{$monthnames[$month]} {$year}</a></strong>
			</td>
		</tr>
		<tr>
			<td class="tcat">&nbsp;</td>
		{$weekday_headers}
		</tr>
	</thead>
	<tbody>
	{$calendar_rows}
	</tbody>
</table>]]></template>
		<template name="calendar_mini_weekdayheader" version="1400"><![CDATA[				<td class="tcat" align="center" width="14%"><strong>{$weekday_name}</strong></td>]]></template>
		<template name="calendar_mini_weekrow" version="1400"><![CDATA[			<tr>
				<td class="tcat" align="center" width="1"><a href="{$week_link}">&raquo;</a></td>
				{$day_bits}
			</tr>]]></template>
		<template name="calendar_mini_weekrow_day" version="1400"><![CDATA[				<td class="{$day_class}" valign="middle" align="center">
					{$day_link}
				</td>]]></template>
		<template name="calendar_addeventlink" version="1400"><![CDATA[<a href="calendar.php?action=addevent&amp;calendar={$calendar['cid']}">{$lang->add_public_event}</a> | <a href="calendar.php?action=addevent&amp;calendar={$calendar['cid']}&amp;private=1">{$lang->add_private_event}</a>]]></template>
		<template name="calendar_editevent" version="1402"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->calendar} - {$lang->edit_event}</title>
{$headerinclude}
</head>
<body>
{$header}
{$event_errors}
<form action="calendar.php" method="post">
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="thead" colspan="3"><strong>{$lang->delete_event}</strong></td>
		</tr>
		<tr>
			<td class="trow1" style="white-space: nowrap"><input type="checkbox" class="checkbox" name="delete" value="1" tabindex="9" /> <strong>{$lang->delete_q}</strong></td>
			<td class="trow1" width="100%">{$lang->delete_1}<br /><span class="smalltext">{$lang->delete_2}</span></td>
			<td class="trow1"><input type="submit" class="button" name="submit" value="{$lang->delete_now}" tabindex="10" /></td>
		</tr>
	</table>
	<input type="hidden" name="action" value="do_editevent" />
	<input type="hidden" name="eid" value="{$event['eid']}" />
</form>
<br />
<form action="calendar.php" method="post" name="input">
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
		<tr>
			<td colspan="2" width="100%" class="thead"><strong>{$lang->edit_event}</strong></td>
		</tr>
		<tr>
			<td width="20%" class="trow1"><strong>{$lang->event_name}</strong></td>
			<td class="trow1"><input type="text" class="textbox" size="50" name="name" maxlength="120" value="{$name}"/></td>
		</tr>
		<tr>
			<td class="trow2" style="vertical-align: top;"><strong>{$lang->event_date}</strong></td>
			<td class="trow1">
				<script type="text/javascript">
				<!--
					function toggleType()
					{
						if($('type_single').checked == true)
						{
							Element.hide('ranged_selects');
							Element.show('single_selects');
						}
						else
						{
							Element.hide('single_selects');
							Element.show('ranged_selects');
							toggleRepeats();
						}
					}

					function toggleRepeats()
					{
						var repeats = $('repeats').options[$('repeats').selectedIndex].value;
						$$('.repeats_type').each(function(e)
						{
							Element.hide(e);
						});
						if($('repeats_type_'+repeats))
						{
							Element.show('repeats_type_'+repeats);
						}
					}
				// -->
				</script>
				<dl style="margin-top: 0; margin-bottom: 0; width: 100%;">
					<dt><input type="radio" name="type" value="single" {$type_single} id="type_single" onclick="toggleType();" /> <label for="type_single"><strong>{$lang->type_single}</strong></label></dt>
					<dd style="margin-top: 4px;" id="single_selects">
						<select name="single_day">
							{$single_days}
						</select>
						&nbsp;
						<select name="single_month">
							<option value="1"{$single_month['1']}>{$lang->month_1}</option>
							<option value="2"{$single_month['2']}>{$lang->month_2}</option>
							<option value="3"{$single_month['3']}>{$lang->month_3}</option>
							<option value="4"{$single_month['4']}>{$lang->month_4}</option>
							<option value="5"{$single_month['5']}>{$lang->month_5}</option>
							<option value="6"{$single_month['6']}>{$lang->month_6}</option>
							<option value="7"{$single_month['7']}>{$lang->month_7}</option>
							<option value="8"{$single_month['8']}>{$lang->month_8}</option>
							<option value="9"{$single_month['9']}>{$lang->month_9}</option>
							<option value="10"{$single_month['10']}>{$lang->month_10}</option>
							<option value="11"{$single_month['11']}>{$lang->month_11}</option>
							<option value="12"{$single_month['12']}>{$lang->month_12}</option>
						</select>
						&nbsp;
						<select name="single_year">
							{$single_years}
						</select>
					</dd>
					<dt><input type="radio" name="type" value="ranged" {$type_ranged} id="type_ranged" onclick="toggleType();" /> <label for="type_ranged"><strong>{$lang->type_ranged}</strong></label></dt>
					<dd style="margin-top: 4px; width: 100%;" id="ranged_selects">
						<table width="100%">
							<tr>
								<td class="smalltext" style="padding: 4px; text-align: right;">{$lang->start_time}</td>
								<td style="padding: 4px;">
									<select name="start_day">
										{$start_days}
									</select>
									<select name="start_month">
										<option value="1"{$start_month['1']}>{$lang->month_1}</option>
										<option value="2"{$start_month['2']}>{$lang->month_2}</option>
										<option value="3"{$start_month['3']}>{$lang->month_3}</option>
										<option value="4"{$start_month['4']}>{$lang->month_4}</option>
										<option value="5"{$start_month['5']}>{$lang->month_5}</option>
										<option value="6"{$start_month['6']}>{$lang->month_6}</option>
										<option value="7"{$start_month['7']}>{$lang->month_7}</option>
										<option value="8"{$start_month['8']}>{$lang->month_8}</option>
										<option value="9"{$start_month['9']}>{$lang->month_9}</option>
										<option value="10"{$start_month['10']}>{$lang->month_10}</option>
										<option value="11"{$start_month['11']}>{$lang->month_11}</option>
										<option value="12"{$start_month['12']}>{$lang->month_12}</option>
									</select>
									<select name="start_year">
										{$start_years}
									</select>
									<span class="smalltext">&nbsp;&nbsp;&nbsp;{$lang->enter_time}</span>
									<input type="text" class="textbox" name="start_time" value="{$start_time}" size="7" />
								</td>
							</tr>
							<tr>
								<td class="smalltext" style="padding: 4px; text-align: right;">{$lang->end_time}</td>
								<td style="padding: 4px;">
									<select name="end_day">
										{$end_days}
									</select>
									<select name="end_month">
										<option value="1"{$end_month['1']}>{$lang->month_1}</option>
										<option value="2"{$end_month['2']}>{$lang->month_2}</option>
										<option value="3"{$end_month['3']}>{$lang->month_3}</option>
										<option value="4"{$end_month['4']}>{$lang->month_4}</option>
										<option value="5"{$end_month['5']}>{$lang->month_5}</option>
										<option value="6"{$end_month['6']}>{$lang->month_6}</option>
										<option value="7"{$end_month['7']}>{$lang->month_7}</option>
										<option value="8"{$end_month['8']}>{$lang->month_8}</option>
										<option value="9"{$end_month['9']}>{$lang->month_9}</option>
										<option value="10"{$end_month['10']}>{$lang->month_10}</option>
										<option value="11"{$end_month['11']}>{$lang->month_11}</option>
										<option value="12"{$end_month['12']}>{$lang->month_12}</option>
									</select>
									<select name="end_year">
										{$end_years}
									</select>
									<span class="smalltext">&nbsp;&nbsp;&nbsp;{$lang->enter_time}</span>
									<input type="text" class="textbox" name="end_time" value="{$end_time}" size="7" />
								</td>
							</tr>
							<tr>
								<td class="smalltext" style="padding: 4px; text-align: right; vertical-align: top;">{$lang->time_zone}</td>
								<td style="padding: 4px;">
									{$timezones}<br />
									<label class="smalltext" style="display: block; padding-top: 4px;"><input type="checkbox" name="ignoretimezone" value="1" {$ignore_timezone} style="vertical-align: middle;" /> {$lang->ignore_timezone}</label>
								</td>
							</tr>
							<tr>
								<td class="smalltext" style="padding: 4px; text-align: right; vertical-align:top;">{$lang->repeats}</td>
								<td class="smalltext" style="padding: 4px;">
									<select name="repeats" id="repeats" onchange="toggleRepeats();">
										<option value="0">{$lang->does_not_repeat}</option>
										<option value="1"{$repeats_sel[1]}>{$lang->repeats_daily}</option>
										<option value="2"{$repeats_sel[2]}>{$lang->repeats_weekdays}</option>
										<option value="3"{$repeats_sel[3]}>{$lang->repeats_weekly}</option>
										<option value="4"{$repeats_sel[4]}>{$lang->repeats_monthly}</option>
										<option value="5"{$repeats_sel[5]}>{$lang->repeats_yearly}</option>
									</select>
									<div class="repeats_type" id="repeats_type_1" style="padding: 4px;">
										{$lang->repeats_every}
										<input type="text" class="textbox" name="repeats_1_days" value="{$repeats_1_days}" size="2" /> {$lang->day_or_days}
									</div>
									<div class="repeats_type" id="repeats_type_3" style="padding: 4px;">
										{$lang->repeats_every}
										<input type="text" class="textbox" name="repeats_3_weeks" value="{$repeats_3_weeks}" size="2" /> {$lang->week_or_weeks_on}
										<br />
										<table style="padding: 4px;">
											<tr>
												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[0]" value="1" {$repeats_3_days[0]} style="vertical-align: middle;" /> {$lang->sunday}</label></td>
												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[1]" value="1" {$repeats_3_days[1]} style="vertical-align: middle;" /> {$lang->monday}</label></td>
												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[2]" value="1" {$repeats_3_days[2]} style="vertical-align: middle;" /> {$lang->tuesday}</label></td>
												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[3]" value="1" {$repeats_3_days[3]} style="vertical-align: middle;" /> {$lang->wednesday}</label></td>
											</tr>
											<tr>
												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[4]" value="1" {$repeats_3_days[4]} style="vertical-align: middle;" /> {$lang->thursday}</label></td>
												<td style="padding: 2px;" class="smalltext"><label><input type="checkbox" name="repeats_3_days[5]" value="1" {$repeats_3_days[5]} style="vertical-align: middle;" /> {$lang->friday}</label></td>
												<td style="padding: 2px;" class="smalltext" colspan="2"><label><input type="checkbox" name="repeats_3_days[6]" value="1" {$repeats_3_days[6]} style="vertical-align: middle;" /> {$lang->saturday}</label></td>
											</tr>
										</table>
									</div>
									<div class="repeats_type" id="repeats_type_4" style="padding: 4px;">
										<div class="smalltext"><label>
											<input type="radio" name="repeats_4_type" id="repeats_4_type_1" value="1" style="vertical-align: middle;" {$repeats_4_type[1]} />
											{$lang->repeats_on_day}</label>
											<input type="text" class="textbox" name="repeats_4_day" value="{$repeats_4_day}" onfocus="$('repeats_4_type_1').checked=true;" size="2" /> {$lang->of_every} <input type="text" class="textbox" name="repeats_4_months" value="{$repeats_4_months}" size="2" onfocus="$('repeats_4_type_1').checked=true;" /> {$lang->month_or_months}
										</div>
										<div class="smalltext" style="margin-top: 5px;"><label>
											<input type="radio" name="repeats_4_type" id="repeats_4_type_2" value="2" style="vertical-align: middle;" {$repeats_4_type[2]} />
											{$lang->repeats_on_the}</label>
											<select name="repeats_4_occurance" onfocus="$('repeats_4_type_2').checked=true;">
												<option value="1"{$repeats_4_occurance[1]}>{$lang->first}</option>
												<option value="2"{$repeats_4_occurance[2]}>{$lang->second}</option>
												<option value="3"{$repeats_4_occurance[3]}>{$lang->third}</option>
												<option value="4"{$repeats_4_occurance[4]}>{$lang->fourth}</option>
												<option value="last"{$repeats_4_occurance['last']}>{$lang->last}</option>
											</select>
											<select name="repeats_4_weekday" onfocus="$('repeats_4_type_2').checked=true;">
												<option value="0"{$repeats_4_weekday[0]}>{$lang->sunday}</option>
												<option value="1"{$repeats_4_weekday[1]}>{$lang->monday}</option>
												<option value="2"{$repeats_4_weekday[2]}>{$lang->tuesday}</option>
												<option value="3"{$repeats_4_weekday[3]}>{$lang->wednesday}</option>
												<option value="4"{$repeats_4_weekday[4]}>{$lang->thursday}</option>
												<option value="5"{$repeats_4_weekday[5]}>{$lang->friday}</option>
												<option value="6"{$repeats_4_weekday[6]}>{$lang->saturday}</option>
											</select>
											{$lang->of_every}
											<input type="text" class="textbox" name="repeats_4_months2" value="{$repeats_4_months2}" size="2" onfocus="$('repeats_4_type_2').checked=true;" /> {$lang->month_or_months}
										</div>
									</div>
									<div class="repeats_type" id="repeats_type_5" style="padding: 4px;">
										<div class="smalltext"><label>
											<input type="radio" name="repeats_5_type" value="1" id="repeats_5_type_1" style="vertical-align: middle;" {$repeats_5_type[1]} />
											{$lang->repeats_on}</label>
											<input type="text" class="textbox" name="repeats_5_day" onfocus="$('repeats_5_type_1').checked=true;" value="{$repeats_5_day}" size="2" />
											<select name="repeats_5_month" onfocus="$('repeats_5_type_1').checked=true;" >
												<option value="1"{$repeats_5_month['1']}>{$lang->month_1}</option>
												<option value="2"{$repeats_5_month['2']}>{$lang->month_2}</option>
												<option value="3"{$repeats_5_month['3']}>{$lang->month_3}</option>
												<option value="4"{$repeats_5_month['4']}>{$lang->month_4}</option>
												<option value="5"{$repeats_5_month['5']}>{$lang->month_5}</option>
												<option value="6"{$repeats_5_month['6']}>{$lang->month_6}</option>
												<option value="7"{$repeats_5_month['7']}>{$lang->month_7}</option>
												<option value="8"{$repeats_5_month['8']}>{$lang->month_8}</option>
												<option value="9"{$repeats_5_month['9']}>{$lang->month_9}</option>
												<option value="10"{$repeats_5_month['10']}>{$lang->month_10}</option>
												<option value="11"{$repeats_5_month['11']}>{$lang->month_11}</option>
												<option value="12"{$repeats_5_month['12']}>{$lang->month_12}</option>
											</select>
											{$lang->every}
											<input type="text" class="textbox" name="repeats_5_years" value="{$repeats_5_years}" onfocus="$('repeats_5_type_1').checked=true;" size="2" /> {$lang->year_or_years}
										</div>
										<div class="smalltext" style="margin-top: 5px;"><label>
											<input type="radio" name="repeats_5_type" value="2" id="repeats_5_type_2" style="vertical-align: middle;" {$repeats_5_type[2]} />
											{$lang->repeats_on_the}</label>
											<select name="repeats_5_occurance" onfocus="$('repeats_5_type_2').checked=true;" >
												<option value="1"{$repeats_5_occurance[1]}>{$lang->first}</option>
												<option value="2"{$repeats_5_occurance[2]}>{$lang->second}</option>
												<option value="3"{$repeats_5_occurance[3]}>{$lang->third}</option>
												<option value="4"{$repeats_5_occurance[4]}>{$lang->fourth}</option>
												<option value="last"{$repeats_4_occurance['last']}>{$lang->last}</option>
											</select>
											<select name="repeats_5_weekday" onfocus="$('repeats_5_type_2').checked=true;" >
												<option value="0"{$repeats_5_weekday[0]}>{$lang->sunday}</option>
												<option value="1"{$repeats_5_weekday[1]}>{$lang->monday}</option>
												<option value="2"{$repeats_5_weekday[2]}>{$lang->tuesday}</option>
												<option value="3"{$repeats_5_weekday[3]}>{$lang->wednesday}</option>
												<option value="4"{$repeats_5_weekday[4]}>{$lang->thursday}</option>
												<option value="5"{$repeats_5_weekday[5]}>{$lang->friday}</option>
												<option value="6"{$repeats_5_weekday[6]}>{$lang->saturday}</option>
											</select>
											{$lang->of}
											<select name="repeats_5_month2" onfocus="$('repeats_5_type_2').checked=true;" >
												<option value="1"{$repeats_5_month2['1']}>{$lang->month_1}</option>
												<option value="2"{$repeats_5_month2['2']}>{$lang->month_2}</option>
												<option value="3"{$repeats_5_month2['3']}>{$lang->month_3}</option>
												<option value="4"{$repeats_5_month2['4']}>{$lang->month_4}</option>
												<option value="5"{$repeats_5_month2['5']}>{$lang->month_5}</option>
												<option value="6"{$repeats_5_month2['6']}>{$lang->month_6}</option>
												<option value="7"{$repeats_5_month2['7']}>{$lang->month_7}</option>
												<option value="8"{$repeats_5_month2['8']}>{$lang->month_8}</option>
												<option value="9"{$repeats_5_month2['9']}>{$lang->month_9}</option>
												<option value="10"{$repeats_5_month2['10']}>{$lang->month_10}</option>
												<option value="11"{$repeats_5_month2['11']}>{$lang->month_11}</option>
												<option value="12"{$repeats_5_month2['12']}>{$lang->month_12}</option>
											</select>
											{$lang->every}
											<input type="text" class="textbox" name="repeats_5_years2" value="{$repeats_5_years}" size="2" onfocus="$('repeats_5_type_2').checked=true;" /> {$lang->year_or_years}
										</div>
									</div>
								</td>
							</tr>
						</table>
					</dd>
				</dl>
				<script type="text/javascript">
				<!--
					toggleType();
					toggleRepeats();
				// -->
				</script>
			</td>
		</tr>
		<tr>
			<td valign="top" width="20%" class="trow1"><strong>{$lang->event_details}</strong>{$smilieinserter}</td>
			<td class="trow1"><textarea name="description" id="message" rows="20" cols="70">{$description}</textarea>
			{$codebuttons}</td>
		</tr>
		<tr>
			<td width="20%" class="trow2"><strong>{$lang->event_options}</strong></td>
			<td class="trow2">
				<input type="checkbox" class="checkbox" name="private" value="1"{$privatecheck} /><span class="smalltext">{$lang->private_option}</span><br />
			</td>
		</tr>
	</table>
	<br />
	<input type="hidden" name="action" value="do_editevent" />
	<input type="hidden" name="eid" value="{$event['eid']}" />
	<div align="center"><input type="submit" class="button" value="{$lang->edit_event}" /></div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="calendar_move" version="1402"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->calendar} - {$lang->move_event}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="calendar.php" method="post" name="input">
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
		<tr>
			<td colspan="2" width="100%" class="thead"><strong>{$lang->move_event}: {$event['name']}</strong></td>
		</tr>
		<tr>
			<td width="20%" class="trow1"><strong>{$lang->move_to_calendar}:</strong></td>
			<td class="trow1">
				<select name="new_calendar">
					{$calendar_select}
				</select>
			</td>
		</tr>
	</table>
	<br />
	<input type="hidden" name="action" value="do_move" />
	<input type="hidden" name="eid" value="{$event['eid']}" />
	<div align="center"><input type="submit" class="button" value="{$lang->move_event}" /></div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="calendar_event" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->calendar} - {$event['name']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td class="thead"><strong>{$event['name']}</strong></td>
	</tr>
	<tr>
		<td class="tcat"><strong>{$time_period}</strong></td>
	</tr>
	<tr>
		<td class="trow1{$event_class}">
			<div style="float: left;">
				<strong><span class="largetext">{$event['profilelink']}</span></strong><br />
				<span class="smalltext">
					{$event['usertitle']}<br />
					{$event['userstars']}
				</span>
			</div>
			<div style="float: right; text-align: right;">
				{$moderator_options}
				{$repeats}
			</div>
			<br style="clear: both;" />
		</td>
	</tr>
	<tr>
		<td class="trow2{$event_class}">
			<p>{$event['description']}</p>
			{$edit_event}
		</td>
	</tr>
</table>
<br />
<form action="calendar.php" method="post">
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="trow1">
				<table width="100%" cellspacing="0" cellpadding="0" border="0">
					<tr>
					<td class="trow1" valign="top">{$addevent}</td>
						<td class="trow1" align="right">
						<span class="smalltext"><strong>{$lang->jump_month}</strong></span>
						<select name="month">
							<option value="{$month}">{$monthnames[$month]}</option>
							<option value="{$week_from[1]}">----------</option>
							<option value="1">{$lang->alt_month_1}</option>
							<option value="2">{$lang->alt_month_2}</option>
							<option value="3">{$lang->alt_month_3}</option>
							<option value="4">{$lang->alt_month_4}</option>
							<option value="5">{$lang->alt_month_5}</option>
							<option value="6">{$lang->alt_month_6}</option>
							<option value="7">{$lang->alt_month_7}</option>
							<option value="8">{$lang->alt_month_8}</option>
							<option value="9">{$lang->alt_month_9}</option>
							<option value="10">{$lang->alt_month_10}</option>
							<option value="11">{$lang->alt_month_11}</option>
							<option value="12">{$lang->alt_month_12}</option>
						</select>
						<select name="year">
							{$yearsel}
						</select>
						{$gobutton}
						<br /><br />
						<span class="smalltext"><strong>{$lang->jump_to_calendar}</strong></span>
						{$calendar_jump}
						{$gobutton}
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="calendar_event_modoptions" version="1400"><![CDATA[				<form method="post" action="calendar.php">
					<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
					<input type="hidden" name="eid" value="{$event['eid']}">
					<select name="action" onchange="if(this.options[this.selectedIndex].value != '') { window.location=('calendar.php?action='+this.options[this.selectedIndex].value+'&amp;eid={$event['eid']}&my_post_key={$mybb->post_code}') }">
						<option value="" style="font-weight: bold;">{$lang->moderator_options}</option>
						<option value="{$approve_value}">{$approve}</option>
						<option value="move">{$lang->move_event}</option>
					</select>
					{$gobutton}
				</form>
				<br />]]></template>
		<template name="calendar_dayview" version="1405"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->calendar}</title>
{$headerinclude}
</head>
<body>
{$header}
{$birthdays}
{$events}
<br />
<form action="calendar.php" method="post">
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="trow1">
				<table width="100%" cellspacing="0" cellpadding="0" border="0">
					<tr>
					<td class="trow1" valign="top">{$addevent}</td>
						<td class="trow1" align="right">
						<span class="smalltext"><strong>{$lang->jump_month}</strong></span>
						<select name="month">
							<option value="{$month}">{$monthnames[$month]}</option>
							<option value="{$month}">----------</option>
							<option value="1">{$lang->alt_month_1}</option>
							<option value="2">{$lang->alt_month_2}</option>
							<option value="3">{$lang->alt_month_3}</option>
							<option value="4">{$lang->alt_month_4}</option>
							<option value="5">{$lang->alt_month_5}</option>
							<option value="6">{$lang->alt_month_6}</option>
							<option value="7">{$lang->alt_month_7}</option>
							<option value="8">{$lang->alt_month_8}</option>
							<option value="9">{$lang->alt_month_9}</option>
							<option value="10">{$lang->alt_month_10}</option>
							<option value="11">{$lang->alt_month_11}</option>
							<option value="12">{$lang->alt_month_12}</option>
						</select>
						<select name="year">
							<option value="{$year}">{$year}</option>
							<option value="{$year}">----------</option>
							{$yearsel}
						</select>
						{$gobutton}
						<br /><br />
						<span class="smalltext"><strong>{$lang->jump_to_calendar}</strong></span>
						{$calendar_jump}
						{$gobutton}
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="calendar_dayview_event" version="1400"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td class="thead"><strong>{$event['name']}</strong></td>
	</tr>
	<tr>
		<td class="tcat"><strong>{$time_period}</strong></td>
	</tr>
	<tr>
		<td class="trow1{$event_class}">
			<div style="float: left;">
				<strong><span class="largetext">{$event['profilelink']}</span></strong><br />
				<span class="smalltext">
					{$event['usertitle']}<br />
					{$event['userstars']}
				</span>
			</div>
			<div style="float: right; text-align: right;">
				{$moderator_options}
				{$repeats}
			</div>
			<br style="clear: both;" />
		</td>
	</tr>
	<tr>
		<td class="trow2{$event_class}">
			<p>{$event['description']}</p>
			{$edit_event}
		</td>
	</tr>
</table>
<br />
]]></template>
		<template name="calendar_event_editbutton" version="1400"><![CDATA[<div style="text-align: right; vertical-align: bottom;">
	<a href="calendar.php?action=editevent&amp;eid={$event['eid']}"><img src="{$theme['imglangdir']}/postbit_edit.gif" border="0" alt="{$lang->alt_edit}" title="{$lang->alt_edit}" /></a>
	<a href="javascript:MyBB.deleteEvent({$event['eid']});"><img src="{$theme['imglangdir']}/postbit_delete.gif" border="0" alt="{$lang->alt_delete}" title="{$lang->alt_delete}" /></a>
</div>
]]></template>
		<template name="calendar_dayview_birthdays" version="1400"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->birthdays_on_day}</strong></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">{$birthday_list}</span></td>
</tr>
</table>
<br />
]]></template>
		<template name="calendar_dayview_birthdays_bday" version="1400"><![CDATA[{$comma}{$birthday['profilelink']}{$age}]]></template>
		<template name="warnings" version="1400"><![CDATA[<html>
<head>
	<title>{$mybb->settings['bbname']} - {$lang->warning_log}</title>
	{$headerinclude}
</head>
<body>
	{$header}

	{$multipage}
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<thead>
			<tr>
				<td class="thead" colspan="5">
					<div class="float_right">{$lang->current_warning_level}</div>
					<div><strong>{$lang->warning_log}</strong></div>
				</td>
			</tr>
			<tr>
				<td class="tcat"><span class="smalltext"><strong>{$lang->warning}</strong></span></td>
				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->date_issued}</strong></span></td>
				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->expiry_date}</strong></span></td>
				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->issued_by}</strong></span></td>
				<td class="tcat" width="1" align="center"><span class="smalltext"><strong>{$lang->details}</strong></span></td>
			</tr>
		</thead>
		<tbody>
		{$warnings}
		</tbody>
	</table>
	{$multipage}

{$footer}
</body>
</html>]]></template>
		<template name="warnings_warning" version="1400"><![CDATA[			<tr>
				<td class="{$alt_bg}">{$warning_type} {$points}{$post_link}</td>
				<td class="{$alt_bg}" align="center">{$date_issued}</td>
				<td class="{$alt_bg}" align="center">{$expires}</td>
				<td class="{$alt_bg}" align="center">{$issuedby}</td>
				<td class="{$alt_bg}" align="center"><a href="warnings.php?action=view&amp;wid={$warning['wid']}">{$lang->view}</a></td>
			</tr>]]></template>
		<template name="warnings_active_header" version="1400"><![CDATA[			<tr>
				<td class="trow_sep" colspan="5">{$lang->active_warnings}</td>
			</tr>]]></template>
		<template name="warnings_expired_header" version="1400"><![CDATA[			<tr>
				<td class="trow_sep" colspan="5">{$lang->expired_warnings}</td>
			</tr>]]></template>
		<template name="warnings_no_warnings" version="1400"><![CDATA[			<tr>
				<td class="trow1" colspan="5" align="center">{$lang->no_warnings}</td>
			</tr>]]></template>
		<template name="warnings_warn_existing" version="1400"><![CDATA[	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<thead>
			<tr>
				<td class="thead" colspan="5">
					<div><strong>{$lang->existing_post_warnings}</strong></div>
				</td>
			</tr>
			<tr>
				<td class="tcat"><span class="smalltext"><strong>{$lang->warning}</strong></span></td>
				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->date_issued}</strong></span></td>
				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->expiry_date}</strong></span></td>
				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->issued_by}</strong></span></td>
				<td class="tcat" width="1" align="center"><span class="smalltext"><strong>{$lang->details}</strong></span></td>
			</tr>
		</thead>
		<tbody>
		{$warnings}
		</tbody>
	</table><br />]]></template>
		<template name="warnings_warn" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->warn_user}</title>
{$headerinclude}
</head>
<body>
{$header}
{$existing_warnings}
{$warn_errors}
<form action="warnings.php" method="post" name="input">
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	<input type="hidden" name="action" value="do_warn" />
	<input type="hidden" name="uid" value="{$user['uid']}" />

	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
		<tr>
			<td colspan="2" width="100%" class="thead"><strong>{$lang->warn_user}</strong></td>
		</tr>
		<tr>
			<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->warn_user_desc}</strong></span></td>
		</tr>
		<tr>
			<td width="20%" class="trow1"><strong>{$lang->username}</strong></td>
			<td class="trow1">{$user_link}</td>
		</tr>
{$post}
		<tr>
			<td width="20%" class="trow1" valign="top"><strong>{$lang->warning_note}</strong></td>
			<td class="trow1"><textarea name="notes" cols="60" rows="4">{$notes}</textarea></td>
		</tr>
		<tr>
			<td width="20%" class="trow2" valign="top"><strong>{$lang->warning_type}</strong></td>
			<td class="trow2">
				<script type="text/javascript">
				// <!--
					function checkType()
					{
						var checked = '';
						$$('.types_check').each(function(e)
						{
							if(e.checked == true)
							{
								checked = e.value;
							}
						});
						$$('.types').each(function(e)
						{
							Element.hide(e);
						});
						if($('type_'+checked))
						{
							Element.show('type_'+checked);
						}
					}
				// -->
				</script>
				<dl style="margin-top: 0; margin-bottom: 0; width: 100%;">
					{$types}
					{$custom_warning}
				</dl>
				<script type="text/javascript">
				// <!--
					checkType();
				// -->
				</script>
			</td>
		</tr>
		{$pm_notify}
	</table>
	<br />
	<div align="center"><input type="submit" class="button" value="{$lang->warn_user}" /></div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="warnings_warn_type" version="1400"><![CDATA[					<dt><label style="display: block;"><input type="radio" name="type" value="{$type['tid']}" {$type_checked[$type['tid']]} class="types_check" onclick="checkType();" style="vertical-align: middle;" /> <strong>{$type['title']}</strong> $points</label></dt>
					<dd style="margin-top: 4px;" id="type_{$type['tid']}" class="types">
						<div class="smalltext">{$lang->new_warning_level}</div>
						<div class="tborder" style="width: 150px; float: left; margin: 0; padding: 1px;">
							<div class="trow1" style="width: {$current_level}%; float: left; ">&nbsp;</div>
							<div class="trow2" style="width: {$level_diff}%; float: left;">&nbsp;</div>
						</div>
						<div style="padding-left: 10px; font-weight: bold; float: left;">{$new_warning_level}%</div><br style="clear: left;" />
						{$result}
					</dd>]]></template>
		<template name="warnings_warn_custom" version="1400"><![CDATA[					<dt><label style="display: block;"><input type="radio" name="type" value="custom" {$type_checked['custom']} class="types_check" onclick="checkType();" style="vertical-align: middle;" /> <strong>{$lang->custom}</strong></label></dt>
					<dd style="margin-top: 4px;" id="type_custom" class="types">
						<table>
						<tr>
							<td class="smalltext">{$lang->reason}</td>
							<td class="smalltext">{$lang->points}</td>
						</tr>
						<tr>
							<td><input type="text" class="textbox" name="custom_reason" size="50" maxlength="120" value="{$custom_reason}" /></td>
							<td><input type="text" class="textbox" name="custom_points" size="2" value="{$custom_points}" /></td>
						</tr>
						<tr>
							<td class="smalltext" colspan="2" style="padding-top: 4px;">{$lang->expires}</td>
						</tr>
						<tr>
							<td colspan="2">
								<input type="text" class="textbox" name="expires" size="2" value="{$expires}" />
								<select name="expires_period">
									<option value="hours" {$expires_period['hours']}>{$lang->hour_or_hours}</option>
									<option value="days" {$expires_period['days']}>{$lang->day_or_days}</option>
									<option value="weeks" {$expires_period['weeks']}>{$lang->week_or_weeks}</option>
									<option value="months" {$expires_period['months']}>{$lang->month_or_months}</option>
									<option value="never" {$expires_period['never']}>{$lang->never}</option>
								</select>
							</td>
						</tr>
						</table>
					</dd>]]></template>
		<template name="warnings_warn_pm" version="1402"><![CDATA[		<tr>
			<td width="20%" class="trow1" valign="top">
				<strong>{$lang->send_pm}</strong>
				<div style="margin:auto" id="pm_smilie_insert">{$smilieinserter}</div>
			</td>
			<td class="trow1">
				<script type="text/javascript">
				// <!--
					var mybb_editor_disabled = true;
					var clickableEditor = '';
					function togglePM()
					{
						if($('send_pm').checked == true)
						{
							$('pm_input').show();
							$('pm_smilie_insert').show();
							if(mybb_editor_disabled == true && editor_language)
							{
								mybb_editor_disabled = false;
								clickableEditor = new messageEditor("message", {lang: editor_language, rtl: {$lang->settings['rtl']}, theme: "{$theme['editortheme']}"});
								if(clickableEditor)
								{
									clickableEditor.bindSmilieInserter("clickable_smilies");
								}
							}
						}
						else
						{
							$('pm_input').hide();
							$('pm_smilie_insert').hide();
						}
					}
				// -->
				</script>
				<label style="display: block;"><input type="checkbox" class="checkbox" value="1" name="send_pm" id="send_pm" onclick="togglePM();" style="vertical-align: middle;" {$send_pm_checked} /> {$lang->send_user_warning_pm}</label>
				<table id="pm_input" cellpadding="{$theme['tablespace']}">
					<tr>
						<td><strong>{$lang->send_pm_subject}</strong></td>
						<td><input type="text" class="textbox" name="pm_subject" size="40" maxlength="85" value="{$pm_subject}" /></td>
					</tr>
					<tr>
						<td valign="top"><strong>{$lang->send_pm_message}</strong></td>
						<td><textarea name="pm_message" id="message" rows="20" cols="70">{$message}</textarea>
						{$codebuttons}</td>
					</tr>
				</table>
				<script type="text/javascript">
				<!--
					togglePM();
				// -->
				</script>
			</td>
		</tr>]]></template>
		<template name="warnings_warn_post" version="1400"><![CDATA[		<tr>
			<td width="20%" class="trow2"><strong>{$lang->post}</strong></td>
			<td class="trow2"><input type="hidden" name="pid" value="{$post['pid']}" /><a href="{$post_link}">{$post['subject']}</a></td>
		</tr>]]></template>
		<template name="usercp_warnings" version="1400"><![CDATA[	<br />
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<thead>
			<tr>
				<td class="thead" colspan="4">
					<div class="float_right">{$lang->current_warning_level}</div>
					<div><strong>{$lang->latest_warnings}</strong></div>
				</td>
			</tr>
			<tr>
				<td class="tcat"><span class="smalltext"><strong>{$lang->warning}</strong></span></td>
				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->date_issued}</strong></span></td>
				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->expiry_date}</strong></span></td>
				<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->issued_by}</strong></span></td>
			</tr>
		</thead>
		<tbody>
		{$warnings}
		</tbody>
	</table>
]]></template>
	<template name="usercp_warnings_warning" version="1400"><![CDATA[			<tr>
				<td class="{$alt_bg}">{$warning_type} {$points}{$post_link}</td>
				<td class="{$alt_bg}" align="center">{$date_issued}</td>
				<td class="{$alt_bg}" align="center">{$expires}</td>
				<td class="{$alt_bg}" align="center">{$issuedby}</td>
	</tr>]]></template>
	<template name="postbit_warninglevel" version="1400"><![CDATA[<br />{$lang->postbit_warning_level} <a href="{$warning_link}">{$warning_level}</a>]]></template>
	<template name="postbit_warn" version="1400"><![CDATA[<a href="warnings.php?action=warn&amp;uid={$post['uid']}&amp;pid={$post['pid']}"><img src="{$theme['imglangdir']}/postbit_warn.gif" alt="{$lang->postbit_warn}" title="{$lang->postbit_warn}" /></a>]]></template>
	<template name="member_profile_referrals" version="1600"><![CDATA[<tr>
<td class="{$bg_color}"><strong>{$lang->members_referred}</strong></td>
<td class="{$bg_color}">{$memprofile['referrals']}</td>
</tr>]]></template>
	<template name="member_profile_warninglevel" version="1600"><![CDATA[<tr>
	<td class="{$bg_color}"><strong>{$lang->warning_level}</strong></td>
	<td class="{$bg_color}"><a href="{$warning_link}">{$warning_level}</a> {$warn_user}</td>
</tr>]]></template>
		<template name="member_profile_warn" version="1400"><![CDATA[[<a href="warnings.php?action=warn&amp;uid={$memprofile['uid']}">{$lang->warn}</a>]]]></template>
		<template name="warnings_view" version="1400"><![CDATA[<html>
<head>
	<title>{$mybb->settings['bbname']} - {$lang->warning_log}</title>
	{$headerinclude}
</head>
<body>
	{$header}

	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="thead" colspan="2">
				<div class="float_right">{$status}</div>
				<div><strong>{$lang->warning_details}</strong></div>
			</td>
		</tr>
		{$warning_info}
		<tr>
			<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->warning}</strong></span></td>
			<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->date_issued}<strong></span></td>
		</tr>
		<tr>
			<td class="trow2">{$warning_type} {$points}</td>
			<td class="trow2">{$date_issued}</td>
		</tr>
		<tr>
			<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->issued_by}</strong></span></td>
			<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->expiry_date}<strong></span></td>
		</tr>
		<tr>
			<td class="trow1">{$issuedby}</td>
			<td class="trow1">{$expires} {$revoked_date}</td>
		</tr>
		<tr>
			<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->warning_note}</strong></span></td>
		</tr>
		<tr>
			<td class="trow2" colspan="2">{$notes}</td>
		</tr>
	</table>

	{$revoke}

{$footer}
</body>
</html>]]></template>
		<template name="warnings_view_post" version="1400"><![CDATA[		<tr>
			<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
			<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->post}<strong></span></td>
		</tr>
		<tr>
			<td class="trow1">{$user_link}</td>
			<td class="trow1"><a href="{$post_link}">{$warning['post_subject']}</a></td>
		</tr>]]></template>
		<template name="warnings_view_user" version="1400"><![CDATA[		<tr>
			<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
		</tr>
		<tr>
			<td class="trow1" colspan="2">{$user_link}</td>
		</tr>
]]></template>
		<template name="warnings_view_revoke" version="1400"><![CDATA[<br />
{$warn_errors}
<form action="warnings.php" method="post" name="input">
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	<input type="hidden" name="action" value="do_revoke" />
	<input type="hidden" name="wid" value="{$warning['wid']}" />

	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
		<tr>
			<td colspan="2" class="thead"><strong>{$lang->revoke_warning}</strong></td>
		</tr>
		<tr>
			<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->revoke_warning_desc}</strong></span></td>
		</tr>
		<tr>
			<td class="trow1" width="20%" valign="top"><strong>{$lang->reason}</strong></td>
			<td class="trow1"><textarea name="reason" cols="60" rows="4"></textarea></td>
		</tr>
	</table>
	<br />
	<div align="center"><input type="submit" class="button" value="{$lang->revoke_warning}" /></div>
</form>]]></template>
		<template name="warnings_view_revoked" version="1400"><![CDATA[<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
	<tr>
		<td class="thead" colspan="2"><strong>{$lang->warning_is_revoked}</strong></td>
	</tr>
	<tr>
		<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->revoked_by}</strong></span></td>
		<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->date_revoked}</strong></span></td>
	</tr>
	<tr>
		<td class="trow1">{$revoked_by}</td>
		<td class="trow1">{$date_revoked}</td>
	</tr>
	<tr>
		<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->reason}</strong></span></td>
	</tr>
	<tr>
		<td class="trow2" colspan="2">{$revoke_reason}</td>
	</tr>
</table>]]></template>
		<template name="xmlhttp_buddyselect" version="1405"><![CDATA[<table border="0" cellspacing="1" cellpadding="4" class="tborder" style="width: 300px;">
	<thead>
		<tr>
			<td class="thead">
				<div class="float_right" style="margin-top: 3px;"><span class="smalltext"><a href="#" onclick="UserCP.closeBuddySelect(true); return false;">{$lang->close}</a></span></div>
				<div><strong>{$lang->select_buddies}</strong></div>
			</td>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td class="trow1 smalltext">{$lang->select_buddies_desc}</td>
		</tr>
		<tr>
			<td class="trow2">
				<div style="height: 200px; overflow: auto;" >
				<table border="0" cellspacing="1" cellpadding="4" class="tborder" style="border: 0; width: 270px;" align="right">
				{$online}
				{$offline}
				</table>
				</div>
			</td>
		</tr>
		<tr>
			<td class="trow1">
				<div class="smalltext"><strong>{$lang->selected_recipients}</strong></div>
				<div id="buddyselect_buddies" class="smalltext" style="padding-left: 10px; height: 50px; overflow: auto;"></div>
				<div style="text-align: right;"><input type="button" class="button" value="{$lang->ok}" onclick="UserCP.closeBuddySelect();" /> <input type="button" class="button" value="{$lang->cancel}" onclick="UserCP.closeBuddySelect(true);" /></div>
			</td>
		</tr>
	</tbody>
</table>]]></template>
		<template name="xmlhttp_buddyselect_online" version="1400"><![CDATA[					<tr>
						<td class="trow1" onmouseover="this.className='trow2';" onmouseout="this.className='trow1';"><label><input type="checkbox" style="vertical-align: middle;" id="checkbox_{$buddy['uid']}" onclick="UserCP.selectBuddy('{$buddy['uid']}', '{$buddy['username']}');" /> <img src="{$theme['imgdir']}/buddy_online.gif" alt="({$lang->online})" title="{$lang->online}" style="vertical-align: middle;" /> {$buddy_name}</label></td>
					</tr>]]></template>
		<template name="xmlhttp_buddyselect_offline" version="1400"><![CDATA[					<tr>
						<td class="trow1" onmouseover="this.className='trow2';" onmouseout="this.className='trow1';"><label><input type="checkbox" style="vertical-align: middle;" id="checkbox_{$buddy['uid']}" onclick="UserCP.selectBuddy('{$buddy['uid']}', '{$buddy['username']}');" /> <img src="{$theme['imgdir']}/buddy_offline.gif" alt="({$lang->offline})" title="{$lang->offline}" style="vertical-align: middle;" /> {$buddy_name}</label></td>
					</tr>]]></template>
		<template name="private_send_buddyselect" version="1400"><![CDATA[<script type="text/javascript"><!--
document.write('<br /><span class="smalltext"><a href="#" onclick="UserCP.openBuddySelect(\'{$buddy_select}\');"><img src="{$theme['imgdir']}/buddies.gif" alt="" style="vertical-align: middle;" alt="" title="{$lang->select_from_buddies}" /> {$lang->select_from_buddies}</a></span>');
// --></script>]]></template>
	<template name="forumdisplay_announcements_announcement_modbit" version="128"><![CDATA[<td align="center" class="{$bgcolor}">-</td>]]></template>
	<template name="calendar_dayview_noevents" version="1400"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">{$lang->no_events}</td>
</tr>
</table>]]></template>
	<template name="forumbit_depth2_forum_lastpost" version="1400"><![CDATA[<span class="smalltext">
<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />{$lastpost_date} {$lastpost_time}<br />{$lang->by} {$lastpost_profilelink}</span>
]]></template>
	<template name="forumbit_depth1_forum_lastpost" version="1400"><![CDATA[<span class="smalltext">
<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />{$lastpost_date} {$lastpost_time}<br />{$lang->by} {$lastpost_profilelink}</span>
]]></template>
		<template name="member_register_coppa" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->coppa_compliance}</title>
{$headerinclude}
</head>
<body>
{$header}
<br />
<form action="member.php" method="post">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$mybb->settings['bbname']} - {$lang->coppa_compliance}</strong></td>
</tr>
<tr>
<td class="trow1">
{$lang->coppa_desc}
<div style="width: 400px; margin: auto; margin-bottom: 15px;">
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td colspan="1" class="thead"><strong>{$lang->date_of_birth}</strong></td>
		</tr>
		<tr>
			<td class="trow1">
				<table cellpadding="4" border="0" align="center">
					<tr>
						<td class="smalltext"><label for="day">{$lang->day}:</label></td>
						<td class="smalltext"><label for="month">{$lang->month}:</label></td>
						<td class="smalltext"><label for="year">{$lang->year}:</label></td>
					</tr>
					<tr>
						<td>
							<select name="bday1" id="day">
								<option value="">&nbsp;</option>
								{$bdaysel}
							</select>
						</td>
						<td>
							<select name="bday2" id="month">
								<option value="">&nbsp;</option>
								<option value="1" {$bdaymonthsel['1']}>{$lang->month_1}</option>
								<option value="2" {$bdaymonthsel['2']}>{$lang->month_2}</option>
								<option value="3" {$bdaymonthsel['3']}>{$lang->month_3}</option>
								<option value="4" {$bdaymonthsel['4']}>{$lang->month_4}</option>
								<option value="5" {$bdaymonthsel['5']}>{$lang->month_5}</option>
								<option value="6" {$bdaymonthsel['6']}>{$lang->month_6}</option>
								<option value="7" {$bdaymonthsel['7']}>{$lang->month_7}</option>
								<option value="8" {$bdaymonthsel['8']}>{$lang->month_8}</option>
								<option value="9" {$bdaymonthsel['9']}>{$lang->month_9}</option>
								<option value="10" {$bdaymonthsel['10']}>{$lang->month_10}</option>
								<option value="11" {$bdaymonthsel['11']}>{$lang->month_11}</option>
								<option value="12" {$bdaymonthsel['12']}>{$lang->month_12}</option>
							</select>
						</td>
						<td>
							<input type="text" class="textbox" size="4" maxlength="4" name="bday3" id="year" value="{$mybb->input['bday3']}" />
						</td>
					</tr>
				</table>
				<div class="smalltext" style="text-align: center;">{$lang->hide_dob}</div>
			</td>
		</tr>
	</table>
</div>
</td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="register" />
<input type="submit" class="button" name="agree" value="{$lang->continue_registration}" />
</div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="member_coppa_form" version="1400"><![CDATA[<html>
<head>
	<title>{$mybb->settings['bbname']} - {$lang->coppa_compliance}</title>
	<style type="text/css">
		body { font-family: Verdana, Arial, sans-serif; font-size: 13px; }
		.largetext, h1 { font-family: Verdana, Arial, sans-serif; font-size: medium; font-weight: bold; margin: 0; }
		.grey { color: #ccc; }
		dl { margin-left: 40px; }
		dt { width: 150px; float: left; clear: left; font-weight: bold; }
		dd { margin-bottom: 20px; margin-left: 150px; }
		dd.single { margin-left: 0; }
		input.textbox { border: 0; border-bottom: 1px solid #000; font-size: 16px; width: 350px; }
		input.date { width: 80px; }
	</style>
</head>
<body>
	<div style="float: right; text-align: center; padding-bottom: 10px;" class="largetext">
		{$mybb->settings['bbname']}<br /><span class="grey">{$lang->coppa_registration}</span>
	</div>
	<div style="padding-bottom: 10px;"><a href="index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" border="0" /></a></div>
	<hr size="1" style="clear: both;" />

	<p>{$lang->coppa_form_instructions}</p>

	<dl>
		<dt>{$lang->fax_number}</dt>
		<dd>{$mybb->settings['faxno']}</dd>

		<dt>{$lang->mailing_address}</dt>
		<dd>{$mybb->settings['mailingaddress']}</dd>
	</dl>

	<h1 style="clear: both;" />{$lang->account_information}</h1>
	<dl>
		<dt><label for="username">{$lang->username}</label></dt>
		<dd><input type="text" class="textbox" id="username" /></dd>

		<dt><label for="email">{$lang->email}</label></dt>
		<dd><input type="text" class="textbox" id="email" /></dd>
	</dl>
	<h1 style="clear: both;" />{$lang->parent_details}</h1>
	<dl>
		<dt><label for="name">{$lang->full_name}</label></dt>
		<dd><input type="text" class="textbox" id="name" /></dd>

			<dt><label for="relation">{$lang->relation}</label></dt>
		<dd><input type="text" class="textbox" id="relation" /></dd>

		<dt><label for="phone">{$lang->phone_no}</label></dt>
		<dd><input type="text" class="textbox" id="phone" /></dd>

		<dt><label for="parent_email">{$lang->email}</label></dt>
		<dd><input type="text" class="textbox" id="parent_email" /></dd>

		<dd class="single">{$lang->coppa_parent_agreement}</dd>

		<dt><label for="signature">{$lang->signature}</label></dt>
		<dd><input type="text" class="textbox" id="signature" /> Date: <input type="text" class="textbox date" id="date" /></dd>
	</dl>
</body>
</html>]]></template>
		<template name="member_register_agreement_coppa" version="1400"><![CDATA[<tr>
	<td class="tcat"><strong>{$lang->coppa_compliance}</strong></td>
</tr>
<tr>
	<td class="trow1">
		<p>{$lang->coppa_agreement_1}</p>
		<p>{$lang->coppa_agreement_2}</p>
		<p>{$lang->coppa_agreement_3}</p>
	</td>
</tr>]]></template>
		<template name="modcp_modqueue_noresults" version="1400"><![CDATA[<tr>
	<td class="trow1" align="center" colspan="{$colspan}">{$lang->error_no_results}</td>
</tr>]]></template>
		<template name="modcp_modqueue_threads" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->threads_awaiting_moderation}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="modcp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="do_modqueue" />
<table width="100%" border="0" align="center">
<tr>
{$modcp_nav}
<td valign="top">
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="thead" colspan="3">
				<div class="float_right">
					<strong>{$lang->threads}</strong> |
					<a href="modcp.php?action=modqueue&amp;type=posts">{$lang->posts}</a> |
					<a href="modcp.php?action=modqueue&amp;type=attachments">{$lang->attachments}</a>
				</div>
				<strong>{$lang->threads_awaiting_moderation}</strong>
			</td>
		</tr>
		<tr>
			<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->subject}</strong></span></td>
			<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->author}</strong></span></td>
			<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->date}</strong></span></td>
		</tr>
		{$threads}
		</table>
{$multipage}
{$mass_controls}
<br />
<div align="center"><input type="submit" class="button" name="reportsubmit" value="{$lang->perform_actions}" /></div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="modcp_modqueue_threads_thread" version="1400"><![CDATA[			<tr>
				<td class="{$altbg}"><a href="{$thread['threadlink']}">{$thread['subject']}</a></td>
				<td class="{$altbg}" align="center">{$profile_link}</td>
				<td align="center" class="{$altbg}">{$threaddate}, {$threadtime}</td>
			</tr>
			<tr>
				<td class="{$altbg}" colspan="3">
					<div class="modqueue_message">
						<div class="float_right modqueue_controls">
							<label class="label_radio_ignore"><input type="radio" class="radio radio_ignore" name="threads[{$thread['tid']}]" value="ignore" checked="checked" /> {$lang->ignore}</label>
							<label class="label_radio_delete"><input type="radio" class="radio radio_delete" name="threads[{$thread['tid']}]" value="delete" /> {$lang->delete}</label>
							<label class="label_radio_approve"><input type="radio" class="radio radio_approve" name="threads[{$thread['tid']}]" value="approve" /> {$lang->approve}</label>
						</div>
						<div class="modqueue_meta">
							{$forum}
						</div>
						{$thread['postmessage']}
					</div>
				</td>
			</tr>
]]></template>
		<template name="modcp_modqueue_posts" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->posts_awaiting_moderation}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="modcp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="do_modqueue" />
<table width="100%" border="0" align="center">
<tr>
{$modcp_nav}
<td valign="top">
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="thead" colspan="3">
				<div class="float_right">
					<a href="modcp.php?action=modqueue&amp;type=threads">{$lang->threads}</a> |
					<strong>{$lang->posts}</strong> |
					<a href="modcp.php?action=modqueue&amp;type=attachments">{$lang->attachments}</a>
				</div>
				<strong>{$lang->posts_awaiting_moderation}</strong>
			</td>
		</tr>
		<tr>
			<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->subject}</strong></span></td>
			<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->author}</strong></span></td>
			<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->date}</strong></span></td>
		</tr>
		{$posts}
		</table>
{$multipage}
{$mass_controls}
<br />
<div align="center"><input type="submit" class="button" name="reportsubmit" value="{$lang->perform_actions}" /></div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="modcp_modqueue_posts_post" version="1400"><![CDATA[			<tr>
				<td class="{$altbg}"><a href="{$post['postlink']}#pid{$post['pid']}">{$post['subject']}</a></td>
				<td class="{$altbg}" align="center">{$profile_link}</td>
				<td align="center" class="{$altbg}">{$postdate}, {$posttime}</td>
			</tr>
			<tr>
				<td class="{$altbg}" colspan="3">
					<div class="modqueue_message">
						<div class="float_right modqueue_controls">
							<label class="label_radio_ignore"><input type="radio" class="radio radio_ignore" name="posts[{$post['pid']}]" value="ignore" checked="checked" /> {$lang->ignore}</label>
							<label class="label_radio_delete"><input type="radio" class="radio radio_delete" name="posts[{$post['pid']}]" value="delete" /> {$lang->delete}</label>
							<label class="label_radio_approve"><input type="radio" class="radio radio_approve" name="posts[{$post['pid']}]" value="approve" /> {$lang->approve}</label>
						</div>
						<div class="modqueue_meta">
							{$forum}{$thread}
						</div>
						{$post['message']}
					</div>
				</td>
			</tr>
]]></template>
		<template name="modcp_modqueue_attachments" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->attachments_awaiting_moderation}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="modcp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="do_modqueue" />
<table width="100%" border="0" align="center">
<tr>
{$modcp_nav}
<td valign="top">
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="thead" colspan="6">
				<div class="float_right">
					<a href="modcp.php?action=modqueue&amp;type=threads">{$lang->threads}</a> |
					<a href="modcp.php?action=modqueue&amp;type=posts">{$lang->posts}</a> |
					<strong>{$lang->attachments}</strong>
				</div>
				<strong>{$lang->attachments_awaiting_moderation}</strong>
			</td>
		</tr>
		<tr>
			<td class="tcat"><span class="smalltext"><strong>{$lang->filename}</strong></span></td>
			<td class="tcat" align="center" width="20%"><span class="smalltext"><strong>{$lang->author}</strong></span></td>
			<td class="tcat" align="center" width="20%"><span class="smalltext"><strong>{$lang->date}</strong></span></td>
			<td class="tcat" align="center" colspan="3"><span class="smalltext"><strong>{$lang->controls}</strong></span></td>
		</tr>
		{$attachments}
		</table>
{$multipage}
{$mass_controls}
<br />
<div align="center"><input type="submit" class="button" name="reportsubmit" value="{$lang->perform_actions}" /></div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="modcp_modqueue_attachments_attachment" version="1400"><![CDATA[			<tr>
				<td class="{$altbg}"><a href="attachment.php?aid={$attachment['aid']}" target="_blank">{$attachment['filename']}</a> ({$attachment['filesize']})<br /><small class="modqueue_meta">Post: <a href="{$link}">{$attachment['postsubject']}</a></small></td>
				<td class="{$altbg}" align="center">{$profile_link}</td>
				<td align="center" class="{$altbg}">{$attachdate}, {$attachtime}</td>
				<td class="{$altbg}" align="center"><label class="label_radio_ignore"><input type="radio" class="radio radio_ignore" name="attachments[{$attachment['aid']}]" value="ignore" checked="checked" /> {$lang->ignore}</label></td>
				<td class="{$altbg}" align="center"><label class="label_radio_delete"><input type="radio" class="radio radio_delete" name="attachments[{$attachment['aid']}]" value="delete" /> {$lang->delete}</label></td>
				<td class="{$altbg}" align="center"><label class="label_radio_approve"><input type="radio" class="radio radio_approve" name="attachments[{$attachment['aid']}]" value="approve" /> {$lang->approve}</label></td>
			</tr>
]]></template>
		<template name="modcp_editprofile" version="1600"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->edit_profile}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	var mod_posts = '{$modpost_check}';
	var susp_posts = '{$suspost_check}';
// -->
</script>
</head>
<body>
	{$header}
	<form action="modcp.php" method="post">
		<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
		<table width="100%" border="0" align="center">
			<tr>
				{$modcp_nav}
				<td valign="top">
					{$errors}
					<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
						<tr>
							<td class="thead" colspan="2"><strong>{$lang->edit_profile}</strong></td>
						</tr>
						<tr>
							<td width="50%" class="trow1" valign="top">
								<fieldset class="trow2">
									<legend><strong>{$lang->profile_required}</strong></legend>
									<table cellspacing="0" cellpadding="{$theme['tablespace']}">
										<tr>
											<td><span class="smalltext">{$lang->current_username}</span></td>
										</tr>
										<tr>
											<td><strong>{$profile_link}</strong></td>
										</tr>
										{$requiredfields}
									</table>
								</fieldset>
								<br />
								<fieldset class="trow2">
									<legend><strong>{$lang->profile_optional}</strong></legend>
									<table cellspacing="0" cellpadding="{$theme['tablespace']}">
										<tr>
											<td colspan="3"><span class="smalltext"><label><input type="checkbox" class="checkbox" name="remove_avatar" value="1" /> {$lang->remove_avatar}</label></span></td>
										</tr>

										<tr>
											<td colspan="3"><span class="smalltext">{$lang->birthday}</span></td>
										</tr>
										<tr>
											<td>
												<select name="birthday_day">
													<option value="">&nbsp;</option>
													{$bdaydaysel}
												</select>
											</td>
											<td>
												<select name="birthday_month">
													<option value="">&nbsp;</option>
													<option value="1" {$bdaymonthsel['1']}>{$lang->month_1}</option>
													<option value="2" {$bdaymonthsel['2']}>{$lang->month_2}</option>
													<option value="3" {$bdaymonthsel['3']}>{$lang->month_3}</option>
													<option value="4" {$bdaymonthsel['4']}>{$lang->month_4}</option>
													<option value="5" {$bdaymonthsel['5']}>{$lang->month_5}</option>
													<option value="6" {$bdaymonthsel['6']}>{$lang->month_6}</option>
													<option value="7" {$bdaymonthsel['7']}>{$lang->month_7}</option>
													<option value="8" {$bdaymonthsel['8']}>{$lang->month_8}</option>
													<option value="9" {$bdaymonthsel['9']}>{$lang->month_9}</option>
													<option value="10" {$bdaymonthsel['10']}>{$lang->month_10}</option>
													<option value="11" {$bdaymonthsel['11']}>{$lang->month_11}</option>
													<option value="12" {$bdaymonthsel['12']}>{$lang->month_12}</option>
												</select>
											</td>
											<td>
												<input type="text" class="textbox" size="4" maxlength="4" name="birthday_year" value="{$mybb->input['birthday_year']}" />
											</td>
										</tr>
										<tr>
											<td colspan="3"><span class="smalltext">{$lang->website_url}</span></td>
										</tr>
										<tr>
											<td colspan="3"><input type="text" class="textbox" name="website" size="25" maxlength="75" value="{$mybb->input['website']}" /></td>
										</tr>
									</table>
								</fieldset>
								{$customfields}
							</td>
							<td width="50%" class="trow1" valign="top">
								<fieldset class="trow2">
									<legend><strong>{$lang->custom_usertitle}</strong></legend>
									<table cellspacing="0" cellpadding="{$theme['tablespace']}">
										<tr>
											<td><span class="smalltext">{$lang->custom_usertitle_note}</span></td>
										</tr>
										<tr>
											<td><span class="smalltext">{$lang->default_usertitle}</span></td>
										</tr>
										<tr>
											<td><span class="smalltext"><strong>{$defaulttitle}</strong></span></td>
										</tr>
										<tr>
											<td><span class="smalltext">{$lang->current_custom_usertitle}</span></td>
										</tr>
										<tr>
											<td><span class="smalltext"><strong>{$user['usertitle']}</strong></span></td>
										</tr>
										<tr>
											<td><span class="smalltext">{$lang->new_custom_usertitle}</span></td>
										</tr>
										<tr>
											<td><input type="text" class="textbox" name="usertitle" size="25" maxlength="{$mybb->settings['customtitlemaxlength']}" value="{$newtitle}" /></td>
										</tr>
										<tr>
											<td><span class="smalltext"><input type="checkbox" name="reverttitle" id="reverttitle" class="checkbox" /> {$lang->revert_usertitle}</span></td>
										</tr>
									</table>
								</fieldset>
								<br />
								<fieldset class="trow2">
									<legend><strong>{$lang->additional_contact_details}</strong></legend>
									<table cellspacing="0" cellpadding="{$theme['tablespace']}">
										<tr>
											<td><span class="smalltext">{$lang->icq_number}</span></td>
										</tr>
										<tr>
											<td><input type="text" class="textbox" name="icq" size="25" value="{$mybb->input['icq']}" /></td>
										</tr>
										<tr>
											<td><span class="smalltext">{$lang->aim_screenname}</span></td>
										</tr>
										<tr>
											<td><input type="text" class="textbox" name="aim" size="25" value="{$mybb->input['aim']}" /></td>
										</tr>
										<tr>
											<td><span class="smalltext">{$lang->msn}</span></td>
										</tr>
										<tr>
											<td><input type="text" class="textbox" name="msn" size="25" value="{$mybb->input['msn']}" /></td>
										</tr>
										<tr>
											<td><span class="smalltext">{$lang->yahoo_id}</span></td>
										</tr>
										<tr>
											<td><input type="text" class="textbox" name="yahoo" size="25" value="{$mybb->input['yahoo']}" /></td>
										</tr>
									</table>
								</fieldset>
								<br />
								<fieldset class="trow2">
									<legend><strong>{$lang->moderation}</strong></legend>
									<table cellspacing="0" cellpadding="{$theme['tablespace']}" width="100%">
										<tr>
											<td>
<dl style="margin-top: 0; margin-bottom: 0;">
<dt><label><input type="checkbox" name="moderateposting" value="1" {$modpost_checked} class="checkbox" onclick="toggleSuspend('modposts');" id="modpost" /> {$lang->moderate_posts}</label></dt>
<dd style="margin-top: 4px;" id="modposts_action">
<table cellpadding="4">
{$moderateposts_info}
	<tr>
		<td width="35%">{$lang->modpost_length}</td>
		<td><input type="text" name="modpost_time" value="{$mybb->input['modpost_time']}" class="textbox" style="width: 2em;" /> {$modpost_options}</td>
	</tr>
</table>
</dd>
</dl>
											</td>
										</tr>
										<tr>
											<td>
<dl style="margin-top: 0; margin-bottom: 0;">
<dt><label><input type="checkbox" name="suspendposting" value="1" {$suspost_checked} class="checkbox" onclick="toggleSuspend('susposts');" id="suspost" /> {$lang->suspend_posts}</label></dt>
<dd style="margin-top: 4px;" id="susposts_action">
<table cellpadding="4">
{$suspendposting_info}
	<tr>
		<td width="35%">{$lang->suspost_length}</td>
		<td><input type="text" name="suspost_time" value="{$mybb->input['suspost_time']}" class="textbox" style="width: 2em;" /> {$suspost_options}</td>
	</tr>
</table>
</dd>
</dl></td>
										</tr>
									</table>
								</fieldset>
							</td>
						</tr>
						<tr>
							<td colspan="2" class="trow1" valign="top">
								<fieldset class="trow1">
									<legend><strong>{$lang->signature}</strong></legend>
									<table cellspacing="0" cellpadding="{$theme['tablespace']}">
<tr>
<td class="trow1" width="80%">
<textarea rows="15" cols="70" id="signature" name="signature">{$user['signature']}</textarea>
{$codebuttons}
</td>
</tr>
{$suspend_signature}
									</table>
								</fieldset>
							</td>
						</tr>
						<tr>
							<td colspan="2" class="trow1" valign="top">
								<fieldset class="trow2">
									<legend><strong>{$lang->mod_notes}</strong></legend>
									<textarea name="usernotes" id="usernotes" rows="10" cols="70">{$user['usernotes']}</textarea>
								</fieldset>
							</td>
						</tr>
					</table>
					<br />
					<div align="center">
						<input type="hidden" name="action" value="do_editprofile" />
						<input type="hidden" name="uid" value="{$user['uid']}" />
						<input type="submit" class="button" value="{$lang->update_profile}" />
					</div>
				</td>
			</tr>
		</table>
	</form>
	{$footer}
<script type="text/javascript">
<!--
	if(mod_posts == 0)
	{
		$('modposts_action').hide();
	}

	if(susp_posts == 0)
	{
		$('susposts_action').hide();
	}

	function toggleSuspend(action)
	{
		var item = action + "_action";

		if(action == "modposts")
		{
			$('susposts_action').hide();
			$('suspost').checked = false;

			if($("modpost").checked == false)
			{
				$("modpost").checked = false;
				$("modposts_action").hide();
			}
			else
			{
				$("modpost").checked = true;
				$("modposts_action").show();
			}
		}

		if(action == "susposts")
		{
			$('modposts_action').hide();
			$('modpost').checked = false;

			if($("suspost").checked == false)
			{
				$("suspost").checked = false;
				$("susposts_action").hide();
			}
			else
			{
				$("suspost").checked = true;
				$("susposts_action").show();
			}
		}
	}
// -->
</script>
</body>
</html>]]></template>
		<template name="modcp_editprofile_signature" version="1600"><![CDATA[<tr>
<td class="trow1" valign="top">
<script type="text/javascript">
<!--
	var sig_checked = "{$checked}";

	function toggleAction()
	{
		if($("suspend_action").visible() == true)
		{
			$("suspend_action").hide();
		}
		else
		{
			$("suspend_action").show();
		}
	}
// -->
</script>
<dl style="margin-top: 0; margin-bottom: 0; width: 100%;">
<dt><label><input type="checkbox" name="suspendsignature" value="1" class="checkbox" {$checked_item} onclick="toggleAction();" /> {$lang->suspend_signature}</label></dt>
<dd style="margin-top: 4px;" id="suspend_action">
<table cellpadding="4">
{$suspendsignature_info}
	<tr>
		<td width="30%">{$lang->suspend_length}</td>
		<td><input type="text" name="action_time" value="{$mybb->input['action_time']}" class="textbox" style="width: 2em;" /> {$action_options}</td>
	</tr>
</table>
</dd>
</dl>
<script type="text/javascript">
<!--
	if(sig_checked == 0)
	{
		$("suspend_action").hide();
	}
// -->
</script>
</td>
</tr>]]></template>
		<template name="modcp_editprofile_select" version="1600"><![CDATA[<select name="{$select_name}">
	{$selection_options}
</select>]]></template>
		<template name="modcp_editprofile_select_option" version="1600"><![CDATA[<option value="{$key}" {$selected}>{$value}</option>]]></template>
		<template name="modcp_editprofile_suspensions_info" version="1600"><![CDATA[<tr>
	<td colspan="2" class="smalltext"><em>{$suspension_info}</em></td>
</tr>]]></template>
		<template name="modcp_finduser" version="1405"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->find_users}</title>
{$headerinclude}
</head>
<body>
	{$header}
	<form action="modcp.php?action=finduser" method="post">
		<table width="100%" border="0" align="center">
			<tr>
				{$modcp_nav}
				<td valign="top">
					<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
						<tr>
							<td class="thead" colspan="5"><strong>{$lang->users}</strong></td>
						</tr>
						<tr>
							<td class="tcat" width="30%"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
							<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->usergroup}</strong></span></td>
							<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->regdate}</strong></span></td>
							<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->lastvisit}</strong></span></td>
							<td class="tcat" align="right" width="10%"><span class="smalltext"><strong>{$lang->postnum}</strong></span></td>
						</tr>
						{$users}
					</table>
					{$multipage}
					<br />
					<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
						<tr>
							<td class="thead" colspan="2"><strong>{$lang->find_users}</strong></td>
						</tr>
						<tr>
							<td class="trow1" width="25%"><strong>{$lang->username_contains}</strong></td>
							<td class="trow1" width="75%"><input type="text" name="username" id="username" value="{$mybb->input['username']}" class="textbox" /></td>
						</tr>
						<tr>
							<td class="trow1" width="25%"><strong>{$lang->sort_by}</strong></td>
							<td class="trow1" width="75%">
								<select name="sortby">
									<option value="username"{$sortbysel['username']}>{$lang->username}</option>
									<option value="regdate"{$sortbysel['regdate']}>{$lang->regdate}</option>
									<option value="lastvisit"{$sortbysel['lastvisit']}>{$lang->lastvisit}</option>
									<option value="postnum"{$sortbysel['postnum']}>{$lang->postnum}</option>
								</select>
								{$lang->in}
								<select name="order">
									<option value="asc"{$ordersel['asc']}>{$lang->asc}</option>
									<option value="desc"{$ordersel['desc']}>{$lang->desc}</option>
								</select>
								{$lang->order}
							</td>
						</tr>
					</table>
					<br />
					<div align="center">
						<input type="submit" class="button" value="{$lang->find_users}" />
					</div>
				</td>
			</tr>
		</table>
	</form>
{$footer}
<script type="text/javascript" src="jscripts/autocomplete.js?ver=1400"></script>
<script type="text/javascript">
<!--
	if(use_xmlhttprequest == "1")
	{
		new autoComplete("username", "xmlhttp.php?action=get_users", {valueSpan: "username"});
	}
// -->
</script>
</body>
</html>]]></template>
		<template name="modcp_finduser_user" version="1400"><![CDATA[						<tr>
							<td class="{$alt_row}"><a href="modcp.php?action=editprofile&amp;uid={$user['uid']}">{$user['username']}</a></td>
							<td class="{$alt_row}" align="center">{$usergroup}</td>
							<td class="{$alt_row}" align="center">{$regdate}, {$regtime}</td>
							<td class="{$alt_row}" align="center">{$lastdate}, {$lasttime}</td>
							<td class="{$alt_row}" align="center">{$user['postnum']}</td>
						</tr>]]></template>
		<template name="modcp_finduser_noresults" version="1400"><![CDATA[						<tr>
							<td class="trow1" align="center" colspan="5">{$lang->no_user_results}</td>
</tr>]]></template>
		<template name="modcp_banning" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->ban_banned}</title>
{$headerinclude}
</head>
<body>
	{$header}
	<table width="100%" border="0" align="center">
		<tr>
			{$modcp_nav}
			<td valign="top">
				<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
					<tr>
						<td class="thead" colspan="4">
							<div class="float_right"><a href="modcp.php?action=banuser">{$lang->ban_user}</a></div>
						<strong>{$lang->ban_banned}</strong></td>
					</tr>
					<tr>
						<td class="tcat" width="25%"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
						<td class="tcat" align="center" width="30%"><span class="smalltext"><strong>{$lang->reason}</strong></span></td>
						<td class="tcat" align="center" width="25%"><span class="smalltext"><strong>{$lang->ban_length}</strong></span></td>
						<td class="tcat" align="center" width="20%"><span class="smalltext"><strong>{$lang->ban_bannedby}</strong></span></td>
					</tr>
					{$bannedusers}
				</table>
				{$multipage}
			</td>
		</tr>
	</table>
	{$footer}
</body>
</html>]]></template>
	<template name="modcp_banuser" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->ban_user}</title>
{$headerinclude}
</head>
<body>
	{$header}
	<table width="100%" border="0" align="center">
		<tr>
			{$modcp_nav}
			<td valign="top">
				{$errors}
				<form action="modcp.php" method="post">
					<input type="hidden" name="action" value="do_banuser" />
					<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
					<input type="hidden" name="uid" value="{$uid}" />
						<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
							<tr>
								<td class="thead" colspan="2">
									{$lift_link}
									<strong>{$lang->ban_user}</strong>
								</td>
							</tr>
							{$banuser_username}
							<tr>
								<td class="trow2" width="25%"><strong>{$lang->ban_reason}</strong></td>
								<td class="trow2" width="75%"><input type="text" class="textbox" name="banreason" value="{$banreason}" size="25" /></td>
							</tr>
							<tr>
								<td class="trow1" width="25%"><strong>{$lang->ban_movegroup}</strong></td>
								<td class="trow1" width="75%"><select name="usergroup">{$bangroups}</select>
							</td>
							</tr>
							<tr>
								<td class="trow2" width="25%"><strong>{$lang->ban_liftafter}</strong></td>
								<td class="trow2" width="75%"><select name="liftafter">{$liftlist}</select></td>
							</tr>
						</table>
					<br />
					<div align="center">
						<input type="submit" class="button" name="updateban" value="{$lang->ban}" />
					</div>
				</form>
			</td>
		</tr>
	</table>
	{$footer}
<script type="text/javascript" src="jscripts/autocomplete.js?ver=1400"></script>
<script type="text/javascript">
<!--
	if(use_xmlhttprequest == "1")
	{
		new autoComplete("username", "xmlhttp.php?action=get_users", {valueSpan: "username"});
	}
// -->
</script>
</body>
</html>]]></template>
	<template name="modcp_banuser_addusername" version="1400"><![CDATA[<tr>
	<td class="trow1" width="25%"><strong>{$lang->ban_username}</strong></td>
	<td class="trow1" width="75%"><input type="text" class="textbox" name="username" id="username" value="{$username}" size="25" /></td>
</tr>]]></template>
	<template name="modcp_banuser_editusername" version="1400"><![CDATA[<tr>
	<td class="trow1" width="25%"><strong>{$lang->ban_username}</strong></td>
	<td class="trow1" width="75%">{$username}</td>
</tr>]]></template>
	<template name="modcp_banning_ban" version="1400"><![CDATA[<tr>
	<td class="{$trow}">{$profile_link}{$edit_link}</td>
	<td class="{$trow}" align="center">{$banned['reason']}</td>
	<td class="{$trow}" align="center">{$banlength}<br /><span class="smalltext">{$timeremaining}</span></td>
	<td class="{$trow}" align="center">{$admin_profile}</td>
</tr>]]></template>
	<template name="modcp_banning_nobanned" version="1400"><![CDATA[<tr>
	<td class="trow1" align="center" colspan="4">{$lang->no_banned}</td>
</tr>]]></template>
	<template name="modcp_modqueue_empty" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->mod_queue}</title>
{$headerinclude}
</head>
<body>
	{$header}
	<table width="100%" border="0" align="center">
		<tr>
			{$modcp_nav}
			<td valign="top">
				<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
					<tr>
						<td class="thead"><strong>{$lang->mod_queue}</strong></td>
					</tr>
					<tr>
						<td class="trow1" align="center">{$lang->mod_queue_empty}</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
{$footer}
</body>
</html>]]></template>
	<template name="modcp_modqueue_masscontrols" version="1400"><![CDATA[<ul class="modqueue_mass">
	<li><a href="#" class="mass_ignore" onclick="$$('input.radio_ignore').each(function(e) { e.checked = true; }); return false;">{$lang->mark_all_ignored}</a></li>
	<li><a href="#" class="mass_delete" onclick="$$('input.radio_delete').each(function(e) { e.checked = true; }); return false;">{$lang->mark_all_deletion}</a></li>
	<li><a href="#" class="mass_approve" onclick="$$('input.radio_approve').each(function(e) { e.checked = true; }); return false;">{$lang->mark_all_approved}</a></li>
</ul>]]></template>
	<template name="modcp_modqueue_threads_empty" version="1400"><![CDATA[<tr>
		<td class="trow1" align="center" colspan="3">{$lang->mod_queue_threads_empty}</td>
</tr>]]></template>
	<template name="modcp_modqueue_posts_empty" version="1400"><![CDATA[<tr>
		<td class="trow1" align="center" colspan="3">{$lang->mod_queue_posts_empty}</td>
</tr>]]></template>
	<template name="modcp_modqueue_attachments_empty" version="1400"><![CDATA[<tr>
		<td class="trow1" align="center" colspan="6">{$lang->mod_queue_attachments_empty}</td>
</tr>]]></template>
	<template name="modcp_lastattachment" version="1400"><![CDATA[<span class="smalltext">
<a href="{$attachment['link']}#pid{$attachment['pid']}"><strong>{$attachment['filename']}</strong></a>
<br />{$attachment['date']} {$attachment['time']}<br />{$lang->by} {$attachment['profilelink']}</span>
]]></template>
	<template name="modcp_lastthread" version="1400"><![CDATA[<span class="smalltext">
<a href="{$thread['link']}" title="{$thread['fullsubject']}"><strong>{$thread['subject']}</strong></a>
<br />{$thread['date']} {$thread['time']}<br />{$lang->by} {$thread['profilelink']}</span>
]]></template>
	<template name="modcp_lastpost" version="1400"><![CDATA[<span class="smalltext">
<a href="{$post['link']}#pid{$post['pid']}" title="{$post['fullsubject']}"><strong>{$post['subject']}</strong></a>
<br />{$post['date']} {$post['time']}<br />{$lang->by} {$post['profilelink']}</span>
]]></template>
	<template name="modcp_warninglogs" version="1405"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->warning_logs}</title>
{$headerinclude}
</head>
<body>
	{$header}
	<table width="100%" border="0" align="center">
		<tr>
			{$modcp_nav}
			<td valign="top">
				<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
					<tr>
						<td class="thead" colspan="6"><strong>{$lang->warning_logs}</strong></td>
					</tr>
					<tr>
						<td class="tcat" width="15%"><strong>{$lang->warned_user}</strong></td>
						<td class="tcat" width="25%"><strong>{$lang->warning}</strong></td>
						<td class="tcat" width="20%" align="center"><strong>{$lang->date_issued}</strong></td>
						<td class="tcat" width="20%" align="center"><strong>{$lang->expires}</strong></td>
						<td class="tcat" width="15%"><strong>{$lang->issued_by}</strong></td>
						<td class="tcat" width="1%" align="center"><strong>{$lang->details}</strong></td>
					</tr>
					{$warning_list}
				</table>
				{$multipage}
				<br />
				<form action="modcp.php" method="get">
					<input type="hidden" name="action" value="warninglogs" />
					<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
						<tr>
							<td class="thead" colspan="2"><strong>{$lang->filter_warning_logs}</strong></td>
						</tr>
						<tr>
							<td class="trow1" width="25%"><strong>{$lang->filter_warned_user}</strong></td>
							<td class="trow1" width="75%"><input type="text" name="filter[username]" id="username" value="{$mybb->input['filter']['username']}" class="textbox" /></td>
						</tr>
						<tr>
							<td class="trow2" width="25%"><strong>{$lang->filter_issued_by}</strong></td>
							<td class="trow2" width="75%"><input type="text" name="filter[mod_username]" value="{$mybb->input['filter']['mod_username']}" class="textbox" /></td>
						</tr>
						<tr>
							<td class="trow1" width="25%"><strong>{$lang->filter_reason}</strong></td>
							<td class="trow1" width="75%"><input type="text" name="filter[reason]" value="{$mybb->input['filter']['reason']}" class="textbox" /></td>
						</tr>
						<tr>
							<td class="trow2" width="25%"><strong>{$lang->sort_by}</strong></td>
							<td class="trow2" width="75%">
								<select name="filter[sortby]">
									<option value="username"{$sortbysel['username']}>{$lang->username}</option>
									<option value="issuedby"{$sortbysel['issuedby']}>{$lang->issued_by}</option>
									<option value="dateline"{$sortbysel['dateline']}>{$lang->issued_date}</option>
									<option value="expires"{$sortbysel['expires']}>{$lang->expiry_date}</option>
								</select>
								{$lang->in}
								<select name="filter[order]">
									<option value="asc"{$ordersel['asc']}>{$lang->asc}</option>
									<option value="desc"{$ordersel['desc']}>{$lang->desc}</option>
								</select>
								{$lang->order}
							</td>
						</tr>
						<tr>
							<td class="trow1" width="25%"><strong>{$lang->per_page}</strong></td>
							<td class="trow1" width="75%"><input type="text" name="filter[per_page]" value="{$per_page}" class="textbox" /></td>
						</tr>
					</table>
					<br />
					<div align="center">
						<input type="submit" class="button" value="{$lang->filter_warning_logs}" />
					</div>
				</form>
			</td>
		</tr>
	</table>
	{$footer}
<script type="text/javascript" src="jscripts/autocomplete.js?ver=1400"></script>
<script type="text/javascript">
<!--
	if(use_xmlhttprequest == "1")
	{
		new autoComplete("username", "xmlhttp.php?action=get_users", {valueSpan: "username"});
	}
// -->
</script>
</body>
</html>]]></template>
	<template name="modcp_warninglogs_nologs" version="1400"><![CDATA[					<tr>
						<td class="trow1" colspan="6">{$lang->no_warning_logs}</td>
					</tr>]]></template>
	<template name="modcp_warninglogs_warning" version="1400"><![CDATA[					<tr>
						<td class="{$trow}">{$username_link}</td>
						<td class="{$trow}">{$title} ({$points})</td>
						<td class="{$trow}" align="center">{$issued_date}</td>
						<td class="{$trow}" align="center">{$expire_date}{$revoked_text}</td>
						<td class="{$trow}">{$mod_username_link}</td>
						<td class="{$trow}" align="center"><a href="warnings.php?action=view&amp;wid={$row['wid']}">{$lang->view}</a></td>
					</tr>]]></template>
	<template name="modcp_warninglogs_warning_revoked" version="1400"><![CDATA[<br /><span class="smalltext"><strong>{$lang->revoked}</strong> {$revoked_date}</span>]]></template>
	<template name="modcp_announcements_forum" version="1400"><![CDATA[					<tr>
						<td class="{$trow}"><div style="padding-left: {$padding}px;"><strong>{$forum['name']}</strong></div></td>
						<td class="{$trow}" colspan="2" align="center"><a href="modcp.php?action=new_announcement&amp;fid={$forum['fid']}">{$lang->add_announcement}</a></td>
					</tr>]]></template>
	<template name="modcp_announcements_forum_nomod" version="1400"><![CDATA[					<tr>
						<td class="{$trow}"><div style="padding-left: {$padding}px;"><strong>{$forum['name']}</strong></div></td>
						<td class="{$trow}" colspan="2" align="center">&nbsp;</td>
					</tr>]]></template>
	<template name="modcp_announcements_announcement" version="1400"><![CDATA[					<tr>
						<td class="{$trow}"><div style="padding-left: {$padding}px;">{$icon}<a href="modcp.php?action=edit_announcement&amp;aid={$aid}">{$subject}</a></div></td>
						<td class="{$trow}" align="center"><a href="modcp.php?action=edit_announcement&amp;aid={$aid}">{$lang->edit}</a></td>
						<td class="{$trow}" align="center"><a href="modcp.php?action=delete_announcement&amp;aid={$aid}">{$lang->delete}</a></td>
					</tr>]]></template>
	<template name="modcp_no_announcements_forum" version="1400"><![CDATA[					<tr>
						<td class="trow1" colspan="3">{$lang->no_forum_announcements}</td>
					</tr>]]></template>
	<template name="modcp_no_announcements_global" version="1400"><![CDATA[					<tr>
						<td class="trow1" colspan="3">{$lang->no_global_announcements}</td>
					</tr>]]></template>
	<template name="modcp_announcements_announcement_global" version="1400"><![CDATA[					<tr>
						<td class="{$trow}">{$icon}<a href="modcp.php?action=edit_announcement&amp;aid={$aid}">{$subject}</a></td>
						<td class="{$trow}" align="center"><a href="modcp.php?action=edit_announcement&amp;aid={$aid}">{$lang->edit}</a></td>
						<td class="{$trow}" align="center"><a href="modcp.php?action=delete_announcement&amp;aid={$aid}">{$lang->delete}</a></td>
					</tr>]]></template>
	<template name="modcp_announcements_global" version="1400"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
					<tr>
						<td class="thead" colspan="3"><div class="float_right"><a href="modcp.php?action=new_announcement&amp;fid=-1">{$lang->add_global_announcement}</a></div><strong>{$lang->global_announcements}</strong></td>
					</tr>
					<tr>
						<td class="tcat"><strong>{$lang->announcement}</strong></td>
						<td class="tcat" width="200" colspan="2" align="center"><strong>{$lang->controls}</strong></td>
					</tr>
					{$announcements_global}
				</table>
				<br />]]></template>
	<template name="modcp_announcements" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->manage_announcement}</title>
{$headerinclude}
</head>
<body>
	{$header}
	<table width="100%" border="0" align="center">
		<tr>
			{$modcp_nav}
			<td valign="top">
				{$announcements_global}
				<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
					<tr>
						<td class="thead" colspan="3"><strong>{$lang->forum_announcements}</strong></td>
					</tr>
					<tr>
						<td class="tcat"><strong>{$lang->announcement}</strong></td>
						<td class="tcat" width="200" colspan="2" align="center"><strong>{$lang->controls}</strong></td>
					</tr>
					{$announcements_forum}
				</table>
			</td>
		</tr>
	</table>
	{$footer}
</body>
</html>]]></template>
<template name="modcp_announcements_new" version="1405"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->manage_announcement}</title>
{$headerinclude}
</head>
<body>
	{$header}
	<form action="modcp.php" method="post" enctype="multipart/form-data">
	<input type="hidden" name="action" value="do_new_announcement" />
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	<input type="hidden" name="fid" value="{$announcement_fid}" />
		<table width="100%" border="0" align="center">
			<tr>
				{$modcp_nav}
				<td valign="top">
					{$errors}
					<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
						<tr>
							<td class="thead" colspan="6"><strong>{$lang->add_announcement}</strong></td>
						</tr>
						<tr>
							<td class="trow1" valign="top" width="25%"><strong>{$lang->title}</strong></td>
							<td class="trow1" valign="top" width="75%"><input type="text" class="textbox" name="title" size="40" value="{$title}" /></td>
						</tr>
						<tr>
							<td class="trow1" colspan="1" valign="top" width="25%"><strong>{$lang->start_date}</strong></td>
							<td class="trow1" valign="top"  width="75%">
								<select name="starttime_day">
								{$startdateday}
								</select>
								&nbsp;
								<select name="starttime_month">
								{$startdatemonth}
								</select>
								&nbsp;
								<input type="text" name="starttime_year" value="{$startdateyear}" size="4" maxlength="4"/>
								 - {$lang->time} <input type="text" name="starttime_time" value="{$starttime_time}" size="10" />
							</td>
						</tr>
						<tr>
							<td class="trow1" colspan="1" valign="top" width="25%"><strong>{$lang->end_date}</strong></td>
							<td class="trow1" valign="top"  width="75%">
								<input type="radio" name="endtime_type" value="1"{$end_type_sel['finite']} />
								<select name="endtime_day">
								{$enddateday}
								</select>
								&nbsp;
								<select name="endtime_month">
								{$enddatemonth}
								</select>
								&nbsp;
								<input type="text" name="endtime_year" value="{$enddateyear}" size="4" maxlength="4"/>
								 - {$lang->time} <input type="text" name="endtime_time" value="{$endtime_time}" size="10" />
								<br /><input type="radio" name="endtime_type" value="2"{$end_type_sel['infinite']} /> {$lang->never}
							</td>
						</tr>
						<tr>
							<td class="trow1" valign="top" width="25%"><strong>{$lang->announcement}</strong><br />{$smilieinserter}</td>
							<td class="trow1" valign="top" width="75%"><textarea id="message" name="message" rows="20" cols="70">{$message}</textarea>{$codebuttons}</td>
						</tr>
						<tr>
							<td class="trow1" valign="top" width="25%"><strong>{$lang->allow_html}</strong></td>
							<td class="trow1" valign="top" width="75%"><label><input type="radio" name="allowhtml" value="1"{$html_sel['yes']} />&nbsp;{$lang->yes}</label> &nbsp;&nbsp;<label><input type="radio" name="allowhtml" value="0"{$html_sel['no']} />&nbsp;{$lang->no}</label></td>
						</tr>
						<tr>
							<td class="trow1" valign="top" width="25%"><strong>{$lang->allow_mycode}</strong></td>
							<td class="trow1" valign="top" width="75%"><label><input type="radio" name="allowmycode" value="1"{$mycode_sel['yes']} />&nbsp;{$lang->yes}</label> &nbsp;&nbsp;<label><input type="radio" name="allowmycode" value="0"{$mycode_sel['no']} />&nbsp;{$lang->no}</label></td>
						</tr>
						<tr>
							<td class="trow1" valign="top" width="25%"><strong>{$lang->allow_smilies}</strong></td>
							<td class="trow1" valign="top" width="75%"><label><input type="radio" name="allowsmilies" value="1"{$smilies_sel['yes']} />&nbsp;{$lang->yes}</label> &nbsp;&nbsp;<label><input type="radio" name="allowsmilies" value="0"{$smilies_sel['no']} />&nbsp;{$lang->no}</label></td>
						</tr>
					</table>
					<br />
					<div align="center">
						<input type="submit" class="button" name="Add Announcement" value="{$lang->add_announcement}" />&nbsp;&nbsp;
						<input type="reset" class="button" name="Reset" value="{$lang->reset}" />
					</div>
				</td>
			</tr>
		</table>
	</form>
	{$footer}
</body>
</html>]]></template>
<template name="modcp_announcements_edit" version="1405"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->manage_announcement}</title>
{$headerinclude}
</head>
<body>
	{$header}
	<form action="modcp.php" method="post" enctype="multipart/form-data">
	<input type="hidden" name="action" value="do_edit_announcement" />
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	<input type="hidden" name="fid" value="{$announcement['fid']}" />
	<input type="hidden" name="aid" value="{$aid}" />
		<table width="100%" border="0" align="center">
			<tr>
				{$modcp_nav}
				<td valign="top">
					{$errors}
					<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
						<tr>
							<td class="thead" colspan="6"><strong>{$lang->edit_announcement}</strong></td>
						</tr>
						<tr>
							<td class="trow1" valign="top" width="25%"><strong>{$lang->title}</strong></td>
							<td class="trow1" valign="top" width="75%"><input type="text" class="textbox" name="title" size="40" value="{$title}" /></td>
						</tr>
						<tr>
							<td class="trow1" colspan="1" valign="top" width="25%"><strong>{$lang->start_date}</strong></td>
							<td class="trow1" valign="top"  width="75%">
								<select name="starttime_day">
								{$startdateday}
								</select>
								&nbsp;
								<select name="starttime_month">
								{$startdatemonth}
								</select>
								&nbsp;
								<input type="text" name="starttime_year" value="{$startdateyear}" size="4" maxlength="4"/>
								 - {$lang->time} <input type="text" name="starttime_time" value="{$starttime_time}" size="10" />
							</td>
						</tr>
						<tr>
							<td class="trow1" colspan="1" valign="top" width="25%"><strong>{$lang->end_date}</strong></td>
							<td class="trow1" valign="top"  width="75%">
								<input type="radio" name="endtime_type" value="1"{$end_type_sel['finite']} />
								<select name="endtime_day">
								{$enddateday}
								</select>
								&nbsp;
								<select name="endtime_month">
								{$enddatemonth}
								</select>
								&nbsp;
								<input type="text" name="endtime_year" value="{$enddateyear}" size="4" maxlength="4"/>
								 - {$lang->time} <input type="text" name="endtime_time" value="{$endtime_time}" size="10" />
								<br /><input type="radio" name="endtime_type" value="2"{$end_type_sel['infinite']} /> {$lang->never}
							</td>
						</tr>
						<tr>
							<td class="trow1" valign="top" width="25%"><strong>{$lang->announcement}</strong><br />{$smilieinserter}</td>
							<td class="trow1" valign="top" width="75%"><textarea id="message" name="message" rows="20" cols="70">{$message}</textarea>{$codebuttons}</td>
						</tr>
						<tr>
							<td class="trow1" valign="top" width="25%"><strong>{$lang->allow_html}</strong></td>
							<td class="trow1" valign="top" width="75%"><label><input type="radio" name="allowhtml" value="1"{$html_sel['yes']} />&nbsp;{$lang->yes}</label> &nbsp;&nbsp;<label><input type="radio" name="allowhtml" value="0"{$html_sel['no']} />&nbsp;{$lang->no}</label></td>
						</tr>
						<tr>
							<td class="trow1" valign="top" width="25%"><strong>{$lang->allow_mycode}</strong></td>
							<td class="trow1" valign="top" width="75%"><label><input type="radio" name="allowmycode" value="1"{$mycode_sel['yes']} />&nbsp;{$lang->yes}</label> &nbsp;&nbsp;<label><input type="radio" name="allowmycode" value="0"{$mycode_sel['no']} />&nbsp;{$lang->no}</label></td>
						</tr>
						<tr>
							<td class="trow1" valign="top" width="25%"><strong>{$lang->allow_smilies}</strong></td>
							<td class="trow1" valign="top" width="75%"><label><input type="radio" name="allowsmilies" value="1"{$smilies_sel['yes']} />&nbsp;{$lang->yes}</label> &nbsp;&nbsp;<label><input type="radio" name="allowsmilies" value="0"{$smilies_sel['no']} />&nbsp;{$lang->no}</label></td>
						</tr>
					</table>
					<br />
					<div align="center">
						<input type="submit" class="button" name="Edit Announcement" value="{$lang->edit_announcement}" />&nbsp;&nbsp;
						<input type="reset" class="button" name="Reset" value="{$lang->reset}" />
					</div>
				</td>
			</tr>
		</table>
	</form>
	{$footer}
</body>
</html>]]></template>
		<template name="modcp_announcements_delete" version="1400"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->delete_announcement}</title>
{$headerinclude}
</head>
<body>
	{$header}
	<form action="modcp.php" method="post" enctype="multipart/form-data">
	<input type="hidden" name="action" value="do_delete_announcement" />
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	<input type="hidden" name="fid" value="{$announcement_fid}" />
		<table width="100%" border="0" align="center">
			<tr>
				{$modcp_nav}
				<td valign="top">
					<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
					<tr>
					<td class="thead" colspan="2"><strong>{$announcement['subject']} - {$lang->delete_announcement}</strong></td>
					</tr>
					<tr>
					<td class="trow1" colspan="2" align="center">{$lang->confirm_delete_announcement}</td>
					</tr>
					</table>
					<br />
					<div align="center"><input type="submit" class="button" name="submit" value="{$lang->delete_announcement}" /></div>
					<input type="hidden" name="aid" value="{$aid}" />
					</form>
				</td>
			</tr>
		</table>
	</form>
	{$footer}
</body>
</html>]]></template>
	<template name="search_orderarrow" version="120"><![CDATA[<span class="smalltext">[<a href="{$sorturl}&amp;sortby={$sortby}&amp;order={$oppsortnext}">{$oppsort}</a>]</span>]]></template>
	<template name="search_results_posts_inlinecheck" version="120"><![CDATA[<td class="{$bgcolor}" align="center" style="white-space: nowrap"><input type="checkbox" class="checkbox" name="inlinemod_{$post['pid']}" id="inlinemod_{$post['pid']}" value="1" style="vertical-align: middle;" {$inlinecheck}  /></td>]]></template>
	<template name="search_results_posts_nocheck" version="120"><![CDATA[<td class="{$bgcolor}" align="center" style="white-space: nowrap">&nbsp;</td>]]></template>
	<template name="search_results_threads_inlinecheck" version="120"><![CDATA[<td class="{$bgcolor}" align="center" style="white-space: nowrap"><input type="checkbox" class="checkbox" name="inlinemod_{$thread['tid']}" id="inlinemod_{$thread['tid']}" value="1" style="vertical-align: middle;" {$inlinecheck}  /></td>]]></template>
	<template name="search_results_threads_nocheck" version="120"><![CDATA[<td class="{$bgcolor}" align="center" style="white-space: nowrap">&nbsp;</td>]]></template>
	<template name="search_results_inlinemodcol" version="1408"><![CDATA[<td class="tcat" align="center" width="1"><input type="checkbox" name="allbox" onclick="inlineModeration.checkAll(this)" /></td>]]></template>
	<template name="search_results_posts_inlinemoderation_custom" version="120"><![CDATA[<optgroup label="{$lang->custom_mod_tools}">{$customposttools}</optgroup>]]></template>
	<template name="search_results_posts_inlinemoderation_custom_tool" version="120"><![CDATA[<option value="{$tool['tid']}">{$tool['name']}</option>]]></template>
	<template name="search_results_posts_inlinemoderation" version="1600"><![CDATA[<script type="text/javascript" src="jscripts/inline_moderation.js?ver=1600"></script>
<form action="moderation.php" method="post" style="margin-top: 0; margin-bottom: 0;">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="tid" value="0" />
<input type="hidden" name="searchid" value="{$sid}" />
<input type="hidden" name="modtype" value="inlinepost" />
<span class="smalltext"><strong>{$lang->inline_post_moderation}</strong></span>
<select name="action">
<optgroup label="{$lang->standard_mod_tools}">
	<option value="multideleteposts">{$lang->inline_delete_posts}</option>
	<option value="multiapproveposts">{$lang->inline_approve_posts}</option>
	<option value="multiunapproveposts">{$lang->inline_unapprove_posts}</option>
</optgroup>
{$customposttools}
</select>
<input type="submit" class="button" name="go" value="{$lang->go} ({$inlinecount})" id="inline_go" />&nbsp;
<input type="button" class="button" onclick="javascript:inlineModeration.clearChecked();" value="{$lang->clear}" />
<input type="hidden" name="url" value="{$return_url}" />
<input type="hidden" name="inlinetype" value="search" />
</form>
<script type="text/javascript">
<!--
	var go_text = "{$lang->inline_go}";
	var all_text = "{$postcount}";
	var inlineType = "search";
	var inlineId = "{$sid}";
// -->
</script><br />]]></template>
		<template name="search_results_threads_inlinemoderation_custom" version="120"><![CDATA[<optgroup label="{$lang->custom_mod_tools}">{$customthreadtools}</optgroup>]]></template>
		<template name="search_results_threads_inlinemoderation_custom_tool" version="120"><![CDATA[<option value="{$tool['tid']}">{$tool['name']}</option>]]></template>
		<template name="search_results_threads_inlinemoderation" version="1600"><![CDATA[<script type="text/javascript" src="jscripts/inline_moderation.js?ver=1600"></script>
		<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="fid" value="0" />
<input type="hidden" name="searchid" value="{$sid}" />
<input type="hidden" name="modtype" value="inlinethread" />
<span class="smalltext"><strong>{$lang->inline_thread_moderation}</strong></span>
<select name="action">
	<optgroup label="{$lang->standard_mod_tools}">
		<option value="multiclosethreads">{$lang->close_threads}</option>
		<option value="multiopenthreads">{$lang->open_threads}</option>
		<option value="multistickthreads">{$lang->stick_threads}</option>
		<option value="multiunstickthreads">{$lang->unstick_threads}</option>
		<option value="multideletethreads">{$lang->delete_threads}</option>
		<option value="multimovethreads">{$lang->move_threads}</option>
		<option value="multiapprovethreads">{$lang->approve_threads}</option>
		<option value="multiunapprovethreads">{$lang->unapprove_threads}</option>
	</optgroup>
	{$customthreadtools}
</select>
<input type="submit" class="button" name="go" value="{$lang->inline_go} ({$inlinecount})" id="inline_go" />&nbsp;
<input type="button" onclick="javascript:inlineModeration.clearChecked();" value="{$lang->clear}" class="button" />
<input type="hidden" name="url" value="{$return_url}" />
<input type="hidden" name="inlinetype" value="search" />
</form>
<script type="text/javascript">
<!--
	var go_text = "{$lang->inline_go}";
	var all_text = "{$threadcount}";
	var inlineType = "search";
	var inlineId = '{$sid}';
// -->
</script>
<br />]]></template>
	<template name="video_metacafe_embed" version="1600"><![CDATA[<embed src="http://www.metacafe.com/fplayer/{$id}/{$title}.swf" width="400" height="345" wmode="transparent" allowFullScreen="true" allowScriptAccess="always" name="Metacafe_{$id}" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>]]></template>
	<template name="video_googlevideo_embed" version="1600"><![CDATA[<embed id="VideoPlayback" src="http://video.google.com/googleplayer.swf?docid={$id}&hl=en&fs=true" style="width:400px; height:326px" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>]]></template>
	<template name="video_dailymotion_embed" version="1600"><![CDATA[<div><object width="420" height="339"><param name="movie" value="http://www.dailymotion.com/swf/{$id}" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><embed src="http://www.dailymotion.com/swf/{$id}" type="application/x-shockwave-flash" width="420" height="339" allowFullScreen="true" allowScriptAccess="always"></embed></object></div>]]></template>
	<template name="video_myspacetv_embed" version="1600"><![CDATA[<object width="425px" height="360px"><param name="allowFullScreen" value="true"/><param name="wmode" value="transparent"/><param name="movie" value="http://mediaservices.myspace.com/services/media/embed.aspx/m={$id},t=1,mt=video"/><embed src="http://mediaservices.myspace.com/services/media/embed.aspx/m={$id},t=1,mt=video" width="425" height="360" allowFullScreen="true" type="application/x-shockwave-flash" wmode="transparent"></embed></object>]]></template>
	<template name="video_youtube_embed" version="1600"><![CDATA[<object type="application/x-shockwave-flash" class="video_embed" style="width: 450px; height: 366px;" data="http://www.youtube.com/v/{$id}"><param name="movie" value="http://www.youtube.com/v/{$id}" /></object>]]></template>
	<template name="video_vimeo_embed" version="1600"><![CDATA[<object width="400" height="230"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id={$id}&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id={$id}&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="230"></embed></object>]]></template>
	<template name="video_yahoo_embed" version="1600"><![CDATA[<div><object width="512" height="322"><param name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.40" /><param name="allowFullScreen" value="true" /><param name="AllowScriptAccess" VALUE="always" /><param name="bgcolor" value="#000000" /><param name="flashVars" value="id={$id}&vid={$vid}&lang=en-us&intl=us&embed=1" /><embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.40" type="application/x-shockwave-flash" width="512" height="322" allowFullScreen="true" AllowScriptAccess="always" bgcolor="#000000" flashVars="id={$id}&vid={$vid}&lang=en-us&intl=us&embed=1"></embed></object></div>]]></template>
	</templates>
</theme>