<?xml version="1.0" encoding="utf-8"?>
<templates application="core" templategroups="a:12:{s:12:&quot;skin_editors&quot;;s:5:&quot;exact&quot;;s:11:&quot;skin_emails&quot;;s:5:&quot;exact&quot;;s:11:&quot;skin_global&quot;;s:5:&quot;exact&quot;;s:17:&quot;skin_global_other&quot;;s:5:&quot;exact&quot;;s:20:&quot;skin_global_comments&quot;;s:5:&quot;exact&quot;;s:9:&quot;skin_help&quot;;s:5:&quot;exact&quot;;s:10:&quot;skin_login&quot;;s:5:&quot;exact&quot;;s:13:&quot;skin_register&quot;;s:5:&quot;exact&quot;;s:12:&quot;skin_reports&quot;;s:5:&quot;exact&quot;;s:11:&quot;skin_search&quot;;s:5:&quot;exact&quot;;s:10:&quot;skin_stats&quot;;s:5:&quot;exact&quot;;s:10:&quot;skin_modcp&quot;;s:5:&quot;exact&quot;;}">
  <templategroup group="skin_editors">
    <template>
      <template_group>skin_editors</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>ajaxEditBox</template_name>
      <template_data><![CDATA[$post="", $pid=0, $error_msg="", $extraData]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_editors</template_group>
      <template_content><![CDATA[<if test="hasToAcknowledge:|:$acknowledge">
	<p class='message'>{$this->lang->words['warnings_acknowledge_desc']} <a href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;do=acknowledge&amp;id={$acknowledge}" base="public"}' class='ipsButton_secondary'>{$this->lang->words['warnings_acknowledge_review']}</a></p>
<else />
	<if test="hasWrningInfo:|:$warningInfo">
		<p class='message'>{$warningInfo}</p>
		<br />
	</if>
	<if test="showEditor:|:$showEditor">
		<php>
			/* Always return as UTF-8 */
			$jsonEncoded = IPSText::jsonEncodeForTemplate( $autoSaveData );
		</php>
		<if test="jsNotLoaded:|:empty($this->_editorJsLoaded)">
			{parse template="editorLoadJs" group="editors" params="$options"}
		</if>
		<input type='hidden' name='isRte' id='isRte_{$options['editorName']}' value='0' />
		<input type='hidden' name='noSmilies' id='noSmilies_{$options['editorName']}' value='{parse expression="intval( $options['noSmilies'] )"}' />
		<textarea id="{$options['editorName']}" name="{$formField}" class='ipsEditor_textarea input_text<if test="ismini:|:$options['type'] == 'mini'"> mini</if>'>{$content}</textarea>
		<p class='desc ipsPad' style='display: none' id='editor_html_message_{$options['editorName']}'>{$this->lang->words['editor_html_message']}</p>
	</if>
</if>]]></template_content>
      <template_name>editor</template_name>
      <template_data><![CDATA[$formField='post', $content='', $options=array(), $autoSaveData=array(), $warningInfo='', $acknowledge=FALSE, $bbcodeVersion=null, $showEditor=TRUE]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_editors</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>editorLoadJs</template_name>
      <template_data><![CDATA[$options='',$inlineLoad=false]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_editors</template_group>
      <template_content><![CDATA[<h3>{$this->lang->words['editor_options']}</h3>
<div class='fixed_inner ipsBox row1'>
	<div class='ipsSettings'>
		<fieldset class='ipsSettings_section'>
			<ul class='ipsForm ipsForm_horizontal'>
				<li class='ipsField'>
					<label for='bw_cke_contextmenu'>{$this->lang->words['editor_context_menu']}</label>
					<br />
					<select name='bw_cke_contextmenu' id='bw_cke_contextmenu' class='input_select'>
					<option value='0' <if test="isSelected:|:$this->memberData['bw_cke_contextmenu'] != 1"> selected="selected"</if>>{$this->lang->words['editor_context_menu_crc']}</option>
					<option value='1' <if test="isSelected:|:$this->memberData['bw_cke_contextmenu'] == 1"> selected="selected"</if>>{$this->lang->words['editor_context_menu_rc']}</option>
					
					</select>
				</li>
				<li>
					<input type='checkbox' class='input_check' id='clearSavedContent' name="clearSavedContent" value="1" /> &nbsp;<label for='clearSavedContent'>{$this->lang->words['editor_clear_data']}</label>
				</li>
			</ul>
		</fieldset>
	</div>
	<div class='right' style='position: relative'>
		<a href='#' id='ipsEditorOptionsSave' class='ipsButton_secondary'>{$this->lang->words['editor_ok']}</a>
	</div>
</div>]]></template_content>
      <template_name>editorSettings</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_editors</template_group>
      <template_content><![CDATA[<div class='clearfix'>
	{$pages}
</div>
<div>
	<ul class='media_results'>
		<if test="hasrows:|:count($rows)">
			<foreach loop="genericmedia:$rows as $row">
				<li class='result' onclick="return CKEDITOR.plugins.ipsmedia.insert( '{$row['insert']}' );">
					<if test="hasimage:|:$row['image']">
							<img src='{$row['image']}' alt=''<if test="haswidth:|:$row['width']"> width='{$row['width']}'</if><if test="hasheight:|:$row['height']"> height='{$row['height']}'</if> style='max-width: 80px;' class='media_image' /><br />
					</if>
					
						<strong>{parse expression="IPSText::truncate( $row['title'], 15 )"}</strong>
						<if test="hasdescription:|:$row['desc']">
							<br /><span class='desc'>{parse expression="IPSText::truncate( $row['desc'], 15 )"}</span>
						</if>
				</li>
			</foreach>
		<else />
			<li class='no_messages'>
				{$this->lang->words['no_mymedia_rows']}
			</li>
		</if>
	</ul>
</div>
<div class='clearfix'>
	{$pages}
</div>]]></template_content>
      <template_name>mediaGenericWrapper</template_name>
      <template_data>$rows, $pages, $app, $plugin</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_editors</template_group>
      <template_content><![CDATA[<h3>{$this->lang->words['mymedia_title']}</h3>
<div class='fixed_inner ipsBox'>
	<div id='mymedia_inserted' style='display: none'>{$this->lang->words['added_to_editor']}</div>
	<div class='ipsVerticalTabbed ipsLayout ipsLayout_withleft ipsLayout_smallleft clearfix'>
		<div class='ipsVerticalTabbed_tabs ipsLayout_left'>
			<ul id='mymedia_tabs'>
				<foreach loop="mediatabs:$tabs as $tab">
					<li id='{$tab['app']}_{$tab['plugin']}'><a href='#' onclick="return CKEDITOR.plugins.ipsmedia.loadTab( '{$tab['app']}', '{$tab['plugin']}' );">{$tab['title']}</a></li>
				</foreach>
			</ul>
		</div>
		<div class='ipsVerticalTabbed_content ipsLayout_content ipsBox_container' style='position: relative'>
			<div class='ipsType_small' id='mymedia_toolbar'>
				<a href='#' id='mymedia_finish' class='ipsButton no_width' onclick="CKEDITOR.plugins.ipsmedia.popup.hide(); return false;"><img src='{$this->settings['img_url']}/accept.png' /> &nbsp;{$this->lang->words['mymedia_finished']}</a>
				<input type='hidden' name='sharedmedia_search_app' id='sharedmedia_search_app' value='' />
				<input type='hidden' name='sharedmedia_search_plugin' id='sharedmedia_search_plugin' value='' />
				<input type='text' name='search_string' id='sharedmedia_search' value="{$this->lang->words['start_typing_sms']}" size='30' class='input_text inactive' />
				<input class='input_submit' type='button' id='sharedmedia_submit' value='{$this->lang->words['search_string_search']}' />
				&nbsp;&nbsp;<a href='#' id='sharedmedia_reset' class='ipsType_smaller'>{$this->lang->words['search_string_reset']}</a>
			</div>
			<div id='mymedia_content' class='ipsPad'>
				{parse template="sharedMediaDefault" group="editors" params=""}
			</div>
		</div>
	</div>
</div>
<script type='text/javascript'>
ipb.vars['sm_init_value']	= "{$this->lang->words['start_typing_sms']}";
CKEDITOR.plugins.ipsmedia.searchinit();
</script>]]></template_content>
      <template_name>sharedMedia</template_name>
      <template_data>$tabs</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_editors</template_group>
      <template_content><![CDATA[<h1 class='ipsType_pagetitle' style='text-align: center'>{$this->lang->words['mymedia_title']}</h1>
				<h2 class='ipsType_subtitle desc' style='text-align: center'>{$this->lang->words['shareable_media_warn']}</h2>]]></template_content>
      <template_name>sharedMediaDefault</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
  </templategroup>
  <templategroup group="skin_emails">
    <template>
      <template_group>skin_emails</template_group>
      <template_content><![CDATA[<h1 class='ipsType_pagetitle'>{$title}</h1>
<div class='row2 ipsPad rules'>
	{$body}
</div>
<br />]]></template_content>
      <template_name>boardRules</template_name>
      <template_data><![CDATA[$title="",$body=""]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_emails</template_group>
      <template_content><![CDATA[<form action="{parse url="app=forums&amp;module=extras&amp;section=forward" base="public"}" method="post" name='REPLIER'>
	<input type="hidden" name="do" value="01" />
	<input type="hidden" name="st" value="{$this->request['st']}" />
	<input type="hidden" name="f" value="{$this->request['f']}" />
	<input type="hidden" name="t" value="{$this->request['t']}" />
	<input type="hidden" name="url" value="{$this->request['url']}" />
	<input type="hidden" name="title" value="{$this->request['title']}" />
	<input type='hidden' name='k' value='{$this->member->form_hash}' />
	<if test="hasError:|:$msg">
		<p class='message error'>{$this->lang->words[ $msg ]}</p><br />
	<else />
		<p class='message'>{$this->lang->words['email_friend']}</p><br />
	</if>
	
	<h2 class='maintitle'>{$this->lang->words['title']}</h2>
	<div class='generic_bar'></div>
	<div class='ipsForm ipsForm_horizontal'>
		<fieldset>
			<h3 class='bar'>{$this->lang->words['email_recepient']}</h3>
			<ul class='ipsPad'>
				<if test="count($this->caches['lang_data']) == 1">
					<input type='hidden' name='lang' value='{$this->caches['lang_data'][0]['lang_id']}' />
				<else />
					<li class='ipsField clear'>
						<label for='to_lang' class='ipsField_title'>{$this->lang->words['send_lang']}</label>
						<p class='ipsField_content'>
							<select name='lang' class='input_select' id='to_lang'>
								<foreach loop="lang:$this->caches['lang_data'] as $l">
									<option value='{$l['lang_id']}' <if test="language:|:$l['lant_id'] == $this->memberData['language']">selected='selected'</if>>{$l['lang_title']}</option>
								</foreach>
							</select>
						</p>
					</li>
				</if>
				<li class='ipsField clear'>
					<label for='to_name' class='ipsField_title'>{$this->lang->words['to_name']}</label>
					<p class='ipsField_content'>
						<input type="text" id='to_name' class='input_text' name="to_name" value="{$this->request['to_name']}" size="30" maxlength="100" />
					</p>
				</li>
				<li class='ipsField clear'>
					<label for='to_email' class='ipsField_title'>{$this->lang->words['to_email']}</label>
					<p class='ipsField_content'>
						<input type="text" id='to_email' class='input_text' name="to_email" value="{$this->request['to_email']}" size="30" maxlength="100" />
					</p>
				</li>
				<li class='ipsField clear'> 
					<label for='subject' class='ipsField_title'>{$this->lang->words['subject']}</label>
					<p class='ipsField_content'>
						<input type="text" id="subject" class="input_text" name="subject" value="<if test="hasSubject:|:$this->request['subject']">{$this->request['subject']}<else />$title</if>" size="30" maxlength="120" />
					</p>
				</li> 				
				<li class='ipsField clear'>
					<label for='to_message' class='ipsField_title'>{$this->lang->words['message']}</label>
					<p class='ipsField_content'>
						<textarea id='to_message' cols="60" rows="12" wrap="soft" name="message" class="input_text"><if test="hasText:|:$this->request['message']">{$this->request['message']}<else />$text</if></textarea>
					</p>
				</li>
				<if test="hasCaptcha:|:$captchaHTML">
					<li class='ipsField clear'>
						{$captchaHTML}
					</li>
				</if>
			</ul>
		</fieldset>
		<fieldset class='submit'>
			<input class='input_submit' type="submit" value="{$this->lang->words['submit_send']}" />
		</fieldset>
	</div>
</form>]]></template_content>
      <template_name>forward_form</template_name>
      <template_data><![CDATA[$title="",$text="",$lang="", $captchaHTML='', $msg='']]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
  </templategroup>
  <templategroup group="skin_global">
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<h1>
	<a href='{$this->settings['board_url']}' title='{$this->lang->words['go_home']}' rel="home" accesskey='1'>{$this->settings['board_name']}</a>
</h1>]]></template_content>
      <template_name>defaultHeader</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>facebookShareButton</template_name>
      <template_data>$url, $title</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<form id='forum_jump' action='{parse url="" base="public"}' method='post'>
		<fieldset>
			<select name='showforum' class='input_select'>
				<optgroup label="{$this->lang->words['forum_jump']}">
					<option value='0'>{$this->lang->words['forum_home']}</option>
					{$html}
				</optgroup>
			</select>
			<if test="$this->member->session_type != 'cookie'"><input type='hidden' name='s' value='{$this->member->session_id}' /></if>
			<input type='submit' value='{$this->lang->words['jmp_go']}' class='input_submit alt' />
		</fieldset>
	</form>]]></template_content>
      <template_name>forum_jump</template_name>
      <template_data>$html</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"<if test="fbcenabled:|:IPSLib::fbc_enabled() === TRUE || $this->settings['fbc_appid']"> xmlns:fb="http://www.facebook.com/2008/fbml"</if>>
	<head>
		<meta http-equiv="content-type" content="text/html; charset={$this->settings['gb_char_set']}" />
		<title>{$header_items['title']}<if test="pagenumberintitle:|:$header_items['page']"> {$this->lang->words['page_title_page']} {$header_items['page']}</if></title>
		<!--<meta http-equiv="X-UA-Compatible" content="IE=7" />-->
		<link rel="shortcut icon" href='<if test="$this->registry->output->isHTTPS">{$this->settings['board_url_https']}<else />{$this->settings['board_url']}</if>/favicon.ico' />
		<meta property="og:title" content="{$this->registry->output->encodeMetaTagContent( str_replace( ' - ' . $this->settings['board_name'], '', $header_items['title'] ) )}"/>
		<meta property="og:site_name" content="{$this->registry->output->encodeMetaTagContent( $this->settings['board_name'] )}"/>
		<meta property="og:image" content="{$this->settings['meta_imagesrc']}"/>
		<meta property="og:type" content="article" />
		{parse template="includeMeta" group="global" params="$metaTags"}
		{parse template="includeVars" group="global" params""}
		{parse template="includeJS" group="global" params="$jsModules"}
		{parse template="includeCSS" group="global" params="$css"}

		{parse template="includeFeeds" group="global" params="$documentHeadItems"}
		{parse template="includeRTL" group="global" params=""}
		
		<!--<meta name="apple-mobile-web-app-capable" content="yes">-->
		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
		<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
	</head>
	<body id='ipboard_body'>
		<div id='ipbwrapper'>
			<if test="count( $items['navigation'] ) > 1 && !$this->settings['_mobile_nav_home']">
				<if test="$this->nav_count=count($items['navigation'])"></if>
				<if test="$this->nav_back = ( isset( $this->settings['_mobile_back_nav'] ) ) ? $this->settings['_mobile_back_nav'] : 2"></if>
				<div id='secondary_navigation'>
					<a href='{parse url="{$items['navigation'][ $this->nav_count - $this->nav_back ][1]}" base="{$items['navigation'][ $this->nav_count - $this->nav_back ][4]}" seotitle="{$items['navigation'][ $this->nav_count - $this->nav_back ][2]}" template="{$items['navigation'][ $this->nav_count - $this->nav_back ][3]}"}'>{$this->lang->words['_larr']} &nbsp;{$items['navigation'][ $this->nav_count - $this->nav_back ][0]}</a>
				</div>
			<else />
				<if test="( count( $items['navigation'] ) == 1 || $this->settings['_mobile_nav_home'] ) && ! $this->settings['_mobile_hide_nav']">
					<div id='secondary_navigation'>
						<a href='{parse url="act=idx" seotitle="false" base="public"}' class='back'>{$this->lang->words['_larr']} {$this->lang->words['home']}</a>
					</div>
				</if>
			</if>
			<if test="brandingBar:|:method_exists( $this->registry->output->getTemplate( $this->registry->getCurrentApplication() . '_global' ), 'overwriteHeader' )">
				{parse template="overwriteHeader" group="{current_app}_global" params=""}
			<else />
				{parse template="defaultHeader" group="global" params=""}
			</if>
			<div id="options-button">&raquo;</div>
			<div id='user_navigation' class='clearfix'>
				<ul class='clearfix' id='user_bar'>
					<if test="memberbox:|:!$this->memberData['member_id']">
						<a class='button secondary' href='{parse url="app=core&amp;module=global&amp;section=login" base="public"}' title='{$this->lang->words['sign_in']}'>{$this->lang->words['sign_in']}</a>&nbsp;&nbsp;&nbsp;
						<a class='button secondary' href="{parse url="app=core&amp;module=global&amp;section=register" base="public"}" title='{$this->lang->words['register']}'>{$this->lang->words['register']}</a>
					<else />
						<a class='button secondary' style='width:auto' href="{parse url="app=core&amp;module=global&amp;section=login&amp;do=logout&amp;k={$this->member->form_hash}" base="public"}">{$this->lang->words['log_out']} {$this->memberData['members_display_name']}</a>
					</if>
				</ul>
				<ul class='clearfix launcher'>
					<if test="messengerlink:|:$this->memberData['member_id'] AND $this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0">
						<li id='nav_messages'><a href='{parse url="app=members&amp;module=messaging" base="public"}' title='{$this->lang->words['your_messenger']}'><span class='icon'></span><if test="notifications:|:$this->memberData['msg_count_new']"><span class='ipsHasNotifications'>{$this->memberData['msg_count_new']}</span></if>{$this->lang->words['your_messenger']}</a></li>
					</if>
					<if test="notificationsLink:|:$this->memberData['member_id']">
						<li id='nav_notifications'><a href='{parse url="app=core&amp;module=usercp&amp;tab=core&amp;area=notificationlog&amp;clear=true" base="public"}'><span class='icon'></span><if test="notificationsCount:|:$this->memberData['notification_cnt']"><span class='ipsHasNotifications'>{$this->memberData['notification_cnt']}</span></if>{$this->lang->words['notifications_at_the_top']}</a></li>
					</if>
					<if test="hasMemberList:|:$header_items['applications']['members']['app_show']">
						<li id='nav_members'><a href='{parse url="{$header_items['applications']['members']['app_link']}" seotitle="{$header_items['applications']['members']['app_seotitle']}" template="{$header_items['applications']['members']['app_template']}" base="{$header_items['applications']['members']['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle('members') )"}'><span class='icon'></span>{IPSLib::getAppTitle('members')}</a></li>
					</if>
					<if test="hasForums:|:$header_items['applications']['forums']['app_show']">
						<li id='nav_forums'><a href='{parse url="{$header_items['applications']['forums']['app_link']}" seotitle="{$header_items['applications']['forums']['app_seotitle']}" template="{$header_items['applications']['forums']['app_template']}" base="{$header_items['applications']['forums']['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle('forums') )"}'><span class='icon'></span>{IPSLib::getAppTitle('forums')}</a></li>
					</if>
					<if test="hasBlog:|:$header_items['applications']['blog']['app_show']">
						<li id='nav_blog'><a href='{parse url="{$header_items['applications']['blog']['app_link']}" seotitle="{$header_items['applications']['blog']['app_seotitle']}" template="{$header_items['applications']['blog']['app_template']}" base="{$header_items['applications']['blog']['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle('blog') )"}'><span class='icon'></span>{IPSLib::getAppTitle('blog')}</a></li>
					</if>
					<if test="hasGallery:|:$header_items['applications']['gallery']['app_show']">
						<li id='nav_gallery'><a href='{parse url="{$header_items['applications']['gallery']['app_link']}" seotitle="{$header_items['applications']['gallery']['app_seotitle']}" template="{$header_items['applications']['gallery']['app_template']}" base="{$header_items['applications']['gallery']['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle('gallery') )"}'><span class='icon'></span>{IPSLib::getAppTitle('gallery')}</a></li>
					</if>
					<if test="hasNexus:|:$header_items['applications']['nexus']['app_show']">
						<li id='nav_nexus_store'><a href='{parse url="app=nexus&amp;module=payments&amp;section=store" base="public" seotitle="store" seotemplate="app=nexus"}'><span class='icon'></span>{$this->lang->words['mobile_nexus_store']}</a></li>
						<li id='nav_nexus_ca'><a href='{parse url="app=nexus&amp;module=clients" base="public"}'><span class='icon'></span>{$this->lang->words['mobile_nexus_clients']}</a></li>
					</if>
					<li id='nav_vnc'><a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app=<if test="viewnewcontentapp:|:$this->registry->getCurrentApplication() != 'core' AND IPSLib::appIsSearchable( $this->registry->getCurrentApplication() )">{$this->registry->getCurrentApplication()}<else />forums</if>" base="public"}' accesskey='2'><span class='icon'></span>{$this->lang->words['mobile_view_new_posts']}</a></li>
					<li id='nav_statuses'><a href='{parse url="app=members&amp;module=profile&amp;section=status&amp;type=all" seotitle="true" template="members_status_all" base="public"}'><span class='icon'></span>{$this->lang->words['mob_status_updates']}</a></li>
					<li id='nav_search'><a href='{parse url="app=core&amp;module=search" base="public"}' accesskey='2'><span class='icon'></span>{$this->lang->words['sj_search']}</a></li>
					<li id='nav_markread'><a href="{parse url="app=forums&amp;module=forums&amp;section=markasread&amp;marktype=all&amp;k={$this->member->form_hash}" base="public"}" title='{$this->lang->words['mark_all_as_read']}'><span class='icon'></span>{$this->lang->words['mobile_mark_board_as_read']}</a></li>
				</ul>
			</div>
			<script type="text/javascript">
				/* Prevent flash of header */
				document.getElementById('user_navigation').style.display = 'none';
			</script>
			
			<div id='content' class='clear'>
				<if test="mainpageContent:|:$html">{$html}</if>
			</div>
			<div id='footer' class='clear'>
				<if test="skinchanger:|:( $this->memberData['userAgentType'] != 'mobileAppLegacy' || $this->registry->output->isLargeTouchDevice() )">
					<a id='full_version' href='#'>{$this->lang->words['full_version']}</a>
				</if>
				<if test="langchooser:|:count( $footer_items['lang_chooser']['options'] ) > 1">
					<a href='#' id='show_langs'>{$footer_items['lang_chooser']['default']}</a>
					<div id='show_langs_box' style='display: none'>
						<form action="{parse url="{$this->settings['query_string_formatted']}" base="public"}" method="post">
							<fieldset>
								<input type='hidden' name='k' value='{$this->member->form_hash}' />
								<input type='hidden' name='setlanguage' value='1' />
								<input type="hidden" name="langurlbits" value="&amp;cal_id={$this->request['cal_id']}" />
								<label for='newLang' class='hide'>{$this->lang->words['language_prefix']}</label>
								<select name="langid" id='newLang'>
									<foreach loop="$footer_items['lang_chooser']['options'] as $lang">
										<option value='{$lang['id']}' <if test="$lang['selected']">selected='selected'</if>>
											{$lang['title']}
										</option>
									</foreach>
								</select>
								<input type='submit' class='input_submit alt' value='{$this->lang->words['jmp_go']}' id='newLangSubmit' />
							</fieldset>
						</form>
					</div>
				</if>
			</div>
			<div id='task'>{$stats['task']}</div>
		</div>
		<div id='shade' style='display:none'></div>
		<!-- pre-load -->
		<div style='display:none'><img src='{style_images_url}/wait.gif' /></div>
		
		<if test="vigLinkEnabled:|:$this->settings['viglink_enabled'] and ( !$this->settings['viglink_groups'] or IPSMember::isInGroup( $this->memberData, explode( ',', $this->settings['viglink_groups'] ) ) )">
			<script type="text/javascript">
			  var vglnk = { api_url: '//api.viglink.com/api',
			                key: '{$this->settings['viglink_api_key']}'<if test="$this->settings['viglink_subid']">,
			                sub_id: '{$this->settings['sub_id']}'
			                </if>
			              };
			
			  (function(d, t) {
			    var s = d.createElement(t); s.type = 'text/javascript'; s.async = true;
			    s.src = ('https:' == document.location.protocol ? vglnk.api_url :
			             '//cdn.viglink.com/api') + '/vglnk.js';
			    var r = d.getElementsByTagName(t)[0]; r.parentNode.insertBefore(s, r);
			  }(document, 'script'));
			</script>
		</if>
		
	</body>
</html>]]></template_content>
      <template_name>globalTemplate</template_name>
      <template_data>$html, $documentHeadItems, $css, $jsModules, $metaTags, array $header_items, $items=array(), $footer_items=array(), $stats=array()</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>googlePlusOneButton</template_name>
      <template_data>$url, $title, $params</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>include_highlighter</template_name>
      <template_data>$load_when_needed=0</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>include_lightbox</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>include_lightbox_real</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<if test="hasimportcss:|:is_array( $css['import'] )">
	<if test="minifycss:|:$this->settings['use_minify']"><php>$this->minify = array();</php></if>
	<foreach loop="cssImport:$css['import'] as $data">
		<php>
			$importCss = true;
			if( stripos( $data['content'], $this->settings['css_base_url'] ) === 0 && $this->settings['use_minify'] AND ( ! $data['attributes'] OR stripos( $data['attributes'], 'screen' ) !== false ) )
			{
				$importCss		= false;
				$this->minify[]	= "{$data['content']}";
			}
		</php>
		<if test="donotminifycss:|:$importCss">
			<link rel="stylesheet" type="text/css" {$data['attributes']} href="{$data['content']}?ipbv={$this->registry->output->antiCacheHash}" />
		</if>
	</foreach>
	<if test="csstominify:|:$this->settings['use_minify'] AND count($this->minify)">
		<link rel="stylesheet" type="text/css" media='screen,print' href="{$this->settings['css_base_url']}min/index.php?ipbv={$this->registry->output->antiCacheHash}&amp;f={parse expression="str_replace( $this->settings['css_base_url'], PUBLIC_DIRECTORY . '/', implode( ',', $this->minify ) )"}" />
	</if>
</if>
<if test="inlinecss:|:is_array( $css['inline'] ) AND count( $css['inline'] )">
	<foreach loop="cssInline:$css['inline'] as $data">
	<style type="text/css" {$data['attributes']}>
		/* Inline CSS */
		{$data['content']}
	</style>
	</foreach>
</if>]]></template_content>
      <template_name>includeCSS</template_name>
      <template_data>$css</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<if test="hasdocheaditems:|:count($documentHeadItems)">
	<foreach loop="headitemsType:$documentHeadItems as $type => $idx">
		<foreach loop="documentHeadItems:$documentHeadItems[ $type ] as $idx => $data">
			<if test="dhjavascript:|:$type == 'javascript'">
				<script type="text/javascript" src="{$data}" charset="<% CHARSET %>"></script>
			</if>
			<if test="dhcss:|:$type == 'rss'">
				<link rel="alternate" type="application/rss+xml" title="{$data['title']}" href="{$data['url']}" />
			</if>
			<if test="dhrsd:|:$type == 'rsd'">
				<link rel="EditURI" type="application/rsd+xml" title="{$data['title']}" href="{$data['url']}" />
			</if>
			<if test="dhraw:|:$type == 'raw'">
				{$data}
			</if>
		</foreach>
	</foreach>
</if>]]></template_content>
      <template_name>includeFeeds</template_name>
      <template_data>$documentHeadItems</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<if test="minifyjs:|:$this->settings['use_minify']">
	<script type='text/javascript' src='{$this->settings['public_dir']}min/index.php?g=js'></script>
<else />
	<script type='text/javascript' src='{$this->settings['public_dir']}js/3rd_party/prototype.js'></script>
</if>
<script type="text/javascript" >
var LOADING_TEMPLATE = new Template( "<div id='loadingBox'><img src='{style_images_url}/wait.gif' /><span>{$this->lang->words['loadingtext']}</span></div>" );
</script>
<script type="text/javascript" src='{$this->settings['cache_dir']}lang_cache/{$this->lang->lang_id}/ipb.lang.js' charset='{$this->settings['gb_char_set']}'></script>
<!--Remove if you don't want touch devices-->
<script type="text/javascript" src="{$this->settings['public_dir']}js/mobile_touch.js"></script>
<!-- Fix youtube video sizes -->
<script type='text/javascript'>
	Event.observe( window, 'resize', handleEmbeddedVideo );
	Event.observe( window, 'load', handleEmbeddedVideo );

	function handleEmbeddedVideo(e)
	{
		var pageWidth	= $('content').getWidth() - 40;

		$$('.EmbeddedVideo', '.EmbeddedVideo embed').each( function(elem){
			var aspectRatio = $(elem).readAttribute('height') / $(elem).readAttribute('width');

			if( $(elem).readAttribute('width') > pageWidth )
			{
				$(elem).writeAttribute( { width: pageWidth, height: pageWidth * aspectRatio });
			}
		});
	}
</script>
<script type='text/javascript'>
	document.observe("dom:loaded", function(){
					  		
		$$('.bbc_spoiler_show').find( function( elem ) {
			elem.addClassName( 'button page-button' ).setStyle( { 'font-size' : '12px', 'padding': '5px' } );
			elem.observe('click', _fireSpoiler );
		} ) 
	
	} );
		
	function _fireSpoiler(e)
	{
		button = Event.element(e);
		
		Event.stop(e);
	
		var returnvalue = $(button).up().down('.bbc_spoiler_wrapper').down('.bbc_spoiler_content').toggle();
		
		if( returnvalue.visible() )
		{
			$(button).value = "{$this->lang->words['spoiler_hide']}";
		}
		else
		{
			$(button).value = "{$this->lang->words['spoiler_show']}";
		}
	}		
</script>]]></template_content>
      <template_name>includeJS</template_name>
      <template_data>$jsModules</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<if test="metatags:|:is_array( $metaTags ) AND count( $metaTags )">
	<foreach loop="metaTags:$metaTags as $tag => $id">
		<foreach loop="metaTagsInner:$metaTags[ $tag ] as $content">
		<if test="ogCaveman:|:stristr( $tag, 'og:' )">
			<meta property="{$tag}" content="{$content}" />
		<else />
			<meta name="{$tag}" content="{$content}" />
		</if>
		<if test="hasIdentifier:|:$tag == 'identifier-url'">
			<meta property="og:url" content="{$content}" />
		</if>
		<if test="hasDescription:|:$tag == 'description'">
			<meta property="og:description" content="{$content}" />
		</if>
		</foreach>
	</foreach>
</if>
<meta property="og:image" content="{$this->settings['meta_imagesrc']}"/>]]></template_content>
      <template_name>includeMeta</template_name>
      <template_data>$metaTags</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<php>$this->isRtlLang	= false;</php>
<foreach loop="langData:$this->cache->getCache('lang_data') as $data">
	<if test="checkrtl:|:intval($this->member->language_id) == intval($data['lang_id'])">
		<if test="isrtl:|:$data['lang_isrtl']">
			<if test="$this->isRtlLang = true"></if>
		</if>
	</if>
</foreach>
<script type='text/javascript'>
	var isRTL	= false;
	var rtlIe	= '';
	var rtlFull	= '';
</script>
<if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/' . $this->registry->output->skin['_csscacheid'] . '/ipb_rtl.css' )">
	<link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl.css" />
	<script type='text/javascript'>
		var rtlFull	= "{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl.css";
		var isRTL	= true;
	</script>
<else />
	<if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/ipb_rtl.css' )">
		<link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/ipb_rtl.css" />
		<script type='text/javascript'>
			var rtlFull	= "{$this->settings['public_dir']}style_css/ipb_rtl.css";
			var isRTL	= true;
		</script>
	</if>
</if>
<if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/' . $this->registry->output->skin['_csscacheid'] . '/ipb_rtl_ie.css' )">
	<!--[if lte IE 7]>
	<link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl_ie.css" />
	<![endif]-->
	<script type='text/javascript'>
		var rtlIe	= "{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl_ie.css";
	</script>
<else />
	<if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/ipb_rtl_ie.css' )">
		<!--[if lte IE 7]>
		<link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/ipb_rtl_ie.css" />
		<![endif]-->
		<script type='text/javascript'>
			var rtlIe	= "{$this->settings['public_dir']}style_css/ipb_rtl_ie.css";
		</script>
	</if>
</if>]]></template_content>
      <template_name>includeRTL</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<script type='text/javascript'>

var ipb = { 
	vars: {
		base_url: 	'<if test="$this->registry->output->isHTTPS">{parse expression="str_replace( 'http://', 'https://', "{$this->settings['js_base']}" )"}<else />{$this->settings['js_base']}</if>',
		board_url: 	'{$this->settings['board_url']}',
		img_url: 	'{$this->settings['img_url']}',
		active_app: 	'{$this->registry->getCurrentApplication()}',
		upload_url: 	'{$this->settings['upload_url']}',
		member_id: 		parseInt( {$this->memberData['member_id']} ),
		is_supmod: 		parseInt( {parse expression="intval($this->memberData['g_is_supmod'])"} ),
		is_admin: 		parseInt( {$this->memberData['g_access_cp']} ),
		secure_hash: 	'{$this->member->form_hash}',
		session_id: 	'{$this->member->session_id}',
		time_offset: "{$this->settings['time_offset']}",
		hour_format: "<if test="strpos( $this->settings['clock_long'], '%p' ) OR strpos( $this->settings['clock_long'], '%P' )">12<else />24</if>"
	},
	
	lang: {}
};
</script>]]></template_content>
      <template_name>includeVars</template_name>
      <template_data>$header_items=array()</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>inlineLogin</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>liveEditJs</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>metaEditor</template_name>
      <template_data>$tags, $url</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<if test="haspages:|:$data['totalItems'] > $data['itemsPerPage']">
	<if test="prevpage:|:$data['_hasPrevious']">
		<if test="useAjaxPrev:|:$data['ajaxLoad']">
			<a class='button page-button prev' href="#" onclick="return ipb.global.ajaxPagination( '{$data['ajaxLoad']}', '{parse url="{$data['baseUrl']}&amp;secure_key={$this->member->form_hash}&amp;{$data['startValueKey']}={parse expression="intval( $data['currentStartValue'] - $data['itemsPerPage'] )"}{$data['anchor']}" base="{$data['base']}" seotitle="{$data['seoTitle']}" template="{$data['seoTemplate']}"}' );" title="{$this->lang->words['tpl_prev']}" rel='prev'>{$this->lang->words['_larr']} {$this->lang->words['prev']}</a>
		<else />
			<a class='button page-button prev' href="{parse url="{$data['baseUrl']}&amp;{$data['startValueKey']}={parse expression="intval( $data['currentStartValue'] - $data['itemsPerPage'] )"}{$data['anchor']}" base="{$data['base']}" seotitle="{$data['seoTitle']}" template="{$data['seoTemplate']}"}" title="{$this->lang->words['tpl_prev']}" rel='prev'>{$this->lang->words['_larr']} {$this->lang->words['prev']}</a>
		</if>
	</if>
	<if test="nextpage:|:$data['_hasNext']">
		<if test="useAjaxNext:|:$data['ajaxLoad']">
			<a class='button page-button next' href="#" onclick="return ipb.global.ajaxPagination( '{$data['ajaxLoad']}', '{parse url="{$data['baseUrl']}&amp;secure_key={$this->member->form_hash}&amp;{$data['startValueKey']}={parse expression="intval( $data['currentStartValue'] + $data['itemsPerPage'] )"}{$data['anchor']}" base="{$data['base']}" seotitle="{$data['seoTitle']}" template="{$data['seoTemplate']}"}' );" title="{$this->lang->words['tpl_next']}" rel='next'>{$this->lang->words['next']} {$this->lang->words['_rarr']}</a>
		<else />
			<a class='button page-button next' href="{parse url="{$data['baseUrl']}&amp;{$data['startValueKey']}={parse expression="intval( $data['currentStartValue'] + $data['itemsPerPage'] )"}{$data['anchor']}" base="{$data['base']}" seotitle="{$data['seoTitle']}" template="{$data['seoTemplate']}"}" title="{$this->lang->words['tpl_next']}" rel='next'>{$this->lang->words['next']} {$this->lang->words['_rarr']}</a>
		</if>
	</if>
</if>]]></template_content>
      <template_name>nextPreviousTemplate</template_name>
      <template_data>$data</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<if test="haspages:|:$work['pages'] > 1">
	<if test="prevpage:|:$work['current_page'] > 1">
		<a class="button page-button prev" href="{parse url="{$data['baseUrl']}&amp;{$this->registry->output->generatePaginationUrlBit( intval( $data['currentStartValue'] - $data['itemsPerPage'] ), $data )}" base="{$data['base']}" seotitle="{$data['seoTitle']}" template="{$data['seoTemplate']}"}" title="{$this->lang->words['tpl_prev']}" rel='prev'>{$this->lang->words['_laquo']} {$this->lang->words['mob_prev']}</a>
	<else />
		<a class="button page-button disabled prev" href="#">{$this->lang->words['_laquo']} {$this->lang->words['mob_prev']}</a>
	</if>
	<if test="nextpage:|:$work['current_page'] < $work['pages']">
		<a class="button page-button next" href="{parse url="{$data['baseUrl']}&amp;{$this->registry->output->generatePaginationUrlBit( intval( $data['currentStartValue'] + $data['itemsPerPage'] ), $data )}" base="{$data['base']}" seotitle="{$data['seoTitle']}" template="{$data['seoTemplate']}"}" title="{$this->lang->words['tpl_next']}" rel='next'>{$this->lang->words['mob_next']} {$this->lang->words['_raquo']}</a>
	<else />
		<a class="button page-button disabled next" href="#">{$this->lang->words['mob_next']} {$this->lang->words['_raquo']}</a>
	</if>
</if>]]></template_content>
      <template_name>paginationTemplate</template_name>
      <template_data>$work, $data</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<form action="{parse url="app=core&amp;module=search&amp;do=search" base="public"}" method="post" id='search-box' >
<input type='search' name='search_term' id='main_search' size='24' />
<input type='submit' class='button' value='{$this->lang->words['sj_search']}' />
<a href='{parse url="app=core&amp;module=search" base="public"}' title='{$this->lang->words['advanced_search']}' accesskey='4' rel="search" id='adv_search' class='button'>{$this->lang->words['more']}</a>
</form>]]></template_content>
      <template_name>quickSearch</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[&nbsp;]]></template_content>
      <template_name>shareLinks</template_name>
      <template_data><![CDATA[$links, $title='', $url='', $cssClass='topic_share left']]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<div class="signature">
	{$sig}
</div>]]></template_content>
      <template_name>signature_separator</template_name>
      <template_data><![CDATA[$sig="", $author_id=0, $can_ignore=true]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<if test="hasMemberId:|:$member['member_id']"><a data-ipb="noparse" href="{parse url="showuser={$member['member_id']}" base="public" template="showuser" seotitle="{$member['members_seo_name']}"}" title="{$this->lang->words['view_profile']}"></if>{$member['members_display_name']}<if test="hasMemberIdClose:|:$member['member_id']"></a></if>]]></template_content>
      <template_name>userHoverCard</template_name>
      <template_data>$member=array()</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<ul class='user_details'>
		<if test="membertitle:|:$author['title']">
			<li class='title'>{$author['title']}</li>
		</if>
		<if test="rankimage:|:$author['member_rank_img']">
			<li class='group_icon'>
			<if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'">
				<img src='{$author['member_rank_img']}' alt='' />
			<else />
				{$author['member_rank_img']}
			</if>
			</li>
		</if>
	</ul>
	<div style='margin: 0 auto;'>
		<ul class='user_controls clear'>
			<if test="friendop:|:$this->memberData['member_id'] AND $this->memberData['member_id'] != $author['member_id'] && $this->settings['friends_enabled'] AND $this->memberData['g_can_add_friends'] && $author['member_id']">
				<if test="isfriend:|:IPSMember::checkFriendStatus( $author['member_id'] )">
					<li class='mini_friend_toggle is_friend' id='friend_{$contentid}_{$author['member_id']}'><a href='{parse url="app=members&amp;module=profile&amp;section=friends&amp;do=remove&amp;member_id={$author['member_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['remove_friend']}'>{parse replacement="remove_friend"}</a></li>
				<else />
					<li class='mini_friend_toggle is_not_friend' id='friend_{$contentid}_{$author['member_id']}'><a href='{parse url="app=members&amp;module=profile&amp;section=friends&amp;do=add&amp;member_id={$author['member_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['add_friend']}'>{parse replacement="add_friend"}</a></li>
				</if>
			</if>
			<if test="sendpm:|:$this->memberData['g_use_pm'] AND $this->memberData['member_id'] != $author['member_id'] AND $this->memberData['members_disable_pm'] == 0 AND IPSLib::moduleIsEnabled( 'messaging', 'members' ) && $author['member_id']">
				<li class='pm_button' id='pm_{$contentid}_{$author['member_id']}'><a href='{parse url="app=members&amp;module=messaging&amp;section=send&amp;do=form&amp;fromMemberID={$author['member_id']}" base="public"}' title='{$this->lang->words['pm_member']}'>{parse replacement="send_msg"}</a></li>
			</if>
			<if test="hasblog:|:$author['has_blog'] AND IPSLib::appIsInstalled( 'blog' )">
				<li><a href='{parse url="app=blog&amp;module=display&amp;section=blog&amp;show_members_blogs={$author['member_id']}" base="public"}' title='{$this->lang->words['view_blog']}'>{parse replacement="blog_link"}</a></li>
			</if>
			<if test="hasgallery:|:$author['has_gallery'] AND IPSLib::appIsInstalled( 'gallery' )">
				<li><a href='{parse url="app=gallery&amp;module=user&amp;section=user&amp;user={$author['member_id']}" base="public"}' title='{$this->lang->words['view_gallery']}'>{parse replacement="gallery_link"}</a></li>
			</if>
		</ul>
	</div>
	<ul class='user_fields'>
		<li>
			<span class='ft'>{$this->lang->words['m_group']}</span>
			<span class='fc'>{$author['_group_formatted']}</span>
		</li>
		<if test="ismember:|:$author['member_id']">
			<li>
				<span class='ft'>{$this->lang->words['m_posts']}</span>
				<span class='fc'>{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</span>
			</li>
			<li>
				<span class='ft'>{$this->lang->words['m_joined']}</span>
				<span class='fc'>{parse date="$author['joined']" format="joined"}</span>
			</li>
		</if>
		<if test="authorcfields:|:$author['custom_fields'] != """>
			<foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
				<foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
					<if test="$field != ''">
						<li>
							{$field}
						</li>
					</if>
				</foreach>
			</foreach>
		</if>
	</ul>
	<if test="authorwarn:|:$author['warn_percent'] !== NULL">
		<br class='clear' />
		<div class='warn_panel clear rounded'>
			<if test="changewarn:|:$author['can_edit_warn']">
				<a href='{parse url="app=core&amp;module=modcp&amp;section=editmember&amp;type=add&amp;mid={$author['member_id']}&amp;t={$this->request['t']}&amp;st={$this->request['st']}" base="public"}' title='{$this->lang->words['warn_increase']}'><img src='{$this->settings['img_url']}/warn_add.gif' alt='{$this->lang->words['add']}' class='warn_edit up' /></a><a href='{parse url="app=core&amp;module=modcp&amp;section=editmember&amp;type=minus&amp;mid={$author['member_id']}&amp;t=0&amp;st=0" base="public"}' title='{$this->lang->words['warn_decrease']}'><img src='{$this->settings['img_url']}/warn_minus.gif' alt='{$this->lang->words['minus']}' class='warn_edit down'  /></a>
			</if>
				<strong><a href='{parse url="app=core&amp;module=modcp&amp;section=editmember&amp;do=view&amp;mid={$author['member_id']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}' class='warn_link'>{$this->lang->words['warn_status']}</a></strong>
			<if test="highwarn:|:$author['warn_percent'] >= 80">
				<p class='progress_bar user_warn limit' title='{$this->lang->words['warn_level']} {$author['warn_percent']}%'>
			<else />
				<p class='progress_bar user_warn' title='{$this->lang->words['warn_level']} {$author['warn_percent']}%'>
			</if>
				<span style='width: {$author['warn_percent']}%'><span>{$this->lang->words['warn_level']} {$author['warn_percent']}%</span></span>
			</p>
		</div>
	</if>]]></template_content>
      <template_name>userInfoPane</template_name>
      <template_data>$author, $contentid, $options</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<if test="linkAvatarOpen:|:$member['member_id'] && ( $this->memberData['g_is_supmod'] || ($this->memberData['g_mem_info'] && ! IPSMember::isInactive($member) ) )">
	<a href='{parse url="showuser={$member['member_id']}" template="showuser" seotitle="{$member['members_seo_name']}" base="public"}' class='ipsUserPhotoLink left'>
<else />
	<div class='left'>
</if>
<if test="hasphoto:|:$member['member_id']">
	<img src='{$member['pp_small_photo']}' alt='<if test="hasAlt:|:$member['alt']">{$member['alt']}<else />{$this->lang->words['photo']}</if>' class='ipsUserPhoto <if test="hasCustomClass:|:empty($member['_customClass'])">ipsUserPhoto_mini<else />{$member['_customClass']}</if>' />
<else />
	{IPSMember::buildNoPhoto(0, 'mini' )}
</if>
<if test="linkAvatarClose:|:$member['member_id'] && ( $this->memberData['g_is_supmod'] || ($this->memberData['g_mem_info'] && ! IPSMember::isInactive($member) ) )">
	</a>
<else />
	</div>
</if>]]></template_content>
      <template_name>userSmallPhoto</template_name>
      <template_data>$member=array()</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<h3>{$this->lang->words['warnings_details']}</h3>
<div class='ipsBox'>
	<p class='message unspecific'>
		<if test="hasReason:|:$warning['wl_reason']">
			<if test="hasReasonAndContent:|:$warning['content']">
				{parse expression="sprintf( $this->lang->words['warning_blurb_yy'], "{parse template="userHoverCard" group="global" params="$warning['wl_moderator']"}", $warning['wl_reason'], $warning['content'] )"}
			<else />
				{parse expression="sprintf( $this->lang->words['warning_blurb_yn'], "{parse template="userHoverCard" group="global" params="$warning['wl_moderator']"}", $warning['wl_reason'] )"}
			</if>
		<else />
			<if test="hasContent:|:$warning['content']">
				{parse expression="sprintf( $this->lang->words['warning_blurb_ny'], "{parse template="userHoverCard" group="global" params="$warning['wl_moderator']"}", $warning['content'] )"}
			<else />
				{parse expression="sprintf( $this->lang->words['warning_blurb_nn'], "{parse template="userHoverCard" group="global" params="$warning['wl_moderator']"}" )"}
			</if>
		</if>
		<br />
		<if test="isVerbalOnly:|:!$warning['wl_points'] and !$warning['wl_mq'] and !$warning['wl_rpa'] and !$warning['wl_suspend']">
			{$this->lang->words['warnings_verbal_only']}
		<else />
			<if test="hasPoint:|:$warning['wl_points']">
				<if test="canExpire:|:$warning['wl_expire']">
					<if test="hasExpireDate:|:$warning['wl_expire_date']">
						{parse expression="sprintf( $this->lang->words['warnings_given_points_expire'], $warning['wl_points'], $this->lang->getDate( $warning['wl_expire_date'], 'SHORT' ) )"}<br />
					<else />
						{parse expression="sprintf( $this->lang->words['warnings_given_points_expired'], $warning['wl_points'] )"}<br />
					</if>
				<else />
					{parse expression="sprintf( $this->lang->words['warnings_given_points'], $warning['wl_points'] )"}<br />
				</if>
			</if>
			<foreach loop="actions:array( 'mq', 'rpa', 'suspend' ) as $k">
				<if test="hasAction:|:$warning[ 'wl_' . $k ]">
					<if test="actionIsPermanent:|:$warning[ 'wl_' . $k ] == -1 || $warning[ 'wl_' . $k ] == -2">
						{parse expression="sprintf( $this->lang->words[ 'warnings_' . $k ], $this->lang->words['warnings_permanently'] )"}<br />
					<else />
						{parse expression="sprintf( $this->lang->words[ 'warnings_' . $k ], sprintf( $this->lang->words['warnings_for'], $warning[ 'wl_' . $k ], $this->lang->words[ 'warnings_time_' . $warning[ 'wl_' . $k . '_unit' ] ] ) )"}<br />
					</if>
				</if>
			</foreach>
		</if>
	</p>
	<if test="canSeeModNote:|:$canSeeModNote and $warning['wl_note_mods']">
		<div class='ipsBox_container ipsPad'>
			<strong>{$this->lang->words['warnings_note_member']}</strong>
			<br /><br />
			<if test="hasModAndMemberNote:|:$warning['wl_note_member']">
				{$warning['wl_note_member']}
			<else />
				<em>{$this->lang->words['warnings_no_note']}</em>
			</if>
		</div>
		<div class='ipsBox_container ipsPad'>
			<strong>{$this->lang->words['warnings_note_mods']}</strong>
			<br /><br />
			{$warning['wl_note_mods']}
		</div>
	<else />
		<div class='ipsBox_container ipsPad'>
			<if test="hasMemberNote:|:$warning['wl_note_member']">
				{$warning['wl_note_member']}
			<else />
				<em>{$this->lang->words['warnings_no_note']}</em>
			</if>
		</div>
	</if>
</div>]]></template_content>
      <template_name>warnDetails</template_name>
      <template_data>$warning, $canSeeModNote</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
  </templategroup>
  <templategroup group="skin_global_comments">
    <template>
      <template_group>skin_global_comments</template_group>
      <template_content><![CDATA[<php>
// Adjust author name as needed
if( empty($r['author']['member_id']) && !empty($r['author']['comment_author_name']) )
{
	$r['author']['members_display_name'] = $r['author']['comment_author_name'];
}
</php>
<a id='comment_{$r['comment']['comment_id']}'></a>
<div class="row" id="comment-{$r['comment']['comment_id']}">
	<div class='icon'>
		<img src='{$r['author']['pp_thumb_photo']}' width='{$r['author']['pp_thumb_width']}' height='{$r['author']['pp_thumb_height']}' class='photo' />
	</div>
	<div class='rowContent'>
		<h4>{parse template="userHoverCard" group="global" params="$r['author']"}, <span class='desc'>{parse date="$r['comment']['comment_date']" format="short"}</span></h4>
		{$r['comment']['comment_text']}
	</div>
</div>]]></template_content>
      <template_name>comment</template_name>
      <template_data>$r, $parent, $settings</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_comments</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>commentHidden</template_name>
      <template_data>$r, $parent, $settings</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global_comments</template_group>
      <template_content><![CDATA[<a id='commentsStart'></a>
<if test="comments_top:|:$pages">
	<div class='topic_controls'>
		{$pages}
	</div>
</if>
<h3>{$this->lang->words['comments_header']}</h3>
<div class='comment_wrap' id='comment_wrap'>
	<foreach loop="comments:$comments as $id => $r">
		{parse template="comment" group="global_comments" params="$r, $parent, $settings"}
	</foreach>
</div>
<if test="allow_comments:|:$parent['_canComment']">
<h2>{$this->lang->words['mobile_add_comment']}</h2>
	<a id="fastreply"></a>
	<div id='fast_reply'>
		<div>
			<form action="{$settings['formUrl']}" method="post">
				<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
				<input type="hidden" name="fromApp" value="{$settings['fromApp']}" />
				<input type="hidden" name="app" value="{$settings['formApp']}" />
				<input type="hidden" name="module" value="{$settings['formModule']}" />
				<input type="hidden" name="section" value="{$settings['formSection']}" />
				<input type="hidden" name="do" value="add" />
				<input type="hidden" name="parentId" value="{$parent['parent_id']}" />
				<input type="hidden" name="fast_reply_used" value="1" />
				<div id='commentReply'>
					{parse editor="Post" content="$preReply" options="array( 'type' => 'mini', 'minimize' => 1, 'autoSaveKey' => $settings['autoSaveKey'], 'warnInfo' => 'fastReply', 'editorName' => 'commentFastReply' )"}
				</div>
				<div id='commentButtons'>
				<input type='submit' name="submit" class='input_submit' id='commentPost' value='{$this->lang->words['comment_button_post']}' tabindex='2' accesskey='s' />
				</div>
			</form>
		</div>
	</div>
</if>
<if test="comments_bottom:|:$pages">
	<div class='topic_controls'>
		{$pages}
	</div>
</if>]]></template_content>
      <template_name>commentsList</template_name>
      <template_data><![CDATA[$comments, $settings, $pages, $parent, $preReply='']]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_comments</template_group>
      <template_content><![CDATA[<if test="comment_errors:|:$errors">
	<p class='message error'>{$errors}</p>
</if>
<div class='post_form'>
	<form method="post" action="{$settings['formAction']}" name="REPLIER">
		<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
		<input type="hidden" name="fromApp" value="{$settings['fromApp']}" />
		<input type="hidden" name="app" value="{$settings['formApp']}" />
		<input type="hidden" name="module" value="{$settings['formModule']}" />
		<input type="hidden" name="section" value="{$settings['formSection']}" />	
		<input type="hidden" name="do" value="saveEdit" />
		<input type="hidden" name="parentId" value="{$parent['parent_id']}" />
		<input type="hidden" name="comment_id" value="{$comment['comment']['comment_id']}" />
		<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
		<input type="hidden" name="modcp" value="{$this->request['modcp']}" />
		
		<h3 class='maintitle'>
		<if test="isEditing:|:$do == 'saveEdit'">
			{$this->lang->words['edit_comment']} {$parent['parent_title']}
		</if>
		</h3>
		<div class='generic_bar'></div>
		
		<if test="guest_captcha:|:!$this->memberData['member_id'] AND $this->settings['guest_captcha'] AND $this->settings['bot_antispam_type'] != 'none'">
			<fieldset>
				<ul>
					<li class='field'>
						<label for=''>{$this->lang->words['guest_captcha']}</label>
					</li>
				</ul>
			</fieldset>
		</if>
		
		<fieldset>
			{$editor}
		</fieldset>
		<fieldset class='submit'>
			<input type="submit" name="submit" value="{$this->lang->words['comment_save']}" tabindex="0" class="input_submit" accesskey="s" /> {$this->lang->words['or']} <a href='{parse url="{$settings['baseUrl']}&amp;do=findComment&amp;comment_id={$comment['comment']['comment_id']}" base="public"}' class='cancel' title='{$this->lang->words['cancel']}'>{$this->lang->words['cancel']}</a>
		</fieldset>
	</form>
</div>]]></template_content>
      <template_name>form</template_name>
      <template_data><![CDATA[$comment, $parent, $editor="", $settings, $errors="", $do='saveEdit']]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_comments</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>getEditJs</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
  </templategroup>
  <templategroup group="skin_global_other">
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<h3>{$this->lang->words['ap_error']}</h3>
<div class='general_box'>
	<div>
		<if test="msg:|:$msg">
			$msg
		<else />
			{$this->lang->words['ap_np_msg']}
		</if>
	</div>
</div>]]></template_content>
      <template_name>ajaxPopUpNoPermission</template_name>
      <template_data><![CDATA[$msg='']]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<input type="hidden" name="captcha_unique_id" value="{$captcha_unique_id}" />
<div class='ipsField'>
	<label for='gd' class='ipsField_title'>{$this->lang->words['glb_captcha_image']}</label>
	<img id='gd-antispam' class='antispam_img' src='{$this->settings['base_url']}app=core&amp;module=global&amp;section=captcha&amp;do=showimage&amp;captcha_unique_id={$captcha_unique_id}' class='ipd' />
	<br /><br />
	<!--<span class='desc'>{$this->lang->words['gbl_captcha_image_desc']}</span>-->
	<!--{$this->lang->words['glb_captcha_enter']}<br />-->
	<input type="text" class='input_text' size="30" maxlength="30" value="" name="captcha_string" tabindex='0' /><br />
	<!--<span class='desc'>{$this->lang->words['glb_captcha_text']}</span>-->
</div>]]></template_content>
      <template_name>captchaGD</template_name>
      <template_data>$captcha_unique_id</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<div id="keycaptcha_div" style="text-align:center">
	<table>
		<tr>
			<td>{$this->lang->words['complete_antispam_task']}</td>
		</tr>
		<tr>
			<td align="center">{$challenge}</td>
		</tr>
	</table>
</div>]]></template_content>
      <template_name>captchaKeycaptcha</template_name>
      <template_data><![CDATA[$challenge=""]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<div class='row'>
	<strong>{$this->lang->words['glb_captcha_image']}</strong>
	{$html}
</div>]]></template_content>
      <template_name>captchaRecaptcha</template_name>
      <template_data><![CDATA[$html=""]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<h1 class='ipsType_pagetitle'>{parse expression="sprintf( $this->lang->words['board_offline_desc'], $this->settings['board_name'])"}</h1>
<div class='ipsType_pagedesc'>{$message}</div>
<br /><br />
<p>
	<if test="isGuest:|:!$this->memberData['member_id']">
		<a href='{parse url="app=core&amp;module=global&amp;section=login" base="public"}' title='{$this->lang->words['attempt_login']}' class='ipsButton'>{$this->lang->words['click_login']}</a>
	<else />
		<a href='{parse url="app=core&amp;module=global&amp;section=login&amp;do=logout&amp;k={$this->member->form_hash}" base="public"}' title='{$this->lang->words['log_out']}' class='ipsButton_secondary'>{$this->lang->words['log_out']}</a>
	</if>
</p>]]></template_content>
      <template_name>displayBoardOffline</template_name>
      <template_data><![CDATA[$message=""]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_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>
		<!-- THIS TEMPLATE (displayPopUpWindow) IS DEPRICATED AND WILL BE REMOVED IN A FUTURE VERSION -->
		<meta http-equiv="content-type" content="text/html; charset={$this->settings['gb_char_set']}" />
		<title>{$title}</title>
		<link rel="shortcut icon" href="favicon.ico" />
		<if test="hasimportcss:|:is_array( $css['import'] )">
			<if test="minifycss:|:$this->settings['use_minify']"><php>$this->minify = array();</php></if>
			<foreach loop="cssImport:$css['import'] as $data">
				<php>
					if( $this->settings['use_minify'] AND ( ! $data['attributes'] OR stripos( $data['attributes'], 'screen' ) !== false ) )
					{
						$this->minify[] = "{$data['content']}";
					}
				</php>
				<if test="donotminifycss:|:!$this->settings['use_minify'] OR ( $data['attributes'] AND stripos( $data['attributes'], 'screen' ) === false )">
					<link rel="stylesheet" type="text/css" {$data['attributes']} href="{$data['content']}?ipbv={$this->registry->output->antiCacheHash}" />
				</if>
			</foreach>
			<if test="csstominify:|:$this->settings['use_minify'] AND count($this->minify)">
				<link rel="stylesheet" type="text/css" media='screen,print' href="{$this->settings['css_base_url']}min/index.php?ipbv={$this->registry->output->antiCacheHash}&amp;f={parse expression="str_replace( $this->settings['css_base_url'], PUBLIC_DIRECTORY . '/', implode( ',', $this->minify ) )"}" />
			</if>
		</if>
		<if test="popupcssinline:|:is_array( $css['inline'] ) AND count( $css['inline'] )">
			<foreach loop="popupcssInline:$css['inline'] as $data">
			<style type="text/css" {$data['attributes']}>
				/* Inline CSS */
				{$data['content']}
			</style>
			</foreach>
		</if>
		<!--[if lte IE 7]>
			<link rel="stylesheet" type="text/css" title='Main' media="screen" href="{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_ie.css" />
		<![endif]-->
		
		{parse template="includeRTL" group="global" params=""}	
		<if test="popupmetatags:|:is_array( $metaTags ) AND count( $metaTags )">
			<foreach loop="popupmetaTags:$metaTags as $tag => $content">
			<meta name="{$tag}" content="$content" />
			</foreach>
		</if>
		<script type='text/javascript'>
			jsDebug		= {parse expression="intval($this->settings['_jsDebug'])"}; /* Must come before JS includes */
			USE_RTE		= 1;
			var inACP	= false;
			var isRTL	= false;
			var rtlIe	= '';
			var rtlFull	= '';
		</script>
		<if test="popupminifyjs:|:$this->settings['use_minify']">
			<if test="popupminfyjsrl:|:$this->settings['remote_load_js']">
				<script type='text/javascript' src='<if test="popupminfiyrlhttpsp:|:$this->registry->output->isHTTPS">https<else />http</if>://ajax.googleapis.com/ajax/libs/prototype/1.7/prototype.js'></script>
				<script type='text/javascript' src='<if test="popupminfiyrlhttpss:|:$this->registry->output->isHTTPS">https<else />http</if>://ajax.googleapis.com/ajax/libs/scriptaculous/1.8/scriptaculous.js?load=effects,dragdrop,builder'></script>
			<else />
				<script type='text/javascript' src='{$this->settings['public_dir']}min/index.php?g=js'></script>
			</if>
		<else />
			<if test="popuprl:|:$this->settings['remote_load_js']">
				<script type='text/javascript' src='<if test="popuphttpsp:|:$this->registry->output->isHTTPS">https<else />http</if>://ajax.googleapis.com/ajax/libs/prototype/1.7/prototype.js'></script>
			<else />
				<script type='text/javascript' src='{$this->settings['public_dir']}js/3rd_party/prototype.js'></script>
			</if>
			
			<if test="popuprl2:|:$this->settings['remote_load_js']">
				<script type='text/javascript' src='<if test="popuphttpss:|:$this->registry->output->isHTTPS">https<else />http</if>://ajax.googleapis.com/ajax/libs/scriptaculous/1.8/scriptaculous.js?load=effects,dragdrop,builder'></script>
			<else />
				<script type='text/javascript' src='{$this->settings['public_dir']}js/3rd_party/scriptaculous/scriptaculous-cache.js'></script>
			</if>
		</if>
		
		<!--Remove if you don't want touch devices-->
		<script type="text/javascript" src="{$this->settings['public_dir']}js/mobile_touch.js"></script>
		<script type="text/javascript" src='{$this->settings['cache_dir']}lang_cache/{$this->lang->lang_id}/ipb.lang.js' charset='{$this->settings['gb_char_set']}'></script>
		<if test="popupdocumenthead:|:count($documentHeadItems)">
			<foreach loop="popupheaditemtype:$documentHeadItems as $type => $idx">
				<foreach loop="popupdocumentHeadItems:$documentHeadItems[ $type ] as $idx => $data">
					<if test="popupjavascript:|:$type == 'javascript'">
						<script type="text/javascript" src="{$data}" charset="<% CHARSET %>"></script>
					</if>
					<if test="popuprss:|:$type == 'rss'">
						<link rel="alternate feed" type="application/rss+xml" title="{$data['title']}" href="{$data['url']}" />
					</if>
					<if test="popuprss:|:$type == 'rsd'">
						<link rel="EditURI" type="application/rsd+xml" title="{$data['title']}" href="{$data['url']}" />
					</if>
					<if test="popupraw:|:$type == 'raw'">
						{$data}
					</if>
				</foreach>
			</foreach>
		</if>
		
		<script type='text/javascript'>
		//<!#^#|CDATA|
			/* ---- URLs ---- */
			ipb.vars['base_url'] 			= '{parse url="" base="public"}';
			ipb.vars['board_url']			= '{$this->settings['board_url']}';
			ipb.vars['loading_img'] 		= '{$this->settings['img_url']}/loading.gif';
			ipb.vars['active_app']			= '{$this->registry->getCurrentApplication()}';
			ipb.vars['upload_url']			= '{$this->settings['upload_url']}';
			/* ---- Member ---- */
			ipb.vars['member_id']			= parseInt( {$this->memberData['member_id']} ),
			ipb.vars['is_supmod']			= parseInt( {parse expression="intval($this->memberData['g_is_supmod'])"} ),
			ipb.vars['is_admin']			= parseInt( {$this->memberData['g_access_cp']} ),
			ipb.vars['secure_hash'] 		= '{$this->member->form_hash}';
			ipb.vars['session_id']			= '{$this->member->session_id}';
			ipb.vars['can_befriend']		= <if test="popupbefriend:|:$this->settings['friends_enabled'] AND $this->memberData['g_can_add_friends']">true<else />false</if>;
			ipb.vars['auto_dst']			= parseInt( {$this->memberData['members_auto_dst']} );
			ipb.vars['dst_in_use']			= parseInt( {$this->memberData['dst_in_use']} );
			ipb.vars['is_touch']			= <if test="istl:|:$this->registry->output->isLargeTouchDevice()">'large';<else /><if test="istm:|:$this->registry->output->isSmallTouchDevice()">'small';<else />false;</if></if>
			ipb.vars['member_group']		= {parse expression="json_encode( array( 'g_mem_info' => $this->memberData['g_mem_info'] ) )"}
			/* ---- cookies ----- */
			ipb.vars['cookie_id'] 			= '{$this->settings['cookie_id']}';
			ipb.vars['cookie_domain'] 		= '{$this->settings['cookie_domain']}';
			ipb.vars['cookie_path']			= '{$this->settings['cookie_path']}';
			/* ---- Rate imgs ---- */
			ipb.vars['rate_img_on']			= '{$this->settings['img_url']}/bullet_star.png';
			ipb.vars['rate_img_off']		= '{$this->settings['img_url']}/bullet_star_off.png';
			ipb.vars['rate_img_rated']		= '{$this->settings['img_url']}/bullet_star_rated.png';
			/* ---- Uploads ---- */
			ipb.vars['swfupload_swf']		= '{parse url="js/3rd_party/swfupload/swfupload.swf" base="public_dir" httpauth="true"}';
			ipb.vars['swfupload_enabled']	= <if test="popupswfupload:|:$this->settings['uploadFormType']">true<else />false</if>;
			ipb.vars['use_swf_upload']		= ( '{$this->memberData['member_uploader']}' == 'flash' ) ? true : false;
			ipb.vars['swfupload_debug']		= false;
			/* ---- other ---- */
			ipb.vars['highlight_color']		= "#ade57a";
			ipb.vars['charset']				= "{$this->settings['gb_char_set']}";
			ipb.vars['use_rte']				= 1;
			ipb.vars['image_resize_force']  = {parse expression="intval($this->settings['resize_img_force'])"};
			ipb.vars['seo_enabled']			= {parse expression="intval($this->settings['use_friendly_urls'])"};
			<if test="popupfurl:|:$this->settings['use_friendly_urls']">
			ipb.vars['seo_params']			= {parse expression="json_encode($this->registry->getClass('output')->seoTemplates['__data__'])"};
			</if>
			/* Templates/Language */
			ipb.templates['ajax_loading'] 	= "<div id='ajax_loading'>" + ipb.lang['loading'] + "</div>";
			ipb.templates['close_popup']	= "<img src='{$this->settings['img_url']}/close_popup.png' alt='x' />";
			ipb.templates['rss_shell']		= new Template("<ul id='rss_menu'>#{items}</ul>");
			ipb.templates['rss_item']		= new Template("<li><a href='#{url}' title='#{title}'>#{title}</a></li>");
			ipb.templates['resized_img']	= new Template("<span>{$this->lang->words['resized_image']}</span>");
			<if test="$this->memberData['member_id']">
				ipb.templates['m_add_friend']	= new Template("<a href='{parse url="app=members&amp;module=profile&amp;section=friends&amp;do=add&amp;member_id=#{id}" base="public"}' title='{$this->lang->words['add_friend']}'>{parse replacement="add_friend"}</a>");
				ipb.templates['m_rem_friend']	= new Template("<a href='{parse url="app=members&amp;module=profile&amp;section=friends&amp;do=remove&amp;member_id=#{id}" base="public"}' title='{$this->lang->words['remove_friend']}'>{parse replacement="remove_friend"}</a>");
			</if>
			ipb.templates['autocomplete_wrap'] = new Template("<ul id='#{id}' class='ipb_autocomplete' style='width: 250px;'></ul>");
			ipb.templates['autocomplete_item'] = new Template("<li id='#{id}' data-url='#{url}'><img src='#{img}' alt='' width='#{img_w}' height='#{img_h}' />&nbsp;&nbsp;#{itemvalue}</li>");
			ipb.templates['page_jump']		= new Template("<div id='#{id}_wrap' class='ipbmenu_content'><h3 class='bar'>{$this->lang->words['global_page_jump']}</h3><input type='text' class='input_text' id='#{id}_input' size='8' /> <input type='submit' value='{$this->lang->words['jmp_go']}' class='input_submit add_folder' id='#{id}_submit' /></div>");
			Loader.boot();
		//|#^#]>
		</script>
	</head>
	<body id='ipboard_body' style='padding: 20px'>
		<div id='ipbwrapper'>
			{$output}
		</div>
	</body>
</html>]]></template_content>
      <template_name>displayPopUpWindow</template_name>
      <template_data><![CDATA[$documentHeadItems, $css, $jsLoaderItems, $title="", $output=""]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<script 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->lang->words['mailto_erroronforums']}';  
}
//-->
</script>
<h2>{$this->lang->words['error_title']}</h2>
<if test="showerrortitle:|:$show_top_msg == 1">
	<p>{$this->lang->words['exp_text']}</p>
	<br />
</if>
<div class='message error'>
	 <if test="haserrorcode:|:$code">[#{$code}] </if>{$message}
</div>
{$login}
<if test="savedpost:|:$post">
	<div class='general_box alt'>
		{$post}
	</div>
<br />
</if>
<div class='master_list'>
<div class='general_box alt'>	
	<h3>{$this->lang->words['er_useful_links']}</h3>
	<ul class='bullets row'>
		<if test="! $this->memberData['member_id']">
			<li><a href='{parse url="app=core&amp;module=global&amp;section=login" base="public"}' title='{$this->lang->words['submit_li']}'>{$this->lang->words['click_login']}</a></li>
		</if>
		<li><a href="{parse url="app=core&module=help" base="public"}" rel="help" title='{$this->lang->words['er_help_files']}'>{$this->lang->words['er_help_files']}</a></li>
		<li><a href="javascript:contact_admin();" title='{$this->lang->words['er_contact_admin']}'>{$this->lang->words['er_contact_admin']}</a></li>
	</ul>
	<p class="submit">
		<strong><a href="javascript:history.go(-1)">{$this->lang->words['error_back']}</a></strong>
	</p>
</div>
</div>]]></template_content>
      <template_name>Error</template_name>
      <template_data><![CDATA[$message="",$code=0,$ad_email_one="",$ad_email_two="", $title=""]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>facebookDone</template_name>
      <template_data>$user</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>facebookPop</template_name>
      <template_data>$user=array()</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<form action="{parse url="app=core&amp;module=global&amp;section=like&amp;do=doUnsubscribe" base="public"}" method="post">
<input type='hidden' name='auth_key' value='{$this->member->form_hash}' />
<input type='hidden' name='like_rel_id' value='{$data[ $this->memberData['member_id'] ]['like_rel_id']}' />
<input type='hidden' name='like_area' value='{$data[ $this->memberData['member_id'] ]['like_area']}' />
<input type='hidden' name='like_app' value='{$data[ $this->memberData['member_id'] ]['like_app']}' />
<input type='hidden' name='like_id' value='{$data[ $this->memberData['member_id'] ]['like_id']}' />
<div class='master_list general_box alt'>	
	<h2>{$this->lang->words['pg_unfollow_title']}</h2>
	<div class="row">
		<div class='rowContent'>
		{parse expression="sprintf( $this->lang->words['pg_unfollow_text'], $data[ $this->memberData['member_id'] ]['members_display_name'], $meta['like.url'], $meta['like.title'] )"}
		<br />
		<br />
		<p>
			<input type="submit" value="{$this->lang->words['pg_unfollow_confirm']}" class='button' style='width:auto'>
			{$this->lang->words['or']}
			<a href='{parse url="app=core&amp;module=search&amp;do=followed" base="public"}' title='{$this->lang->words['cancel']}' class='cancel' tabindex='0'>{$this->lang->words['cancel']}</a>
		</p>
		</div>
	</div>
</div>
</form>]]></template_content>
      <template_name>followUnsubscribe</template_name>
      <template_data>$data, $meta</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<if test="topicIsMoved:|:$imgArray['is_moved']">
	<span title="{$this->lang->words['pm_moved']}">{parse replacement="t_moved"}</span>
</if>
<if test="topicIsClosed:|:$imgArray['is_closed']">
	<span title="{$this->lang->words['pm_locked']}">{parse replacement="t_closed"}</span>
</if>
<if test="topicReadDot:|:$imgArray['show_dot'] && empty( $unreadUrl )">{parse replacement="t_read_dot"}</if>
<if test="gotolatestwrap:|: ! empty( $unreadUrl ) && ! $imgArray['is_moved']">
	<a href='{$unreadUrl}' title='{$this->lang->words['first_unread_post']}'>
	<if test="topicUnreadDot:|:$imgArray['show_dot']">
		{parse replacement="t_unread_dot"}
	<else />
		{parse replacement="t_unread"}
	</if>
	</a>
</if>]]></template_content>
      <template_name>generateTopicIcon</template_name>
      <template_data>$imgArray, $unreadUrl</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"<if test="fbcenabled:|:IPSLib::fbc_enabled() === TRUE"> xmlns:fb="http://www.facebook.com/2008/fbml"</if>>
	<head>
		<meta http-equiv="content-type" content="text/html; charset={$this->settings['gb_char_set']}" />
		<title>{$header_items['title']}<if test="pagenumberintitle:|:$header_items['page']"> {$this->lang->words['page_title_page']} {$header_items['page']}</if></title>
		<link rel="shortcut icon" href='<if test="$this->registry->output->isHTTPS">{$this->settings['board_url_https']}<else />{$this->settings['board_url']}</if>/favicon.ico' />
		
		{parse template="includeJS" group="global" params="$jsModules"}
		{parse template="includeCSS" group="global" params="$css"}
		<!--<meta http-equiv="X-UA-Compatible" content="IE=7" />-->
		{parse template="includeMeta" group="global" params="$metaTags"}
		{parse template="includeFeeds" group="global" params="$documentHeadItems"}
		{parse template="includeRTL" group="global" params=""}
		
		<!--<meta name="apple-mobile-web-app-capable" content="yes">-->
		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
		<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable = no;">
	</head>
	<body id='ipboard_body'>
		<div id='ipbwrapper'>
			<if test="count( $items['navigation'] ) > 1 && !$this->settings['_mobile_nav_home']">
				<if test="$this->nav_count=count($items['navigation'])"></if>
				<if test="$this->nav_back = ( isset( $this->settings['_mobile_back_nav'] ) ) ? $this->settings['_mobile_back_nav'] : 2"></if>
				<div id='secondary_navigation'>
					<a href='{parse url="{$items['navigation'][ $this->nav_count - $this->nav_back ][1]}" base="public" seotitle="{$items['navigation'][ $this->nav_count - $this->nav_back ][2]}" template="{$items['navigation'][ $this->nav_count - $this->nav_back ][3]}"}'>{$this->lang->words['_larr']} &nbsp;{$items['navigation'][ $this->nav_count - $this->nav_back ][0]}</a>
				</div>
			<else />
				<if test="( count( $items['navigation'] ) == 1 || $this->settings['_mobile_nav_home'] ) && ! $this->settings['_mobile_hide_nav']">
					<div id='secondary_navigation'>
						<a href='{parse url="act=idx" seotitle="false" base="public"}' class='back'>{$this->lang->words['_larr']} {$this->lang->words['home']}</a>
					</div>
				</if>
			</if>
			<if test="brandingBar:|:method_exists( $this->registry->output->getTemplate( $this->registry->getCurrentApplication() . '_global' ), 'overwriteHeader' )">
				{parse template="overwriteHeader" group="{current_app}_global" params=""}
			<else />
				{parse template="defaultHeader" group="global" params=""}
			</if>
			<div id="options-button">&raquo;</div>	
			<div id='user_navigation'>
				<if test="memberbox:|:!$this->memberData['member_id']">
					<a href='{parse url="app=core&amp;module=global&amp;section=login" base="public"}' title='{$this->lang->words['sign_in']}'>{$this->lang->words['sign_in']}</a>
					<a href="{parse url="app=core&amp;module=global&amp;section=register" base="public"}" title='{$this->lang->words['register']}'>{$this->lang->words['register']}</a>
				<else />
					<a href="{parse url="app=core&amp;module=global&amp;section=login&amp;do=logout&amp;k={$this->member->form_hash}" base="public"}">{$this->lang->words['log_out']} ({$this->memberData['members_display_name']})</a>
					<if test="messengerlink:|:$this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0">
						<a href='{parse url="app=members&amp;module=messaging" base="public"}' title='{$this->lang->words['your_messenger']}'>{$this->lang->words['your_messenger']}</a>
					</if>
				</if>
				<if test="!ipsRegistry::$applications['members']['app_hide_tab'] && !count(ipsRegistry::$applications['members']['app_tab_groups']) && !IPSMember::isInGroup( $this->memberData, ipsRegistry::$applications['members']['app_tab_groups'] )"><a href='{parse url="app=members" base="public" seotitle="false"}' title='{$this->lang->words['go_to_memberlist']}'>{$this->lang->words['tb_mlist']}</a></if>
				<if test="hasBlog:|:ipsRegistry::$applications['blog']['app_enabled']">
					<a href='{parse url="app=blog" seotitle="false" base="public"}' title='{$this->lang->words['go_to_prefix']}{IPSLib::getAppTitle( 'blog' )}'>{IPSLib::getAppTitle( 'blog' )}</a>
				</if>
				<if test="hasGallery:|:ipsRegistry::$applications['gallery']['app_enabled']">
					<a href='{parse url="app=gallery" seotitle="false" base="public"}' title='{$this->lang->words['go_to_prefix']}{IPSLib::getAppTitle( 'gallery' )}'>{IPSLib::getAppTitle( 'gallery' )}</a>
				</if>
				<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app=<if test="viewnewcontentapp:|:$this->registry->getCurrentApplication() != 'core' AND IPSLib::appIsSearchable( $this->registry->getCurrentApplication() )">{$this->registry->getCurrentApplication()}<else />forums</if>" base="public"}' accesskey='2'>{$this->lang->words['view_new_posts']}</a>
				<a href='{parse url="app=members&amp;module=profile&amp;section=status&amp;type=all" seotitle="true" template="members_status_all" base="public"}'>{$this->lang->words['mob_status_updates']}</a>
				<a href='{parse url="app=core&amp;module=search" base="public"}' accesskey='2'>{$this->lang->words['sj_search']}</a>
			</div>
			<script type="text/javascript">
				/* Prevent flash of header */
				document.getElementById('user_navigation').style.display = 'none';
			</script>
			
			<div id='content' class='clear'>
				<if test="mainpageContent:|:$html">{$html}</if>
			</div>
			
			<div id='footer' class='clear'>
				<if test="skinchanger:|:( $this->memberData['userAgentType'] != 'mobileAppLegacy' || $this->registry->output->isLargeTouchDevice() )">
					<a id='full_version' href='#'>{$this->lang->words['full_version']}</a>
				</if>
				<if test="langchooser:|:count( $footer_items['lang_chooser']['options'] )">
					<a href='#' id='show_langs'>{$footer_items['lang_chooser']['default']}</a>
					<div id='show_langs_box' style='display: none'>
						<form action="{parse url="{$this->settings['query_string_formatted']}" base="public"}" method="post">
							<fieldset>
								<input type='hidden' name='k' value='{$this->member->form_hash}' />
								<input type='hidden' name='setlanguage' value='1' />
								<input type="hidden" name="langurlbits" value="cal_id={$this->request['cal_id']}" />
								<label for='newLang' class='hide'>{$this->lang->words['language_prefix']}</label>
								<select name="langid" id='newLang'>
									<foreach loop="$footer_items['lang_chooser']['options'] as $lang">
										<option value='{$lang['id']}' <if test="$lang['selected']">selected='selected'</if>>
											{$lang['title']}
										</option>
									</foreach>
								</select>
								<input type='submit' class='input_submit alt' value='{$this->lang->words['jmp_go']}' id='newLangSubmit' />
							</fieldset>
						</form>
					</div>
				</if>
				<if test="isNotMobbyApp:|:($this->memberData['userAgentKey'] == 'iphone' || $this->memberData['userAgentKey'] == 'ipodtouch') AND ! $this->member->isMobileApp">
					<div>{$this->lang->words['freeiphoneapp']}</div>
				</if>
			</div>
			<div id='task'>{$stats['task']}</div>
		</div>
		<div id='shade' style='display:none'></div>
		<!-- pre-load -->
		<div style='display:none'><img src='{style_images_url}/wait.gif' /></div>
	</body>
</html>]]></template_content>
      <template_name>globalTemplateMinimal</template_name>
      <template_data>$html, $documentHeadItems, $css, $jsModules, $metaTags, array $header_items, $items=array(), $footer_items=array(), $stats=array()</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>inboxList</template_name>
      <template_data>$topics</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>inlineUploaderComplete</template_name>
      <template_data>$json</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>likeMoreDialogue</template_name>
      <template_data>$data, $relId, $cache</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>likeSetDialogue</template_name>
      <template_data>$app, $area, $relid, $data</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>likeSummary</template_name>
      <template_data>$data, $relId, $opts</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>likeSummaryContents</template_name>
      <template_data>$data, $relId, $opts=array()</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>notificationsList</template_name>
      <template_data>$notifications</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<h2>{$title}</h2>
<div class='master_list'>
<div class='row ipsPad' style='line-height: 1.6'>
	{$text}
</div>
</div>]]></template_content>
      <template_name>privacyPolicy</template_name>
      <template_data>$title, $text</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<input type="hidden" name="qanda_id" value="{$data['qa_id']}" />
<div class='ipsField'>
	<label for='qna' class='ipsField_title'>{$data['qa_question']}</label>	
	<input type="text" class='input_text' size="30" maxlength="100" value="" name="qa_answer" id='qna' tabindex='0' /><br />
	<span class='desc'>{$this->lang->words['qa_question_desc']}</span>
</div>]]></template_content>
      <template_name>questionAndAnswer</template_name>
      <template_data>$data</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>quickNavigationOffline</template_name>
      <template_data>$message</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>quickNavigationPanel</template_name>
      <template_data><![CDATA[$data=array(), $currentApp='']]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>quickNavigationWrapper</template_name>
      <template_data><![CDATA[$tabs=array(), $data=array(), $currentApp='']]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_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->lang->words['stand_by']}</title>
		<if test="redirectfull:|:$full==true">
			<meta http-equiv="refresh" content="2; url={parse url="$url" base="none"}" />
		<else />
			<meta http-equiv="refresh" content="2; url={parse url="$url" base="public"}" />
		</if>
		<link rel="shortcut icon" href='<if test="$this->registry->output->isHTTPS">{$this->settings['board_url_https']}<else />{$this->settings['board_url']}</if>/favicon.ico' />
		<if test="redirectcssimport:|:is_array( $css['import'] )">
			<foreach loop="redirectcssImport:$css['import'] as $data">
				<link rel="stylesheet" type="text/css" {$data['attributes']} href="{$data['content']}">
			</foreach>
		</if>
		<if test="redirectcssinline:|:is_array( $css['inline'] ) AND count( $css['inline'] )">
			<foreach loop="redirctcssInline:$css['inline'] as $data">
				<style type="text/css" {$data['attributes']}>
					/* Inline CSS */
					{$data['content']}
				</style>
			</foreach>
		</if>
		<!--[if lte IE 7]>
			<link rel="stylesheet" type="text/css" title='Main' media="screen" href="{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_ie.css" />
		<![endif]-->
		
		{parse template="includeRTL" group="global" params=""}	
		<script type='text/javascript'>
			jsDebug		= 0; /* Must come before JS includes */
			var isRTL	= false;
			var rtlIe	= '';
			var rtlFull	= '';
		</script>
		<if test="redirectdh:|:count($documentHeadItems)">
			<foreach loop="redirectdocumentHeadItems:$documentHeadItems as $type => $idx">
				<foreach loop="redirectdocumentHeadItemsSub:$documentHeadItems[ $type ] as $idx => $data">
					<if test="redirectjs:|:$type == 'javascript'">
						<script type="text/javascript" src="{$data}" charset="<% CHARSET %>"></script>
					</if>
					<if test="redirectrss:|:$type == 'rss'">
						<link rel="alternate" type="application/rss+xml" title="{$data['title']}" href="{$data['url']}" />
					</if>
					<if test="redirectrsd:|:$type == 'rsd'">
						<link rel="EditURI" type="application/rsd+xml" title="{$data['title']}" href="{$data['url']}" />
					</if>
					<if test="redirectraw:|:$type == 'raw'">
						$data
					</if>
				</foreach>
			</foreach>
		</if>
		<!--/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()
		{
			<if test="redirectmozfull:|:$full==true">
				var url_bit     = "{parse url="$url" base="none"}";
			<else />
				var url_bit     = "{parse url="$url" base="public"}";
			</if>
			window.location = url_bit.replace( new RegExp( "&amp;", "g" ) , '&' );
		}
		//>
		</script>
	</head>
	<body  id='ipboard_body' class='redirector'>
		<div id='ipbredirectwrapper'>
			<p class='message'>
				<strong>{$text}</strong>
				<br /><br />
				{$this->lang->words['transfer_you']}
				<br />
				<span class='desc'>(<a href="<if test="redirectlink:|:$full==true">{parse url="{$url}" base="none"}<else />{parse url="{$url}" base="public"}</if>">{$this->lang->words['dont_wait']}</a>)</span>	
			</p>
		</div>
	</body>
</html>]]></template_content>
      <template_name>redirectTemplate</template_name>
      <template_data><![CDATA[$documentHeadItems, $css, $jsLoaderItems, $text="",$url="", $full=false]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<if test="reputationBox:|:$this->settings['reputation_enabled']">
	<if test="canRep:|:!( $this->settings['reputation_protected_groups'] && in_array( $member['member_group_id'], explode( ',', $this->settings['reputation_protected_groups'] ) ) )">	
		<if test="isLike:|:$this->settings['reputation_point_types'] == 'like'">
			<ul class='ipsList_inline post_rep'>
				<li <if test="giveRepUp:|:IPSMember::canRepUp( $data, $member ) === false">style="display:none"</if> >
					<a class='ipsLikeButton ipsLikeButton_enabled rep_up' href='{$this->settings['base_url']}app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate={$data['app']}&amp;type={$data['type']}&amp;type_id={$data['primaryId']}&amp;rating=1&amp;secure_key={$this->member->form_hash}&amp;post_return={$data['primaryId']}' title='{$this->lang->words['reputation_up']}'>{$this->lang->words['like_this']}</a>
				</li>
				<li <if test="giveRepDown:|:IPSMember::canRepDown( $data, $member ) === false">style="display:none"</if> >
					<a class='ipsLikeButton ipsLikeButton_disabled rep_down'  href='{$this->settings['base_url']}app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate={$data['app']}&amp;type={$data['type']}&amp;type_id={$data['primaryId']}&amp;rating=-1&amp;secure_key={$this->member->form_hash}&amp;post_return={$data['primaryId']}' title='{$this->lang->words['reputation_down']}'>{$this->lang->words['unlike_this']}</a>
				</li>
			</ul>
		<else />
			<ul class='ipsList_inline post_rep'>
				<if test="canGiveRep:|:IPSMember::canGiveRep( $data, $member ) !== false">			
					<li <if test="giveRepUp:|:IPSMember::canRepUp( $data, $member ) === false">style="display:none"</if>>
						<a href='{$this->settings['base_url']}app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate={$data['app']}&amp;type={$data['type']}&amp;type_id={$data['primaryId']}&amp;rating=1&amp;secure_key={$this->member->form_hash}&amp;post_return={$data['primaryId']}' class='rep_up' title='{$this->lang->words['reputation_up']}'>{parse replacement="rep_up"}</a>
					</li>
					<li <if test="giveRepDown:|:IPSMember::canRepDown( $data, $member ) === false">style="display:none"</if>>
						<a href='{$this->settings['base_url']}app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate={$data['app']}&amp;type={$data['type']}&amp;type_id={$data['primaryId']}&amp;rating=-1&amp;secure_key={$this->member->form_hash}&amp;post_return={$data['primaryId']}' class='rep_down' title='{$this->lang->words['reputation_down']}'>{parse replacement="rep_down"}</a>
					</li>
				</if>
			</ul>
		</if>
	</if>
</if>]]></template_content>
      <template_name>repButtons</template_name>
      <template_data>$member, $data=array()</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<h3>{$this->lang->words['liked_by_title']}</h3>
<div class='likepop fixed_inner'>
	<ul class='ipsList_withminiphoto'>
		<foreach loop="$data as $mid => $data">
			<li class='clearfix ipsPad_half <if test="$data['like_is_anon']">faded</if>'>
				<a href='{parse url="showuser={$data['member_id']}" seotitle="{$data['members_seo_name']}" template="showuser" base="public"}' title='{$this->lang->words['view_profile']}' class='ipsUserPhotoLink left'>
					<img src='{$data['pp_small_photo']}' class='ipsUserPhoto ipsUserPhoto_mini' />
				</a>
				<div class='list_content'>
					<a href='{parse url="showuser={$data['member_id']}" seotitle="{$data['members_seo_name']}" template="showuser" base="public"}' title='{$this->lang->words['view_profile']}'><strong>{$data['members_display_name']}</strong></a>
					<em class='desc'>{$this->lang->words['likeadded']} {parse date="$data['rep_date']" format="short"}</em>
					<p class='desc'>
						{parse expression="IPSMember::makeNameFormatted( $data['g_title'], $data['g_id'] )"}
					</p>
				</div>
			</li>
		</foreach>
	</ul>
</div>]]></template_content>
      <template_name>repMoreDialogue</template_name>
      <template_data>$data, $relId</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<div>
	<h3>{$this->lang->words['rep_given']}</h3>
	<div class='ipsPad' style='min-height: 60px'>
		<if test="empty($reps)">
			<em>{$this->lang->words['no_rep']}</em>
		<else />
			<foreach loop="$reps as $r">
				<if test="$r['rep_rating'] > 0">
					{parse replacement="rep_up"}
				<else />
					{parse replacement="rep_down"}
				</if>
				 <a href='{parse url="showuser={$r['member']['member_id']}" base="public" template="showuser" seotitle="{$r['member']['members_seo_name']}"}'>{$r['member']['members_display_name']}</a><br />
			</foreach>
		</if>
	</div>
</div>]]></template_content>
      <template_name>reputationPopup</template_name>
      <template_data>$reps</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>socialSharePostStrip</template_name>
      <template_data>$id=null</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<h3 class='maintitle'>{$this->lang->words['mob_tags']}</h3>
<div class='ipsBox'>
	<div class='ipsBox_container ipsPad'>
		<ul class='ipsList_inline'>
		<foreach loop="eachTag:$tags['tags'] as $id => $data">
			<li><span class="{$data['className']}">{$data['tagWithUrl']}</span></li>
		</foreach>
		</ul>
	</div>
</div>]]></template_content>
      <template_name>tagCloud</template_name>
      <template_data>$tags</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<a <if test="noClass:|:!$noClass">class='ipsTag'</if> href="{parse url="app=core&amp;module=search&amp;do=search&amp;search_tags={parse expression="IPSText::urlencode_furlSafe($tag)"}&amp;search_app=<if test="inSearch:|:isset($this->request['search_app']) AND $this->request['search_app']">{$this->request['search_app']}<else />{$app}</if><if test="hasSearchSection:|:$section">&amp;search_app_filters[<if test="inSearchSub:|:isset($this->request['search_app']) AND $this->request['search_app']">{$this->request['search_app']}<else />{$app}</if>][searchInKey]={$section}</if>" base="public" template="tags" seotitle="false"}" data-tooltip="{parse expression="sprintf( $this->lang->words['find_more_tags'], $tag )"}"><span>{$tag}</span></a>]]></template_content>
      <template_name>tagEntry</template_name>
      <template_data><![CDATA[$tag, $noClass=false, $app='all', $section='']]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<a href="{parse url="app=core&amp;module=search&amp;do=search&amp;search_tags={parse expression="urlencode($tag)"}&amp;search_app=<if test="inSearch:|:isset($this->request['search_app']) AND $this->request['search_app']">{$this->request['search_app']}<else />{$app}</if><if test="hasSearchSection:|:$section">&amp;search_app_filters[<if test="inSearchSub:|:isset($this->request['search_app']) AND $this->request['search_app']">{$this->request['search_app']}<else />{$app}</if>][searchInKey]={$section}</if>" base="public" template="tags" seotitle="false"}" class='ipsBadge ipsBadge_lightgrey' data-tooltip="{parse expression="sprintf( $this->lang->words['find_more_tags'], $tag )"}">{$tag}</a>]]></template_content>
      <template_name>tagPrefix</template_name>
      <template_data><![CDATA[$tag, $app='', $section='']]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<div class='ipsBox'>
	<div class='ipsBox_container ipsPad'>
		{$tags['formatted']['parsedWithoutComma']}
	</div>
</div>]]></template_content>
      <template_name>tagsAsPopUp</template_name>
      <template_data>$tags</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<script type='text/javascript' src="{$this->settings['public_dir']}js/ips.tags.mobile.js"></script>
<a href='#' id='{$options['fieldId']}_tag_button' class='ipsTagBox_launcher'>{$this->lang->words['mob_edit_tags']}</a>
<div class='ipsFilterPane' id='{$options['fieldId']}_tag_pane' style='display: none'>
	<a href='#' id='{$options['fieldId']}_close_pane' class='ipsFilterPane_close'><span>&times;</span></a>
	<div>
		<h4>{$this->lang->words['topictagsh4']}</h4>
		<if test="!$options['minTags'] && $options['maxTags']">
			<h5>{parse expression="sprintf( $this->lang->words['tags_max_no_min'], $options['maxTags'] )"}</h5>
		</if>
		<if test="$options['minTags'] && !$options['maxTags']">
			<h5>{parse expression="sprintf( $this->lang->words['tags_min_no_max'], $options['minTags'] )"}</h5>
		</if>
		<if test="$options['minTags'] && $options['maxTags']">
			<h5>{parse expression="sprintf( $this->lang->words['tags_max_and_min'], $options['minTags'], $options['maxTags'] )"}</h5>
		</if>
		<div class='ipsFilterPane_inner'>
			<div class='ipsTagBox'>
				<ul id='{$options['fieldId']}_tags' class='ipsTagBox_taglist'></ul>
			</div>
			<div class='ipsTagBox_editor'>
				<span id='{$options['fieldId']}_addwrap'>
					<if test="!$options['isOpenSystem']">
						<select id='{$options['fieldId']}_tag_select' class='input_select'>
							<if test="!empty( $options['predefinedTags'] )">
								<foreach loop="$options['predefinedTags'] as $tag">
									<option value="$tag">{$tag}</option>
								</foreach>
							</if>
						</select>
					<else />
						<input type='text' id='{$options['fieldId']}_tag_input' class='input_text' />
					</if> <input type='submit' value='{$this->lang->words['mob_add_tag']}' class='input_submit' id='{$options['fieldId']}_tag_add' />
				</span>
				<span id='{$options['fieldId']}_removewrap' style='display: none'>
					<input type='submit' value='{$this->lang->words['mob_remove_tag']}' id='{$options['fieldId']}_tag_remove' class='input_submit ipsTagBox_remove' />
				</span>
			</div>
		</div>
	</div>
</div>
<input type="text" value="" name="{$options['fieldId']}" id="{$options['fieldId']}" style='display: none' />
<php>
	$options['lang']['tag_add_link']	= $this->lang->words['add_a_tag'];
	$options['lang']['tip_text']		= $this->lang->words['tag_tip'];
	$options['forceLowercase']			= $this->settings['tags_force_lower'];
	$options['existingTags']			= count($tags['tags']) ? $tags['tags'] : null;
	
	$_tmp = $options;
	
	/* Always return as UTF-8 */
	$jsonEncoded = IPSText::jsonEncodeForTemplate( $_tmp );
</php>
<script type="text/javascript">
	$( "{$options['fieldId']}" ).mobileTagify( {$jsonEncoded} );
</script>]]></template_content>
      <template_name>tagTextEntryBox</template_name>
      <template_data>$tags, $options, $where</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>twitterDone</template_name>
      <template_data>$user</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>twitterPop</template_name>
      <template_data>$user</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
  </templategroup>
  <templategroup group="skin_help">
    <template>
      <template_group>skin_help</template_group>
      <template_content><![CDATA[<if test="notajax:|:!$this->request['xml']">
<div class='topic_controls'>
	<ul class='topic_buttons'>
		<li><a href="{parse url="app=core&amp;module=help" base="public"}" title="{$this->lang->words['help_back_list_title']}">{$this->lang->words['help_return_list']}</a></li>
	</ul>
</div>
</if>
<if test="isajax:|:$this->request['xml']">
<br />
</if>
<if test="notajax:|:!$this->request['xml']">
	<h1 class='ipsType_pagetitle'>{$one_text}: {$three_text}</h1>
<else />
	<h1 class='ipsType_subtitle'>{$one_text}: {$three_text}</h1>
</if>
<br />
<div class='row2 help_doc ipsPad bullets'>
	{$text}
</div>
<br />]]></template_content>
      <template_name>helpShowSection</template_name>
      <template_data><![CDATA[$one_text="",$two_text="",$three_text="", $text]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_help</template_group>
      <template_content><![CDATA[{parse js_module="help"}
<p class='message unspecific'>{$two_text}</p>
<h2 class='maintitle'>{$this->lang->words['help_topics']}</h2>
<div class='generic_bar'></div>
<ol id='help_topics'>
	{parse striping="help" classes="row1,row2"}
	<if test="count($rows)">
		<foreach loop="helpfiles:$rows as $entry">
		<li class='{parse striping="help"} helpRow'>
			<h3><a href="{parse url="app=core&amp;module=help&amp;do=01&amp;HID={$entry['id']}" base="public"}" title="{$this->lang->words['help_read_document']}">{$entry['title']}</a></h3>
			<p>
				{$entry['description']}
			</p>
		</li>
		</foreach>
	<else />
		<li class='no_messages'>{$this->lang->words['no_help_topics']}</li>
	</if>
</ol>]]></template_content>
      <template_name>helpShowTopics</template_name>
      <template_data><![CDATA[$one_text="",$two_text="",$three_text="",$rows]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
  </templategroup>
  <templategroup group="skin_login">
    <template>
      <template_group>skin_login</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>ajax__inlineLogInForm</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_login</template_group>
      <template_content><![CDATA[<div class='row message error'>
	{$data}
</div>]]></template_content>
      <template_name>errors</template_name>
      <template_data><![CDATA[$data=""]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_login</template_group>
      <template_content><![CDATA[<form action="{parse url="app=core&amp;module=global&amp;section=login&amp;do=process" base="public"}" method="post" id='login'>
<input type='hidden' name='auth_key' value='{$this->member->form_hash}' />
	<if test="referer:|:$referer">
		<input type="hidden" name="referer" value="{$referer}" />
	</if>
	<h2>{$this->lang->words['log_in']}</h2>
		<div class='ipsForm_vertical'>
		
		
		<if test="showAlternate:|:( $this->request['show'] == 'live' && in_array( 'live', $login_methods ) )">
			<div class='ipsField'>
				<label class='ipsField_title'>{parse replacement="live_small"} {$this->lang->words['sign_in_winlive']}</label>
				<a href='{parse url="app=core&amp;module=global&amp;section=login&amp;do=process&amp;use_live=1&amp;auth_key={$this->member->form_hash}" base="public"}'>{parse replacement="live_large"}</a> <a href='{parse url="app=core&amp;module=global&amp;section=login&amp;do=process&amp;use_live=1&amp;auth_key={$this->member->form_hash}" base="public"}'>{$this->lang->words['signin_with_live']}</a>
			</div>
		<else />
			<div class='ipsField'>
				<label for='ips_username' class='ipsField_title'>{$this->lang->words['enter_name']}</label>
				<input id='username' type='text' class='input_text' name='ips_username' size='30' />
			</div>
			<div class='ipsField'>
				<label for='ips_password' class='ipsField_title'>{$this->lang->words['enter_pass']}</label>
				<input id='password' type='password' class='input_text' name='ips_password' size='30' />
			</div>
			
			<div class='ipsField'>
				<if test="haswindowslive:|:IPSLib::loginMethod_enabled('live')">
					<p>{parse replacement="live_small"} {$this->lang->words['have_msnlive']} <a href='{parse url="app=core&amp;module=global&amp;section=login&amp;show=live" base="public"}'>{$this->lang->words['sign_in_here']}</a></p><br />
				</if>
				<if test="hasFacebook:|:IPSLib::loginMethod_enabled('facebook')">
					<p><a href="{$this->settings['_original_base_url']}/interface/facebook/index.php?_reg=1&amp;mobile=true"><img src="{$this->settings['img_url']}/facebook_login.png" alt="" /></a></p><br />
				</if>
				<if test="hasTwitter:|:IPSLib::loginMethod_enabled('twitter')">
					<p><a href="{$this->settings['_original_base_url']}/interface/twitter/index.php?_reg=1&amp;mobile=true"><img src="{$this->settings['img_url']}/twitter_login.png" alt="" /></a></p>
				</if>
			</div>
		</if>
		
		<h3>{$this->lang->words['sign_in_options']}</h3>
		<div class='ipsField ipsField_checkbox'>
			<input type='checkbox' id='remember' checked='checked' name='rememberMe' value='1' class='input_check' />
			<p class='ipsField_content'>
				<label for='remember'>{$this->lang->words['rememberme']}</label><br />
				<span class='desc'>{$this->lang->words['notrecommended']}</span>
			</p>
		</div>	
			<if test="anonymous:|:!$this->settings['disable_anonymous']">
				<div class='ipsField ipsField_checkbox'>
					<input type='checkbox' id='invisible' name='anonymous' value='1' class='input_check' />
					<p class='ipsField_content'>
						<label for='invisible'>{$this->lang->words['form_invisible']}</label><br />
						<span class='desc'>{$this->lang->words['anon_name']}</span>
					</p>
				</div>
			</if>
		</div>
		
		<div class='submit'>
			<input type='submit' class='button' value='{$this->lang->words['sign_in_button']}' />
		</div>
	</div>
</form>]]></template_content>
      <template_name>showLogInForm</template_name>
      <template_data><![CDATA[$message="",$referer="",$extra_form="", $login_methods=array()]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
  </templategroup>
  <templategroup group="skin_modcp">
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[{parse js_module="topic"}
<if test="disablelightbox:|:!$this->settings['disable_lightbox']">
{parse template="include_lightbox" group="global" params=""}
</if>
<script type='text/javascript'>
	ipb.topic.inSection	= 'topicview';
</script>
<style type='text/css'>
	.post_mod, .post_id { display: none; }
</style>
{$this->templateVars['test']}
<div>{$pagelinks}</div>
{parse template="subTabLoop" group="modcp" params=""}
<div class='clearfix'>
	<if test="hasPosts:|:is_array( $posts ) AND count( $posts )">
		<div id='ips_Posts'>
			<foreach loop="post_data:$posts as $post">
					{parse template="modCPpost" group="modcp" params="$post, array( 'sdData' => $other_data ), $post, 'deleted'"}
			</foreach>
		</div>
	<else />
		<div class='no_messages'>
			{$this->lang->words['no_deleted_posts']}
		</div>
	</if>
	<div>{$pagelinks}</div>
</div>]]></template_content>
      <template_name>deletedPosts</template_name>
      <template_data><![CDATA[$posts, $other_data=array(), $pagelinks='']]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[{parse js_module="forums"}
<div>{$pagelinks}</div>
{parse template="subTabLoop" group="modcp" params=""}
<div class='clearfix'>
	<table class='ipb_table topic_list' id='forum_table'>
		<if test="hastopics:|:is_array( $topics ) AND count( $topics )">
			{parse template="modCPtopic" group="modcp" params="$topics, $pagelinks, 'deleted', $sdelete"}
		<else />
			<tr> 
				<td colspan='3' class='no_messages'>{$this->lang->words['no_deleted_topics']}</td>
			</tr>
		</if>
	</table>
	<div>{$pagelinks}</div>
</div>]]></template_content>
      <template_name>deletedTopics</template_name>
      <template_data><![CDATA[$topics, $sdelete=array(), $pagelinks='']]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[<form action='{parse url="app=core&amp;module=modcp&amp;do=doeditmember" base="public"}' method='post'>
<input type='hidden' name='auth_key' value='{$this->member->form_hash}' />
<input type='hidden' name='mid' value='{$profile['member_id']}' />
<input type="hidden" name="_st" value="{$this->request['_st']}" />
<input type="hidden" name="t" value="{$this->request['t']}" />
<input type="hidden" name="pf" value="{$this->request['pf']}" />
<h2 class='maintitle'>{$this->lang->words['cp_em_title']}: <a href='{parse url="showuser={$profile['_parsedMember']['member_id']}" seotitle="{$profile['_parsedMember']['members_seo_name']}" template="showuser" base="public"}' title='{$this->lang->words['view_profile']}'>{$profile['_parsedMember']['members_display_name']}</a></h2>
<div class=''>
	
	<fieldset class='with_subhead'>
		<h3 class='bar'>{$this->lang->words['warn_member_details']}</h3>
		<h4>
			<img class="ipsUserPhoto ipsUserPhoto_large" src='{$profile['_parsedMember']['pp_thumb_photo']}' alt="{parse expression="sprintf($this->lang->words['users_photo'],$profile['_parsedMember']['members_display_name'])"}" />
		</h4>
		<ul>
			<li class='field'>
				{parse replacement="find_topics_link"} <a href='{parse url="app=core&amp;module=search&amp;do=user_activity&amp;mid={$profile['_parsedMember']['member_id']}" base="public"}'>{$this->lang->words['gbl_find_my_content']}</a>
			</li>
			<if test="displaynamehistory:|:$this->memberData['g_mem_info'] && $this->settings['auth_allow_dnames']">
				<li class='field' id='dname_history'>
					{parse replacement="display_name"} <a href='{parse url="app=members&amp;module=profile&amp;section=dname&amp;id={$profile['_parsedMember']['member_id']}" base="public"}' title='{$this->lang->words['view_dname_history']}'>{$this->lang->words['display_history']}</a>
				</li>
			</if>
			<li class='field'>
				<img src='{$this->settings['img_url']}/warn.png' /> <a href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$profile['_parsedMember']['member_id']}&amp;from_app=members" base="public"}' id='warn_link_xxx_{$profile['_parsedMember']['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warn_status'], $profile['_parsedMember']['warn_level'] )"}</a>
			</li>
		</ul>
	</fieldset>
	<if test="hasRestrictions:|:$profile['_parsedMember']['restrict_post'] || $profile['_parsedMember']['mod_posts'] || $profile['_parsedMember']['temp_ban']">
	<fieldset>
		<h3 class='bar'>{$this->lang->words['em_restrictions']}</h3>
		<ul class='ipsForm ipsForm_horizontal'>
			<if test="modPreview:|:$profile['_parsedMember']['mod_posts']">
				<li class='ipsField clearfix ipsPad_top'>
					<label for='photo' class='ipsField_title'>{$this->lang->words['em_rem_mod_preview']}</label>
					<p class='ipsForm_content'>
						<select name="modpreview" id='modpreview' class='input_select'>
							<option value="0">{$this->lang->words['no']}</option>
							<option value="1">{$this->lang->words['yes']}</option>
						</select>
					</p>
				</li>
			</if>
			<if test="postingRestricted:|:$profile['_parsedMember']['restrict_post']">
				<li class='ipsField clearfix ipsPad_top'>
					<label for='photo' class='ipsField_title'>{$this->lang->words['em_rem_restrict_post']}</label>
					<p class='ipsForm_content'>
						<select name="postingrestriction" id='postingrestriction' class='input_select'>
							<option value="0">{$this->lang->words['no']}</option>
							<option value="1">{$this->lang->words['yes']}</option>
						</select>
					</p>
				</li>
			</if>
			<if test="suspended:|:$profile['_parsedMember']['temp_ban']">
				<li class='ipsField clearfix ipsPad_top'>
					<label for='photo' class='ipsField_title'>{$this->lang->words['em_rem_suspension']}</label>
					<p class='ipsForm_content'>
						<select name="remove_suspension" id='remove_suspension' class='input_select'>
							<option value="0">{$this->lang->words['no']}</option>
							<option value="1">{$this->lang->words['yes']}</option>
						</select>
					</p>
				</li>
			</if>
		</ul>
	</fieldset>
	</if>
	<fieldset>
		<h3 class='bar'>{$this->lang->words['edit_user_images']}</h3>
		<ul class='ipsForm ipsForm_horizontal'>
			<li class='ipsField clearfix ipsPad_top'>
				<label for='photo' class='ipsField_title'>{$this->lang->words['cp_remove_photo']}</label>
				<p class='ipsForm_content'>
					<select name="photo" id='photo' class='input_select'>
						<option value="0">{$this->lang->words['no']}</option>
						<option value="1">{$this->lang->words['yes']}</option>
					</select>
				</p>
			</li>
		</ul>
		<if test="groupCanStatus:|:$profile['_parsedMember']['gbw_no_status_update'] == 0">
			<h3 class='bar'>{$this->lang->words['edit_user_permissions']}</h3>	
			<ul class='ipsForm ipsForm_horizontal'>
				<li class='ipsField clearfix ipsPad_top'>
					<label for='status_updates' class='ipsField_title'>{$this->lang->words['cp_can_post_status_updates']}</label>
					<p class='ipsForm_content'>
						<select name="status_updates" class='input_select'>
							<option value="0" <if test="$profile['_parsedMember']['bw_no_status_update'] == 1">selected='selected'</if>>{$this->lang->words['no']}</option>
							<option value="1" <if test="$profile['_parsedMember']['bw_no_status_update'] == 0">selected='selected'</if>>{$this->lang->words['yes']}</option>
						</select>
					</p>
				</li>
			</ul>
		</if>
		<if test="editusercfields:|:count($custom_fields->out_fields)">
			<h3 class='bar'>{$this->lang->words['edit_user_profile']}</h3>
			<ul class='ipsForm ipsForm_horizontal'>
				<li class='ipsField clearfix ipsPad_top'>
					<label for='title' class='ipsField_title'>{$this->lang->words['edit_user_title']}</label>
					<p class='ipsField_content'>
						<input type='text' class="input_text" name='title' size='50' value='{$profile['title']}' />
					</p>
				</li>
				<foreach loop="custom_fields:$custom_fields->out_fields as $id => $data">
					<li class='ipsField clearfix ipsPad_top'>
						<label for='field_{$id}' class='ipsField_title'>{$custom_fields->field_names[ $id ]}</label>
						<div class='ipsField_content'>
							{$data}
							<if test="editusercfielddesc:|:$custom_fields->field_desc[ $id ]">
								<br /><span class='desc'>{$custom_fields->field_desc[ $id ]}</span>
							</if>
						</div>
					</li>
				</foreach>
			</ul>
		</if>
		<h3 class='bar'>{$this->lang->words['cp_edit_signature']}</h3>
		<div class='ipsPad'>
			{$profile['signature']}
		</div>
		<h3 class='bar'>{$this->lang->words['cp_edit_aboutme']}</h3>
		<div class='ipsPad'>
			{$profile['aboutme']}
		</div>
	</fieldset>
	<fieldset class='submit'>
		<input type="submit" class='input_submit' value="{$this->lang->words['cp_em_submit']}" />
	</fieldset>
</div>
</form>]]></template_content>
      <template_name>editUserForm</template_name>
      <template_data>$profile, $custom_fields=null</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[<p class='message unspecific'>{$msg}</p>]]></template_content>
      <template_name>inlineModIPMessage</template_name>
      <template_data><![CDATA[$msg='']]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[<div>{$pagelinks}</div>
{parse template="subTabLoop" group="modcp" params=""}
<div class='clearfix'>
	<table class='ipb_table'>
		<tr class='header'>
			<th scope='col'>{$this->lang->words['w_v_warnto']}</th>
			<th scope='col'>{$this->lang->words['w_v_warnby']}</th>
			<th scope='col'>{$this->lang->words['w_v_reason']}</th>
			<th scope='col'>&nbsp;</th>
		</tr>
		<if test="haswarnings:|:is_array( $warnings ) AND count( $warnings )">
			{parse striping="warnings" classes="row1,row2 altrow"}
			<foreach loop="warningloop:$warnings as $r">
				<tr class='{parse striping="warnings"}'>
					<td><img src='{$r['pp_mini_photo']}' class='ipsUserPhoto ipsUserPhoto_mini' alt='' /> {parse template="userHoverCard" group="global" params="$r"}</td>
					<td>{$r['punisher_photo']} {parse template="userHoverCard" group="global" params="$r['punisherMember']"}</td>
					<td>{$r['wl_reason']}</td>
					<td><span class='ipsButton_secondary clickable' onclick='warningPopup( this, {$r['wl_id']} )'>{$this->lang->words['w_v_moreinfo']}</span></td>
				</tr>
			</foreach>
		<else />
			<tr>
				<td class="no_messages" colspan="3">{$this->lang->words['warn__no_recent']}</td>
			</tr>
		</if>
	</table>
	<div>{$pagelinks}</div>
</div>]]></template_content>
      <template_name>latestWarnLogs</template_name>
      <template_data>$warnings, $pagelinks</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[<div>{$pagelinks}</div>
{parse template="subTabLoop" group="modcp" params=""}
<div class='clearfix'>
	<div id='member_list' class='clear block_wrap'>
		<div id='member_wrap'>
			<ul class='ipsMemberList'>
				<if test="showmembers:|:is_array( $members ) and count( $members )">
					{parse striping="memberStripe" classes="row1,row2"}
					<foreach loop="members:$members as $member">
						<li id='member_id_{$member['member_id']}' class='ipsPad clearfix member_entry {parse striping="memberStripe"}'>
							<a href='{parse url="showuser={$member['member_id']}" template="showuser" seotitle="{$member['members_seo_name']}" base="public"}' title='{$this->lang->words['view_profile']}' class='ipsUserPhotoLink left'><img src='{$member['pp_small_photo']}' alt="{parse expression="sprintf($this->lang->words['users_photo'],$member['members_display_name'])"}" class='ipsUserPhoto ipsUserPhoto_medium' /></a>
							<div class='ipsBox_withphoto'>
								<ul class='ipsList_inline right'>
									<if test="weAreSupmod:|:$this->memberData['g_is_supmod'] == 1 && $member['member_id'] != $this->memberData['member_id']">
										<li><a href='{parse url="app=core&amp;module=modcp&amp;do=editmember&amp;auth_key={$this->member->form_hash}&amp;mid={$member['member_id']}&amp;pf={$member['member_id']}" base="public"}' class='ipsButton_secondary'>{$this->lang->words['edit_member']}</a></li>
									</if>
									<if test="memberwarn:|:$member['show_warn']">
										<a href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$member['member_id']}" base="public"}' id='warn_link_modcp_{$member['member_id']}' title='{$this->lang->words['warn_view_history']}' class='ipsButton_secondary'>{$this->lang->words['warn_view_history']}</a>
									</if>
									<if test="sendpm:|:$this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0 AND IPSLib::moduleIsEnabled( 'messaging', 'members' ) && $member['member_id'] != $this->memberData['member_id']">
										<li class='pm_button' id='pm_xxx_{$member['pp_member_id']}'><a href='{parse url="app=members&amp;module=list&amp;module=messaging&amp;section=send&amp;do=form&amp;fromMemberID={$member['pp_member_id']}" base="public"}' title='{$this->lang->words['pm_member']}' class='ipsButton_secondary'>{parse replacement="send_msg"}</a></li>
									</if>
									<li><a href='{parse url="app=core&amp;module=search&amp;do=user_activity&amp;mid={$member['member_id']}" base="public"}' title='{$this->lang->words['gbl_find_my_content']}' class='ipsButton_secondary'>{parse replacement="find_topics_link"}</a></li>
									<if test="blog:|:$member['has_blog'] AND IPSLib::appIsInstalled( 'blog' )">
										<li><a href='{parse url="app=blog&amp;module=display&amp;section=blog&amp;show_members_blogs={$member['member_id']}" base="public"}' title='{$this->lang->words['view_blog']}' class='ipsButton_secondary'>{parse replacement="blog_link"}</a></li>
									</if>
									<if test="gallery:|:$member['has_gallery'] AND IPSLib::appIsInstalled( 'gallery' )">
										<li><a href='{parse url="app=gallery&amp;user={$member['member_id']}" seotitle="{$member['members_seo_name']}" template="useralbum" base="public"}' title='{$this->lang->words['view_gallery']}' class='ipsButton_secondary'>{parse replacement="gallery_link"}</a></li>
									</if>
								</ul>
								
								<h3 class='ipsType_subtitle'>
									<strong>{parse template="userHoverCard" group="global" params="$member"}</strong>
								</h3>
								<if test="repson:|:$this->settings['reputation_enabled'] && $this->settings['reputation_show_profile']">
									<if test="norep:|:$member['pp_reputation_points'] == 0 || !$member['pp_reputation_points']">
										<p class='reputation zero ipsType_small left'>
									</if>
									<if test="posrep:|:$member['pp_reputation_points'] > 0">
										<p class='reputation positive ipsType_small left'>
									</if>
									<if test="negrep:|:$member['pp_reputation_points'] < 0">
										<p class='reputation negative ipsType_small left'>
									</if>							
											<span class='number'>{$member['pp_reputation_points']}</span>
										</p>
								</if>
								<span class='desc'>
									{$this->lang->words['member_joined']} {parse date="$member['joined']" format="joined"}<br />
									{IPSMember::makeNameFormatted( $member['group'], $member['member_group_id'] )} &middot; <strong>{$this->lang->words['modqueued_til']}: <if test="isnotbanned:|:in_array( $type, array( 'modposts', 'suspended', 'restrictposts' ) )"><a href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$member['member_id']}&amp;_tab=warn&amp;type=minus" base="public"}'></if><em>{$member['_language']}</em><if test="isnotbanned2:|:in_array( $type, array( 'modposts', 'suspended', 'restrictposts' ) )"></a></if></strong>
								</span>
							</div>
						</li>
					</foreach>
				<else />
					<p class='no_messages'>{$this->lang->words['no_results']}</p>
				</if>
			</ul>
		</div>
	</div>
</div>
	<div>{$pagelinks}</div>]]></template_content>
      <template_name>membersList</template_name>
      <template_data><![CDATA[$type, $members, $pagelinks='']]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[<h2 class='maintitle'>{$this->lang->words['menu_ipsearch']}</h2>
<div class='ipsBox clearfix'>
	<form id="userCPForm" action="{parse url="app=core&amp;module=modcp&amp;tab=iplookup&amp;fromapp=members&amp;_do=submit" base="public"}" method="post">
	<fieldset class="ipsBox_container ipsPad">
		<if test="modIpIe:|:$inlineMsg">
			{$inlineMsg}
		</if>
		<br />
		
		<ul class='ipsForm ipsForm_horizontal'>
			<li class='ipsField'>
				<label for='ipsearch' class='ipsField_title'>{$this->lang->words['ip_enter']}</label>
				<p class='ipsField_content'>
					<input type="text" size="40" maxlength="24" class='input_text' name="ip" value="<if test="$ip">{$ip}<else />{$this->request['ip']}</if>" />
					<select name="iptool" class='input_select'>
						<option value="resolve">{$this->lang->words['ip_resolve']}</option>
						<option value="posts">{$this->lang->words['ip_posts']}</option>
						<option value="members">{$this->lang->words['ip_members']}</option>
					</select>&nbsp;
					<input type="submit" class='input_submit' value="{$this->lang->words['ip_submit']}" />
				</p>
			</li>
		</ul>
		<p class='message unspecific'>
			{$this->lang->words['ip_desc_text']}
		</p>
		<p class='desc'>
			{$this->lang->words['ip_warn_text']}
		</p>
	</fieldset>
	</form>
</div>]]></template_content>
      <template_name>membersModIPForm</template_name>
      <template_data><![CDATA[$ip="", $inlineMsg='']]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[<div class='topic_controls'>
	{$pages}
</div>
<br />
<table class='ipb_table'>
	<tr class='header'>
		<th style='width: 20%'>{$this->lang->words['ipm_name']}</th>
		<th style='width: 15%'>{$this->lang->words['ipm_ip']}</th>
		<th style='width: 10%' class='short'>{$this->lang->words['ipm_posts']}</th>
		<th style='width: 20%' class='short'>{$this->lang->words['ipm_reg']}</th>
		<th style='width: 15%'>{$this->lang->words['ipm_group']}</th>
		<th style='width: 10%'>&nbsp;</th>
	</tr>
	<if test="modIPMembers:|:is_array( $members ) AND count( $members )">
		{parse striping="members" classes="row1,row2"}
		<foreach loop="ipMembers:$members as $id => $row">
			<tr class='{parse striping="members"}'>
				<td>{parse template="userHoverCard" group="global" params="$row"}</td>
				<td class='altrow'>{$row['ip_address']}</td>
				<td class='short'>{$row['posts']}</td>
				<td class="altrow short">{$row['joined']}</td>
				<td>{$row['groupname']}</td>
				<td class="altrow short">
					<a href="{parse url="app=core&amp;module=modcp&amp;do=editmember&amp;mid={$row['member_id']}&amp;auth_key={$this->member->form_hash}" base="public"}" title="{$this->lang->words['ipm_edit']}" class='ipsButton_secondary ipsType_smaller'>{$this->lang->words['ipm_edit']}</a>
				</td>
			</tr>
		</foreach>
	</if>
</table>
<br />
<div class='topic_controls'>
	{$pages}
</div>]]></template_content>
      <template_name>membersModIPFormMembers</template_name>
      <template_data><![CDATA[$pages="",$members]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[<p class='message'>
	{$this->lang->words['ipp_found']} {$count}
</p>
<br />
<div class='topic_controls'>
	{$pageLinks}
</div>
<br />
<if test="modFindMemberPosts:|:count($results)">
	{parse striping="posts" classes="row1,row2"}
	<foreach loop="ipPosts:$results as $result">
		<div class='post_block ucp no_sidebar {parse striping="posts"}'>
			<h3>{parse template="userHoverCard" group="global" params="$result"} | <a href='{parse url="showtopic={$result['topic_id']}&amp;findpost={$result['pid']}" template="showtopic" seotitle="{$result['title_seo']}" base="public"}' title='{$this->lang->words['modip_viewposts']}'>{parse date="$result['post_date']" format="long"}</a></h3>
			<div class='post_body'>
				<div class='post'>{$result['post']}<br /></div>
			</div>
		</div>
		<hr />
	</foreach>
</if>
<br />
<div class='topic_controls'>
	{$pageLinks}
</div>]]></template_content>
      <template_name>membersModIPFormPosts</template_name>
      <template_data><![CDATA[$count=0, $pageLinks='', $results]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[<form action="{parse url="app=core&amp;module=modcp&amp;tab=announcements&amp;fromapp=forums&amp;_do=save&amp;announce_id={$announce['announce_id']}&amp;type={$type}" base="public"}" method="post" id='postingform'>
<input type="hidden" name="secure_key" value="{$this->member->form_hash}" />
<fieldset class='row1'>
	<h3 class='ipsType_subtitle'><if test="buttonlang:|:$type=='add'">{$this->lang->words['announce_add']}<else />{$this->lang->words['announce_button_edit']}</if></h3>
	<br />
	<if test="announceMessage:|:$msg">
		<p class='message unspecific'>{$msg}</p>
	</if>
	<ul class='ipsForm ipsForm_horizontal'>
		<li class='ipsField clearfix'>
			<label for='announce_title' class='ipsField_title'>{$this->lang->words['announce_form_title']}</label>
			<p class='ipsField_content'>
				<input class='input_text' type="text" size="50" name="announce_title" id='announce_title' value="{$announce['announce_title']}" tabindex="1" />
			</p>
		</li>
		<li class='ipsField clearfix'>
			<label for='announce_start' class='ipsField_title'>{$this->lang->words['announce_form_start']}</label>
			<p class='ipsField_content'>
				<input class='input_text' type="text" size="10" name="announce_start" id='announce_start' value="{$announce['announce_start']}" tabindex="2" /><br />
				<span class="desc lighter">{$this->lang->words['announce_form_date']} {$this->lang->words['announce_form_startdesc']}</span>
			</p>
		</li>
		<li class='ipsField clearfix'>
			<label for='announce_end' class='ipsField_title'>{$this->lang->words['announce_form_end']}</label>
			<p class='ipsField_content'>
				<input class='input_text' type="text" size="10" name="announce_end" id='announce_end' value="{$announce['announce_end']}" tabindex="2" /><br />
				<span class="desc lighter">{$this->lang->words['announce_form_date']} {$this->lang->words['announce_form_enddesc']}</span>
			</p>				
		</li>
		<li class='ipsField clearfix'>
			<label for='announce_forum' class='ipsField_title'>{$this->lang->words['announce_form_forums']}</label>
			<p class='ipsField_content'>
				<select class="input_select" multiple="multiple" size="10" id='announce_forum' name="announce_forum[]" tabindex="4">{$forum_html}</select><br />
				<span class="desc lighter">{$this->lang->words['announce_form_forums2']}</span>
			</p>
		</li>
		<li class='ipsField clearfix'>
			<label for='' class='ipsField_title'>{$this->lang->words['announce_form_announce']}</label>
			<div class='ipsField_content'>
				{$editor_html}
			</div>
		</li>
		<li class='ipsField ipsField_checkbox'>
			<input type="checkbox" class="checkbox" name="announce_active" id='announce_active' value="1" {$announce['announce_active_checked']} />
			<p class='ipsField_content'>
				<label for='announce_active'>{$this->lang->words['announce_form_enable']}</label>
			</p>
		</li>
		<li class='ipsField ipsField_checkbox'>
			<input type="checkbox" class="checkbox" name="announce_html_enabled" id='announce_html_enabled' value="1" {$announce['html_checkbox']} />
			<p class='ipsField_content'>
				<label for='announce_html_enabled'>{$this->lang->words['announce_use_html']}</label>
			</p>
		</li>
	</ul>
</fieldset>
<br />
<fieldset class='submit'>
	<input type="submit" value="<if test="buttonlang:|:$type=='add'">{$this->lang->words['announce_add']}<else />{$this->lang->words['announce_button_edit']}</if>" class="input_submit" tabindex="7" /> {$this->lang->words['or']} <a href='{parse url="app=core&amp;module=modcp&amp;tab=announcements&amp;fromapp=forums" base="public"}' title='{$this->lang->words['cancel_edit']}' class='cancel'>{$this->lang->words['cancel']}</a>
</fieldset>
</form>
<script type="text/javascript">
document.observe("dom:loaded", function() {
	if ( $('announce_html_enabled') )
	{
		ipb.textEditor.bindHtmlCheckbox( $('announce_html_enabled') );
	}
} );
</script>]]></template_content>
      <template_name>modAnnounceForm</template_name>
      <template_data><![CDATA[$announce,$forum_html,$type,$editor_html,$msg=""]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[{parse js_module="ucp"}
<form action="{parse url="app=core&amp;module=modcp&amp;tab=announcements&amp;fromapp=forums&amp;_do=save" base="public"}" id="mutliact" method="post">
<div class='topic_buttons'>
	<ul class='topic_controls'>
		<li>
			<a href="{parse url="app=core&amp;module=modcp&amp;tab=announcements&amp;fromapp=forums&amp;_do=add" base="public"}" class='ipsButton'>{$this->lang->words['announce_add']}</a>
		</li>
	</ul>
</div>
	<h3 class='maintitle clear'>{$this->lang->words['announce_current']}</h3>
	<table class='ipb_table' summary="{$this->lang->words['ucp_announcements']}">
		<tr class='header'>
			<th scope='col' style="width: 40%">{$this->lang->words['announce_title']}</th>
			<th scope='col' class='short' style="width: 10%">{$this->lang->words['announce_form_starts']}</th>
			<th scope='col' class='short' style="width: 10%">{$this->lang->words['announce_form_end']}</th>
			<th scope='col' style="width: 25%">{$this->lang->words['announce_forums']}</th>
			<th scope='col' style="width: 15%">&nbsp;</th>
		</tr>
		<if test="hasAnnouncements:|:is_array( $announcements ) AND count( $announcements )">
			{parse striping="announcements" classes="row1,row2"}
			<foreach loop="announcements:$announcements as $announce">
				<tr class="{parse striping="announcements"} <if test="notactive:|:!$announce['announce_active']">moderated</if>">
					<td>
						<strong><a href="{parse url="showannouncement={$announce['announce_id']}&amp;f=0" base="public" template="showannouncement" seotitle="{$announce['announce_seo_title']}"}">{$announce['announce_title']}</a></strong> <if test="notactive:|:!$announce['announce_active']"><span class='desc'>{$this->lang->words['announce_page_disabled']}</span></if><br /><span class="desc">{$this->lang->words['by_ucfirst']} {parse template="userHoverCard" group="global" params="$announce"}</span>
					</td>
					<td class="short">
						{parse date="$announce['announce_start']" format="DATE" relative="false"}
					</td>
					<td class="short">
						{parse date="$announce['announce_end']" format="DATE" relative="false"}
					</td>
					<td>
						<div class="forumdesc">
							<if test="announceForum:|:$announce['announce_forum'] == '*'">
								{$this->lang->words['announce_page_allforums']}
							<else />
								<if test="announceHasForums:|:is_array( $announce['_forums'] ) and count( $announce['_forums'] )">
									<ul>
									<foreach loop="announce_forums:$announce['_forums'] as $forum">
										<li><a href="{parse url="showforum={$forum[0]}" base="public"}">{$forum[1]}</a></li>
									</foreach>
									</ul>
								<else />
									{$announce['announce_forum_show']}
								</if>
							</if>
						</div>
					</td>
					<td class="short">
						<ul class='ipsList_inline ipsList_nowrap'>
							<li>
								<a href="{parse url="app=core&amp;module=modcp&amp;tab=announcements&amp;fromapp=forums&amp;_do=edit&amp;announce_id={$announce['announce_id']}" base="public"}" class='ipsButton_secondary'>{$this->lang->words['announce_edit']}</a>
							</li>
							<li>
								<a href="{parse url="app=core&amp;module=modcp&amp;tab=announcements&amp;fromapp=forums&amp;_do=delete&amp;announce_id={$announce['announce_id']}&amp;secure_key={$this->member->form_hash}" base="public"}" id="del_{$announce['announce_id']}" class='ipsButton_secondary' data-confirmaction="true">{$this->lang->words['announce_delete']}</a>							</li>
						</ul>
						<script type='text/javascript'>
							$('del_{$announce['announce_id']}').observe('click', ipb.ucp.deleteAnnouncement.bindAsEventListener( this, {$announce['announce_id']} ) );
						</script>
					</td>
				</tr>
			</foreach>
		<else />
			<tr>
				<td class='no_messages' colspan="5">{$this->lang->words['announce_none']}</td>
			</tr>
		</if>
	</table>
</form>]]></template_content>
      <template_name>modAnnouncements</template_name>
      <template_data>$announcements</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[<div class='clearfix '>
	<div class='ipsBox_container ipsPad'>
		<p><if test="hasMessage:|:$message">{$message}<else />{$this->lang->words['noperm_for_modcp_act']}</if></p>
	</div>
</div>]]></template_content>
      <template_name>modcpMessage</template_name>
      <template_data><![CDATA[$message='']]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[<!--post:{$post['post']['pid']}-->
<script type="text/javascript">
var pid = parseInt({$post['post']['pid']});
if ( pid > ipb.topic.topPid ){
	ipb.topic.topPid = pid;
}
</script>
<div class='post_block hentry clear no_sidebar <if test="reputation:|:$this->settings['reputation_enabled']">with_rep</if>' id='post_id_{$post['post']['pid']}'>
	<a id='entry{$post['post']['pid']}'></a>
	<if test="repIgnored:|:!empty( $post['post']['_repignored'] ) AND $post['post']['_repignored'] == 1 && $post['post']['_ignored'] != 1">
		<div class='post_ignore'>
			<if test="noRep:|:$post['post']['rep_points'] == 0">
				<span class='reputation zero' title='{$this->lang->words['top_rep']}'>
			</if>
			<if test="posRep:|:$post['post']['rep_points'] > 0">
				<span class='reputation positive' title='{$this->lang->words['top_rep']}'>
			</if>
			<if test="negRep:|:$post['post']['rep_points'] < 0">
				<span class='reputation negative' title='{$this->lang->words['top_rep']}' >
			</if>
					{$post['post']['rep_points']}</span> {$this->lang->words['top_this_post_by']} <a href='{parse url="showuser={$post['author']['member_id']}" base="public"}'>{$post['author']['members_display_name']}</a> {$this->lang->words['top_below_thresh']}. <a href='#' title='{$this->lang->words['ignore_view_post']}' id='unhide_post_{$post['post']['pid']}'>{$this->lang->words['rep_view_anyway']}</a>
		</div>
	</if>
	
	<div class='post_wrap'>
		<h3 class='<if test="postMid:|:empty($post['author']['member_id'])">guest </if>row2'>
			<img src='{$post['author']['pp_small_photo']}' class='ipsUserPhoto ipsUserPhoto_tiny' />&nbsp;
			<if test="postMember:|:$post['author']['member_id']">
				<span class="author vcard">{parse template="userHoverCard" group="global" params="$post['author']"}</span>
			<else />
				{parse template="userHoverCard" group="global" params="$post['author']"}
			</if>
			
			<if test="postIp:|:$post['post']['_show_ip']">
				<span class='ip right ipsType_small'>({$this->lang->words['ip']}:
				<if test="postAdmin:|:$post['author']['g_access_cp']">
					<em>{$this->lang->words['ip_private']}</em>
				<else />
					<a href="{parse url="app=core&amp;module=modcp&amp;tab=iplookup&amp;fromapp=members&amp;_do=submit&amp;ip={$post['post']['ip_address']}" base="public"}" title='{$this->lang->words['info_about_this_ip']}'>{$post['post']['ip_address']}</a>
				</if>)
				</span>
			</if>
		</h3>
		
		<div class='post_body'>
			<if test="isDeleted:|:$type == 'deleted'">
				<ul class='ipsList_inline modcp_post_controls right'>
					<if test="postIsHardDeleted:|:!$post['post']['_isDeleted']">
						<li>
							<img data-tooltip="{$this->lang->words['hard_delete_warn_post']}" src='{$this->settings['img_url']}/icon_timewarning.png' />
						</li>
					</if>
					<if test="canSoftDelete:|:$this->registry->getClass('class_forums')->canSoftDeletePosts( $post['post']['forum_id'], $post )">
						<li>
							<a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;do=p_hrestore&amp;f={$post['post']['forum_id']}&amp;t={$post['post']['topic_id']}&amp;pid[]={$post['post']['pid']}&amp;st={$this->request['st']}&amp;auth_key={$this->member->form_hash}&amp;return=modcp:deleted" base="public"}' class='ipsButton_secondary ipsType_smaller' title='{$this->lang->words['restore_post_desc']}'>{$this->lang->words['restore_post']}</a>
						</li>
					</if>
					<if test="canHardDelete:|:$this->registry->getClass('class_forums')->canHardDeletePosts( $post['post']['forum_id'], $post )">
						<li>
							<a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;do=p_hdelete&amp;f={$post['post']['forum_id']}&amp;t={$post['post']['topic_id']}&amp;pid[]={$post['post']['pid']}&amp;st={$this->request['st']}&amp;auth_key={$this->member->form_hash}&amp;return=modcp:deleted" base="public"}' class='ipsButton_secondary ipsType_smaller important' title='{$this->lang->words['perm_delete_post']}'>{$this->lang->words['perm_delete_post']}</a>
						</li>
					</if>
				</ul>
				<ul class='ipsList_inline<if test="hasDeletedReasonRow:|:empty($displayData['sdData'][ $post['post']['pid'] ])"> modcp_post_controls</if>'>
					<li class='desc'>
						<strong>{$this->lang->words['posted']}</strong> <span class='desc lighter'>{parse date="$post['post']['post_date']" format="short"}</span>
					</li>
					<li class='desc'>
						<strong>{$this->lang->words['deleted_post_date']}</strong> <span class='desc lighter'>{parse date="$topic['post']['pdelete_time']" format="short"}</span>
					</li>
					<li class='desc'>
						<strong>{$this->lang->words['delete_from_topic']}</strong> <a class='desc lighter' href='{parse url="showtopic={$topic['post']['tid']}" seotitle="{$topic['post']['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['go_to_topic']}'>{IPSText::truncate( $topic['post']['title'], 25 )}</a>
					</li>
				</ul>
				<if test="postDeletedReason:|:! empty($displayData['sdData'][ $post['post']['pid'] ])">
					<ul class='ipsList_inline modcp_post_controls'>
						<li class='desc'>
							<strong>{$this->lang->words['dlt_topic_deletedby']}</strong> <span class='desc lighter blend_links'>{parse template="userHoverCard" group="global" params="$displayData['sdData'][ $post['post']['pid'] ]"}</span>
						</li>
						<if test="showReason:|:$post['post']['_softDeleteReason']">
							<li class='desc'>
								<strong>{$this->lang->words['dlt_topic_reason']}</strong> <span class='desc lighter'><em><if test="hasDeletedReason:|:$displayData['sdData'][ $post['post']['pid'] ]['sdl_obj_reason']">{$displayData['sdData'][ $post['post']['pid'] ]['sdl_obj_reason']}<else />{$this->lang->words['tdb__noreasongi']}</if></em></span>
							</li>
						</if>
					</ul>
				</if>
			</if>
			<if test="isUnapproved:|:$type == 'unapproved'">
				<ul class='ipsList_inline modcp_post_controls'>
					<if test="canEdit:|:$post['post']['_can_edit'] === TRUE">
						<li class='post_edit'><a href='{parse url="app=forums&amp;module=post&amp;section=post&amp;do=edit_post&amp;f={$post['post']['forum_id']}&amp;t={$post['post']['topic_id']}&amp;p={$post['post']['pid']}&amp;st={$this->request['st']}&amp;return=modcp:unapproved" base="public"}' title='{$this->lang->words['post_edit_title']}' class='ipsButton_secondary ipsType_smaller' id='edit_post_{$post['post']['pid']}'>{$this->lang->words['post_edit']}</a></li>
					</if>
					<!-- Matt: Approve / unapprove post button -->
					<if test="approvePost:|:$this->memberData['is_mod']">
						<li id='toggle_post_{$post['post']['pid']}'>
							<a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;do=postchoice&amp;tact=approve&amp;selectedpids[{$post['post']['pid']}]={$post['post']['pid']}&amp;t={$post['post']['topic_id']}&amp;f={$post['post']['forum_id']}&amp;auth_key={$this->member->form_hash}&amp;return=modcp:unapproved" base="public"}' title='{$this->lang->words['post_toggle_visible']}' class='ipsButton_secondary ipsType_smaller'><span id='toggletext_post_{$post['post']['pid']}'><if test="approveUnapprove:|:$post['post']['queued']==1">{$this->lang->words['post_approve']}<else />{$this->lang->words['post_unapprove']}</if></span></a>
						</li>
					</if>
					<if test="canDelete:|:$post['post']['_can_delete'] === TRUE OR $post['post']['_softDelete']">
						<li class='post_del' id='del_post_{$post['post']['pid']}'>
							<a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;do=04&amp;f={$post['post']['forum_id']}&amp;t={$post['post']['topic_id']}&amp;p={$post['post']['pid']}&amp;st={$this->request['st']}&amp;auth_key={$this->member->form_hash}&amp;return=modcp:unapproved" base="public"}' title='{$this->lang->words['post_delete_title']}' class='delete_post ipsButton_secondary important ipsType_smaller'>{$this->lang->words['post_delete']}</a>
						</li>
					</if>
					<if test="reportedPostData:|:$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['gfx'] > 0">
						<img src="{$this->settings['img_url']}/reports/post_alert_{$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid']]['gfx']}.png" alt="" class='ipbmenu clickable' id='post-report-{$post['post']['pid']}' />
					</if>
					<li class='desc'>
						<strong>{$this->lang->words['posted']}</strong> <span class='desc lighter'>{parse date="$post['post']['post_date']" format="short"}</span>
					</li>
					<li class='desc'>
						<strong>{$this->lang->words['in_topic']}</strong> <a class='desc lighter' href='{parse url="showtopic={$topic['post']['tid']}" seotitle="{$topic['post']['title_seo']}" template="showtopic" base="public"}'>{IPSText::truncate( $topic['post']['title'], 35 )}</a>
					</li>
				</ul>
			</if>
			<div class='post entry-content <if test="$post['post']['_repignored'] == 1">imgsize_ignore</if>'>
				{$post['post']['post']}
				{$post['post']['attachmentHtml']}
				<br />
				<if test="postEditBy:|:$post['post']['edit_by']">
					<p class='edit'>
						{$post['post']['edit_by']}
						<if test="postEditByReason:|:$post['post']['post_edit_reason'] != ''">
							<br />
							<span class='reason'>{$post['post']['post_edit_reason']}</span>
						</if>
					</p>
				</if>
			</div>
			<br />
		</div>
		
		<script type='text/javascript'>
			if( $('toggle_post_{$post['post']['pid']}') ){
				$('toggle_post_{$post['post']['pid']}').show();
			}
			
			// Add perm data
			ipb.topic.deletePerms[{$post['post']['pid']}] = { 'canDelete' : {parse expression="intval($post['post']['_can_delete'])"}, 'canSoftDelete' : {parse expression="intval($post['post']['_softDelete'])"} };
		</script>
		<if test="reportedPostData:|:$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['gfx'] > 0">
			<ul id='post-report-{$post['post']['pid']}_menucontent' class='ipbmenu_content report_menu' style='display: none'>
				<li><a href="{parse url="app=core&amp;module=reports&amp;do=show_report&amp;rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['info']['id']}" base="public"}" id='report_mark_{$post['post']['pid']}'><img src='{$this->settings['img_url']}/reports/mark_complete.png' alt='' /> {$this->lang->words['report_menu_mark_complete']}</a></li>
				<li><a href="{$this->settings['base_url']}app=core&amp;module=reports&amp;section=reports&amp;do=show_report&amp;rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']}"><img src='{$this->settings['img_url']}/reports/view_report.png' alt='' /> {$this->lang->words['report_menu_view_report']}</a></li>
			</ul>
			<script type="text/javascript">
				$('report_mark_{$post['post']['pid']}').observe('click',
				 	ipb.global.updateReportStatus.bindAsEventListener( 	
						this, {$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']},2,2
					)
				);
			</script>
		</if>
	</div>
</div>]]></template_content>
      <template_name>modCPpost</template_name>
      <template_data>$post, $displayData, $topic, $type</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[<foreach loop="topics:$topics as $tid => $data">
	<tr class='__topic' id='trow_{$data['tid']}' data-tid="{$data['tid']}">
		<td class='__tid{$data['tid']} with_mod_links'>	
			<if test="isLink:|:$data['state'] == 'link'">
				{$this->lang->words['moved_topic_link']}
				<em>
			</if>
			<a id="tid-link-{$data['tid']}" href="{parse url="showtopic={$data['tid']}" base="public" template="showtopic" seotitle="{$data['title_seo']}"}" title='{$data['title']} {$this->lang->words['topic_started_on']} {parse date="$data['start_date']" format="LONG"}' class='topic_title'>{$data['title']}</a>
			<if test="isLinkEnd:|:$data['state'] == 'link'">
				</em>
			</if>
			<if test="multipages:|:isset( $data['pages'] ) AND is_array( $data['pages'] ) AND count( $data['pages'] )">
				<ul class='mini_pagination'>
				<foreach loop="pages:$data['pages'] as $page">
						<if test="haslastpage:|:$page['last']">
							<li><a href="{parse url="showtopic={$data['tid']}&amp;st={$page['st']}" seotitle="{$data['title_seo']}" template="showtopic" base="public"}" title='{$this->lang->words['topic_goto_page']} {$page['page']}'>{$page['page']} {$this->lang->words['_rarr']}</a></li>
						<else />
							<li><a href="{parse url="showtopic={$data['tid']}&amp;st={$page['st']}" seotitle="{$data['title_seo']}" template="showtopic" base="public"}" title='{$this->lang->words['topic_goto_page']} {$page['page']}'>{$page['page']}</a></li>
						</if>
				</foreach>
				</ul>
			</if>
			<br />
			<if test="isntLink:|:$data['state'] != 'link'">
				<ul class='ipsList_inline'>
					<li class='desc lighter'>
						<strong>{$this->lang->words['dlt_topic_startedby']}</strong> <span class='desc lighter blend_links'><if test="hasStarterId:|:$data['starter_id']">{parse template="userHoverCard" group="global" params="$data"}<else />{$data['starter']}</if></span>
					</li>
					<li class='desc lighter'>
						<strong>{$this->lang->words['dlt_topic_posted']}</strong> <span class='desc lighter'>{parse date="$data['start_date']" format="short"}</span>
					</li>
					<li class='desc lighter'>
						<strong>{$this->lang->words['dlt_topic_inforum']}</strong> <span class='desc lighter blend_links'><a href='{parse url="showforum={$data['forum']['id']}" template="showforum" seotitle="{$data['forum']['name_seo']}" base="public"}'>{$data['forum']['name']}</a></span>
					</li>
				</ul>
			<else />
				<ul class='ipsList_inline'>
					<li class='desc lighter'>
						<strong>{$this->lang->words['dlt_topic_link_from']}</strong>
						<span class='desc lighter'><a href='{parse url="showforum={$data['_toForum']['id']}" template="showforum" seotitle="{$data['_toForum']['name_seo']}" base="public"}'>{$data['_toForum']['name']}</a></span>
					</li>
					<li class='desc lighter'>
						<strong>{$this->lang->words['dlt_topic_link_to']}</strong>
						<span class='desc lighter'><a href='{parse url="showforum={$data['forum']['id']}" template="showforum" seotitle="{$data['forum']['name_seo']}" base="public"}'>{$data['forum']['name']}</a></span>
					</li>
				</ul>
			</if>
			<if test="topicDeletedReason:|:$data['_isDeleted']">
				<ul class='ipsList_inline'>
					<li class='desc lighter'>
						<strong>{$this->lang->words['dlt_topic_deletedby']}</strong> <span class='desc lighter blend_links'>{parse template="userHoverCard" group="global" params="$sdelete[ $data['tid'] ]"}</span>
					</li>
					<if test="showReason:|:$data['permissions']['SoftDeleteReason']">
						<li class='desc lighter'>
							<strong>{$this->lang->words['dlt_topic_reason']}</strong> <span class='desc lighter'><em><if test="hasDeletedReason:|:$sdelete[ $data['tid'] ]['sdl_obj_reason']">{$sdelete[ $data['tid'] ]['sdl_obj_reason']}<else />{$this->lang->words['tdb__noreasongi']}</if></em></span>
						</li>
					</if>
				</span>
			</if>
		</td>
		<td>
			<if test="isntLink3:|:$data['state'] == 'link'">
				<span class='desc'>{parse format_number="$data['posts']"} <if test="replylang:|:intval($data['posts']) == 1">{$this->lang->words['reply']}<else />{$this->lang->words['replies']}</if></span>
			</if>
		</td>
		<td>
			<ul class='ipsList_inline right'>
				<if test="$type == 'deleted'">
					<if test="isntLink4:|:$data['state'] == 'link'">
						<if test="tidRestoreLink:|:$data['permissions']['TopicSoftDeleteRestore']">
							<li><a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;do=topic_restore&amp;t={$data['real_tid']}&amp;f={$data['_toForum']['id']}&amp;auth_key={$this->member->form_hash}&amp;return=modcp:deleted" base="public"}' title='{$this->lang->words['restore_topic_desc']}' class='ipsButton_secondary ipsType_smaller'>{$this->lang->words['restore_topic']}</a></li>
						</if>
						<if test="canHardDeleteLinkFromDb:|:$this->registry->getClass('class_forums')->canHardDeleteTopics( $data['forum_id'], $data )">
							<li><a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;do=09&amp;t={$data['real_tid']}&amp;f={$data['_toForum']['id']}&amp;auth_key={$this->member->form_hash}&amp;return=modcp:deleted" base="public"}' title='{$this->lang->words['dlt_delete_topic']}' class='ipsButton_secondary ipsType_smaller important'>{$this->lang->words['perm_delete_topic']}</a></li>
						</if>
					<else />
						<if test="topicIsHardDeleted:|:!$data['_isDeleted']">
							<li>
								<img data-tooltip="{$this->lang->words['hard_delete_warn_topic']}" src='{$this->settings['img_url']}/icon_timewarning.png' />
							</li>
						</if>
						<if test="tidRestore:|:$data['permissions']['TopicSoftDeleteRestore']">
							<li><a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;do=topic_restore&amp;t={$data['real_tid']}&amp;f={$data['forum_id']}&amp;auth_key={$this->member->form_hash}&amp;return=modcp:deleted" base="public"}' title='{$this->lang->words['restore_topic_desc']}' class='ipsButton_secondary ipsType_smaller'>{$this->lang->words['restore_topic']}</a></li>
						</if>
						<if test="canHardDeleteFromDb:|:$this->registry->getClass('class_forums')->canHardDeleteTopics( $data['forum_id'], $data )">
							<li><a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;do=09&amp;t={$data['real_tid']}&amp;f={$data['forum_id']}&amp;auth_key={$this->member->form_hash}&amp;return=modcp:deleted" base="public"}' title='{$this->lang->words['dlt_delete_topic']}' class='ipsButton_secondary ipsType_smaller important'>{$this->lang->words['perm_delete_topic']}</a></li>
						</if>
					</if>
				</if>
				<if test="$type == 'unapproved'">
					<li>
						<a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;do=topic_approve&amp;t={$data['real_tid']}&amp;f={$data['forum_id']}&amp;auth_key={$this->member->form_hash}&amp;return=modcp:unapproved" base="public"}' class='ipsButton_secondary ipsType_smaller'>{$this->lang->words['modcp_approvelink']}</a>
					</li>
					<if test="canSoftDelete:|:$data['permissions']['TopicSoftDelete']">
						<li>
							<a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;do=03&amp;t={$data['real_tid']}&amp;f={$data['forum_id']}&amp;auth_key={$this->member->form_hash}&amp;return=modcp:unapproved" base="public"}' class='ipsButton_secondary ipsType_smaller'>{$this->lang->words['HIDE_TOPIC']}</a>
						</li>
					</if>
					<if test="canHardDelete:|:$this->registry->getClass('class_forums')->canHardDeleteTopics( $data['forum_id'], $data )">
						<li>
							<a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;do=08&amp;t={$data['real_tid']}&amp;f={$data['forum_id']}&amp;auth_key={$this->member->form_hash}&amp;return=modcp:unapproved" base="public"}' class='ipsButton_secondary ipsType_smaller important'>{$this->lang->words['modcp_deletelink']}</a>
						</li>
					</if>
				</if>
			</ul>
		</td>
	</tr>
</foreach>]]></template_content>
      <template_name>modCPtopic</template_name>
      <template_data>$topics, $pagelinks, $type, $sdelete=array()</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[<div class='clearfix '>
	<div class='ipsBox_container ipsPad'>
		<p>{$this->lang->words['intro_blurb']}</p>
	</div>
</div>
<br />
<if test="canEditMember:|:$this->memberData['g_is_supmod']">
{parse js_module="modcp"}
<script type='text/javascript'>
ipb.modcp.initialtext = "{$this->lang->words['start_typing_lup']}";
</script>
<h2 class='maintitle'>{$this->lang->words['memberlookup_title']}</h2>
<div class='clearfix ipsBox'>
	<div class='ipsBox_container ipsPad'>
		<h3 class='ipsType_subtitle'>{$this->lang->words['memberlookup_desc']}</h3>
		<p class='desc'>{$this->lang->words['starttypeingmember']}</p>
		<form action='#' method='post' style='margin-top: 10px'>
			<input type='text' name='memberlookup' id='memberlookup' class='input_text' size='50' />
		</form>
	</div>
	<script type='text/javascript'>
		$('memberlookup').defaultize( "{$this->lang->words['start_typing_lup']}" );
	</script>
</div>
</if>]]></template_content>
      <template_name>overview</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[<h1 class='ipsType_pagetitle'>{$this->lang->words['modcp_page_title']}</h1>
<br />
<div class='ipsBox'>
	<div class='ipsVerticalTabbed ipsLayout ipsLayout_withleft ipsLayout_smallleft clearfix'>
		<div class='ipsVerticalTabbed_tabs ipsLayout_left' id='modcp_tabs'>
			<ul class='clear'>
				<li id='index' class='<if test="$_activeNav['primary'] == 'index' && $_activeNav['secondary'] == 'index'">active </if>tab_toggle'>
					<a href='{parse url="app=core&amp;module=modcp" base="public"}'>{$this->lang->words['modcp_tab_index']}</a>
				</li>
				<if test="accessRC:|:IPSMember::isInGroup( $this->memberData, explode( ',', IPSText::cleanPermString( $this->settings['report_mod_group_access'] ) ) )">
					<li id='reported_content' class='<if test="$_activeNav['primary'] == 'reported_content' && $_activeNav['secondary'] == 'reports'">active </if>tab_toggle'>
						<a href='{parse url="app=core&amp;module=reports&amp;do=index" base="public"}'>{$this->lang->words['modcp_tab_reports']}</a>
					</li>
				</if>
				<foreach loop="tabs:$tabs as $mainTabKey => $subTabs">
					<li id='{$mainTabKey}' class='<if test="$_activeNav['primary'] == $mainTabKey">active </if>tab_toggle' data-tabid='{$mainTabKey}'>
						<a href='{parse url="app=core&amp;module=modcp&amp;fromapp={$subTabs[0][1]}&amp;tab={$subTabs[0][0]}" base="public"}'>{$this->lang->words['modcp_mtab_' . $mainTabKey ]}</a>
					</li>
				</foreach>
			</ul>
		</div>
		<div class='ipsVerticalTabbed_content ipsLayout_content ipsBox_container' id='modcp_content'>
			<div class='ipsPad'>
				{$output}
			</div>
		</div>
	</div>
</div>
<script type='text/javascript'>
	$("modcp_content").setStyle( { minHeight: $('modcp_tabs').measure('margin-box-height') + 5 + "px" } );
</script>]]></template_content>
      <template_name>portalPage</template_name>
      <template_data>$output, $tabs=array(), $_activeNav=array()</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[<foreach loop="findTab:$this->templateVars['tabs'] as $mainTabKey => $subTabs">
	<if test="isMainTab:|:$mainTabKey == $this->templateVars['activeNav']['primary']">
		<if test="count( $subTabs ) > 1">
			<div class='maintitle ipsFilterbar clear'>
				<ul class='ipsList_inline'>									
					<foreach loop="subTabs:$subTabs as $sub">
						<li<if test="$this->templateVars['activeNav']['secondary'] == $sub[0]"> class='active'</if>>
							<a href='{parse url="app=core&amp;module=modcp&amp;fromapp={$sub[1]}&amp;tab={$sub[0]}" base="public"}'>
							{$this->lang->words['modcp_tab_' . $sub[0] ]}</a>
						</li>
					</foreach>
				</ul>
			</div>
		</if>
	</if>
</foreach>]]></template_content>
      <template_name>subTabLoop</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[{parse js_module="topic"}
<if test="disablelightbox:|:!$this->settings['disable_lightbox']">
{parse template="include_lightbox" group="global" params=""}
</if>
<script type='text/javascript'>
	ipb.topic.inSection	= 'topicview';
</script>
<style type='text/css'>
	.post_mod { display: none; }
</style>
<div>{$pagelinks}</div>
{parse template="subTabLoop" group="modcp" params=""}
<div class='clearfix'>
	<if test="hasPosts:|:is_array( $posts ) AND count( $posts )">
		<div id='ips_Posts2'>
			<foreach loop="post_data:$posts as $post">
				{parse template="modCPpost" group="modcp" params="$post, array(), $post, 'unapproved'"}
			</foreach>
		</div>
	<else />
		<div class='no_messages'>
			{$this->lang->words['no_unapproved_posts']}
		</div>
	</if>
	<div>{$pagelinks}</div>
</div>]]></template_content>
      <template_name>unapprovedPosts</template_name>
      <template_data>$posts, $pagelinks</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_modcp</template_group>
      <template_content><![CDATA[{parse js_module="forums"}
<div>{$pagelinks}</div>
{parse template="subTabLoop" group="modcp" params=""}
<div class='clearfix'>
	<table class='ipb_table topic_list' id='forum_table'>
		<if test="hastopics:|:is_array( $topics ) AND count( $topics )">
			{parse template="modCPtopic" group="modcp" params="$topics, $pagelinks, 'unapproved'"}
		<else />
			<tr> 
				<td colspan='3' class='no_messages'>{$this->lang->words['no_unapproved_topics']}</td>
			</tr>
		</if>
	</table>
	<div>{$pagelinks}</div>
</div>]]></template_content>
      <template_name>unapprovedTopics</template_name>
      <template_data>$topics, $pagelinks</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
  </templategroup>
  <templategroup group="skin_register">
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<if test="partialLoginErrors:|:isset( $errors ) && $errors">
	<p class='message error'>
		<strong>{$this->lang->words['errors_found']}</strong><br />
		{$errors}
	</p>
</if>
<form action="{parse url="app=core&amp;module=global&amp;section=register&amp;do=complete_login_do&amp;key=$key&amp;mid=$mid" base="public"}" method="POST">
	<input type="hidden" name="termsread" value="1" />
	<input type="hidden" name="agree_to_terms" value="1" />
	
	<h2>{$this->lang->words['clogin_title']}</h2>
	<p class='message'>{$this->lang->words['clogin_text']}</p>
	<br />
	<div class='post_form'>
		<h3 class='bar'>{$this->lang->words['complete_form']}</h3>
		<if test="partialAllowDnames:|:$this->settings['auth_allow_dnames'] == 1">
			<fieldset class='row2'>
				<ul>
					<li class='field'>
						<label for='dname'>{$this->lang->words['dname_name']}</label>
						<input id='dname' type="text" size="50" maxlength="64" value="{$this->request['members_display_name']}" name="members_display_name" />
					</li>
				</ul>
			</fieldset>
		</if>
		<if test="partialNoEmail:|:! $reg['partial_email_ok']">
			<fieldset class='row1'>
				<ul>
					<li class='field'>
						<label for='email'>{$this->lang->words['email_address']}</label>
						<input id='email' type="text" size="25" maxlength="50" value="{$this->request['EmailAddress']}" name="EmailAddress" />
					</li>
					<li class='field'>
						<label for='email_confirm'>{$this->lang->words['email_address_confirm']}</label>
						<input id='email_confirm' type="text" size="25" maxlength="50"  value="{$this->request['EmailAddress_two']}" name="EmailAddress_two" />
					</li>
				</ul>
			</fieldset>
		</if>
		<if test="partialCustomFields:|:$custom_fields != ''">
			<fieldset class='row1'>
				<ul>
				<if test="reqCfields:|:is_array( $custom_fields['required'] ) && count( $custom_fields['required'] )">
					<foreach loop="custom_required:$custom_fields['required'] as $_field">
						<if test="reqCfieldDesc:|:$_field['desc'] == ''">
							<li class='field nodesc required {$_field['type']}'>
						<else />
							<li class='field required {$_field['type']}'>
						</if>
								<label for='cprofile_{$_field['id']}'>{$_field['name']}</label>
								{$_field['field']}
								<if test="reqCfieldDescSpan:|:$_field['desc'] != ''"><span class='desc'>{$_field['desc']}</span></if>
							</li>
					</foreach>
				</if>
				
				<if test="optCfields:|:is_array( $custom_fields['optional'] ) && count( $custom_fields['optional'] )">
					<foreach loop="custom_optional:$custom_fields['optional'] as $_field">
						<if test="optCfieldDesc:|:$_field['desc'] == ''">
							<li class='field nodesc optional {$_field['type']}'>
						<else />
							<li class='field optional {$_field['type']}'>
						</if>
								<label for='cprofile_{$_field['id']}'>{$_field['name']}</label>
								{$_field['field']}
								<if test="optCfieldDescSpan:|:$_field['desc'] != ''"><span class='desc'>{$_field['desc']}</span></if>
							</li>
					</foreach>
				</if>
			</fieldset>
		</if>
		<fieldset class='submit'>
			<input type='submit' value='{$this->lang->words['clogin_submit']}' class='input_submit' />
		</fieldset>
	</div>
</form>]]></template_content>
      <template_name>completePartialLogin</template_name>
      <template_data><![CDATA[$mid="",$key="",$custom_fields="",$errors="", $reg="", $userFromService=array()]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['lost_pass_form']}</h2>
<if test="lostPasswordErrors:|:isset( $errors ) && $errors">
	<p class='message error'>
		<strong>{$this->lang->words['errors_found']}</strong><br />
		{$errors}
	</p>
</if>
<p class='message unspecific'>
	{$this->lang->words['lost_your_password']}
	{$this->lang->words['lp_text']}
</p>
<form action="{parse url="app=core&module=global&section=lostpass" base="public"}" method="post">
<input type="hidden" name="do" value="11" />
<div class='generic_bar'></div>
<div id='lost_pass_form' class='post_form'>
	<fieldset>
		<h3 class='bar'>{$this->lang->words['recover_password']}</h3>
		<ul>
			<li class='field'>
				<label for='member_name'>{$this->lang->words['lp_user_name']}</label>
				<input type="text" size="32" name="member_name" id='member_name' class='input_text' />
			</li>
			<li class='field'>
				<label for='email_addy'>{$this->lang->words['lp_email_or']}</label>
				<input type="text" size="32" name="email_addy" id='email_addy' class='input_text' />
			</li>
		</ul>
	</fieldset>
	<!--{REG.ANTISPAM}-->
	<fieldset class='submit'>
			<input class='input_submit' type="submit" value="{$this->lang->words['lp_send']}" /> {$this->lang->words['or']} <a href='{$this->settings['board_url']}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
	</fieldset>
</div>
</form>]]></template_content>
      <template_name>lostPasswordForm</template_name>
      <template_data><![CDATA[$errors=""]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['lpf_title']}</h2>
<p class='message'>
	{$this->lang->words['lpass_text']}
</p>]]></template_content>
      <template_name>lostPasswordWait</template_name>
      <template_data><![CDATA[$member=""]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=<% CHARSET %>" />
		<title>{$this->lang->words['cpf_title']}</title>
	</head>
	
	<body>
	<h2>{$this->settings['board_name']}: {$this->lang->words['cpf_title']}</h2>
	<if test="coppaConsentExtra:|:$this->settings['coppa_consent_extra']">
		<div>
			<b>{$this->lang->words['coppa_additional_info']}</b>
			<div>{$this->settings['coppa_consent_extra']}</div>
		</div>
	</if>
	<hr />
	<div>
		<b>{$this->lang->words['cpf_perm_parent']}</b>
		<div style='padding:8px;'>{$this->lang->words['cpf_fax']} <u>{$this->settings['coppa_fax']}</u></div>
		<div style='padding:8px;'>{$this->lang->words['cpf_address']}<br />
			<address>{$this->settings['coppa_address']}</address>
		</div>
	</div>
	<hr />
	<div>
		<table class='ipbtable' cellspacing="1" cellpadding='8'>
			<tr>
				<td width="40%">{$this->lang->words['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->lang->words['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->lang->words['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->lang->words['cpf_sign']}</b>
	</div>
	<br />
	<div>
		<table class='ipbtable' cellspacing="1" cellpadding='8'>
			<tr>
				<td width="40%">{$this->lang->words['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->lang->words['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->lang->words['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->lang->words['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->lang->words['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->lang->words['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->lang->words['coppa_admin_reminder']}</b>
		<div>{$this->lang->words['coppa_admin_remtext']}</div>
	</div>
	</body>
</html>]]></template_content>
      <template_name>registerCoppaForm</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<form action='{parse url="app=core&amp;module=global&amp;section=register&amp;do=coppa_two" base="public"}' method='post'>
	<div class='master_list'>
		<h2>{$this->lang->words['register']}</h2>
		<div class='row post line_spacing'>
			{$this->lang->words['confirm_over_thirteen']}
			<br /><br />
				<select name='month' id='coppa_bday_m'>
					<foreach loop="coppaMRange:range( 1, 12 ) as $k">
						<option value='{$k}'>{$this->lang->words[ 'M_' . $k ]}</option>
					</foreach>
				</select>
				&nbsp;
				<select name='day' id='coppa_bday_d'>
					<foreach loop="coppaDRange:range( 1, 31 ) as $_day">
						<option value='{$_day}'>{$_day}</option>
					</foreach>
				</select>
				&nbsp;
				<select name='year' id='coppa_bday_y'>
					<foreach loop="coppaYRange:array_reverse( range( date('Y') - 110, date('Y') ) ) as $_year">
						<option value='{$_year}'>{$_year}</option>
					</foreach>
				</select>
			</div>
		<div class='submit'>
			<input type='submit' value='{$this->lang->words['coppa_continue_button']}' class='button' /> &nbsp;&nbsp;
			{$this->lang->words['or']} <a href='{parse url="app=core" base="public"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
		</div>
	</div>
</form>]]></template_content>
      <template_name>registerCoppaStart</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<div class='master_list'>
	<h2>{$this->lang->words['register']}</h2>
	<h3>{$this->lang->words['cp2_title']}</h3>
	
	<div class='row line_spacing'>
		{$this->lang->words['cp2_text']}<br /><br />
		<strong><a href='{parse url="app=core&amp;module=global&amp;section=register&amp;do=12" base="public"}' title='Print form'>{$this->lang->words['coppa_clickhere']}</a></strong>
		<br />
		{$this->lang->words['coppa_form_text']} <a href="mailto:{$this->settings['email_in']}">{$this->settings['email_in']}</a>
	</div>
	<div class='submit'>
		<a href='{parse url="app=core&amp;module=global&amp;section=register&amp;do=coppa_one" base="public"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
	</div>
</div>]]></template_content>
      <template_name>registerCoppaTwo</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<if test="useCoppa:|:$this->settings['use_coppa'] && (!$this->request['coppa'] && !IPSCookie::get('coppa'))">
	{parse template="registerCoppaStart" group="register" params=""}
<else />
	<if test="!$this->request['agree_tos']">
		<div class='master_list'>
			<h2>{$this->lang->words['reg_terms_popup_title']}</h2>
			<div class='row post line_spacing'>
				{$this->settings['_termsAndConditions']}
			</div>
			<div class='submit'>
				<a class='button secondary' href='{parse url="app=core&amp;module=global&amp;section=register&amp;agree_tos=1" base="public"}'>{$this->lang->words['mobile_agree_to_tos']}</a>
			</div>
		</div>
	<else />
		<div class='master_list'>
			<h2>{$this->lang->words['register']}</h2>
			<if test="registerHasErrors:|:is_array( $general_errors ) && count( $general_errors )">
				<div class='message error'>
					<strong>{$this->lang->words['following_errors']}</strong><br />
					<foreach loop="general_errors:$general_errors as $r">
						{$r}<br />
					</foreach>
				</div>
			</if>
	
			<form class='ipsForm_vertical' action="{parse url="app=core&amp;module=global&amp;section=register" base="public"}" method="post" name="REG" id='register'>
				<input type="hidden" name="termsread" value="1" />
				<input type="hidden" name="agree_to_terms" value="1" />
				<input type="hidden" name="agree_tos" value="1" />
				<input type="hidden" name="do" value="process_form" />
				<input type="hidden" name="coppa_user" value="{$data['coppa_user']}" />
				<input type='hidden' name='nexus_pass' value='1' />
		
				<h3>{$this->lang->words['reg_step1']}</h3>
				<div class='ipsField'>
					<label for='display_name' class='ipsField_title'>{$this->lang->words['reg_choose_dname']}</label>
					<input type='text' class='input_text <if test="ieDname:|:$inline_errors['dname']">error</if>' id='display_name' size='30' maxlength='{$this->settings['max_user_name_length']}' value='{$this->request['members_display_name']}' name='members_display_name' /><br />
					<span class='desc'><if test="ieDname:|:$inline_errors['dname']"><span class='error'>{$inline_errors['dname']}<br /></span></if>{parse expression="sprintf( $this->lang->words['dname_desc'], $this->settings['max_user_name_length'])"}</span>
				</div>
		
				<div class='ipsField'>
					<label for='email_1' class='ipsField_title'>{$this->lang->words['reg_enter_email']}</label>
					<input type='text' id='email_1' class='input_text email <if test="ieEmail:|:$inline_errors['email']">error</if>' size='30' maxlength='150' name='EmailAddress' value='{$this->request['EmailAddress']}' /><br />
					<span class='desc'><if test="ieEmail:|:$inline_errors['email']"><span class='error'>{$inline_errors['email']}<br /></span></if>{$this->lang->words['reg_enter_email_desc']}</span>
				</div>
	
		
				<div class='ipsField'>
					<label for='password_1' class='ipsField_title'>{$this->lang->words['reg_choose_password']}</label>
					<input type='password' id='password_1' class='input_text password <if test="iePassword:|:$inline_errors['password']">error</if>' size='30' maxlength='32' value='{$this->request['PassWord']}' name='PassWord' /><br />
					<span class='desc'><if test="iePassword:|:$inline_errors['password']"><span class='error'>{$inline_errors['password']}<br /></span></if>{$this->lang->words['reg_choose_password_desc']}</span>
				</div>
		
				<div class='ipsField'>
					<label for='password_2' class='ipsField_title'>{$this->lang->words['reg_reenter_password']}</label>
					<input type='password' id='password_2' class='input_text password' size='30' maxlength='32' value='{$this->request['PassWord_Check']}' name='PassWord_Check' />
				</div>
		
				<if test="hasCfields:|:( is_array( $custom_fields['required'] ) && count( $custom_fields['required'] ) ) || ( is_array( $custom_fields['optional'] ) && count( $custom_fields['optional'] ) )">
					<div class='row line_spacing'>
						<if test="reqCfields:|:is_array( $custom_fields['required'] ) && count( $custom_fields['required'] )">
							<foreach loop="custom_required:$custom_fields['required'] as $_field">
								{$_field['name']}<br />
								{$_field['field']}<br />
								<if test="reqCfieldDescSpan:|:$_field['desc'] != ''"><span class='desc'>{$_field['desc']}</span><br /></if>
								<br />
							</foreach>
						</if>
				
						<if test="optCfields:|:is_array( $custom_fields['optional'] ) && count( $custom_fields['optional'] )">
							<foreach loop="custom_optional:$custom_fields['optional'] as $_field">
								{$_field['name']}<br />
								{$_field['field']}<br />
								<if test="optCfieldDescSpan:|:$_field['desc'] != ''"><span class='desc'>{$_field['desc']}</span><br /></if>
								<br />
							</foreach>
						</if>
						<!--IBF.MODULES.EXTRA-->
					</div>
				</if>
		
				<if test="$data['captchaHTML'] || $data['qandaHTML']">
					<h3>{$this->lang->words['reg_step3_spam']}</h3>
					{$data['qandaHTML']}
					{$data['captchaHTML']}
				</if>
			
				<div class='ipsField ipsField_checkbox'>
					<input type="checkbox" name="allow_admin_mail" id="allow_admin_mail" value="1" class="input_check" <if test="defaultAAE:|:$this->request['allow_admin_mail'] || !isset( $this->request['allow_admin_mail'] )">checked='checked'</if> />
					<p class='ipsField_content'>{$this->lang->words['receive_admin_emails']}</p>
				</div>
				<div class='submit'>
					<input type='submit' class='button' value='{$this->lang->words['register']}' />
				</div>
			</form>
	
		</div>
	</if>
</if>]]></template_content>
      <template_name>registerForm</template_name>
      <template_data>$general_errors=array(), $data=array(), $inline_errors=array(), $time_select=array(), $custom_fields=array(), $nexusFields=array(), $nexusStates=array()</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>registerStepBar</template_name>
      <template_data>$step</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<input type="hidden" name="uid" value="{$uid}" />
<input type="hidden" name="aid" value="{$aid}" />]]></template_content>
      <template_name>show_lostpass_form_auto</template_name>
      <template_data><![CDATA[$aid="",$uid=""]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<h3 class='bar'>{$this->lang->words['lpf_title']}</h3>
	<ul>
		<li class='field'>
			<label for='user_id'>{$this->lang->words['user_id']}</label>
			<input type="text" size="32" maxlength="32" name="uid" id='user_id' class='input_text' />
		</li>
		<li class='field'>
			<label for='aid'>{$this->lang->words['val_key']}</label>
			<input type="text" size="32" maxlength="50" name="aid" id='aid' class='input_text' />
		</li>
	</ul>]]></template_content>
      <template_name>show_lostpass_form_manual</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['registration_process']}</h2>
<div class='master_list'>
	<div class='row post line_spacing'>
		{parse expression="sprintf( $this->lang->words['auth_text'], $member['members_display_name'], $member['email'] )"}
	</div>
</div>]]></template_content>
      <template_name>showAuthorize</template_name>
      <template_data><![CDATA[$member=""]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['dumb_header']}</h2>
<div class='ipsType_pageinfo'>
	{$this->lang->words['dumb_text']}
</div>
<if test="lostpassFormErrors:|:!empty( $error )">
	<p class='message error'>
		{$error}
	</p>
</if>
<form action="{parse url="app=core&module=global&section=lostpass" base="public"}" method="post">
<input type="hidden" name="do" value="03" />
<input type="hidden" name="type" value="lostpass" />
<div class='generic_bar'></div>
	<div class='post_form'>
		<!--IBF.INPUT_TYPE-->
		<h3 class='bar'>{$this->lang->words['new_password']}</h3>
		<if test="lpFormMethodChoose:|:$this->settings['lp_method'] == 'choose'">
			<ul>
				<li class='field'>
					<label for="pass1">{$this->lang->words['lpf_pass1']}</label>
					<input type="password" size="32" maxlength="32" name="pass1" id='pass1' class='input_text' />
					<br /><span class='desc'>{$this->lang->words['lpf_pass11']}</span>
				</li>
				<li class='field'>
					<label for="pass2">{$this->lang->words['lpf_pass2']}</label>
					<input type="password" size="32" maxlength="32" name="pass2" id='pass2' class='input_text' />
					<br /><span class='desc'>{$this->lang->words['lpf_pass22']}</span>
				</li>
			</ul>
		<else />
			<p class='field'>
		 		{$this->lang->words['lp_random_pass']}
			</p>
		</if>
		<!--{REG.ANTISPAM}-->
		<fieldset class='submit'>
			<input class='input_submit' type="submit" value="{$this->lang->words['dumb_submit']}" />
		</fieldset>
	</div>
</form>]]></template_content>
      <template_name>showLostpassForm</template_name>
      <template_data>$error</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['lpf_title']}</h2>
<p class='message'>
	{$this->lang->words['lpass_text_random']}
</p>]]></template_content>
      <template_name>showLostPassWaitRandom</template_name>
      <template_data><![CDATA[$member=""]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['dumb_header']}</h2>
<form action="{parse url="" base="public"}" method="post" name="REG">
<input type="hidden" name="app" value="core" />
<input type="hidden" name="module" value="global" />
<input type="hidden" name="section" value="register" />
<input type="hidden" name="do" value="auto_validate" />
<input type="hidden" name="type" value="$type" />
<div class='generic_bar'></div>
<div class='post_form'>
	<fieldset class='row1'>
		<h3 class='bar'>{$this->lang->words['complete_form']}</h3>
		<ul>
			<li class='field'>
				<label for='userid'>{$this->lang->words['user_id']}</label>
				<input type="text" size="32" maxlength="32" name="uid" id='userid' class='input_text' />
			</li>
			<li class='field'>
				<label for='valkey'>{$this->lang->words['val_key']}</label>
				<input type="text" size="32" maxlength="50" name="aid" id='valkey' class='input_text' />
			</li>
		</ul>
	</fieldset>
	<fieldset class='submit'>
		<input class='input_submit' type="submit" value="{$this->lang->words['dumb_submit']}" />
	</fieldset>
</div>
</form>]]></template_content>
      <template_name>showManualForm</template_name>
      <template_data><![CDATA[$type="reg"]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['registration_process']}</h2>
<p class='message'>
	{$this->lang->words['thank_you']} {$member['members_display_name']}. {$this->lang->words['preview_reg_text']}
</p>]]></template_content>
      <template_name>showPreview</template_name>
      <template_data><![CDATA[$member=""]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['rv_title']}</h2>
<p class='message'>
	{$this->lang->words['rv_process']}<br />
	{$this->lang->words['rv_done']}
</p>]]></template_content>
      <template_name>showRevalidated</template_name>
      <template_data/>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['rv_title']}</h2>
<if test="revalidateError:|:$error">
<p class='message error'>{$this->lang->words[$error]}</p>
<br />
</if>
<form action="{parse url="app=core&amp;module=global&amp;section=register" base="public"}" method="post" name="REG">
<input type="hidden" name="do" value="reval2" />
	<p class='message unspecific'>
		{$this->lang->words['rv_ins']}
	</p>
	
	<div class='post_form'>
		<fieldset class='general_box'>
			<h3>{$this->lang->words['rv_bar_title']}</h3>
			<label for='username'>{$this->lang->words['rv_name']}</label>
			<input type="text" class='input_text' id='username' size="32" maxlength="64" name="username" value="$name" />
		</fieldset>
		<fieldset class='submit'>
			<input class='input_submit' type="submit" value="{$this->lang->words['rv_go']}" /> {$this->lang->words['or']} <a href='{$this->settings['board_url']}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
		</fieldset>
	</div>
</form>]]></template_content>
      <template_name>showRevalidateForm</template_name>
      <template_data><![CDATA[$name="",$error=""]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
  </templategroup>
  <templategroup group="skin_reports">
    <template>
      <template_group>skin_reports</template_group>
      <template_content><![CDATA[<h2 class='maintitle'>{$this->lang->words['report_basic_title']}</h2>
<div class='generic_bar'></div>
<form action="{$this->settings['base_url']}app=core&amp;module=reports&amp;rcom={$this->request['rcom']}&amp;send=1" method="post" name="REPLIER">
	<input type='hidden' name='k' value='{$this->member->form_hash}' />
	<div class='post_form'>
		<fieldset>
			<h3 class='bar'>{$this->lang->words['reporting_title']} <a href="{$url}" title='{$this->lang->words['view_content']}'>{$name}</a></h3>
			<ul>
				<li class='field'>
					<label for='message'>{$this->lang->words['report_basic_enter']}</label>
					<textarea id='message' class='input_text' name='message' cols='60' rows='8'></textarea><br />
						<span class='desc'>{$this->lang->words['report_basic_desc']}</span>
				</li>
				{$extra_data}
				{$captchaHTML}
			</ul>
		</fieldset>
		<fieldset class='submit'>
			<input type="submit" class='input_submit' value="{$this->lang->words['report_basic_submit']}" accesskey='s' /> {$this->lang->words['or']} <a href='{$url}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
		</fieldset>
	</div>
</form>]]></template_content>
      <template_name>basicReportForm</template_name>
      <template_data><![CDATA[$name="", $url="", $extra_data="", $captchaHTML=""]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_reports</template_group>
      <template_content><![CDATA[{parse js_module="reports"}
<if test="noviewall:|:!$this->request['showall']">
	<p class='message'>{$this->lang->words['only_active_note']}  <a href='{parse url="app=core&amp;module=reports&amp;do=index&amp;showall=1" base="public"}'>{$this->lang->words['click_here_link']}</a> {$this->lang->words['to_view_allrep']}</p>
</if>
<if test="hasPages:|:$pages">
	<div class='topic_controls'>
		{$pages}
	</div>
</if>
<br class='clear' />
<form method="post" action="{$this->settings['base_url']}app=core&amp;module=reports&amp;do=process&amp;st={$this->request['st']}">
<input type='hidden' name='k' value='{$this->member->form_hash}' />
<table class='ipb_table report_center' summary='{$this->lang->words['reported_content_summary']}'>
	<caption class='maintitle'>{$this->lang->words['list_title']}</caption>
	<tr class='header'>
		<th scope='col' class='col_r_icon'>&nbsp;</th>
		<th scope='col' class='col_r_title'>{$this->lang->words['list_header_title']}</th>
		<th scope='col' class='col_r_section'>{$this->lang->words['list_header_section']}</th>
		<th scope='col' class='col_r_total short'>{$this->lang->words['list_header_reports']}</th>
		<th scope='col' class='col_r_comments short'>{$this->lang->words['list_header_comments']}</th>
		<th scope='col' class='col_r_updated'>{$this->lang->words['list_header_updated_by']}</th>
		<th scope='col' class='col_r_mod short'><input type='checkbox' id='checkAllReports' title='{$this->lang->words['select_all_reports']}' class='input_check' /></th>
	</tr>
	<if test="indexHasReports:|:count($reports)">
		{parse striping="reportsTable" classes="row1,row2"}
		<foreach loop="reports:$reports as $report">
			<tr class='{parse striping="reportsTable"}'>
				<td class='short altrow'>
					<if test="isUnread:|:empty($report['_isRead'])">
						{parse replacement="t_unread"}
					</if>
					<a href="{parse url="app=core&amp;module=reports&amp;section=reports&amp;do=process&amp;report_ids[{$report['id']}]={$report['id']}&amp;newstatus=2&amp;k={$this->member->form_hash}" base="public"}" title='{$this->lang->words['change_current_status']}' class='ipbmenu' id='change_status-{$report['id']}'><span id="rstat-{$report['id']}">{$report['status_icon']}</span></a>
				</td>
				<td>
					<a href="{$this->settings['base_url']}&amp;app=core&amp;module=reports&amp;do=show_report&amp;rid={$report['id']}" title='{$this->lang->words['view_report']}'>{$report['title']}</a>
					<if test="statusesLoop:|:is_array( $statuses ) && count( $statuses )">
						<ul class='ipbmenu_content' id='change_status-{$report['id']}_menucontent'>
							<foreach loop="statuses:$statuses as $status_id => $status">
								<li class='{$status_id} <if test="$status_id == $report['status']">status-selected</if>'><a href="{parse url="app=core&amp;module=reports&amp;section=reports&amp;do=process&amp;report_ids[{$report['id']}]={$report['id']}&amp;newstatus={$status_id}&amp;k={$this->member->form_hash}" base="public"}" title='{$this->lang->words['change_status_title']}' class='change-status' id='{$report['id']}:{$status_id}'>{$this->lang->words['mark_status_as']} <strong>{$status['title']}</strong></a></li>
							</foreach>
						</ul>
					</if>
				</td>
				<td class='altrow'>
					<if test="indexReportUrl:|:$report['section']['url']">
						<if test="!$report['section']['title']">
							<a href="{$report['section']['url']}" title='{$this->lang->words['go_to_section']}' class='desc blend_links'>{$this->lang->words['report_no_title']}</a>
						<else />
							<a href="{$report['section']['url']}" title='{$this->lang->words['go_to_section']}'>{$report['section']['title']}</a>
						</if>
					<else />
						<if test="!$report['section']['title']">
							{$this->lang->words['report_no_title']}
						<else />
							{$report['section']['title']}
						</if>
					</if>
				</td>
				<td class='short'>{$report['num_reports']}</td>
				<td class='short altrow'>{$report['num_comments']}</td>
				<td>
					<a href='{parse url="showuser={$report['updated_by']}" seotitle="{$report['member']['members_seo_name']}" template="showuser" base="public"}' class='ipsUserPhotoLink left'>
						<img src='{$report['member']['pp_small_photo']}' class='ipsUserPhoto ipsUserPhoto_mini' />
					</a>
					<ul class='last_post ipsType_small'>
						<li>{$this->lang->words['by_ucfirst']} {parse template="userHoverCard" group="global" params="$report['member']"}</li>
						<li>{parse date="$report['date_updated']" format="date"}</li>
					</ul>
				</td>
				<td class='short altrow'>
					<input type='checkbox' id='report_check_{$report['id']}' class='input_check checkall' name='report_ids[]' value='{$report['id']}' />
				</td>
			</tr>
		</foreach>
	<else />
		<tr>
			<td colspan='7' class='no_messages row1'>
				{$this->lang->words['no_reports']}
			</td>
		</tr>
	</if>
</table>
<div id='topic_mod' class='moderation_bar rounded with_action clear'>
	<a href='#' class='ipsButton_secondary left' id='prune_reports'>{$this->lang->words['report_option_prune']}</a>
	<span class='desc'>{$this->lang->words['r_with_selected']}</span>
	<select name="newstatus" id="report_actions">
		<option value="x">---</option>
		<if test="accessACP:|:$this->memberData['g_access_cp']">
			<optgroup label="{$this->lang->words['report_actions']}"  style="font-style: normal;">
			<if test="$this->memberData['g_access_cp']"><option value="d">{$this->lang->words['report_option_delete']}</option></if>
			</optgroup>
		</if>
		<optgroup label="{$this->lang->words['report_actions_mark_optgroup']}" style="font-style: normal;">
		{$acts}
		</optgroup>
	</select>
	<label for='pruneDayBox' id='pruneDayLabel'>{$this->lang->words['older_than']}</label>
	<input type="text" name="pruneDays" id="pruneDayBox" class='input_text' size="3" value="" />
	<span id='pruneDayLang'>{$this->lang->words['report_prune_days_box']}</span>
	<input type="submit" id='report_mod' class="input_submit alt" value="{$this->lang->words['r_go']}" />
</div>
</form>
<div id='prune_reports_form' style='display: none'>
	<div class='ipsPad ipsForm_center'>
		<form method="post" action="{$this->settings['base_url']}app=core&amp;module=reports&amp;do=process&amp;st={$this->request['st']}">
		<input type='hidden' name='k' value='{$this->member->form_hash}' />
		<input type='hidden' name='newstatus' value='p' />
		{$this->lang->words['report_prune_1']} <input type="text" name="pruneDays" id="pruneDayBox" class='input_text' size="3" value="" /> {$this->lang->words['report_prune_2']}&nbsp;&nbsp;
		<input type="submit" id='report_mod' class="input_submit alt" value="{$this->lang->words['r_go']}" />
	</div>
</div>
<script type='text/javascript'>
	$('prune_reports').observe('click', function(e){
		Event.stop(e);
		
		if( ipb.reports.prunePopup ){
			ipb.reports.prunePopup.show();
		}
		else
		{
			ipb.reports.prunePopup = new ipb.Popup( 'prune', { type: 'balloon',
													initial: $('prune_reports_form').show(),
													stem: true,
													hideClose: true,
													hideAtStart: false,
													attach: { target: $('prune_reports'), position: 'auto', 'event': 'click' },
													w: '350px' }
												);
			
		}
	});
</script>]]></template_content>
      <template_name>reportsIndex</template_name>
      <template_data><![CDATA[$reports=array(), $acts="", $pages="", $statuses=array()]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_reports</template_group>
      <template_content><![CDATA[<img src='{$this->settings['public_dir']}{$img}' alt='{$this->lang->words['status']}' />]]></template_content>
      <template_name>statusIcon</template_name>
      <template_data>$img, $width, $height</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_reports</template_group>
      <template_content><![CDATA[{parse js_module="reports"}
<div class='message'>
	{$this->lang->words['report_about_intro']} <if test="handlePmSpecial:|:$options['class'] == 'messages'">
		{$this->lang->words['report_about_pm']} {$options['title']}
		<if test="canJoinPm:|:in_array( $this->memberData['member_group_id'], explode( ',', $this->registry->getClass('reportLibrary')->plugins['messages']->_extra['plugi_messages_add'] ) )">
			<a href='{parse url="app=core&amp;module=reports&amp;section=reports&amp;do=showMessage&amp;topicID={$options['topicID']}" base="public"}'>{$this->lang->words['report_join_pm']}</a>
		</if>
	<else />
		<a href="{$options['url']}" title="{$this->lang->words['report_view_reported']}">{$options['title']}</a>
	</if>
</div>
<br />
<div class='topic_controls'>
	<ul class='topic_buttons'>
		<if test="$this->memberData['g_access_cp']"><li><a href='{parse url="app=core&amp;module=reports&amp;section=reports&amp;do=process&amp;report_ids[{$options['rid']}]={$options['rid']}&amp;newstatus=d&amp;k={$this->member->form_hash}" base="public"}' title='{$this->lang->words['delete_report']}' data-confirmaction="true"><img src='{$this->settings['img_url']}/delete.png' alt='' id='delete_report' /> {$this->lang->words['delete_report']}</a></li></if>
		<li><a href='{parse url="app=core&amp;module=reports&amp;section=reports&amp;do=process&amp;report_ids[{$options['rid']}]={$options['rid']}&amp;newstatus=2&amp;k={$this->member->form_hash}" base="public"}' title='{$this->lang->words['change_current_status']}' class='ipbmenu' id='change_status'>{$options['status_icon']} {$this->lang->words['current_status']} <strong>{$options['status_text']}</strong></a></li>
	</ul>
</div>
<if test="statusesLoop:|:is_array( $options['statuses'] ) && count( $options['statuses'] )">
	<ul class='ipbmenu_content' id='change_status_menucontent'>
		<foreach loop="statuses:$options['statuses'] as $status_id => $status">
			<if test="setStatus:|:$status_id != $options['status_id']">
				<li><a href="{parse url="app=core&amp;module=reports&amp;section=reports&amp;do=process&amp;report_ids[{$options['rid']}]={$options['rid']}&amp;newstatus={$status_id}&amp;k={$this->member->form_hash}" base="public"}" title='{$this->lang->words['change_status_title']}' />{$this->lang->words['mark_status_as']} <strong>{$status['title']}</strong></a></li>
			</if>
		</foreach>
	</ul>
</if>
<br />
<div class='topic hfeed'>
<h2 class='maintitle'>{$this->lang->words['reports_h2']}</h2>
<div class='generic_bar'></div>
<if test="hasReports:|:is_array($reports) AND count($reports)">
	<foreach loop="viewReports:$reports as $report">
		<div class='post_block  hentry clear'>
			<div class='post_wrap'>
				<h3>{parse template="userHoverCard" group="global" params="$report['author']"}</h3>
				<div class='author_info'>
					{parse template="userInfoPane" group="global" params="$report['author'], 'mreport', array( 'id2' => $report['rid'] )"}
				</div>
				<div class='post_body'>
					<p class='posted_info'>{$this->lang->words['posted_prefix']} {parse date="$report['date_reported']" format="long"}</p>
					<div class='post entry-content'>{$report['report']}</div>
				</div>
			</div>
			<br class='clear' />
		</div>
	</foreach>
</if>
</div>
<br /><hr /><br />
<div class='ipsBox'>
	<div class='ipsBox_container ipsPad'>
		<h2 class='ipsType_subtitle'>{$comments['count']} {$this->lang->words['comments_h2']}</h2>
		<div>
			{$comments['html']}
		</div>
	</div>
</div>
<if test="disablelightbox:|:!$this->settings['disable_lightbox']">
{parse template="include_lightbox" group="global" params=""}
</if>
{parse template="include_highlighter" group="global" params="1"}]]></template_content>
      <template_name>viewReport</template_name>
      <template_data>$options=array(), $reports=array(), $comments=array()</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
  </templategroup>
  <templategroup group="skin_search">
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<div class='row'>
	<div class='icon'>{parse replacement="{$data['_icon']}"}</div>
	<a href='{parse url="showtopic={$data['type_id_2']}&amp;view=<if test="isNewPostAsForum:|:$this->request['do']=='new_posts' OR $this->request['do']=='active'">getnewpost<else /><if test="resultIsPostAsForum:|:$data['misc']">findpost&amp;p={$data['misc']}</if></if>&amp;hl={$this->request['search_higlight']}&amp;fromsearch=1" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='<if test="$data['_shortTitle'] != $data['_longTitle']">{$data['_longTitle']}<else />{$this->lang->words['view_result']}</if>'><strong>{$data['_shortTitle']}</strong></a>
	
	{$this->lang->words['in']}
	<foreach loop="topicsForumTrail:$data['_forum_trail'] as $i => $f">
		<if test="notLastFtAsForum:|:$i+1 == count( $data['_forum_trail'] )"><a href='{parse url="{$f[1]}" template="showforum" seotitle="{$f[2]}" base="public"}'>{$f[0]}</a></if>
	</foreach>
	
	<if test="multipages:|:isset( $data['pages'] ) AND is_array( $data['pages'] ) AND count( $data['pages'] )">
		<span class='mini_pagination'>
			<foreach loop="pages:$data['pages'] as $page">
				<if test="haslastpage:|:$page['last']">
					<a href="{parse url="showtopic={$data['tid']}&amp;st={$page['st']}" seotitle="{$data['title_seo']}" template="showtopic" base="public"}" title='{$this->lang->words['topic_goto_page']} {$page['page']}'>{$page['page']} {$this->lang->words['_rarr']}</a>
				<else />
					<a href="{parse url="showtopic={$data['tid']}&amp;st={$page['st']}" seotitle="{$data['title_seo']}" template="showtopic" base="public"}" title='{$this->lang->words['topic_goto_page']} {$page['page']}'>{$page['page']}</a>
				</if>
			</foreach>
		</span>
	</if>
	<br />
	<span class='subtext'>{parse expression="sprintf( $this->lang->words['sr_as_post_string'], $data['post_date'], $data['members_display_name'] )"}</span>
</div>]]></template_content>
      <template_name>asForumPosts</template_name>
      <template_data>$data</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<div class='row touch-row <if test="!empty( $data['_unreadUrl'] )">unread</if>' id="sr-{$data['type_id_2']}">
	<div class='icon'>
		{parse template="generateTopicIcon" group="global_other" params="$data['_icon'], $data['_unreadUrl']"}
	</div>
	<div class='rowContent'>
		<a class="title" href='{parse url="showtopic={$data['type_id_2']}&amp;view=<if test="isNewPostAsForum:|:$this->request['do']=='viewNewContent'">getnewpost<else /><if test="resultIsPostAsForum:|:$data['misc']">findpost&amp;p={$data['misc']}</if></if>&amp;hl={$this->request['search_higlight']}&amp;fromsearch=1" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='<if test="$data['_shortTitle'] != $data['_longTitle']">{$data['_longTitle']}<else />{$this->lang->words['view_result']}</if>'>{$data['_shortTitle']}</a>
		<if test="multipages:|:isset( $data['pages'] ) AND is_array( $data['pages'] ) AND count( $data['pages'] )">
			<span class='mini_pagination'>
				{parse expression="sprintf( $this->lang->words['mini_page_count'], $data['pages'][0]['total'] )"}
			</span>
		</if>
		<div>
			{parse expression="ucfirst($this->lang->words['in'])"}
			<foreach loop="topicsForumTrail:$data['_forum_trail'] as $i => $f">
				<if test="notLastFtAsForum:|:$i+1 == count( $data['_forum_trail'] )">{$f[0]}</if>
			</foreach>
		</div>
		<if test="isNewContent:|:$this->request['do']=='viewNewContent'">
			<span class='subtext'>{parse expression="sprintf( $this->lang->words['sr_as_lastpost_string'], "<a href='{parse url="showtopic={$data['tid']}&amp;view=getlastpost" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['goto_last_post']}'>" . $this->registry->getClass('class_localization')->getDate( $data['last_post'], 'SHORT' ) . "</a>", $data['last_poster']['members_display_name'] )"}</span>
		<else />
			<span class='subtext'>{parse expression="sprintf( $this->lang->words['sr_as_post_string'], "<a href='{parse url="showtopic={$data['tid']}&amp;findpost={$data['pid']}" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['goto_matching_post']}'>" . $this->registry->getClass('class_localization')->getDate( $data['post_date'], 'SHORT' ) . "</a>", $data['last_poster']['members_display_name'] )"}</span>
		</if>
	</div>
</div>]]></template_content>
      <template_name>asForumTopics</template_name>
      <template_data>$data</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<p class='notify_info toggle_notify_on'>
	<span>
		<if test="hasFrequence:|:$followData['like_notify_do']">
			<img src='{$this->settings['img_url']}/icon_follow_freq.png' /> &nbsp;{$this->lang->words['notify_freq_' . $followData['like_notify_freq'] ]}
		<else />
		 	<img src='{$this->settings['img_url']}/icon_follow_freq_none.png' /> &nbsp;{$this->lang->words['notify_freq_none']}
		</if>
	</span>
	<if test="isAnonymous:|:$followData['like_is_anon']">
		<span>
			<img src='{$this->settings['img_url']}/icon_follow_anon.png' /> &nbsp;{$this->lang->words['anonymous']}
		</span>
	</if>
</p>]]></template_content>
      <template_name>followData</template_name>
      <template_data>$followData</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<if test="count($results)">
	<foreach loop="NCresultsAsForum:$results as $result">
		{$result['html']}
	</foreach>
</if>]]></template_content>
      <template_name>followedContentForumsWrapper</template_name>
      <template_data>$results</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<script type='text/javascript'>
//<!#^#|CDATA|
	var markerURL  = ipb.vars['base_url'] + "app=forums&module=ajax&section=markasread&i=1"; // Ajax URL so don't use &amp;
	var unreadIcon = "<img src='{$this->settings['img_url']}/f_icon_read.png' />";
//|#^#]>
</script>
<div class='master_list'>
	<foreach loop="NCresultsAsForum:$results as $forum_data">
		<div class='row touch-row'>
			<div class='rowContent'>
				<a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$forum_data['name']}'>{$forum_data['name']}</a>
				<br />
				<span class='desc'>
					<strong>{$forum_data['topics']}</strong> {$this->lang->words['topics']}, <strong>{$forum_data['posts']}</strong> {$this->lang->words['replies']}
				</span>
			</div>
		</div>
	</foreach>
</div>]]></template_content>
      <template_name>followedContentForumsWrapperForums</template_name>
      <template_data>$results</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<if test="$pagination">
<div class='controls'>
	<div class='buttons'>{$pagination}</ul>
</div>
</if>
<div class='master_list'>
	<h2>
		{$this->lang->words['followed_content']} (<if test="searchedApp:|:$this->request['search_app']">{IPSLib::getAppTitle( $this->request['search_app'] )}<else />{$this->lang->words['search_all']}</if>)
	</h2>
	<div>
		<if test="NPTotal:|:$total">
			{$results}
		<else />
			<p class='no_messages'>{$this->lang->words['followed_content_none']}</p>
		</if>
	</div>
</div>
<div class='master_list'>
	<h2>{$this->lang->words['filter_by_app']}</h2>
	<div class='ipsPad'>
		<ul>
		<if test="memberFollow:|:IPSLib::appSupportsExtension( 'forums', array('like') )"><li class='button secondary'><a href='{parse url="app=core&amp;module=search&amp;do=followed&amp;search_app=forums&amp;sid={$this->request['_sid']}" base="public"}'>{IPSLib::getAppTitle( 'forums' )}</a></li></if>
		<if test="memberFollow:|:IPSLib::appSupportsExtension( 'members', array('like') )"><li <if class='button secondary'><a href='{parse url="app=core&amp;module=search&amp;do=followed&amp;search_app=members&amp;sid={$this->request['_sid']}" base="public"}'>{IPSLib::getAppTitle( 'members' )}</a></li></if>
		<foreach loop="apps:$this->registry->getApplications() as $app">
			<if test="supportsLikes:|:IPSLib::appSupportsExtension( $app['app_directory'], array('like') ) AND IPSLib::appIsInstalled( $app['app_directory'], true ) AND !in_array( $app['app_directory'], array('core','forums','members') )">
				<li class='button secondary'>
					<a href='{parse url="app=core&amp;module=search&amp;do=followed&amp;search_app={$app['app_directory']}&amp;sid={$this->request['_sid']}" base="public"}'>
						{IPSLib::getAppTitle( $app['app_directory'] )}
					</a>
				</li>				</if>
		</foreach>
		</ul>
	</div>
</div>
<div class='master_list'>
	<h2>{$this->lang->words['filter_by_section']}</h2>
	<div class='ipsPad'>
		<ul>
			<foreach loop="$contentTypes as $type">
				<li class='button secondary'>
					<a href='{parse url="app=core&amp;module=search&amp;do=followed&amp;search_app={$this->request['search_app']}&amp;sid={$this->request['_sid']}&amp;contentType={$type}" base="public"}'>{$this->lang->words['followed_type__' . $type]}</a>
				</li>
			</foreach>
		</ul>
	</div>
</div>]]></template_content>
      <template_name>followedContentView</template_name>
      <template_data>$results, $pagination, $total, $error, $contentTypes</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<div class='ipsField'>
	<label class='ipsField_title'>{$this->lang->words['find_forum']}</label>
	<select name='search_app_filters[forums][forums][]' class='input_select' size='6' style='width: 20em' multiple='multiple'>
		{$forums}
	</select>
</div>
<if test="noOptsSphinxforums:|:$this->settings['search_method'] != 'sphinx'">
	<!--<div class='ipsField'>
		<input id='f_content_only' type='checkbox' name='search_app_filters[forums][contentOnly]' class='input_checkbox' value='1' />
		<label class='ipsField_content'>{$this->lang->words['s_search_posts']}</label>
	</div>-->
</if>]]></template_content>
      <template_name>forumAdvancedSearchFilters</template_name>
      <template_data>$forums, $archivedPostCount=0, $topic</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<!--no data in this master skin-->]]></template_content>
      <template_name>forumsVncFilters</template_name>
      <template_data>$data, $currentPrefs</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>root</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<php>
$st = IPSSearchRegistry::get('in.search_higlight');
</php>
<div class='result_info'>
	<h3><a href='{parse url="app=core&amp;module=help&amp;do=01&amp;HID={$r['type_id_2']}&amp;hl={$st}" base="public"}'>{$r['content_title']}</a></h3>
	<if test="showHelpContent:|:!$resultAsTitle">
	<p>
		{$r['content']}
	</p>
	</if>
</div>]]></template_content>
      <template_name>helpSearchResult</template_name>
      <template_data>$r, $resultAsTitle=false</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<span class='icon'>
	{parse expression="IPSMember::buildPhotoTag( $r['status_author'], 'small' )"}
</span>
<div class='result_info'>
	<h3>
		{parse template="userHoverCard" group="global" params="$r['status_author']"}
		<if test="isUpdate:|: $r['status_member_id'] != $r['status_author_id']">
			&rarr;
			{parse template="userHoverCard" group="global" params="$r['status_member']"}
		</if>
	</h3>
	<span class='desc breadcrumb'>
		<a href='{parse url="app=members&amp;module=profile&amp;section=status&amp;type=single&amp;status_id={$r['status_id']}" seotitle="true" template="members_status_single" base="public"}'>{$this->lang->words['results_pf_comment']}</a>, {parse date="$r['status_date']" format="short"}
	</span>
	<p>{$r['status_content']}</p>
	<div id="statusFeedback-{$r['status_id']}" class='status_feedback'>
		<if test="$r['status_replies'] AND count( $r['replies'] )">
			<if test="hasMore:|:$r['status_replies'] > 3">
				<div class='status_mini_wrap row2 altrow' id='statusMoreWrap-{$r['status_id']}'>
					<img src="{$this->settings['img_url']}/comments.png" alt="" /> &nbsp;<a href="#" id="statusMore-{$r['status_id']}" class='__showAll __x{$r['status_id']}'>{parse expression="sprintf( $this->lang->words['status_show_all_x'], $r['status_replies'] )"}</a>
				</div>
			</if>
			<ul id='statusReplies-{$r['status_id']}' class='ipsList_withtinyphoto clear'>
				{parse template="statusReplies" group="profile" params="$r['replies'], 1"}
			</ul>
		</if>
		<div id='statusReplyBlank-{$r['status_id']}'></div>
		<div class='status_mini_wrap row2 altrow' id='statusMaxWrap-{$r['status_id']}' <if test="maxReplies:|:$r['status_replies'] < $this->settings['su_max_replies']">style='display:none'</if>>
			<img src="{$this->settings['img_url']}/locked_replies.png" title="{$this->lang->words['status_too_many_replies']}" alt='x' /> {$this->lang->words['status_too_many_replies']}
		</div>
	</div>
</div>]]></template_content>
      <template_name>memberCommentsSearchResult</template_name>
      <template_data>$r, $resultAsTitle=false</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<div class='row'>
	<div class='icon'>
		{parse template="userSmallPhoto" group="global" params="$r"}
	</div>
	<strong>{parse template="userHoverCard" group="global" params="$r"}</strong><br />
	<span class='subtext'>{$this->lang->words['member_joined']} {parse date="$r['joined']" format="short"}</span>
</div>]]></template_content>
      <template_name>memberSearchResult</template_name>
      <template_data>$r, $resultAsTitle=false</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[{parse js_module="search"}
<input type='hidden' name="usedInJsLater" id="urlString" value="{parse expression="base64_encode( $this->registry->output->buildUrl( "app=core&amp;module=search&amp;do=viewNewContent&amp;search_app={$this->request['search_app']}&amp;sid={$this->request['_sid']}", "public" ) )"}" />
<h2>{$this->lang->words['new_content']}</h2>
<php>
	$i = 2;
	
	if( is_array($sortIn) AND count( $sortIn ) ){ $i++;	}
	if( IPSLib::appIsSearchable( $this->request['search_app'], 'vncWithFollowFilter' ) AND $this->memberData['member_id'] ){ $i++; }
	
	switch( $i ){
		case 3:
			$classname = 'three_';
		break;
		case 4:
			$classname = 'four_';
		break;
		default:
			$classname = 'two_';
		break;
	}
</php>
	
<div class='ipsFilterBar {$classname}filters clearfix' id='vnc_filters'>
	<ul>
		<li id='filter_app' class='filter'><a href='#'>{$this->lang->words['short_filter_by_app']}</a></li>
		<if test="is_array($sortIn) AND count( $sortIn )">
			<li id='filter_section' class='filter'><a href='#'>{$this->lang->words['short_filter_by_section']}</a></li>
		</if>
		<li id='filter_time' class='filter'><a href='#'>{$this->lang->words['short_filter_by_time']}</a></li>
		<if test="canFollowFilter:|:IPSLib::appIsSearchable( $this->request['search_app'], 'vncWithFollowFilter' ) AND $this->memberData['member_id']">
			<li id='filter_other' class='filter'><a href='#'>{$this->lang->words['short_filter_by_other']}</a></li>
		</if>
	</ul>
</div>
<div class='ipsFilterPane' id='filter_app_pane' style='display: none'>
	<a href='#' class='ipsFilterPane_close'><span>&times;</span></a>
	<div>
		<h4>{$this->lang->words['mobile_filter_by_app']}</h4>
		<ul>
			<if test="IPSLib::appIsSearchable( 'forums', 'vnc' ) || IPSLib::appIsSearchable( 'forums', 'active' )">
				<li <if test="forumsTab:|:$this->request['search_app'] == 'forums'">class='active'</if>><a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app=forums&amp;sid={$this->request['_sid']}&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$this->request[ $this->request['search_app_filters'][$this->request['search_app']]['searchInKey'] ]}&amp;period={$this->request['period']}&amp;userMode={$this->request['userMode']}&amp;followedItemsOnly={$this->request['followedItemsOnly']}" base="public"}'>{IPSLib::getAppTitle( 'forums' )}</a></li>
			</if>
			<if test="IPSLib::appIsSearchable( 'members', 'vnc' ) || IPSLib::appIsSearchable( 'members', 'active' )">
				<li <if test="membersTab:|:$this->request['search_app'] == 'members'">class='active'</if>><a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app=members&amp;sid={$this->request['_sid']}&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$this->request[ $this->request['search_app_filters'][$this->request['search_app']]['searchInKey'] ]}&amp;period={$this->request['period']}&amp;userMode={$this->request['userMode']}&amp;followedItemsOnly={$this->request['followedItemsOnly']}" base="public"}'>{IPSLib::getAppTitle( 'members' )}</a></li>
			</if>
			<if test="IPSLib::appIsSearchable( 'core', 'vnc' ) || IPSLib::appIsSearchable( 'core', 'active' )">
				<li <if test="helpTab:|:$this->request['search_app'] == 'core'">class='active'</if>><a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app=core&amp;sid={$this->request['_sid']}&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$this->request[ $this->request['search_app_filters'][$this->request['search_app']]['searchInKey'] ]}&amp;period={$this->request['period']}&amp;userMode={$this->request['userMode']}&amp;followedItemsOnly={$this->request['followedItemsOnly']}" base="public"}'>{IPSLib::getAppTitle( 'core' )}</a></li>
			</if>
			<foreach loop="apps:$this->registry->getApplications() as $app">
				<if test="appIsSearchable:|:(IPSLib::appIsSearchable( $app['app_directory'], 'vnc' ) || IPSLib::appIsSearchable( $app['app_directory'], 'active' ) ) AND !in_array( $app['app_directory'], array('core','forums','members') )">
					<li <if test="appIsSearched:|:$this->request['search_app'] == $app['app_directory']">class='active'</if>>
						<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app={$app['app_directory']}&amp;sid={$this->request['_sid']}&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$this->request[ $this->request['search_app_filters'][$this->request['search_app']]['searchInKey'] ]}&amp;period={$this->request['period']}&amp;userMode={$this->request['userMode']}&amp;followedItemsOnly={$this->request['followedItemsOnly']}" base="public"}'>
							{IPSLib::getAppTitle( $app['app_directory'] )}
						</a>
					</li>
		 		</if>
			</foreach>
		</ul>
	</div>
</div>
<if test="is_array($sortIn) AND count( $sortIn )">
	<div class='ipsFilterPane' id='filter_section_pane' style='display: none'>
		<a href='#' class='ipsFilterPane_close'><span>&times;</span></a>
		<div>
			<h4>{$this->lang->words['mobile_filter_by_section']}</h4>
			<ul>
				<foreach loop="$sortIn as $id => $_data">
					<li <if test="$this->request['search_app_filters'][$this->request['search_app']]['searchInKey'] == $_data[0]">class='active'</if>>
						<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app={$this->request['search_app']}&amp;sid={$this->request['_sid']}&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$_data['0']}&amp;period={$this->request['period']}&amp;userMode={$this->request['userMode']}&amp;followedItemsOnly={$this->request['followedItemsOnly']}" base="public"}'>{$_data[1]}</a>
					</li>
				</foreach>
			</ul>
		</div>
	</div>
</if>
<div class='ipsFilterPane' id='filter_time_pane' style='display: none'>
	<a href='#' class='ipsFilterPane_close'><span>&times;</span></a>
	<div>
		<h4>{$this->lang->words['mobile_filter_by_time']}</h4>
		<ul>
			<if test="hazMember:|:$this->memberData['member_id']">
				<if test="hazVNC:|:IPSLib::appIsSearchable( IPSSearchRegistry::get('in.search_app'), 'vncWithUnreadContent' )">
					<li <if test="$this->request['period']=='unread'">class='active'</if>>
						<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app={$this->request['search_app']}&amp;sid={$this->request['_sid']}&amp;change=1&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$this->request['search_app_filters'][$this->request['search_app']]['searchInKey']}&amp;period=unread&amp;userMode={$this->request['userMode']}&amp;followedItemsOnly={$this->request['followedItemsOnly']}" base="public"}'>{$this->lang->words['filter_not_read']}</a>
					</li>
				</if>
				<li <if test="$this->request['period']=='lastvisit'">class='active'</if>>
					<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app={$this->request['search_app']}&amp;sid={$this->request['_sid']}&amp;change=1&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$this->request['search_app_filters'][$this->request['search_app']]['searchInKey']}&amp;period=lastvisit&amp;userMode={$this->request['userMode']}&amp;followedItemsOnly={$this->request['followedItemsOnly']}" base="public"}'>{$this->lang->words['filter_new_visit']}</a>
				</li>
			</if>
			<li <if test="$this->request['period']=='today'">class='active'</if>>
				<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app={$this->request['search_app']}&amp;sid={$this->request['_sid']}&amp;change=1&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$this->request['search_app_filters'][$this->request['search_app']]['searchInKey']}&amp;period=today&amp;userMode={$this->request['userMode']}&amp;followedItemsOnly={$this->request['followedItemsOnly']}" base="public"}'>{$this->lang->words['actperiod_today']}</a>
			</li>
			<li <if test="$this->request['period']=='week'">class='active'</if>>
				<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app={$this->request['search_app']}&amp;sid={$this->request['_sid']}&amp;change=1&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$this->request['search_app_filters'][$this->request['search_app']]['searchInKey']}&amp;period=week&amp;userMode={$this->request['userMode']}&amp;followedItemsOnly={$this->request['followedItemsOnly']}" base="public"}'>{$this->lang->words['actperiod_week']}</a>
			</li>
			<li <if test="$this->request['period']=='weeks'">class='active'</if>>
				<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app={$this->request['search_app']}&amp;sid={$this->request['_sid']}&amp;change=1&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$this->request['search_app_filters'][$this->request['search_app']]['searchInKey']}&amp;period=weeks&amp;userMode={$this->request['userMode']}&amp;followedItemsOnly={$this->request['followedItemsOnly']}" base="public"}'>{$this->lang->words['actperiod_weeks']}</a>
			</li>
			<li <if test="$this->request['period']=='month'">class='active'</if>>
				<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app={$this->request['search_app']}&amp;sid={$this->request['_sid']}&amp;change=1&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$this->request['search_app_filters'][$this->request['search_app']]['searchInKey']}&amp;period=month&amp;userMode={$this->request['userMode']}&amp;followedItemsOnly={$this->request['followedItemsOnly']}" base="public"}'>{$this->lang->words['actperiod_month']}</a>
			</li>
			<li <if test="$this->request['period']=='months'">class='active'</if>>
				<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app={$this->request['search_app']}&amp;sid={$this->request['_sid']}&amp;change=1&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$this->request['search_app_filters'][$this->request['search_app']]['searchInKey']}&amp;period=months&amp;userMode={$this->request['userMode']}&amp;followedItemsOnly={$this->request['followedItemsOnly']}" base="public"}'>{$this->lang->words['actperiod_months']}</a>
			</li>
			<li <if test="$this->request['period']=='year'">class='active'</if>>
				<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app={$this->request['search_app']}&amp;sid={$this->request['_sid']}&amp;change=1&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$this->request['search_app_filters'][$this->request['search_app']]['searchInKey']}&amp;period=year&amp;userMode={$this->request['userMode']}&amp;followedItemsOnly={$this->request['followedItemsOnly']}" base="public"}'>{$this->lang->words['actperiod_year']}</a>
			</li>
		</ul>
	</div>
</div>
<div class='ipsFilterPane' id='filter_other_pane' style='display: none'>
	<a href='#' class='ipsFilterPane_close'><span>&times;</span></a>
	<div>
		<h4>{$this->lang->words['mobile_filter_by_other']}</h4>
		<ul>
			<if test="checked:|:$this->request['followedItemsOnly']">
				<li class="active">
					<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app={$this->request['search_app']}&amp;sid={$this->request['_sid']}&amp;change=1&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$this->request[ $this->request['search_app_filters'][$this->request['search_app']]['searchInKey'] ]}&amp;period={$this->request['period']}&amp;userMode={$this->request['userMode']}&amp;followedItemsOnly=0" base="public"}'>{$this->lang->words['filter_i_follow']}</a>
				</li>
			<else />
				<li>
					<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app={$this->request['search_app']}&amp;sid={$this->request['_sid']}&amp;change=1&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$this->request[ $this->request['search_app_filters'][$this->request['search_app']]['searchInKey'] ]}&amp;period={$this->request['period']}&amp;userMode={$this->request['userMode']}&amp;followedItemsOnly=1" base="public"}'>{$this->lang->words['filter_i_follow']}</a>
				</li>
			</if>
			<li <if test="$this->request['userMode'] == 'all'">class='active'</if>><a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app={$this->request['search_app']}&amp;sid={$this->request['_sid']}&amp;change=1&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$this->request['search_app_filters'][$this->request['search_app']]['searchInKey']}&amp;period={$this->request['period']}&amp;followedItemsOnly={$this->request['followedItemsOnly']}&amp;userMode=<if test="$this->request['userMode'] != 'all'">all</if>" base="public"}'>{$this->lang->words['vnc_topics_and_posts']}</a></li>
			<li <if test="$this->request['userMode'] == 'title'">class='active'</if>><a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app={$this->request['search_app']}&amp;sid={$this->request['_sid']}&amp;change=1&amp;search_app_filters[{$this->request['search_app']}][searchInKey]={$this->request['search_app_filters'][$this->request['search_app']]['searchInKey']}&amp;period={$this->request['period']}&amp;followedItemsOnly={$this->request['followedItemsOnly']}&amp;userMode=<if test="$this->request['userMode'] != 'title'">title</if>" base="public"}'>{$this->lang->words['vnc_topics_only']}</a></li>
			<!--<if test="vncFilterForumsOnly:|:$this->request['search_app'] == 'forums'"><li <if test="hasFilters:|:IPSSearchRegistry::get('forums.vncForumFilters') != null">class='active'</if>><a href='' id='vncForumFilter'>{$this->lang->words['vnc_filter_by_forum']}</a></li></if>-->
		</ul>
	</div>
</div>
		
<if test="NPTotal:|:$total">
	<div class='master_list'>
		{$results}
	</div>
	<if test="$pagination">
		<div class='controls'>
			<div class='buttons'>
				{$pagination}
			</div>
		</div>
	</if>
<else />
	<p class='no_messages'>{$this->lang->words['new_content_none']}</p>
</if>
<script type='text/javascript'>
	$('vnc_filters').on("click", "li.filter", mobileFilter);
	$('ipboard_body').on("click", ".ipsFilterPane_close", closePane);
</script>]]></template_content>
      <template_name>newContentView</template_name>
      <template_data>$results, $pagination, $total, $sortDropDown, $sortIn, $dateCutSet=0</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<form action="{parse url="app=core&amp;module=search&amp;section=search&amp;do=search" base="public"}&amp;fromsearch=1" method="post" id='search-box' >
<input type='hidden' name='search_app' id='search_app' value='{$this->request['search_app']}' />
<div class='master_list ipsForm_vertical'>
	<h2>{$this->lang->words['search']}</h2>
	
	<if test="searchTermsRemoved:|:is_array( $removed_search_terms ) && count( $removed_search_terms )">
		<div class='message error'>{$this->lang->words['removed_search_terms']} <strong>{parse expression="implode( ',', $removed_search_terms )"}</strong></div>
	</if>
	<if test="searchError:|:$msg">
		<div class='message error'>{$msg}</div>
	</if>
	
	<div class='ipsField'>
		<label for='query' class='ipsField_title'>{$this->lang->words['find_words']}</label>
		<input type='text' class='input_text' name='search_term' size='30' id='query' value='{$this->request['search_term']}' />
	</div>
	<div class='ipsField'>
		<label for='author' class='ipsField_title'>{$this->lang->words['find_author']}</label>
		<input type='text' class='input_text' name='search_author' size='30' id='author' value='{$this->request['search_author']}' />
	</div>
	
	<h3>{$this->lang->words['filters']}</h3>
	
	<if test="count($filters)">
		<foreach loop="$filters as $app => $data">
			<if test="$app == 'forums'">
			<div id='app_filter_{$app}'>
				<if test="!empty($data['html'])">
					{$data['html']}
				</if>
				<if test="count($data['sortDropDown'])">
					<if test="is_array($data['sortDropIn']) AND count( $data['sortDropIn'] )">
						<foreach loop="$data['sortDropIn'] as $id => $_data">
							<ul>
								<li>
									<label for='search_by_{$_data[0]}'><if test="! $id">{$this->lang->words['s_member_sin']}<else />&nbsp;</if></label>
									<input type='radio' name='search_app_filters[$app][searchInKey]' value='{$_data[0]}' <if test="$this->request['search_app_filters'][$app]['searchInKey'] == $_data[0] || ( ! $this->request['search_app_filters'][$app]['searchInKey'] AND ! $id )">checked="checked"</if> /> $_data[1]
									<select name='search_app_filters[$app][{$_data[0]}][sortKey]' class='input_select' style='width:auto'>
									<foreach loop="$data['sortDropDown'][$_data[0]] as $k => $l">
										<option value='$k' <if test="$this->request['search_app_filters'][$app][$_data[0]]['sortKey'.$_data[0]] == $k">selected='selected'</if>>{$l}</option>
									</foreach>
									</select>
									<select name='search_app_filters[$app][{$_data[0]}][sortDir]' class='input_select' style='width:auto'>
										<option value='0' <if test="!$this->request['search_app_filters'][$app][$_data[0]]['sortDir']">selected='selected'</if>>{$this->lang->words['s_search_type_o_0']}</option>
										<option value='1' <if test="$this->request['search_app_filters'][$app][$_data[0]]['sortDir']">selected='selected'</if>>{$this->lang->words['s_search_type_o_1']}</option>
									</select>
								</li>
							</ul>
						</foreach>
					<else />
						<div class='ipsField'>
							<label for='search_by' class='ipsField_title'>{$this->lang->words['s_search_type']}</label>
							<select name='search_app_filters[$app][sortKey]' id='search_sort_by_{$app}' class='input_select' style='width:auto'>
								<foreach loop="$data['sortDropDown'] as $k => $l">
									<option value='$k' <if test="$this->request['search_app_filters'][$app]['sortKey'] == $k">selected='selected'</if>>{$l}</option>
								</foreach>
							</select>
							<select name='search_app_filters[$app][sortDir]' id='search_sort_order_{$app}' class='input_select' style='width:auto'>
								<option value='0' <if test="!$this->request['search_app_filters'][$app]['sortDir']">selected='selected'</if>>{$this->lang->words['s_search_type_o_0']}</option>
								<option value='1' <if test="$this->request['search_app_filters'][$app]['sortDir']">selected='selected'</if>>{$this->lang->words['s_search_type_o_1']}</option>
							</select>
						</div>
					</if>
				</if>
			</div>
			</if>
		</foreach>
		</if>
	<div class='submit'>
		<input type='submit' name='submit' class='button' value='{$this->lang->words['do_search']}'>
	</div>
</div>
</form>]]></template_content>
      <template_name>searchAdvancedForm</template_name>
      <template_data><![CDATA[$filters='', $msg='', $current_app, $removed_search_terms=array(), $isFT=false, $canTag=array()]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[{parse striping="searchStripe" classes="row1,row2"}
<div id='search_results'>
	<ol>
		<if test="hasResults:|:is_array($results) && count($results)">
			<foreach loop="results:$results as $result">
				<if test="subResult:|:$result['sub']">
					<li class='{parse striping="searchStripe"} sub clearfix clear'>
						{$result['html']}
					</li>
				<else />
					<li class='{parse striping="searchStripe"} clearfix clear'>
						{$result['html']}
					</li>
				</if>
			</foreach>
		</if>
	</ol>
</div>]]></template_content>
      <template_name>searchResults</template_name>
      <template_data>$results, $titlesOnly</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[{parse template="searchResults" group="search" params="$results, $titlesOnly"}]]></template_content>
      <template_name>searchResultsAsForum</template_name>
      <template_data>$results, $titlesOnly</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<php>
	$i = 0;
	if( IPSLib::appIsSearchable( 'forums', 'search' ) ){ $i++;	}
	if( IPSLib::appIsSearchable( 'members', 'search' ) ){ $i++;	}
	if( IPSLib::appIsInstalled('blog') && IPSLib::appIsSearchable( 'blog', 'search' ) ){ $i++;	}
	if( IPSLib::appIsInstalled('gallery') && IPSLib::appIsSearchable( 'gallery', 'search' ) ){ $i++;	}
	
	switch( $i ){
		case 3:
			$classname = 'three_';
		break;
		case 4:
			$classname = 'four_';
		break;
		case 2:
			$classname = 'two_';
		break;
		default:
			$classname = 'one_';
		break;
	}
</php>
<div class='master_list'>
	<h2><if test="hasSearchResults:|:$total > 0 AND $search_term != ''">{$total} </if>{$this->lang->words['search_results']}</h2>
	
	<div class='ipsFilterBar {$classname}filters clearfix' id='vnc_filters'>
		<ul>
			<if test="( ! $search_tags && IPSLib::appIsSearchable( 'forums', 'search' )) || ( $search_tags && IPSLib::appIsSearchable( 'forums', 'tags' ) )">
				<li <if test="forumsTab:|:$this->request['search_app'] == 'forums'">class='selected'</if>><a href='{parse url="{$url_string}&amp;search_app=forums" base="public"}'>{IPSLib::getAppTitle( 'forums' )}</a></li>
			</if>
			<if test="( ! $search_tags && IPSLib::appIsSearchable( 'members', 'search' )) || ( $search_tags && IPSLib::appIsSearchable( 'members', 'tags' ) )">
				<li <if test="membersTab:|:$this->request['search_app'] == 'members'">class='selected'</if>><a href='{parse url="{$url_string}&amp;search_app=members" base="public"}'>{IPSLib::getAppTitle( 'members' )}</a></li>
			</if>
			<if test="IPSLib::appIsInstalled('blog') && IPSLib::appIsSearchable( 'blog', 'search' )">
				<li <if test="helpTab:|:$this->request['search_app'] == 'blog'">class='selected'</if>><a href='{parse url="{$url_string}&amp;search_app=blog" base="public"}'>{IPSLib::getAppTitle( 'blog' )}</a></li>
			</if>
			<if test="IPSLib::appIsInstalled('gallery') && IPSLib::appIsSearchable( 'gallery', 'search' )">
				<li <if test="helpTab:|:$this->request['search_app'] == 'gallery'">class='selected'</if>><a href='{parse url="{$url_string}&amp;search_app=gallery" base="public"}'>{IPSLib::getAppTitle( 'gallery' )}</a></li>
			</if>
		</ul>
	</div>
	<if test="hasSearchResults:|:$total > 0 AND $search_term != ''">
		<!--<div class='message'>
			{$this->lang->words['your_search']} <em><strong>{$search_term}</strong></em> {$this->lang->words['your_search_returned']}
		</div>-->
	</if>
	<if test="$pagination">
		<div class='controls'>
			<div class='buttons'>
				{$pagination}
			</div>
		</div>
	</if>
	
	<if test="hasTotal:|:$total">
		$results
	<else />
		<div class='row no_messages'>{$this->lang->words['no_results_found']}<if test="noResultsTerm:|:$search_term"> {$this->lang->words['no_results_found_for']} '{$search_term}'</if>.</div>
	</if>
	
	<if test="$pagination">
		<div class='controls'>
			<div class='buttons'>
				{$pagination}
			</div>
		</div>
	</if>
</div>]]></template_content>
      <template_name>searchResultsWrapper</template_name>
      <template_data>$results, $sortDropDown, $sortIn, $pagination, $total, $showing, $search_term, $url_string, $current_key, $removed_search_terms=array(), $limited=0, $wasLimited=false, $search_tags</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<div class='result_info'>
	<h3>{$r['content_title']}</h3>
	<if test="showGenericContent:|:!$resultAsTitle">
	<p>
		{$r['content']}
	</p>
	</if>
</div>
<if test="isUpdatedOrHasMemberId:|:$r['updated'] OR $r['member_id']">
	<div class='result_details desc'>
		<ul>
			<if test="isUpdated:|:$r['updated']">
				<li>{parse date="$r['updated']" format="short"}</li>
			</if>
			<if test="hasMemberId:|:$r['member_id']">
				<li>{$this->lang->words['search_by']} {parse template="userHoverCard" group="global" params="$r"}</li>
			</if>
		</ul>
	</div>
</if>]]></template_content>
      <template_name>searchRowGenericFormat</template_name>
      <template_data>$r, $resultAsTitle=false</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<if test="whichWayToGo:|:$resultAsTitle">
	{parse template="asForumTopics" group="search" params="$data"}
<else />
	{parse template="asForumPosts" group="search" params="$data"}
</if>]]></template_content>
      <template_name>topicPostSearchResultAsForum</template_name>
      <template_data>$data, $resultAsTitle=false</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<php>
	$datecut = ( $this->settings['search_ucontent_days'] ) ? $this->registry->class_localization->getDate( time() - ( 86400 * intval( $this->settings['search_ucontent_days'] ) ), 'joined' ) : 0;
</php>
<div class='master_list'>
	<h2>{parse expression="sprintf( $this->lang->words['s_participation_title'], $member['members_display_name'] )"}</h2>
	<if test="NPhasResults:|:$total">
		<p class='message'>
			{parse expression="sprintf( $this->lang->words['s_participation_msg'], $total, $member['members_display_name'] )"}
			<if test="$datecut">
				<br /><span class='desc'>{parse expression="sprintf( $this->lang->words['s_participation_range'], $datecut )"}</span>
			</if>
		</p>
		<div class='controls'>
			{$pagination}
		</div>
	</if>
	
	<if test="NPTotal:|:$total">
	{$results}
<else />
	<p class='row no_messages'>{$this->lang->words['user_posts_none']}</p>
</if>
<div class='topic_controls'>
	{$pagination}
</div>]]></template_content>
      <template_name>userPostsView</template_name>
      <template_data>$results, $pagination, $total, $member, $limited=0, $wasLimited=false, $beginTime=0, $sortIn=null, $sortDropDown=array()</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
  </templategroup>
  <templategroup group="skin_stats">
    <template>
      <template_group>skin_stats</template_group>
      <template_content><![CDATA[<if test="hasPaginationTop:|:$pagination">
	<div class='topic_controls'>{$pagination}</div>
</if>
<h3 class='maintitle'>{$group}</h3>
<table class='ipb_table ipsMemberList'>
	<tr class='header'>
		<th scope='col' style='width: 3%'>&nbsp;</th>
		<th scope='col' style='width: 20%'>{$this->lang->words['leader_name']}</th>
		<th scope='col' style='width: 15%'>{$this->lang->words['leader_group']}</th>
		<th scope='col' style='width: 25%' class='short'>{$this->lang->words['leader_forums']}</th>
		<th scope='col' style='width: 25%'>{$this->lang->words['leader_last_seen']}</th>
		<th scope='col' style='width: 12%'>&nbsp;</th>
	</tr>
	<if test="hasLeaders:|:count($members) AND is_array($members)">
		{parse striping="staff" classes="row1,row2"}
		<foreach loop="members:$members as $info">
			<tr class='{parse striping="staff"}'>
				<td>{parse template="userSmallPhoto" group="global" params="$info"}</td>
				<td>{parse template="userHoverCard" group="global" params="$info"}</td>
				<td>{$info['_group_formatted']}</td>
				<td class='altrow short'>
					<if test="specificForums:|:is_array($info['forums'])">
						<if test="noVisibleForums:|: empty( $info['forums'] )">
							--
						<else />
							<if test="moreThanOne:|: count( $info['forums'] ) == 1">
								<foreach loop="forums:$info['forums'] as $id => $name">
									<a href="{parse url="showforum={$id}" base="public" template="showforum" seotitle="{$this->registry->class_forums->forum_by_id[ $id ]['name_seo']}"}">{$name}</a>
								</foreach>
							<else />
								<a href='#' id='mod_page_{$info['member_id']}'>{parse expression="sprintf($this->lang->words['no_forums'],count($info['forums']))"}</a>
								<ul class='ipbmenu_content' id='mod_page_{$info['member_id']}_menucontent'  style='display:none'>
								<foreach loop="forums:$info['forums'] as $id => $name">
									<li><a href="{parse url="showforum={$id}" base="public" template="showforum" seotitle="{$this->registry->class_forums->forum_by_id[ $id ]['name_seo']}"}">{$name}</a></li>
								</foreach>
								</ul>
								<script type='text/javascript'>
									document.observe("dom:loaded", function()
									{
										new ipb.Menu( $('mod_page_{$info['member_id']}'), $('mod_page_{$info['member_id']}_menucontent') );
									} );
								</script>
							</if>
						</if>
					<else />
						{$info['forums']}
					</if>
				</td>
				<td>
					<if test="isonline:|:$info['_online'] && ($info['online_extra'] != $this->lang->words['not_online'])">
						{$info['online_extra']}
					</if>
				</td>
				<td class='short altrow'>
					<ul class='ipsList_inline right ipsList_nowrap'>
						<if test="isFriendable:|:$this->memberData['member_id'] AND $this->memberData['member_id'] != $info['member_id'] && $this->settings['friends_enabled'] AND $this->memberData['g_can_add_friends']">
							<if test="isFriend:|:IPSMember::checkFriendStatus( $info['member_id'] )">
								<li class='mini_friend_toggle is_friend' id='friend_xxx_{$info['member_id']}'><a href='{parse url="app=members&amp;module=profile&amp;section=friends&amp;do=remove&amp;member_id={$info['member_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['remove_friend']}' class='ipsButton_secondary'>{parse replacement="remove_friend"}</a></li>
							<else />
								<li class='mini_friend_toggle is_not_friend' id='friend_xxx_{$info['member_id']}'><a href='{parse url="app=members&amp;module=profile&amp;section=friends&amp;do=add&amp;member_id={$info['member_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['add_friend']}' class='ipsButton_secondary'>{parse replacement="add_friend"}</a></li>
							</if>
						</if>
						<if test="canPm:|:$this->memberData['g_use_pm'] AND $this->memberData['member_id'] != $info['member_id'] AND $this->memberData['members_disable_pm'] == 0 AND IPSLib::moduleIsEnabled( 'messaging', 'members' )">
							<li class='pm_button' id='pm_xxx_{$info['member_id']}'><a href='{parse url="app=members&amp;module=messaging&amp;section=send&amp;do=form&amp;fromMemberID={$info['member_id']}" base="public"}' title='{$this->lang->words['pm_member']}' class='ipsButton_secondary'>{parse replacement="send_msg"}</a></li>
						</if>
					</ul>
				</td>
			</tr>
		</foreach>
	</if>
</table>
<if test="hasPaginationBottom:|:$pagination">
	<div class='topic_controls'>{$pagination}</div>
</if>
<br class='clear' />]]></template_content>
      <template_name>group_strip</template_name>
      <template_data><![CDATA[$group="", $members=array(), $pagination='']]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_stats</template_group>
      <template_content><![CDATA[<h1 class='ipsType_pagetitle'>{$this->lang->words['todays_posters']}</h1>
<br />
<table class='ipb_table ipsMemberList'>
	<tr class='header'>
		<th scope='col' style='width: 3%'>&nbsp;</th>
		<th scope='col'>{$this->lang->words['member']}</th>
		<th scope='col'>{$this->lang->words['member_joined']}</th>
		<th scope='col' class='short'>{$this->lang->words['member_posts']}</th>
		<th scope='col' class='short'>{$this->lang->words['member_today']}</th>
		<th scope='col' class='short'>{$this->lang->words['member_percent']}</th>
		<th scope='col' class='short'>&nbsp;</th>
	</tr>
	<if test="hasTopPosters:|:!is_array($rows) OR !count($rows)">
		<tr>
			<td colspan='7' class='no_messages'>{$this->lang->words['no_info']}</td>
		</tr>
	<else />
		{parse striping="top_posters" classes="row1,row2"}
		<foreach loop="topposters:$rows as $info">
			<tr class='{parse striping="top_posters"}'>
				<td>{parse template="userSmallPhoto" group="global" params="array_merge( $info, array( 'alt' => sprintf($this->lang->words['users_photo'], $info['members_display_name']) ) )"}</td>
				<td>{parse template="userHoverCard" group="global" params="$info"}</td>
				<td class='altrow'>
					{parse date="$info['joined']" format="joined"}
				</td>
				<td class='short'>
					{parse format_number="$info['posts']"}
				</td>
				<td class='altrow short'>
					{parse format_number="$info['tpost']"}
				</td>
				<td class='short'>
					{$info['today_pct']}%
				</td>
				<td class='altrow short'>
					<ul class='ipsList_inline right'>
						<if test="tpIsFrindable:|:$this->memberData['member_id'] AND $this->memberData['member_id'] != $info['member_id'] && $this->settings['friends_enabled'] AND $this->memberData['g_can_add_friends']">
							<if test="tpIsFriend:|:IPSMember::checkFriendStatus( $info['member_id'] )">
								<li class='mini_friend_toggle is_friend' id='friend_xxx_{$info['member_id']}'><a href='{parse url="app=members&amp;module=profile&amp;section=friends&amp;do=remove&amp;member_id={$info['member_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['remove_friend']}' class='ipsButton_secondary'>{parse replacement="remove_friend"}</a></li>
							<else />
								<li class='mini_friend_toggle is_not_friend' id='friend_xxx_{$info['member_id']}'><a href='{parse url="app=members&amp;module=profile&amp;section=friends&amp;do=add&amp;member_id={$info['member_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['add_friend']}' class='ipsButton_secondary'>{parse replacement="add_friend"}</a></li>
							</if>
						</if>
						<if test="tpPm:|:$this->memberData['g_use_pm'] AND $this->memberData['member_id'] != $info['member_id'] AND $this->memberData['members_disable_pm'] == 0 AND IPSLib::moduleIsEnabled( 'messaging', 'members' )">
							<li class='pm_button' id='pm_xxx_{$info['member_id']}'><a href='{parse url="app=members&amp;module=messaging&amp;section=send&amp;do=form&amp;fromMemberID={$info['member_id']}" base="public"}' title='{$this->lang->words['pm_member']}' class='ipsButton_secondary'>{parse replacement="send_msg"}</a></li>
						</if>
						<if test="tpBlog:|:$info['has_blog'] AND IPSLib::appIsInstalled( 'blog' )">
							<li><a href='{parse url="app=blog&amp;module=display&amp;section=blog&amp;show_members_blogs={$info['member_id']}" base="public"}' title='{$this->lang->words['view_blog']}' class='ipsButton_secondary'>{parse replacement="blog_link"}</a></li>
						</if>
						<if test="tpGallery:|:$info['has_gallery'] AND IPSLib::appIsInstalled( 'gallery' )">
							<li><a href='{parse url="app=gallery&amp;user={$info['member_id']}" base="public" seotitle="{$info['members_seo_name']}" template="useralbum"}' title='{$this->lang->words['view_gallery']}' class='ipsButton_secondary'>{parse replacement="gallery_link"}</a></li>
						</if>
					</ul>
				</td>
			</tr>
		</foreach>
	</if>
</table>]]></template_content>
      <template_name>top_posters</template_name>
      <template_data>$rows</template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
    <template>
      <template_group>skin_stats</template_group>
      <template_content><![CDATA[<if test="$this->request['module']=='ajax'">
	<h3>{$this->lang->words['who_farted']} {IPSText::truncate( $title, 40 )}</h3>
<else />
	<h3 class='maintitle'>{$this->lang->words['who_farted']} {IPSText::truncate( $title, 30 )}</h3>
</if>
<div class='fixed_inner'>
	<table class='ipb_table'>
		<tr class='header'>
			<th>{$this->lang->words['whoposted_name']}</th>
			<th>{$this->lang->words['whoposted_posts']}</th>
		</tr>
		<if test="hasPosters:|:count($rows) AND is_array($rows)">
			{parse striping="whoposted" classes="row1,row2"}
			<foreach loop="whoposted:$rows as $row">
				<tr class='{parse striping="whoposted"}'>
					<td>{parse template="userHoverCard" group="global" params="$row"}</td>
					<td>{$row['pcount']}</td>
				</tr>
			</foreach>
		</if>
	</table>
</div>]]></template_content>
      <template_name>whoPosted</template_name>
      <template_data><![CDATA[$tid=0, $title="", $rows=array()]]></template_data>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
      <template_master_key>mobile</template_master_key>
    </template>
  </templategroup>
</templates>
