<?xml version="1.0" encoding="ISO-8859-1"?>
<templateexport exported="1190735397" versionid="20000" type="master">
	<templategroup>
		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<tr>
			<td class="formsubtitle" colspan="2">{$this->ipsclass->lang['whoschatting_total']} {$this->ipsclass->lang['whoschatting_loadchat']}</td>
		</tr>
		<tr>
			<td class="row1" width="1%"><{F_ACTIVE}></td>
			<td class="row2">
				<i>{$this->ipsclass->lang['whoschatting_none']}</i>
			</td>
		</tr>]]></section_content>
			<func_name>whoschatting_empty</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_chatpara</group_name>
			<section_content><![CDATA[<script type="text/javascript">
//<!#^#|CDATA|
// Added like this to allow those without JS to still function nicely.
var chat_display = "{$this->ipsclass->vars['chat04_display']}";
var chat_pad     = parseInt( "{$this->ipsclass->vars['chat04_poppad']}" );
var chat_height  = parseInt( "{$this->ipsclass->vars['chat04_height']}" );
var chat_width   = parseInt( "{$this->ipsclass->vars['chat04_width']}" );
var popped       = parseInt( "{$this->ipsclass->input['pop']}" );
var chat_tol;
var chat_tol_time = 60 * 1000; // 60 seconds
chat_pad     = chat_pad ? chat_pad : 50;
chat_height += chat_pad;
chat_width  += chat_pad;
if ( chat_display != 'self' && popped != 1 )
{
	if ( window.open( ipb_var_base_url + 'autocom=chatpara&pop=1','Chat','width='+chat_width+',height='+chat_height+',resizable=yes,scrollbars=yes') )
	{
		// Bounce back to board index
		locationjump();
	}
}
//|#^#]>
</script>
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['chat_title']}</div>
	<div class="tablepad" align="center">
	 <div style='border:8px outset #BCD0ED;width:{$w}px;' id="chatwrap">
	 	<!-- Begin ParaChat v7.0 Applet Code -->
		 <applet codebase="$server" archive="papplet.jar" code="pclient.main.ChatClient.class" width="$w" height="$h">
		 <param name="Net.Site" value="$siteid">
		 <param name="Net.Room" value="$room">
		 <param name="cabbase" value="papplet.cab">
		 <!--CUSTOMPARAM-->
		 <!--AUTOLOGIN-->
		 Sorry, your browser is not Java enabled, please visit
		 <a href="http://www.parachat.com/faq/java.html">our java support pages</a>
		 </applet>
		 <!-- End ParaChat v7.0 Applet Code -->
	  </div>
	</div>
</div>
<br />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['chat_help']}</div>
	<div class="tablepad">
		{$this->ipsclass->lang['chat_help_text']}
	</div>
</div>
<script type="text/javascript">
//<!#^#|CDATA|
// Set timeout loop to update session's table.
if ( use_enhanced_js )
{
	chat_ping_session();
}
function chat_ping_session()
{
	do_request_function = function()
	{
		if ( ! xmlobj.readystate_ready_and_ok() )
		{
			return;
		}
		var returned = xmlobj.xmlhandler.responseText;
		if ( returned == 'ok' )
		{
			chat_tol = setTimeout( 'chat_ping_session()', chat_tol_time );
		}
	}
	xmlobj = new ajax_request();
	xmlobj.onreadystatechange( do_request_function );
	xmlobj.process( ipb_var_base_url + 'autocom=chatpara&code=update' );
}
//|#^#]>
</script>]]></section_content>
			<func_name>chat_inline_v7</func_name>
			<func_data><![CDATA[$server="",$siteid="",$w="",$h="", $room='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_chatpara</group_name>
			<section_content><![CDATA[<script type="text/javascript">
//<!#^#|CDATA|
<!-- // Hide JS from HTML validator
// Added like this to allow those without JS to still function nicely.
var chat_display = "{$this->ipsclass->vars['chat04_display']}";
var chat_pad     = parseInt( "{$this->ipsclass->vars['chat04_poppad']}" );
var chat_height  = parseInt( "{$this->ipsclass->vars['chat04_height']}" );
var chat_width   = parseInt( "{$this->ipsclass->vars['chat04_width']}" );
var popped       = parseInt( "{$this->ipsclass->input['pop']}" );
var chat_tol;
var chat_tol_time = 60 * 1000; // 60 seconds
chat_pad     = chat_pad ? chat_pad : 50;
chat_height += chat_pad;
chat_width  += chat_pad;
if ( chat_display != 'self' && popped != 1 )
{
	if ( window.open( ipb_var_base_url + 'autocom=chatpara&pop=1','Chat','width='+chat_width+',height='+chat_height+',resizable=yes,scrollbars=yes') )
	{
		// Bounce back to board index
		locationjump();
	}
}
//|#^#]>
//-->
</script>
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['chat_title']}</div>
	<div class="tablepad" align="center">
	 <div style='border:8px outset #BCD0ED;width:{$w}px;' id="chatwrap">
		<applet codebase="$server" archive="pchat.zip" code="ParaChat.class" width="$w" height="$h"> 
			<param name=cabbase value="pchat.cab"> 
			<param name=roam.Group value="$group"> 
			<param name=Channel value="$room">
			<param name="ctrl.Language" value="$lang">
			<param name="ui.ChatWindow" value="$textmode">
			<param name="ui.BgColor"   value="{$style['applet_bg']}">
			<param name="ui.FgColor"   value="{$style['applet_fg']}">
			<param name="cmd.ChatBg"   value="{$style['window_bg']}">
			<param name="cmd.ChatFg"   value="{$style['window_fg']}">
			<param name="cmd.FontSize" value="{$style['font_size']}">
			<!--CUSTOMPARAM-->
			<!--AUTOLOGIN-->
			Sorry, your browser is not Java enabled, please visit <a href="http://chathelp.invisionsitetools.com/java.html">our java support pages</a>
		</applet>
	  </div>
	</div>
</div>
<br />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['chat_help']}</div>
	<div class="tablepad">
		{$this->ipsclass->lang['chat_help_text']}
	</div>
</div>
<script type="text/javascript">
//<!#^#|CDATA|
// Set timeout loop to update session's table.
if ( use_enhanced_js )
{
	chat_ping_session();
}
function chat_ping_session()
{
	do_request_function = function()
	{
		if ( ! xmlobj.readystate_ready_and_ok() )
		{
			return;
		}
		
		var returned = xmlobj.xmlhandler.responseText;
		
		if ( returned == 'ok' )
		{
			chat_tol = setTimeout( 'chat_ping_session()', chat_tol_time );
		}
	}
	
	xmlobj = new ajax_request();
	xmlobj.onreadystatechange( do_request_function );
	xmlobj.process( ipb_var_base_url + 'autocom=chatpara&code=update' );
}
//|#^#]>
</script>]]></section_content>
			<func_name>chat_inline</func_name>
			<func_data><![CDATA[$server="",$group="",$room="",$w="",$h="",$lang="",$textmode="",$style=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_stats</group_name>
			<section_content><![CDATA[<tr>
			<td class="row1" valign="middle">{$row['author_name']}</td>
			<td align="center" class="row1" valign="middle">{$row['pcount']}</td>
		</tr>]]></section_content>
			<func_name>who_row</func_name>
			<func_data><![CDATA[$row=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['sc_normal_title']}</div>
	<p>{$this->ipsclass->lang['sc_upgrade_explain']}<br /><br />
		{$this->ipsclass->lang['sc_normal_string']}
	</p>]]></section_content>
			<func_name>sub_two_normal_summary</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['sc_upgrade_title']}</div>
	<p>{$this->ipsclass->lang['sc_upgrade_explain']}<br /><br />
		{$this->ipsclass->lang['sc_upgrade_string']}
	</p>]]></section_content>
			<func_name>sub_two_upgrade_summary</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle">{$this->ipsclass->lang['outline_posts_topic']}</div>
	<div class="tablepad">]]></section_content>
			<func_name>toutline_start_list</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content></section_content>
			<func_name>toutline_start_new_parent</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[&lt;&nbsp;$min ( <a href="javascript:PopUp('{$this->ipsclass->base_url}act=warn&amp;mid={$id}&amp;CODE=view','Pager','500','450','0','1','1','1')">{$level}</a> ) $max&nbsp;&gt;]]></section_content>
			<func_name>warn_level_rating</func_name>
			<func_data><![CDATA[$id="",$level="",$min=0,$max=10]]></func_data>
			<group_names_secondary>,skin_calendar,skin_mlist,skin_msg,skin_search,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[{$this->ipsclass->lang['tt_warn']} (<a href="javascript:PopUp('{$this->ipsclass->base_url}act=warn&amp;mid={$id}&amp;CODE=view','Pager','500','450','0','1','1','1')">{$percent}</a>%)]]></section_content>
			<func_name>warn_level_warn</func_name>
			<func_data><![CDATA[$id="",$percent=""]]></func_data>
			<group_names_secondary>,skin_calendar,skin_mlist,skin_msg,skin_search,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$title}</div>
	<p>$msg</p>]]></section_content>
			<func_name>ucp_message</func_name>
			<func_data><![CDATA[$title="",$msg=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<br />
<script type="text/javascript">
//<!#^#|CDATA|
// Set up img vars
var img_markers = {
	'bc_new.gif' : 'bc_nonew.gif',
	'bf_new.gif' : 'bf_nonew.gif',
	'br_new.gif' : 'br_nonew.gif'
};
var regex_markers = 'bc_new.gif|bf_new.gif|br_new.gif';
//|#^#]>
</script>
<script type="text/javascript" src="jscripts/ipb_forum.js"></script>   
<div class="borderwrap" style="display:{$data['div_fc']}" id="fc_{$data['id']}">
	<div class="maintitlecollapse">
		<p class="expand"><a href="javascript:togglecategory({$data['id']}, 0);"><{E_PLUS}></a></p>
		<p><{CAT_IMG}>&nbsp;<a href="{$this->ipsclass->base_url}showforum={$data['id']}">{$data['name']} {$this->ipsclass->lang['sub_forum_title']}</a></p>
	</div>
</div>
<div class="borderwrap" style="display:{$data['div_fo']}" id="fo_{$data['id']}">
	<div class="maintitle">
		<p class="expand"><a href="javascript:togglecategory({$data['id']}, 1);"><{E_MINUS}></a></p>
		<p><{CAT_IMG}>&nbsp;<a href="{$this->ipsclass->base_url}showforum={$data['id']}">{$data['name']} {$this->ipsclass->lang['sub_forum_title']}</a></p>
	</div>
	<table class='ipbtable' cellspacing="1">
		<tr> 
			<th colspan="2" width="66%">{$this->ipsclass->lang['cat_name']}</th>
			<th align="center" width="7%">{$this->ipsclass->lang['topics']}</th>
			<th align="center" width="7%">{$this->ipsclass->lang['replies']}</th>
			<th width="35%">{$this->ipsclass->lang['last_post_info']}</th>
		</tr>]]></section_content>
			<func_name>subheader</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[<div class='pp-contentbox-back'>
	<div class='pp-contentbox-entry-noheight' style='padding:0px'>
	  <div style='padding:1px;padding-bottom:2px;'>
	   $html
	  </div>
	  <if="$st OR $next">
	   <div class='darkrow3' style='padding:6px' align='center'>
		<if="$st > 0">
		&laquo; <a style='font-size:10px' href='#' onclick='return xml_show_new_posts("{$previous}");'>{$this->ipsclass->lang['tpl_next']}</a>
		</if>
		  &nbsp; &nbsp;  &nbsp; &nbsp;
		<if="$next > 0">
		<a style='font-size:10px' href='#' onclick='return xml_show_new_posts("{$next}");'>{$this->ipsclass->lang['tpl_prev']}</a> &raquo;
		</if>
	  </div>
	 </if>
	</div>
</div>]]></section_content>
			<func_name>xmlout_gnp_wrapper</func_name>
			<func_data><![CDATA[$html="",$previous="",$next="",$st=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[<div>{$data['SHOW_PAGES']} $extra</div>
<script type='text/javascript' src='jscripts/ipb_topic.js'></script>]]></section_content>
			<func_name>start_as_post</func_name>
			<func_data><![CDATA[$data="",$extra=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[<img src='{$this->ipsclass->vars['img_url']}/rating_{$rating_id}_mini.gif' border='0' alt='{$rating_id}' />&nbsp;]]></section_content>
			<func_name>topic_rating_image</func_name>
			<func_data><![CDATA[$rating_id='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[<div class='popupmenu-item'>
 <table width='100%'>
 	<tr>
 		<td style='padding:2px;'><a style='font-size:10px' href='{$this->ipsclass->base_url}showtopic={$tid}' onclick='locationjump("showtopic={$tid}");' title='$real_title'>{$mini_title}</a></td>
 		<td style='padding:2px;' align='right'>
 		  <span style='font-size:10px' class='desc'><em>({$date})</em></span>
  			<a href='{$this->ipsclass->base_url}showtopic={$tid}&amp;view=getnewpost' onclick='locationjump("showtopic={$tid}&amp;view=getnewpost");'><img src='{$this->ipsclass->vars['img_url']}/lastpost.gif' alt='' border='0' /></a>
  		</td>
  	</tr>
  </table>
</div>]]></section_content>
			<func_name>xmlout_gnp_row</func_name>
			<func_data><![CDATA[$tid="",$mini_title="",$real_title="",$date=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[<script type="text/javascript" src="jscripts/ipb_forum.js"></script>
<div>{$data['SHOW_PAGES']} $extra</div>
<br />
<div class="borderwrap">
	<div class="maintitle">
		<div style="float: left;"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['your_results']}</div>
		<div align="right"><a href="{$this->ipsclass->base_url}act=Login&amp;CODE=05">{$this->ipsclass->lang['mark_search_as_read']}</a></div>
	</div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th colspan="2">&nbsp;</th>
			<th>{$this->ipsclass->lang['h_topic_title']}</th>
			<th align="center">{$this->ipsclass->lang['h_forum_name']}</th>
			<th align="center">{$this->ipsclass->lang['h_topic_starter']}</th>
			<th align="center">{$this->ipsclass->lang['h_replies']}</th>
			<th align="center">{$this->ipsclass->lang['h_hits']}</th>
			<th>{$this->ipsclass->lang['h_last_action']}</th>
		</tr>]]></section_content>
			<func_name>start</func_name>
			<func_data><![CDATA[$data="",$extra=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[<!-- Begin Topic Entry {$data['tid']} -->
	<tr>
		<td align="center" class="{$data['class1']}">{$data['folder_img']}</td>
		<td align="center" width="3%" class="{$data['class2']}">{$data['topic_icon']}</td>
		<td class="{$data['class1']}">
			<table class='ipbtable' cellspacing="0">
				<tr>
<if="$data['go_new_post'] != ''">
<td valign="middle">{$data['go_new_post']}</td>
</if>
					<td width="100%">
					<div style='float:right'>{$data['_rate_img']}</div>
					<div>{$data['prefix']} {$data['attach_img']}<a href="{$this->ipsclass->base_url}showtopic={$data['tid']}&amp;hl={$data['keywords']}">{$data['title']}</a>  {$data['PAGES']}</div>
					</td>
				</tr>
			</table>
			<span class="desc">{$data['description']}</span>
		</td>
		<td class="{$data['class1']}" width="15%"><span class="forumdesc"><a href="{$this->ipsclass->base_url}showforum={$data['forum_id']}" title="{$data['forum_full_name']}">{$data['forum_name']}</a></span></td>
		<td align="center" class="{$data['class2']}" width='10%'>{$data['starter']}</td>
		<td align="center" class="{$data['classposts']}">{$data['posts']}</td>
		<td align="center" class="{$data['class2']}">{$data['views']}</td>
		<td class="{$data['class2']}"><span class="desc">{$data['last_post']}<br /><a href="{$this->ipsclass->base_url}showtopic={$data['tid']}&amp;view=getlastpost">{$data['last_text']}</a> <b>{$data['last_poster']}</b></span></td>
	</tr>
<!-- End Topic Entry {$data['tid']} -->]]></section_content>
			<func_name>RenderRow</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[<script type='text/javascript' src='jscripts/ipb_topic.js'></script>
<div class="plainborder">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['search_results']}</div>
	<div class="formsubtitle">
		<div class="pagelinks">{$this->ipsclass->lang['g_searched_for']} <b>{$data['keyword']}</b></div>
		<div align="right">
			{$this->ipsclass->lang['g_results']} <b>{$data['start']} - {$data['end']}</b> {$this->ipsclass->lang['g_of_about']} <b>{$data['matches']}</b>.
			{$this->ipsclass->lang['g_search_took']} <b>{$data['ex_time']}</b> {$this->ipsclass->lang['g_seconds']}
		</div>
	</div>
</div>
<br />]]></section_content>
			<func_name>result_simple_header</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['search_results']}</div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th><b>{$this->ipsclass->lang['you_search_for']}</b> {$keywords}</th>
		</tr>
		<tr>
			<td class="row1">{$this->ipsclass->lang['no_results_so_there_ha_ha']}<br /><br /><b><a href="{$this->ipsclass->base_url}act=search">{$this->ipsclass->lang['search_again']}</a></b></td>
		</tr>
		<tr>
			<td class="catend"><!-- no content --></td>
		</tr>
	</table>
</div>]]></section_content>
			<func_name>search_error_page</func_name>
			<func_data><![CDATA[$keywords=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[<script type="text/javascript">
<!--
function go_gadget_advanced(){
	window.location = "{$this->ipsclass->js_base_url}act=Search&mode=adv&f={$this->ipsclass->input['f']}";
}
function win_pop(){
	window.open("{$this->ipsclass->js_base_url}act=Search&CODE=explain","WIN","width=400,height=300,resizable=yes,scrollbars=yes"); 
}
-->
</script>
<form action="{$this->ipsclass->base_url}act=Search&amp;CODE=simpleresults&amp;mode=simple" method="post" name="sForm">
$hidden_fields
	<div class="borderwrap">
		<div class="maintitle"  align="center">{$this->ipsclass->lang['search_options']}</div>
		<div class="formsubtitle" align="center">{$this->ipsclass->lang['key_search']}</div>
		<div class="tablepad" align="center">
			<input type="text" maxlength="100" size="40" id="keywords" name="keywords" /><br />
			<label for="keywords">{$this->ipsclass->lang['keysearch_text']}</label> <!--IBF.BOOLEAN_EXPLAIN-->
		</div>
		<div class="formsubtitle" align="center">{$this->ipsclass->lang['search_where']}</div>
		<div class="tablepad" align="center">
			{$forums}<br /><br />
			<b>{$this->ipsclass->lang['sf_show_me']}</b>
			<input type="radio" name="sortby" value="relevant" id="sortby_one" class="radiobutton" />
			<label for="sortby_one">{$this->ipsclass->lang['sf_most_r_f']}</label>&nbsp;
			<input type="radio" name="sortby" value="date" id="sortby_two" checked="checked" class="radiobutton" />
			<label for="sortby_two">{$this->ipsclass->lang['sf_most_date']}</label>
		</div>
		<div class="formsubtitle" align="center">
			<input class='button' type="submit" value="{$this->ipsclass->lang['do_search']}" />&nbsp;
			<input class='button' type="button" value="{$this->ipsclass->lang['so_more_opts']}" onclick="go_gadget_advanced()" />
		</div>
	</div>
</form>]]></section_content>
			<func_name>simple_form</func_name>
			<func_data><![CDATA[$forums=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['sc_available_methods']}</div>
<form action="{$this->ipsclass->base_url}act=paysubs&amp;nocp={$this->ipsclass->input['nocp']}&amp;upgrade=$upgrade&amp;CODE=paymentscreen&amp;curid=$curid&amp;sub=$sub_chosen&amp;currency=$currency" method="post">             
	<div class="borderwrapm">
		<table class='ipbtable' cellspacing="1">
			<tr>
				<th width="5%" align="center">&nbsp;</th>
				<th width="95%">{$this->ipsclass->lang['sc_method']}</th>
			</tr>]]></section_content>
			<func_name>sub_two_methods_top</func_name>
			<func_data><![CDATA[$sub_chosen="",$upgrade="",$curid="",$currency=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<tr>
			<td class="row1" align="center"><input class='radiobutton' type="radio" name="methodid" value="$mid" /></td>
			<td class="row1"><b>$name</b><br />$desc</td>
		</tr>]]></section_content>
			<func_name>sub_two_methods_row</func_name>
			<func_data><![CDATA[$mid="",$name="",$desc=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<p>{$this->ipsclass->lang['s_current_bottom']}</p>]]></section_content>
			<func_name>sub_page_bottom</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[</table>
</div>]]></section_content>
			<func_name>sub_two_methods_bottom</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<br />
<div class="borderwrapm">
	<div class="formsubtitle" align="center"><input class='button' type="submit" value="{$this->ipsclass->lang['s_continue_button2']}" /></div>
</div>
</form>]]></section_content>
			<func_name>sub_two_methods_continue_button</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[</div>
</div>
</div>]]></section_content>
			<func_name>sub_no_cp_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<!--{MSG}-->
<div style='padding:4px;'>
<div id='ucpcontent'>
	<div>]]></section_content>
			<func_name>sub_no_cp_start</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<div class="borderwrapm">
	<div class="row1">
		<b>{$this->ipsclass->lang['msg_gen_title']}</b><br /><br />
		{$this->ipsclass->lang['msg_gen_text']}<br /><br />
		<div>
<if="$this->ipsclass->vars['subsm_enforce'] != 1">
&nbsp; &nbsp;<input type="button" class="button" value="{$this->ipsclass->lang['cancel_purchase']} &gt; &gt;" onclick="locationjump('act=paysubs&amp;nocp=1&amp;CODE=cancelfromreg');" />
</if>
		</div>
	</div>
</div>
<br />]]></section_content>
			<func_name>sub_msg_general</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<div class='borderwrap'>
 <div class='maintitle'>{$this->ipsclass->lang['msg_reg_title']}</div>
	<div class="row1" style='padding:10px;'>
		{$this->ipsclass->lang['msg_reg_text']}
			<br /><br />
		<div align='center'>
			<input type="button" class="button" value="&lt; &lt; {$this->ipsclass->lang['choose_another_pkg']}" onclick="locationjump('act=paysubs&amp;nocp=1&amp;msgtype=general');" />
<if="$this->ipsclass->vars['subsm_enforce'] != 1">
&nbsp; &nbsp;<input type="button" class="button" value="{$this->ipsclass->lang['cancel_purchase']} &gt; &gt;" onclick="locationjump('act=paysubs&amp;nocp=1&amp;CODE=cancelfromreg');" />
</if>
		</div>
	</div>
</div>
<br />]]></section_content>
			<func_name>sub_msg_fromreg</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<select name="currency">]]></section_content>
			<func_name>sub_currency_change_top</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<div class="errorwrap">
	<h4>{$this->ipsclass->lang['msg_force_title']}</h4>
	<p>
		{$this->ipsclass->lang['msg_force_text']}
<if="$this->ipsclass->input['CODE'] == "paymentmethod"">
<br /><br />
		<div>
			<div class='row2'><input type="button" class="button" value="&lt; &lt; {$this->ipsclass->lang['choose_another_pkg']}" onclick="locationjump('act=paysubs&amp;nocp=1&amp;msgtype=general');" /></div>
		</div>
</if>
		</p>
	</div>
<br />]]></section_content>
			<func_name>sub_msg_force</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[</select>]]></section_content>
			<func_name>sub_currency_change_bottom</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<div align="right">
	<form action="$url" method="post">
		{$this->ipsclass->lang['cc_currency_in']} $select 
		<input class='button' type="submit" value="{$this->ipsclass->lang['cc_change']}" />
	</form>
</div>]]></section_content>
			<func_name>sub_currency_change_form</func_name>
			<func_data><![CDATA[$select="",$url=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<option value="$id" $default>$id $name</option>]]></section_content>
			<func_name>sub_currency_change_row</func_name>
			<func_data><![CDATA[$id="",$name="",$default=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<br />
<div class="formsubtitle">{$this->ipsclass->lang['s_upgrade_subs']}</div>
<p>{$this->ipsclass->lang['s_upgrade_explain']}</p>
<br /> 
<form action="{$this->ipsclass->base_url}act=paysubs&amp;nocp={$this->ipsclass->input['nocp']}&amp;upgrade=1&amp;CODE=paymentmethod&amp;curid=$cur_id&amp;currency=$currency" method="post">             
	<div class="borderwrapm">
		<table class='ipbtable' cellspacing="1">
			<tr>
				<th width="5%">&nbsp;</th>
				<th width="55%">{$this->ipsclass->lang['s_detail']}</th>
				<th width="20%" align="center">{$this->ipsclass->lang['s_end']}</th>
				<th width="20%" align="center">{$this->ipsclass->lang['s_balance_cost']}</th>
			</tr>]]></section_content>
			<func_name>sub_choose_upgrade_top</func_name>
			<func_data><![CDATA[$cur_id="",$currency=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[</table>
</div>
<div class="borderwrapm">
	<div class="formsubtitle" align="center"><input class='button' type="submit" value="{$this->ipsclass->lang['s_continue_button']}" /></div>
</div>
</form>]]></section_content>
			<func_name>sub_choose_upgrade_bottom</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<tr>
				<td class="row1" align="center"><input class='radiobutton' type="radio" name="sub" value="$id" /></td>
				<td class="row1"><b>$name</b><br />$desc</td>
				<td class="row1" align="center">$duration</td>
				<td class="row1" align="center">{$cost}</td>
			</tr>]]></section_content>
			<func_name>sub_choose_upgrade_row</func_name>
			<func_data><![CDATA[$id="",$name="",$desc="",$cost="",$duration=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<tr>
			<td class="row1" align="center"><input class='radiobutton' type="radio" name="sub" value="$id" /></td>
			<td class="row1"><b>$name</b><br />$desc</td>
			<td class="row1" align="center">$duration</td>
			<td class="row1" align="center">{$cost}</td>
		</tr>]]></section_content>
			<func_name>sub_choose_new_row</func_name>
			<func_data><![CDATA[$id="",$name="",$desc="",$cost="",$duration=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['s_available_subs']}</div>
<p>{$this->ipsclass->lang['s_explain']}</p>
<br />
<form action="{$this->ipsclass->base_url}act=paysubs&amp;nocp={$this->ipsclass->input['nocp']}&amp;CODE=paymentmethod&amp;currency=$currency" method="post">             
	<div class="borderwrapm">
		<table class='ipbtable' cellspacing="1">
			<tr>
				<th width="5%">&nbsp;</th>
				<th width="55%">{$this->ipsclass->lang['s_detail']}</th>
				<th width="20%" align="center">{$this->ipsclass->lang['s_duration']}</th>
				<th width="20%" align="center">{$this->ipsclass->lang['s_cost']}</th>
			</tr>]]></section_content>
			<func_name>sub_choose_new_top</func_name>
			<func_data><![CDATA[$currency=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[</table>
</div>
<div class="borderwrapm">
	<div class="formsubtitle" align="center"><input class='button' type="submit" value="{$this->ipsclass->lang['s_continue_button']}" /></div>
</div>
</form>]]></section_content>
			<func_name>sub_choose_new_bottom</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['s_dead_subs']}</div>
<p>{$this->ipsclass->lang['s_dead_explain']}</p>             
<div class="borderwrapm">
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th width="5%" align="center">{$this->ipsclass->lang['s_transid']}</th>
			<th width="35%">{$this->ipsclass->lang['s_detail']}</th>
			<th width="20%" align="center">{$this->ipsclass->lang['s_started']}</th>
			<th width="20%" align="center">{$this->ipsclass->lang['s_end']}</th>
			<th width="10%" align="center">{$this->ipsclass->lang['s_paid']}</th>
			<th width="10%" align="center">{$this->ipsclass->lang['s_status']}</th>
		</tr>]]></section_content>
			<func_name>sub_choose_dead_top</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[</table>
</div>
<br />]]></section_content>
			<func_name>sub_choose_dead_bottom</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<tr>
			<td class="row1" align="center">$id</td>
			<td class="row1"><b>$name</b></td>
			<td class="row1" align="center">$start</td>
			<td class="row1" align="center">$end</td>
			<td class="row1" align="center">{$paid}</td>
			<td class="row1" align="center">$state</td>
		</tr>]]></section_content>
			<func_name>sub_choose_dead_row</func_name>
			<func_data><![CDATA[$id="",$name="",$start="",$end="",$paid="",$state=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_printpage</group_name>
			<section_content><![CDATA[<div class="printpost">
			<h4>{$this->ipsclass->lang['by']}: <b>{$entry['author_name']}</b> {$this->ipsclass->lang['on']} {$entry['post_date']}</h4>
			<p>{$entry['post']}
			<br />
			<!--IBF.ATTACHMENT_{$entry['pid']}-->
			</p>
		</div>]]></section_content>
			<func_name>pp_postentry</func_name>
			<func_data><![CDATA[$poster="",$entry=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<br />
<div class="borderwrap">
	<div class="formsubtitle" align="center" style="padding: 5px;">
		<a href="{$info['base_url']}act=UserCP&amp;CODE=22">{$this->ipsclass->lang['edit_my_sig']}</a> &middot;
		<a href="{$info['base_url']}act=UserCP&amp;CODE=24">{$this->ipsclass->lang['edit_avatar']}</a> &middot;
		<a href="{$info['base_url']}act=UserCP&amp;CODE=01">{$this->ipsclass->lang['edit_profile']}</a>
	</div>
</div>]]></section_content>
			<func_name>user_edit</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[{$this->ipsclass->lang['warn_title']} (<a href="javascript:PopUp('{$this->ipsclass->base_url}act=warn&amp;mid={$mid}&amp;CODE=view','Pager','500','450','0','1','1','1')">{$percent}</a>%) <a href="{$this->ipsclass->base_url}act=warn&amp;type=minus&amp;mid={$mid}" title="{$this->ipsclass->lang['tt_warn_minus']}"><{WARN_MINUS}></a>{$img}<a href="{$this->ipsclass->base_url}act=warn&amp;type=add&amp;mid={$mid}" title="{$this->ipsclass->lang['tt_warn_add']}"><{WARN_ADD}></a>]]></section_content>
			<func_name>warn_level</func_name>
			<func_data><![CDATA[$mid="",$img="",$percent=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[{$this->ipsclass->lang['warn_level']}: (<a href="javascript:PopUp('{$this->ipsclass->base_url}act=warn&amp;mid={$mid}&amp;CODE=view','Pager','500','450','0','1','1','1')">{$percent}</a>%) {$img}]]></section_content>
			<func_name>warn_level_no_mod</func_name>
			<func_data><![CDATA[$mid="",$img="",$percent=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[{$this->ipsclass->lang['warn_level']}: <a href="{$this->ipsclass->base_url}act=warn&amp;type=minus&amp;mid={$mid}" title="{$this->ipsclass->lang['tt_warn_minus']}"><{WARN_MINUS}></a> &lt;&nbsp;$min ( <a href="javascript:PopUp('{$this->ipsclass->base_url}act=warn&amp;mid={$mid}&amp;CODE=view','Pager','500','450','0','1','1','1')">{$level}</a> ) $max&nbsp;&gt; <a href="{$this->ipsclass->base_url}act=warn&amp;type=add&amp;mid={$mid}" title="{$this->ipsclass->lang['tt_warn_add']}"><{WARN_ADD}></a>]]></section_content>
			<func_name>warn_level_rating</func_name>
			<func_data><![CDATA[$mid="",$level="",$min=0,$max=10]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[&lt;&nbsp;$min ( <a href="javascript:PopUp('{$this->ipsclass->base_url}act=warn&amp;mid={$mid}&amp;CODE=view','Pager','500','450','0','1','1','1')">{$level}</a> ) $max&nbsp;&gt;]]></section_content>
			<func_name>warn_level_rating_no_mod</func_name>
			<func_data><![CDATA[$mid="",$level="",$min=0,$max=10]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[</select>
			<div style="display: none; position: absolute; border: 3px outset #000;width:300px;background-color:#FFF" class="tableborder" id="subspkdiv">
				<div class='row1' style='padding:4px' id="pkdesc"></div>
				<div class='row2' style='padding:4px' align="right"><a href="#" onclick='toggleview("subspkdiv"); return false;'>{$this->ipsclass->lang['subsm_close']}</a></div>
			</div>
		</td>
		<td align="center">
			<input type="button" class="button" onclick="get_more_info()" style='display:none' id='reg-get-more-info' value="{$this->ipsclass->lang['subsm_more']}" />
		</td>
	</tr>
</table>
</fieldset><br />]]></section_content>
			<func_name>subsm_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<option value="{$id}">$title ($duration) - $cost</option>]]></section_content>
			<func_name>subsm_row</func_name>
			<func_data><![CDATA[$id="",$title="",$cost="",$duration=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<br />
<fieldset class="row3">
<legend><b>{$this->ipsclass->lang['subsm_title']}</b></legend>
	<div class="desc"> &nbsp;{$this->ipsclass->lang['cc_currency_in']} $cur</div>
	<table class='ipbtable' cellspacing="0">
		<tr>
			<td width="1%">
				<select class="dropdown" onchange='reg_get_more_check()' style='width:300px' name='subspackage' id="subspackage">]]></section_content>
			<func_name>subsm_start</func_name>
			<func_data><![CDATA[$cur=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<form method="post" action="$action">
$hidden
<div class="borderwrap">
	<div class="maintitle">$title</div>
	<table class='ipbtable' cellspacing="0">
		$content
	</table>
	<div class="formsubtitle" align="center"><input type="submit" /></div>
</div>
</form>]]></section_content>
			<func_name>tmpl_form</func_name>
			<func_data><![CDATA[$action="",$hidden="",$title="",$content=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<html>
	<head>
		<title>$name</title>
		<style type="text/css">
			<!--CSS-->
		</style>
		<script language="javascript" type="text/javascript">
		<!--
		function redirect_to(where, closewin)
		{
		  document.location= "{$this->ipsclass->base_url}" + where;
		  
		  if (closewin == 1)
		  {
			  self.close();
		  }
		}
		//-->
		</script>
	</head>
	<body>
	<div class="borderwrap" style="text-align: left;">
	<div class="maintitle">$name</div>
	<table cellspacing="1" class='row1'>
		<tr>
			<th><b>{$this->ipsclass->lang['head_contact']}</b></th>
			<th><b>{$this->ipsclass->lang['photo_title']}</b></th>
		</tr>
		<tr>
			<td valign="middle" class="nopad">
				<table class='ipbtable' cellspacing="1">
<if="$this->ipsclass->vars['blog_default_view'] != "" and $info['has_blog'] == 1">
<tr>
						<td nowrap="nowrap" class="row1">{$this->ipsclass->lang['myblog']}</td>
						<td width="100%" class="row1"><b><a href='javascript:redirect_to("&amp;automodule=blog&amp;req=showblog&amp;mid={$info['mid']}",1);'>{$this->ipsclass->lang['click_here']}</a></b></td>
					</tr>
</if>
					<tr>
						<td nowrap="nowrap" class="row1">{$this->ipsclass->lang['email']}</td>
						<td width="100%" class="row1"><b>{$info['email']}</b></td>
					</tr>
					<tr>
						<td nowrap="nowrap" class="row1">{$this->ipsclass->lang['website_addr']}</td>
						<td width="100%" class="row1"><b>{$info['website']}</b></td>
					</tr>
					<tr>
						<td nowrap="nowrap" class="row1">{$this->ipsclass->lang['aim']}</td>
						<td width="100%" class="row1"><{PRO_AIM}> <b>{$info['aim_name']}</b></td>
					</tr>
					<tr>
						<td nowrap="nowrap" class="row1">{$this->ipsclass->lang['icq']}</td>
						<td width="100%" class="row1"><{PRO_ICQ}> <b>{$info['icq_number']}</b></td>
					</tr>
					<tr>
						<td nowrap="nowrap" class="row1">{$this->ipsclass->lang['yahoo']}</td>
							<td width="100%" class="row1"><{PRO_YIM}> <b>{$info['yahoo']}</b></td>
					</tr>
					<tr>
						<td nowrap="nowrap" class="row1">{$this->ipsclass->lang['msn']}</td>
						<td width="100%" class="row1"><{PRO_MSN}> <b>{$info['msn_name']}</b></td>
					</tr>
					<tr>
						<td nowrap="nowrap" class="row1">{$this->ipsclass->lang['pm']}</b></td>
						<td class="row1"><b><a href="javascript:redirect_to('&amp;act=Msg&amp;CODE=4&amp;MID={$info['mid']}', 1);">{$this->ipsclass->lang['click_here']}</a></b></td>
					</tr>
				</table>
			</td>
			<td valign="middle" class="row1" align="center">$photo</td>
		</tr>
		<tr>
			<td class="catend" colspan="2"><!-- no content --></td>
		</tr>
	</table>
   </div>
	</body>
</html>]]></section_content>
			<func_name>show_card_download</func_name>
			<func_data><![CDATA[$name="",$photo="",$info=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<div id="photowrap">
	<div id="phototitle">$name</div>
	<div id="photoimg">$photo</div>
</div>]]></section_content>
			<func_name>show_photo</func_name>
			<func_data><![CDATA[$name="",$photo=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<script type="text/javascript" src="jscripts/ipb_profile.js"></script>
<script type='text/javascript' src="{$this->ipsclass->vars['board_url']}/jscripts/ips_profile_portal.js"></script>
<div class="borderwrap">
<div class="maintitle" style='padding:4px'>
    <table width='100%' cellspacing='0' cellpadding='0'>
     <tr>
      <td width='99%'><div><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['head_title']}: {$info['members_display_name']}</div></td>
      <td width='1%' nowrap='nowrap' align='right'>
      <div class='popmenubutton' id='profile-options'><a href='#profileoptions'>{$this->ipsclass->lang['profile_options']}</a> <img src='{$this->ipsclass->vars['img_url']}/menu_action_down.gif' alt='V' title='{$this->ipsclass->lang['open_menu']}' border='0' /></div>
      </td>
     </tr>
    </table>
</div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<td width="1%" nowrap="nowrap" valign="top" class="row1">
				<div id="profilename">{$info['members_display_name']}</div>
				<br />
				<div>{$info['avatar']}</div>
				<div>{$info['member_title']}</div>
				<div>{$info['member_rank_img']}</div>
				<br />
				<div class="postdetails">
					{$this->ipsclass->lang['mgroup']}: {$info['group_title']}<br />
					{$this->ipsclass->lang['joined']}: {$info['joined']}
				</div>
				<if="$this->ipsclass->member['id'] AND ( $info['mid'] != $this->ipsclass->member['id'])">
					<div id='pp-friend-wrap'>
						<!-- Add / remove friend added via JS -->
					</div>
				</if>
				<!--{WARN_LEVEL}-->
			</td>
			<td width="1%" align="right" class="row1">{$info['photo']}</td>
		</tr>
	</table>
</div>
<br />
<table class='ipbtable' cellspacing="1">
	<tr>
		<!-- STATS -->
		<td width="50%" valign="top" style="padding-left: 0;">
			<table cellspacing="1" width='100%' class="borderwrap">
				<tr>
					<td align="center" colspan="2" class="maintitle">{$this->ipsclass->lang['active_stats']}</td>
				</tr>
				<tr>
					<td class="row2" valign="top"><b>{$this->ipsclass->lang['user_local_time']}</b></td>
					<td class="row1">{$info['local_time']}</td>
				</tr>
				<tr>
					<td class="row2" width="30%" valign="top"><b>{$this->ipsclass->lang['total_posts']}</b></td>
					<td width="70%" class="row1"><b>{$info['posts']}</b>
					<br />( {$info['posts_day']} {$this->ipsclass->lang['posts_per_day']} / {$info['total_pct']}% {$this->ipsclass->lang['total_percent']} )
					</td>
				</tr>
				<tr>
					<td class="row2" valign="top"><b>{$this->ipsclass->lang['fav_forum']}</b></td>
					<td class="row1">
<if="$info['fav_id']">
<a href="{$info['base_url']}act=SF&amp;f={$info['fav_id']}">
</if>
<b>{$info['fav_forum']}</b>
<if="$info['fav_id']">
</a>
</if>
<br />( {$info['fav_posts']} {$this->ipsclass->lang['fav_posts']} / {$info['percent']}% {$this->ipsclass->lang['fav_percent']} )</td>
				</tr>
				<tr>
					<td class="row2" valign="top"><b>{$this->ipsclass->lang['last_active']}</b></td>
					<td class="row1">{$info['last_active']}</td>
				</tr>
				<tr>
					<td class="row2" valign="top"><b>{$this->ipsclass->lang['last_click']}</b></td>
					<td class="row1">{$info['online_status_indicator']} {$info['online_extra']}</td>
				</tr>
			</table>
		</td>
		<!-- Communication -->
		<td width="50%" valign="top" style="padding-right: 0;">
			<table cellspacing="1" width='100%' class="borderwrap">
				<tr>
					<td align="center" colspan="2" class="maintitle">{$this->ipsclass->lang['communicate']}</td>
				</tr>
				<tr>
					<td width="1%" class="row1"><{PRO_AIM}></td>
					<td width="99%" class="row2">{$info['aim_name']}</td>
				</tr>
				<tr>
					<td width="1%" class="row1"><{PRO_YIM}></td>
					<td width="99%" class="row2">{$info['yahoo']}</td>
				</tr>
				<tr>
					<td width="1%" class="row1"><{PRO_ICQ}></td>
					<td width="99%" class="row2">{$info['icq_number']}</td>
				</tr>
				<tr>
					<td width="1%" class="row1"><{PRO_MSN}></td>
					<td width="99%" class="row2">{$info['msn_name']}</td>
				</tr>
				<tr>
					<td width="1%" class="row1"><{PRO_CONTACT}></td>
					<td width="99%" class="row2"><a href="{$info['base_url']}act=Msg&amp;CODE=4&amp;MID={$info['mid']}">{$this->ipsclass->lang['pm']}</a></td>
				</tr>
				<tr>
					<td width="1%" class="row1"><{PRO_CONTACT}></td>
					<td width="99%" class="row2">{$info['email']}</td>
				</tr>
			</table>
		</td>
		<!-- END CONTENT ROW 1 -->
		<!-- information -->
	</tr>
	<tr>
		<td width="50%" valign="top" style="padding-left: 0;">
			<table cellspacing="1" width='100%' class="borderwrap">
				<tr>
					<td align="center" colspan="2" class="maintitle">{$this->ipsclass->lang['info']}</td>
				</tr>
<if="$this->ipsclass->vars['blog_default_view'] != "" and $info['has_blog'] == 1">
<tr>
						<td class="row2" width="30%" valign="top"><b>{$this->ipsclass->lang['myblog']}</b></td>
						<td width="70%" class="row1"><a href='{$this->ipsclass->base_url}automodule=blog&amp;req=showblog&amp;mid={$info['mid']}'>{$this->ipsclass->lang['click_here']}</a></td>
					</tr>
</if>
<if="$info['has_gallery'] == 1">
<tr>
     <td class="row2" width="30%" valign="top"><b>{$this->ipsclass->lang['mygallery']}</b></td>
     <td width="70%" class="row1"><a href="{$this->ipsclass->base_url}automodule=gallery&amp;req=user&amp;user={$info['mid']}">{$this->ipsclass->lang['click_here']}</a></td>
</tr>
</if>
				<tr>
					<td class="row2" width="30%" valign="top"><b>{$this->ipsclass->lang['homepage']}</b></td>
					<td width="70%" class="row1">{$info['homepage']}</td>
				</tr>
				<tr>
					<td class="row2" valign="top"><b>{$this->ipsclass->lang['birthday']}</b></td>
					<td class="row1">{$info['birthday']}</td>
				</tr>
				<tr>
					<td class="row2" valign="top"><b>{$this->ipsclass->lang['location']}</b></td>
					<td class="row1">{$info['location']}</td>
				</tr>
				<tr>
					<td class="row2" valign="top"><b>{$this->ipsclass->lang['interests']}</b></td>
					<td class="row1">{$info['interests']}</td>
				</tr>
			</table>
		</td>
		<!-- Profile -->
		<td width="50%" valign="top" style="padding-right: 0;">
			<table cellspacing="1" width='100%' class="borderwrap">
				<tr>
					<td align="center" colspan="2" class="maintitle">{$this->ipsclass->lang['head_addit']}</td>
				</tr>
				<!--{CUSTOM.FIELDS}-->
			</table>
		</td>
	</tr>
</table>
<if="$info['signature'] != """>
<br />
<div class="borderwrap">
<table class='ipbtable' width='100%' cellspacing="1">
	<tr>
		<td class="maintitle">{$this->ipsclass->lang['siggie']}</td>
	</tr>
	<tr>
		<td class="row2">
			<div class="signature">{$info['signature']}</div>
		</td>
	</tr>
</table>
</div>
</if>
<!--MEM OPTIONS-->
<script type="text/javascript">
//<!#^#|CDATA|
  var dname_title = "{$this->ipsclass->lang['dname_title']}";
  menu_build_menu(
  "profile-options",
  new Array(
  			 '<img src="style_images/<#IMG_DIR#>/profile_item.gif" border="0" />' + " <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=getalluser&amp;mid={$info['mid']}'>{$this->ipsclass->lang['find_posts']}</a>",
  			 '<img src="style_images/<#IMG_DIR#>/profile_item.gif" border="0" />' + " <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=gettopicsuser&amp;mid={$info['mid']}'>{$this->ipsclass->lang['find_member_topics']}</a>",
<if="$this->ipsclass->member['id'] != 0">
'<img src="style_images/<#IMG_DIR#>/profile_item.gif" border="0" />' + " <a href='{$this->ipsclass->base_url}act=usercp&amp;CODE=ignore&amp;uid={$info['mid']}'>{$this->ipsclass->lang['ignore_user']}</a>",
</if>
<if="$this->ipsclass->member['g_is_supmod'] == 1">
'<img src="style_images/<#IMG_DIR#>/profile_item.gif" border="0" />' + " <a href='{$this->ipsclass->base_url}act=mod&amp;CODE=editmember&amp;auth_key={$auth_key}&amp;mid={$info['mid']}'>{$this->ipsclass->lang['supmod_edit_member']}</a>",
</if>
<if="$this->ipsclass->vars['auth_allow_dnames'] == 1">
'<img src="style_images/<#IMG_DIR#>/profile_item.gif" border="0" />' + " <a href='#' onclick='return profile_dname_history({$info['mid']})'>{$this->ipsclass->lang['dname_title']}</a>",
</if>
			'<img src="style_images/<#IMG_DIR#>/profile_item.gif" border="0" />' + " <a href='{$this->ipsclass->base_url}act=Msg&amp;CODE=02&amp;MID={$info['mid']}'>{$this->ipsclass->lang['op_add_pm_to_block']}</a>"
		) );
//|#^#]>
ips_personal_portal.settings['allow_rating']      = parseInt("{$this->ipsclass->vars['pp_allow_member_rate']}");
ips_personal_portal.settings['member_id']         = parseInt("{$info['mid']}");
ips_personal_portal.settings['is_super_mod']      = parseInt("{$info['g_is_supmod']}");
ips_personal_portal.settings['viewer_id']         = parseInt("{$this->ipsclass->member['id']}");
ips_personal_portal.settings['edit_allowed']	  = parseInt("{$this->ipsclass->member['g_edit_profile']}");
ips_personal_portal.settings['img_base_url']      = ipb_var_image_url + '/folder_profile_portal';
ips_personal_portal.settings['img_menu_icon']     = "{$this->ipsclass->vars['img_url']}/menu_action_down.gif";
ips_personal_portal.settings['img_friend_remove'] = "{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_remove_small.png";
ips_personal_portal.settings['img_friend_add']    = "{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_add_small.png";
// Languages
ips_personal_portal.languages['rate_me']          = '<span class="desc">{$this->ipsclass->lang['m_rate_me']}</span>';
ips_personal_portal.languages['friend_add']       = '{$this->ipsclass->lang['m_friend_add']}';
ips_personal_portal.languages['friend_remove']    = '{$this->ipsclass->lang['m_friend_remove']}';
ips_personal_portal.languages['img_alt_rate']     = '{$this->ipsclass->lang['js_img_alt_rate']}';
ips_personal_portal.languages['gender_male']      = '{$this->ipsclass->lang['js_gender_male']}';
ips_personal_portal.languages['gender_female']    = '{$this->ipsclass->lang['js_gender_female']}';
ips_personal_portal.languages['gender_mystery']   = '{$this->ipsclass->lang['js_gender_mystery']}';
ips_personal_portal.languages['loading_tab']      = '{$this->ipsclass->lang['js_loading_tab']}';
ips_personal_portal.languages['deleting_comment'] = '{$this->ipsclass->lang['js_deleting_comment']}';
ips_personal_portal.languages['saving_comment']   = '{$this->ipsclass->lang['js_saving_comment']}';
// INIT
ips_personal_portal.init();
</script>
<if="is_array( $this->ipsclass->member['_cache']['friends'] ) AND in_array( $info['mid'], array_keys( $this->ipsclass->member['_cache']['friends'] ) )">
	<script type='text/javascript'>
	//<!#^#|CDATA|
		ips_personal_portal.show_friend_add_or_remove( 0 );
	//|#^#]>
	</script>
<else />
	<script type='text/javascript'>
	//<!#^#|CDATA|
		ips_personal_portal.show_friend_add_or_remove( 1 );
	//|#^#]>
	</script>
</if>]]></section_content>
			<func_name>show_profile</func_name>
			<func_data><![CDATA[$info="",$auth_key=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_printpage</group_name>
			<section_content><![CDATA[<!--Copyright-->
<if="$this->ipsclass->vars['ipb_copy_number'] == ''">
<p class="printcopy">{$this->ipsclass->lang['powered_by']}IPB NULL EN (http://www.ipb-null.narod.ru)<br />&copy; IPB NULL EN (http://ipb-null.narod.ru/)</p>
</if>
	</div>
</body>
</html>]]></section_content>
			<func_name>pp_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_printpage</group_name>
			<section_content><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="content-type" content="text/html; charset={$this->ipsclass->vars['gb_char_set']}" />
		<title>{$this->ipsclass->vars['board_name']} [{$this->ipsclass->lang['powered_by']}IPB NULL EN]</title>
		<!--IPB.CSS-->
	</head>
	<body>
	<div id="print">
		<h1>{$this->ipsclass->lang['title']}</h1>
		<h2><a href="{$this->ipsclass->base_url}showtopic=$tid" title="{$this->ipsclass->lang['click_toview']}">{$this->ipsclass->lang['topic_here']}</a></h2>
		<h3>{$this->ipsclass->vars['board_name']} _ $forum_name _ $topic_title</h3>]]></section_content>
			<func_name>pp_header</func_name>
			<func_data><![CDATA[$forum_name="",$topic_title="",$topic_starter="",$fid="",$tid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[</tr>
</table>
<i>$spaceleft</i>
</div>]]></section_content>
			<func_name>uploadbox_tableend</func_name>
			<func_data><![CDATA[$spaceleft=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<br />
  <div class='borderwrap' style='padding:4px;width:70%;margin-left:4px'>
  	<table class='ipbtable' cellspacing="0">]]></section_content>
			<func_name>uploadbox_tabletop</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[<select name="skinid" onchange="window.location='{$this->ipsclass->vars['dynamiclite']}&amp;s={$this->ipsclass->session_id}&amp;setskin=1&amp;skinid=' + this.value">]]></section_content>
			<func_name>tmpl_skin_select_top</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[<div class="formsubtitle">
	<b><a href="{$this->ipsclass->base_url}showtopic=$tid">$title</a></b>
</div>
<div class="tablepad">
	<a href="{$this->ipsclass->base_url}showuser=$mid">$mname</a> &#064; $date
	<br />{$this->ipsclass->lang['recent_read']}: $views &nbsp; {$this->ipsclass->lang['recent_comments']}: $posts
</div>]]></section_content>
			<func_name>tmpl_topic_row</func_name>
			<func_data><![CDATA[$tid="",$title="",$posts="",$views="",$mid="",$mname="",$date=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content>$avatar</section_content>
			<func_name>tmpl_wrap_avatar</func_name>
			<func_data><![CDATA[$avatar=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_poll</group_name>
			<section_content><![CDATA[<tr>
  <td colspan='3' class='row1'>
<div class='borderwrap'>
  <div class='row1' style='padding:4px;'><span class='postdetails'><strong>{$question}</strong></span></div>
   <table class='ipbtable' cellpadding='4' cellspacing='0'>
	$choice_html
   </table>
   </div>
  </td>
</tr>]]></section_content>
			<func_name>poll_show_rendered_question</func_name>
			<func_data><![CDATA[$id="",$question="",$choice_html=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_poll</group_name>
			<section_content><![CDATA[<tr>
    <td class="row1" colspan="3" align="center"><b>{$this->ipsclass->lang['pv_total_votes']}: $total_votes</b></td>
</tr>]]></section_content>
			<func_name>show_total_votes</func_name>
			<func_data><![CDATA[$total_votes=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_login</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="formsubtitle">{$this->ipsclass->lang['errors_found']}</div>
	<div class="tablepad"><span class="postcolor">$data</span></div>
</div>
<br />]]></section_content>
			<func_name>errors</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_login</group_name>
			<section_content><![CDATA[<script language='JavaScript' type="text/javascript">
<!--
function ValidateForm() {
	var Check = 0;
	if (document.LOGIN.UserName.value == '') { Check = 1; }
	if (document.LOGIN.PassWord.value == '') { Check = 1; }
	if (Check == 1) {
<if="$this->ipsclass->vars['ipbli_usertype']=='username'">
alert("{$this->ipsclass->lang['blank_fields_user']}");
<else />
alert("{$this->ipsclass->lang['blank_fields_email']}");
</if>
		return false;
	} else {
		document.LOGIN.submit.disabled = true;
		return true;
	}
}
//-->
</script>
<if="$extra_form != ''">
$extra_form
</if>
<form action="{$this->ipsclass->base_url}act=Login&amp;CODE=01" method="post" name="LOGIN" onsubmit="return ValidateForm()">
	<input type="hidden" name="referer" value="$referer" />
	<div class="borderwrap">
		<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['log_in']}</div>
		<div class='row2'>
			<div class="formsubtitle">$message</div>
			<div class="errorwrap" style='margin-bottom:0px;padding-bottom:0px'>
				<h4>{$this->ipsclass->lang['form_title_attention']}</h4>
				<p>{$this->ipsclass->lang['login_text']}</p>
				<p><b>{$this->ipsclass->lang['forgot_pass']} <a href="{$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}?act=Reg&amp;CODE=10">{$this->ipsclass->lang['pass_link']}</a></b></p>
			</div>
		</div>
		<table class='ipbtable' cellspacing="0">
			<tr>
				<td width="60%" valign="top" class='row2'>
					<fieldset>
						<legend><b>{$this->ipsclass->lang['log_in']}</b></legend>
						<table class='ipbtable' cellspacing="1">
							<tr>
<if="$this->ipsclass->vars['ipbli_usertype'] == 'username'">
<td width="50%"><b>{$this->ipsclass->lang['enter_name']}</b></td>
								<td width="50%"><input type="text" size="25" maxlength="64" name="UserName" /></td>
<else />
<td width="50%"><b>{$this->ipsclass->lang['enter_email']}</b></td>
								<td width="50%"><input type="text" size="25" maxlength='150' value="{$this->ipsclass->input['UserName']}" name="UserName" /></td>
</if>
							</tr>
							<tr>
								<td width="50%"><b>{$this->ipsclass->lang['enter_pass']}</b></td>
								<td width="50%"><input type="password" size="25" name="PassWord" /></td>
							</tr>
						</table>
					</fieldset>
				</td>
				<td width="40%" valign="top" class='row2'>
					<fieldset>
						<legend><b>{$this->ipsclass->lang['options']}</b></legend>
						<table class='ipbtable' cellspacing="1">
							<tr>
								<td width="10%"><input class='checkbox' type="checkbox" name="CookieDate" value="1" checked="checked" /></td>
								<td width="90%"><b>{$this->ipsclass->lang['rememberme']}</b><br /><span class="desc">{$this->ipsclass->lang['notrecommended']}</span></td>
							</tr>
<if="$this->ipsclass->vars['disable_anonymous'] != 1">
<tr>
								<td width="10%"><input class='checkbox' type="checkbox" name="Privacy" value="1" /></td>
								<td width="90%"><b>{$this->ipsclass->lang['form_invisible']}</b><br /><span class="desc">{$this->ipsclass->lang['anon_name']}</span></td>
							</tr>
</if>
						</table>
					</fieldset>
				</td>
			</tr>
			<tr>
				<td class="formbuttonrow" colspan="2"><input class="button" type="submit" name="submit" value="{$this->ipsclass->lang['log_in_submit']}" /></td>
			</tr>
			<tr>
				<td class="catend" colspan="2"><!-- no content --></td>
			</tr>
		</table>
	</div>
</form>]]></section_content>
			<func_name>ShowForm</func_name>
			<func_data><![CDATA[$message="",$referer="",$extra_form=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mlist</group_name>
			<section_content><![CDATA[<div>
	<fieldset>
 	<legend><b>{$this->ipsclass->lang['title_options']}</b></legend>
 		<table class='ipbtable' cellspacing="0">
 			<tr>
 				<td>$data</td>
 			</tr>
		</table>
	</fieldset>
</div>]]></section_content>
			<func_name>mlist_custom_field_wrap</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mlist</group_name>
			<section_content><![CDATA[<!-- SEARCH FORM -->
<form action="{$this->ipsclass->base_url}act=members" method="post">
	<div class="borderwrap" style='padding:1px;'>
		<div class="pp-title" style='height:20px'>
			<div style="float: right;"><input type="button" class="button" value="{$this->ipsclass->lang['toggle_more']}" onclick="toggleview('mlist');" /></div>
			<div style='padding-top:4px'>{$this->ipsclass->lang['title_search']}</div>
		</div>
		<div class="tablepad" align="center">
			<table class='ipbtable' cellspacing="0">
				<tr>
					<td width="35%" valign="top">
						<fieldset style='height:45px'>
						<legend><b>{$this->ipsclass->lang['s_name']}</b></legend>
							<select name="name_box">
								<option value="begins">{$this->ipsclass->lang['s_begins']}</option>
								<option value="contains">{$this->ipsclass->lang['s_contains']}</option>
							</select>&nbsp;&nbsp;<input type="text" size="15" name="name" value="{$this->ipsclass->input['name']}" />
						</fieldset>
					</td>
					<td width="25%" valign="top">
						<fieldset style='height:45px'>
						<legend><b>{$this->ipsclass->lang['member_photo']}</b></legend>
							<input class='checkbox' type="checkbox" value="1" name="photoonly" $checked /> {$this->ipsclass->lang['photo_only']}
						</fieldset>
					</td>
					<td width="15%" valign="top">
						<fieldset style='height:45px'>
						<legend><b>{$this->ipsclass->lang['m_gender_s']}</b></legend>
							<select name='pp_gender'>
								<if="! $this->ipsclass->input['pp_gender'] OR $this->ipsclass->input['pp_gender'] == 'any'">
									<option value='any' selected='selected'>{$this->ipsclass->lang['m_gender_a']}</option>
								<else />
									<option value='any'>{$this->ipsclass->lang['m_gender_a']}</option>
								</if>
								<if="$this->ipsclass->input['pp_gender'] == 'male'">
									<option value='male' selected='selected'>{$this->ipsclass->lang['m_gender_m']}</option>
								<else />
									<option value='male'>{$this->ipsclass->lang['m_gender_m']}</option>
								</if>
								<if="$this->ipsclass->input['pp_gender'] == 'female'">
									<option value='female' selected='selected'>{$this->ipsclass->lang['m_gender_f']}</option>
								<else />
									<option value='female'>{$this->ipsclass->lang['m_gender_f']}</option>
								</if>
							</select>
						</fieldset>
					</td>
					<if="$this->ipsclass->vars['pp_allow_member_rate']">
					<td width="25%" valign="top">
						<fieldset style='height:45px'>
						<legend><b>{$this->ipsclass->lang['m_rating']}</b></legend>
							{$this->ipsclass->lang['m_rating_morethan']}
							<select name='pp_rating_real'>
								<if="! $this->ipsclass->input['pp_rating_real']">
									<option value='0' selected='selected'>0</option>
								<else />
									<option value='0'>0</option>
								</if>
								<if="$this->ipsclass->input['pp_rating_real'] == 1">
									<option value='1' selected='selected'>1</option>
								<else />
									<option value='1'>1</option>
								</if>
								<if="$this->ipsclass->input['pp_rating_real'] == 2">
									<option value='2' selected='selected'>2</option>
								<else />
									<option value='2'>2</option>
								</if>
								<if="$this->ipsclass->input['pp_rating_real'] == 3">
									<option value='3' selected='selected'>3</option>
								<else />
									<option value='3'>3</option>
								</if>
								<if="$this->ipsclass->input['pp_rating_real'] == 4">
									<option value='4' selected='selected'>4</option>
								<else />
									<option value='4'>4</option>
								</if>
							</select>
						</fieldset>
					</td>
					</if>
				</tr>
			</table>
			<!-- START HIDE -->
	<div style="display: none;" id="mlist">
		<table class='ipbtable' cellspacing="0">
			<tr>
				
				<td width="50%" valign="top">
					<fieldset>
					<legend><b>{$this->ipsclass->lang['s_homepage']}</b></legend>
						<input type="text" size="50" name="homepage" value="{$this->ipsclass->input['homepage']}" />
					</fieldset>
				</td>
				<td width="50%" valign="top">
					<fieldset>
						<legend><b>{$this->ipsclass->lang['s_signature']}</b></legend>
							<input type="text" size="50" name="signature" value="{$this->ipsclass->input['signature']}" />
					</fieldset>
				</td>
			</tr>
			<tr>
				<td width="50%" valign="top">
					<fieldset>
					<legend><b>{$this->ipsclass->lang['title_messengers']}</b></legend>
						<table class='ipbtable' cellspacing="0">
							<tr>
								<td width="60%">{$this->ipsclass->lang['s_aim']}</td>
								<td width="40%"><input type="text" size="20" name="aim" value="{$this->ipsclass->input['aim']}" /></td>
							</tr>
							<tr>
								<td width="60%">{$this->ipsclass->lang['s_yahoo']}</td>
								<td width="40%"><input type="text" size="20" name="yahoo" value="{$this->ipsclass->input['yahoo']}" /></td>
							</tr>
							<tr>
								<td width="60%">{$this->ipsclass->lang['s_icq']}</td>
								<td width="40%"><input type="text" size="20" name="icq" value="{$this->ipsclass->input['icq']}" /></td>
							</tr>
							<tr>
								<td width="60%">{$this->ipsclass->lang['s_msn']}</td>
								<td width="40%"><input type="text" size="20" name="msn" value="{$this->ipsclass->input['msn']}" /></td>
							</tr>
						</table>
					</fieldset>
				</td>
				<td width="50%" valign="top">
					<fieldset>
					<legend><b>{$this->ipsclass->lang['title_date']}</b></legend>
						<table class='ipbtable' cellspacing="0">
							<tr>
								<td width="30%">{$this->ipsclass->lang['s_posts']}</td>
								<td width="70%">
									<select class="dropdown" name="posts_ltmt">
										<option value="lt">{$this->ipsclass->lang['s_lessthan']}</option>
										<option value="mt">{$this->ipsclass->lang['s_morethan']}</option>
									</select>
									&nbsp;<input type="text" size="15" name="posts" value="{$this->ipsclass->input['posts']}" />
								</td>
							</tr>
							<tr>
								<td width="30%">{$this->ipsclass->lang['s_joined']}</td>
								<td width="70%">
									<select class="dropdown" name="joined_ltmt">
										<option value="lt">{$this->ipsclass->lang['s_lessthan']}</option>
										<option value="mt">{$this->ipsclass->lang['s_morethan']}</option>
									</select>
									&nbsp;<input type="text" size="10" name="joined" value="{$this->ipsclass->input['joined']}" /> <span class="desc">{$this->ipsclass->lang['s_dateformat']}</span>
								</td>
							</tr>
							<tr>
								<td width="30%">{$this->ipsclass->lang['s_lastpost']}</td>
								<td width="70%">
									<select class="dropdown" name="lastpost_ltmt">
										<option value="lt">{$this->ipsclass->lang['s_lessthan']}</option>
										<option value="mt">{$this->ipsclass->lang['s_morethan']}</option>
									</select>
									&nbsp;<input type="text" size="10" name="lastpost" value="{$this->ipsclass->input['lastpost']}" /> <span class="desc">{$this->ipsclass->lang['s_dateformat']}</span>
								</td>
							</tr>
							<tr>
								<td width="30%">{$this->ipsclass->lang['s_lastvisit']}</td>
								<td width="70%">
									<select class="dropdown" name="lastvisit_ltmt">
										<option value="lt">{$this->ipsclass->lang['s_lessthan']}</option>
										<option value="mt">{$this->ipsclass->lang['s_morethan']}</option>
									</select>
									&nbsp;<input type="text" size="10" name="lastvisit" value="{$this->ipsclass->input['lastvisit']}" /> <span class="desc">{$this->ipsclass->lang['s_dateformat']}</span>
								</td>
							</tr>
						</table>
					</fieldset>
				</td>
			</tr>
		</table>
		<!--CUSTOM_FIELDS-->
	</div>
		<!-- END HIDE -->
	</div>
		<div align="center" class="formsubtitle">{$this->ipsclass->lang['sorting_text']}&nbsp;<input type="submit" value="{$this->ipsclass->lang['sort_submit']}" class="button" /></div>
	</div>
</form>
<!--FORM-->
<br />
<div>{$pages}</div>
<br />
<div class="borderwrap" style='padding:1px'>
	<div class="pp-title" style='height:20px'>
		<div style="float: right;">
			<form name="quickjumpform" action="{$this->ipsclass->base_url}act=members" method="post">
				<input type="submit" name="qjbutton" value="{$this->ipsclass->lang['button_quickjump']}" class="button" />
				<select name="quickjump">
					{$quickjump}
				</select>
			</form>
		</div>
		<div style='padding-top:3px'>{$this->ipsclass->lang['page_title']}</div>
	</div>
	
	<div id='pp-iframe-wrap' class='pp-contentbox-back'>
	<table class='ipbtable' cellspacing="1">
	<tr>
	<if="is_array( $members ) and count( $members )">
		<foreach="$members as $member">
			<!-- Entry for {$member['members_display_name']} -->
			<if="$member['_new_row']">
				</tr>
				<tr>
			</if>
			<if="$member['_blank']">
				<td valign='top' width='25%'>&nbsp;</td>
			<else />
				<td class='pp-contentbox-entry-noheight' valign='top' width='20%'>
					<div id="post-member-{$member['id']}" class='popmenubutton-new-out' style='height:36px; margin-bottom:3px'>
						<div class='pp-image-mini-wrap-floatright' style='margin-right:10px'><img src='{$member['pp_mini_photo']}' width='{$member['pp_mini_width']}' height='{$member['pp_mini_height']}' alt='' /></div>
						<div style='margin-top:4px'>
							{$member['_pp_gender_image']}<strong><a href="{$this->ipsclass->base_url}showuser={$member['id']}">{$member['members_display_name_short']}</a></strong>
							<if="$this->ipsclass->vars['pp_allow_member_rate']">
								<div style='margin-left:15px;'>
									<img src="{$this->ipsclass->vars['img_url']}/rating_{$member['_pp_rating_real']}_mini.gif" alt='{$this->ipsclass->lang['rating_prefix']}: {$member['_pp_rating_real']}' style='vertical-align:middle' border='0' />
								</div>
							</if>
						</div>
					</div>
					<!-- member menu -->
					<div class='popupmenu-new' id='post-member-{$member['id']}_menu' style='display:none;width:230px;'>
						<div class='popupmenu-item-last'>
							<if="$member['members_display_name_short'] != $member['_members_display_name']">
								<div class='popupmenu-item'><strong>{$member['members_display_name']}</strong></div>
							</if>
							<div class='pp-image-thumb-wrap-floatright'><img src='{$member['pp_thumb_photo']}' width='{$member['pp_thumb_width']}' height='{$member['pp_thumb_height']}' alt='' /></div>
							<div class='popupmenu-item'>
								{$member['_pp_gender_image']} <a href="{$this->ipsclass->base_url}showuser={$member['id']}">{$this->ipsclass->lang['m_view_profile']}</a>
							</div>
							<if="$this->ipsclass->member['id']">
								<div class='popupmenu-item'>
									<if="in_array( $member['id'], array_keys( $this->ipsclass->member['_cache']['friends'] ) )">
										<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_remove_small.png' alt='' border='0' /> <a href="#" onclick='friends_pop("&amp;do=remove&amp;member_id={$member['id']}&amp;md5check={$this->ipsclass->md5_check}"); return false'>{$this->ipsclass->lang['m_remove_friend']}</a>
									<else />
										<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_add_small.png' alt='' border='0' /> <a href="#" onclick='friends_pop("&amp;do=add&amp;member_id={$member['id']}&amp;md5check={$this->ipsclass->md5_check}"); return false'>{$this->ipsclass->lang['m_add_friend']}</a>
									</if>
								</div>
								<div class='popupmenu-item'>
									<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/send_pm_small.png' alt='' border='0' /> <a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$member['id']}">{$this->ipsclass->lang['m_send_message']}</a>
								</div>
								<div class='popupmenu-item'>
									<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/find_posts.png' alt='' border='0' /> <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=gettopicsuser&amp;mid={$member['id']}'>{$this->ipsclass->lang['dd_find_topics']}</a>
								</div>									
							</if>
							<div class='popupmenu-item-last'>
								<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/find_posts.png' alt='' border='0' /> <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=getalluser&amp;mid={$member['id']}'>{$this->ipsclass->lang['m_find_posts']}</a>
							</div>
						</div>
					</div>
					<!-- member menu -->
					<script type="text/javascript">
						ipsmenu.register( "post-member-{$member['id']}", '', 'popmenubutton-new', 'popmenubutton-new-out' );
					</script>
				
					<strong>{$member['member_rank_img']}</strong>
					<div class='pp-tiny-text'>
						{$member['_pp_online_image']}{$member['_last_active']}
						<br />{$member['group']}
						<br /><b>{$this->ipsclass->lang['member_joined']}:</b> {$member['joined']}
						<br /><b>{$this->ipsclass->lang['member_posts']}:</b> {$member['posts']}
						<br /><b>{$this->ipsclass->lang['m_views']}:</b> {$member['_pp_profile_views']}
					</div>
				</td>
			</if>
			<!-- End of Entry -->
		</foreach>
		</tr>
	<else />
		<tr>
			<td class="row2" colspan="7" align="center">{$this->ipsclass->lang['no_results']}</td>
		</tr>
	</if>
	</table>
	</div>
</div>
<br />
<div>$pages</div>]]></section_content>
			<func_name>member_list_show</func_name>
			<func_data><![CDATA[$members, $pages="",$quickjump="", $checked=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_help</group_name>
			<section_content><![CDATA[<tr>
		<td class="row2">$text</td>
	</tr>]]></section_content>
			<func_name>display</func_name>
			<func_data><![CDATA[$text=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_help</group_name>
			<section_content><![CDATA[<tr>
			<td class="catend"></td>
		</tr>
	</table>
</div>]]></section_content>
			<func_name>help_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_help</group_name>
			<section_content><![CDATA[<tr>
		<td class="row2" align="center"><b>{$this->ipsclass->lang['no_results']}</b></td>
	</tr>]]></section_content>
			<func_name>no_results</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_help</group_name>
			<section_content><![CDATA[<tr>
		<td class="row1"><a href="{$this->ipsclass->base_url}act=Help&amp;CODE=01&amp;HID={$entry['id']}"><b>{$entry['title']}</b></a><br />{$entry['description']}</td>
	</tr>]]></section_content>
			<func_name>row</func_name>
			<func_data><![CDATA[$entry=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_help</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}" method="post">
	<input type="hidden" name="act" value="Help" />
	<input type="hidden" name="CODE" value="02" />
	<div class="borderwrap">
		<div class="maintitle"><{CAT_IMG}>&nbsp;$one_text</div>
		<table class='ipbtable' cellspacing="1">
			<tr>
				<th>$two_text</th>
			</tr>
			<tr>
				<td class="row2">{$this->ipsclass->lang['search_txt']}&nbsp;&nbsp;<input type="text" maxlength="60" size="30" name="search_q" />&nbsp;<input class="gobutton" type="image" src="{$this->ipsclass->vars['img_url']}/login-button.gif" /></td>
			</tr>
			<tr>
				<td class="catend"></td>
			</tr>
		</table>
	</div>
</form>
<br />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;$three_text</div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th>$two_text</th>
		</tr>]]></section_content>
			<func_name>start</func_name>
			<func_data><![CDATA[$one_text="",$two_text="",$three_text=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_online</group_name>
			<section_content><![CDATA[<!-- Entry for {$session['member_id']} -->
			<tr>
				<td class="row1">{$session['member_name']}</td>
				<td class="row1">{$session['where_line']}</td>
				<td class="row1" align="center">{$session['running_time']}</td>
				<td class="row1" align="center">{$session['msg_icon']}</td>
			</tr>
<!-- End of Entry -->]]></section_content>
			<func_name>show_row</func_name>
			<func_data><![CDATA[$session=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_legends</group_name>
			<section_content><![CDATA[</table>
	</div>
</div>
<br />]]></section_content>
			<func_name>page_footer</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_legends</group_name>
			<section_content><![CDATA[<div>
	<div class="borderwrap">
		<div class="maintitle">$title</div>
		<table class='ipbtable' cellspacing="1">
			<tr>
				<td width="50%" align="center" class="formsubtitle" valign="middle">$row1</td>
				<td width="50%" align="center" class="formsubtitle" valign="middle">$row2</td>
			</tr>]]></section_content>
			<func_name>page_header</func_name>
			<func_data><![CDATA[$title="",$row1="",$row2=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_legends</group_name>
			<section_content><![CDATA[<script type="text/javascript" src='jscripts/ipb_xhr_findnames.js'></script>
<div id='ipb-get-members' style='border:1px solid #000; background:#FFF; padding:2px;position:absolute;width:252px;display:none;z-index:1'></div>
<form name="finduser" method="post" action="{$this->ipsclass->base_url}act=legends&amp;entry=$entry&amp;name=$name&amp;sep=$sep&amp;CODE=finduser_two" id="postingform">
	<table class='ipbtable' cellspacing="1">
		<tr>
			<td class="pagetitle">{$this->ipsclass->lang['fu_title']}<hr noshade='noshade' /></td>
		</tr>
		<tr>
			<td align="center" valign="middle"><b>{$this->ipsclass->lang['fu_enter_name']}</b><br /><br /><input type="text" size="40" id="username" name="username" /><br /><br /><input class='button' type="submit" value="{$this->ipsclass->lang['fu_search_but']}" /></td>
		</tr>
		<tr>
			<td class="pcen"><a href="javascript:window.close();">{$this->ipsclass->lang['fu_close_win']}</a></td>
		</tr>
	</table>
</form>
<script type="text/javascript">
// INIT find names
init_js( 'postingform', 'username', 'get-member-names');
// Run main loop
setTimeout( 'main_loop()', 10 );
</script>]]></section_content>
			<func_name>find_user_one</func_name>
			<func_data><![CDATA[$entry="",$name="",$sep="comma"]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_legends</group_name>
			<section_content><![CDATA[<form name="finduser" method="post" action="{$this->ipsclass->base_url}entry=$entry&amp;name=$name&amp;sep=$sep&amp;CODE=finduser_two">
	<table class='ipbtable' cellspacing="1">
		<tr>
			<td class="pagetitle">{$this->ipsclass->lang['fu_error']}<hr noshade='noshade' /></td>
		</tr>
		<tr>
			<td align="center" valign="middle">{$msg}</td>
		</tr>
		<tr>
			<td class="pcen"><a href="javascript:history.go(-1);">{$this->ipsclass->lang['fu_back']}</a> :: <a href="javascript:window.close();">{$this->ipsclass->lang['fu_close_win']}</a></td>
		</tr>
	</table>
</form>]]></section_content>
			<func_name>find_user_error</func_name>
			<func_data><![CDATA[$msg=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_legends</group_name>
			<section_content><![CDATA[<script type="text/javascript">
<!--
var separator = '$sep';
var entry     = '$entry';
var in_name   = '$name';
-->
</script>
<script type="text/javascript" src="jscripts/ipb_finduser.js"></script>
<form name="finduser">
	<table class='ipbtable' cellspacing="1">
		<tr>
			<td class="pagetitle">{$this->ipsclass->lang['fu_title']}<hr noshade='noshade' /></td>
		</tr>
		<tr>
			<td align="center" valign="middle">{$this->ipsclass->lang['fu_add_desc']}<br /><br /><select name="username">$names</select><br /><br /><input type="button" name="add" onClick="add_to_form()" value="{$this->ipsclass->lang['fu_add_mem']}"></td>
		</tr>
		<tr>
			<td class="pcen"><a href="javascript:history.go(-1);">{$this->ipsclass->lang['fu_back']}</a> :: <a href="javascript:window.close();">{$this->ipsclass->lang['fu_close_win']}</a></td>
		</tr>
	</table>
</form>]]></section_content>
			<func_name>find_user_final</func_name>
			<func_data><![CDATA[$names="",$entry="",$name="",$sep="line"]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_legends</group_name>
			<section_content><![CDATA[<tr>
	<td align="center" class="row1" valign="middle"><a href={$out}javascript:add_smilie({$in}$code{$in},{$in}smid_$smilie_id{$in}){$out}>$code</a></td>
	<td align="center" class="row1" valign="middle"><a href={$out}javascript:add_smilie({$in}$code{$in},{$in}smid_$smilie_id{$in}){$out}><img src="{$this->ipsclass->vars['EMOTICONS_URL']}/$image" id='smid_$smilie_id' valign="absmiddle" alt="$image" /></a></td>
</tr>]]></section_content>
			<func_name>emoticons_row</func_name>
			<func_data><![CDATA[$code="",$image="",$in="'",$out="'",$smilie_id=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_emails</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle">{$this->ipsclass->lang['send_email_to']} {$data[NAME]}</div>
	<div class="tablepad">
		{$this->ipsclass->lang['show_address_text']}
		<br />
		&gt;&gt;<b><a href="mailto:{$data[ADDRESS]}" class="misc">{$this->ipsclass->lang['send_email_to']} {$data[NAME]}</a></b>
	</div>
</div>]]></section_content>
			<func_name>show_address</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_emails</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle">{$this->ipsclass->lang['email_sent']}</div>
	<div class="tablepad">{$this->ipsclass->lang['email_sent_txt']} $member_name</div>
</div>]]></section_content>
			<func_name>sent_screen</func_name>
			<func_data><![CDATA[$member_name=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_emails</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}" method="post" name="REPLIER">
	<input type="hidden" name="act" value="Mail" />
	<input type="hidden" name="CODE" value="01" />
	<input type="hidden" name="to" value="{$data['TO']}" />
	<div><b>{$this->ipsclass->lang['imp_text']}</b></div>
	<br />
	<div class="borderwrap">
		<div class="maintitle">{$this->ipsclass->lang['send_title']}</div>
		<div class="formsubtitle">{$this->ipsclass->lang['send_email_to']} {$data['NAME']}</div>
		<table class='ipbtable' cellspacing="1">
			<tr>
				<td class="pformleftw" valign="top"><b>{$this->ipsclass->lang['subject']}</b></td>
				<td class="pformright"><input type="text" name="subject" value="{$data['subject']}" size="50" maxlength="50" /></td>
			</tr>
			<tr>
				<td class="pformleftw" valign="top"><b>{$this->ipsclass->lang['message']}</b><br /><br />{$this->ipsclass->lang['msg_txt']}</td>
				<td class="pformright"><textarea cols="60" rows="12" wrap="soft" name="message" class="textinput">{$data['content']}</textarea></td>
			</tr>
			<tr>
				<td class="formbuttonrow" colspan="2"><input class='button' type="submit" value="{$this->ipsclass->lang['submit_send']}" /></td>
			</tr>
		</table>
	</div>
</form>]]></section_content>
			<func_name>send_form</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_emails</group_name>
			<section_content><![CDATA[<table class='ipbtable' cellspacing="0">
	<tr>
		<td>
			<table class='ipbtable' cellspacing="0">
				<tr>
					<th colspan="2" align="center">{$data[TITLE]}</th>]]></section_content>
			<func_name>pager_header</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_emails</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}act=report&amp;send=1&amp;t=$tid&amp;p=$pid&amp;st=$st" method="post" name="REPLIER">
	<div class="borderwrap">
		<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['report_title']}</div>
		<table class='ipbtable' cellspacing="1">
			<tr>
				<td class="row1"  width="30%" valign="top"><b>{$this->ipsclass->lang['report_topic']}</b></td>
				<td class="row1" width="80%" style='padding-left:9px;'><a href="{$this->ipsclass->base_url}showtopic=$tid&amp;st=$st&amp;&#35;entry$pid">$topic_title</a>
				</td>
			</tr>
			<tr>
				<td class="row1"  width="30%" valign="top">{$this->ipsclass->lang['report_message']}</td>
				<td class="row1" width="80%"><textarea cols="60" rows="12" wrap="soft" name="message" class="textinput"></textarea>
				</td>
			</tr>
			<tr>
				<td class="formbuttonrow" colspan="2"><input class='button' type="submit" value="{$this->ipsclass->lang['report_submit']}" /></td>
			</tr>
		</table>
	</div>
</form>]]></section_content>
			<func_name>report_form</func_name>
			<func_data><![CDATA[$tid="",$pid="",$st="",$topic_title=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_emails</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}" method="post" name='REPLIER'>
	<input type="hidden" name="act"  value="Forward" />
	<input type="hidden" name="CODE" value="01" />
	<input type="hidden" name="s"    value="{$this->ipsclass->session_id}" />
	<input type="hidden" name="st"   value="{$this->ipsclass->input['st']}" />
	<input type="hidden" name="f"    value="{$this->ipsclass->input['f']}" />
	<input type="hidden" name="t"    value="{$this->ipsclass->input['t']}" />
	<div class="borderwrap">
		<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['title']}</div>
		<table class='ipbtable' cellspacing="0">
			<tr>
				<td class="row1"  width="30%" valign="top"><b>{$this->ipsclass->lang['send_lang']}</b></td>
				<td class="row1" width="80%">$lang</td>
			</tr>
			<tr>
				<td class="row1"  width="30%" valign="top"><b>{$this->ipsclass->lang['to_name']}</b></td>
				<td class="row1" width="80%"><input type="text" name="to_name" value="" size="30" maxlength="100" /></td>
			</tr>
			<tr>
				<td class="row1"  width="30%" valign="top"><b>{$this->ipsclass->lang['to_email']}</b></td>
				<td class="row1" width="80%"><input type="text" name="to_email" value="" size="30" maxlength="100" /></td>
			</tr>
			<tr>
				<td class="row1"  width="30%" valign="top"><b>{$this->ipsclass->lang['subject']}</b></td>
				<td class="row1" width="80%"><input type="text" name="subject" value="{$title}" size="30" maxlength="120" /></td>
			</tr>
			<tr>
				<td class="row1"  width="30%" valign="top"><b>{$this->ipsclass->lang['message']}</b></td>
				<td class="row1" width="80%"><textarea cols="60" rows="12" wrap="soft" name="message" class="textinput">{$text}</textarea>
				</td>
			</tr>
			<tr>
				<td class="formbuttonrow" colspan="2"><input class='button' type="submit" value="{$this->ipsclass->lang['submit_send']}" /></td>
			</tr>
		</table>
	</div>
</form>]]></section_content>
			<func_name>forward_form</func_name>
			<func_data><![CDATA[$title="",$text="",$lang=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_emails</group_name>
			<section_content><![CDATA[<table class='ipbtable' cellspacing="1">
	<tr>
		<td align="right">$data</td>
	</tr>
</table>]]></section_content>
			<func_name>forum_jump</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_emails</group_name>
			<section_content><![CDATA[<!-- End content Table -->
			</table>
		</td>
	</tr>
	<tr>
		<td class="darkrow1" colspan="2">&nbsp;</td>
	</tr>
</table>]]></section_content>
			<func_name>end_table</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_emails</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle">{$this->ipsclass->lang['errors_found']}</div>
	<div class="tablepad"><span class="postcolor">$data</span></div>
</div>
<br />]]></section_content>
			<func_name>errors</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_emails</group_name>
			<section_content><![CDATA[<div align="center">
	<applet codebase="http://{$server}/current/" code="Client.class" archive="scclient_$lang.zip" width="$w" height="$h">
		<param name="room" value="$acc_no">
		<param name="cabbase" value="scclient_$lang.cab">
		<param name="username" value="$user">
		<param name="password" value="$pass">
		<param name="autologin" value="yes">
	</applet>
</div>]]></section_content>
			<func_name>chat_pop</func_name>
			<func_data><![CDATA[$server="",$acc_no="",$lang="",$w="",$h="",$user="",$pass=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mlist</group_name>
			<section_content><![CDATA[<input type="text" size="50" name="$name" value="" />]]></section_content>
			<func_name>mlist_custom_field_textinput</func_name>
			<func_data><![CDATA[$name=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<a href="javascript:who_posted($tid);">$posts</a>]]></section_content>
			<func_name>who_link</func_name>
			<func_data><![CDATA[$tid="",$posts=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<img src='{$this->ipsclass->vars['img_url']}/rating_{$rating_id}_mini.gif' border='0' alt='{$rating_id}' />&nbsp;]]></section_content>
			<func_name>topic_rating_image</func_name>
			<func_data>$rating_id=1</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<a href="#" onclick="PopUp('{$this->ipsclass->base_url}act=attach&amp;code=showtopic&amp;tid={$tid}', 'Attach{$tid}', 500,400); return false;" title="{$count} {$this->ipsclass->lang['topic_attach']}"><{ATTACH_ICON}></a>]]></section_content>
			<func_name>topic_attach_icon</func_name>
			<func_data><![CDATA[$tid="",$count=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<!-- END PINNED -->
<tr>
   <td class="darkrow1" colspan="8"><b>{$this->ipsclass->lang['regular_topics']}</b></td>
</tr>]]></section_content>
			<func_name>render_pinned_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<!--PINNED-->
<if="$show == 1">
<tr>
	<td class="darkrow1" colspan="8"><b>{$this->ipsclass->lang['pinned_start']}</b></td>
</tr>
</if>
    <!-- END PINNED -->]]></section_content>
			<func_name>render_pinned_start</func_name>
			<func_data>$show=0</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<tr> 
	<td class="row2" colspan="8" align="center">
		<br />
		<b>{$this->ipsclass->lang['no_topics']}</b>
		<br /><br />
	</td>
</tr>]]></section_content>
			<func_name>show_no_matches</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<a href="javascript:multi_page_jump( $total, $pp, '$qe' )" title="{$this->ipsclass->lang['tpl_jump']}">{$this->ipsclass->lang['multi_page_forum']}</a>]]></section_content>
			<func_name>show_page_jump</func_name>
			<func_data><![CDATA[$total="",$pp="",$qe=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<h3><{CAT_IMG}>&nbsp;{$rules['title']}, <a href="{$this->ipsclass->base_url}act=SF&amp;f={$rules['fid']}">{$this->ipsclass->lang['back_to_forum']}</a></h3>
	<p>{$rules['body']}</p>
</div>]]></section_content>
			<func_name>show_rules</func_name>
			<func_data><![CDATA[$rules=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<tr>
			<td colspan="8" class="darkrow1">
				<table class='ipbtable' cellspacing="0">
					<tr>
						<td width="50%" class="nopad">
							<form action="{$this->ipsclass->base_url}" method="post" name="search">
								<input type="hidden" name="forums" value="{$data['id']}" />
								<input type="hidden" name="cat_forum" value="forum" />
								<input type="hidden" name="act" value="Search" />
								<input type="hidden" name="joinname" value="1" />
								<input type="hidden" name="CODE" value="01" />
								<input type="text" size="30" name="keywords" value="{$this->ipsclass->lang['enter_keywords']}" onfocus="this.value = '';" /> <input type="submit" value="{$this->ipsclass->lang['search_forum']}" class="button" />
							</form>
						</td>
<if="$this->ipsclass->member['is_mod'] == 1">
<td width="50%" align="right" nowrap="nowrap" class="nopad">
							<form name="modform" method="post" action="{$this->ipsclass->base_url}" onsubmit="return checkdelete();">
								<input type="hidden" name="act" value="mod" />
								<input type="hidden" name="CODE" value="topicchoice" />
								<input type="hidden" name="f" value="{$data['id']}" />
								<input type="hidden" name="auth_key" value="{$auth_key}" />
								<input type="hidden" name="modfilter" value="{$this->ipsclass->input['modfilter']}" />
								<input type="hidden" value="{$this->ipsclass->input['selectedtids']}" name="selectedtids" />
								<select name="tact">
									<option value="close">{$this->ipsclass->lang['cpt_close']}</option>
									<option value="open">{$this->ipsclass->lang['cpt_open']}</option>
									<option value="pin">{$this->ipsclass->lang['cpt_pin']}</option>
									<option value="unpin">{$this->ipsclass->lang['cpt_unpin']}</option>
									<option value="move">{$this->ipsclass->lang['cpt_move']}</option>
									<option value="merge">{$this->ipsclass->lang['cpt_merge']}</option>
									<option value="delete">{$this->ipsclass->lang['cpt_delete']}</option>
									<option value="approve">{$this->ipsclass->lang['cpt_approve']}</option>
									<option value="unapprove">{$this->ipsclass->lang['cpt_unapprove']}</option>
									<!--IBF.MMOD-->
								</select>&nbsp;
								<input type="submit" name="gobutton" value="{$this->ipsclass->lang['f_go']}" class="button" />
							</form>
						</td>
</if>
					</tr>
				</table>
			</td>
		</tr>
		<tr> 
			<td class="catend" colspan="8"><!-- no content --></td>
		</tr>
	</table>
</div>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td style='padding-left:0px' width="50%" nowrap="nowrap">{$data['SHOW_PAGES']}</td>
		<td class='nopad' style='padding:5px 0px 5px 0px' align="right" width="50%"><a href="{$this->ipsclass->base_url}act=post&amp;do=new_post&amp;f={$data['id']}"><{A_POST}></a></td>
	</tr>
</table>
<!--IBF.FORUM_ACTIVE-->
<div class="activeusers">
	<div class="row2">
		<table class='ipbtable' cellspacing="0">
			<tr>
				<td width="5%" nowrap="nowrap">
					<{B_NEW}>&nbsp;&nbsp;<span class="desc">{$this->ipsclass->lang['pm_open_new']}</span>
					<br /><{B_NORM}>&nbsp;&nbsp;<span class="desc">{$this->ipsclass->lang['pm_open_no']}</span>
					<br /><{B_HOT}>&nbsp;&nbsp;<span class="desc">{$this->ipsclass->lang['pm_hot_new']}</span>
					<br /><{B_HOT_NN}>&nbsp;&nbsp;<span class="desc">{$this->ipsclass->lang['pm_hot_no']}</span>&nbsp;
				</td>
				<td width="5%" nowrap="nowrap">
					<{B_POLL}>&nbsp;&nbsp;<span class="desc">{$this->ipsclass->lang['pm_poll']}</span>
					<br /><{B_POLL_NN}>&nbsp;&nbsp;<span class="desc">{$this->ipsclass->lang['pm_poll_no']}</span>
					<br /><{B_LOCKED}>&nbsp;&nbsp;<span class="desc">{$this->ipsclass->lang['pm_locked']}</span>
					<br /><{B_MOVED}>&nbsp;&nbsp;<span class="desc">{$this->ipsclass->lang['pm_moved']}</span>
				</td>
				<td align="right" width="90%">
					{$data['FORUM_JUMP']}<br /><br />
					<form action="{$this->ipsclass->base_url}act=SF&amp;f={$data['id']}&amp;st={$this->ipsclass->input['st']}&amp;changefilters=1" method="post">
						<select name="sort_key">{$this->ipsclass->show['sort_by']}</select>
						<select name="sort_by">{$this->ipsclass->show['sort_order']}</select>
						<select name="prune_day">{$this->ipsclass->show['sort_prune']}</select>
						<select name="topicfilter">{$this->ipsclass->show['topic_filter']}</select>
						<input type="submit" value="{$this->ipsclass->lang['sort_submit']}" class="button" />
					<br /> <input type='checkbox' value='1' name='remember' class='checkbox' /> {$this->ipsclass->lang['remember_options']}
					</form>
				</td>
			</tr>
		</table>
	</div>
</div>
<script type="text/javascript">
<!--
  menu_build_menu(
  "forummenu-options",
  new Array(
<if="$this->ipsclass->member['is_mod'] == 1">
"~~NODIV~~<div class='popupmenu-category' align='center'>{$this->ipsclass->lang['moderator_options']}</div>",
			img_item + " <a href='{$this->ipsclass->base_url}showforum={$data['id']}&amp;modfilter=invisible_topics'>{$this->ipsclass->lang['mod_showallinvisible']}</a>",
			img_item + " <a href='{$this->ipsclass->base_url}showforum={$data['id']}&amp;modfilter=invisible_posts'>{$this->ipsclass->lang['mod_showallposts']}</a>",
			img_item + " <a href='{$this->ipsclass->base_url}act=mod&amp;CODE=resync&amp;f={$data['id']}&amp;auth_key={$this->ipsclass->md5_check}'>{$this->ipsclass->lang['mod_resync']}</a>",
			img_item + " <a href='#' onclick='forum_mod_pop({$data['id']});'>{$this->ipsclass->lang['mod_prune']}</a>",
			 "~~NODIV~~<div class='popupmenu-category' align='center'>{$this->ipsclass->lang['forum_options']}</div>",
</if>
  			 img_item + " <a href='{$this->ipsclass->base_url}act=Login&amp;CODE=04&amp;f={$data['id']}&amp;fromforum={$this->ipsclass->input['f']}'>{$this->ipsclass->lang['mark_as_read']}</a>",
  			 img_item + " <a href='{$this->ipsclass->base_url}act=Login&amp;CODE=04&amp;f={$data['id']}&amp;fromforum=0'>{$this->ipsclass->lang['mark_as_read2']}</a>",
  			 img_item + " <a href='{$this->ipsclass->base_url}act=usercp&amp;CODE=start_subs&amp;method=forum&amp;fid={$data['id']}'>{$this->ipsclass->lang['ft_title']}</a>"
		    ) );
//-->
 </script>
<br clear="all" />
<if="$this->ipsclass->member['is_mod']">
<br />
<a name='forumoptions'></a>
<div align="center" id='forumoptionsjs'>
	<a href="{$this->ipsclass->base_url}showforum={$data['id']}&amp;modfilter=invisible_topics">{$this->ipsclass->lang['mod_showallinvisible']}</a>
	&middot;
	<a href="{$this->ipsclass->base_url}showforum={$data['id']}&amp;modfilter=invisible_posts">{$this->ipsclass->lang['mod_showallposts']}</a>
	&middot;
	<a href="{$this->ipsclass->base_url}act=mod&amp;CODE=resync&amp;f={$data['id']}&amp;auth_key={$auth_key}">{$this->ipsclass->lang['mod_resync']}</a>
	&middot;
	<a href="javascript:PopUp('{$this->ipsclass->base_url}act=mod&amp;CODE=prune_start&amp;f={$data['id']}&amp;auth_key={$auth_key}', 'PRUNE', 600,500)">{$this->ipsclass->lang['mod_prune']}</a>
</div>
<script type='text/javascript'>
//<!#^#|CDATA|
 document.getElementById('forumoptionsjs').style.display = 'none';
//|#^#]>
</script>
</if>
<script type='text/javascript'>
//<!#^#|CDATA|
 // INIT links for editing
 
 if ( use_enhanced_js && perm_can_edit )
 {
 	forum_init_topic_links();
 }
//|#^#]>
</script>]]></section_content>
			<func_name>TableEnd</func_name>
			<func_data><![CDATA[$data="",$auth_key=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<!-- Begin Topic Entry {$data['tid']} -->
<tr> 
	<td align="center" class="$class2" id='tid-folder-{$data['tid']}' onclick='return topic_toggle_folder("{$data['tid']}", "{$data['state']}");'>{$data['folder_img']}</td>
	<td align="center" class="$class2">{$data['topic_icon']}</td>
	<td class="$class2" valign="middle">
	    <div style='float:right'>{$data['_rate_img']}</div>
		<div>
			{$data['go_new_post']}{$data['prefix']} {$data['attach_img']}<span id='tid-span-{$data['tid']}'><a id="tid-link-{$data['tid']}" href="{$this->ipsclass->base_url}showtopic={$data['tid']}" title="{$this->ipsclass->lang['topic_started_on']} {$data['start_date']}">{$data['title']}</a></span> {$data['PAGES']}
			<div class="desc"><span onclick='return span_desc_to_input("{$data['tid']}");' id='tid-desc-{$data['tid']}'>{$data['description']}</span></div>
		</div>
	</td>
	<td align='center' class="$classposts">
     {$data['posts']}
<if="$data['_hasqueued'] == 1 and $inforum == 1">
&nbsp;<a href="{$this->ipsclass->base_url}showtopic={$data['tid']}&amp;modfilter=invisible_posts"><{BC_QUEUED_POSTS}></a>
</if>
    </td>
	<td align="center" class="$class1">{$data['starter']}</td>
	<td align="center" class="$class1">{$data['views']}</td>
	<td class="$class1"><span class="lastaction">{$data['last_post']}<br /><a href="{$this->ipsclass->base_url}showtopic={$data['tid']}&amp;view=getlastpost">{$data['last_text']}</a> <b>{$data['last_poster']}</b></span></td>
<if="$this->ipsclass->member['is_mod'] == 1 and $inforum == 1 and $data['tidon'] == 1">
<td align="center" class="$class1"><input type='hidden' name='tid_{$data['real_tid']}' id='tid_{$data['real_tid']}' /><a href="#" title="{$this->ipsclass->lang['click_for_mod']}" onclick="forum_toggle_tid('{$data['real_tid']}'); return false;"><img name="img{$data['real_tid']}" id='ipb-topic-{$data['real_tid']}' src="{$this->ipsclass->vars['img_url']}/topic_selected.gif" alt='' /></a></td>
</if>
<if="$this->ipsclass->member['is_mod'] == 1 and $inforum == 1 and $data['tidon'] == 0">
<td align="center" class="$class1"><input type='hidden' name='tid_{$data['real_tid']}' id='tid_{$data['real_tid']}' /><a href="#" title="{$this->ipsclass->lang['click_for_mod']}" onclick="forum_toggle_tid('{$data['real_tid']}'); return false;"><img name="img{$data['real_tid']}" id='ipb-topic-{$data['real_tid']}' src="{$this->ipsclass->vars['img_url']}/topic_unselected.gif" alt='' /></a></td>
</if>
</tr>
<!-- End Topic Entry {$data['tid']} -->]]></section_content>
			<func_name>render_forum_row</func_name>
			<func_data><![CDATA[$data="",$class1='row2',$class2='row1',$classposts='row2',$inforum=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[&nbsp;<a href="javascript:multi_page_jump('{$this->ipsclass->base_url}showtopic={$tid}', $posts, $perpage );" title="{$this->ipsclass->lang['multipage_alt']}"><img src='{$this->ipsclass->vars['img_url']}/pages_icon.gif' alt='*' border='0' /></a> $pages]]></section_content>
			<func_name>pagination_wrap_pages</func_name>
			<func_data><![CDATA[$tid="",$pages="",$posts="",$perpage=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<span class="minipagelinklast"><a href="{$this->ipsclass->base_url}showtopic={$tid}&amp;st=$st&amp;start=$st">&raquo; $page</a></span>]]></section_content>
			<func_name>pagination_show_lastpage</func_name>
			<func_data><![CDATA[$tid="",$st="",$page=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<span class="minipagelink"><a href="{$this->ipsclass->base_url}showtopic={$tid}&amp;st=$st&amp;start=$st">$page</a></span>]]></section_content>
			<func_name>pagination_show_page</func_name>
			<func_data><![CDATA[$tid="",$st="",$page=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<!-- Begin Pinned Topic Entry {$data['tid']} -->
<tr> 
	<td align="center" class="row2">{$data['folder_img']}</td>
	<td align="center" class="row2">{$data['topic_icon']}</td>
	<td class="row2">
	<div>
		{$data['go_new_post']}{$data['prefix']} {$data['attach_img']}<a href="{$this->ipsclass->base_url}showtopic={$data['tid']}" title="{$this->ipsclass->lang['topic_started_on']} {$data['start_date']}">{$data['title']}</a> {$data[PAGES]}
		<div class="desc">{$data['description']}</div>
	</div>
	<td align="center" class="row2">{$data['posts']}</td>
	<td align="center" class="row2">{$data['starter']}</td>
	<td align="center" class="row2">{$data['views']}</td>
	<td class="row2"><span class="desc">{$data['last_post']}<br /><a href="{$this->ipsclass->base_url}showtopic={$data['tid']}&amp;view=getlastpost">{$data['last_text']}</a> <b>{$data['last_poster']}</b></span></td>
</tr>
<!-- End Pinned Topic Entry {$data['tid']} -->]]></section_content>
			<func_name>OLD_render_pinned_row</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<div><span class="pagetitle">$title</span>$pages</div>]]></section_content>
			<func_name>page_title</func_name>
			<func_data><![CDATA[$title="",$pages=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<script language="javascript" type="text/javascript">
<!--
var unselectedbutton  = "{$this->ipsclass->vars['img_url']}/topic_unselected.gif";
var selectedbutton    = "{$this->ipsclass->vars['img_url']}/topic_selected.gif";
var lang_gobutton     = "{$this->ipsclass->lang['f_go']}";
var lang_suredelete   = "{$this->ipsclass->lang['cp_js_delete']}";
var lang_otherpage    = "{$this->ipsclass->lang['jscript_otherpage']}";
var lang_clickhold    = "{$this->ipsclass->lang['js_clickhold']}";
var perm_can_edit     = $can_edit;
var perm_can_open     = $can_open;
var perm_can_close    = $can_close;
var perm_max_length   = {$this->ipsclass->vars['topic_title_max_len']};
// Set up img vars
var img_markers = {
	'bc_new.gif' : 'bc_nonew.gif',
	'bf_new.gif' : 'bf_nonew.gif',
	'br_new.gif' : 'br_nonew.gif'
};
var regex_markers = 'bc_new.gif|bf_new.gif|br_new.gif';
//-->
</script>
<script type="text/javascript" src="jscripts/ipb_forum.js"></script>
<!--IBF.SUBFORUMS-->
<table class='ipbtable' cellspacing="0">
	<tr>
		<td style='padding-left:0px' width="60%">{$data['SHOW_PAGES']}</td>
		<td class='nopad' style='padding:0px 0px 5px 0px' align="right" nowrap="nowrap"><a href="{$this->ipsclass->base_url}act=post&amp;do=new_post&amp;f={$data['id']}"><{A_POST}></a></td>
	</tr>
</table>
<div class="borderwrap">
	<div class="maintitle" style='padding:4px'>
	<!-- TABLE FIX FOR MOZILLA WRAPPING-->
	<table width='100%' cellspacing='0' cellpadding='0'>
	<tr>
	 <td width='99%'><div><{CAT_IMG}>&nbsp;{$data['name']}</div></td>
	 <td width='1%' nowrap='nowrap' align='right'>
	  <div class='popmenubutton' id='forummenu-options'><a href='#forumoptions'>{$this->ipsclass->lang['forum_options']}</a> <img src='{$this->ipsclass->vars['img_url']}/menu_action_down.gif' alt='V' title='{$this->ipsclass->lang['global_open_menu']}' border='0' /></div>
	 </td>
	</tr>
	</table>
   </div>
   <table class='ipbtable' cellspacing="1">
	<tr> 
		<th align="center">&nbsp;</th>
		<th align="center">&nbsp;</th>
		<th width="50%" nowrap="nowrap">{$this->ipsclass->lang['h_topic_title']}</th>
		<th width="7%" style="text-align:center" nowrap="nowrap">{$this->ipsclass->lang['h_replies']}</th>
		<th width="14%" style="text-align:center" nowrap="nowrap">{$this->ipsclass->lang['h_topic_starter']}</th>
		<th width="7%" style="text-align:center" nowrap="nowrap">{$this->ipsclass->lang['h_hits']}</th>
		<th width="22%" nowrap="nowrap">{$this->ipsclass->lang['h_last_action']}</th>
<if="$this->ipsclass->member['is_mod'] == 1">
<th width="1%" align="center"><a href="#" title="{$this->ipsclass->lang['click_for_mod']}" onclick="forum_select_all(); return false;"><img name="imgall" id='ipb-topics-all' src="{$this->ipsclass->vars['img_url']}/topic_unselected.gif" alt='' /></th>
</if>
	</tr>
	<!-- Forum page unique top -->
	<!--IBF.ANNOUNCEMENTS-->]]></section_content>
			<func_name>PageTop</func_name>
			<func_data><![CDATA[$data="",$can_edit=0,$can_open=0,$can_close=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<script language="javascript" type="text/javascript">
<!--
	function Validate(){
		// Check for Empty fields
		if (document.REG.uid.value == "" || document.REG.aid.value == ""){
			alert ("{$this->ipsclass->lang['js_blanks']}");
			return false;
		}
	}
-->
</script>
<form action="{$this->ipsclass->base_url}" method="post" name="REG" onsubmit="return Validate()">
<input type="hidden" name="act" value="Reg" />
<input type="hidden" name="CODE" value="03" />
<input type="hidden" name="type" value="lostpass" />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['dumb_header']}</div>
	<div class="formsubtitle">{$this->ipsclass->lang['lpf_title']}</div>
	
	<!--IBF.INPUT_TYPE-->
	
	<if="$this->ipsclass->vars['lp_method'] == 'choose'">
		<table class='ipbtable' cellspacing="0">
		<tr>
			<td class="pformleft"><b>{$this->ipsclass->lang['lpf_pass1']}</b><br /><i>{$this->ipsclass->lang['lpf_pass11']}</i></td>
			<td class="pformright"><input type="password" size="32" maxlength="32" name="pass1" /></td>
		</tr>
		<tr>
			<td class="pformleft"><b>{$this->ipsclass->lang['lpf_pass2']}</b><br /><i>{$this->ipsclass->lang['lpf_pass22']}</i></td>
			<td class="pformright"><input type="password" size="32" maxlength="32" name="pass2" /></td>
		</tr>
		</table>
	<else />
		<div class='tablepad'>
	 		{$this->ipsclass->lang['lp_random_pass']}
		</div>
	</if>
	
<div class='row2'>
<!--{REG.ANTISPAM}-->
</div>
	<div class="formsubtitle" align="center"><input class='button' type="submit" value="{$this->ipsclass->lang['dumb_submit']}" /></div>
</div>
</form>]]></section_content>
			<func_name>show_lostpass_form</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<input type="hidden" name="uid" value="$uid" />
<input type="hidden" name="aid" value="$aid" />]]></section_content>
			<func_name>show_lostpass_form_auto</func_name>
			<func_data><![CDATA[$aid="",$uid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<div class="tablepad">{$this->ipsclass->lang['dumb_text']}</div>
<div class="formsubtitle">{$this->ipsclass->lang['complete_form']}</div>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td class="pformleft"><b>{$this->ipsclass->lang['user_id']}</b></td>
		<td class="pformright"><input type="text" size="32" maxlength="32" name="uid" /></td>
	</tr>
	<tr>
		<td class="pformleft"><b>{$this->ipsclass->lang['val_key']}</b></td>
		<td class="pformright"><input type="text" size="32" maxlength="50" name="aid" /></td>
	</tr>
</table>]]></section_content>
			<func_name>show_lostpass_form_manual</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['lpf_title']}</div>
	<div class="formsubtitle">{$this->ipsclass->lang['registration_process']}</div>
	<div class="tablepad">{$this->ipsclass->lang['lpass_text']}</div>
</div>]]></section_content>
			<func_name>show_lostpasswait</func_name>
			<func_data><![CDATA[$member=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['lpf_title']}</div>
	<div class="formsubtitle">{$this->ipsclass->lang['lpf_title']}</div>
	<div class="tablepad">{$this->ipsclass->lang['lpass_text_random']}</div>
</div>]]></section_content>
			<func_name>show_lostpasswait_random</func_name>
			<func_data><![CDATA[$member=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['registration_process']}</div>
	<div class="formsubtitle">{$this->ipsclass->lang['registration_process']}</div>
	<div class="tablepad">{$this->ipsclass->lang['thank_you']} {$member['members_display_name']}. {$this->ipsclass->lang['preview_reg_text']}</div>
</div>]]></section_content>
			<func_name>show_preview</func_name>
			<func_data><![CDATA[$member=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}" method="post" name="REG">
<input type="hidden" name="act" value="Reg" />
<input type="hidden" name="CODE" value="reval2" />
<div>{$this->ipsclass->lang['rv_ins']}</div><br />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['rv_title']}</div>
	<table class='ipbtable' cellspacing="0">
		<tr>
			<td class="pformleft"><b>
<if="$this->ipsclass->vars['ipbli_usertype']=='username'">
{$this->ipsclass->lang['rv_name']}
<else />
{$this->ipsclass->lang['rv_email']}
</if>
</b></td>
			<td class="pformright"><input type="text" size="32" maxlength="64" name="username" value="$name" /></td>
		</tr>
	</table>
	<div class="formsubtitle" align="center"><input class='button' type="submit" value="{$this->ipsclass->lang['rv_go']}" /></div>
</div>
</form>]]></section_content>
			<func_name>show_revalidate_form</func_name>
			<func_data><![CDATA[$name=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['rv_title']}</div>
	<div class="formsubtitle">{$this->ipsclass->lang['rv_process']}</div>
	<div class="tablepad">{$this->ipsclass->lang['rv_done']}</div>
</div>]]></section_content>
			<func_name>show_revalidated</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}act=Reg&amp;coppa_user={$coppa_user}&amp;termsread=1&amp;coppa_pass=1" method="post">
	<div class="borderwrap">
		<div class="maintitle">{$this->ipsclass->lang['tc_title']}</div>
		<table class='ipbtable' cellspacing="1">
			<tr>
				<th>{$this->ipsclass->lang['tc_text']}</th>
			</tr>
			<tr>
				<td class="row1">{$text}</td>
			</tr>
			<tr>
				<td class="row2"><label for="agree_cbox"><input class='checkbox' type="checkbox" id="agree_cbox" name="agree_to_terms" value="1" /> <b>{$this->ipsclass->lang['agree_submit']}</b></label></td>
			</tr>
			<tr>
				<td class="formbuttonrow"><input type="submit" value="{$this->ipsclass->lang['tc_regbut']}" class="button" /></td>
			</tr>
			<tr>
				<td class="catend" colspan="2"><!-- no content --></td>
			</tr>
		</table>
	</div>
</form>]]></section_content>
			<func_name>show_terms</func_name>
			<func_data><![CDATA[$text="",$coppa_user=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<script type="text/javascript">
var ipb_lang_js_blanks   = "{$this->ipsclass->lang['js_blanks']}";
var ipb_lang_js_no_check = "{$this->ipsclass->lang['js_no_check']}";
var subsdesc_0 = "{$this->ipsclass->lang['subsm_no_desc']}";
var subdesc   = new Array(); <!--{SUBS.JSCRIPT}-->
var register_method = "{$this->ipsclass->vars['ipbli_usertype']}";
var allowed_chars = "{$this->ipsclass->vars['username_characters']}";
var allowed_error = "{$this->ipsclass->vars['username_errormsg']}";
</script>
<script type="text/javascript" src="jscripts/ipb_register.js"></script>
<form action="{$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}" method="post" name="REG" onsubmit="return validate_reg_form(event)">
<input type="hidden" name="act" value="Reg" />
<input type="hidden" name="termsread" value="1" />
<input type="hidden" name="agree_to_terms" value="1" />
<input type="hidden" name="CODE" value="02" />
<input type="hidden" name="coppa_user" value="{$data['coppa_user']}" />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['registration_form']}</div>
	<div class='row2' style='padding:4px'>
		<div class="errorwrap" style='margin:0px;padding-bottom:0px'><h4>{$this->ipsclass->lang['form_title_attention']}</h4><p>{$data['TEXT']}</p></div>
	</div>
	<div class="row2">
		<table class='ipbtable' cellspacing="0">
			<tr>
				<td width="50%" valign='top'>
					<fieldset class="row3">
					<legend><b>{$this->ipsclass->lang['user_name_title']}</b></legend>
<if="$this->ipsclass->vars['ipbli_usertype'] == 'username'">
<div class='input-warn-content' id='box-name'><div id='msg-name'>{$errors['username']}</div></div>
						<table class='ipbtable' cellspacing="0">
							<tr>
								<td>{$this->ipsclass->lang['user_name']} &nbsp;<span>(<a href="#" style="cursor: help;" title="{$this->ipsclass->lang['user_name_text']}">?</a>)</span></td>
							</tr>
							<tr>
								<td>
								  <input type="text" size="50" maxlength="{$this->ipsclass->vars['max_user_name_length']}" value="{$this->ipsclass->input['UserName']}" id='reg-name' name="UserName" />
								  <img id='img-name' src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width='12' height='12' />
								</td>
							</tr>
						  </table>
</if>
<if="$this->ipsclass->vars['auth_allow_dnames'] == 1 OR $this->ipsclass->vars['ipbli_usertype'] == 'email'">
<div class='input-warn-content' id='box-dname'><div id='msg-dname'>{$errors['dname']}</div></div>
						  <table class='ipbtable' cellspacing="0">
							<tr>
								<td>{$this->ipsclass->lang['dname_name']} &nbsp;<span>(<a href="#" style="cursor: help;" title="{$this->ipsclass->lang['dname_text']}">?</a>)</span></td>
							</tr>
							<tr>
								<td>
									<input type="text" size="50" maxlength="{$this->ipsclass->vars['max_user_name_length']}" value="{$this->ipsclass->input['members_display_name']}" id='reg-members-display-name' name="members_display_name" />
									<img id='img-members-display-name' src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width='12' height='12' />
								</td>
							</tr>
						 </table>
</if>
						
					</fieldset><br />
					
					<fieldset class="row3">
					<div class='input-warn-content' id='box-password'><div id='msg-password'>{$errors['password']}</div></div>
					<legend><b>{$this->ipsclass->lang['password_title']}</b></legend>
						<table class='ipbtable' cellspacing="0">
							<tr>
								<td width="1%" nowrap="nowrap">{$this->ipsclass->lang['password']} &nbsp;<span>(<a href="#" style="cursor: help;" title="{$this->ipsclass->lang['password_text']}">?</a>)</span></td>
								<td width="100%">{$this->ipsclass->lang['password_confirm']} &nbsp;<span>(<a href="#" style="cursor: help;" title="{$this->ipsclass->lang['password_confirm_text']}">?</a>)</span></td>
							</tr>
							<tr>
								<td><input type="password" size="25" maxlength="32" value="{$this->ipsclass->input['PassWord']}" id='reg-password' name="PassWord" /></td>
								<td><input type="password" size="25" maxlength="32" value="{$this->ipsclass->input['PassWord_Check']}"  id='reg-password-check' name="PassWord_Check" /></td>
							    <td width='12'>
							     <img id='img-password' src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width='12' height='12' />
							    </td>
							</tr>
						</table>
					</fieldset><br />
				
					<fieldset class="row3">
					<div class='input-warn-content' id='box-emailaddress'><div id='msg-emailaddress'>{$errors['email']}</div></div>
					<legend><b>{$this->ipsclass->lang['email_address_title']}</b></legend>
						<table class='ipbtable' cellspacing="0">
							<tr>
								<td width="1%" nowrap="nowrap">{$this->ipsclass->lang['email_address']} &nbsp;<span>(<a href="#" style="cursor: help;" title="{$this->ipsclass->lang['email_address_text']}">?</a>)</span></td>
								<td width="100%">{$this->ipsclass->lang['email_address_confirm']} &nbsp;<span>(<a href="#" style="cursor: help;" title="{$this->ipsclass->lang['email_address_confirm_text']}">?</a>)</span></td>
							</tr>
							<tr>
								<td><input type="text" size="25" maxlength="150" value="{$this->ipsclass->input['EmailAddress']}"  id='reg-emailaddress' name="EmailAddress" /></td>
								<td><input type="text" size="25" maxlength="150"  value="{$this->ipsclass->input['EmailAddress_two']}" id='reg-emailaddress-two' name="EmailAddress_two" /></td>
							    <td width='12'>
							      <img id='img-emailaddress' src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width='12' height='12' />
							    </td>
							</tr>
						</table>
					</fieldset><br />
					<!--{REQUIRED.FIELDS}-->
					<!--{SUBS.MANAGER}-->
					<!--IBF.MODULES.EXTRA-->
					<!--{REG.ANTISPAM}-->
				</td>
				<td width="50%" valign="top">
					<div>
						<b>{$this->ipsclass->lang['cf_optional']}</b><br /><br />
						<table class='ipbtable' cellspacing="0">
							<tr>
								<td>
									<fieldset>
									<legend>{$this->ipsclass->lang['op_email_title']}</legend>
										<div class="desc">{$this->ipsclass->lang['op_email_text']}</div><br />
										<input type="checkbox" name="allow_admin_mail" value="1" class="checkbox" <!--[admin.checked]--> /> {$this->ipsclass->lang['op_email_ad']}<br />
										<input type="checkbox" name="allow_member_mail" value="1" class="checkbox" <!--[member.checked]--> /> {$this->ipsclass->lang['op_email_mem']}
									</fieldset><br />
							
									<fieldset>
									<legend>{$this->ipsclass->lang['op_tz_title']}</legend>
										<div class="desc">{$this->ipsclass->lang['op_tz_text']}</div><br />
										<!--{TIME_ZONE}--><br /><br />
										<!--<input type="checkbox" name="dst" value="1" class="checkbox" <!--[dst.checked]--> /> {$this->ipsclass->lang['op_tz_dst']}<br />-->
									</fieldset><br />
									<!--{OPTIONAL.FIELDS}-->
								</td>
							</tr>
						</table>
					</div>
				</td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td valign="middle" align="center">
					<div class="desc">{$this->ipsclass->lang['submit_text']}</div><br />
						<input class='button' type="submit" value="{$this->ipsclass->lang['submit_form']} &gt; &gt;" />
				</td>
			</tr>
		</table>
	</div>
</div>
</form>
<script type="text/javascript">
//<!#^#|CDATA|
reg_error_no_name        = "{$this->ipsclass->lang['reg_error_no_name']}";
reg_error_no_pass        = "{$this->ipsclass->lang['reg_error_no_pass']}";
reg_error_pass_nm        = "{$this->ipsclass->lang['reg_error_pass_nm']}";
reg_error_chars          = "{$this->ipsclass->lang['reg_error_chars']}";
reg_error_taken          = "{$this->ipsclass->lang['reg_error_taken']}";
reg_error_username_taken = "{$this->ipsclass->lang['reg_error_username_taken']}";
reg_error_username_none  = "{$this->ipsclass->lang['reg_error_username_none']}";
reg_error_email_missing  = "{$this->ipsclass->lang['reg_error_email_missing']}";
reg_error_email_nm       = "{$this->ipsclass->lang['reg_error_email_nm']}";
reg_error_email_taken    = "{$this->ipsclass->lang['reg_error_email_taken']}";
reg_error_email_ban      = "{$this->ipsclass->lang['reg_error_email_ban']}";
reg_error_email_invalid      = "{$this->ipsclass->lang['reg_error_email_invalid']}";
reg_error_dchars_only = "{$this->ipsclass->lang['reg_error_dname_only']} {$this->ipsclass->vars['username_characters']}";
reg_error_uchars_only = "{$this->ipsclass->lang['reg_error_uname_only']} {$this->ipsclass->vars['username_characters']}";
user_display_name_max_length = parseInt( "{$this->ipsclass->vars['max_user_name_length']}" );
var got_dname = 0;
<if="$this->ipsclass->vars['auth_allow_dnames'] == 1 OR $this->ipsclass->vars['ipbli_usertype'] == 'email'">
got_dname = 1;
</if>
init_reg_form(got_dname, register_method);
//|#^#]>
</script>]]></section_content>
			<func_name>ShowForm</func_name>
			<func_data><![CDATA[$data="",$errors=array()]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['registration_process']}</div>
	<div class="formsubtitle">{$this->ipsclass->lang['registration_process']}</div>
	<div class="tablepad">{$this->ipsclass->lang['thank_you']} {$member['members_display_name']}. {$this->ipsclass->lang['auth_text']} {$member['email']}</div>
</div>]]></section_content>
			<func_name>show_authorise</func_name>
			<func_data><![CDATA[$member=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<script type="text/javascript">
<!--
	function Validate(){
		// Check for Empty fields
		if (document.REG.uid.value == "" || document.REG.aid.value == ""){
			alert ("{$this->ipsclass->lang['js_blanks']}");
			return false;
		}
	}
-->
</script>
<form action="{$this->ipsclass->base_url}" method="post" name="REG" onsubmit="return Validate()">
<input type="hidden" name="act" value="Reg" />
<input type="hidden" name="CODE" value="03" />
<input type="hidden" name="type" value="$type" />
<div class="borderwrap">
	<div class="maintitle">{$this->ipsclass->lang['dumb_header']}</div>
	<div class="tablepad">{$this->ipsclass->lang['dumb_text']}</div>
	<div class="formsubtitle">{$this->ipsclass->lang['complete_form']}</div>
		<table class='ipbtable' cellspacing="0">
			<tr>
				<td class="pformleft">{$this->ipsclass->lang['user_id']}</td>
				<td class="pformright"><input type="text" size="32" maxlength="32" name="uid" /></td>
			</tr>
			<tr>
				<td class="pformleft">{$this->ipsclass->lang['val_key']}</td>
				<td class="pformright"><input type="text" size="32" maxlength="50" name="aid" /></td>
			</tr>
		</table>
	<div class="formsubtitle" align="center"><input class='button' type="submit" value="{$this->ipsclass->lang['dumb_submit']}" /></div>
</div>
</form>]]></section_content>
			<func_name>show_dumb_form</func_name>
			<func_data><![CDATA[$type="reg"]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<script type="text/javascript" src="jscripts/ipb_register.js"></script>
<form action="{$this->ipsclass->base_url}act=reg&amp;CODE=complete_login_do&amp;key=$key&amp;mid=$mid" method="POST" onsubmit="return validate_complete_login_form(event)">
<input type="hidden" name="termsread" value="1" />
<input type="hidden" name="agree_to_terms" value="1" />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['clogin_title']}</div>
	<div class="formsubtitle">{$this->ipsclass->lang['clogin_text']}</div>
	<div class="tablepad">
<if="$this->ipsclass->vars['auth_allow_dnames'] == 1">
<fieldset class="row3">
	  <legend><b>{$this->ipsclass->lang['user_name_title']}</b></legend>
		  <div class='input-warn-content' id='box-dname'><div id='msg-dname'>{$errors['dname']}</div></div>
		  <table class='ipbtable' cellspacing="0">
			<tr>
				<td>{$this->ipsclass->lang['dname_name']} &nbsp;<span>(<a href="#" style="cursor: help;" title="{$this->ipsclass->lang['dname_text']}">?</a>)</span></td>
			</tr>
			<tr>
				<td>
					<input type="text" size="50" maxlength="64" value="{$this->ipsclass->input['members_display_name']}" id='reg-members-display-name' name="members_display_name" />
					<img id='img-members-display-name' src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width='12' height='12' />
				</td>
			</tr>
		 </table>
	  </fieldset>
</if>
<if="! $reg['partial_email_ok']">
	  <fieldset class="row3">
	  <div class='input-warn-content' id='box-emailaddress'><div id='msg-emailaddress'>{$errors['email']}</div></div>
	  <legend><b>{$this->ipsclass->lang['email_address_title']}</b></legend>
		  <table class='ipbtable' cellspacing="0">
			  <tr>
				  <td width="1%" nowrap="nowrap">{$this->ipsclass->lang['email_address']} &nbsp;<span>(<a href="#" style="cursor: help;" title="{$this->ipsclass->lang['email_address_text']}">?</a>)</span></td>
				  <td width="100%">{$this->ipsclass->lang['email_address_confirm']} &nbsp;<span>(<a href="#" style="cursor: help;" title="{$this->ipsclass->lang['email_address_confirm_text']}">?</a>)</span></td>
			  </tr>
			  <tr>
				  <td><input type="text" size="25" maxlength="50" value="{$this->ipsclass->input['EmailAddress']}"  id='reg-emailaddress' name="EmailAddress" /></td>
				  <td><input type="text" size="25" maxlength="50"  value="{$this->ipsclass->input['EmailAddress_two']}" id='reg-emailaddress-two' name="EmailAddress_two" /></td>
				  <td width='12'>
					<img id='img-emailaddress' src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width='12' height='12' />
				  </td>
			  </tr>
		  </table>
	  </fieldset>
</if>
<if="$required_fields != ''">
$required_fields
</if>
	</div>
	<div align='center' style='padding:4px' class='darkrow3'><input class='button' type="submit" value="{$this->ipsclass->lang['clogin_submit']} &gt; &gt;" /></div>
</div>
</form>
<script type="text/javascript">
//<!#^#|CDATA|
var allowed_chars 		 = "{$this->ipsclass->vars['username_characters']}";
var allowed_error 		 = "{$this->ipsclass->vars['username_errormsg']}";
reg_error_no_name        = "{$this->ipsclass->lang['reg_error_no_name']}";
reg_error_chars          = "{$this->ipsclass->lang['reg_error_chars']}";
reg_error_taken          = "{$this->ipsclass->lang['reg_error_taken']}";
reg_error_email_missing  = "{$this->ipsclass->lang['reg_error_email_missing']}";
reg_error_email_nm       = "{$this->ipsclass->lang['reg_error_email_nm']}";
reg_error_email_taken    = "{$this->ipsclass->lang['reg_error_email_taken']}";
var got_dname = 0;
<if="$this->ipsclass->vars['auth_allow_dnames'] == 1">
got_dname = 1;
</if>
reg_email_ok             = parseInt("{$reg['partial_email_ok']}");
email_ok             	 = parseInt("{$reg['partial_email_ok']}");
var member_id            = parseInt("{$mid}");
init_complete_login_form();
//|#^#]>
</script>]]></section_content>
			<func_name>reg_complete_login</func_name>
			<func_data><![CDATA[$mid="",$key="",$required_fields="",$errors="", $reg=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<!--
	<tr>
  		<td colspan="2" class="formsubtitle">{$this->ipsclass->lang['cf_optional']}</td>
	</tr>
-->]]></section_content>
			<func_name>optional_title</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<if="$error!=''">
<textarea cols="60" rows="5" name="$name" class='input-warn'>$value</textarea> <img src='{$this->ipsclass->vars['img_url']}/aff_cross.gif' />
<else />
<textarea cols="60" rows="5" name="$name">$value</textarea>
</if>]]></section_content>
			<func_name>field_textarea</func_name>
			<func_data><![CDATA[$name="",$value="",$error=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<if="$error!=''">
<input type="text" size="30" name="$name" value="$value" class='input-warn' /> <img src='{$this->ipsclass->vars['img_url']}/aff_cross.gif' />
<else />
<input type="text" size="30" name="$name" value="$value" />
</if>]]></section_content>
			<func_name>field_textinput</func_name>
			<func_data><![CDATA[$name="",$value="",$error=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}" method="post">
<input type="hidden" name="act" value="Reg" />
<input type="hidden" name="CODE" value="11" />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['lost_pass_form']}</div>
	<div class="formsubtitle">{$this->ipsclass->lang['lp_header']}</div>
	<div class="tablepad"><span>
<if="$this->ipsclass->vars['ipbli_usertype'] == 'username'">
{$this->ipsclass->lang['lp_text']}
<else />
{$this->ipsclass->lang['lp_text_email']}
</if>
	</span></div>
	<div class="formsubtitle">{$this->ipsclass->lang['complete_form']}</div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<td class="row2" width='30%'>
			<if="$this->ipsclass->vars['ipbli_usertype'] == 'username'">
				<strong>{$this->ipsclass->lang['lp_user_name']}</strong>
			<else />
				<strong>{$this->ipsclass->lang['lp_email_address']}</strong>
			</if>
			</td>
			<td class="row2"><input type="text" size="32" name="member_name" /></td>
		</tr>
<if="$this->ipsclass->vars['ipbli_usertype'] == 'username'">
		<tr>
			<td class="row2">
				<strong>{$this->ipsclass->lang['lp_email_or']}</strong>
			</td>
			<td class="row2"><input type="text" size="32" name="email_addy" /></td>
		</tr>
</if>
	</table>
	<div class='row2'>
	<!--{REG.ANTISPAM}-->
	</div>
</div>
<br />
<div class="borderwrap">
	<div class="formsubtitle" align="center"><input class='button' type="submit" value="{$this->ipsclass->lang['lp_send']}" /></div>
</div>
</form>]]></section_content>
			<func_name>lost_pass_form</func_name>
			<func_data><![CDATA[$lasid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="formsubtitle">{$this->ipsclass->lang['errors_found']}</div>
	<div class="tablepad"><span class="postcolor">$data</span></div>
</div>
<br />]]></section_content>
			<func_name>errors</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<if="$error!=''">
<select name="$name" class='input-warn'>$options</select> <img src='{$this->ipsclass->vars['img_url']}/aff_cross.gif' />
<else />
<select name="$name">$options</select>
</if>]]></section_content>
			<func_name>field_dropdown</func_name>
			<func_data><![CDATA[$name="",$options="",$error=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<table class='ipbtable' cellspacing='0'>
	<tr>
		<td class='nopad'>
			<fieldset>
				<legend><strong>$title</strong></legend>
			<if="$errors != ''">
			<div class='input-warn-content' id='box-field_{$id}'><div id='msg-field_{$id}'>{$errors}</div></div>
			</if>
				<div class="desc">$desc</div><br />
				$content
			</fieldset>
			<br />
		</td>
	</tr>
</table>]]></section_content>
			<func_name>field_entry</func_name>
			<func_data><![CDATA[$title="",$desc="",$content="",$id="",$errors=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<script type="text/javascript" src="jscripts/ipb_register.js"></script>
<script type="text/javascript">
//<!#^#|CDATA|
var bday_m = '{$this->ipsclass->input['m']}';
var bday_d = '{$this->ipsclass->input['d']}';
var bday_y = '{$this->ipsclass->input['y']}';
coppa_save();
//|#^#]>
</script>
<div class="borderwrap">
	<div class="maintitle">{$this->ipsclass->lang['cp2_title']}</div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<td class="row1">
				{$this->ipsclass->lang['cp2_text']}<br /><br />
				<div align='center'><h2><a href='{$this->ipsclass->base_url}act=Reg&amp;CODE=12'>{$this->ipsclass->lang['coppa_clickhere']}</a></h2</div>
				<div>
					<span>
						&lt;&lt; <a href="#" onclick="coppa_cancel()">{$this->ipsclass->lang['cp2_cancel']}</a> 
					</span>
				</div>
			</td>
		</tr>
		<tr>
			<td class="formsubtitle">{$this->ipsclass->lang['coppa_form']}</td>
		</tr>
		<tr>
			<td class="row1">{$this->ipsclass->lang['coppa_form_text']} <a href="mailto:{$this->ipsclass->vars['email_in']}">{$this->ipsclass->vars['email_in']}</a></td>
		</tr>
	</table>
</div>]]></section_content>
			<func_name>coppa_two</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<script type="text/javascript" src="jscripts/ipb_register.js"></script>
<script type="text/javascript">
//<!#^#|CDATA|
var coppa_bounce = '{$this->ipsclass->lang['coppa_bounce']}';
coppa_check();
//|#^#]>
</script>
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['registration_form']}</div>
	<div class="formsubtitle">{$this->ipsclass->lang['coppa_info']}</div>
	<div class="tablepad"  align="center">
		<span class="postcolor">
			<b>{$this->ipsclass->lang['coppa_link']}</b><br /><br /> 
			<form action='{$this->ipsclass->base_url}act=Reg&amp;CODE=coppa_two' method='post'>
			<select name='m'>
			 <option value='0'>{$this->ipsclass->lang['select_month']}</option>
			 <foreach="array(1,2,3,4,5,6,7,8,9,10,11,12) as $month">
			 	<option value='{$month}'>{$this->ipsclass->lang['M_' . $month ]}</option>
			 </foreach>
			</select>
			
			<select name='d'>
			 <option value='0'>{$this->ipsclass->lang['select_day']}</option>
			 <foreach="range(1,31) as $day">
			 	<option value='{$day}'>{$day}</option>
			 </foreach>
			</select>
			
			<select name='y'>
			 <option value='0'>{$this->ipsclass->lang['select_year']}</option>
			 <foreach="array_reverse(range( date('Y') - 130, date('Y') )) as $year">
			 	<option value='{$year}'>{$year}</option>
			 </foreach>
			</select>
			 <input type='submit' value='{$this->ipsclass->lang['coppa_continue_button']}' />
			</form>
		</span>
	</div>
	<div class="formsubtitle">{$this->ipsclass->lang['coppa_form']}</div>
	<div class="tablepad">{$this->ipsclass->lang['coppa_form_text']} <a href="mailto:{$this->ipsclass->vars['email_in']}">{$this->ipsclass->vars['email_in']}</a></div>
</div>]]></section_content>
			<func_name>coppa_start</func_name>
			<func_data><![CDATA[$coppadate='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<tr>
			<td class="row2" valign="top"><b>$puni_name</b></td>
			<td class="row2" valign="top">{$this->ipsclass->lang['mod_warn_added']} <b>$date</b></td>
		</tr>
		<tr>
			<td class="row1" valign="middle"><span class="warngood" style='color:gray'>{$this->ipsclass->lang['mod_warn_note']}</span></td>
			<td class="row1" valign="top"><span class="postcolor">$content</span></td>
		</tr>]]></section_content>
			<func_name>warn_view_note_row</func_name>
			<func_data><![CDATA[$date="",$content="", $puni_name='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<div class="borderwrap">
		<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['w_v_title']}: <a href="{$this->ipsclass->base_url}showuser=$id">$name</a></div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th class="formsubtitle" width="30%">{$this->ipsclass->lang['w_v_warnby']}</th>
			<th class="formsubtitle" width="70%">{$this->ipsclass->lang['w_v_notes']}</th>
		</tr>]]></section_content>
			<func_name>warn_view_header</func_name>
			<func_data><![CDATA[$id="",$name=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<tr>
			<td class="row2" valign="top"><b>$puni_name</b></td>
			<td class="row2" valign="top">{$this->ipsclass->lang['w_v_warned_on']} <b>$date</b></td>
		</tr>
		<tr>
			<td class="row1" valign="middle"><span class="warnbad">{$this->ipsclass->lang['w_v_add']}</span></td>
			<td class="row1" valign="top"><span class="postcolor">$content</span></td>
		</tr>]]></section_content>
			<func_name>warn_view_negative_row</func_name>
			<func_data><![CDATA[$date="",$content="",$puni_name=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<tr>
			<td class="row1" colspan="2" align="center"><b>{$this->ipsclass->lang['w_v_none']}</b></td>
		</tr>]]></section_content>
			<func_name>warn_view_none</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<tr>
			<td class="row2" valign="top"><b>$puni_name</b></td>
			<td class="row2" valign="top">{$this->ipsclass->lang['w_v_warned_on']} <b>$date</b></td>
		</tr>
		<tr>
			<td class="row1" valign="middle"><span class="warngood">{$this->ipsclass->lang['w_v_minus']}</span></td>
			<td class="row1" valign="top"><span class="postcolor">$content</span></td>
		</tr>]]></section_content>
			<func_name>warn_view_positive_row</func_name>
			<func_data><![CDATA[$date="",$content="",$puni_name=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[</table>
	</div>
<table class='ipbtable' cellspacing="0">
		<tr>
			<td align="right">$links</td>
		</tr>
	</table>]]></section_content>
			<func_name>warn_view_footer</func_name>
			<func_data><![CDATA[$links=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<form method="post" action="{$this->ipsclass->base_url}&amp;act=warn&amp;CODE=save_note&amp;mid=$id" id='postingform'>
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['mod_warn_new_note']} <a href="{$this->ipsclass->base_url}showuser=$id">$name</a></div>
	<div class='row2' style='padding:4px'>
		<fieldset>
			<legend><strong>{$this->ipsclass->lang['mod_warn_fieldset']}</strong></legend>
			<textarea name='note' style='width:95%;height:300px'>{$_POST['note']}</textarea>
			<br />
			<div align='center'><input class='button' type='submit' value='{$this->ipsclass->lang['mod_warn_note_save']}' /></div>
		</fieldset>
	</div>
</div>
</form>]]></section_content>
			<func_name>warn_add_note_form</func_name>
			<func_data><![CDATA[$id="",$name=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<tr>
		<td class="pformleftw"><b>{$this->ipsclass->lang['w_suspend']}</b></td>
		<td class="pformright">
			&nbsp;{$this->ipsclass->lang['w_susfor']}  <input type="text" name="susp_value" value="{$susp_array['timespan']}" size="5" />&nbsp;
			<select name="susp_unit">
				<option value="d" {$susp_array['days']}>{$this->ipsclass->lang['w_day']}</option>
				<option value="h" {$susp_array['hours']}>{$this->ipsclass->lang['w_hour']}</option>
			</select>
			$susp_extra
	</tr>]]></section_content>
			<func_name>warn_suspend</func_name>
			<func_data><![CDATA[$susp_array="",$susp_extra=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<li><a href="{$this->ipsclass->base_url}showforum=$fid">{$this->ipsclass->lang['w_done_forum']} <b>$fname</b></a></li>
				<li><a href="{$this->ipsclass->base_url}showtopic=$tid&amp;st=$st">{$this->ipsclass->lang['w_done_topic']} <b>$tname</b></a></li>]]></section_content>
			<func_name>warn_success_forum</func_name>
			<func_data><![CDATA[$fid="",$fname="",$tid="",$tname="",$st=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<br />
		<b>{$this->ipsclass->lang['w_restricted']}</b>]]></section_content>
			<func_name>warn_restricition_in_place</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['w_done_t']}</div>
	<div class="formsubtitle">&nbsp;</div>
		<div class="tablepad">
			{$this->ipsclass->lang['w_done_te']}
			<ul>
				<li><a href="{$this->ipsclass->base_url}">{$this->ipsclass->lang['w_done_home']}</a></li>
				<!--IBF.FORUM_TOPIC-->
			</ul>
		</div>
	</div>]]></section_content>
			<func_name>warn_success</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="formsubtitle">{$this->ipsclass->lang['errors_found']}</div>
	<div class="tablepad"><span class="postcolor">$data</span></div>
</div>
<br />]]></section_content>
			<func_name>warn_errors</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<tr>
			<td class="pformleftw" valign="top"><b>{$this->ipsclass->lang['w_reason']}</b><br />{$this->ipsclass->lang['w_reason2']}</td>
			<td class="pformright"><textarea rows="6" cols="70" class="textinput" name="reason">{$this->ipsclass->input['reason']}</textarea></td>
		</tr>
		<tr>
			<td class="pformleftw"><b>{$this->ipsclass->lang['w_c_subj']}</b></td>
			<td class="pformright"><input type="text" name="subject" value="{$this->ipsclass->input['subject']}" size="30" /></td>
		</tr>
		<tr>
			<td class="pformleftw" valign="top"><b>{$this->ipsclass->lang['w_contact']}</b><br />{$this->ipsclass->lang['w_contact2']}</td>
			<td class="pformright">
				&nbsp;{$this->ipsclass->lang['w_c']}&nbsp;
				<select name="contactmethod">
<if="$no_pm != 1">
<option value="pm">{$this->ipsclass->lang['w_c_p']}</option>
</if>
					
					<option value="email">{$this->ipsclass->lang['w_c_e']}</option>
				</select>
					<br />
				{$editor_html}
			</td>
		</tr>
	</table>
		<div align="center" class="formsubtitle"><input type="submit" class='button' value="{$this->ipsclass->lang['w_submit']}" /></div>
	</div>
</form>]]></section_content>
			<func_name>warn_footer</func_name>
			<func_data><![CDATA[$no_pm="",$editor_html=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<form method="post" action="{$this->ipsclass->base_url}&amp;act=warn&amp;CODE=dowarn&amp;mid=$mid&amp;t=$tid&amp;st=$st&amp;type={$this->ipsclass->input['type']}" id='postingform' onsubmit='return ValidateForm()'>
	<input type="hidden" name="key" value="$key" />
		<div class="borderwrap">
		<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['w_warnfor']} <a href="{$this->ipsclass->base_url}showuser=$mid">$name</a> ( $min &lt; $cur &gt; $max )</div>
			<div class="formsubtitle">{$this->ipsclass->lang['w_complete']}</div>
				<table class='ipbtable' cellspacing="0">
					<tr>
						<td class="pformleftw"><b>{$this->ipsclass->lang['w_adjust_level']}</b></td>
						<td class="pformright">
							<input type="radio" name="level" id="add" class="radiobutton" value="add" {$type['add']} /><label for="add" class="warnbad"><b>{$this->ipsclass->lang['w_add']}</b></label>
								<br />
							<input type="radio" name="level" id="minus" class="radiobutton" value="remove" {$type['minus']} /><label for="minus" class="warngood"><b>{$this->ipsclass->lang['w_remove']}</b></label>
						</td>
					</tr>]]></section_content>
			<func_name>warn_header</func_name>
			<func_data><![CDATA[$mid="",$name="",$cur=0,$min=0,$max=10,$key="",$tid="",$st="",$type=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<tr>
						<td class="pformleftw"><b>{$this->ipsclass->lang['w_modq']}</b></td>
						<td class="pformright">
							<input class='checkbox' type="checkbox" name="mod_indef" value="1" $mod_tick /> {$this->ipsclass->lang['w_modq_i']}
								<br />
							&nbsp;<b>{$this->ipsclass->lang['w_orfor']}</b>
							<input type="text" name="mod_value" value="{$mod_array['timespan']}" size="5" />&nbsp;
							<select name="mod_unit">
								<option value="d" {$mod_array['days']}>{$this->ipsclass->lang['w_day']}</option>
								<option value="h" {$mod_array['hours']}>{$this->ipsclass->lang['w_hour']}</option>
							</select>
							$mod_extra
					</tr>]]></section_content>
			<func_name>warn_mod_posts</func_name>
			<func_data><![CDATA[$mod_tick="",$mod_array="",$mod_extra=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<tr>
						<td class="pformleftw"><b>{$this->ipsclass->lang['w_resposts']}</b></td>
						<td class="pformright">
							<input class='checkbox' type="checkbox" name="post_indef" value="1" $post_tick /> {$this->ipsclass->lang['w_resposts_i']}
								<br />
							&nbsp;<b>{$this->ipsclass->lang['w_orfor']}</b>
							<input type="text" name="post_value" value="{$post_array['timespan']}" size="5" />&nbsp;
							<select name="post_unit">
								<option value="d" {$post_array['days']}>{$this->ipsclass->lang['w_day']}</option>
								<option value="h" {$post_array['hours']}>{$this->ipsclass->lang['w_hour']}</option>
							</select>
							$post_extra
					</tr>]]></section_content>
			<func_name>warn_rem_posts</func_name>
			<func_data><![CDATA[$post_tick="",$post_array="",$post_extra=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<tr>
			<td width="1%" align="center"><select name="attach_{$attach['attach_id']}" class="dropdown"><option value="keep">{$this->ipsclass->lang['cm_keep']}</option><option value="delete">{$this->ipsclass->lang['cm_delete']}</option></select></td>
			<td width="1%"><img src="{$this->ipsclass->vars['mime_img']}/{$attach['image']}" alt="" /></td>
			<td width="15%" nowrap="nowrap">{$attach['size']}</td>
			<td width="95%"><a href="{$this->ipsclass->base_url}act=Attach&amp;type=post&amp;id={$attach['attach_id']}" target="_blank"><b>{$attach['attach_file']}</b></a> #{$attach['attach_pid']}</td>
		</tr>]]></section_content>
			<func_name>uploadbox_entry</func_name>
			<func_data><![CDATA[$attach=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<table class='ipbtable' cellspacing="1">
		<tr>
			<td class="pformleftw"><b>{$this->ipsclass->lang['edit_f_title']}</b></td>
			<td class="pformright"><input type="text" size="40" maxlength="{$this->ipsclass->vars['topic_title_max_len']}" name="TopicTitle" value="$title" /></td>
		</tr>
		<tr>
			<td class="pformleftw"><b>{$this->ipsclass->lang['edit_f_desc']}</b></td>
			<td class="pformright"><input type="text" size="40" maxlength="70" name="TopicDesc" value="$desc" /></td>
		</tr>
	</table>]]></section_content>
			<func_name>topictitle_fields</func_name>
			<func_data><![CDATA[$title="",$desc=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<a id='f-{$id}' href="{$this->ipsclass->base_url}act=Login&amp;CODE=04&amp;f={$id}&amp;fromforum={$this->ipsclass->input['f']}&amp;i=1" title="{$this->ipsclass->lang['bi_markallread']}" onclick='boards_send_marker_update( $id, 1);return false;'>{$img}</a>]]></section_content>
			<func_name>subforum_img_with_link</func_name>
			<func_data><![CDATA[$img="",$id=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<tr>
	<td class="row2" valign="top"><b>$title</b></td>
	<td class="row1">$value</td>
</tr>]]></section_content>
			<func_name>custom_field</func_name>
			<func_data><![CDATA[$title="",$value=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<tr>
 <td class='row1'>{$previous_name}</td>
 <td class='row1'><strong>{$current_name}</strong></td>
 <td class='row2'>{$date}</td>
</tr>]]></section_content>
			<func_name>dname_content_row</func_name>
			<func_data><![CDATA[$previous_name="",$current_name="",$date=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<div class="borderwrap">
    <div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['dname_window_title']} {$member_name}</div>
    <table class='ipbtable' cellspacing='1'>
    <tr>
     <th class='formsubtitle'>{$this->ipsclass->lang['dname_name_from']}</th>
     <th class='formsubtitle'>{$this->ipsclass->lang['dname_name_to']}</th>
     <th class='formsubtitle'>{$this->ipsclass->lang['dname_date']}</th>
    </tr>
    {$content}
    </table>
</div>]]></section_content>
			<func_name>dname_wrapper</func_name>
			<func_data><![CDATA[$member_name="",$content=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<img src="$show_photo" alt="{$this->ipsclass->lang['get_photo']}" $show_width $show_height />]]></section_content>
			<func_name>get_photo</func_name>
			<func_data><![CDATA[$show_photo="",$show_width="",$show_height=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<tr>
	<td colspan="2" align="center" class="row2">{$this->ipsclass->lang['no_info']}</td>
</tr>]]></section_content>
			<func_name>no_custom_information</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<script language="javascript" type="text/javascript">
<!--
 function redirect_to(where, closewin)
 {
 	opener.location= '{$this->ipsclass->base_url}' + where;
 	
 	if (closewin == 1)
 	{
 		self.close();
 	}
 }
//-->
</script>
<div class="borderwrap" style="text-align: left;">
	<div class="maintitle">$name</div>
	<table cellspacing="1" width='100%' class='row1'>
		<tr>
			<th><b>{$this->ipsclass->lang['head_contact']}</b></th>
			<th><b>{$this->ipsclass->lang['photo_title']}</b></th>
		</tr>
		<tr>
			<td valign="middle" class="nopad">
				<table class='ipbtable' cellspacing="1">
<if="$this->ipsclass->vars['blog_default_view'] != "" and $info['has_blog'] == 1">
<tr>
						<td nowrap="nowrap" class="row1">{$this->ipsclass->lang['myblog']}</td>
						<td width="100%" class="row1"><b><a href='javascript:redirect_to("&amp;automodule=blog&amp;req=showblog&amp;mid={$info['mid']}",1);'>{$this->ipsclass->lang['click_here']}</a></b></td>
					</tr>
</if>
					<tr>
						<td nowrap="nowrap" class="row1">{$this->ipsclass->lang['email']}</td>
						<td width="100%" class="row1"><b>{$info['email']}</b></td>
					</tr>
					<tr>
						<td nowrap="nowrap" class="row1">{$this->ipsclass->lang['website_addr']}</td>
						<td width="100%" class="row1"><b>{$info['website']}</b></td>
					</tr>
					<tr>
						<td nowrap="nowrap" class="row1">{$this->ipsclass->lang['aim']}</td>
						<td width="100%" class="row1"><{PRO_AIM}> <b>{$info['aim_name']}</b></td>
					</tr>
					<tr>
						<td nowrap="nowrap" class="row1">{$this->ipsclass->lang['icq']}</td>
						<td width="100%" class="row1"><{PRO_ICQ}> <b>{$info['icq_number']}</b></td>
					</tr>
					<tr>
						<td nowrap="nowrap" class="row1">{$this->ipsclass->lang['yahoo']}</td>
							<td width="100%" class="row1"><{PRO_YIM}> <b>{$info['yahoo']}</b></td>
					</tr>
					<tr>
						<td nowrap="nowrap" class="row1">{$this->ipsclass->lang['msn']}</td>
						<td width="100%" class="row1"><{PRO_MSN}> <b>{$info['msn_name']}</b></td>
					</tr>
					<tr>
						<td nowrap="nowrap" class="row1">{$this->ipsclass->lang['pm']}</b></td>
						<td class="row1"><b><a href="javascript:redirect_to('&amp;act=Msg&amp;CODE=4&amp;MID={$info['mid']}', 1);">{$this->ipsclass->lang['click_here']}</a></b></td>
					</tr>
				</table>
			</td>
			<td valign="middle" class="row1" align="center">$photo</td>
		</tr>
		<tr>
			<td class="formbuttonrow" colspan="2"><a href="{$this->ipsclass->base_url}act=Profile&amp;CODE=showcard&amp;MID={$info['mid']}&amp;download=1">{$this->ipsclass->lang['ac_download']}</a> &middot; <a href="javascript:self.close();">{$this->ipsclass->lang['ac_close']}</a></td>
		</tr>
		<tr>
			<td class="catend" colspan="2"><!-- no content --></td>
		</tr>
	</table>
</div>]]></section_content>
			<func_name>show_card</func_name>
			<func_data><![CDATA[$name="",$photo="",$info=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<!-- Board Stats -->
<div class="toplinks"><span><a href="{$this->ipsclass->base_url}act=Login&amp;CODE=06&amp;k={$this->ipsclass->md5_check}">{$this->ipsclass->lang['d_delete_cookies']}</a> &middot; <a href="{$this->ipsclass->base_url}act=Login&amp;CODE=05">{$this->ipsclass->lang['d_post_read']}</a></span></div>
<div class="borderwrap" style="display:{$show['div_fc']}" id="fc_stat">
	<div class="maintitle">
		<p class="expand"><a href="javascript:togglecategory('stat', 0);"><{E_PLUS}></a></p>
		<p><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['board_stats']}</p>
	</div>
	<div class="subtitlediv">
		<a href="{$this->ipsclass->base_url}act=search&amp;CODE=getactive">{$this->ipsclass->lang['sm_todays_posts']}</a> &middot; <a href="{$this->ipsclass->base_url}act=Stats&amp;CODE=leaders">{$this->ipsclass->lang['sm_forum_leaders']}</a> &middot; <a href="{$this->ipsclass->base_url}act=stats">{$this->ipsclass->lang['sm_today_posters']}</a> &middot; <a href="{$this->ipsclass->base_url}act=Members&amp;max_results=20&amp;sort_key=posts&amp;sort_order=desc&amp;filter=ALL">{$this->ipsclass->lang['sm_all_posters']}</a>
	</div>
	<div class="formsubtitle">
<if="$this->ipsclass->vars['show_totals'] == 1">
<p class="members">$posts {$this->ipsclass->lang['cs_posts']} &#0124; $members {$this->ipsclass->lang['cs_members']}</p>
</if>
		<p>$active {$this->ipsclass->lang['cs_active']}</p>
	</div>
</div>
<div class="borderwrap" style="display:{$show['div_fo']}" id="fo_stat">
	<div class="maintitle">
		<p class="expand"><a href="javascript:togglecategory('stat', 1);"><{E_MINUS}></a></p>
		<p><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['board_stats']}</p>
	</div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th align="right" colspan="2">
				<div style='text-align:right'>
					<a href="{$this->ipsclass->base_url}act=search&amp;CODE=getactive">{$this->ipsclass->lang['sm_todays_posts']}</a> &middot; <a href="{$this->ipsclass->base_url}act=Stats&amp;CODE=leaders">{$this->ipsclass->lang['sm_forum_leaders']}</a> &middot; <a href="{$this->ipsclass->base_url}act=Stats">{$this->ipsclass->lang['sm_today_posters']}</a> &middot; <a href="{$this->ipsclass->base_url}act=Members&amp;max_results=20&amp;sort_key=posts&amp;sort_order=desc&amp;filter=ALL">{$this->ipsclass->lang['sm_all_posters']}</a>
				</div>
			</th>
		</tr>]]></section_content>
			<func_name>stats_header</func_name>
			<func_data><![CDATA[$active="",$posts="",$members="",$show=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<a href="{$this->ipsclass->base_url}showforum={$id}&amp;modfilter=all"><{BC_QUEUED_POSTS}></a>&nbsp;]]></section_content>
			<func_name>show_queued_img</func_name>
			<func_data><![CDATA[$id=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<br /><span class="desc"><b>{$this->ipsclass->lang['q_topics']} $topics, {$this->ipsclass->lang['q_posts']} $posts</b></span>]]></section_content>
			<func_name>show_queued_info</func_name>
			<func_data>$posts=0,$topics=0</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<br /><b>{$this->ipsclass->lang['sub_forum_title']}:</b> $links]]></section_content>
			<func_name>show_subforum_all_links</func_name>
			<func_data><![CDATA[$links=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<a href="{$this->ipsclass->base_url}showforum={$id}">{$name}</a>]]></section_content>
			<func_name>show_subforum_link</func_name>
			<func_data><![CDATA[$id="",$name=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<tr>
			<td class="formsubtitle" colspan="2">{$this->ipsclass->lang['board_stats']}</td>
		</tr>
		<tr>
			<td class="row1" width="1%"><{F_STATS}></td>
			<td class="row2">$text<br />{$this->ipsclass->lang['most_online']}</td>
		</tr>]]></section_content>
			<func_name>ShowStats</func_name>
			<func_data><![CDATA[$text=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<tr> 
			<td class="catend" colspan="2"><!-- no content --></td>
		</tr>
	</table>
</div>
<!-- Board Stats -->]]></section_content>
			<func_name>stats_footer</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<a href="{$this->ipsclass->base_url}showtopic=$tid&amp;view=getlastpost" title="{$this->ipsclass->lang['tt_golast']}"><{LAST_POST}></a>]]></section_content>
			<func_name>forumrow_lastunread_link</func_name>
			<func_data><![CDATA[$fid="",$tid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<br /><b>{$this->ipsclass->vars['board_name']} {$this->ipsclass->lang['newslink']}</b> <i><a href="{$this->ipsclass->base_url}showtopic=$tid">$title</a></i>]]></section_content>
			<func_name>newslink</func_name>
			<func_data><![CDATA[$fid="",$title="",$tid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<script type="text/javascript">
//<!#^#|CDATA|
// Set up img vars
var img_markers = {
	'bc_new.gif' : 'bc_nonew.gif',
	'bf_new.gif' : 'bf_nonew.gif',
	'br_new.gif' : 'br_nonew.gif'
};
var regex_markers = 'bc_new.gif|bf_new.gif|br_new.gif';
function focus_username( e )
{
	if ( e.value == "{$this->ipsclass->lang['qli_name']}" )
	{
		e.value = '';
		return false;
	}
}
function focus_password( e )
{
	if ( e.value == "------" )
	{
		e.value = '';
		return false;
	}
}
//|#^#]>
</script>
<script type="text/javascript" src="jscripts/ipb_forum.js"></script>
<table cellspacing="0" class="newslink">
	<tr>
		<td><b>{$this->ipsclass->lang['welcome_back_text']}: <span>$lastvisit</span></b><!-- IBF.NEWSLINK --></td>
		<td align="right" valign="middle">
		<if="$this->ipsclass->member['id'] == 0">
			<form action="{$this->ipsclass->base_url}act=Login&amp;CODE=01&amp;CookieDate=1" method="post">
				<input type="text" size="20" name="UserName" onfocus="focus_username(this)" value="{$this->ipsclass->lang['qli_name']}" />
				<input type="password" size="20" name="PassWord" onfocus="focus_password(this)" value="------" />
				<input class="button" type="image" src="{$this->ipsclass->vars['img_url']}/login-button.gif" />
			</form>
		</if>
		</td>
	</tr>
</table>
<br />]]></section_content>
			<func_name>PageTop</func_name>
			<func_data><![CDATA[$lastvisit=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<a id='f-{$id}' href="{$this->ipsclass->base_url}act=Login&amp;CODE=04&amp;f={$id}&amp;fromforum={$this->ipsclass->input['f']}&amp;i=1" title="{$this->ipsclass->lang['bi_markread']}" onclick='boards_send_marker_update( $id, 1);return false;'>{$img}</a>]]></section_content>
			<func_name>forum_img_with_link</func_name>
			<func_data><![CDATA[$img="",$id=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<!-- Forum {$data['id']} entry -->
		<tr> 
			<td align="center" class="row2" width="1%"><{BR_REDIRECT}></td>
			<td class="row2"><b><a href="{$this->ipsclass->base_url}showforum={$data['id']}" target='{$data['redirect_target']}'>{$data['name']}</a></b><br /><span class="forumdesc">{$data['description']}</span></td>
			<td align="center" class="row1">--</td>
			<td align="center" class="row1">--</td>
			<td class="row1"><b>{$this->ipsclass->lang['rd_hits']}:</b> {$data['redirect_hits']}</td>
		</tr>
<!-- End of Forum {$data['id']} entry -->]]></section_content>
			<func_name>forum_redirect_row</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<tr> 
			<td align="center" class="row2" width="1%">{$data['img_new_post']}</td>
			<td class="row2">
				{$data['_queued_img']}<b><a href="{$this->ipsclass->base_url}showforum={$data['id']}">{$data['name']}</a></b>
				<br />
				<span class="forumdesc">{$data['description']}{$data['show_subforums']}
				<if="$data['moderator']">
					<br /><i>{$data['moderator']}</i>
				</if>
				</span>
				{$data['_queued_info']}
			</td>
			<td align="center" class="row1">{$data['topics']}</td>
			<td align="center" class="row1">{$data['posts']}</td>
			<td class="row1" nowrap="nowrap">{$data['last_unread']} <span>{$data['last_post']}<br /><b>{$this->ipsclass->lang['in']}:</b>&nbsp;{$data['last_topic']}<br /><b>{$this->ipsclass->lang['by']}:</b> {$data['last_poster']}</span></td>
		</tr>]]></section_content>
			<func_name>ForumRow</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[<br />
<div class="borderwrap">
	<div class="maintitle">{$data['prefix']} <a href="{$this->ipsclass->base_url}showtopic={$data['tid']}&amp;hl={$data['keywords']}">{$data['topic_title']}</a></div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<td width="150" class="{$data['class1']}">
				<if="$author['id']">
					<div id="post-member-{$data['pid']}" class='popmenubutton-new-out'>
						<span class="normalname">{$author['_pp_online_image']}{$author['_members_display_name']}</span>
					</div>
					<!-- member menu -->
					<div class='popupmenu-new' id='post-member-{$data['pid']}_menu' style='display:none;width:230px'>
						<div class='popupmenu-item-last'>
							<if="$author['members_display_name_short'] != $author['members_display_name']">
								<div class='popupmenu-item'><strong>{$author['members_display_name']}</strong></div>
							</if>
							<div style='float:right'>
								<div class='pp-image-thumb-wrap'>
									<img src='{$author['pp_thumb_photo']}' width='{$author['pp_thumb_width']}' height='{$author['pp_thumb_height']}' alt='' />
								</div>
								<if="$this->ipsclass->vars['pp_allow_member_rate']">
									<div style='margin-top:5px;margin-left:6px;'>
										<img src="{$this->ipsclass->vars['img_url']}/rating_{$author['_pp_rating_real']}_mini.gif" alt='{$this->ipsclass->lang['rating_prefix']}: {$author['_pp_rating_real']}' style='vertical-align:middle' border='0' />
									</div>
								</if>
							</div>
							<div class='popupmenu-item'>
								{$author['_pp_gender_image']} <a href="{$this->ipsclass->base_url}showuser={$author['id']}">{$this->ipsclass->lang['dd_view_profile']}</a>
							</div>
							<if="$this->ipsclass->member['id']">
								<div class='popupmenu-item'>
									<if="in_array( $author['id'], array_keys( $this->ipsclass->member['_cache']['friends'] ) )">
										<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_remove_small.png' alt='' border='0' /> <a href="#" onclick='friends_pop("&amp;do=remove&amp;member_id={$author['id']}&amp;md5check={$this->ipsclass->md5_check}"); return false'>{$this->ipsclass->lang['dd_remove_friend']}</a>
									<else />
										<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_add_small.png' alt='' border='0' /> <a href="#" onclick='friends_pop("&amp;do=add&amp;member_id={$author['id']}&amp;md5check={$this->ipsclass->md5_check}"); return false'>{$this->ipsclass->lang['dd_add_friend']}</a>
									</if>
								</div>
								<div class='popupmenu-item'>
									<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/send_pm_small.png' alt='' border='0' /> <a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$author['id']}">{$this->ipsclass->lang['dd_send_pm']}</a>
								</div>
							</if>
							<div class='popupmenu-item-last'>
								<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/find_posts.png' alt='' border='0' /> <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=getalluser&amp;mid={$author['id']}'>{$this->ipsclass->lang['dd_find_posts']}</a>
							</div>
						</div>
					</div>
					<!-- member menu -->
					<script type="text/javascript">
						ipsmenu.register( "post-member-{$data['pid']}", '', 'popmenubutton-new', 'popmenubutton-new-out' );
					</script>
				<else />
					<span class="normalname">{$author['_members_display_name']}</span>
				</if>			
			<!--<span class="normalname">{$data['author_name']}</span>-->
			</td>
			<td class="{$data['class1']}" width="100%"><b>{$this->ipsclass->lang['rp_postedon']} {$data['post_date']}</b></td>
		</tr>
		<tr>
			<td class="{$data['class2']}" valign='top'>
				<span class="postdetails">
					<if="$author['id'] AND $author['avatar']">
						<a href="{$this->ipsclass->base_url}showuser={$author['id']}" title="{$this->ipsclass->lang['dd_view_profile']}">{$author['avatar']}</a><br /><br />
					<else />
	        			{$author['avatar']}<br /><br />
					</if>
					{$author['title']}<br />
					{$author['member_rank_img']}<br /><br />
					{$author['member_group']}<br />
					{$author['member_posts']}<br />
					{$author['member_joined']}<br />
					{$author['member_location']}
					{$author['member_number']}<br /><br />
				
					{$author['warn_text']} {$author['warn_minus']}{$author['warn_img']}{$author['warn_add']}
				</span><br />
        		<img src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width="160" height="1" />
        	</td>
        	<td class="{$data['classposts']}" width="100%" id='post-main-{$data['pid']}' valign='top'><div class="postcolor" id='post-{$data['pid']}' style='height:200px;overflow-x:auto;'>{$data['post']}</div></td>
        </tr>
        <tr>
        	<td class="{$data['class1']}">&nbsp;</td>
        	<td class="{$data['class1']}">
        		{$this->ipsclass->lang['rp_forum']} <a href="{$this->ipsclass->base_url}showforum={$data['forum_id']}">{$data['forum_name']}</a>
        		&middot; {$this->ipsclass->lang['rp_post']} <a href="{$this->ipsclass->base_url}act=findpost&amp;hl={$data['keywords']}&amp;pid={$data['pid']}" class="linkthru">#{$data['pid']}</a>
        		&middot; {$this->ipsclass->lang['rp_replies']} <b>{$data['topic_posts']}</b>
        		&middot; {$this->ipsclass->lang['rp_hits']} <b>{$data['views']}</b>
        	</td>
  		</tr>
  	</table>
</div>]]></section_content>
			<func_name>RenderPostRow</func_name>
			<func_data><![CDATA[$data="",$author=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_stats</group_name>
			<section_content><![CDATA[<a href="#" onclick="opener.ipsclass.location_jump( '{$this->ipsclass->base_url}showuser=$id', 1);">$name</a>]]></section_content>
			<func_name>who_name_link</func_name>
			<func_data><![CDATA[$id="",$name=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_stats</group_name>
			<section_content><![CDATA[<tr>
			<td class="formbuttonrow" colspan="2"><a href="javascript:bog_off();">{$this->ipsclass->lang['who_go']}</a></td>
		</tr>
			<tr>
		<td class="catend" colspan="2"><!-- no content --></td>
	</tr>
	</table>
</div>]]></section_content>
			<func_name>who_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_stats</group_name>
			<section_content><![CDATA[<script language="javascript">
<!--
	function bog_off(){
		var tid = "$tid";
		var fid = "$fid";
		
		opener.location= "{$this->ipsclass->base_url}" + "showtopic=" + tid;
		self.close();
	}
-->
</script>
<div class="borderwrap">
	<div class="maintitle" align="center">{$this->ipsclass->lang['who_farted']} $title</div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th width="70%" valign="middle">{$this->ipsclass->lang['who_poster']}</th>
			<th width="30%" align="center" valign="middle">{$this->ipsclass->lang['who_posts']}</th>
		</tr>]]></section_content>
			<func_name>who_header</func_name>
			<func_data><![CDATA[$fid="",$tid="",$title=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_stats</group_name>
			<section_content><![CDATA[<tr>
			<td colspan="5" align="center" class="row1" valign="middle">{$this->ipsclass->lang['no_info']}</td>
		</tr>]]></section_content>
			<func_name>top_poster_no_info</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_stats</group_name>
			<section_content><![CDATA[<tr>
			<td class="row1" valign="middle">
				<if="$info['id'] > 0">
					<a href="{$this->ipsclass->base_url}showuser={$info['id']}">{$info['members_display_name']}</a>
				<else />
					{$info['members_display_name']}
				</if>
			</td>
			<td align="center" class="row1" valign="middle">{$info['joined']}</td>
			<td align="center" class="row1" valign="middle">{$info['posts']}</td>
			<td align="center" class="row1" valign="middle">{$info['tpost']}</td>
			<td align="center" class="row1" valign="middle">{$info['today_pct']}%</td>
		</tr>]]></section_content>
			<func_name>top_poster_row</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_stats</group_name>
			<section_content><![CDATA[<table class='ipbtable' cellspacing="0">
	<tr>
		<td><span class="pagetitle">{$title}</td>
	</tr>
</table>]]></section_content>
			<func_name>page_title</func_name>
			<func_data><![CDATA[$title=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_stats</group_name>
			<section_content><![CDATA[<tr>
		<td class="catend" colspan="5"><!-- no content --></td>
	</tr>
</table>
</div>]]></section_content>
			<func_name>top_poster_footer</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_stats</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['todays_posters']}</div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th width="30%" valign="middle">{$this->ipsclass->lang['member']}</th>
			<th width="20%" align="center" valign="middle">{$this->ipsclass->lang['member_joined']}</th>
			<th align="center" width="15%" valign="middle">{$this->ipsclass->lang['member_posts']}</th>
			<th align="center" width="15%" valign="middle">{$this->ipsclass->lang['member_today']}</th>
			<th align="center" width="20%" valign="middle">{$this->ipsclass->lang['member_percent']}</th>
		</tr>]]></section_content>
			<func_name>top_poster_header</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_stats</group_name>
			<section_content><![CDATA[<option value="$id">$name</option>]]></section_content>
			<func_name>leader_row_forum_entry</func_name>
			<func_data><![CDATA[$id="",$name=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_stats</group_name>
			<section_content><![CDATA[<form method="post" onsubmit="if(document.jmenu$id.f.value == -1){return false;}" action="{$this->ipsclass->base_url}" name="jmenu$id">
	<select name="showforum" onchange="if(this.options[this.selectedIndex].value != -1){ document.jmenu$id.submit() }">
		<option value="-1">$count_string</option>
		<option value="-1">--------------------------------------------------------</option>]]></section_content>
			<func_name>leader_row_forum_start</func_name>
			<func_data><![CDATA[$id="",$count_string=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_stats</group_name>
			<section_content><![CDATA[</select>
</form>]]></section_content>
			<func_name>leader_row_forum_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_stats</group_name>
			<section_content><![CDATA[<tr>
				<td class="row1">
				<if="$info['id'] > 0">
					<a href="{$this->ipsclass->base_url}showuser={$info['id']}">{$info['members_display_name']}</a>
				<else />
					{$info['members_display_name']}
				</if>
				</td>
				<td align="center" class="row1">$forums</td>
				<td align="center" class="row1">{$info['location']}</td>
				<td align="center" class="row1">{$info['msg_icon']}</td>
			</tr>]]></section_content>
			<func_name>leader_row</func_name>
			<func_data><![CDATA[$info="",$forums=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<div style='background:#FFF9BA;'>{$data['depthguide']} {$data['new_post']} <b>{$data['linked_name']}</b> &nbsp; <i><a href="{$this->ipsclass->base_url}showtopic={$data['topic_id']}&amp;pid={$data['pid']}&amp;mode=threaded&amp;show={$show}&amp;st={$st}#entry{$data['pid']}">{$data['post_title']}</a></i> &nbsp; <span class="desc">{$data['formatted_date']}</span></div>]]></section_content>
			<func_name>toutline_show_row_highlight</func_name>
			<func_data><![CDATA[$data="", $show=0, $st=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<strong><em><a href='$url'>$macro</a></em></strong>]]></section_content>
			<func_name>toutline_mode_choice_on</func_name>
			<func_data><![CDATA[$url="",$macro=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[{$data['depthguide']} {$data['new_post']} <b>{$data['linked_name']}</b> &nbsp; <i><a href="{$this->ipsclass->base_url}showtopic={$data['topic_id']}&amp;pid={$data['pid']}&amp;mode=threaded&amp;start={$show}#entry{$data['pid']}">{$data['post_title']}</a></i> &nbsp; <span class="desc">{$data['formatted_date']}</span><br />]]></section_content>
			<func_name>toutline_show_row</func_name>
			<func_data><![CDATA[$data="", $show=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<a href='$url'>{$this->ipsclass->lang['topic_display_switch']} $macro</a>]]></section_content>
			<func_name>toutline_mode_choice_off</func_name>
			<func_data><![CDATA[$url="",$macro=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content></section_content>
			<func_name>toutline_end_new_parent</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[</div>
	<div class="row1">$pages</div>
</div>]]></section_content>
			<func_name>toutline_end_list</func_name>
			<func_data><![CDATA[$pages=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<if="$rating_id > 0">
	<img src='{$this->ipsclass->vars['img_url']}/folder_topic_view/rating_{$rating_id}.gif' id='topic-rating-img-main' border='0' alt='{$rating_id}' />
<else />
	<img src='{$this->ipsclass->vars['img_url']}/blank.gif' id='topic-rating-img-main' border='0' alt='' />
</if>]]></section_content>
			<func_name>topic_rating_image</func_name>
			<func_data><![CDATA[$rating_id=0,$title='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<div class="borderwrap" style='padding-bottom:1px;'>
	<div class="formsubtitle" style="padding: 4px;">{$this->ipsclass->lang['active_users_title']} ({$this->ipsclass->lang['active_users_detail']})</div>
	<div class="row1" style="padding: 4px;">{$this->ipsclass->lang['active_users_members']} {$active['names']}</div>
</div>]]></section_content>
			<func_name>topic_active_users</func_name>
			<func_data>$active=array()</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[</div>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td style='padding-left:0px' width="40%" valign="middle" nowrap="nowrap"><div>{$data['TOPIC']['SHOW_PAGES']}&nbsp;{$data['TOPIC']['go_new']}</div></td>
		<td class='nopad' style='padding:5px 0px 5px 0px' align="right" width="60%" valign="middle">{$data['TOPIC']['REPLY_BUTTON']}<a href="{$this->ipsclass->base_url}act=post&amp;do=new_post&amp;f={$data['FORUM']['id']}" title="{$this->ipsclass->lang['start_new_topic']}"><{A_POST}></a></td>
	</tr>
</table>
<a name="firstpost"></a>
<div class="borderwrap">
	<div class="maintitle">{$this->ipsclass->lang['tom_replies']}
<if="$noreplieshow != 1">
({$data['TOPIC']['new_mode_start']} - {$data['TOPIC']['new_mode_end']})
</if>
	</div>]]></section_content>
			<func_name>topic_end_first_post</func_name>
			<func_data><![CDATA[$data="",$noreplieshow=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[</div>
<br />]]></section_content>
			<func_name>topic_end_outline</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<a href="javascript:ShowHide('topic_open','topic_closed')" title="{$this->ipsclass->lang['to_open']}"><{T_OPTS}></a>]]></section_content>
			<func_name>topic_opts_closed</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<script type="text/javascript">
<!--
var ipb_lang_tt_prompt = "{$this->ipsclass->lang['tt_prompt']}";
var ipb_lang_js_del_1  = "{$this->ipsclass->lang['js_del_1']}";
var ipb_lang_js_del_2  = "{$this->ipsclass->lang['js_del_2']}";
var addquotebutton     = "{$this->ipsclass->vars['img_url']}/p_mq_add.gif";
var removequotebutton  = "{$this->ipsclass->vars['img_url']}/p_mq_remove.gif";
var unselectedbutton = "{$this->ipsclass->vars['img_url']}/topic_unselected.gif";
var selectedbutton   = "{$this->ipsclass->vars['img_url']}/topic_selected.gif";
var lang_gobutton    = "{$this->ipsclass->lang['f_go']}";
var lang_suredelete  = "{$this->ipsclass->lang['cp_js_delete']}";
var js_error_no_permission = "{$this->ipsclass->lang['js_error_no_permission']}";
var js_no_empty_post = "{$this->ipsclass->lang['js_no_empty_post']}";
//-->
</script>
<script type="text/javascript" src="jscripts/ipb_topic.js"></script>
<script type="text/javascript" src="jscripts/ips_text_editor_lite.js"></script>
<script type='text/javascript'>
//<!#^#|CDATA|
topic_rate = new topic_rate();
//|#^#]>
</script>
<a name="top"></a>
<!--IBF.FORUM_RULES-->
<if="$threaded == 0">
<table class='ipbtable' cellspacing="0">
	<tr>
		<td style='padding-left:0px' width="40%" valign="middle" nowrap="nowrap"><div>{$data['TOPIC']['SHOW_PAGES']}&nbsp;{$data['TOPIC']['go_new']}</div></td>
		<td class='nopad' style='padding:0px 0px 5px 0px' align="right" width="60%" valign="middle"><!--IBF.TOPIC_REPLY--><a href="{$this->ipsclass->base_url}act=post&amp;do=new_post&amp;f={$data['FORUM']['id']}" title="{$this->ipsclass->lang['start_new_topic']}"><{A_POST}></a></td>
	</tr>
</table>
</if>
<div class="borderwrap">
	<div class="maintitle" style='padding:4px'>
	<!-- TABLE FIX FOR MOZILLA WRAPPING-->
	<table width='100%' style='padding:0px' cellspacing='0' cellpadding='0'>
	<tr>
	 <td width='99%' style='word-wrap:break-word;'><div><{CAT_IMG}>&nbsp;<b>{$data['TOPIC']['title']}</b>{$data['TOPIC']['description']}</div></td>
	 
	 <td width='1%' align='right' nowrap='nowrap'>
		
		<if="$data['TOPIC']['_allow_rate'] != 0">
			<div class='popmenubutton' id='topic-rating'>
				<a href='#topicrating'>{$this->ipsclass->lang['topic_rating']}</a>
				{$data['TOPIC']['_rate_img']} <img src='{$this->ipsclass->vars['img_url']}/menu_action_down.gif' alt='V' title='{$this->ipsclass->lang['global_open_menu']}' border='0' />
			</div>
		<else />
			<if="$data['TOPIC']['_rate_show'] == 1 AND $data['TOPIC']['_rate_img'] != ''">
				<div class='popmenubutton' id='topic-rating'>
					{$this->ipsclass->lang['topic_rating']} {$data['TOPIC']['_rate_img']} <img src='{$this->ipsclass->vars['img_url']}/menu_action_down.gif' alt='V' title='{$this->ipsclass->lang['global_open_menu']}' border='0' />
				</div>
			</if>
		</if>
		<if="$data['TOPIC']['_allow_rate'] != 0">
			<div id='topic-rating_menu' class='popupmenu-new' style='display:none;width:140px'>
				<div class='popupmenu-item'>
					<div id='topic-rating-wrapper'></div>
				</div>
				<div class='popupmenu-item'>
					{$this->ipsclass->lang['you_have_rated_x']} <span id='topic-rating-my-rating'>{$data['TOPIC']['_rating_value']}</span>
				</div>
				<div class='popupmenu-item-last'>
					{$this->ipsclass->lang['total_ratings']} <span id='topic-rating-hits'>{$data['TOPIC']['topic_rating_hits']}</span>
				</div>
			</div>
			<script type='text/javascript'>
				ipsmenu.register( "topic-rating" );
			</script>
		</if>
     </td>
	 <td width='1%' align='right' nowrap='nowrap'>
	    <div class='popmenubutton' id='topicmenu-options'><a href='#topicoptions'>{$this->ipsclass->lang['topic_options']}</a> <img src='{$this->ipsclass->vars['img_url']}/menu_action_down.gif' alt='V' title='{$this->ipsclass->lang['global_open_menu']}' border='0' /></div>
	 </td>
	</tr>
  </table>
	 
 </div>
 <!--{IBF.POLL}-->
<script type="text/javascript">
<!--
menu_build_menu(
"topicmenu-options",
new Array(   img_item + " <a href='{$this->ipsclass->base_url}act=usercp&amp;CODE=start_subs&amp;method=topic&amp;tid={$data['TOPIC']['tid']}'>{$this->ipsclass->lang['track_topic']}</a>",
 			 img_item + " <a href='{$this->ipsclass->base_url}act=Forward&amp;f={$data['FORUM']['id']}&amp;t={$data['TOPIC']['tid']}'>{$this->ipsclass->lang['forward']}</a>",
 			 img_item + " <a href='{$this->ipsclass->base_url}act=Print&amp;client=printer&amp;f={$data['FORUM']['id']}&amp;t={$data['TOPIC']['tid']}'>{$this->ipsclass->lang['print']}</a>",
             img_item + " <a href='{$this->ipsclass->base_url}act=Print&amp;client=choose&amp;f={$data['FORUM']['id']}&amp;t={$data['TOPIC']['tid']}'>{$this->ipsclass->lang['av_title']}</a>",
 			 img_item + " <a href='{$this->ipsclass->base_url}act=usercp&amp;CODE=start_subs&amp;method=forum&amp;fid={$data['FORUM']['id']}'>{$this->ipsclass->lang['ft_title']}</a>",
 			 "~~NODIV~~<div class='popupmenu-category' align='center'>{$this->ipsclass->lang['dd_display_modes']}</div>",
 			 img_item + " {$data['TOPIC']['to_button_threaded']}",
 			 img_item + " {$data['TOPIC']['to_button_standard']}",
 			 img_item + " {$data['TOPIC']['to_button_linearpl']}"
	    ) );
topic_rate.settings['allow_rating']       = parseInt("{$data['TOPIC']['_allow_rate']}");
topic_rate.settings['default_rating']     = parseInt("{$data['TOPIC']['_rate_int']}");
topic_rate.settings['img_base_url']       = ipb_var_image_url + '/folder_topic_view';
topic_rate.settings['div_rating_wrapper'] = 'topic-rating-wrapper';
topic_rate.settings['text_rating_image']  = 'topic-rating-img-';
topic_rate.languages['img_alt_rate']      = "{$this->ipsclass->lang['js_img_alt_rate']}";
topic_rate.languages['rate_me']           = "{$this->ipsclass->lang['js_rate_me']}";
topic_rate.init_rating_images();
-->
</script>]]></section_content>
			<func_name>topic_page_top</func_name>
			<func_data><![CDATA[$data="",$threaded=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<br />
<div>
	<strong><span class="edit">$title</span></strong>
	<div>
		$data
	</div>
</div>
<div>&nbsp;</div>]]></section_content>
			<func_name>show_attachment_title</func_name>
			<func_data><![CDATA[$title="",$data=""]]></func_data>
			<group_names_secondary>,skin_msg,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<a href="{$this->ipsclass->base_url}act=attach&amp;type={$data['type']}&amp;id={$data['attach_id']}" title="{$this->ipsclass->lang['attach_dl']}" target="_blank"><img src="{$this->ipsclass->vars['mime_img']}/{$data['mime_image']}" alt="{$this->ipsclass->lang['attached_file']}" /></a>
&nbsp;<a href="{$this->ipsclass->base_url}act=attach&amp;type={$data['type']}&amp;id={$data['attach_id']}" title="{$this->ipsclass->lang['attach_dl']}" target="_blank">{$data['attach_file']}</a> ( {$data['file_size']} )
<span class="desc">{$this->ipsclass->lang['attach_hits']}: {$data['attach_hits']}</span><br />]]></section_content>
			<func_name>Show_attachments</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary>,skin_msg,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<img src="{$this->ipsclass->vars['upload_url']}/$file_name" class='linked-image' alt="{$this->ipsclass->lang['pic_attach']}" />]]></section_content>
			<func_name>Show_attachments_img</func_name>
			<func_data><![CDATA[$file_name=""]]></func_data>
			<group_names_secondary>,skin_msg,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<if="!$data['notinline']">
 <br />
</if>
<table style='width:auto;display:inline;' id='ipb-attach-table-{$data['_attach_id']}' cellspacing='0' cellpadding='0'>
<tr>
 <td>
	<div id='ipb-attach-div-{$data['_attach_id']}'>
		<div id='ipb-attach-ct-{$data['_attach_id']}'></div>
		<a id='ipb-attach-url-{$data['_attach_id']}' href="{$this->ipsclass->base_url}act=attach&amp;type={$data['type']}&amp;id={$data['attach_id']}" title="{$data['location']} - {$this->ipsclass->lang['attach_size']} {$data['file_size']}, {$this->ipsclass->lang['attach_ahits']} {$data['attach_hits']}" target="_blank"><img src="{$this->ipsclass->vars['upload_url']}/{$data['t_location']}" id='ipb-attach-img-{$data['_attach_id']}' style='width:{$data['t_width']};height:{$data['t_height']}' class='attach' width="{$data['t_width']}" height="{$data['t_height']}" alt="{$this->ipsclass->lang['pic_attach']}" /></a>
		<div id='ipb-attach-cb-{$data['_attach_id']}' style='margin:0px'></div>
	</div>
 </td>
</tr>
</table>
<script type='text/javascript'>
//<!#^#|CDATA|
	fix_linked_image_sizes_attach_thumb( "{$data['_attach_id']}", parseInt("{$data['o_width']}"), parseInt("{$data['o_height']}"), "{$data['file_size']}" );
//|#^#]>
</script>]]></section_content>
			<func_name>Show_attachments_img_thumb</func_name>
			<func_data>$data=array()</func_data>
			<group_names_secondary>,skin_msg,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<a href="{$this->ipsclass->base_url}act=post&amp;CODE=14&amp;f=$fid&amp;t=$tid"><{A_APOLL}></a>]]></section_content>
			<func_name>start_poll_link</func_name>
			<func_data><![CDATA[$fid="",$tid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<!-- END TABLE -->
<if="$is_outline == 1">
<br />
<div class="borderwrap">
</if>
<!-- TABLE FOOTER -->
<div class="barc">
	<div style="float: right; padding: 5px 5px 0 0;"><a href="{$this->ipsclass->base_url}showtopic={$data['TOPIC']['tid']}&amp;view=old" style='text-decoration:none'>&laquo; {$this->ipsclass->lang['t_old']}</a>
	&middot; <a href="{$this->ipsclass->base_url}showforum={$data['FORUM']['id']}" style='font-weight: bold;text-decoration:none'>{$data['FORUM']['name']}</a>
	&middot; <a href="{$this->ipsclass->base_url}showtopic={$data['TOPIC']['tid']}&amp;view=new" style='text-decoration:none'>{$this->ipsclass->lang['t_new']} &raquo;</a></div>
	<div>
		<form action="{$this->ipsclass->base_url}" method="post" name="search">
			<input type="hidden" name="forums" value="{$data['FORUM']['id']}" />
			<input type="hidden" name="topic" value="{$data['TOPIC']['tid']}" />
			<input type="hidden" name="act" value="Search" />
			<input type="hidden" name="CODE" value="searchtopic" />
			<input type="text" size="25" name="keywords" class="searchinput" value="{$this->ipsclass->lang['enter_keywords']}" onfocus="this.value = '';" />&nbsp;
			<input type="submit" value="{$this->ipsclass->lang['search_topic']}" class="button" />
		</form>
	</div>
</div>
</div>
<br />
<!--IBF.MOD_FULL_WRAPPER-->
<!--IBF.MOD_PANEL_NO_MOD-->
<table class='ipbtable' cellspacing="0">
	<tr>
		<td style='padding-left:0px' width="30%" nowrap="nowrap" valign="middle"><div>{$data['TOPIC']['SHOW_PAGES']}</div></td>
		<td class='nopad' style='padding:5px 0px 5px 0px' align="right" width="70%"><!--IBF.QUICK_REPLY_CLOSED--><!--IBF.TOPIC_REPLY--><a href="{$this->ipsclass->base_url}act=post&amp;do=new_post&amp;f={$data['FORUM']['id']}" title="{$this->ipsclass->lang['start_new_topic']}"><{A_POST}></a></td>
	</tr>
</table>
<!--IBF.TOPIC_ACTIVE-->
<!--IBF.QUICK_REPLY_OPEN-->
<br />
<div class="borderwrap">
	<div class="row2" style="padding: 5px;">
		<!--IBF.MULTIMOD-->
		<div align="right">{$data['FORUM']['JUMP']}</div>
	</div>
</div>
<br />
<!-- NON JS STUFF -->
<div id='topicoptionsjs'>
 <a name='topicdisplay'></a>
 <div class='borderwrap'>
  <div class="bar" style="padding: 5px;text-align:center">
  <strong>{$this->ipsclass->lang['topic_display']}:</strong> {$data['TOPIC']['to_button_standard']} &middot;
  {$data['TOPIC']['to_button_linearpl']} &middot;
  {$data['TOPIC']['to_button_threaded']}
  </div>
 </div>
 <br />
 <a name='topicoptions'></a>
 <div class='borderwrap'>
  <div class="bar" style="padding: 5px;text-align:center">
  <a href='{$this->ipsclass->base_url}act=usercp&amp;CODE=start_subs&amp;method=topic&amp;tid={$data['TOPIC']['tid']}'>{$this->ipsclass->lang['track_topic']}</a> &middot;
  <a href='{$this->ipsclass->base_url}act=Forward&amp;f={$data['FORUM']['id']}&amp;t={$data['TOPIC']['tid']}'>{$this->ipsclass->lang['forward']}</a> &middot;
  <a href='{$this->ipsclass->base_url}act=Print&amp;client=printer&amp;f={$data['FORUM']['id']}&amp;t={$data['TOPIC']['tid']}'>{$this->ipsclass->lang['print']}</a> &middot;
  <a href='{$this->ipsclass->base_url}act=usercp&amp;CODE=start_subs&amp;method=forum&amp;fid={$data['FORUM']['id']}'>{$this->ipsclass->lang['ft_title']}</a>
  </div>
 </div>
 <br />
<if="$data['TOPIC']['_allow_rate'] != 0">
<a name='topicrating'></a>
 <div class='borderwrap'>
  <div class="bar" style="padding: 5px;text-align:center">
  <form action='{$this->ipsclass->base_url}&amp;showtopic={$data['TOPIC']['tid']}&amp;addrating=1&amp;st={$this->ipsclass->input['st']}' method='POST'>
  <strong>{$this->ipsclass->lang['topic_rating']}</strong> &nbsp;<select name='rating'>
   <option value='5'>* * * * *</option>
   <option value='4'>* * * *</option>
   <option value='3'>* * *</option>
   <option value='2'>* *</option>
   <option value='1'>*</option>
  </select> <input class='button' type='submit' value=' {$this->ipsclass->lang['dd_rate_button']} ' />
  </form>
  </div>
 </div>
</if>
</div>
<script type='text/javascript'>
//<!#^#|CDATA|
document.getElementById('topicoptionsjs').style.display = 'none';
 
// Scroll to PID?
topic_scroll_to_post( parseInt("{$this->ipsclass->input['gopid']}") );
//|#^#]>
</script>]]></section_content>
			<func_name>TableFooter</func_name>
			<func_data><![CDATA[$data="",$is_outline="",$auth_key=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<a href="{$this->ipsclass->base_url}act=report&amp;t={$data['topic_id']}&amp;p={$data['pid']}&amp;st={$this->ipsclass->input['st']}"><{P_REPORT}></a>]]></section_content>
			<func_name>report_link</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<!-- end multimod -->]]></section_content>
			<func_name>mm_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<option value="t_{$id}">--  $title</option>]]></section_content>
			<func_name>mm_entry</func_name>
			<func_data><![CDATA[$id="",$title=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<option value="-1">------------------------------</option>
<option value="-1">{$this->ipsclass->lang['mm_title']}</option>
<option value="-1">------------------------------</option>]]></section_content>
			<func_name>mm_start</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<!-- inbox folder -->
<div class="borderwrap">
	<div class="maintitle">{$this->ipsclass->lang['attach_page_title']}: $title</div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th width="2%">&nbsp;</th>
			<th width="73%"><b>{$this->ipsclass->lang['attach_title']}</b></th>
			<th width="5%">{$this->ipsclass->lang['attach_size']}</b></a></th>
			<th width="15%"><b>{$this->ipsclass->lang['attach_post']}</b></th>
		</tr>]]></section_content>
			<func_name>forums_attachments_top</func_name>
			<func_data><![CDATA[$title=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<!-- inbox folder -->
	</table>
</div>]]></section_content>
			<func_name>forums_attachments_bottom</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<tr id="{$data['attach_id']}">
	<td align="center" class="row1"><img src="{$this->ipsclass->vars['mime_img']}/{$data['image']}" alt="{$this->ipsclass->lang['attached_file']}" /></td>
	<td class="row2">
		<a href="{$this->ipsclass->base_url}act=Attach&amp;type=post&amp;id={$data['attach_id']}" title="{$data['attach_file']}" target="_blank">{$data['short_name']}</a>
		<div class="desc">( {$this->ipsclass->lang['attach_hits']}: {$data['attach_hits']} )<br />( {$this->ipsclass->lang['attach_post_date']} {$data['attach_date']} )</div>
	</td>
	<td align="center" class="row1">{$data['real_size']}</td>
	<td class="row2" align="center"><a href="#" onclick="opener.location='{$this->ipsclass->base_url}act=findpost&amp;pid={$data['pid']}';">{$data['pid']}</a></td>
</tr>]]></section_content>
			<func_name>forums_attachments_row</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<div class="borderwrap" style='padding-bottom:1px;'>
	<div class="formsubtitle" style="padding: 4px;">{$this->ipsclass->lang['active_users_title']} ({$this->ipsclass->lang['active_users_detail']})</div>
	<div class="row1" style="padding: 4px;">{$this->ipsclass->lang['active_users_members']} {$active['names']}</div>
</div>
<br />]]></section_content>
			<func_name>forum_active_users</func_name>
			<func_data>$active=array()</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}" method="post">
	<input type="hidden" name="act" value="SF" />
	<input type="hidden" name="f" value="$fid" />
	<input type="hidden" name="L" value="1" />
	<div class="borderwrap">
		<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['need_password']}</div>
		<div class="tablepad">{$this->ipsclass->lang['need_password_txt']}</div>
		<div class="tablepad">
			<b>{$this->ipsclass->lang['enter_pass']}</b>
			<input type="password" size="20" name="f_password" />
		</div>
		<div class="pformstrip" align="center"><input type="submit" value="{$this->ipsclass->lang['f_pass_submit']}" class="button" /></div>
	</div>
</form>]]></section_content>
			<func_name>forum_password_log_in</func_name>
			<func_data><![CDATA[$fid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<if="is_array($comments) and count($comments)">
	<foreach="$comments as $comment">
		<div class='pp-mini-content-entry-noheight' id='pp-comment-entry-{$comment['comment_id']}'>
			<div class='pp-tiny-text'>
			<div class='pp-image-mini-wrap-floatright'><img src='{$comment['pp_mini_photo']}' width='{$comment['pp_mini_width']}' height='{$comment['pp_mini_height']}' alt='' /></div>
				{$comment['_pp_gender_image']} <strong><a href='{$this->ipsclass->base_url}showuser={$comment['id']}'>{$comment['members_display_name_short']}</a></strong>
				<br />
				{$comment['comment_content']}
				<br />
				<if="$this->ipsclass->member['id'] == $member['id'] OR $this->ipsclass->member['g_is_supmod']">
					<a href='#' onclick='ips_personal_portal.delete_comment("{$comment['comment_id']}"); return false'><img src="{$this->ipsclass->vars['img_url']}/folder_profile_portal/comment_remove.gif" style='vertical-align:bottom;' id="pp-comment-delete-{$comment['comment_id']}" title='{$this->ipsclass->lang['m_delete_comment']}' border="0" /></a>
				</if>
				<strong>{$comment['_comment_date']}</strong>
			</div>
		</div>
	</foreach>
<else />
	<div class='post1' style='padding:6px'>
		<em>{$this->ipsclass->lang['m_no_comments']} {$member['members_display_name']}.</em>
	</div>
</if>
<if="$return_msg">
	<script type="text/javascript">
	//<!#^#|CDATA|
		show_inline_messages_instant( "$return_msg" );
	//|#^#]>
	</script>
</if>
<if="$new_id">
	<script type='text/javascript'>
	//<!#^#|CDATA|
		ipsclass.fade_in_element( 'pp-comment-entry-{$new_id}' );
	//|#^#]>
	</script>
</if>]]></section_content>
			<func_name>personal_portal_show_comment</func_name>
			<func_data><![CDATA[$comments, $member=array(), $new_id=0, $return_msg='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<div>
	<div class='pp-contentbox-entry'>
		<div class='pp-datebox'>
			{$row['_date_array']['mday']} {$row['_date_array']['smonth']} <em>{$row['_date_array']['year']}</em>
			<if="$read_more_link AND $url">
				<div style='font-size:10px; font-weight:normal'><a href='$url'>{$read_more_link}</a></div>
			</if>
		</div>
		<if="$title">
			<if="$url">
				<div style='font-weight:bold;font-size:16px;border-bottom:1px solid #CCC; padding-bottom:5px;'>
					<a href="$url" style='text-decoration:none'>$title</a>
				</div>
			<else />
				<div style='font-weight:bold;font-size:16px;border-bottom:1px solid #CCC; padding-bottom:5px;'>$title</div>
			</if>
		</if>
		<div style='margin:5px'>{$row['post']}</div>
	</div>
</div>]]></section_content>
			<func_name>personal_portal_single_column</func_name>
			<func_data><![CDATA[$row=array(), $read_more_link='', $url='', $title='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<script type="text/javascript" src="{$this->ipsclass->vars['board_url']}/jscripts/ipb_profile.js"></script>
<script type='text/javascript' src="{$this->ipsclass->vars['board_url']}/jscripts/ips_profile_portal.js"></script>
<script type="text/javascript" src="{$this->ipsclass->vars['board_url']}/jscripts/ipb_topic.js"></script>
<!--We (?:c|sh)ould use CSS for this.-->
<table cellspacing='4' cellpadding='0' width='100%'  border='0'>
<tr>
	<td style='width:210px' valign='top'>
	<!-- LEFT TABLE -->
		<div class="borderwrap" style='padding:1px'>
			<div class="pp-title">{$this->ipsclass->lang['m_profile_title']}</div>
			<div class='pp-header'>{$this->ipsclass->lang['get_photo']}</div>
			<table cellpadding='1' cellspacing='0' width='100%'>
			<tr>
				<td width='60%' class='row1' style='padding:3px;margin-bottom:0px' valign='middle' align='center'>
				<!-- Personal Photo -->
					<img id='pp-main-photo' src='{$member['pp_main_photo']}' width='{$member['pp_main_width']}' height='{$member['pp_main_height']}' alt='' />
				<!-- / Personal Photo -->
				<!-- Quick contact -->
				<if="$this->ipsclass->member['id'] AND ( $member['id'] != $this->ipsclass->member['id'])">
					<div style='margin-top:10px;margin-bottom:6px'>
						<div id='pp-friend-wrap'>
							<!-- Add / remove friend added via JS -->
						</div>
						<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/send_pm_small.png' alt='' border='0' /> <a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$member['id']}">{$this->ipsclass->lang['pm']}</a>
					</div>
				</if>
				<!-- / Quick contact -->
				</td>
			</tr>
			</table>
			
			<if="$this->ipsclass->vars['pp_allow_member_rate']">
				<!-- Rating -->
				<div class='pp-header'>{$this->ipsclass->lang['rating']}</div>
				<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px; text-align: center' id='pp-rating-wrapper'>
					&nbsp;
				</div>
				<!-- / Rating -->
			</if>
			
			<!-- Options -->
			<div class='pp-header'>{$this->ipsclass->lang['options']}</div>
			<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px; text-align: center'>
				<div class='popmenubutton-new' id='profile-options'>{$this->ipsclass->lang['options']}</div>
			</div>
			<!-- / Options -->
			
			<!-- Personal Statement -->
			<div class='pp-header'>{$this->ipsclass->lang['m_personal_statement']}</div>
			<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px' id='pp-personal_statement'>
				<if="$member['pp_bio_content']">
					{$member['pp_bio_content']}
					<else />
					<em>{$member['members_display_name']} {$this->ipsclass->lang['m_no_statement']}.</em>
				</if>
				<if="$member['_website']">
					<div style='padding-top:5px'>
						<if="strlen($member['_website']) > 30">
							<a href='{$member['_website']}' target='_blank'>{$this->ipsclass->lang['m_visit_website']}</a>
						<else />
							<a href='{$member['_website']}' target='_blank'>{$member['_website']}</a>
						</if>
					</div>
				</if>
			</div>
			<!-- / Personal Statement -->
			
			<!-- Personal Info -->
			<div class='pp-header'>{$this->ipsclass->lang['m_personal_info']}</div>
			<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px'>{$member['members_display_name']}</div>
			<if="$member['_title']!=''">
				<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px'>{$member['_title']}</div>
			</if>
			<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px' id='pp-entry-age-wrap'>
				<if="$member['_age'] > 0">
					 <span id='pp-entry-age-text'>{$member['_age']}</span> <span id='pp-entry-age-yearsold'>{$this->ipsclass->lang['m_years_old']}</span>
				<else />
					<span id='pp-entry-age-text'>{$this->ipsclass->lang['m_age_unknown']}</span> <span id='pp-entry-age-yearsold' style='display:none'>{$this->ipsclass->lang['m_years_old']}</span>
				</if>
			</div>
			<div class='row2' style='padding:6px; margin-bottom:1px; padding-left:10px'>
				<div id='pp-entry-gender-wrap'>
					<if="$member['pp_gender']">
						<span id='pp-entry-gender-imgwrap'>{$member['_pp_gender_image']}</span> <span id='pp-entry-gender-text'>{$member['_pp_gender_text']}</span>
					<else />
						<span id='pp-entry-gender-imgwrap'>{$member['_pp_gender_image']}</span> <span id='pp-entry-gender-text'>{$this->ipsclass->lang['m_no_gender']}</span>
					</if>
				</div>
				<if="$member['id'] == $this->ipsclass->member['id'] AND $this->ipsclass->member['g_edit_profile']==1">
					<div class='popupmenu-new' id='pp-entry-gender-wrap_menu' style='display:none;width:162px'>
						<div class='popupmenu-item'><img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/gender_male.png' alt='' border='0' /> <a href='#' onclick="ips_personal_portal.save_settings( 'gender', { 'pp_gender' : 'male' }, ''); return false;">{$this->ipsclass->lang['m_gender_as_male']}</a></div>
						<div class='popupmenu-item'><img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/gender_female.png' alt='' border='0' /> <a href='#' onclick="ips_personal_portal.save_settings( 'gender', { 'pp_gender' : 'female' }, ''); return false;">{$this->ipsclass->lang['m_gender_as_female']}</a></div>
						<div class='popupmenu-item-last'><img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/gender_mystery.png' alt='' border='0' /> <a href='#' onclick="ips_personal_portal.save_settings( 'gender', { 'pp_gender' : 'mystery' }, ''); return false;">{$this->ipsclass->lang['m_gender_as_none']}</a></div>
					</div>
				</if>
			</div>
			<div class='row2' style='padding:6px; margin-bottom:1px; padding-left:10px'>
				<div id='pp-entry-location-wrap'>
					<if="$member['location']">
						<span id='pp-entry-location-text'>{$member['location']}</span>
					<else />
						<span id='pp-entry-location-text'>{$this->ipsclass->lang['m_location_unknown']}</span>
					</if>
				</div>
				<if="$member['id'] == $this->ipsclass->member['id'] AND $this->ipsclass->member['g_edit_profile']==1">
					<div class='popupmenu-new' id='pp-entry-location-wrap_menu' style='display:none;width:auto'>
						<div class='popupmenu-item-last'>
							<fieldset>
								<legend>{$this->ipsclass->lang['m_enter_location']}</legend>
								<input type='text' size='20' maxlength='200' name='location' id='pp-location' value='{$member['location']}' /> <input class='button' type='button' value='{$this->ipsclass->lang['m_save_button']}' onclick="ips_personal_portal.save_settings( 'location', {}, 'pp-location'); return false;" />
							</fieldset>
						</div>
					</div>
				</if>
			</div>
			<div class='row1' style='padding:6px; margin-bottom:0px; padding-left:10px'>
				<div id='pp-entry-born-wrap'>
					<if="$member['bday_day'] AND $member['bday_year'] AND $member['_bday_month']">
						<span id='pp-entry-born-pretext'>{$this->ipsclass->lang['born_key']}</span> <span id='pp-entry-born-text'>{$member['_bday_month']}-{$member['bday_day']}-{$member['bday_year']}</span>
					<else />
						<span id='pp-entry-born-text'>{$this->ipsclass->lang['m_bday_unknown']}</span>
					</if>
				</div>
				<if="$member['id'] == $this->ipsclass->member['id'] AND $this->ipsclass->member['g_edit_profile']==1">
					<div class='popupmenu-new' id='pp-entry-born-wrap_menu' style='display:none;width:auto'>
						<div class='popupmenu-item-last'>
							<fieldset>
								<legend>{$this->ipsclass->lang['m_enter_bdate']}</legend>
								<select name='_b_month' id='pp_b_month'>{$member['_birthday_month']}</select>								
								<select name='_b_day' id='pp_b_day'>{$member['_birthday_day']}</select>
								<select name='_b_year' id='pp_b_year'>{$member['_birthday_year']}</select>
								<input class='button' type='button' value='{$this->ipsclass->lang['m_save_button']}' onclick="ips_personal_portal.save_settings( 'birthdate', {}, ''); return false;" />
							</fieldset>
						</div>
					</div>
				</if>
			</div>
			<!-- WARN -->
			<if="$member['_warn_data']">
				<div class='row1' style='padding:6px; margin-bottom:0px; padding-left:10px'>
					{$member['_warn_data']}
				</div>
			</if>
			<!-- / WARN -->
			<!-- / Personal Info -->
			
			<!-- Interests -->
			<if="$member['_interests']">
				<div class='pp-header'>{$this->ipsclass->lang['interests']}</div>
				<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px' id='pp-personal_statement'>
					{$member['_interests']}
				</div>
			</if>
			<!-- / Interests -->
				
			<!-- Custom Fields -->
			<if="is_array( $member['custom_fields'] ) AND count( $member['custom_fields'] )">
				<div class='pp-header'>{$this->ipsclass->lang['m_other_info']}</div>
				<foreach="$member['custom_fields'] as $data">
					<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px'>{$data['name']}: {$data['data']}</div>
				</foreach>
			</if>
			<!-- / Custom Fields -->
			
			<!-- Statistics --> 
			<div class='pp-header'>{$this->ipsclass->lang['m_stats_title']}</div>
			<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px'>{$this->ipsclass->lang['m_member_since']} {$member['_joined']}</div>
			<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px'>{$this->ipsclass->lang['m_profile_views']} {$member['_pp_profile_views']}<span class='pp-tiny-text'>*</span></div>
			<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px'>
				{$this->ipsclass->lang['m_last_seen']} {$member['_last_active']}
				<if="$member['_online_location']">
					<br />{$member['_online_location']}
				</if>
			</div>
			
			<if="$member['_local_time']">
				<div class='row2' style='padding:6px; margin-bottom:1px; padding-left:10px'>{$this->ipsclass->lang['m_local_time_is']} {$member['_local_time']}</div>
			</if>
			<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px'>{$member['_posts']} {$this->ipsclass->lang['m_bit_posts']} ({$member['_posts_day']} {$this->ipsclass->lang['posts_per_day']})</div>
			<!-- / Statistics -->
			
			<!-- Contact Information -->
			<div class='pp-header'>{$this->ipsclass->lang['m_contact_info']}</div>
			<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px'>
				<div id='pp-entry-contact-wrap-aim'>
					<{PRO_AIM}> <span id='pp-entry-contact-entry-aim'>{$member['_aim_name']}</span>
				</div>
			</div>
			<if="$member['id'] == $this->ipsclass->member['id'] AND $this->ipsclass->member['g_edit_profile']==1">
				<div class='popupmenu-new' id='pp-entry-contact-wrap-aim_menu' style='display:none;width:auto'>
					<div class='popupmenu-item-last'>
						<fieldset>
							<legend>{$this->ipsclass->lang['m_enter_aim']}</legend>
							<input type='text' size='20' maxlength='200' name='value' id='pp-contact-value-aim' value='{$member['aim_name']}' /> <input class='button' type='button' value='{$this->ipsclass->lang['m_save_button']}' onclick="ips_personal_portal.save_settings( 'contact', { 'contacttype' : 'aim' }, 'pp-contact-value-aim'); return false;" />
						</fieldset>
					</div>
				</div>
			</if>
			
			<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px'>
				<div id='pp-entry-contact-wrap-yahoo'>
					<{PRO_YIM}> <span id='pp-entry-contact-entry-yahoo'>{$member['_yahoo']}</span>
				</div>
			</div>
			<if="$member['id'] == $this->ipsclass->member['id'] AND $this->ipsclass->member['g_edit_profile']==1">
				<div class='popupmenu-new' id='pp-entry-contact-wrap-yahoo_menu' style='display:none;width:auto'>
					<div class='popupmenu-item-last'>
						<fieldset>
							<legend>{$this->ipsclass->lang['m_enter_yahoo']}</legend>
							<input type='text' size='20' maxlength='200' name='value' id='pp-contact-value-yahoo' value='{$member['yahoo']}' /> <input type='button' class='button' value='{$this->ipsclass->lang['m_save_button']}' onclick="ips_personal_portal.save_settings( 'contact', { 'contacttype' : 'yahoo' }, 'pp-contact-value-yahoo'); return false;" />
						</fieldset>
					</div>
				</div>
			</if>
			
			<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px'>
				<div id='pp-entry-contact-wrap-icq'>
					<{PRO_ICQ}> <span id='pp-entry-contact-entry-icq'>{$member['_icq_number']}</span>
				</div>
			</div>
			<if="$member['id'] == $this->ipsclass->member['id'] AND $this->ipsclass->member['g_edit_profile']==1">
				<div class='popupmenu-new' id='pp-entry-contact-wrap-icq_menu' style='display:none;width:auto'>
					<div class='popupmenu-item-last'>
						<fieldset>
							<legend>{$this->ipsclass->lang['m_enter_icq']}</legend>
							<input type='text' size='20' maxlength='200' name='value' id='pp-contact-value-icq' value='{$member['icq_number']}' /> <input type='button' class='button' value='{$this->ipsclass->lang['m_save_button']}' onclick="ips_personal_portal.save_settings( 'contact', { 'contacttype' : 'icq' }, 'pp-contact-value-icq'); return false;" />
						</fieldset>
					</div>
				</div>
			</if>
			
			<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px'>
				<div id='pp-entry-contact-wrap-msn'>
					<{PRO_MSN}> <span id='pp-entry-contact-entry-msn'>{$member['_msn_name']}</span>
				</div>
			</div>
			<if="$member['id'] == $this->ipsclass->member['id'] AND $this->ipsclass->member['g_edit_profile']==1">
				<div class='popupmenu-new' id='pp-entry-contact-wrap-msn_menu' style='display:none;width:auto'>
					<div class='popupmenu-item-last'>
						<fieldset>
							<legend>{$this->ipsclass->lang['m_enter_msn']}</legend>
							<input type='text' size='20' maxlength='200' name='value' id='pp-contact-value-msn' value='{$member['msnname']}' /> <input type='button' class='button' value='{$this->ipsclass->lang['m_save_button']}' onclick="ips_personal_portal.save_settings( 'contact', { 'contacttype' : 'msn' }, 'pp-contact-value-msn'); return false;" />
						</fieldset>
					</div>
				</div>
			</if>
			
			<div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px'>
				<{PRO_CONTACT}> <a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$member['id']}">{$this->ipsclass->lang['pm']}</a>
			</div>
			<div class='row1' style='padding:6px; padding-left:10px'>
				<{PRO_CONTACT}> {$member['_email']}
			</div>
			<!-- / Contact Information -->
		</div>
		<div class='pp-tiny-text'>{$this->ipsclass->lang['m_profile_views_desc']}</div>
		
		<!-- sssh.. ugly hack to stop IE collapsing this column under short widths -->
		<img src='{$this->ipsclass->vars['img_url']}/blank.gif' width='210' height='1' alt='' />
		
	<!-- / LEFT TABLE -->
	</td>
	<td valign='top'>
	<!-- MAIN TABLE -->
		<div class='pp-name'>
			<table cellpadding='0' cellspacing='0' width='100%'>
			<tr>
				<td width='1%'>{$member['_avatar']}</td>
				<td width='98%' style='padding-left:10px'>
					<h3 style='font-size:20px'>{$member['members_display_name']}</h3>
					<strong>{$member['g_title']}</strong>
					<p>{$member['_member_rank_img']}</p>
				</td>
			</tr>
			</table>
		</div>
		
		<br />
		
		<!-- My Stuff -->
		<div class='pp-tabwrap'>
			<foreach="$tabs as $tab">
				<div class='pp-taboff' id='pp-content-tab-{$tab['plugin_key']}'>{$tab['_lang']}</div>
			</foreach>
				<div class='pp-taboff' id='pp-content-tab-comments'>{$this->ipsclass->lang['m_tab_comments']}</div>
				<div class='pp-taboff' id='pp-content-tab-friends'>{$this->ipsclass->lang['m_tab_friends']}</div>
				<if="$member['id'] == $this->ipsclass->member['id'] OR ( $this->ipsclass->member['g_is_supmod']==1 AND $member['mgroup'] != $this->ipsclass->vars['admin_group'] )">
					<div class='pp-taboff' id='pp-content-tab-settings'>{$this->ipsclass->lang['m_tab_settings']}</div>
				</if>
		</div>
		<div class="pp-tabclear">{$this->ipsclass->lang['m_title_content']}</div>
		<div class="borderwrap">	
			<div id='pp-main-tab-content' class='pp-contentbox-back'>
				{$default_tab_content}
			</div>
			
		</div>
		<!-- / My Stuff -->
		
	<!-- / MAIN TABLE -->
	</td>
	<if="$member['pp_setting_count_visitors'] > 0 OR $member['pp_setting_count_comments'] > 0 OR $member['pp_setting_count_friends'] > 0">
		<td style='width:210px;' valign='top'>
		<!-- RIGHT TABLE -->
		<!-- Recent Visitors -->
		<if="$member['pp_setting_count_visitors'] > 0">
			<div class="borderwrap" style='padding:1px'>
				<div class="pp-title">{$this->ipsclass->lang['m_title_visitors']}</div>
				<if="is_array($visitors) and count($visitors)">
					<foreach="$visitors as $visitor">
						<div class='pp-mini-content-entry'>
							<div class='pp-image-thumb-wrap-floatright'><img src='{$visitor['pp_thumb_photo']}' width='{$visitor['pp_thumb_width']}' height='{$visitor['pp_thumb_height']}' alt='' /></div>
							<div style='position:absolute;z-index:2;'>
								{$visitor['_pp_gender_image']} <strong><if="$visitor['id']"><a href='{$this->ipsclass->base_url}showuser={$visitor['id']}'></if>{$visitor['members_display_name_short']}<if="$visitor['id']"></a></if></strong>
							</div>
							<br />
							<br />
							<div class='pp-tiny-text'>{$visitor['_pp_online_image']} {$visitor['_visited_date']}</div>
						</div>
					</foreach>
				<else />
					<div class='post1' style='padding:6px'>
						<em>{$member['members_display_name']} {$this->ipsclass->lang['m_visitors_none']}.</em>
					</div>
				</if>
			</div>
		</if>
		<!-- / Recent Visitors -->
	
		<br />
	
		<!-- Comments -->
		<if="$member['pp_setting_count_comments'] > 0">
			<div class="borderwrap" style='padding:1px'>
				<div class="pp-title">{$this->ipsclass->lang['m_title_comments']}</div>
					<div id='pp-comments-wrap'>
						$comments
					</div>
				<if="$this->ipsclass->member['id']">
					<div class='popmenubutton-new' id='pp-comment-wrap' style='margin:2px'>
						<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/comment_add.png' alt='' border='0' /> {$this->ipsclass->lang['m_add_comment']}
					</div>
					<div class='popupmenu-new' id='pp-comment-wrap_menu' style='display:none;width:auto;'>
						<div class='popupmenu-item-last'>
							<fieldset>
								<legend>{$this->ipsclass->lang['m_enter_comment']}</legend>
								<textarea rows='8' cols='17' name='comment' id='pp-comment-textarea'></textarea>
								<div class='pp-tiny-text' style='text-align:right'>
									{$this->ipsclass->lang['m_max_chars']}
									<input type='button' class='button' value='{$this->ipsclass->lang['m_save_button']}' onclick="ips_personal_portal.save_comment(); return false;" />
								</div>
							</fieldset>
						</div>
					</div>
					<script type='text/javascript'>
					//<!#^#|CDATA|
						ipsmenu.register( "pp-comment-wrap" );
					//|#^#]>
					</script>
				</if>
			</div>
		</if>
		<!-- / Comments -->
	
		<br />
	
		<!-- Friends -->
		<if="$member['pp_setting_count_friends'] > 0">
			<div class="borderwrap" style='padding:1px'>
				<div class="pp-title">{$this->ipsclass->lang['m_title_friends']}</div>
				<if="is_array($friends) and count($friends)">
					<foreach="$friends as $friend">
						<div class='pp-mini-content-entry'>
							<div class='pp-image-thumb-wrap-floatright'><img src='{$friend['pp_thumb_photo']}' width='{$friend['pp_thumb_width']}' height='{$friend['pp_thumb_height']}' alt='' /></div>
							<div style='position:absolute;z-index:2;'>
								{$friend['_pp_gender_image']} <strong><a href='{$this->ipsclass->base_url}showuser={$friend['id']}'>{$friend['members_display_name_short']}</a></strong>
							</div>
							<br />
							<div class='pp-tiny-text'>
								{$friend['posts']} {$this->ipsclass->lang['m_bit_posts']}
								<br />{$friend['_pp_online_image']} {$friend['_last_active']}
							</div>
						</div>
					</foreach>
					<div class='pp-mini-content-entry-noheight' style='text-align:right'>
						<a href='#' onclick="ips_personal_portal.tab_load( 'friends' )">{$this->ipsclass->lang['m_view_friends']}</a>
					</div>
				<else />
					<div class='post1' style='padding:6px'>
						<em>{$this->ipsclass->lang['m_no_friends']}.</em>
					</div>
				</if>
			</div>
		</if>
		<!-- / Friends -->
		<!-- sssh.. ugly hack to stop IE collapsing this column under short widths -->
		<img src='{$this->ipsclass->vars['img_url']}/blank.gif' width='210' height='1' alt='' />
		<!-- / RIGHT TABLE -->
		</td>
	</if>
</tr>
</table>
<script type='text/javascript'>
//<!#^#|CDATA|
// Settings
ips_personal_portal.settings['allow_rating']      = parseInt("{$this->ipsclass->vars['pp_allow_member_rate']}");
ips_personal_portal.settings['default_rating']    = parseInt("{$member['_pp_rating_real']}");
ips_personal_portal.settings['member_id']         = parseInt("{$member['id']}");
ips_personal_portal.settings['is_super_mod']      = parseInt("{$member['g_is_supmod']}");
ips_personal_portal.settings['viewer_id']         = parseInt("{$this->ipsclass->member['id']}");
ips_personal_portal.settings['edit_allowed']	  = parseInt("{$this->ipsclass->member['g_edit_profile']}");
ips_personal_portal.settings['img_base_url']      = ipb_var_image_url + '/folder_profile_portal';
ips_personal_portal.settings['img_menu_icon']     = "{$this->ipsclass->vars['img_url']}/menu_action_down.gif";
ips_personal_portal.settings['img_friend_remove'] = "{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_remove_small.png";
ips_personal_portal.settings['img_friend_add']    = "{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_add_small.png";
ips_personal_portal.settings['default_tab']       = '{$default_tab}';
// Languages
ips_personal_portal.languages['rate_me']          = '<span class="desc">{$this->ipsclass->lang['m_rate_me']}</span>';
ips_personal_portal.languages['friend_add']       = '{$this->ipsclass->lang['m_friend_add']}';
ips_personal_portal.languages['friend_remove']    = '{$this->ipsclass->lang['m_friend_remove']}';
ips_personal_portal.languages['img_alt_rate']     = '{$this->ipsclass->lang['js_img_alt_rate_p']}';
ips_personal_portal.languages['gender_male']      = '{$this->ipsclass->lang['js_gender_male']}';
ips_personal_portal.languages['gender_female']    = '{$this->ipsclass->lang['js_gender_female']}';
ips_personal_portal.languages['gender_mystery']   = '{$this->ipsclass->lang['js_gender_mystery']}';
ips_personal_portal.languages['loading_tab']      = '{$this->ipsclass->lang['js_loading_tab']}';
ips_personal_portal.languages['deleting_comment'] = '{$this->ipsclass->lang['js_deleting_comment']}';
ips_personal_portal.languages['saving_comment']   = '{$this->ipsclass->lang['js_saving_comment']}';
ips_personal_portal.languages['age_unknown']   	  = '{$this->ipsclass->lang['m_age_unknown']}';
// INIT
ips_personal_portal.init();
<if="$default_tab_content == ''">
// Load tab
ips_personal_portal.load_content_tab( '{$default_tab}' );
</if>
menu_build_menu(
"profile-options", new Array(
							<if="$this->ipsclass->member['id'] != 0 AND $this->ipsclass->member['id'] != $member['id']">
							'<img src="style_images/<#IMG_DIR#>/profile_item.gif" border="0" />' + " <a href='{$this->ipsclass->base_url}act=usercp&amp;CODE=ignore&amp;uid={$member['id']}'>{$this->ipsclass->lang['ignore_user']}</a>",
							</if>
							<if="$this->ipsclass->member['g_is_supmod'] == 1">
							'<img src="style_images/<#IMG_DIR#>/profile_item.gif" border="0" />' + " <a href='{$this->ipsclass->base_url}act=mod&amp;CODE=editmember&amp;auth_key={$this->ipsclass->md5_check}&amp;member={$member['id']}'>{$this->ipsclass->lang['supmod_edit_member']}</a>",
							</if>
							<if="$this->ipsclass->vars['auth_allow_dnames'] == 1">
							'<img src="style_images/<#IMG_DIR#>/profile_item.gif" border="0" />' + " <a href='#' onclick='return profile_dname_history({$member['id']})'>{$this->ipsclass->lang['dname_title']}</a>",
							</if>
							<if="$this->ipsclass->member['id'] != 0 AND $this->ipsclass->member['id'] != $member['id']">
							'<img src="style_images/<#IMG_DIR#>/profile_item.gif" border="0" />' + " <a href='{$this->ipsclass->base_url}act=Msg&amp;CODE=02&amp;MID={$member['id']}'>{$this->ipsclass->lang['op_add_pm_to_block']}</a>",
							</if>
 							'<img src="style_images/<#IMG_DIR#>/profile_item.gif" border="0" />' + " <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=getalluser&amp;mid={$member['id']}'>{$this->ipsclass->lang['find_posts']}</a>",
				 			'<img src="style_images/<#IMG_DIR#>/profile_item.gif" border="0" />' + " <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=gettopicsuser&amp;mid={$member['id']}'>{$this->ipsclass->lang['find_member_topics']}</a>"
) );

//|#^#]>
</script>
<if="is_array( $this->ipsclass->member['_cache']['friends'] ) AND in_array( $member['id'], array_keys( $this->ipsclass->member['_cache']['friends'] ) )">
	<script type='text/javascript'>
	//<!#^#|CDATA|
		ips_personal_portal.show_friend_add_or_remove( 0 );
	//|#^#]>
	</script>
<else />
	<script type='text/javascript'>
	//<!#^#|CDATA|
		ips_personal_portal.show_friend_add_or_remove( 1 );
	//|#^#]>
	</script></if>]]></section_content>
			<func_name>personal_portal_main</func_name>
			<func_data><![CDATA[$tabs=array(), $member=array(), $comments="", $friends=array(), $visitors=array(), $default_tab='posts', $default_tab_content='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}&amp;act=usercp&amp;CODE=dname_complete" method="post" id='display-form' name="form1">
<div class="formsubtitle">{$this->ipsclass->lang['dname_title']}</div>
<p>{$form['_lang_string']}</p>
<if="$okmessage != """>
<div class='input-ok-content' id='dname-okbox'><strong>{$okmessage}</strong></div>
</if>
<div class='input-warn-content' id='dname-warnbox' style='display:none;'><strong>{$this->ipsclass->lang['dname_error_title']}</strong><div id='dname-warnbox-content'>{$error}</div></div>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td width="40%"><strong>{$this->ipsclass->lang['dname_choose']}</strong><div class='desc'>{$this->ipsclass->lang['dname_choose2']}<br />
		<if="$this->ipsclass->vars['username_characters']">{$this->ipsclass->vars['username_errormsg']}<br /></if>
		{$this->ipsclass->lang['max_dname_length']} {$this->ipsclass->vars['max_user_name_length']}</div></td>
		<td><input type="text" name="display_name" id='display-name' maxlength='{$this->ipsclass->vars['max_user_name_length']}' value="{$this->ipsclass->input['display_name']}" /> <img id='display-name-img' src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width='12' height='12' /></td>
	</tr>
	<tr>
		<td width="40%"><strong>{$this->ipsclass->lang['dname_password']}</strong><div class='desc'>{$this->ipsclass->lang['dname_password2']}</div></td>
		<td><input type="password" name="display_password" id='display-password' value="" /> <img id='display-password-img' src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width='12' height='12' /></td>
	</tr>
</table>
<div class="formsubtitle" style="text-align: center;"><input type="submit" class='button' name="change_email" value="{$this->ipsclass->lang['dname_submit']}" /></div>
</form>
<script type="text/javascript">
//<!#^#|CDATA|
dname_max_length    = parseInt("{$this->ipsclass->vars['max_user_name_length']}");
dname_error_no_name = lang_build_string( "{$this->ipsclass->lang['dname_error_no_name']}", dname_max_length );
dname_error_no_pass = "{$this->ipsclass->lang['dname_error_no_pass']}";
dname_error_chars   = "{$this->ipsclass->lang['dname_error_chars']}";
dname_error_taken   = "{$this->ipsclass->lang['dname_error_taken']}";
var allowed_chars 	= "{$this->ipsclass->vars['username_characters']}";
var allowed_error 	= "{$this->ipsclass->vars['username_errormsg']}";
ucp_dname_init( 'display-name', 'display-password', 'display-form', 'dname-warnbox' );
//|#^#]>
</script>]]></section_content>
			<func_name>ucp_dname_change</func_name>
			<func_data><![CDATA[$form=array(),$error="",$okmessage=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<tr>
			<td class="row1"><b><a href="{$this->ipsclass->base_url}act=announce&amp;id={$announce['announce_id']}">{$announce['announce_title']}</a></b> {$announce['announce_inactive']}<div class="desc">{$this->ipsclass->lang['announce_by']} {$announce['members_display_name']}</div></td>
			<td class="row1" align="center">{$announce['announce_starts_converted']}</td>
			<td class="row1" align="center">{$announce['announce_end_converted']}</td>
			<td class="row1"><div class="forumdesc">{$announce['announce_forum_show']}</div></td>
			<td class="row1" align="center">
				<a href="{$this->ipsclass->base_url}act=usercp&amp;CODE=announce_edit&amp;id={$announce['announce_id']}">{$this->ipsclass->lang['announce_edit']}</a>
				&middot; <a href="#" onclick="delete_post('{$this->ipsclass->base_url}act=usercp&amp;CODE=announce_delete&amp;id={$announce['announce_id']}'); return false;">{$this->ipsclass->lang['announce_delete']}</a>
			</td>
		</tr>]]></section_content>
			<func_name>ucp_announce_manage_row</func_name>
			<func_data><![CDATA[$announce=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<script type="text/javascript">
<!--
 var ipb_lang_js_del_1 = "{$this->ipsclass->lang['announce_del1']}";
 var ipb_lang_js_del_2 = "{$this->ipsclass->lang['announce_del2']}";
-->
</script>
<script type="text/javascript" src="jscripts/ipb_topic.js"></script>
<div class="formsubtitle">{$this->ipsclass->lang['announce_current']}</div>
<form action="{$this->ipsclass->base_url}" name="mutliact" method="post">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="announce_alter" />
<div class="borderwrapm">
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th width="35%">{$this->ipsclass->lang['announce_title']}</th>
			<th align="center" width="10%">{$this->ipsclass->lang['announce_starts']}</th>
			<th align="center" width="10%">{$this->ipsclass->lang['announce_end']}</th>
			<th width="25%">{$this->ipsclass->lang['announce_forums']}</th>
			<th width="15%">&nbsp;</th>
		</tr>
<if="$content">
$content
<else />
<tr>
			<td align="center" colspan="5">{$this->ipsclass->lang['announce_none']}</td>
		</tr>
</if>
	<tr>
		<td class="formbuttonrow" colspan="5"><a href="{$this->ipsclass->base_url}act=usercp&amp;CODE=announce_add">{$this->ipsclass->lang['announce_add']}</a></td>
	</tr>
	</table>
</div>]]></section_content>
			<func_name>ucp_announce_manage</func_name>
			<func_data><![CDATA[$content=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}" method="post" name="REPLIER" id='postingform' onsubmit='return ValidateForm()'>
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="announce_save" />
<input type="hidden" name="type" value="$type" />
<input type="hidden" name="id"   value="{$announce['announce_id']}" />
<div class="formsubtitle">{$button}</div>
<if="$msg != """>
<div class="borderwrapm"><div class="tablepad">{$msg}</div></div>
</if>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td class="pformleft"><b>{$this->ipsclass->lang['announce_form_title']}</b></td>
		<td class="pformright" valign="top"><input type="text" size="30" name="announce_title" value="{$announce['announce_title']}" tabindex="1" /></td>
	</tr>
	<tr>
		<td class="pformleft"><b>{$this->ipsclass->lang['announce_form_start']}</b><div class="desc">{$this->ipsclass->lang['announce_form_startdesc']}</div></td>
		<td class="pformright" valign="top"><input type="text" size="10" name="announce_start" value="{$announce['announce_start']}" tabindex="2" /></td>
	</tr>
	<tr>
		<td class="pformleft"><b>{$this->ipsclass->lang['announce_form_end']}</b><div class="desc">{$this->ipsclass->lang['announce_form_enddesc']}</div></td>
		<td class="pformright" valign="top"><input type="text" size="10" name="announce_end" value="{$announce['announce_end']}" tabindex="3" /></td>
	</tr>
	<tr>
		<td class="pformleft" valign="top"><b>{$this->ipsclass->lang['announce_form_forums']}</b><div class="desc">{$this->ipsclass->lang['announce_form_forums2']}</div></td>
		<td class="pformright" valign="top"><select class="dropdown" multiple="multiple" size="10" name="announce_forum[]" tabindex="4">{$forum_html}</select></td>
	</tr>
	<tr>
		<td class="pformleft" valign="top"><b>{$this->ipsclass->lang['announce_form_content']}</b></td>
		<td class="pformright" valign="top">{$editor_html}</td>
	</tr>
	<tr>
		<td class="pformleft" valign="top"><b>{$this->ipsclass->lang['announce_form_options']}</b></td>
		<td class="pformright" valign="middle">
			<input type="checkbox" class="checkbox" name="announce_active" value="1" {$announce['announce_active_checked']} />&nbsp;{$this->ipsclass->lang['announce_form_enable']}
			<br /><input type="checkbox" class="checkbox" name="announce_html_enabled" value="1" {$announce['html_checkbox']} />&nbsp;{$this->ipsclass->lang['announce_use_html']}
			<br /><input type="checkbox" class="checkbox" name="announce_nlbr_enabled" value="1" {$announce['nlbr_checkbox']} />&nbsp;{$this->ipsclass->lang['announce_use_nlbr']}
		</td>
	</tr>
	<tr>
		<td class="formbuttonrow" colspan="2"><input type="submit" value="{$button}" class="button" tabindex="7" /></td>
	</tr>
</table>
</form>]]></section_content>
			<func_name>ucp_announce_form</func_name>
			<func_data><![CDATA[$announce="",$button="",$forum_html="",$type="",$editor_html="",$msg=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<tr>
			<td class="row2" align="center" colspan="6">{$this->ipsclass->lang['subs_none']}</td>
		</tr>]]></section_content>
			<func_name>subs_none</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<tr>
			<td class="row2" align="center" width="5%">{$data['folder_img']}</td>
			<td class="row2">
				<a href="{$this->ipsclass->base_url}showtopic={$data['tid']}">{$data['title']}</a>&nbsp;
				( <a href="{$this->ipsclass->base_url}showtopic={$data['tid']}" target="_blank">{$this->ipsclass->lang['new_window']}</a> )
  				<div class="desc">{$data['description']}{$this->ipsclass->lang['subs_start']} {$data['track_started']}
  					<br />
  					{$this->ipsclass->lang['subs_c_type']}: {$this->ipsclass->lang[$type]}
  				</div>
  			</td>
  			<td class="row2" align="center">{$data['posts']}</td>
  			<td class="row2" align="center">{$data['views']}</td>
  			<td class="row2">{$data['last_post_date']}<br />{$this->ipsclass->lang['subs_by']} {$data['last_poster']}</td>
  			<td class="row1" align="center" style='padding: 1px;'><input class='checkbox' type="checkbox" name="id-{$data['trid']}" value="yes" /></td>
  		</tr>]]></section_content>
			<func_name>subs_row</func_name>
			<func_data><![CDATA[$data="",$type=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}" method="post" name="REPLIER">
<input type="hidden" name="act" value="usercp" />
<input type="hidden" name="CODE" value="end_subs" />
<input type="hidden" name="method" value="$method" />
<input type="hidden" name="auth_key" value="$key" />
<input type="hidden" name="tid" value="{$topic['tid']}" />
<input type="hidden" name="fid" value="{$forum['id']}" />
<input type="hidden" name="st" value="{$this->ipsclass->input['st']}" />
<div class="formsubtitle">{$this->ipsclass->lang['subs_c_title']}</div>
<div style='padding:4px'>
<if="$topic['tid'] != """>
<b>{$this->ipsclass->lang['subs_c_topic']} {$topic['title']}</b>
<else />
<b>{$this->ipsclass->lang['subs_c_forum']} {$forum['name']}</b>
</if>
	<div class="desc">{$this->ipsclass->lang['subs_exp_text']}</div>
</div>
<table cellspacing="0" width='100%'>
	<tr>
		<td width="5%" align="center"><input class='radiobutton' type="radio" name="emailtype" value="none" /></td>
		<td><b>{$this->ipsclass->lang['subs_none_title']}</b><div class="desc">{$this->ipsclass->lang['subs_none_desc']}</div></td>
	</tr>
	<tr>
		<td width="5%" align="center"><input class='radiobutton' type="radio" name="emailtype" value="delayed" checked="checked" /></td>
		<td><b>{$this->ipsclass->lang['subs_delayed']}</b><div class="desc">{$this->ipsclass->lang['subs_delayed_desc']}</div></td>
	</tr>
	<tr>
		<td width="5%" align="center"><input class='radiobutton' type="radio" name="emailtype" value="immediate" /></td>
		<td><b>{$this->ipsclass->lang['subs_immediate']}</b><div class="desc">{$this->ipsclass->lang['subs_immediate_desc']}</div></td>
	</tr>
	<tr>
		<td width="5%" align="center"><input class='radiobutton' type="radio" name="emailtype" value="daily" /></td>
		<td><b>{$this->ipsclass->lang['subs_daily']}</b><div class="desc">{$this->ipsclass->lang['subs_daily_desc']}</div></td>
	</tr>
	<tr>
		<td width="5%" align="center"><input class='radiobutton' type="radio" name="emailtype" value="weekly" /></td>
		<td><b>{$this->ipsclass->lang['subs_weekly']}</b><div class="desc">{$this->ipsclass->lang['subs_weekly_desc']}</div></td>
	</tr>
	<tr>
		<td class="formbuttonrow" colspan="2"><input type="submit" value="{$this->ipsclass->lang['subs_submit']}" class="button" /></td>
	</tr>
</table>
</form>]]></section_content>
			<func_name>subs_show_choice_page</func_name>
			<func_data><![CDATA[$forum="",$topic="",$method="",$key=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<tr>
		<td colspan="6" class="row1"><b>$fname</b></td>
	</tr>]]></section_content>
			<func_name>subs_forum_row</func_name>
			<func_data><![CDATA[$fid="",$fname=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<!-- inbox folder -->
<script type="text/javascript">
<!--
	function CheckAll(cb){
		var fmobj = document.mutliact;
			for (var i=0;i<fmobj.elements.length;i++){
				var e = fmobj.elements[i];
				if ((e.name != "allbox") && (e.type=="checkbox") && (!e.disabled)){
				e.checked = fmobj.allbox.checked;
				}
			}
	}
	function CheckCheckAll(cb){	
		var fmobj = document.mutliact;
		var TotalBoxes = 0;
		var TotalOn = 0;
			for (var i=0;i<fmobj.elements.length;i++){
		  		var e = fmobj.elements[i];
		 		 if ((e.name != "allbox") && (e.type=="checkbox")){
			 		 TotalBoxes++;
			 		 if (e.checked){
				 		 TotalOn++;
				 	}
				 }
			}
			
			if (TotalBoxes==TotalOn) {fmobj.allbox.checked=true;}
			else{
				fmobj.allbox.checked=false;
			}
	}
-->
</script>
<script type="text/javascript" src="jscripts/ipb_forum.js"></script> 
<div class="formsubtitle">{$this->ipsclass->lang['subs_header']}</div>
<form action="{$this->ipsclass->base_url}" name="mutliact" method="post">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="27" />
<div class="borderwrapm">
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th width="5%">&nbsp;</th>
			<th width="55%">{$this->ipsclass->lang['subs_topic']}</th>
			<th align="center" width="5%">{$this->ipsclass->lang['subs_replies']}</th>
			<th align="center" width="5%">{$this->ipsclass->lang['subs_view']}</th>
			<th width="25%">{$this->ipsclass->lang['subs_last_post']}</th>
			<th align="center" width="5%" style='padding: 1px;'><input class='checkbox' name="allbox" type="checkbox" value="Check All" onclick="CheckAll();" /></th>
		</tr>]]></section_content>
			<func_name>subs_header</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<tr>
		<td align="center" class="formbuttonrow" valign="middle" colspan="6">
			<select name="trackchoice">
				<option value="unsubscribe">{$this->ipsclass->lang['subs_delete']}</option>
				<option value="none">{$this->ipsclass->lang['subs_c_change']} {$this->ipsclass->lang['subs_none_title']}</option>
				<option value="immediate">{$this->ipsclass->lang['subs_c_change']} {$this->ipsclass->lang['subs_immediate']}</option>
				<option value="delayed">{$this->ipsclass->lang['subs_c_change']} {$this->ipsclass->lang['subs_delayed']}</option>
				<option value="daily">{$this->ipsclass->lang['subs_c_change']} {$this->ipsclass->lang['subs_daily']}</option>
				<option value="weekly">{$this->ipsclass->lang['subs_c_change']} {$this->ipsclass->lang['subs_weekly']}</option>
			</select>&nbsp;&nbsp;
			<input type="submit" class="button" value="{$this->ipsclass->lang['with_selected']}" />
		</td>
	</tr>
</table>
</div>
</form>
<div align="right" style="padding: 5px;"><i>$text</i></div>
<div align="right" style="padding: 5px;">
	<form action="{$this->ipsclass->base_url}act=UserCP&amp;CODE=26" method="post">
		{$this->ipsclass->lang['show_topics_from']}
		<select name="datecut">
			$days
		</select>
 	<input type="submit" class='button' value="{$this->ipsclass->lang['jmp_go']}" />
 	</form>
</div>]]></section_content>
			<func_name>subs_end</func_name>
			<func_data><![CDATA[$text="",$days=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<form id='postingform' onsubmit='return ValidateForm()' action="{$this->ipsclass->base_url}act=UserCP&amp;CODE=23" method="post" name="REPLIER">
<input type='hidden' name='key' value='{$key}' />
<input type='hidden' name='removeattachid' value='0' />
 <div class="formsubtitle">{$this->ipsclass->lang['cp_current_sig']}</div>
 <div class="signature" style="padding: 5px;">{$preview_sig}</div>
 <div class="formsubtitle">{$this->ipsclass->lang['cp_edit_sig']}</div>
 <div class='row1' align='center' style='padding:3px'>{$editor_html}</div>
 <div class='formsubtitle' align='center'><input type="submit" class='button' value="{$this->ipsclass->lang['cp_submit_sig']}" /></div>
</form>
<br clear='all' />]]></section_content>
			<func_name>signature</func_name>
			<func_data><![CDATA[$preview_sig="",$editor_html="",$key=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['stats_header']}</div>
<if="$this->ipsclass->member['bio'] == "dupemail"">
<div><b>{$this->ipsclass->lang['conv_email_warning_title']}<br /><br />{$this->ipsclass->lang['conv_email_warning']}</b></div>
</if>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td width="50%" valign="top">
			<fieldset class="search">
			<legend><b>{$this->ipsclass->lang['splash_attach']}</b></legend>
<if="$member['attach_html'] != """>
{$member['attach_html']}
<else />
<br /><br /><div align="center">{$this->ipsclass->lang['splash_noattach']}</div><br /><br />&nbsp;
</if>
			</fieldset>
		</td>
		<td width="50%" valign="top">
			<fieldset class="search">
			<legend><b>{$this->ipsclass->lang['stats_header']}</b></legend>
				<table class='ipbtable' cellspacing="0">
					<tr>
						<td width="50%"><b>{$this->ipsclass->lang['email_address']}</b></td>
						<td width="50%">{$member['member_email']}</td>
					</tr>
					<tr>
						<td width="50%"><b>{$this->ipsclass->lang['number_posts']}</b></td>
						<td width="50%">{$member['member_posts']}</td>
					</tr>
					<tr>
						<td width="50%"><b>{$this->ipsclass->lang['registered']}</b></td>
						<td width="50%">{$member['date_registered']}</td>
					</tr>
					<tr>
						<td width="50%"><b>{$this->ipsclass->lang['daily_average']}</b></td>
						<td width="50%">{$member['daily_average']}</td>
					</tr>
				</table>
			</fieldset>
		</td>
	</tr>
</table>
<script type="text/javascript" src="jscripts/ipb_forum.js"></script>
<div class="borderwrapm">
<div class="maintitle">{$this->ipsclass->lang['splash_last5']}</div>
	<table class='ipbtable' cellspacing="1">
<if="$member['topic_html'] != """>
<tr>
			<th width="40%" nowrap="nowrap" colspan="3">{$this->ipsclass->lang['h_topic_title']}</th>
			<th width="7%" align="center" nowrap="nowrap">{$this->ipsclass->lang['h_replies']}</th>
			<th width="14%" align="center" nowrap="nowrap">{$this->ipsclass->lang['h_topic_starter']}</th>
			<th width="7%" align="center" nowrap="nowrap">{$this->ipsclass->lang['h_hits']}</th>
			<th width="32%" nowrap="nowrap">{$this->ipsclass->lang['h_last_action']}</th>
		</tr>
      {$member['topic_html']}
<else />
<tr>
			<td colspan="7" align="center" class='row2'><b>{$this->ipsclass->lang['splash_nopost']}</b></td>
		</tr>
</if>
	</table>
</div>
<div class="formsubtitle">{$this->ipsclass->lang['note_pad']}</div>
<div align="center" style='padding-bottom:6px;'>
<form name="notepad" action="{$this->ipsclass->base_url}" method="post">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="s" value="{$this->ipsclass->session_id}" />
<input type="hidden" name="CODE" value="20" />
<p>
        <textarea cols="65" rows="{$member['SIZE']}" name="notes">{$member['NOTES']}</textarea>
        	<br />
	    {$this->ipsclass->lang['ta_size']}&nbsp;
	    <select name="ta_size">
	    	{$member['SIZE_CHOICE']}
	    </select>
	<input type="submit" class='button' value="{$this->ipsclass->lang['submit_notepad']}" />
</p>
</form>
</div>]]></section_content>
			<func_name>splash</func_name>
			<func_data><![CDATA[$member=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<a href="{$this->ipsclass->base_url}act=attach&amp;type={$data['type']}&amp;id={$data['attach_id']}" title="{$this->ipsclass->lang['attach_dl']}" target="_blank"><img src="{$this->ipsclass->vars['mime_img']}/{$data['mime_image']}" alt="{$this->ipsclass->lang['attached_file']}" /></a>
&nbsp;<a href="{$this->ipsclass->base_url}act=attach&amp;type={$data['type']}&amp;id={$data['attach_id']}" title="{$this->ipsclass->lang['attach_dl']}" target="_blank">{$data['attach_file']}</a> ( {$data['file_size']} )
<span class="desc">{$this->ipsclass->lang['attach_hits']}: {$data['attach_hits']}</span><br />]]></section_content>
			<func_name>Show_attachments</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['settings_display']}</div>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td width="70%">{$this->ipsclass->lang['settings_viewsig']}</td>
		<td>{$data['SIG']}</td>
	</tr>
	<tr>
		<td>{$this->ipsclass->lang['settings_viewimg']}</td>
		<td>{$data['IMG']}</td>
	</tr>
	<tr>
		<td>{$this->ipsclass->lang['settings_viewava']}</td>
		<td>{$data['AVA']}</td>
	</tr>
	<tr>
		<td>{$this->ipsclass->lang['settings_dopopup']}</td>
		<td>{$data['POP']}</td>
    </tr>
	<tr>
		<td>{$this->ipsclass->lang['pp_number_posts']}</td>
		<td>
			<select name="postpage">
				{$data['PPS']}
			</select>
		</td>
	</tr>
	<tr>
		<td>{$this->ipsclass->lang['pp_number_topics']}</td>
		<td><select name="topicpage">{$data['TPS']}</select></td>
	</tr>
<if="$this->ipsclass->member['members_disable_pm'] != 2">
<tr>
	 <td class="formsubtitle" colspan="2">{$this->ipsclass->lang['ucp_op_pm_title']}</td>
	</tr>
	<tr>
		<td>{$this->ipsclass->lang['ucp_op_pm']}<div class="desc">{$this->ipsclass->lang['ucp_op_pm_dowhat']}</div></td>
		<td>{$data['PMS']}</td>
	</tr>
</if>
	<tr>
	 <td class="formsubtitle" colspan="2">{$this->ipsclass->lang['ucp_title_posting']}</td>
	</tr>
	<tr>
		<td>{$this->ipsclass->lang['open_qr']}</td>
		<td>{$data['QR']}</td>
	</tr>
<if="$this->ipsclass->vars['posting_allow_rte'] == 1">
<tr>
		<td>{$this->ipsclass->lang['type_of_editor']}<div class='desc'>{$this->ipsclass->lang['rte_text']}</div></td>
		<td>{$data['editor']}</td>
	</tr>
</if>
	<tr>
		<td class="formbuttonrow" colspan="2">
			<input type="submit" class='button' name="submit" value="{$this->ipsclass->lang['settings_submit']}" />
		</td>
	</tr>
	</table>
</form>]]></section_content>
			<func_name>settings_end</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}auth_key=$key" method="post">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="05" />
<div class="formsubtitle">{$this->ipsclass->lang['settings_time']}</div>
<div style='padding:4px;'>
<fieldset>
 <legend><strong>{$this->ipsclass->lang['settings_time_txt']}</strong></legend>
 {$this->ipsclass->lang['settings_time_txt2']} $time
 <br />
 $time_select
</fieldset>
<br />
<fieldset>
<if="$this->ipsclass->input['dsterror'] == 1">
<div style='color:red;font-weight:bold'>
	 {$this->ipsclass->lang['dst_error']}
	</div>
</if>
 <legend><strong>{$this->ipsclass->lang['dst_correction_title']}</strong></legend>
 <input class='checkbox' type="checkbox" id='dst-check' onclick='toggle_dst()' name="DSTCHECK" value="1" $dst_correction /> &nbsp;<strong>{$this->ipsclass->lang['dst_auto']}</strong>
 <div class='desc'>{$this->ipsclass->lang['dst_auto2']}</div>
 
 <div id='dst-manual'>
   <input class='checkbox'  type="checkbox" name="DST" value="1" $dst_check /> &nbsp;<strong>{$this->ipsclass->lang['dst_box']}</strong>
   <div class='desc'>{$this->ipsclass->lang['dst_box2']}</div>
 </div>
</fieldset>
</div>
<script type="text/javascript">
//<!#^#|CDATA|
function toggle_dst()
{
	if ( document.getElementById( 'dst-check' ).checked )
	{
		document.getElementById( 'dst-manual' ).style.display = 'none';
	}
	else
	{
		document.getElementById( 'dst-manual' ).style.display = 'block';
	}
}
toggle_dst();
//|#^#]>
</script>]]></section_content>
			<func_name>settings_header</func_name>
			<func_data><![CDATA[$Profile="",$time_select="",$time="",$dst_check="",$key="",$dst_correction='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<!-- Begin Topic Entry {$data['tid']} -->
<tr> 
	<td align="center" class="$class2" id='tid-folder-{$data['tid']}' onclick='return topic_toggle_folder("{$data['tid']}", "{$data['state']}");'>{$data['folder_img']}</td>
	<td align="center" class="$class2">{$data['topic_icon']}</td>
	<td class="$class2" valign="middle">
	    <div style='float:right'>{$data['_rate_img']}</div>
		<div>
			{$data['go_new_post']}{$data['prefix']} {$data['attach_img']}<span id='tid-span-{$data['tid']}'><a id="tid-link-{$data['tid']}" href="{$this->ipsclass->base_url}showtopic={$data['tid']}" title="{$this->ipsclass->lang['topic_started_on']} {$data['start_date']}">{$data['title']}</a></span> {$data['PAGES']}
			<div class="desc"><span onclick='return span_desc_to_input("{$data['tid']}");' id='tid-desc-{$data['tid']}'>{$data['description']}</span></div>
		</div>
	</td>
	<td align='center' class="$classposts">
     {$data['posts']}
<if="$data['_hasqueued'] == 1 and $inforum == 1">
&nbsp;<a href="{$this->ipsclass->base_url}showtopic={$data['tid']}&amp;modfilter=invisible_posts"><{BC_QUEUED_POSTS}></a>
</if>
    </td>
	<td align="center" class="$class1">{$data['starter']}</td>
	<td align="center" class="$class1">{$data['views']}</td>
	<td class="$class1"><span class="lastaction">{$data['last_post']}<br /><a href="{$this->ipsclass->base_url}showtopic={$data['tid']}&amp;view=getlastpost">{$data['last_text']}</a> <b>{$data['last_poster']}</b></span></td>
<if="$this->ipsclass->member['is_mod'] == 1 and $inforum == 1 and $data['tidon'] == 1">
<td align="center" class="$class1"><input type='hidden' name='tid_{$data['real_tid']}' id='tid_{$data['real_tid']}' /><a href="#" title="{$this->ipsclass->lang['click_for_mod']}" onclick="forum_toggle_tid('{$data['real_tid']}'); return false;"><img name="img{$data['real_tid']}" id='ipb-topic-{$data['real_tid']}' src="{$this->ipsclass->vars['img_url']}/topic_selected.gif" alt='' /></a></td>
</if>
<if="$this->ipsclass->member['is_mod'] == 1 and $inforum == 1 and $data['tidon'] == 0">
<td align="center" class="$class1"><input type='hidden' name='tid_{$data['real_tid']}' id='tid_{$data['real_tid']}' /><a href="#" title="{$this->ipsclass->lang['click_for_mod']}" onclick="forum_toggle_tid('{$data['real_tid']}'); return false;"><img name="img{$data['real_tid']}" id='ipb-topic-{$data['real_tid']}' src="{$this->ipsclass->vars['img_url']}/topic_unselected.gif" alt='' /></a></td>
</if>
</tr>
<!-- End Topic Entry {$data['tid']} -->]]></section_content>
			<func_name>render_forum_row</func_name>
			<func_data><![CDATA[$data="",$class1='row2',$class2='row1',$classposts='row2',$inforum=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<if="$error">
	<div class='input-warn-content'>$error</div>
</if>
<form action="{$this->ipsclass->base_url}auth_key=$key" enctype="multipart/form-data" method="post" name="bob" onsubmit="return checkform();">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="dophoto" />
<input type='hidden' name='delete_photo' id='ucp-delete_photo' value='0' />
<div class="formsubtitle">{$this->ipsclass->lang['pph_title']}</div>
<p>{$this->ipsclass->lang['pph_desc']}<br />{$this->ipsclass->lang['pph_max']}</p>
<div class="formsubtitle">{$this->ipsclass->lang['pph_current']}</div>
<div align="center">
 <p>$cur_photo<br />$show_size</p>
</div>
<div class="formsubtitle">{$this->ipsclass->lang['pph_change']}</div>
<table class='ipbtable' cellspacing="0">
	<if="$p_max and $max_file_size">
		<tr>
			<td class="pformleft">{$this->ipsclass->lang['pph_upload']}</td>
			<td class="pformright"><input type="hidden" name="MAX_FILE_SIZE" value="$max_file_size" /><input type="file" name="upload_photo" value="" size="40" /></td>
		</tr>
	</if>
	<if="! $this->ipsclass->vars['disable_ipbsize']">
		<tr>
			<td class="pformleft">&nbsp;</td>
			<td class="pformright"><b>{$this->ipsclass->lang['pph_autosize']}</b><br />({$this->ipsclass->lang['pph_as_desc']})</td>
		</tr>
	<else />
		<tr>
			<td class="pformleft">&nbsp;</td>
			<td class="pformright"><b>{$this->ipsclass->lang['width']}</b>&nbsp;<input type="text" size="3" name="man_width" />&nbsp;&nbsp;<b>{$this->ipsclass->lang['height']}</b>&nbsp;<input type="text" size="3" name="man_height" /></td>
		</tr>
	</if>
</table>
<div align="center" class="formsubtitle">
	<input type="submit" class='button' name="submit" value="{$this->ipsclass->lang['pph_submit']}" />
	&nbsp;&nbsp;&nbsp;&nbsp;<input class='button' type="submit" onclick="document.getElementById('ucp-delete_photo').value=1;" name="remove" value="{$this->ipsclass->lang['pph_remove']}" />
</div>
</form>]]></section_content>
			<func_name>photo_page</func_name>
			<func_data><![CDATA[$error="",$cur_photo="",$show_size="",$key="",$p_max="",$max_file_size=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<div style='padding:4px'>
	<form action='{$this->ipsclass->base_url}act=usercp&amp;CODE=personal_portal_save&amp;md5check={$this->ipsclass->md5_check}' method='POST'>
<if="$this->ipsclass->member['g_edit_profile']==1">
	<fieldset>
		<legend><strong>{$this->ipsclass->lang['m_personal_statement']}</strong> <span class='pp-tiny-text'>{$this->ipsclass->lang['m_char_limit']}</span></legend>
		<table cellpadding='0' cellspacing='1' width='100%'>
		<tr>
			<td class="row1" style='padding:6px;text-align:center'>
				<textarea name='pp_bio_content' rows='5' cols='60' style='width:95%;height:100px'>{$member['_pp_bio_content']}</textarea>
			</td>
		</tr>
		</table>
	</fieldset>
	
	<br />
</if>	
	<fieldset>
		<legend><strong>{$this->ipsclass->lang['m_notifications']}</strong></legend>
		<table cellpadding='0' cellspacing='1' width='100%'>
		<tr>
			<td width="40%" class="row1" style='padding:6px;'>
				<strong>{$this->ipsclass->lang['m_new_comments']}</strong>
				<div class='pp-tiny-text'>{$this->ipsclass->lang['m_choose_comm_type']}</div>
			</td>
			<td width="60%" class="row2" style='padding:6px;'>
				<select name='pp_setting_notify_comments'>{$member['_pp_setting_notify_comments']}</select>
			</td>
		</tr>
		<tr>
			<td width="40%" class="row1" style='padding:6px;'>
				<strong>{$this->ipsclass->lang['m_new_friends']}</strong>
				<div class='pp-tiny-text'>{$this->ipsclass->lang['m_choose_friend_type']}</div>
			</td>
			<td width="60%" class="row2" style='padding:6px;'>
				<select name='pp_setting_notify_friend'>{$member['_pp_setting_notify_friend']}</select>
			</td>
		</tr>
		</table>
	</fieldset>
	
	<br />
	
	<fieldset>
		<legend><strong>{$this->ipsclass->lang['m_mod_type']}</strong></legend>
		<table cellpadding='0' cellspacing='1' width='100%'>
		<tr>
			<td width="40%" class="row1" style='padding:6px;'>
				<strong>{$this->ipsclass->lang['m_new_comments']}</strong>
				<div class='pp-tiny-text'>{$this->ipsclass->lang['m_choose_cmod_type']}</div>
			</td>
			<td width="60%" class="row2" style='padding:6px;'>
				<select name='pp_setting_moderate_comments'>{$member['_pp_setting_moderate_comments']}</select>
			</td>
		</tr>
		<tr>
			<td width="40%" class="row1" style='padding:6px;'>
				<strong>{$this->ipsclass->lang['m_new_friends']}</strong>
				<div class='pp-tiny-text'>{$this->ipsclass->lang['m_choose_fmod_type']}</div>
			</td>
			<td width="60%" class="row2" style='padding:6px;'>
				<select name='pp_setting_moderate_friends'>{$member['_pp_setting_moderate_friends']}</select>
			</td>
		</tr>
		</table>
	</fieldset>
	
	<br />
	
	<div class='row1' style='padding:6px; margin-bottom:1px;text-align:center'>
		<input type='submit' class='button' value='{$this->ipsclass->lang['m_save_settings']}' />
	</div>
	</form>
</div>]]></section_content>
			<func_name>personal_portal_settings</func_name>
			<func_data>$member=array()</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}" method="post" name="form1">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="29" />
<div class="formsubtitle">{$this->ipsclass->lang['account_pass_title']}</div>
<p>{$this->ipsclass->lang['pass_change_text']}</p>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td><b>{$this->ipsclass->lang['account_pass_old']}</b></td>
		<td><input type="password" name="current_pass" value="" /></td>
	</tr>
	<tr>
		<td><b>{$this->ipsclass->lang['account_pass_new']}</b></td>
		<td><input type="password" name="new_pass_1" value="" /></td>
	</tr>
	<tr>
		<td><b>{$this->ipsclass->lang['account_pass_new2']}</b></td>
		<td><input type="password" name="new_pass_2" value="" /></td>
	</tr>
	<tr>
		<td class="formbuttonrow" colspan="2"><input type="submit" class='button' name="s_pass" value="{$this->ipsclass->lang['account_pass_submit']}" /></td>
	</tr>
</table>
</form>]]></section_content>
			<func_name>pass_change</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<div style='padding:6px;'>
<fieldset>
	<legend><strong>{$this->ipsclass->lang['pp_friends_manage_title']}</strong></legend>
	<table cellpadding='0' cellspacing='1' width='100%'>
	<tr>
		<td class="row1" style='padding:6px;'>
			{$this->ipsclass->lang['pp_you_have']} <strong>$friends</strong> {$this->ipsclass->lang['pp_pending_approval']}
			<br /><a href='#' onclick='friends_pop( "&amp;tab=pending"); return false'>{$this->ipsclass->lang['pp_manage_friends_link']}</a>
		</td>
	</tr>
	</table>
</fieldset>
<br />
<fieldset>
	<legend><strong>{$this->ipsclass->lang['pp_find_friends_title']}</strong></legend>
	<table cellpadding='0' cellspacing='1' width='100%'>
	<tr>
		<td class="row1" style='padding:6px;'>
			{$this->ipsclass->lang['pp_find_friends']}
			<br /><a href='{$this->ipsclass->base_url}act=members'>{$this->ipsclass->lang['pp_go_memberlist']}</a>
		</td>
	</tr>
	</table>
</fieldset>
</div>]]></section_content>
			<func_name>personal_manage_friends</func_name>
			<func_data>$friends=0</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<script type="text/javascript">
<!--
var LocationMax  = "{$this->ipsclass->vars['max_location_length']}";
var InterestMax  = "{$this->ipsclass->vars['max_interest_length']}";
	function CheckLength(Type){
		LocationLength  = document.theForm.Location.value.length;
		InterestLength  = document.theForm.Interests.value.length;
		message  = "";
			if (Type == "location"){
				if (LocationMax !=0) {
					message = "{$this->ipsclass->lang['js_location']}: {$this->ipsclass->lang['js_max']} " + LocationMax + " {$this->ipsclass->lang['js_characters']}.";
				}
			else{
            	message = "";
            }
            	alert(message + "  {$this->ipsclass->lang['js_used']} " + LocationLength + " {$this->ipsclass->lang['js_so_far']}.");
            }
    		
            if (Type == "interest"){
	            if (InterestMax !=0){
		            message = "{$this->ipsclass->lang['js_interests']}: {$this->ipsclass->lang['js_max']} " + InterestMax + " {$this->ipsclass->lang['js_characters']}.";
		        }
		        else{
			        message = "";
			    }
			    alert(message + "  {$this->ipsclass->lang['js_used']} " + InterestLength + " {$this->ipsclass->lang['js_so_far']}.");
			}
	}
	
	function ValidateProfile(){
    	LocationLength  = document.theForm.Location.value.length;
    	InterestLength  = document.theForm.Interests.value.length;
    	errors = "";
    		if (LocationMax !=0){
	    		if (LocationLength > LocationMax) {
		    		errors = "{$this->ipsclass->lang['js_location']}:  {$this->ipsclass->lang['js_max']} " + LocationMax + " {$this->ipsclass->lang['js_characters']}.  {$this->ipsclass->lang['js_used']}: " + LocationLength;
		    	}
		    }
		   	if (InterestMax !=0){
        		if (InterestLength > InterestMax){
	        		errors = errors + "  {$this->ipsclass->lang['js_interests']}:  {$this->ipsclass->lang['js_max']} " + InterestMax + " {$this->ipsclass->lang['js_characters']}.  {$this->ipsclass->lang['js_used']}: " + InterestLength;
	        	}
	        }
	        if (errors != ""){
		        alert(errors);
		        return false;
		       	}
		    else{
			    return true;
			   	}
	}
-->
</script>
<div style='padding:6px;'>
<form action="{$this->ipsclass->base_url}auth_key={$member['key']}" method="post" name="theForm" onsubmit="return ValidateProfile()">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="21" />
<if="$required_output">
	<fieldset>
		<legend><strong>{$this->ipsclass->lang['cf_required']}</strong></legend>
		<table cellpadding='0' cellspacing='1' width='100%'>
		$required_output
		</table>
	</fieldset>
	<br />
</if>
<fieldset>
	<legend><strong>{$this->ipsclass->lang['profile_title']}</strong></legend>
	<table cellpadding='0' cellspacing='1' width='100%'>
	<if="($this->ipsclass->vars['post_titlechange']) and ($member['posts'] > $this->ipsclass->vars['post_titlechange'])">
		<tr>
			<td width="30%" class="row1" style='padding:6px;'><b>{$this->ipsclass->lang['member_title']}</b></td>
			<td width="70%" class="row2" style='padding:6px;'><input type="text" size="40" maxlength="120" name="member_title" value="{$this->ipsclass->member['title']}" /></td>
		</tr>
	</if>
	<if="$day AND $mon AND $year">
		<tr>
			<td width="30%" class="row1" style='padding:6px;'><b>{$this->ipsclass->lang['birthday']}</b></td>
			<td width="70%" class="row2" style='padding:6px;'>
				<select name="month">&nbsp;
					{$mon}
				</select>			
				<select name="day">&nbsp;
					{$day}
				</select> 
				<select name="year">&nbsp;
					{$year}
				</select>
			</td>
		</tr>
	</if>
	<tr>
		<td width="30%" class="row1" style='padding:6px;'>{$this->ipsclass->lang['panel_gender']}</td>
		<td width="70%" class="row2" style='padding:6px;'><select class='select' name='gender'>
			<option value='male'<if="$this->ipsclass->member['pp_gender']=='male'"> selected='selected'</if>>{$this->ipsclass->lang['panel_gender_m']}</option>
			<option value='female'<if="$this->ipsclass->member['pp_gender']=='female'"> selected='selected'</if>>{$this->ipsclass->lang['panel_gender_f']}</option>
			<option value='mystery'<if="$this->ipsclass->member['pp_gender']==''"> selected='selected'</if>>{$this->ipsclass->lang['panel_gender_u']}</option>
			</select>
		</td>
	</tr>  
	<tr>
		<td width="30%" class="row1" style='padding:6px;'>{$this->ipsclass->lang['website']}</td>
		<td width="70%" class="row2" style='padding:6px;'><input type="text" size="40" maxlength="1200" name="WebSite" value="{$member['website']}" /></td>
	</tr>  
	<tr>
		<td width="30%" class="row1" style='padding:6px;'>{$this->ipsclass->lang['icq']}</td>
		<td width="70%" class="row2" style='padding:6px;'><input type="text" size="40" maxlength="20" name="ICQNumber" value="{$member['icq_number']}" /></td>
	</tr>
	<tr>
		<td width="30%" class="row1" style='padding:6px;'>{$this->ipsclass->lang['aol']}</td>
		<td width="70%" class="row2" style='padding:6px;'><input type="text" size="40" maxlength="200" name="AOLName" value="{$member['aim_name']}" /></td>
	</tr>
	<tr>
		<td width="30%" class="row1" style='padding:6px;'>{$this->ipsclass->lang['yahoo']}</td>
		<td width="70%" class="row2" style='padding:6px;'><input type="text" size="40" maxlength="200" name="YahooName" value="{$member['yahoo']}" /></td>
	</tr>
	<tr>
		<td width="30%" class="row1" style='padding:6px;'>{$this->ipsclass->lang['msn']}</td>
		<td width="70%" class="row2" style='padding:6px;'><input type="text" size="40" maxlength="200" name="MSNName" value="{$member['msnname']}" /></td>
	</tr>
	<tr>
		<td width="30%" class="row1" style='padding:6px;'>{$this->ipsclass->lang['location']}<br />(<a href="javascript:CheckLength('location');">{$this->ipsclass->lang['check_length']}</a>)</td>
		<td width="70%" class="row2" style='padding:6px;'><input type="text" size="40" name="Location" value="{$member['location']}" /></td>
	</tr>
	<tr>
		<td width="30%" class="row1" style='padding:6px;' valign="top">{$this->ipsclass->lang['interests']}<br />(<a href="javascript:CheckLength('interest');">{$this->ipsclass->lang['check_length']}</a>)</td>
		<td width="70%" class="row2" style='padding:6px;'><textarea cols="60" rows="10" wrap="soft" name="Interests">{$member['interests']}</textarea></td>
	</tr>
	<if="$optional_output">
		$optional_output
	</if>
	<tr>
		<td class="formbuttonrow" align="center" colspan="2"><input type="submit" class='button' value="{$this->ipsclass->lang['submit_profile']}" /></td>
	</tr>
	</table>
</fieldset>
</form>
</div>]]></section_content>
			<func_name>personal_panel</func_name>
			<func_data><![CDATA[$member=array(),$required_output='',$optional_output='',$day='',$mon='',$year='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<form name="ibform" action="{$this->ipsclass->base_url}" method="post">
<input type="hidden" name="s" value="{$this->ipsclass->session_id}" />
<input type="hidden" name="act" value="usercp" />
<input type="hidden" name="CODE" value="doiptool" />
<if="$msg">
<div class="formsubtitle">{$this->ipsclass->lang['ipm_title']}</div>
<p>
	$msg
</p>
<br />
</if>
<div class="formsubtitle">{$this->ipsclass->lang['menu_ipsearch']}</div>
	<table class='ipbtable' cellspacing="0">
		<tr>
			<td width="40%" class="row1">{$this->ipsclass->lang['ip_enter']}</td>
			<td class="row1">
				<input type="text" size="20" maxlength="24" name="ip" value="{$ip}" />
				<select name="iptool">
					<option value="resolve">{$this->ipsclass->lang['ip_resolve']}</option>
					<option value="posts">{$this->ipsclass->lang['ip_posts']}</option>
					<option value="members">{$this->ipsclass->lang['ip_members']}</option>
				</select>
			</td>
		</tr>
	<tr>
		<td class="formsubtitle" style="text-align: center;" colspan="2"><input type="submit" class='button' value="{$this->ipsclass->lang['ip_submit']}" /></td>
	</tr>
	</table>
</form>
	<br />
<div class="tablepad">
	{$this->ipsclass->lang['ip_desc_text']}
	<br /><br />{$this->ipsclass->lang['ip_warn_text']}
</div>]]></section_content>
			<func_name>mod_ip_start_form</func_name>
			<func_data><![CDATA[$ip="",$msg=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[{$this->ipsclass->lang['ipp_found']} $count
<br />
<br />
<a target="_blank" href="{$this->ipsclass->base_url}act=Search&amp;CODE=show&amp;searchid=$uid&amp;search_in=posts&amp;result_type=posts">{$this->ipsclass->lang['ipp_click']}</a>]]></section_content>
			<func_name>mod_ip_post_results</func_name>
			<func_data><![CDATA[$uid="",$count=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<div>
	<div class="borderwrapm">
		<table class='ipbtable' cellspacing="0">
			<tr>
				<th width="20%">{$this->ipsclass->lang['ipm_name']}</th>
				<th width="20%">{$this->ipsclass->lang['ipm_ip']}</th>
				<th width="10%">{$this->ipsclass->lang['ipm_posts']}</th>
				<th width="15%">{$this->ipsclass->lang['ipm_reg']}</th>
				<th width="15%">{$this->ipsclass->lang['ipm_group']}</th>
				<th width="20%">{$this->ipsclass->lang['ipm_options']}</th>
			</tr>
			{$content}
		</table>
	</div>
	<div>$pages</div>
</div>]]></section_content>
			<func_name>mod_ip_member_results</func_name>
			<func_data><![CDATA[$pages="",$content=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<tr>
	<td class="row1"><a href="{$this->ipsclass->base_url}showuser={$row['id']}">{$row['members_display_name']}</a></td>
	<td class="row1">{$row['ip_address']}</td>
	<td class="row1">{$row['posts']}</td>
	<td class="row1">{$row['joined']}</td>
	<td class="row1">{$row['groupname']}</td>
	<td class="row1" align="center"><a href="{$this->ipsclass->base_url}act=mod&amp;CODE=editmember&amp;mid={$row['id']}&amp;auth_key=$auth_key">{$this->ipsclass->lang['ipm_edit']}</a></td>
</tr>]]></section_content>
			<func_name>mod_ip_member_row</func_name>
			<func_data><![CDATA[$row="",$auth_key=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[&nbsp;&nbsp; <{MSG_FOLDER}>&nbsp;<a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=01&amp;VID=$id">$real</a><br />]]></section_content>
			<func_name>menu_bar_msg_folder_link</func_name>
			<func_data><![CDATA[$id="",$real=""]]></func_data>
			<group_names_secondary>,skin_msg,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$title}</div>
			<p>
				$content
			</p>]]></section_content>
			<func_name>menu_bar_new_category</func_name>
			<func_data><![CDATA[$title="",$content=""]]></func_data>
			<group_names_secondary>,skin_msg,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<{ITEM_START}> <a href="$url">$name</a><br />]]></section_content>
			<func_name>menu_bar_new_link</func_name>
			<func_data><![CDATA[$url="",$name=""]]></func_data>
			<group_names_secondary>,skin_msg,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<form name="ibform" action="{$this->ipsclass->base_url}act=usercp&amp;CODE=domemtool" method="post">
<if="$msg">
<div class="formsubtitle">{$this->ipsclass->lang['ipm_title']}</div>
<p>
	$msg
</p>
<br />
</if>
<div class="formsubtitle">{$this->ipsclass->lang['cp_edit_user']}</div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<td width="40%" class="row1">{$this->ipsclass->lang['cp_find_user']}</td>
			<td class="row1"><input type="text" size="40" name="name" value="{$this->ipsclass->input['name']}" /></td>
		</tr>
	<tr>
		<td class="formbuttonrow" colspan="2"><input type="submit" class='button' value="{$this->ipsclass->lang['cp_find_submit']}" /></td>
	</tr>
	</table>
</form>]]></section_content>
			<func_name>mod_find_user</func_name>
			<func_data><![CDATA[$msg=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content></section_content>
			<func_name>end_all_cats</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<tr> 
			<td class="catend" colspan="5"><!-- no content --></td>
		</tr>
	</table>
</div>
<br />]]></section_content>
			<func_name>end_this_cat</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_bugtracker</group_name>
			<section_content><![CDATA[<option value='$value'{$selected}>$name ($count Reports)</option>]]></section_content>
			<func_name>status_dropdown_row_counted</func_name>
			<func_data><![CDATA[$name, $value, $count, $selected='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_bugtracker</group_name>
			<section_content><![CDATA[<select name='$name'>$content</select>]]></section_content>
			<func_name>status_dropdown_wrapper_counted</func_name>
			<func_data>$name, $content</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_bugtracker</group_name>
			<section_content><![CDATA[<select name='$name'>$content</select>]]></section_content>
			<func_name>status_dropdown_wrapper</func_name>
			<func_data>$name, $content</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_bugtracker</group_name>
			<section_content><![CDATA[<option value='$value'{$selected}>$name</option>]]></section_content>
			<func_name>status_dropdown_row</func_name>
			<func_data><![CDATA[$name, $value, $selected='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_bugtracker</group_name>
			<section_content><![CDATA[<tr>
 <td class='row1' align='center'><{C_ON}></td>
 <td class='row1'><a href='{$this->ipsclass->base_url}autocom=bugtracker&amp;code=show_project&amp;product_id={$data['product_id']}'><strong>{$data['product_title']}</strong></a><div class='desc'>{$data['product_description']}</div></td>
 <td class='row2' align='center'>{$data['_total']}</td>
</tr>]]></section_content>
			<func_name>show_all_row</func_name>
			<func_data>$data</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_bugtracker</group_name>
			<section_content><![CDATA[<div class='borderwrap'>
 <div class='maintitle'>Bug Tracker</div>
 <table cellpadding='0' cellspacing='1' class='ipbtable'>
 <tr>
  <th width='1%'>&nbsp;</th>
  <th width='94%'>Project</th>
  <th width='5%' align='center'>Bugs</th>
 </tr>
 $content
 </table>
</div>]]></section_content>
			<func_name>show_all_wrapper</func_name>
			<func_data>$content</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_bugtracker</group_name>
			<section_content><![CDATA[<option value='$value'{$selected}>$name</option>]]></section_content>
			<func_name>project_dropdown_row</func_name>
			<func_data><![CDATA[$name, $value, $selected='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_bugtracker</group_name>
			<section_content><![CDATA[<select name='$name'>$content</select>]]></section_content>
			<func_name>project_dropdown_wrapper</func_name>
			<func_data>$name, $content</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_bugtracker</group_name>
			<section_content><![CDATA[<table class='ipbtable' cellspacing="0">
	<tr>
		<td style='padding-left:0px' width="50%" nowrap="nowrap">{$pages}</td>
		<td class='nopad' style='padding:5px 0px 5px 0px' align="right" width="50%"><a href="{$this->ipsclass->base_url}autocom=bugtracker&amp;code=post_new_bug&amp;product_id={$product['product_id']}&amp;bug_cat_id=$bug_cat_id"><{A_POST}></a></td>
	</tr>
</table>
<div class='borderwrap'>
 <div class='maintitle'>
  <table class='ipbtable' style='padding:0px' cellspacing="0" cellpadding='0'>
	 <tr>
		 <td style='padding:0px' width="50%" nowrap="nowrap">Bug Tracker: {$product['product_title']}</td>
		 <td style='padding:0px' width='50%' align="right">
		  <form action='{$this->ipsclass->base_url}autocom=bugtracker&amp;code=search_project&amp;product_id={$product['product_id']}' method='POST'>
		    <input type='text' size='20' name='keywords' value='Enter keywords....' onclick='this.value=""' class='input'><input type='submit' value='Search Bugs' class='input' />
		  </form>
		 </td>
	 </tr>
  </table>
 </div>
 <table cellpadding='0' cellspacing='1' class='ipbtable'>
 <tr>
  <th width='1%'>&nbsp;</th>
  <th width='40%'>Title</th>
  <th width='14%' align='center'>Started</th>
  <th width='5%' align='center'>Replies</th>
  <th width='20%' align='left'>Last Post</th>
 </tr>
 $content
 <tr>
  <td class='darkrow1' style='padding:0px' colspan='5'>
   <table class='ipbtable' cellspacing="0" cellpadding='0'>
   <tr>
    <td align='right'>
     <form action='{$this->ipsclass->base_url}autocom=bugtracker&amp;code=show_project&amp;product_id={$product['product_id']}' method='POST'>
       View: {$status_dd} <input type='submit' value='Go' />
     </form>
    </td>
   </tr>
  </table>
  </td>
 </tr>
 </table>
</div>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td style='padding-left:0px' width="50%" nowrap="nowrap">{$pages}</td>
		<td class='nopad' style='padding:5px 0px 5px 0px' align="right" width="50%"><a href="{$this->ipsclass->base_url}autocom=bugtracker&amp;code=post_new_bug&amp;product_id={$product['product_id']}"><{A_POST}></a></td>
	</tr>
</table>]]></section_content>
			<func_name>show_project_wrapper</func_name>
			<func_data>$product, $content, $status_dd, $pages, $bug_cat_id</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_bugtracker</group_name>
			<section_content><![CDATA[<tr>
 <td class='row1' align='center'><{B_NORM}></td>
 <td class='row1'>
 	<a href='{$this->ipsclass->base_url}autocom=bugtracker&amp;code=show_bug&amp;bug_title_id={$data['bug_title_id']}&amp;bug_cat_id={$data['_bug_cat_id']}'>{$data['bug_title_title']}</a>
    <div class='desc'>Status: {$data['_bug_cat_name']}</div>	
 </td>
 <td class='row2' align='center'>{$data['_starter_link']}</td>
 <td class='row2' align='center'>{$data['bug_title_replies']}</td>
 <td class='row2' align='left'>{$data['_last_post']}<div class='desc'>By {$data['_last_link']}</div></td>
</tr>]]></section_content>
			<func_name>show_project_row</func_name>
			<func_data>$data</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_bugtracker</group_name>
			<section_content><![CDATA[<tr>
 <td class='row1' align='center' colspan='5'><strong>There are no bug reports to display</strong></td>
</tr>]]></section_content>
			<func_name>show_project_row_none</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_bugtracker</group_name>
			<section_content><![CDATA[<form action='{$this->ipsclass->base_url}autocom=bugtracker&amp;code={$formbit}&amp;product_id={$project['product_id']}&amp;bug_title_id={$topic['bug_title_id']}&amp;bug_entry_id={$post['bug_entry_id']}' method='post' name='REPLIER' onsubmit='return ValidateForm()'>
<input type='hidden' name='removeattachid' value='0' />
<div class='borderwrap'>
 <div class='maintitle'>{$title}</div>
 <table cellspacing="0" class='ipbtable'>
<if="$type == "add" OR $( $type == 'edit' AND $can_manage == 1 )">
<tr>
	 <td colspan='2' align='center' class='bg1'>
	 <div style='width:100%;' align='center' class='borderwrap'>
	 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
	   <tr>
		<td align="right" width='20%'>
		 <strong>Bug Report Title</strong>
		</td>
		<td align="left" width='80%'>
		 <input type="text" size="50" maxlength="300" name="bug_title_title" value="{$topic['bug_title_title']}" tabindex="1" class="forminput" />
		</td>
	   </tr>
	  </table>
	 </div>
	 </td>
	</tr>
</if>
<if="$type == "add" OR $( $type == 'edit' AND $can_manage == 1 ) OR $( $type == 'reply' AND $can_manage == 1 )">
<tr>
	 <td colspan='2' align='center' class='bg1'>
	 <div style='width:100%;' align='center' class='borderwrap'>
	 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
	   <tr>
		<td align="right" width='20%'>
		 <strong>Assign to Product</strong>
		</td>
		<td align="left" width='80%'>
		 {$projects_dd}
		</td>
	   </tr>
	  </table>
	 </div>
	 </td>
	</tr>
</if>
<if="$type == "add" OR $( $type == 'edit' AND $can_manage == 1 ) OR $( $type == 'reply' AND $can_manage == 1 )">
<tr>
	 <td colspan='2' align='center' class='bg1'>
	 <div style='width:100%;' align='center' class='borderwrap'>
	 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
	   <tr>
		<td align="right" width='20%'>
		 <strong>Assign Status</strong>
		</td>
		<td align="left" width='80%'>
		 {$status_dd}
		</td>
	   </tr>
	  </table>
	 </div>
	 </td>
	</tr>
</if>

	<tr>
	<td colspan='2' align='center' class='bg1'>
	<div align='center' class='borderwrap'>
	<table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
	 <tr>
	  <td align='center' valign="top">
	   {$editor_html}
	  </td>
	 </tr>
	</table>
	</div>
	</td>
   </tr>
  <tr>
	 <td class="formbuttonrow" colspan="2">
		 <input type="submit" name="submit" value="$button" tabindex="7" class="button" accesskey="s" />&nbsp;
	 </td>
 </tr>
</table>
</div>
</form>
<br style="clear: all;" />]]></section_content>
			<func_name>post_bug_form</func_name>
			<func_data>$type, $project, $post, $topic, $can_manage, $title, $formbit, $button, $editor_html, $status_dd, $projects_dd</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_bugtracker</group_name>
			<section_content><![CDATA[<a href="javascript:delete_post('{$this->ipsclass->base_url}autocom=bugtracker&amp;code=bug_entry_delete&amp;bug_entry_id={$bug_entry_id}&amp;bug_title_id={$bug_title_id}&amp;product_id={$product_id}&amp;st={$this->ipsclass->input['st']}&amp;auth_key={$this->ipsclass->md5_check}')"><{P_DELETE}></a>]]></section_content>
			<func_name>button_delete</func_name>
			<func_data><![CDATA[$bug_entry_id="", $bug_title_id="", $product_id=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_bugtracker</group_name>
			<section_content><![CDATA[<a href="{$this->ipsclass->base_url}autocom=bugtracker&amp;code=post_edit_bug&amp;bug_entry_id={$bug_entry_id}&amp;bug_title_id={$bug_title_id}&amp;product_id={$product_id}&amp;st={$this->ipsclass->input['st']}"><{P_EDIT}></a>]]></section_content>
			<func_name>button_edit</func_name>
			<func_data><![CDATA[$bug_entry_id="", $bug_title_id="", $product_id=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_bugtracker</group_name>
			<section_content><![CDATA[<script type="text/javascript">
<!--
var ipb_lang_js_del_1  = "Confirm deletion";
var ipb_lang_js_del_2  = "OK - no action taken";
-->
</script>
<script type="text/javascript" src="jscripts/ipb_topic.js"></script>
<table class='ipbtable' cellspacing="0">
<tr>
	<td style='padding-left:0px' width="40%" valign="middle" nowrap="nowrap"><div>{$pages}</div></td>
	<td class='nopad' style='padding:0px 0px 5px 0px' align="right" width="60%" valign="middle">
	  <a href="{$this->ipsclass->base_url}autocom=bugtracker&amp;code=post_reply_bug&amp;product_id={$topic['bug_title_product_id']}&amp;bug_title_id={$topic['bug_title_id']}&amp;bug_cat_id=$bug_cat_id"><{A_REPLY}></a>
	  <a href="{$this->ipsclass->base_url}autocom=bugtracker&amp;code=post_new_bug&amp;product_id={$topic['bug_title_product_id']}&amp;bug_cat_id=$bug_cat_id"><{A_POST}></a>
	</td>
</tr>
</table>
<div class='borderwrap'>
 <div class='maintitle'>Bug ID #{$topic['bug_title_id']}: {$topic['bug_title_title']}</div>
 $content
</div>
<if="$can_manage == 1">
<br />
<div class='borderwrap'>
<table class='darkrow1' style='padding:5px;width:100%' cellspacing="0" cellpadding='0'>
<tr>
 <td align='left' nowrap='nowrap'>
 [ <a href="javascript:delete_post('{$this->ipsclass->base_url}autocom=bugtracker&amp;code=bug_topic_delete&amp;bug_title_id={$topic['bug_title_id']}&amp;product_id={$topic['bug_title_product_id']}')">Delete Bug Report</a> ]
 </td>
 <td align='right'>
  <form action='{$this->ipsclass->base_url}autocom=bugtracker&amp;code=mod_move_status&amp;product_id={$topic['bug_title_product_id']}&amp;bug_title_id={$topic['bug_title_id']}&amp;bug_cat_id=$bug_cat_id' method='POST'>
	Move: {$projects_dd} {$status_dd} <input type='submit' value='Go' />
  </form>
 </td>
</tr>
</table>
</div>
</if>

<br />
<table class='ipbtable' cellspacing="0">
<tr>
	<td style='padding-left:0px' width="40%" valign="middle" nowrap="nowrap"><div>{$pages}</div></td>
	<td class='nopad' style='padding:0px 0px 5px 0px' align="right" width="60%" valign="middle">
	  <a href="{$this->ipsclass->base_url}autocom=bugtracker&amp;code=post_reply_bug&amp;product_id={$topic['bug_title_product_id']}&amp;bug_title_id={$topic['bug_title_id']}&amp;bug_cat_id=$bug_cat_id"><{A_REPLY}></a>
	  <a href="{$this->ipsclass->base_url}autocom=bugtracker&amp;code=post_new_bug&amp;product_id={$topic['bug_title_product_id']}&amp;bug_cat_id=$bug_cat_id"><{A_POST}></a>
	</td>
</tr>
</table>]]></section_content>
			<func_name>show_bug_wrapper</func_name>
			<func_data>$topic, $content, $pages, $status_dd, $can_manage, $bug_cat_id, $projects_dd</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_bugtracker</group_name>
			<section_content><![CDATA[<table class='ipbtable' cellspacing="1">
 <tr>
	 <td valign="middle" class="row2"><span class="normalname">{$author['members_display_name']}</span></td>
	 <td class="row2" valign="top">
		 <!-- POSTED DATE DIV -->
		 <div class="row2" style='float:left'>
			 <span class="postdetails"><img src='{$this->ipsclass->vars['img_url']}/to_post_off.gif' alt='post' border='0' style='padding-bottom:2px' /> <b>Posted:</b> {$post['_date']}</span>
		 </div>
	 </td>
 </tr>
 <tr>
	 <td valign="top" class="post1">
		 <span class="postdetails">
			{$author['avatar']}<br /><br />
			{$author['title']}<br />
			{$author['member_rank_img']}<br /><br />
			{$author['member_group']}<br />
			{$author['member_posts']}<br />
			{$author['member_joined']}<br />
			{$author['member_location']}
			{$author['member_number']}<br />
<if="$author['custom_fields'] != """>
{$author['custom_fields']}
</if>

<br />
        		{$author['warn_text']} {$author['warn_minus']}{$author['warn_img']}{$author['warn_add']}
        	</span><br />
        	<img src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width="160" height="1" /><br /> 
       </td>
	 <td width="100%" valign="top" class="post1">
		 <div class="postcolor">
		  {$post['bug_entry_content']} 
		  <!--IBF.ATTACHMENT_{$post['bug_entry_id']}-->
		 </div>
		 {$post['signature']}
	 </td>
 </tr>
 <tr>
	 <td class="formbuttonrow" nowrap="nowrap">
			<div style='text-align:left'>{$author['online_status_indicator']}{$author['addresscard']}{$author['message_icon']}</div>
	 </td>
	 <td class="formbuttonrow" nowrap="nowrap">
		 <!-- PM / EMAIL / WWW / MSGR -->
		 <div style="float: left;">
			 <a href="javascript:scroll(0,0);"><{P_UP}></a>
		 </div>
		 <!-- REPORT / UP -->
		 <div align="right">
			 {$buttons['delete']}{$buttons['edit']}
		 </div>
	  </td>
 </tr>
 <tr>
	<td class="catend" colspan="2">
	<!-- no content -->
	</td>
</tr>
</table>]]></section_content>
			<func_name>show_bug_row</func_name>
			<func_data>$author, $post, $buttons</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_chatsigma</group_name>
			<section_content><![CDATA[<script type="text/javascript">
//<!#^#|CDATA|
<!-- // Hide JS from HTML Validator
// Added like this to allow those without JS to still function nicely.
var chat_display = "{$this->ipsclass->vars['chat_display']}";
var chat_pad     = parseInt( "{$this->ipsclass->vars['chat_poppad']}" );
var chat_height  = parseInt( "{$this->ipsclass->vars['chat_height']}" );
var chat_width   = parseInt( "{$this->ipsclass->vars['chat_width']}" );
var popped       = parseInt( "{$this->ipsclass->input['pop']}" );
var chat_tol;
var chat_tol_time = 60 * 1000; // 60 seconds
chat_pad     = chat_pad ? chat_pad : 50;
chat_height += chat_pad;
chat_width  += chat_pad;
if ( chat_display != 'self' && popped != 1 )
{
	window.open( ipb_var_base_url + 'autocom=chatsigma&pop=1','Chat','width='+chat_width+',height='+chat_height+',resizable=yes,scrollbars=yes');
	// Bounce back to board index
	locationjump();
}
//|#^#]>
//-->
</script>
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['chat_title']}</div>
	<div class="tablepad" align="center">
	 <div style='border:8px outset #BCD0ED;width:{$w}px;' id="chatwrap">
		<applet codebase="http://{$server}/current/" code="Client.class" archive="scclient_$lang.zip" width="$w" height="$h" MAYSCRIPT>
			<param name="room" value="$acc_no">
			<param name="cabbase" value="scclient_$lang.cab">
			<param name="username" value="$user">
			<param name="password" value="$pass">
			<param name="autologin" value="yes">
		</applet>
	  </div>
	</div>
</div>
<br />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['chat_help']}</div>
	<div class="tablepad">
		{$this->ipsclass->lang['chat_help_text']}
	</div>
</div>
<script type="text/javascript">
//<!#^#|CDATA|
// Set timeout loop to update session's table.
if ( use_enhanced_js )
{
	chat_ping_session();
}
function chat_ping_session()
{
	do_request_function = function()
	{
		if ( ! xmlobj.readystate_ready_and_ok() )
		{
			return;
		}
		
		var returned = xmlobj.xmlhandler.responseText;
		
		if ( returned == 'ok' )
		{
			chat_tol = setTimeout( 'chat_ping_session()', chat_tol_time );
		}
	}
	
	xmlobj = new ajax_request();
	xmlobj.onreadystatechange( do_request_function );
	xmlobj.process( ipb_var_base_url + 'autocom=chatsigma&code=update' );
}
//|#^#]>
</script>]]></section_content>
			<func_name>chat_inline</func_name>
			<func_data><![CDATA[$server="",$acc_no="",$lang="",$w="",$h="",$user="",$pass=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<div class="borderwrap">
		<div class="maintitle">{$this->ipsclass->lang['th_title']}</div>
		<table class='ipbtable' cellspacing="1">
			<tr>
				<td class="pformleftw"><b>{$this->ipsclass->lang['th_topic']}</b></td>
				<td class="pformright">{$data['th_topic']}</td>
			</tr>
			<tr>
				<td class="pformleftw"><b>{$this->ipsclass->lang['th_desc']}</b></td>
				<td class="pformright">{$data['th_desc']}&nbsp;</td>
			</tr>
			<tr>
				<td class="pformleftw"><b>{$this->ipsclass->lang['th_start_date']}</b></td>
				<td class="pformright">{$data['th_start_date']}</td>
			</tr>
			<tr>
				<td class="pformleftw"><b>{$this->ipsclass->lang['th_start_name']}</b></td>
				<td class="pformright">{$data['th_start_name']}</td>
			</tr>
			<tr>
				<td class="pformleftw"><b>{$this->ipsclass->lang['th_last_date']}</b></td>
				<td class="pformright">{$data['th_last_date']}</td>
			</tr>
			<tr>
				<td class="pformleftw"><b>{$this->ipsclass->lang['th_last_name']}</b></td>
				<td class="pformright">{$data['th_last_name']}</td>
			</tr>
			<tr>
				<td class="pformleftw"><b>{$this->ipsclass->lang['th_avg_post']}</b></td>
				<td class="pformright">{$data['th_avg_post']}</td>
			</tr>
		</table>
	</div>]]></section_content>
			<func_name>topic_history</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$row['st_top_bit']}</div>
	<div class="tablepad">
		{$row['post']}
		<div align="right"><b>{$this->ipsclass->lang['st_split']}</b>&nbsp;&nbsp;<input class='checkbox' type="checkbox" name="post_{$row['pid']}" value="1" checked="checked" /></div>
	</div>]]></section_content>
			<func_name>split_row</func_name>
			<func_data><![CDATA[$row=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle">$posting_title</div>]]></section_content>
			<func_name>table_top</func_name>
			<func_data><![CDATA[$posting_title=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<div class="formsubtitle" align="center">
			<input type="submit" name="submit" class='button' value="$action" />
		</div>
	</div>
</form>]]></section_content>
			<func_name>split_end_form</func_name>
			<func_data><![CDATA[$action=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<div class="row2">{$this->ipsclass->lang['st_explain']}</div>
		<table class='ipbtable' cellspacing="1">
			<tr>
				<td class="row1"><b>{$this->ipsclass->lang['mt_new_title']}</b></td>
				<td class="row2"><input type="text" size="40"  maxlength="100" name="title" value="" /></td>
			</tr>
			<tr>
				<td class="row1"><b>{$this->ipsclass->lang['mt_new_desc']}</b></td>
				<td class="row2"><input type="text" size="40"  maxlength="100" name="desc" value="" /></td>
			</tr>
			<tr>
				<td class="row1"><b>{$this->ipsclass->lang['st_forum']}</b></td>
				<td class="row2"><select name="fid">$jump</select></td>
			</tr>
		</table>
	</div>
<br />
	<div class="borderwrap">
	<div class="maintitle">{$this->ipsclass->lang['st_post']}</div>]]></section_content>
			<func_name>split_body</func_name>
			<func_data><![CDATA[$jump=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_online</group_name>
			<section_content><![CDATA[<!-- End content Table -->
		<tr>
			<td colspan="4" class="formbuttonrow" align="center" valign="middle">
				<form method="post" action="{$this->ipsclass->base_url}act=Online&amp;CODE=listall">
					<b>{$this->ipsclass->lang['s_by']}&nbsp;</b>
					<select name="sort_key">{$sort_key}</select>
					<select name="show_mem"> {$show_mem}</select>
					<select name="sort_order"> {$sort_order}</select>
					<input type="submit" value="{$this->ipsclass->lang['s_go']}" class="button" />
				</form>
			</td>
		</tr>
	</table>
</div>
<br />
<div>$links</div>]]></section_content>
			<func_name>Page_end</func_name>
			<func_data><![CDATA[$show_mem="",$sort_order="",$sort_key="",$links=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_online</group_name>
			<section_content><![CDATA[<script language='Javascript' type='text/javascript'>
		<!--
		function PopUp(url, name, width,height,center,resize,scroll,posleft,postop) {
			if (posleft != 0) { x = posleft }
			if (postop  != 0) { y = postop  }
		
			if (!scroll) { scroll = 1 }
			if (!resize) { resize = 1 }
		
			if ((parseInt (navigator.appVersion) >= 4 ) && (center)) {
			  X = (screen.width  - width ) / 2;
			  Y = (screen.height - height) / 2;
			}
			if (scroll != 0) { scroll = 1 }
		
			var Win = window.open( url, name, 'width='+width+',height='+height+',top='+Y+',left='+X+',resizable='+resize+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no');
	     }
		//-->
	</script>
<div align='left'>$links</div>
<br />
<div class="borderwrap">
	<div class="maintitle">&nbsp;&nbsp;{$this->ipsclass->lang['page_title']}</div>
		<table class='ipbtable' cellspacing="1">
			<tr>
				<th width="30%">{$this->ipsclass->lang['member_name']}</th>
				<th width="30%">{$this->ipsclass->lang['where']}</th>
				<th align="center" width="20%">{$this->ipsclass->lang['time']}</th>
				<th width="10%">&nbsp;</th>
			</tr>]]></section_content>
			<func_name>Page_header</func_name>
			<func_data><![CDATA[$links=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['links_title']}</div>
	<div class="tablepad">
		$links
	</div>
</div>]]></section_content>
			<func_name>tmpl_sitenav</func_name>
			<func_data><![CDATA[$links=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[</select>]]></section_content>
			<func_name>tmpl_skin_select_bottom</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[</table>
</div>]]></section_content>
			<func_name>sub_choose_current_bottom</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<tr>
			<td class="row1" align="center">$id</td>
			<td class="row1"><b>$name</b></td>
			<td class="row1" align="center">$start</td>
			<td class="row1" align="center">$end</td>
			<td class="row1" align="center">{$paid}</td>
			<td class="row1" align="center">$state</td>
		</tr>]]></section_content>
			<func_name>sub_choose_current_row</func_name>
			<func_data><![CDATA[$id="",$name="",$start="",$end="",$paid="",$state=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['s_current_subs']}</div>
<p>{$this->ipsclass->lang['s_current_explain']}</p>             
<div class="borderwrapm">
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th width="5%" align="center">{$this->ipsclass->lang['s_transid']}</th>
			<th width="35%">{$this->ipsclass->lang['s_detail']}</th>
			<th width="20%" align="center">{$this->ipsclass->lang['s_started']}</th>
			<th width="20%" align="center">{$this->ipsclass->lang['s_end']}</th>
			<th width="10%" align="center">{$this->ipsclass->lang['s_paid']}</th>
			<th width="10%" align="center">{$this->ipsclass->lang['s_status']}</th>
		</tr>]]></section_content>
			<func_name>sub_choose_current_top</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<tr>
		<td class='row1'><b><a href="{$this->ipsclass->base_url}showuser={$member['id']}">{$member['members_display_name']}</a></b></td>
		<td class='row1'>{$member['g_title']}</td>
		<td class='row1'>{$member['posts']}</td>
		<td class='row1'><a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=ignoreremove&amp;id={$member['id']}">{$this->ipsclass->lang['mi5_remove']}</a></td>
	</tr>]]></section_content>
			<func_name>iu_populated_row</func_name>
			<func_data><![CDATA[$member=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}" method="post" name="REPLIER" id='REPLIER'>
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="ignoreadd" />
<div class="formsubtitle">{$this->ipsclass->lang['mi5_title']}</div>
<p>{$this->ipsclass->lang['mi5_text']}</p>
<div class="borderwrapm">
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th width="30%">{$this->ipsclass->lang['mi5_name']}</th>
			<th width="30%">{$this->ipsclass->lang['mi5_group']}</th>
			<th width="20%">{$this->ipsclass->lang['mi5_posts']}</th>
			<th width="20%">&nbsp;</th>
		</tr>]]></section_content>
			<func_name>iu_start</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<!--
TABLE TO FIX IE/6 ISSUE
The one where 23% margin + 100% table = 123% in IE6 o_O
-->
<script type="text/javascript" src="jscripts/ipb_pm.js"></script>
<script type="text/javascript" src="jscripts/ipb_usercp.js"></script>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td valign="top" class="nopad" width="25%">
			<div id="ucpmenu">
			<div class="maintitle">{$this->ipsclass->lang['tt_menu']}</div>
	 		<!-- Messenger Links -->
<if="$this->ipsclass->member['g_use_pm'] == 1 AND $this->ipsclass->member['members_disable_pm'] == 0">
<div class="formsubtitle">{$this->ipsclass->lang['m_messenger']}</div>
			<p>
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=04"><b>{$this->ipsclass->lang['mess_new']}</b></a><br />
				<!--IBF.FOLDER_LINKS-->
				&nbsp;&nbsp; <{MSG_FOLDER}>&nbsp;<a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=20">{$this->ipsclass->lang['mess_saved']}</a><br />
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=delete">{$this->ipsclass->lang['mi_prune_msg']}</a><br />
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=07">{$this->ipsclass->lang['mess_folders']}</a><br />
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=02">{$this->ipsclass->lang['mess_contact']}</a><br />
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=14">{$this->ipsclass->lang['mess_archive']}</a><br />
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=30">{$this->ipsclass->lang['mess_tracker']}</a><br />
			</p>
	 	<!-- End Messenger -->
</if>
<if="$component_html != """>
$component_html
</if>
        
		<!-- Topic Tracker -->
			<div class="formsubtitle">{$this->ipsclass->lang['m_tracker']}</div>
			<p>
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=26">{$this->ipsclass->lang['m_view_subs']}</a><br />
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=50">{$this->ipsclass->lang['m_view_forum']}</a><br />
			</p>
		<!-- Profile -->
			<div class="formsubtitle">{$this->ipsclass->lang['m_personal']}</div>
			<p>
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=01">{$this->ipsclass->lang['m_contact_info']}</a><br />
				<if="! $this->ipsclass->vars['pp_show_classic']">
					<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=personal_portal_form">{$this->ipsclass->lang['m_personal_portal']}</a><br />
				</if>
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=22">{$this->ipsclass->lang['m_sig_info']}</a><br />
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=24">{$this->ipsclass->lang['m_avatar_info']}</a><br />
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=photo">{$this->ipsclass->lang['m_change_photo']}</a><br />
				<if="$this->ipsclass->vars['auth_allow_dnames'] == 1 AND $this->ipsclass->member['g_dname_changes'] > 0">
					<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=dname_start">{$this->ipsclass->lang['m_dname_change']}</a>
				</if>
			</p>
		<!-- Options -->
			<div class="formsubtitle">{$this->ipsclass->lang['m_options']}</div>
			<p>
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=paysubs&amp;CODE=index">{$this->ipsclass->lang['new_sub_link']}</a><br />
				<!--IBF.OPTION_LINKS-->
				<if="$this->ipsclass->member['g_attach_max'] != -1">
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=attach">{$this->ipsclass->lang['m_attach']}</a><br />
				</if>
				<if="! $this->ipsclass->vars['pp_show_classic']">
					<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=manage_friends">{$this->ipsclass->lang['m_manage_friends']}</a><br />
				</if>
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=ignore">{$this->ipsclass->lang['m_ignore_users']}</a><br />
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=02">{$this->ipsclass->lang['m_email_opt']}</a><br />
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=04">{$this->ipsclass->lang['m_board_opt']}</a><br />
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=08">{$this->ipsclass->lang['m_email_change']}</a><br />
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=28">{$this->ipsclass->lang['m_passy_opt']}</a>
			</p>
			<if="$this->ipsclass->member['g_is_supmod'] == 1">
			<div class="formsubtitle">{$this->ipsclass->lang['menu_title_mod']}</div>
			<p>
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=iptool">{$this->ipsclass->lang['menu_ipsearch']}</a><br />
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=memtool">{$this->ipsclass->lang['menu_memsearch']}</a><br />
				<{ITEM_START}> <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=announce_start">{$this->ipsclass->lang['menu_announcements']}</a>
			</p>
			</if>
		</div>
		</td>
		<td class="nopad" width="1%"><!-- --></td>
		<!-- Start main CP area -->
		<td valign="top" class="nopad" width="75%">
			<div id="ucpcontent">
			<div class="maintitle">{$this->ipsclass->lang['welcome']}</div>]]></section_content>
			<func_name>Menu_bar</func_name>
			<func_data><![CDATA[$component_html=""]]></func_data>
			<group_names_secondary>,skin_msg,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_poll</group_name>
			<section_content><![CDATA[<tr>
  <td colspan='3' class='row1'>
<div class='borderwrap'>
  <div class='row1' style='padding:4px;'><span class='postdetails'><strong>{$question}</strong></span></div>
   <table class='ipbtable' cellpadding='4' cellspacing='0'>
	$choice_html
   </table>
</div>
  </td>
</tr>]]></section_content>
			<func_name>poll_show_form_question</func_name>
			<func_data><![CDATA[$id="",$question="",$choice_html=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_poll</group_name>
			<section_content><![CDATA[<tr>
    <td class="post2" colspan="3" align='center'>{$this->ipsclass->lang['poll_noview_guest']}</td>
</tr>]]></section_content>
			<func_name>poll_show_no_guest_view</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_poll</group_name>
			<section_content><![CDATA[<tr>
	<td class="post2" width='25%'
<if="$this->ipsclass->input['_low_act'] == 'home'">
colspan='2'
</if>
>$answer</td>
<if="$this->ipsclass->input['_low_act'] == 'home'">
<td class="post2">&nbsp;</td>
</tr>
<tr>
</if>
	<td class="post2" width='10%' nowrap='nowrap'> [ <b>$votes</b> ] </td>
	<td class="post2" width='70%' nowrap='nowrap'><{BAR_LEFT}><img src="{$this->ipsclass->vars['img_url']}/bar.gif" width="$width" height="11" align="middle" alt="" /><{BAR_RIGHT}>&nbsp;[$percentage%]</td>
<if="$this->ipsclass->input['_low_act'] == 'home'">
<td class="post2">&nbsp;</td>
</if>
</tr>]]></section_content>
			<func_name>poll_show_rendered_choice</func_name>
			<func_data><![CDATA[$choice_id="",$votes="",$id="",$answer="",$percentage="",$width=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<div class='pp-contentbox-back'>
	<div style='border: 1px solid #888888; padding:0px;'>
  	<div style='border: 1px solid #EEF2F7'>
	   {$content}
	</div>
	<div align='center' style='padding:6px;font-weight:bold' class='darkrow3'><a href='#' onclick='locationjump("act=msg&amp;CODE=01");'>{$this->ipsclass->lang['xml_go_inbox']}</a> &raquo;</div>
	</div>
</div>]]></section_content>
			<func_name>xmlout_msgs_wrapper</func_name>
			<func_data><![CDATA[$content=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<div class='pp-contentbox-back'>
	<div class='pp-contentbox-entry-noheight' align='center'>
  			<span style='font-size:10px' class='desc'><em>({$this->ipsclass->lang['xml_no_pms']})</em></span>
	</div>
</div>]]></section_content>
			<func_name>xmlout_msgs_none</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<div class='popupmenu-item'>
 <div class='pp-contentbox-entry-noheight'>
 <div style='float:left'>{$msg['icon']} <a href="#" onclick='locationjump("act=msg&amp;CODE=03&amp;VID={$msg['mt_vid_folder']}&amp;MSID={$msg['mt_id']}");' title='{$msg['mt_title']} ({$msg['from_name']})'>{$msg['_mini']}</a></div>
 <div align='right'>
  <span style='font-size:10px' class='desc'><em>({$msg['date']})</em></span>
 </div>
 </div>
</div>]]></section_content>
			<func_name>xmlout_msgs_row</func_name>
			<func_data><![CDATA[$msg=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}CODE=06&amp;act=Msg&amp;saved=1" name="mutliact" method="post">
<div class="formsubtitle">{$this->ipsclass->lang['pms_saved_title']}</div>
<br />
<div class="borderwrapm">
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th width="5%">&nbsp;</th>
			<th width="30%"><b>{$this->ipsclass->lang['message_title']}</b></th>
			<th width="30%"><b>{$this->ipsclass->lang['pms_message_to']}</b></th>
			<th width="20%"><b>{$this->ipsclass->lang['pms_saved_date']}</b></th>
			<th width="10%"><b>{$this->ipsclass->lang['pms_cc_users']}</b></th>
			<th align="center" width="5%" style='padding:1px;text-align:center'><input name="allbox" class='checkbox' type="checkbox" value="Check All" onclick="CheckAll(document.mutliact);" /></th>
		</tr>]]></section_content>
			<func_name>unsent_table_header</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<tr>
			<td class="row1" valign="middle">{$data['msg']['icon']}</td>
			<td class="row1">{$data['msg']['attach_img']}&nbsp;<a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=21&amp;MSID={$data['msg']['mt_id']}">{$data['msg']['mt_title']}</a></td>
			<td class="row1">{$data['msg']['from_name']}</td>
			<td class="row1">{$data['msg']['date']}</td>
			<td class="row1" align="center">{$data['msg']['cc_users']}</td>
			<td class="row1"><input class='checkbox' type="checkbox" name="msgid_{$data['msg']['mt_id']}" value="yes" /></td>
		</tr>]]></section_content>
			<func_name>unsent_row</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<tr>
			<td class="row1" colspan="6" align="center"><b>{$this->ipsclass->lang['inbox_no_msg']}</b></td>
		</tr>]]></section_content>
			<func_name>unsent_empty_row</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<tr>
			<td align="center" nowrap="nowrap" colspan="6" class="formbuttonrow"><input class='button' type="submit" name="delete" value="{$this->ipsclass->lang['delete_button']}" /> {$this->ipsclass->lang['selected_msg']}</td>
		</tr>
	</table>
</div>
</form>]]></section_content>
			<func_name>unsent_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<tr>
	<td class="row1" valign="middle" align='center'>{$data['icon']}</td>
	<td class="row1">{$data['mt_title']}</td>
	<td class="row1"><a href="{$this->ipsclass->base_url}showuser={$data['memid']}">{$data['to_name']}</a></td>
	<td class="row1">{$data['date']}</td>
	<td class="row1" align='center'><input class='checkbox' type="checkbox" name="msgid_{$data['mt_id']}" value="yes" onclick="CheckCheckAll(document.trackread);" /></td>
</tr>]]></section_content>
			<func_name>trackread_row</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}CODE=31&amp;act=Msg" name="trackread" method="post">
<div class="formsubtitle">{$this->ipsclass->lang['tk_read_messages']}</div>
<p>{$this->ipsclass->lang['tk_read_desc']}</p>
<div class="borderwrapm">
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th width="5%">&nbsp;</th>
			<th width="30%"><b>{$this->ipsclass->lang['message_title']}</b></th>
			<th width="30%"><b>{$this->ipsclass->lang['pms_message_to']}</b></th>
			<th width="20%"><b>{$this->ipsclass->lang['tk_read_date']}</b></th>
			<th align="center" width="5%" style='padding:1px;text-align:center'><input name="allbox" class='checkbox' type="checkbox" value="Check All" onclick="CheckAll(document.trackread);" /></th>
		</tr>]]></section_content>
			<func_name>trackread_table_header</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<tr>
			<td align="right" colspan="5" class="formbuttonrow"><input class='button' type="submit" name="delete" value="{$this->ipsclass->lang['delete_button']}" /> {$this->ipsclass->lang['selected_msg']}</td>
		</tr>
	</table>
</div>
</form>]]></section_content>
			<func_name>trackUNread_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<tr>
			<td class="row1" valign="middle" align='center'>{$data['icon']}</td>
			<td class="row1">{$data['mt_title']}</td>
			<td class="row1"><a href="{$this->ipsclass->base_url}showuser={$data['memid']}">{$data['to_name']}</a></td>
			<td class="row1">{$data['date']}</td>
			<td class="row1" align='center'><input class='checkbox' type="checkbox" name="msgid_{$data['mt_id']}" value="yes" onclick="CheckCheckAll(document.trackunread);" /></td>
		</tr>]]></section_content>
			<func_name>trackUNread_row</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}CODE=32&amp;act=Msg" name="trackunread" method="post">
<div class="formsubtitle">{$this->ipsclass->lang['tk_unread_messages']}</div>
<p>{$this->ipsclass->lang['tk_unread_desc']}</p>
<div class="borderwrapm">
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th width="5%">&nbsp;</th>
			<th width="30%"><b>{$this->ipsclass->lang['message_title']}</b></th>
			<th width="30%"><b>{$this->ipsclass->lang['pms_message_to']}</b></th>
			<th width="20%"><b>{$this->ipsclass->lang['tk_unread_date']}</b></th>
			<th align="center" width="5%" style='padding:1px;text-align:center'><input name="allbox" class='checkbox' type="checkbox" value="Check All" onclick="CheckAll(document.trackunread);" /></th>
		</tr>]]></section_content>
			<func_name>trackUNread_table_header</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<tr>
			<td align="right" colspan="5" class="formbuttonrow"><input class='button' type="submit" name="endtrack" value="{$this->ipsclass->lang['tk_untrack_button']}" /> {$this->ipsclass->lang['selected_msg']}</td>
		</tr>
	</table>
</div>
</form>
<br />]]></section_content>
			<func_name>trackread_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" valign='top' width='20%'>
	 <strong>{$this->ipsclass->lang['msg_options']}</strong>
	</td>
	<td align="left" width='80%'>
	 <input class='checkbox' type="checkbox" name="add_sent" value="yes" {$default['add_sent']}/>&nbsp;<b>{$this->ipsclass->lang['auto_sent_add']}</b>
	 <br />
	 <input class='checkbox' type="checkbox" name="add_tracking" value="1" {$default['add_tracking']}/>&nbsp;<b>{$this->ipsclass->lang['vm_track_msg']}</b>
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>
 <tr>
	 <td class="formbuttonrow" align="center" colspan="2">
		 <input class='button' type="submit" value="{$this->ipsclass->lang['submit_send']}" tabindex="10" accesskey="s" />
		 <input class='button' type="submit" value="{$this->ipsclass->lang['pm_pre_button']}" tabindex="11" name="preview" />
		 <input class='button' type="submit" value="{$this->ipsclass->lang['pms_send_later']}" tabindex="12" name="save" />
	 </td>
 </tr>
</table>
<script type="text/javascript">
	// INIT find names
	init_js( 'postingform', 'entered_name');
	// Run main loop
	setTimeout( 'main_loop()', 10 );
</script>
</form>]]></section_content>
			<func_name>send_form_footer</func_name>
			<func_data>$default=array()</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<script type="text/javascript" src='jscripts/ipb_xhr_findnames.js'></script>
<script type="text/javascript">
<!--
	function find_users(){
		url = "index.{$this->ipsclass->vars['php_ext']}?act=legends&CODE=finduser_one&s={$this->ipsclass->session_id}&entry=textarea&name=carbon_copy&sep=line";
		window.open(url,"FindUsers","width=400,height=250,resizable=yes,scrollbars=yes"); 
	}
-->
</script>
<form id='postingform' style='display:block' action="{$this->ipsclass->base_url}act=msg" method="post" name="REPLIER" {$data['form_extra']} onsubmit="return ValidateForm(1);">
<input type="hidden" name="removeattachid" value="0" />
<input type="hidden" name="OID"  value="{$data['OID']}" />
<input type="hidden" name="act" value="Msg" />
<input type="hidden" name="CODE" value="04" />
<input type="hidden" name="MODE" value="01" />
<input type="hidden" name="attach_post_key" value="{$data['attach_post_key']}" />
<input type="hidden" name="auth_key" value="{$this->ipsclass->md5_check}" />
{$data['upload']}
<div id='ipb-get-members' style='border:1px solid #000; background:#FFF; padding:2px;position:absolute;width:210px;display:none;z-index:1'></div>
<table class='ipbtable' cellspacing="0">
<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" width='20%'>
	 <strong>{$this->ipsclass->lang['to_whom']}</strong>
	</td>
	<td align="left" width='80%'>
	 <input type="text" id='entered_name' name="entered_name" size="30" autocomplete='off' style='width:210px' value="{$data['N_ENTER']}" tabindex="1" /> &nbsp; {$data['CONTACTS']}
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>
<!--IBF.MASS_PM_BOX-->
<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" width='20%'>
	 <strong>{$this->ipsclass->lang['msg_title']}</strong>
	</td>
	<td align="left" width='80%'>
	 <input type="text" name="msg_title" size="40" tabindex="3" maxlength="40" value="{$data['O_TITLE']}" />
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>]]></section_content>
			<func_name>Send_form</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<b>CC:</b> $cc_users
		<hr noshade="noshade" size="1" />]]></section_content>
			<func_name>render_msg_show_cc</func_name>
			<func_data><![CDATA[$cc_users=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}" method="post">
<input type="hidden" name="act" value="Msg" />
<input type="hidden" name="CODE" value="08" />
	<div class="formsubtitle">{$this->ipsclass->lang['prefs_current']}</div>
	<p>{$this->ipsclass->lang['prefs_text_a']}</p>]]></section_content>
			<func_name>prefs_header</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<p><input type="text" name="{$data['ID']}" value="{$data['REAL']}" />{$data['EXTRA']}</p>]]></section_content>
			<func_name>prefs_row</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['pm_preview']}</div>
	<p>$data</p>]]></section_content>
			<func_name>preview</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<tr>
	<td class="row1" valign="middle">
		<a href="{$this->ipsclass->base_url}act=Profile&amp;CODE=03&amp;MID={$entry['contact_id']}"><b>{$entry['contact_name']}</b></a>
		<if="$entry['contact_desc']">
			&nbsp; &nbsp;[ {$entry['contact_desc']} ]
		</if>
	</td>
	<td class="row1" valign="middle">[ <a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=11&amp;MID={$entry['contact_id']}">{$this->ipsclass->lang['edit']}</a> ] :: [ <a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=10&amp;MID={$entry['contact_id']}">{$this->ipsclass->lang['delete']}</a> ]&nbsp;&nbsp;( {$entry['text']} )</td>
</tr>]]></section_content>
			<func_name>render_address_row</func_name>
			<func_data><![CDATA[$entry=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<script type="text/javascript" src="jscripts/ipb_topic.js"></script>
<div class="formsubtitle">{$post['mt_title']}</div>
	<div class="borderwrapm">
		<div class="subtitle">{$this->ipsclass->lang['m_pmessage']}</div>
			<table class='ipbtable' cellspacing="1">
				<tr>
					<td valign="middle" class="row2">
					<if="$author['id']">
						<div id="post-member-{$author['id']}" class='popmenubutton-new-out'>
							<span class="normalname">{$author['_pp_online_image']}<a href="{$this->ipsclass->base_url}showuser={$author['id']}">{$author['members_display_name_short']}</a></span>
						</div>
						<!-- member menu -->
						<div class='popupmenu-new' id='post-member-{$author['id']}_menu' style='display:none;width:230px'>
							<div class='popupmenu-item-last'>
								<if="$author['members_display_name_short'] != $author['members_display_name']">
									<div class='popupmenu-item'><strong>{$author['members_display_name']}</strong></div>
								</if>
								<div style='float:right'>
									<div class='pp-image-thumb-wrap'>
										<img src='{$author['pp_thumb_photo']}' width='{$author['pp_thumb_width']}' height='{$author['pp_thumb_height']}' />
									</div>
									<if="$this->ipsclass->vars['pp_allow_member_rate']">
										<div style='margin-top:5px;margin-left:6px;'>
											<img src="{$this->ipsclass->vars['img_url']}/rating_{$author['_pp_rating_real']}_mini.gif" alt='Rating: {$author['_pp_rating_real']}' style='vertical-align:middle' border='0' />
										</div>
									</if>
								</div>
								<div class='popupmenu-item'>
									{$author['_pp_gender_image']} <a href="{$this->ipsclass->base_url}showuser={$author['id']}">{$this->ipsclass->lang['dd_view_profile']}</a>
								</div>
								<if="$this->ipsclass->member['id']">
									<div class='popupmenu-item'>
										<if="in_array( $author['id'], array_keys( $this->ipsclass->member['_cache']['friends'] ) )">
											<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_remove_small.png' alt='' border='0' /> <a href="#" onclick='friends_pop("&amp;do=remove&amp;member_id={$author['id']}&amp;md5check={$this->ipsclass->md5_check}"); return false'>{$this->ipsclass->lang['dd_remove_friend']}</a>
										<else />
											<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_add_small.png' alt='' border='0' /> <a href="#" onclick='friends_pop("&amp;do=add&amp;member_id={$author['id']}&amp;md5check={$this->ipsclass->md5_check}"); return false'>{$this->ipsclass->lang['dd_add_friend']}</a>
										</if>
									</div>
									<div class='popupmenu-item'>
										<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/send_pm_small.png' alt='' border='0' /> <a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$author['id']}">{$this->ipsclass->lang['dd_send_pm']}</a>
									</div>
									<div class='popupmenu-item'>
										<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_remove_small.png' alt='' border='0' /> <a href="{$this->ipsclass->base_url}CODE=02&amp;act=Msg&amp;MID={$author['id']}">{$this->ipsclass->lang['dd_add_to_block']}</a>
									</div>
								</if>
								<div class='popupmenu-item'>
									<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/send_pm_small.png' alt='' border='0' /> <a href="{$this->ipsclass->base_url}CODE=04&amp;act=Msg&amp;MSID={$post['mt_id']}&amp;MID={$author['id']}&amp;fwd=1">{$this->ipsclass->lang['dd_forward_pm']}</a>
								</div>
								<div class='popupmenu-item'>
									<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/find_posts.png' alt='' border='0' /> <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=gettopicsuser&amp;mid={$author['id']}'>{$this->ipsclass->lang['dd_find_topics']}</a>
								</div>									
								<div class='popupmenu-item-last'>
									<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/find_posts.png' alt='' border='0' /> <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=getalluser&amp;mid={$author['id']}'>{$this->ipsclass->lang['dd_find_posts']}</a>
								</div>
							</div>
						</div>
						<!-- member menu -->
						<script type="text/javascript">
							ipsmenu.register( "post-member-{$author['id']}", '', 'popmenubutton-new', 'popmenubutton-new-out' );
						</script>
					<else />
						{$author['members_display_name']}
					</if>
					</td>
					<td class="row2" valign="middle">
						<!-- POSTED DATE DIV -->
						<div class="row2" style='float:left'>
							<span class="postdetails"><b>{$post['mt_title']}</b>, {$post['msg_date']}</span>
						</div>
					</td>
				</tr>
				<tr>
					<td valign="top" class="post1">
						<span class="postdetails">
							<if="$author['id'] AND $author['avatar']">
								<a href="{$this->ipsclass->base_url}showuser={$author['id']}" title="{$this->ipsclass->lang['dd_view_profile']}">{$author['avatar']}</a><br /><br />
							<else />
			        			{$author['avatar']}<br /><br />
							</if>
							{$author['title']}<br />
							{$author['member_rank_img']}<br /><br />
							{$author['member_group']}<br />
							{$author['member_posts']}<br />
							{$author['member_number']}<br />
							{$author['member_joined']}<br /><br />
							{$author['warn_text']} {$author['warn_minus']}{$author['warn_img']}{$author['warn_add']}
						</span>
						<br />
						<!--$ author[field_1]-->
						<img src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width="160" height="1" /><br /> 
					</td>
					<td width="100%" valign="top" class="post1">
						{$post['show_cc_users']}
						<div class="postcolor">
							{$post['msg_post']}
							<!--IBF.ATTACHMENT_{$post['msg_id']}-->
						</div>
						{$author['signature']}
					</td>
				</tr>
				<tr>
					<td class="darkrow3">
						<if="$post['_ip_address'] != ''">
							{$this->ipsclass->lang['msg_ip_address']} {$post['_ip_address']}
						</if>
					</td>
					<td class="darkrow3" nowrap="nowrap">
						<div align="right">
							<a href="{$this->ipsclass->base_url}CODE=05&amp;act=Msg&amp;MSID={$post['mt_id']}&amp;VID={$author['VID']}"><{P_DELETE}></a>
							<a href="{$this->ipsclass->base_url}CODE=04&amp;act=Msg&amp;MID={$author['id']}&amp;MSID={$post['mt_id']}"><{P_QUOTE}></a>
						</div>
					</td>
				</tr>
			</table>
		</div>	
		<div align='right' style='padding:4px;'>
			<form action="{$this->ipsclass->base_url}" name="jump" method="post">
			<input type="hidden" name="act" value="Msg" />
			<input type="hidden" name="CODE" value="01" />
				{$this->ipsclass->lang['goto_folder']}:&nbsp; {$jump}
			<input type="submit" class="button" value="{$this->ipsclass->lang['goto_submit']}" />
			</form>
		</div>
		<br />]]></section_content>
			<func_name>Render_msg</func_name>
			<func_data><![CDATA[$post="",$author="",$jump=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<div class="formsubtitle" align="center"><input class='button' type="submit" value="{$this->ipsclass->lang['prefs_submit']}" /></div>
</form>]]></section_content>
			<func_name>prefs_footer</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['prefs_new']}</div>
	<p>{$this->ipsclass->lang['prefs_text_b']}</p>]]></section_content>
			<func_name>prefs_add_dirs</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[</table>
<table cellspacing="0" width='100%' style='padding:3px'>
<tr>
 <td colspan='2' align='center' class='bg1'>
 <div align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3' style='padding:5px;'>
  <tr>
   <td align='center' valign="top" style='padding:0px'>
	{$editor_html}
	<!--UPLOAD FIELD-->
   </td>
  </tr>
 </table>
 </div>
 </td>
</tr>
</table>
<table cellspacing="0" class='ipbtable'>]]></section_content>
			<func_name>postbox_wrap</func_name>
			<func_data><![CDATA[$editor_html=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<!--<div class="formsubtitle">{$this->ipsclass->lang['err_errors']}</div>-->
	<div class="errorwrap"><h4>{$this->ipsclass->lang['err_errors']}</h4><p>$data<br /><br />{$this->ipsclass->lang['pme_none_sent']}</p></div>]]></section_content>
			<func_name>pm_errors</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<tr>
			<td class="row1" colspan="5" align="center"><b>{$this->ipsclass->lang['inbox_no_msg']}</b></td>
		</tr>]]></section_content>
			<func_name>No_msg_inbox</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<tr>
				<td class="row1"><b>$real</b></td>
				<td class="row1" align="center">$cnt</td>
				<td class="row1" align="center"><input type="checkbox" class="checkbox" name="its_$id" value="1" /></td>
			</tr>]]></section_content>
			<func_name>empty_folder_row</func_name>
			<func_data><![CDATA[$real="",$id="",$cnt=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<tr>
				<td class="row1" colspan="3" align="center"><input type="checkbox" class="checkbox" name="save_unread" value="1" checked="checked" /> <b>{$this->ipsclass->lang['fd_save_unread']}</b></td>
			</tr>]]></section_content>
			<func_name>empty_folder_save_unread</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[</table>
	</div>
<br />]]></section_content>
			<func_name>end_address_table</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<tr>
				<td align="right" colspan="5" class="formbuttonrow">
					<input class='button' type="submit" name="move" value="{$this->ipsclass->lang['move_button']}" /> $vdi_html {$this->ipsclass->lang['move_or_delete']} <input type="submit" class='button' name="delete" value="{$this->ipsclass->lang['delete_button']}" /> {$this->ipsclass->lang['selected_msg']}
				</td>
			</tr>
		</table>
	</div>
</form>
<div style="padding: 5px;">
	<div class="wrapmini"><{M_READ}>&nbsp;{$this->ipsclass->lang['icon_read']}<br /><{M_UNREAD}>&nbsp;{$this->ipsclass->lang['icon_unread']}</div>
	<div align="right">$pages<br /><i>$amount_info</i></div>
</div>]]></section_content>
			<func_name>end_inbox</func_name>
			<func_data><![CDATA[$vdi_html="",$amount_info="",$pages=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<div class="borderwrap">
<div align="right" class="row1" style="padding: 5px;">{$data}</div>
</div>]]></section_content>
			<func_name>forum_jump</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<tr id="{$msg['mt_id']}">
			<td align="center" valign="middle" class="row1">{$msg['icon']}</td>
			<td class="row1">{$msg['attach_img']}&nbsp;<a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=03&amp;VID={$msg['mt_vid_folder']}&amp;MSID={$msg['mt_id']}">{$msg['mt_title']}</a></td>
			<td class="row1">{$msg['from_name']}</td>
			<td class="row1">{$msg['date']}</td>
			<td align="center" class="row2"><input type="hidden" name="{$msg['mt_id']}" value="{$msg['mt_read']}" /><input class='checkbox' type="checkbox" name="msgid_{$msg['mt_id']}" value="yes" onclick="cca(this);" /></td>
		</tr>]]></section_content>
			<func_name>inbox_row</func_name>
			<func_data><![CDATA[$msg=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<!-- inbox folder -->
<div class="formsubtitle">$dirname</div>
	<table class='ipbtable' cellspacing="0">
		<tr>
			<td valign="middle">
				<!-- LEFT -->
				<table cellspacing="1" style="width:250px" class="inbox">
					<tr>
						<td class="row1" colspan="3">{$info['full_messenger']}</td>
					</tr>
					<tr>
						<td valign="middle" class="row1" colspan="3" nowrap='nowrap'><{BAR_LEFT}><img src="{$this->ipsclass->vars['img_url']}/bar.gif" width="{$info['img_width']}" height="11" align="middle" alt="" /><{BAR_RIGHT}></td>
					</tr>
					<tr>
						<td class="row1" width="33%" valign="middle">0%</td>
						<td class="row1" width="33%" align="center" valign="middle">50%</td>
						<td class="row1" width="33%" align="right" valign="middle">100%</td>
					</tr>
				</table>
			</td>
			
			<!-- RIGHT -->
			<td align="right" valign="bottom">
				$pages<br /><br />
				<a href="javascript:select_read()">{$this->ipsclass->lang['pmpc_mark_read']}</a> :: <a href="javascript:unselect_all()">{$this->ipsclass->lang['pmpc_unmark_all']}</a><br /><br />
				<form action="{$this->ipsclass->base_url}CODE=01&amp;act=Msg" name="jump" method="post">
					<b>{$this->ipsclass->lang['goto_folder']}: </b>&nbsp; $vdi_html 
					<input class='button' type="submit" name="submit" value="{$this->ipsclass->lang['goto_submit']}" />
				</form>
			</td>
		</tr>
	</table>
<!-- INBOX TABLE -->
  
<form action="{$this->ipsclass->base_url}CODE=06&amp;act=Msg" name="mutliact" method="post">
<input type="hidden" name="curvid" value="$curvid" />
<input type="hidden" name="sort" value="{$this->ipsclass->input['sort']}" />
<input type="hidden" name="st" value="{$this->ipsclass->input['st']}" />
<div class="borderwrapm">
	<table class='ipbtable' cellspacing="1" cellpadding='0'>
		<tr>
			<th width="5%" style='padding:3px'>&nbsp;</th>
			<th width="35%" style='padding:3px'><a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=01&amp;VID={$info['vid']}&amp;sort=title&amp;st={$this->ipsclass->input['st']}"><b>{$this->ipsclass->lang['message_title']}</b></a></th>
			<th width="30%" style='padding:3px'><a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=01&amp;VID={$info['vid']}&amp;sort=name&amp;st={$this->ipsclass->input['st']}"><b>{$this->ipsclass->lang['message_from']}</b></a></th>
			<th width="25%" style='padding:3px'><a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=01&amp;VID={$info['vid']}&amp;sort={$info['date_order']}&amp;st={$this->ipsclass->input['st']}"><b>{$this->ipsclass->lang['message_date']}</b></a></th>
			<th align="center" style='text-align:center;padding:3px' width="5%"><input name="allbox" class='checkbox' type="checkbox" value="Check All" onclick="InboxCheckAll();" /></th>
		</tr>]]></section_content>
			<func_name>inbox_table_header</func_name>
			<func_data><![CDATA[$dirname="",$info="",$vdi_html="",$pages="",$curvid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" valign='top' width='20%'>
	 <strong>{$this->ipsclass->lang['carbon_copy_title']}</strong><div class='desc'>{$this->ipsclass->lang['carbon_copy_desc']}</div>
	</td>
	<td align="left" width='80%'>
	 <textarea name="carbon_copy" rows="5" cols="40" tabindex="2">$names</textarea><br />
	 <input type="button" class="button" name="findusers" onclick="find_users()" value="{$this->ipsclass->lang['find_user_names']}" />
	 <br /><input class='checkbox' type="checkbox" name="mt_hide_cc" value="1" {$checkbox}/>&nbsp;<b>{$this->ipsclass->lang['cc_hide_users']}</b>
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>]]></section_content>
			<func_name>mass_pm_box</func_name>
			<func_data><![CDATA[$names="",$checkbox=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[<br />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['recent_title']}</div>
	$articles
</div>]]></section_content>
			<func_name>tmpl_recentarticles</func_name>
			<func_data><![CDATA[$articles=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[&middot; <a href="$link">$name</a><br />]]></section_content>
			<func_name>tmpl_links_wrap</func_name>
			<func_data><![CDATA[$link="",$name=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[<br />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;<a href="{$this->ipsclass->base_url}act=Online">{$this->ipsclass->lang['online_title']}</a></div>
	<div class="tablepad">
		<span class="desc">$breakdown<br />$split<br />$names</span>
	</div>
</div>]]></section_content>
			<func_name>tmpl_onlineusers</func_name>
			<func_data><![CDATA[$breakdown="",$split="",$names=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[<br />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;<a href="{$this->ipsclass->base_url}showtopic=$tid">{$this->ipsclass->lang['poll_title']}</a></div>
	$content
</div>]]></section_content>
			<func_name>tmpl_poll_wrapper</func_name>
			<func_data><![CDATA[$content="",$tid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[...<a href="{$this->ipsclass->base_url}showtopic=$tid">{$this->ipsclass->lang['article_readmore']}</a>]]></section_content>
			<func_name>tmpl_readmore_link</func_name>
			<func_data><![CDATA[$tid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_printpage</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['tvo_title']}&nbsp;$title</div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th>{$this->ipsclass->lang['please_choose']}</th>
		</tr>
		<tr>
			<td class="row1"><b><a href="{$this->ipsclass->base_url}act=Print&amp;client=printer&amp;f=$fid&amp;t=$tid">{$this->ipsclass->lang['o_print_title']}</a></b><br />{$this->ipsclass->lang['o_print_desc']}</td>
		</tr>
		<tr>
			<td class="row2"><b><a href="{$this->ipsclass->base_url}act=Print&amp;client=html&amp;f=$fid&amp;t=$tid">{$this->ipsclass->lang['o_html_title']}</a></b><br />{$this->ipsclass->lang['o_html_desc']}</td>
		</tr>
		<tr>
			<td class="row1"><b><a href="{$this->ipsclass->base_url}act=Print&amp;client=wordr&amp;f=$fid&amp;t=$tid">{$this->ipsclass->lang['o_word_title']}</a></b><br />{$this->ipsclass->lang['o_word_desc']}</td>
		</tr>
		<tr>
			<td class="formbuttonrow"><a href="{$this->ipsclass->base_url}showtopic=$tid">{$this->ipsclass->lang['back_topic']}</a></td>
		</tr>
		<tr>
			<td class="catend"><!-- no content --></td>
		</tr>
	</table>
</div>]]></section_content>
			<func_name>choose_form</func_name>
			<func_data><![CDATA[$fid="",$tid="",$title=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[<!-- Begin Topic Entry {$data['tid']} -->
	<tr>
		<td align="center" colspan="8" class="row1"><b>{$this->ipsclass->lang['no_search_topics']}</b></td>
	</tr>
    <!-- End Topic Entry {$data['tid']} -->]]></section_content>
			<func_name>no_results_row</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[<div id='post-ignore-{$post['pid']}' style='display:none'>
 <div class="postcolor" id='post-{$post['pid']}'>
   <strong>{$this->ipsclass->lang['ignore_first_line']} {$post['members_display_name']}.</strong>
   <br />
   <br />
   &middot; <a href="#" onclick="return topic_show_ignored_post('{$post['pid']}')">{$this->ipsclass->lang['ignore_view_post']}</a>
   <br />
   &middot; <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=ignoreremove&amp;id={$author['id']}">{$this->ipsclass->lang['ignore_unignore']} {$post['members_display_name']}</a>
 </div>
</div>
<script type="text/javascript">
//<!#^#|CDATA|
topic_init_ignored_post( '{$post['pid']}' );
//|#^#]>
</script>]]></section_content>
			<func_name>render_row_hidden</func_name>
			<func_data><![CDATA[$post="",$author=array()]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<tr>
		<td class="row1" align="center" colspan="6">{$this->ipsclass->lang['forum_subs_none']}</td>
	</tr>]]></section_content>
			<func_name>forum_subs_none</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<tr>
		<td class="row1" align="center" width="5%">{$data['folder_icon']}</td>
		<td class="row1">
			<b><a href="{$this->ipsclass->base_url}act=SF&amp;f={$data['id']}">{$data['name']}</a></b>
			<div class="desc">
				{$data['description']}
					<br />
				{$this->ipsclass->lang['subs_c_type']}: {$this->ipsclass->lang[$type]}
			</div>
		</td>
		<td class="row1" align="center">{$data['topics']}</td>
		<td class="row1" align="center">{$data['posts']}</td>
		<td class="row1">{$data['last_post']}<br />{$this->ipsclass->lang['in']} {$data['last_topic']}<br />{$this->ipsclass->lang['by']} {$data['last_poster']}</td>
		<td class="row1" align="center"><input class='checkbox' type="checkbox" name="id-{$data['forum_id']}" value="yes" /></td>
	</tr>]]></section_content>
			<func_name>forum_subs_row</func_name>
			<func_data><![CDATA[$data="",$type=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[</table>
</div>
<br />
<script type="text/javascript" src='jscripts/ipb_xhr_findnames.js'></script>
<div id='ipb-get-members' style='border:1px solid #000; background:#FFF; padding:2px;position:absolute;width:252px;display:none;z-index:1'></div>
<div class="borderwrapm">
	<table class='ipbtable' cellspacing="1">
<tr>
		<td class="formsubtitle">{$this->ipsclass->lang['mi5_addem']}</td>
	</tr>
	<tr>
		<td class="row1"><input type="text" size='40' name="newbox_1" id="newbox_1" value="{$this->ipsclass->input['newbox_1']}" /></td>
	</tr>
	<tr>
		<td class="formbuttonrow"><input type="submit" class='button' value="{$this->ipsclass->lang['mi5_edit']}" /></td>
	</tr>
</table>
</div>
</form>
<script type="text/javascript">
// INIT find names
init_js( 'REPLIER', 'newbox_1', 'get-member-names');
// Run main loop
setTimeout( 'main_loop()', 10 );
</script>]]></section_content>
			<func_name>iu_add_new</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<!-- inbox folder -->
<script type="text/javascript">
<!--
	function CheckAll(cb){
		var fmobj = document.mutliact;
			for (var i=0;i<fmobj.elements.length;i++){
				var e = fmobj.elements[i];
				if ((e.name != "allbox") && (e.type=="checkbox") && (!e.disabled)){
				e.checked = fmobj.allbox.checked;
				}
			}
	}
	function CheckCheckAll(cb){	
		var fmobj = document.mutliact;
		var TotalBoxes = 0;
		var TotalOn = 0;
			for (var i=0;i<fmobj.elements.length;i++){
		  		var e = fmobj.elements[i];
		 		 if ((e.name != "allbox") && (e.type=="checkbox")){
			 		 TotalBoxes++;
			 		 if (e.checked){
				 		 TotalOn++;
				 	}
				 }
			}
			
			if (TotalBoxes==TotalOn) {fmobj.allbox.checked=true;}
			else{
				fmobj.allbox.checked=false;
			}
	}
-->
</script>
<form action="{$this->ipsclass->base_url}" name="mutliact" method="post">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="51" />
<div class="formsubtitle">{$this->ipsclass->lang['forum_subs_header']}</div>
<div class="borderwrapm">
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th width="5%">&nbsp;</th>
			<th width="50%">{$this->ipsclass->lang['ft_forum']}</th>
			<th align="center" width="5%">{$this->ipsclass->lang['ft_topics']}</th>
			<th align="center" width="5%">{$this->ipsclass->lang['ft_posts']}</th>
			<th align="center" width="35%">{$this->ipsclass->lang['ft_last_post']}</th>
			<th align="center" width="5%" style='padding: 1px;'><input name="allbox" class='checkbox' type="checkbox" value="Check All" onclick="CheckAll();" /></th>
		</tr>]]></section_content>
			<func_name>forum_subs_header</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<tr>
	<td width="30%" class="row1" style='padding:6px;' valign='top'>
		<b>$title</b><br />$desc
	</td>
	<td width="70%" class="row2" style='padding:6px;'>
		$content
	</td>
</tr>]]></section_content>
			<func_name>field_entry</func_name>
			<func_data><![CDATA[$title="",$desc="",$content=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<textarea cols="60" rows="5" wrap="soft" name="$name">$value</textarea>]]></section_content>
			<func_name>field_textarea</func_name>
			<func_data><![CDATA[$name="",$value=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<input type="text" size="50" name="$name" value='$value' />]]></section_content>
			<func_name>field_textinput</func_name>
			<func_data><![CDATA[$name="",$value=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<div class="borderwrap">
<div align="right" class="row1" style="padding: 5px;">{$data}</div>
</div>]]></section_content>
			<func_name>forum_jump</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary>,skin_subscriptions,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<tr>
		<td align="right" class="formbuttonrow" valign="middle" colspan="6">
			<select name="trackchoice">
				<option value="unsubscribe">{$this->ipsclass->lang['subs_delete']}</option>
				<option value="none">{$this->ipsclass->lang['subs_c_change']} {$this->ipsclass->lang['subs_none_title']}</option>
				<option value="immediate">{$this->ipsclass->lang['subs_c_change']} {$this->ipsclass->lang['subs_immediate']}</option>
				<option value="delayed">{$this->ipsclass->lang['subs_c_change']} {$this->ipsclass->lang['subs_delayed']}</option>
				<option value="daily">{$this->ipsclass->lang['subs_c_change']} {$this->ipsclass->lang['subs_daily']}</option>
				<option value="weekly">{$this->ipsclass->lang['subs_c_change']} {$this->ipsclass->lang['subs_weekly']}</option>
			</select>&nbsp;&nbsp;
			<input type="submit" class="button" value="{$this->ipsclass->lang['with_selected']}" />
		</td>
	</tr>
</table>
</div>
</form>]]></section_content>
			<func_name>forum_subs_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<select name="$name">
	$options
</select>]]></section_content>
			<func_name>field_dropdown</func_name>
			<func_data><![CDATA[$name="",$options=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<div id='pp-iframe-wrap' class='pp-contentbox-back' style='overflow:auto'>
<form onsubmit='check_form()' action='{$this->ipsclass->base_url}act=profile&amp;CODE=personal_iframe_comments_save&amp;member_id={$member['id']}&amp;md5check={$this->ipsclass->md5_check}' method='POST'>
	<if="is_array($comments) and count($comments)">
		<foreach="$comments as $comment">
			<if="$comment['comment_approved']">
				<div class='pp-contentbox-entry-noheight' id='pp-comment-entry-main-{$comment['comment_id']}'>
			<else />
				<div class='pp-contentbox-entry-noheight-mod' id='pp-comment-entry-main-{$comment['comment_id']}'>
			</if>
				<div class='pp-tiny-text'>
				<div class='pp-image-thumb-wrap-floatright'><img src='{$comment['pp_thumb_photo']}' width='{$comment['pp_thumb_width']}' height='{$comment['pp_thumb_height']}' alt='' /></div>
					<if="( $member['id'] == $this->ipsclass->member['id'] ) OR ( $this->ipsclass->member['g_is_supmod'] )">
						<!-- MOD CHECKBOX -->
						<input type='checkbox' class='input-checkbox' id="pp-checked-{$comment['comment_id']}" name="pp-checked[{$comment['comment_id']}]" value='1' onclick="parent.ips_personal_portal.toggle_comment_box('{$comment['comment_id']}', 1)" />
						<!-- / MOD CHECKBOX -->
					</if>
					{$comment['_pp_gender_image']} <strong><a href='{$this->ipsclass->base_url}showuser={$comment['id']}' target='_parent'>{$comment['members_display_name']}</a></strong>
					<br />
					{$comment['comment_content']}
					<br />
					<strong>{$comment['_comment_date']}</strong>
				</div>
			</div>
		</foreach>
		<div class='pp-contentbox-entry-noheight'>
			<div style='float:right'>
				<if="( $member['id'] == $this->ipsclass->member['id'] ) OR ( $this->ipsclass->member['g_is_supmod'] )">
					<select name='pp-moderation' id='pp-moderation'>
						<option value='approve'>{$this->ipsclass->lang['m_comment_app']}</option>
						<option value='unapprove'>{$this->ipsclass->lang['m_comment_unapp']}</option>
						<option value='delete'>{$this->ipsclass->lang['m_comment_delete']}</option>
					</select>
					<input type='submit' class='button' value='{$this->ipsclass->lang['m_go_button']}' />
				</if>
			</div>
			<div style='margin-top:7px'>{$pages}&nbsp;</div>
	<else />
		<div class='post1' style='padding:6px'>
			<em>{$this->ipsclass->lang['m_no_comments']} {$member['members_display_name']}.</em>
		</div>
	</if>
</form>
</div>
<br /><br /><br /> <!-- Gotta give room for page jump... -->
<script type='text/javascript'>
//<![CDATA
var _saved = parseInt( "{$this->ipsclass->input['_saved']}" );
if ( _saved )
{
	parent.ips_personal_portal.reload_comments();
}
// Check form
function check_form()
{
	var selectbox = document.getElementById('pp-moderation');
	var chosen    = selectbox.options[ selectbox.selectedIndex ].value;
	
	if ( chosen == 'delete' )
	{
		if ( confirm("{$this->ipsclass->lang['m_confirm']}") )
		{
			return true;
		}
		else
		{
			return false;
		}
	}
	else
	{
		return true;
	}
}
//|#^#]>
</script>]]></section_content>
			<func_name>personal_portal_iframe_comments</func_name>
			<func_data>$member, $comments, $pages</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<div id='pp-iframe-wrap' class='pp-contentbox-back'>
	<div class='pp-contentbox-entry-noheight'>
		<if="$error">
			<div class='input-warn-content'>$error</div>
		</if>
		<if="$friends">
			<fieldset>
				<legend><strong>{$this->ipsclass->lang['m_friends_pending']}</strong></legend>
				<table cellpadding='0' cellspacing='1' width='100%'>
				<tr>
					<td class="row1" style='padding:6px;'>
						{$this->ipsclass->lang['m_friend_str_1']} <strong>$friends</strong> {$this->ipsclass->lang['m_friend_str_2']}
						<br /><a href='#' onclick='parent.friends_pop( "&amp;tab=pending"); return false'>{$this->ipsclass->lang['m_manage_friends_list']}</a>
					</td>
				</tr>
				</table>
			</fieldset>
			<br />
		</if>
		<form action='{$this->ipsclass->base_url}act=profile&amp;CODE=personal_iframe_settings_save&amp;member_id={$member['id']}&amp;md5check={$this->ipsclass->md5_check}'  enctype='multipart/form-data' method='POST'>
<if="$this->ipsclass->member['g_edit_profile']==1">
	<if="$member['id'] == $this->ipsclass->member['id']">
	<!-- Can update photo? -->
		<input type='hidden' name='MAX_FILE_SIZE' value='{$member['_max_file_size']}' />
		
		<fieldset>
			<legend><strong>{$this->ipsclass->lang['get_photo']}</strong></legend>
			<table cellpadding='0' cellspacing='1' width='100%'>
			<tr>
				<td width="30%" class="row1" style='padding:6px;' valign='top'>
					<strong>{$this->ipsclass->lang['m_your_pic']}</strong>
				</td>
				<td width="70%" class="row2" style='padding:6px;'>
					<input type='file' name='upload_photo' />
					<div class='pp-tiny-text'>
						{$this->ipsclass->lang['pp_photo_desc']}
					</div>
				</td>
			</tr>
			<tr>
				<td width="30%" class="row1" style='padding:6px;' valign='top'>
					<strong>{$this->ipsclass->lang['m_delete_pic']}</strong>
				</td>
				<td width="70%" class="row2" style='padding:6px;'>
					<input type='checkbox' class='checkbox' name='delete_photo' value='1' />
				</td>
			</tr>
			</table>
		</fieldset>
		
		<br />
	</if>
		<fieldset>
			<legend><strong>{$this->ipsclass->lang['m_personal_statement']}</strong> <span class='pp-tiny-text'>{$this->ipsclass->lang['m_char_limit']}</span></legend>
			<table cellpadding='0' cellspacing='1' width='100%'>
			<tr>
				<td class="row1" style='padding:6px;text-align:center'>
					<textarea name='pp_bio_content' rows='5' cols='60' style='width:95%;height:100px'>{$member['_pp_bio_content']}</textarea>
					<div class='pp-tiny-text' style='text-align:left'>{$this->ipsclass->lang['m_statement_bbcode']}</div>
				</td>
			</tr>
			</table>
		</fieldset>
		
		<br />
		
		<fieldset>
			<legend><strong>{$this->ipsclass->lang['m_website_title']}</strong> <span class='pp-tiny-text'>{$this->ipsclass->lang['m_website_explain']}</span></legend>
			<table cellpadding='0' cellspacing='1' width='100%'>
			<tr>
				<td class="row1" style='padding:6px;text-align:left'>
					<input type='text' name='website' size='25' style='width:95%' value='{$member['website']}' />
				</td>
			</tr>
			</table>
		</fieldset>
		
		<br />
</if>
		<fieldset>
			<legend><strong>{$this->ipsclass->lang['m_notifications']}</strong></legend>
			<table cellpadding='0' cellspacing='1' width='100%'>
			<tr>
				<td width="40%" class="row1" style='padding:6px;'>
					<strong>{$this->ipsclass->lang['m_new_comments']}</strong>
					<div class='pp-tiny-text'>{$this->ipsclass->lang['m_choose_comm_type']}</div>
				</td>
				<td width="60%" class="row2" style='padding:6px;'>
					<select name='pp_setting_notify_comments'>{$member['_pp_setting_notify_comments']}</select>
				</td>
			</tr>
			<tr>
				<td width="40%" class="row1" style='padding:6px;'>
					<strong>{$this->ipsclass->lang['m_new_friends']}</strong>
					<div class='pp-tiny-text'>{$this->ipsclass->lang['m_choose_friend_type']}</div>
				</td>
				<td width="60%" class="row2" style='padding:6px;'>
					<select name='pp_setting_notify_friend'>{$member['_pp_setting_notify_friend']}</select>
				</td>
			</tr>
			</table>
		</fieldset>
		
		<br />
		
		<fieldset>
			<legend><strong>{$this->ipsclass->lang['m_mod_type']}</strong></legend>
			<table cellpadding='0' cellspacing='1' width='100%'>
			<tr>
				<td width="40%" class="row1" style='padding:6px;'>
					<strong>{$this->ipsclass->lang['m_new_comments']}</strong>
					<div class='pp-tiny-text'>{$this->ipsclass->lang['m_choose_cmod_type']}</div>
				</td>
				<td width="60%" class="row2" style='padding:6px;'>
					<select name='pp_setting_moderate_comments'>{$member['_pp_setting_moderate_comments']}</select>
				</td>
			</tr>
			<tr>
				<td width="40%" class="row1" style='padding:6px;'>
					<strong>{$this->ipsclass->lang['m_new_friends']}</strong>
					<div class='pp-tiny-text'>{$this->ipsclass->lang['m_choose_fmod_type']}</div>
				</td>
				<td width="60%" class="row2" style='padding:6px;'>
					<select name='pp_setting_moderate_friends'>{$member['_pp_setting_moderate_friends']}</select>
				</td>
			</tr>
			</table>
		</fieldset>
		
		<br />
		
		<fieldset>
			<legend><strong>{$this->ipsclass->lang['m_settings_header']}</strong></legend>
			<table cellpadding='0' cellspacing='1' width='100%'>
			<tr>
				<td width="40%" class="row1" style='padding:6px;'>
					<strong>{$this->ipsclass->lang['m_show_x_visitors']}</strong>
					<div class='pp-tiny-text'>{$this->ipsclass->lang['op_change_refresh']}</div>
				</td>
				<td width="60%" class="row2" style='padding:6px;'>
					<select name='pp_setting_count_visitors'>
					<if="$member['pp_setting_count_visitors'] == 0">
						<option value='0' selected='selected'>0</option>
					<else />
						<option value='0'>0</option>
					</if>
					<if="$member['pp_setting_count_visitors'] == 3">
						<option value='3' selected='selected'>3</option>
					<else />
						<option value='3'>3</option>
					</if>
					<if="$member['pp_setting_count_visitors'] == 5">
						<option value='5' selected='selected'>5</option>
					<else />
						<option value='5'>5</option>
					</if>
					<if="$member['pp_setting_count_visitors'] == 10">
						<option value='10' selected='selected'>10</option>
					<else />
						<option value='10'>10</option>
					</if>
					</select>
				</td>
			</tr>
			<tr>
				<td width="40%" class="row1" style='padding:6px;'>
					<strong>{$this->ipsclass->lang['m_show_x_comments']}</strong>
					<div class='pp-tiny-text'>{$this->ipsclass->lang['op_change_refresh']}</div>
				</td>
				<td width="60%" class="row2" style='padding:6px;'>
					<select name='pp_setting_count_comments'>
					<if="$member['pp_setting_count_comments'] == 0">
						<option value='0' selected='selected'>0</option>
					<else />
						<option value='0'>0</option>
					</if>
					<if="$member['pp_setting_count_comments'] == 3">
						<option value='3' selected='selected'>3</option>
					<else />
						<option value='3'>3</option>
					</if>
					<if="$member['pp_setting_count_comments'] == 5">
						<option value='5' selected='selected'>5</option>
					<else />
						<option value='5'>5</option>
					</if>
					<if="$member['pp_setting_count_comments'] == 10">
						<option value='10' selected='selected'>10</option>
					<else />
						<option value='10'>10</option>
					</if>
					</select>
				</td>
			</tr>
			<tr>
				<td width="40%" class="row1" style='padding:6px;'>
					<strong>{$this->ipsclass->lang['m_show_x_friends']}</strong>
					<div class='pp-tiny-text'>{$this->ipsclass->lang['op_change_refresh']}</div>
				</td>
				<td width="60%" class="row2" style='padding:6px;'>
					<select name='pp_setting_count_friends'>
					<if="$member['pp_setting_count_friends'] == 0">
						<option value='0' selected='selected'>0</option>
					<else />
						<option value='0'>0</option>
					</if>
					<if="$member['pp_setting_count_friends'] == 3">
						<option value='3' selected='selected'>3</option>
					<else />
						<option value='3'>3</option>
					</if>
					<if="$member['pp_setting_count_friends'] == 5">
						<option value='5' selected='selected'>5</option>
					<else />
						<option value='5'>5</option>
					</if>
					<if="$member['pp_setting_count_friends'] == 10">
						<option value='10' selected='selected'>10</option>
					<else />
						<option value='10'>10</option>
					</if>	
					</select>
				</td>
			</tr>
			</table>
		</fieldset>
		
		<br />
		
		<div class='row1' style='padding:6px; margin-bottom:1px;text-align:center'>
			<input type='submit' class='button' value='{$this->ipsclass->lang['m_save_settings']}' />
		</div>
		</form>
	</div>
</div>
<if="$this->ipsclass->input['_saved']">
	<script type='text/javascript'>
	//<!#^#|CDATA|
		parent.ips_personal_portal.update_personal_photo( "{$this->ipsclass->vars['upload_url']}/{$member['pp_main_photo']}", parseInt({$member['pp_main_width']}), parseInt({$member['pp_main_height']}) );
		parent.ips_personal_portal.update_personal_statement( "{$member['__pp_bio_content']}", "{$member['website']}" );
	//|#^#]>
	</script>
</if>]]></section_content>
			<func_name>personal_portal_iframe_settings</func_name>
			<func_data><![CDATA[$member=array(), $friends=0, $error=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<h2>{$this->ipsclass->lang['man_title']}</h2>
<table cellspacing="1" class="ticket">
	<tr>
		<td>
			<table class='ipbtable' cellspacing="1">
				<tr>
					<td width="50%" bgcolor="#FFFFFF">{$this->ipsclass->lang['man_mem']}</td>
					<td width="50%" bgcolor="#FFFFFF">{$this->ipsclass->member['members_display_name']}</td>
				</tr>
				<tr>
					<td width="50%" bgcolor="#FFFFFF">{$this->ipsclass->lang['man_mem_id']}</td>
					<td width="50%" bgcolor="#FFFFFF">{$this->ipsclass->member['id']}</td>
				</tr>
				<tr>
					<td width="50%" bgcolor="#FFFFFF">{$this->ipsclass->lang['man_email']}</td>
					<td width="50%" bgcolor="#FFFFFF">{$this->ipsclass->member['email']}</td>
				</tr>
				<tr>
					<td width="50%" bgcolor="#FFFFFF">{$this->ipsclass->lang['man_trans_id']}</td>
					<td width="50%" bgcolor="#FFFFFF">{$id}</td>
				</tr>
				<tr>
					<td width="50%" bgcolor="#FFFFFF">{$this->ipsclass->lang['man_sub']}</td>
					<td width="50%" bgcolor="#FFFFFF">{$sub['sub_title']} $extra</td>
				</tr>
				<tr>
					<td width="50%" bgcolor="#FFFFFFF">{$this->ipsclass->lang['man_pay']}</td>
					<td width="50%" bgcolor="#FFFFFF">{$paid}</td>
				</tr>
			</table>
		</td>
	</tr>
</table>]]></section_content>
			<func_name>show_ticket</func_name>
			<func_data><![CDATA[$sub="",$id="",$paid="",$extra=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['ras_title']}</div>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td width="40%">{$this->ipsclass->lang['ras_numbers']}</td>
		<td>
			<input type="hidden" name="regid" value="$regid" />
				<img src="{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=1" alt="Code Bit" />
				&nbsp;<img src="{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=2" alt="Code Bit" />
				&nbsp;<img src="{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=3" alt="Code Bit" />
				&nbsp;<img src="{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=4" alt="Code Bit" />
				&nbsp;<img src="{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=5" alt="Code Bit" />
				&nbsp;<img src="{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}&amp;p=6" alt="Code Bit" />
		</td>
	</tr>
	<tr>
		<td width="40%">{$this->ipsclass->lang['ras_text']}</td>
		<td><input type="text" size="32" maxlength="32" name="reg_code" /></td>
	</tr>
</table>]]></section_content>
			<func_name>email_change_img</func_name>
			<func_data><![CDATA[$regid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['ras_title']}</div>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td width="40%">{$this->ipsclass->lang['ras_numbers']}</td>
		<td>
			<input type="hidden" name="regid" id='regid' value="$regid" />
			<img id='gd-antispam' src="{$this->ipsclass->base_url}act=UserCP&amp;CODE=show_image&amp;rc={$regid}" alt="Code Bit" title="{$this->ipsclass->lang['gbl_gd_reload']}" />
		</td>
	</tr>
	<tr>
		<td width="40%">{$this->ipsclass->lang['ras_text']}</td>
		<td><input type="text" size="32" maxlength="32" name="reg_code" /></td>
	</tr>
</table>
<script type='text/javascript'>
	init_gd_image();
</script>]]></section_content>
			<func_name>email_change_gd</func_name>
			<func_data><![CDATA[$regid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<script type="text/javascript">
var msg = "$msg";
	if ( msg != ""){
		alert(msg);
	}
</script>
<form action="{$this->ipsclass->base_url}" method="post" name="form1">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="09" />
<div class="formsubtitle">{$this->ipsclass->lang['change_email_title']}</div>
<p>
	$txt
</p>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td width="40%"><b>{$this->ipsclass->lang['ce_new_email']}</b></td>
		<td><input type="text" name="in_email_1" value="" /></td>
	</tr>
	<tr>
		<td><b>{$this->ipsclass->lang['ce_new_email2']}</b></td>
		<td><input type="text" name="in_email_2" value="" /></td>
	</tr>
	<tr>
		<td><b>{$this->ipsclass->lang['ec_passy']}</b></td>
		<td><input type="password" name="password" value="" /></td>
	</tr>
</table>
<!--ANTIBOT-->
	<div class="formsubtitle" style="text-align: center;"><input type="submit" class='button' name="change_email" value="{$this->ipsclass->lang['account_email_submit']}" /></div>
</form>]]></section_content>
			<func_name>email_change</func_name>
			<func_data><![CDATA[$txt="",$msg=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[</div>
		</td>
	</tr>
</table>
	<!-- end main CP area -->
	<br style="clear: both;" />]]></section_content>
			<func_name>CP_end</func_name>
			<func_data></func_data>
			<group_names_secondary>,skin_subscriptions,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['dead_section_title']}</div>
<p>
	{$this->ipsclass->lang['dead_section_text']}
</p>]]></section_content>
			<func_name>dead_section</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}auth_key={$Profile['key']}" method="post">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="03" />
<div class="formsubtitle">{$this->ipsclass->lang['privacy_settings']}</div>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td align="right" valign="top"><input class='checkbox'  type="checkbox" name="hide_email" value="1" {$Profile['hide_email']} /></td>
		<td width="100%">{$this->ipsclass->lang['hide_email']}</td>
	</tr>
	<tr>
		<td align="right" valign="top"><input class='checkbox' type="checkbox" name="admin_send" value="1" {$Profile['allow_admin_mails']} /></td>
		<td  width="100%">{$this->ipsclass->lang['admin_send']}</td>
	</tr>
</table>
	<br />
<div class="formsubtitle">{$this->ipsclass->lang['board_prefs']}</div>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td align="right" valign="top"><input class='checkbox' type="checkbox" name="send_full_msg" value="1" {$Profile['email_full']} /></td>
		<td  width="100%">{$this->ipsclass->lang['send_full_msg']}</td>
	</tr>
	<tr>
		<td align="right" valign="top"><input class='checkbox' type="checkbox" name="pm_reminder" value="1" {$Profile['email_pm']} /></td>
		<td  width="100%">{$this->ipsclass->lang['pm_reminder']}</td>
	</tr>
	<tr>
		<td align="right" valign="top"><input class='checkbox' type="checkbox" name="auto_track" value="1" {$Profile['auto_track']} /></td>
		<td  width="100%">
			{$this->ipsclass->lang['auto_track']}
				<select name="trackchoice">
					<option value="none">{$this->ipsclass->lang['subs_none_title']}</option>
					<option value="immediate">{$this->ipsclass->lang['subs_immediate']}</option>
					<option value="delayed">{$this->ipsclass->lang['subs_delayed']}</option>
					<option value="daily">{$this->ipsclass->lang['subs_daily']}</option>
					<option value="weekly">{$this->ipsclass->lang['subs_weekly']}</option>
				</select>
					<br />
			{$this->ipsclass->lang['auto_track_desc']}
		</td>
	</tr>
	<tr>
		<td class="formbuttonrow" colspan="2"><input type="submit" class='button' value="{$this->ipsclass->lang['submit_email']}" /></td>
	</tr>
</table>
</form>]]></section_content>
			<func_name>email</func_name>
			<func_data><![CDATA[$Profile=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<table class='ipbtable' cellspacing="0">
	<tr>
		<td class="pformleft">{$this->ipsclass->lang['av_url']}</td>
		<td class="pformright"><input type="text" size="40" maxlength="80" name="url_avatar" value="$avatar" onfocus="select_url()" />&nbsp;&nbsp;(<a href="javascript:restore_it()">{$this->ipsclass->lang['pp_restore']}</a>)</td>
	</tr>
</table>]]></section_content>
			<func_name>avatar_url_field</func_name>
			<func_data><![CDATA[$avatar=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<table class='ipbtable' cellspacing="0">
	<tr>
		<td class="pformleft">{$this->ipsclass->lang['av_upload']}</td>
		<td class="pformright"><input type="file" size="30" name="upload_avatar" onfocus="select_upload()" onclick="select_upload()" /></td>
	</tr>
</table>]]></section_content>
			<func_name>avatar_upload_field</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<table class='ipbtable' cellspacing="0">
	<tr>
		<td class="pformleft">&nbsp;</td>
		<td class="pformright"><b>{$this->ipsclass->lang['width']}</b>&nbsp;<input type="text" size="3" name="man_width" />&nbsp;&nbsp;<b>{$this->ipsclass->lang['height']}</b>&nbsp;<input type="text" size="3" name="man_height" /></td>
	</tr>
</table>]]></section_content>
			<func_name>avatar_mansize</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=<% CHARSET %>" />
		<title>{$this->ipsclass->lang['cpf_title']}</title>
	</head>
	
	<body>
	<h2>{$this->ipsclass->vars['board_name']}: {$this->ipsclass->lang['cpf_title']}</h2>
	<if="$this->ipsclass->vars['coppa_consent_extra']">
		<div>
			<b>{$this->ipsclass->lang['coppa_additional_info']}</b>
			<div>{$this->ipsclass->vars['coppa_consent_extra']}</div>
		</div>
	</if>
	<hr />
	<div>
		<b>{$this->ipsclass->lang['cpf_perm_parent']}</b>
		<div style='padding:8px;'>{$this->ipsclass->lang['cpf_fax']} <u>{$this->ipsclass->vars['coppa_fax']}</u></div>
		<div style='padding:8px;'>{$this->ipsclass->lang['cpf_address']}<br />
			<address>{$this->ipsclass->vars['coppa_address']}</address>
		</div>
	</div>
	<hr />
	<div>	
		<table class='ipbtable' cellspacing="1" cellpadding='8'>
			<tr>
				<td width="40%">{$this->ipsclass->lang['user_name']}</td>
				<td style='text-decoration:underline;'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
			</tr>
			<tr>
				<td width="40%">{$this->ipsclass->lang['password']}</td>
				<td style='text-decoration:underline;'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
			</tr>
			<tr>
				<td width="40%">{$this->ipsclass->lang['email_address']}</td>
				<td style='text-decoration:underline;'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
			</tr>
		</table>
	</div>
	<hr />
	<div>
		<b>{$this->ipsclass->lang['cpf_sign']}</b>
	</div>
	<br />
	<div>
		<table class='ipbtable' cellspacing="1" cellpadding='8'>
			<tr>
				<td width="40%">{$this->ipsclass->lang['cpf_name']}</td>
				<td style='text-decoration:underline;'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
			</tr>
			<tr>
				<td width="40%">{$this->ipsclass->lang['cpf_relation']}</td>
				<td style='text-decoration:underline;'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
			</tr>
			<tr>
				<td width="40%">{$this->ipsclass->lang['cpf_signature']}</td>
				<td style='text-decoration:underline;'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
			</tr>
			<tr>
				<td width="40%">{$this->ipsclass->lang['cpf_email']}</td>
				<td style='text-decoration:underline;'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
			</tr>
			<tr>
				<td width="40%">{$this->ipsclass->lang['cpf_phone']}</td>
				<td style='text-decoration:underline;'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
			</tr>
			<tr>
				<td width="40%">{$this->ipsclass->lang['cpf_date']}</td>
				<td style='text-decoration:underline;'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
			</tr>
		</table>
	</div>
	<hr />
	<div><b>{$this->ipsclass->lang['coppa_admin_reminder']}</b>
		<div>{$this->ipsclass->lang['coppa_admin_remtext']}</div>
	</div>
	</body>
</html>]]></section_content>
			<func_name>coppa_form</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['av_settings']}</div>
	<p>{$this->ipsclass->lang['av_text_url']} {$this->ipsclass->lang['av_text_upload']}<br />{$this->ipsclass->lang['av_allowed_files']}</p>]]></section_content>
			<func_name>avatar_limits</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<script type="text/javascript">
<!--
var url_input      = "{$data['current_url_avatar']}";
var remove_pressed = 0;
	function select_url(){
		restore_it();
	}
	
	function select_upload(){
		try{
			if ( document.creator.url_avatar.value != "" ) {
				url_input = document.creator.url_avatar.value;
			}
			document.creator.url_avatar.value = "";
		}
		catch(nourl){
			return true;
		}
	}
	
	function restore_it(){
		if (url_input != ""){
			document.creator.url_avatar.value = url_input;
			}
		}
	function checkform(){
		if ( remove_pressed != 1 ){
			return true;
		}
	
		else{
			fcheck = confirm("{$this->ipsclass->lang['av_confirm']}");
			if ( fcheck == true ){
				return true;
			}
			else{
				remove_pressed = 0;
				return false;
				}
			}
	}
-->
</script>
<!--IBF.LIMITS_AVATAR-->
<div class="formsubtitle">{$this->ipsclass->lang['av_current']}</div>
<div class="tablepad" align="center">{$data['current_avatar_image']}<br />{$data['current_avatar_type']} {$data['current_avatar_dims']}</div>
<div class="formsubtitle">{$this->ipsclass->lang['avatar_pre_title']}</div>
<form action="{$this->ipsclass->base_url}act=UserCP&amp;CODE=getgallery" method="post">
	<table class='ipbtable' cellspacing="0">
		<tr>
			<td class="pformleft">{$this->ipsclass->lang['av_go_gal']}</td>
			<td class="pformright">{$data['avatar_galleries']}&nbsp;&nbsp;<input type="submit" class='button' value="{$this->ipsclass->lang['av_go_go']}" name="submit" /></td>
		</tr>
	</table>
</form>
<form action="{$this->ipsclass->base_url}auth_key=$key" method="post" $formextra name="creator" onsubmit="return checkform();">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="25" />
$hidden_field
<!--IBF.EXTERNAL_TITLE-->
<!--IBF.URL_AVATAR-->
<!--IBF.UPLOAD_AVATAR-->
<!--IPB.SIZE-->
	<div align="center" class="formsubtitle">
		<input type="submit" value="{$this->ipsclass->lang['av_update']}" class='button' />
		&nbsp;&nbsp;&nbsp;<input type="submit" name="remove" onclick="remove_pressed=1;" class='button' value="{$this->ipsclass->lang['av_remove']}" />
	</div>
</form>]]></section_content>
			<func_name>avatar_main</func_name>
			<func_data><![CDATA[$data="",$formextra="",$hidden_field="",$key=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<tr>]]></section_content>
			<func_name>avatar_gallery_start_row</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['av_gallery_title']} $title</div>
<form action="{$this->ipsclass->base_url}act=UserCP&amp;CODE=getgallery" method="post">
	<div id="padandcenter"><b>{$this->ipsclass->lang['av_gall_jump']}</b>&nbsp;$av_gals&nbsp;&nbsp;<input type="submit" class='button' value="{$this->ipsclass->lang['av_go_go']}" name="submit" /></div>
</form>
<form action="{$this->ipsclass->base_url}auth_key=$key" method="post">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="setinternalavatar" />
<input type="hidden" name="current_folder" value="$current_folder" />
	<table class='ipbtable' cellspacing="0">]]></section_content>
			<func_name>avatar_gallery_start_table</func_name>
			<func_data><![CDATA[$title="",$av_gals="",$current_folder="",$key=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['avatar_url_title']}</div>]]></section_content>
			<func_name>avatar_external_title</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<td>&nbsp;</td>]]></section_content>
			<func_name>avatar_gallery_blank_row</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<td align="center"><img src="style_avatars{$img}" alt="txt" /><br /><input type="radio" class="radiobutton" name="avatar" value="$form" id="$form" />&nbsp;<b><label for="$form">$txt</label></b></td>]]></section_content>
			<func_name>avatar_gallery_cell_row</func_name>
			<func_data><![CDATA[$img="",$txt="",$form=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[</tr>]]></section_content>
			<func_name>avatar_gallery_end_row</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[</table>
<div align="center" class="formsubtitle">
	<input type="submit" class="button" value="{$this->ipsclass->lang['av_gall_submit']}" />
	&nbsp;&nbsp;&nbsp;<input type="button" class='button' name="remove" onclick="self.location='{$this->ipsclass->base_url}act=UserCP&amp;CODE=24';" value="{$this->ipsclass->lang['av_gall_cancel']}" />
</div>
</form>]]></section_content>
			<func_name>avatar_gallery_end_table</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_buddy</group_name>
			<section_content><![CDATA[<div class='pp-tabwrap' style='margin-left:1px'>
   <div class='{$onoff['info']}'><a href='#' onclick='xml_myassistant_init("info");return false;'>{$this->ipsclass->lang['tab_info']}</a></div>
   <div class='{$onoff['posts']}'><a href='#' onclick='xml_myassistant_init("posts");return false;'>{$this->ipsclass->lang['tab_posts']}</a></div>
   <div class='{$onoff['search']}'><a href='#' onclick='xml_myassistant_init("search");return false;'>{$this->ipsclass->lang['tab_search']}</a></div>
	<if="$this->ipsclass->member['members_disable_pm'] == 0 AND $this->ipsclass->member['g_use_pm'] == 1">
		<div class='{$onoff['pms']}'><a href='#' onclick='xml_myassistant_init("pms");return false;'>{$this->ipsclass->lang['tab_pms']}</a></div>
	</if>
	<if="$this->ipsclass->member['new_msg'] >= 1 AND $this->ipsclass->member['members_disable_pm'] == 0 AND $this->ipsclass->member['g_use_pm'] == 1">
		<div class='{$onoff['newpms']}'><a href='#' onclick='xml_myassistant_init("newpms");return false;'>{$this->ipsclass->lang['tab_newpms']} ({$this->ipsclass->member['new_msg']})</a></div>
	</if>
</div>]]></section_content>
			<func_name>xml_tabs</func_name>
			<func_data><![CDATA[$onoff=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_buddy</group_name>
			<section_content><![CDATA[<div class='pp-contentbox-back'>
	<div class='pp-contentbox-entry-noheight'>
	 <div class='mya-fieldwrap'>
	 <strong>{$this->ipsclass->lang['legend_forum']}</strong><br />
		&nbsp;&middot; <a href="{$this->ipsclass->base_url}act=Stats&amp;CODE=leaders">{$this->ipsclass->lang['sm_forum_leaders']}</a>
	 </div>
	<br />
	 <div class='mya-fieldwrap'>
	 <strong>{$this->ipsclass->lang['legend_post']}</strong><br />
		&nbsp;&middot; <a href="{$this->ipsclass->base_url}act=Stats">{$this->ipsclass->lang['sm_today_posters']}</a>
		<br />&nbsp;&middot; <a href="{$this->ipsclass->base_url}act=Members&amp;max_results=10&amp;sort_key=posts&amp;sort_order=desc">{$this->ipsclass->lang['sm_all_posters']}</a>
		<br />&nbsp;&middot; <a href="{$this->ipsclass->base_url}act=Search&amp;CODE=lastten">{$this->ipsclass->lang['sm_my_last_posts']}</a>
	 </div>
	</div>
</div>]]></section_content>
			<func_name>xml_showme</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_buddy</group_name>
			<section_content><![CDATA[<div class='pp-contentbox-back'>
	<div class='pp-contentbox-entry-noheight'>
		{$this->ipsclass->lang['nonew_pms_myass']}
	</div>
</div>]]></section_content>
			<func_name>xml_nonewpms</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_buddy</group_name>
			<section_content><![CDATA[<div class='pp-contentbox-back'>
	<div class='pp-contentbox-entry-noheight'>
		<strong>{$this->ipsclass->lang['search_forums']}</strong>
	  	<input type="text" onmouseover='this.focus()' size="17" id='myass-search-input' name="keywords" onkeydown="if(event.keyCode == 13){xml_myassistant_search();}" />
	  	<input class="gobutton" onclick='xml_myassistant_search()' type="image" src="{$this->ipsclass->vars['img_url']}/login-button.gif" value="{$this->ipsclass->lang['go']}" />
	  	<div id='myass-search-message'></div>
	</div>
</div>]]></section_content>
			<func_name>xml_search</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<table cellspacing="1" width="100%"><tr>
	<td class="row1" align="center">
		<b>{$this->ipsclass->lang[ $langkey ]}</b>
	</td>
</tr></table>]]></section_content>
			<func_name>personal_portal_no_content</func_name>
			<func_data>$langkey</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<div class='pp-tabwrap'>
	<if="$this->ipsclass->input['tab'] == 'list' OR ! $this->ipsclass->input['tab']">
		<div class='pp-tabon' style='cursor:pointer' onclick='ipsclass.location_jump("{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=list", 1); return false;'>{$this->ipsclass->lang['m_friends_list']}</div>
		<div class='pp-taboff' style='cursor:pointer' onclick='ipsclass.location_jump("{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=pending", 1); return false;'>{$this->ipsclass->lang['m_friends_pending']}</div>
		<div class='pp-taboff' style='cursor:pointer' onclick='ipsclass.location_jump("{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=mutual", 1); return false;'>{$this->ipsclass->lang['m_friends_mutual']}</div>
	<else />
		<if="$this->ipsclass->input['tab'] == 'pending'">
			<div class='pp-taboff' style='cursor:pointer' onclick='ipsclass.location_jump("{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=list", 1); return false;'>{$this->ipsclass->lang['m_friends_list']}</div>
			<div class='pp-tabon' style='cursor:pointer' onclick='ipsclass.location_jump("{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=pending", 1); return false;'>{$this->ipsclass->lang['m_friends_pending']}</div>
			<div class='pp-taboff' style='cursor:pointer' onclick='ipsclass.location_jump("{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=mutual", 1); return false;'>{$this->ipsclass->lang['m_friends_mutual']}</div>
		<else />
			<div class='pp-taboff' style='cursor:pointer' onclick='ipsclass.location_jump("{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=list", 1); return false;'>{$this->ipsclass->lang['m_friends_list']}</div>
			<div class='pp-taboff' style='cursor:pointer' onclick='ipsclass.location_jump("{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=pending", 1); return false;'>{$this->ipsclass->lang['m_friends_pending']}</div>
			<div class='pp-tabon' style='cursor:pointer' onclick='ipsclass.location_jump("{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;tab=mutual", 1); return false;'>{$this->ipsclass->lang['m_friends_mutual']}</div>
		</if>
	</if>
</div>
<div class="pp-tabclear">{$this->ipsclass->lang['m_friends_list']}</div>
<div class="borderwrap">
	<div class='pp-header'>
		<div style='float:left;font-weight:normal;padding-top:3px'>$pages</div>
		<div align='right' style='font-weight:normal'>
			<if="$this->ipsclass->input['tab'] == 'list' OR ! $this->ipsclass->input['tab']">
				<select name='friends_filter' id='friends_filter' onchange='pp_filter_change()'>
					<if="$this->ipsclass->input['friends_filter'] == 'all' OR ! $this->ipsclass->input['friends_filter']">
						<option value='all' selected='selected'>{$this->ipsclass->lang['m_showall_friends']}</option>
					<else />
						<option value='all'>{$this->ipsclass->lang['m_showall_friends']}</option>
					</if>
					<if="$this->ipsclass->input['friends_filter'] == 'online'">
						<option value='online' selected='selected'>{$this->ipsclass->lang['m_showonline_friends']}</option>
					<else />
						<option value='online'>{$this->ipsclass->lang['m_showonline_friends']}</option>
					</if>
					<if="$this->ipsclass->input['friends_filter'] == 'offline'">
						<option value='offline' selected='selected'>{$this->ipsclass->lang['m_showoffline_friends']}</option>
					<else />
						<option value='offline'>{$this->ipsclass->lang['m_showoffline_friends']}</option>
					</if>
				</select>
			<else />
				<if="$this->ipsclass->input['tab'] == 'mutual'">
					<select name='friends_filter' id='friends_filter' onchange='pp_filter_change()'>
						<if="$this->ipsclass->input['friends_filter'] == 'mutual' OR ! $this->ipsclass->input['friends_filter']">
							<option value='mutual' selected='selected'>{$this->ipsclass->lang['fl_show_mutual']}</option>
						<else />
							<option value='mutual'>{$this->ipsclass->lang['fl_show_mutual']}</option>
						</if>
						<if="$this->ipsclass->input['friends_filter'] == 'added'">
							<option value='added' selected='selected'>{$this->ipsclass->lang['fl_show_who_added_me']}</option>
						<else />
							<option value='added'>{$this->ipsclass->lang['fl_show_who_added_me']}</option>
						</if>
					</select>
				<else />
					&nbsp;
				</if>
			</if>
		</div>
	</div>
	<if="$this->ipsclass->input['tab'] == 'pending'">
		<form onsubmit='return pp_check_form()' action='{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;do=friends_list_moderation&amp;md5check={$this->ipsclass->md5_check}&amp;tab={$this->ipsclass->input['tab']}' method='POST'>
	</if>
	<if="is_array($friends) and count($friends)">
		<foreach="$friends as $friend">
			<if="$this->ipsclass->input['tab'] == 'pending'">
				<!-- Approval list -->
				<div class='pp-mini-entry-noheight-shaded' id='pp-friend-entry-{$friend['friend_id']}'>
					<div class='pp-tiny-text'>
					<div style='float:left; border-right:1px dotted black; margin-right: 3px'>
						<a href='#' title='{$this->ipsclass->lang['m_remove_friend']}' onclick='ipsclass.confirm_action("{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;do=remove&amp;member_id={$friend['id']}&amp;md5check={$this->ipsclass->md5_check}&amp;tab=pending")'><img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_remove_small.png' alt='' border='0' /></a>
						<br />
						<a href="#" title='{$this->ipsclass->lang['m_sendpm_friend']}' onclick='opener.ipsclass.location_jump("{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$friend['id']}", 1); return false;'><img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/send_pm_small.png' alt='' border='0' /></a>
					</div>
					<div class='pp-image-mini-wrap-floatright'><img src='{$friend['pp_mini_photo']}' width='{$friend['pp_mini_width']}' height='{$friend['pp_mini_height']}' alt='' /></div>
					<div style='float:right;padding-top:5px;padding-right:6px'><input type='checkbox' name='pp_friend_id[{$friend['id']}]' value='{$friend['id']}' /></div>
						{$friend['_pp_gender_image']} <strong><a href='#' onclick='opener.ipsclass.location_jump("{$this->ipsclass->base_url}showuser={$friend['id']}", 1); return false;'>{$friend['members_display_name']}</a></strong>
						<br />
						{$friend['_pp_online_image']}
						<strong>{$this->ipsclass->lang['m_requested']}: {$friend['_friends_added']}</strong>
					</div>
				</div>
				<!-- / Approval list -->
			<else />
				<if="$this->ipsclass->input['tab'] == 'mutual'">
					<!-- Mutual list -->
					<div class='pp-mini-content-entry-noheight' id='pp-friend-entry-{$friend['friend_id']}'>
						<div class='pp-tiny-text'>
							<div class='pp-image-mini-wrap-floatright'><img src='{$friend['pp_mini_photo']}' width='{$friend['pp_mini_width']}' height='{$friend['pp_mini_height']}' alt='' /></div>
							{$friend['_pp_gender_image']} <strong><a href='#' onclick='opener.ipsclass.location_jump("{$this->ipsclass->base_url}showuser={$friend['id']}", 1); return false;'>{$friend['members_display_name']}</a></strong>
							<br />
							{$friend['_pp_online_image']}
							<strong>{$this->ipsclass->lang['m_lastactive']}: {$friend['_last_active']}</strong>
						</div>
					</div>
					<!-- / Mututal list -->
				<else />
					<if="$friend['friends_approved']">
						<!-- Normal friend list -->
						<div class='pp-mini-content-entry-noheight' id='pp-friend-entry-{$friend['friend_id']}'>
							<div class='pp-tiny-text'>
							<div style='float:left; border-right:1px dotted black; margin-right: 3px'>
								<a href='#' title='{$this->ipsclass->lang['m_remove_friend']}' onclick='ipsclass.confirm_action("{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;do=remove&amp;member_id={$friend['id']}&amp;md5check={$this->ipsclass->md5_check}")'><img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_remove_small.png' alt='' border='0' /></a>
								<br />
								<a href="#" title='{$this->ipsclass->lang['m_sendpm_friend']}' onclick='opener.ipsclass.location_jump("{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$friend['id']}", 1); return false;'><img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/send_pm_small.png' alt='' border='0' /></a>
							</div>
							<div class='pp-image-mini-wrap-floatright'><img src='{$friend['pp_mini_photo']}' width='{$friend['pp_mini_width']}' height='{$friend['pp_mini_height']}' alt='' /></div>
								{$friend['_pp_gender_image']} <strong><a href='#' onclick='opener.ipsclass.location_jump("{$this->ipsclass->base_url}showuser={$friend['id']}", 1); return false;'>{$friend['members_display_name']}</a></strong>
								<br />
								{$friend['_pp_online_image']}
								<strong>{$this->ipsclass->lang['m_lastactive']}: {$friend['_last_active']}</strong>
							</div>
							<!-- / Normal friend list -->
						</div>
					<else />
						<!-- UNAPPROVED friend list -->
						<div class='pp-mini-entry-noheight-shaded' id='pp-friend-entry-{$friend['friend_id']}'>
							<div class='pp-tiny-text'>
							<div style='float:left; border-right:1px dotted black; margin-right: 3px'>
								<a href='#' title='{$this->ipsclass->lang['m_remove_friend']}' onclick='ipsclass.confirm_action("{$this->ipsclass->base_url}act=profile&amp;CODE=friends_list_popup&amp;do=remove&amp;member_id={$friend['id']}&amp;md5check={$this->ipsclass->md5_check}")'><img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_remove_small.png' alt='' border='0' /></a>
								<br />
								<a href="#" title='{$this->ipsclass->lang['m_sendpm_friend']}' onclick='opener.ipsclass.location_jump("{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$friend['id']}", 1); return false;'><img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/send_pm_small.png' alt='' border='0' /></a>
							</div>
							<div class='pp-image-mini-wrap-floatright'><img src='{$friend['pp_mini_photo']}' width='{$friend['pp_mini_width']}' height='{$friend['pp_mini_height']}' alt='' /></div>
								{$friend['_pp_gender_image']} <strong><a href='#' onclick='opener.ipsclass.location_jump("{$this->ipsclass->base_url}showuser={$friend['id']}", 1); return false;'>{$friend['members_display_name']}</a></strong>
								[ {$this->ipsclass->lang['m_pending']} ]
								<br />
								{$friend['_pp_online_image']}
								<strong>{$this->ipsclass->lang['m_lastactive']}: {$friend['_last_active']}</strong>
							</div>
							<!-- / UNAPPROVED friend list -->
						</div>
					</if>
				</if>
			</if>
		</foreach>
		<!-- BOTTOM MOD OPTIONS -->
		<if="$this->ipsclass->input['tab'] == 'pending'">
			<div class='pp-header' style='text-align:right'>
				{$this->ipsclass->lang['m_dd_with_selected']}: <select name='pp_option' id='pp-moderation'>
					<option value='add_reciprocal'>{$this->ipsclass->lang['m_dd_approve_add']}</option>
					<option value='add'>{$this->ipsclass->lang['m_dd_approve']}</option>
					<option value='delete'>{$this->ipsclass->lang['m_dd_refuse']}</option>
				</select> <input class='button' type='submit' style='margin:0px' value='{$this->ipsclass->lang['m_go']}' />
			</div>
		</form>
		</if>
		<!-- BOTTOM MOD OPTIONS -->
		
	<else />
		<div class='post1' style='padding:6px'>
			<em>{$this->ipsclass->lang['m_nofriends']}</em>
		</div>
	</if>
</div>
<script type='text/javascript'>
//<!#^#|CDATA|
function pp_filter_change()
{
	var selectbox = document.getElementById('friends_filter');
	var chosen    = selectbox.options[ selectbox.selectedIndex ].value;
	
	if ( chosen )
	{
		ipsclass.location_jump( ipb_var_base_url + 'act=profile&CODE=friends_list_popup&tab={$this->ipsclass->input['tab']}&friends_filter=' + chosen );
	}
}
// Check form
function pp_check_form()
{
	var selectbox = document.getElementById('pp-moderation');
	var chosen    = selectbox.options[ selectbox.selectedIndex ].value;
	
	if ( chosen == 'delete' )
	{
		if ( confirm("{$this->ipsclass->lang['m_confirm']}") )
		{
			return true;
		}
		else
		{
			return false;
		}
	}
	else
	{
		return true;
	}
}
//|#^#]>
</script>]]></section_content>
			<func_name>friends_list_list</func_name>
			<func_data>$friends, $pages</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}" method="post">
<input type="hidden" name="act" value="Msg" />
<input type="hidden" name="CODE" value="dofolderdelete" />
<input type="hidden" name="md5check" value="{$this->ipsclass->md5_check}" />
	<div class="formsubtitle">{$this->ipsclass->lang['mi_prune_msg']}</div>
	<p>{$this->ipsclass->lang['fd_text']}</p>
	<div class="borderwrapm">
		<table class='ipbtable' cellspacing="1">
			<tr>
				<th>{$this->ipsclass->lang['fd_name']}</th>
				<th>{$this->ipsclass->lang['fd_count']}</th>
				<th>{$this->ipsclass->lang['fd_empty']}</th>
			</tr>]]></section_content>
			<func_name>empty_folder_header</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[</div>
		</td>
	</tr>
</table>
	<!-- end main CP area -->
	<br style="clear: both;" />]]></section_content>
			<func_name>cp_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[</table>
			<div class="formsubtitle" align="center"><input class='button' type="submit" value="{$this->ipsclass->lang['fd_continue']}" /></div>
	</div>
</form>]]></section_content>
			<func_name>empty_folder_footer</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[</div>
</body>
</html>]]></section_content>
			<func_name>archive_html_footer</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<html>
<head>
<meta http-equiv="content-type" content="text/html; charset={$this->ipsclass->vars['gb_char_set']}" />
	<title>{$this->ipsclass->lang['pma_title']}</title>
	<style type="text/css">
		html{
			overflow-x: auto;
		}
		
		body{
			background-color: #fff;
			color: #000;
			font-family: Verdana, Tahoma, Arial, sans-serif;
			font-size: 11px;
			margin:0px;
			padding:0px;
			text-align:center;
		   }
		   
		a:link, a:visited, a:active{
			color: #000;
			text-decoration: underline;
		}
		
		a:hover{
			color: #465584;
			text-decoration:underline;
		}
		
		img{
			border: 0;
			vertical-align: middle;
		}
				
		#ipbwrapper{
			margin: 0 auto 0 auto;
			text-align: left;
			width: 95%;
		}
		
		.post1{
			background-color: #F5F9FD;
		}
		
		.post2{
			background-color: #EEF2F7;
		}
	
		/* Common elements */
		.row1{
			background-color: #F5F9FD;
		}
		
		.row1{
			background-color: #DFE6EF;
		}
		
		.row3{
			background-color: #EEF2F7;
		}
		
		.row2{
			background-color: #E4EAF2;
		}
	
		/* tableborders gives the white column / row lines effect */
		.plainborder{
			background-color: #F5F9FD
			border: 1px solid #345487;
		}
		
		.tableborder{
			background-color: #FFF;
			border: 1px solid #345487;
			margin: 0;
			padding: 0;
		}
		
		.tablefill{
			background-color: #F5F9FD;
			border: 1px solid #345487;
			padding: 6px;
		}
		
		.tablepad{
			background-color: #F5F9FD;
			padding:6px;
		}
		
		.tablebasic{
			border: 0;
			margin: 0;
			padding: 0;
			width:100%;
		}
	
		.pformstrip{
			background-color: #D1DCEB;
			color: #3A4F6C;
			font-weight: bold;
			margin-top:1px
			padding:7px;
		}
		
		#QUOTE{
			background-color: #FAFCFE;
			border: 1px solid #000;
			color: #465584;
			font-family: Verdana, Arial;
			font-size: 11px;
			padding: 2px;
		}
		
		#CODE{
			background-color: #FAFCFE;
			border: 1px solid #000;
			color: #465584;
			font-family: Courier, Courier New, Verdana, Arial;
			font-size: 11px;
			padding: 2px;
		}
		/* Main table top (dark blue gradient by default) */
		.maintitle{
			background-color: #D1DCEB;
			background-image: url({$this->ipsclass->vars['board_url']}/style_images/<#IMG_DIR#>/tile_back.gif);
			color: #FFF;
			font-weight: bold;
			padding:8px 0px 8px 5px;
			vertical-align:middle;
		}
		
		.maintitle a:link, .maintitle  a:visited, .maintitle  a:active{
			color: #fff;
			text-decoration: none;
		}
		
		.maintitle a:hover{
			text-decoration: underline;
		}
		
		/* Topic View elements */
		.signature{
			color: #339;
			font-size: 10px;
			line-height:150%;
		}
		
		.postdetails{
			font-size: 10px;
		}
		
		.postcolor{
			font-size: 12px;
			line-height: 160%;
		}
	</style>
</head>
<body>
 <div id="ipbwrapper">]]></section_content>
			<func_name>archive_html_header</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[<br />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['discuss_title']}</div>
	$posts
</div>]]></section_content>
			<func_name>tmpl_latestposts</func_name>
			<func_data><![CDATA[$posts=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[<a href="{$this->ipsclass->base_url}showtopic=$tid&amp;view=getlastpost">{$this->ipsclass->lang['article_comment']}</a>]]></section_content>
			<func_name>tmpl_comment_link</func_name>
			<func_data><![CDATA[$tid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<tr>
	<td class="darkrow1" colspan="8"><b>{$this->ipsclass->lang['announce_start']}</b></td>
</tr>
$announce]]></section_content>
			<func_name>announcement_wrap</func_name>
			<func_data><![CDATA[$announce=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<div class="borderwrapm">
	<div class="maintitle">{$this->ipsclass->lang['pm_textbit']}{$info['msg_title']}</div>
	<div class="tablefill"><div class="postcolor">{$info['msg_content']}</div></div>
	<div class="formsubtitle">{$this->ipsclass->lang['sentby_textbit']}<b>{$info['msg_sender']}</b> {$this->ipsclass->lang['on_textbit']} {$info['msg_date']}</div>
</div>
<br />]]></section_content>
			<func_name>archive_html_entry</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<div class="borderwrapm">
	<div class="maintitle">{$this->ipsclass->lang['pm_textbit']}{$info['msg_title']}</div>
	<div class="tablefill"><div class="postcolor">{$info['msg_content']}</div></div>
	<div class="formsubtitle">{$this->ipsclass->lang['sentto_textbit']}<b>{$info['msg_sender']}</b> {$this->ipsclass->lang['on_textbit']} {$info['msg_date']}</div>
</div>
<br />]]></section_content>
			<func_name>archive_html_entry_sent</func_name>
			<func_data><![CDATA[$info=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_poll</group_name>
			<section_content><![CDATA[<tr>
    <td class="post2" colspan="3"><input type="checkbox" name="choice_{$id}_{$choice_id}" value="1" class="checkbox" />&nbsp;<b>$answer</b></td>
</tr>]]></section_content>
			<func_name>poll_show_form_choice_multi</func_name>
			<func_data><![CDATA[$choice_id="",$votes="",$id="",$answer=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_poll</group_name>
			<section_content><![CDATA[<tr>
    <td class="post2" colspan="3"><input type="radio" name="choice[{$id}]" value="$choice_id" class="radiobutton" />&nbsp;<b>$answer</b></td>
</tr>]]></section_content>
			<func_name>poll_show_form_choice</func_name>
			<func_data><![CDATA[$choice_id="",$votes="",$id="",$answer=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_poll</group_name>
			<section_content><![CDATA[<input class='button' type="submit" name="submit" value="{$this->ipsclass->lang['poll_add_vote']}" title="{$this->ipsclass->lang['tt_poll_vote']}" />]]></section_content>
			<func_name>button_vote</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_poll</group_name>
			<section_content><![CDATA[<tr>
			<td colspan="3" class="formbuttonrow"><!--IBF.VOTE-->&nbsp;<!--IBF.SHOW--></td>
		</tr>
		<tr>
			<td class="catend" colspan="3"><!-- no content --></td>
		</tr>
		</table>
</form>]]></section_content>
			<func_name>poll_footer</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_poll</group_name>
			<section_content><![CDATA[<script type="text/javascript">
<!-- // Hide js from html validator
function go_gadget_show()
{
	window.location = "{$this->ipsclass->base_url}&showtopic={$tid}&mode=show&st={$this->ipsclass->input['st']}";
}
function go_gadget_vote()
{
	window.location = "{$this->ipsclass->base_url}&showtopic={$tid}&st={$this->ipsclass->input['st']}";
}
//-->
</script>
<form action="{$this->ipsclass->base_url}showtopic={$tid}&amp;st={$this->ipsclass->input['st']}&amp;addpoll=1" method="post">
 <table class='ipbtable' cellspacing="1">
  <tr>
	  <th colspan="3" align="center"><b>{$poll_q}</b></th>
  </tr>]]></section_content>
			<func_name>poll_header</func_name>
			<func_data><![CDATA[$tid="",$poll_q=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_poll</group_name>
			<section_content><![CDATA[<input class='button' type="button" name="viewresult" value="{$this->ipsclass->lang['pl_show_vote']}"  title="{$this->ipsclass->lang['tt_poll_svote']}" onclick="go_gadget_vote()" />]]></section_content>
			<func_name>button_show_voteable</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_poll</group_name>
			<section_content><![CDATA[<input class='button' type="button" value="{$this->ipsclass->lang['pl_show_results']}" title="{$this->ipsclass->lang['tt_poll_show']}" onclick="go_gadget_show()" />]]></section_content>
			<func_name>button_show_results</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_buddy</group_name>
			<section_content><![CDATA[{$this->ipsclass->lang['new_posts']}
<br />
{$this->ipsclass->lang['my_replies']}]]></section_content>
			<func_name>build_away_msg</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_buddy</group_name>
			<section_content><![CDATA[<p><a href="javascript:window.location=window.location;">{$this->ipsclass->lang['refresh']}</a> / <a href="javascript:self.close();">{$this->ipsclass->lang['close_win']}</a></p>]]></section_content>
			<func_name>closelink</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_buddy</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}act=Login&amp;CODE=01&amp;CookieDate=1&amp;buddy=1" method="post" name="theForm" onSubmit="return check_form();">
	<div class="borderwrap">
		<h3>{$this->ipsclass->lang['page_title']}</h3>
		<div class="formsubtitle" align="center">{$this->ipsclass->lang['log_in_needed']}</div>
			<p>{$this->ipsclass->lang['no_guests']}</p>
			<div class="formsubtitle" align="center">{$this->ipsclass->lang['log_in']}</div>
			<div class="fieldwrap">
				<h4>{$this->ipsclass->lang['lin_name']}</h4>
				<input type="text" name="UserName" />
				<h4>{$this->ipsclass->lang['lin_pass']}</h4>
				<input type="password" name="PassWord" />
				<input type="submit" value="{$this->ipsclass->lang['log_in']}" class="button" />
			</div>
			<p>{$this->ipsclass->lang['reg_text']}<br /><a href="javascript:redirect_to('&amp;act=Reg', 1);">{$this->ipsclass->lang['reg_link']}</a></p>
	<div align="center"><!--CLOSE.LINK--></div>
	</div>
</form>]]></section_content>
			<func_name>login</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_buddy</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<h3>{$this->ipsclass->lang['page_title']}</h3>
	<div class="formsubtitle">{$this->ipsclass->lang['while_away']}</div>
	<p>{$away_text}</p>
	<div class="formsubtitle">{$this->ipsclass->lang['show_me']}</div>
	<p><a href="javascript:redirect_to('&amp;act=Stats&amp;CODE=leaders',0)">{$this->ipsclass->lang['sm_forum_leaders']}</a><br /><a href="javascript:redirect_to('&amp;act=Stats',0)">{$this->ipsclass->lang['sm_today_posters']}</a><br /><a href="javascript:redirect_to('&amp;act=Members&amp;max_results=10&amp;sort_key=posts&amp;sort_order=desc',0)">{$this->ipsclass->lang['sm_all_posters']}</a><br /><a href="javascript:redirect_to('&amp;act=Search&amp;CODE=lastten',0)">{$this->ipsclass->lang['sm_my_last_posts']}</a></p>
	<div class="formsubtitle" align="center">{$this->ipsclass->lang['search_forums']}</div>
	<div align="center">
		<form action="{$this->ipsclass->base_url}act=Search&amp;CODE=01&amp;forums=all&amp;cat_forum=forum&amp;joinname=1&amp;search_in=posts&amp;result_type=topics" method="post" name="theForm" onsubmit="return check_form();">
			<input type="text" size="17" name="keywords" />&nbsp;<input class="gobutton" type="image" src="{$this->ipsclass->vars['img_url']}/login-button.gif" value="{$this->ipsclass->lang['go']}" />
		</form>
	</div>
	<div class="formsubtitle" align="center">{$this->ipsclass->lang['search_help']}</div>
	<div align="center">
		<form action="{$this->ipsclass->base_url}act=Help&amp;CODE=02" method="post" name="theForm2" onsubmit="return check_form(1);">
			<input type="text" size="17" name="search_q" />&nbsp;<input class="gobutton" type="image" src="{$this->ipsclass->vars['img_url']}/login-button.gif" value="{$this->ipsclass->lang['go']}" />
		</form>
	</div>
	<div><!--CLOSE.LINK--></div>
</div>]]></section_content>
			<func_name>main</func_name>
			<func_data><![CDATA[$away_text=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<div class="borderwrap" style="display:{$data['div_fc']}" id="fc_{$data['id']}">
	<div class="maintitlecollapse">
		<p class="expand"><a href="javascript:togglecategory({$data['id']}, 0);"><{E_PLUS}></a></p>
		<p><{CAT_IMG}>&nbsp;<a href="{$this->ipsclass->base_url}showforum={$data['id']}">{$data['name']}</a></p>
	</div>
</div>
<div class="borderwrap" style="display:{$data['div_fo']}" id="fo_{$data['id']}">
	<div class="maintitle">
		<p class="expand"><a href="javascript:togglecategory({$data['id']}, 1);"><{E_MINUS}></a></p>
		<p><{CAT_IMG}>&nbsp;<a href="{$this->ipsclass->base_url}showforum={$data['id']}">{$data['name']}</a></p>
	</div>
	<table class='ipbtable' cellspacing="1">
		<tr> 
			<th colspan="2" width="66%">{$this->ipsclass->lang['cat_name']}</th>
			<th style='text-align:center' width="7%">{$this->ipsclass->lang['topics']}</th>
			<th style='text-align:center' width="7%">{$this->ipsclass->lang['replies']}</th>
			<th width="35%">{$this->ipsclass->lang['last_post_info']}</th>
		</tr>]]></section_content>
			<func_name>CatHeader_Expanded</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_emails</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle">$title</div>
	<div class="tablepad">$body</div>
</div>]]></section_content>
			<func_name>board_rules</func_name>
			<func_data><![CDATA[$title="",$body=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_emails</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['chat_title']}</div>
	<div class="tablepad" align="center">
		<applet codebase="http://{$server}/current/" code="Client.class" archive="scclient_$lang.zip" width="$w" height="$h">
			<param name="room" value="$acc_no">
			<param name="cabbase" value="scclient_$lang.cab">
			<param name="username" value="$user">
			<param name="password" value="$pass">
			<param name="autologin" value="yes">
		</applet>
	</div>
</div>
<br />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['chat_help']}</div>
	<div class="tablepad">
		{$this->ipsclass->lang['chat_help_text']}
	</div>
</div>]]></section_content>
			<func_name>chat_inline</func_name>
			<func_data><![CDATA[$server="",$acc_no="",$lang="",$w="",$h="",$user="",$pass=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_poll</group_name>
			<section_content><![CDATA[<input class='button' type="submit" name="nullvote" value="{$this->ipsclass->lang['poll_null_vote']}" title="{$this->ipsclass->lang['tt_poll_null']}" />]]></section_content>
			<func_name>button_null_vote</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[<br />
$content]]></section_content>
			<func_name>tmpl_calendar_wrap</func_name>
			<func_data><![CDATA[$content=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<tr>
			<td class="formsubtitle" colspan="2">{$this->ipsclass->lang['calender_f_title']}</td>
		</tr>
		<tr>
			<td class="row1" width="1%"><{F_CALEN}></td>
			<td class="row2">$events</td>
		</tr>]]></section_content>
			<func_name>calendar_events</func_name>
			<func_data><![CDATA[$events=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<!-- no content -->]]></section_content>
			<func_name>bottom_links</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<tr>
			<td class="formsubtitle" colspan="2">{$this->ipsclass->lang['birthday_header']}</td>
		</tr>
		<tr>
			<td class="row1" width="1%"><{F_CALEN}></td>
			<td class="row2">
			<if="$total">
				<b>$total</b> $birth_lang<br />$birthusers
			<else />
				$birth_lang
			</if>
			</td>
		</tr>]]></section_content>
			<func_name>birthdays</func_name>
			<func_data><![CDATA[$birthusers="",$total="",$birth_lang=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$data['lang_title']}</div>
<p>
	{$data['lang_explain']}
	<br /><br />
	{$data['lang_desc']}
	<br /><br />
	<b>{$data['lang_extra']}</b>
</p>
<form action="{$data['formaction']}" method="post">
{$data['formfields']}
<br />
<br />
<div align='center'>{$data['button']}</div>
</form>]]></section_content>
			<func_name>do_generic_payscreen_with_button</func_name>
			<func_data>$data=array()</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<script type="text/javascript">
<!--
	function pop_ticket(){
		window.open('{$this->ipsclass->js_base_url}act=paysubs&type=manual&CODE=custom&mode=ticket&tickid=0&upgrade=0&sid=$new_sub_id&currency=$ccode','TICKET','width=250,height=350,resizable=yes,scrollbars=yes,toolbar=yes');
	}
-->
</script>
<div class="formsubtitle">{$this->ipsclass->lang['sc_complete']}</div>
	<p>
		$desc_string<br /><br />
		{$this->ipsclass->lang['post_manual']}<br /><br />
		{$this->ipsclass->lang['post_manual_more']}
	</p>
	<br /><br />
	<div>
		<input class='button' type="button" value="{$this->ipsclass->lang['gw_manual']}" onclick="pop_ticket()" />
	</div>]]></section_content>
			<func_name>do_manual_normal_screen</func_name>
			<func_data><![CDATA[$new_sub_id="",$desc_string="",$ccode=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_subscriptions</group_name>
			<section_content><![CDATA[<script type="text/javascript">
<!--
function pop_ticket(){
	window.open('{$this->ipsclass->js_base_url}act=paysubs&type=manual&CODE=custom&mode=ticket&tickid={$cur_id}&upgrade=1&sid=$new_sub_id&currency=$ccode','TICKET','width=250,height=350,resizable=yes,scrollbars=yes,toolbar=yes');
}
-->
</script>
<div class="formsubtitle">{$this->ipsclass->lang['sc_upgrade_title']}</div>
	<p>
		$desc_string<br /><br />
		{$this->ipsclass->lang['post_manual']}<br /><br />
		{$this->ipsclass->lang['post_manual_more']}
	</p>
	<br /><br />
	<div>
		<input class='button' type="button" value="{$this->ipsclass->lang['gw_manual']}" onclick="pop_ticket()" />
	</div>]]></section_content>
			<func_name>do_manual_upgrade_screen</func_name>
			<func_data><![CDATA[$new_sub_id="",$cur_id="",$desc_string="",$ccode=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_stats</group_name>
			<section_content><![CDATA[<tr>
		<td class="catend" colspan="4"><!-- no content --></td>
	</tr>
</table>
</div>
<br />]]></section_content>
			<func_name>close_strip</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<table class='ipbtable' cellspacing="0">
	<tr>
		<td class="pformleft">&nbsp;</td>
		<td class="pformright"><b>{$this->ipsclass->lang['av_autosize']}</b><br />({$this->ipsclass->lang['av_as_desc']})</td>
	</tr>
</table>]]></section_content>
			<func_name>avatar_autosize</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<div id='post-ignore-{$post['pid']}' style='display:none'>
 <div class="postcolor" id='post-{$post['pid']}'>
   <strong>{$this->ipsclass->lang['ignore_first_line']} {$post['members_display_name']}.</strong>
   <br />
   <br />
   &middot; <a href="#" onclick="return topic_show_ignored_post('{$post['pid']}')">{$this->ipsclass->lang['ignore_view_post']}</a>
   <br />
   &middot; <a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=ignoreremove&amp;id={$author['id']}">{$this->ipsclass->lang['ignore_unignore']} {$post['members_display_name']}</a>
 </div>
</div>
<script type="text/javascript">
//<!#^#|CDATA|
topic_init_ignored_post( '{$post['pid']}' );
//|#^#]>
</script>]]></section_content>
			<func_name>render_row_hidden</func_name>
			<func_data><![CDATA[$post="",$author=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<!--Begin Msg Number {$post['pid']}-->
<table class='ipbtable' cellspacing="1">
	<tr>
		<td valign="middle" class="row2" width="1%">
			<a name="entry{$post['pid']}"></a>
			<if="$author['id']">
				<div id="post-member-{$post['pid']}" class='popmenubutton-new-out'>
					<span class="{$post['name_css']}">{$author['_pp_online_image']}{$author['_members_display_name']}</span>
				</div>
				<!-- member menu -->
				<div class='popupmenu-new' id='post-member-{$post['pid']}_menu' style='display:none;width:230px'>
					<div class='popupmenu-item-last'>
						<if="$author['members_display_name_short'] != $author['members_display_name']">
							<div class='popupmenu-item'><strong>{$author['members_display_name']}</strong></div>
						</if>
						<div style='float:right'>
							<div class='pp-image-thumb-wrap'>
								<img src='{$author['pp_thumb_photo']}' width='{$author['pp_thumb_width']}' height='{$author['pp_thumb_height']}' alt='' />
							</div>
							<if="$this->ipsclass->vars['pp_allow_member_rate']">
								<div style='margin-top:5px;margin-left:6px;'>
									<img src="{$this->ipsclass->vars['img_url']}/rating_{$author['_pp_rating_real']}_mini.gif" alt='{$this->ipsclass->lang['rating_prefix']}: {$author['_pp_rating_real']}' style='vertical-align:middle' border='0' />
								</div>
							</if>
						</div>
						<div class='popupmenu-item'>
							{$author['_pp_gender_image']} <a href="{$this->ipsclass->base_url}showuser={$author['id']}">{$this->ipsclass->lang['dd_view_profile']}</a>
						</div>
						<if="$this->ipsclass->member['id']">
							<div class='popupmenu-item'>
								<if="in_array( $author['id'], array_keys( $this->ipsclass->member['_cache']['friends'] ) )">
									<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_remove_small.png' alt='' border='0' /> <a href="#" onclick='friends_pop("&amp;do=remove&amp;member_id={$author['id']}&amp;md5check={$this->ipsclass->md5_check}"); return false'>{$this->ipsclass->lang['dd_remove_friend']}</a>
								<else />
									<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_add_small.png' alt='' border='0' /> <a href="#" onclick='friends_pop("&amp;do=add&amp;member_id={$author['id']}&amp;md5check={$this->ipsclass->md5_check}"); return false'>{$this->ipsclass->lang['dd_add_friend']}</a>
								</if>
							</div>
							<div class='popupmenu-item'>
								<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/send_pm_small.png' alt='' border='0' /> <a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$author['id']}">{$this->ipsclass->lang['dd_send_pm']}</a>
							</div>
							<div class='popupmenu-item'>
								<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/find_posts.png' alt='' border='0' /> <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=gettopicsuser&amp;mid={$author['id']}'>{$this->ipsclass->lang['dd_find_topics']}</a>
							</div>
							<div class='popupmenu-item-last'>
								<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/find_posts.png' alt='' border='0' /> <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=getalluser&amp;mid={$author['id']}'>{$this->ipsclass->lang['dd_find_posts']}</a>
							</div>
						</if>
					</div>
				</div>
				<!-- member menu -->
				<script type="text/javascript">
					ipsmenu.register( "post-member-{$post['pid']}", '', 'popmenubutton-new', 'popmenubutton-new-out' );
				</script>
			<else />
				<span class="{$post['name_css']}">{$author['_members_display_name']}</span>
			</if>
			
		</td>
		<td class="row2" valign="middle" width="99%">
			<!-- POSTED DATE DIV -->
			<div style="float: left;">
				<span class="postdetails">{$post['post_icon']} <img src='{$this->ipsclass->vars['img_url']}/to_post_off.gif' alt='{$this->ipsclass->lang['to_post_alt']}' border='0' style='padding-bottom:2px' /> {$post['post_date']}</span>
			</div>
			<!-- REPORT / DELETE / EDIT / QUOTE DIV -->
			<div align="right">
				<span class="postdetails">{$post['ip_address']} {$this->ipsclass->lang['posted_on']}
					<a title="{$this->ipsclass->lang['tt_link']}" href="{$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}?showtopic={$post['topic_id']}&amp;view=findpost&amp;p={$post['pid']}" onclick="link_to_post({$post['pid']}); return false;">#{$post['post_count']}</a>
					<if="$this->ipsclass->member['is_mod']">
						&#0124; <a href="#" title="{$this->ipsclass->lang['click_for_mod']}" onclick="topic_toggle_pid('{$post['pid']}'); return false;">{$post['pid_start_image']}</a>
					</if>
				</span>
			</div>
		</td>
	</tr>
	<tr>
		<td valign="top" class="{$post['post_css']}">
        	<span class="postdetails">
				<if="$author['id'] AND $author['avatar']">
					<a href="{$this->ipsclass->base_url}showuser={$author['id']}" title="{$this->ipsclass->lang['dd_view_profile']}">{$author['avatar']}</a><br /><br />
				<else />
        			{$author['avatar']}<br /><br />
				</if>
        		{$author['title']}<br />
        		{$author['member_rank_img']}<br /><br />
        		{$author['member_group']}<br />
        		{$author['member_posts']}<br />
        		{$author['member_joined']}<br />
        		{$author['member_location']}
        		{$author['member_number']}<br />
				<if="$author['custom_fields'] != """>
					{$author['custom_fields']}
				</if>
				<br />
        		{$author['warn_text']} {$author['warn_minus']}{$author['warn_img']}{$author['warn_add']}
        	</span><br />
        	<img src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width="160" height="1" /><br /> 
       </td>
       <td width="100%" valign="top" class="{$post['post_css']}" id='post-main-{$post['pid']}'>
			<!-- THE POST {$post['pid']} -->
			<div class="postcolor" id='post-{$post['pid']}'>
				{$post['post']}
				{$post['edit_by']}
				<if="$post['post_edit_reason'] != ''">
					<div class='post-edit-reason'>
						{$this->ipsclass->lang['reason_for_edit']}: {$post['post_edit_reason']}
					</div>
				</if>
				<!--IBF.ATTACHMENT_{$post['pid']}-->
			</div>
			
			{$post['signature']}
			<!-- THE POST -->		
		</td>
	</tr>
	<tr>
		<td class="formbuttonrow" nowrap="nowrap">
			<div style='text-align:left'><a href="javascript:scroll(0,0);"><{P_UP}></a>{$post['report_link']}</div>
		</td>
		<td class="formbuttonrow" nowrap="nowrap">
			<!-- PM / EMAIL / WWW / MSGR -->
			<div style="float: left;">
				&nbsp;
			</div>
			<!-- REPORT / UP -->
         	<div align="right">
         		{$post['delete_button']}{$post['edit_button']}<a href="#" onclick="multiquote_add({$post['pid']}); return false;" title="{$this->ipsclass->lang['mq_title']}">{$post['mq_start_image']}</a><a href="{$this->ipsclass->base_url}act=Post&amp;CODE=02&amp;f={$this->ipsclass->input['f']}&amp;t={$this->ipsclass->input['t']}&amp;qpid={$post['pid']}" title="{$this->ipsclass->lang['tt_reply_to_post']}"><{P_QUOTE}></a>
         	</div>
         </td>
	</tr><tr>
	<td class="catend" colspan="2">
	<!-- no content -->
	</td>
</tr>
</table>
<if="$post['edit_button']!=''">
<script type='text/javascript'>
//<!#^#|CDATA|
if ( ajax_loaded && use_enhanced_js )
{
menu_build_menu( 'edit-but-{$post['pid']}',
	new Array(  img_item + " <a title='{$this->ipsclass->lang['edit_full_desc']}' href='{$this->ipsclass->base_url}act=post&amp;do=edit_post&amp;f={$post['forum_id']}&amp;t={$post['topic_id']}&amp;p={$post['pid']}&amp;st={$this->ipsclass->input['st']}'>{$this->ipsclass->lang['edit_full_title']}</a>",
				img_item + " <a href='#' title='{$this->ipsclass->lang['edit_quick_desc']}' onclick='return ajax_prep_for_edit({$post['pid']}, event);'>{$this->ipsclass->lang['edit_quick_title']}</a>" ) );
}
//|#^#]>
</script>
</if>]]></section_content>
			<func_name>RenderRow</func_name>
			<func_data><![CDATA[$post="",$author=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<input type="hidden" name="regid" id='regid' value="$regid" />
	<fieldset>
	<legend><b>{$this->ipsclass->lang['las_title']}</b></legend>
		<table class='ipbtable' cellspacing="0">
			<tr>
				<td width="1%">
					{$this->ipsclass->lang['las_input']}<div class="desc">{$this->ipsclass->lang['las_input_text']}</div>
					<input type="text" size="25" maxlength="32" name="reg_code" />
				</td>
				<td align="center" ><img id='gd-antispam' src="{$this->ipsclass->base_url}act=Reg&amp;CODE=image&amp;rc={$regid}" title='{$this->ipsclass->lang['gbl_gd_reload']}' alt="{$this->ipsclass->lang['alt_loadingimg']}" />
									<script type='text/javascript'>
										init_gd_image();
									</script>
				</td>
			</tr>
		</table>
	</fieldset>]]></section_content>
			<func_name>bot_antispam_gd</func_name>
			<func_data><![CDATA[$regid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[{$this->ipsclass->lang['m_joined']} $date]]></section_content>
			<func_name>member_joined</func_name>
			<func_data><![CDATA[$date=""]]></func_data>
			<group_names_secondary>,skin_calendar,skin_mlist,skin_msg,skin_search,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[{$this->ipsclass->lang['m_location']} $location<br />]]></section_content>
			<func_name>member_location</func_name>
			<func_data><![CDATA[$location=""]]></func_data>
			<group_names_secondary>,skin_calendar,skin_mlist,skin_msg,skin_search,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[{$this->ipsclass->lang['member_no']} $number]]></section_content>
			<func_name>member_number</func_name>
			<func_data><![CDATA[$number=""]]></func_data>
			<group_names_secondary>,skin_calendar,skin_mlist,skin_msg,skin_search,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[{$this->ipsclass->lang['m_posts']} $posts]]></section_content>
			<func_name>member_posts</func_name>
			<func_data><![CDATA[$posts=""]]></func_data>
			<group_names_secondary>,skin_calendar,skin_mlist,skin_msg,skin_search,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<img src="$filename" alt="{$this->ipsclass->lang['group_icon']}" />]]></section_content>
			<func_name>member_rank_img</func_name>
			<func_data><![CDATA[$filename=""]]></func_data>
			<group_names_secondary>,skin_calendar,skin_mlist,skin_msg,skin_profile,skin_search,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[</select>&nbsp;
		<input type="submit" value="{$this->ipsclass->lang['mm_submit']}" class="button" />
	</form>
</div>]]></section_content>
			<func_name>mm_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<option value="$id">$name</option>]]></section_content>
			<func_name>mm_entry</func_name>
			<func_data><![CDATA[$id="",$name=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<div style="float: left;">
	<form action="{$this->ipsclass->base_url}act=mmod&amp;t=$tid" method="post">
	<input type="hidden" name="check" value="1" />
		<select name="mm_id" class="dropdown">
			<option value="-1">{$this->ipsclass->lang['mm_title']}</option>]]></section_content>
			<func_name>mm_start</func_name>
			<func_data><![CDATA[$tid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<if="$this->ipsclass->member['is_mod'] != 1">
<div class="borderwrap">
	<div class="bar" style="padding: 5px;">
</if>
		<div>
			<form method="post" name="modform2" action="{$this->ipsclass->base_url}">
			<input type="hidden" name="t" value="$tid" />
			<input type="hidden" name="f" value="$fid" />
			<input type="hidden" name="st" value="{$this->ipsclass->input['st']}" />
			<input type="hidden" name="auth_key" value="$key" />
			<input type="hidden" name="act" value="Mod" />
				<select name="CODE" class="dropdown">
					<option value="-1">{$this->ipsclass->lang['moderation_ops']}</option>
					$data
				</select>&nbsp;
				<input type="submit" value="{$this->ipsclass->lang['jmp_go']}" class="button" />
			</form>
		</div>
<if="$this->ipsclass->member['is_mod'] != 1">
	 </div>
</div>
</if>]]></section_content>
			<func_name>Mod_Panel</func_name>
			<func_data><![CDATA[$data="",$fid="",$tid="",$key=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<if="$this->ipsclass->member['is_mod']">
<div class="borderwrap">
	<div class="bar" style="padding: 5px;">
		<div style="float: right; text-align: right;">
	 		<form name="modform" method="post" action="{$this->ipsclass->base_url}" onsubmit="return checkdelete();">
	 			<input type="hidden" name="act" value="mod" />
	 			<input type="hidden" name="CODE" value="postchoice" />
	 			<input type="hidden" name="f" value="{$data['TOPIC']['forum_id']}" />
	 			<input type="hidden" name="t" value="{$data['TOPIC']['tid']}" />
	 			<input type="hidden" name="auth_key" value="{$auth_key}" />
	 			<input type="hidden" name="st" value="{$this->ipsclass->input['st']}" />
	 			<input type="hidden" value="{$this->ipsclass->input['selectedpids']}" name="selectedpids" />
	 			<select name="tact">
	 				<option value="merge">{$this->ipsclass->lang['cpt_merge']}</option>
	 				<option value="move">{$this->ipsclass->lang['cpt_move']}</option>
	 				<option value="delete">{$this->ipsclass->lang['cpt_delete']}</option>
	 				<option value="split">{$this->ipsclass->lang['cpt_split']}</option>
	 				<option value="approve">{$this->ipsclass->lang['cpt_approve']}</option>
	 				<option value="unapprove">{$this->ipsclass->lang['cpt_unapprove']}</option>
	 			</select>&nbsp;
	 			<input type="submit" name="gobutton" value="{$this->ipsclass->lang['f_go']} ({$this->ipsclass->input['selectedpidcount']})" class="button" />
	 		</form>
	 	</div>
		<!--IBF.MOD_PANEL-->
	 </div>
</div>
</if>]]></section_content>
			<func_name>mod_panel_wrapper</func_name>
			<func_data><![CDATA[$data=array(),$auth_key=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<option value="$id">-{$text}</option>]]></section_content>
			<func_name>mod_wrapper</func_name>
			<func_data><![CDATA[$id="",$text=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<img src="{$this->ipsclass->vars['img_url']}/p_mq_add.gif" name="mad_$pid" alt="+" />]]></section_content>
			<func_name>mq_image_add</func_name>
			<func_data><![CDATA[$pid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<img src="{$this->ipsclass->vars['img_url']}/p_mq_remove.gif" name="mad_$pid" alt="-" />]]></section_content>
			<func_name>mq_image_remove</func_name>
			<func_data><![CDATA[$pid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<img name="img{$pid}" src="{$this->ipsclass->vars['img_url']}/topic_selected.gif" alt='' />]]></section_content>
			<func_name>pid_image_selected</func_name>
			<func_data><![CDATA[$pid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<img name="img{$pid}" src="{$this->ipsclass->vars['img_url']}/topic_unselected.gif" alt='' />]]></section_content>
			<func_name>pid_image_unselected</func_name>
			<func_data><![CDATA[$pid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon{$icon}.gif" alt="" />]]></section_content>
			<func_name>post_icon</func_name>
			<func_data><![CDATA[$icon=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<a href="javascript:ShowHide('qr_open','qr_closed');" title="{$this->ipsclass->lang['qr_open']}" accesskey="f"><{T_QREPLY}></a>]]></section_content>
			<func_name>quick_reply_box_closed</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<div id="qr_open" style="display: $show; position: relative;">
<br />
<form name="REPLIER" action="{$this->ipsclass->base_url}" method="post">
<input type="hidden" name="act" value="Post" />
<input type="hidden" name="CODE" value="03" />
<input type="hidden" name="f" value="$fid" />
<input type="hidden" name="t" value="$tid" />
<input type="hidden" name="st" value="{$this->ipsclass->input['st']}" />
<input type="hidden" name="auth_key" value="$key" />
<input type="hidden" name="fast_reply_used" value="1" />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['qr_title']}</div>
	<div style='padding:6px;' align="center" class='row2'>
		<div id='fast-reply-controls' align='center' style='width:75%;padding:6px; margin:0 auto 0 auto' class="rte-buttonbar">
		<table cellpadding="2" cellspacing="0" width='100%'>
		<tr>
		 <td width='1%' align='left' nowrap='nowrap'>
		  <table cellpadding='0' cellspacing='0' width='100%'>
		   <tr>
		     <td><div class="rte-normal" id="fast-reply_cmd_bold"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-bold.png"  alt="{$this->ipsclass->lang['js_tt_bold']}" title="{$this->ipsclass->lang['js_tt_bold']}" /></div></td>
		     <td><div class="rte-normal" id="fast-reply_cmd_italic"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-italic.png"  alt="{$this->ipsclass->lang['js_tt_italic']}" title="{$this->ipsclass->lang['js_tt_italic']}" /></div></td>
		     <td><div class="rte-normal" id="fast-reply_cmd_underline"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-underlined.png" alt="{$this->ipsclass->lang['js_tt_underline']}" title="{$this->ipsclass->lang['js_tt_underline']}" /></div></td>
		   	 <td><div class="rte-normal" id="fast-reply_cmd_createlink"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-link-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_link']}" title="{$this->ipsclass->lang['js_rte_lite_link']}" /></div></td>
			 <td><div class="rte-normal" id="fast-reply_cmd_insertimage"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-image-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_img']}" title="{$this->ipsclass->lang['js_rte_lite_img']}" /></div></td>
			 <td><div class="rte-normal" id="fast-reply_cmd_emoticon"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-emo-button.png"  alt="{$this->ipsclass->lang['js_tt_emoticons']}" title="{$this->ipsclass->lang['js_tt_emoticons']}" /></div></td>
		     <td><div class="rte-normal" id="fast-reply_cmd_ipb_quote"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-quote-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_quote']}" title="{$this->ipsclass->lang['js_rte_lite_quote']}" /></div></td>
			 <td><div class="rte-normal" id="fast-reply_cmd_ipb_code"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-code-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_code']}" title="{$this->ipsclass->lang['js_rte_lite_code']}" /></div></td>
		</tr>
		  </table>
		 </td>
		 <td width='98%'>&nbsp;</td>
		 <td width='1%' align='right' nowrap='nowrap'>
			<table cellpadding='0' cellspacing='0' width='100%'>
	           <tr>
	               	<td>
					   <div class="rte-normal" id="fast-reply_resize_up" style='padding:0px;margin:0px;'><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-resize-up.gif"  alt="" /></div>
					   <div class="rte-normal" id="fast-reply_resize_down" style='padding:0px;margin:0px;padding-top:1px'><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-resize-down.gif"  alt="" title="" /></div>
				   </td>
	           </tr>
	          </table>
		 </td>
		</tr>
		</table>
	   <div style='padding-bottom:8px'>
	    	<textarea style='margin:0px;padding:4px;width:98%' tabindex="1" name='Post' id='fast-reply_textarea' class='rte-iframe' cols='80' rows='15'></textarea>
	   </div>
	   <div>
			<div>
				<if="$this->ipsclass->member['auto_track'] == "" or $this->ipsclass->member['auto_track'] == '0'">
					<input type="checkbox" name="enabletrack" value="1" class="checkbox" />&nbsp;{$this->ipsclass->lang['qr_add_email']} &#124;
				<else />
					<input type="checkbox" name="enabletrack" value="1" class="checkbox" checked="checked" />&nbsp;{$this->ipsclass->lang['qr_add_email']} &#124;
				</if>
				<input type="checkbox" name="enableemo" value="yes" class="checkbox" checked="checked" />&nbsp;{$this->ipsclass->lang['qr_add_smilie']} &#124;
				<input type="checkbox" name="enablesig" value="yes" class="checkbox" checked="checked" />&nbsp;{$this->ipsclass->lang['qr_add_sig']}
			</div>
		    <div style='margin-top:3px'>
				<input type="submit" name="submit" value="{$this->ipsclass->lang['qr_submit']}" class="button" tabindex="2" accesskey="s" /> &nbsp;
				<input type="submit" name="preview" value="{$this->ipsclass->lang['qr_more_opts']}" class="button" /> &nbsp;
				<input type="button" name="qrc" onclick="ShowHide('qr_open','qr_closed');" value="{$this->ipsclass->lang['qr_closeit']}" class="button" />
			</div>
	   </div>
	</div>
	</div>
</div>
</form>
</div>
<script type='text/javascript'>
<!--
IPS_Lite_Editor[ 'fast-reply' ] = new ips_text_editor_lite( 'fast-reply' );
IPS_Lite_Editor[ 'fast-reply' ].init();
IPS_Lite_Editor[ 'fast-reply' ].text_obj.style.height = '150px';
-->
</script>
<!--<div id="qr_open" style="display: $show; position: relative;">
<br />
<form name="REPLIER" action="{$this->ipsclass->base_url}" method="post">
<input type="hidden" name="act" value="Post" />
<input type="hidden" name="CODE" value="03" />
<input type="hidden" name="f" value="$fid" />
<input type="hidden" name="t" value="$tid" />
<input type="hidden" name="st" value="{$this->ipsclass->input['st']}" />
<input type="hidden" name="auth_key" value="$key" />
<input type="hidden" name="fast_reply_used" value="1" />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['qr_title']}</div>
	<div style='padding:6px' align="center">
		
<if="$this->ipsclass->member['auto_track'] == "" or $this->ipsclass->member['auto_track'] == '0'">
	<input type="checkbox" name="enabletrack" value="1" class="checkbox" />&nbsp;{$this->ipsclass->lang['qr_add_email']} &#124;
<else />
	<input type="checkbox" name="enabletrack" value="1" class="checkbox" checked="checked" />&nbsp;{$this->ipsclass->lang['qr_add_email']} &#124;
</if>
		<input type="checkbox" name="enableemo" value="yes" class="checkbox" checked="checked" />&nbsp;<a href="javascript:emo_pop();">{$this->ipsclass->lang['qr_add_smilie']}</a> &#124;
		<input type="checkbox" name="enablesig" value="yes" class="checkbox" checked="checked" />&nbsp;{$this->ipsclass->lang['qr_add_sig']}
		<br />
		<br />
		<input type="submit" name="submit" value="{$this->ipsclass->lang['qr_submit']}" class="button" tabindex="2" accesskey="s" /> &nbsp;
		<input type="submit" name="preview" value="{$this->ipsclass->lang['qr_more_opts']}" class="button" /> &nbsp;
		<input type="button" name="qrc" onclick="ShowHide('qr_open','qr_closed');" value="{$this->ipsclass->lang['qr_closeit']}" class="button" />
	</div>
</div>
</form>
</div>-->]]></section_content>
			<func_name>quick_reply_box_open</func_name>
			<func_data><![CDATA[$fid="",$tid="",$show="hide",$key=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[<script type="text/javascript" src='jscripts/ipb_xhr_findnames.js'></script>
<script type="text/javascript">
//<!#^#|CDATA|
<!-- // Hide js from html validator
	function go_gadget_simple(){
		window.location = "{$this->ipsclass->js_base_url}act=Search&mode=simple&f={$this->ipsclass->input['f']}";
	}
	
	function win_pop(){
		window.open("{$this->ipsclass->js_base_url}act=Search&CODE=explain","WIN","width=400,height=300,resizable=yes,scrollbars=yes"); 
	}
//-->
//|#^#]>
</script>
<form action="{$this->ipsclass->base_url}act=Search&amp;CODE=01" id='postingform' method="post" name="sForm">
<div id='ipb-get-members' style='border:1px solid #000; background:#FFF; padding:2px;position:absolute;width:210px;display:none;z-index:1'></div>
<div class="borderwrap">
	<table class='ipbtable' cellspacing="0">
		<tr>
			<td colspan="2" class="maintitle"  align="center">{$this->ipsclass->lang['keywords_title']}</td>
		</tr>
		<tr>
			<td class="formsubtitle" width="50%">{$this->ipsclass->lang['key_search']}</td>
			<td class="formsubtitle" width="50%">{$this->ipsclass->lang['mem_search']}</td>
		</tr>
		<tr>
			<td class="row1" valign="top">
				<input type="text" maxlength="100" size="40" name="keywords" id="keywords" />
				<br /><br />
				<label for="keywords">{$this->ipsclass->lang['keysearch_text']}</label> <!--IBF.BOOLEAN_EXPLAIN-->
			</td>
			<td class="row1" valign="top">
				<table class='ipbtable' cellspacing="0">
					<tr>
						<td><input type="text" maxlength="100" size="50" id="entered_name" style='width:210px' name="namesearch" /></td>
					</tr>
					<tr>
						<td width="40%"><input type="checkbox" name="exactname" id="matchexact" value="1" class="checkbox" /><label for="matchexact">{$this->ipsclass->lang['match_name_ex']}</label></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</div>
<br />
<div class="borderwrap">
	<table class='ipbtable' cellspacing="0">         
		<tr>
			<td colspan="2" class="maintitle"  align="center">{$this->ipsclass->lang['search_options']}</td>
		</tr>
		<tr>
			<td class="formsubtitle" width="50%" valign="middle">{$this->ipsclass->lang['search_where']}</td>
			<td class="formsubtitle" width="50%" valign="middle">{$this->ipsclass->lang['search_refine']}</td>
		</tr>
		<tr>
			<td class="row1" valign="middle">
				$forums
				<br />
				<input type="checkbox" name="searchsubs" value="1" id="searchsubs" checked="checked" class='checkbox' />&nbsp;<label for="searchsubs">{$this->ipsclass->lang['search_in_subs']}</label>
			</td>
			<td class="row1" valign="top">
				<table class='ipbtable' cellspacing="1">
					<tr>
						<td valign="top">
							<fieldset class="search">
							<legend><b>{$this->ipsclass->lang['search_from']}</b></legend>
								<select name="prune">
									<option value="1">{$this->ipsclass->lang['today']}</option>
									<option value="7">{$this->ipsclass->lang['this_week']}</option>
									<option value="30">{$this->ipsclass->lang['this_month']}</option>
									<option value="60">{$this->ipsclass->lang['this_60']}</option>
									<option value="90">{$this->ipsclass->lang['this_90']}</option>
									<option value="180">{$this->ipsclass->lang['this_180']}</option>
									<option value="365">{$this->ipsclass->lang['this_year']}</option>
									<option value="0" selected="selected">{$this->ipsclass->lang['ever']}</option>
								</select><br />
								<input type="radio" name="prune_type" id="prune_older" value="older" class="radiobutton" />&nbsp;<label for="prune_older">{$this->ipsclass->lang['older']}</label><br />
								<input type="radio" name="prune_type" id="prune_newer" value="newer" class="radiobutton" checked="checked" />&nbsp;<label for="prune_newer">{$this->ipsclass->lang['newer']}</label>
							</fieldset>
						</td>
						<td valign="top">
							<fieldset class="search">
								<legend><b>{$this->ipsclass->lang['sort_results']}</b></legend>
									<select name="sort_key">
										<option value="last_post">{$this->ipsclass->lang['last_date']}</option>
										<option value="posts">{$this->ipsclass->lang['number_topics']}</option>
										<option value="starter_name">{$this->ipsclass->lang['poster_name']}</option>
										<option value="forum_id">{$this->ipsclass->lang['forum_name']}</option>
									</select><br />
									<input type="radio" name="sort_order" id="sort_desc" class="radiobutton" value="desc" checked="checked" /><label for="sort_desc">{$this->ipsclass->lang['descending']}</label><br />
									<input type="radio" name="sort_order" id="sort_asc" class="radiobutton" value="asc" /><label for="sort_asc">{$this->ipsclass->lang['ascending']}</label>
								</fieldset>
							</td>
						</tr>
						<tr>
							<td nowrap="nowrap">
								<fieldset class="search">
								<legend><b>{$this->ipsclass->lang['search_where']}</b></legend>
									<input type="radio" name="search_in" class="radiobutton" id="search_in_posts" value="posts" checked="checked" /><label for="search_in_posts">{$this->ipsclass->lang['in_posts']}</label><br />
									<input type="radio" name="search_in" class="radiobutton" id="search_in_titles" value="titles" /><label for="search_in_titles">{$this->ipsclass->lang['in_topics']}</label>
								</fieldset>
							</td>
							<td>
								<fieldset class="search">
								<legend><b>{$this->ipsclass->lang['result_type']}</b></legend>
									<input type="radio" name="result_type" class="radiobutton" value="topics" id="result_topics" checked="checked" /><label for="result_topics">{$this->ipsclass->lang['results_topics']}</label><br />
									<input type="radio" name="result_type" class="radiobutton" value="posts" id="result_posts" /><label for="result_posts">{$this->ipsclass->lang['results_post']}</label>
								</fieldset>
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td class="formsubtitle" colspan="2" align="center"><input class='button' type="submit" value="{$this->ipsclass->lang['do_search']}" /><!--IBF.SIMPLE_BUTTON--></td>
			</tr>
		</table>
	</div>
</form>
<script type="text/javascript">
	// INIT find names
	formobj = document.getElementById('postingform');
	formobj.entered_name.autocomplete = 'off';
	init_js( 'postingform', 'entered_name', 'get-member-names');
	// Run main loop
	setTimeout( 'main_loop()', 10 );
</script>]]></section_content>
			<func_name>Form</func_name>
			<func_data><![CDATA[$forums=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[&nbsp;<input class='button' type="button" value="{$this->ipsclass->lang['so_less_opts']}" onclick="go_gadget_simple()" />]]></section_content>
			<func_name>form_simple_button</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<div class="formsubtitle">$words</div>]]></section_content>
			<func_name>mod_exp</func_name>
			<func_data><![CDATA[$words=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[</table>
</div>]]></section_content>
			<func_name>mod_log_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<tr>
	<td class="pformright" colspan="3" align="center"><i>{$this->ipsclass->lang['ml_none']}</i></td>
</tr>]]></section_content>
			<func_name>mod_log_none</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<tr>
	<td class="pformright">{$data['member']}</td>
	<td class="pformright">{$data['action']}</td>
	<td class="pformright">{$data['date']}</td>
</tr>]]></section_content>
			<func_name>mod_log_row</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<br />
	<div class="borderwrap">
	<div class="maintitle">{$this->ipsclass->lang['ml_title']}</div>
		<table class='ipbtable' cellspacing="1">
			<tr>
				<td class="formsubtitle" width="30%"><b>{$this->ipsclass->lang['ml_name']}</b></td>
				<td class="formsubtitle" width="50%"><b>{$this->ipsclass->lang['ml_desc']}</b></td>
				<td class="formsubtitle" width="20%"><b>{$this->ipsclass->lang['ml_date']}</b></td>
			</tr>]]></section_content>
			<func_name>mod_log_start</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle">$title</div>
		<div class="tablepad">
			$msg
			<br /><br />
			<div align="center"><a href="#" onclick="window.close();">{$this->ipsclass->lang['cpp_close']}</a></div>
		</div>
	</div>]]></section_content>
			<func_name>mod_simple_page</func_name>
			<func_data><![CDATA[$title="",$msg=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[</table>
			<div align="center" class="tablepad"><b>{$this->ipsclass->lang['cp_tmove_to']}</b>&nbsp;&nbsp;<select name="df">$jump_html</select></div>
			<div align="center" class="formsubtitle"><input type="submit" class='button' value="{$this->ipsclass->lang['cp_tmove_end']}" /></div>
	</div>
</form>]]></section_content>
			<func_name>move_checked_form_end</func_name>
			<func_data><![CDATA[$jump_html=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<tr>
	<td class="row1" width="40%" align="right"><input class='checkbox' type="checkbox" name="TID_$tid" value="1" checked="checked" /></td>
	<td class="row1" width="60%"><b>$title</b></td>
</tr>]]></section_content>
			<func_name>move_checked_form_entry</func_name>
			<func_data><![CDATA[$tid="",$title=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle">{$this->ipsclass->lang['cp_tmove_start']} $forum_name</div>
		<table class='ipbtable' cellspacing="0">
		<tr>
			<td class="formsubtitle" colspan='2' align='center'><b>{$this->ipsclass->lang['leave_link']}</b>&nbsp; <select name="leave"><option value="y" selected="selected">{$this->ipsclass->lang['yes']}</option><option value="n">{$this->ipsclass->lang['no']}</option></select></td>
		</tr>]]></section_content>
			<func_name>move_checked_form_start</func_name>
			<func_data><![CDATA[$forum_name=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<table class='ipbtable' cellspacing="1">
		<tr>
			<td class="pformleftw"><b>{$this->ipsclass->lang[move_from]} <b>$forum_name</b> {$this->ipsclass->lang[to]}</b></td>
			<td class="pformright"><select name="move_id">$jhtml</select></td>
		</tr>
		<tr>
			<td class="pformleftw"><b>{$this->ipsclass->lang['leave_link']}</b></td>
			<td class="pformright"><select name="leave"><option value="y" selected="selected">{$this->ipsclass->lang['yes']}</option><option value="n">{$this->ipsclass->lang['no']}</option></select></td>
		</tr>
	</table>]]></section_content>
			<func_name>move_form</func_name>
			<func_data><![CDATA[$jhtml="",$forum_name=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<table class='ipbtable' cellspacing="1">
		<tr>
			<td class="row2" width="40%"><b>{$this->ipsclass->lang['cmp_topic']}</b><div class="desc">{$this->ipsclass->lang['cmp_topic2']}</div></td>
			<td class="row2" width="60%"><input type="text" size="50" name="topic_url" value="" /></td>
		</tr>
	</table>
</div>
<br />
<div class="borderwrap">
	<div class="maintitle">{$this->ipsclass->lang['st_post']}</div>]]></section_content>
			<func_name>move_post_body</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<script type="text/javascript" src='jscripts/ipb_xhr_findnames.js'></script>
<div id='ipb-get-members' style='border:1px solid #000; background:#FFF; padding:2px;position:absolute;width:210px;display:none;z-index:1'></div>
<div class="borderwrap" style='text-align:left'>
<if="$confirm_data['show'] == 1">
<div class="maintitle">
	 <div>{$this->ipsclass->lang['mpt_confirm']}</div>
 </div>
 <div class="formsubtitle">{$this->ipsclass->lang['cp_check_result']}</div>
	 <table class='ipbtable' cellspacing="0">
		 <tr>
			 <td class="pformleftw"><b>{$this->ipsclass->lang['cp_total_topics']}</b></td>
			 <td class="pformright">{$confirm_data['tcount']}</td>
		 </tr>
		 <tr>
			 <td class="pformleftw"><span>{$this->ipsclass->lang['cp_total_match']}</span></td>
			 <td class="pformright"><span>{$confirm_data['count']}</span></td>
		 </tr>
	 </table>
	 
	 <form action="{$this->ipsclass->base_url}{$confirm_data['link']}" method="post">
		 <input type="hidden" name="auth_key" value="$auth_key" />
		 <div class="formsubtitle" align="center"><input type="submit" class='button' value="{$confirm_data['link_text']}" /></div>
	 </form>
 </div>
</if>
<if="$complete_html != ''">
{$complete_html}
</if>
<div class="maintitle">{$this->ipsclass->lang['cp_prune']} {$forum['name']}</div>
<div class="formsubtitle">{$this->ipsclass->lang['mpt_help']}</div>
<div class="tablepad">{$this->ipsclass->lang['cp_prune_text']}</div>
<form name="ibform" id='postingform' action="{$this->ipsclass->base_url}" method="POST">
	<input type="hidden" name="s" value="{$this->ipsclass->session_id}" />
	<input type="hidden" name="act" value="mod" />
	<input type="hidden" name="CODE" value="prune_start" />
	<input type="hidden" name="f" value="{$forum['id']}" />
	<input type="hidden" name="auth_key" value="$auth_key" />
	<input type="hidden" name="check" value="1" />
	
		<div class="formsubtitle">{$this->ipsclass->lang['mpt_title']}</div>
		<div class="tablepad">
		<fieldset>
		 <legend><strong>{$this->ipsclass->lang['cp_action']}</strong></legend>
		 <table class='ipbtable' cellspacing="0" cellpadding='4'>
		 <tr>
		  <td>{$this->ipsclass->lang['cp_prune_action2']}</td>
		  <td><select name="df">$forums_html</select></td>
		 </tr>
		 <tr>
		  <td width='35%'>{$this->ipsclass->lang['cp_per_go']}</td>
		  <td width='65%'><input type="text" size="5" name="pergo" value="{$this->ipsclass->input['pergo']}" /></td>
		 </tr>
		 </table>
		  
		</fieldset>
		
		<br />
		<fieldset>
		 <legend><strong>{$this->ipsclass->lang['cp_prune_days']}</strong></legend>
		 <table class='ipbtable' cellspacing="0" cellpadding='4'>
		 <tr>
		  <td>{$this->ipsclass->lang['cp_prune_member']}</td>
		  <td><input type="text" size="30" name="member" id='entered_name' autocomplete='off' style='width:210px' value="{$this->ipsclass->input['member']}" /></td>
		 </tr>
		 <tr>
		  <td width='35%'>{$this->ipsclass->lang['cp_prune_days2']}</td>
		  <td width='65%'><input type="text" size="5" name="dateline" value="{$this->ipsclass->input['dateline']}" /></td>
		 </tr>
		 <tr>
		   <td>{$this->ipsclass->lang['cp_prune_replies']}</td>
		   <td><input type="text" size="5" name="posts" value="{$this->ipsclass->input['posts']}" /></td>
		 </tr>
		 <tr>
		  <td>{$this->ipsclass->lang['cp_prune_type']}</td>
		  <td>$select</td>
		 </tr>
		 <tr>
		  <td>{$this->ipsclass->lang['mps_ignorepin']}</td>
		  <td><input type="checkbox" id="cbox" name="ignore_pin" value="1" checked="checked" class="checkbox" /></td>
		 </tr>
		 </table>
		 <div class='desc' align='center'>{$this->ipsclass->lang['cp_optional']}</div>
		</fieldset>
		</div>
		<div class="formsubtitle" align="center"><input type="submit" value="{$this->ipsclass->lang['cp_prune_sub1']}" class="button" /></div>
	</div>
</form>
<script type="text/javascript">
	// INIT find names
	init_js( 'postingform', 'entered_name');
	// Run main loop
	setTimeout( 'main_loop()', 10 );
</script>]]></section_content>
			<func_name>prune_splash</func_name>
			<func_data><![CDATA[$forum="",$forums_html="",$select="",$auth_key="",$confirm_data="",$complete_html=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}act=mod&amp;CODE=postchoice&amp;tact=merge&amp;checked=1" method="post">
	<input type="hidden" name="act" value="mod" />
	<input type="hidden" name="selectedpids" value="{$this->ipsclass->input['selectedpids']}" />
	<input type="hidden" name="auth_key" value="{$auth_key}" />
	<input type="hidden" name="t" value="{$this->ipsclass->input['t']}" />
	<input type="hidden" name="f" value="{$this->ipsclass->input['f']}" />
	<input type="hidden" name="st" value="{$this->ipsclass->input['st']}" />
	
		<div class="borderwrap">
		<div class="maintitle">{$this->ipsclass->lang['cm_title']}</div>
			<table class='ipbtable' cellspacing="1">
				<tr>
					<td width="35%" class="row2"><b>{$this->ipsclass->lang['cm_post']}</b></td>
					<td width="65%" class="row2"><select name="postdate" class="dropdown">{$pid}</select></td>
				</tr>
				<tr>
					<td class="row2"><b>{$this->ipsclass->lang['cm_author']}</b></td>
					<td class="row2"><select name="postauthor" class="dropdown">{$author}</select></td>
				</tr>
				<tr>
					<td class="row2" valign="top"><b>{$this->ipsclass->lang['cm_text']}</b></td>
					<td class="row2"><textarea cols="70" rows="20" name="Post" class="textarea">$post</textarea></td>
				</tr>
<if="$upload != """>
<tr>
					<td class="row2" valign="top"><b>{$this->ipsclass->lang['cm_attach']}</b><div class="desc">{$this->ipsclass->lang['cm_attach2']}</div></td>
					<td class="row2">
						<table class='ipbtable' cellspacing="1">
							$upload
						</table>
					</td>
				</tr>
</if>
			</table>
			<div class="formsubtitle" align="center"><input type="submit" class='button' value="{$this->ipsclass->lang['cm_submit']}" /></div>
		</div>
</form>]]></section_content>
			<func_name>merge_post_form</func_name>
			<func_data><![CDATA[$post="",$pid="",$author="",$auth_key="",$upload=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<table class='ipbtable' cellspacing="1">
		<tr>
			<td class="pformleftw">{$this->ipsclass->lang['mt_new_title']}</td>
			<td class="pformright"><input type="text" size="40" maxlength="250" name="title" value="$title" /></td>
		</tr>
		<tr>
			<td class="pformleftw">{$this->ipsclass->lang['mt_new_desc']}</td>
			<td class="pformright"><input type="text" size="40" maxlength="250" name="desc" value="$desc" /></td>
		</tr>
		<tr>
			<td class="pformleftw">{$this->ipsclass->lang['mt_tid']}</td>
			<td class="pformright"><input type="text" size="40" name="topic_url" value="" /></td>
		</tr>
	</table>]]></section_content>
			<func_name>merge_body</func_name>
			<func_data><![CDATA[$title="",$desc=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<br />
	<div align="right">{$data}</div>
<br />]]></section_content>
			<func_name>forum_jump</func_name>
			<func_data><![CDATA[$data="",$menu_extra=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<input type="text" size="35" name="$name" value="$value" />]]></section_content>
			<func_name>field_textinput</func_name>
			<func_data><![CDATA[$name="",$value=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<textarea cols="60" rows="5" wrap="soft" name="$name">$value</textarea>]]></section_content>
			<func_name>field_textarea</func_name>
			<func_data><![CDATA[$name="",$value=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<div class="formsubtitle" align="center"><input type="submit" class='button' name="submit" value="$action" /></div>
	</div>
</form>]]></section_content>
			<func_name>end_form</func_name>
			<func_data><![CDATA[$action=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<select name="$name">$options</select>]]></section_content>
			<func_name>field_dropdown</func_name>
			<func_data><![CDATA[$name="",$options=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<tr>
		<td class="row1" valign="top"><b>$title</b><br />$desc</td>
		<td class="row1">$content</td>
	</tr>]]></section_content>
			<func_name>field_entry</func_name>
			<func_data><![CDATA[$title="",$desc="",$content=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<script language="JavaScript" type="text/javascript">
	<!--
	function ValidateForm() {
		document.REPLIER.submit.disabled = true;
		return true;
	}
	-->
</script>]]></section_content>
			<func_name>delete_js</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mod</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle">{$this->ipsclass->lang['cp_em_title']}: {$profile['members_display_name']}</div>
		<table class='ipbtable' cellspacing="0">
			<tr>
				<td valign="top" width="50%" class='row2'>
					<fieldset>
					<legend><b>{$this->ipsclass->lang['cp_em_sub_main']}</b></legend>
						<table class='ipbtable' cellspacing="0">
							<tr>
								<td width="40%" class="row1">{$this->ipsclass->lang['cp_remove_av']}</td>
								<td width="60%" class="row1">
									<select name="avatar">
										<option value="0">{$this->ipsclass->lang['no']}</option>
										<option value="1">{$this->ipsclass->lang['yes']}</option>
									</select>
								</td>
							</tr>
							<tr>
								<td class="row1">{$this->ipsclass->lang['cp_remove_photo']}</td>
								<td class="row1">
									<select name="photo">
										<option value="0">{$this->ipsclass->lang['no']}</option>
										<option value="1">{$this->ipsclass->lang['yes']}</option>
									</select>
								</td>
							</tr>
							<tr>
								<td class="row1">{$this->ipsclass->lang['cp_edit_website']}</td>
								<td class="row1"><input type="text" size="35" name="website" value="{$profile['website']}" /></td>
							</tr>
							<tr>
								<td class="row1">{$this->ipsclass->lang['cp_edit_location']}</td>
								<td class="row1"><input type="text" size="35" name="location" value="{$profile['location']}" /></td>
							</tr>
							<tr>
								<td class="row1" valign="top">{$this->ipsclass->lang['cp_edit_interests']}</td>
								<td class="row1"><textarea cols="35" rows="3" name="interests">{$profile['interests']}</textarea></td>
							</tr>
							<tr>
								<td class="row1" valign="top">{$this->ipsclass->lang['cp_edit_signature']}</td>
								<td class="row1"><textarea cols="35" rows="5" name="signature">{$profile['signature']}</textarea></td>
							</tr>
						</table>
					</fieldset>
				</td>
				<td valign="top" width="50%" class='row2'>
					<fieldset>
					<legend><b>{$this->ipsclass->lang['cp_em_sub_other']}</b></legend>
						<table class='ipbtable' cellspacing="0">
							<tr>
								<td class="row1" width="40%">{$this->ipsclass->lang['cp_em_yahoo']}</td>
								<td class="row1" width="60%"><input type="text" size="35" name="yahoo" value="{$profile['yahoo']}" /></td>
							</tr>
							<tr>
								<td class="row1">{$this->ipsclass->lang['cp_em_aim']}</td>
								<td class="row1"><input type="text" size="35" name="aim_name" value="{$profile['aim_name']}" /></td>
							</tr>
							<tr>
								<td class="row1">{$this->ipsclass->lang['cp_em_icq']}</td>
								<td class="row1"><input type="text" size="35" name="icq_number" value="{$profile['icq_number']}" /></td>
							</tr>
							<tr>
								<td class="row1">{$this->ipsclass->lang['cp_em_msn']}</td>
								<td class="row1"><input type="text" size="35" name="msnname" value="{$profile['msnname']}" /></td>
							</tr>
<if="$custom_fields != """>
$custom_fields
</if>
						</table>
					</fieldset>
				</td>
			</tr>
		</table>
		<div class="formsubtitle" align="center"><input type="submit" class='button' value="{$this->ipsclass->lang['cp_em_submit']}" /></div>
	</div>
</form>]]></section_content>
			<func_name>edit_user_form</func_name>
			<func_data><![CDATA[$profile="",$custom_fields=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mlist</group_name>
			<section_content><![CDATA[<tr>
	<td valign="top"><b>$title</b></td>
	<td>$content</td>
</tr>]]></section_content>
			<func_name>mlist_custom_field_entry</func_name>
			<func_data><![CDATA[$title="",$content=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mlist</group_name>
			<section_content><![CDATA[<select name="$name">
	<option value="" selected="selected">{$this->ipsclass->lang['s_any']}</option>
	$options
</select>]]></section_content>
			<func_name>mlist_custom_field_dropdown</func_name>
			<func_data><![CDATA[$name="",$options=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['announce_title']}: {$announce['announce_title']}</div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<td valign="middle" class="row2" width="1%">
				<a name="entry{$post['pid']}"></a>
				<if="$author['id']">
					<div id="post-member-{$announce['announce_member_id']}" class='popmenubutton-new-out'>
						<span class="normalname">{$author['_pp_online_image']}<a href="{$this->ipsclass->base_url}showuser={$author['id']}">{$author['_members_display_name']}</a></span>
					</div>
					<!-- member menu -->
					<div class='popupmenu-new' id='post-member-{$announce['announce_member_id']}_menu' style='display:none;width:230px'>
						<div class='popupmenu-item-last'>
							<if="$author['members_display_name_short'] != $author['members_display_name']">
								<div class='popupmenu-item'><strong>{$author['members_display_name']}</strong></div>
							</if>
							<div style='float:right'>
								<div class='pp-image-thumb-wrap'>
									<img src='{$author['pp_thumb_photo']}' width='{$author['pp_thumb_width']}' height='{$author['pp_thumb_height']}' alt='' />
								</div>
								<if="$this->ipsclass->vars['pp_allow_member_rate']">
									<div style='margin-top:5px;margin-left:6px;'>
										<img src="{$this->ipsclass->vars['img_url']}/rating_{$author['_pp_rating_real']}_mini.gif" alt='{$this->ipsclass->lang['rating_prefix']}: {$author['_pp_rating_real']}' style='vertical-align:middle' border='0' />
									</div>
								</if>
							</div>
							<div class='popupmenu-item'>
								{$author['_pp_gender_image']} <a href="{$this->ipsclass->base_url}showuser={$author['id']}">{$this->ipsclass->lang['dd_view_profile']}</a>
							</div>
							<if="$this->ipsclass->member['id']">
								<div class='popupmenu-item'>
									<if="in_array( $author['id'], array_keys( $this->ipsclass->member['_cache']['friends'] ) )">
										<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_remove_small.png' alt='' border='0' /> <a href="#" onclick='friends_pop("&amp;do=remove&amp;member_id={$author['id']}&amp;md5check={$this->ipsclass->md5_check}"); return false'>{$this->ipsclass->lang['dd_remove_friend']}</a>
									<else />
										<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_add_small.png' alt='' border='0' /> <a href="#" onclick='friends_pop("&amp;do=add&amp;member_id={$author['id']}&amp;md5check={$this->ipsclass->md5_check}"); return false'>{$this->ipsclass->lang['dd_add_friend']}</a>
									</if>
								</div>
								<div class='popupmenu-item'>
									<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/send_pm_small.png' alt='' border='0' /> <a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$author['id']}">{$this->ipsclass->lang['dd_send_pm']}</a>
								</div>
								<div class='popupmenu-item'>
									<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/find_posts.png' alt='' border='0' /> <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=gettopicsuser&amp;mid={$author['id']}'>{$this->ipsclass->lang['dd_find_topics']}</a>
								</div>								
							</if>
							<div class='popupmenu-item-last'>
								<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/find_posts.png' alt='' border='0' /> <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=getalluser&amp;mid={$author['id']}'>{$this->ipsclass->lang['dd_find_posts']}</a>
							</div>
						</div>
					</div>
					<!-- member menu -->
					<script type="text/javascript">
						ipsmenu.register( "post-member-{$announce['announce_member_id']}", '', 'popmenubutton-new', 'popmenubutton-new-out' );
					</script>
				<else />
					<span class="normalname">{$author['_members_display_name']}</span>
				</if>
				
			</td>
			<td class="row2" valign="middle" width="99%">
				<!-- POSTED DATE DIV -->
				<div align='left'>
					<span class="postdetails"><b>{$announce['announce_title']}</b>&nbsp; {$announce['running_date']}</span>
				</div>
			</td>
		</tr>
		<tr>
			<td valign="top" class="post1">
	        	<span class="postdetails">
					<if="$author['id'] AND $author['avatar']">
						<a href="{$this->ipsclass->base_url}showuser={$author['id']}" title="{$this->ipsclass->lang['dd_view_profile']}">{$author['avatar']}</a><br /><br />
					<else />
	        			{$author['avatar']}<br /><br />
					</if>
	        		{$author['title']}<br />
	        		{$author['member_rank_img']}<br /><br />
	        		{$author['member_group']}<br />
	        		{$author['member_posts']}<br />
	        		{$author['member_joined']}<br />
	        		{$author['member_location']}
	        		{$author['member_number']}<br />
					<if="$author['custom_fields'] != """>
						{$author['custom_fields']}
					</if>
					<br />
	        		{$author['warn_text']} {$author['warn_minus']}{$author['warn_img']}{$author['warn_add']}
	        	</span><br />
	        	<img src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width="160" height="1" /><br /> 
	       </td>
	       <td width="100%" valign="top" class="post1">
				<div class="postcolor">
					{$announce['announce_post']}
				</div>
			</td>
		</tr>
		<tr>
			<td class="formbuttonrow" nowrap="nowrap">
				<div style='text-align:left'><a href="javascript:scroll(0,0);"><{P_UP}></a>{$post['report_link']}</div>
			</td>
			<td class="formbuttonrow" nowrap="nowrap">
	         	<div align="right">
	         		&nbsp;
	         	</div>
	         </td>
		</tr><tr>
		<td class="catend" colspan="2">
		<!-- no content -->
		</td>
	</tr>
	</table>

</div>
<script type="text/javascript" src="jscripts/ipb_topic.js"></script>]]></section_content>
			<func_name>announcement_show</func_name>
			<func_data><![CDATA[$announce="",$author=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<a href="javascript:delete_post('{$this->ipsclass->base_url}act=Mod&amp;CODE=04&amp;f={$fid}&amp;t={$tid}&amp;p={$pid}&amp;st={$this->ipsclass->input['st']}&amp;auth_key=$key')"><{P_DELETE}></a>]]></section_content>
			<func_name>button_delete</func_name>
			<func_data><![CDATA[$fid="",$tid="",$pid="",$key=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<a id='edit-but-{$pid}' href="{$this->ipsclass->base_url}act=post&amp;do=edit_post&amp;f={$fid}&amp;t={$tid}&amp;p={$pid}&amp;st={$this->ipsclass->input['st']}"><{P_EDIT}></a>]]></section_content>
			<func_name>button_edit</func_name>
			<func_data><![CDATA[$fid="",$tid="",$pid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<a href="$url">$macro</a>]]></section_content>
			<func_name>button_posting</func_name>
			<func_data><![CDATA[$url="",$macro=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<!--
	( <a href="{$this->ipsclass->base_url}act=ST&amp;f=$fid&amp;t=$tid&amp;view=getnewpost">{$this->ipsclass->lang['go_new_post']}</a> )
-->]]></section_content>
			<func_name>golastpost_link</func_name>
			<func_data><![CDATA[$fid="",$tid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<i>{$this->ipsclass->lang['ip_private']}</i>]]></section_content>
			<func_name>ip_admin_hide</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<a href="{$this->ipsclass->base_url}act=usercp&amp;CODE=iptool&amp;ip={$ip}" target="_blank">{$ip}</a>]]></section_content>
			<func_name>ip_admin_show</func_name>
			<func_data><![CDATA[$ip=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[{$this->ipsclass->lang['ip']}: $data &#0124;]]></section_content>
			<func_name>ip_show</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[{$this->ipsclass->lang['m_group']} $title]]></section_content>
			<func_name>member_group</func_name>
			<func_data><![CDATA[$title=""]]></func_data>
			<group_names_secondary>,skin_calendar,skin_mlist,skin_msg,skin_search,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<a href="{$this->ipsclass->base_url}act=Mail&amp;CODE=00&amp;MID={$id}"><{P_EMAIL}></a>]]></section_content>
			<func_name>member_icon_email</func_name>
			<func_data><![CDATA[$id=""]]></func_data>
			<group_names_secondary>,skin_calendar,skin_mlist,skin_msg,skin_search,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=04&amp;MID={$id}"><{P_MSG}></a>]]></section_content>
			<func_name>member_icon_msg</func_name>
			<func_data><![CDATA[$id=""]]></func_data>
			<group_names_secondary>,skin_calendar,skin_mlist,skin_msg,skin_search,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<a href="{$this->ipsclass->base_url}showuser={$id}"><{P_PROFILE}></a>]]></section_content>
			<func_name>member_icon_profile</func_name>
			<func_data><![CDATA[$id=""]]></func_data>
			<group_names_secondary>,skin_calendar,skin_mlist,skin_msg,skin_search,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<a href="javascript:PopUp('{$this->ipsclass->base_url}act=Profile&amp;CODE=showcard&amp;MID={$id}','AddressCard','600','300','0','1','1','1')" title="{$this->ipsclass->lang['ac_title']}"><{P_CARD}></a>]]></section_content>
			<func_name>member_icon_vcard</func_name>
			<func_data><![CDATA[$id=""]]></func_data>
			<group_names_secondary>,skin_calendar,skin_mlist,skin_msg,skin_search,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_buddy</group_name>
			<section_content><![CDATA[( <b><a href="javascript:redirect_to('$url', 0)">{$this->ipsclass->lang['view_link']}</a></b> )]]></section_content>
			<func_name>append_view</func_name>
			<func_data><![CDATA[$url=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_buddy</group_name>
			<section_content><![CDATA[<script language='javascript' type="text/javascript">
<!--
 function redirect_to(where, closewin)
 {
 	opener.location= '{$this->ipsclass->base_url}' + where;
 	
 	if (closewin == 1)
 	{
 		self.close();
 	}
 }
 
 function check_form(helpform)
 {
 	opener.name = "ibfmain";
 
 	if (helpform == 1) {
 		document.theForm2.target = 'ibfmain';
 	} else {
 		document.theForm.target = 'ibfmain';
 	}
 	
 	return true;
 }
 
 function shrink()
 {
 	window.resizeTo('200','75');
 }
 
 function expand()
 {
 	window.resizeTo('200','450');
 }
 
 
-->
 </script>]]></section_content>
			<func_name>buddy_js</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_topic</group_name>
			<section_content><![CDATA[<br /><br /><span class='edit'>{$text}</span>]]></section_content>
			<func_name>edited_by</func_name>
			<func_data><![CDATA[$text=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_forum</group_name>
			<section_content><![CDATA[<tr>
	<td class="row1"><{B_PIN}></td>
	<td class="row1">&nbsp;</td>
	<td class="row1"><b>{$this->ipsclass->lang['announce_row']}: <a href="{$this->ipsclass->base_url}act=announce&amp;f={$data['forum_id']}&amp;id={$data['announce_id']}">{$data['announce_title']}</a></b></td>
	<td class="row1" align="center">-</td>
	<td class="row1" align="center"><a href="{$this->ipsclass->base_url}showuser={$data['member_id']}">{$data['member_name']}</a></td>
	<td class="row1" align="center">{$data['announce_views']}</td>
	<td class="row1"><span class="desc">{$data['announce_start']}
	<br /><a href="{$this->ipsclass->base_url}act=announce&amp;f={$data['forum_id']}&amp;id={$data['announce_id']}">{$this->ipsclass->lang['last_post_by']}</a> <b><a href="{$this->ipsclass->base_url}showuser={$data['member_id']}">{$data['member_name']}</a></b></span>
	</td>
<if="$this->ipsclass->member['is_mod'] and $inforum == 1">
<td align="center" class="row1">&nbsp;</td>
</if>
</tr>]]></section_content>
			<func_name>announcement_row</func_name>
			<func_data><![CDATA[$data="",$inforum=1]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_register</group_name>
			<section_content><![CDATA[<input type="hidden" name="regid" value="$regid" />
	<fieldset>
	<legend><b>{$this->ipsclass->lang['las_title']}</b></legend>
		<table class='ipbtable' cellspacing="0">
			<tr>
				<td width="1%">
					{$this->ipsclass->lang['las_input']}<div class="desc">{$this->ipsclass->lang['las_input_text']}</div>
					<input type="text" size="25" maxlength="32" name="reg_code" />
				</td>
				<td align="center">
					<img src="{$this->ipsclass->base_url}act=Reg&amp;CODE=image&amp;rc={$regid}&amp;p=1" alt="Code Bit" />
					&nbsp;<img src="{$this->ipsclass->base_url}act=Reg&amp;CODE=image&amp;rc={$regid}&amp;p=2" alt="{$this->ipsclass->lang['alt_codebit']}" />
					&nbsp;<img src="{$this->ipsclass->base_url}act=Reg&amp;CODE=image&amp;rc={$regid}&amp;p=3" alt="{$this->ipsclass->lang['alt_codebit']}" />
					&nbsp;<img src="{$this->ipsclass->base_url}act=Reg&amp;CODE=image&amp;rc={$regid}&amp;p=4" alt="{$this->ipsclass->lang['alt_codebit']}" />
					&nbsp;<img src="{$this->ipsclass->base_url}act=Reg&amp;CODE=image&amp;rc={$regid}&amp;p=5" alt="{$this->ipsclass->lang['alt_codebit']}" />
					&nbsp;<img src="{$this->ipsclass->base_url}act=Reg&amp;CODE=image&amp;rc={$regid}&amp;p=6" alt="{$this->ipsclass->lang['alt_codebit']}" />
				</td>
			</tr>
		</table>
	</fieldset>]]></section_content>
			<func_name>bot_antispam</func_name>
			<func_data><![CDATA[$regid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[&#091; <a href="#" title="{$this->ipsclass->lang['be_ttip']}" onclick="win_pop()">{$this->ipsclass->lang['be_link']}</a> &#093;]]></section_content>
			<func_name>boolean_explain_link</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['be_link']}</div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th width="30%" class="formsubtitle">{$this->ipsclass->lang['be_use']}</th>
			<th width="70%" class="formsubtitle">{$this->ipsclass->lang['be_means']}</th>
		</tr>
		<tr>
			<td class="pformleft">{$this->ipsclass->lang['be_u1']}</td>
			<td class="pformleft">{$this->ipsclass->lang['be_m1']}</td>
		</tr>
		<tr>
			<td class="pformleft">{$this->ipsclass->lang['be_u2']}</td>
			<td class="pformleft">{$this->ipsclass->lang['be_m2']}</td>
		</tr>
		<tr>
			<td class="pformleft">{$this->ipsclass->lang['be_u3']}</td>
			<td class="pformleft">{$this->ipsclass->lang['be_m3']}</td>
		</tr>
		<tr>
			<td class="pformleft">{$this->ipsclass->lang['be_u4']}</td>
			<td class="pformleft">{$this->ipsclass->lang['be_m4']}</td>
		</tr>
		<tr>
			<td class="pformleft">{$this->ipsclass->lang['be_u5']}</td>
			<td class="pformleft">{$this->ipsclass->lang['be_m5']}</td>
		</tr>
		<tr>
			<td class="catend" colspan="2"><!-- no content --></td>
		</tr>
	</table>
</div>]]></section_content>
			<func_name>boolean_explain_page</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_search</group_name>
			<section_content><![CDATA[<!-- END RESULTS TABLE -->
<if="$as_post != 1">
<tr>
	<td class="formbuttonrow" colspan="8" style="text-align: right;">
	<form action="{$this->ipsclass->base_url}act=search&amp;CODE=getnew&amp;active=1" method="post">
		{$this->ipsclass->lang['active_start']}&nbsp;
		<select class="dropdown" name="lastdate">
			<option value="86400">{$this->ipsclass->lang['active_today']}</option>
			<option value="604800">{$this->ipsclass->lang['active_week']}</option>
			<option value="1209600">{$this->ipsclass->lang['active_week2']}</option>
			<option value="2419200">{$this->ipsclass->lang['active_month']}</option>
			<option value="7257600">{$this->ipsclass->lang['active_month3']}</option>
			<option value="31449600">{$this->ipsclass->lang['active_year']}</option>
		</select>
		<input type="submit" value="{$this->ipsclass->lang['active_go']}" class="button" /></form></td>
</tr><tr>
	<td class="catend" colspan="8"><!-- no content --></td>
</tr>
</table>
</div>
</if>
<br />
<div>{$data['SHOW_PAGES']}</div>
<br />
<div class="borderwrap">
	<table class='ipbtable' cellspacing="0">
		<tr>
			<td width="5%" class="row2" nowrap="nowrap"><{B_NEW}>&nbsp;&nbsp;{$this->ipsclass->lang['pm_open_new']}<br /><{B_NORM}>&nbsp;&nbsp;{$this->ipsclass->lang['pm_open_no']}<br /><{B_HOT}>&nbsp;&nbsp;{$this->ipsclass->lang['pm_hot_new']}<br /><{B_HOT_NN}>&nbsp;&nbsp;{$this->ipsclass->lang['pm_hot_no']}</td>
			<td width="5%" class="row2" nowrap="nowrap"><{B_POLL}>&nbsp;&nbsp;{$this->ipsclass->lang['pm_poll']}<br /><{B_POLL_NN}>&nbsp;&nbsp;{$this->ipsclass->lang['pm_poll_no']}<br /><{B_LOCKED}>&nbsp;&nbsp;{$this->ipsclass->lang['pm_locked']}<br /><{B_MOVED}>&nbsp;&nbsp;{$this->ipsclass->lang['pm_moved']}</td>
			<td align="right" width="90%" class="row2">{$this->ipsclass->forum_jump}</td>
		</tr>
	</table>
</div>
<br />]]></section_content>
			<func_name>end_results_table</func_name>
			<func_data><![CDATA[$data="",$as_post=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['arc_comp_title']}</div>
	<p>{$this->ipsclass->lang['arc_complete']}</p>]]></section_content>
			<func_name>archive_complete</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}" method="post">
<input type="hidden" name="act" value="Msg" />
<input type="hidden" name="CODE" value="15" />
	
<div class="formsubtitle">{$this->ipsclass->lang['archive_title']}</div>
	<p>{$this->ipsclass->lang['archive_text']}</p>
		<table class='ipbtable' cellspacing="0">
			<tr>
				<td><b>{$this->ipsclass->lang['arc_folders']}</b></td>
				<td>$jump_html</td>
			</tr>
			<tr>
				<td><b>{$this->ipsclass->lang['arc_dateline']}</b></td>
				<td valign="middle">
					<select name="dateline">
						<option value="1">1</option>
						<option value="7">7</option>
						<option value="30" selected="selected">30</option>
						<option value="90">90</option>
						<option value="365">365</option>
						<option value="all">{$this->ipsclass->lang['arc_alldays']}</option>
					</select>
						&nbsp;&nbsp;{$this->ipsclass->lang['arc_days']}
					<select name="oldnew">
						<option value="newer" selected="selected">{$this->ipsclass->lang['arch_new']}</option>
						<option value="older">{$this->ipsclass->lang['arch_old']}</option>
					</select>
				</td>
			</tr>
			<tr>
				<td><b>{$this->ipsclass->lang['arc_max']}</b></td>
				<td valign="middle"><select name="number"><option value="5">5</option><option value="10">10</option><option value="20" selected="selected">20</option><option value="30">30</option><option value="40">40</option><option value="50">50</option></select></td>
			</tr>
			<tr>
				<td><b>{$this->ipsclass->lang['arc_delete']}</b></td>
				<td valign="middle"><select name="delete"><option value="yes">{$this->ipsclass->lang['arc_yes']}</option><option value="no" selected="selected">{$this->ipsclass->lang['arc_no']}</option></select></td>
			</tr>
			<tr>
				<td><b>{$this->ipsclass->lang['arc_type']}</b></td>
				<td valign="middle"><select name="type"><option value="xls" selected="selected">{$this->ipsclass->lang['arc_xls']}</option><option value="html">{$this->ipsclass->lang['arc_html']}</option></select></td>
			</tr>
		</table>
		<div class="formsubtitle" align="center"><input class='button' type="submit" value="{$this->ipsclass->lang['arc_submit']}" /></div>
</form>]]></section_content>
			<func_name>archive_form</func_name>
			<func_data><![CDATA[$jump_html=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<p class="pcen">{$this->ipsclass->lang['address_none']}</p>]]></section_content>
			<func_name>Address_none</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<br />
	<div class="borderwrapm">
		<table class='ipbtable' cellspacing="1">
			<tr>
				<th><b>{$this->ipsclass->lang['member_name']}</b></th>
				<th width="60%"><b>{$this->ipsclass->lang['enter_block']}</b></th>
			</tr>]]></section_content>
			<func_name>Address_table_header</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['address_current']}</div>]]></section_content>
			<func_name>Address_header</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}" method="post">
<input type="hidden" name="act" value="Msg" />
<input type="hidden" name="CODE" value="12" />
<input type="hidden" name="MID" value="{$data[MEMBER]['contact_id']}"  />
	<div class="formsubtitle">{$this->ipsclass->lang['member_edit']}</div>
	<table class='ipbtable' cellspacing="0">
		<tr>
			<td valign="middle"><b>{$data[MEMBER]['contact_name']}</b></td>
			<td valign="middle">{$this->ipsclass->lang['enter_desc']}<br /><input type="text" name="mem_desc" size="30" maxlength="60" value="{$data[MEMBER]['contact_desc']}" /></td>
			<!--<td valign="middle">{$this->ipsclass->lang['allow_msg']}<br />{$data[SELECT]}</td>-->
		</tr>
	</table>
	<div class="formsubtitle" align="center"><input class='button' type="submit" value="{$this->ipsclass->lang['submit_address_edit']}" /></div>
</form>]]></section_content>
			<func_name>address_edit</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_msg</group_name>
			<section_content><![CDATA[<script type="text/javascript" src='jscripts/ipb_xhr_findnames.js'></script>
<div id='ipb-get-members' style='border:1px solid #000; background:#FFF; padding:2px;position:absolute;width:192px;display:none;z-index:1'></div>
<form action="{$this->ipsclass->base_url}" method="post" id="postingform">
<input type="hidden" name="act" value="Msg" />
<input type="hidden" name="CODE" value="09" />
	<div class="formsubtitle">{$this->ipsclass->lang['member_add']}</div>
	<table class='ipbtable' cellspacing="0">
		<tr>
			<td valign="middle">{$this->ipsclass->lang['enter_a_name']}<br /><input type="text" id='mem_name' name="mem_name" size="30" maxlength="40" value="$mem_to_add" /></td>
			<td valign="middle">{$this->ipsclass->lang['enter_desc']}<br /><input type="text" name="mem_desc" size="40" maxlength="60" value="" /></td>
			<!--<td valign="middle">{$this->ipsclass->lang['allow_msg']}<br /><select name="allow_msg"><option value="yes" selected="selected">{$this->ipsclass->lang['yes']}</option><option value="no">{$this->ipsclass->lang['no']}</option></select></td>-->
		</tr>
	</table>
	<div class="formsubtitle" align="center"><input class='button' type="submit" value="{$this->ipsclass->lang['submit_address']}" /></div>
</form>
<script type="text/javascript">
// INIT find names
init_js( 'postingform', 'mem_name', 'get-member-names');
// Run main loop
setTimeout( 'main_loop()', 10 );
</script>]]></section_content>
			<func_name>address_add</func_name>
			<func_data><![CDATA[$mem_to_add=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<tr>
		<td width="1%"><img src="{$this->ipsclass->vars['mime_img']}/{$attach['image']}" alt="" /></td>
		<td width="35%"><b>{$attach['attach_file']}</b></td>
		<td width="20%">({$attach['size']})</td>
		<td width="10%"><input type="submit" name="removeattach_{$attach['attach_id']}" class="codebuttons" onclick="removeattach({$attach['attach_id']})" value="{$this->ipsclass->lang['attach_remove']}" /></a>
		<td width="10%"><input type="button" name="id{$attach['attach_id']}" class="codebuttons" onclick="insert_attach_to_textarea({$attach['attach_id']})" value="{$this->ipsclass->lang['attach_button']}" title="{$this->ipsclass->lang['attach_button_title']}" /></a>
	</tr>]]></section_content>
			<func_name>uploadbox_entry</func_name>
			<func_data><![CDATA[$attach=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<script type="text/javascript" src='jscripts/ips_attach.js'></script>
	
<!-- ATTACH -->
 <div id='ips-attach-div-parent' class='attach-parentdiv' style='display:none;clear:both'>
 	<table cellpadding="0" cellspacing="0" border="0" style='padding:0px'>
	 <tr>
	  <td width='1%' style='padding:0px' nowrap='nowrap'><img class="ipd" src="{$this->ipsclass->vars['img_url']}/folder_attach_images/attach_logo.png"  border="0" alt="" /> <strong>{$this->ipsclass->lang['attach_header']}</strong></td>
	  <td width='99%' style='padding:0px' align='right'>
		<div class='attach-menubutton' id='ips-attach-menu' style='margin-right:2px;width:293px;'>
			<table cellpadding="0" cellspacing="0" border="0" style='padding:0px'>
			<tr>
				<td style='padding:0px'><div style='width:265px;text-align:left;font-size:10px;'>{$this->ipsclass->lang['attach_manage_current']} <span id='ips-attach-menu-text'>(0)</span></div></td>
				<td style='padding:0px' align='right'><img class="ipd" src="{$this->ipsclass->vars['img_url']}/folder_editor_images/icon_open.gif"  border="0" alt="" /></td>
			</tr>
			</table>
		</div>
	  </td>
	 </tr>
	 </table>
 	 <div id='ips-attach-div-iframe' style='height:67px;width:100%;text-align:center'></div>
	 <div id='ips-attach-div-status' style='height:20px;width:100%;text-align:left;font-weight:bold'></div>
 </div>
 <!-- ATTACH -->
 <!-- Status DIV -->
 <div id="ips-attach-message" style='display:none;z-index:999;' class='attach-messagediv'>
	<br />
	<br />
	<img class="ipd" src="{$this->ipsclass->vars['img_url']}/folder_attach_images/attach_wait.gif"  border="0" alt="" />
	<br />
	<br />
	<span class='attach-msg-span' id='ips-attach-message-span'>&nbsp;</span><br clear='all' /><br />
 </div>
	<script type="text/javascript">
	//<!#^#|CDATA|
	// INIT and such
	ipsattach.iframe_init_url    = "{$this->ipsclass->base_url}&act=attach&code=attach_upload_show&attach_rel_module={$type}&attach_rel_id={$id}&attach_post_key={$post_key}&--ff--forum_id=$forum_id";
	ipsattach.iframe_remove_url  = "{$this->ipsclass->base_url}&act=attach&code=attach_upload_remove&attach_rel_module={$type}&attach_rel_id={$id}&attach_post_key={$post_key}&--ff--forum_id=$forum_id";
	ipsattach.iframe_classname   = 'attach-iframe';
	ipsattach.images_url         = ipb_skin_url;
	ipsattach.lang =
	{
		'no_items'            : '{$this->ipsclass->lang['attach_js__no_items']}',
		'uploading_file'      : '{$this->ipsclass->lang['attach_js__uploading']}',
		'init_progress'       : '{$this->ipsclass->lang['attach_js__init']}',
		'upload_ok'           : "{$this->ipsclass->lang['attach_js__upload_success']}",
		'upload_failed'       : "{$this->ipsclass->lang['attach_js__upload_fail']}",
		'upload_too_big'      : "{$this->ipsclass->lang['attach_js__upload_fail1']}",
		'invalid_mime_type'   : "{$this->ipsclass->lang['attach_js__upload_fail2']}",
		'no_upload_dir'       : "{$this->ipsclass->lang['attach_js__upload_fail3']}",
		'no_upload_dir_perms' : "{$this->ipsclass->lang['attach_js__upload_fail4']}",
		'upload_no_file' 	  : "{$this->ipsclass->lang['attach_js__upload_fail5']}",
		'ready'               : "{$this->ipsclass->lang['attach_js__ready']}",
		'attach_remove'       : "{$this->ipsclass->lang['attach_js__delete']}",
		'attach_insert'       : "{$this->ipsclass->lang['attach_js__insert']}",
		'remove_warn'	 	  : "{$this->ipsclass->lang['attach_js__confirm']}",
		'attach_removed'      : "{$this->ipsclass->lang['attach_js__isremoved']}",
		'attach_removal'      : "{$this->ipsclass->lang['attach_js__removing']}"
	};
	ipsattach.init();
	ipsattach.show_attach_box();
	//|#^#]>
	</script>]]></section_content>
			<func_name>Upload_field</func_name>
			<func_data><![CDATA[$post_key="",$type="",$id="",$forum_id=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<tr>
		<td class="formbuttonrow" colspan="2"><a href="javascript:PopUp('index.{$this->ipsclass->vars['php_ext']}?act=ST&amp;f={$this->ipsclass->input['f']}&amp;t={$this->ipsclass->input['t']}','TopicSummary',700,450,1,1)">{$this->ipsclass->lang['review_topic']}</a></td>
	</tr>
	<tr>
		<td class="catend" colspan="2"><!-- no content --></td>
	</tr>
</table>
</div>]]></section_content>
			<func_name>TopicSummary_bottom</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<script type="text/javascript" src="jscripts/ipb_topic.js"></script>
<br />
<div class="borderwrap">
  <div class="maintitle">{$this->ipsclass->lang['last_posts']}</div>
  <table class='ipbtable' cellspacing="1">]]></section_content>
			<func_name>TopicSummary_top</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" width='20%'>
	 <strong>{$this->ipsclass->lang['topic_title']}</strong>
	</td>
	<td align="left" width='80%'>
	 <input type="text" size="50" maxlength="{$this->ipsclass->vars['topic_title_max_len']}" name="TopicTitle" value="{$data['TITLE']}" tabindex="1" />
	</td>
   </tr>
   <tr>
	<td align="right" width='20%'>
	 <strong>{$this->ipsclass->lang['topic_desc']}</strong>
	</td>
	<td align="left" width='80%'>
	  <input type="text" size="50" maxlength="70" name="TopicDesc" value="{$data['DESC']}" tabindex="2" />
	 <span class='desc'>{$this->ipsclass->lang['post_optional']}</span>
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>]]></section_content>
			<func_name>topictitle_fields</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<script type="text/javascript" src="jscripts/ipb_topic.js"></script>
<div class="borderwrap">
	<div class="formsubtitle">{$this->ipsclass->lang['post_preview']}</div>
	<div class="row1" style='padding-bottom:1px;'>
		<div class="postcolor" style='padding:4px;'>$data</div>
	</div>
</div>
<br />]]></section_content>
			<func_name>preview</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<!--FORUM RULES--><br />
<!--START TABLE-->
<!--NAME FIELDS-->
<!--TOPIC TITLE-->
<!--POLL BOX-->
<!--POST BOX-->
<!--MOD OPTIONS-->
<!--POST ICONS-->
<!--END TABLE-->]]></section_content>
			<func_name>table_structure</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<div class="borderwrap">
<table cellspacing="0" class='ipbtable'>
<tr>
	<td class="maintitle" colspan="2">&nbsp;&nbsp;$data</td>
</tr>]]></section_content>
			<func_name>table_top</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<tr>
		<td class="row2" valign="top" width="20%"><b>{$data['author']}</b></td>
		<td class="row2" valign="top" width="80%">{$this->ipsclass->lang['posted_on']} {$data['date']}</td>
	</tr>
	<tr>
		<td class="row1" valign="top" width="20%">&nbsp;</td>
		<td class="row1" valign="top" width="80%"><span class="postcolor">{$data['post']}</span></td>
	</tr>]]></section_content>
			<func_name>TopicSummary_body</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<tr>
		<td class="row2" valign="top" width="20%"><b>{$data['author']}</b></td>
		<td class="row2" valign="top" width="80%">{$this->ipsclass->lang['posted_on']} {$data['date']}</td>
	</tr>
	<tr>
		<td class="row1" valign="top" width="20%">&nbsp;</td>
		<td class="row1" valign="top" width="80%"><span class="postcolor">{$this->ipsclass->lang['ignore_first_line']} {$data['members_display_name']}.</span></td>
	</tr>]]></section_content>
			<func_name>topicsummary_body_hidden</func_name>
			<func_data>$data=array()</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" valign='top' width='20%'>
	 <strong>{$this->ipsclass->lang['post_icon']}</strong>
	 <br /><span class='desc'>{$this->ipsclass->lang['post_optional']}</span>
	</td>
	<td align="left" width='80%'>
	  <input type="radio" class="radiobutton" name="iconid" value="1" />&nbsp;&nbsp;<img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon1.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="2"  />&nbsp;&nbsp;<img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon2.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="3"  />&nbsp;&nbsp;<img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon3.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="4"  />&nbsp;&nbsp;<img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon4.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="5"  />&nbsp;&nbsp;<img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon5.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="6"  />&nbsp;&nbsp;<img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon6.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="7"  />&nbsp;&nbsp;<img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon7.gif"  align='middle' alt='' /><br />
	  <input type="radio" class="radiobutton" name="iconid" value="8" />&nbsp;&nbsp;<img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon8.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="9"  />&nbsp;&nbsp;<img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon9.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="10"  />&nbsp;&nbsp;<img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon10.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="11"  />&nbsp;&nbsp;<img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon11.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="12"  />&nbsp;&nbsp;<img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon12.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="13"  />&nbsp;&nbsp;<img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon13.gif"  align='middle' alt='' />&nbsp;&nbsp;&nbsp;<input type="radio" class="radiobutton" name="iconid" value="14"  />&nbsp;&nbsp;<img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon14.gif"  align='middle' alt='' /><br />
      <input type="radio" class="radiobutton" name="iconid" value="0" checked="checked" />&nbsp;&nbsp;{$this->ipsclass->lang['picons_none']}
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>]]></section_content>
			<func_name>PostIcons</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<tr>
		<td class="formbuttonrow" colspan="2"><input type="submit" name="submit" value="$data" tabindex="4" class="button" accesskey="s" />&nbsp;</td>
	</tr>
</table>
</form>
<br style="clear: all;" />]]></section_content>
			<func_name>poll_end_form</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<br />
<input type="checkbox" size="40" value="1" name="allow_disc" class="checkbox" />&nbsp;{$this->ipsclass->lang['poll_only']}]]></section_content>
			<func_name>poll_options</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[</table>
<if="$this->ipsclass->browser['browser'] == 'ie' AND $this->ipsclass->browser['version'] >= 7.0">
	<div style='padding:0px 4px 0px 4px' class='bg1'>
<else />
	<div style='padding:0px 1px 0px 1px' class='bg1'>
</if>
<table cellspacing="0"  width='100%' style='padding:3px'>
<tr>
 <td colspan='2' align='center' class='bg1'>
 <div align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3' style='padding:5px;'>
  <tr>
   <td align='center' valign="top" width='100%'>
	{$editor_html}
	<!--UPLOAD FIELD-->
   </td>
  </tr>
 </table>
 </div>
 </td>
</tr>
</table>
</div>
<table cellspacing="0" class='ipbtable'>
<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" valign='top' width='20%'>
	 <strong>{$this->ipsclass->lang['po_options']}</strong>
	</td>
	<td align="left" width='80%'>
	    <!--IBF.HTML-->
		<!--IBF.EMO-->
		<!--IBF.SIG-->
		<!--IBF.TRACK-->
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>]]></section_content>
			<func_name>postbox_wrap</func_name>
			<func_data><![CDATA[$editor_html=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<!-- REG NAME -->]]></section_content>
			<func_name>nameField_reg</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" width='20%'>
	 <strong>{$this->ipsclass->lang['guest_name']}</strong>
	</td>
	<td align="left" width='80%'>
	 <input type="text" size="50" maxlength="40" name="UserName" value="$data" class="textinput" />
	</td>
   </tr>
   <!--GUEST.CAPTCHA-->
  </table>
 </div>
 </td>
</tr>]]></section_content>
			<func_name>nameField_unreg</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<tr>
 <td colspan='2' align='left' class='bg1'>
 <script type="text/javascript" src="jscripts/ipb_poll.js"></script>
 <script type="text/javascript">
  var showfullonload     = parseInt("{$show_open}");
  var is_mod             = parseInt("{$is_mod}");
  
  // Questions
  var poll_questions     =
  {
{$poll_questions}
  };
  
  var poll_choices       = 
  {
{$poll_choices}
  };
  
  var poll_votes       = 
  {
{$poll_votes}
  };
  var poll_multi       = 
  {
{$poll_multi}
  };
  
  // Setting elements
  var max_poll_questions = parseInt("{$max_poll_questions}");
  var max_poll_choices   = parseInt("{$max_poll_choices}");
  
  // HTML elements
  var html_add_question     = "[<a href='#' title='{$this->ipsclass->lang['poll_tt_add_question']}' style='color:green;font-weight:bold' onclick='return poll_add_question()'>{$this->ipsclass->lang['poll_tt_add_question']}</a>]";
  var html_add_choice       = "<li>&nbsp;[<a href='#' title='{$this->ipsclass->lang['poll_tt_add_choice']}' style='color:green;font-weight:bold' onclick='return poll_add_choice("+'"'+'<%1>'+'"'+")'>{$this->ipsclass->lang['poll_tt_add_choice']}</a>]</li>";
  var html_question_box     = "<input type='text' id='question_<%1>' name='question[<%1>]' size='50' class='input' value='<%2>' /> [<a href='#' title='{$this->ipsclass->lang['poll_tt_remove_question']}' style='color:red;font-weight:bold' onclick='return poll_remove_question("+'"'+'<%1>'+'"'+")'>X</a>]<br /><input class='checkbox' type='checkbox' id='multi_<%1>' name='multi[<%1>]' value='1' <%3> /><span class='forumdesc'>{$this->ipsclass->lang['poll_multichoice']}</span>";
  var html_votes_box        = "&nbsp;<input type='text' id='votes_<%1>_<%2>' name='votes[<%1>_<%2>]' size='5' class='input' value='<%3>' />";
  var html_choice_box       = "<li><input type='text' id='choice_<%1>_<%2>' name='choice[<%1>_<%2>]' size='35' class='input' value='<%3>' /><%4> [<a href='#' title='{$this->ipsclass->lang['poll_tt_remove_choice']}' style='color:red;font-weight:bold' onclick='return poll_remove_choice("+'"'+'<%1>_<%2>'+'"'+")'>X</a>]</li>";
  var html_choice_wrap      = "<ol><%1></ol>";
  var html_question_wrap    = "<div><%1></div>";
  var html_stat_wrap        = "<br /><div><%1></div>";
  
  // Lang elements
  var js_lang_confirm    = "{$this->ipsclass->lang['poll_tt_confirm']}";
  var poll_stat_lang     = "{$this->ipsclass->lang['poll_tt_stat_lang']}";
 </script>
 <!--CLOSED DIV-->
 <div align='center' id='poll-box-closed' style='display:none' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
  <tr>
   <td align="right" valign='top' width='20%'>
	<strong>{$this->ipsclass->lang['poll_fs_options']}</strong>
   </td>
   <td valign="top" align='left'>
	<a href='#' onclick='show_poll_form(); return false;'>{$this->ipsclass->lang['poll_manage_link']}</a>
   </td>
  </tr>
 </table>
 </div>
 <!--/CLOSED DIV-->
 
 <!--OPEN DIV-->
 <div align='center' id='poll-box-open' style='display:none' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
  <tr>
   <td align="right" valign='top' width='20%'>
	<strong>{$this->ipsclass->lang['poll_fs_options']}</strong>
   </td>
   <td align='left' valign="top">
    <fieldset>
     <legend><strong>{$this->ipsclass->lang['poll_fs_title']}</strong></legend>
     <input type='text' size='40' class='input' name='poll_question' value='{$poll_question}' />
    </fieldset>
<if="$this->ipsclass->vars['ipb_poll_only']==1">
<fieldset>
     <legend><strong>{$this->ipsclass->lang['poll_only_title']}</strong></legend>
     <input class='checkbox' type='checkbox' name='poll_only' value='1' {$poll_only} /> <span class='forumdesc'>{$this->ipsclass->lang['poll_only_desc']}</span>
    </fieldset>
</if>
    <!-- MAIN POLL AREA -->
    <fieldset>
     <legend><strong>{$this->ipsclass->lang['poll_fs_content']}</strong></legend>
      <div id='poll-box-main'>
    
      </div>
    </fieldset>
    <!-- MAIN POLL AREA -->
    <br />
    <a href='#' onclick='close_poll_form(); return false;'>{$this->ipsclass->lang['poll_fs_close']}</a>
    <div id='poll-box-stat'></div>
   </td>
  </tr>
 </table>
 </div>
 <!--/OPEN DIV-->
 
 <!-- INIT DIVS -->
 <script type="text/javascript">
  poll_init_state();
 </script>
 <!--/ INIT DIVS -->
 </td>
</tr>]]></section_content>
			<func_name>poll_box</func_name>
			<func_data><![CDATA[$max_poll_questions="",$max_poll_choices="",$poll_questions="",$poll_choices="",$poll_votes="",$show_open="",$poll_question="",$is_mod=0,$poll_multi="",$poll_only='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<!--start-->
<if="$jump != """>
<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" width='20%'>
	 <strong>{$this->ipsclass->lang['mod_options']}</strong>
	</td>
	<td align="left" width='80%'>
	 &nbsp;{$jump}</select>
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>
</if>
<!--middle-->
<if="$can_set_open_time == 1">
<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" width='20%'>
	 <strong>{$this->ipsclass->lang['mod_open_time']}</strong>
	 <br /><span class='desc'>{$this->ipsclass->lang['post_optional']}</span>
	</td>
	<td align="left" width='80%'>
	 <span class='desc'>{$this->ipsclass->lang['mod_date_format']}</span> &nbsp; <input type='text' size='11' name='open_time_date' value='{$mytimes['open_date']}' /> &nbsp; <span class='desc'>{$this->ipsclass->lang['mod_time_format']}</span> &nbsp; <input type='text' size='5' name='open_time_time' value='{$mytimes['open_time']}' />
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>
</if>
<if="$can_set_close_time == 1">
<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" width='20%'>
	 <strong>{$this->ipsclass->lang['mod_close_time']}</strong>
	 <br /><span class='desc'>{$this->ipsclass->lang['post_optional']}</span>
	</td>
	<td align="left" width='80%'>
	 <span class='desc'>{$this->ipsclass->lang['mod_date_format']}</span> &nbsp; <input type='text' size='11' name='close_time_date' value='{$mytimes['close_date']}' /> &nbsp; <span class='desc'>{$this->ipsclass->lang['mod_time_format']}</span> &nbsp; <input type='text' size='5' name='close_time_time' value='{$mytimes['close_time']}' /></span>
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>
</if>
<!--end-->]]></section_content>
			<func_name>mod_options</func_name>
			<func_data><![CDATA[$jump="",$can_set_open_time="",$can_set_close_time="",$mytimes=array()]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<tr>
	<td align="right" width='20%'>
	 <strong>{$this->ipsclass->lang['guest_captcha']}</strong>
	</td>
	<td align="left" width='80%'>
	 <table>
	 	<tr>
	 		<td width='40%'>
	 			<input type="text" size="50" maxlength="10" name="captcha" value="" class="textinput" /><br />
	 			{$this->ipsclass->lang['captcha_explain']}
	 		</td>
	 		<td><!--CAPTCHA.IMAGE--></td>
	 	</tr>
	 </table>
	</td>
   </tr>]]></section_content>
			<func_name>guest_captcha</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<form id='quick-edit-form-$pid' style='display:block'>
<if="$error_msg != """>
<div class='input-warn-content'>{$error_msg}</div>
</if>
<div id='{$pid}-controls' align='center' style='width:95%;padding:6px; margin:0 auto 0 auto' class="rte-buttonbar">
	<table cellpadding="2" cellspacing="0" width='100%'>
	<tr>
	 <td width='1%' align='left' nowrap='nowrap'>
	  <table cellpadding='0' cellspacing='0' width='100%'>
	   <tr>
	     <td><div class="rte-normal" id="{$pid}_cmd_bold"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-bold.png"  alt="{$this->ipsclass->lang['js_tt_bold']}" title="{$this->ipsclass->lang['js_tt_bold']}"></div></td>
	     <td><div class="rte-normal" id="{$pid}_cmd_italic"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-italic.png"  alt="{$this->ipsclass->lang['js_tt_italic']}" title="{$this->ipsclass->lang['js_tt_italic']}" ></div></td>
	     <td><div class="rte-normal" id="{$pid}_cmd_underline"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-underlined.png" alt="{$this->ipsclass->lang['js_tt_underline']}" title="{$this->ipsclass->lang['js_tt_underline']}" ></div></td>
	   	 <td><div class="rte-normal" id="{$pid}_cmd_createlink"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-link-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_link']}" title="{$this->ipsclass->lang['js_rte_lite_link']}"></div></td>
		 <td><div class="rte-normal" id="{$pid}_cmd_insertimage"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-image-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_img']}" title="{$this->ipsclass->lang['js_rte_lite_img']}"></div></td>
		 <td><div class="rte-normal" id="{$pid}_cmd_emoticon"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-emo-button.png"  alt="{$this->ipsclass->lang['js_tt_emoticons']}" title="{$this->ipsclass->lang['js_tt_emoticons']}"></div></td>
	     <td><div class="rte-normal" id="{$pid}_cmd_ipb_quote"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-quote-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_quote']}" title="{$this->ipsclass->lang['js_rte_lite_quote']}"></div></td>
		 <td><div class="rte-normal" id="{$pid}_cmd_ipb_code"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-code-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_code']}" title="{$this->ipsclass->lang['js_rte_lite_code']}"></div></td>
	</tr>
	  </table>
	 </td>
	 <td width='98%'>&nbsp;</td>
	 <td width='1%' align='right' nowrap='nowrap'>
		<table cellpadding='0' cellspacing='0' width='100%'>
           <tr>
               	<td>
				   <div class="rte-normal" id="{$pid}_resize_up" style='padding:0px;margin:0px;'><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-resize-up.gif"  alt="" /></div>
				   <div class="rte-normal" id="{$pid}_resize_down" style='padding:0px;margin:0px;padding-top:1px'><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-resize-down.gif"  alt="" title="" /></div>
			   </td>
           </tr>
          </table>
	 </td>
	</tr>
	</table>
   <div style='padding-bottom:8px'>
    	<textarea style='margin:0px;padding:4px;width:98%' name='Post' tabindex='1' id='{$pid}_textarea' class='rte-iframe' cols='80' rows='15'>{$post}</textarea>
   </div>
   <div style='height:30px'>
	   <div style='float:right;'>
	     <div class='rte-menu-button' style='width:110px;font-size:10px;padding-right:2px;text-align:left'><a href='#' style='text-decoration:none' onclick='ajax_fulleditor_for_edit( $pid ); return false'><img src='style_images/<#IMG_DIR#>/folder_editor_images/rte-redo.png' style='vertical-align:middle;padding-bottom:2px' alt='' /> {$this->ipsclass->lang['qe_full_edit']}</a></div>
	   </div>
	   <div style='float:right;margin-right:4px;'>
	     <div class='rte-menu-button' style='width:100px;font-size:10px;padding-right:2px;text-align:left'><a href='#' style='text-decoration:none' onclick='ajax_cancel_for_edit( $pid ); return false'><img src='style_images/<#IMG_DIR#>/folder_editor_images/rte-error.png' style='vertical-align:middle;padding-bottom:2px' alt='' /> {$this->ipsclass->lang['qe_cancel_edit']}</a></div>
	   </div>
	   <div style='float:right;margin-right:4px;'>
		 <div class='rte-menu-button' tabindex='2' onkeydown='if (event.keyCode == 13) { ajax_save_for_edit( $pid ); return false; }'  style='width:108px;font-size:10px;padding-right:2px;text-align:left'><a href='#' style='text-decoration:none' onclick='ajax_save_for_edit( $pid ); return false'><img src='style_images/<#IMG_DIR#>/folder_editor_images/rte-ok.png' style='vertical-align:middle;padding-bottom:2px' alt='' /> {$this->ipsclass->lang['qe_complete_edit']}</a></div>
	   </div>
		<if="$show_reason">
			<div style='text-align:left'>
				{$this->ipsclass->lang['reason_for_edit']}: <input type='text' size='35' maxlength='250' id='post_edit_reason' name='post_edit_reason' value='$post_edit_reason' />
			</div>
		</if>
   </div>
</div>
</form>]]></section_content>
			<func_name>inline_edit_quick_box</func_name>
			<func_data><![CDATA[$post="", $pid=0, $error_msg="", $show_reason=0, $post_edit_reason='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[&nbsp;<select name="post_htmlstatus" class="dropdown">
	<option value="0"{$selected[0]}>{$this->ipsclass->lang['pp_nohtml']}</option>
	<option value="1"{$selected[1]}>{$this->ipsclass->lang['pp_html1']}</option>
	<option value="2"{$selected[2]}>{$this->ipsclass->lang['pp_html2']}</option>
</select>]]></section_content>
			<func_name>get_box_html</func_name>
			<func_data><![CDATA[$selected=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<br />
<input type="checkbox" name="enabletrack" class="checkbox" value="1" $checked />&nbsp;{$this->ipsclass->lang['enable_track']}]]></section_content>
			<func_name>get_box_enabletrack</func_name>
			<func_data><![CDATA[$checked=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<br />
<input type="checkbox" name="enableemo" class="checkbox" value="yes" $checked />&nbsp;{$this->ipsclass->lang['enable_emo']}]]></section_content>
			<func_name>get_box_enableemo</func_name>
			<func_data><![CDATA[$checked=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<br />
<input type="checkbox" name="enablesig" class="checkbox" value="yes" $checked />&nbsp;{$this->ipsclass->lang['enable_sig']}]]></section_content>
			<func_name>get_box_enablesig</func_name>
			<func_data><![CDATA[$checked=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<div class="borderwrap">
  <div class="formsubtitle">{$this->ipsclass->lang['errors_found']}</div>
  <div class="tablepad"><span class="postcolor">$data</span></div>
</div>
<br />]]></section_content>
			<func_name>errors</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<br />
{$this->ipsclass->lang['already_sub']}]]></section_content>
			<func_name>get_box_alreadytrack</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<tr>
		<td class="formbuttonrow" colspan="2">
			<input type="submit" name="dosubmit" value="$data" tabindex="7" class="button" accesskey="s"  />&nbsp;
			<input type="submit" name="preview" value="{$this->ipsclass->lang['button_preview']}" tabindex="8" class="button" />
		</td>
	</tr>
</table>
</div>
</form>
<br style="clear: all;" />]]></section_content>
			<func_name>EndForm</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<input type="hidden" name="imgid" value="{$imgid}" />
					<img src="{$this->ipsclass->base_url}act=Post&amp;CODE=image&amp;rc={$imgid}&amp;p=1" alt="Code Bit" />
					&nbsp;<img src="{$this->ipsclass->base_url}act=Post&amp;CODE=image&amp;rc={$imgid}&amp;p=2" alt="{$this->ipsclass->lang['alt_codebit']}" />
					&nbsp;<img src="{$this->ipsclass->base_url}act=Post&amp;CODE=image&amp;rc={$imgid}&amp;p=3" alt="{$this->ipsclass->lang['alt_codebit']}" />
					&nbsp;<img src="{$this->ipsclass->base_url}act=Post&amp;CODE=image&amp;rc={$imgid}&amp;p=4" alt="{$this->ipsclass->lang['alt_codebit']}" />
					&nbsp;<img src="{$this->ipsclass->base_url}act=Post&amp;CODE=image&amp;rc={$imgid}&amp;p=5" alt="{$this->ipsclass->lang['alt_codebit']}" />
					&nbsp;<img src="{$this->ipsclass->base_url}act=Post&amp;CODE=image&amp;rc={$imgid}&amp;p=6" alt="{$this->ipsclass->lang['alt_codebit']}" />]]></section_content>
			<func_name>bot_antispam_gif</func_name>
			<func_data><![CDATA[$imgid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<input type="hidden" name="imgid" id='regid' value="{$imgid}" />
<img id='gd-antispam' src="{$this->ipsclass->base_url}act=Post&amp;CODE=image&amp;rc={$imgid}" alt="{$this->ipsclass->lang['alt_loadingimg']}" title="{$this->ipsclass->lang['gbl_gd_reload']}" />
<script type='text/javascript'>
	init_gd_image();
</script>]]></section_content>
			<func_name>bot_antispam_gd</func_name>
			<func_data><![CDATA[$imgid=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[parent.ipsattach.add_current_item( '{$id}', '{$name}', '{$human_size}', '{$mime_image}' );]]></section_content>
			<func_name>attach_current_item</func_name>
			<func_data><![CDATA[$id="",$name="",$human_size="",$mime_image=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<script type='text/javascript'>
//<!#^#|CDATA|
// Populate menu
parent.ipsattach.current_items   = new Array();
{$current_items}
// Set up vars
parent.ipsattach.can_upload      = parseInt("{$attach_stats['allow_uploads']}");
parent.ipsattach.status_msg      = "{$msg}";
parent.ipsattach.status_is_error = parseInt("{$is_error}");
//|#^#]>
</script>
<form id='mainform' enctype='multipart/form-data' action='{$this->ipsclass->base_url}&amp;act=attach&amp;code=attach_upload_process&amp;attach_rel_module={$attach_rel_module}&amp;attach_rel_id={$attach_rel_id}&amp;attach_post_key={$attach_post_key}{$extra_url}' method='POST'>
<input type='hidden' name='MAX_FILE_SIZE' value='100000000' />
<div style='padding:8px 2px 0px 2px;'>
	<table cellpadding='0' cellspacing='0' border='0' width='100%'>
	<tr>
	  <td width='10%' nowrap='nowrap'><strong>{$this->ipsclass->lang['attach_select_file']}</strong></td>
	  <td width='90%' align='right' valign='bottom'><input type='file' id='ipb-file-upload-box' size='30' onblur='parent.ipsattach.has_upload_pending=this.value;' name='FILE_UPLOAD' /> <input class='input-ok-content' style='margin:0px;padding:2px' type='submit' value='{$this->ipsclass->lang['attach_but_upload']}' /></td>
	</tr>
	</table>
	<table cellpadding='0' cellspacing='0' border='0' width='100%'>
	<tr>
	 <td width='90%'><div class='desc'>{$this->ipsclass->lang['attach_space_used']} <strong>{$attach_stats['space_used_human']}</strong> {$this->ipsclass->lang['attach_space_of']} <strong>{$attach_stats['total_space_allowed_human']}</strong></div></td>
	 <td nowrap='nowrap' width='10%' align='right'>{$this->ipsclass->lang['max_single_attach']}: <strong>{$attach_stats['max_single_upload_human']}</strong></td>
	</tr>
	</table>
</div>
</form>
<script type='text/javascript'>
//<!#^#|CDATA|
// Add form's onsubmit handler
document.getElementById('mainform').onsubmit = function (e) { parent.ipsattach.iframe_on_un_load(); return true; }
//|#^#]>
</script>]]></section_content>
			<func_name>attach_wrapper</func_name>
			<func_data><![CDATA[$current_items="",$attach_rel_module="",$attach_rel_id="",$attach_post_key="",$attach_stats="",$msg='',$is_error=0,$extra_url='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_post</group_name>
			<section_content><![CDATA[<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" width='20%'>
	 <strong>{$this->ipsclass->lang['edit_ops']}</strong>
	</td>
	<td align="left" width='80%'>
	 <input type="checkbox" name="add_edit" value="1" $checked class="checkbox" />&nbsp;{$this->ipsclass->lang['append_edit']}
	</td>
   </tr>
	<if="$show_reason">
	<tr>
		<td align="right" width='20%'>
		 	{$this->ipsclass->lang['reason_for_edit']}
		</td>
		<td align="left" width='80%'>
		 	<input type="input" name="post_edit_reason" value="{$post_edit_reason}" size='40' maxlength='250' />
		</td>
	</tr>
	</if>
  </table>
 </div>
 </td>
</tr>]]></section_content>
			<func_name>add_edit_box</func_name>
			<func_data><![CDATA[$checked="", $show_reason=0, $post_edit_reason='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[<style type="text/css" media="all">
	@import url({$this->ipsclass->vars['board_url']}/css.php?d={$css}_{$img}.css);
</style>]]></section_content>
			<func_name>csite_css_external</func_name>
			<func_data><![CDATA[$css="",$img=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[<style type="text/css">
	{$css}
</style>]]></section_content>
			<func_name>csite_css_inline</func_name>
			<func_data><![CDATA[$css=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[<script type="text/javascript" src="jscripts/ipb_topic.js"></script>
<table class='ipbtable' cellspacing="0">
 <tr>
	 <td width="30%" class="nopad" valign="top">
		 <!-- LEFT -->
		 <!--::BASIC:SITENAV::-->
		 <!--::online_users_show::-->
		 <!--::blogs_show_last_updated_x::-->
		 <!--::gallery_show_random_image::-->
		 <!--::calendar_show_current_month::-->
		 <!--::poll_show_poll::-->
		 <!--::recent_topics_discussions_last_x::-->
		 <!--::BASIC:AFFILIATES::-->
		 <!--END LEFT-->
	 </td>
	 <!--SPACER-->
	 <td width="1%" class="nopad">&nbsp;</td>
	 <td width="70%" class="nopad" valign="top">
		 <!--MAIN-->
		 <!--::recent_topics_last_x::-->
		 <!--END MAIN-->
	 </td>
 </tr>
 <!--End Main Content-->
</table>]]></section_content>
			<func_name>csite_skeleton_template</func_name>
			<func_data><![CDATA[$component_links='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[<br />
<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['aff_title']}</div>
	<div class="tablepad">
		$links
	</div>
</div>]]></section_content>
			<func_name>tmpl_affiliates</func_name>
			<func_data><![CDATA[$links=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content>$articles</section_content>
			<func_name>tmpl_articles</func_name>
			<func_data><![CDATA[$articles=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_portal</group_name>
			<section_content><![CDATA[<div class="borderwrap">
<table class='ipbtable' cellspacing="0">
	<tr>
		<td class="maintitle" colspan="2"><{CAT_IMG}>&nbsp;<a href="{$this->ipsclass->base_url}showtopic={$entry['tid']}">{$entry['title']}</a></td>
	</tr>
	<tr>
		<td class="row1" colspan="2">$top_string</td>
	</tr>
	<tr>
		<td class="post1" width="5%" valign="top">{$entry['avatar']}</td>
		<td class="post1" width="95%" valign="top"><div style="height: 200px; overflow: auto;">{$entry['post']}
		<!--IBF.ATTACHMENT_{$entry['pid']}--></div></td>
	</tr>
	<tr>
		<td class="row1" colspan="2" align="right">
		$bottom_string
		&nbsp;&nbsp;<a href="{$this->ipsclass->base_url}act=Print&amp;client=printer&amp;f={$entry['forum_id']}&amp;t={$entry['tid']}"><img src='style_images/<#IMG_DIR#>/cs_print.gif' border='0' alt='' /></a>
		<a href="{$this->ipsclass->base_url}act=Forward&amp;f={$entry['forum_id']}&amp;t={$entry['tid']}"><img src='style_images/<#IMG_DIR#>/cs_email.gif' border='0' alt='' /></a>
		</td>
	</tr>
</table>
</div>
<br />]]></section_content>
			<func_name>tmpl_articles_row</func_name>
			<func_data><![CDATA[$entry="",$bottom_string="",$top_string=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_legends</group_name>
			<section_content><![CDATA[</table>
	</div>
</div>
<br />]]></section_content>
			<func_name>bbcode_row_footer</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_legends</group_name>
			<section_content><![CDATA[<div>
	<div class="borderwrap">
		<div class="maintitle">$title</div>
		<div class="row2">$desc</div>
		<table class='ipbtable' cellspacing="1">
			<tr>
				<td width="50%" align="center" class="row1" valign="middle">{$this->ipsclass->lang['bbc_before']}</td>
				<td width="50%" align="center" class="row1" valign="middle">{$this->ipsclass->lang['bbc_after']}</td>
			</tr>]]></section_content>
			<func_name>bbcode_row_header</func_name>
			<func_data><![CDATA[$title="",$desc=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_legends</group_name>
			<section_content><![CDATA[<script language='javascript'>
<if="$editor_id != '' ">
	<if="$_REQUEST['_lite']">
			function add_smilie(scode, smid)
			{
				var _image = document.getElementById(smid).src;
				_image     = _image.replace( /.*\/(.+?)$/, "$1" );
				try
				{
					opener.IPS_Lite_Editor[ '{$editor_id}' ].insert_emoticon( smid.replace( 'smid_', '' ), _image, scode, this );
				}
				catch(error)
				{
				}
			}
	<else />
		function add_smilie(scode, smid)
		{
			var _image = document.getElementById(smid).src;
			_image     = _image.replace( /.*\/(.+?)$/, "$1" );
			try
			{
				opener.IPS_editor[ '{$editor_id}' ].insert_emoticon( smid.replace( 'smid_', '' ), _image, scode, this );
			}
			catch(error)
			{
			}
		}
	</if>
<else />
	function add_smilie(scode, smid)
	{
		surl = document.getElementById(smid).src;
		opener.emoticon( scode, '', surl );
	}
</if>
</script>]]></section_content>
			<func_name>emoticon_javascript</func_name>
			<func_data><![CDATA[$editor_id='ed-0']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_legends</group_name>
			<section_content><![CDATA[<div>{$this->ipsclass->lang['bbc_intro']}</div>
<br />]]></section_content>
			<func_name>bbcode_header</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_legends</group_name>
			<section_content><![CDATA[<tr>
	<td class="row1" valign="middle">$before</td>
	<td class="row1" valign="middle">$after</td>
</tr>]]></section_content>
			<func_name>bbcode_row</func_name>
			<func_data><![CDATA[$before="",$after=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<b>{$this->ipsclass->lang['oul_show_more']}</b> <a href="{$this->ipsclass->base_url}act=Online&amp;CODE=listall&amp;sort_key=click">{$this->ipsclass->lang['oul_click']}</a>, <a href="{$this->ipsclass->base_url}act=Online&amp;CODE=listall&amp;sort_key=name&amp;sort_order=asc&amp;show_mem=reg">{$this->ipsclass->lang['oul_name']}</a>]]></section_content>
			<func_name>active_user_links</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<tr>
			<td class="formsubtitle" colspan="2">{$active['TOTAL']} {$this->ipsclass->lang['active_users']}</td>
		</tr>
		<tr>
			<td class="row1" width="1%"><{F_ACTIVE}></td>
			<td class="row2">
				<b>{$active['GUESTS']}</b> {$this->ipsclass->lang['guests']}, <b>{$active['MEMBERS']}</b> {$this->ipsclass->lang['public_members']}, <b>{$active['ANON']}</b> {$this->ipsclass->lang['anon_members']}
				<div class="thin">{$active['NAMES']}</div>
				{$active['links']}
			</td>
		</tr>
		<!--IBF.WHOSCHATTING-->]]></section_content>
			<func_name>ActiveUsers</func_name>
			<func_data><![CDATA[$active=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<a href="{$this->ipsclass->base_url}act=calendar&amp;code=event_approve&amp;modfilter={$this->ipsclass->input['modfilter']}&amp;qt={$event['_quicktime']}&amp;approve=1&amp;md5check={$this->ipsclass->md5_check}&amp;cal_id={$cal_id}&amp;event_id=$id"><b>{$this->ipsclass->lang['button_approve']}</b></a> &middot;]]></section_content>
			<func_name>cal_approve_button</func_name>
			<func_data><![CDATA[$id="",$cal_id="",$event=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[</ul>
</div>]]></section_content>
			<func_name>cal_birthday_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<li><a href="{$this->ipsclass->base_url}showuser=$uid">$uname</a> ($age)</li>]]></section_content>
			<func_name>cal_birthday_entry</func_name>
			<func_data><![CDATA[$uid="",$uname="",$age=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<div class="formsubtitle">{$this->ipsclass->lang['cal_birthdays']}</div>
<div class="tablepad">
	<ul>]]></section_content>
			<func_name>cal_birthday_start</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<td class="cellblank"><!-- no content --><br /></td>]]></section_content>
			<func_name>cal_blank_cell</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<!--Day-->
<if="$queued != 0">
<td class="celldateshaded">
 <div class="calday"><a href="{$cal_date_queued}"><{BC_QUEUED_POSTS}></a>&nbsp; $month_day</div>
<else />
<td class="celldate">
 <div class="calday">$month_day</div>
</if>
	$events
</td>]]></section_content>
			<func_name>cal_date_cell</func_name>
			<func_data><![CDATA[$month_day="",$events="",$cal_date_queued="",$queued=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<!--Day-->
<if="$queued != 0">
<td class="celltodayshaded">
 <div class="calday"><a href="{$cal_date_queued}"><{BC_QUEUED_POSTS}></a>&nbsp; $month_day</div>
<else />
<td class="celltoday">
 <div class="calday">$month_day</div>
</if>
	$events
</td>]]></section_content>
			<func_name>cal_date_cell_today</func_name>
			<func_data><![CDATA[$month_day="",$events="",$cal_date_queued="",$queued=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<td width="14%" class="subtitle">$day</td>]]></section_content>
			<func_name>cal_day_bit</func_name>
			<func_data><![CDATA[$day=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<a href="javascript:calendar_event_delete($id, $cal_id)"><b>{$this->ipsclass->lang['button_delete']}</b></a> &middot; <a href="{$this->ipsclass->base_url}act=calendar&amp;code=edit&amp;cal_id={$cal_id}&amp;event_id=$id"><b>{$this->ipsclass->lang['button_edit']}</b></a>]]></section_content>
			<func_name>cal_edit_del_button</func_name>
			<func_data><![CDATA[$id="",$cal_id=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[</div>]]></section_content>
			<func_name>cal_events_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<div class="calevents">]]></section_content>
			<func_name>cal_events_start</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<div class="calitem"><a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$event['event_calendar_id']}&amp;code=showevent&amp;event_id={$event['event_id']}">{$event['event_title']}</a></div>]]></section_content>
			<func_name>cal_events_wrap</func_name>
			<func_data><![CDATA[$event=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<div class="calitem"><a href="{$this->ipsclass->base_url}act=calendar&amp;{$url}">{$text}</a></div>]]></section_content>
			<func_name>cal_events_wrap_manual</func_name>
			<func_data><![CDATA[$url="",$text=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<div class="calranged">
	<a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$event['event_calendar_id']}&amp;code=showevent&amp;event_id={$event['event_id']}">{$event['event_title']}</a>
</div>]]></section_content>
			<func_name>cal_events_wrap_range</func_name>
			<func_data><![CDATA[$event=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<div class="calitem">
	<a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$event['event_calendar_id']}&amp;code=showevent&amp;event_id={$event['event_id']}" title="{$this->ipsclass->lang['tbt_recur']}">{$event['event_title']}</a>
</div>]]></section_content>
			<func_name>cal_events_wrap_recurring</func_name>
			<func_data><![CDATA[$event=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<div class="calmonths">
	<a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$cal_id}&amp;m={$prev['month_id']}&amp;y={$prev['year_id']}" title="{$prev['month_name']} {$prev['year_id']}">&laquo;</a>
	$month $year 
	<a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$cal_id}&amp;m={$next['month_id']}&amp;y={$next['year_id']}" title="{$next['month_name']} {$next['year_id']}">&raquo;</a>
</div>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td width="25%" valign="top" class="nopad">
			<!--PREV.MONTH--><br />
			<!--THIS.MONTH--><br />
			<!--NEXT.MONTH--><br />
		</td>
		<td width="1%" class="nopad">&nbsp;</td>
		<td width="75%" valign="top" class="nopad">
			<div class="borderwrap">
				<div class="maintitle">{$this->ipsclass->lang['table_title']}</div>
				<table class='ipbtable' cellspacing="1">
					<tr>
						<td width="2%" class="subtitle">&nbsp;</td>
						<!--IBF.DAYS_TITLE_ROW-->
						<!--IBF.DAYS_CONTENT-->
					</tr>
				</table>
			</div>
			<br />
			<table width='100%' cellspacing="0" cellpadding='0'>
			<tr>
			 <td width='25%' class='nopad' valign='top'>
			  <form action="{$this->ipsclass->base_url}act=calendar" method="post">
			   <div class="borderwrap">
			    <div class='maintitle'>{$this->ipsclass->lang['cal_title_nav']}</div>
				   <div class="tablepad">
					   &middot; <a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$cal_id}&amp;code=find&amp;what=thismonth">{$this->ipsclass->lang['aa_cur_month']}</a>
					   <br />&middot; <a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$cal_id}&amp;code=find&amp;what=thisweek">{$this->ipsclass->lang['aa_view_week']}</a>
					   <br clear='all'/>&nbsp;
				   </div>
			  </div>
		      </form>
		     </td>
		     <td width='1%'>&nbsp;</td>
		     <td width='45%' class='nopad' valign='top'>
			  <form action="{$this->ipsclass->base_url}act=calendar" method="post">
			   <div class="borderwrap">
			    <div class='maintitle' align='center'>{$this->ipsclass->lang['cal_title_jump']}</div>
				   <div class="tablepad" align='center'>
					  <select name="m"><!--IBF.MONTH_BOX--></select>&nbsp;<select name="year"><!--IBF.YEAR_BOX--></select>
					  <br /><select name="cal_id">{$cal_jump}</select>&nbsp;<input class="gobutton" type="image" src="{$this->ipsclass->vars['img_url']}/login-button.gif" value="{$this->ipsclass->lang['jmp_go']}" />
				   </div>
			   </div>
		      </form>
		     </td>
		     <td width='1%'>&nbsp;</td>
		     <td width='25%' class='nopad' valign='top'>
			  <div class='borderwrap'>
			   <div class='maintitle'>{$this->ipsclass->lang['aa_add_new_event']}</div>
			   <div class='tablepad'>
			    &middot; <a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$cal_id}&amp;code=newevent&amp;formtype=single">{$this->ipsclass->lang['cal_event_add_single']}</a>
			    <br />&middot; <a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$cal_id}&amp;code=newevent&amp;formtype=range">{$this->ipsclass->lang['cal_event_add_ranged']}</a>
			    <br />&middot; <a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$cal_id}&amp;code=newevent&amp;formtype=recur">{$this->ipsclass->lang['cal_event_add_recurring']}</a>
			   </div>
			  </div>
			</td>
		   </tr>
		   </table>
		</td>
	</tr>
</table>]]></section_content>
			<func_name>cal_main_content</func_name>
			<func_data><![CDATA[$month="",$year="",$prev="",$next="",$cal_jump="",$cal_id=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[</tr>
<!-- NEW ROW-->
<tr>
	<td class="formsubtitle">
		<a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input['_cal_id']}&amp;code=showweek&amp;week=$week">&raquo;</a>
	</td>]]></section_content>
			<func_name>cal_new_row</func_name>
			<func_data><![CDATA[$week=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[</div>]]></section_content>
			<func_name>cal_page_events_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<script type="text/javascript">
<!-- // Hide javascript from HTML validator
	function calendar_event_delete(id, cal_id)
	{
		if (confirm('{$this->ipsclass->lang['js_del_1']}'))
		{
			 window.location.href = "{$this->ipsclass->base_url}act=calendar&code=delete&md5check={$this->ipsclass->md5_check}&event_id=" + id + "&cal_id=" + cal_id;
		 }
		 else {
			alert ('{$this->ipsclass->lang['js_del_2']}');
		} 
	}
-->
</script>
<div class="borderwrap">
	<div class="maintitle">{$this->ipsclass->lang['cal_title_events']}</div>]]></section_content>
			<func_name>cal_page_events_start</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<script type='text/javascript' src='jscripts/ipb_topic.js'></script>
<div class="barc">
	<p class="over">{$approve_button} {$edit_button}</p>
	<p><b>{$event['event_title']} ($event_type)</b></p>
</div>
<table class='ipbtable' cellspacing="1">
	<tr>
		<td class="{$event['_event_css_2']}" width="1%" valign="middle">
			<if="$member['id']">
				<div id="post-member-{$event['event_id']}" class='popmenubutton-new-out'>
					<span class="normalname">{$member['_pp_online_image']}{$member['_members_display_name']}</span>
				</div>
				<!-- member menu -->
				<div class='popupmenu-new' id='post-member-{$event['event_id']}_menu' style='display:none;width:230px'>
					<div class='popupmenu-item-last'>
						<if="$member['members_display_name_short'] != $member['members_display_name']">
							<div class='popupmenu-item'><strong>{$member['members_display_name']}</strong></div>
						</if>
						<div style='float:right'>
							<div class='pp-image-thumb-wrap'>
								<img src='{$member['pp_thumb_photo']}' width='{$member['pp_thumb_width']}' height='{$member['pp_thumb_height']}' alt='' />
							</div>
							<if="$this->ipsclass->vars['pp_allow_member_rate']">
								<div style='margin-top:5px;margin-left:6px;'>
									<img src="{$this->ipsclass->vars['img_url']}/rating_{$member['_pp_rating_real']}_mini.gif" alt='{$this->ipsclass->lang['rating_prefix']}: {$member['_pp_rating_real']}' style='vertical-align:middle' border='0' />
								</div>
							</if>
						</div>
						<div class='popupmenu-item'>
							{$member['_pp_gender_image']} <a href="{$this->ipsclass->base_url}showuser={$member['id']}">{$this->ipsclass->lang['dd_view_profile']}</a>
						</div>
						<if="$this->ipsclass->member['id']">
							<div class='popupmenu-item'>
								<if="in_array( $member['id'], array_keys( $this->ipsclass->member['_cache']['friends'] ) )">
									<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_remove_small.png' alt='' border='0' /> <a href="#" onclick='friends_pop("&amp;do=remove&amp;member_id={$member['id']}&amp;md5check={$this->ipsclass->md5_check}"); return false'>{$this->ipsclass->lang['dd_remove_friend']}</a>
								<else />
									<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/friend_add_small.png' alt='' border='0' /> <a href="#" onclick='friends_pop("&amp;do=add&amp;member_id={$member['id']}&amp;md5check={$this->ipsclass->md5_check}"); return false'>{$this->ipsclass->lang['dd_add_friend']}</a>
								</if>
							</div>
							<div class='popupmenu-item'>
								<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/send_pm_small.png' alt='' border='0' /> <a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=4&amp;MID={$member['id']}">{$this->ipsclass->lang['dd_send_pm']}</a>
							</div>
							<div class='popupmenu-item'>
								<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/find_posts.png' alt='' border='0' /> <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=gettopicsuser&amp;mid={$member['id']}'>{$this->ipsclass->lang['dd_find_topics']}</a>
							</div>							
						</if>
						<div class='popupmenu-item-last'>
							<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/find_posts.png' alt='' border='0' /> <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=getalluser&amp;mid={$member['id']}'>{$this->ipsclass->lang['dd_find_posts']}</a>
						</div>
					</div>
				</div>
				<!-- member menu -->
				<script type="text/javascript">
					ipsmenu.register( "post-member-{$event['event_id']}", '', 'popmenubutton-new', 'popmenubutton-new-out' );
				</script>
			<else />
				<span class="normalname">{$member['_members_display_name']}</span>
			</if>		
		<!--<span class="normalname"><a href="{$this->ipsclass->base_url}showuser={$member['id']}">{$member['members_display_name']}</a></span>-->
		</td>
		<td class="{$event['_event_css_2']}" width="99%">
			<b>{$this->ipsclass->lang['event_date']} {$event['mday']} {$event['month_text']} {$event['year']} $date_ends</b> ($type)
		</td>
	</tr>
	<tr>
		<td valign="top" class="{$event['_event_css_1']}">
			    <span class="postdetails">
				<if="$member['id'] AND $member['avatar']">
					<a href="{$this->ipsclass->base_url}showuser={$member['id']}" title="{$this->ipsclass->lang['dd_view_profile']}">{$member['avatar']}</a><br /><br />
				<else />
        			{$member['avatar']}<br /><br />
				</if>			    
        		{$member['title']}<br />
        		{$member['member_rank_img']}<br /><br />
        		{$member['member_group']}<br />
        		{$member['member_posts']}<br />
        		{$member['member_joined']}<br />
        		{$member['member_location']}
        		{$member['member_number']}<br />
<if="$member['custom_fields'] != """>
{$member['custom_fields']}
</if>
<br />
        		{$member['warn_text']} {$member['warn_minus']}{$member['warn_img']}{$member['warn_add']}
        	</span><br />
        	<img src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width="160" height="1" /><br />
		</td>
		<td valign="top" class="{$event['_event_css_1']}">
			<span class="postcolor">{$event['event_content']}</span>
		</td>
	</tr>
	<tr>
		<td class="formbuttonrow" colspan="2"><a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input['_cal_id']}&amp;d={$this->ipsclass->input['d']}&amp;m={$this->ipsclass->input['m']}&amp;y={$this->ipsclass->input['y']}"><b>{$this->ipsclass->lang['back']}</b></a></td>
	</tr>
	<tr>
		<td class="catend" colspan="2"><!-- no content --></td>
	</tr>
</table>]]></section_content>
			<func_name>cal_show_event</func_name>
			<func_data><![CDATA[$event="",$member="",$event_type="",$edit_button="",$approve_button="",$type="",$date_ends=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<a href="{$this->ipsclass->base_url}act=calendar&amp;code=event_approve&amp;modfilter={$this->ipsclass->input['modfilter']}&amp;qt={$event['_quicktime']}&amp;approve=0&amp;md5check={$this->ipsclass->md5_check}&amp;cal_id={$cal_id}&amp;event_id=$id"><b>{$this->ipsclass->lang['button_unapprove']}</b></a> &middot;]]></section_content>
			<func_name>cal_unapprove_button</func_name>
			<func_data><![CDATA[$id="",$cal_id="",$event=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<div class="calmonths">
	<a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input['_cal_id']}&amp;code=showweek&amp;week={$prev['0']}" title="{$prev['mday']} {$prev['month']} {$prev['year']}">&laquo;</a>
	$date $month $year 
	<a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input['_cal_id']}&amp;code=showweek&amp;week={$next['0']}" title="{$next['mday']} {$next['month']} {$next['year']}">&raquo;</a>
</div>
<table class='ipbtable' cellspacing="0">
	<tr>
		<td width="25%" valign="top" class="nopad">
			<!--PREV.MONTH--><br />
			<!--THIS.MONTH--><br />
			<!--NEXT.MONTH--><br />
		</td>
		<td width="1%" class="nopad">&nbsp;</td>
		<td width="75%" valign="top" class="nopad">
			<div class="borderwrap">
				<table class='ipbtable' cellspacing="0">
					<!--IBF.DAYS_CONTENT-->
					</tr>
				</table>
			</div>
			<br />
		</td>
	</tr>
</table>
<form action="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input['_cal_id']}" method="post">
	<div class="borderwrap">
		<div class="barb">
			<p class="overs"><span class="fauxbutton"><a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input['_cal_id']}&amp;code=newevent&amp;formtype=single">{$this->ipsclass->lang['day_add_event']}</a></span>
			&nbsp;<span class="fauxbutton"><a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input['_cal_id']}&amp;code=find&amp;what=thismonth">{$this->ipsclass->lang['aa_cur_month']}</a></span>
			&nbsp;<span class="fauxbutton"><a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input['_cal_id']}&amp;code=find&amp;what=thisweek">{$this->ipsclass->lang['aa_view_week']}</a></span></p>
			<p><select name="m"><!--IBF.MONTH_BOX--></select>&nbsp;<select name="year"><!--IBF.YEAR_BOX--></select>&nbsp;<input class="gobutton" type="image" src="{$this->ipsclass->vars['img_url']}/login-button.gif" /></p>
		</div>
	</div>
</form>]]></section_content>
			<func_name>cal_week_content</func_name>
			<func_data><![CDATA[$date="",$month="",$year="",$prev="",$next=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<tr>
	<td class="nopad">
		<div class="bar">
			<p class="over"><a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input['_cal_id']}&amp;code=newevent&amp;nd={$year}-{$mid}-{$date}&amp;formtype=single">{$this->ipsclass->lang['day_add_event']}</a></p>
			<p><span class="weekday">$wday</span></p>
		</div>
	</td>
</tr>
<tr>
	<td class="nopad">
		<table class='ipbtable' cellspacing="0">
			<tr>
				<td width="5%" class="calweekday">$date</td>
<if="$queued != 0">
<td class="celldateshaded" style='height:auto'>$events</td>
<else />
<td class="row2">$events</td>
</if>
			</tr>
		</table>
	</td>
</tr>]]></section_content>
			<func_name>cal_week_dayentry</func_name>
			<func_data><![CDATA[$wday="",$date="",$month="",$mid="",$year="",$events="",$queued=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<div class="divpad">
	<b><a href="{$this->ipsclass->base_url}act=calendar&amp;$link">$text</a></b>
</div>]]></section_content>
			<func_name>cal_week_events_wrap</func_name>
			<func_data><![CDATA[$link="",$text=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<div style="background-color: $bg; color: $ft; padding: 3px; border: 1px outset $bg; width: 50%;'>
	<a href="{$this->ipsclass->base_url}act=calendar&amp;$link" style="color: $ft;">$text</a>
</div>]]></section_content>
			<func_name>cal_week_events_wrap_range</func_name>
			<func_data><![CDATA[$link="",$text="",$ft="",$bg=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<tr>
	<td class="maintitle">$month $year</td>
</tr>]]></section_content>
			<func_name>cal_week_monthbar</func_name>
			<func_data><![CDATA[$month="",$year=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" width='20%' valign='top'>
	 <strong>{$this->ipsclass->lang['calendar_group_filter']}</strong>
	</td>
	<td align="left" width='80%'>
	    <select name="e_groups[]" size="5" multiple>$groups</select>
	    <div class='desc'>{$this->ipsclass->lang['calendar_group_filter_t']}</div>
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>]]></section_content>
			<func_name>calendar_admin_group_box</func_name>
			<func_data><![CDATA[$groups=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" width='20%' valign='top'>
	 <strong>{$this->ipsclass->lang['calendar_event_date']}</strong>
	</td>
	<td align="left" width='80%'>
	 <table class='ipbtable' cellspacing="0">
			<tr>
				<td width='20%' nowrap='nowrap'>
					<strong>{$this->ipsclass->lang['fv_single']}</strong>
				</td>
				<td>
					<select name="e_day">
						$days
					</select>&nbsp;&nbsp;
					<select name="e_month">
						$months
					</select>&nbsp;&nbsp;
					<select name="e_year">
						$years
					</select>
				</td>
			</tr>
			<tr>
				<td>
					<strong>{$this->ipsclass->lang['fv_range']}</strong>
				</td>
				<td>
				   <table class='ipbtable' cellspacing="0">
					   <tr>
						   <td><b>{$this->ipsclass->lang['fv_range_ends']}</b></td>
						   <td>
							   <select name="end_day">
								   $end_days
							   </select>&nbsp;&nbsp;
							   <select name="end_month">
								   $end_months
							   </select>&nbsp;&nbsp;
							   <select name="end_year">
								   $end_years
							   </select>
						   </td>
					   </tr>
				   </table>
				</td>
			</tr>
		</table>
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>]]></section_content>
			<func_name>calendar_choose_date_range</func_name>
			<func_data><![CDATA[$days="",$months="",$years="",$end_days="",$end_months="",$end_years=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" width='20%' valign='top'>
	 <strong>{$this->ipsclass->lang['calendar_event_date']}</strong>
	</td>
	<td align="left" width='80%'>
	 <table class='ipbtable' cellspacing="0">
			<tr>
				<td width='20%' nowrap='nowrap'>
					<strong>{$this->ipsclass->lang['fv_single']}</strong>
				</td>
				<td>
					<select name="e_day">
						$days
					</select>&nbsp;&nbsp;
					<select name="e_month">
						$months
					</select>&nbsp;&nbsp;
					<select name="e_year">
						$years
					</select>
				</td>
			</tr>
			<tr>
				<td>
					<strong>{$this->ipsclass->lang['fv_recur']}</strong>
				</td>
				<td>
				   <b>{$this->ipsclass->lang['fv_recur_every']}</b> 
				   <select name="recur_unit">
					   $recur_unit
				   </select>
				   <b>{$this->ipsclass->lang['fv_until']}</b> 
				   <select name="end_day">
					   {$recend['d']}
				   </select>
				   <select name="end_month">
					   {$recend['m']}
				   </select>&nbsp;&nbsp;
				   <select name="end_year">
					   {$recend['y']}
				   </select>
				</td>
			</tr>
		</table>
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>]]></section_content>
			<func_name>calendar_choose_date_recur</func_name>
			<func_data><![CDATA[$days="",$months="",$years="",$recur_unit="",$recend=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" width='20%' valign='top'>
	 <strong>{$this->ipsclass->lang['calendar_event_date']}</strong>
	</td>
	<td align="left" width='80%'>
	 <table class='ipbtable' cellspacing="0">
			<tr>
				<td width='20%' nowrap='nowrap'>
					<strong>{$this->ipsclass->lang['fv_single']}</strong>
				</td>
				<td>
					<select name="e_day">
						$days
					</select>&nbsp;&nbsp;
					<select name="e_month">
						$months
					</select>&nbsp;&nbsp;
					<select name="e_year">
						$years
					</select>
				</td>
			</tr>
		</table>
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>]]></section_content>
			<func_name>calendar_choose_date_single</func_name>
			<func_data><![CDATA[$days="",$months="",$years=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<tr>
			<td class="formbuttonrow" colspan="2">
				<input class='button' type="submit" value="$data" tabindex="4" />
			</td>
		</tr>
	</table>
</div>
</form>
<br />
<br clear="all" />]]></section_content>
			<func_name>calendar_end_form</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" width='20%'>
	 <strong>{$this->ipsclass->lang['calendar_title']}</strong>
	</td>
	<td align="left" width='80%'>
	 <input type="text" size="50" maxlength="50" name="event_title" value="$data" />
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>]]></section_content>
			<func_name>calendar_event_title</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<if="$timestuff['formtype'] != 'range'">
<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
  <tr>
	<td align="left" width='100%' colspan='2'>
	 <input type='checkbox' name='set_times' {$timestuff['checked']} value='1' onclick="toggleview('time-settings')" /> &nbsp;<strong>{$this->ipsclass->lang['form_set_times']}</strong>
	</td>
   </tr>
 </table>
<div id='time-settings' style='display:{$timestuff['divhide']};'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
  <tr>
	<td align="right" width='20%'>
	 <strong>{$this->ipsclass->lang['form_tz']}</strong>
	</td>
	<td align="left" width='80%'>
	    {$timezone}
	</td>
   </tr>
  <tr>
	<td align="right" width='20%'>
	 <strong>{$this->ipsclass->lang['form_timestart']}</strong>
	</td>
	<td align="left" width='80%'>
	    <input type='text' size='8' name='event_timestart' value='{$timestuff['timestart']}' />
	</td>
   </tr>
 </table>
</div>
</div>
</td>
</tr>
</if>
<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" width='20%' valign='middle'>
	 <strong>{$this->ipsclass->lang['form_whichcal']}</strong>
	</td>
	<td align="left" width='80%'>
	    <select name='event_calendar_id'>{$dropdown}</select>
	</td>
   </tr>
   <tr>
	<td align="right" width='20%' valign='middle'>
	 <strong>{$this->ipsclass->lang['calendar_event_type']}</strong>
	</td>
	<td align="left" width='80%'>
	    <select name="e_type">
			<option value="public"$pub_select>{$this->ipsclass->lang['calendar_type_public']}</option>
			<option value="private"$priv_select>{$this->ipsclass->lang['calendar_type_private']}</option>
		</select>
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>]]></section_content>
			<func_name>calendar_event_type</func_name>
			<func_data><![CDATA[$pub_select="",$priv_select="",$timezone="",$dropdown="",$timestuff=array()]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<form id='postingform' action="{$this->ipsclass->base_url}act=calendar&amp;code={$code}&amp;cal_id={$calendar_id}&amp;formtype={$formtype}&amp;event_id={$event_id}" method="post" name="REPLIER" onsubmit="return ValidateForm()">
	<input type="hidden" name="removeattachid" value="" />]]></section_content>
			<func_name>calendar_start_form</func_name>
			<func_data><![CDATA[$code="",$calendar_id="",$formtype="",$event_id='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<td class="mcellblank"><!-- no content --></td>]]></section_content>
			<func_name>mini_cal_blank_cell</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<td class="mcelldate">
	<div class="calday">$month_day</div>
</td>]]></section_content>
			<func_name>mini_cal_date_cell</func_name>
			<func_data><![CDATA[$month_day="",$events=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<td class="mcelltoday">
	<div class="calday">$month_day</div>
</td>]]></section_content>
			<func_name>mini_cal_date_cell_today</func_name>
			<func_data><![CDATA[$month_day="",$events=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<td width="14%" class="subtitle">$day</td>]]></section_content>
			<func_name>mini_cal_day_bit</func_name>
			<func_data><![CDATA[$day=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle">
		<p class="goto"><a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input['_cal_id']}&amp;m={$mid}&amp;y=$year"><{CAL_GOTO}></a></p>
		<p>{$month} {$year}</p>
	</div>
	<table class='ipbtable' cellspacing="1">
		<tr>
			<td class="subtitle">&nbsp;</td>
			{$content}
		</tr>
	</table>
</div>]]></section_content>
			<func_name>mini_cal_mini_wrap</func_name>
			<func_data><![CDATA[$month="",$mid="",$year="",$content=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[</tr>
	<!-- NEW ROW-->
<tr>
	<td class="formsubtitle">
		<a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input['_cal_id']}&amp;code=showweek&amp;week=$week">&raquo;</a>
	</td>]]></section_content>
			<func_name>mini_cal_new_row</func_name>
			<func_data><![CDATA[$week=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_calendar</group_name>
			<section_content><![CDATA[<div class="borderwrap">
<table class='ipbtable' cellspacing="0">
	<tr>
		<td class="maintitle" colspan="2">&nbsp;&nbsp;$data</td>
	</tr>]]></section_content>
			<func_name>table_top</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_boards</group_name>
			<section_content><![CDATA[<tr>
			<td class="formsubtitle" colspan="2">{$total} {$this->ipsclass->lang['whoschatting_total']} {$this->ipsclass->lang['whoschatting_loadchat']}</td>
		</tr>
		<tr>
			<td class="row1" width="1%"><{F_ACTIVE}></td>
			<td class="row2">
				{$names}<div class="desc">$txt</div>
			</td>
		</tr>]]></section_content>
			<func_name>whoschatting_show</func_name>
			<func_data><![CDATA[$total="",$names=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_buddy</group_name>
			<section_content><![CDATA[<div class='mya-back'>
 {$content}
</div>]]></section_content>
			<func_name>xml_wrap</func_name>
			<func_data><![CDATA[$content=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_profile</group_name>
			<section_content><![CDATA[<div id='pp-iframe-wrap' class='pp-contentbox-back' style='overflow:auto'>
	<if="is_array($friends) and count($friends)">
		<foreach="$friends as $friend">
			<div class='pp-contentbox-entry-noheight' id='pp-comment-entry-main-{$friend['comment_id']}'>
				<div class='pp-tiny-text'>
				<div class='pp-image-thumb-wrap-floatright'><img src='{$friend['pp_thumb_photo']}' width='{$friend['pp_thumb_width']}' height='{$friend['pp_thumb_height']}' alt='' /></div>
					{$friend['_pp_gender_image']} <strong><a href='{$this->ipsclass->base_url}showuser={$friend['id']}' target='_parent'>{$friend['members_display_name']}</a></strong>
					<div class='pp-tiny-text'>
						{$friend['g_title']}
						<br />{$friend['posts']} {$this->ipsclass->lang['fav_posts']}
						<br />{$this->ipsclass->lang['m_active']}: {$friend['_last_active']}
					</div>
				</div>
			</div>
		</foreach>
		<if="$pages OR ( $member['id'] == $this->ipsclass->member['id'] )">
			<div class='pp-contentbox-entry-noheight'>
				<div style='float:right'>
					<if="$member['id'] == $this->ipsclass->member['id']">
						<a href='#' onclick='parent.friends_pop()'>{$this->ipsclass->lang['m_manage_friends']}</a>
					</if>
				</div>
				<div>{$pages}&nbsp;</div>
			</div>
		</if>
	<else />
		<div class='post1' style='padding:6px'>
			<em>{$this->ipsclass->lang['m_nofriends']}</em>
		</div>
	</if>
</div>
<br /><br /><br /> <!-- Gotta give room for page jump... -->]]></section_content>
			<func_name>personal_portal_iframe_friends</func_name>
			<func_data>$member, $friends, $pages</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[</div>]]></section_content>
			<func_name>bbcode_wrap_end</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<div class='<!--css.top-->'><!--title--><!--extra--></div><div class='<!--css.main-->'>]]></section_content>
			<func_name>bbcode_wrap_start</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<br />
<form action="{$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}" method="post">
	<input type="hidden" name="act" value="Login" />
	<input type="hidden" name="CODE" value="01" />
	<input type="hidden" name="s" value="{$this->ipsclass->session_id}" />
	<input type="hidden" name="referer" value="" />
	<input type="hidden" name="CookieDate" value="1" />
	<div class="borderwrap">
		<h3><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['offline_title']}</h3>
		<p>$message</p>
		<div class="fieldwrap">
<if="$this->ipsclass->vars['ipbli_usertype'] == 'username'">
<h4>{$this->ipsclass->lang['erl_enter_name']}</h4>
		<input type="text" size="20" maxlength="64" name="UserName" />
<else />
<h4>{$this->ipsclass->lang['erl_email']}</h4>
		<input type="text" size="20" maxlength="128" name="UserName" />
</if>
			<h4>{$this->ipsclass->lang['erl_enter_pass']}</h4>
			<input type="password" size="20" name="PassWord" />
		</div>
		<p class="formbuttonrow"><input class="button" type="submit" name="submit" value="{$this->ipsclass->lang['erl_log_in_submit']}" /></p>
	</div>
</form>]]></section_content>
			<func_name>board_offline</func_name>
			<func_data><![CDATA[$message=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_stats</group_name>
			<section_content><![CDATA[<div class="borderwrap">
	<div class="maintitle"><{CAT_IMG}>&nbsp;$group</div>
		<table class='ipbtable' cellspacing="1">
			<tr>
				<th width="30%" valign="middle">{$this->ipsclass->lang['leader_name']}</th>
				<th width="40%" align="center" valign="middle">{$this->ipsclass->lang['leader_forums']}</th>
				<th align="center" width="25%" valign="middle">{$this->ipsclass->lang['leader_location']}</th>
				<th align="center" width="5%"  valign="middle">&nbsp;</th>
			</tr>]]></section_content>
			<func_name>group_strip</func_name>
			<func_data><![CDATA[$group=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<tr id="{$data['attach_id']}">
		<td align="center" class="row1"><img src="{$this->ipsclass->vars['mime_img']}/{$data['image']}" alt="{$this->ipsclass->lang['attached_file']}" /></td>
		<td class="row2">
			<a href="{$this->ipsclass->base_url}act=Attach&amp;type={$data['_type']}&amp;id={$data['attach_id']}" title="{$data['attach_file']}" target="_blank">{$data['short_name']}</a>
			<div class="desc">( {$this->ipsclass->lang['attach_hits']}: {$data['attach_hits']} )</div>
		</td>
		<td align="center" class="row1">{$data['real_size']}</td>
		<td class="row2">
<if="$data['attach_rel_id'] > 0 AND $data['attach_rel_module'] == 'post'">
<a href="{$this->ipsclass->base_url}showtopic={$data['tid']}&amp;view=findpost&amp;p={$data['attach_rel_id']}">{$data['title']}</a>
<else />
{$data['title']}
</if>
				<br />
			<span class="desc">{$data['attach_date']}</span>
		</td>
		<td class="row2" align="center"><input type="checkbox" name="attach_{$data['attach_id']}" value="1" class="checkbox" /></td>
	</tr>]]></section_content>
			<func_name>attachments_row</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_ucp</group_name>
			<section_content><![CDATA[<!-- inbox folder -->
<div class="formsubtitle">{$this->ipsclass->lang['m_attach']}</div>
<if="$info['has_limit'] == 1">
<table class='ipbtable' cellspacing="0">
		<tr>
			<td valign="middle">
				<!-- LEFT -->
				<table class='ipbtable' cellspacing="1">
					<tr>
						<td class="row1" colspan="3">{$this->ipsclass->lang['attach_space_used']}</td>
					</tr>
					<tr>
						<td valign="middle" class="row1" colspan="3" width='100%'><{BAR_LEFT}><img src="{$this->ipsclass->vars['img_url']}/bar.gif" width="{$info['img_width']}" height="11" align="middle" alt="" /><{BAR_RIGHT}></td>
					</tr>
					<tr>
						<td class="row1" width="33%" valign="middle">0%</td>
						<td class="row1" width="33%" align="center" valign="middle">50%</td>
						<td class="row1" width="33%" align="right" valign="middle">100%</td>
					</tr>
				</table>
			</td>
			
			<!-- RIGHT -->
			<td align="right" valign="bottom">$pages<br /><br />{$this->ipsclass->lang['attach_space_count']}</td>
		</tr>
	</table>
<else />
<table class='ipbtable' cellspacing="0">
	<tr>
		<td>
			<!-- LEFT -->
			{$this->ipsclass->lang['attach_space_used']}
		</td>
		<td align="right">
			<!-- RIGHT -->
			$pages
		</td>
	</tr>
</table>
</if>
<!-- ATTACHMENTS TABLE -->
  
<form action="{$this->ipsclass->base_url}act=usercp&amp;CODE=attach&amp;sort={$this->ipsclass->input['sort']}" name="mutliact" method="post">
<div class="borderwrapm">
	<table class='ipbtable' cellspacing="1">
		<tr>
			<th width="2%">&nbsp;</th>
			<th width="35%"><b>{$this->ipsclass->lang['attach_title']}</b></th>
			<th width="5%"><b>{$this->ipsclass->lang['attach_hsize']}</b></th>
			<th width="27%"><b>{$this->ipsclass->lang['attach_topic']}</b></th>
			<th width="5%" align="center" style='padding:1px;'><input name="allbox" type="checkbox" class='checkbox' value="Check All" onclick="InboxCheckAll();" /></th>
		</tr>
<if="$attach_html != """>
{$attach_html}
		<tr>
			<td colspan="5" align="right" class="formbuttonrow"><input type="submit" value="{$this->ipsclass->lang['attach_delete']}" class="button" /></td>
		</tr>
<else />
<tr>
			<td colspan="5" align="center" class='row2'><strong>{$this->ipsclass->lang['splash_noattach']}</strong></td>
		</tr>
</if>
	</table>
</div>
</form>]]></section_content>
			<func_name>attachments_top</func_name>
			<func_data><![CDATA[$info="",$pages="",$attach_html=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_editors</group_name>
			<section_content><![CDATA[<!--top-->
<if="$editor_id == 'ed-0'">
<script type="text/javascript" src="jscripts/ips_text_editor.js"></script>
<script type="text/javascript" src="jscripts/ips_text_editor_func.js"></script>
<style type='text/css'>
@import url( "{$images_path}css_rte.css" );
</style>
</if>
<input type='hidden' name='{$editor_id}_wysiwyg_used' id='{$editor_id}_wysiwyg_used' value='0' />
<input type='hidden' name='editor_ids[]' value='{$editor_id}' />
<table width='100%'>
 <tr>
  <td nowrap='nowrap' id='{$editor_id}_options-bar' class="rte-option-panel" style='width:0px;' valign='top'></td>
  <td id='{$editor_id}_spacer-bar' width='4px'>&nbsp;</td>
  <td nowrap='nowrap' style='width:100%;' id='{$editor_id}_main-bar' class="rte-buttonbar" valign='top'>
<!-- Main editor wrapper -->
    <div id='{$editor_id}_controls' style='display:none;padding:6px;text-align:left'>
        <table cellpadding="2" cellspacing="0" width='100%'>
        <tr>
        <td width='1%' align='left' nowrap='nowrap'>
          <table cellpadding='0' cellspacing='0' width='100%'>
           <tr>
            <td><div class='rte-normal' id="{$editor_id}_cmd_removeformat"><img src="{$images_path}rte-remove-formatting.gif" alt="{$this->ipsclass->lang['js_tt_noformat']}" title="{$this->ipsclass->lang['js_tt_noformat']}" ></div></td>
            <td><div class='rte-normal' id="{$editor_id}_cmd_togglesource"><img src="{$images_path}rte-toggle-html.gif" alt="{$this->ipsclass->lang['js_tt_htmlsource']}" title="{$this->ipsclass->lang['js_tt_htmlsource']}" ></div></td>
			<td><img class="rteVertSep" src="{$images_path}rte_dots.gif" width="1" height="20" border="0" alt=""></td> 
			<td>
				<div class='rte-menu-button' id='{$editor_id}_popup_special' title='{$this->ipsclass->lang['js_tt_insert_item']}' style='margin-right:2px;margin-left:2px;width:148px'>
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td><div id='{$editor_id}_out_special' style='width:130px'>{$this->ipsclass->lang['js_tt_insert_item']}</div></td>
						<td align='right'><img class="ipd" src="{$images_path}icon_open.gif"  border="0" alt=""></td>
					</tr>
					</table>
				</div>
			</td>
			<td>
				<div class='rte-menu-button' id='{$editor_id}_popup_fontname' title='{$this->ipsclass->lang['box_font']}' style='margin-right:2px;width:148px'>
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td><div id='{$editor_id}_out_fontname' style='width:130px'>&nbsp;</div></td>
						<td align='right'><img class="ipd" src="{$images_path}icon_open.gif"  border="0" alt=""></td>
					</tr>
					</table>
				</div>
			</td>
            <td>
				<div class='rte-menu-button' id='{$editor_id}_popup_fontsize' title='{$this->ipsclass->lang['box_size']}' style='width:78px'>
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td><div id='{$editor_id}_out_fontsize' style='width:60px'>&nbsp;</div></td>
						<td align='right'><img class="ipd" src="{$images_path}icon_open.gif"  border="0" alt=""></td>
					</tr>
					</table>
				</div>
			</td>
			<td>
				<div class='rte-menu-button' id='{$editor_id}_popup_forecolor' title='{$this->ipsclass->lang['js_tt_font_col']}' style='margin-left:2px;width:41px'>
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td><div id='{$editor_id}_out_color'>&nbsp;</div></td>
						<td nowrap="nowrap">
							<img class='ipd' src="{$images_path}rte-textcolor.gif" alt="{$this->ipsclass->lang['js_tt_font_col']}" title="{$this->ipsclass->lang['js_tt_font_col']}" >
							<img class="ipd" src="{$images_path}icon_open.gif"  border="0" alt="">
						</td>
					</tr>
					</table>
				</div>
			</td>
           </tr>
          </table>
         </td>
         <td width='98%'>&nbsp;</td>
         <td width='1%' nowrap='nowrap' align='right'>
          <table cellpadding='0' cellspacing='0' width='100%'>
           <tr>
               <td><div class="rte-normal" id="{$editor_id}_cmd_spellcheck"><img src="{$images_path}spellcheck.gif" width="25" height="24" alt="{$this->ipsclass->lang['js_tt_spellcheck']}" title="{$this->ipsclass->lang['js_tt_spellcheck']}" ></div></td>
               <td><div class="rte-normal" id="{$editor_id}_cmd_undo" style='padding:5px'><img src="{$images_path}rte-undo.png" style="width:16px;height:16px;" alt="{$this->ipsclass->lang['js_tt_undo']}" title="{$this->ipsclass->lang['js_tt_undo']}" ></div></td>
               <td><div class="rte-normal" id="{$editor_id}_cmd_redo" style='padding:5px'><img src="{$images_path}rte-redo.png" style="width:16px;height:16px;" alt="{$this->ipsclass->lang['js_tt_redo']}" title="{$this->ipsclass->lang['js_tt_redo']}" ></div></td>
			   <td>
				   <div class="rte-normal" style='padding:0px;margin:0px;' id="{$editor_id}_cmd_resize_up"><img src="{$images_path}rte-resize-up.gif"  alt="{$this->ipsclass->lang['js_tt_smaller']}" title="{$this->ipsclass->lang['js_tt_smaller']}"></div>
				   <div class="rte-normal" style='padding:0px;margin:0px;padding-top:1px' id="{$editor_id}_cmd_resize_down"><img src="{$images_path}rte-resize-down.gif"  alt="{$this->ipsclass->lang['js_tt_larger']}" title="{$this->ipsclass->lang['js_tt_larger']}"></div>
			   </td>
			   <if="$this->ipsclass->vars['posting_allow_rte'] == 1">
			   	<td><div class="rte-normal" id="{$editor_id}_cmd_switcheditor"><img src="{$images_path}rte-switch-editor.png" alt="{$this->ipsclass->lang['js_tt_switcheditor']}" title="{$this->ipsclass->lang['js_tt_switcheditor']}" ></div></td>
			   </if>
           </tr>
          </table>
         </td>
        </tr>
        </table>
        <table cellpadding="2" cellspacing="0" id="Buttons2" width='100%'>
        <tr>
         <td width='1%' align='left' nowrap='nowrap'>
          <table cellpadding='0' cellspacing='0' width='100%'>
           <tr>
             <td><div class="rte-normal" id="{$editor_id}_cmd_bold"><img src="{$images_path}rte-bold.png"  alt="{$this->ipsclass->lang['js_tt_bold']}" title="{$this->ipsclass->lang['js_tt_bold']}"></div></td>
             <td><div class="rte-normal" id="{$editor_id}_cmd_italic"><img src="{$images_path}rte-italic.png"  alt="{$this->ipsclass->lang['js_tt_italic']}" title="{$this->ipsclass->lang['js_tt_italic']}" ></div></td>
             <td><div class="rte-normal" id="{$editor_id}_cmd_underline"><img src="{$images_path}rte-underlined.png" alt="{$this->ipsclass->lang['js_tt_underline']}" title="{$this->ipsclass->lang['js_tt_underline']}" ></div></td>
			 <td>
             	<div class='rte-menu-button' id='{$editor_id}_popup_format' title='{$this->ipsclass->lang['js_text_formatting']}' style='margin-right:4px;margin-left:3px;width:41px'>
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td><div id='{$editor_id}_out_format'>&nbsp;</div></td>
						<td nowrap="nowrap"><img class="ipd" src="{$images_path}rte-extra.png" alt="{$this->ipsclass->lang['js_extra_formatting']}" title="{$this->ipsclass->lang['js_extra_formatting']}" >
							 <img class="ipd" src="{$images_path}icon_open.gif"  border="0" alt="">
						</td>
					</tr>
					</table>
				</div>
			 </td>
             <td>
				<div class='rte-menu-button' id='{$editor_id}_popup_backcolor' title='{$this->ipsclass->lang['js_tt_back_col']}' style='margin-right:4px;width:41px;display:none'>
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td><div id='{$editor_id}_out_bgcolor'>&nbsp;</div></td>
						<td nowrap="nowrap">
							<img class='ipd' src="{$images_path}rte-bgcolor.gif" alt="{$this->ipsclass->lang['js_tt_font_col']}" title="{$this->ipsclass->lang['js_tt_back_col']}" >
							<img class="ipd" src="{$images_path}icon_open.gif"  border="0" alt="">
						</td>
					</tr>
					</table>
				</div>
			</td>
<if="$this->ipsclass->vars['_remove_emoticons']==0">
			<td>
				<div class='rte-menu-button' id='{$editor_id}_popup_emoticons' title='{$this->ipsclass->lang['js_tt_emoticons']}' style='margin-right:4px;width:41px'>
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td><div id='{$editor_id}_out_emoticons'>&nbsp;</div></td>
						<td nowrap="nowrap">
							<img class='ipd' src="{$images_path}rte-emoticon.gif" alt="{$this->ipsclass->lang['js_tt_emoticons']}" title="{$this->ipsclass->lang['js_tt_emoticons']}" >
							<img class="ipd" src="{$images_path}icon_open.gif"  border="0" alt="">
						</td>
					</tr>
					</table>
				</div>
			</td>
</if>
			<td><div class="rte-normal" id="{$editor_id}_cmd_createlink"><img src="{$images_path}rte-link-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_link']}" title="{$this->ipsclass->lang['js_rte_lite_link']}"></div></td>
			<td><div class="rte-normal" id="{$editor_id}_cmd_insertimage"><img src="{$images_path}rte-image-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_img']}" title="{$this->ipsclass->lang['js_rte_lite_img']}"></div></td>
			<td><div class="rte-normal" id="{$editor_id}_cmd_insertemail"><img src="{$images_path}rte-email-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_email']}" title="{$this->ipsclass->lang['js_rte_lite_email']}"></div></td>
			<td><div class="rte-normal" id="{$editor_id}_cmd_ipb_quote"><img src="{$images_path}rte-quote-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_quote']}" title="{$this->ipsclass->lang['js_rte_lite_quote']}"></div></td>
			<td><div class="rte-normal" id="{$editor_id}_cmd_ipb_code"><img src="{$images_path}rte-code-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_code']}" title="{$this->ipsclass->lang['js_rte_lite_code']}"></div></td>
            </tr>
          </table>
         </td>
         <td width='98%'>&nbsp;</td>
         <td width='1%' nowrap='nowrap' align='right'>
          <table cellpadding='0' cellspacing='0' width='100%'>
           <tr>
           	   <td><div class="rte-normal" id="{$editor_id}_cmd_outdent"><img src="{$images_path}rte-outdent.gif" alt="{$this->ipsclass->lang['js_tt_outdent']}" title="{$this->ipsclass->lang['js_tt_outdent']}" ></div></td>
           	   <td><div class="rte-normal" id="{$editor_id}_cmd_indent"><img src="{$images_path}rte-indent.gif" alt="{$this->ipsclass->lang['js_tt_indent']}" title="{$this->ipsclass->lang['js_tt_indent']}" ></div></td>
			   <td><img class="rteVertSep" src="{$images_path}rte_dots.gif" width="1" height="20" border="0" alt=""></td>
               <td><div class="rte-normal" id="{$editor_id}_cmd_justifyleft"><img src="{$images_path}rte-align-left.png" alt="{$this->ipsclass->lang['js_tt_left']}" title="{$this->ipsclass->lang['js_tt_left']}" ></div></td>
               <td><div class="rte-normal" id="{$editor_id}_cmd_justifycenter"><img src="{$images_path}rte-align-center.png" alt="{$this->ipsclass->lang['js_tt_center']}" title="{$this->ipsclass->lang['js_tt_center']}" ></div></td>
               <td><div class="rte-normal" id="{$editor_id}_cmd_justifyright"><img src="{$images_path}rte-align-right.png" alt="{$this->ipsclass->lang['js_tt_right']}" title="{$this->ipsclass->lang['js_tt_right']}" ></div></td>
               <td><div class="rte-normal" id="{$editor_id}_cmd_justifyfull"><img src="{$images_path}rte-justify.png" alt="{$this->ipsclass->lang['js_tt_jfull']}" title="{$this->ipsclass->lang['js_tt_jfull']}" ></div></td>
               <td><img class="rteVertSep" src="{$images_path}rte_dots.gif" width="1" height="20" border="0" alt=""></td>
               <td><div class="rte-normal" id="{$editor_id}_cmd_insertorderedlist"><img src="{$images_path}rte-list-numbered.gif" alt="{$this->ipsclass->lang['js_tt_list']}" title="{$this->ipsclass->lang['js_tt_list']}" ></div></td>
               <td><div class="rte-normal" id="{$editor_id}_cmd_insertunorderedlist"><img src="{$images_path}rte-list.gif" alt="{$this->ipsclass->lang['js_tt_list']}" title="{$this->ipsclass->lang['js_tt_list']}" ></div></td>
           </tr>
          </table>
         </td>
        </tr>
        </table>
    </div>
	<div style='padding:6px'>
    	<textarea name="{$form_field}" class="rte-iframe" id="{$editor_id}_textarea" rows="10" cols="60" style="width:98%; height:250px" tabindex="5">$initial_content</textarea>
	</div>
	<div style='float:right;padding:1px 8px 4px 8px'>
		<div class='rte-menu-button' style='width:108px;font-size:10px;padding-right:8px;text-align:left;'><a href="javascript:bbc_pop()" style='text-decoration:none;text-align:left'><img src="{$images_path}rte-bbcode-help-sm.png" style='vertical-align:middle' alt='{$this->ipsclass->lang['help_alt']}' border='0' /> {$this->ipsclass->lang['bbc_help']}</a></div>
	</div>
	<div align='left' style='padding:1px 8px 4px 8px; height:28px'>
		<div id='rte-toggle-side-panel-button' class='rte-menu-button' style='width:135px;font-size:10px;padding-right:8px'><a href='#' onclick="return show_options_panel('{$editor_id}')" style='text-decoration:none'><img src="{$images_path}rte-toggle-options.png" alt='{$this->ipsclass->lang['help_alt']}' border='0' /> {$this->ipsclass->lang['toggle_side_panel']}</a></div>
	</div>
	
</td></tr></table>
<br />
<script type="text/javascript">
<!--
var MessageMax          = parseInt("{$this->ipsclass->lang['the_max_length']}");
var Override            = "{$this->ipsclass->lang['override']}";
// Global paths and data
var global_rte_remove_side_panel = parseInt("{$this->ipsclass->vars['_remove_side_panel']}");
var global_rte_side_panel_open   = parseInt("{$this->ipsclass->vars['rte_side_panel_open']}");
var global_rte_images_url        = '$images_path';
var global_rte_includes_url      = '$inc_path';
var global_rte_emoticons_url     = '{$this->ipsclass->vars['EMOTICONS_URL']}';
var global_rte_char_set          = '{$this->ipsclass->vars['gb_char_set']}';
// Lang array
ips_language_array =
{
	'js_rte_link'          : "{$this->ipsclass->lang['js_rte_link']}",
	'js_rte_unlink'        : "{$this->ipsclass->lang['js_rte_unlink']}",
	'js_rte_image'         : "{$this->ipsclass->lang['js_rte_image']}",
	'js_rte_email'         : "{$this->ipsclass->lang['js_rte_email']}",
    'js_rte_erroriespell'  : "{$this->ipsclass->lang['js_rte_erroriespell']}",
	'js_rte_errorliespell' : "{$this->ipsclass->lang['js_rte_errorliespell']}",
	'js_rte_code'          : "{$this->ipsclass->lang['js_rte_code']}",
	'js_rte_quote'         : "{$this->ipsclass->lang['js_rte_quote']}",
	'js_rte_sub'           : "{$this->ipsclass->lang['js_tt_sub']}",
	'js_rte_sup'           : "{$this->ipsclass->lang['js_tt_sup']}",
	'js_rte_strike'        : "{$this->ipsclass->lang['js_tt_strike']}",
	'emos_show_all'		   : "{$this->ipsclass->lang['emos_show_all']}",
	'emos_show_prev'	   : "{$this->ipsclass->lang['emos_show_prev']}",
	'emos_show_next'	   : "{$this->ipsclass->lang['emos_show_next']}",
	'ed_quick_access'	   : "{$this->ipsclass->lang['ed_quick_access']}",
	'insert_prefix'		   : "{$this->ipsclass->lang['insert_prefix']}"
};
// Smilies array
ips_smilie_items =
{
	$smilies
};
// BBcode items
ips_bbcode_items =
{
	$bbcode
};
// INIT item
IPS_editor['{$editor_id}'] = new ips_text_editor( '{$editor_id}', parseInt($rte_mode), parseInt($rte_mode) == 1 ? 0 : 1 );
// Set up defaults
IPS_editor['{$editor_id}'].allow_advanced        = 0;
IPS_editor['{$editor_id}'].forum_fix_ie_newlines = 1;
// Add bbcode items
for( var i in ips_bbcode_items )
{
	IPS_editor['{$editor_id}'].module_add_item( 'bbcodeloader{id=' + i + '}', "{$this->ipsclass->lang['insert_prefix']}: " + ips_bbcode_items[ i ]['title'] , 'rte-ipd-tag.png' );
}
// Bothering with the insert special menu?
var _c = 0;
for ( var i in IPS_editor['{$editor_id}'].ips_special_items )
{
	_c++;
}
if ( _c < 1 )
{
	document.getElementById( '{$editor_id}' + '_popup_special' ).style.display = 'none';
}
// Check side panel
check_side_panel( '{$editor_id}' );
-->
</script>]]></section_content>
			<func_name>ips_editor</func_name>
			<func_data><![CDATA[$form_field="",$initial_content="",$images_path="",$inc_path="",$rte_mode=0,$editor_id='ed-0',$smilies='', $bbcode='', $can_use_emos=1]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<style type="text/css" media="all">
<if="$this->ipsclass->vars['board_url'] != '' AND $this->ipsclass->vars['board_url'] != '.'">
@import url({$this->ipsclass->vars['board_url']}/style_images/css_{$css}.css);
<else />
@import url(style_images/css_{$css}.css);
</if>
</style>]]></section_content>
			<func_name>css_external</func_name>
			<func_data><![CDATA[$css=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<style type="text/css">
	$css
</style>]]></section_content>
			<func_name>css_inline</func_name>
			<func_data><![CDATA[$css=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[</div>]]></section_content>
			<func_name>end_nav</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<script language="JavaScript" type="text/javascript">
<!--
function contact_admin() {
  // Very basic spam bot stopper
	  
  admin_email_one = '$ad_email_one';
  admin_email_two = '$ad_email_two';
  
  window.location = 'mailto:'+admin_email_one+'@'+admin_email_two+'?subject={$this->ipsclass->lang['mailto_erroronforums']}';
  
}
//-->
</script>
<br />
<div class="borderwrap">
	<h3><{CAT_IMG}>&nbsp;{$this->ipsclass->lang['error_title']}</h3>
<if="$show_top_msg == 1">
<p>{$this->ipsclass->lang['exp_text']}</p>
	<div class="errorwrap">
		<h4>{$this->ipsclass->lang['msg_head']}</h4>
</if>
		<p>$message</p>
<if="$show_top_msg == 1">
</div>
</if>
	<!--IBF.LOG_IN_TABLE-->
	<!--IBF.POST_TEXTAREA-->
	<h4>{$this->ipsclass->lang['er_links']}</h4>
	<ul>
		<li><a href="{$this->ipsclass->base_url}act=Reg&amp;CODE=10">{$this->ipsclass->lang['er_lost_pass']}</a></li>
		<li><a href="{$this->ipsclass->base_url}act=Reg&amp;CODE=00">{$this->ipsclass->lang['er_register']}</a></li>
		<li><a href="{$this->ipsclass->base_url}act=Help&amp;CODE=00">{$this->ipsclass->lang['er_help_files']}</a></li>
		<li><a href="javascript:contact_admin();">{$this->ipsclass->lang['er_contact_admin']}</a></li>
	</ul>
	<p class="formbuttonrow"><b><a href="javascript:history.go(-1)">{$this->ipsclass->lang['error_back']}</a></b></p>
</div>]]></section_content>
			<func_name>Error</func_name>
			<func_data><![CDATA[$message="",$ad_email_one="",$ad_email_two="",$show_top_msg=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}" method="post">
	<input type="hidden" name="act" value="Login" />
	<input type="hidden" name="CODE" value="01" />
	<input type="hidden" name="s" value="{$this->ipsclass->session_id}" />
	<input type="hidden" name="referer" value="$q_string" />
	<input type="hidden" name="CookieDate" value="1" />
	<h4>{$this->ipsclass->lang['er_log_in_title']}</h4>
	<div class="fieldwrap">
<if="$this->ipsclass->vars['ipbli_usertype'] == 'username'">
<h4>{$this->ipsclass->lang['erl_enter_name']}</h4>
		<input type="text" size="20" maxlength="64" name="UserName" />
<else />
<h4>{$this->ipsclass->lang['erl_email']}</h4>
		<input type="text" size="20" maxlength="128" name="UserName" />
</if>
		<h4>{$this->ipsclass->lang['erl_enter_pass']}</h4>
		<input type="password" size="20" name="PassWord" />
		<p class="formbuttonrow1"><input class="button" type="submit" name="submit" value="{$this->ipsclass->lang['erl_log_in_submit']}" /></p>
	</div>
</form>]]></section_content>
			<func_name>error_log_in</func_name>
			<func_data><![CDATA[$q_string=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<h4>{$this->ipsclass->lang['err_title']}</h4>
<p>{$this->ipsclass->lang['err_expl']}</p>
<div class="fieldwrap">
	<h4>{$this->ipsclass->lang['err_title']}</h4>
	<form name="mehform">
		<textarea cols="70" rows="5" name="saved" tabindex="2">$post</textarea>
	</form>
	<p class="formbuttonrow1"><input class="button" type="button" tabindex="1" value="{$this->ipsclass->lang['err_select']}" onclick="document.mehform.saved.select()" /></p>
</div>]]></section_content>
			<func_name>error_post_textarea</func_name>
			<func_data><![CDATA[$post=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<!-- Show FAQ/Forum Rules -->
<div class="borderwrap" style='margin-bottom:6px;'>
	<h3><{CAT_IMG}>&nbsp;{$rules['title']}</h3>
	<p>{$rules['body']}</p>
</div>
<!-- End FAQ/Forum Rules -->]]></section_content>
			<func_name>forum_show_rules_full</func_name>
			<func_data><![CDATA[$rules=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<!-- Show FAQ/Forum Rules -->
<div class="ruleswrap">
	&nbsp;<{F_RULES}>&nbsp;<b><a href="{$this->ipsclass->base_url}act=SR&amp;f={$rules['fid']}">{$rules['title']}</a></b>
</div>]]></section_content>
			<func_name>forum_show_rules_link</func_name>
			<func_data><![CDATA[$rules=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<style type='text/css'>
@import url( "{$this->ipsclass->vars['board_url']}/style_images/<#IMG_DIR#>/folder_editor_images/css_rte.css" );
</style>]]></section_content>
			<func_name>get_rte_css</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<table cellspacing="0" id="gfooter">
	<tr>
		<td width="45%"><% SYNDICATION %><% SKINCHOOSER %> <% LANGCHOOSER %></td>
		<td width="10%" align="center" nowrap="nowrap"><a href="lofiversion/index.php<% LOFIVERSION %>"><b>{$this->ipsclass->lang['global_lofi']}</b></a></td>
		<td width="45%" align="right" nowrap="nowrap"><% QUICKSTATS %>{$this->ipsclass->lang['global_timeisnow']}: {$time}</td>
	</tr>
</table>
<script type='text/javascript'>
//<!#^#|CDATA|
menu_do_global_init();
show_inline_messages();
// Uncomment this to fix IE png images
// causes page slowdown, and some missing images occasionally
// if ( is_ie )
// {
//	 ie_fix_png();
// }
<if="$this->ipsclass->member['members_auto_dst'] == 1 AND $this->ipsclass->vars['time_dst_auto_correction'] AND $this->ipsclass->input['_low_act'] == 'idx'">
global_dst_check(parseInt("{$this->ipsclass->member['time_offset']}"),parseInt("{$this->ipsclass->member['dst_in_use']}") );
</if>
//|#^#]>
</script>]]></section_content>
			<func_name>global_board_footer</func_name>
			<func_data><![CDATA[$time=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<!--ipb.javascript.start-->
<script type="text/javascript">
 //<!#^#|CDATA|
 var ipb_var_st            = "{$this->ipsclass->input['st']}";
 var ipb_lang_tpl_q1       = "{$this->ipsclass->lang['tpl_q1']}";
 var ipb_var_s             = "{$this->ipsclass->session_id}";
 var ipb_var_phpext        = "{$this->ipsclass->vars['php_ext']}";
 var ipb_var_base_url      = "{$this->ipsclass->js_base_url}";
 var ipb_var_image_url     = "{$this->ipsclass->vars['img_url']}";
 var ipb_input_f           = "{$this->ipsclass->input['f']}";
 var ipb_input_t           = "{$this->ipsclass->input['t']}";
 var ipb_input_p           = "{$this->ipsclass->input['p']}";
 var ipb_var_cookieid      = "{$this->ipsclass->vars['cookie_id']}";
 var ipb_var_cookie_domain = "{$this->ipsclass->vars['cookie_domain']}";
 var ipb_var_cookie_path   = "{$this->ipsclass->vars['cookie_path']}";
 var ipb_md5_check         = "{$this->ipsclass->md5_check}";
 var ipb_new_msgs          = {$this->ipsclass->member['new_msg']};
 var use_enhanced_js       = {$this->ipsclass->can_use_fancy_js};
 var use_charset           = "{$this->ipsclass->vars['gb_char_set']}";
 var ipb_myass_chars_lang  = "{$this->ipsclass->lang['myass_chars']}";
 var ajax_load_msg		   = "{$this->ipsclass->lang['ajax_loading_msg_new']}";
 //|#^#]>
</script>
<script type="text/javascript" src='jscripts/ips_ipsclass.js'></script>
<script type="text/javascript" src='jscripts/ipb_global.js'></script>
<script type="text/javascript" src='jscripts/ips_menu.js'></script>
<script type="text/javascript" src='{$this->ipsclass->vars['img_url']}/folder_js_skin/ips_menu_html.js'></script>
<script type="text/javascript" src='cache/lang_cache/{$this->ipsclass->lang_id}/lang_javascript.js'></script>
<script type="text/javascript">
//<!#^#|CDATA|
var ipsclass = new ipsclass();
ipsclass.init();
ipsclass.settings['do_linked_resize'] = parseInt( "{$this->ipsclass->vars['resize_linked_img']}" );
ipsclass.settings['resize_percent']   = parseInt( "{$this->ipsclass->vars['resize_img_percent']}" );
//|#^#]>
</script>
<!--ipb.javascript.end-->
<div class="borderwrap">
	<div id="logostrip"><a href='{$this->ipsclass->base_url}'><!--ipb.logo.start--><img src='style_images/<#IMG_DIR#>/logo4.gif' style='vertical-align:top' alt='IPB' border='0' /><!--ipb.logo.end--></a></div>
	<div id="submenu">
		<!--ipb.leftlinks.start-->
		<if="$this->ipsclass->vars['home_url']">
			<div class='ipb-top-left-link'><a href="{$this->ipsclass->vars['home_url']}">{$this->ipsclass->vars['home_name']}</a></div>
		</if>
		<if="$this->ipsclass->vars['csite_on']">
			<div class='ipb-top-left-link'><a href="{$this->ipsclass->base_url}act=home">{$this->ipsclass->vars['csite_title']}</a></div>
		</if>		
		<!--IBF.RULES-->
		<!--ipb.leftlinks.end-->
		<!--ipb.rightlinks.start-->
		<div class='ipb-top-right-link'><a href="{$this->ipsclass->base_url}act=Help">{$this->ipsclass->lang['tb_help']}</a></div>
		<div class='ipb-top-right-link' id="ipb-tl-search"><a href="{$this->ipsclass->base_url}act=Search&amp;f={$this->ipsclass->input['f']}">{$this->ipsclass->lang['tb_search']}</a></div>
		<div class='ipb-top-right-link'><a href="{$this->ipsclass->base_url}act=Members">{$this->ipsclass->lang['tb_mlist']}</a></div>
		<div class='ipb-top-right-link'><a href="{$this->ipsclass->base_url}act=calendar">{$this->ipsclass->lang['tb_calendar']}</a></div>
		<if="$component_links != """>
			{$component_links}
		</if>
		<div class='popupmenu-new' id='ipb-tl-search_menu' style='display:none;width:210px'>
			<form action="{$this->ipsclass->base_url}act=Search&amp;CODE=01" method="post">
				<input type='hidden' name='forums' id='gbl-search-forums' value='all' /> 
				<input type="text" size="20" name="keywords" id='ipb-tl-search-box' />
				<input class="button" type="image" style='border:0px' src="{$this->ipsclass->vars['img_url']}/login-button.gif" />
				<if="($this->ipsclass->input['act'] == 'sf' OR $this->ipsclass->input['act'] == 'st') AND $this->ipsclass->input['f']">
					<br /><input type='checkbox' id='gbl-search-checkbox' value='1' onclick='gbl_check_search_box()' checked='checked' /> {$this->ipsclass->lang['gbl_forum_search']}
				</if>
			</form>
			<div style='padding:4px'>
				<a href='{$this->ipsclass->base_url}act=Search'>{$this->ipsclass->lang['gbl_more_search']}</a>
			</div>
		</div>
		<script type="text/javascript">
			ipsmenu.register( "ipb-tl-search", 'document.getElementById("ipb-tl-search-box").focus();' );
			gbl_check_search_box();
		</script>
		<!--ipb.rightlinks.end-->
	</div>
</div>
<if="$this->ipsclass->can_use_fancy_js != 0">
<script type="text/javascript" src='jscripts/ips_xmlhttprequest.js'></script>
<script type="text/javascript" src='jscripts/ipb_global_xmlenhanced.js'></script>
<script type="text/javascript" src='jscripts/dom-drag.js'></script>
<div id='get-myassistant' style='display:none;width:400px;text-align:left;'>
<div class="borderwrap">
 <div class='maintitle' id='myass-drag' title='{$this->ipsclass->lang['myass_drag']}'>
  <div style='float:right'><a href='#' onclick='document.getElementById("get-myassistant").style.display="none"'>[X]</a></div>
  <div>{$this->ipsclass->lang['myass_title']}</div>
 </div>
 <div id='myass-content' style='overflow-x:auto;'></div>
 </div>
</div>
<!-- Loading Layer -->
<div id='loading-layer' style='display:none'>
	<div id='loading-layer-shadow'>
	   <div id='loading-layer-inner'>
	 	<img src='style_images/<#IMG_DIR#>/loading_anim.gif' border='0' alt='{$this->ipsclass->lang['ajax_loading_msg']}' />
		<span style='font-weight:bold' id='loading-layer-text'>{$this->ipsclass->lang['ajax_loading_msg']}</span>
	    </div>
	</div>
</div>
<!-- / Loading Layer -->
<!-- Msg Layer -->
<div id='ipd-msg-wrapper'>
	<div id='ipd-msg-title'>
		<a href='#' onclick='document.getElementById("ipd-msg-wrapper").style.display="none"; return false;'><img src='style_images/<#IMG_DIR#>/close.png' alt='X' title='Close Window' class='ipd' /></a> &nbsp; <strong>{$this->ipsclass->lang['gbl_sitemsg_header']}</strong>
	</div>
	<div id='ipd-msg-inner'><span style='font-weight:bold' id='ipd-msg-text'></span><div class='pp-tiny-text'>{$this->ipsclass->lang['gbl_auto_close']}</div></div>
</div>
<!-- Msg Layer -->
</if>
<!-- / End board header -->]]></section_content>
			<func_name>global_board_header</func_name>
			<func_data><![CDATA[$component_links='']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<div class='ipb-top-right-link'><a href="{$url}">{$title}</a></div>]]></section_content>
			<func_name>global_board_header_component_link</func_name>
			<func_data><![CDATA[$url="",$title="",$component_db_row=array()]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA["<a href='{$data['url']}' style='color:black'>{$data['title']}</a>",]]></section_content>
			<func_name>global_footer_synd_link</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<img id="rss-syndication" src='{$this->ipsclass->vars['img_url']}/rss.png' border='0' alt='RSS' class='ipd' />
<script type="text/javascript">
//<!#^#|CDATA|
  menu_build_menu(
  "rss-syndication",
  new Array( $content
           ) );
//|#^#]>
</script>]]></section_content>
			<func_name>global_footer_synd_wrapper</func_name>
			<func_data><![CDATA[$content=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}setlanguage=1" name="langselectorbox" method="post">
	<input type="hidden" name="langurlbits" value="{$this->ipsclass->query_string_safe}&amp;cal_id={$this->ipsclass->input['cal_id']}" />
	<select name="langid" onchange="chooselang(this)">
		<optgroup label="{$this->ipsclass->lang['global_language']}">
			$data
		</optgroup>
	</select>
</form>]]></section_content>
			<func_name>global_lang_chooser</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<img src='{$this->ipsclass->vars['img_url']}/stat_time.gif' border='0' style='vertical-align:middle' alt='' /> {$time} {$this->ipsclass->lang['stats_sec']}
&nbsp;&nbsp;<img src='{$this->ipsclass->vars['img_url']}/stat_load.gif' border='0' style='vertical-align:middle' alt='' /> $load
&nbsp;&nbsp;<img src='{$this->ipsclass->vars['img_url']}/stat_sql.gif' border='0' style='vertical-align:middle' alt='' /> $sql <a href='{$this->ipsclass->base_url}{$this->ipsclass->query_string_safe}&amp;debug=1'>{$this->ipsclass->lang['stats_queries']}</a>
&nbsp;&nbsp;<img src='{$this->ipsclass->vars['img_url']}/stat_gzip.gif' border='0' style='vertical-align:middle' alt='' /> $gzip
<br />]]></section_content>
			<func_name>global_quick_stats</func_name>
			<func_data><![CDATA[$time="",$gzip="",$load="",$sql=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<link rel="alternate" type="application/rss+xml" title="{$data['title']}" href="{$data['url']}" />]]></section_content>
			<func_name>global_rss_link</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<form action="{$this->ipsclass->base_url}setskin=1" name="skinselectorbox" method="post">
	<input type="hidden" name="skinurlbits" value="{$this->ipsclass->query_string_safe}&amp;cal_id={$this->ipsclass->input['cal_id']}" />
	<select name="skinid" onchange="chooseskin(this)">
		<optgroup label="{$this->ipsclass->lang['global_skinselector']}">
			$data
		</optgroup>
	</select>
</form>]]></section_content>
			<func_name>global_skin_chooser</func_name>
			<func_data><![CDATA[$data=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<if="$this->ipsclass->member['id']">
<div id="userlinks">
	<p class="home"><b>{$this->ipsclass->lang['logged_in_as']} <a href="{$this->ipsclass->base_url}showuser={$this->ipsclass->member['id']}">{$this->ipsclass->member['members_display_name']}</a></b> ( <a href="{$this->ipsclass->base_url}act=Login&amp;CODE=03&amp;k={$this->ipsclass->md5_check}">{$this->ipsclass->lang['log_out']}</a> )</p>
	<p>
<else />
<div id="userlinksguest">
	<p class="pcen"><b>{$this->ipsclass->lang['guest_stuff']}</b> ( <a href="{$this->ipsclass->base_url}act=Login&amp;CODE=00">{$this->ipsclass->lang['log_in']}</a> | <a href="{$this->ipsclass->base_url}act=Reg&amp;CODE=00">{$this->ipsclass->lang['register']}</a> )
</if>
<if="$this->ipsclass->member['mgroup'] == $this->ipsclass->vars['auth_group']">
	<b><a href="{$this->ipsclass->base_url}act=reg&amp;CODE=reval">{$this->ipsclass->lang['resend_val']}</a></b> &middot;
</if>
<if="$this->ipsclass->member['g_access_cp'] == 1 AND $this->ipsclass->vars['security_remove_acp_link'] == 0">
	<b><a href="{$this->ipsclass->vars['_admin_link']}" target="_blank">{$this->ipsclass->lang['admin_cp']}</a></b> &middot;
</if>
<if="$this->ipsclass->member['has_blog'] == 1">
	<b><a href="{$this->ipsclass->base_url}automodule=blog&amp;req=showblog&amp;mid={$this->ipsclass->member['id']}">{$this->ipsclass->lang['myblog']}</a></b> &middot;
</if>
<if="$this->ipsclass->member['has_gallery'] == 1">
	<b><a href="{$this->ipsclass->base_url}autocom=gallery&amp;req=user&amp;user={$this->ipsclass->member['id']}">{$this->ipsclass->lang['submenu_albums']}</a></b> &middot;
</if>
<if="$this->ipsclass->member['id']">
	<b><a href="{$this->ipsclass->base_url}act=UserCP&amp;CODE=00" title="{$this->ipsclass->lang['cp_tool_tip']}">{$this->ipsclass->lang['your_cp']}</a></b> &middot;&nbsp;<a href="{$this->ipsclass->base_url}act=Search&amp;CODE=getnew">{$this->ipsclass->lang['view_new_posts']}</a>
	<if="$this->ipsclass->member['g_view_board']">
		&middot;&nbsp;<a href="javascript:buddy_pop();" title="{$this->ipsclass->lang['bb_tool_tip']}">{$this->ipsclass->lang['l_qb']}</a>
	</if>
	&middot;&nbsp;<a href="javascript:friends_pop();">{$this->ipsclass->lang['gbl_my_friends']}</a>	
</if>
<if="$this->ipsclass->member['g_use_pm'] AND $this->ipsclass->member['members_disable_pm'] == 0">
	&middot;&nbsp;<a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=01">{$msg['TEXT']}</a>
</if>
	</p>
</div>]]></section_content>
			<func_name>member_bar</func_name>
			<func_data><![CDATA[$msg=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<div id="userlinksguest">
	<p class="pcen">{$this->ipsclass->lang['mb_disabled']}</p>
</div>]]></section_content>
			<func_name>member_bar_disabled</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<div>
<if="$xml != 1">
<div class='borderwrap' id='pmpop-nojs'>
 <div class='maintitle'>
  <div style='float:right;'><a href='{$this->ipsclass->base_url}act=Msg&amp;CODE=03&amp;MSID={$msg['mt_id']}&amp;VID=in'>{$this->ipsclass->lang['global_pm_read']} &raquo;</a></div>
  <div>{$this->ipsclass->lang['global_pm_title']}</div>
 </div>
</if>
  <div class='pp-contentbox-back' id='pmpop-ajax'>
	<div class='pp-contentbox-entry-noheight'>
   	<div class='borderwrap'>
   	 <table width='100%' style='padding:0px;'>
   	  <tr>
   	   <td class='row2' style='padding:4px;'>
   	   <if="$xml == 1">
   	   <div style='float:right;'><a href='#' onclick='xml_myassistant_init("newpms")'>{$msg['_cur_num']}/{$msg['_msg_total']}</a></div>
   	   </if>
   	   <strong><a href='{$this->ipsclass->base_url}act=Msg&amp;CODE=03&amp;MSID={$msg['mt_id']}&amp;VID=in'>{$msg['mt_title']}</a></strong> ( {$this->ipsclass->lang['global_pm_from']}: {$msg['members_display_name']} )
   	   </td>
	  </tr>
	 </table>
	<div class='post1' style='padding:4px;'>{$msg['msg_post']}</div>
	<div align='center' class='row2' style='padding:4px;'>
	  {$msg['members_display_name']} {$this->ipsclass->lang['pmp_part1']} {$msg['g_title']} {$this->ipsclass->lang['pmp_part2']} {$msg['posts']} {$this->ipsclass->lang['pmp_part3']}
	  <br />
	  {$this->ipsclass->lang['global_pm_sent']}: {$msg['msg_date']}
	</div>
  </div>
 </div>
</div>
<if="$xml != 1">
 </div>
</if>
<script type='text/javascript'>
//<!#^#|CDATA|
 if ( use_enhanced_js )
 {
 	document.getElementById('pmpop-nojs').style.display = 'none';
 	xml_myassistant_init("newpms");
 }
 
//|#^#]>
</script>
<!-- END PM -->]]></section_content>
			<func_name>msg_get_new_pm_notification</func_name>
			<func_data><![CDATA[$msg="",$xml=0]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[{$start}{$start_dots}{$previous_link}{$pages}{$next_link}{$end_dots}
<if="! $no_dropdown">
	<script type="text/javascript">
	//<!#^#|CDATA|
	ipb_pages_shown++;
	var pgjmp = document.getElementById( 'page-jump' );
	pgjmp.id  = 'page-jump-'+ipb_pages_shown;
	ipb_pages_array[ ipb_pages_shown ] = new Array( '{$base_link}', $per_page, $total_pages );
	menu_build_menu(
		pgjmp.id,
		new Array(  "~~NODIV~~<div onmouseover='pages_st_focus("+ipb_pages_shown+")' class='popupmenu-category' align='center'>{$this->ipsclass->lang['global_page_jump']}</div>",
					"<input type='hidden' id='st-type-"+ipb_pages_shown+"' value='{$st}' /><input type='text' size='5' name='st' id='st-"+ipb_pages_shown+"' onkeydown='check_enter("+ipb_pages_shown+", event);' /> <input type='button' class='button' onclick='do_multi_page_jump("+ipb_pages_shown+");' value='{$this->ipsclass->lang['jmp_go']}' />" ) );
	//|#^#]>
	</script>
</if>]]></section_content>
			<func_name>pagination_compile</func_name>
			<func_data><![CDATA[$start="",$previous_link="",$start_dots="",$pages="",$end_dots="",$next_link="",$total_pages="",$per_page="",$base_link="",$no_dropdown=0, $st='st']]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[&nbsp;<span class="pagecurrent">{$page}</span>]]></section_content>
			<func_name>pagination_current_page</func_name>
			<func_data><![CDATA[$page=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[&nbsp;<span class="pagelinklast"><a href="$url" title="{$this->ipsclass->lang['tpl_gotolast']}">&raquo;</a></span>&nbsp;]]></section_content>
			<func_name>pagination_end_dots</func_name>
			<func_data><![CDATA[$url=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<if="$no_dropdown">
	<span class="pagelink" id='page-jump'>$pages {$this->ipsclass->lang['tpl_pages']}</span>&nbsp;
<else />
	<span class="pagelink" id='page-jump'>$pages {$this->ipsclass->lang['tpl_pages']} <img src='{$this->ipsclass->vars['img_url']}/menu_action_down.gif' alt='V' title='{$this->ipsclass->lang['global_open_menu']}' border='0' /></span>&nbsp;
</if>]]></section_content>
			<func_name>pagination_make_jump</func_name>
			<func_data>$pages=1,$no_dropdown=0</func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[&nbsp;<span class="pagelink"><a href="$url" title="{$this->ipsclass->lang['tpl_next']}">&gt;</a></span>]]></section_content>
			<func_name>pagination_next_link</func_name>
			<func_data><![CDATA[$url=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[&nbsp;<span class="pagelink"><a href="$url" title="$page">$page</a></span>]]></section_content>
			<func_name>pagination_page_link</func_name>
			<func_data><![CDATA[$url="",$page=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<span class="pagelink"><a href="$url" title="{$this->ipsclass->lang['tpl_prev']}">&lt;</a></span>]]></section_content>
			<func_name>pagination_previous_link</func_name>
			<func_data><![CDATA[$url=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<span class="pagelinklast"><a href="$url" title="{$this->ipsclass->lang['tpl_gotofirst']}">&laquo;</a></span>&nbsp;]]></section_content>
			<func_name>pagination_start_dots</func_name>
			<func_data><![CDATA[$url=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"> 
	<head> 
		<meta http-equiv="content-type" content="text/html; charset=<% CHARSET %>" /> 
		<title>$title</title>
		$css
		<script type="text/javascript">
		 //<!#^#|CDATA|
		 var ipb_var_st            = "{$this->ipsclass->input['st']}";
		 var ipb_lang_tpl_q1       = "{$this->ipsclass->lang['tpl_q1']}";
		 var ipb_var_s             = "{$this->ipsclass->session_id}";
		 var ipb_var_phpext        = "{$this->ipsclass->vars['php_ext']}";
		 var ipb_var_base_url      = "{$this->ipsclass->js_base_url}";
		 var ipb_var_image_url     = "{$this->ipsclass->vars['img_url']}";
		 var ipb_input_f           = "{$this->ipsclass->input['f']}";
		 var ipb_input_t           = "{$this->ipsclass->input['t']}";
		 var ipb_input_p           = "{$this->ipsclass->input['p']}";
		 var ipb_var_cookieid      = "{$this->ipsclass->vars['cookie_id']}";
		 var ipb_var_cookie_domain = "{$this->ipsclass->vars['cookie_domain']}";
		 var ipb_var_cookie_path   = "{$this->ipsclass->vars['cookie_path']}";
		 var ipb_md5_check         = "{$this->ipsclass->md5_check}";
		 var ipb_new_msgs          = parseInt("{$this->ipsclass->member['new_msg']}");
		 var use_enhanced_js       = {$this->ipsclass->can_use_fancy_js};
		 var use_charset           = "{$this->ipsclass->vars['gb_char_set']}";
		 var ipb_myass_chars_lang  = "{$this->ipsclass->lang['myass_chars']}";
		 //|#^#]>
		</script>
		<script type="text/javascript" src='jscripts/ips_ipsclass.js'></script>
		<script type="text/javascript" src='jscripts/ipb_global.js'></script>
		<script type="text/javascript" src='jscripts/ips_menu.js'></script>
		<script type="text/javascript" src='{$this->ipsclass->vars['img_url']}/folder_js_skin/ips_menu_html.js'></script>
		<script type="text/javascript" src='cache/lang_cache/{$this->ipsclass->lang_id}/lang_javascript.js'></script>
		<script type="text/javascript">
		//<!#^#|CDATA|
		var ipsclass = new ipsclass();
		ipsclass.init();
		//|#^#]>
		</script>
		<if="$this->ipsclass->can_use_fancy_js != 0">
		<script type="text/javascript" src='jscripts/ips_xmlhttprequest.js'></script>
		<script type="text/javascript" src='jscripts/ipb_global_xmlenhanced.js'></script>
		<script type="text/javascript" src='jscripts/dom-drag.js'></script>
	</head>
	<body<{__body_extra__}>>
	<div id='get-myassistant' style='display:none;width:400px;text-align:left;'>
	<div class="borderwrap">
	 <div class='maintitle' id='myass-drag' title='{$this->ipsclass->lang['myass_drag']}'>
	  <div style='float:right'><a href='#' onclick='document.getElementById("get-myassistant").style.display="none"'>[X]</a></div>
	  <div>{$this->ipsclass->lang['myass_title']}</div>
	 </div>
	 <div id='myass-content' style='overflow-x:auto;'></div>
	 </div>
	</div>
	<!-- Loading Layer -->
	<div id='loading-layer' style='display:none'>
		<div id='loading-layer-shadow'>
		   <div id='loading-layer-inner'>
		 	<img src='style_images/<#IMG_DIR#>/loading_anim.gif' border='0' />
			<span style='font-weight:bold' id='loading-layer-text'>{$this->ipsclass->lang['ajax_loading_msg']}</span>
		    </div>
		</div>
	</div>
	<!-- / Loading Layer -->
	<!-- Msg Layer -->
	<div id='ipd-msg-wrapper'>
		<div id='ipd-msg-title'>
			<a href='#' onclick='document.getElementById("ipd-msg-wrapper").style.display="none"; return false;'><img src='style_images/<#IMG_DIR#>/close.png' alt='X' title='Close Window' class='ipd'></a> &nbsp; <strong>{$this->ipsclass->lang['gbl_sitemsg_header']}</strong>
		</div>
		<div id='ipd-msg-inner'><span style='font-weight:bold' id='ipd-msg-text'></span><div class='pp-tiny-text'>{$this->ipsclass->lang['gbl_auto_close']}</div></div>
	</div>
	<!-- Msg Layer -->
	</if>
		<div style='text-align:left'> 
			$text
		</div>
		<script type='text/javascript'>
		//<!#^#|CDATA|
		menu_do_global_init();
		show_inline_messages();
		if ( is_ie )
		{
			ie_fix_png();
		}
		//|#^#]>
		</script>
	</body>
</html>]]></section_content>
			<func_name>pop_up_window</func_name>
			<func_data><![CDATA[$title="",$css="",$text=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"> 
	<head>
	    <meta http-equiv="content-type" content="text/html; charset=<% CHARSET %>" /> 
		<title>{$this->ipsclass->lang['stand_by']}</title>
		<meta http-equiv="refresh" content="2; url=$Url" />
		$css
	<script type='text/javascript'>
	//<!#^#|CDATA|
	// Fix Mozilla bug: 209020
	if ( navigator.product == 'Gecko' )
	{
		navstring = navigator.userAgent.toLowerCase();
		geckonum  = navstring.replace( /.*gecko\/(\d+)/, "$1" );
		
		setTimeout("moz_redirect()",1500);
	}
	
	function moz_redirect()
	{
		var url_bit     = "{$Url}";
		window.location = url_bit.replace( new RegExp( "&amp;", "g" ) , '&' );
	}
	//>
	</script>
	</head>
	<body>
		<div id="redirectwrap">
			<h4>{$this->ipsclass->lang['thanks']}</h4>
			<p>$Text<br /><br />{$this->ipsclass->lang['transfer_you']}</p>
			<p class="redirectfoot">(<a href="$Url">{$this->ipsclass->lang['dont_wait']}</a>)</p>
		</div>
	</body>
</html>]]></section_content>
			<func_name>Redirect</func_name>
			<func_data><![CDATA[$Text="",$Url="",$css=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<if="$url AND $title">
	<div class='ipb-top-left-link'><a href="$url">$title</a></div>
</if>]]></section_content>
			<func_name>rules_link</func_name>
			<func_data><![CDATA[$url="",$title=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<br /><br />--------------------<br />
<div class="signature">$sig</div>]]></section_content>
			<func_name>signature_separator</func_name>
			<func_data><![CDATA[$sig=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<div id="navstrip"><{F_NAV}>&nbsp;]]></section_content>
			<func_name>start_nav</func_name>
			<func_data></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<if="$member['pp_gender']">
	<if="$member['pp_gender'] == 'male'">
		<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/gender_male.png' <if="$noid==0">id='pp-entry-gender-img-{$member['id']}'</if> style='vertical-align:top' alt='' border='0' />
	<else />
		<if="$member['pp_gender'] == 'female'">
			<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/gender_female.png' <if="$noid==0">id='pp-entry-gender-img-{$member['id']}'</if> alt='' border='0' />
		</if>
	</if>
<else />
	<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/gender_mystery.png' <if="$noid==0">id='pp-entry-gender-img-{$member['id']}'</if> alt='' border='0' />
</if>]]></section_content>
			<func_name>personal_portal_gender_image</func_name>
			<func_data>$member=array(), $noid=0</func_data>
			<group_names_secondary>,skin_topic,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_global</group_name>
			<section_content><![CDATA[<if="$member['_online']">
	<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/user-online.png' alt='' border='0' /><else />
	<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/user-offline.png' alt='' border='0' /></if>]]></section_content>
			<func_name>personal_portal_online_image</func_name>
			<func_data>$member=array()</func_data>
			<group_names_secondary>,skin_topic,</group_names_secondary>
		</template>

		<template>
			<group_name>skin_legends</group_name>
			<section_content><![CDATA[<div><b>$tag</b></div>]]></section_content>
			<func_name>wrap_tag</func_name>
			<func_data><![CDATA[$tag=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>

		<template>
			<group_name>skin_mlist</group_name>
			<section_content><![CDATA[<option value="$letter"{$selected}>$letter</option>]]></section_content>
			<func_name>mlist_quick_jump_entry</func_name>
			<func_data><![CDATA[$letter="",$selected=""]]></func_data>
			<group_names_secondary></group_names_secondary>
		</template>
	</templategroup>

</templateexport>