HEX
Server: Apache/2.4.59 (Debian)
System: Linux skycube.cz 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64
User: ilya (534)
PHP: 7.3.31-1~deb10u7
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/ilya/data/www/irkboard.ru/cache/skin_cache/cacheid_1/skin_forum.php
<?php
/*--------------------------------------------------*/
/* FILE GENERATED BY INVISION POWER BOARD 3         */
/* CACHE FILE: Skin set id: 1               */
/* CACHE FILE: Generated: Wed, 19 Aug 2009 21:44:28 GMT */
/* DO NOT EDIT DIRECTLY - THE CHANGES WILL NOT BE   */
/* WRITTEN TO THE DATABASE AUTOMATICALLY            */
/*--------------------------------------------------*/

class skin_forum_1 {

/**
* Construct
*/
function __construct( ipsRegistry $registry )
{
	/* Make object */
	$this->registry   =  $registry;
	$this->DB         =  $this->registry->DB();
	$this->settings   =& $this->registry->fetchSettings();
	$this->request    =& $this->registry->fetchRequest();
	$this->lang       =  $this->registry->getClass('class_localization');
	$this->member     =  $this->registry->member();
	$this->memberData =& $this->registry->member()->fetchMemberData();
	$this->cache      =  $this->registry->cache();
	$this->caches     =& $this->registry->cache()->fetchCaches();
}
	/* -- forumAttachments --*/
function forumAttachments($title, $rows) {
$IPBHTML = "";

$this->registry->templateStriping['attachies'] = array( FALSE, "row1","row2");
$IPBHTML .= "" . (($this->request['module']=='ajax') ? ("
	<h3>{$this->lang->words['attach_page_title']}: $title</h3>
") : ("
	<h3 class='maintitle'>{$this->lang->words['attach_page_title']}: $title</h3>
")) . "
<table class='ipb_table'>
	<tr class='header'>
		<th>&nbsp;</th>
		<th>{$this->lang->words['attach_title']}</th>
		<th>{$this->lang->words['attach_size']}</th>
		<th>{$this->lang->words['attach_post']}</th>
	</tr>
		".$this->__f__6ac77b350d2f8745708bf2db16745981($title,$rows)."</table>";
return $IPBHTML;
}


function __f__6ac77b350d2f8745708bf2db16745981($title, $rows)
{
	$_ips___x_retval = '';
	foreach( $rows as $data )
	{
		
		$_ips___x_retval .= "
		<tr class='" .  IPSLib::next( $this->registry->templateStriping["attachies"] ) . "' id=\"{$data['attach_id']}\">
		" . (($this->memberData['member_id'] || $this->settings['guests_img']) ? ("<td class=\"altrow short\">
			" . (($data['attach_thumb_location']) ? ("
				<a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=attach&amp;section=attach&amp;attach_rel_module=post&amp;attach_id={$data['attach_id']}", 'public','' ), "", "" ) . "\" title=\"{$data['attach_file']}\"><img src=\"{$this->settings['upload_url']}/{$data['attach_thumb_location']}\" width=\"30\" height=\"30\" /></a>
			") : ("
				<img src=\"{$this->settings['mime_img']}/{$data['image']}\" alt=\"{$this->lang->words['attached_file']}\" />
			")) . "
			</td>") : ("")) . "
			<td>
				<a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=attach&amp;section=attach&amp;attach_rel_module=post&amp;attach_id={$data['attach_id']}", 'public','' ), "", "" ) . "\" title=\"{$data['attach_file']}\">{$data['short_name']}</a><br />
				<span class=\"desc\">( {$this->lang->words['attach_hits']}: {$data['attach_hits']} )<br />( {$this->lang->words['attach_post_date']} {$data['attach_date']} )</span>
			</td>
			<td class=\"altrow short\">{$data['real_size']}</td>
			<td class='short'><a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=forums&amp;section=findpost&amp;pid={$data['pid']}", 'public','' ), "", "" ) . "\" title=\"{$this->lang->words['view_post']}\">{$data['pid']}</a></td>
		</tr>
	
";
	}
	$_ips___x_retval .= '';
	return $_ips___x_retval;
}

/* -- forumAttachmentsAjaxWrapper --*/
function forumAttachmentsAjaxWrapper($output) {
$IPBHTML = "";
$IPBHTML .= "{$output}";
return $IPBHTML;
}

/* -- forumIndexTemplate --*/
function forumIndexTemplate($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1) {
$IPBHTML = "";

$this->registry->templateStriping['forumTable'] = array( FALSE, "row1","row2");
$IPBHTML .= "" . $this->registry->getClass('output')->addJSModule("forums", "0" ) . "
<script type=\"text/javascript\">
//<![CDATA[
	//Search Setup
	ipb.vars['search_type']		= 'forum';
	ipb.vars['search_type_id']	= {$this->request['showforum']};
	ipb.templates['topic_rename'] = new Template(\"<input type='text' id='#{inputid}' value='#{value}' class='input_text' maxlength='{$this->settings['topic_title_max_len']}' /> <input type='submit' value='{$this->lang->words['rename_topic_update']}' class='input_submit' id='#{submitid}' /> <a href='#' id='#{cancelid}' class='cancel' title='{$this->lang->words['cancel']}'>{$this->lang->words['cancel']}</a>\");
	ipb.global.boardMarkers = $H({
		'f_cat_unread': \"" . $this->registry->getClass('output')->getReplacement("f_cat_read") . "\",
		'f_unread': \"" . $this->registry->getClass('output')->getReplacement("f_read") . "\",
		'f_pass_unread': \"" . $this->registry->getClass('output')->getReplacement("f_pass_read") . "\"
	});
	var markerURL = \"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&module=ajax&section=markasread&secure_hash={$this->member->form_hash}&forumid=", 'public','' ), "", "" ) . "\"; // Ajax URL so don't use &amp;
//]]>
</script>

" . (($forum_data['show_rules'] == 2) ? ("
<div class='message unspecific forum_rules'>
<h3>{$forum_data['rules_title']}</h3>
{$forum_data['rules_text']}
</div>
") : ("")) . "
" . (($forum_data['show_rules'] == 1) ? ("
<div class='message unspecific forum_rules'>
	<a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=forums&amp;section=rules&amp;f={$forum_data['id']}", 'public','' ), "", "" ) . "' title='{$this->lang->words['view_forum_rules']}'><strong>{$forum_data['rules_title']}</strong></a>
</div>
") : ("")) . "
<!-- __-SUBFORUMS-__ -->
" . ((is_array( $sub_forum_data ) AND count( $sub_forum_data )) ? ("
	<div class='category_block block_wrap'>
		<h3 class='maintitle'>{$data['name']} {$this->lang->words['sub_forum_title']}</h3>
		<table class='ipb_table' summary=\"{$this->lang->words['cat_subforums']} '{$data['name']}'\">
			<tr class='header'>
				<th scope='col' class='col_c_icon'>&nbsp;</th>
				<th scope='col' class='col_c_forum'>{$this->lang->words['cat_name']}</th>
				<th scope='col' class='col_c_stats stats'>{$this->lang->words['forum_stats']}</th>
				<th scope='col' class='col_c_post'>{$this->lang->words['last_post_info']}</th>
			</tr>
			<!-- / CAT HEADER -->
			
			".$this->__f__13c93bb1db4a654932178557ed9fae39($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum)."		</table>
	</div>
	<br />
") : ("")) . "
" . (($forum_data['sub_can_post']) ? ("<div class='topic_controls'>
		{$forum_data['SHOW_PAGES']}
	
			<ul class='topic_buttons'>
				" . (($forum_data['_user_can_post']) ? ("
					<li><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "module=post&amp;section=post&amp;do=new_post&amp;f={$forum_data['id']}", 'publicWithApp','' ), "", "" ) . "' title='{$this->lang->words['topic_start']}' accesskey='s'><img src='{$this->settings['img_url']}/page_white_add.png' alt='{$this->lang->words['topic_start']}' /> {$this->lang->words['topic_start']}</a></li>
				") : ("
					<li class='disabled'><span>{$this->lang->words['forum_no_start_topic']}</span></li>
				")) . "
				" . (($this->memberData['member_id']) ? ("" . (($this->settings['cpu_watch_update'] AND ( is_array( $this->memberData['_cache'] ) AND is_array( $this->memberData['_cache']['watchedForums'] ) AND in_array( $forum_data['id'], $this->memberData['_cache']['watchedForums'] ) )) ? ("
						<li><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=usercp&amp;tab=forums&amp;area=updateWatchForums&amp;do=saveIt&amp;authKey={$this->member->form_hash}&amp;forumIDs[{$forum_data['id']}]=1&amp;trackchoice=unsubscribe&amp;forumReturn={$forum_data['id']}", 'public','' ), "", "" ) . "' title='{$this->lang->words['ft_title']}'>" . $this->registry->getClass('output')->getReplacement("watch_forum_on") . " {$this->lang->words['ft_title_stop']}</a></li>
					") : ("
						<li><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=usercp&amp;tab=forums&amp;area=watch&amp;do=watch&amp;watch=forum&amp;fid={$forum_data['id']}", 'public','' ), "", "" ) . "' title='{$this->lang->words['ft_title']}'>" . $this->registry->getClass('output')->getReplacement("watch_forum_off") . " {$this->lang->words['ft_title']}</a></li>
					")) . "") : ("")) . "
			</ul>
	</div>
	<div class='category_block block_wrap'>
		<table class='ipb_table topic_list' summary='{$this->lang->words['forum_topic_list']} \"{$forum_data['name']}\"' id='forum_table'>
			<caption class='maintitle'>
				<span class='main_forum_title'>{$forum_data['name']}</span><span class='desc'><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=forums&amp;section=markasread&amp;marktype=forum&amp;forumid={$forum_data['id']}&amp;returntoforumid={$forum_data['id']}", 'public','' ), "", "" ) . "' title='{$this->lang->words['mark_as_read']}'>({$this->lang->words['mark_as_read']})</a></span></caption>
			<tr class='header'>
				<th scope='col' class='col_f_icon'>&nbsp;</th>
				<th scope='col' class='col_f_topic'>{$this->lang->words['forum_topic']}</th>
				<th scope='col' class='col_f_starter short'>{$this->lang->words['forum_started_by']}</th>
				<th scope='col' class='col_f_views stats'>{$this->lang->words['forum_stats']}</th>
				<th scope='col' class='col_f_post'>{$this->lang->words['forum_last_post_info']}</th>
				" . (($this->memberData['is_mod'] == 1) ? ("
					<th scope='col' class='col_f_mod short'><input type='checkbox' id='tmod_all' class='input_check' title='{$this->lang->words['topic_select_all']}' value='1' /></th>
				") : ("")) . "
			</tr>	
			<!-- ANNOUNCEMENTS -->
			" . ((is_array( $announce_data ) AND count( $announce_data )) ? ("".$this->__f__1e6aeb3abe66827732bee873d8d9adfd($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum)."				<tr class='subhead altbar'>
					<th scope='col' colspan='" . (($this->memberData['is_mod'] == 1) ? ("6") : ("5")) . "'>
						{$this->lang->words['forum_topic_list']}
					</th>
				</tr>") : ("")) . "
			<!-- BEGIN TOPICS -->
			" . ((is_array( $topic_data ) AND count( $topic_data )) ? ("
								".$this->__f__d71082e185a622629e553d163f49b362($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum)."			") : ("<tr> 
					" . (($this->memberData['is_mod'] == 1) ? ("
						<td colspan='7' class='no_messages'>
					") : ("
						<td colspan='6' class='no_messages'>
					")) . "
						{$this->lang->words['no_topics']}
					</td>
				</tr>")) . "
		</table>
		" . (($this->memberData['is_mod'] == 1) ? ("<div id='topic_mod' class='moderation_bar rounded with_action clear'>
				<!-- SKINNOTE: Check delete -->
				<form id='modform' method=\"post\" action=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "", 'public','' ), "", "" ) . "\">
					<fieldset>
						<input type=\"hidden\" name=\"app\" value=\"forums\" />
						<input type=\"hidden\" name=\"module\" value=\"moderate\" />
						<input type=\"hidden\" name=\"section\" value=\"moderate\" />
						<input type=\"hidden\" name=\"do\" value=\"topicchoice\" />
						<input type=\"hidden\" name=\"st\" value=\"{$this->request['st']}\" />
						<input type=\"hidden\" name=\"f\" value=\"{$forum_data['id']}\" />
						<input type=\"hidden\" name=\"auth_key\" value=\"{$this->member->form_hash}\" />
						<input type=\"hidden\" name=\"modfilter\" value=\"{$this->request['modfilter']}\" />
						<input type=\"hidden\" value=\"{$this->request['selectedtids']}\" id='selectedtids' name=\"selectedtids\" />
					
						<input type='button' id='forum_mod_options' value='{$this->lang->words['forum_management']}' class='input_submit alt left ipbmenu' />
						<ul class='ipbmenu_content' id='forum_mod_options_menucontent'>
							<li><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=moderate&amp;section=moderate&amp;do=prune_start&amp;f={$forum_data['id']}&amp;auth_key={$this->member->form_hash}", 'public','' ), "", "" ) . "' title='{$this->lang->words['mod_prumemovetopics']}'>{$this->lang->words['mod_prumemovetopics']}</a></li>
							<li><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=moderate&amp;section=moderate&amp;do=resync&amp;f={$forum_data['id']}&amp;auth_key={$this->member->form_hash}", 'public','' ), "", "" ) . "' title='{$this->lang->words['mod_resync']}'>{$this->lang->words['mod_resync']}</a></li>
							<li><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showforum={$forum_data['id']}&amp;modfilter=invisible_topics", 'public','' ), "{$forum_data['name_seo']}", "showforum" ) . "' title='{$this->lang->words['mod_hidden']}'>{$this->lang->words['mod_hidden']}</a></li>
							<li><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showforum={$forum_data['id']}&amp;modfilter=invisible_posts", 'public','' ), "{$forum_data['name_seo']}", "showforum" ) . "' title='{$this->lang->words['mod_hidden_posts']}'>{$this->lang->words['mod_hidden_posts']}</a></li>
						</ul>
					
						<select name=\"tact\" id='mod_tact'>
							<option value=\"close\">{$this->lang->words['cpt_close']}</option>
							<option value=\"open\">{$this->lang->words['cpt_open']}</option>
							<option value=\"pin\">{$this->lang->words['cpt_pin']}</option>
							<option value=\"unpin\">{$this->lang->words['cpt_unpin']}</option>
							<option value=\"move\">{$this->lang->words['cpt_move']}</option>
							<option value=\"merge\">{$this->lang->words['cpt_merge']}</option>
							<option value=\"delete\">{$this->lang->words['cpt_delete']}</option>
							<option value=\"approve\">{$this->lang->words['cpt_approve']}</option>
							<option value=\"unapprove\">{$this->lang->words['cpt_unapprove']}</option>
							" . ((is_array( $multi_mod_data ) AND count( $multi_mod_data )) ? ("
								<option value=\"-1\">------------------------------</option>
								<option value=\"-1\">{$this->lang->words['mm_title']}</option>
								<option value=\"-1\">------------------------------</option>
								".$this->__f__c5f33389013e41719eb033d4cf67bc8e($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum)."							") : ("")) . "
						</select>&nbsp;
						<input type=\"submit\" name=\"gobutton\" value=\"{$this->lang->words['f_go']}\" class=\"input_submit alt\" id='mod_submit' />
					</fieldset>
				</form>
				<script type='text/javascript'>
					$('modform').observe('submit', ipb.forums.submitModForm);
				</script>
			</div>") : ("")) . "
		<div id='forum_filter' class='filter_bar rounded'>
			<span id='show_filters' class='clickable' style='display: none'>{$this->lang->words['filter_options']}</span>
			<form id='filter_form' action=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;changefilters=1", 'public','' ), "{$forum_data['name_seo']}", "showforum" ) . "\" method=\"post\">
				<fieldset>
					<label for='topic_filter'>{$this->lang->words['filter_type']}</label> <select name=\"topicfilter\" id='topic_filter' class='input_select'>{$footer_filter['topic_filter']}</select>
					<label for='sort_by'>{$this->lang->words['filter_sort']}</label> <select name=\"sort_key\" id='sort_by' class='input_select'>{$footer_filter['sort_by']}</select>
					<label for='direction'>{$this->lang->words['filter_direction']}</label> <select name=\"sort_by\" id='direction' class='input_select'>{$footer_filter['sort_order']}</select>
					<label for='time_frame'>{$this->lang->words['filter_time']}</label> <select name=\"prune_day\" id='time_frame' class='input_select'>{$footer_filter['sort_prune']}</select>
					<input type='checkbox' value='1' name='remember' class='input_check' id='remember_filter' /> <label for='remember_filter'>{$this->lang->words['remember_options']}</label>
					<input type=\"submit\" value=\"{$this->lang->words['sort_submit']}\" class=\"input_submit alt\" />
				</fieldset>
			</form>
			<script type='text/javascript'>
				if( $('filter_form' ) ){
					$('filter_form').hide();
					$('show_filters').show();
				}
			</script>
		</div>
		<div class='moderation_bar rounded'>
			<form method='post' action='{$this->settings['base_url']}app=core&amp;module=search&amp;do=quick_search&amp;search_filter_app[forums]=1' id='context_search' class='left'>
				<fieldset>
					<input type='hidden' name='type' value='forum' />
					<input type='hidden' name='type_id' value='{$forum_data['id']}' />
					<label for='forum_search'>{$this->lang->words['search_forum']}</label>
					<input type='text' id='forum_search' name='search_term' class='input_text' size='20' tabindex='8' />
					<input type='submit' class='input_submit alt' value='{$this->lang->words['jmp_go']}' />
				</fieldset>
			</form>
			" . (($forum_data['FORUM_JUMP']) ? ("
				{$forum_data['FORUM_JUMP']}
			") : ("")) . "
		</div>
	</div>
	
	
	
	<div class='topic_controls'>
		{$forum_data['SHOW_PAGES']}
	
		<ul class='topic_buttons'>
			" . (($forum_data['_user_can_post']) ? ("
				<li><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "module=post&amp;section=post&amp;do=new_post&amp;f={$forum_data['id']}", 'publicWithApp','' ), "", "" ) . "'><img src='{$this->settings['img_url']}/page_white_add.png' alt='{$this->lang->words['topic_start']} Icon' /> {$this->lang->words['topic_start']}</a></li>
			") : ("
				<li class='disabled'><span>{$this->lang->words['forum_no_start_topic']}</span></li>
			")) . "
		</ul>
	</div>
	
	
	<div id='forum_footer' class='statistics general_box clear clearfix'>
		<div id='forum_legend' class='right'>
			<h2>{$this->lang->words['forum_legend']}</h2>
			<dl>
				<dt class='clear'>" . $this->registry->getClass('output')->getReplacement("t_unread") . "</dt>
				<dd>{$this->lang->words['pm_open_new']}</dd>
				<dt>" . $this->registry->getClass('output')->getReplacement("t_read") . "</dt>
				<dd>{$this->lang->words['pm_open_no']}</dd>
				<dt class='clear'>" . $this->registry->getClass('output')->getReplacement("t_hot_unread") . "</dt>
				<dd>{$this->lang->words['pm_hot_new']}</dd>
				<dt>" . $this->registry->getClass('output')->getReplacement("t_hot_read") . "</dt>
				<dd>{$this->lang->words['pm_hot_no']}</dd>
				<dt class='clear'>" . $this->registry->getClass('output')->getReplacement("t_poll_unread") . "</dt>
				<dd>{$this->lang->words['pm_poll']}</dd>
				<dt>" . $this->registry->getClass('output')->getReplacement("t_poll_read") . "</dt>
				<dd>{$this->lang->words['pm_poll_no']}</dd>
				<dt class='clear'>" . $this->registry->getClass('output')->getReplacement("t_closed") . "</dt>
				<dd>{$this->lang->words['pm_locked']}</dd>
				<dt>" . $this->registry->getClass('output')->getReplacement("t_moved") . "</dt>
				<dd>{$this->lang->words['pm_moved']}</dd>
			</dl>
		</div>				
		" . ((!$this->settings['no_au_forum']) ? ("<div id='forum_active_users' class='active_users stats_list'>
				<h2>
					" . sprintf( $this->lang->words['active_users_title'], ($active_user_data['members'] + $active_user_data['guests'] + $active_user_data['anon'] ) ) . "<br />
					<span class='desc'>" . sprintf( $this->lang->words['active_users_detail'], $active_user_data['members'], $active_user_data['guests'], $active_user_data['anon'] ) . "</span>
				</h2>
				<ul>
					" . ((is_array( $active_user_data['names'] ) AND count( $active_user_data['names'] )) ? ("
						".$this->__f__fe8e87aa64b45205858a22fef05ba9fc($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum)."					") : ("")) . "
				</ul>
			</div>") : ("")) . "
		" . ((is_array( $mod_data ) AND count( $mod_data )) ? ("
			<div id='forum_led_by' class='active_users stats_list'>
				<h2>{$this->lang->words['forum_led_by']}</h2>
				<ul>
					".$this->__f__16f825e5cb1ff96199ccd5eebbb4d3b2($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum)."				</ul>
			</div>
		") : ("")) . "
	</div>
	<br class='clear' />") : ("")) . "";
return $IPBHTML;
}


function __f__27fed11e6496fb84d367dfd68e031721($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1,$_data='',$forum_id='',$forum_data='')
{
	$_ips___x_retval = '';
	foreach( $forum_data['subforums'] as $__id => $__data )
	{
		
		$_ips___x_retval .= "
											" . (($__data[3]) ? ("<li class='newposts'>") : ("<li>")) . "<a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showforum={$__data[0]}", 'public','' ), "{$__data[2]}", "showforum" ) . "\" title='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a></li>
										
";
	}
	$_ips___x_retval .= '';
	return $_ips___x_retval;
}

function __f__1afa32ea093306678ab8d2e3ad0ba6f4($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1,$_data='')
{
	$_ips___x_retval = '';
	foreach( $_data['forum_data'] as $forum_id => $forum_data )
	{
		
		$_ips___x_retval .= "
						" . (($forum_data['redirect_on']) ? ("
							<tr class='" .  IPSLib::next( $this->registry->templateStriping["catTable"] ) . " redirect_forum'>
								<td class='altrow'>" . $this->registry->getClass('output')->getReplacement("f_redirect") . "</td>
								<td>
									<h4><a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showforum={$forum_data['id']}", 'public','' ), "{$forum_data['name_seo']}", "showforum" ) . "\" title='{$this->lang->words['goto_forum']}'>{$forum_data['name']}</a></h4>
									<p class='desc'>{$forum_data['description']}</p>
								</td>
								<td colspan='2'>
									{$this->lang->words['rd_hits']}: {$forum_data['redirect_hits']}
								</td>
							</tr>
						") : ("<tr class='" .  IPSLib::next( $this->registry->templateStriping["catTable"] ) . "'>
								<td class='altrow'>
									<a id='forum_img_{$forum_data['id']}' href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=forums&amp;section=markasread&amp;marktype=forum&amp;forumid={$forum_data['id']}&amp;returntoforumid={$this->request['f']}", 'public','' ), "", "" ) . "\" title=\"{$this->lang->words['bi_markread']}\" class='forum_marker'>" . $this->registry->getClass('output')->getReplacement("{$forum_data['img_new_post']}") . "</a>
									
									<script type='text/javascript'>
										ipb.global.registerMarker( 'forum_img_{$forum_data['id']}', \"{$forum_data['img_new_post']}\", markerURL + \"{$forum_data['id']}\" );
									</script>
								</td>
								<td>
									<h4><a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showforum={$forum_data['id']}", 'public','' ), "{$forum_data['name_seo']}", "showforum" ) . "\" title='{$this->lang->words['goto_forum']}'>{$forum_data['name']}</a></h4>
									<p class='desc'>{$forum_data['description']}</p>
							
									" . (($forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums']) ? ("
										<h5 class='hide'>{$this->lang->words['subforums']}</h5>
										<ol class='subforums'>
										".$this->__f__27fed11e6496fb84d367dfd68e031721($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum,$_data,$forum_id,$forum_data)."										</ol>
									") : ("")) . "
									<!-- Skinnote: Clean up queued stuff -->
									" . (($forum_data['_has_queued_and_can_see_icon']) ? ("
										<em class='moderated'><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showforum={$forum_data['id']}&amp;modfilter=all", 'public','' ), "{$forum_data['name_seo']}", "showforum" ) . "' title='{$this->lang->words['view_unapproved']}'>" . sprintf( $this->lang->words['f_queued'], $forum_data['queued_topics'], $forum_data['queued_posts']) . "</a></em>
									") : ("")) . "
								</td>
								<td class='altrow stats'>
									<ul>
										<li>{$forum_data['topics']} {$this->lang->words['topics']}</li>
										<li>{$forum_data['posts']} {$this->lang->words['replies']}</li>
									</ul>
								</td>
								<td>
									<ul class='last_post'>
										" . (($forum_data['hide_last_info']) ? ("
											<li>{$this->lang->words['f_protected']}</li>
										") : ("<li><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$forum_data['last_id']}&amp;view=getlastpost", 'public','' ), "{$forum_data['seo_last_title']}", "showtopic" ) . "' title='{$this->lang->words['view_last_post']}'>" . $this->registry->getClass('output')->getReplacement("f_lastpost") . "</a> <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$forum_data['last_id']}&amp;view=getlastpost", 'public','' ), "{$forum_data['seo_last_title']}", "showtopic" ) . "' title='{$this->lang->words['view_last_post']}'>{$forum_data['last_post']}</a></li>
											<li><strong>{$this->lang->words['in_last_topic']}</strong> {$forum_data['last_topic_title']}</li>
											<li>
												<strong>{$this->lang->words['forum_by']}</strong>
												" . ((isset($forum_data['last_poster_name']) AND $forum_data['last_poster_name']) ? ("" . (($forum_data['last_poster_id']) ? ("
														<a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$forum_data['last_poster_id']}", 'public','' ), "{$forum_data['seo_last_name']}", "showuser" ) . "'>{$forum_data['last_poster_name']}</a>" . $this->registry->getClass('output')->getTemplate('global')->user_popup($forum_data['last_poster_id'],$forum_data['seo_last_name']) . "
													") : ("
														{$this->settings['guest_name_pre']}{$forum_data['last_poster_name']}{$this->settings['guest_name_suf']}
													")) . "") : ("
													{$this->lang->words['f_none']}
												")) . "
											</li>")) . "
									</ul>
								</td>
							</tr>")) . "
					
";
	}
	$_ips___x_retval .= '';
	return $_ips___x_retval;
}

function __f__13c93bb1db4a654932178557ed9fae39($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1)
{
	$_ips___x_retval = '';
	foreach( $sub_forum_data as $_data )
	{
		
$this->registry->templateStriping['catTable'] = array( FALSE, "row1","row2");

		$_ips___x_retval .= "
				" . ((is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )) ? ("
										".$this->__f__1afa32ea093306678ab8d2e3ad0ba6f4($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum,$_data)."				") : ("")) . "
			
";
	}
	$_ips___x_retval .= '';
	return $_ips___x_retval;
}

function __f__1e6aeb3abe66827732bee873d8d9adfd($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1)
{
	$_ips___x_retval = '';
	foreach( $announce_data as $aid => $adata )
	{
		
		$_ips___x_retval .= "
					<tr class='row2 announcement' id='arow_{$adata['announce_id']}'>
						<td class='short altrow'>" . $this->registry->getClass('output')->getReplacement("t_announcement") . "</td>
							" . (($this->memberData['is_mod'] == 1) ? ("
								<td colspan='5'>
							") : ("
								<td colspan='4'>
							")) . "
							<span class='topic_prefix'>{$this->lang->words['announce_row']}</span>&nbsp;
							<a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showannouncement={$adata['announce_id']}&amp;f={$forum_data['id']}", 'public','' ), "%%{$adata['announce_title']}%%", "showannouncement" ) . "\" title='{$this->lang->words['view_announcement']}'>{$adata['announce_title']}</a><br />
							<span class='desc'>{$this->lang->words['posted_by']} <strong><a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$adata['member_id']}", 'public','' ), "{$adata['members_seo_name']}", "showuser" ) . "\" title='{$this->lang->words['view_profile']}'>{$adata['member_name']}</a> " . $this->registry->getClass('output')->getTemplate('global')->user_popup($adata['member_id'], $adata['members_seo_name']) . "</strong>
								" . (($adata['announce_start'] AND $adata['announce_start'] != '--') ? (", {$adata['announce_start']}") : ("")) . "
							</span>
						</td>
					</tr>
				
";
	}
	$_ips___x_retval .= '';
	return $_ips___x_retval;
}

function __f__d0cdc1bd5f3464eb3efa52b75ca75059($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1,$tid='',$data='')
{
	$_ips___x_retval = '';
	foreach( $data['pages'] as $page )
	{
		
		$_ips___x_retval .= "
										" . (($page['last']) ? ("
											<li><a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$data['tid']}&amp;st={$page['st']}", 'public','' ), "{$data['title_seo']}", "showtopic" ) . "\" title='{$this->lang->words['topic_goto_page']} {$page['page']}'>{$page['page']} &rarr;</a></li>
										") : ("
											<li><a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$data['tid']}&amp;st={$page['st']}", 'public','' ), "{$data['title_seo']}", "showtopic" ) . "\" title='{$this->lang->words['topic_goto_page']} {$page['page']}'>{$page['page']}</a></li>
										")) . "
								
";
	}
	$_ips___x_retval .= '';
	return $_ips___x_retval;
}

function __f__d71082e185a622629e553d163f49b362($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1)
{
	$_ips___x_retval = '';
	foreach( $topic_data as $tid => $data )
	{
		
		$_ips___x_retval .= "
					" . (($this->memberData['is_mod'] AND ! $data['approved']) ? ("
					<tr class='" .  IPSLib::next( $this->registry->templateStriping["forumTable"] ) . " moderated' id='trow_{$data['tid']}'>
					") : ("
					<tr class='" .  IPSLib::next( $this->registry->templateStriping["forumTable"] ) . "' id='trow_{$data['tid']}'>
					")) . "
						<td class='short altrow'>" . $this->registry->getClass('output')->getReplacement("{$data['folder_img']}") . "</td>
						<td " . (($this->memberData['is_mod'] == 1) ? ("class='with_mod_links'") : ("")) . ">
							" . (($this->memberData['is_mod'] == 1) ? ("<ul class='topic_moderation right rounded'>
									<li class='t_rename'><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data['id']}&amp;t={$data['tid']}&amp;auth_key={$this->member->form_hash}&amp;do=05", 'public','' ), "", "" ) . "' title='{$this->lang->words['topic_rename']}'><img src='{$this->settings['img_url']}/textfield_rename.png' alt='{$this->lang->words['topic_rename']}' title='{$this->lang->words['topic_rename']}' /></a></li>
									<li class='t_delete'><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data['id']}&amp;st={$this->request['st']}&amp;t={$data['real_tid']}&amp;auth_key={$this->member->form_hash}&amp;do=03", 'public','' ), "", "" ) . "' title='{$this->lang->words['topic_delete']}'><img src='{$this->settings['img_url']}/delete.png' alt='{$this->lang->words['topic_delete']}' title='{$this->lang->words['topic_delete']}' /></a></li>
								" . (($data['state'] != 'link') ? ("" . (($data['pinned']) ? ("
										<li class='t_pin'><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data['id']}&amp;t={$data['tid']}&amp;st={$this->request['st']}&amp;auth_key={$this->member->form_hash}&amp;do=16&amp;from=forum", 'public','' ), "", "" ) . "' title='{$this->lang->words['topic_unpin']}'><img src='{$this->settings['img_url']}/award_delete.png' alt='{$this->lang->words['topic_unpin']} icon' title='{$this->lang->words['topic_unpin']}' /></a></li>
									") : ("
										<li class='t_pin'><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data['id']}&amp;t={$data['tid']}&amp;st={$this->request['st']}&amp;auth_key={$this->member->form_hash}&amp;do=15&amp;from=forum", 'public','' ), "", "" ) . "' title='{$this->lang->words['topic_pin']}'><img src='{$this->settings['img_url']}/award.png' alt='{$this->lang->words['topic_pin']} icon' title='{$this->lang->words['topic_pin']}' /></a></li>
									")) . "") : ("")) . "
								" . (($data['state'] == 'closed' && $other_data['can_open_topics']) ? ("
									<li class='t_lock'><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data['id']}&amp;t={$data['tid']}&amp;st={$this->request['st']}&amp;auth_key={$this->member->form_hash}&amp;do=01", 'public','' ), "", "" ) . "' title='{$this->lang->words['topic_open']}'><img src='{$this->settings['img_url']}/lock_open.png' alt='{$this->lang->words['topic_open']} icon' title='{$this->lang->words['topic_open']}' /></a></li>
								") : ("")) . "
								" . (($data['state'] == 'open' && $other_data['can_close_topics']) ? ("
									<li class='t_lock'><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum_data['id']}&amp;t={$data['tid']}&amp;st={$this->request['st']}&amp;auth_key={$this->member->form_hash}&amp;do=00", 'public','' ), "", "" ) . "' title='{$this->lang->words['topic_close']}'><img src='{$this->settings['img_url']}/lock.png' alt='{$this->lang->words['topic_close']} icon' title='{$this->lang->words['topic_close']}' /></a></li>
								") : ("")) . "
								</ul>") : ("")) . "
							{$data['prefix']}
							" . ((isset( $this->memberData['_cache']['report_temp']['post_marker']['topic'][$data['tid']]['gfx'] ) AND $this->memberData['_cache']['report_temp']['post_marker']['topic'][$data['tid']]['gfx'] > 0) ? ("
								<a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&amp;module=reports&amp;section=reports&amp;do=findfirst&amp;tid={$data['tid']}&amp;cid={$this->memberData['_cache']['report_temp']['post_marker']['topic'][$data['tid']]['info']['com_id']}", 'public','' ), "", "" ) . "\"> <img src=\"{$this->settings['img_url']}/reports/post_alert_{$this->memberData['_cache']['report_temp']['post_marker']['topic'][$data['tid']]['gfx']}.png\" alt='{$this->lang->words['icon']}' title='{$this->lang->words['view_reported_posts']}' /> </a>
							") : ("")) . "
							" . (($data['go_new_post'] === true) ? ("<a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$data['tid']}&amp;view=getnewpost", 'public','' ), "{$data['title_seo']}", "showtopic" ) . "' title='{$this->lang->words['first_unread_post']}'>" . $this->registry->getClass('output')->getReplacement("f_newpost") . "</a>") : ("")) . " 
							" . (($data['topic_hasattach']) ? ("
								<!-- SKINNOTE: This is the link for the attachments popup  -->
								<a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=forums&amp;section=attach&amp;tid={$data['tid']}", 'public','' ), "", "" ) . "\" title=\"" . intval($data['topic_hasattach']) . " {$this->lang->words['topic_attach']}\" onclick=\"return ipb.forums.retrieveAttachments( {$data['tid']} );\">" . $this->registry->getClass('output')->getReplacement("t_attach") . "</a>
							") : ("")) . "
							" . ((! empty($data['trackingTopic'])) ? ("" . $this->registry->getClass('output')->getReplacement("watch_small") . "") : ("")) . "
							<a id=\"tid-link-{$data['tid']}\" href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$data['tid']}", 'public','' ), "{$data['title_seo']}", "showtopic" ) . "\" title='View topic, started on {$data['start_date']}' class='topic_title'>{$data['title']}</a>
							{$data['_rate_img']}
							" . ((isset( $data['pages'] ) AND is_array( $data['pages'] ) AND count( $data['pages'] )) ? ("
								<ul class='mini_pagination'>
								".$this->__f__d0cdc1bd5f3464eb3efa52b75ca75059($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum,$tid,$data)."								</ul>
							") : ("")) . "
							" . (($data['description']) ? ("<br /><span class='desc'>{$data['description']}</span>") : ("")) . "
							
						</td>
						<td class='short altrow'>{$data['starter']}" . $this->registry->getClass('output')->getTemplate('global')->user_popup($data['starter_id'], $data['seo_first_name']) . "</td>
					" . (($this->memberData['is_mod'] AND $data['_hasqueued']) ? ("<td class='stats moderated'>
							<ul>
								<li><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$data['tid']}&amp;modfilter=invisible_posts", 'public','' ), "{$data['title_seo']}", "showtopic" ) . "' title='{$this->lang->words['view_uapproved_posts']}'><img src='{$this->settings['img_url']}/bullet_error.png' alt='Icon' /></a>{$data['posts']} " . ((intval($data['posts']) == 1) ? ("{$this->lang->words['reply']}") : ("{$this->lang->words['replies']}")) . "</li>") : ("<td class='stats'>
							<ul>
								<li>{$data['posts']} " . ((intval($data['posts']) == 1) ? ("{$this->lang->words['reply']}") : ("{$this->lang->words['replies']}")) . "</li>")) . "
					
								<li class='views desc'>{$data['views']} {$this->lang->words['views']}</li>
							</ul>
						</td>
						<td class='altrow'>
							<ul class='last_post'>
								<li>
									<a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$data['tid']}&amp;view=getlastpost", 'public','' ), "{$data['title_seo']}", "showtopic" ) . "' title='{$this->lang->words['goto_last_post']}'>" . $this->registry->getClass('output')->getReplacement("f_lastpost") . "</a> <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$data['tid']}&amp;view=getlastpost", 'public','' ), "{$data['title_seo']}", "showtopic" ) . "' title='{$this->lang->words['goto_last_post']}'>{$data['last_post']}</a>
								</li>
								<li>{$this->lang->words['forum_by']} {$data['last_poster']}" . $this->registry->getClass('output')->getTemplate('global')->user_popup($data['last_poster_id'], $data['seo_last_name']) . "</li>
							</ul>
						</td>
						" . (($this->memberData['is_mod'] == 1 and $inforum == 1) ? ("<td class='short'>
							" . (($data['tidon'] == 0) ? ("
								<input type='checkbox' class='input_check topic_mod' id='tmod_{$data['real_tid']}' />
							") : ("
								<input type='checkbox' class='input_check topic_mod' id='tmod_{$data['real_tid']}' checked='checked' />
							")) . "
						</td>") : ("")) . "
					</tr>
					
				
";
	}
	$_ips___x_retval .= '';
	return $_ips___x_retval;
}

function __f__c5f33389013e41719eb033d4cf67bc8e($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1)
{
	$_ips___x_retval = '';
	foreach( $multi_mod_data as $mm_data )
	{
		
		$_ips___x_retval .= "
									<option value=\"t_{$mm_data[0]}\">--  {$mm_data[1]}</option>
								
";
	}
	$_ips___x_retval .= '';
	return $_ips___x_retval;
}

function __f__fe8e87aa64b45205858a22fef05ba9fc($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1)
{
	$_ips___x_retval = '';
	foreach( $active_user_data['names'] as $p => $r )
	{
		
		$_ips___x_retval .= "
					<li>{$r['p_start']}" . (($r['id']) ? ("<a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$r['id']}", 'public','' ), "{$r['seo']}", "showuser" ) . "' title='{$r['p_title']}'>") : ("")) . "{$r['name']}" . (($r['id']) ? ("</a>") : ("")) . "{$r['p_end']}" . (($p + 1 != count( $active_user_data['names'] )) ? (",") : ("")) . "</li>
						
";
	}
	$_ips___x_retval .= '';
	return $_ips___x_retval;
}

function __f__16f825e5cb1ff96199ccd5eebbb4d3b2($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1)
{
	$_ips___x_retval = '';
	foreach( $mod_data as $p => $r )
	{
		
		$_ips___x_retval .= "
						<li><a href='{$r[0]}' title='{$this->lang->words['view_profile']}'>{$r[1]}</a>" . (($r[2]) ? ("" . $this->registry->getClass('output')->getTemplate('global')->user_popup($r[2], IPSText::makeSeoTitle( $r[1] )) . "") : ("")) . "" . (($p + 1 != count( $mod_data )) ? (",") : ("")) . "</li>
					
";
	}
	$_ips___x_retval .= '';
	return $_ips___x_retval;
}

/* -- forumPasswordLogIn --*/
function forumPasswordLogIn($fid="") {
$IPBHTML = "";
$IPBHTML .= "<form action=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showforum={$fid}", 'public','' ), "", "" ) . "\" method=\"post\">
	<input type=\"hidden\" name=\"L\" value=\"1\" />
	
	<h2>{$this->lang->words['need_password']}</h2>
	<p class='message'>{$this->lang->words['need_password_txt']}</p>
	
	<div class='generic_bar'></div>
	
	<div class='post_form'>
		<fieldset class='row1'>
			<h3 class='bar'>{$this->lang->words['enter_pass']}</h3>
			<ul>
				<li class='field'>
					<label for='forum_pass'>{$this->lang->words['enter_pass']}</label>
					<input type=\"password\" size=\"20\" name=\"f_password\" id='forum_pass' class='input_text' />
				</li>
			</ul>
		</fieldset>
		<fieldset class='submit'>
			<input type=\"submit\" value=\"{$this->lang->words['f_pass_submit']}\" class=\"input_submit\" /> {$this->lang->words['or']} <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "", 'public','' ), "", "" ) . "' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
		</fieldset>
	</div>
</form>";
return $IPBHTML;
}

/* -- show_rules --*/
function show_rules($rules="") {
$IPBHTML = "";
$IPBHTML .= "<h2>{$rules['title']}</h2>
<div class='general_box'>
	<h3>{$this->lang->words['forum_rules']}</h3>
	<p><br />{$rules['body']}</p>
</div>
<fieldset class='submit'>
	<a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "act=SF&amp;f={$rules['fid']}", 'public','' ), "", "" ) . "\">{$this->lang->words['back_to_forum']}</a>
</fieldset>";
return $IPBHTML;
}

/* -- topic_rating_image --*/
function topic_rating_image($rating_id=1) {
$IPBHTML = "";
$IPBHTML .= "<span class='mini_rate'>".$this->__f__1a297262176ec1ff8d9ba8fe38f5ae1d($rating_id)."</span>";
return $IPBHTML;
}


function __f__1a297262176ec1ff8d9ba8fe38f5ae1d($rating_id=1)
{
	$_ips___x_retval = '';
	foreach( array(1,2,3,4,5) as $int )
	{
		
		$_ips___x_retval .= "
	" . (($rating_id >= $int) ? ("
		" . $this->registry->getClass('output')->getReplacement("mini_rate_on") . "
	") : ("
		" . $this->registry->getClass('output')->getReplacement("mini_rate_off") . "
	")) . "

";
	}
	$_ips___x_retval .= '';
	return $_ips___x_retval;
}

/* -- topicPrefixWrap --*/
function topicPrefixWrap($text) {
$IPBHTML = "";
$IPBHTML .= "" . (($text) ? ("
	<span class='topic_prefix'>{$text}</span>&nbsp;&nbsp;
") : ("")) . "";
return $IPBHTML;
}

/* -- who_link --*/
function who_link($tid="",$posts="") {
$IPBHTML = "";
$IPBHTML .= "<!-- SKINNOTE: This is the link for the \"who posted\" ajax popup   -->
<a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=forums&amp;module=extras&amp;section=stats&amp;do=who&amp;t={$tid}", 'public','' ), "", "" ) . "\" onclick=\"return ipb.forums.retrieveWhoPosted( {$tid} );\">$posts</a>";
return $IPBHTML;
}



}

/*--------------------------------------------------*/
/* END OF FILE                                      */
/*--------------------------------------------------*/

?>