Send button stops working until you refresh the page.

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
corleoner
New member
New member
Posts: 34
Joined: 01 Feb 2014, 05:52

Send button stops working until you refresh the page.

Post by corleoner »

First off, I'd like to introduce myself to the forum, my name is Nick. I'm a lifelong Oakland Raiders fan (yes I know we suck, we've sucked for 10 years straight now, so give me a little credit for hanging in there this long), and I recently opened a fan forum which has taken off and is doing quite well.

I love this mini chat, I love everything about it, I prefer it over the vbulletin one that I had been used to for so many years.

I have one issue: the "Send" submit button only works on the first submission. After that, you either have to refresh the page, or use the enter key on the keyboard to submit.

I'm using Artodio Helion Theme based on prosilver 3.0.12

I spoke to rmcgirr83 through the phpbb forum and he wasn't sure because he's not accustomed to the theme I'm using.

Does anybody have any ideas on how I could fix this? I have very limited experience with this sort of thing, so please realize you're speaking to a technologically handicapped individual. :sweat:

Here's the overall header which has the jquery info in it. Do you see any flaws or any mistakes that could be causing this issue? If you would like me to include a different file, just let me know which one.

Thanks

Code: Select all

<!DOCTYPE html>
<!--[if lt IE 8]><html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" class="ie oldie ie7"><![endif]-->
<!--[if IE 8]><html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" class="ie oldie"><![endif]-->
<!--[if gt IE 8]><html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" class="ie"><![endif]-->
<!--[if !(IE)]><!--><html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}"><!--<![endif]-->
<head>
	<meta charset="{S_CONTENT_ENCODING}">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	{META}
	<!-- IF S_ENABLE_FEEDS -->
		<!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF -->
		<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
		<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
		<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
		<!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- ENDIF -->
		<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
		<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
	<!-- ENDIF -->
	<title>{SITENAME} - {PAGE_TITLE}</title>
<!--
   phpBB style name:    Artodia Helion
   Based on style:      prosilver (this is the default phpBB3 style)
   Prosilver author:    Tom Beddard ( http://www.subBlue.com/ )
   Helion author:		Vjacheslav Trushkin ( http://www.artodia.com/ )
-->
	<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=latin,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese,cyrillic">
	<link rel="stylesheet" href="{T_STYLESHEET_LINK}">
	<!-- IF S_USER_LANG != 'en-gb' && S_USER_LANG != 'en-us' -->
		<link rel="stylesheet" href="{T_THEME_PATH}/{S_USER_LANG}/translation.css">
	<!-- ENDIF -->
	<!-- INCLUDE config.html -->
	<!-- INCLUDE scripts_header.html -->

<!-- IF S_MCHAT_ENABLE and (S_MCHAT_ON_INDEX or U_MCHAT) -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<!-- ENDIF -->
</head>
<body class="phpbb section-{SCRIPT_NAME}">
<div class="body-wrapper" id="wrap">

<!-- IF $STYLE_HEADER_LOGIN and not S_USER_LOGGED_IN -->
<div class="header-login">
	<div class="popup-trigger">
		<a href="{U_LOGIN_LOGOUT}" class="header-menu menu-login"><span>{L_LOGIN}</span></a>
		<div class="popup">
			<!-- IF S_LOGIN_ACTION -->
				<form action="{S_LOGIN_ACTION}" method="post" id="phpbb-header-login">
				<fieldset>
				<dl>
					<dt>{L_USERNAME}:</dt>
					<dd><input class="inputbox" type="text" name="username" value="" required></dd>
				</dl>
				<dl>
					<dt>{L_PASSWORD}:</dt>
					<dd><input class="inputbox" type="password" name="password" value="" required></dd>
				</dl>
				<!-- IF S_AUTOLOGIN_ENABLED --><p class="nowrap right"><label><input type="checkbox" name="autologin"> {L_LOG_ME_IN}</label></p><!-- ENDIF -->
				<p class="right buttons">
					<input type="hidden" name="login" value="1" />
					<a href="javascriptvoid(0);" onclick="$('#phpbb-header-login').get(0).submit(); return false;" class="icon-login"><span></span>{L_LOGIN}</a>
				</p>
				</fieldset>
				</form>
			<!-- ELSE -->
				<p class="right">
					<a class="button1" href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>
				</p>
			<!-- ENDIF -->
		</div>
	</div>
	<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) -->
		•
		<a href="{U_REGISTER}" class="header-menu menu-register"><span>{L_REGISTER}</span></a>
	<!-- ENDIF -->
</div>
<!-- ENDIF -->

<!-- INCLUDE _top.html -->

<div class="layout-outer">
<div class="forum-wrapper">
<div class="layout-wrapper">

	<!-- INCLUDE _sidebar_left.html -->
	
	<div class="layout-middle page-content">

		<!-- IF S_USER_LOGGED_IN -->
		<p class="time first">
			{LAST_VISIT_DATE}
		</p>
		<p class="time">
			{CURRENT_TIME}
		</p>
		<!-- ENDIF -->

		<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
		<div id="information" class="rules">
			<div class="inner"><span class="corners-top"><span></span></span>
				<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ELSEIF S_USER_LOGGED_IN and (S_USER_NEW_PRIVMSG or S_USER_UNREAD_PRIVMSG) -->
		<div id="information" class="rules">
			<div class="inner"><span class="corners-top"><span></span></span>
				<!-- IF S_USER_NEW_PRIVMSG -->
					<a href="{U_PRIVATEMSGS}"><!-- IF S_USER_NEW_PRIVMSG > 1 -->{L_YOU_NEW_PMS}<!-- ELSE -->{L_YOU_NEW_PM}<!-- ENDIF --></a>
				<!-- ELSE -->
					<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a>
				<!-- ENDIF -->
			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ENDIF -->
steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Send button stops working until you refresh the page.

Post by steve »

<!-- INCLUDE scripts_header.html -->

what's in this file?
Steve ©
corleoner
New member
New member
Posts: 34
Joined: 01 Feb 2014, 05:52

Re: Send button stops working until you refresh the page.

Post by corleoner »

Absolutely, here is the scripts header

Code: Select all

<!-- IF S_JUMPBOX_ACTION and .jumpbox_forums -->
	<!-- DEFINE $JUMPBOX = 1 -->
<!-- ELSEIF .forumrow -->
	<!-- DEFINE $JUMPBOX = 2 -->
<!-- ENDIF -->
<script>

	var phpBB = {
		currentPage: '{$CURRENT_PAGE}',
		themePath: '{T_THEME_PATH}',
		lang: '{S_USER_LANG}'
	};

	var jump_page = '{LA_JUMP_PAGE}:';
	var on_page = '{ON_PAGE}';
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';
	var style_cookie = 'phpBBstyle';
	var style_cookie_settings = '{A_COOKIE_SETTINGS}';
	var onload_functions = new Array();
	var onunload_functions = new Array();

	/**
	* Find a member
	*/
	function find_username(url)
	{
		popup(url, 760, 570, '_usersearch');
		return false;
	}

	/**
	* New function for handling multiple calls to window.onload and window.unload by pentapenguin
	*/
	window.onload = function()
	{
		for (var i = 0; i < onload_functions.length; i++)
		{
			eval(onload_functions[i]);
		}
	};

	window.onunload = function()
	{
		for (var i = 0; i < onunload_functions.length; i++)
		{
			eval(onunload_functions[i]);
		}
	};

</script>
<script src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>

<!-- IF $S_POSTING_JS -->
<script type="text/javascript">
// <![CDATA[
	onload_functions.push('apply_onkeypress_event()');

	var form_name = 'postform';
	var text_name = <!-- IF $SIG_EDIT -->'signature'<!-- ELSE -->'message'<!-- ENDIF -->;
	var load_draft = false;
	var upload = false;

	// Define the bbCode tags
	var bbcode = new Array();
	var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','
','
  • ','
','
  • ','
','[img]','[/img]','','','[flash=]', '[/flash]','[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->);
var imageTag = false;

// Helpline messages
var help_line = {
b: '{LA_BBCODE_B_HELP}',
i: '{LA_BBCODE_I_HELP}',
u: '{LA_BBCODE_U_HELP}',
q: '{LA_BBCODE_Q_HELP}',
c: '{LA_BBCODE_C_HELP}',
l: '{LA_BBCODE_L_HELP}',
o: '{LA_BBCODE_O_HELP}',
p: '{LA_BBCODE_P_HELP}',
w: '{LA_BBCODE_W_HELP}',
a: '{LA_BBCODE_A_HELP}',
s: '{LA_BBCODE_S_HELP}',
f: '{LA_BBCODE_F_HELP}',
y: '{LA_BBCODE_Y_HELP}',
d: '{LA_BBCODE_D_HELP}'
<!-- BEGIN custom_tags -->
,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
<!-- END custom_tags -->
}

var panels = new Array('options-panel', 'attach-panel', 'poll-panel');
var show_panel = 'options-panel';

function change_palette()
{
dE('colour_palette');
e = document.getElementById('colour_palette');

if (e.style.display == 'block')
{
document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}';
}
else
{
document.getElementById('bbpalette').value = '{LA_FONT_COLOR}';
}
}
onload_functions.push('colorPalette(\'h\', 15, 10);');

// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
<!-- ENDIF -->[/code]
steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Send button stops working until you refresh the page.

Post by steve »

LINK to your website with guest access please
Steve ©
corleoner
New member
New member
Posts: 34
Joined: 01 Feb 2014, 05:52

Re: Send button stops working until you refresh the page.

Post by corleoner »

Sure

https://raider-forums.com/index.php

User: guest

Password: Guest100

I appreciate it a ton!! :clap:
steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Send button stops working until you refresh the page.

Post by steve »

From source i can not tell where the error is,i downloaded that style and mchat works as it should with no adjustment too any files...
Steve ©
corleoner
New member
New member
Posts: 34
Joined: 01 Feb 2014, 05:52

Re: Send button stops working until you refresh the page.

Post by corleoner »

Well I appreciate you taking the time to look at it, I guess I'll just keep it as is, I like the mod, so no plans to scrap it, but wish I could find a fix for this.

Could it be any other file possibly?
steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Send button stops working until you refresh the page.

Post by steve »

your missing something in your overall footer file .... work that out and we will try work out ,why mchat want work...
Steve ©
corleoner
New member
New member
Posts: 34
Joined: 01 Feb 2014, 05:52

Re: Send button stops working until you refresh the page.

Post by corleoner »

Here's my overall footer, I haven't the first clue what I would look for. Any clue? What in the footer could be causing a problem?


Code: Select all

<!-- IF not S_IS_BOT -->
<div class="navbar panel navbar-footer panel-outer">{$STYLE_PANEL_START}
	<div class="inner">
	<div class="left">
		<!-- IF SCRIPT_NAME == 'index' && U_MARK_FORUMS -->
			<!-- DEFINE $S_FOOTER_NAV = 1 -->
			<a href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a>
		<!-- ENDIF -->
		<!-- IF S_WATCH_FORUM_LINK -->
			<!-- IF $S_FOOTER_NAV --><span class="bull">•</span><!-- ELSE --><!-- DEFINE $S_FOOTER_NAV = 1 --><!-- ENDIF -->
			<a href="{S_WATCH_FORUM_LINK}">{S_WATCH_FORUM_TITLE}</a>
		<!-- ENDIF -->
		<!-- IF SCRIPT_NAME == 'viewforum' && U_MARK_TOPICS -->
			<!-- IF $S_FOOTER_NAV --><span class="bull">•</span><!-- ELSE --><!-- DEFINE $S_FOOTER_NAV = 1 --><!-- ENDIF -->
			<a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a>
		<!-- ENDIF -->
		<!-- IF U_WATCH_TOPIC -->
			<!-- IF $S_FOOTER_NAV --><span class="bull">•</span><!-- ELSE --><!-- DEFINE $S_FOOTER_NAV = 1 --><!-- ENDIF -->
			<a href="{U_WATCH_TOPIC}">{L_WATCH_TOPIC}</a>
		<!-- ENDIF -->
		<!-- IF U_BOOKMARK_TOPIC -->
			<!-- IF $S_FOOTER_NAV --><span class="bull">•</span><!-- ELSE --><!-- DEFINE $S_FOOTER_NAV = 1 --><!-- ENDIF -->
			<a href="{U_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a>
		<!-- ENDIF -->
		<!-- IF U_BUMP_TOPIC -->
			<!-- IF $S_FOOTER_NAV --><span class="bull">•</span><!-- ELSE --><!-- DEFINE $S_FOOTER_NAV = 1 --><!-- ENDIF -->
			<a href="{U_BUMP_TOPIC}">{L_BUMP_TOPIC}</a>
		<!-- ENDIF -->
		<!-- IF not $S_FOOTER_NAV --><a href="{U_INDEX}">{L_INDEX}</a><!-- ENDIF -->
	</div>
	<!-- IF not S_IS_BOT -->
		<div class="right">
			<a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a>
			<!-- IF U_ACP -->
				<span class="bull">•</span>
				<a href="{U_ACP}">{L_ACP}</a>
			<!-- ENDIF -->
		</div>
	<!-- ENDIF -->
	</div>
{$STYLE_PANEL_END}</div>
<!-- ENDIF -->

	</div><!-- content -->
	
	<!-- INCLUDE _sidebar_right.html -->
	
</div><!-- layout-wrapper -->
</div><!-- forum-wrapper -->


<div class="footer">
	
	<p class="copyright">
		<p align="center">
<a href="https://www.wildcardcorp.com/?utm_source=footer&utm_medium=hostedfooters&utm_campaign=directlink" title="Built by Wildcard" target="_blank">
<img src="//www.wildcardcorp.com/poweredby_wildcard.png"></a></p>
		<p align="center">
<a href="http://www.raiderslinks.com">RAIDERSLINKS</a> | <a href="http://hailredskins.com/MockDraft.htm">hailRedskins Mock Draft Database</a> | <a href="http://www.youtube.com/watch?v=U7QPv_b39IY">Shield On My Chest - Raider Joey [Official Music Video]</a> </p>

		<div class="addthis_toolbox addthis_32x32_style addthis_default_style">
<a class="addthis_button_facebook_follow" addthis:userid="613283328727184 "></a>
<a class="addthis_button_twitter_follow" addthis:userid="forumsraider"></a>
<a class="addthis_button_google_follow" addthis:userid="107296408359913128945"></a>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-52dc10cf3669ab1b"></script></a>
</p>

	<div class="clear"><!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF --></div>
</div>


</div><!-- layout-outer -->
</div><!-- body-wrapper -->

<!-- INCLUDE scripts_footer.html -->


<!-- IF S_JQUERY_TOPIC_PREVIEW -->
	<script type="text/javascript">
		window.jQuery || document.write(unescape('%3Cscript src="{ROOT_PATH}styles/topic_preview_assets/jquery.min.js" type="text/javascript"%3E%3C/script%3E'));
	</script>
	<script src="{ROOT_PATH}styles/topic_preview_assets/topic_preview.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(function(){
			$("dt[title]").topicPreview({
				"dir"   : "{S_CONTENT_DIRECTION}", // do not change
				"theme" : "light", // use "light" or "dark" topic preview theme
				"delay" : 1500, // sets the delay before showing topic previews (in milliseconds)
				"width" : 360, // sets the width of topic previews (in pixels)
				"left"  : 35, // sets the position offset from the left (in pixels)
				"drift" : 15, // sets the amount of vertical animation, use negative values to change direction (in pixels)
				"noavatar" : "{ROOT_PATH}styles/topic_preview_assets/no_avatar.png"
			});
		});
	</script>
<!-- ENDIF -->
</body>
</html>
steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Send button stops working until you refresh the page.

Post by steve »

You have no phpbb copyright :fubar:
Steve ©
corleoner
New member
New member
Posts: 34
Joined: 01 Feb 2014, 05:52

Re: Send button stops working until you refresh the page.

Post by corleoner »

First of all, I did not remove that copyright intentionally. I actually did not set up the forum, I had a friend who is more technologically inclined do it. He may have done it, but probably more logically, I did it unknowingly when I added the links to my file.

Please trust me, I would not remove any copyrights I have no reason to, this is a non-profit site, and as you can see, I never removed the copyrights in the mchat, nor would I ever, you have my word on that.

I found the correct copyrights on the artodia site and I put them back on, please check and you'll see.
steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Send button stops working until you refresh the page.

Post by steve »

Ok will do a search for mchat and jQuery topic preview ... As im on my phone, i don't think that's the problem due to its position in the template files... A good way to start would be too remove any jQuery included files and testing ,ifnot pm me the your style in a zip file i will test..
Steve ©
corleoner
New member
New member
Posts: 34
Joined: 01 Feb 2014, 05:52

Re: Send button stops working until you refresh the page.

Post by corleoner »

steve wrote:Ok will do a search for mchat and jQuery topic preview ... As im on my phone, i don't think that's the problem due to its position in the template files... A good way to start would be too remove any jQuery included files and testing ,ifnot pm me the your style in a zip file i will test..
I probably seem like an idiot, but I don't even know what jquery means. I've never done any sort of coding before, and this site has only been up for 2 months so I haven't garnered the experience necessary to properly take care of the issues.

I'm trying, I really am. I've been doing my best to learn as much as I can, but it's like learning a foreign language to me. I've actually done pretty good considering I'm starting from scratch, and users really seem to like the site, it's grown pretty good and is staying active despite our season being over, so that's a plus. Normally these types of forums go dead this time of year with lack of interest, but we've still got our heads above water, and have faced a lot of sabatoge from a competitor who uses very dirty tactics.

I'll pm you the zip file, and once again, I apologize for the copyright issue, I hope you trust me when I say, that I would not do that intentionally, I actually like the way it looks, it's elegant, I have no issues giving all the creators credit, I absolutely love the phpbb format.
steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Send button stops working until you refresh the page.

Post by steve »

styles/topic_preview_assets/
and pm me this folder
or link to the mod its self to install
as of yet the chat is working fine with your style..
Steve ©
corleoner
New member
New member
Posts: 34
Joined: 01 Feb 2014, 05:52

Re: Send button stops working until you refresh the page.

Post by corleoner »

Hey Steve, hope you found your puppy :D

I don't have that file, this is what I've got for topic preview unless there's a file somewhere that I don't know about in our server that I don't have access to (my buddy set it up and hasn't given me access to the server because I don't know what I'm doing on that end)

Code: Select all

<!-- INCLUDE overall_header.html -->
<h2 class="header"><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2>

<!-- IF MODERATORS --><p><strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}</p><!-- ENDIF -->

<!-- IF S_FORUM_RULES -->
	<div class="rules">
		<div class="inner"><span class="corners-top"><span></span></span>

		<!-- IF U_FORUM_RULES -->
			<a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a>
		<!-- ELSE -->
			<strong>{L_FORUM_RULES}</strong><br />
			{FORUM_RULES}
		<!-- ENDIF -->

		<span class="corners-bottom"><span></span></span></div>
	</div>
<!-- ENDIF -->

<!-- IF S_HAS_SUBFORUM -->
<!-- IF (not S_IS_BOT and U_MARK_FORUMS) or U_MCP -->
<ul class="navbar">
	<li class="rightside">
		<!-- IF U_MCP -->
			<a href="{U_MCP}">{L_MCP}</a>
		<!-- ENDIF -->
		<!-- IF not S_IS_BOT and U_MARK_FORUMS -->
			<!-- IF U_MCP --> <span class="bull">•</span> <!-- ENDIF -->
			<a href="{U_MARK_FORUMS}">{L_MARK_SUBFORUMS_READ}</a>
		<!-- ENDIF -->
	</li>
</ul>
<!-- ENDIF -->
	<!-- INCLUDE forumlist_body.html -->
<!-- ELSEIF U_MCP -->
	<p class="linkmcp"><a href="{U_MCP}">{L_MCP}</a></p>
<!-- ENDIF -->

<!-- IF S_DISPLAY_POST_INFO or PAGINATION or TOTAL_POSTS or TOTAL_TOPICS -->
	<div class="topic-actions" <!-- IF S_HAS_SUBFORUM -->style="margin-top: 2em;"<!-- ENDIF -->>

	<!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO -->
		<div class="buttons">
			<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}"><span></span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a></div>
		</div>
	<!-- ENDIF -->

	<!-- IF S_DISPLAY_SEARCHBOX -->
		<div class="search-box">
			<form method="get" id="forum-search" action="{S_SEARCHBOX_ACTION}">
			<fieldset>
				<input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_FORUM}" onclick="if (this.value == '{LA_SEARCH_FORUM}') this.value = '';" onblur="if (this.value == '') this.value = '{LA_SEARCH_FORUM}';" />
				<input class="button2" type="submit" value="{L_SEARCH}" />
				{S_SEARCH_LOCAL_HIDDEN_FIELDS}
			</fieldset>
			</form>
		</div>
	<!-- ENDIF -->

	<!-- IF PAGINATION or TOTAL_POSTS or TOTAL_TOPICS -->
		<div class="pagination">
			<!-- IF not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}" accesskey="m">{L_MARK_TOPICS_READ}</a> • <!-- ENDIF --><!-- IF TOTAL_TOPICS -->{TOTAL_TOPICS}<!-- ENDIF -->
			<!-- IF PAGE_NUMBER -->
				<!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF -->
			<!-- ENDIF -->
		</div>
	<!-- ENDIF -->

	</div>
<!-- ENDIF -->

<!-- IF S_NO_READ_ACCESS -->

	<div class="panel">
		<div class="inner"><span class="corners-top"><span></span></span>
		<strong>{L_NO_READ_ACCESS}</strong>
		<span class="corners-bottom"><span></span></span></div>
	</div>

	<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->

		<form action="{S_LOGIN_ACTION}" method="post">

		<div class="panel panel-outer">{$STYLE_PANEL_START}
			<div class="inner"><span class="corners-top"><span></span></span>

			<div class="content">
				<h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED -->  •  <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>

				<fieldset class="fields1">
				<dl>
					<dt><label for="username">{L_USERNAME}:</label></dt>
					<dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" /></dd>
				</dl>
				<dl>
					<dt><label for="password">{L_PASSWORD}:</label></dt>
					<dd><input type="password" tabindex="2" id="password" name="password" size="25" class="inputbox autowidth" /></dd>
					<!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="3" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF -->
					<dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="4" /> {L_HIDE_ME}</label></dd>
				</dl>
				<dl>
					<dt> </dt>
					<dd><input type="submit" name="login" tabindex="5" value="{L_LOGIN}" class="button1" /></dd>
				</dl>
				{S_LOGIN_REDIRECT}
				</fieldset>
			</div>

			<span class="corners-bottom"><span></span></span></div>
		{$STYLE_PANEL_END}</div>

		</form>

	<!-- ENDIF -->

<!-- ENDIF -->

<!-- BEGIN topicrow -->

	<!-- IF not topicrow.S_TOPIC_TYPE_SWITCH and not topicrow.S_FIRST_ROW -->
		</ul>
		<span class="corners-bottom"><span></span></span></div>
	</div>
	<!-- ENDIF -->

	<!-- IF topicrow.S_FIRST_ROW or not topicrow.S_TOPIC_TYPE_SWITCH -->
		<div class="forumbg<!-- IF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) --> announcement<!-- ENDIF -->">
		<div class="inner"><span class="corners-top"><span></span></span>
		<ul class="topiclist">
			<li class="header">
				<dl class="icon">
					<dt><!-- IF S_DISPLAY_ACTIVE -->{L_ACTIVE_TOPICS}<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) -->{L_ANNOUNCEMENTS}<!-- ELSE -->{L_TOPICS}<!-- ENDIF --></dt>
					<dd class="posts">{L_REPLIES}</dd>
					<dd class="views">{L_VIEWS}</dd>
					<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
				</dl>
			</li>
		</ul>
		<ul class="topiclist topics">
	<!-- ENDIF -->

		<li class="row row-outer<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_POST_GLOBAL --> global-announce<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF --><!-- IF topicrow.S_UNREAD_TOPIC --> unread<!-- ENDIF -->">{$STYLE_ROW_START}
			<dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
				<dt<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> id="t{topicrow.TOPIC_ID}" title="<!-- IF topicrow.TOPIC_PREVIEW_TEXT -->{topicrow.TOPIC_PREVIEW_TEXT}<!-- ELSE -->{topicrow.TOPIC_FOLDER_IMG_ALT}<!-- ENDIF -->"><!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
					<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}" class="unapproved">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF -->
					<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}" class="reported">{REPORTED_IMG}</a><!-- ENDIF -->
					<br />
					<!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF -->
<!-- IF topicrow.TOPIC_PREVIEW_TEXT and S_JQUERY_TOPIC_PREVIEW -->
					<div id="topic_preview_t{topicrow.TOPIC_ID}" style="display:none;">
						<!-- IF topicrow.TOPIC_PREVIEW_TEXT2 --><strong>{L_FIRST_POST}</strong><hr /><!-- ENDIF -->
						<!-- IF topicrow.TOPIC_PREVIEW_AVATAR --><div class="topic_preview_avatar">{topicrow.TOPIC_PREVIEW_AVATAR}</div><!-- ENDIF -->
						<div class="topic_preview_text_first"></div>
						<!-- IF topicrow.TOPIC_PREVIEW_TEXT2 -->
							<div class="topic_preview_break"></div>
							<strong>{L_LAST_POST}</strong><hr />
							<!-- IF topicrow.TOPIC_PREVIEW_AVATAR2 --><div class="topic_preview_avatar">{topicrow.TOPIC_PREVIEW_AVATAR2}</div><!-- ENDIF -->
							<div class="topic_preview_text_last">{topicrow.TOPIC_PREVIEW_TEXT2}</div>
						<!-- ENDIF -->
					</div>
				<!-- ENDIF -->

					<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF --><span class="by">{L_POST_BY_AUTHOR}</span> {topicrow.TOPIC_AUTHOR_FULL} <span class="bull">»</span> {topicrow.FIRST_POST_TIME}
				</dt>
				<dd class="posts">{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
				<dd class="views">{topicrow.VIEWS} <dfn>{L_VIEWS}</dfn></dd>
				<dd class="lastpost"><span><dfn>{L_LAST_POST}</dfn> <span class="by">{L_POST_BY_AUTHOR}</span> {topicrow.LAST_POST_AUTHOR_FULL}
					<!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{topicrow.LAST_POST_TIME}</span>
				</dd>
			</dl>
			<!-- IF topicrow.TOPIC_PREVIEW_TEXT and S_JQUERY_TOPIC_PREVIEW -->
				<div id="topic_preview_t{topicrow.TOPIC_ID}" style="display:none;">
					<!-- IF topicrow.TOPIC_PREVIEW_TEXT2 --><strong>{L_FIRST_POST}</strong><hr /><!-- ENDIF -->
					<!-- IF topicrow.TOPIC_PREVIEW_AVATAR --><div class="topic_preview_avatar">{topicrow.TOPIC_PREVIEW_AVATAR}</div><!-- ENDIF -->
					<div class="topic_preview_text_first"></div>
					<!-- IF topicrow.TOPIC_PREVIEW_TEXT2 -->
						<div class="topic_preview_break"></div>
						<strong>{L_LAST_POST}</strong><hr />
						<!-- IF topicrow.TOPIC_PREVIEW_AVATAR2 --><div class="topic_preview_avatar">{topicrow.TOPIC_PREVIEW_AVATAR2}</div><!-- ENDIF -->
						<div class="topic_preview_text_last">{topicrow.TOPIC_PREVIEW_TEXT2}</div>
					<!-- ENDIF -->
				</div>
			<!-- ENDIF -->
		{$STYLE_ROW_END}</li>

	<!-- IF topicrow.S_LAST_ROW -->
			</ul>
		<span class="corners-bottom"><span></span></span></div>
	</div>
	<!-- ENDIF -->

<!-- BEGINELSE -->
	<!-- IF S_IS_POSTABLE -->
	<div class="panel panel-outer">{$STYLE_PANEL_START}
		<div class="inner"><span class="corners-top"><span></span></span>
		<strong>{L_NO_TOPICS}</strong>
		<span class="corners-bottom"><span></span></span></div>
	{$STYLE_PANEL_END}</div>
	<!-- ENDIF -->
<!-- END topicrow -->

<!-- IF S_SELECT_SORT_DAYS and not S_DISPLAY_ACTIVE -->
	<form method="post" action="{S_FORUM_ACTION}">
		<fieldset class="display-options">
			<!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF -->
			<!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF -->
	<!-- IF not S_IS_BOT -->
			<label>{L_DISPLAY_TOPICS}: {S_SELECT_SORT_DAYS}</label>
			<label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label>
			<label>{S_SELECT_SORT_DIR} <input type="submit" name="sort" value="{L_GO}" class="button2" /></label>
	<!-- ENDIF -->
		</fieldset>
	</form>
<!-- ENDIF -->

<!-- IF .topicrow and not S_DISPLAY_ACTIVE -->
	<div class="topic-actions">
		<!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO -->
		<div class="buttons">
			<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}"><span></span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a></div>
		</div>
		<!-- ENDIF -->

		<!-- IF PAGINATION or TOTAL_POSTS or TOTAL_TOPICS -->
		<div class="pagination">
			<!-- IF TOTAL_TOPICS and not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a> •  <!-- ENDIF -->
			<!-- IF TOTAL_POSTS and not NEWEST_USER --> {TOTAL_POSTS}<!-- ELSEIF TOTAL_TOPICS and not NEWEST_USER --> {TOTAL_TOPICS}<!-- ENDIF -->
			<!-- IF TOTAL_USERS -->{TOTAL_USERS}<!-- ENDIF -->
			<!-- IF PAGINATION --> •  <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a>
			 •  <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF -->
		</div>
		<!-- ENDIF -->
	</div>
<!-- ENDIF -->

<!-- INCLUDE jumpbox.html -->

<!-- IF U_MCP -->
<!-- IF S_DISPLAY_ONLINE_LIST -->
	<h3><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF --></h3>
	<p>{LOGGED_IN_USER_LIST}</p>
<!-- ENDIF -->
<!-- ENDIF -->

<!-- IF S_DISPLAY_POST_INFO -->
	<h3>{L_FORUM_PERMISSIONS}</h3>
	<p><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></p>
<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->
Post Reply