<?xml version="1.0" encoding="UTF-8"?>
<theme name="MyBB Master Style" version="1839">
	<properties>
		<templateset><![CDATA[1]]></templateset>
		<imgdir><![CDATA[images]]></imgdir>
		<logo><![CDATA[images/logo.png]]></logo>
		<tablespace><![CDATA[5]]></tablespace>
		<borderwidth><![CDATA[0]]></borderwidth>
		<editortheme><![CDATA[mybb.css]]></editortheme>
	</properties>
	<stylesheets>
		<stylesheet name="global.css" version="1839" disporder="1"><![CDATA[body {
	background: #fff;
	color: #333;
	text-align: center;
	line-height: 1.4;
	margin: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
	overflow-y: scroll;
}

a:link {
	color: #0072BC;
	text-decoration: none;
}

a:visited {
	color: #0072BC;
	text-decoration: none;
}

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

#container {
	color: #333;
	text-align: left;
	line-height: 1.4;
	margin: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
	min-width: 990px;
}

.wrapper {
	width: 85%;
	min-width: 970px;
	max-width: 1500px;
	margin: auto auto;
}

#logo {
	background: #fff;
	padding: 10px 0;
	border-bottom: 1px solid #263c30;
}

#content {
	background: #fff;
	width: auto !important;
	padding: 20px 10px;
	overflow: hidden;
}

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

#header ul.menu li {
	margin: 0 7px;
	display: inline;
}

#header ul.menu li a {
	padding-left: 20px;
	background-image: url(images/headerlinks_sprite.png);
	background-repeat: no-repeat;
	display: inline-block;
	line-height: 16px;
}

#logo ul.top_links {
	font-weight: bold;
	text-align: right;
	margin: -10px 5px 0 0;
}

#logo ul.top_links a.search {
	background-position: 0 0;
}

#logo ul.top_links a.memberlist {
	background-position: 0 -20px;
}

#logo ul.top_links a.calendar {
	background-position: 0 -40px;
}

#logo ul.top_links a.help {
	background-position: 0 -60px;
}

#logo ul.top_links a.portal {
	background-position: 0 -180px;
}

#panel .upper a.logout {
	font-weight: bold;
	background: url(images/headerlinks_sprite.png) right -80px no-repeat;
	padding-right: 20px;
	margin-left: 10px;
}

#panel .upper a.login,
#panel .upper a.lost_password {
	background: url(images/headerlinks_sprite.png) 0 -100px no-repeat;
	padding-left: 20px;
	margin-left: 10px;
	font-weight: bold;
}

#panel .upper a.register {
	background: url(images/headerlinks_sprite.png) right -80px no-repeat;
	padding-right: 20px;
	margin-left: 10px;
	font-weight: bold;
}

#panel .lower ul.panel_links {
	float: left;
}

#panel .lower ul.panel_links a.usercp {
	background-position: 0 -120px;
}

#panel .lower ul.panel_links a.modcp {
	background-position: 0 -140px;
}

#panel .lower ul.panel_links a.admincp {
	background-position: 0 -160px;
}

#panel .lower ul.user_links {
	float: right;
}

#panel .lower ul.user_links li a {
	padding: 0;
	background-image: none;
}

#panel .upper {
	background: #0f0f0f url(images/tcat.png) repeat-x;
	color: #fff;
	border-top: 1px solid #444;
	border-bottom: 1px solid #000;
	padding: 7px;
	clear: both;
}

#panel .upper a:link,
#panel .upper a:visited,
#panel .upper a:hover,
#panel .upper a:active {
	color: #fff;
}

#panel .lower {
	background: #efefef;
	color: #999;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #ccc;
	padding: 5px;
}

#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:hover,
#panel .lower a:active {
	color: #666;
}

#search {
	border: 0;
	padding: 0;
	margin: 0;
	float: right;
	vertical-align: middle;
}

#search input.button,
#search input.textbox {
	border-color: #000;
}

#search input.button {
	background: #0066a2 url(images/thead.png) top left repeat-x;
	color: #fff;
}

#search input {
	margin: -3px 0;
}

#quick_login .remember_me input {
	vertical-align: middle;
	margin: -3px 0 0 5px;
}

#footer {
	clear: both;
}

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

#footer ul.menu li {
	margin: 0 5px;
	display: inline;
}

#footer .upper {
	background: #efefef;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	padding: 6px;
	font-size: 12px;
	overflow: hidden;
}

#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
	color: #777;
}

#footer .upper .language {
	float: right;
	margin: -1px;
	margin-left: 15px;
}

#footer .upper .language select {
	border-color: #ccc;
}

#footer .upper .theme {
	float: right;
	margin: -1px;
	margin-left: 15px;
}

#footer .upper .theme select {
	border-color: #ccc;
}

#footer .upper ul.bottom_links {
	float: left;
	margin: 4px 0 0 0;
}

#footer .lower {
	color: #666;
	padding: 6px 6px 12px 6px;
	overflow: hidden;
	font-size: 11px;
}

#footer .lower a:link,
#footer .lower a:visited {
	color: #444;
	font-weight: bold;
}

#footer .lower a:hover,
#footer .lower a:active {
	color: #333;
	text-decoration: underline;
	font-weight: bold;
}

#footer .lower #current_time {
	float: right;
	color: #888;
}

#debug {
	float: right;
	text-align: right;
	margin-top: 20px;
	font-size: 11px;
}

.scaleimages img {
	max-width: 100%;
}

.forum_status {
	height: 30px;
	width: 30px;
	background: url(images/forum_icon_sprite.png) no-repeat 0 0;
	display: inline-block;
}

.forum_on {
	background-position: 0 0;
}

.forum_off {
	background-position: 0 -30px;
}

.forum_offclose {
	background-position: 0 -60px;
}

.forum_offlink {
	background-position: 0 -90px;
}

.subforumicon {
	height: 10px;
	width: 10px;
	display: inline-block;
	margin: 0 5px;
	background: url(images/mini_status_sprite.png) no-repeat 0 0;
}

.subforum_minion {
	background-position: 0 0;
}

.subforum_minioff {
	background-position: 0 -10px;
}

.subforum_minioffclose {
	background-position: 0 -20px;
}

.subforum_miniofflink {
	background-position: 0 -30px;
}

table {
	color: #333;
	font-size: 13px;
}

.tborder {
	background: #fff;
	width: 100%;
	margin: auto auto;
	border: 1px solid #ccc;
	padding: 1px;
}

.tfixed {
	table-layout: fixed;
	word-wrap: break-word;
}

.thead {
	background: #0066a2 url(images/thead.png) top left repeat-x;
	color: #ffffff;
	border-bottom: 1px solid #263c30;
	padding: 8px;
}

.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: #0f0f0f url(images/tcat.png) repeat-x;
	color: #fff;
	border-top: 1px solid #444;
	border-bottom: 1px solid #000;
	padding: 6px;
	font-size: 12px;
}

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

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

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

.trow1 {
	background: #f5f5f5;
	border: 1px solid;
	border-color: #fff #ddd #ddd #fff;
}

.trow2 {
	background: #efefef;
	border: 1px solid;
	border-color: #fff #ddd #ddd #fff;
}

.trow_shaded {
	background: #ffdde0;
	border: 1px solid;
	border-color: #fff #ffb8be #ffb8be #fff;
}

.no_bottom_border {
	border-bottom: 0;
}

.post.unapproved_post {
	background: #ffdde0;
}

.thread_start_datetime {
	color: #999;
}

.post.unapproved_post .post_author {
	border-bottom-color: #ffb8be;
}

.post.classic.unapproved_post .post_author {
	border-color: #ffb8be;
}

.post.unapproved_post .post_controls {
	border-top-color: #ffb8be;
}

.trow_deleted,
.post.deleted_post {
	background: #E8DEFF;
}

.trow_selected,
tr.trow_selected td {
	background: #FFFBD9;
	color: #333;
	border-right-color: #F7E86A;
	border-bottom-color: #F7E86A;
}

.trow_selected a:link,
.trow_selected a:visited,
.trow_selected a:hover,
.trow_selected a:active {
	color: #333;
}

.trow_sep {
	background: #ddd;
	color: #333;
	border-bottom: 1px solid #c5c5c5;
	padding: 6px;
	font-size: 12px;
	font-weight: bold;
}

.tfoot {
	border-top: 1px solid #fff;
	padding: 6px;
	background: #ddd;
	color: #666;
}

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

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

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

.thead input.textbox,
.thead select {
	border: 1px solid #263c30;
}

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

.navigation {
	color: #333;
	font-size: 12px;
}

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

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

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

.navigation .active {
	color: #333;
	font-size: small;
	font-weight: bold;
}

.smalltext {
	font-size: 11px;
}

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

fieldset {
	padding: 12px;
	border: 1px solid #ddd;
	margin: 0;
}

fieldset.trow1,
fieldset.trow2 {
	border-color: #bbb;
}

fieldset.align_right {
	text-align: right;
}

input.textbox {
	background: #ffffff;
	color: #333;
	border: 1px solid #ccc;
	padding: 3px;
	outline: 0;
	font-size: 13px;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
}

input.textbox.portal_search {
    width: 68%;
}

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

select {
	background: #ffffff;
	padding: 3px;
	border: 1px solid #ccc;
	outline: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
}

button,
input.button {
	padding: 3px 8px;
	cursor: pointer;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
	background: #eee url(images/buttons_bg.png) repeat-x;
	border: 1px solid #bbb;
	color: #333;
	outline: 0;
}

button:hover,
input.button:hover {
	border-color: #aaa;
}

form {
	margin: 0;
	padding: 0;
}

input.error, textarea.error, select.error {
	border: 1px solid #f30;
	color: #f30;
}

input.valid, textarea.valid, select.valid {
	border: 1px solid #0c0;
}

label.error {
	color: #f30;
	margin: 5px;
	padding: 0px;
	display: block;
	font-weight: bold;
	font-size: 11px;
}

form #message {
	width: 500px;
}

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

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

.post .editor_control_bar {
	background: #f5f5f5;
}

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

.popup_menu .popup_item {
	background: #efefef;
	color: #333;
}

.popup_menu .popup_item:hover {
	background: #0072BC;
	color: #fff;
}

.trow_reputation_positive {
	background: #ccffcc;
}

.trow_reputation_negative {
	background: #ffcccc;
}

.reputation_positive {
	color: green;
}

.reputation_neutral {
	color: #444;
}

.reputation_negative {
	color: red;
}

.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;
}

img {
	border: none;
}

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

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

.clear {
	clear: both;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

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

.hiddenrow {
	display: none;
}

.selectall {
	background: #FFFBD9;
	border-bottom: 1px solid #F7E86A;
	color: #333;
	text-align: center;
}

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

.tcat_menu > .expcolimage {
	margin-top: 0;
}

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

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

blockquote cite > span {
	float: right;
	font-weight: normal;
	font-size: 12px;
	color: #666;
}

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

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

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

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

.smilie {
	vertical-align: middle;
}

.smilie_pointer {
	cursor: pointer;
}

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

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

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

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

.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;
	word-wrap: break-word;
}

.red_alert a:link,
.red_alert a:visited,
.red_alert a:hover,
.red_alert a:active {
	color: #A5161A;
}

.high_warning {
	color: #CC0000;
}

.moderate_warning {
	color: #F3611B;
}

.low_warning {
	color: #AE5700;
}

.imminent_banned {
	color: #880000;
}

.high_banned {
	color: #FF0000;
}

.moderate_banned {
	color: #FF6600;
}

.low_banned {
	color: #008000;
}

.online {
	color: #15A018;
}

.offline {
	color: #C7C7C7;
}

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

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

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

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

.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: 3px 6px;
	margin-bottom: 3px;
}

.pagination a {
	background: #f5f5f5;
	border: 1px solid #ccc;
}

.pagination .pagination_current {
	background: none;
	color: #333;
	border: none;
	font-weight: bold;
}

.pagination a:hover {
	background: #0072BC;
	color: #fff;
	border-color: #263c30;
	text-decoration: none;
}

.pagination .go_page img {
	margin-bottom: -4px;
}

.drop_go_page {
	background: #f5f5f5;
	padding: 4px;
}

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

.pagination_breadcrumb_link {
	vertical-align: middle;
	cursor: pointer;
}

.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;
	margin-top: 7px;
}

.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;
}

#posts_container {
	padding: 0;
}

.ignored_post {
	border-top: 3px solid #333;
	padding: 15px;
}

.ignored_post .show_ignored_post {
	margin-top: -15px;
}

.ignored_post .show_ignored_post a.button span {
	background-position: 0 -400px;
}

.deleted_post_hidden {
	border-top: 2px solid #ccc;
	padding: 15px;
}

.deleted_post_collapsed {
	border-top: 3px solid #333;
	padding: 15px;
}

.deleted_post_collapsed .show_deleted_post {
	margin-top: -15px;
}

.deleted_post_collapsed .show_deleted_post a.button span {
	background-position: 0 -400px;
}

.post {
	overflow: hidden;
}

.post.classic {
	padding-top: 15px;
}

.post .post_author {
	border-bottom: 1px solid #ccc;
	border-top: 2px solid #ccc;
	background: #f5f5f5;
	padding: 5px;
	overflow: hidden;
}

.post.classic .post_author {
	border: 1px solid #ddd;
	float: left;
	width: 15%;
	margin: 0 1% 15px 0;
	border-left: 0;
	padding: 5px 1%;
}

.post .post_author .buddy_status {
	vertical-align: middle;
	margin-top: -4px;
}

.post .post_author div.author_avatar {
	float: left;
	margin-right: 3px;
}

.post.classic .post_author div.author_avatar {
	float: none;
	text-align: center;
	margin-bottom: 8px;
}

.post .post_author div.author_avatar img {
	padding: 5px;
	border: 1px solid #ddd;
	background: #fff;
}

.post .post_author div.author_information {
	float: left;
	padding: 6px 8px;
}

.post.classic .post_author div.author_information {
	float: none;
	padding: 0;
	text-align: center;
}

.post .post_author div.author_statistics {
	float: right;
	font-size: 11px;
	padding: 3px 10px 3px 5px;
	color: #666;
	line-height: 1.3;
}

.post.classic .post_author div.author_statistics {
	border-top: 1px dotted #ccc;
	margin: 6px 0 0 0;
	padding: 6px 6px 3px 6px;
	float: none;
}

.post .post_head {
	font-size: 11px;
	padding-bottom: 4px;
	border-bottom: 1px dotted #ddd;
	margin-bottom: 4px;
}

.post .post_head span.post_date {
	color: #666;
}

.post .post_head span.edited_post {
	font-size: 10px;
	color: #999;
}

.post .post_head span.edited_post a {
	color: #666;
}

.post_body {
	font-size: 14px;
	padding: 12px 0;
}

.post.classic .post_content {
	float: left;
	width: 79%;
	padding: 0 1% 5px 1%;
}

.post_content {
	padding: 9px 10px 5px 10px;
}

.post_content .signature {
	margin-top: 5px;
	border-top: 1px dotted #ddd;
	padding: 10px 0 4px 0;
}

.post .post_meta {
	margin: 4px 0;
	font-size: 11px;
	color: #999;
}

.post .post_meta a:link,
.post .post_meta a:visited {
	color: #777;
}

.post .post_meta a:hover,
.post .post_meta a:active {
	color: #777;
}

.post_controls {
	clear: both;
	background: #f5f5f5;
	border-bottom: 1px solid #ccc;
	padding: 5px;
	overflow: hidden;
}

.postbit_buttons > a:link,
.postbit_buttons > a:hover,
.postbit_buttons > a:visited,
.postbit_buttons > a:active {
	display: inline-block;
	padding: 2px 5px;
	margin: 2px;
	font-size: 11px;
	background: #eee url(images/buttons_bg.png) repeat-x;
	border: 1px solid #ccc;
	color: #555;
}

.postbit_buttons > a:hover {
	border-color: #bbb;
}

.postbit_buttons a span {
	padding-left: 20px;
	display: inline-block;
	height: 16px;
	background-image: url(images/buttons_sprite.png);
	background-repeat: no-repeat;
}

.postbit_buttons a.postbit_find span {
	background-position: 0 0;
}

.postbit_buttons a.postbit_reputation_add span {
	background-position: 0 -20px;
}

.postbit_buttons a.postbit_email span {
	background-position: 0 -40px;
}

.postbit_buttons a.postbit_website span {
	background-position: 0 -60px;
}

.postbit_buttons a.postbit_pm span {
	background-position: 0 -80px;
}

.postbit_buttons a.postbit_quote span {
	background-position: 0 -100px;
}

.postbit_buttons a.postbit_multiquote span {
	background-position: 0 -120px;
}

.postbit_buttons a.postbit_multiquote_on span {
	background-position: 0 -140px;
}

.postbit_buttons a.postbit_edit span {
	background-position: 0 -160px;
}

.postbit_buttons a.postbit_qdelete span {
	background-position: 0 -180px;
}

.postbit_buttons a.postbit_qrestore span {
	background-position: 0 -200px;
}

.postbit_buttons a.postbit_report span {
	background-position: 0 -220px;
}

.postbit_buttons a.postbit_warn span {
	background-position: 0 -240px;
}

.postbit_buttons a.postbit_purgespammer span {
	background-position: 0 -540px;
}

.postbit_buttons a.postbit_reply_pm span {
	background-position: 0 -260px;
}

.postbit_buttons a.postbit_reply_all span {
	background-position: 0 -280px;
}

.postbit_buttons a.postbit_forward_pm span {
	background-position: 0 -300px;
}

.postbit_buttons a.postbit_delete_pm span {
	background-position: 0 -320px;
}

.post:not(.deleted_post) .postbit_qrestore,
.post:not(.deleted_post) .status_type,
.post.deleted_post .postbit_mirage {
    display: none;
}

a.button:link,
a.button:hover,
a.button:visited,
a.button:active {
	background: #0f0f0f url(images/tcat.png) repeat-x;
	color: #fff;
	display: inline-block;
	padding: 4px 8px;
	margin: 2px 2px 6px 2px;
	border: 1px solid #000;
	font-size: 14px;
}

a.button.small_button {
	font-size: 13px;
	margin: 0;
	padding: 3px 6px;
}

a.button span {
	padding-left: 20px;
	display: inline-block;
	background-image: url(images/buttons_sprite.png);
	background-repeat: no-repeat;
}

a.button.new_thread_button span {
	background-position: 0 -340px;
}

a.button.new_reply_button span {
	background-position: 0 -360px;
}

a.button.closed_button span {
	background-position: 0 -380px;
}

a.button.rate_user_button span {
	background-position: 0 -400px;
}

a.button.add_buddy_button span {
	background-position: 0 -440px;
}

a.button.remove_buddy_button span {
	background-position: 0 -480px;
}

a.button.add_ignore_button span {
	background-position: 0 -460px;
}

a.button.remove_ignore_button span {
	background-position: 0 -500px;
}

a.button.report_user_button span {
	background-position: 0 -520px;
}

.quick_jump {
	background: url(images/jump.png) no-repeat 0;
	width: 13px;
	height: 13px;
	padding-left: 13px; /* amount of padding needed for image to fully show */
	margin-top: -3px;
	border: none;
}

.pollbar {
	background: url(images/pollbar.png) top left repeat-x;
	border: 1px solid #3f3f3f;
	height: 10px;
}

.pollbar .percent {
	display: none;
}

.poll_votedfor {
	background: #efefef;
	border: 1px solid;
	border-color: #fff #ddd #ddd #fff;
}

.posticons_label {
	white-space: nowrap;
}

/** jGrowl Start **/

/** Special IE6 Style Positioning **/
.ie6 {
	position: absolute;
}

.ie6.top-right {
	right: auto;
	bottom: auto;
	left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.top-left {
	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.bottom-right {
	left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.bottom-left {
	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.center {
	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
	width: 100%;
}

/** jGrowl Styling **/
.jGrowl {
	z-index: 9999;
	color: #ffffff;
	font-size: 12px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	position: fixed;
}
.jGrowl.top-left {
	left: 0px;
	top: 0px;
}
.jGrowl.top-right {
	right: 0px;
	top: 0px;
}
.jGrowl.bottom-left {
	left: 0px;
	bottom: 0px;
}
.jGrowl.bottom-right {
	right: 0px;
	bottom: 0px;
}
.jGrowl.center {
	top: 0px;
	width: 50%;
	left: 25%;
}

/** Cross Browser Styling **/

.jGrowl.center .jGrowl-notification,
.jGrowl.center .jGrowl-closer {
	margin-left: auto;
	margin-right: auto;
}
.jGrowl-notification {
	background-color: transparent;
	opacity: 0.9;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	transform: scale(1);
	width: 250px;
	padding: 10px;
	margin: 10px;
	text-align: left;
	display: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	word-break: break-all;
}
.jGrowl .jGrowl-notification {
	min-height: 40px;
}
.jGrowl-notification .ui-state-highlight,
.jGrowl-notification .ui-widget-content .ui-state-highlight,
.jGrowl-notification .ui-widget-header .ui-state-highlight {
	border: 1px solid #000;
	background: #000;
	color: #fff;
}
.jGrowl-notification .jGrowl-header {
	font-weight: bold;
	font-size: .85em;
}
.jGrowl-notification .jGrowl-close {
	background-color: transparent;
	color: inherit;
	border: none;
	z-index: 99;
	float: right;
	font-weight: bold;
	font-size: 1em;
	cursor: pointer;
}
.jGrowl-closer {
	background-color: #000000;
	opacity: 0.9;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	transform: scale(1);
	width: 250px;
	padding: 10px;
	margin: 10px;
	text-align: left;
	display: none;
	border-radius: 5px;
	word-break: break-all;
	padding-top: 4px;
	padding-bottom: 4px;
	cursor: pointer;
	font-size: .9em;
	font-weight: bold;
	text-align: center;
}
.jGrowl-closer .ui-state-highlight,
.jGrowl-closer .ui-widget-content .ui-state-highlight,
.jGrowl-closer .ui-widget-header .ui-state-highlight {
	border: 1px solid #000;
	background: #000;
	color: #fff;
}

.jGrowl .jGrowl-notification.jgrowl_success {
    background: lightgreen;
    border: 1px solid lightgreen;
    color: #333;
}

.jGrowl .jGrowl-notification.jgrowl_error {
    background: red;
    border: 1px solid red;
    color: #333;
}

.jGrowl .jGrowl-notification.jgrowl_process, .jGrowl .jGrowl-closer {
    background: yellow;
    border: 1px solid yellow;
	color: #333;
}

/** Hide jGrowl when printing **/
@media print {
	.jGrowl {
		display: none;
	}
}

/** jGrowl End **/

/** Modal Start **/

.blocker {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	z-index: 9999;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.75);
	text-align: center;
}

.blocker:before{
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.05em;
}

.blocker.behind {
	background-color: transparent;
}

.modal {
	width: 400px;
	text-align: left;
	background: #fff;
	display: inline-block;
	vertical-align: middle;
	position: relative;
	z-index: 2;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-ms-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: 0 0 10px #000;
	-moz-box-shadow: 0 0 10px #000;
	-o-box-shadow: 0 0 10px #000;
	-ms-box-shadow: 0 0 10px #000;
	box-shadow: 0 0 10px #000;
}

.modal a.close-modal {
	position: absolute;
	top: -12.5px;
	right: -12.5px;
	display: block;
	width: 30px;
	height: 30px;
	text-indent: -9999px;
	background: url(images/close.png) no-repeat 0 0;
	z-index: 2;
}

.modal-spinner {
	display: none;
	width: 64px;
	height: 64px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-right: -32px;
	margin-top: -32px;
	background: url(images/spinner_big.gif) no-repeat center center;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-ms-border-radius: 8px;
	border-radius: 8px;
}

/** Modal End **/

/** Impromptu Start **/

/*! jQuery-Impromptu - v6.2.3 - 2016-04-23
* http://trentrichardson.com/Impromptu
* Copyright (c) 2016 Trent Richardson; Licensed MIT */

.jqifade{
	position: absolute;
	background-color: #777777;
}
iframe.jqifade{
	display:block;
	z-index:-1;
}
div.jqi{
	width: 400px;
	max-width:90%;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	position: absolute;
	background-color: #ffffff;
	font-size: 11px;
	text-align: left;
	border: solid 1px #eeeeee;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	padding: 7px;
}
div.jqi .jqicontainer{
}
div.jqi .jqiclose{
	position: absolute;
	top: 4px; right: -2px;
	width: 18px;
	cursor: default;
	color: #bbbbbb;
	font-weight: bold;
}
div.jqi .jqistate{
	background-color: #fff;
}
div.jqi .jqititle{
	padding: 5px 10px;
	font-size: 16px;
	line-height: 20px;
	border-bottom: solid 1px #eeeeee;
}
div.jqi .jqimessage{
	padding: 10px;
	line-height: 20px;
	color: #444444;
	overflow: auto;
}
div.jqi .jqibuttonshide{
	display: none;
}
div.jqi .jqibuttons{
	text-align: right;
	margin: 0 -7px -7px -7px;
	border-top: solid 1px #e4e4e4;
	background-color: #f4f4f4;
	border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	-webkit-border-radius: 0 0 6px 6px;
}
div.jqi .jqibuttons button{
	margin: 0;
	padding: 15px 20px;
	background-color: transparent;
	font-weight: normal;
	border: none;
	border-left: solid 1px #e4e4e4;
	color: #777;
	font-weight: bold;
	font-size: 12px;
}
div.jqi .jqibuttons button.jqidefaultbutton{
	color: #489afe;
}
div.jqi .jqibuttons button:hover,
div.jqi .jqibuttons button:focus{
	color: #287ade;
	outline: none;
}
div.jqi .jqibuttons button[disabled]{
	color: #aaa;
}
.jqiwarning .jqi .jqibuttons{
	background-color: #b95656;
}

/* sub states */
div.jqi .jqiparentstate::after{
	background-color: #777;
	opacity: 0.6;
	filter: alpha(opacity=60);
	content: '';
	position: absolute;
	top:0;left:0;bottom:0;right:0;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}
div.jqi .jqisubstate{
	position: absolute;
	top:0;
	left: 20%;
	width: 60%;
	padding: 7px;
	border: solid 1px #eeeeee;
	border-top: none;
	border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	-webkit-border-radius: 0 0 6px 6px;
}
div.jqi .jqisubstate .jqibuttons button{
	padding: 10px 18px;
}

/* arrows for tooltips/tours */
.jqi .jqiarrow{ position: absolute; height: 0; width:0; line-height: 0; font-size: 0; border: solid 10px transparent;}

.jqi .jqiarrowtl{ left: 10px; top: -20px; border-bottom-color: #ffffff; }
.jqi .jqiarrowtc{ left: 50%; top: -20px; border-bottom-color: #ffffff; margin-left: -10px; }
.jqi .jqiarrowtr{ right: 10px; top: -20px; border-bottom-color: #ffffff; }

.jqi .jqiarrowbl{ left: 10px; bottom: -20px; border-top-color: #ffffff; }
.jqi .jqiarrowbc{ left: 50%; bottom: -20px; border-top-color: #ffffff; margin-left: -10px; }
.jqi .jqiarrowbr{ right: 10px; bottom: -20px; border-top-color: #ffffff; }

.jqi .jqiarrowlt{ left: -20px; top: 10px; border-right-color: #ffffff; }
.jqi .jqiarrowlm{ left: -20px; top: 50%; border-right-color: #ffffff; margin-top: -10px; }
.jqi .jqiarrowlb{ left: -20px; bottom: 10px; border-right-color: #ffffff; }

.jqi .jqiarrowrt{ right: -20px; top: 10px; border-left-color: #ffffff; }
.jqi .jqiarrowrm{ right: -20px; top: 50%; border-left-color: #ffffff; margin-top: -10px; }
.jqi .jqiarrowrb{ right: -20px; bottom: 10px; border-left-color: #ffffff; }

/** Impromptu End */
]]></stylesheet>
		<stylesheet name="usercp.css" attachedto="usercp.php|private.php" version="1816" disporder="2"><![CDATA[.usercp_nav_item {
	display: block;
	padding: 1px 0 1px 23px;
	background-image: url(images/usercp_sprite.png);
	background-repeat: no-repeat;
}

.usercp_nav_composepm {
	background-position: 0 0;
}

.usercp_nav_pmfolder {
	background-position: 0 -20px;
}

.usercp_nav_sub_pmfolder {
	padding-left: 40px;
	background-position: 0 -40px;
}

.usercp_nav_trash_pmfolder {
	padding-left: 40px;
	background-position: 0 -60px;
}

.usercp_nav_pmtracking {
	background-position: 0 -80px;
}

.usercp_nav_pmfolders {
	background-position: 0 -100px;
}

.usercp_nav_profile {
	background-position: 0 -120px;
}

.usercp_nav_email {
	padding-left: 40px;
	background-position: 0 -140px;
}

.usercp_nav_password {
	padding-left: 40px;
	background-position: 0 -160px;
}

.usercp_nav_username {
	padding-left: 40px;
	background-position: 0 -180px;
}

.usercp_nav_editsig {
	padding-left: 40px;
	background-position: 0 -200px;
}

.usercp_nav_avatar {
	padding-left: 40px;
	background-position: 0 -220px;
}

.usercp_nav_options {
	background-position: 0 -240px;
}

.usercp_nav_usergroups {
	background-position: 0 -260px;
}

.usercp_nav_editlists {
	background-position: 0 -280px;
}

.usercp_nav_attachments {
	background-position: 0 -300px;
}

.usercp_nav_drafts {
	background-position: 0 -320px;
}

.usercp_nav_subscriptions {
	background-position: 0 -340px;
}

.usercp_nav_fsubscriptions {
	background-position: 0 -360px;
}

.usercp_nav_viewprofile {
	background-position: 0 -380px;
}

.usercp_nav_home {
	background-position: 0 -400px;
}

.usercp_notepad {
	width: 99%;
}

.usercp_container {
	margin: 5px;
	padding: 8px;
	border:1px solid #CCCCCC;
}

.pmspace {
	float: right;
	margin: -3px 5px;
}

.pmspace_container {
	background: #fff;
	border: 1px solid #ccc;
	width: 100px;
	display: inline-block;
}

.pmspace_used {
	display: inline-block;
	color: #fff;
	margin: -1px;
}

.pmspace_used.low {
	border: 1px solid #0c5a01;
	background: #167203;
}

.pmspace_used.medium {
	background: #ff862b;
	border: 1px solid #d7611e;
}

.pmspace_used.high {
	background: #e73c3c;
	border: 1px solid #c00;
}

.pmspace_unused {
	display: inline-block;
}

.pmspace_text {
	padding: 1px 5px;
	display: inline-block;
}

.new_pm {
	font-weight: bold;
}]]></stylesheet>
		<stylesheet name="modcp.css" attachedto="modcp.php" version="1800" disporder="3"><![CDATA[.modcp_nav_item {
	display: block;
	padding: 1px 0 1px 23px;
	background-image: url(images/modcp_sprite.png);
	background-repeat: no-repeat;
}

.modcp_nav_home {
	background-position: 0 0;
}

.modcp_nav_announcements {
	background-position: 0 -20px;
}

.modcp_nav_reports {
	background-position: 0 -40px;
}

.modcp_nav_modqueue {
	background-position: 0 -60px;
}

.modcp_nav_modlogs {
	background-position: 0 -80px;
}

.modcp_nav_editprofile {
	background-position: 0 -100px;
}

.modcp_nav_banning {
	background-position: 0 -120px;
}

.modcp_nav_warninglogs {
	background-position: 0 -140px;
}

.modcp_nav_ipsearch {
	background-position: 0 -160px;
}

.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="1800" disporder="4"><![CDATA[.star_rating,
.star_rating li a:hover,
.star_rating .current_rating {
	background: url(images/star_rating.png) 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 {
	background: url(images/star_rating.png) left -1000px repeat-x;
	float: left;
	vertical-align: middle;
	padding-right: 5px;
}]]></stylesheet>
	<stylesheet name="showthread.css" attachedto="showthread.php" version="1800" disporder="5"><![CDATA[ul.thread_tools,
ul.thread_tools li {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.thread_tools li {
	padding-left: 24px;
	padding-bottom: 4px;
	margin-bottom: 3px;
	font-size: 11px;
	background-image: url(images/showthread_sprite.png);
	background-repeat: no-repeat;
}

ul.thread_tools li.printable {
	background-position: 0 0;
}

ul.thread_tools li.sendthread {
	background-position: 0 -20px;
}

ul.thread_tools li.subscription_add {
	background-position: 0 -40px;
}

ul.thread_tools li.subscription_remove {
	background-position: 0 -60px;
}

ul.thread_tools li.poll {
	background-position: 0 -80px;
}

.showthread_spinner {
	width: 100%;
	margin: 0 auto;
	display: block;
	text-align: center;
	padding: 20px;
}

]]></stylesheet>
		<stylesheet name="thread_status.css" attachedto="forumdisplay.php|usercp.php|search.php" version="1800" disporder="6"><![CDATA[.thread_status {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url(images/folders_sprite.png);
	background-repeat: no-repeat;
}

.thread_status.dot_folder {
	background-position: 0 0;
}

.thread_status.dot_hotfolder {
	background-position: 0 -20px;
}

.thread_status.dot_hotclosefolder {
	background-position: 0 -40px;
}

.thread_status.dot_closefolder {
	background-position: 0 -60px;
}

.thread_status.dot_newfolder {
	background-position: 0 -80px;
}

.thread_status.dot_newhotfolder {
	background-position: 0 -100px;
}

.thread_status.dot_newhotclosefolder {
	background-position: 0 -120px;
}

.thread_status.dot_newclosefolder {
	background-position: 0 -140px;
}

.thread_status.folder {
	background-position: 0 -160px;
}

.thread_status.hotfolder {
	background-position: 0 -180px;
}

.thread_status.hotclosefolder {
	background-position: 0 -200px;
}

.thread_status.closefolder {
	background-position: 0 -220px;
}

.thread_status.movefolder {
	background-position: 0 -240px;
}

.thread_status.newfolder {
	background-position: 0 -260px;
}

.thread_status.newhotfolder {
	background-position: 0 -280px;
}

.thread_status.newhotclosefolder {
	background-position: 0 -300px;
}

.thread_status.newclosefolder {
	background-position: 0 -320px;
}]]></stylesheet>
	<stylesheet name="css3.css" version="1811" disporder="7"><![CDATA[tr td.trow1:first-child,
tr td.trow2:first-child,
tr td.trow_shaded:first-child {
	border-left: 0;
}

tr td.trow1:last-child,
tr td.trow2:last-child,
tr td.trow_shaded:last-child {
	border-right: 0;
}

.tborder {
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
}

.tborder tbody tr:last-child > td {
	border-bottom: 0;
}

.tborder tbody tr:last-child > td:first-child {
	-moz-border-radius-bottomleft: 6px;
	-webkit-border-bottom-left-radius: 6px;
	border-bottom-left-radius: 6px;
}

.tborder tbody tr:last-child > td:last-child {
	-moz-border-radius-bottomright: 6px;
	-webkit-border-bottom-right-radius: 6px;
	border-bottom-right-radius: 6px;
}

.thead {
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.thead_collapsed {
	-moz-border-radius-bottomleft: 6px;
	-moz-border-radius-bottomright: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

.thead_left {
	-moz-border-radius-topright: 0;
	-webkit-border-top-right-radius: 0;
	border-top-right-radius: 0;
}

.thead_right {
	-moz-border-radius-topleft: 0;
	-webkit-border-top-left-radius: 0;
	border-top-left-radius: 0;
}

.tcat_menu {
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 0 !important;
}

.tborder tbody:nth-last-child(2) .tcat_collapse_collapsed {
	-moz-border-radius-bottomleft: 6px !important;
	-moz-border-radius-bottomright: 6px !important;
	-webkit-border-bottom-left-radius: 6px !important;
	-webkit-border-bottom-right-radius: 6px !important;
	border-bottom-left-radius: 6px !important;
	border-bottom-right-radius: 6px !important;
}

button,
input.button,
input.textbox,
input.invalid_field,
input.valid_field,
select,
textarea,
.editor_control_bar,
blockquote,
.codeblock,
fieldset,
.pm_alert,
.red_alert,
.popup_menu,
.postbit_buttons > a,
a.button {
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

.post.classic .post_author {
	-moz-border-radius: 0 6px 6px 0;
	-webkit-border-radius: 0 6px 6px 0;
	border-radius: 0 6px 6px 0;
}

.popup_menu .popup_item_container:first-child .popup_item {
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.popup_menu .popup_item_container:last-child .popup_item {
	-moz-border-radius-bottomleft: 6px;
	-moz-border-radius-bottomright: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

.pagination a {
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

.pollbar {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

div.error {
	-moz-border-radius: 6px;
    	-webkit-border-radius: 6px;
   	 border-radius: 6px;
}]]></stylesheet>
	</stylesheets>
	<templates>
		<template name="announcement" version="1820"><![CDATA[<html>
<head>
<title>{$lang->forum_announcement}</title>
{$headerinclude}
<script type="text/javascript">
var announcement_quickdelete_confirm = "{$lang->announcement_quickdelete_confirm}";
</script>
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed clear no_bottom_border">
<tr>
<td class="thead"><strong>{$lang->forum_announcement}</strong></td>
</tr>
<tr><td id="posts_container">
	<div id="posts">
	{$announcement}
	</div>
</td></tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="announcement_edit" version="1800"><![CDATA[<a href="modcp.php?action=edit_announcement&amp;aid={$post['aid']}" title="{$lang->announcement_edit}" class="postbit_edit"><span>{$lang->postbit_button_edit}</span></a>]]></template>
		<template name="announcement_quickdelete" version="1800"><![CDATA[<a href="modcp.php?action=delete_announcement&amp;aid={$post['aid']}&amp;my_post_key={$mybb->post_code}" onclick="MyBB.deleteAnnouncement(this); return false;" class="postbit_qdelete"><span>{$lang->postbit_button_qdelete}</span></a>]]></template>
		<template name="calendar" version="1813"><![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">
						{$prev_month_link}{$sep}{$next_month_link}
					</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 valign="top">{$addevent}</td>
						<td 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 />
						{$calendar_jump}
						</td>
					</tr>
				</table>
			</td>
		</tr>
		</table>
	</form>
{$footer}
</body>
</html>]]></template>
		<template name="calendar_addevent" version="1800"><![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 clear">
		<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>
		{$calendar_select}
		<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").prop("checked"))
						{
							$("#ranged_selects").hide();
							$("#single_selects").show();
						}
						else
						{
							$("#single_selects").hide();
							$("#ranged_selects").show();
							toggleRepeats();
						}
					}

					function toggleRepeats()
					{
						var repeats = $("#repeats").get(0).selectedIndex;
						$(".repeats_type").each(function()
						{
							$(this).hide();
						});
						if($("#repeats_type_"+repeats).length > 0)
						{
							$("#repeats_type_"+repeats).show();
						}
					}
				// -->
				</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->timezone}</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').prop('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').prop('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').prop('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').prop('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').prop('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').prop('checked', true);" value="{$repeats_5_day}" size="2" />
											<select name="repeats_5_month" onfocus="$('#repeats_5_type_1').prop('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').prop('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').prop('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').prop('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').prop('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').prop('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_addevent_calendarselect" version="1800"><![CDATA[		<tr>
			<td width="20%" class="trow1"><strong>{$lang->select_calendar}</strong></td>
			<td class="trow1">
				<select name="calendar">
					{$select_calendar}
				</select>
			</td>
		</tr>]]></template>
		<template name="calendar_addevent_calendarselect_hidden" version="1800"><![CDATA[<input type="hidden" name="calendar" value="{$calendar['cid']}" />]]></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_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_day" version="1800"><![CDATA[<option value="{$day}" {$selected}>{$day}</option>]]></template>
		<template name="calendar_dayview" version="1800"><![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 valign="top">{$addevent}</td>
						<td 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 />
						{$calendar_jump}
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</form>
{$footer}
</body>
</html>]]></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="calendar_dayview_event" version="1800"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed">
	<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 class="float_left">
				<strong><span class="largetext">{$event['profilelink']}</span></strong><br />
				<span class="smalltext">
					{$event['usertitle']}<br />
					{$event['userstars']}
				</span>
			</div>
			<div class="float_right" style="text-align: right;">
				{$moderator_options}
				{$repeats}
			</div>
			<br class="clear" />
		</td>
	</tr>
	<tr>
		<td class="trow2 scaleimages{$event_class}">
			<p>{$event['description']}</p>
			{$edit_event}
		</td>
	</tr>
</table>
<br />]]></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="calendar_editevent" version="1806"><![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_deleteevent" />
	<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 clear">
		<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").prop("checked"))
						{
							$("#ranged_selects").hide();
							$("#single_selects").show();
						}
						else
						{
							$("#single_selects").hide();
							$("#ranged_selects").show();
							toggleRepeats();
						}
					}

					function toggleRepeats()
					{
						var repeats = $("#repeats").get(0).selectedIndex;
						$(".repeats_type").each(function()
						{
							$(this).hide();
						});
						if($("#repeats_type_"+repeats).length > 0)
						{
							$("#repeats_type_"+repeats).show();
						}
					}
				// -->
				</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->timezone}</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_event" version="1800"><![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 tfixed">
	<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 class="float_left">
				<strong><span class="largetext">{$event['profilelink']}</span></strong><br />
				<span class="smalltext">
					{$event['usertitle']}<br />
					{$event['userstars']}
				</span>
			</div>
			<div class="float_right" style="text-align: right;">
				{$moderator_options}
				{$repeats}
			</div>
			<br class="clear" />
		</td>
	</tr>
	<tr>
		<td class="trow2 scaleimages{$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 valign="top">{$addevent}</td>
						<td 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">
							{$yearsel}
						</select>
						{$gobutton}
						<br />
						{$calendar_jump}
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="calendar_event_editbutton" version="1809"><![CDATA[<div style="text-align: right; vertical-align: bottom;" class="postbit_buttons">
	<a href="calendar.php?action=editevent&amp;eid={$event['eid']}" class="postbit_edit"><span>{$lang->postbit_button_edit}</span></a>
	<a href="javascript:void(0)" onclick="MyBB.deleteEvent({$event['eid']}); return false;" class="postbit_qdelete"><span>{$lang->postbit_button_qdelete}</span></a>
</div>]]></template>
		<template name="calendar_event_modoptions" version="1604"><![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']}&amp;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_event_userstar" version="1800"><![CDATA[<img src="{$event['starimage']}" border="0" alt="*" />]]></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_jump" version="1800"><![CDATA[<br />
<span class="smalltext"><strong>{$lang->jump_to_calendar}</strong></span>
<select name="calendar">
{$jump_options}
</select>
{$gobutton}]]></template>
		<template name="calendar_jump_option" version="1800"><![CDATA[<option value="{$calendar['cid']}" {$sel}>{$calendar['name']}</option>]]></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_mini_weekrow_day_link" version="1808"><![CDATA[<a href="{$calendar['link']}">{$day}</a>]]></template>
		<template name="calendar_move" version="1800"><![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 clear">
		<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_nextlink" version="1813"><![CDATA[<a href="{$next_link}">{$next_month['name']} {$next_month['year']} &raquo;</a>]]></template>
		<template name="calendar_prevlink" version="1813"><![CDATA[<a href="{$prev_link}">&laquo; {$prev_month['name']} {$prev_month['year']}</a>]]></template>
		<template name="calendar_repeats" version="1800"><![CDATA[<span class="smalltext"><strong>{$lang->repeats}</strong><br />{$repeats}</span>]]></template>
		<template name="calendar_select" version="1800"><![CDATA[<option value="{$calendar_option['cid']}"{$selected}>{$calendar_option['name']}</option>]]></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" version="1823"><![CDATA[				<td class="trow1" style="vertical-align: top; height: 100px;">
					<div class="float_right smalltext"><a href="{$day_link}">{$day}</a></div>
					<div class="clear">
					{$day_birthdays}
					{$day_events}
					</div>
				</td>]]></template>
		<template name="calendar_weekrow_currentday" version="1823"><![CDATA[				<td class="trow_sep" style="vertical-align: top; height: 100px;">
					<div class="float_right smalltext"><a href="{$day_link}">{$day}</a></div>
					<div class="clear">
					{$day_birthdays}
					{$day_events}
					</div>
				</td>]]></template>
		<template name="calendar_weekrow_thismonth" version="1823"><![CDATA[				<td class="trow2" style="vertical-align: top; height: 100px;">
					<div class="float_right smalltext"><a href="{$day_link}">{$day}</a></div>
					<div class="clear">
					{$day_birthdays}
					{$day_events}
					</div>
				</td>]]></template>
		<template name="calendar_weekrow_day_birthdays" version="1800"><![CDATA[<div style="margin-bottom: 4px;"><a href="{$calendar['link']}" class="smalltext">{$bday_count} {$birthday_lang}</a></div>]]></template>
		<template name="calendar_weekrow_day_events" version="1808"><![CDATA[<div style="margin-bottom: 4px;"><a href="{$calendar['link']}" class="smalltext">{$total_events} {$event_lang}</a></div>]]></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_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_weekview" version="1813"><![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">
						{$prev_week_link}{$sep}{$next_week_link}
					</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 valign="top">{$addevent}</td>
							<td align="right">
							<span class="smalltext"><strong>{$lang->jump_month}</strong></span>
							<select name="month">
								<option value="{$week_from[1]}">{$monthnames[$week_from_one]}</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 />
							{$calendar_jump}
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</form>
{$footer}
</body>
</html>]]></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_birthdays" version="1800"><![CDATA[<a href="{$calendar_link}">{$bday_count} {$birthday_lang}</a><br />]]></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_weekview_day_event_time" version="1800"><![CDATA[<span class="smalltext"> ({$time_period})</span>]]></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_nextlink" version="1813"><![CDATA[<a href="{$next_link}">{$lang->next_week} &raquo;</a>]]></template>
		<template name="calendar_weekview_prevlink" version="1813"><![CDATA[<a href="{$prev_link}">&laquo; {$lang->previous_week}</a>]]></template>
		<template name="calendar_year" version="1800"><![CDATA[<option value="{$year}" {$selected}>{$year}</option>]]></template>
		<template name="calendar_year_sel" version="1800"><![CDATA[<option value="{$year_sel}">{$year_sel}</option>]]></template>
		<template name="editpost" version="1823"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->edit_post}</title>
{$headerinclude}
{$post_javascript}
</head>
<body>
{$header}
{$preview}
{$post_errors}
{$attacherror}
{$moderation_notice}
{$deletebox}
<form id="editpost" 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>
{$editreason}
{$postoptions}
{$subscriptionmethod}
{$pollbox}
</table>
{$attachbox}
<br />
<div align="center"><input type="submit" class="button" name="submitbutton" 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="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="editpost_delete" version="1800"><![CDATA[<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 />]]></template>
		<template name="editpost_disablesmilies" version="1809"><![CDATA[<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" tabindex="8"{$postoptionschecked['disablesmilies']} /> {$lang->options_disablesmilies}</label>]]></template>
		<template name="editpost_postoptions" version="1809"><![CDATA[<tr>
<td class="trow2" valign="top"><strong>{$lang->post_options}</strong></td>
<td class="trow2"><span class="smalltext">
{$signature}
{$disablesmilies}</span>
</td>
</tr>]]></template>
		<template name="editpost_reason" version="1800"><![CDATA[<tr>
<td class="trow1"><strong>{$lang->editreason}</strong></td>
<td class="trow1"><input type="text" class="textbox" name="editreason" size="40" maxlength="150" value="{$reason}" tabindex="5" /></td>
</tr>]]></template>
		<template name="editpost_signature" version="1809"><![CDATA[<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="6"{$postoptionschecked['signature']} /> {$lang->options_sig}</label><br />]]></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="error_inline" version="120"><![CDATA[<div class="error">
	<p><em>{$title}</em></p>
	<ul>
		{$errorlist}
	</ul>
</div>
<br />]]></template>
		<template name="error_inline_item" version="1818"><![CDATA[<li>{$error}</li>]]></template>
		<template name="error_nopermission" version="1823"><![CDATA[{$lang->error_nopermission_guest_1}
<ol>
<li>{$lang->error_nopermission_guest_2} <a href="member.php?action=login">{$lang->login}</a> | <a href="member.php?action=register">{$lang->need_reg}</a></li>
<li>{$lang->error_nopermission_guest_3}</li>
<li>{$lang->error_nopermission_guest_4}</li>
<li>{$lang->error_nopermission_guest_5}</li>
</ol>]]></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="footer" version="1820"><![CDATA[<debugstuff>
	</div>
</div>
<div id="footer">
	<div class="upper">
		<div class="wrapper">
			{$lang_select}
			{$theme_select}
			<ul class="menu bottom_links">
				{$showteamlink}
				{$contact_us}
				<li><a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a></li>
				<li><a href="#top">{$lang->bottomlinks_returntop}</a></li>
				<li><a href="<archive_url>">{$lang->bottomlinks_litemode}</a></li>
				<li><a href="{$mybb->settings['bburl']}/misc.php?action=markread{$post_code_string}">{$lang->bottomlinks_markread}</a></li>
				<li><a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a></li>
			</ul>
		</div>
	</div>
	<div class="lower">
		<div class="wrapper">
			<span id="current_time">{$lang->welcome_current_time}</span>
			<span id="copyright">
				<!-- 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="https://mybb.com" target="_blank" rel="noopener">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="https://mybb.com" target="_blank" rel="noopener">MyBB Group</a>.
				<!-- End powered by -->
			</span>
		</div>
	</div>
</div>
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->
{$auto_dst_detection}
</div>]]></template>
		<template name="footer_showteamlink" version="1820"><![CDATA[<li><a href="showteam.php">{$lang->bottomlinks_forumteam}</a></li>]]></template>
		<template name="footer_contactus" version="1800"><![CDATA[<li><a href="{$mybb->settings['contactlink']}">{$lang->bottomlinks_contactus}</a></li>]]></template>
		<template name="footer_languageselect" version="1811"><![CDATA[<div class="language">
<form method="POST" action="{$lang_redirect_url['location']}" id="lang_select">
	{$lang_redirect_url['form_html']}
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	<select name="language" onchange="MyBB.changeLanguage();">
		<optgroup label="{$lang->select_language}">
			{$lang_options}
		</optgroup>
	</select>
	{$gobutton}
</form>
</div>]]></template>
		<template name="footer_languageselect_option" version="1800"><![CDATA[<option value="{$key}"{$selected}>&nbsp;&nbsp;&nbsp;{$language}</option>]]></template>
		<template name="footer_themeselect" version="1811"><![CDATA[<div class="theme">
<form method="POST" action="{$theme_redirect_url['location']}" id="theme_select">
	{$theme_redirect_url['form_html']}
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	{$theme_options}
	{$gobutton}
</form>
</div>]]></template>
		<template name="footer_themeselector" version="1800"><![CDATA[<select name="{$name}" onchange="MyBB.changeTheme();">
<optgroup label="{$lang->select_theme}">
{$themeselect_option}
</optgroup>
</select>]]></template>
		<template name="forumbit_depth1_cat" version="1800"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead{$expthead}" 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="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="forumbit_depth1_forum_lastpost" version="1800"><![CDATA[<span class="smalltext">
<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />{$lastpost_date}<br />{$lang->by} {$lastpost_profilelink}</span>]]></template>
		<template name="forumbit_depth2_cat" version="1804"><![CDATA[<tr>
<td class="{$bgcolor}" align="center" width="1"><span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"></span></td>
<td class="{$bgcolor}">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$subforums}</div>
</td>
<td class="{$bgcolor}" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>]]></template>
		<template name="forumbit_depth2_forum" version="1804"><![CDATA[<tr>
<td class="{$bgcolor}" align="center" width="1"><span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"></span></td>
<td class="{$bgcolor}">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>]]></template>
		<template name="forumbit_depth2_forum_lastpost" version="1800"><![CDATA[<span class="smalltext">
<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />{$lastpost_date}<br />{$lang->by} {$lastpost_profilelink}</span>]]></template>
		<template name="forumbit_depth2_forum_lastpost_hidden" version="1800"><![CDATA[<div style="text-align: center;">-</div>]]></template>
		<template name="forumbit_depth2_forum_lastpost_never" version="1800"><![CDATA[<div style="text-align: center;">{$lang->lastpost_never}</div>]]></template>
		<template name="forumbit_depth2_forum_unapproved_posts" version="1800"><![CDATA[ <span title="{$unapproved_posts_count}">({$forum['unapprovedposts']})</span>]]></template>
		<template name="forumbit_depth2_forum_unapproved_threads" version="1800"><![CDATA[ <span title="{$unapproved_threads_count}">({$forum['unapprovedthreads']})</span>]]></template>
		<template name="forumbit_depth2_forum_viewers" version="1800"><![CDATA[<span class="smalltext">{$forum_viewers_text}</span>]]></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="1800"><![CDATA[<div title="{$lightbulb['altonoff']}" class="subforumicon subforum_{$lightbulb['folder']} ajax_mark_read" id="mark_read_{$forum['fid']}"></div>]]></template>
		<template name="forumbit_moderators" version="120"><![CDATA[<br />{$lang->forumbit_moderated_by} {$moderators}]]></template>
		<template name="forumbit_moderators_group" version="1800"><![CDATA[{$comma}{$moderator['title']}]]></template>
		<template name="forumbit_moderators_user" version="1800"><![CDATA[{$comma}<a href="{$moderator['profilelink']}">{$moderator['username']}</a>]]></template>
		<template name="forumbit_subforums" version="1808"><![CDATA[<br /><strong>{$lang->subforums}</strong> {$sub_forums}]]></template>
		<template name="forumdisplay" version="1821"><![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}";
	lang.inline_edit_description = "{$lang->inline_edit_description}";
	lang.post_fetch_error = "{$lang->post_fetch_error}";
// -->
</script>
<!-- jeditable (jquery) -->
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jeditable/jeditable.min.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/inline_edit.js?ver=1821"></script>
</head>
<body>
{$header}
{$moderatedby}
{$usersbrowsing}
{$rules}
{$subforums}
{$threadslist}
{$footer}
</body>
</html>]]></template>
		<template name="forumdisplay_announcement_rating" version="1801"><![CDATA[	<td class="{$bgcolor} forumdisplay_announcement" align="center">-</td>]]></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_announcements_announcement" version="1800"><![CDATA[<tr>
<td align="center" class="{$bgcolor} forumdisplay_announcement" width="2%"><span class="thread_status {$folder}">&nbsp;</span></td>
<td align="center" class="{$bgcolor} forumdisplay_announcement" width="2%">&nbsp;</td>
<td class="{$bgcolor} forumdisplay_announcement">
	<a href="{$announcement['announcementlink']}"{$new_class}>{$announcement['subject']}</a>
	<div class="author smalltext">{$announcement['profilelink']}</div>
</td>
<td align="center" class="{$bgcolor} forumdisplay_announcement">-</td>
<td align="center" class="{$bgcolor} forumdisplay_announcement">-</td>
{$rating}
<td class="{$bgcolor} forumdisplay_announcement" style="white-space: nowrap; text-align: right"><span class="smalltext">{$postdate}</span></td>
{$modann}
</tr>]]></template>
		<template name="forumdisplay_forumsort" version="1827"><![CDATA[<tr>
		<td class="tfoot" align="right" colspan="{$colspan}">
			<form action="forumdisplay.php" method="get">
				<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>
				{$prefixselect}
				{$gobutton}
			</form>
		</td>
	</tr>]]></template>
		<template name="forumdisplay_announcements_announcement_modbit" version="1800"><![CDATA[<td align="center" class="{$bgcolor} forumdisplay_announcement">-</td>]]></template>
		<template name="forumdisplay_inlinemoderation" version="1838"><![CDATA[<script type="text/javascript" src="{$mybb->asset_url}/jscripts/inline_moderation.js?ver=1838"></script>
		<form id="inlinemoderation_options" 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" id="inlinemoderation_options_selector">
	<option value="" style="display: none;" selected="selected">{$lang->select_a_tool}</option>
	<option value="delayedmoderation">{$lang->delayed_moderation}</option>
	{$standardthreadtools}
	{$customthreadtools}
</select>
<input type="submit" class="button" name="go" value="{$lang->inline_go} ({$inlinecount})" id="inline_go" />&nbsp;
<input type="button" onclick="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};
	lang.select_tool = "{$lang->inline_no_tool_selected}";
	lang.selected_nil = "{$lang->inline_no_post_selected}";
// -->
</script>
<br />]]></template>
		<template name="forumdisplay_inlinemoderation_approveunapprove" version="1800"><![CDATA[<option value="multiapprovethreads">{$lang->approve_threads}</option>
<option value="multiunapprovethreads">{$lang->unapprove_threads}</option>]]></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="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_delete" version="1800"><![CDATA[<option value="multideletethreads">{$lang->delete_threads}</option>]]></template>
		<template name="forumdisplay_inlinemoderation_manage" version="1800"><![CDATA[<option value="multimovethreads">{$lang->move_threads}</option>]]></template>
		<template name="forumdisplay_inlinemoderation_openclose" version="1800"><![CDATA[<option value="multiclosethreads">{$lang->close_threads}</option>
<option value="multiopenthreads">{$lang->open_threads}</option>]]></template>
		<template name="forumdisplay_inlinemoderation_restore" version="1800"><![CDATA[<option value="multirestorethreads">{$lang->restore_threads}</option>]]></template>
		<template name="forumdisplay_inlinemoderation_selectall" version="1809"><![CDATA[<tr id="selectAllrow" class="hiddenrow">
	<td colspan="8" class="selectall">{$lang->page_selected} <a href="javascript:void(0)" onclick='inlineModeration.selectAll(); return false;'>{$lang->select_all}</a></td>
</tr>
<tr id="allSelectedrow" class="hiddenrow">
	<td colspan="8" class="selectall">{$lang->all_selected} <a href="javascript:void(0)" onclick='inlineModeration.clearChecked(); return false;'>{$lang->clear_selection}</a></td>
</tr>]]></template>
		<template name="forumdisplay_inlinemoderation_softdelete" version="1800"><![CDATA[<option value="multisoftdeletethreads">{$lang->soft_delete_threads}</option>]]></template>
		<template name="forumdisplay_inlinemoderation_standard" version="1800"><![CDATA[<optgroup label="{$lang->standard_mod_tools}">
{$inlinemodopenclose}
{$inlinemodstickunstick}
{$inlinemodsoftdelete}
{$inlinemodrestore}
{$inlinemoddelete}
{$inlinemodmanage}
{$inlinemodapproveunapprove}
</optgroup>]]></template>
		<template name="forumdisplay_inlinemoderation_stickunstick" version="1800"><![CDATA[<option value="multistickthreads">{$lang->stick_threads}</option>
<option value="multiunstickthreads">{$lang->unstick_threads}</option>]]></template>
		<template name="forumdisplay_moderatedby" version="1600"><![CDATA[<span class="smalltext">{$lang->moderated_by} <strong>{$moderators}</strong></span><br />]]></template>
		<template name="forumdisplay_newthread" version="1800"><![CDATA[<a href="newthread.php?fid={$fid}" class="button new_thread_button"><span>{$lang->post_thread}</span></a>]]></template>
		<template name="forumdisplay_nopermission" version="1807"><![CDATA[<tr>
<td colspan="{$colspan}" class="trow1">{$lang->nopermission}</td>
</tr>]]></template>
		<template name="forumdisplay_nothreads" version="120"><![CDATA[<tr>
<td colspan="{$colspan}" class="trow1">{$lang->nothreads}</td>
</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="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="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="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="forumdisplay_rules" version="1800"><![CDATA[<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed">
<tr>
<td class="thead"><strong>{$foruminfo['rulestitle']}</strong></td>
</tr>
<tr>
<td class="trow1 scaleimages"><span class="smalltext">{$foruminfo['rules']}</span></td>
</tr>
</table>
<br />]]></template>
		<template name="forumdisplay_rules_link" version="1607"><![CDATA[<br />
<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_searchforum" version="1828"><![CDATA[<form action="search.php">
	<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="forumdisplay_sticky_sep" version="120"><![CDATA[<tr>
<td class="trow_sep" colspan="{$colspan}">{$lang->sticky_threads}</td>
</tr>]]></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_thread" version="1823"><![CDATA[<tr class="inline_row">
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></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']}<span class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><a href="{$thread['threadlink']}">{$thread['subject']}</a></span>{$thread['multipage']}</span>
			<div><span class="author smalltext">{$thread['profilelink']}{$lang->comma}</span><span class="thread_start_datetime smalltext">{$thread['start_datetime']}</span></div>
		</div>
	</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="{$mybb->settings['bburl']}/misc.php?action=whoposted&tid={$thread['tid']}" onclick="MyBB.whoPosted({$thread['tid']}); return false;">{$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}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
	</td>
{$modbit}
</tr>]]></template>
		<template name="forumdisplay_thread_attachment_count" version="1800"><![CDATA[<div class="float_right"><img src="{$theme['imgdir']}/paperclip.png" alt="" title="{$attachment_count}" /></div>]]></template>
		<template name="forumdisplay_thread_deleted" version="1809"><![CDATA[<tr class="inline_row">
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">&nbsp;</td>
	<td class="{$bgcolor}{$thread_type_class}"><em>{$lang->deleted_thread}</em></td>
	<td align="center" class="{$bgcolor}{$thread_type_class}">-</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}">-</td>
	{$rating}
	<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">-</td>
	{$modbit}
</tr>]]></template>
		<template name="forumdisplay_thread_gotounread" version="1800"><![CDATA[<a href="{$thread['newpostlink']}"><img src="{$theme['imgdir']}/jump.png" alt="{$lang->goto_first_unread}" title="{$lang->goto_first_unread}" /></a> ]]></template>
		<template name="forumdisplay_thread_icon" version="1800"><![CDATA[<img src="{$icon['path']}" alt="{$icon['name']}" title="{$icon['name']}" />]]></template>
		<template name="forumdisplay_thread_modbit" version="1800"><![CDATA[<td class="{$bgcolor}{$thread_type_class}" 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_multipage" version="120"><![CDATA[ <span class="smalltext">({$lang->pages} {$threadpages}{$morelink})</span>]]></template>
		<template name="forumdisplay_thread_multipage_more" version="1600"><![CDATA[... <a href="{$page_link}">{$thread['pages']}</a>]]></template>
		<template name="forumdisplay_thread_multipage_page" version="1400"><![CDATA[<a href="{$page_link}">{$i}</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_thread_rating_moved" version="1800"><![CDATA[<td class="{$bgcolor}" style="text-align: center;">-</td>]]></template>
		<template name="forumdisplay_thread_unapproved_posts" version="1800"><![CDATA[ <span title="{$unapproved_posts_count}">({$thread['unapprovedposts']})</span>]]></template>

		<template name="forumdisplay_threadlist" version="1838"><![CDATA[<div class="float_left">
	{$multipage}
</div>
<div class="float_right">
	{$newthread}
</div>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder clear">
	<tr>
		<td class="thead" colspan="{$colspan}">
			<div class="float_right">
				<span class="smalltext"><strong><a href="misc.php?action=markread&amp;fid={$fid}{$post_code_string}">{$lang->markforum_read}</a>{$addremovesubscription}{$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}
	{$forumsort}
</table>
<div class="float_left">
	{$multipage}
</div>
<div class="float_right" style="margin-top: 4px;">
	{$newthread}
</div>
<br class="clear" />
<br />
<div class="float_left">
	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><span class="thread_status newfolder" title="{$lang->new_thread}">&nbsp;</span> {$lang->new_thread}</dd>
			<dd><span class="thread_status newhotfolder" title="{$lang->new_hot_thread}">&nbsp;</span> {$lang->new_hot_thread}</dd>
			<dd><span class="thread_status hotfolder" title="{$lang->hot_thread}">&nbsp;</span> {$lang->hot_thread}</dd>
		</dl>
	</div>
	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><span class="thread_status folder" title="{$lang->no_new_thread}">&nbsp;</span> {$lang->no_new_thread}</dd>
			<dd><span class="thread_status dot_folder" title="{$lang->posts_by_you}">&nbsp;</span> {$lang->posts_by_you}</dd>
			<dd><span class="thread_status closefolder" title="{$lang->closed_thread}">&nbsp;</span> {$lang->closed_thread}</dd>
		</dl>
	</div>
	<br class="clear" />
</div>
<div class="float_right" style="text-align: right;">
	{$inlinemod}
	{$searchforum}
	{$forumjump}
</div>
<br class="clear" />]]></template>
		<template name="forumdisplay_threadlist_clearpass" version="1606"><![CDATA[ | <a href="misc.php?action=clearpass&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}">{$lang->clear_stored_password}</a>]]></template>
		<template name="forumdisplay_threadlist_prefixes" version="1801"><![CDATA[<select name="prefix">
<option value="-2"{$default_selected['any']}>{$lang->prefix_any}</option>
<option value="-1"{$default_selected['none']}>{$lang->prefix_none}</option>
<option value="0"{$default_selected['all']}>{$lang->prefix_all}</option>
{$prefixselect_prefix}
</select>]]></template>
		<template name="forumdisplay_threadlist_prefixes_prefix" version="1800"><![CDATA[<option value="{$prefix['pid']}"{$selected}>{$lang->prefix} {$prefix['prefix']}</option>]]></template>
		<template name="forumdisplay_threadlist_rating" version="1821"><![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="{$mybb->asset_url}/jscripts/rating.js?ver=1821"></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}";
			lang.ratings_update_error = "{$lang->ratings_update_error}";
		// -->
		</script>
	</td>]]></template>
		<template name="forumdisplay_threadlist_sortrating" version="120"><![CDATA[<option value="rating" {$sortsel['rating']}>{$lang->sort_by_rating}</option>]]></template>
		<template name="forumdisplay_threadlist_subscription" version="1820"><![CDATA[ | <a href="usercp.php?action={$add_remove_subscription}subscription&amp;type=forum&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a>]]></template>
		<template name="forumdisplay_threads_sep" version="120"><![CDATA[<tr>
<td class="trow_sep" colspan="{$colspan}">{$lang->normal_threads}</td>
</tr>]]></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="forumdisplay_usersbrowsing_user" version="1400"><![CDATA[{$comma}{$user['profilelink']}{$invisiblemark}]]></template>
		<template name="forumjump_advanced" version="1821"><![CDATA[<form action="forumdisplay.php" method="get">
<span class="smalltext"><strong>{$lang->forumjump}</strong></span>
<select name="{$name}" class="forumjump">
<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>
<script type="text/javascript">
$(".forumjump").on('change', function() {
	var option = $(this).val();

	if(option < 0)
	{
		window.location = 'forumdisplay.php?fid='+option;
	}
	else
	{
		window.location = {$forum_link};
	}
});
</script>]]></template>
		<template name="forumjump_bit" version="120"><![CDATA[<option value="{$forum['fid']}" {$optionselected}>{$depth} {$forum['name']}</option>]]></template>
		<template name="forumjump_special" version="1804"><![CDATA[<select name="{$name}">
{$forumjumpbits}
</select>]]></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="global_boardclosed_reason" version="1808"><![CDATA[<blockquote>{$mybb->settings['boardclosed_reason']}</blockquote>]]></template>
		<template name="global_boardclosed_warning" version="1600"><![CDATA[<div class="red_alert"><strong>{$lang->bbclosed_warning}</strong></div>]]></template>
		<template name="global_board_offline_modal" version="1804"><![CDATA[<div class="modal">
	<div style="overflow-y: auto; max-height: 400px;">
		<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="thead">
				<strong>{$mybb->settings['bbname']}</strong>
			</td>
		</tr>
		<tr>
			<td class="trow1">{$lang->error_boardclosed}</td>
		</tr>
		</table>
	</div>
</div>]]></template>
		<template name="global_dst_detection" version="1821"><![CDATA[<script type="text/javascript">if(MyBB) { $([document, window]).on("load", function() { MyBB.detectDSTChange('{$timezone}'); }); }</script>]]></template>
		<template name="global_no_permission_modal" version="1808"><![CDATA[<div class="modal">
	<div style="overflow-y: auto; max-height: 400px;">
		<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="thead">
				<strong>{$mybb->settings['bbname']}</strong>
			</td>
		</tr>
		<tr>
			<td class="trow1">{$lang->error_nopermission_user_ajax}</td>
		</tr>
		</table>
	</div>
</div>]]></template>
		<template name="global_pending_joinrequests" version="1827"><![CDATA[<div class="red_alert">{$lang->groupleader_notice} <a href="{$mybb->settings['bburl']}/usercp.php?action=usergroups">{$lang->pending_joinrequests}</a></div>]]></template>
		<template name="global_pm_alert" version="1800"><![CDATA[<div class="pm_alert" id="pm_notice">
	<div class="float_right"><a href="{$mybb->settings['bburl']}/private.php?action=dismiss_notice&amp;my_post_key={$mybb->post_code}" title="{$lang->dismiss_notice}" onclick="return MyBB.dismissPMNotice('{$mybb->settings['bburl']}/')"><img src="{$theme['imgdir']}/dismiss_notice.png" alt="{$lang->dismiss_notice}" title="{$lang->dismiss_notice}" /></a></div>
	<div>{$privatemessage_text}</div>
</div>]]></template>
		<template name="global_remote_avatar_notice" version="1809"><![CDATA[<div class="red_alert"><a href="{$mybb->settings['bburl']}/usercp.php?action=avatar">{$lang->remote_avatar_disabled_default_avatar}</a></div>]]></template>
		<template name="global_unreadreports" version="1820"><![CDATA[<a href="{$mybb->settings['bburl']}/modcp.php?action=reports">{$lang->unread_reports}</a>]]></template>
		<template name="global_moderation_notice" version="1827"><![CDATA[<div class="red_alert">{$moderation_text}</div>]]></template>
		<template name="global_modqueue" version="1820"><![CDATA[<a href="{$mybb->settings['bburl']}/modcp.php?action=modqueue&type={$modqueue_type}">{$modqueue_message}</a>]]></template>
		<template name="global_modqueue_notice" version="1820"><![CDATA[<div class="red_alert">{$moderation_queue}</div>]]></template>
		<template name="global_awaiting_activation" version="1800"><![CDATA[<div class="red_alert">{$awaiting_message}</div>]]></template>
		<template name="header" version="1820"><![CDATA[<div id="container">
		<a name="top" id="top"></a>
		<div id="header">
			<div id="logo">
				<div class="wrapper">
					<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
					<ul class="menu top_links">
						{$menu_portal}
						{$menu_search}
						{$menu_memberlist}
						{$menu_calendar}
						<li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
					</ul>
				</div>
			</div>
			<div id="panel">
				<div class="upper">
					<div class="wrapper">
						{$quicksearch}
						{$welcomeblock}
					<!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
				<!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
			</div>
		</div>
		<div id="content">
			<div class="wrapper">
				{$pm_notice}
				{$remote_avatar_notice}
				{$bannedwarning}
				{$bbclosedwarning}
				{$modnotice}
				{$pending_joinrequests}
				{$awaitingusers}
				<navigation>
				<br />]]></template>
		<template name="header_menu_calendar" version="1800"><![CDATA[<li><a href="{$mybb->settings['bburl']}/calendar.php" class="calendar">{$lang->toplinks_calendar}</a></li>]]></template>
		<template name="header_menu_memberlist" version="1800"><![CDATA[<li><a href="{$mybb->settings['bburl']}/memberlist.php" class="memberlist">{$lang->toplinks_memberlist}</a></li>]]></template>
		<template name="header_menu_portal" version="1800"><![CDATA[<li><a href="{$mybb->settings['bburl']}/portal.php" class="portal">{$lang->toplinks_portal}</a></li>]]></template>
		<template name="header_menu_search" version="1800"><![CDATA[<li><a href="{$mybb->settings['bburl']}/search.php" class="search">{$lang->toplinks_search}</a></li>]]></template>
		<template name="header_quicksearch" version="1822"><![CDATA[						<form action="{$mybb->settings['bburl']}/search.php">
						<fieldset id="search">
							<input name="keywords" type="text" class="textbox" />
							<input value="{$lang->search_button}" type="submit" class="button" />
							<input type="hidden" name="action" value="do_search" />
							<input type="hidden" name="postthread" value="1" />
						</fieldset>
						</form>]]></template>
		<template name="header_welcomeblock_guest" version="1816"><![CDATA[						<!-- Continuation of div(class="upper") as opened in the header template -->
						<span class="welcome">{$lang->welcome_guest} <a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="$('#quick_login').modal({ fadeDuration: 250, keepelement: true, zIndex: (typeof modal_zindex !== 'undefined' ? modal_zindex : 9999) }); return false;" class="login">{$lang->welcome_login}</a> <a href="{$mybb->settings['bburl']}/member.php?action=register" class="register">{$lang->welcome_register}</a></span>
					</div>
				</div>
				<div class="modal" id="quick_login" style="display: none;">
					<form method="post" action="{$mybb->settings['bburl']}/member.php">
						<input name="action" type="hidden" value="do_login" />
						<input name="url" type="hidden" value="" />
						<input name="quick_login" type="hidden" value="1" />
						<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />
						<table width="100%" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" border="0" class="tborder">
							<tr>
								<td class="thead" colspan="2"><strong>{$lang->login}</strong></td>
							</tr>
							{$loginform}
						</table>
					</form>
				</div>
				<script type="text/javascript">
					$("#quick_login input[name='url']").val($(location).attr('href'));
				</script>]]></template>
		<template name="header_welcomeblock_guest_login_modal" version="1823"><![CDATA[<tr>
	<td class="trow1" width="25%"><strong>{$login_username}</strong></td>
	<td class="trow1"><input name="quick_username" id="quick_login_username" type="text" value="" class="textbox initial_focus" /></td>
</tr>
<tr>
	<td class="trow2"><strong>{$lang->password}</strong></td>
	<td class="trow2">
		<input name="quick_password" id="quick_login_password" type="password" value="" class="textbox" /><br />
		<a href="{$mybb->settings['bburl']}/member.php?action=lostpw" class="lost_password">{$lang->lost_password}</a>
	</td>
</tr>
<tr>
	<td class="trow1">&nbsp;</td>
	<td class="trow1 remember_me">
		<input name="quick_remember" id="quick_login_remember" type="checkbox" value="yes" class="checkbox" checked="checked" />
		<label for="quick_login_remember">{$lang->remember_me}</label>
	</td>
</tr>
<tr>
	<td class="trow2" colspan="2">
		<div align="center"><input name="submit" type="submit" class="button" value="{$lang->login}" /></div>
	</td>
</tr>]]></template>
		<template name="header_welcomeblock_guest_login_modal_lockout" version="1816"><![CDATA[<tr>
	<td class="trow1" colspan="2">{$lang->failed_login_wait}</td>
</tr>]]></template>
		<template name="header_welcomeblock_member" version="1821"><![CDATA[<!-- Continuation of div(class="upper") as opened in the header template -->
	<span class="welcome">{$lang->welcome_back} <a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}" class="logout">{$lang->welcome_logout}</a></span>
	</div>
</div>
<div class="lower">
	<div class="wrapper">
		<ul class="menu panel_links">
			{$usercplink}
			{$modcplink}
			{$admincplink}
		</ul>
		<ul class="menu user_links">
			{$buddylink}
			{$searchlink}
			{$pmslink}
		</ul>
	</div>
	<br class="clear" />
</div>]]></template>
		<template name="header_welcomeblock_member_admin" version="1800"><![CDATA[<li><a href="{$mybb->settings['bburl']}/{$admin_dir}/index.php" class="admincp">{$lang->welcome_admin}</a></li>]]></template>
		<template name="header_welcomeblock_member_moderator" version="1800"><![CDATA[<li><a href="{$mybb->settings['bburl']}/modcp.php" class="modcp">{$lang->welcome_modcp}</a></li>]]></template>
		<template name="header_welcomeblock_member_buddy" version="1821"><![CDATA[<li><a id="buddylink" href="javascript:void(0)" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup&modal=1', null, true); return false;">{$lang->welcome_open_buddy_list}</a></li>]]></template>
		<template name="header_welcomeblock_member_pms" version="1809"><![CDATA[<li><a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}</li>]]></template>
		<template name="header_welcomeblock_member_search" version="1809"><![CDATA[<li><a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a></li>]]></template>
		<template name="header_welcomeblock_member_user" version="1809"><![CDATA[<li><a href="{$mybb->settings['bburl']}/usercp.php" class="usercp">{$lang->welcome_usercp}</a></li>]]></template>
		<template name="index" version="1817"><![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><span class="forum_status forum_on" title="{$lang->new_posts}"></span></dt>
	<dd>{$lang->new_posts}</dd>

	<dt><span class="forum_status forum_off" title="{$lang->no_new_posts}"></span></dt>
	<dd>{$lang->no_new_posts}</dd>

	<dt><span class="forum_status forum_offclose" title="{$lang->forum_closed}"></span></dt>
	<dd>{$lang->forum_closed}</dd>

	<dt><span class="forum_status forum_offlink" title="{$lang->forum_redirect}"></span></dt>
	<dd>{$lang->forum_redirect}</dd>
</dl>
<br class="clear" />
{$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="index_birthdays_birthday" version="1400"><![CDATA[{$comma}{$bdayuser['profilelink']}{$age}]]></template>
		<template name="index_boardstats" version="1820"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead{$collapsedthead['boardstats']}">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.png" id="boardstats_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></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}
			{$statspage}
		</span>
	</td>
</tr>
</tbody>
</table>
<br />]]></template>
		<template name="index_statspage" version="1817"><![CDATA[{$stats_page_separator}<a href="stats.php">{$lang->forumstats}</a>]]></template>
		<template name="index_logoutlink" version="1816"><![CDATA[<a href="member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">{$lang->index_logout}</a>]]></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="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_whosonline_memberbit" version="1818"><![CDATA[{$user['profilelink']}{$invisiblemark}]]></template>
		<template name="managegroup" version="1813"><![CDATA[<html>
<head>
	<title>{$mybb->settings['bbname']} - {$lang->members_of}</title>
	{$headerinclude}
</head>
<body>
	{$header}
	{$joinrequests}
	<p>{$usergrouptype}</p>
	{$group_leaders}
	{$multipage}
	<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}
	{$invite_user}
	{$footer}
</body>
</html>]]></template>
		<template name="managegroup_adduser" version="1823"><![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" id="username" class="textbox" name="username" size="40" maxlength="{$mybb->settings['maxnamelength']}" style="width: 210px" /></td>
</tr>
</table>
<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>
<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")
{
	MyBB.select2();
	$("#username").select2({
		placeholder: "{$lang->search_user}",
		minimumInputLength: 2,
		multiple: false,
		allowClear: true,
		ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
			url: "xmlhttp.php?action=get_users",
			dataType: 'json',
			data: function (term, page) {
				return {
					query: term, // search term
				};
			},
			results: function (data, page) { // parse the results into the format expected by Select2.
				// since we are using custom formatting functions we do not need to alter remote JSON data
				return {results: data};
			}
		},
		initSelection: function(element, callback) {
			var value = $(element).val();
			if (value !== "") {
				callback({
					id: value,
					text: value
				});
			}
		},
	});
}
// -->
</script>
<br />
<div align="center"><input type="submit" class="button" value="{$lang->add_member_submit}" /></div>
</form>]]></template>
		<template name="managegroup_inviteuser" version="1823"><![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_invite" />
<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->invite_member}</strong></td>
</tr>
<tr>
<td class="trow1">{$lang->username}</td>
  <td class="trow1"><input type="text" id="inviteusername" class="textbox" name="inviteusername" size="40" maxlength="{$mybb->settings['maxnamelength']}" style="width: 210px" /></td>
</tr>
</table>
<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>
<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")
{
	MyBB.select2();
	$("#inviteusername").select2({
		placeholder: "{$lang->search_user}",
		minimumInputLength: 2,
		multiple: false,
		allowClear: true,
		ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
			url: "xmlhttp.php?action=get_users",
			dataType: 'json',
			data: function (term, page) {
				return {
					query: term, // search term
				};
			},
			results: function (data, page) { // parse the results into the format expected by Select2.
				// since we are using custom formatting functions we do not need to alter remote JSON data
				return {results: data};
			}
		},
		initSelection: function(element, callback) {
			var value = $(element).val();
			if (value !== "") {
				callback({
					id: value,
					text: value
				});
			}
		},
	});
}
// -->
</script>
<br />
<div align="center"><input type="submit" class="button" value="{$lang->invite_member_submit}" /></div>
</form>]]></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="managegroup_no_users" version="1607"><![CDATA[<tr>
<td class="trow1" colspan="6">{$lang->no_users}</td>
</tr>]]></template>
		<template name="managegroup_removeusers" version="120"><![CDATA[<input type="submit" class="button" value="{$lang->remove_selected}" />]]></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_user" version="1400"><![CDATA[<tr>
<td class="{$altbg}">{$user['profilelink']} {$leader}</td>
<td class="{$altbg}" align="center" width="100"><div class="postbit_buttons">{$email}</div></td>
<td class="{$altbg}" align="center" width="100"><div class="postbit_buttons">{$sendpm}</div></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="1823"><![CDATA[<input type="checkbox" class="checkbox" name="removeuser[{$user['uid']}]" value="{$user['uid']}" {$disabled} />]]></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="member_coppa_form" version="1800"><![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 class="largetext float_right" style="text-align: center; padding-bottom: 10px;">
		{$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>
	<br class="clear" />

	<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 class="clear" />{$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 class="clear" />{$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" /> {$lang->date}: <input type="text" class="textbox date" id="date" /></dd>
	</dl>
</body>
</html>]]></template>
		<template name="member_emailuser" version="1800"><![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>
{$from_email}
<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>
{$captcha}
</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="member_emailuser_guest" version="1800"><![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" value="{$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"  value="{$fromemail}" /></td>
</tr>]]></template>
		<template name="member_loggedin_notice" version="1800"><![CDATA[<fieldset class="align_right smalltext">{$lang->already_logged_in}</fieldset>
<br />]]></template>
		<template name="member_login" version="1816"><![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" 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}" />
<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="member_lostpw" version="1821"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->lost_pw}</title>
{$headerinclude}
</head>
<body>
{$header}
{$errors}
<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" value="{$email}" /></td>
</tr>
{$captcha}
</table>
<br />
<div align="center"><input name="submit" 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="member_no_referrals" version="1820"><![CDATA[<tr>
	<td class="trow1" colspan="2">{$lang->member_no_referrals}</td>
</tr>]]></template>
		<template name="member_profile" version="1820"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1820"></script>
</head>
<body>
{$header}
<fieldset>
	<table width="100%" cellspacing="0" cellpadding="0" border="0">
		<tr>
			<td 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>
</fieldset>
<br />
{$awaybit}{$bannedbit}
<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" style="width: 30%;"><strong>{$lang->joined}</strong></td>
					<td class="trow1">{$memregdate}</td>
				</tr>
				<tr>
					<td class="trow2"><strong>{$lang->lastvisit}</strong></td>
					<td class="trow2">{$memlastvisitdate}</td>
				</tr>
				<tr>
					<td class="trow1"><strong>{$lang->total_posts}</strong></td>
					<td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total}){$findposts}</td>
				</tr>
				<tr>
					<td class="trow2"><strong>{$lang->total_threads}</strong></td>
					<td class="trow2">{$memprofile['threadnum']} ({$lang->tpd_percent_total}){$findthreads}</td>
				</tr>
				<tr>
					<td class="trow1"><strong>{$lang->timeonline}</strong></td>
					<td class="trow1">{$timeonline}</td>
				</tr>
				{$referrals}
				{$reputation}
				{$warning_level}
			</table>
			{$contact_details}
		</td>
		<td>&nbsp;&nbsp;</td>
		<td width="50%" valign="top">
			{$profilefields}
			{$signature}
			{$modoptions}
			{$adminoptions}
			<div style="text-align: center">{$buddy_options}{$ignore_options}{$report_options}</div>
		</td>
	</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="member_profile_addremove" version="1800"><![CDATA[<a href="{$add_remove_options['url']}" class="button small_button {$add_remove_options['class']}"><span>{$add_remove_options['lang']}</span></a>]]></template>
		<template name="member_profile_adminoptions" version="1800"><![CDATA[<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']}/{$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']}/{$admin_dir}/index.php?module=user-banning&amp;uid={$uid}">{$lang->admin_ban_in_acp}</a></li>
</ul>
</td>
</tr>
</table>
<br />]]></template>
		<template name="member_profile_adminoptions_manageban" version="1823"><![CDATA[<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']}/{$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']}/{$admin_dir}/index.php?module=user-banning&amp;action=edit&amp;uid={$uid}">{$lang->admin_edit_ban_in_acp}</a></li>
<li><a href="{$mybb->settings['bburl']}/{$admin_dir}/index.php?module=user-banning&amp;action=lift&amp;uid={$uid}">{$lang->admin_lift_ban_in_acp}</a></li>
</ul>
</td>
</tr>
</table>
<br />]]></template>
		<template name="member_profile_avatar" version="1800"><![CDATA[<img src="{$useravatar['image']}" alt="" {$useravatar['width_height']} />]]></template>
		<template name="member_profile_away" version="1801"><![CDATA[<fieldset>
<legend><strong>{$lang->away_note}</strong></legend>
<em>{$lang->away_reason} {$awayreason}</em><br />
<span class="smalltext">{$lang->away_since} {$awaydate} &mdash; {$lang->away_returns} {$returndate}</span>
</fieldset>
<br />]]></template>
		<template name="member_profile_banned" version="1801"><![CDATA[<fieldset>
<legend><strong>{$lang->ban_note}</strong></legend>
<em>{$lang->banned_warning2}: {$memban['reason']}</em><br />
<span class="smalltext"><strong>{$lang->ban_by}:</strong> {$memban['adminuser']} &mdash; <strong>{$lang->ban_length}:</strong> {$banlength} <span class="smalltext">{$timeremaining}</span></span>
</fieldset>
<br />]]></template>
		<template name="member_profile_banned_remaining" version="1808"><![CDATA[<span class="{$banned_class}">({$timeremaining} {$lang->ban_remaining})</span>]]></template>
		<template name="member_profile_contact_details" version="1839"><![CDATA[<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed">
	<colgroup>
	<col style="width: 30%;" />
	</colgroup>
	<tr>
		<td colspan="2" class="thead"><strong>{$lang->users_contact_details}</strong></td>
	</tr>
	{$website}
	{$sendemail}
	{$sendpm}
	{$contact_fields['skype']}
	{$contact_fields['google']}
</table>]]></template>
		<template name="member_profile_contact_fields_google" version="1800"><![CDATA[<tr>
	<td class="{$bgcolors['google']}"><strong>{$lang->google_id}</strong></td>
	<td class="{$bgcolors['google']}">{$memprofile['google']}</td>
</tr>]]></template>
		<template name="member_profile_contact_fields_skype" version="1823"><![CDATA[<tr>
	<td class="{$bgcolors['skype']}"><strong>{$lang->skype_id}</strong></td>
	<td class="{$bgcolors['skype']}">{$memprofile['skype']}</td>
</tr>]]></template>
		<template name="member_profile_customfields" version="1800"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed">
<colgroup>
<col style="width: 30%;" />
</colgroup>
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_additional_info}</strong></td>
</tr>
{$customfields}
</table>
<br />]]></template>
		<template name="member_profile_customfields_field" version="1800"><![CDATA[<tr>
<td class="{$bgcolor}"><strong>{$customfield['name']}:</strong></td>
<td class="{$bgcolor} scaleimages">{$customfieldval}</td>
</tr>]]></template>
		<template name="member_profile_customfields_field_multi" version="1800"><![CDATA[<ul style="margin: 0; padding-left: 15px;">
{$customfield_val}
</ul>]]></template>
		<template name="member_profile_customfields_field_multi_item" version="1800"><![CDATA[<li style="margin-left: 0;">{$val}</li>]]></template>
		<template name="member_profile_email" version="120"><![CDATA[<tr>
<td class="{$bgcolor}"><strong>{$lang->email}</strong></td>
<td class="{$bgcolor}"><a href="member.php?action=emailuser&amp;uid={$memprofile['uid']}">{$lang->send_user_email}</a></td>
</tr>]]></template>
		<template name="member_profile_findposts" version="1807"><![CDATA[<br /><span class="smalltext">(<a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</span>]]></template>
		<template name="member_profile_findthreads" version="1807"><![CDATA[<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a>)</span>]]></template>
		<template name="member_profile_groupimage" version="1817"><![CDATA[<img src="{$memperms['image']}" alt="{$usertitle}" title="{$usertitle}" /><br />]]></template>
		<template name="member_profile_modoptions" version="1812"><![CDATA[<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>
{$ipaddress}
{$manageuser}
<tr>
<td class="trow2">
{$memprofile['usernotes']}<br />
{$editnotes}
</td>
</tr>
</table>
<br />]]></template>
		<template name="member_profile_modoptions_banuser" version="1800"><![CDATA[<li><a href="{$mybb->settings['bburl']}/modcp.php?action=banuser&amp;uid={$uid}">{$lang->ban_in_mcp}</a></li>]]></template>
		<template name="member_profile_modoptions_manageban" version="1820"><![CDATA[<li><a href="{$mybb->settings['bburl']}/modcp.php?action=banuser&amp;uid={$uid}">{$lang->edit_ban_in_mcp}</a></li>
<li><a href="{$mybb->settings['bburl']}/modcp.php?action=liftban&amp;uid={$uid}&amp;my_post_key={$mybb->post_code}">{$lang->lift_ban_in_mcp}</a></li>]]></template>
		<template name="member_profile_modoptions_editnotes" version="1800"><![CDATA[<a href="{$mybb->settings['bburl']}/modcp.php?action=editprofile&amp;uid={$uid}#usernotes">{$lang->edit_usernotes}</a>]]></template>
		<template name="member_profile_modoptions_editprofile" version="1800"><![CDATA[<li><a href="{$mybb->settings['bburl']}/modcp.php?action=editprofile&amp;uid={$uid}">{$lang->edit_in_mcp}</a></li>]]></template>
		<template name="member_profile_modoptions_ipaddress" version="1812"><![CDATA[<tr>
<td class="trow1">
<strong>{$lang->registration_ip}</strong> {$memprofile['regip']}<br />
<strong>{$lang->last_known_ip}</strong> {$memprofile['lastip']}
</td>
</tr>]]></template>
		<template name="member_profile_modoptions_purgespammer" version="1800"><![CDATA[<li><a href="{$mybb->settings['bburl']}/moderation.php?action=purgespammer&amp;uid={$uid}">{$lang->purgespammer}</a></li>]]></template>
		<template name="member_profile_modoptions_manageuser" version="1820"><![CDATA[<tr>
<td class="trow1">
<ul>
{$editprofile}
{$banuser}
{$manageban}
{$purgespammer}
</ul>
</td>
</tr>]]></template>
		<template name="member_profile_modoptions_viewnotes" version="1809"><![CDATA[[<a href="javascript:void(0)" onclick="MyBB.viewNotes({$memprofile['uid']}); return false;">{$lang->view_all_notes}</a>]]]></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_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_pm" version="1800"><![CDATA[<tr>
	<td class="{$bgcolor}"><strong>{$lang->pm}</strong></td>
	<td class="{$bgcolor}"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>]]></template>
		<template name="member_profile_referrals" version="1820"><![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_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="member_profile_reputation_vote" version="1809"><![CDATA[[<a href="javascript:void(0)" onclick="MyBB.reputation({$memprofile['uid']}); return false;">{$lang->reputation_vote}</a>]]]></template>
		<template name="member_profile_signature" version="1800"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed">
<tr>
<td class="thead"><strong>{$lang->users_signature}</strong></td>
</tr>
<tr>
<td class="trow1 scaleimages">{$memprofile['signature']}</td>
</tr>
</table>
<br />]]></template>
		<template name="member_profile_userstar" version="1800"><![CDATA[<img src="{$starimage}" border="0" alt="*" />]]></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="member_profile_warninglevel" version="1827"><![CDATA[<tr>
	<td class="{$bg_color}"><strong>{$lang->warning_level}</strong></td>
	<td class="{$bg_color}">{$warning_level}</td>
</tr>]]></template>
		<template name="member_profile_warninglevel_link" version="1827"><![CDATA[<tr>
	<td class="{$bg_color}"><strong>{$lang->warning_level}</strong></td>
	<td class="{$bg_color}"><a href="warnings.php?uid={$memprofile['uid']}">{$warning_level}</a> {$warn_user}</td>
</tr>]]></template>
		<template name="member_profile_website" version="1813"><![CDATA[<tr>
	<td class="{$bgcolor}"><strong>{$lang->homepage}</strong></td>
	<td class="{$bgcolor}"><a href="{$memprofile['website']}" target="_blank" rel="noopener">{$memprofile['website']}</a></td>
</tr>]]></template>
		<template name="member_referral_row" version="1822"><![CDATA[	<tr>
		<td class="{$bg_color}">{$username}</td>
		<td class="{$bg_color}" style="text-align: right;">{$regdate}</td>
	</tr>]]></template>
		<template name="member_referrals" version="1822"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->nav_referrals}</title>
{$headerinclude}
</head>
<body>
	{$header}
	{$multipage}
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
	<td class="thead" colspan="5"><strong>{$lang->referrals}</strong></td>
	</tr>
	<tr>
	<td class="tcat"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
	<td style="text-align: right;" class="tcat"><span class="smalltext"><strong>{$lang->referral_date}</strong></span></td>
	</tr>
	{$referral_rows}
	</table>
	{$multipage}
	{$footer}
</body>
</html>]]></template>
		<template name="member_referrals_link" version="1820"><![CDATA[<a href="{$mybb->settings['bburl']}/member.php?action=referrals&amp;uid={$uid}" id="referrer_{$uid}" class="referralLink">{$referral_count}</a>]]></template>
		<template name="member_referrals_popup" version="1822"><![CDATA[<div class="modal">
	<div style="overflow-y: auto; max-height: 400px;" class="referral_modal_{$uid}">
		<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
			<tr>
				<td class="thead" colspan="2"><strong>{$lang->referrals}</strong></td>
			</tr>
			<tr>
				<td class="tcat" width="50%"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
				<td class="tcat" width="50%" style="text-align: right;"><span class="smalltext"><strong>{$lang->referral_date}</strong></span></td>
			</tr>
			{$referral_rows}
		</table>
	</div>
</div>]]></template>
		<template name="member_register" version="1823"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->registration}</title>
{$headerinclude}
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/validate/jquery.validate.min.js?ver=1821"></script>
</head>
<body>
{$header}
<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 width="50%" valign="top"><span class="smalltext"><label for="email">{$lang->email}</label></span></td>
<td width="50%" valign="top"><span class="smalltext"><label for="email2">{$lang->confirm_email}</label></span></td>
</tr>
<tr>
<td width="50%" valign="top"><input type="text" class="textbox" name="email" id="email" style="width: 100%" maxlength="50" value="{$email}" /></td>
<td width="50%" valign="top"><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>
{$hiddencaptcha}
</table>
</fieldset>
{$requiredfields}
{$customfields}
{$referrer}
{$regimage}
{$questionbox}
</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="pmnotify" id="pmnotify" value="1" {$pmnotifycheck} /></td>
<td valign="top"><span class="smalltext"><label for="pmnotify">{$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_auto_subscribe_selected}>{$lang->no_auto_subscribe}</option>
		<option value="1" {$no_subscribe_selected}>{$lang->no_subscribe}</option>
		<option value="2" {$instant_email_subscribe_selected}>{$lang->instant_email_subscribe}</option>
		<option value="3" {$instant_pm_subscribe_selected}>{$lang->instant_pm_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>
{$boardlanguage}
</td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="regtime" value="{$time}" />
<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>
{$validator_javascript}
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/regvalidator.js?ver=1823"></script>
{$footer}
</body>
</html>]]></template>
		<template name="member_register_additionalfields" version="1800"><![CDATA[<br />
<fieldset class="trow2">
<legend><strong>{$lang->additional_info}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}">
{$customfields}
</table>
</fieldset>]]></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="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="member_register_coppa" version="1816"><![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">
{$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="{$birthday_year}" />
						</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_register_customfield" version="1605"><![CDATA[<tr>
<td>
{$profilefield['name']}
<br />
<span class="smalltext">{$profilefield['description']}</span>
</td>
</tr>
<tr>
<td>{$code}</td>
</tr>]]></template>
		<template name="member_register_day" version="1800"><![CDATA[<option value="{$day}"{$selected}>{$day}</option>]]></template>
		<template name="member_register_hiddencaptcha" version="1605"><![CDATA[<tr style="display: none;">
	<td colspan="2" id="{$captcha_field}_status">{$lang->leave_this_field_empty} <input type="text" class="textbox" name="{$captcha_field}" id="{$captcha_field}" style="width: 100%" maxlength="50" value="" /></td>
</tr>]]></template>
		<template name="member_register_language" version="1800"><![CDATA[<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>]]></template>
		<template name="member_register_password" version="1400"><![CDATA[<tr>
<td width="50%" valign="top"><span class="smalltext">{$lang->password}</span></td>
<td width="50%" valign="top"><span class="smalltext">{$lang->confirm_password}</span></td>
</tr>
<tr>
<td width="50%" valign="top"><input type="password" class="textbox" name="password" id="password" style="width: 100%" /></td>
<td width="50%" valign="top"><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="member_register_question" version="1821"><![CDATA[<br />
<fieldset class="trow2">
<script type="text/javascript">
<!--
	lang.question_fetch_failure = "{$lang->question_fetch_failure}";
// -->
</script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/question.js?ver=1821"></script>
<legend><strong>{$lang->security_question}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}">
<tr>
<td colspan="2"><span class="smalltext">{$lang->question_note}</span></td>
</tr>
<tr>
<td colspan="2"><br /><span class="smalltext" id="question" style="font-weight:bold;">{$question['question']}</span></td>
</tr>
<tr>
<td width="60%">
	<input type="text" class="textbox" name="answer" value="" id="answer" style="width: 70%;" />
	<input type="hidden" name="question_id" value="{$sid}" id="question_id" />
</td>
<td width="40%">
	{$refresh}
</td>
</tr>
<tr>
	<td id="answer_status"  style="display: none;" colspan="2">&nbsp;</td>
</tr>
</table>
</fieldset>]]></template>
		<template name="member_register_question_refresh" version="1800"><![CDATA[
		<script type="text/javascript">
		<!--
			if(use_xmlhttprequest == "1")
			{
				document.write('<input type="button" class="button" tabindex="10000" name="refresh" value="{$lang->refresh}" onclick="return question.refresh();" \/>');
			}
		// -->
		</script>
		]]></template>
		<template name="member_register_referrer" version="1823"><![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>
<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>
<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")
{
	MyBB.select2();
	$("#referrer").select2({
		placeholder: "{$lang->search_user}",
		minimumInputLength: 2,
		multiple: false,
		allowClear: true,
		ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
			url: "xmlhttp.php?action=get_users",
			dataType: 'json',
			data: function (term, page) {
				return {
					query: term, // search term
				};
			},
			results: function (data, page) { // parse the results into the format expected by Select2.
				// since we are using custom formatting functions we do not need to alter remote JSON data
				return {results: data};
			}
		},
		initSelection: function(element, callback) {
			var value = $(element).val();
			if (value !== "") {
				callback({
					id: value,
					text: value
				});
			}
		},
	});
}
// -->
</script>]]></template>
		<template name="member_register_regimage" version="1821"><![CDATA[<br />
<fieldset class="trow2">
<script type="text/javascript">
<!--
	lang.captcha_fetch_failure = "{$lang->captcha_fetch_failure}";
// -->
</script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/captcha.js?ver=1821"></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="member_register_regimage_recaptcha_invisible" version="1813"><![CDATA[<br />
<script src="{$server}?onload=captchaOnloadCallback&render=explicit" async defer></script>
<script type="text/javascript">

	var captchaOnSubmit = function(token) {
		$("#registration_form").trigger('submit');
	};

	var captchaOnloadCallback = function() {

		var target = $('input[name="regsubmit"]');
		target.attr('data-size', 'invisible');

		grecaptcha.render(target.get(0), {
				'sitekey': '{$public_key}',
				'callback': captchaOnSubmit
			}, true);

	}

</script>]]></template>
		<template name="member_register_regimage_nocaptcha" version="1804"><![CDATA[<br />
<fieldset class="trow2">
	<legend><strong>{$lang->human_verification}</strong></legend>
	<table cellspacing="0" cellpadding="{$theme['tablespace']}">
	<tr>
		<td><span class="smalltext">{$lang->verification_note_nocaptcha}</span></td>
	</tr>
	<tr>
		<td><script type="text/javascript" src="{$server}"></script><div class="g-recaptcha" data-sitekey="{$public_key}"></div></td>
	</tr>
</table>
</fieldset>]]></template>
		<template name="member_register_regimage_hcaptcha_invisible" version="1823"><![CDATA[<br />
<script src="{$server}?onload=captchaOnloadCallback&render=explicit" async defer></script>
<script type="text/javascript">

	var captchaOnSubmit = function(token) {
		$("#registration_form").trigger('submit');
	};

	var captchaOnloadCallback = function() {

		var target = $('input[name="regsubmit"]');
		target.attr('data-size', 'invisible');

		hcaptcha.render(target.get(0), {
				'sitekey': '{$public_key}',
				'callback': captchaOnSubmit
			}, true);

	}

</script>]]></template>
	<template name="member_register_regimage_hcaptcha" version="1823"><![CDATA[<br />
<fieldset class="trow2">
	<legend><strong>{$lang->human_verification}</strong></legend>
	<table cellspacing="0" cellpadding="{$theme['tablespace']}">
	<tr>
		<td><span class="smalltext">{$lang->verification_note_hcaptcha}</span></td>
	</tr>
	<tr>
		<td><script type="text/javascript" src="{$server}"></script><div class="h-captcha" data-sitekey="{$public_key}" data-theme="{$captcha_theme}" data-size="{$captcha_size}"></div></td>
	</tr>
</table>
</fieldset>]]></template>
		<template name="member_register_requiredfields" version="1800"><![CDATA[<br />
<fieldset class="trow2">
<legend><strong>{$lang->required_info}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}">
{$requiredfields}
</table>
</fieldset>]]></template>
		<template name="member_register_stylebit" version="120"><![CDATA[<option value="{$style['sid']}">{$style['name']}</option>]]></template>
		<template name="member_resendactivation" version="1823"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->resend_activation}</title>
{$headerinclude}
</head>
<body>
{$header}
{$errors}
<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" value="{$email}" /></td>
</tr>
{$captcha}
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->request_activation}" /></div>
<input type="hidden" name="action" value="do_resendactivation" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="member_resetpassword" version="1820"><![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="{$input_username}" /></td>
</tr>
<tr>
<td class="trow2" width="30%"><strong>{$lang->activation_code}</strong></td>
<td class="trow2"><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="member_viewnotes" version="1800"><![CDATA[<div class="modal">
<div style="overflow-y: auto; max-height: 400px;">
<table width="100%" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" border="0" align="center" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->view_notes_for}</strong></td>
</tr>
<tr>
<td class="trow1">{$user['usernotes']}</td>
</tr>
</table>
</div>
</div>]]></template>
		<template name="memberlist" version="1823"><![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="{$colspan}">
	<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></div></td>
</tr>
<tr>
<td class="tcat" width="1%"><span class="smalltext"><strong>{$lang->avatar}</strong></span></td>
<td class="tcat"><span class="smalltext"><a href="{$sorturl}&amp;sort=username&amp;order=ascending"><strong>{$lang->username}</strong></a> {$orderarrow['username']}</span></td>
<td class="tcat" width="15%" align="center"><span class="smalltext"><a href="{$sorturl}&amp;sort=regdate&amp;order=ascending"><strong>{$lang->joined}</strong></a> {$orderarrow['regdate']}</span></td>
<td class="tcat" width="15%" align="center"><span class="smalltext"><a href="{$sorturl}&amp;sort=lastvisit&amp;order=descending"><strong>{$lang->lastvisit}</strong></a> {$orderarrow['lastvisit']}</span></td>
<td class="tcat" width="10%" align="center"><span class="smalltext"><a href="{$sorturl}&amp;sort=postnum&amp;order=descending"><strong>{$lang->posts}</strong></a> {$orderarrow['postnum']}</span></td>
<td class="tcat" width="10%" align="center"><span class="smalltext"><a href="{$sorturl}&amp;sort=threadnum&amp;order=descending"><strong>{$lang->threads}</strong></a> {$orderarrow['threadnum']}</span></td>
{$referral_header}
</tr>
{$users}
</table>
{$multipage}
<br class="clear" />
<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->exactly}<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%">
		<div class="smalltext" style="margin-bottom: 3px;">
			<input type="radio" class="radio" name="order" id="order_asc" value="ascending"{$order_check['ascending']} /> <label for="order_asc">{$lang->order_asc}</label>&nbsp;
			<input type="radio" class="radio" name="order" id="order_desc" value="descending"{$order_check['descending']} /> <label for="order_desc">{$lang->order_desc}</label>
		</div>
		<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="threadnum"{$sort_selected['threadnum']}>{$lang->sort_by_threads}</option>
			{$referrals_option}
		</select>
	</td>
</tr>
</table>
<div align="center"><br /><input type="submit" class="button" name="submit" value="{$lang->search}" /></div>
</form>
{$footer}
<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>
<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")
{
	MyBB.select2();
	$("#username").select2({
		placeholder: "{$lang->search_user}",
		minimumInputLength: 2,
		multiple: false,
		allowClear: true,
		ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
			url: "xmlhttp.php?action=get_users",
			dataType: 'json',
			data: function (term, page) {
				return {
					query: term, // search term
				};
			},
			results: function (data, page) { // parse the results into the format expected by Select2.
				// since we are using custom formatting functions we do not need to alter remote JSON data
				return {results: data};
			}
		},
		initSelection: function(element, callback) {
			var value = $(element).val();
			if (value !== "") {
				callback({
					id: value,
					text: value
				});
			}
		},
       // Allow the user entered text to be selected as well
       createSearchChoice:function(term, data) {
			if ( $(data).filter( function() {
				return this.text.localeCompare(term)===0;
			}).length===0) {
				return {id:term, text:term};
			}
		},
	});

  	$('[for=username]').on('click', function(){
		$("#username").select2('open');
		return false;
	});
}
// -->
</script>
</body>
</html>]]></template>
		<template name="memberlist_referrals" version="1800"><![CDATA[<td class="tcat" width="10%" align="center"><span class="smalltext"><a href="{$sorturl}&amp;sort=referrals&amp;order=descending"><strong>{$lang->referrals}</strong></a> {$orderarrow['referrals']}</span></td>]]></template>
		<template name="memberlist_referrals_bit" version="1600"><![CDATA[<td class="{$alt_bg}" align="center">{$user['referrals']}</td>]]></template>
		<template name="memberlist_referrals_option" version="1816"><![CDATA[<option value="referrals"{$sort_selected['referrals']}>{$lang->sort_by_referrals}</option>]]></template>
		<template name="memberlist_search" version="1839"><![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>
			<option value="exact">{$lang->username_exact}</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>
{$contact_fields['skype']}
{$contact_fields['google']}
<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>
			<option value="threadnum">{$lang->sort_by_threads}</option>
			{$referrals_option}
		</select><br />
		<span class="smalltext">
		<input type="radio" class="radio" name="order" id="order_asc" value="ascending" /> <label for="order_asc">{$lang->order_asc}</label><br />
		<input type="radio" class="radio" name="order" id="order_desc" value="descending" checked="checked" /> <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}
<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>
<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")
{
	MyBB.select2();
	$("#username").select2({
		placeholder: "{$lang->search_user}",
		minimumInputLength: 2,
		multiple: false,
		allowClear: true,
		ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
			url: "xmlhttp.php?action=get_users",
			dataType: 'json',
			data: function (term, page) {
				return {
					query: term, // search term
				};
			},
			results: function (data, page) { // parse the results into the format expected by Select2.
				// since we are using custom formatting functions we do not need to alter remote JSON data
				return {results: data};
			}
		},
		initSelection: function(element, callback) {
			var value = $(element).val();
			if (value !== "") {
				callback({
					id: value,
					text: value
				});
			}
		},
       // Allow the user entered text to be selected as well
       createSearchChoice:function(term, data) {
			if ( $(data).filter( function() {
				return this.text.localeCompare(term)===0;
			}).length===0) {
				return {id:term, text:term};
			}
		},
	});

  	$('[for=username]').on('click', function(){
		$("#username").select2('open');
		return false;
	});
}
// -->
</script>
</body>
</html>]]></template>
		<template name="memberlist_search_contact_field" version="1810"><![CDATA[<tr>
	<td class="{$bgcolors[$field]}" width="20%"><strong><label for="{$field}">{$lang_string}</label></strong></td>
	<td class="{$bgcolors[$field]}"><input type="text" class="textbox" name="{$field}" id="{$field}" /></td>
</tr>]]></template>
		<template name="memberlist_user" version="1800"><![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>
	<td class="{$alt_bg}" align="center">{$user['threadnum']}</td>
	{$referral_bit}
</tr>]]></template>
		<template name="memberlist_user_userstar" version="1800"><![CDATA[<img src="{$starimage}" border="0" alt="*" />]]></template>
		<template name="memberlist_error" version="1800"><![CDATA[<tr>
<td colspan="{$colspan}" align="center" class="trow1">{$lang->error_no_members}</td>
</tr>]]></template>
		<template name="memberlist_user_avatar" version="1800"><![CDATA[<img src="{$useravatar['image']}" alt="" {$useravatar['width_height']} />]]></template>
		<template name="memberlist_user_groupimage" version="1400"><![CDATA[<img src="{$usergroup['image']}" alt="{$usergroup['title']}" title="{$usergroup['title']}" />]]></template>
		<template name="memberlist_orderarrow" version="1800"><![CDATA[<span class="smalltext">[<a href="{$sorturl}&amp;sort={$sort}&amp;order={$oppsortnext}">{$oppsort}</a>]</span>]]></template>
		<template name="misc_buddypopup" version="1800"><![CDATA[<div class="modal">
	<div style="overflow-y: auto; max-height: 400px;">
		<table cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="thead"{$colspan}>
				<div><strong>{$lang->buddy_list}</strong></div>
			</td>
		</tr>
		{$buddies}
		</table>
	</div>
</div>]]></template>
		<template name="misc_buddypopup_user" version="1800"><![CDATA[	<tr>
		<td class="tcat"{$colspan}><strong>{$lang->online}</strong></td>
		{$buddys['online']}
	</tr>
	<tr>
		<td class="tcat"{$colspan}><strong>{$lang->offline}</strong></td>
		{$buddys['offline']}
	</tr>]]></template>
		<template name="misc_buddypopup_user_none" version="1800"><![CDATA[					<tr>
						<td class="trow1"{$colspan}>{$error}</td>
					</tr>]]></template>
		<template name="misc_buddypopup_user_offline" version="1800"><![CDATA[					<tr>
						<td class="{$boffline_alt}" width="1%">
							<div class="buddy_avatar float_left"><img src="{$buddy['avatar']['image']}" alt="" {$buddy['avatar']['width_height']} style="margin-top: 3px;" /></div>
						</td>
						<td class="{$boffline_alt}">
							{$profile_link}
							<div class="buddy_action">
								<span class="smalltext">{$last_active}<br />{$send_pm}</span>
							</div>
						</td>
					</tr>]]></template>
		<template name="misc_buddypopup_user_online" version="1800"><![CDATA[					<tr>
						<td class="{$bonline_alt}" width="1%">
							<div class="buddy_avatar float_left"><img src="{$buddy['avatar']['image']}" alt="" {$buddy['avatar']['width_height']} style="margin-top: 3px;" /></div>
						</td>
						<td class="{$bonline_alt}">
							{$profile_link}
							<div class="buddy_action">
								<span class="smalltext">{$last_active}<br />{$send_pm}</span>
							</div>
						</td>
					</tr>]]></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="misc_help" version="1800"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->help_docs}</title>
{$headerinclude}
</head>
<body>
{$header}
{$sections}
{$search}
{$footer}
</body>
</html>]]></template>
		<template name="misc_help_helpdoc" version="1800"><![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 tfixed">
<tr>
<td class="thead"><strong>{$helpdoc['name']}</strong></td>
</tr>
<tr>
<td class="trow1 scaleimages">{$helpdoc['document']}</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="misc_help_search" version="1800"><![CDATA[<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="3"><strong>{$lang->search}</strong></td>
</tr>
<tr>
<td class="trow1">
<form action="misc.php" method="post">
<div class="float_left" style="padding-top: 5px;">
<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" />
</div>
<div class="float_left" style="padding-left: 20px;">
<span class="smalltext">
<label><input name="name" checked="checked" value="1" type="checkbox"> {$lang->search_by_name}</label><br />
<label><input name="document" checked="checked" value="1" type="checkbox"> {$lang->search_by_document}</label>
</span>
</div>
<div class="float_left" style="padding-left: 20px; padding-top: 5px;">
<input type="hidden" name="action" value="do_helpsearch" />
<input type="submit" class="button" name="submit" value="{$lang->search_help_documents}" />
</div>
</form>
</td>
</tr>
</table>]]></template>
		<template name="misc_help_section" version="1816"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder clear">
<thead>
<tr>
<td class="thead{$expthead}"><div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="sid_{$section['sid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></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="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="misc_helpresults" version="1800"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->help_doc_results}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->help_doc_results}</strong></td>
</tr>
<tr>
<td class="tcat" align="left"><span class="smalltext"><strong>{$lang->document}</strong></span></td>
</tr>
{$helpdoclist}
</table>
{$footer}
</body>
</html>]]></template>
		<template name="misc_helpresults_bit" version="1800"><![CDATA[<tr>
	<td class="{$bgcolor}">
		<span class="smalltext">
          <a href="misc.php?action=help&hid={$helpdoc['hid']}{$highlight}">{$helpdoc['name']}</a><br />
		</span>
		<table width="100%"><tr><td><span class="smalltext"><em>{$prev}</em></span></td></tr></table>
	</td>
</tr>]]></template>
		<template name="misc_helpresults_noresults" version="1800"><![CDATA[<tr>
	<td class="trow1">{$lang->no_help_results}</td>
</tr>]]></template>
		<template name="misc_rules_forum" version="1800"><![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 tfixed">
<tr>
<td class="thead"><strong>{$forum['rulestitle']}</strong></td>
</tr>
<tr>
<td class="trow1 scaleimages">{$forum['rules']}</td>
</tr>
</table>
{$footer}
</body>
</html>]]></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="misc_smilies_no_smilies" version="1808"><![CDATA[<tr>
<td class="{$class}">{$lang->no_smilies}</td>
</tr>]]></template>
		<template name="misc_smilies_popup" version="1834"><![CDATA[<div class="modal">
  <div style="overflow-y: auto; max-height: 400px;" class="modal">
<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}
</table>
</div>
</div>]]></template>
		<template name="misc_smilies_popup_empty" version="1808"><![CDATA[<tr>{$smile_icons}<td colspan="2" class="{$class}">&nbsp;</td></tr>]]></template>
		<template name="misc_smilies_popup_no_smilies" version="1808"><![CDATA[<tr>
<td colspan="2" class="{$class}">{$lang->no_smilies}</td>
</tr>]]></template>
		<template name="misc_smilies_popup_row" version="1808"><![CDATA[<tr>{$smile_icons}</tr>]]></template>
		<template name="misc_smilies_popup_smilie" version="1800"><![CDATA[<td class="{$class}" align="center">{$smilie_image}</a></td>
<td class="{$class}">{$smilie['find']}</td>]]></template>
		<template name="misc_smilies_smilie" version="1804"><![CDATA[<tr>
<td class="{$class}" style="width: 1px; text-align: center;">{$smilie_image}</td>
<td class="{$class}">{$smilie['name']}</td>
<td class="{$class}">{$smilie['find']}</td>
</tr>]]></template>
		<template name="misc_syndication" version="1821"><![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}<br /><input type="radio" class="radio" name="version" value="json" {$json1check} />&nbsp;{$lang->syndication_version_json1}</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="misc_syndication_forumlist" version="1800"><![CDATA[<select name="forums[]" size="10" multiple="multiple">
<option value="all" {$addsel}>{$lang->syndicate_all_forums}</option>
<option value="all">----------------------</option>
{$forumlistbits}
</select>]]></template>
		<template name="misc_syndication_forumlist_forum" version="1808"><![CDATA[<option value="{$forum['fid']}" {$optionselected}>{$depth} {$forum['name']}</option>]]></template>
		<template name="misc_whoposted" version="1810"><![CDATA[<div class="modal">
	<div style="overflow-y: auto; max-height: 400px;">
<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="javascript:void(0)"  onclick="MyBB.whoPosted({$thread['tid']}, 'username'); return false;">{$lang->user}</a></strong></span></td>
<td class="tcat"><span class="smalltext"><strong><a href="javascript:void(0)"  onclick="MyBB.whoPosted({$thread['tid']}); return false;">{$lang->num_posts}</a></strong></span></td>
</tr>
{$whoposted}
</table>
</div>
</div>]]></template>
		<template name="misc_whoposted_page" version="1813"><![CDATA[<html>
<head>
<title>{$thread['subject']} - {$lang->who_posted}</title>
{$headerinclude}
</head>
<body>
{$header}
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" 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="{$mybb->settings['bburl']}/misc.php?action=whoposted&tid={$thread['tid']}&sort=username">{$lang->user}</a></strong></span></td>
<td class="tcat"><span class="smalltext"><strong><a href="{$mybb->settings['bburl']}/misc.php?action=whoposted&tid={$thread['tid']}">{$lang->num_posts}</a></strong></span></td>
</tr>
{$whoposted}
</table>
{$footer}
</body>
</html>]]></template>
		<template name="misc_whoposted_poster" version="1807"><![CDATA[<tr>
<td class="{$altbg}">{$profile_link}</td>
<td class="{$altbg}">{$poster['posts']}</td>
</tr>]]></template>
		<template name="modcp" version="1805"><![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">
{$awaitingmoderation}
{$latestfivemodactions}
<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>
<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_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"><span class="smalltext"><strong>{$lang->announcement}</strong></span></td>
						<td class="tcat" width="200" colspan="2" align="center"><span class="smalltext"><strong>{$lang->controls}</strong></span></td>
					</tr>
					{$announcements_forum}
				</table>
			</td>
		</tr>
	</table>
	{$footer}
</body>
</html>]]></template>
		<template name="modcp_announcements_announcement" version="1811"><![CDATA[					<tr>
						<td class="{$trow}"><div style="padding-left: {$padding}px;">{$icon}<a href="announcements.php?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_announcements_announcement_active" version="1800"><![CDATA[<div class="subforumicon subforum_minion" title="{$lang->active_announcement}"></div>]]></template>
		<template name="modcp_announcements_announcement_expired" version="1800"><![CDATA[<div class="subforumicon subforum_minioff" title="{$lang->expired_announcement}"></div>]]></template>
		<template name="modcp_announcements_announcement_global" version="1811"><![CDATA[					<tr>
						<td class="{$trow}">{$icon}<a href="announcements.php?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_day" version="1809"><![CDATA[<option value="{$day}"{$selected}>{$day}</option>]]></template>
		<template name="modcp_announcements_delete" version="1809"><![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}" />
		<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}" />
				</td>
			</tr>
		</table>
	</form>
	{$footer}
</body>
</html>]]></template>
		<template name="modcp_announcements_edit" version="1823"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->edit_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}
					{$preview}
					<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" class="textbox" />
								 - {$lang->time} <input type="text" name="starttime_time" value="{$starttime_time}" size="10" class="textbox" />
							</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" class="textbox" />
								 - {$lang->time} <input type="text" name="endtime_time" value="{$endtime_time}" size="10" class="textbox" />
								<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>
						{$allow_html}
						<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" value="{$lang->edit_announcement}" />&nbsp;&nbsp;
						<input type="submit" class="button" name="preview" value="{$lang->preview}" />
					</div>
				</td>
			</tr>
		</table>
	</form>
	{$footer}
</body>
</html>]]></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_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"><span class="smalltext"><strong>{$lang->announcement}</strong></span></td>
						<td class="tcat" width="200" colspan="2" align="center"><span class="smalltext"><strong>{$lang->controls}</strong></span></td>
					</tr>
					{$announcements_global}
				</table>
				<br />]]></template>
		<template name="modcp_announcements_month_end" version="1800"><![CDATA[<option value="01" {$endmonthsel['01']}>{$lang->january}</option>
<option value="02" {$endmonthsel['02']}>{$lang->february}</option>
<option value="03" {$endmonthsel['03']}>{$lang->march}</option>
<option value="04" {$endmonthsel['04']}>{$lang->april}</option>
<option value="05" {$endmonthsel['05']}>{$lang->may}</option>
<option value="06" {$endmonthsel['06']}>{$lang->june}</option>
<option value="07" {$endmonthsel['07']}>{$lang->july}</option>
<option value="08" {$endmonthsel['08']}>{$lang->august}</option>
<option value="09" {$endmonthsel['09']}>{$lang->september}</option>
<option value="10" {$endmonthsel['10']}>{$lang->october}</option>
<option value="11" {$endmonthsel['11']}>{$lang->november}</option>
<option value="12" {$endmonthsel['12']}>{$lang->december}</option>]]></template>
		<template name="modcp_announcements_month_start" version="1800"><![CDATA[<option value="01" {$startmonthsel['01']}>{$lang->january}</option>
<option value="02" {$startmonthsel['02']}>{$lang->february}</option>
<option value="03" {$startmonthsel['03']}>{$lang->march}</option>
<option value="04" {$startmonthsel['04']}>{$lang->april}</option>
<option value="05" {$startmonthsel['05']}>{$lang->may}</option>
<option value="06" {$startmonthsel['06']}>{$lang->june}</option>
<option value="07" {$startmonthsel['07']}>{$lang->july}</option>
<option value="08" {$startmonthsel['08']}>{$lang->august}</option>
<option value="09" {$startmonthsel['09']}>{$lang->september}</option>
<option value="10" {$startmonthsel['10']}>{$lang->october}</option>
<option value="11" {$startmonthsel['11']}>{$lang->november}</option>
<option value="12" {$startmonthsel['12']}>{$lang->december}</option>]]></template>
		<template name="modcp_announcements_allowhtml" version="1813"><![CDATA[						<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>]]></template>
		<template name="modcp_announcements_new" version="1823"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->add_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}
					{$preview}
					<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" class="textbox" />
								 - {$lang->time} <input type="text" name="starttime_time" value="{$starttime_time}" size="10" class="textbox" />
							</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" class="textbox" />
								 - {$lang->time} <input type="text" name="endtime_time" value="{$endtime_time}" size="10" class="textbox" />
								<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>
						{$allow_html}
						<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" value="{$lang->add_announcement}" />&nbsp;&nbsp;
						<input type="submit" class="button" name="preview" value="{$lang->preview}" />
					</div>
				</td>
			</tr>
		</table>
	</form>
	{$footer}
</body>
</html>]]></template>
		<template name="modcp_awaitingattachments" version="1800"><![CDATA[<tr>
<td class="{$bgcolor}"><span class="smalltext"><strong>{$lang->attachments}</strong></span></td>
<td class="{$bgcolor}" align="center"><span class="smalltext">{$unapproved_attachments}</span></td>
<td class="{$bgcolor}" align="center"><span class="smalltext">{$latest_attachment}</span></td>
</tr>]]></template>
		<template name="modcp_awaitingposts" version="1800"><![CDATA[<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>]]></template>
		<template name="modcp_awaitingmoderation" version="1800"><![CDATA[<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>
{$awaitingthreads}
{$awaitingposts}
{$awaitingattachments}
</table>
<br />]]></template>
		<template name="modcp_awaitingmoderation_none" version="1800"><![CDATA[<span style="text-align: center;">{$lang->lastpost_never}</span>]]></template>
		<template name="modcp_awaitingthreads" version="1800"><![CDATA[<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>]]></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_banning_ban" version="1800"><![CDATA[<tr>
	<td class="{$trow}">{$profile_link}{$edit_link}</td>
	<td class="{$trow}">{$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_edit" version="1800"><![CDATA[<br /><span class="smalltext"><a href="modcp.php?action=banuser&amp;uid={$banned['uid']}">{$lang->edit_ban}</a> | <a href="modcp.php?action=liftban&amp;uid={$banned['uid']}&amp;my_post_key={$mybb->post_code}">{$lang->lift_ban}</a></span>]]></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_banning_remaining" version="1808"><![CDATA[<span class="{$banned_class}">({$ban_remaining})</span>]]></template>
		<template name="modcp_banuser" version="1823"><![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%"><textarea name="banreason" cols="60" rows="4" maxlength="255">{$banreason}</textarea></td>
							</tr>
							{$bangroups}
							<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}
<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>
<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")
{
	MyBB.select2();
	$("#username").select2({
		placeholder: "{$lang->search_user}",
		minimumInputLength: 2,
		multiple: false,
		allowClear: true,
		ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
			url: "xmlhttp.php?action=get_users",
			dataType: 'json',
			data: function (term, page) {
				return {
					query: term, // search term
				};
			},
			results: function (data, page) { // parse the results into the format expected by Select2.
				// since we are using custom formatting functions we do not need to alter remote JSON data
				return {results: data};
			}
		},
		initSelection: function(element, callback) {
			var value = $(element).val();
			if (value !== "") {
				callback({
					id: value,
					text: value
				});
			}
		},
	});
}
// -->
</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_bangroups" version="1800"><![CDATA[							<tr>
								<td class="trow1" width="25%"><strong>{$lang->ban_movegroup}</strong></td>
								<td class="trow1" width="75%"><select name="usergroup">{$bangroup_option}</select></td>
							</tr>]]></template>
		<template name="modcp_banuser_bangroups_group" version="1800"><![CDATA[<option value="{$group['gid']}"{$selected}>{$group['title']}</option>]]></template>
		<template name="modcp_banuser_bangroups_hidden" version="1801"><![CDATA[<input type="hidden" name="usergroup" value="{$banned_group}" />]]></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_banuser_lift" version="1801"><![CDATA[<div class="float_right"><a href="modcp.php?action=liftban&amp;uid={$banned['uid']}&amp;my_post_key={$mybb->post_code}">{$lang->lift_ban}</a></div>]]></template>
		<template name="modcp_banuser_liftlist" version="1800"><![CDATA[<option value="{$time}"{$selected}>{$title}{$thattime}</option>]]></template>
		<template name="modcp_editprofile" version="1839"><![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="{$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="{$user_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->skype_id}</span></td>
										</tr>
										<tr>
											<td><input type="text" class="textbox" name="skype" size="25" value="{$user_skype}" /></td>
										</tr>
										<tr>
											<td><span class="smalltext">{$lang->google_id}</span></td>
										</tr>
										<tr>
											<td><input type="text" class="textbox" name="google" size="25" value="{$user_google}" /></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="{$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="{$suspost_time}" class="textbox" style="width: 2em;" /> {$suspost_options}</td>
	</tr>
</table>
</dd>
</dl></td>
										</tr>
									</table>
								</fieldset>
								{$awaysection}
							</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)
	{
		if(action == "modposts")
		{
			$("#susposts_action").hide();
			$("#suspost").attr("checked", false);

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

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

			if($("#suspost").prop("checked") == false)
			{
				$("#suspost").attr("checked", false);
				$("#susposts_action").hide();
			}
			else
			{
				$("#suspost").attr("checked", true);
				$("#susposts_action").show();
			}
		}
	}
// -->
</script>
</body>
</html>]]></template>
		<template name="modcp_editprofile_away" version="1816"><![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" maxlength="200" /></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="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_signature" version="1816"><![CDATA[<tr>
<td class="trow1" valign="top">
<script type="text/javascript">
<!--
	var sig_checked = "{$checked}";

	function toggleAction()
	{
		if($("#suspend_action").is(":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="{$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_suspensions_info" version="1600"><![CDATA[<tr>
	<td colspan="2" class="smalltext"><em>{$suspension_info}</em></td>
</tr>]]></template>
		<template name="modcp_finduser" version="1823"><![CDATA[<html>
<head>
	<title>{$mybb->settings['bbname']} - {$lang->find_users}</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="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="center" width="10%"><span class="smalltext"><strong>{$lang->postnum}</strong></span></td>
					</tr>
					{$users}
				</table>
				{$multipage}
				<br />
				<form action="modcp.php?action=finduser" method="post">
					<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="{$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>
				</form>
			</td>
		</tr>
	</table>
{$footer}
<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>
<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")
{
	MyBB.select2();
	$("#username").select2({
		placeholder: "{$lang->find_users}",
		minimumInputLength: 2,
		multiple: false,
		allowClear: true,
		ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
			url: "xmlhttp.php?action=get_users",
			dataType: 'json',
			data: function (term, page) {
				return {
					query: term, // search term
				};
			},
			results: function (data, page) { // parse the results into the format expected by Select2.
				// since we are using custom formatting functions we do not need to alter remote JSON data
				return {results: data};
			}
		},
		initSelection: function(element, callback) {
			var value = $(element).val();
			if (value !== "") {
				callback({
					id: value,
					text: value
				});
			}
		}
	});
}
// -->
</script>
</body>
</html>]]></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_finduser_user" version="1800"><![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}</td>
							<td class="{$alt_row}" align="center">{$lastdate}</td>
							<td class="{$alt_row}" align="center">{$user['postnum']}</td>
						</tr>]]></template>
		<template name="modcp_ipsearch" version="1813"><![CDATA[<html>
<head>
	<title>{$mybb->settings['bbname']} - {$lang->ipsearch}</title>
	{$headerinclude}
</head>
<body>
	{$header}
	<table width="100%" border="0" align="center">
		<tr>
			{$modcp_nav}
			<td valign="top">
				{$ipsearch_results}
				<form action="modcp.php?action=ipsearch" method="post">
					<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>
				</form>
			</td>
		</tr>
	</table>
{$footer}
</body>
</html>]]></template>
		<template name="modcp_ipsearch_misc_info" version="1800"><![CDATA[<div class="modal">
	<div style="overflow-y: auto; max-height: 400px;">
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="thead" align="center" colspan="2">
				<strong>{$lang->ipaddress_misc_info}</strong>
			</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>
</div>
</div>]]></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="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_result_lastip" version="1800"><![CDATA[<strong>{$lang->ipresult_lastip}</strong> {$profile_link}]]></template>
		<template name="modcp_ipsearch_result_post" version="1800"><![CDATA[<strong>{$lang->ipresult_post}</strong> <a href="{$ipaddress['postlink']}">{$ipaddress['subject']}</a> {$lang->by} {$ipaddress['profilelink']}]]></template>
		<template name="modcp_ipsearch_result_regip" version="1800"><![CDATA[<strong>{$lang->ipresult_regip}</strong> {$profile_link}]]></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_results_information" version="1834"><![CDATA[<div class="float_right">(<a href="modcp.php?action=iplookup&ipaddress={$ipaddress}" onclick="MyBB.popupWindow('/modcp.php?action=iplookup&ipaddress={$ipaddress_url}&modal=1'); return false;">{$lang->info_on_ip}</a> | <a href="https://www.stopforumspam.com/ipcheck/{$ipaddress}" target="_blank" rel="noopener">{$lang->search_ip_sfs}</a>)</div>]]></template>
		<template name="modcp_lastattachment" version="1800"><![CDATA[<span class="smalltext">
<a href="{$attachment['link']}#pid{$attachment['pid']}"><strong>{$attachment['filename']}</strong></a>
<br />{$attachment['date']}<br />{$lang->by} {$attachment['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']}<br />{$lang->by} {$post['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']}<br />{$lang->by} {$thread['profilelink']}</span>]]></template>
		<template name="modcp_latestfivemodactions" version="1800"><![CDATA[<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 />]]></template>
		<template name="modcp_modlogs" version="1813"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->modlogs}</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="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 />
				<form action="modcp.php?action=modlogs" method="post">
					<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" class="textbox" /></td>
						</tr>
					</table>
					<br />
					<div align="center">
						<input type="submit" class="button" value="{$lang->filter_logs}" />
					</div>
				</form>
			</td>
		</tr>
	</table>
{$footer}
</body>
</html>]]></template>
		<template name="modcp_modlogs_multipage" version="1800"><![CDATA[<tr>
<td class="tfoot" colspan="6"><span class="smalltext"> {$multipage}</span></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_nologs" version="1800"><![CDATA[<tr>
	<td class="trow1" align="center" colspan="5">{$lang->no_logs}</td>

</tr>]]></template>
		<template name="modcp_modlogs_result" version="1800"><![CDATA[<tr>
<td class="{$trow}" valign="top">{$logitem['profilelink']}</td>
<td class="{$trow}" align="center" valign="top">{$log_date}</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_result_announcement" version="1800"><![CDATA[<strong>{$lang->announcement}:</strong> <a href="{$data['announcement']}" target="_blank">{$data['subject']}</a>]]></template>
		<template name="modcp_modlogs_result_forum" version="1800"><![CDATA[<strong>{$lang->forum}:</strong> <a href="{$logitem['forum']}" target="_blank">{$logitem['fname']}</a><br />]]></template>
		<template name="modcp_modlogs_result_post" version="1800"><![CDATA[<strong>{$lang->post}:</strong> <a href="{$logitem['post']}#pid{$logitem['pid']}">{$logitem['psubject']}</a>]]></template>
		<template name="modcp_modlogs_result_thread" version="1800"><![CDATA[<strong>{$lang->thread}:</strong> <a href="{$logitem['thread']}" target="_blank">{$logitem['tsubject']}</a><br />]]></template>
		<template name="modcp_modlogs_user" version="1800"><![CDATA[<option value="{$user['uid']}"{$selected}>{$user['username']}</option>]]></template>
		<template name="modcp_modqueue_attachments" version="1800"><![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">
					{$thread_link}
					{$post_link}
					{$navsep}<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="1800"><![CDATA[			<tr>
				<td class="{$altbg}"><a href="attachment.php?aid={$attachment['aid']}" target="_blank">{$attachment['filename']}</a> ({$attachment['filesize']})<br /><small class="modqueue_meta">{$lang->post}: <a href="{$link}">{$attachment['postsubject']}</a></small></td>
				<td class="{$altbg}" align="center">{$profile_link}</td>
				<td align="center" class="{$altbg}">{$attachdate}</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_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_modqueue_attachment_link" version="1800"><![CDATA[{$navsep}<a href="modcp.php?action=modqueue&amp;type=attachments">{$lang->attachments}</a>]]></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_link_forum" version="1800"><![CDATA[<strong>{$lang->meta_forum} <a href="{$forum_link}">{$forum_name}</a></strong><br />]]></template>
		<template name="modcp_modqueue_link_thread" version="1800"><![CDATA[<strong>{$lang->meta_thread} <a href="{$post['threadlink']}">{$post['threadsubject']}</a></strong>]]></template>
		<template name="modcp_modqueue_masscontrols" version="1809"><![CDATA[<ul class="modqueue_mass">
	<li><a href="javascript:void(0)" class="mass_ignore" onclick="$('input.radio_ignore').each(function(){ $(this).prop('checked', true); }); return false;">{$lang->mark_all_ignored}</a></li>
	<li><a href="javascript:void(0)" class="mass_delete" onclick="$('input.radio_delete').each(function(){ $(this).prop('checked', true); }); return false;">{$lang->mark_all_deletion}</a></li>
	<li><a href="javascript:void(0)" class="mass_approve" onclick="$('input.radio_approve').each(function(){ $(this).prop('checked', true); }); return false;">{$lang->mark_all_approved}</a></li>
</ul>]]></template>
		<template name="modcp_modqueue_posts" version="1820"><![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 tfixed">
		<tr>
			<td class="thead" colspan="3">
				<div class="float_right">
					{$thread_link}
					<strong>{$lang->posts}</strong>
					{$attachment_link}
				</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_empty" version="1400"><![CDATA[<tr>
		<td class="trow1" align="center" colspan="3">{$lang->mod_queue_posts_empty}</td>
</tr>]]></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}</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_post_link" version="1800"><![CDATA[{$navsep}<a href="modcp.php?action=modqueue&amp;type=posts">{$lang->posts}</a>]]></template>
		<template name="modcp_modqueue_threads" version="1820"><![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 tfixed">
		<tr>
			<td class="thead" colspan="3">
				<div class="float_right">
					<strong>{$lang->threads}</strong>
					{$post_link}
					{$attachment_link}
				</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_empty" version="1400"><![CDATA[<tr>
		<td class="trow1" align="center" colspan="3">{$lang->mod_queue_threads_empty}</td>
</tr>]]></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}</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_thread_link" version="1800"><![CDATA[<a href="modcp.php?action=modqueue&amp;type=threads">{$lang->threads}</a>{$navsep}]]></template>
		<template name="modcp_nav" version="1800"><![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>
	{$modcp_nav_forums_posts}
	{$modcp_nav_users}
</table>
</td>]]></template>
		<template name="modcp_nav_announcements" version="1800"><![CDATA[<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>]]></template>
		<template name="modcp_nav_banning" version="1800"><![CDATA[<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>]]></template>
		<template name="modcp_nav_forums_posts" version="1816"><![CDATA[	<tr>
		<td class="tcat tcat_menu tcat_collapse{$collapsedimg['modcpforums']}">
			<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['modcpforums']}.png" id="modcpforums_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
			<div><span class="smalltext"><strong>{$lang->mcp_nav_forums}</strong></span></div>
		</td>
	</tr>
	<tbody style="{$collapsed['modcpforums_e']}" id="modcpforums_e">
		{$nav_announcements}
		{$nav_modqueue}
		{$nav_reportcenter}
		{$nav_modlogs}
	</tbody>]]></template>
		<template name="modcp_nav_editprofile" version="1800"><![CDATA[<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>]]></template>
		<template name="modcp_nav_ipsearch" version="1800"><![CDATA[<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>]]></template>
		<template name="modcp_nav_modlogs" version="1800"><![CDATA[<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>]]></template>
		<template name="modcp_nav_modqueue" version="1800"><![CDATA[<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>]]></template>
		<template name="modcp_nav_reportcenter" version="1800"><![CDATA[<tr><td class="trow1 smalltext"><a href="modcp.php?action=reports" class="modcp_nav_item modcp_nav_reports">{$lang->mcp_nav_report_center}</a></td></tr>]]></template>
		<template name="modcp_nav_users" version="1816"><![CDATA[	<tr>
		<td class="tcat tcat_menu tcat_collapse{$collapsedimg['modcpusers']}">
			<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['modcpusers']}.png" id="modcpusers_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
			<div><span class="smalltext"><strong>{$lang->mcp_nav_users}</strong></span></div>
		</td>
	</tr>
	<tbody style="{$collapsed['modcpusers_e']}" id="modcpusers_e">
		{$nav_editprofile}
		{$nav_banning}
		{$nav_warninglogs}
		{$nav_ipsearch}
	</tbody>]]></template>
		<template name="modcp_nav_warninglogs" version="1800"><![CDATA[<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>]]></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_reports" version="1821"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->report_center}</title>
{$headerinclude}
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/inline_reports.js?ver=1821"></script>
</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" colspan="5"><strong>{$lang->report_center}</strong></td>
		</tr>
		<tr>
			<td class="tcat" width="35%"><span class="smalltext"><strong>{$lang->report_info}</strong></span></td>
			<td class="tcat" align="left" width="25%"><span class="smalltext"><strong>{$lang->report_type}</strong></span></td>
			<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->report_count}</strong></span></td>
			<td class="tcat" align="right" width="20%"><span class="smalltext"><strong>{$lang->report_lastpost}</strong></span></td>
			<td class="tcat" align="center" width="5%"><input type="checkbox" name="allbox" onclick="inlineReports.checkAll(this);" /></td>
		</tr>
		{$selectall}
		{$reports}
		<tr>
			<td class="tfoot" colspan="7" align="right"><span class="smalltext"><strong><a href="modcp.php?action=allreports">{$lang->view_all_reports}</a></strong></span></td>
		</tr>
		</table>
		{$reportspages}
		<br />
		<div align="center"><input type="hidden" name="action" value="do_reports" /><input type="submit" id="inline_read" class="button" name="reportsubmit" value="{$lang->mark_read} ({$inlinecount})" /></div>
	</td>
</tr>
</table>
</form>
{$footer}
<script type="text/javascript">
<!--
	var mark_read_text = "{$lang->mark_read}";
	var all_text = "{$report_count}";
// -->
</script>
</body>
</html>]]></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_allreport" version="1800"><![CDATA[				<tr>
					<td class="{$trow}">{$report_data['content']}</td>
					<td class="{$trow}">{$report_data['comment']}</td>
					<td class="{$trow}" align="center"><a href="{$report['reporterlink']}" target="_blank">{$report['username']}</a></td>
					<td class="{$trow}" align="center">{$report_data['reports']}</td>
					<td class="{$trow}" align="center" style="white-space: nowrap"><span class="smalltext">{$report_data['time']}</span></td>
				</tr>]]></template>
		<template name="modcp_reports_allreports" version="1800"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->all_reports}</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_reports}</strong></td>
				</tr>
				<tr>
					<td class="tcat" width="30%"><span class="smalltext"><strong>{$lang->report_info}</strong></span></td>
					<td class="tcat" width="20%"><span class="smalltext"><strong>{$lang->report_type}</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="10%"><span class="smalltext"><strong>{$lang->report_count}</strong></span></td>
					<td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->report_time}</strong></span></td>
				</tr>
				{$allreports}
			</table>
			{$allreportspages}
		</td>
	</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="modcp_reports_multipage" version="1800"><![CDATA[{$multipage}]]></template>
		<template name="modcp_reports_noreports" version="1607"><![CDATA[<tr>
<td class="trow1" align="center" colspan="7">{$lang->no_reports}</td>
</tr>]]></template>
		<template name="modcp_reports_report" version="1813"><![CDATA[<tr class="inline_row">
	<td class="{$trow}">{$report_data['content']}</td>
	<td class="{$trow}" align="left">{$report_data['comment']}</td>
	<td class="{$trow}" align="center">{$report_data['reports']}</td>
	<td class="{$trow} smalltext" align="right">{$report_data['lastreporter']}</td>
	<td class="{$trow}" align="center"><input type="checkbox" class="checkbox" name="reports[]" id="reports_{$report['rid']}" value="{$report['rid']}"{$inlinecheck} /></td>
</tr>]]></template>
		<template name="modcp_reports_report_comment" version="1808"><![CDATA[{$reason}]]></template>
		<template name="modcp_reports_report_comment_extra" version="1808"><![CDATA[{$reason}: {$comment}]]></template>
		<template name="modcp_reports_selectall" version="1813"><![CDATA[<tr id="selectAllrow" class="hiddenrow">
	<td colspan="8" class="selectall">{$lang->page_selected} <a href="javascript:void(0)" onclick='inlineReports.selectAll(); return false;'>{$lang->select_all}</a></td>
</tr>
<tr id="allSelectedrow" class="hiddenrow">
	<td colspan="8" class="selectall">{$lang->all_selected} <a href="javascript:void(0)" onclick='inlineReports.clearChecked(); return false;'>{$lang->clear_selection}</a></td>
</tr>]]></template>
		<template name="modcp_nobanned" version="1613"><![CDATA[<tr>
		<td class="trow1" align="center" colspan="4">{$lang->no_bans_ending}</td>
</tr>]]></template>
		<template name="modcp_warninglogs" version="1823"><![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%"><span class="smalltext"><strong>{$lang->warned_user}</strong></span></td>
						<td class="tcat" width="25%"><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->expires}</strong></span></td>
						<td class="tcat" width="15%"><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>
					{$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="{$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="{$filter_modusername}" 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="{$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}
<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>
<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")
{
	MyBB.select2();
	$("#username").select2({
		placeholder: "{$lang->search_user}",
		minimumInputLength: 2,
		multiple: false,
		allowClear: true,
		ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
			url: "xmlhttp.php?action=get_users",
			dataType: 'json',
			data: function (term, page) {
				return {
					query: term, // search term
				};
			},
			results: function (data, page) { // parse the results into the format expected by Select2.
				// since we are using custom formatting functions we do not need to alter remote JSON data
				return {results: data};
			}
		},
		initSelection: function(element, callback) {
			var value = $(element).val();
			if (value !== "") {
				callback({
					id: value,
					text: value
				});
			}
		},
	});
}
// -->
</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="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_delayedmodaction_notes_forum" version="1808"><![CDATA[<strong>{$lang->forum}</strong> <a href="{$delayedmod['link']}">{$delayedmod['fname']}</a><br />]]></template>
		<template name="moderation_delayedmodaction_notes_merge" version="1808"><![CDATA[<strong>{$lang->new_subject}</strong> {$delayedmod['subject']}<br />
<strong>{$lang->thread_to_merge_with}</strong> <a href="{$delayedmod['threadurl']}">{$delayedmod['threadurl']}</a><br />]]></template>
		<template name="moderation_delayedmodaction_notes_new_forum" version="1808"><![CDATA[<strong>{$lang->new_forum}</strong> <a href="{$delayedmod['link']}">{$delayedmod['name']}</a><br />]]></template>
		<template name="moderation_delayedmodaction_notes_redirect" version="1808"><![CDATA[<strong>{$lang->leave_redirect_for}</strong> {$redirect_expire_bit}<br />]]></template>
		<template name="moderation_delayedmodaction_notes_thread_multiple" version="1808"><![CDATA[<strong>{$lang->thread}</strong> {$lang->multiple_threads}<br />]]></template>
		<template name="moderation_delayedmodaction_notes_thread_single" version="1808"><![CDATA[<strong>{$lang->thread}</strong> <a href="{$delayed_thread['link']}">{$delayed_thread['subject']}</a><br />]]></template>
		<template name="moderation_delayedmoderation" version="1823"><![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->time_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->run_moderation_time}</strong></td>
<td class="trow2">
		<select name="date_day">
				{$dateday}
		</select>
		&nbsp;
		<select name="date_month">
				{$datemonth}
		</select>
		&nbsp;
		<input type="text" name="date_year" value="{$dateyear}" size="4" maxlength="4" class="textbox" />
		 - {$lang->time} <input type="text" name="date_time" value="{$datetime}" size="10" class="textbox" />
</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').prop('checked') == true)
			{
				$('#type_merge_expanded').hide();
				$('#type_movecopythread_expanded').show();
			}
			else if($('#type_merge').prop('checked') == true)
			{
				$('#type_movecopythread_expanded').hide();
				$('#type_merge_expanded').show();
			}
			else
			{
				$('#type_movecopythread_expanded').hide();
				$('#type_merge_expanded').hide();
			}
		}
		else
		{
			if($('#type_movecopythread').prop('checked') == true)
			{
				$('#type_movecopythread_expanded').show();
			}
			else
			{
				$('#type_movecopythread_expanded').hide();
			}
		}
	}
// -->
</script>
<dl style="margin-top: 0; margin-bottom: 0; width: 100%;">
	{$openclosethread}
	{$softdeleterestorethread}
	{$deletethread}
	{$stickunstickthread}
	<dt><input type="radio" name="type" value="move" {$type_selected['move']} 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>
	{$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>
	{$approveunapprovethread}
	{$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_approve" version="1813"><![CDATA[<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>]]></template>
		<template name="moderation_delayedmoderation_delete" version="1813"><![CDATA[<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>]]></template>
		<template name="moderation_delayedmoderation_openclose" version="1813"><![CDATA[<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>]]></template>
		<template name="moderation_delayedmoderation_softdeleterestore" version="1813"><![CDATA[<dt><input type="radio" name="type" value="softdeleterestorethread" {$type_selected['softdeleterestorethread']} id="type_softdeleterestorethread" onclick="toggleType();" /> <label for="type_softdeleterestorethread"><strong>{$lang->softdelete_restore_thread}</strong></label></dt>]]></template>
		<template name="moderation_delayedmoderation_stick" version="1813"><![CDATA[<dt><input type="radio" name="type" value="stick" {$type_selected['stick']} id="type_stick_unstick_thread" onclick="toggleType();" /> <label for="type_stick_unstick_thread"><strong>{$lang->stick_unstick_thread}</strong></label></dt>]]></template>
		<template name="moderation_delayedmoderation_date_month" version="1800"><![CDATA[<option value="01" {$datemonth['01']}>{$lang->january}</option>
<option value="02" {$datemonth['02']}>{$lang->february}</option>
<option value="03" {$datemonth['03']}>{$lang->march}</option>
<option value="04" {$datemonth['04']}>{$lang->april}</option>
<option value="05" {$datemonth['05']}>{$lang->may}</option>
<option value="06" {$datemonth['06']}>{$lang->june}</option>
<option value="07" {$datemonth['07']}>{$lang->july}</option>
<option value="08" {$datemonth['08']}>{$lang->august}</option>
<option value="09" {$datemonth['09']}>{$lang->september}</option>
<option value="10" {$datemonth['10']}>{$lang->october}</option>
<option value="11" {$datemonth['11']}>{$lang->november}</option>
<option value="12" {$datemonth['12']}>{$lang->december}</option>]]></template>
		<template name="moderation_delayedmoderation_date_day" version="1809"><![CDATA[<option value="{$day}"{$selected}>{$day}</option>]]></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="moderation_delayedmoderation_merge" version="1816"><![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="{$delayedmoderation_subject}" size="40" /><br />
	{$lang->thread_to_merge_with}<br />
	<input type="text" class="textbox" name="delayedmoderation[threadurl]" value="{$delayedmoderation_threadurl}" size="40" />
	<br /><span class="smalltext">{$lang->merge_with_note}</span>
</dd>]]></template>
		<template name="moderation_delayedmoderation_move" version="1816"><![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="{$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_thread" version="1808"><![CDATA[<a href="{$thread['link']}">{$thread['subject']}</a>]]></template>
		<template name="moderation_confirmation" version="1816"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->confirm_execute_tool}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="moderation.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="{$action}" />
<input type="hidden" name="modtype" value="{$modtype}" />
<input type="hidden" name="tid" value="{$tid}" />
<input type="hidden" name="pid" value="{$pid}" />
<input type="hidden" name="fid" value="{$fid}" />
<input type="hidden" name="pmid" value="{$pmid}" />
<input type="hidden" name="confirm" value="1" />
<input type="hidden" name="inlinetype" value="{$inlinetype}" />
<input type="hidden" name="searchid" value="{$searchid}" />
<input type="hidden" name="url" value="{$url}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$thread['subject']} - {$lang->confirm_execute_tool}</strong></td>
</tr>
<tr>
<td class="trow1" colspan="2" align="center">{$lang->confirm_execute_tool_desc}</td>
</tr>
{$loginbox}
</table>
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->confirm_execute_tool}" /></div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="moderation_delayedmodaction_error" version="1800"><![CDATA[<tr><td class="trow1" colspan="{$cols}">{$lang->no_delayed_mods}</td></tr>]]></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="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="moderation_getip" version="1608"><![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>
<tr>
<td class="trow1" width="20%"><strong>{$lang->username}</strong></td>
<td class="trow1">{$username}</td>
</tr>
<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_modal" version="1815"><![CDATA[<div class="modal">
	<div style="overflow-y: auto; max-height: 400px;">
<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>
<tr>
<td class="trow1" width="20%"><strong>{$lang->username}</strong></td>
<td class="trow1">{$username}</td>
</tr>
<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>
</div>
</div>]]></template>
		<template name="moderation_getip_modoptions" version="1804"><![CDATA[<tr>
<td class="trow2"><strong>{$lang->mod_options}</strong></td>
<td class="trow2">
	<a href="modcp.php?action=ipsearch&amp;ipaddress={$ipaddress}&amp;search_users=1">{$lang->search_ip_users}</a><br />
	<a href="modcp.php?action=ipsearch&amp;ipaddress={$ipaddress}&amp;search_posts=1">{$lang->search_ip_posts}</a><br />
	<a href="modcp.php?action=iplookup&ipaddress={$ipaddress}" onclick="MyBB.popupWindow('/modcp.php?action=iplookup&ipaddress={$ipaddress}&modal=1'); return false;">{$lang->info_on_ip}</a>
</td>
</tr>]]></template>
		<template name="moderation_getpmip" version="1800"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->get_pm_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_pm_ip}</strong></td>
</tr>
<tr>
<td class="trow1" width="20%"><strong>{$lang->username}</strong></td>
<td class="trow1">{$username}</td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->ip_address}</strong></td>
<td class="trow2">{$pm['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_getpmip_modal" version="1815"><![CDATA[<div class="modal">
	<div style="overflow-y: auto; max-height: 400px;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->get_pm_ip}</strong></td>
</tr>
<tr>
<td class="trow1" width="20%"><strong>{$lang->username}</strong></td>
<td class="trow1">{$username}</td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->ip_address}</strong></td>
<td class="trow2">{$pm['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>
</div>
</div>]]></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="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="moderation_inline_mergeposts" version="1812"><![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>
{$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_movethreads" version="1822"><![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>
<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_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_splitposts" version="1607"><![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="{$lang->split_thread_subject} {$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_inline_moveposts" version="1800"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->move_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->move_posts}</strong></td>
</tr>
{$loginbox}
<tr>
<td class="trow1"><strong>{$lang->thread_to_move_to}</strong><br /><span class="smalltext">{$lang->move_post_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->move_posts}" /></div>
<input type="hidden" name="action" value="do_multimoveposts" />
<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_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="moderation_mergeposts_post" version="1600"><![CDATA[<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->posted_by} {$post['username']} - {$postdate}</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="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_purgespammer" version="1816"><![CDATA[<html>
<head>
<title>{$lang->purgespammer}</title>
{$headerinclude}
</head>
<body>
{$header}
<form method="post" action="moderation.php">
<input type="hidden" name="action" value="do_purgespammer" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<strong>{$lang->purgespammer_purge}</strong>
</td>
</tr>
<tr>
<td class="trow1">{$lang->purgespammer_purge_desc}</td>
</tr>
<tr>
<td class="tfoot" align="center"><input class="button" type="submit" value="{$lang->purgespammer_submit}" /></td>
</tr>
</table>
<input type="hidden" name="uid" value="{$uid}" />
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
</form>
{$footer}
</body>
</html>]]></template>
		<template name="moderation_split" version="1607"><![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="{$lang->split_thread_subject} {$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="moderation_split_post" version="127"><![CDATA[<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->posted_by} {$post['username']} - {$postdate}</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="moderation_threadnotes" version="1823"><![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->time_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="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="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_modaction_error" version="1800"><![CDATA[<tr><td class="trow1" colspan="4">{$lang->no_mod_options}</td></tr>]]></template>
		<template name="moderation_threadnotes_modaction_forum" version="1808"><![CDATA[<strong>{$lang->forum}</strong> <a href="{$modaction['forumlink']}">{$modaction['fname']}</a><br />]]></template>
		<template name="moderation_threadnotes_modaction_post" version="1808"><![CDATA[<strong>{$lang->post}</strong> <a href="{$modaction['postlink']}#pid{$modaction['pid']}">{$modaction['psubject']}</a>]]></template>
		<template name="moderation_threadnotes_modaction_thread" version="1808"><![CDATA[<strong>{$lang->thread}</strong> <a href="{$modaction['threadlink']}">{$modaction['tsubject']}</a><br />]]></template>
		<template name="moderation_viewthreadnotes" version="1800"><![CDATA[<div class="modal">
<div style="overflow-y: auto; max-height: 400px;">
<table width="100%" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" border="0" align="center" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->view_notes_for}</strong></td>
</tr>
<tr>
<td class="trow1">{$thread['notes']}</td>
</tr>
</table>
</div>
</div>]]></template>
		<template name="multipage" version="1816"><![CDATA[<div class="pagination">
<span class="pages">{$multipage_pages}</span>
{$prevpage}{$start}{$mppage}{$end}{$nextpage}{$jumptopage}
</div>]]></template>
		<template name="multipage_breadcrumb" version="1800"><![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")
	{
		$("#breadcrumb_multipage").popupMenu();
	}
// -->
</script>]]></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_jump_page" version="1823"><![CDATA[<div class="popup_menu drop_go_page" style="display: none;">
	<form action="{$jump_url}" method="post">
		<label for="page">{$lang->multipage_jump}:</label> <input type="number" class="textbox" name="page" value="{$page}" size="4" min="1" max="{$pages}" />
		<input type="submit" class="button" value="{$lang->go}" />
	</form>
</div>
<a href="javascript:void(0)" class="go_page" title="{$lang->multipage_jump}"><img src="{$theme['imgdir']}/arrow_down.png" alt="{$lang->multipage_jump}" /></a>&nbsp;
<script type="text/javascript">
	var go_page = 'go_page_' + $(".go_page").length;
	$(".go_page").last().attr('id', go_page);
	$(".drop_go_page").last().attr('id', go_page + '_popup');
	$('#' + go_page).popupMenu(false).on('click', function() {
		var drop_go_page = $(this).prev('.drop_go_page');
		if (drop_go_page.is(':visible')) {
			drop_go_page.find('.textbox').trigger('focus');
		}
	});
</script>]]></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="mycode_code" version="1808"><![CDATA[<div class="codeblock"><div class="title">{$lang->code}</div><div class="body" dir="ltr"><code>{$code}</code></div></div><br />]]></template>
		<template name="mycode_email" version="1808"><![CDATA[<a href="mailto:{$email}" class="mycode_email">{$name}</a>]]></template>
		<template name="mycode_img" version="1823"><![CDATA[<img src="{$url}" loading="lazy" {$width}{$height} alt="{$alt}"{$css_align} class="mycode_img" />]]></template>
		<template name="mycode_php" version="1808"><![CDATA[<div class="codeblock phpcodeblock"><div class="title">{$lang->php_code}</div><div class="body">{$code}</div></div><br />]]></template>
		<template name="mycode_quote_post" version="1808"><![CDATA[<blockquote class="mycode_quote"><cite>{$span}{$username} {$lang->wrote}{$linkback}</cite>{$message}</blockquote><br />]]></template>
		<template name="mycode_size_int" version="1808"><![CDATA[<span style="font-size: {$size}pt;" class="mycode_size">{$text}</span>]]></template>
		<template name="mycode_url" version="1813"><![CDATA[<a href="{$url}" target="_blank"{$rel} class="mycode_url">{$name}</a>]]></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="nav_dropdown" version="1800"><![CDATA[ <img src="{$theme['imgdir']}/arrow_down.png" alt="v" title="" class="pagination_breadcrumb_link" id="breadcrumb_multipage" />{$multipage}]]></template>
		<template name="nav_sep" version="1800"><![CDATA[&rsaquo;]]></template>
		<template name="nav_sep_active" version="1800"><![CDATA[<br /><img src="{$theme['imgdir']}/nav_bit.png" alt="" />]]></template>
		<template name="newreply" version="1820"><![CDATA[<html>
<head>
<title>{$lang->post_reply_to}</title>
{$headerinclude}
{$post_javascript}
</head>
<body>
{$header}
{$preview}
{$maximageserror}
{$attacherror}
{$reply_errors}
{$moderation_notice}
<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>
{$postoptions}
{$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="1809"><![CDATA[<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" tabindex="9"{$postoptionschecked['disablesmilies']} /> {$lang->options_disablesmilies}</label>]]></template>
		<template name="newreply_draftinput" version="1808"><![CDATA[<input type="hidden" name="pid" value="{$pid}" />]]></template>
		<template name="newreply_modoptions" version="1810"><![CDATA[<tr>
	<td class="{$bgcolor}" valign="top"><strong>{$lang->mod_options}</strong></td>
	<td class="{$bgcolor}"><span class="smalltext">
		{$closeoption}
		{$stickoption}
	</span></td>
</tr>]]></template>
		<template name="newreply_modoptions_close" version="1810"><![CDATA[<label><input type="checkbox" class="checkbox" name="modoptions[closethread]" value="1"{$closecheck} />&nbsp;{$lang->close_thread}</label><br />]]></template>
		<template name="newreply_modoptions_stick" version="1810"><![CDATA[<label><input type="checkbox" class="checkbox" name="modoptions[stickthread]" value="1"{$stickycheck} />&nbsp;{$lang->stick_thread}</label>]]></template>
		<template name="newreply_multiquote_external" version="1809"><![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:void(0)" onclick="Post.clearMultiQuoted(); return false;">{$multiquote_deselect}</a></span></div>]]></template>
		<template name="newreply_postoptions" version="1809"><![CDATA[<tr>
<td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<td class="trow1"><span class="smalltext">
{$signature}
{$disablesmilies}
</span></td>
</tr>]]></template>
		<template name="newreply_signature" version="1809"><![CDATA[<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="6"{$postoptionschecked['signature']} /> {$lang->options_sig}</label><br />]]></template>
		<template name="newreply_threadreview" version="1800"><![CDATA[<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed">
<tr>
<td class="thead" style="text-align: center;"><strong>{$lang->thread_review}</strong></td>
</tr>
{$reviewbits}
{$reviewmore}
</table>]]></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="newreply_threadreview_post" version="1800"><![CDATA[<tr>
<td class="tcat"><span class="smalltext"><strong>{$lang->posted_by} {$post['username']} - {$reviewpostdate}</strong></span></td>
</tr>
<tr>
<td class="{$altbg} scaleimages">
{$reviewmessage}
</td>
</tr>]]></template>
		<template name="newthread" version="1820"><![CDATA[<html>
<head>
<title>{$lang->newthread_in}</title>
{$headerinclude}
{$post_javascript}
</head>
<body>
{$header}
{$preview}
{$thread_errors}
{$attacherror}
{$moderation_notice}
<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>
{$postoptions}
{$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="1809"><![CDATA[<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" tabindex="9"{$postoptionschecked['disablesmilies']} /> {$lang->options_disablesmilies}</label>]]></template>
		<template name="newthread_draftinput" version="1808"><![CDATA[<input type="hidden" name="pid" value="{$pid}" />]]></template>
		<template name="newthread_multiquote_external" version="1809"><![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:void(0)" onclick="Post.clearMultiQuoted(); return false;">{$multiquote_deselect}</a></span></div>]]></template>
		<template name="newthread_postoptions" version="1809"><![CDATA[<tr>
<td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<td class="trow1"><span class="smalltext">
{$signature}
{$disablesmilies}</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="newthread_signature" version="1810"><![CDATA[<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /> {$lang->options_sig}</label><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="online_refresh" version="1808"><![CDATA[<meta http-equiv="refresh" content="{$refresh_time};URL=online.php{$refresh_string}" />]]></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="1800"><![CDATA[<br /><span class="smalltext">{$lang->ip} {$user['ip']} {$lookup}</span>]]></template>
		<template name="online_row_ip_lookup" version="1800"><![CDATA[<a href="modcp.php?action=ipsearch&amp;ipaddress={$user['ip']}&amp;search_users=1">{$lang->lookup}</a>]]></template>
		<template name="online_today" version="1800"><![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 thead_left" align="center" width="50%"><span class="smalltext"><strong>{$lang->on_username}</strong></span></td>
<td class="thead thead_right" 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>
<br />
{$multipage}
{$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="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="polls_editpoll" version="1821"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->edit_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="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>
</tr>
</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 />
<span id="maxOptions" style="display: none"><strong>{$lang->option_multiple_maxoptions}</strong> <input type="text" class="textbox" name="maxoptions" value="{$maxoptions}" /><br /></span>
<script type="text/javascript">
//<!--
  	if($("input[name='postoptions[multiple]']").is(":checked")) {
		$("#maxOptions").css("display", "");
	}

 	$("input[name='postoptions[multiple]']").on('click', function() {
 		if($(this).is(":checked")) {
 			$("#maxOptions").css("display", "");
 		} else {
 	    	$("#maxOptions").css("display", "none");
 	  	}
   	});
// -->
</script>
<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="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="polls_newpoll" version="1821"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->post_new_poll}</title>
{$headerinclude}
</head>
<body>
{$header}
<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 />
<span id="maxOptions" style="display: none"><strong>{$lang->option_multiple_maxoptions}</strong> <input type="text" class="textbox" name="maxoptions" value="0" /><br /></span>
<script type="text/javascript">
//<!--
	if($("input[name='postoptions[multiple]']").is(":checked")) {
		$("#maxOptions").css("display", "");
	}

 	$("input[name='postoptions[multiple]']").on('click', function() {
 		if($(this).is(":checked")) {
 	    	$("#maxOptions").css("display", "");
		} else {
 	    	$("#maxOptions").css("display", "none");
 	   	}
    });
// -->
</script>
<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="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="polls_showresults" version="1800"><![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 tfixed">
<colgroup>
<col style="width: 35%;" />
<col style="width: 50%" />
<col style="width: 7%" />
</colgroup>
<tr>
<td class="thead" colspan="4" style="text-align: center;"><strong>{$poll['question']}</strong></td>
</tr>
{$polloptions}
<tr>
<td class="tfoot" colspan="2" style="text-align: right;"><strong>{$lang->poll_total}</strong></td>
<td class="tfoot" style="text-align: center;"><strong>{$poll['numvotes']} {$lang->poll_votes}</strong></td>
<td class="tfoot" style="text-align: center;"><strong>{$totpercent}</strong></td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="polls_showresults_resultbit" version="1800"><![CDATA[<tr>
<td class="{$optionbg} scaleimages" style="text-align: right;">{$option}{$votestar}</td>
<td class="{$optionbg}"><div class="pollbar" style="width: {$imagewidth}%" title="{$percent}%"><span class="percent">{$percent}%</span></div>{$userlist}</td>
<td class="{$optionbg}" style="text-align: center;">{$votes}</td>
<td class="{$optionbg}" style="text-align: center;">{$percent}%</td>
</tr>]]></template>
		<template name="portal" version="1800"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']}</title>
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_announcements} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php?portal=1" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_announcements} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?portal=1&type=atom1.0" />
{$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}
{$multipage}
</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="portal_announcement" version="1800"><![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} - {$lang->forum} <a href="{$mybb->settings['bburl']}/{$announcement['forumlink']}">{$announcement['forumname']}</a> {$numcomments}</span>
</td>
</tr>
<tr>
<td class="trow1">
<table border="0" cellpadding="{$theme['tablespace']}" class="tfixed" style="width: 100%;">
	<tr>
		{$avatar}
		<td class="trow1 scaleimages">
			<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.png" alt="{$lang->print_this_item}" title="{$lang->print_this_item}" /></a>{$senditem}
			</span>
		</td>
	</tr>
</table>
</td>
</tr>
</table>
<br />]]></template>
		<template name="portal_announcement_avatar" version="1800"><![CDATA[<td class="trow1" style="text-align: center; vertical-align: top;" {$useravatar['width_height']}><img src="{$useravatar['image']}" alt="" {$useravatar['width_height']} /></td>]]></template>
		<template name="portal_announcement_icon" version="1800"><![CDATA[<img src="{$icon['path']}" alt="{$icon['name']}" title="{$icon['name']}" />]]></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_numcomments_no" version="120"><![CDATA[- {$lang->no_replies}]]></template>
		<template name="portal_announcement_send_item" version="1800"><![CDATA[&nbsp;<a href="{$mybb->settings['bburl']}/sendthread.php?tid={$announcement['tid']}"><img src="{$theme['imgdir']}/send.png" alt="{$lang->send_to_friend}" title="{$lang->send_to_friend}" /></a>]]></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_latestthreads_thread" version="1812"><![CDATA[<tr>
<td class="{$altbg}">
<strong><a href="{$mybb->settings['bburl']}/{$thread['threadlink']}" title="{$thread['fullsubject']}">{$thread['subject']}</a></strong>
<span class="smalltext"><br />
{$lang->forum} <a href="{$thread['forumlink']}">{$thread['forumname']}</a><br />
<a href="{$thread['lastpostlink']}">{$lang->latest_threads_lastpost}</a> {$lastposterlink}<br />
{$lastpostdate}<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="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_search" version="1822"><![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 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 portal_search" 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_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_stats_nobody" version="1808"><![CDATA[<strong>{$lang->nobody}</strong>]]></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_welcome_guesttext" version="1817"><![CDATA[<span class="smalltext">{$lang->guest_welcome_registration}</span><br />
<br />
<form method="post" action="{$mybb->settings['bburl']}/member.php"><input type="hidden" name="action" value="do_login" /><input type="hidden" name="url" value="{$portal_url}" />
{$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}" /><input name="my_post_key" type="hidden" value="{$mybb->post_code}" /></form>]]></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_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_whosonline_memberbit" version="1818"><![CDATA[<a href="{$mybb->settings['bburl']}/{$user['profilelink']}">{$user['username']}</a>{$invisiblemark}]]></template>
		<template name="post_attachments" version="1823"><![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} {$lang->attach_usage} {$link_viewattachments}</td>
</tr>
{$newattach}
{$attachments}
</table>]]></template>
		<template name="post_attachments_add" version="1614"><![CDATA[<input type="submit" class="button" name="newattachment" value="{$lang->add_attachment}" tabindex="13" />]]></template>
		<template name="post_attachments_viewlink" version="1816"><![CDATA[<a href="usercp.php?action=attachments">{$lang->view_attachments}</a>]]></template>
		<template name="post_attachments_attachment" version="1827"><![CDATA[<tr id="attachment_{$attachment['aid']}">
<td class="trow2" width="1" align="center">{$attachment['icon']}</td>
<td class="trow2" width="60%" style="white-space: nowrap"><span class="attachment_filename">{$attachment['filename']}</span> ({$attachment['size']})</td>
<td class="trow2" style="white-space: nowrap; text-align: center;">{$attach_mod_options} {$attach_rem_options} {$postinsert}</td>
</tr>]]></template>
		<template name="post_attachments_attachment_mod_approve" version="1823"><![CDATA[<input type="submit" class="button" name="approveattach_{$attachment['aid']}" value="{$lang->approve_attachment}" onclick="return Post.attachmentAction({$attachment['aid']},'approve');" />]]></template>
		<template name="post_attachments_attachment_mod_unapprove" version="1823"><![CDATA[<input type="submit" class="button" name="unapproveattach_{$attachment['aid']}" value="{$lang->unapprove_attachment}" onclick="return Post.attachmentAction({$attachment['aid']},'unapprove');" />]]></template>
		<template name="post_attachments_attachment_postinsert" version="1809"><![CDATA[<input type="button" class="button" name="insert" value="{$lang->insert_attachment_post}" onclick="$('#message').sceditor('instance').insertText('[attachment={$attachment['aid']}]'); return false;" />]]></template>
		<template name="post_attachments_attachment_remove" version="1823"><![CDATA[<input type="submit" class="button" name="rem_{$attachment['aid']}" value="{$lang->remove_attachment}" onclick="return Post.removeAttachment({$attachment['aid']});" />]]></template>
		<template name="post_attachments_attachment_unapproved" version="1823"><![CDATA[<tr id="attachment_{$attachment['aid']}">
<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} {$attach_rem_options} {$postinsert}</td>
</tr>]]></template>
		<template name="post_attachments_new" version="1828"><![CDATA[<tr>
<td class="trow1" width="1"><img src="{$theme['imgdir']}/paperclip.png" alt="" /></td>
<td class="trow1" style="white-space: nowrap"><strong>{$lang->new_attachment}</strong> <input type="file" name="attachments[]" size="30" class="fileupload" multiple="multiple" /></td>
<td class="trow1" style="white-space: nowrap" align="center">{$attach_update_options} {$attach_add_options}</td>
</tr>
<tr style="display: none;">
	<td class="trow1" colspan="3">
		<div id="upload_bar" style="background: #0066A2; height: 5px; width: 0%;"></div>
		<div id="dropzone" style="padding: 50px 0; margin: 5px 10px 10px; cursor: pointer; border: 2px dashed #CCC; text-align: center;">
			<div style="pointer-events: none;"></div>
		</div>
	</td>
</tr>]]></template>
		<template name="post_attachments_update" version="1604"><![CDATA[<input type="submit" class="button" name="updateattachment" value="{$lang->update_attachment}" tabindex="12" />]]></template>
		<template name="post_captcha" version="1821"><![CDATA[<tr id="captcha_trow">
<td class="trow1" valign="top" width="350"><strong>{$lang->image_verification}</strong>
<br />
<span class="smalltext">{$lang->verification_note}</span>
</td>
<td class="trow1">
<script type="text/javascript">
<!--
	lang.captcha_fetch_failure = "{$lang->captcha_fetch_failure}";
// -->
</script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/captcha.js?ver=1821"></script>
<table style="width: 300px; padding: 4px;">
	<tr>
		<td style="vertical-align: middle;"><img src="{$mybb->settings['bburl']}/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>
		</td>
	</tr>
	<tr>
		<td>
		<input type="text" class="textbox" name="imagestring" value="" id="imagestring" size="16" /><input type="hidden" name="imagehash" value="{$imagehash}" id="imagehash" />
		<script type="text/javascript">
		<!--
			if(use_xmlhttprequest == "1")
			{
				document.write('<input type="button" class="button" name="refresh" value="{$lang->refresh}" onclick="return captcha.refresh();" \/>');
			}
		// -->
		</script>
		</td>
	</tr>
</table>
</td>
</tr>]]></template>
		<template name="post_captcha_hidden" version="1605"><![CDATA[<input type="hidden" name="{$hash}" value="{$field['hash']}" />
<input type="hidden" name="{$string}" value="{$field['string']}" />]]></template>
		<template name="post_captcha_recaptcha_invisible" version="1821"><![CDATA[<br />
<script src="{$server}?onload=captchaOnloadCallback&render=explicit" async defer></script>
<script type="text/javascript">

	var captchaTarget = '';

	var captchaOnSubmit = function(token) {

		if (!captchaTarget.is('#quick_reply_submit')) {
			document.createElement('form').submit.apply(captchaTarget.closest('form')[0]);
		}
		else {
			captchaTarget.on('click', function(e) {
				return Thread.quickReply(e);
			}).trigger('click').off('click');
			grecaptcha.reset();
		}

	};

	var captchaOnloadCallback = function() {

		captchaTarget = $('input[name="submit"], #quick_reply_submit').filter(function(){
			return $(this).closest('#quick_login').length == 0
		});

		captchaTarget.attr('data-size', 'invisible').unbind('click');

		grecaptcha.render(captchaTarget.get(0), {
				'sitekey': '{$public_key}',
				'callback': captchaOnSubmit
			}, true);

	}

</script>]]></template>
		<template name="post_captcha_nocaptcha" version="1804"><![CDATA[<tr id="captcha_trow">
<td class="trow1" valign="top"><strong>{$lang->human_verification}</strong></td>
<td class="trow1">
<table style="width: 300px; padding: 4px;">
	<tr>
		<td><span class="smalltext">{$lang->verification_note_nocaptcha}</span></td>
	</tr>
	<tr>
		<td><script type="text/javascript" src="{$server}"></script><div class="g-recaptcha" data-sitekey="{$public_key}"></div></td>
	</tr>
</table>
</td>
</tr>]]></template>
		<template name="post_captcha_hcaptcha_invisible" version="1823"><![CDATA[<br />
<script src="{$server}?onload=captchaOnloadCallback&render=explicit" async defer></script>
<script type="text/javascript">

	var captchaTarget = '';

	var captchaOnSubmit = function(token) {

		if (!captchaTarget.is('#quick_reply_submit')) {
			document.createElement('form').submit.apply(captchaTarget.closest('form')[0]);
		}
		else {
			captchaTarget.on('click', function(e) {
				return Thread.quickReply(e);
			}).trigger('click').off('click');
			hcaptcha.remove();
		}

	};

	var captchaOnloadCallback = function() {

		captchaTarget = $('input[name="submit"], #quick_reply_submit').filter(function(){
			return $(this).closest('#quick_login').length == 0
		});

		captchaTarget.attr('data-size', 'invisible').unbind('click');

		hcaptcha.render(captchaTarget.get(0), {
				'sitekey': '{$public_key}',
				'callback': captchaOnSubmit
			}, true);

	}

</script>]]></template>
	<template name="post_captcha_hcaptcha" version="1823"><![CDATA[<tr id="captcha_trow">
<td class="trow1" valign="top"><strong>{$lang->human_verification}</strong></td>
<td class="trow1">
<table style="width: 300px; padding: 4px;">
	<tr>
		<td><span class="smalltext">{$lang->verification_note_hcaptcha}</span></td>
	</tr>
	<tr>
		<td><script type="text/javascript" src="{$server}"></script><div class="h-captcha" data-sitekey="{$public_key}" data-theme="{$captcha_theme}" data-size="{$captcha_size}"></div></td>
	</tr>
</table>
</td>
</tr>]]></template>
		<template name="post_javascript" version="1832"><![CDATA[
			<script type="text/javascript">
				lang.add_attachment = "{$lang->add_attachment}";
				lang.update_attachment = "{$lang->update_attachment}";
				lang.update_confirm = "{$lang->update_confirm}";
				lang.attachment_missing = "{$lang->attachment_missing}";
				lang.attachment_too_many_files = "{$lang->attachment_too_many_files}";
				lang.attachment_too_big_upload = "{$lang->attachment_too_big_upload}";
				lang.attachment_max_allowed_files = "{$lang->attachment_max_allowed_files}";
				lang.error_maxattachpost = "{$lang->error_maxattachpost}";
				lang.drop_files = "{$lang->drop_files}";
				lang.upload_initiate = "{$lang->upload_initiate}";
				php_max_upload_size = {$php_max_upload_size};
				php_max_file_uploads = {$php_max_file_uploads};
				mybb_max_file_uploads = {$mybb->settings['maxattachments']};
			</script>
			<script type="text/javascript" src="{$mybb->asset_url}/jscripts/post.js?ver=1832"></script>
			]]></template>
		<template name="post_prefixselect_multiple" version="1800"><![CDATA[<select name="threadprefix[]" multiple="multiple" size="5">
<option value="any"{$any_selected}>{$lang->any_prefix}</option>
<option value="0"{$default_selected}>{$lang->no_prefix}</option>
{$prefixselect_prefix}
</select>]]></template>
		<template name="post_prefixselect_prefix" version="1800"><![CDATA[<option value="{$prefix['pid']}"{$selected}>{$prefix['prefix']}</option>]]></template>
		<template name="post_prefixselect_single" version="1800"><![CDATA[<select name="threadprefix">
<option value="0"{$default_selected}>{$lang->no_prefix}</option>
{$prefixselect_prefix}
</select>]]></template>
		<template name="post_savedraftbutton" version="120"><![CDATA[&nbsp;<input type="submit" class="button" name="savedraft" value="{$lang->save_draft}" />]]></template>
		<template name="post_subscription_method" version="1819"><![CDATA[<tr>
<td class="{$bgcolor}" valign="top"><strong>{$lang->thread_subscription_method}</strong><br />
<span class="smalltext">{$lang->thread_subscription_method_desc}</span></td>
<td class="{$bgcolor} smalltext">
	<label><input type="radio" name="postoptions[subscriptionmethod]" {$subscribe}value="" style="vertical-align: middle;" /> {$lang->no_subscribe}</label><br />
	<label><input type="radio" name="postoptions[subscriptionmethod]" {$nonesubscribe}value="none" style="vertical-align: middle;" /> {$lang->no_subscribe_notification}</label><br />
	<label><input type="radio" name="postoptions[subscriptionmethod]" {$emailsubscribe}value="email" style="vertical-align: middle;" /> {$lang->instant_email_subscribe}</label><br />
	<label><input type="radio" name="postoptions[subscriptionmethod]" {$pmsubscribe}value="pm" style="vertical-align: middle;" /> {$lang->instant_pm_subscribe}</label><br />
</td>
</tr>]]></template>
		<template name="postbit" version="1813"><![CDATA[{$ignore_bit}{$deleted_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author">
	{$post['useravatar']}
	<div class="author_information">
			<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
			<span class="smalltext">
				{$post['usertitle']}<br />
				{$post['userstars']}
				{$post['groupimage']}
			</span>
	</div>
	<div class="author_statistics">
		{$post['user_details']}
	</div>
</div>
<div class="post_content">
	<div class="post_head">
		{$post['posturl']}
		{$post['icon']}
		<span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
		{$post['subject_extra']}
	</div>
	<div class="post_body scaleimages" id="pid_{$post['pid']}">
		{$post['message']}
	</div>
	{$post['attachments']}
	{$post['signature']}
	<div class="post_meta" id="post_meta_{$post['pid']}">
		{$post['iplogged']}
		<div class="float_right">
			{$post['poststatus']}
		</div>
	</div>
	{$post['input_editreason']}
</div>
<div class="post_controls">
	<div class="postbit_buttons author_buttons float_left">
		{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
	</div>
	<div class="postbit_buttons post_management_buttons float_right">
		{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
	</div>
</div>
</div>]]></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="1800"><![CDATA[<br />{$attachment['icon']}&nbsp;&nbsp;<a href="attachment.php?aid={$attachment['aid']}" target="_blank" title="{$attachdate}">{$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="postbit_attachments_images_image" version="1805"><![CDATA[<img src="attachment.php?aid={$attachment['aid']}" class="attachment" alt="" title="{$lang->postbit_attachment_filename} {$attachment['filename']}&#13;{$lang->postbit_attachment_size} {$attachment['filesize']}&#13;{$attachdate}" />&nbsp;&nbsp;&nbsp;]]></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="postbit_attachments_thumbnails_thumbnail" version="1805"><![CDATA[<a href="attachment.php?aid={$attachment['aid']}" target="_blank"><img src="attachment.php?thumbnail={$attachment['aid']}" class="attachment" alt="" title="{$lang->postbit_attachment_filename} {$attachment['filename']}&#13;{$lang->postbit_attachment_size} {$attachment['filesize']}&#13;{$attachdate}" /></a>&nbsp;&nbsp;&nbsp;]]></template>
		<template name="postbit_author_guest" version="120"><![CDATA[&nbsp;]]></template>
		<template name="postbit_author_user" version="1800"><![CDATA[
	{$lang->postbit_posts} {$post['postnum']}<br />
	{$lang->postbit_threads} {$post['threadnum']}<br />
	{$lang->postbit_joined} {$post['userregdate']}
	{$post['replink']}{$post['profilefield']}{$post['warninglevel']}]]></template>
		<template name="postbit_avatar" version="1800"><![CDATA[<div class="author_avatar"><a href="{$post['profilelink_plain']}"><img src="{$useravatar['image']}" alt="" {$useravatar['width_height']} /></a></div>]]></template>
		<template name="postbit_away" version="1800"><![CDATA[<a href="{$post['profilelink_plain']}" title="{$lang->postbit_status_away}"><img src="{$theme['imgdir']}/buddy_away.png" border="0" alt="{$lang->postbit_status_away}" class="buddy_status" /></a>]]></template>
		<template name="postbit_classic" version="1813"><![CDATA[{$ignore_bit}{$deleted_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author scaleimages">
	{$post['useravatar']}
	<div class="author_information">
			<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
			<span class="smalltext">
				{$post['usertitle']}<br />
				{$post['userstars']}
				{$post['groupimage']}
			</span>
	</div>
	<div class="author_statistics">
		{$post['user_details']}
	</div>
</div>
<div class="post_content">
	<div class="post_head">
		{$post['posturl']}
		{$post['icon']}
		<span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
	{$post['subject_extra']}
	</div>
	<div class="post_body scaleimages" id="pid_{$post['pid']}">
		{$post['message']}
	</div>
	{$post['attachments']}
	{$post['signature']}
	<div class="post_meta" id="post_meta_{$post['pid']}">
		{$post['iplogged']}
		<div class="float_right">
			{$post['poststatus']}
		</div>
	</div>
	{$post['input_editreason']}
</div>
<div class="post_controls">
	<div class="postbit_buttons author_buttons float_left">
		{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
	</div>
	<div class="postbit_buttons post_management_buttons float_right">
		{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
	</div>
</div>
</div>]]></template>
		<template name="postbit_delete_pm" version="1800"><![CDATA[<a href="private.php?action=delete&amp;pmid={$id}&amp;my_post_key={$mybb->post_code}" title="{$lang->delete_title}" class="postbit_delete_pm"><span>{$lang->postbit_button_delete_pm}</span></a>]]></template>
		<template name="postbit_deleted" version="1809"><![CDATA[<div class="deleted_post_collapsed" id="deleted_post_{$post['pid']}">
	<div class="deleted_post_author"><strong><span class="largetext">{$post['profilelink']}</span></strong></div>
	<div class="deleted_post_message">
		<div class="show_deleted_post float_right" style="vertical-align: top;" id="show_deleted_link_{$post['pid']}"><a href="javascript:void(0)" onclick="Thread.showDeletedPost({$post['pid']}); return false;" class="button small_button"><span>{$lang->postbit_show_ignored_post}</span></a></div>
<script type="text/javascript">
<!--
	$('#show_deleted_link_{$post['pid']}').show();
// -->
</script>
		{$deleted_message}
	</div>
</div>]]></template>
		<template name="postbit_deleted_member" version="1813"><![CDATA[<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post deleted_post_hidden" id="post_{$post['pid']}">
	<div class="deleted_post_author"><strong><span class="largetext">{$post['profilelink']}</span></strong></div>
	<div class="post_content">
		<em>{$lang->postbit_post_deleted}</em>
	</div>
</div>]]></template>
		<template name="postbit_edit" version="1818"><![CDATA[<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}" title="{$lang->postbit_edit}" class="postbit_edit postbit_mirage"><span>{$lang->postbit_button_edit}</span></a>
<div id="edit_post_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="javascript:void(0)" class="popup_item quick_edit_button" id="quick_edit_post_{$post['pid']}">{$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")
	{
		$("#edit_post_{$post['pid']}").popupMenu();
	}
// -->
</script>]]></template>
		<template name="postbit_editedby" version="1800"><![CDATA[<span class="edited_post">({$post['editnote']} {$post['editedprofilelink']}.{$editreason})</span>]]></template>
		<template name="postbit_editedby_editreason" version="1800"><![CDATA[ <em>{$lang->postbit_editreason}: {$post['editreason']}</em>]]></template>
		<template name="postbit_editreason" version="1813"><![CDATA[<div class="editreason" id="editreason_{$post['pid']}_original" style="display: none;"><label for="editreason">{$lang->postbit_editreason}:</label> <input type="text" class="textbox" style="margin: 6px 0;" name="editreason" size="40" maxlength="150" id="quickedit_{$post['pid']}_editreason_original" value="{$post['editreason']}" /><br /></div>]]></template>
		<template name="postbit_email" version="1800"><![CDATA[<a href="member.php?action=emailuser&amp;uid={$post['uid']}" title="{$lang->postbit_email}" class="postbit_email"><span>{$lang->postbit_button_email}</span></a>]]></template>
		<template name="postbit_find" version="1800"><![CDATA[<a href="search.php?action=finduser&amp;uid={$post['uid']}" title="{$lang->postbit_find}" class="postbit_find"><span>{$lang->postbit_button_find}</span></a>]]></template>
		<template name="postbit_forward_pm" version="1800"><![CDATA[<a href="private.php?action=send&amp;pmid={$id}&amp;do=forward" title="{$lang->forward_title}" class="postbit_forward_pm"><span>{$lang->postbit_button_forward}</span></a>]]></template>
		<template name="postbit_purgespammer" version="1800"><![CDATA[<a href="moderation.php?action=purgespammer&amp;uid={$post['uid']}" title="{$lang->postbit_purgespammer}" class="postbit_purgespammer"><span>{$lang->postbit_button_purgespammer}</span></a>]]></template>
		<template name="postbit_gotopost" version="1804"><![CDATA[ <a href="{$url}" class="quick_jump"></a>]]></template>
		<template name="postbit_groupimage" version="120"><![CDATA[<img src="{$usergroup['image']}" alt="{$usergroup['title']}" title="{$usergroup['title']}" />]]></template>
		<template name="postbit_icon" version="1800"><![CDATA[<img src="{$icon['path']}" alt="{$icon['name']}" title="{$icon['name']}" style="vertical-align: middle;" />&nbsp;]]></template>
		<template name="postbit_ignored" version="1809"><![CDATA[<div class="ignored_post" id="ignored_post_{$post['pid']}">
	<div class="ignored_post_author"><strong><span class="largetext">{$post['profilelink']}</span></strong></div>
	<div class="ignored_post_message">
		<div class="show_ignored_post float_right" style="vertical-align: top;" id="show_ignored_link_{$post['pid']}"><a href="javascript:void(0)" onclick="Thread.showIgnoredPost({$post['pid']}); return false;" class="button small_button"><span>{$lang->postbit_show_ignored_post}</span></a></div>
<script type="text/javascript">
<!--
	$('#show_ignored_link_{$post['pid']}').show();
// -->
</script>
		{$ignored_message}
	</div>
</div>]]></template>
		<template name="postbit_inlinecheck" version="1800"><![CDATA[<input type="checkbox" class="checkbox" name="inlinemod_{$post['pid']}" id="inlinemod_{$post['pid']}" value="1" style="vertical-align: middle; margin: -2px 0 0 5px;" {$inlinecheck}  />]]></template>
		<template name="postbit_iplogged_hiden" version="1815"><![CDATA[{$lang->postbit_ipaddress} <a href="moderation.php?action={$action}&amp;{$idtype}={$post[$idtype]}" onclick="MyBB.{$javascript}({$post[$idtype]}); return false;">{$lang->postbit_ipaddress_logged}</a>]]></template>
		<template name="postbit_iplogged_show" version="1800"><![CDATA[{$lang->postbit_ipaddress} {$ipaddress}]]></template>
		<template name="postbit_multiquote" version="1818"><![CDATA[<a href="javascript:void(0)" onclick="Thread.multiQuote({$post['pid']}); return false;" style="display: none;" id="multiquote_link_{$post['pid']}" title="{$lang->postbit_multiquote}" class="postbit_multiquote postbit_mirage"><span id="multiquote_{$post['pid']}">{$lang->postbit_button_multiquote}</span></a>
<script type="text/javascript">
//<!--
	$('#multiquote_link_{$post['pid']}').css("display", "");
// -->
</script>]]></template>
		<template name="postbit_offline" version="1800"><![CDATA[<img src="{$theme['imgdir']}/buddy_offline.png" title="{$lang->postbit_status_offline}" alt="{$lang->postbit_status_offline}" class="buddy_status" />]]></template>
		<template name="postbit_online" version="1800"><![CDATA[<a href="online.php" title="{$lang->postbit_status_online}"><img src="{$theme['imgdir']}/buddy_online.png" border="0" alt="{$lang->postbit_status_online}" class="buddy_status" /></a>]]></template>
		<template name="postbit_pm" version="1800"><![CDATA[<a href="private.php?action=send&amp;uid={$post['uid']}" title="{$lang->postbit_pm}" class="postbit_pm"><span>{$lang->postbit_button_pm}</span></a>]]></template>
		<template name="postbit_posturl" version="1801"><![CDATA[<div class="float_right" style="vertical-align: top">
<strong><a href="{$post['postlink']}#pid{$post['pid']}" title="{$post['subject_title']}">#{$post_number}</a></strong>
{$post['inlinecheck']}
</div>]]></template>
		<template name="postbit_profilefield" version="1800"><![CDATA[<br />{$post['fieldname']}: {$post['fieldvalue']}]]></template>
		<template name="postbit_profilefield_multiselect" version="1800"><![CDATA[<ul style="margin: 0; padding-left: 15px;">
{$post['fieldvalue_option']}
</ul>]]></template>
		<template name="postbit_profilefield_multiselect_value" version="1800"><![CDATA[<li style="margin-left: 0;">{$val}</li>]]></template>
		<template name="postbit_quickdelete" version="1818"><![CDATA[<a href="editpost.php?pid={$post['pid']}" onclick="Thread.deletePost({$post['pid']}); return false;" id="quick_delete_{$post['pid']}" title="{$postbit_qdelete}" class="postbit_qdelete postbit_mirage"><span>{$lang->postbit_button_qdelete}</span></a>]]></template>
		<template name="postbit_quickrestore" version="1818"><![CDATA[<a href="editpost.php?pid={$post['pid']}" onclick="Thread.restorePost({$post['pid']}); return false;" id="quick_restore_{$post['pid']}" title="{$postbit_qrestore}" class="postbit_qrestore"><span>{$lang->postbit_button_qrestore}</span></a>]]></template>
		<template name="postbit_quote" version="1818"><![CDATA[<a href="newreply.php?tid={$tid}&amp;replyto={$post['pid']}" title="{$lang->postbit_quote}" class="postbit_quote postbit_mirage"><span>{$lang->postbit_button_quote}</span></a>]]></template>
		<template name="postbit_rep_button" version="1809"><![CDATA[<a href="javascript:void(0)" onclick="MyBB.reputation({$post['uid']},{$post['pid']}); return false;" title="{$lang->postbit_reputation_add}" class="postbit_reputation_add"><span>{$lang->postbit_button_reputation_add}</span></a>]]></template>
		<template name="postbit_reply_pm" version="1800"><![CDATA[<a href="private.php?action=send&amp;pmid={$id}&amp;do=reply" title="{$lang->reply_title}" class="postbit_reply_pm"><span>{$lang->postbit_button_reply_pm}</span></a>]]></template>
		<template name="postbit_replyall_pm" version="1480"><![CDATA[<a href="private.php?action=send&amp;pmid={$id}&amp;do=replyall" title="{$lang->reply_to_all}" class="postbit_reply_all"><span>{$lang->postbit_button_reply_all}</span></a>]]></template>
		<template name="postbit_report" version="1809"><![CDATA[<a href="javascript:void(0)" onclick="Report.reportPost({$post['pid']}); return false;" title="{$lang->postbit_report}" class="postbit_report"><span>{$lang->postbit_button_report}</span></a>]]></template>
		<template name="postbit_reputation" version="1400"><![CDATA[<br />{$lang->postbit_reputation} {$post['userreputation']}]]></template>
		<template name="postbit_reputation_formatted" version="1800"><![CDATA[<strong class="{$reputation_class}">{$reputation}</strong>]]></template>
		<template name="postbit_reputation_formatted_link" version="1800"><![CDATA[<a href="reputation.php?uid={$uid}"><strong class="{$reputation_class}">{$reputation}</strong></a>]]></template>
		<template name="postbit_signature" version="1800"><![CDATA[<div class="signature scaleimages">
{$post['signature']}
</div>]]></template>
		<template name="postbit_status" version="1813"><![CDATA[<span class="status_type">{$status_type}</span>]]></template>
		<template name="postbit_userstar" version="1800"><![CDATA[<img src="{$post['starimage']}" border="0" alt="*" />]]></template>
		<template name="postbit_warn" version="1800"><![CDATA[<a href="warnings.php?action=warn&amp;uid={$post['uid']}&amp;pid={$post['pid']}" title="{$lang->postbit_warn}" class="postbit_warn"><span>{$lang->postbit_button_warn}</span></a>]]></template>
		<template name="postbit_warninglevel" version="1400"><![CDATA[<br />{$lang->postbit_warning_level} <a href="{$warning_link}">{$warning_level}</a>]]></template>
		<template name="postbit_warninglevel_formatted" version="1800"><![CDATA[<span class="{$warning_class}">{$level}%</span>]]></template>
		<template name="postbit_www" version="1813"><![CDATA[<a href="{$post['website']}" target="_blank" rel="noopener" title="{$lang->postbit_website}" class="postbit_website"><span>{$lang->postbit_button_website}</span></a>]]></template>
		<template name="posticons" version="1800"><![CDATA[<tr>
<td class="trow1" style="vertical-align: top"><strong>{$lang->post_icon}</strong><span class="smalltext"><label class="posticons_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="posticons_icon" version="1800"><![CDATA[<label class="posticons_label"><input type="radio" name="icon" value="{$dbicon['iid']}"{$checked} /> <img src="{$dbicon['path']}" alt="{$dbicon['name']}" title="{$dbicon['name']}" /></label>]]></template>
		<template name="printthread" version="1813"><![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; }
img { max-width: 100%; height: auto; }
</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="printthread_multipage" version="1839"><![CDATA[<div class="multipage">{$lang->pages} {$mppage}</div>]]></template>
		<template name="printthread_multipage_page" version="1800"><![CDATA[<a href="{$url}&amp;page={$page}">{$page}</a>]]></template>
		<template name="printthread_multipage_page_current" version="1800"><![CDATA[<strong>{$page}</strong>]]></template>
		<template name="printthread_nav" version="1808"><![CDATA[+{$depth} {$lang->forum} {$forumnav['name']} (<i>{$mybb->settings['bburl']}/{$forumnav['link']}</i>)<br />]]></template>
		<template name="printthread_post" version="1800"><![CDATA[<strong>{$postrow['subject']}</strong> - {$postrow['profilelink']} -  <strong>{$postrow['date']}</strong>
<br />
<br />
{$postrow['message']}
<br />
<br />
<hr size="1" />]]></template>
		<template name="private" version="1820"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->private_messaging}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<fieldset>
  {$pmspacebar}<span class="smalltext"><a href="private.php">{$lang->inbox}</a>{$composelink} | <a  href="private.php?action=folders">{$lang->manage_folders}</a>{$emptyexportlink}</span>
</fieldset>
<br />
{$limitwarning}
<form action="private.php" method="post" name="pmForm">
<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="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>{$foldername}</strong></td>
</tr>
<tr>
<td class="tcat" align="center" colspan="3"><span class="smalltext"><strong><a href="private.php?fid={$fid}&amp;sortby=subject&amp;order=asc">{$lang->message_title}</a> {$orderarrow['subject']}</strong></span></td>
<td class="tcat" align="center" width="30%" style="white-space: nowrap"><span class="smalltext"><strong><a href="private.php?fid={$fid}&amp;sortby=username&amp;order=asc">{$sender}</a> {$orderarrow['username']}</strong></span></td>
<td class="tcat" align="right"  width="20%" style="white-space: nowrap"><span class="smalltext"><strong><a href="private.php?fid={$fid}&amp;sortby=dateline&amp;order=desc">{$lang->date_sent}</a> {$orderarrow['dateline']}</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_right">
<span class="smalltext">
<strong>{$lang->jump_folder} {$folderjump}
<input type="submit" class="button" name="hop" value="{$lang->go}" />
</strong>
</span>
</div>
<input type="hidden" name="action" value="do_stuff" />
</form>
<div class="float_left">{$multipage}</div>
</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="private_advanced_search" version="1823"><![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="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" 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="sender">{$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="sortordr" id="order_asc" value="asc" /> <label for="order_asc">{$lang->ascending_order}</label><br />
				<input type="radio" class="radio" name="sortordr" 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}" class="button" /></div>
</td>
</tr>
</table>
</form>
{$footer}
<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>
<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")
{
	MyBB.select2();
	$("#sender").select2({
		placeholder: "{$lang->search_user}",
		minimumInputLength: 2,
		multiple: false,
		allowClear: true,
		ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
			url: "xmlhttp.php?action=get_users",
			dataType: 'json',
			data: function (term, page) {
				return {
					query: term, // search term
				};
			},
			results: function (data, page) { // parse the results into the format expected by Select2.
				// since we are using custom formatting functions we do not need to alter remote JSON data
				return {results: data};
			}
		},
		initSelection: function(element, callback) {
			var value = $(element).val();
			if (value !== "") {
				callback({
					id: value,
					text: value
				});
			}
		}
	});
}
// -->
</script>
</body>
</html>]]></template>
		<template name="private_advanced_search_folders" version="1800"><![CDATA[<select multiple="multiple" name="folder[]" id="folder">
<option selected="selected">{$lang->all_folders}</option>
{$foldersearch_folder}
</select>]]></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_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="private_archive_csv_message" version="1400"><![CDATA[{$senddate},"{$foldername}","{$message['subject']}","{$message['tousername']}","{$message['fromusername']}","{$message['message']}"
]]></template>
		<template name="private_archive_folders" version="1800"><![CDATA[<select name="exportfolders[]" multiple="multiple">
<option value="all" selected="selected">{$lang->all_folders}</option>
{$folderlist_folder}
</select>]]></template>
		<template name="private_archive_folders_folder" version="1800"><![CDATA[<option value="{$folder_id}">{$folder_name}</option>]]></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_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="1801"><![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"> </td>
</tr>]]></template>
		<template name="private_archive_txt" version="120"><![CDATA[{$lang->private_messages_for}
({$lang->exported_date})

{$pmsdownload}]]></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_composelink" version="1800"><![CDATA[ | <a href="private.php?action=send">{$lang->compose_message2}</a>]]></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="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="private_emptyexportlink" version="1800"><![CDATA[ | <a href="private.php?action=empty">{$lang->empty_folders2}</a> | <a href="private.php?action=export">{$lang->export_messages2}</a>]]></template>
		<template name="private_folders" version="1800"><![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}
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<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="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="private_jump_folders" version="1800"><![CDATA[<select name="jumpto">
{$folderjump_folder}
</select>]]></template>
		<template name="private_jump_folders_folder" version="1800"><![CDATA[<option value="{$folder_id}"{$sel}>{$folder_name}</option>]]></template>
		<template name="private_limitwarning" version="1800"><![CDATA[<div class="red_alert">
	<strong>{$lang->reached_warning}</strong><br />
	{$lang->reached_warning2}
</div>]]></template>
		<template name="private_messagebit" version="1827"><![CDATA[<tr>
	<td class="{$bgcolor}" align="center" width="2%"><img src="{$theme['imgdir']}/{$msgstatus}.png" alt="{$msgalt}" title="{$msgalt}" /></td>
	<td class="{$bgcolor}" align="center" width="2%">{$icon}</td>
	<td class="{$bgcolor}" width="35%"><a class="{$msgstatus}" href="private.php?action=read&amp;pmid={$message['pmid']}">{$message['subject']}</a>{$denyreceipt}</td>
	<td class="{$bgcolor}" align="center">{$tofromusername}</td>
	<td class="{$bgcolor}" align="right" style="white-space: nowrap"><span class="smalltext">{$senddate}</span></td>
	<td class="{$bgcolor}" align="center" width="2%"><input type="checkbox" class="checkbox" name="check[{$message['pmid']}]" value="1" /></td>
</tr>]]></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_messagebit_icon" version="1800"><![CDATA[<img src="{$icon['path']}" alt="{$icon['name']}" title="{$icon['name']}" align="center" valign="middle" />]]></template>
		<template name="private_messagebit_sep" version="1801"><![CDATA[<tr>
<td class="tcat" align="center" colspan="6" height="1"> </td>
</tr>
    ]]></template>
		<template name="private_move" version="1816"><![CDATA[<input type="hidden" value="{$from_fid}" name="fromfid" />
<select name="fid">
{$folderoplist_folder}
</select>]]></template>
		<template name="private_multiple_recipients" version="1800"><![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">
<!--
	$("#private_message_{$message['pmid']}").popupMenu();
// -->
</script>]]></template>
		<template name="private_multiple_recipients_bcc" version="1400"><![CDATA[<div class="tcat"><strong>{$lang->bcc}</strong></div>]]></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_nomessages" version="120"><![CDATA[<tr>
<td colspan="6" class="trow1">{$lang->nomessages}</td>
</tr>]]></template>
		<template name="private_orderarrow" version="1820"><![CDATA[<span class="smalltext">[<a href="private.php?fid={$fid}&amp;sortby={$sortby}&amp;order={$oppsortnext}">{$oppsort}</a>]</span>]]></template>
		<template name="private_pmspace" version="1800"><![CDATA[<span class="pmspace">
  <span class="pmspace_container"><span class="pmspace_used {$spaceused_severity}" style="width: {$spaceused}px;"><span class="pmspace_text">{$overhalf}&nbsp;</span></span><span class="pmspace_unused" style="width: {$spaceused2}px;"><span class="pmspace_text">{$belowhalf}&nbsp;</span></span>
  </span>
  {$lang->pmspaceused}
</span>]]></template>
		<template name="private_quickreply" version="1827"><![CDATA[<br />
<form action="private.php" method="post" name="input">
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	<input type="hidden" name="to" value="{$to}" />
	<input type="hidden" name="bcc" value="{$bcc_form_val}" />
	<input type="hidden" name="subject" value="Re: {$subject}" />
	<input type="hidden" name="action" value="do_send" />
	<input type="hidden" name="pmid" value="{$pmid}" />
	<input type="hidden" name="do" value="reply" />
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<thead>
			<tr>
				<td class="thead{$collapsedthead['quickreply']}" colspan="2">
					<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['quickreply']}.png" id="quickreply_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
					<div><strong>{$lang->quick_reply}</strong></div>
				</td>
			</tr>
		</thead>
		<tbody style="{$collapsed['quickreply_e']}" id="quickreply_e">
			<tr>
              <td class="{$trow}" valign="top" width="22%">
					<strong>{$lang->message}</strong><br />
					<span class="smalltext">{$lang->message_note}<br /><br />
					<label><input type="checkbox" class="checkbox" name="options[signature]" value="1"{$optionschecked['signature']} />&nbsp;<strong>{$lang->quickreply_signature}</strong></label><br />
					<label><input type="checkbox" class="checkbox" name="options[disablesmilies]" value="1"{$optionschecked['disablesmilies']} />&nbsp;<strong>{$lang->quickreply_disable_smilies}</strong></label><br />
					<label><input type="checkbox" class="checkbox" name="options[savecopy]" value="1"{$optionschecked['savecopy']} />&nbsp;<strong>{$lang->quickreply_save_copy}</strong></label>{$private_send_tracking}</span>
				</td>
				<td class="{$trow}">
					<div style="width: 95%">
						<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1">{$quoted_message}</textarea>
					</div>
				</td>
			</tr>
			<tr>
				<td colspan="2" align="center" class="tfoot"><input type="submit" class="button" value="{$lang->send_message}" tabindex="2" accesskey="s" /> <input type="submit" class="button" name="preview" value="{$lang->preview}" tabindex="3" /></td>
			</tr>
		</tbody>
	</table>
</form>]]></template>
		<template name="private_read" version="1820"><![CDATA[<html>
<head>
<title>{$lang->viewing_pm} {$pm['subject']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td style="vertical-align: top;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed clear no_bottom_border">
<tr>
<td class="thead">
<strong>{$pm['subject']}</strong>
</td>
</tr>
{$action_time}
<tr><td id="posts_container">
<div id="posts">
{$message}
</div>
</td></tr>
</table>
{$quickreply}
</td>
</tr>
</table>
{$footer}
</body>
</html>]]></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_bcc" version="1400"><![CDATA[<br />{$lang->bcc} {$bcc_recipients}]]></template>
		<template name="private_read_to" version="1400"><![CDATA[<br />
{$lang->to} {$to_recipients}
{$bcc}]]></template>
		<template name="private_search_messagebit" version="1808"><![CDATA[<tr>
	<td align="center" class="trow1" width="1%"><img src="{$theme['imgdir']}/{$msgstatus}.png" alt="{$msgalt}" title="{$msgalt}" /></td>
	<td align="center" class="trow2" width="1%">{$icon}</td>
	<td class="trow1" width="35%"><a class="{$msgstatus}" href="private.php?action=read&amp;pmid={$message['pmid']}">{$message['subject']}</a>{$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}</span></td>
	<td class="trow1" align="center"><input type="checkbox" class="checkbox" name="check[{$message['pmid']}]" value="1" /></td>
</tr>]]></template>
		<template name="private_search_results" version="1813"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->private_messaging}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<form action="private.php" method="post" name="pmForm">
<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="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_right">
<span class="smalltext">
<strong>{$lang->jump_folder} {$folderjump}
<input type="submit" class="button" name="hop" value="{$lang->go}" />
</strong>
</span>
</div>
<input type="hidden" name="action" value="do_stuff" />
</form>
<div class="float_left">{$multipage}</div>
</td>
</tr>
</table>
{$footer}
</body>
</html>]]></template>
		<template name="private_search_results_nomessages" version="1600"><![CDATA[<tr>
<td colspan="7" class="trow1">{$lang->nomessages}</td>
</tr>]]></template>
		<template name="private_send" version="1827"><![CDATA[<html>
<head>
<title>{$lang->compose_pm}</title>
{$headerinclude}
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/usercp.js?ver=1827"></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="javascript:void(0)" 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" style="width: 450px;">{$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" style="width: 450px;">{$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>
{$private_send_tracking}
</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").length > 0 && $("#bcc").val() == "")
	{
		$("#bcc_area").css("display", "none");
	}

	function showBcc()
	{
		if($("#bcc_area").css("display") == 'none')
		{
			$("#bcc_area").css("display", "");
		}
		else
		{
			$("#bcc_area").css("display", "none");
		}
	}
// -->
</script>
{$autocompletejs}
</body>
</html>]]></template>
		<template name="private_send_autocomplete" version="1823"><![CDATA[<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>
<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")
{
	MyBB.select2();
	$("#to").select2({
		placeholder: "{$lang->search_user}",
		minimumInputLength: 2,
		maximumSelectionSize: function() {
			if ({$mybb->usergroup['maxpmrecipients']} == 0) {
				return 0;
			}
			return Math.max(1, {$mybb->usergroup['maxpmrecipients']} - $("#bcc").select2('data').length);
		},
		multiple: true,
		ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
			url: "xmlhttp.php?action=get_users",
			dataType: 'json',
			data: function (term, page) {
				return {
					query: term, // search term
				};
			},
			results: function (data, page) { // parse the results into the format expected by Select2.
				// since we are using custom formatting functions we do not need to alter remote JSON data
				return {results: data};
			}
		},
		initSelection: function(element, callback) {
			var query = $(element).val().replace(', ', ',');
			if (query !== "") {
				var newqueries = [];
				exp_queries = query.split(",");
				$.each(exp_queries, function(index, value ){
					if(value.replace(/\s/g, '') != "")
					{
						var newquery = {
							id: value.replace(/,\s?/g, ", "),
							text: value.replace(/,\s?/g, ", ")
						};
						newqueries.push(newquery);
					}
				});
				callback(newqueries);
			}
		}
	})
	.on("change", function(e) {
		if ({$mybb->usergroup['maxpmrecipients']} == 0)
		{
			return;
		}
		if (e.val.length >= {$mybb->usergroup['maxpmrecipients']})
		{
			$("#bcc").select2("enable", false);
		}
		else
		{
			$("#bcc").select2("enable", true);
		}
	});

	$("#bcc").select2({
		placeholder: "{$lang->search_user}",
		minimumInputLength: 2,
		maximumSelectionSize: function() {
			if ({$mybb->usergroup['maxpmrecipients']} == 0)
			{
				return 0;
			}
			return Math.max(1, {$mybb->usergroup['maxpmrecipients']} - $("#to").select2('data').length);
		},
		multiple: true,
		ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
			url: "xmlhttp.php?action=get_users",
			dataType: 'json',
			data: function (term, page) {
				return {
					query: term, // search term
				};
			},
			results: function (data, page) { // parse the results into the format expected by Select2.
				// since we are using custom formatting functions we do not need to alter remote JSON data
				return {results: data};
			}
		},
		initSelection: function(element, callback) {
			var query = $(element).val();
			if (query !== "") {
				var newqueries = [];
				exp_queries = query.split(",");
				$.each(exp_queries, function(index, value ){
					if(value.replace(/\s/g, '') != "")
					{
						var newquery = {
							id: value.replace(/,\s?/g, ", "),
							text: value.replace(/,\s?/g, ", ")
						};
						newqueries.push(newquery);
					}
				});
				callback(newqueries);
			}
		}
	})
	.on("change", function(e) {
		if ({$mybb->usergroup['maxpmrecipients']} == 0)
		{
			return;
		}
		if (e.val.length >= {$mybb->usergroup['maxpmrecipients']})
		{
			$("#to").select2("enable", false);
		}
		else
		{
			$("#to").select2("enable", true);
		}
	});
}
// -->
</script>]]></template>
		<template name="private_send_buddyselect" version="1809"><![CDATA[<script type="text/javascript"><!--
document.write('<br /><span class="smalltext"><a href="javascript:void(0)" onclick="UserCP.openBuddySelect(\'{$buddy_select}\'); return false;"><img src="{$theme['imgdir']}/buddies.png" alt="" style="vertical-align: middle;" alt="" title="{$lang->select_from_buddies}" /> {$lang->select_from_buddies}</a></span>');
// --></script>]]></template>
		<template name="private_send_tracking" version="1831"><![CDATA[<br /><label><input type="checkbox" class="checkbox" name="options[readreceipt]" value="1" tabindex="8" {$optionschecked['readreceipt']} />&nbsp;<strong>{$lang->options_read_receipt}</strong></label>]]></template>
		<template name="private_tracking" version="1800"><![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" name="allbox" /></span></td>
</tr>
{$readmessages}
{$stoptrackingread}
</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" name="allbox" /></span></td>
</tr>
{$unreadmessages}
{$stoptrackingunread}
</table>
</form>
</td></tr></table>
{$footer}
</body>
</html>]]></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="private_tracking_readmessage" version="1800"><![CDATA[<tr>
<td align="center" class="trow1" width="1%"><img src="{$theme['imgdir']}/old_pm.png" 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}</span></td>
<td class="trow1"><input type="checkbox" class="checkbox" name="readcheck[{$readmessage['pmid']}]" value="1" /></td>
</tr>]]></template>
		<template name="private_tracking_readmessage_stop" version="1800"><![CDATA[<tr>
<td class="tfoot" align="right" colspan="5"><strong><input type="submit" class="button" name="stoptracking" value="{$lang->stop_tracking}" /> {$lang->selected_messages} / <a href="private.php?action=stopalltracking&amp;my_post_key={$mybb->post_code}">{$lang->stop_tracking_all}</a></strong></td>
</tr>]]></template>
		<template name="private_tracking_unreadmessage" version="1800"><![CDATA[<tr>
<td align="center" class="trow1" width="1%"><img src="{$theme['imgdir']}/new_pm.png" 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}</span></td>
<td class="trow1"><input type="checkbox" class="checkbox" name="unreadcheck[{$unreadmessage['pmid']}]" value="1" /></td>
</tr>]]></template>
		<template name="private_tracking_unreadmessage_stop" version="1800"><![CDATA[<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->delete}" /> {$lang->selected_messages}</strong></td>
</tr>]]></template>
		<template name="modal" version="1827"><![CDATA[<div class="modal">
	<div style="overflow-y: auto; max-height: 400px;">
		<table border="0" cellspacing="0" cellpadding="5" class="tborder">
			<tr>
				<td class="thead"><strong>__title__</strong></td>
			</tr>
			<tr>
				<td class="trow1">__message__</td>
			</tr>
			<tr>
				<td class="tfoot">
					<div style="text-align: center" class="modal_buttons">__buttons__</div>
				</td>
			</tr>
		</table>
	</div>
</div>]]></template>
		<template name="modal_button" version="1820"><![CDATA[<input type="submit" class="button" value="__title__"/>&nbsp;]]></template>
		<template name="report" version="1821"><![CDATA[<div class="modal">
  <div style="overflow-y: auto; max-height: 400px;" class="modal_{$id}">
  <form action="report.php" method="post" class="reportData_{$id}" onsubmit="return Report.submitReport({$id});">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="do_report" />
<input type="hidden" name="type" value="{$report_type}" />
<input type="hidden" name="pid" value="{$id}" />
<input type="hidden" name="no_modal" value="1" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
	<td class="thead" colspan="2"><strong>{$report_title}</strong></td>
</tr>
<tr>
	<td class="tcat" colspan="2">{$lang->report_to_mod}</td>
</tr>
{$report_reasons}
</table>
</form>

<script type="text/javascript">
<!--
	if($("#report_reason option:selected").attr('data-extra') != 1)
	{
		$("#reason").hide();
	}

	$("#report_reason").on('change', function()
	{
		if($(this).find("option:selected").attr('data-extra') == 1)
		{
			$("#reason").show();
			return;
		}

		$("#reason").hide();
	});
// -->
</script>
</div>
</div>]]></template>
		<template name="report_duplicate" version="1800"><![CDATA[<tr>
	<td class="trow1">{$lang->error_report_duplicate}</td>
</tr>
<tr>
	<td class="tfoot"><input type="submit" class="button" value="{$report_title}" /></td>
</tr>]]></template>
		<template name="report_error" version="1800"><![CDATA[<tr>
	<td colspan="2" class="trow1">{$error}</td>
</tr>]]></template>
		<template name="report_error_nomodal" version="1807"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
	<td class="thead" colspan="2"><strong>{$report_title}</strong></td>
</tr>
<tr>
	<td class="tcat" colspan="2">{$lang->report_to_mod}</td>
</tr>
<tr>
	<td colspan="2" class="trow1">{$error}</td>
</tr>
</table>]]></template>
		<template name="report_reason" version="1808"><![CDATA[<option value="{$reason['rid']}" data-extra="{$reason['extra']}">{$reason['title']}</option>]]></template>
		<template name="report_reasons" version="1808"><![CDATA[<tr>
	<td class="trow1" align="left" style="width: 25%"><span class="smalltext"><strong>{$lang->report_reason}</strong></span></td>
	<td class="trow1" align="left">
		<select name="reason" id="report_reason">
			{$reasonslist}
		</select>
	</td>
</tr>
<tr id="reason">
	<td class="trow2">&nbsp;</td>
	<td class="trow2" align="left">
		<div>{$lang->report_reason_other_description}</div>
		<input type="text" class="textbox" name="comment" size="40" maxlength="250" />
	</td>
</tr>
<tr>
	<td colspan="2" class="tfoot"><input type="submit" class="button" value="{$report_title}" /></td>
</tr>]]></template>
		<template name="report_thanks" version="1800"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td class="thead"><strong>{$report_title}</strong></td>
	</tr>
	<tr>
		<td class="tcat">{$lang->report_to_mod}</td>
	</tr>
	<tr>
		<td class="trow1">{$lang->success_report_voted}</td>
	</tr>
</table>]]></template>
		<template name="reputation" version="1820"><![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>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1820"></script>
</head>
<body>
{$header}
{$add_reputation}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed clear">
<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}">{$rep_total}</span><br /><br />
					<strong>{$lang->reputation_members} {$rep_members}</strong><br />
					<strong>{$lang->reputation_posts} {$rep_posts}</strong>
				</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">{$f_positive_week}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$f_neutral_week}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$f_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">{$f_positive_month}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$f_neutral_month}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$f_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">{$f_positive_6months}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$f_neutral_6months}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$f_negative_6months}</span></td>
						</tr>
						<tr>
							<td style="text-align: right;"><span class="smalltext">{$lang->all_time}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$f_positive_count}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$f_neutral_count}</span></td>
							<td style="text-align: center;"><span class="smalltext">{$f_negative_count}</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="reputation_add" version="1816"><![CDATA[<div class="modal">
	<div style="overflow-y: auto; max-height: 400px;" class="modal_{$user['uid']}_{$reputation_pid}">
      <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" class="reputation_{$user['uid']}_{$reputation_pid}" onsubmit="return MyBB.submitReputation({$user['uid']}, {$reputation_pid});">
				<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="{$reputation_pid}" />
				<input type="hidden" name="rid" value="{$rid}" />
				<input type="hidden" name="nomodal" value="1" />
				<select name="reputation" id="reputation">
					{$positive_power}
					{$neutral_power}
					{$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>
  </div>
</div>]]></template>
		<template name="reputation_add_delete" version="1816"><![CDATA[<input type="button" class="button" name="delete" value="{$lang->delete_vote}" onclick="return MyBB.submitReputation({$user['uid']}, {$reputation_pid}, 1);" />]]></template>
		<template name="reputation_add_error" version="1800"><![CDATA[<div class="modal">
	<div style="overflow-y: auto; max-height: 400px;">
      <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>
		</td>
	</tr>
</table>
  </div>
</div>]]></template>
		<template name="reputation_add_error_nomodal" version="1800"><![CDATA[<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>
		</td>
	</tr>
</table>]]></template>
		<template name="reputation_add_negative" version="1809"><![CDATA[					<option value="{$neg_value}" class="reputation_negative" onclick="$('#reputation').attr('class', 'reputation_negative');"{$vote_check[$neg_value]}>{$negative_title}</option>]]></template>
		<template name="reputation_add_neutral" version="1809"><![CDATA[					<option value="0" class="reputation_neutral" onclick="$('#reputation').attr('class', 'reputation_neutral');"{$vote_check[0]}>{$lang->power_neutral}</option>]]></template>
		<template name="reputation_add_positive" version="1809"><![CDATA[					<option value="{$value}" class="reputation_positive" onclick="$('#reputation').attr('class', 'reputation_positive');"{$vote_check[$value]}>{$positive_title}</option>
{$positive_power}]]></template>
		<template name="reputation_added" version="1800"><![CDATA[<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>
		</td>
	</tr>
</table>]]></template>
		<template name="reputation_addlink" version="1809"><![CDATA[<div class="float_right" style="padding-bottom: 4px;"><a href="javascript:void(0)" onclick="MyBB.reputation({$user['uid']}); return false;" class="button rate_user_button"><span>{$lang->rate_user}</span></a></div>]]></template>
		<template name="reputation_deleted" version="1800"><![CDATA[
<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>
		</td>
	</tr>
</table>]]></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_vote" version="1800"><![CDATA[<tr>
	<td class="trow1 {$status_class}" id="rid{$reputation_vote['rid']}">
		{$report_link}{$delete_link}
		{$reputation_vote['username']} <span class="smalltext">{$reputation_vote['user_reputation']} - {$last_updated}<br />{$postrep_given}</span>
		<br />
		<strong class="{$vote_type_class}">{$vote_type} {$vote_reputation}:</strong> {$reputation_vote['comments']}
	</td>
</tr>]]></template>
		<template name="reputation_vote_delete" version="1800"><![CDATA[		<div class="float_right postbit_buttons">
			<a href="reputation.php?action=delete&amp;uid={$reputation_vote['rated_uid']}&amp;rid={$reputation_vote['rid']}&amp;my_post_key={$mybb->post_code}" onclick="MyBB.deleteReputation({$reputation_vote['rated_uid']}, {$reputation_vote['rid']}); return false;" class="postbit_qdelete"><span>{$lang->delete_vote}</span></a>
		</div>]]>
		</template>
		<template name="reputation_vote_report" version="1809"><![CDATA[		<div class="float_right postbit_buttons">
			<a href="javascript:void(0)" onclick="Report.reportReputation({$reputation_vote['rid']}); return false;" class="postbit_report"><span>{$lang->report_vote}</span></a>
		</div>]]>
		</template>
		<template name="search" version="1823"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->search}</title>
{$headerinclude}
</head>
<body>
{$header}
<form 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>{$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">
<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>
</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 no_bottom_border" 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>
<option value="views">{$lang->sort_views}</option>
<option value="replies">{$lang->sort_replies}</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}
<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>
<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")
{
	MyBB.select2();
	$("#author").select2({
		placeholder: "{$lang->search_user}",
		minimumInputLength: 2,
		multiple: false,
		allowClear: true,
		ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
			url: "xmlhttp.php?action=get_users",
			dataType: 'json',
			data: function (term, page) {
				return {
					query: term, // search term
				};
			},
			results: function (data, page) { // parse the results into the format expected by Select2.
				// since we are using custom formatting functions we do not need to alter remote JSON data
				return {results: data};
			}
		},
		initSelection: function(element, callback) {
			var value = $(element).val();
			if (value !== "") {
				callback({
					id: value,
					text: value
				});
			}
		},
	});
}
// -->
</script>
</body>
</html>]]></template>
		<template name="search_forumlist" version="1800"><![CDATA[<select name="forums[]" size="20" multiple="multiple">
<option value="all" selected="selected">{$lang->search_all_forums}</option>
<option value="all">----------------------</option>
{$forumlistbits}
</select>]]></template>
		<template name="search_forumlist_forum" version="1800"><![CDATA[<option value="{$forum['fid']}">{$depth} {$forum['name']}</option>]]></template>
		<template name="search_moderator_options" version="1801"><![CDATA[<tr>
<td class="tcat"><strong>{$lang->mod_options}</strong></td>
</tr>
<tr>
<td class="trow1" valign="top">
<select name="visible">
<option value="">{$lang->display_all}</option>
<option value="1">{$lang->display_only_approved}</option>
<option value="0">{$lang->display_only_unapproved}</option>
<option value="-1">{$lang->display_only_softdeleted}</option>
</select> {$lang->results}
</td>
</tr>]]></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_posts_inlinemoderation_selectall" version="1809"><![CDATA[<tr id="selectAllrow" class="hiddenrow">
	<td colspan="9" class="selectall">{$lang->page_selected} <a href="javascript:void(0)" onclick='inlineModeration.selectAll(); return false;'>{$lang->select_all}</a></td>
</tr>
<tr id="allSelectedrow" class="hiddenrow">
	<td colspan="9" class="selectall">{$lang->all_selected} <a href="javascript:void(0)" onclick='inlineModeration.clearChecked(); return false;'>{$lang->clear_selection}</a></td>
</tr>]]></template>
		<template name="search_results_icon" version="1800"><![CDATA[<img src="{$posticon['path']}" alt="{$posticon['name']}" title="{$posticon['name']}" />]]></template>
		<template name="search_results_inlinemodcol" version="1809"><![CDATA[<td class="tcat" align="center" width="1"><input type="checkbox" name="allbox" onclick="inlineModeration.checkAll(this);" /></td>]]></template>
		<template name="search_results_inlinemodcol_empty" version="1813"><![CDATA[<td class="tcat" align="center" width="1"></td>]]></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="search_results_posts_forumlink" version="1808"><![CDATA[<a href="{$post['forumlink_link']}">{$post['forumlink_name']}</a>]]></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_inlinemoderation" version="1838"><![CDATA[<script type="text/javascript" src="{$mybb->asset_url}/jscripts/inline_moderation.js?ver=1838"></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="multisoftdeleteposts">{$lang->inline_soft_delete_posts}</option>
	<option value="multirestoreposts">{$lang->inline_restore_posts}</option>
	<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="multimoveposts">{$lang->inline_move_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="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_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_nocheck" version="120"><![CDATA[<td class="{$bgcolor}" align="center" style="white-space: nowrap">&nbsp;</td>]]></template>
		<template name="search_results_posts_post" version="1813"><![CDATA[<tr class="inline_row">
	<td align="center" class="{$bgcolor}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></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="{$mybb->settings['bburl']}/misc.php?action=whoposted&tid={$post['tid']}" onclick="MyBB.whoPosted({$post['tid']}); return false;">{$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="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_threads_forumlink" version="1808"><![CDATA[<a href="{$thread['forumlink_link']}">{$thread['forumlink_name']}</a>]]></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_inlinemoderation" version="1838"><![CDATA[<script type="text/javascript" src="{$mybb->asset_url}/jscripts/inline_moderation.js?ver=1838"></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="multisoftdeletethreads">{$lang->soft_delete_threads}</option>
		<option value="multirestorethreads">{$lang->restore_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="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="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_nocheck" version="120"><![CDATA[<td class="{$bgcolor}" align="center" style="white-space: nowrap">&nbsp;</td>]]></template>
		<template name="search_results_threads_thread" version="1813"><![CDATA[<tr class="inline_row">
	<td align="center" class="{$bgcolor}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></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="{$mybb->settings['bburl']}/misc.php?action=whoposted&tid={$thread['tid']}" onclick="MyBB.whoPosted({$thread['tid']}); return false;">{$thread['replies']}</a></td>
	<td align="center" class="{$bgcolor}">{$thread['views']}</td>
	<td class="{$bgcolor}" style="white-space: nowrap">
		<span class="smalltext">
			{$lastpostdate}<br />
			<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}
		</span>
	</td>
	{$inline_mod_checkbox}
</tr>]]></template>
		<template name="search_threads_inlinemoderation_selectall" version="1809"><![CDATA[<tr id="selectAllrow" class="hiddenrow">
	<td colspan="8" class="selectall">{$lang->page_selected} <a href="javascript:void(0)" onclick='inlineModeration.selectAll(); return false;'>{$lang->select_all}</a></td>
</tr>
<tr id="allSelectedrow" class="hiddenrow">
	<td colspan="8" class="selectall">{$lang->all_selected} <a href="javascript:void(0)" onclick='inlineModeration.clearChecked(); return false;'>{$lang->clear_selection}</a></td>
</tr>]]></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="showteam_moderators" version="1816"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5"><strong>{$usergroup['title']}</strong></td>
</tr>
<tr>
<td class="tcat"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$modscope}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->lastvisit}</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>
{$modrows}
</table>
<br />]]></template>
		<template name="showteam_moderators_forum" version="1813"><![CDATA[<a href="{$forum_url}">{$forum['name']}</a><br />]]></template>
		<template name="showteam_moderators_mod" version="1816"><![CDATA[<tr>
<td width="45%" class="{$bgcolor}"><img src="{$theme['imgdir']}/buddy_{$status}.png" title="{$lang->$status}" alt="{$lang->$status}" style="vertical-align: middle;" /><a href="{$user['profilelink']}"><strong>{$user['username']}</strong></a></td>
<td width="30%" class="{$bgcolor}"><span class="smalltext">{$scopelist}</span></td>
<td width="15%" class="{$bgcolor}"><div class="postbit_buttons">{$user['lastvisit']}</div></td>
<td width="5%" class="{$bgcolor}"><div class="postbit_buttons">{$emailcode}</div></td>
<td width="5%" class="{$bgcolor}"><div class="postbit_buttons">{$pmcode}</div></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="4"><strong>{$usergroup['title']}</strong></td>
</tr>
<tr>
<td class="tcat"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->lastvisit}</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_usergroup_user" version="1800"><![CDATA[<tr>
<td width="75%" class="{$bgcolor}"><img src="{$theme['imgdir']}/buddy_{$status}.png" title="{$lang->$status}" alt="{$lang->$status}" style="vertical-align: middle;" /><a href="{$user['profilelink']}"><strong>{$user['username']}</strong></a></td>
<td width="15%" class="{$bgcolor}">{$user['lastvisit']}</td>
<td width="5%" class="{$bgcolor}"><div class="postbit_buttons">{$emailcode}</div></td>
<td width="5%" class="{$bgcolor}"><div class="postbit_buttons">{$pmcode}</div></td>
</tr>]]></template>
		<template name="showthread" version="1838"><![CDATA[<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	var quickdelete_confirm = "{$lang->quickdelete_confirm}";
	var quickrestore_confirm = "{$lang->quickrestore_confirm}";
	var allowEditReason = "{$mybb->settings['alloweditreason']}";
	var thread_deleted = "{$thread_deleted}";
	var visible_replies = "{$thread['replies']}";
	lang.save_changes = "{$lang->save_changes}";
	lang.cancel_edit = "{$lang->cancel_edit}";
	lang.quick_edit_update_error = "{$lang->quick_edit_update_error}";
	lang.quick_reply_post_error = "{$lang->quick_reply_post_error}";
	lang.quick_delete_error = "{$lang->quick_delete_error}";
	lang.quick_delete_success = "{$lang->quick_delete_success}";
	lang.quick_delete_thread_success = "{$lang->quick_delete_thread_success}";
	lang.quick_restore_error = "{$lang->quick_restore_error}";
	lang.quick_restore_success = "{$lang->quick_restore_success}";
	lang.editreason = "{$lang->postbit_editreason}";
	lang.post_deleted_error = "{$lang->post_deleted_error}";
	lang.softdelete_thread = "{$lang->soft_delete_thread}";
	lang.restore_thread = "{$lang->restore_thread}";
// -->
</script>
<!-- jeditable (jquery) -->
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1820"></script>
<script src="{$mybb->asset_url}/jscripts/jeditable/jeditable.min.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/thread.js?ver=1838"></script>
</head>
<body>
	{$header}
	{$threadnotesbox}
	{$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 tfixed clear">
		<tr>
			<td class="thead">
				<div class="float_right">
					<span class="smalltext"><strong><a href="showthread.php?mode={$thread_toggle}&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->thread_toggle}</a>{$threadnoteslink}</strong></span>
				</div>
				<div>
					<strong>{$thread['displayprefix']}{$thread['subject']}</strong>
				</div>
			</td>
		</tr>
<tr><td id="posts_container">
	<div id="posts">
		{$posts}
	</div>
</td></tr>
		<tr>
			<td 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 class="clear" />
	{$quickreply}
	{$threadexbox}
	{$similarthreads}
	<br />
	<div class="float_left">
		<ul class="thread_tools">
			{$printthread}
			{$sendthread}
			{$addremovesubscription}
			{$addpoll}
		</ul>
	</div>

	<div class="float_right" style="text-align: right;">
		{$moderationoptions}
		{$forumjump}
	</div>
	<br class="clear" />
	{$usersbrowsing}
	{$footer}
	<script type="text/javascript">
		var thread_deleted = "{$thread_deleted}";
		if(thread_deleted == "1")
		{
			$("#quick_reply_form, .new_reply_button, .thread_tools, .inline_rating").hide();
			$("#moderator_options_selector option.option_mirage").attr("disabled","disabled");
		}
	</script>
</body>
</html>]]></template>
		<template name="showthread_add_poll" version="1800"><![CDATA[<li class="poll"><a href="polls.php?action=newpoll&amp;tid={$tid}">{$lang->add_poll_to_thread}</a></li>]]></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_inlinemoderation" version="1838"><![CDATA[<script type="text/javascript" src="{$mybb->asset_url}/jscripts/inline_moderation.js?ver=1838"></script>
<form action="moderation.php" method="post" style="margin-top: 0; margin-bottom: 0;" id="inlinemoderation_options">
<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" id="inlinemoderation_options_selector">
	<option value="" style="display: none;" selected="selected">{$lang->select_a_tool}</option>
{$standardposttools}
{$customposttools}
</select>
<input type="submit" class="button" name="go" value="{$lang->go} ({$inlinecount})" id="inline_go" />&nbsp;
<input type="button" class="button" onclick="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};
	lang.select_tool = "{$lang->inline_no_tool_selected}";
	lang.selected_nil = "{$lang->inline_no_post_selected}";
// -->
</script><br />]]></template>
		<template name="showthread_inlinemoderation_approve" version="1800"><![CDATA[<option value="multiapproveposts">{$lang->inline_approve_posts}</option>
<option value="multiunapproveposts">{$lang->inline_unapprove_posts}</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_delete" version="1800"><![CDATA[<option value="multideleteposts">{$lang->inline_delete_posts}</option>]]></template>
		<template name="showthread_inlinemoderation_manage" version="1800"><![CDATA[<option value="multimergeposts">{$lang->inline_merge_posts}</option>
<option value="multisplitposts">{$lang->inline_split_posts}</option>
<option value="multimoveposts">{$lang->inline_move_posts}</option>]]></template>
		<template name="showthread_inlinemoderation_restore" version="1800"><![CDATA[<option value="multirestoreposts">{$lang->inline_restore_posts}</option>]]></template>
		<template name="showthread_inlinemoderation_standard" version="1800"><![CDATA[<optgroup label="{$lang->standard_mod_tools}">
	{$inlinemodsoftdelete}
	{$inlinemodrestore}
	{$inlinemoddelete}
	{$inlinemodmanage}
	{$inlinemodapprove}
</optgroup>]]></template>
		<template name="showthread_inlinemoderation_softdelete" version="1800"><![CDATA[<option value="multisoftdeleteposts">{$lang->inline_soft_delete_posts}</option>]]></template>
		<template name="showthread_moderationoptions" version="1838"><![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" id="moderator_options_selector">
		<option value="" style="display: none;" selected="selected">{$lang->select_a_tool}</option>
		<option value="delayedmoderation">{$lang->delayed_moderation}</option>
		{$standardthreadtools}
		{$customthreadtools}
	</select>
	{$gobutton}
</form>
<br />]]></template>
		<template name="showthread_moderationoptions_approve" version="1818"><![CDATA[<option class="option_mirage" value="approvethread">{$lang->approve_thread}</option>]]></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="1818"><![CDATA[<option class="option_mirage" value="{$tool['tid']}">{$tool['name']}</option>]]></template>
		<template name="showthread_moderationoptions_delete" version="1800"><![CDATA[<option value="deletethread">{$lang->delete_thread}</option>]]></template>
		<template name="showthread_moderationoptions_deletepoll" version="1818"><![CDATA[<option class="option_mirage" value="deletepoll">{$lang->delete_poll}</option>]]></template>
		<template name="showthread_moderationoptions_manage" version="1818"><![CDATA[<option class="option_mirage" value="move">{$lang->move_thread}</option>
<option class="option_mirage" value="split">{$lang->split_thread}</option>
<option class="option_mirage" value="merge">{$lang->merge_threads}</option>
<option class="option_mirage" value="removeredirects">{$lang->remove_redirects}</option>
<option class="option_mirage" value="removesubscriptions">{$lang->remove_subscriptions}</option>]]></template>
		<template name="showthread_moderationoptions_openclose" version="1818"><![CDATA[<option class="option_mirage" value="openclosethread">{$lang->open_close_thread}</option>]]></template>
		<template name="showthread_moderationoptions_restore" version="1804"><![CDATA[<option value="restorethread">{$lang->restore_thread}</option>]]></template>
		<template name="showthread_moderationoptions_softdelete" version="1804"><![CDATA[<option value="softdeletethread">{$lang->soft_delete_thread}</option>]]></template>
		<template name="showthread_moderationoptions_standard" version="1800"><![CDATA[<optgroup label="{$lang->standard_mod_tools}">
{$threadnotes}
{$openclosethread}
{$softdeletethread}
{$deletethread}
{$adminpolloptions}
{$stickunstickthread}
{$managethread}
{$approveunapprovethread}
</optgroup>]]></template>
		<template name="showthread_moderationoptions_stickunstick" version="1818"><![CDATA[<option class="option_mirage" value="stick">{$lang->stick_unstick_thread}</option>]]></template>
		<template name="showthread_moderationoptions_threadnotes" version="1838"><![CDATA[<option value="threadnotes">{$lang->thread_notes}</option>]]></template>
		<template name="showthread_moderationoptions_unapprove" version="1818"><![CDATA[<option class="option_mirage" value="unapprovethread">{$lang->unapprove_thread}</option>]]></template>
		<template name="showthread_newreply" version="1800"><![CDATA[<a href="newreply.php?tid={$tid}" class="button new_reply_button"><span>{$lang->new_reply}</span></a>&nbsp;]]></template>
		<template name="showthread_newreply_closed" version="1800"><![CDATA[<a href="newreply.php?tid={$tid}" class="button closed_button"><span>{$lang->thread_closed}</span></a>&nbsp;]]></template>
		<template name="showthread_newthread" version="1800"><![CDATA[<a href="newthread.php?fid={$fid}" class="button new_thread_button"><span>{$lang->post_thread}</span></a>&nbsp;]]></template>
		<template name="showthread_poll" version="1800"><![CDATA[<form action="polls.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<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 tfixed">
<colgroup>
<col style="width: 3%;" />
</colgroup>
<tr>
<td colspan="2" class="thead" style="text-align: center;"><strong>{$lang->poll} {$poll['question']}</strong></td>
</tr>
{$polloptions}
</table>
<table style="width: 100%; text-align: center;">
<tr>
<td style="text-align: left;"><input type="submit" class="button" value="{$lang->vote}" /></td>
<td style="vertical-align: top; text-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">{$closeon}</span></td>
</tr>
<tr>
<td colspan="2"><span class="smalltext">{$publicnote}</span></td>
</tr>
</table>
</form>]]></template>
		<template name="showthread_poll_editpoll" version="1800"><![CDATA[ | <a href="polls.php?action=editpoll&amp;pid={$poll['pid']}">{$lang->edit_poll}</a>]]></template>
		<template name="showthread_poll_option" version="1800"><![CDATA[<tr>
<td class="trow1" style="text-align: center;"><input type="radio" class="radio" name="option" id="option_{$number}" value="{$number}" /></td>
<td class="trow2 scaleimages">{$option}</td>
</tr>]]></template>
		<template name="showthread_poll_option_multiple" version="1800"><![CDATA[<tr>
<td class="trow1" style="text-align: center;"><input type="checkbox" class="checkbox" name="option[{$number}]" id="option_{$number}" value="1" /></td>
<td class="trow2 scaleimages">{$option}</td>
</tr>]]></template>
		<template name="showthread_poll_resultbit" version="1800"><![CDATA[<tr>
<td class="{$optionbg} scaleimages" style="text-align: right;">{$option}{$votestar}</td>
<td class="{$optionbg}"><div class="pollbar" style="width: {$imagewidth}%" title="{$percent}%"><span class="percent">{$percent}%</span></div></td>
<td class="{$optionbg}" style="text-align: center;">{$votes}</td>
<td class="{$optionbg}" style="text-align: center;">{$percent}%</td>
</tr>]]></template>
		<template name="showthread_poll_results" version="1815"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed">
<colgroup>
<col style="width: 35%" />
<col style="width: 50%" />
<col style="width: 7%" />
</colgroup>
<tr>
<td class="thead" colspan="4" style="text-align: center;"><strong>{$lang->poll} {$poll['question']}</strong><br /><span class="smalltext">{$pollstatus}{$undovote}</span></td>
</tr>
{$polloptions}
<tr>
<td class="tfoot" colspan="2" style="text-align: right;"><strong>{$lang->total}</strong></td>
<td class="tfoot" style="text-align: center;"><strong>{$lang->total_votes}</strong></td>
<td class="tfoot" style="text-align: center;"><strong>{$totpercent}</strong></td>
</tr>
</table>
<table cellspacing="0" cellpadding="2" border="0" style="width: 100%; text-align: center;">
<tr>
<td style="text-align: left;"><span class="smalltext">{$lang->you_voted}</span></td>
<td style="text-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="showthread_poll_undovote" version="1800"><![CDATA[ [<a href="polls.php?action=do_undovote&amp;pid={$poll['pid']}&amp;my_post_key={$mybb->post_code}">{$lang->undo_vote}</a>]]]></template>
		<template name="showthread_printthread" version="1818"><![CDATA[<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>]]></template>
		<template name="showthread_quickreply" version="1816"><![CDATA[
<div id="quickreply_spinner" class="showthread_spinner" style="display: none"><img src="{$theme['imgdir']}/spinner.gif" /></div>
<br />
{$moderation_notice}
<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: {$reply_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{$collapsedthead['quickreply']}" colspan="2">
					<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['quickreply']}.png" id="quickreply_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
					<div><strong>{$lang->quick_reply}</strong></div>
				</td>
			</tr>
		</thead>
		<tbody style="{$collapsed['quickreply_e']}" id="quickreply_e">
			<tr>
				<td class="{$trow}" valign="top" width="22%">
					<strong>{$lang->message}</strong><br />
					<span class="smalltext">{$lang->message_note}<br /><br />
					{$option_signature}
					<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" />&nbsp;<strong>{$lang->disable_smilies}</strong></label>{$closeoption}</span>
				</td>
				<td class="{$trow}">
					<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:void(0)" onclick="Thread.clearMultiQuoted(); return false;">{$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="showthread_quickreply_options_close" version="1800"><![CDATA[<br /><label><input type="checkbox" class="checkbox" name="modoptions[closethread]" value="1"{$closelinkch} />&nbsp;<strong>{$lang->close_thread}</strong></label>]]></template>
		<template name="showthread_quickreply_options_signature" version="1800"><![CDATA[<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" {$postoptionschecked['signature']} />&nbsp;<strong>{$lang->signature}</strong></label><br />]]></template>
		<template name="showthread_quickreply_options_stick" version="1800"><![CDATA[<br /><label><input type="checkbox" class="checkbox" name="modoptions[stickthread]" value="1"{$stickch} />&nbsp;<strong>{$lang->stick_thread}</strong></label>]]></template>
		<template name="showthread_ratethread" version="1821"><![CDATA[<div style="margin-top: 6px; padding-right: 10px;" class="float_right">
		<script type="text/javascript">
		<!--
			lang.ratings_update_error = "{$lang->ratings_update_error}";
		// -->
		</script>
		<script type="text/javascript" src="{$mybb->asset_url}/jscripts/rating.js?ver=1821"></script>
		<div class="inline_rating">
			<strong class="float_left" style="padding-right: 10px;">{$lang->thread_rating}</strong>
			<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="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="showthread_send_thread" version="1800"><![CDATA[<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>]]></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="showthread_similarthreads_bit" version="1813"><![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="{$mybb->settings['bburl']}/misc.php?action=whoposted&tid={$similar_thread['tid']}" onclick="MyBB.whoPosted({$similar_thread['tid']}); return false;">{$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}<br />
		<a href="{$similar_thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
	</td>
	</tr>]]></template>
		<template name="showthread_subscription" version="1816"><![CDATA[<li class="subscription_{$add_remove_subscription}"><a href="usercp.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>]]></template>
		<template name="showthread_threaded_bit" version="1800"><![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}</span></div>]]></template>
		<template name="showthread_threaded_bitactive" version="1800"><![CDATA[<div style="margin-left: {$indentsize}px;"><strong>{$post['subject']}</strong> <span class="smalltext">- {$lang->by} {$post['profilelink']} - {$postdate}</span></div>]]></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_threadnotes" version="1816"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed">
<thead>
<tr>
	<td class="thead{$collapsedthead['threadnotes']}">
		<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['threadnotes']}.png" id="threadnotes_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
		<div><span class="smalltext"><strong>{$lang->view_thread_notes}</strong></span></div>
	</td>
</tr>
</thead>
<tbody style="{$collapsed['threadnotes_e']}" id="threadnotes_e">
<tr>
	<td class="trow1">
		{$thread['notes']}
	</td>
</tr>
</tbody>
</table>
<br />]]></template>
		<template name="showthread_threadnotes_viewnotes" version="1809"><![CDATA[[<a href="javascript:void(0)" onclick="Thread.viewNotes({$thread['tid']}); return false;">{$lang->view_all_notes}</a>]]]></template>
		<template name="showthread_threadnoteslink" version="1800"><![CDATA[ | <a href="moderation.php?action=threadnotes&modtype=thread&tid={$thread['tid']}">{$lang->view_thread_notes}</a>]]></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="smilieinsert" version="1800"><![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="smilieinsert_getmore" version="1809"><![CDATA[<tr>
  <td class="trow2" align="center"><span class="smalltext"><strong>[<a href="javascript:void(0)" onclick="MyBB.popupWindow('/misc.php?action=smilies&popup=true&editor=MyBBEditor&modal=1'); return false;">{$lang->smilieinsert_getmore}</a>]</strong></span></td>
</tr>]]></template>
		<template name="smilieinsert_row" version="1808"><![CDATA[<tr>{$smilie_icons}</tr>]]></template>
		<template name="smilieinsert_row_empty" version="1808"><![CDATA[<tr>{$smilie_icons}<td colspan="{$colspan}">&nbsp;</td></tr>]]></template>
		<template name="smilieinsert_smilie" version="1800"><![CDATA[<td style="text-align: center">{$smilie}</td>]]></template>
		<template name="stats" version="1800"><![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->tpm} <strong>{$threadspermember}</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}<br />
{$top_referrer}
</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="stats_thread" version="1800"><![CDATA[<a href="{$thread['threadlink']}"><strong>{$thread['subject']}</strong></a> ({$numberbit} {$numbertype})<br />]]></template>
		<template name="stats_topforum" version="1808"><![CDATA[<a href="{$forum['link']}">{$forum['name']}</a>]]></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_addsubscription_thread" version="1816"><![CDATA[<html>
<head>
<title>{$lang->subscribe_to_thread}</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_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_email" value="1" {$notification_email_checked} /></td>
			<td><strong><label for="notification_email">{$lang->email_notification}</label></strong><br /><span class="smalltext">{$lang->email_notification_desc}</span></td>
		</tr>
		<tr>
			<td width="1"><input type="radio" name="notification" id="notification_pm" value="2" {$notification_pm_checked} /></td>
			<td><strong><label for="notification_pm">{$lang->pm_notification}</label></strong><br /><span class="smalltext">{$lang->pm_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="usercp_attachments" version="1827"><![CDATA[<html>
<head>
	<title>{$mybb->settings['bbname']} - {$lang->attachments_manager}</title>
	{$headerinclude}
</head>
<body>
	{$header}
	<table width="100%" border="0" align="center">
		<tr>
			{$usercpnav}
			<td valign="top">
				<form action="usercp.php" method="post" name="attachmentsmanager">
					<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="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" name="allbox" class="checkbox checkall" /></td>
						</tr>
						{$attachments}
					</table>
					<br />
					{$delete_button}
				</form>
				{$multipage}
				<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}</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>
	{$footer}
</body>
</html>]]></template>
		<template name="usercp_attachments_attachment" version="1800"><![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}</td>
<td class="{$altbg}" width="1"><input type="checkbox" class="checkbox" name="attachments[{$attachment['aid']}]" value="{$attachment['aid']}" /></td>
</tr>]]></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_avatar" version="1809"><![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">
		{$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->custom_avatar}</strong></td>
			</tr>
			{$avatarupload}
			{$avatar_remote}
		</table>

		<br />
		<div align="center">
			<input type="hidden" name="action" value="do_avatar" />
			<input type="submit" class="button" name="submit" value="{$lang->change_avatar}" />
			{$removeavatar}
		</div>
	</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="usercp_avatar_auto_resize_auto" version="1800"><![CDATA[<br /><span class="smalltext">{$lang->avatar_auto_resize_note}</span>]]></template>
		<template name="usercp_avatar_auto_resize_user" version="1800"><![CDATA[<br /><span class="smalltext">
<input type="checkbox" name="auto_resize" value="1" checked="checked" id="auto_resize" />
<label for="auto_resize">{$lang->avatar_auto_resize_option}</label>
</span>]]></template>
		<template name="usercp_avatar_current" version="1800"><![CDATA[<td width="150" align="right"><img src="{$useravatar['image']}" alt="{$lang->avatar_mine}" title="{$lang->avatar_mine}" {$useravatar['width_height']} /></td>]]></template>
		<template name="usercp_avatar_remove" version="1800"><![CDATA[<input type="submit" class="button" name="remove" value="{$lang->remove_avatar}" />]]></template>
		<template name="usercp_avatar_upload" version="1800"><![CDATA[			<tr>
				<td class="trow1" width="40%">
					<strong>{$lang->avatar_upload}</strong>
					<br /><span class="smalltext">{$lang->avatar_upload_note}</span>
				</td>
				<td class="trow1" width="60%">
					<input type="file" name="avatarupload" size="25" class="fileupload" />
					{$auto_resize}
				</td>
			</tr>]]></template>
		<template name="usercp_avatar_remote" version="1809"><![CDATA[			<tr>
				<td class="trow2" width="40%">
					<strong>{$lang->avatar_url}</strong>
					<br /><span class="smalltext">{$lang->avatar_url_note}</span>
				</td>
				<td class="trow2" width="60%">
					<input type="text" class="textbox" name="avatarurl" size="45" value="{$avatarurl}" />
					<br /><span class="smalltext">{$lang->avatar_url_gravatar}</span>
				</td>
			</tr>]]></template>
		<template name="usercp_changename" version="1822"><![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->password_confirmation}</strong></td>
</tr>
<tr>
<td class="trow1" width="40%"><strong>{$lang->current_password}</strong></td>
<td class="trow1" width="60%"><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']}" value="{$username}" /></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="usercp_currentavatar" version="1807"><![CDATA[<td class="trow1" valign="top" align="center" width="1"><div class="usercp_container"><img src="{$useravatar['image']}" alt="{$avatar_username}" title="{$avatar_username}" {$useravatar['width_height']} /></div></td>]]></template>
		<template name="usercp_drafts" version="1804"><![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_count}</strong></td>
</tr>
<tr>
<td width="66%" class="tcat"><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" name="allbox" 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="1800"><![CDATA[<tr>
<td class="{$trow}"><strong>{$draft['subject']}</strong><br /><span class="smalltext">{$detail}</span></td>
<td class="{$trow}" align="center">{$savedate}</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="usercp_drafts_draft_forum" version="1800"><![CDATA[{$lang->forum}: <a href="{$draft['forumlink']}">{$draft['forumname']}</a>]]></template>
		<template name="usercp_drafts_draft_thread" version="1800"><![CDATA[{$lang->thread}: <a href="{$draft['threadlink']}">{$draft['threadsubject']}</a>]]></template>
		<template name="usercp_drafts_none" version="120"><![CDATA[<tr>
<td class="trow1" colspan="7">{$lang->no_drafts}</td>
</tr>]]></template>
		<template name="usercp_editlists_received_request" version="1800"><![CDATA[<tr>
	<td class="{$bgcolor}">
		{$request['username']}
	</td>
	<td class="{$bgcolor}">
		{$request['date']}
	</td>
	<td class="{$bgcolor}">
		<a href="{$mybb->settings['bburl']}/usercp.php?action=acceptrequest&amp;id={$request['id']}&amp;my_post_key={$mybb->post_code}">{$lang->accept}</a> - <a href="{$mybb->settings['bburl']}/usercp.php?action=declinerequest&amp;id={$request['id']}&amp;my_post_key={$mybb->post_code}">{$lang->decline}</a>
	</td>
</tr>]]></template>
		<template name="usercp_editlists_sent_request" version="1800"><![CDATA[<tr>
	<td class="{$bgcolor}">
		{$request['username']}
	</td>
	<td class="{$bgcolor}">
		{$request['date']}
	</td>
	<td class="{$bgcolor}">
		<a href="{$mybb->settings['bburl']}/usercp.php?action=cancelrequest&amp;id={$request['id']}&amp;my_post_key={$mybb->post_code}">{$lang->cancel}</a>
	</td>
</tr>]]></template>
		<template name="usercp_editlists_no_requests" version="1800"><![CDATA[<tr>
	<td class="{$bgcolor}" colspan="3">
		{$lang->no_requests}
	</td>
</tr>]]></template>
		<template name="usercp_editlists" version="1827"><![CDATA[<html>
<head>
	<title>{$mybb->settings['bbname']} - {$lang->edit_lists}</title>
	{$headerinclude}
	<script type="text/javascript" src="{$mybb->asset_url}/jscripts/usercp.js?ver=1827"></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}';
      	lang.buddylist_error = '{$lang->buddylist_error}';
	</script>

  <link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">
	<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></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 class="float_left" style="width: 120px; 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">
							<!--
								if(use_xmlhttprequest == "1")
								{
									MyBB.select2();
									$("#buddy_add_username").select2({
										placeholder: "{$lang->search_user}",
										minimumInputLength: 2,
										maximumSelectionSize: 5,
										multiple: true,
										ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
											url: "xmlhttp.php?action=get_users",
											dataType: 'json',
											data: function (term, page) {
												return {
													query: term, // search term
												};
											},
											results: function (data, page) { // parse the results into the format expected by Select2.
												// since we are using custom formatting functions we do not need to alter remote JSON data
												return {results: data};
											}
										},
										initSelection: function(element, callback) {
											var query = $(element).val();
											if (query !== "") {
												var newqueries = [];
												exp_queries = query.split(",");
												$.each(exp_queries, function(index, value ){
													if(value.replace(/\s/g, '') != "")
													{
														var newquery = {
															id: value.replace(/,\s?/g, ", "),
															text: value.replace(/,\s?/g, ", ")
														};
														newqueries.push(newquery);
													}
												});
												callback(newqueries);
											}
										},
									});
                                }
                            // -->
							</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 class="float_left" style="width: 120px; 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")
								{
									MyBB.select2();
									$("#ignored_add_username").select2({
										placeholder: "{$lang->search_user}",
										minimumInputLength: 2,
										maximumSelectionSize: 5,
										multiple: true,
										ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
											url: "xmlhttp.php?action=get_users",
											dataType: 'json',
											data: function (term, page) {
												return {
													query: term, // search term
												};
											},
											results: function (data, page) { // parse the results into the format expected by Select2.
												// since we are using custom formatting functions we do not need to alter remote JSON data
												return {results: data};
											}
										},
										initSelection: function(element, callback) {
											var query = $(element).val();
											if (query !== "") {
												var newqueries = [];
												exp_queries = query.split(",");
												$.each(exp_queries, function(index, value ){
													if(value.replace(/\s/g, '') != "")
													{
														var newquery = {
															id: value.replace(/,\s?/g, ", "),
															text: value.replace(/,\s?/g, ", ")
														};
														newqueries.push(newquery);
													}
												});
												callback(newqueries);
											}
										},
									});
								}
							// -->
							</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>
          <br />
          <table border="0" style="width: 100%">
			<tr>
				<td style="width: 50%; vertical-align: top" id="receivedrequests">
					{$received_requests}
				</td>
				<td style="width: 50%; vertical-align: top" id="sentrequests">
					{$sent_requests}
				</td>
            </tr>
          </table>
		</td>
	</tr>
	</table>
	{$footer}
</body>
</html>]]></template>
		<template name="usercp_editlists_no_buddies" version="1800"><![CDATA[<li>{$lang->buddy_list_empty}</li>]]></template>
		<template name="usercp_editlists_no_ignored" version="1800"><![CDATA[<li>{$lang->ignore_list_empty}</li>]]></template>
		<template name="usercp_editlists_received_requests" version="1800"><![CDATA[
					<table class="tborder" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}">
						<thead>
							<tr>
								<td class="thead" colspan="3"><strong>{$lang->buddyrequests_received}</strong></td>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td class="tcat" width="33%"><strong>{$lang->from}</strong></td>
								<td class="tcat" width="33%"><strong>{$lang->date}</strong></td>
								<td class="tcat" width="33%"><strong>{$lang->options}</strong></td>
							</tr>
							{$received_rows}
						</tbody>
					</table>
		]]></template>
		<template name="usercp_editlists_sent_requests" version="1800"><![CDATA[
					<table class="tborder" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}">
						<thead>
							<tr>
								<td class="thead" colspan="3"><strong>{$lang->buddyrequests_sent}</strong></td>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td class="tcat" width="33%"><strong>{$lang->to}</strong></td>
								<td class="tcat" width="33%"><strong>{$lang->date}</strong></td>
								<td class="tcat" width="33%"><strong>{$lang->options}</strong></td>
							</tr>
							{$sent_rows}
						</tbody>
					</table>
		]]></template>
		<template name="usercp_editlists_user" version="1807"><![CDATA[<li class="float_left" id="{$type}_{$user['uid']}" style="width: 33%; list-style: none; margin-bottom: 4px;">
	<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.png" title="{$lang->remove_from_list}"  alt="{$lang->remove_from_list}" style="vertical-align: middle;" /></a>
	<img src="{$theme['imgdir']}/buddy_{$status}.png" title="{$lang->$status}" alt="" style="vertical-align: middle;" />
	{$profile_link}
</li>]]></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_current" version="1800"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed">
<tr>
<td class="thead"><strong>{$lang->current_sig}</strong></td>
</tr>
<tr>
<td class="trow1 scaleimages">{$sigpreview}</td>
</tr>
</table>
<br />]]></template>
		<template name="usercp_editsig_preview" version="1800"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed">
<tr>
<td class="thead"><strong>{$lang->sig_preview}</strong></td>
</tr>
<tr>
<td class="trow1 scaleimages">{$sigpreview}</td>
</tr>
</table>
<br />]]></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="usercp_email" version="1800"><![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->password_confirmation}</strong></td>
</tr>
<tr>
<td class="trow2" width="40%"><strong>{$lang->current_password}</strong></td>
<td class="trow1" width="60%"><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="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="usercp_forumsubscriptions_forum" version="1820"><![CDATA[<tr>
<td class="trow1" align="center" valign="middle" width="1"><span class="forum_status forum_{$lightbulb['folder']}" title="{$lightbulb['altonoff']}"></span></td>
<td class="trow1" valign="middle">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><span class="smalltext"><a href="usercp.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="middle" style="white-space: nowrap; text-align: center;">{$posts}</td>
<td class="trow1" valign="middle" style="white-space: nowrap; text-align: center;">{$threads}</td>
<td class="trow2" valign="middle" style="white-space: nowrap">{$lastpost}</td>
</tr>]]></template>
		<template name="usercp_forumsubscriptions_none" version="120"><![CDATA[<tr>
<td class="trow1" colspan="5">{$lang->no_forum_subscriptions}</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="1813"><![CDATA[<tr>
<td align="center" class="{$bgcolor}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></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="{$mybb->settings['bburl']}/misc.php?action=whoposted&tid={$thread['tid']}" onclick="MyBB.whoPosted({$thread['tid']}); return false;">{$thread['replies']}</a></td>
<td align="center" class="{$bgcolor}">{$thread['views']}</td>
<td class="{$bgcolor}" style="white-space: nowrap"><span class="smalltext">{$lastpostdate}
<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="1813"><![CDATA[<tr>
<td align="center" class="{$bgcolor}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></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="{$mybb->settings['bburl']}/misc.php?action=whoposted&tid={$thread['tid']}" onclick="MyBB.whoPosted({$thread['tid']}); return false;">{$thread['replies']}</a></td>
<td align="center" class="{$bgcolor}">{$thread['views']}</td>
<td class="{$bgcolor}" style="white-space: nowrap"><span class="smalltext">{$lastpostdate}
<br /><a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
</tr>]]></template>
		<template name="usercp_nav" version="1809"><![CDATA[<td width="{$lang->ucp_nav_width}" valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tbody>
	<tr>
		<td class="thead"><strong>{$lang->ucp_nav_menu}</strong></td>
	</tr>
	{$ucp_nav_home}
</tbody>
{$usercpmenu}
</table>
</td>]]></template>
		<template name="usercp_nav_attachments" version="1800"><![CDATA[<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>]]></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_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_home" version="1809"><![CDATA[<tr>
	<td class="trow1 smalltext"><a href="usercp.php" class="usercp_nav_item usercp_nav_home">{$lang->ucp_nav_home}</a></td>
</tr>]]></template>
		<template name="usercp_nav_messenger" version="1816"><![CDATA[<tbody>
<tr>
	<td class="tcat tcat_menu tcat_collapse{$collapsedimg['usercppms']}">
		<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['usercppms']}.png" id="usercppms_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
		<div><span class="smalltext"><strong>{$lang->ucp_nav_messenger}</strong></span></div>
	</td>
</tr>
</tbody>
<tbody style="{$collapsed['usercppms_e']}" id="usercppms_e">
	{$ucp_nav_compose}
	<tr>
		<td class="trow1 smalltext">
			{$folderlinks}
		</td>
	</tr>
	{$ucp_nav_tracking}
	<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_messenger_compose" version="1800"><![CDATA[<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>]]></template>
		<template name="usercp_nav_messenger_folder" version="1800"><![CDATA[<div><a href="private.php?fid={$folder_id}" class="usercp_nav_item {$class}">{$folder_name}</a></div>]]></template>
		<template name="usercp_nav_messenger_tracking" version="1610"><![CDATA[<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>]]></template>
		<template name="usercp_nav_misc" version="1816"><![CDATA[<tbody>
<tr>
	<td class="tcat tcat_menu tcat_collapse{$collapsedimg['usercpmisc']}">
		<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['usercpmisc']}.png" id="usercpmisc_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
		<div><span class="smalltext"><strong>{$lang->ucp_nav_misc}</strong></span></div>
	</td>
</tr>
</tbody>
<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>
	{$attachmentop}
	<tr><td class="trow1 smalltext"><a href="usercp.php?action=drafts" class="usercp_nav_item usercp_nav_drafts">{$draftcount}</a></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_nav_profile" version="1816"><![CDATA[<tbody>
<tr>
	<td class="tcat tcat_menu tcat_collapse{$collapsedimg['usercpprofile']}">
		<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['usercpprofile']}.png" id="usercpprofile_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
		<div><span class="smalltext"><strong>{$lang->ucp_nav_profile}</strong></span></div>
	</td>
</tr>
</tbody>
<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_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="usercp_options" version="1827"><![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">
{$canbeinvisible}
<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>
{$pms}
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="buddyrequestsauto" id="buddyrequestsauto" value="1" {$buddyrequestsautocheck} /></td>
<td><span class="smalltext"><label for="buddyrequestsauto">{$lang->buddyrequests_auto}</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_auto_subscribe_selected}>{$lang->no_auto_subscribe}</option>
		<option value="1" {$no_subscribe_selected}>{$lang->no_subscribe}</option>
		<option value="2" {$instant_email_subscribe_selected}>{$lang->instant_email_subscribe}</option>
		<option value="3" {$instant_pm_subscribe_selected}>{$lang->instant_pm_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">
<option value="0">{$lang->use_default}</option>
{$date_format_options}
</select>
</td>
</tr>
<tr>
<td><span class="smalltext">{$lang->time_format}</span></td>
</tr>
<tr>
<td>
<select name="timeformat">
<option value="0">{$lang->use_default}</option>
{$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="showimages" id="showimages" value="1" {$showimagescheck} /></td>
<td><span class="smalltext"><label for="showimages">{$lang->show_images}</label></span></td>
</tr>
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="showvideos" id="showvideos" value="1" {$showvideoscheck} /></td>
<td><span class="smalltext"><label for="showvideos">{$lang->show_videos}</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>
{$quick_reply}
{$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 valign="top" width="1"><input type="checkbox" class="checkbox" name="sourceeditor" id="sourceeditor" value="1" {$sourcemodecheck} /></td>
<td><span class="smalltext"><label for="sourceeditor">{$lang->source_editor}</label></span></td>
</tr>
{$board_style}
{$board_language}
</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_options_invisible" version="1827"><![CDATA[<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 />]]></template>
		<template name="usercp_options_date_format" version="1800"><![CDATA[<option value="{$key}"{$selected}>{$dateformat}</option>]]></template>
		<template name="usercp_options_language" version="1800"><![CDATA[<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>]]></template>
		<template name="usercp_options_language_option" version="1800"><![CDATA[<option value="{$name}"{$sel}>{$language}</option>]]></template>
		<template name="usercp_options_pms" version="1809"><![CDATA[<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 valign="top" width="1"><input type="checkbox" class="checkbox" name="buddyrequestspm" id="buddyrequestspm" value="1" {$buddyrequestspmcheck} /></td>
<td><span class="smalltext"><label for="buddyrequestspm">{$lang->buddyrequests_pm}</label></span></td>
</tr>]]></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_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_options_pppselect_option" version="1800"><![CDATA[<option value="{$val}"{$selected}>{$ppp_option}</option>]]></template>
		<template name="usercp_options_quick_reply" version="1809"><![CDATA[<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>]]></template>
		<template name="usercp_options_style" version="1800"><![CDATA[<tr>
<td colspan="2"><span class="smalltext">{$lang->style}</span></td>
</tr>
<tr>
<td colspan="2">{$stylelist}</td>
</tr>]]></template>
		<template name="usercp_options_time_format" version="1800"><![CDATA[<option value="{$key}"{$selected}>{$timeformat}</option>]]></template>
		<template name="usercp_options_timezone" version="1800"><![CDATA[<select name="{$name}" id="{$name}">
{$timezone_option}
</select>]]></template>
		<template name="usercp_options_timezone_option" version="1800"><![CDATA[<option value="{$timezone}"{$selected_add}>{$label}</option>]]></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="usercp_options_tppselect_option" version="1800"><![CDATA[<option value="{$val}"{$selected}>{$tpp_option}</option>]]></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->password_confirmation}</strong></td>
</tr>
<tr>
<td class="trow1" width="40%"><strong>{$lang->current_password}</strong></td>
<td class="trow1" width="60%"><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_profile" version="1800"><![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">
<option value="all"{$allselected}>{$lang->birthdayprivacyall}</option>
<option value="none"{$noneselected}>{$lang->birthdayprivacynone}</option>
<option value="age"{$ageselected}>{$lang->birthdayprivacyage}</option>
</select>
</td>
</tr>
{$website}
</table>
</fieldset>
{$customfields}
</td>
<td width="50%" class="trow1" valign="top">
{$customtitle}
{$contactfields}
{$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="usercp_profile_contact_fields" version="1839"><![CDATA[<br />
<fieldset class="trow2">
<legend><strong>{$lang->additional_contact_details}</strong></legend>
<table cellspacing="0" cellpadding="{$theme['tablespace']}">
	{$contact_fields['skype']}
	{$contact_fields['google']}
</table>
</fieldset>]]></template>
	<template name="usercp_profile_contact_fields_field" version="1800"><![CDATA[<tr>
<td><span class="smalltext">{$lang_string}</span></td>
</tr>
<tr>
  <td><input type="text" class="textbox" name="{$cfield}" size="25" value="{$cfvalue}" /></td>
</tr>]]></template>
		<template name="usercp_profile_away" version="1816"><![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" maxlength="200" /></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_profile_website" version="1800"><![CDATA[<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>]]></template>
		<template name="usercp_profile_customfield" version="1800"><![CDATA[<tr>
<td>
<span>{$profilefield['name']}</span>:
<br />
<span class="smalltext">{$profilefield['description']}</span>
</td>
</tr>
<tr>
<td>{$code}</td>
</tr>]]></template>
		<template name="usercp_profile_customtitle" version="1805"><![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>
{$currentcustom}
<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>
{$reverttitle}
</table>
</fieldset>]]></template>
		<template name="usercp_profile_customtitle_currentcustom" version="1800"><![CDATA[<tr>
<td><span class="smalltext">{$lang->current_custom_usertitle}</span></td>
</tr>
<tr>
<td><span class="smalltext"><strong>{$user['usertitle']}</strong></span></td>
</tr>]]></template>
		<template name="usercp_profile_customtitle_reverttitle" version="1800"><![CDATA[<tr>
<td><span class="smalltext"><input type="checkbox" name="reverttitle" id="reverttitle" class="checkbox" /> {$lang->revert_usertitle}</span></td>
</tr>]]></template>
		<template name="usercp_profile_day" version="1800"><![CDATA[<option value="{$day}"{$selected}>{$day}</option>]]></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="usercp_profile_profilefields_checkbox" version="1800"><![CDATA[<input type="checkbox" class="checkbox" name="profile_fields[$field][]" value="{$val}"{$checked} />
<span class="smalltext">{$val}</span><br />]]></template>
		<template name="usercp_profile_profilefields_multiselect" version="1800"><![CDATA[<select name="profile_fields[$field][]" size="{$profilefield['length']}" multiple="multiple">
{$select}
</select>]]></template>
		<template name="usercp_profile_profilefields_radio" version="1800"><![CDATA[<input type="radio" class="radio" name="profile_fields[$field]" value="{$val}"{$checked} />
<span class="smalltext">{$val}</span><br />]]></template>
		<template name="usercp_profile_profilefields_select" version="1800"><![CDATA[<select name="profile_fields[$field]" size="{$profilefield['length']}">
{$select}
</select>]]></template>
		<template name="usercp_profile_profilefields_select_option" version="1800"><![CDATA[<option value="{$val}"{$sel}>{$val}</option>]]></template>
		<template name="usercp_profile_profilefields_text" version="1800"><![CDATA[<input type="text" name="profile_fields[$field]" class="textbox" size="{$profilefield['length']}"{$maxlength} value="{$value}" />]]></template>
		<template name="usercp_profile_profilefields_textarea" version="1800"><![CDATA[<textarea name="profile_fields[$field]" rows="6" cols="30" style="width: 95%">{$value}</textarea>]]></template>
		<template name="usercp_referrals" version="1600"><![CDATA[<strong>{$lang->members_referred}</strong> {$mybb->user['referrals']}<br />
{$referral_link}]]></template>
		<template name="usercp_removesubscription_forum" version="1823"><![CDATA[<html>
<head>
<title>{$lang->unsubscribe_from_forum}</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="removesubscription" />
<input type="hidden" name="type" value="forum" />
<input type="hidden" name="fid" value="{$forum['fid']}" />
<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->unsubscribe_from_forum}</strong></td>
</tr>
<tr>
<td class="trow1" valign="top">{$lang->unsubscribe_from_forum_desc}</td>
</tr>
</table>
<br />
<div style="text-align: center;">
	<input type="submit" class="button" name="submit" value="{$lang->do_unsubscribe_forum}" tabindex="3" accesskey="s" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="usercp_removesubscription_thread" version="1823"><![CDATA[<html>
<head>
<title>{$lang->unsubscribe_from_thread}</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="removesubscription" />
<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->unsubscribe_from_thread}</strong></td>
</tr>
<tr>
<td class="trow1" valign="top">{$lang->unsubscribe_from_thread_desc} <a href="usercp.php?action=addsubscription&tid={$thread['tid']}&my_post_key={$mybb->post_code}">{$lang->unsubscribe_change_notificaton}</a></td>
</tr>
</table>
<br />
<div style="text-align: center;">
	<input type="submit" class="button" name="submit" value="{$lang->do_unsubscribe_thread}" tabindex="3" accesskey="s" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>]]></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_resendactivation" version="1800"><![CDATA[<br />(<a href="member.php?action=resendactivation">{$lang->resend_activation}</a>)]]></template>
		<template name="usercp_subscriptions" version="1817"><![CDATA[<html>
<head>
	<title>{$mybb->settings['bbname']} - {$lang->subscriptions}</title>
	{$headerinclude}
</head>
<body>
	{$header}
	<table width="100%" border="0" align="center">
		<tr>
			{$usercpnav}
			<td valign="top">
				{$multipage}
				<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 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 width="66%" colspan="3" class="tcat"><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>
				</form>
				{$multipage}
				<br />
				<div class="float_left">
					<div class="float_left">
						<dl class="thread_legend smalltext">
							<dd><span class="thread_status newfolder" title="{$lang->new_posts_thread}">&nbsp;</span> {$lang->new_posts_thread}</dd>
							<dd><span class="thread_status newhotfolder" title="{$lang->new_hot_thread}">&nbsp;</span> {$lang->new_hot_thread}</dd>
							<dd><span class="thread_status hotfolder" title="{$lang->hot_thread}">&nbsp;</span> {$lang->hot_thread}</dd>
						</dl>
					</div>

					<div class="float_left">
						<dl class="thread_legend smalltext">
							<dd><span class="thread_status folder" title="{$lang->no_new_thread}">&nbsp;</span> {$lang->no_new_thread}</dd>
							<dd><span class="thread_status dot_folder" title="{$lang->posts_by_you}">&nbsp;</span> {$lang->posts_by_you}</dd>
							<dd><span class="thread_status closefolder" title="{$lang->closed_thread}">&nbsp;</span> {$lang->closed_thread}</dd>
						</dl>
					</div>
					<br class="clear" />
				</div>
			</td>
		</tr>
	</table>
	{$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_subscriptions_remove" version="1816"><![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="email_notification">{$lang->update_email_notification}</option>
			<option value="pm_notification">{$lang->update_pm_notification}</option>
		</select>
		{$gobutton}
	</div>
	<div>
		<strong><a href="usercp.php?action=removesubscriptions&amp;my_post_key={$mybb->post_code}">{$lang->remove_all_subscriptions}</a></strong>
	</div>
	</td>
</tr>]]></template>
		<template name="usercp_subscriptions_thread" version="1813"><![CDATA[<tr>
	<td align="center" class="{$bgcolor}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></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="{$mybb->settings['bburl']}/misc.php?action=whoposted&tid={$thread['tid']}" onclick="MyBB.whoPosted({$thread['tid']}); return false;">{$thread['replies']}</a></td>
	<td align="center" class="{$bgcolor}">{$thread['views']}</td>
	<td class="{$bgcolor}" style="white-space: nowrap">
		<span class="smalltext">{$lastpostdate}<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_thread_icon" version="1800"><![CDATA[<img src="{$icon['path']}" alt="{$icon['name']}" title="{$icon['name']}" />]]></template>
		<template name="usercp_themeselector" version="1800"><![CDATA[<select name="{$name}">
<option value="0">{$lang->use_default}</option>
<option value="0">-----------</option>
{$themeselect_option}
</select>]]></template>
		<template name="usercp_themeselector_option" version="1800"><![CDATA[<option value="{$theme['tid']}"{$sel}>{$depth}{$theme['name']}</option>]]></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_joinable" version="1800"><![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->usergroups_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_joinable_usergroup_description" version="1800"><![CDATA[<br /><span class="smalltext">{$usergroup['description']}</span>]]></template>
		<template name="usercp_usergroups_joinable_usergroup_join" version="1800"><![CDATA[<a href="usercp.php?action=usergroups&amp;joingroup={$usergroup['gid']}&amp;my_post_key={$mybb->post_code}">{$lang->join_group}</a>]]></template>
		<template name="usercp_usergroups_joingroup" version="1816"><![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"  maxlength="250" /></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_usergroups_leader" version="1800"><![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->usergroups_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_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_usergroup_memberlist" version="1800"><![CDATA[ [<a href="managegroup.php?gid={$usergroup['gid']}">{$lang->view_members}</a>]]]></template>
		<template name="usercp_usergroups_leader_usergroup_moderaterequests" version="1800"><![CDATA[ [<a href="managegroup.php?action=joinrequests&amp;gid={$usergroup['gid']}">{$lang->view_requests}</a>]]]></template>
		<template name="usercp_usergroups_memberof" version="1800"><![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->usergroups_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="usercp_usergroups_memberof_usergroup" version="1800"><![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_memberof_usergroup_description" version="1800"><![CDATA[<br /><span class="smalltext">{$usergroup['description']}</span>]]></template>
		<template name="usercp_usergroups_memberof_usergroup_display" version="1800"><![CDATA[ ({$lang->display_group})]]></template>
		<template name="usercp_usergroups_memberof_usergroup_leave" version="1800"><![CDATA[<div style="text-align: center;"><a href="usercp.php?action=usergroups&amp;leavegroup={$usergroup['gid']}&amp;my_post_key={$mybb->post_code}">{$lang->usergroup_leave}</a></div>]]></template>
		<template name="usercp_usergroups_memberof_usergroup_leaveleader" version="1800"><![CDATA[<div style="text-align: center;"><span class="smalltext">{$lang->usergroup_leave_leader}</span></div>]]></template>
		<template name="usercp_usergroups_memberof_usergroup_leaveother" version="1800"><![CDATA[<div style="text-align: center;"><span class="smalltext">{$lang->usergroup_cannot_leave}</span></div>]]></template>
		<template name="usercp_usergroups_memberof_usergroup_leaveprimary" version="1800"><![CDATA[<div style="text-align:center;"><span class="smalltext">{$lang->usergroup_leave_primary}</span></div>]]></template>
		<template name="usercp_usergroups_memberof_usergroup_setdisplay" version="1800"><![CDATA[ (<a href="usercp.php?action=usergroups&amp;displaygroup={$usergroup['gid']}&amp;my_post_key={$mybb->post_code}">{$lang->set_as_display_group}</a>)]]></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="usercp_warnings_warning_post" version="1800"><![CDATA[<br /><small>{$lang->warning_for_post} <a href="{$warning['postlink']}">{$warning['post_subject']}</a></small>]]></template>
		<template name="video_metacafe_embed" version="1827"><![CDATA[<iframe src="http://www.metacafe.com/embed/{$id}/" width="440" height="248" allowfullscreen="true" frameborder=0></iframe>]]></template>
		<template name="video_dailymotion_embed" version="1827"><![CDATA[<iframe frameborder="0" width="480" height="270" src="//www.dailymotion.com/embed/video/{$id}" allowfullscreen="true"></iframe>]]></template>
		<template name="video_facebook_embed" version="1800"><![CDATA[<iframe src="https://www.facebook.com/video/embed?video_id={$id}" width="625" height="350" frameborder="0"></iframe>]]></template>
		<template name="video_liveleak_embed" version="1827"><![CDATA[<iframe width="500" height="300" src="https://www.liveleak.com/ll_embed?i={$id}" frameborder="0" allowfullscreen="true"></iframe>]]></template>
		<template name="video_myspacetv_embed" version="1827"><![CDATA[<iframe width="480" height="270" src="//media.myspace.com/play/video/{$id}" frameborder="0" allowtransparency="true" allowfullscreen="true"></iframe>]]></template>
		<template name="video_youtube_embed" version="1827"><![CDATA[<iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/{$id}" frameborder="0" allowfullscreen="true"></iframe>]]></template>
		<template name="video_mixer_embed" version="1818"><![CDATA[<iframe allowfullscreen="true" src="https://mixer.com/embed/player/{$id}?disableLowLatency=1" width="620" height="349"></iframe>]]></template>
		<template name="video_vimeo_embed" version="1827"><![CDATA[<iframe src="//player.vimeo.com/video/{$id}" width="500" height="375" frameborder="0" allowfullscreen="true"></iframe>]]></template>
		<template name="video_yahoo_embed" version="1827"><![CDATA[<iframe width="640" height="360" scrolling="no" frameborder="0" src="//{$local}screen.yahoo.com/{$id}?format=embed" allowfullscreen="true" allowtransparency="true"></iframe>]]></template>
		<template name="video_twitch_embed" version="1831"><![CDATA[<iframe src="https://player.twitch.tv/?{$id}&amp;parent={$bbdomain}&amp;autoplay=false" frameborder="0" scrolling="no" height="378" width="620"></iframe>]]></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_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_postlink" version="1808"><![CDATA[<br /><small>{$lang->warning_for_post} <a href="{$warning['post_link']}#pid{$warning['pid']}">{$warning['post_subject']}</a></small>]]></template>
		<template name="warnings_view" version="1812"><![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->details_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="1812"><![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_revoke" version="1800"><![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 clear">
		<tr>
			<td class="thead" colspan="2"><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" style="width: 20%; vertical-align: top;"><strong>{$lang->reason}</strong></td>
			<td class="trow1"><textarea name="reason" cols="60" rows="4"></textarea></td>
		</tr>
	</table>
	<br />
	<div style="text-align: center;"><input type="submit" class="button" value="{$lang->revoke_warning}" /></div>
</form>]]></template>
		<template name="warnings_view_revoked" version="1800"><![CDATA[<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder clear">
	<tr>
		<td class="thead" colspan="2"><strong>{$lang->warning_is_revoked}</strong></td>
	</tr>
	<tr>
		<td class="tcat" style="width: 50%;"><span class="smalltext"><strong>{$lang->revoked_by}</strong></span></td>
		<td class="tcat"><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->details_reason}</strong></span></td>
	</tr>
	<tr>
		<td class="trow2" colspan="2">{$revoke_reason}</td>
	</tr>
</table>]]></template>
		<template name="warnings_view_user" version="1800"><![CDATA[		<tr>
			<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->details_username}</strong></span></td>
		</tr>
		<tr>
			<td class="trow1" colspan="2">{$user_link}</td>
		</tr>]]></template>
		<template name="warnings_warn" version="1800"><![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 clear">
		<tr>
			<td class="thead" colspan="2"><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 class="trow1" style="width: 20%;"><strong>{$lang->username}</strong></td>
			<td class="trow1">{$user_link}</td>
		</tr>
{$post}
		<tr>
			<td class="trow1" style="width: 20%; vertical-align: top;"><strong>{$lang->warning_note}</strong></td>
			<td class="trow1"><textarea name="notes" cols="60" rows="4">{$notes}</textarea></td>
		</tr>
		<tr>
			<td class="trow2" style="width: 20%; vertical-align: top;"><strong>{$lang->warning_type}</strong></td>
			<td class="trow2">
				<script type="text/javascript">
				// <!--
					function checkType(id)
					{
						var checked = '';

                      $('.types_check').each(function(e, val)
						{
							if($(this).prop('checked') == true)
							{
								checked = $(this).val();
							}
						});
						$('.types').each(function(e)
						{
							$(this).hide();
						});
						if($('#type_'+checked))
						{
							$('#type_'+checked).show();
						}
					}
				// -->
				</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 style="text-align: center;"><input type="submit" class="button" value="{$lang->warn_user}" /></div>
</form>
{$footer}
</body>
</html>]]></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_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_pm" version="1820"><![CDATA[<tr>
			<td width="20%" class="trow1" valign="top">
              	<strong>{$lang->send_pm}</strong>
			</td>
			<td class="trow1">
				<script type="text/javascript">
				// <!--
					function togglePM()
					{
						if($('#send_pm').prop('checked') == true)
						{
							$('#pm_input').show();
							$('#pm_smilie_insert').show();
						}
						else
						{
							$('#pm_input').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>
					{$anonymous_pm}
				</table>
				<script type="text/javascript">
				<!--
				$(function() {
					togglePM();
				});
				// -->
				</script>
			</td>
		</tr>]]></template>
		<template name="warnings_warn_pm_anonymous" version="1800"><![CDATA[<tr>
	<td><strong>{$lang->send_pm_options}</strong></td>
	<td><label><input type="checkbox" class="checkbox" name="pm_anonymous" value="1"{$checked} />&nbsp;{$lang->send_pm_options_anonymous}</label></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="warnings_warn_type" version="1800"><![CDATA[					<dt><label style="display: block;"><input type="radio" name="type" value="{$type['tid']}" {$checked} 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 float_left" style="width: 150px; margin: 0; padding: 1px;">
							<div class="trow1 float_left" style="width: {$current_level}%;">&nbsp;</div>
							<div class="trow2 float_left" style="width: {$level_diff}%;">&nbsp;</div>
						</div>
						<div class="float_left" style="padding-left: 10px; font-weight: bold;">{$new_warning_level}%</div><br style="clear: left;" />
						{$result}
					</dd>]]></template>
		<template name="warnings_warn_type_result" version="1800"><![CDATA[<div class="smalltext" style="clear: left; padding-top: 4px;">{$lang->result}<br />{$new_level['friendly_action']}</div>]]></template>
		<template name="warnings_warning" version="1800"><![CDATA[			<tr>
				<td class="{$alt_bg}">{$warning_type} {$points}{$post_link}</td>
				<td class="{$alt_bg}" style="text-align: center;">{$date_issued}</td>
				<td class="{$alt_bg}" style="text-align: center;">{$expires}</td>
				<td class="{$alt_bg}" style="text-align: center;">{$issuedby}</td>
				<td class="{$alt_bg}" style="text-align: center;"><a href="warnings.php?action=view&amp;wid={$warning['wid']}">{$lang->view}</a></td>
			</tr>]]></template>
		<template name="xmlhttp_buddyselect" version="1809"><![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="javascript:void(0)" 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_offline" version="1800"><![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.png" alt="({$lang->offline})" title="{$lang->offline}" style="vertical-align: middle;" /> {$buddy_name}</label></td>
					</tr>]]></template>
		<template name="xmlhttp_buddyselect_online" version="1800"><![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.png" alt="({$lang->online})" title="{$lang->online}" style="vertical-align: middle;" /> {$buddy_name}</label></td>
					</tr>]]></template>
		<template name="attachment_icon" version="1800"><![CDATA[<img src="{$icon}" title="{$name}" border="0" alt=".{$ext}" />]]></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="codebuttons" version="1837"><![CDATA[<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/sceditor/themes/{$theme['editortheme']}" type="text/css" media="all" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/jquery.sceditor.bbcode.min.js?ver=1832"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/bbcodes_sceditor.js?ver=1837"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/plugins/undo.js?ver=1832"></script>
<script type="text/javascript">
var partialmode = {$mybb->settings['partialmode']},
opt_editor = {
	plugins: "undo",
	format: "bbcode",
	bbcodeTrim: false,
	style: "{$mybb->asset_url}/jscripts/sceditor/styles/jquery.sceditor.{$theme['editortheme']}?ver=1832",
	rtl: {$lang->settings['rtl']},
	locale: "mybblang",
	width: "100%",
	enablePasteFiltering: true,
	autoUpdate: true,
	emoticonsEnabled: {$emoticons_enabled},
	emoticons: {
		// Emoticons to be included in the dropdown
		dropdown: {
			{$dropdownsmilies}
		},
		// Emoticons to be included in the more section
		more: {
			{$moresmilies}
		},
		// Emoticons that are not shown in the dropdown but will still be converted. Can be used for things like aliases
		hidden: {
			{$hiddensmilies}
		}
	},
	emoticonsCompat: true,
	toolbar: "{$basic1}{$align}{$font}{$size}{$color}{$removeformat}{$basic2}image,{$email}{$link}|video{$emoticon}|{$list}{$code}quote|maximize,source",
};
{$editor_language}
$(function() {
	$("#{$bind}").sceditor(opt_editor);

	MyBBEditor = $("#{$bind}").sceditor("instance");
	{$sourcemode}
});
</script>]]></template>
		<template name="contact" version="1827"><![CDATA[<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->contact}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="contact.php" method="post">
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	<input type="hidden" name="from" value="{$redirect_url}" />
	{$errors}
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
		<td class="thead" colspan="2"><strong>{$lang->contact}</strong></td>
		</tr>
		<tr>
		<td class="trow1" valign="top"><strong>{$lang->contact_subject}:</strong><br /><span class="smalltext">{$lang->contact_subject_desc}</span></td>
		<td class="trow1"><input type="text" name="subject" class="textbox" size="49" value="{$contact_subject}" /></td>
		</tr>
		<tr>
		<td class="trow2" valign="top"><strong>{$lang->contact_message}:</strong><br /><span class="smalltext">{$lang->contact_message_desc}</span></td>
		<td class="trow2"><textarea cols="50" rows="10" name="message" class="textarea" >{$contact_message}</textarea></td>
		</tr>
		<tr>
		<td class="trow1" valign="top"><strong>{$lang->contact_email}:</strong><br /><span class="smalltext">{$lang->contact_email_desc}</span></td>
		<td class="trow1"><input type="text" name="email" class="textbox" size="49" value="{$user_email}" /></td>
		</tr>
		{$captcha}
	</table>
	<br />
	<div align="center">
		<input type="submit" class="button" name="submit" value="{$lang->contact_send}" />
	</div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="debug_summary" version="1800"><![CDATA[<div id="debug">{$generated_in} {$debug_weight} <br />{$sql_queries} / {$server_load} / {$memory_usage}<br />[<a href="{$debuglink}" target="_blank">{$lang->debug_advanced_details}</a>]<br /></div>]]></template>
		<template name="gobutton" version="120"><![CDATA[<input type="submit" class="button" value="{$lang->go}" />]]></template>
		<template name="headerinclude" version="1827"><![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->asset_url}/jscripts/jquery.js?ver=1823"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1821"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1827"></script>

{$stylesheets}
<script type="text/javascript">
<!--
	lang.unknown_error = "{$lang->unknown_error}";
	lang.confirm_title = "{$lang->confirm_title}";
	lang.expcol_collapse = "{$lang->expcol_collapse}";
	lang.expcol_expand = "{$lang->expcol_expand}";
	lang.select2_match = "{$lang->select2_match}";
	lang.select2_matches = "{$lang->select2_matches}";
	lang.select2_nomatches = "{$lang->select2_nomatches}";
	lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
	lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
	lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
	lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
	lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
	lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
	lang.select2_loadmore = "{$lang->select2_loadmore}";
	lang.select2_searching = "{$lang->select2_searching}";

	var templates = {
		modal: '{$jsTemplates['modal']}',
		modal_button: '{$jsTemplates['modal_button']}'
	};

	var cookieDomain = "{$mybb->settings['cookiedomain']}";
	var cookiePath = "{$mybb->settings['cookiepath']}";
	var cookiePrefix = "{$mybb->settings['cookieprefix']}";
	var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
	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 rootpath = "{$mybb->settings['bburl']}";
	var imagepath = "{$theme['imgdir']}";
  	var yes_confirm = "{$lang->yes}";
	var no_confirm = "{$lang->no}";
	var MyBBEditor = null;
	var spinner_image = "{$theme['imgdir']}/spinner.gif";
	var spinner = "<img src='" + spinner_image +"' alt='' />";
	var modal_zindex = 9999;
// -->
</script>]]></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="loginbox" version="1609"><![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>]]></template>
		<template name="previewpost" version="1800"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed clear no_bottom_border">
<tr>
<td class="thead"><strong>{$lang->post_preview}</strong></td>
</tr>
<tr>
	<td id="posts_container">
		<div id="posts">
			{$postbit}
		</div>
	</td>
</tr>
</table>
<br />]]></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="sendthread" version="1823"><![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>
{$from_email}
<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>
<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>
{$captcha}
</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" name="submit" value="{$lang->send_thread}" /></div>
</form>
{$footer}
</body>
</html>]]></template>
		<template name="sendthread_fromemail" version="1800"><![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" value="{$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" value="{$fromemail}" /></td>
</tr>]]></template>
		<template name="task_image" version="1800"><![CDATA[<img src="{$mybb->settings['bburl']}/task.php" width="1" height="1" alt="" />]]></template>
		<template name="smilie" version="1800"><![CDATA[<img src="{$smilie['image']}" alt="{$smilie['name']}" title="{$smilie['name']}" class="smilie smilie_{$smilie['sid']}{$extra_class}"{$onclick} />]]></template>
	<template name="delete_attachments_button" version="1827"><![CDATA[
		<div align="center">
						<input type="hidden" name="action" value="do_attachments" />
						<input type="submit" class="button" value="{$lang->delete_attachments}" />
					</div>]]></template>
	</templates>
</theme>
