HEX
Server: Apache/2.4.59 (Debian)
System: Linux skycube.cz 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64
User: ilya (534)
PHP: 7.3.31-1~deb10u7
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/ilya/data/www/irkboard.ru/admin/applications/core/xml/core_root_templates.xml
<?xml version="1.0" encoding="utf-8"?>
<templates application="core" templategroups="a:10:{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: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;;}">
  <templategroup group="skin_editors">
    <template>
      <template_group>skin_editors</template_group>
      <template_content><![CDATA[<if test="ajaxerror:|:$error_msg">
	<p id='error_msg_e{$pid}' class='message error'>{$error_msg}</p>
<else />
	<p id='error_msg_e{$pid}' class='message error' style='display: none'>{$error_msg}</p>
</if>
<input type='hidden' name='editor_ids[]' value='e{$pid}' />
<div class='ips_editor'>
	<div id='e{$pid}_controls' class='controls'>
		<ul id='e{$pid}_toolbar_1' class='toolbar'>
			<li class='left'>
				<span id='e{$pid}_cmd_fontname' class='rte_control rte_menu rte_font' title='{$this->lang->words['box_font']}'>{$this->lang->words['box_font']}</span>
			</li>
			<li class='left sep'>
				<span id='e{$pid}_cmd_fontsize' class='rte_control rte_menu rte_fontsize' title='{$this->lang->words['box_size']}'>{$this->lang->words['box_size']}</span>
			</li>
			<li class='left'>
				<span id='e{$pid}_cmd_forecolor' class='rte_control rte_palette' title='{$this->lang->words['js_tt_font_col']}'><img src='{$this->settings['img_url']}/rte_icons/font_color.png' alt='{$this->lang->words['js_tt_font_col']}' /></span>
			</li>
		</ul>
		<ul id='e{$pid}_toolbar_2' class='toolbar'>
			<li class='left'>
				<span id='e{$pid}_cmd_bold' class='rte_control rte_button' title='{$this->lang->words['js_tt_bold']}'><img src='{$this->settings['img_url']}/rte_icons/bold.png' alt='{$this->lang->words['js_tt_bold']}' /></span>
			</li>
			<li class='left'>
				<span id='e{$pid}_cmd_italic' class='rte_control rte_button' title='{$this->lang->words['js_tt_italic']}'><img src='{$this->settings['img_url']}/rte_icons/italic.png' alt='{$this->lang->words['js_tt_italic']}' /></span>
			</li>
			<li class='left'>
				<span id='e{$pid}_cmd_underline' class='rte_control rte_button' title='{$this->lang->words['js_tt_underline']}'><img src='{$this->settings['img_url']}/rte_icons/underline.png' alt='{$this->lang->words['js_tt_underline']}' /></span>
			</li>
			<li class='sep'>
				<span id='e{$pid}_cmd_strikethrough' class='rte_control rte_button' title='{$this->lang->words['js_tt_strike']}'><img src='{$this->settings['img_url']}/rte_icons/strike.png' alt='{$this->lang->words['js_tt_strike']}' /></span>
			</li>
		<if test="ajaxremoveemoticons:|:$this->settings['_remove_emoticons']==0">
			<li>
				<span id='e{$pid}_cmd_emoticons' class='rte_control rte_palette' title='{$this->lang->words['js_tt_emoticons']}'><img src='{$this->settings['img_url']}/rte_icons/emoticons.png' alt='{$this->lang->words['js_tt_emoticons']}' /></span>
			</li>
		</if>
			<li>
				<span id='e{$pid}_cmd_link' class='rte_control rte_palette' title='{$this->lang->words['js_tt_link']}'><img src='{$this->settings['img_url']}/rte_icons/link.png' alt='{$this->lang->words['js_tt_link']}' /></span>
			</li>
			<li>
				<span id='e{$pid}_cmd_image' class='rte_control rte_palette' title='{$this->lang->words['js_tt_image']}'><img src='{$this->settings['img_url']}/rte_icons/picture.png' alt='{$this->lang->words['js_tt_image']}' /></span>
			</li>
			<li>
				<span id='e{$pid}_cmd_email' class='rte_control rte_palette' title='{$this->lang->words['js_tt_email']}'><img src='{$this->settings['img_url']}/rte_icons/email.png' alt='{$this->lang->words['js_tt_email']}' /></span>
			</li>
			<li>
				<span id='e{$pid}_cmd_ipb_quote' class='rte_control rte_button' title='{$this->lang->words['js_tt_quote']}'><img src='{$this->settings['img_url']}/rte_icons/quote.png' alt='{$this->lang->words['js_tt_quote']}' /></span>
			</li>
			<li>
				<span id='e{$pid}_cmd_ipb_code' class='rte_control rte_button' title='{$this->lang->words['js_tt_code']}'><img src='{$this->settings['img_url']}/rte_icons/code.png' alt='{$this->lang->words['js_tt_code']}' /></span>
			</li>
			<li>
				<span id='e{$pid}_cmd_media' class='rte_control rte_palette' title='{$this->lang->words['js_tt_media']}'><img src='{$this->settings['img_url']}/rte_icons/media.png' alt='{$this->lang->words['js_tt_media']}' /></span>
			</li>
		</ul>
	</div>
	<div id='e{$pid}_wrap' class='editor'>
		<textarea name="Post" class="input_rte" id="e{$pid}_textarea" rows="10" cols="60" tabindex='0'>{$post}</textarea>
	</div>
	<fieldset class='submit'>	
		<if test="showeditoptions:|:$extraData['showEditOptions']">
			<div style='text-align: left'>
					<if test="showreason:|:$extraData['showReason']">
						{$this->lang->words['reason_for_edit']} <input type='text' size='35' maxlength='250' class='input_text' id='post_edit_reason' name='post_edit_reason' value='{$extraData['reasonForEdit']}' />
					</if>
					<if test="showappendedit:|:$extraData['showAppendEdit']">
					<input type='checkbox' name='add_edit' id='add_edit' <if test="appendedit:|:$extraData['append_edit']">checked='checked'</if> value='1' /> <label for='add_edit'>{$this->lang->words['show_edited_by']}</label>
					</if>
			</div>
			<br />
		</if>
		
		<if test="htmlstatus:|:is_array( $extraData['checkBoxes']['html'] ) AND count( $extraData['checkBoxes']['html'] )">
			<div style='text-align: left'>
				<select name="post_htmlstatus" id="post_htmlstatus" class="input_select">
					<option value="0"{$extraData['checkBoxes']['html'][0]}>{$this->lang->words['pp_nohtml']}</option>
					<option value="1"{$extraData['checkBoxes']['html'][1]}>{$this->lang->words['pp_html1']}</option>
					<option value="2"{$extraData['checkBoxes']['html'][2]}>{$this->lang->words['pp_html2']}</option>
				</select>
			</div>
		</if>
		
		<input type='submit' value='{$this->lang->words['save_changes']}' class='input_submit' id='edit_save_e{$pid}' tabindex='1' /> <input type='submit' value='{$this->lang->words['use_full_editor']}' class='input_submit alt' id='edit_switch_e{$pid}' /> {$this->lang->words['or']} <a href='#' title='{$this->lang->words['cancel']}' class='cancel' id='edit_cancel_e{$pid}'>{$this->lang->words['cancel']}</a>
	</fieldset>
</div>]]></template_content>
      <template_name>ajaxEditBox</template_name>
      <template_data><![CDATA[$post="", $pid=0, $error_msg="", $extraData]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_editors</template_group>
      <template_content><![CDATA[ipb.editor_values.get('templates')['link'] = new Template("<label for='#{id}_url'>{$this->lang->words['js_template_url']}</label><input type='text' class='input_text' id='#{id}_url' value='http://' tabindex='10' /><label for='#{id}_urltext'>{$this->lang->words['js_template_link']}</label><input type='text' class='input_text _select' id='#{id}_urltext' value='{$this->lang->words['js_template_default']}' tabindex='11' /><input type='submit' class='input_submit' value='{$this->lang->words['js_template_insert_link']}' tabindex='12' />");
ipb.editor_values.get('templates')['image'] = new Template("<label for='#{id}_img'>{$this->lang->words['js_template_imageurl']}</label><input type='text' class='input_text' id='#{id}_img' value='http://' tabindex='10' /><input type='submit' class='input_submit' value='{$this->lang->words['js_template_insert_img']}' tabindex='11' />");
ipb.editor_values.get('templates')['email'] = new Template("<label for='#{id}_email'>{$this->lang->words['js_template_email_url']}</label><input type='text' class='input_text' id='#{id}_email' tabindex='10' /><label for='#{id}_emailtext'>{$this->lang->words['js_template_link']}</label><input type='text' class='input_text _select' id='#{id}_emailtext' value='{$this->lang->words['js_template_email_me']}' tabindex='11' /><input type='submit' class='input_submit' value='{$this->lang->words['js_template_insert_email']}' tabindex='12' />");
ipb.editor_values.get('templates')['media'] = new Template("<label for='#{id}_media'>{$this->lang->words['js_template_media_url']}</label><input type='text' class='input_text' id='#{id}_media' value='http://' tabindex='10' /><input type='submit' class='input_submit' value='{$this->lang->words['js_template_insert_media']}' tabindex='11' />");
ipb.editor_values.get('templates')['generic'] = new Template("<div class='rte_title'>#{title}</div><strong>{$this->lang->words['js_template_example']}</strong><pre>#{example}</pre><label for='#{id}_option' class='optional'>#{option_text}</label><input type='text' class='input_text optional' id='#{id}_option' tabindex='10' /><label for='#{id}_text'>#{value_text}</label><input type='text' class='input_text _select' id='#{id}_text' tabindex='11' /><input type='submit' class='input_submit' value='{$this->lang->words['js_template_add']}' tabindex='12' />");
ipb.editor_values.get('templates')['togglesource'] = new Template("<fieldset id='#{id}_ts_controls' class='submit' style='text-align: left'><input type='button' class='input_submit' value='{$this->lang->words['js_template_update']}' id='#{id}_ts_update' />&nbsp;&nbsp;&nbsp; <a href='#' id='#{id}_ts_cancel' class='cancel'>{$this->lang->words['js_template_cancel_source']}</a></fieldset>");
	
ipb.editor_values.get('templates')['toolbar'] = new Template("<ul id='#{id}_toolbar_#{toolbarid}' class='toolbar' style='display: none'>#{content}</ul>");
ipb.editor_values.get('templates')['button'] = new Template("<li><span id='#{id}_cmd_custom_#{cmd}' class='rte_control rte_button specialitem' title='#{title}'><img src='{$this->settings['img_url']}/rte_icons/#{img}' alt='{$this->lang->words['icon']}' /></span></li>");
ipb.editor_values.get('templates')['menu_item'] = new Template("<li id='#{id}_cmd_custom_#{cmd}' class='specialitem clickable'>#{title}</li>");
ipb.editor_values.get('templates')['togglesource'] = new Template("<fieldset id='#{id}_ts_controls' class='submit' style='text-align: left'><input type='button' class='input_submit' value='{$this->lang->words['js_template_update']}' id='#{id}_ts_update' />&nbsp;&nbsp;&nbsp; <a href='#' id='#{id}_ts_cancel' class='cancel'>{$this->lang->words['js_template_cancel_source']}</a></fieldset>");
ipb.editor_values.get('templates')['emoticons_showall'] = new Template("<input class='input_submit emoticons' type='button' id='#{id}_all_emoticons' value='{$this->lang->words['show_all_emoticons']}' />");
ipb.editor_values.get('templates')['emoticon_wrapper'] = new Template("<h4><span>{$this->lang->words['emoticons_template_title']}</span></h4><div id='#{id}_emoticon_holder' class='emoticon_holder'></div>");

// Add smilies into the mix
ipb.editor_values.set( 'show_emoticon_link', false );
<if test="hasemoticons:|:$emoticons != ''">
	ipb.editor_values.set( 'emoticons', \$H({ $emoticons }) );
</if>
ipb.editor_values.set( 'bbcodes', \$H({IPSLib::fetchBbcodeAsJson()}) );
	ipb.vars['emoticon_url'] = "{$this->settings['emoticons_url']}";]]></template_content>
      <template_name>editorJS</template_name>
      <template_data><![CDATA[$emoticons='']]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_editors</template_group>
      <template_content><![CDATA[<div class='ips_editor <if test="hassidebar:|:!$no_sidebar">with_sidebar<else />no_sidebar</if>'>
		<div class='sidebar row1 altrow' style='display: none'></div>
		<div id='{$editor_id}_controls' class='controls'>
			<if test="notlightweight:|:!$lightweight">
				<ul id='{$editor_id}_toolbar_1' class='toolbar' style='display: none'>
					<li class='left'>
						<span id='{$editor_id}_cmd_removeformat' class='rte_control rte_button' title='{$this->lang->words['js_tt_noformat']}'><img src='{$this->settings['img_url']}/rte_icons/remove_formatting.png' alt='{$this->lang->words['js_tt_noformat']}' /></span>
					</li>
					<li class='left'>
						<span id='{$editor_id}_cmd_togglesource' class='rte_control rte_button' title='{$this->lang->words['js_tt_htmlsource']}'><img src='{$this->settings['img_url']}/rte_icons/toggle_source.png' alt='{$this->lang->words['js_tt_htmlsource']}' /></span>
					</li>
					<li class='left'>
						<span id='{$editor_id}_cmd_otherstyles' class='rte_control rte_menu rte_special' title='{$this->lang->words['box_other']}' style='display: none'>{$this->lang->words['box_other']}</span>
					</li>
					<li class='left'>
						<span id='{$editor_id}_cmd_fontname' class='rte_control rte_menu rte_font' title='{$this->lang->words['box_font']}'>{$this->lang->words['box_font']}</span>
					</li>
					<li class='left'>
						<span id='{$editor_id}_cmd_fontsize' class='rte_control rte_menu rte_fontsize' title='{$this->lang->words['box_size']}'>{$this->lang->words['box_size']}</span>
					</li>
					<li class='left'>
						<span id='{$editor_id}_cmd_forecolor' class='rte_control rte_palette' title='{$this->lang->words['js_tt_font_col']}'><img src='{$this->settings['img_url']}/rte_icons/font_color.png' alt='{$this->lang->words['js_tt_font_col']}' /></span>
					</li>
					<!--<li class='left'>
						<span id='{$editor_id}_cmd_backcolor' class='rte_control rte_palette' title='{$this->lang->words['js_tt_back_col']}'><img src='{$this->settings['img_url']}/rte_icons/background_color.png' alt='{$this->lang->words['js_tt_back_col']}' /></span>
					</li>-->
					<li class='right'>
						<span id='{$editor_id}_cmd_spellcheck' class='rte_control rte_button' title='{$this->lang->words['js_tt_spellcheck']}'><img src='{$this->settings['img_url']}/rte_icons/spellcheck.png' alt='{$this->lang->words['js_tt_spellcheck']}' /></span>
					</li>
					<li class='right'>
						<span id='{$editor_id}_cmd_help' class='rte_control rte_button' title='{$this->lang->words['js_tt_help']}'><a href='{parse url="app=forums&amp;module=extras&amp;section=legends&amp;do=bbcode" base="public"}' title='{$this->lang->words['js_tt_help']}'><img src='{$this->settings['img_url']}/rte_icons/help.png' alt='{$this->lang->words['js_tt_help']}' /></a></span>
					</li>
					<li class='right'>
						<span id='{$editor_id}_cmd_undo' class='rte_control rte_button' title='{$this->lang->words['js_tt_undo']}'><img src='{$this->settings['img_url']}/rte_icons/undo.png' alt='{$this->lang->words['js_tt_undo']}' /></span>
					</li>
					<li class='right'>
						<span id='{$editor_id}_cmd_redo' class='rte_control rte_button' title='{$this->lang->words['js_tt_redo']}'><img src='{$this->settings['img_url']}/rte_icons/redo.png' alt='{$this->lang->words['js_tt_redo']}' /></span>
					</li>
					<if test="shellallowrte:|:$this->settings['posting_allow_rte'] == 1">
						<li class='right'>
							<!--<span id='{$editor_id}_cmd_switcheditor' class='rte_control rte_button' title='{$this->lang->words['js_tt_switcheditor']}'><img src='{$this->settings['img_url']}/rte_icons/switch.png' alt='{$this->lang->words['js_tt_switcheditor']}' /></span>-->
						</li>
					</if>
				</ul>
			</if>
			<ul id='{$editor_id}_toolbar_2' class='toolbar' style='display: none'>
				<li>
					<span id='{$editor_id}_cmd_bold' class='rte_control rte_button' title='{$this->lang->words['js_tt_bold']}'><img src='{$this->settings['img_url']}/rte_icons/bold.png' alt='{$this->lang->words['js_tt_bold']}' /></span>
				</li>
				<li>
					<span id='{$editor_id}_cmd_italic' class='rte_control rte_button' title='{$this->lang->words['js_tt_italic']}'><img src='{$this->settings['img_url']}/rte_icons/italic.png' alt='{$this->lang->words['js_tt_italic']}' /></span>
				</li>
				<li>
					<span id='{$editor_id}_cmd_underline' class='rte_control rte_button' title='{$this->lang->words['js_tt_underline']}'><img src='{$this->settings['img_url']}/rte_icons/underline.png' alt='{$this->lang->words['js_tt_underline']}' /></span>
				</li>
				<li class='sep'>
					<span id='{$editor_id}_cmd_strikethrough' class='rte_control rte_button' title='{$this->lang->words['js_tt_strike']}'><img src='{$this->settings['img_url']}/rte_icons/strike.png' alt='{$this->lang->words['js_tt_strike']}' /></span>
				</li>
				<if test="shellnotlightweight:|:!$lightweight">
					<li>
						<span id='{$editor_id}_cmd_subscript' class='rte_control rte_button' title='{$this->lang->words['js_tt_sub']}'><img src='{$this->settings['img_url']}/rte_icons/subscript.png' alt='{$this->lang->words['js_tt_sub']}' /></span>
					</li>
					<li class='sep'>
						<span id='{$editor_id}_cmd_superscript' class='rte_control rte_button' title='{$this->lang->words['js_tt_sup']}'><img src='{$this->settings['img_url']}/rte_icons/superscript.png' alt='{$this->lang->words['js_tt_sup']}' /></span>
					</li>
					<li>
						<span id='{$editor_id}_cmd_insertunorderedlist' class='rte_control rte_button' title='{$this->lang->words['js_tt_list']}'><img src='{$this->settings['img_url']}/rte_icons/unordered_list.png' alt='{$this->lang->words['js_tt_list']}' /></span>
					</li>
					<li class='sep'>
						<span id='{$editor_id}_cmd_insertorderedlist' class='rte_control rte_button' title='{$this->lang->words['js_tt_list']}'><img src='{$this->settings['img_url']}/rte_icons/ordered_list.png' alt='{$this->lang->words['js_tt_list']}' /></span>
					</li>
				</if>
			<if test="shellremoveemoticons:|:$this->settings['_remove_emoticons']==0">
				<li>
					<span id='{$editor_id}_cmd_emoticons' class='rte_control rte_palette' title='{$this->lang->words['js_tt_emoticons']}'><img src='{$this->settings['img_url']}/rte_icons/emoticons.png' alt='{$this->lang->words['js_tt_emoticons']}' /></span>
				</li>
			</if>
				<li>
					<span id='{$editor_id}_cmd_link' class='rte_control rte_palette' title='{$this->lang->words['js_tt_link']}'><img src='{$this->settings['img_url']}/rte_icons/link.png' alt='{$this->lang->words['js_tt_link']}' /></span>
				</li>
				<li>
					<span id='{$editor_id}_cmd_image' class='rte_control rte_palette' title='{$this->lang->words['js_tt_image']}'><img src='{$this->settings['img_url']}/rte_icons/picture.png' alt='{$this->lang->words['js_tt_image']}' /></span>
				</li>
				<li>
					<span id='{$editor_id}_cmd_email' class='rte_control rte_palette' title='{$this->lang->words['js_tt_email']}'><img src='{$this->settings['img_url']}/rte_icons/email.png' alt='{$this->lang->words['js_tt_email']}' /></span>
				</li>
				<li>
					<span id='{$editor_id}_cmd_ipb_quote' class='rte_control rte_button' title='{$this->lang->words['js_tt_quote']}'><img src='{$this->settings['img_url']}/rte_icons/quote.png' alt='{$this->lang->words['js_tt_quote']}' /></span>
				</li>
				<li>
					<span id='{$editor_id}_cmd_ipb_code' class='rte_control rte_button' title='{$this->lang->words['js_tt_code']}'><img src='{$this->settings['img_url']}/rte_icons/code.png' alt='{$this->lang->words['js_tt_code']}' /></span>
				</li>
				<li>
					<span id='{$editor_id}_cmd_media' class='rte_control rte_palette' title='{$this->lang->words['js_tt_media']}'><img src='{$this->settings['img_url']}/rte_icons/media.png' alt='{$this->lang->words['js_tt_media']}' /></span>
				</li>
				<!--<li class='right'>
					<span id='{$editor_id}_cmd_justifyfull' class='rte_control rte_button' title='{$this->lang->words['js_tt_jfull']}'><img src='{$this->settings['img_url']}/rte_icons/align_full.png' alt='{$this->lang->words['js_tt_jfull']}' /></span>
				</li>-->
				<if test="shellsecondbarlightweight:|:!$lightweight">
					<li class='right'>
						<span id='{$editor_id}_cmd_justifyright' class='rte_control rte_button' title='{$this->lang->words['js_tt_right']}'><img src='{$this->settings['img_url']}/rte_icons/align_right.png' alt='{$this->lang->words['js_tt_right']}' /></span>
					</li>
					<li class='right'>
						<span id='{$editor_id}_cmd_justifycenter' class='rte_control rte_button' title='{$this->lang->words['js_tt_center']}'><img src='{$this->settings['img_url']}/rte_icons/align_center.png' alt='{$this->lang->words['js_tt_center']}' /></span>
					</li>
					<li class='right'>
						<span id='{$editor_id}_cmd_justifyleft' class='rte_control rte_button' title='{$this->lang->words['js_tt_left']}'><img src='{$this->settings['img_url']}/rte_icons/align_left.png' alt='{$this->lang->words['js_tt_left']}' /></span>
					</li>
					<li class='right sep'>
						<span id='{$editor_id}_cmd_indent' class='rte_control rte_button' title='{$this->lang->words['js_tt_indent']}'><img src='{$this->settings['img_url']}/rte_icons/indent.png' alt='{$this->lang->words['js_tt_indent']}' /></span>
					</li>
					<li class='right'>
						<span id='{$editor_id}_cmd_outdent' class='rte_control rte_button' title='{$this->lang->words['js_tt_outdent']}'><img src='{$this->settings['img_url']}/rte_icons/outdent.png' alt='{$this->lang->words['js_tt_outdent']}' /></span>
					</li>
				</if>
			</ul>
		</div>
		<div id='{$editor_id}_wrap' class='editor'>
			<textarea name="{$field}" class="input_rte" id="{$editor_id}_textarea" rows="10" cols="60" tabindex="0">{$content}</textarea>
		</div>
		<div id='{$editor_id}_resizer' class='resizer'>
			<ul id='{$editor_id}_toolbar_3' class='toolbar'>
				<li class='right'>
					<span id='{$editor_id}_cmd_r_small' class='rte_control rte_button' title='{$this->lang->words['js_tt_resizesmall']}'><img src='{$this->settings['img_url']}/rte_icons/resize_small.png' alt='{$this->lang->words['js_tt_resizesmall']}' /></span>
				</li>
				<li class='right'>
					<span id='{$editor_id}_cmd_r_big' class='rte_control rte_button' title='{$this->lang->words['js_tt_resizebig']}'><img src='{$this->settings['img_url']}/rte_icons/resize_big.png' alt='{$this->lang->words['js_tt_resizebig']}' /></span>
				</li>
			</ul>
		</div>
	</div>
	<script type='text/javascript'>
		if( $( '{$editor_id}_toolbar_1' ) ){ $( '{$editor_id}_toolbar_1' ).show(); }
		if( $( '{$editor_id}_toolbar_2' ) ){ $( '{$editor_id}_toolbar_2' ).show(); }
	</script>]]></template_content>
      <template_name>editorShell</template_name>
      <template_data><![CDATA[$editor_id, $field='Post', $content='', $no_sidebar=1, $lightweight=0]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_editors</template_group>
      <template_content><![CDATA[<!-- RTE ON: $rte_mode -->
{parse js_module="editor"}
<!--top-->
<input type='hidden' name='{$editor_id}_wysiwyg_used' id='{$editor_id}_wysiwyg_used' value='0' />
<input type='hidden' name='editor_ids[]' value='{$editor_id}' />
<div class='ips_editor' id='editor_{$editor_id}'>
	<div class='sidebar row1 altrow' style='display: none'></div>
	<div id='{$editor_id}_controls' class='controls'>
		<ul id='{$editor_id}_toolbar_1' class='toolbar' style='display: none'>
			<li class='left'>
				<span id='{$editor_id}_cmd_removeformat' class='rte_control rte_button' title='{$this->lang->words['js_tt_noformat']}'><img src='{$this->settings['img_url']}/rte_icons/remove_formatting.png' alt='{$this->lang->words['js_tt_noformat']}' /></span>
			</li>
			<li class='left'>
				<span id='{$editor_id}_cmd_togglesource' class='rte_control rte_button' title='{$this->lang->words['js_tt_htmlsource']}'><img src='{$this->settings['img_url']}/rte_icons/toggle_source.png' alt='{$this->lang->words['js_tt_htmlsource']}' /></span>
			</li>
			<li class='left'>
				<span id='{$editor_id}_cmd_otherstyles' class='rte_control rte_menu rte_special' title='{$this->lang->words['box_other_desc']}' style='display: none'>{$this->lang->words['box_other']}</span>
			</li>
			<li class='left'>
				<span id='{$editor_id}_cmd_fontname' class='rte_control rte_menu rte_font' title='{$this->lang->words['box_font_desc']}'>{$this->lang->words['box_font']}</span>
			</li>
			<li class='left'>
				<span id='{$editor_id}_cmd_fontsize' class='rte_control rte_menu rte_fontsize' title='{$this->lang->words['box_size_desc']}'>{$this->lang->words['box_size']}</span>
			</li>
			<li class='left'>
				<span id='{$editor_id}_cmd_forecolor' class='rte_control rte_palette' title='{$this->lang->words['js_tt_font_col']}'><img src='{$this->settings['img_url']}/rte_icons/font_color.png' alt='{$this->lang->words['js_tt_font_col']}' /></span>
			</li>
			<!--<li class='left'>
				<span id='{$editor_id}_cmd_backcolor' class='rte_control rte_palette' title='{$this->lang->words['js_tt_back_col']}'><img src='{$this->settings['img_url']}/rte_icons/background_color.png' alt='{$this->lang->words['js_tt_back_col']}' /></span>
			</li>-->
			<li class='right'>
				<span id='{$editor_id}_cmd_spellcheck' class='rte_control rte_button' title='{$this->lang->words['js_tt_spellcheck']}'><img src='{$this->settings['img_url']}/rte_icons/spellcheck.png' alt='{$this->lang->words['js_tt_spellcheck']}' /></span>
			</li>
			<li class='right'>
				<span id='{$editor_id}_cmd_help' class='rte_control rte_button' title='{$this->lang->words['js_tt_help']}'><a href='{parse url="app=forums&amp;module=extras&amp;section=legends&amp;do=bbcode" base="public"}' title='{$this->lang->words['js_tt_help']}'><img src='{$this->settings['img_url']}/rte_icons/help.png' alt='{$this->lang->words['js_tt_help']}' /></a></span>
			</li>
			
			<li class='right sep'>
				<span id='{$editor_id}_cmd_undo' class='rte_control rte_button' title='{$this->lang->words['js_tt_undo']}'><img src='{$this->settings['img_url']}/rte_icons/undo.png' alt='{$this->lang->words['js_tt_undo']}' /></span>
			</li>
			<li class='right'>
				<span id='{$editor_id}_cmd_redo' class='rte_control rte_button' title='{$this->lang->words['js_tt_redo']}'><img src='{$this->settings['img_url']}/rte_icons/redo.png' alt='{$this->lang->words['js_tt_redo']}' /></span>
			</li>
			
		<if test="allowrte:|:$this->settings['posting_allow_rte'] == 1">
			<li class='right'>
				<!--<span id='{$editor_id}_cmd_switcheditor' class='rte_control rte_button' title='{$this->lang->words['js_tt_switcheditor']}'><img src='{$this->settings['img_url']}/rte_icons/switch.png' alt='{$this->lang->words['js_tt_switcheditor']}' /></span>-->
			</li>
		</if>
		</ul>
		<ul id='{$editor_id}_toolbar_2' class='toolbar' style='display: none'>
			<li>
				<span id='{$editor_id}_cmd_bold' class='rte_control rte_button' title='{$this->lang->words['js_tt_bold']}'><img src='{$this->settings['img_url']}/rte_icons/bold.png' alt='{$this->lang->words['js_tt_bold']}' /></span>
			</li>
			<li>
				<span id='{$editor_id}_cmd_italic' class='rte_control rte_button' title='{$this->lang->words['js_tt_italic']}'><img src='{$this->settings['img_url']}/rte_icons/italic.png' alt='{$this->lang->words['js_tt_italic']}' /></span>
			</li>
			<li>
				<span id='{$editor_id}_cmd_underline' class='rte_control rte_button' title='{$this->lang->words['js_tt_underline']}'><img src='{$this->settings['img_url']}/rte_icons/underline.png' alt='{$this->lang->words['js_tt_underline']}' /></span>
			</li>
			<li class='sep'>
				<span id='{$editor_id}_cmd_strikethrough' class='rte_control rte_button' title='{$this->lang->words['js_tt_strike']}'><img src='{$this->settings['img_url']}/rte_icons/strike.png' alt='{$this->lang->words['js_tt_strike']}' /></span>
			</li>
			<li>
				<span id='{$editor_id}_cmd_subscript' class='rte_control rte_button' title='{$this->lang->words['js_tt_sub']}'><img src='{$this->settings['img_url']}/rte_icons/subscript.png' alt='{$this->lang->words['js_tt_sub']}' /></span>
			</li>
			<li class='sep'>
				<span id='{$editor_id}_cmd_superscript' class='rte_control rte_button' title='{$this->lang->words['js_tt_sup']}'><img src='{$this->settings['img_url']}/rte_icons/superscript.png' alt='{$this->lang->words['js_tt_sup']}' /></span>
			</li>
			<li>
				<span id='{$editor_id}_cmd_insertunorderedlist' class='rte_control rte_button' title='{$this->lang->words['js_tt_list']}'><img src='{$this->settings['img_url']}/rte_icons/unordered_list.png' alt='{$this->lang->words['js_tt_list']}' /></span>
			</li>
			<li class='sep'>
				<span id='{$editor_id}_cmd_insertorderedlist' class='rte_control rte_button' title='{$this->lang->words['js_tt_list']}'><img src='{$this->settings['img_url']}/rte_icons/ordered_list.png' alt='{$this->lang->words['js_tt_list']}' /></span>
			</li>			
		<if test="removeemoticons:|:$this->settings['_remove_emoticons'] == 0">
			<li>
				<span id='{$editor_id}_cmd_emoticons' class='rte_control rte_palette' title='{$this->lang->words['js_tt_emoticons']}'><img src='{$this->settings['img_url']}/rte_icons/emoticons.png' alt='{$this->lang->words['js_tt_emoticons']}' /></span>
			</li>
		</if>
			<li>
				<span id='{$editor_id}_cmd_link' class='rte_control rte_palette' title='{$this->lang->words['js_tt_link']}'><img src='{$this->settings['img_url']}/rte_icons/link.png' alt='{$this->lang->words['js_tt_link']}' /></span>
			</li>
			<li>
				<span id='{$editor_id}_cmd_image' class='rte_control rte_palette' title='{$this->lang->words['js_tt_image']}'><img src='{$this->settings['img_url']}/rte_icons/picture.png' alt='{$this->lang->words['js_tt_image']}' /></span>
			</li>
			<li>
				<span id='{$editor_id}_cmd_email' class='rte_control rte_palette' title='{$this->lang->words['js_tt_email']}'><img src='{$this->settings['img_url']}/rte_icons/email.png' alt='{$this->lang->words['js_tt_email']}' /></span>
			</li>
			<li>
				<span id='{$editor_id}_cmd_ipb_quote' class='rte_control rte_button' title='{$this->lang->words['js_tt_quote']}'><img src='{$this->settings['img_url']}/rte_icons/quote.png' alt='{$this->lang->words['js_tt_quote']}' /></span>
			</li>
			<li>
				<span id='{$editor_id}_cmd_ipb_code' class='rte_control rte_button' title='{$this->lang->words['js_tt_code']}'><img src='{$this->settings['img_url']}/rte_icons/code.png' alt='{$this->lang->words['js_tt_code']}' /></span>
			</li>
			<li>
				<span id='{$editor_id}_cmd_media' class='rte_control rte_palette' title='{$this->lang->words['js_tt_media']}'><img src='{$this->settings['img_url']}/rte_icons/media.png' alt='{$this->lang->words['js_tt_media']}' /></span>
			</li>
			<li class='right'>
				<span id='{$editor_id}_cmd_justifyright' class='rte_control rte_button' title='{$this->lang->words['js_tt_right']}'><img src='{$this->settings['img_url']}/rte_icons/align_right.png' alt='{$this->lang->words['js_tt_right']}' /></span>
			</li>
			<li class='right'>
				<span id='{$editor_id}_cmd_justifycenter' class='rte_control rte_button' title='{$this->lang->words['js_tt_center']}'><img src='{$this->settings['img_url']}/rte_icons/align_center.png' alt='{$this->lang->words['js_tt_center']}' /></span>
			</li>
			<li class='right'>
				<span id='{$editor_id}_cmd_justifyleft' class='rte_control rte_button' title='{$this->lang->words['js_tt_left']}'><img src='{$this->settings['img_url']}/rte_icons/align_left.png' alt='{$this->lang->words['js_tt_left']}' /></span>
			</li>
			<li class='right sep'>
				<span id='{$editor_id}_cmd_indent' class='rte_control rte_button' title='{$this->lang->words['js_tt_indent']}'><img src='{$this->settings['img_url']}/rte_icons/indent.png' alt='{$this->lang->words['js_tt_indent']}' /></span>
			</li>
			<li class='right'>
				<span id='{$editor_id}_cmd_outdent' class='rte_control rte_button' title='{$this->lang->words['js_tt_outdent']}'><img src='{$this->settings['img_url']}/rte_icons/outdent.png' alt='{$this->lang->words['js_tt_outdent']}' /></span>
			</li>
		</ul>
	</div>
	<div id='{$editor_id}_wrap' class='editor'>
		<textarea name="{$form_field}" class="input_rte" id="{$editor_id}_textarea" rows="10" cols="60" tabindex="0">{$initial_content}</textarea>
	</div>
	<div id='{$editor_id}_resizer' class='resizer'>
		<ul id='{$editor_id}_toolbar_3' class='toolbar'>
			<li class='right'>
				<span id='{$editor_id}_cmd_r_small' class='rte_control rte_button' title='{$this->lang->words['js_tt_resizesmall']}'><img src='{$this->settings['img_url']}/rte_icons/resize_small.png' alt='{$this->lang->words['js_tt_resizesmall']}' /></span>
			</li>
			<li class='right'>
				<span id='{$editor_id}_cmd_r_big' class='rte_control rte_button' title='{$this->lang->words['js_tt_resizebig']}'><img src='{$this->settings['img_url']}/rte_icons/resize_big.png' alt='{$this->lang->words['js_tt_resizebig']}' /></span>
			</li>
		</ul>
	</div>
</div>
	
	
<!-- Toolpanes -->
<script type="text/javascript">
//<!#^#|CDATA|
$('{$editor_id}_toolbar_1').show();
$('{$editor_id}_toolbar_2').show();
// Rikki: Had to remove <form>... </form> because Opera would see </form> and not pass the topic icons / hidden fields properly. Tried "</" + "form>" but when it is parsed, it had the same affect
ipb.editor_values.get('templates')['link'] = new Template("<label for='#{id}_url'>{$this->lang->words['js_template_url']}</label><input type='text' class='input_text' id='#{id}_url' value='http://' tabindex='10' /><label for='#{id}_urltext'>{$this->lang->words['js_template_link']}</label><input type='text' class='input_text _select' id='#{id}_urltext' value='{$this->lang->words['js_template_default']}' tabindex='11' /><input type='submit' class='input_submit' value='{$this->lang->words['js_template_insert_link']}' tabindex='12' />");
ipb.editor_values.get('templates')['image'] = new Template("<label for='#{id}_img'>{$this->lang->words['js_template_imageurl']}</label><input type='text' class='input_text' id='#{id}_img' value='http://' tabindex='10' /><input type='submit' class='input_submit' value='{$this->lang->words['js_template_insert_img']}' tabindex='11' />");
ipb.editor_values.get('templates')['email'] = new Template("<label for='#{id}_email'>{$this->lang->words['js_template_email_url']}</label><input type='text' class='input_text' id='#{id}_email' tabindex='10' /><label for='#{id}_emailtext'>{$this->lang->words['js_template_link']}</label><input type='text' class='input_text _select' id='#{id}_emailtext' value='{$this->lang->words['js_template_email_me']}' tabindex='11' /><input type='submit' class='input_submit' value='{$this->lang->words['js_template_insert_email']}' tabindex='12' />");
ipb.editor_values.get('templates')['media'] = new Template("<label for='#{id}_media'>{$this->lang->words['js_template_media_url']}</label><input type='text' class='input_text' id='#{id}_media' value='http://' tabindex='10' /><input type='submit' class='input_submit' value='{$this->lang->words['js_template_insert_media']}' tabindex='11' />");
ipb.editor_values.get('templates')['generic'] = new Template("<div class='rte_title'>#{title}</div><strong>{$this->lang->words['js_template_example']}</strong><pre>#{example}</pre><label for='#{id}_option' class='optional'>#{option_text}</label><input type='text' class='input_text optional' id='#{id}_option' tabindex='10' /><label for='#{id}_text' class='tagcontent'>#{value_text}</label><input type='text' class='input_text _select tagcontent' id='#{id}_text' tabindex='11' /><input type='submit' class='input_submit' value='{$this->lang->words['js_template_add']}' tabindex='12' />");
ipb.editor_values.get('templates')['toolbar'] = new Template("<ul id='#{id}_toolbar_#{toolbarid}' class='toolbar' style='display: none'>#{content}</ul>");
ipb.editor_values.get('templates')['button'] = new Template("<li><span id='#{id}_cmd_custom_#{cmd}' class='rte_control rte_button specialitem' title='#{title}'><img src='{$this->settings['img_url']}/rte_icons/#{img}' alt='{$this->lang->words['icon']}' /></span></li>");
ipb.editor_values.get('templates')['menu_item'] = new Template("<li id='#{id}_cmd_custom_#{cmd}' class='specialitem clickable'>#{title}</li>");
ipb.editor_values.get('templates')['togglesource'] = new Template("<fieldset id='#{id}_ts_controls' class='submit' style='text-align: left'><input type='button' class='input_submit' value='{$this->lang->words['js_template_update']}' id='#{id}_ts_update' />&nbsp;&nbsp;&nbsp; <a href='#' id='#{id}_ts_cancel' class='cancel'>{$this->lang->words['js_template_cancel_source']}</a></fieldset>");
ipb.editor_values.get('templates')['emoticons_showall'] = new Template("<input class='input_submit emoticons' type='button' id='#{id}_all_emoticons' value='{$this->lang->words['show_all_emoticons']}' />");
ipb.editor_values.get('templates')['emoticon_wrapper'] = new Template("<h4><span>{$this->lang->words['emoticons_template_title']}</span></h4><div id='#{id}_emoticon_holder' class='emoticon_holder'></div>");
// Add smilies into the mix
ipb.editor_values.set( 'show_emoticon_link', <if test="$allow_sidebar">true<else />false</if> );
ipb.editor_values.set( 'emoticons', \$H({ $smilies }) );
ipb.editor_values.set( 'bbcodes', \$H({IPSLib::fetchBbcodeAsJson()}) );
ipb.vars['emoticon_url'] = "{$this->settings['emoticons_url']}";
ipb.editors[ '{$editor_id}' ] = new ipb.editor( '{$editor_id}', USE_RTE );
//|#^#]>
</script>]]></template_content>
      <template_name>ips_editor</template_name>
      <template_data><![CDATA[$form_field="",$initial_content="",$images_path="",$rte_mode=0,$editor_id='ed-0',$smilies='',$allow_sidebar=1]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
  </templategroup>
  <templategroup group="skin_emails">
    <template>
      <template_group>skin_emails</template_group>
      <template_content><![CDATA[<h2>{$title}</h2>
<div class='row1 general_box rules'>
	{$body}
</div>]]></template_content>
      <template_name>boardRules</template_name>
      <template_data><![CDATA[$title="",$body=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_emails</template_group>
      <template_content><![CDATA[<p class='message error'>
	{$data}
</p>
<br />]]></template_content>
      <template_name>errors</template_name>
      <template_data><![CDATA[$data=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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='k' value='{$this->member->form_hash}' />
	
	<p class='message'>{$this->lang->words['email_friend']}</p><br />
	
	<h2 class='maintitle'>{$this->lang->words['title']}</h2>
	<div class='generic_bar'></div>
	<div class='post_form'>
		<fieldset>
			<h3 class='bar'>{$this->lang->words['email_recepient']}</h3>
			<ul>
				<li class='field'>
					<label for='to_lang'>{$this->lang->words['send_lang']}</label>
					<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>
				</li>
				<li class='field'>
					<label for='to_name'>{$this->lang->words['to_name']}</label>
					<input type="text" id='to_name' class='input_text' name="to_name" value="" size="30" maxlength="100" />
				</li>
				<li class='field'>
					<label for='to_email'>{$this->lang->words['to_email']}</label>
					<input type="text" id='to_email' class='input_text' name="to_email" value="" size="30" maxlength="100" />
				</li>
				<li class='field'> 
					<label for='subject'>{$this->lang->words['subject']}</label>
					<input type="text" id="subject" class="input_text" name="subject" value="{$title}" size="30" maxlength="120" />
				</li> 				
				<li class='field'>
					<label for='to_message'>{$this->lang->words['message']}</label>
					<textarea id='to_message' cols="60" rows="12" wrap="soft" name="message" class="input_text">{$text}</textarea>
				</li>
			</ul>
		</fieldset>
		<fieldset class='submit'>
			<input class='input_submit' type="submit" value="{$this->lang->words['submit_send']}" /> {$this->lang->words['or']} <a href='{parse url="showtopic={$this->request['t']}" base="public"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
		</fieldset>
	</div>
</form>]]></template_content>
      <template_name>forward_form</template_name>
      <template_data><![CDATA[$title="",$text="",$lang=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_emails</template_group>
      <template_content><![CDATA[<form action="{parse url="app=members&module=messaging&section=contact&do=01" base="public"}" method="post" id="REPLIER">
	<input type="hidden" name="to" value="{$data['TO']}" />
	<input type='hidden' name='k' value='{$this->member->form_hash}' />
	
	<p class='message unspecific'>{$this->lang->words['imp_text']}</p><br />
	
	<h2 class='maintitle'>{$this->lang->words['emailing_prefix']} {$data['NAME']}</h2>	
	<div class='generic_bar'></div>
	<div class='post_form'>
		<fieldset class='row1'>
			<h3 class='bar'>{$this->lang->words['email_details']}</h3>
			<ul>
				<li class='field'>
					<label for='subject'>{$this->lang->words['subject']}</label>
					<input type="text" name="subject" id='subject' class='input_text' value="{$data['subject']}" size="50" maxlength="50" />
				</li>
				<li class='field'>
					<label for='message'>{$this->lang->words['message']}</label>
					<textarea cols="60" rows="8" wrap="soft" name="message" class="input_text" id='message'>{$data['content']}</textarea><br />
					<span class='desc'>{$this->lang->words['msg_txt']}</span>
				</li>
			</ul>
		</fieldset>
		<fieldset class='submit'>
			<input class='input_submit' type="submit" value="{$this->lang->words['submit_send']}" /> {$this->lang->words['or']} <a href='{parse url="showuser={$data['TO']}" base="public"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
		</fieldset>
	</div>
</form>]]></template_content>
      <template_name>sendMailForm</template_name>
      <template_data><![CDATA[$data=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_emails</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['email_sent']}</h2>
<p class='message unspecific'>{$this->lang->words['email_sent_txt']} {$member_name}.</p>]]></template_content>
      <template_name>sentScreen</template_name>
      <template_data><![CDATA[$member_name=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_emails</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['send_email_to']} {$data['NAME']}</h2>
<div class='general_box'>
	{$this->lang->words['show_address_text']}
	<br />
	<strong><a href="mailto:{$data['ADDRESS']}" class="misc">{$this->lang->words['send_email_to']} {$data['NAME']}</a></strong>
</div>]]></template_content>
      <template_name>show_address</template_name>
      <template_data><![CDATA[$data=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
  </templategroup>
  <templategroup group="skin_global">
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<a href='{parse url="act=idx" seotitle="false" base="public"}' title='{$this->lang->words['go_home']}' rel="home" accesskey='1'><img src='{parse replacement="logo_img"}' alt='{$this->lang->words['logo']}' /></a>]]></template_content>
      <template_name>defaultHeader</template_name>
      <template_data/>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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"> 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' />
		<script type='text/javascript'>
			jsDebug = {parse expression="intval($this->settings['_jsDebug'])"}; /* Must come before JS includes */
			USE_RTE = <if test="userte:|:$this->memberData['members_editor_choice'] == 'rte' && $this->memberData['_canUseRTE'] === TRUE">1<else />0</if>;
			inACP   = false;
		</script>
		{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="includeJS" group="global" params="$jsModules"}
		{parse template="includeFeeds" group="global" params="$documentHeadItems"}
		{parse template="includeRTL" group="global" params=""}		
		{parse template="includeVars" group="global" params=""}
		<script type='text/javascript'>
			Loader.boot();
		</script>
	</head>
	<body id='ipboard_body'>
		<div id='ipbwrapper'>
			<h1>{$this->settings['board_name']}: {$header_items['title']}</h1>
			<p id='content_jump'><a id='top'></a><a href='#j_content' title='{$this->lang->words['jump_to_content']}' accesskey='m'>{$this->lang->words['jump_to_content']}</a></p>
		
			<if test="accessreports:|:($this->memberData['g_is_supmod'] == 1 OR ( isset( $this->memberData['access_report_center'] ) AND $this->memberData['access_report_center'] ) )">
				<div id='admin_bar'>
					<if test="showacplink:|:$this->memberData['g_access_cp'] == 1 AND $this->settings['security_remove_acp_link'] == 0">
					<p class='right'>
						<a href="{$this->settings['_admin_link']}" title='{$this->lang->words['admin_cp']}'>{$this->lang->words['login_to_acp']} &gt;</a>
					</p>
					</if>
					<strong>{$this->lang->words['mod_tools']}</strong> 
					<ul id='mod_tools'>
						<if test="issupermod:|:$this->memberData['g_is_supmod'] == 1">
							<li><a href='{parse url="app=core&amp;module=usercp&amp;tab=members&amp;area=mod_ipaddress" base="public"}' title='{$this->lang->words['ip_lookup']}'>{$this->lang->words['ip_lookup']}</a></li>
							<li><a href='{parse url="app=core&amp;module=usercp&amp;tab=forums&amp;area=modAddAnnouncement&amp;do=add" base="public"}' title='{$this->lang->words['post_announcement']}'>{$this->lang->words['post_announcement']}</a></li>
						</if>
						<if test="rclink:|:$this->memberData['access_report_center']">
							<li <if test="numreports:|:$this->memberData['_cache']['report_num'] > 0">class='active'</if>><a href="{parse url="app=core&amp;module=reports&amp;do=index" base="public"}" title='{$this->lang->words['view_reports']}'>{$this->memberData['_cache']['report_num']} {$this->lang->words['report_member_bar']}</a></li>
						</if>
					</ul>
				</div>
			</if>
			<div id='header'>
				<div id='branding'>
					<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>
						
				<if test="memberbox:|:$this->memberData['member_id']">
					<div id='user_navigation' class='logged_in'>
						<a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}'><img src='{$this->memberData['pp_thumb_photo']}' alt="{$this->memberData['members_display_name']}{$this->lang->words['users_photo']}" width='{$this->memberData['pp_thumb_width']}' height='{$this->memberData['pp_thumb_height']}' class='photo' /></a>
						<div id='user_info'>
							<p>
								<span class='hide'>{$this->lang->words['logged_in_as']} </span>
								<a id='user_link' class='ipbmenu' href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}"  title='{$this->lang->words['your_profile']}'>{$this->memberData['members_display_name']} <img src='{$this->settings['img_url']}/opts_arrow.png' alt='&gt;' /></a><if test="newmessages:|:$this->memberData['msg_count_new'] != 0"><a href='{parse url="app=members&amp;module=messaging" base="public"}' id='new_msg_count' title='{$this->memberData['msg_count_new']} {$this->lang->words['msg_new']}'>{$this->memberData['msg_count_new']}<span class='hide'> {$this->lang->words['msg_new']}</span></a></if>
							</p>
							<ul id='user_link_menucontent'>
								<li id='user_profile'><a href='{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}' title='{$this->lang->words['your_profile']}'>{$this->lang->words['my_profile']}</a></li>
								<li id='user_ucp'><a href="{parse url="app=core&amp;module=usercp" base="public"}" title="{$this->lang->words['cp_tool_tip']}">{$this->lang->words['your_cp']}</a></li>
								<if test="messengerlink:|:$this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0">
									<li id='user_msg'><a href='{parse url="app=members&amp;module=messaging" base="public"}' title='{$this->lang->words['your_messenger']}'>{$this->lang->words['your_messenger']} <span id='new_message'>({$this->memberData['msg_count_new']} {$this->lang->words['msg_new']})</span></a></li>
								</if>
								<li id='user_friends'><a href='{parse url="app=members&amp;module=profile&amp;section=friends&amp;do=list" base="public"}' title="{$this->lang->words['manage_friends']}" class='manage_friends'>{$this->lang->words['manage_friends']}</a></li>
								<li id='user_enemies'><a href='{parse url="app=core&amp;module=usercp&amp;tab=members&amp;area=ignoredusers" base="public"}' title="{$this->lang->words['manage_ignored_users']}" class='manage_enemies'>{$this->lang->words['manage_ignored_users']}</a></li>
								<if test="bloglink:|:$this->memberData['has_blog'] AND IPSLib::appIsInstalled( 'blog' )">
									<li id='user_blog'><a href='{parse url="app=blog&amp;module=display&amp;section=blog&amp;mid={$this->memberData['member_id']}" base="public"}' title="{$this->lang->words['go_to_my_blog']}">{$this->lang->words['my_blog']}</a></li>
								</if>
								<if test="gallerylink:|:$this->memberData['has_gallery'] AND IPSLib::appIsInstalled( 'gallery' )">
									<li id='user_gallery'><a href='{parse url="app=gallery&amp;module=user&amp;section=user&amp;user={$this->memberData['member_id']}" base="public"}' title="{$this->lang->words['go_to_my_gallery']}">{$this->lang->words['my_gallery']}</a></li>
								</if>
							</ul>
							<ul id='user_other'>
								<li><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']}</a></li>
								<li><a href="{parse url="app=core&amp;module=help" base="public"}" title='{$this->lang->words['view_help']}' rel="help" accesskey='6'>{$this->lang->words['sj_help']}</a></li>
								<if test="authenticating:|:$this->memberData['member_group_id'] == $this->settings['auth_group']">
									<li><strong><a href="{parse url="app=core&amp;module=global&amp;section=register&amp;do=reval" base="public"}" title='{$this->lang->words['resend_val']}'>{$this->lang->words['resend_val']}</a></strong></li>
								</if>
							</ul>
							<script type='text/javascript'>
								if( $('user_link_menucontent') ){
									$('user_link_menucontent').hide();
								}
							</script>
							{parse js_module="friends"}
						</div>
					</div>
				<else />
					<div id='user_navigation' class='not_logged_in'>
						<a href='{parse url="app=core&amp;module=global&amp;section=login" base="public"}' title='{$this->lang->words['sign_in']}'>{parse replacement="signin_icon"} {$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']}'>{parse replacement="register_icon"} {$this->lang->words['register']}</a>
						<a href="{parse url="app=core&amp;module=help" base="public"}" title='{$this->lang->words['view_help']}' rel="help" accesskey='6'>{parse replacement="help_icon"} {$this->lang->words['sj_help']}</a>
					</div>
				
				</if>
			
				<div id='primary_nav'>
					<div id='search'>
						<if test="quicksearchform:|:! in_array( $this->settings['search_method'], array( 'traditional', 'sphinx' ) )">
						<form action="{parse url="app=core&amp;module=search&amp;do=quick_search&amp;search_filter_app[all]=1" base="public"}" method="post" id='search-box' >
						<else />
						<form action="{parse url="app=core&amp;module=search&amp;do=quick_search&amp;search_filter_app[<if test="searchfilterapp:|:! empty($this->request['search_app'])">{$this->request['search_app']}<else /><if test="searchfiltercurrentapp:|:IPSSearchIndex::appIsSearchable( $this->registry->getCurrentApplication() )">{$this->registry->getCurrentApplication()}<else />forums</if></if>]=1" base="public"}" method="post" id='search-box' >
						</if>
							<fieldset>
							
								<label for='main_search' class='hide'>{$this->lang->words['sj_search']}</label>
								<input type='text' id='main_search' name='search_term' class='text_input' size='17' tabindex='6' />
								<input type='submit' class='submit_input' 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'>{$this->lang->words['advanced']}</a>
							</fieldset>
						</form>
					</div>
					<ul>
						<if test="showhomeurl:|:$this->settings['home_url']">
							<li id='nav_home' class='left'><a href='{$this->settings['home_url']}' title='{$this->lang->words['homepage_title']}' rel="home">{$this->settings['home_name']}</a></li>
						</if>
						{parse variable="forumActive" default="" oncondition="IPS_APP_COMPONENT == 'forums'" value="active"}
						{parse variable="membersActive" default="" oncondition="IPS_APP_COMPONENT == 'members'" value="active"}
						{parse variable="helpActive" default="" oncondition="IPS_APP_COMPONENT == 'core' AND $this->request['module'] == 'help'" value="active"}
						<li id='nav_discussion' class='left {parse variable="forumActive"}'><a href='{parse url="act=idx" seotitle="false" base="public"}' title='{$this->lang->words['go_to_discussion']}'>{$this->lang->words['discussion']}</a></li>
						<li id='nav_members' class='left {parse variable="membersActive"}'><a href='{parse url="app=members&amp;section=view&amp;module=list" base="public"}' title='{$this->lang->words['go_to_memberlist']}'>{$this->lang->words['tb_mlist']}</a></li>
						<if test="applicationsloop:|:is_array($header_items['applications']) AND count($header_items['applications'])">
							<foreach loop="applications:$header_items['applications'] as $data">
								<if test="showingapp:|:$data['app_show']">
									{parse variable="appActive" default="" oncondition="$data['app_active']" value="active"}
									<li id='nav_app_{$data['app_dir']}' class="left {parse variable="appActive"}"><a href='{parse url="app={$data['app_dir']}" seotitle="false" base="public"}' title='{$this->lang->words['go_to_prefix']}{IPSLib::getAppTitle( $data['app_dir'] )}'>{IPSLib::getAppTitle( $data['app_dir'] )}</a></li>
								</if>
							</foreach>
						</if>
					</ul>
				</div>
				<if test="pmbox:|:is_array( $items['pmData'] )">
					<div id='pm_notification'>
						<div id='pm_wrap'>
							<img src='{$items['pmData']['authorData']['pp_thumb_photo']}' alt="{$items['pmData']['authorData']['members_display_name']}{$this->lang->words['users_photo']}" width='{$items['pmData']['authorData']['pp_thumb_width']}' height='{$items['pmData']['authorData']['pp_thumb_height']}' class='photo' />
							<h2>{$items['pmData']['authorData']['members_display_name']} <if test="newpm:|:$items['pmData']['_type'] == 'new'">{$this->lang->words['sent_new_convo']}<else />{$this->lang->words['replied_convo']}</if></h2>
							<p>
								<strong>{$this->lang->words['pc_subject']}</strong> {$items['pmData']['mt_title']}<br />
								<strong>{$this->lang->words['pc_replies']}</strong> {parse expression="intval( $items['pmData']['mt_replies'] )"}<br />
								<strong>{$this->lang->words['pc_sent']}</strong> {parse date="$items['pmData']['msg_date']" format="short"}
							</p>
							<p class='excerpt'>
								{$items['pmData']['msg_post']}
							</p>
							<br />
							<ul class='topic_buttons ok_thanks'>
								<li><a href='#j_content' id='close_pm_notification'><img src='{$this->settings['img_url']}/cross.png' alt='{$this->lang->words['icon']}' /> {$this->lang->words['ignore_conversation']}</a></li>
								<li><a href='{parse url="app=members&amp;module=messaging&amp;section=view&amp;do=findMessage&amp;topicID={$items['pmData']['mt_id']}&amp;msgID=__firstUnread__" base="public"}'><img src='{$this->settings['img_url']}/email.png' alt='{$this->lang->words['icon']}' /> {$this->lang->words['global_pm_read']}</a></li>
							</ul>
						</div>
					</div>
					<script type='text/javascript'>
						$('pm_notification').hide();
					</script>
				</if>
			
				<div id='secondary_nav'>
					<ul id='breadcrumb' class='left'>
						<php>$this->did_first = 0;</php>
						<if test="switchnavigation:|:!$this->settings['remove_forums_nav'] OR ipsRegistry::$current_application == 'forums'">
							<li class='first'><a href='{parse url="act=idx" seotitle="false" base="public"}'>{$this->settings['board_name']}</a></li>
							<if test="didfirstnav:|:$this->did_first=1"></if>
						</if>
						<foreach loop="navigation:$items['navigation'] as $idx => $data">
							<li<if test="notdonefirstapp:|:!$this->did_first"> class='first'</if>><if test="didfirstappnow:|:$this->did_first"><span class='nav_sep'>&gt;</span></if> <if test="navigationlink:|:$data[1]"><a href='{parse url="{$data[1]}" base="public" seotitle="$data[2]" template="$data[3]"}' title='{$this->lang->words['nav_return_to']}{$data[0]}'></if>{$data[0]}<if test="closenavigationlink:|:$data[1]"></a></if></li>
							<if test="forsuredidfirstnav:|:$this->did_first=1"></if>
						</foreach>
					</ul>
					<ul id='section_links' class='right'>
						<if test="siteruleslink:|:$this->settings['gl_show'] and $this->settings['gl_title']">
						<li><a href='<if test="ruleslink:|:$this->settings['gl_link']">{$this->settings['gl_link']}<else />{parse url="app=forums&amp;module=extras&amp;section=boardrules" base="public"}</if>'><if test="siterulestitle:|:$this->settings['gl_title']">{$this->settings['gl_title']}<else />{$this->lang->words['board_rules']}</if></a></li>
						</if>
						<li><a href='{parse url="app=core&amp;module=search&amp;do=new_posts&amp;search_filter_app[<if test="viewnewcontentapp:|:$this->registry->getCurrentApplication() != 'core' AND IPSSearchIndex::appIsSearchable( $this->registry->getCurrentApplication() )">{$this->registry->getCurrentApplication()}<else />forums</if>]=1" base="public"}' accesskey='2'>{$this->lang->words['view_new_posts']}</a></li>
						<li><img src='{$this->settings['img_url']}/feed.png' alt='{$this->lang->words['rss_feed']}' id='rss_feed' class='clickable' /></li>
					</ul>
				</div>
			</div>
			<div id='content' class='clear'>
				<a id='j_content'></a>
				<if test="mainpageContent:|:$html">{$html}</if>
				<br class='clear' />
			</div>
			<div id='footer_utilities' class='clearfix clear rounded'>
				<h2 class='hide'>{$this->lang->words['skin_and_lang']}</h2>
				<if test="skinchanger:|:$this->settings['allow_skins'] AND $footer_items['skin_chooser']">
					<if test="uagentlocked:|:$this->memberData['userAgentLocked'] AND ! $this->memberData['userAgentBypass']">
						<p id='useragent_msg'>
							{$this->lang->words['skin_browser_set']} <a href='{parse url="{$this->settings['query_string_formatted']}&amp;unlockUserAgent=1" base="public"}'>{$this->lang->words['override_browser_theme']}</a>
						</p>
					<else />
						<form action="{parse url="{$this->settings['query_string_formatted']}" base="public"}" method="post" class='left'>
							<fieldset>
								<input type='hidden' name='k' value='{$this->member->form_hash}' />
								<label for='newSkin' class='hide'>{$this->lang->words['theme_prefix']}</label>
								<select name="settingNewSkin" id='newSkin'>
									{$footer_items['skin_chooser']}
								</select>
								<input type='submit' value='{$this->lang->words['jmp_go']}' class='input_submit alt' id='newSkinSubmit' />
							</fieldset>
						</form>
					</if>
				</if>
				<form action="{parse url="{$this->settings['query_string_formatted']}" base="public"}" method="post" class='left'>
					<fieldset>
						<input type='hidden' name='k' value='{$this->member->form_hash}' />
						<input type='hidden' name='setlanguage' value='1' />
						<input type="hidden" name="langurlbits" value="{$this->settings['query_string_safe']}&amp;cal_id={$this->request['cal_id']}" />
						<label for='newLang' class='hide'>{$this->lang->words['language_prefix']}</label>
						<select name="langid" id='newLang'>
								{$footer_items['lang_chooser']}
						</select>
						<input type='submit' class='input_submit alt' value='{$this->lang->words['jmp_go']}' id='newLangSubmit' />
					</fieldset>
				</form>
				<h2 class='hide'>{$this->lang->words['exec_stats']}</h2>
				<ul class='right'>
					<li>{$this->lang->words['time_now']} {$footer_items['time']}
						<if test="lastvisit:|:$this->memberData['member_id'] AND $this->memberData['last_visit']"><p>{$this->lang->words['you_last_visit']} {parse date="$this->memberData['last_visit']" format="short"}</p></if>
					</li>
					<if test="showdebuglevel:|:$this->memberData['member_id'] and $this->settings['debug_level']">
						<li><img src='{$this->settings['img_url']}/stats_time.png' alt='{$this->lang->words['icon']}' /> {$stats['ex_time']} {$this->lang->words['stats_sec']}</li>
						<li><img src='{$this->settings['img_url']}/stats_server.png' alt='{$this->lang->words['icon']}' /> {$stats['server_load']}</li>
						<li><img src='{$this->settings['img_url']}/stats_database.png' alt='{$this->lang->words['icon']}' /> {$stats['queries']} <if test="sqldebuglink:|:IPS_SQL_DEBUG_MODE"><a href='{parse url="{$this->settings['query_string_safe']}&amp;debug=1" base="public"}'></if>{$this->lang->words['stats_queries']}<if test="closesqldebuglink:|:IPS_SQL_DEBUG_MODE"></a></if></li>
						<li><img src='{$this->settings['img_url']}/stats_compression.png' alt='{$this->lang->words['icon']}' /> {$stats['gzip_status']}</li>
					</if>
				</ul>
			</div>
			<!-- __FOOTER__ -->
			<!-- /__FOOTER__ -->
			<!--DEBUG_STATS-->
			<div id='board_footer'>
				<ul id='utility_links' class='left'>
					<li><a href='#top' title='{$this->lang->words['go_to_top']}'>{$this->lang->words['back_to_top']}</a></li>
					<li><a href='{parse url="" base="public"}' title='{$this->lang->words['sj_home']}'>{$this->lang->words['sj_home']}</a></li>
					<li><a href="{parse url="app=core&amp;module=global&amp;section=login&amp;&amp;do=deleteCookies&amp;k={$this->member->form_hash}" base="public"}" title='{$this->lang->words['delete_all_cookies_title']}'>{$this->lang->words['delete_my_cookies']}</a></li>
					<li><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']}'>{$this->lang->words['mark_board_as_read']}</a></li>
				</ul>
				{$footer_items['copyright']}
			</div>
			{$stats['task']}
			<if test="$this->settings['do_include_lightbox_real']">
				{parse template="include_lightbox_real" group="global" params=""}
			</if>
		</div>
	</body>
</html>]]></template_content>
      <template_name>globalTemplate</template_name>
      <template_data>$html, $documentHeadItems, $css, $jsModules, $metaTags, $header_items=array(), $items=array(), $footer_items=array(), $stats=array()</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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>
			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']}" />
		</if>
	</foreach>
	<if test="csstominify:|:$this->settings['use_minify'] AND count($this->minify)">
		<link rel="stylesheet" type="text/css" media='screen' href="{$this->settings['public_dir']}min/index.php?f={parse expression="str_replace( $this->settings['public_dir'], 'public/', 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>
<!--[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]-->]]></template_content>
      <template_name>includeCSS</template_name>
      <template_data>$css</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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 feed" 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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<if test="minifyjs:|:$this->settings['use_minify']">
	<if test="remoteloadjs:|:$this->settings['remote_load_js']">
		<script type='text/javascript' src='<if test="usehttpsprototype:|:$this->registry->output->isHTTPS">https<else />http</if>://ajax.googleapis.com/ajax/libs/prototype/1.6/prototype.js'></script>
		<script type='text/javascript' src='<if test="usehttpsscriptaculous:|:$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>
	<script type='text/javascript' src='{$this->settings['public_dir']}min/index.php?f=public/js/ipb.js,public/js/ips.quickpm.js<if test="hasjsmodules:|:count($jsModules)">,public/js/ips.{parse expression="implode('.js,public/js/ips.', array_unique( array_keys( $jsModules ) ) )"}.js</if>,cache/lang_cache/{$this->lang->lang_id}/ipb.lang.js' charset='{$this->settings['gb_char_set']}'></script>
<else />
	<if test="nominifyremoteloadjs:|:$this->settings['remote_load_js']">
		<script type='text/javascript' src='<if test="nmusehttpsp:|:$this->registry->output->isHTTPS">https<else />http</if>://ajax.googleapis.com/ajax/libs/prototype/1.6/prototype.js'></script>
	<else />
		<script type='text/javascript' src='{$this->settings['public_dir']}js/3rd_party/prototype.js'></script>
	</if>
	<script type='text/javascript' src='{$this->settings['public_dir']}js/ipb.js?load=quickpm,{parse expression="implode(',', array_unique( array_keys( $jsModules ) ) )"}'></script>
	<if test="nominifyremoteloadjs2:|:$this->settings['remote_load_js']">
		<script type='text/javascript' src='<if test="nmusehttpss:|:$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>
	<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>]]></template_content>
      <template_name>includeJS</template_name>
      <template_data>$jsModules</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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 => $content">
	<meta name="$tag" content="$content" />
	</foreach>
</if>]]></template_content>
      <template_name>includeMeta</template_name>
      <template_data>$metaTags</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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 file_exists( 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 file_exists( 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 file_exists( 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 file_exists( 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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<script type='text/javascript'>
	//<!#^#|CDATA|
		/* ---- URLs ---- */
		ipb.vars['base_url'] 			= '<if test="$this->registry->output->isHTTPS">{parse expression="str_replace( 'http://', 'https://', "{parse url="" base="public"}" )"}<else />{parse url="" base="public"}</if>';
		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="canbefriend:|:$this->settings['friends_enabled'] AND $this->memberData['g_can_add_friends']">true<else />false</if>;
		/* ---- 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"}';
		ipb.vars['swfupload_enabled']	= <if test="canswfupload:|:$this->settings['uploadFormType']">true<else />false</if>;
		ipb.vars['use_swf_upload']		= ( '{$this->memberData['member_uploader']}' == 'flash' ) ? true : false;
		ipb.vars['swfupload_debug']		= false; /* SKINNOTE: Turn off for production */
		/* ---- other ---- */
		ipb.vars['use_live_search'] 	= 0;
		ipb.vars['live_search_limit'] 	= 4;
		ipb.vars['highlight_color']		= "#ade57a";
		ipb.vars['charset']				= "{$this->settings['gb_char_set']}";
		ipb.vars['use_rte']				= 1;
		ipb.vars['image_resize']		= <if test="$this->settings['resize_linked_img']">{$this->settings['resize_img_percent']}<else />0</if>;
		ipb.vars['seo_enabled']			= {parse expression="intval($this->settings['use_friendly_urls'])"};
		<if test="usefurl:|:$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>");
		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>");
		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}'><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>");
	//|#^#]>
	</script>]]></template_content>
      <template_name>includeVars</template_name>
      <template_data/>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[{parse addtohead="{$this->settings['public_dir']}style_css/prettify.css" type="importcss"}
	<script type="text/javascript" src="{$this->settings['public_dir']}js/3rd_party/prettify/prettify.js"></script>
	<script type='text/javascript' src='{$this->settings['public_dir']}js/3rd_party/prettify/lang-sql.js'></script>
	<!-- By default we load generic code, php, css, sql and xml/html; load others here if desired -->
	<script type="text/javascript">
	//<!#^#|CDATA|
		Event.observe( window, 'load', function(e){ prettyPrint() });
	//|#^#]>
	</script>]]></template_content>
      <template_name>include_highlighter</template_name>
      <template_data>$load_when_needed=0</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<php>$this->settings['do_include_lightbox_real']	= 1;</php>]]></template_content>
      <template_name>include_lightbox</template_name>
      <template_data/>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<script type='text/javascript' src='{$this->settings['public_dir']}js/3rd_party/lightbox.js'></script>
<script type='text/javascript'>
//<!#^#|CDATA|
	// Lightbox Configuration
	LightboxOptions = Object.extend({
	    fileLoadingImage:        '{$this->settings['img_url']}/lightbox/loading.gif',     
	    fileBottomNavCloseImage: '{$this->settings['img_url']}/lightbox/closelabel.gif',
	    overlayOpacity: 0.8,   // controls transparency of shadow overlay
	    animate: true,         // toggles resizing animations
	    resizeSpeed: 7,        // controls the speed of the image resizing animations (1=slowest and 10=fastest)
	    borderSize: 10,         //if you adjust the padding in the CSS, you will need to update this variable
		// When grouping images this is used to write: Image # of #.
		// Change it for non-english localization
		labelImage: "{$this->lang->words['lightbox_label']}",
		labelOf: "{$this->lang->words['lightbox_of']}"
	}, window.LightboxOptions || {});
//|#^#]>
</script>]]></template_content>
      <template_name>include_lightbox_real</template_name>
      <template_data/>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<if test="haspages:|:$work['pages'] > 1">
	<ul class='pagination left'>
		<li class='total'>({$work['pages']} {$this->lang->words['tpl_pages']})</li>
		<li class='pagejump clickable pj{$data['uniqid']}'>
			{parse replacement="dropdown"}
			<script type='text/javascript'>
				ipb.global.registerPageJump( '{$data['uniqid']}', { url: "{parse url="{$data['baseUrl']}" template="{$data['seoTemplate']}" seotitle="{$data['seoTitle']}" base="public"}<if test="furlinfo:|:$data['isFriendly']">/</if>", stKey: '{$data['startValueKey']}', perPage: {$data['itemsPerPage']}, totalPages: {$work['pages']} } );
			</script>
		</li>
		<if test="firstpage:|:1 < ($work['current_page'] - $data['dotsSkip'])">
			<li class='first'><a href='{parse url="{$data['baseUrl']}&amp;{$data['startValueKey']}=0" base="public" seotitle="{$data['seoTitle']}" template="{$data['seoTemplate']}"}' title='{$this->lang->words['tpl_gotofirst']}' rel='start'>&laquo; {$this->lang->words['ps_first']}</a></li>
		</if>
		<if test="prevpage:|:$work['current_page'] > 1">
			<li class='prev'><a href="{parse url="{$data['baseUrl']}&amp;{$data['startValueKey']}={parse expression="intval( $data['currentStartValue'] - $data['itemsPerPage'] )"}" base="public" seotitle="{$data['seoTitle']}" template="{$data['seoTemplate']}"}" title="{$this->lang->words['tpl_prev']}" rel='prev'>&larr;</a></li>
		</if>
		<if test="normalpages:|:is_array( $work['_pageNumbers'] ) && count( $work['_pageNumbers'] )">
			<foreach loop="pagination:$work['_pageNumbers'] as $_real => $_page">
				<if test="activepage:|:$_real == $data['currentStartValue']">
					<li class='active'>{$_page}</li>
				<else />
					<li><a href="{parse url="{$data['baseUrl']}&amp;{$data['startValueKey']}={$_real}" base="public" seotitle="{$data['seoTitle']}" template="{$data['seoTemplate']}"}" title="$_page">{$_page}</a></li>
				</if>
			</foreach>
		</if>
		<if test="nextpage:|:$work['current_page'] < $work['pages']">
			<li class='next'><a href="{parse url="{$data['baseUrl']}&amp;{$data['startValueKey']}={parse expression="intval( $data['currentStartValue'] + $data['itemsPerPage'] )"}" base="public" seotitle="{$data['seoTitle']}" template="{$data['seoTemplate']}"}" title="{$this->lang->words['tpl_next']}" rel='next'>&rarr;</a></li>
		</if>
		<if test="lastpage:|:isset( $work['_showEndDots'] ) && $work['_showEndDots']">
			<li class='last'><a href="{parse url="{$data['baseUrl']}&amp;{$data['startValueKey']}={parse expression="intval( ( $work['pages'] - 1 ) * $data['itemsPerPage'] )"}" base="public" seotitle="{$data['seoTitle']}" template="{$data['seoTemplate']}"}" title="{$this->lang->words['tpl_gotolast']}" rel='last'>{$this->lang->words['ps_last']} &raquo;</a></li>
		</if>
	</ul>
<else />
	<span class='pagination no_pages left'>{$this->lang->words['page_1_of_1']}</span>
</if>]]></template_content>
      <template_name>paginationTemplate</template_name>
      <template_data>$work, $data</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<ul class='user_details'>
		<if test="avatar:|:$author['member_id'] AND $author['avatar']">
			<li class='avatar'><a href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}">{$author['avatar']}</a></li>
		<else />
			<li class='avatar'>{$author['avatar']}</li>
		</if>
		<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='{$this->lang->words['icon']}' />
			<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']}" 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']}" 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;mid={$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>
			
			
<!--	<table class='user_fields'>
		<tr>
			<th>{$this->lang->words['m_group']}</th>
			<td>{$author['_group_formatted']}</td>
		</tr>
		<if test="ismember:|:$author['member_id']">
			<tr>
				<th>{$this->lang->words['m_posts']}</th>
				<td>{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</td>
			</tr>
			<tr>
				<th>{$this->lang->words['m_joined']}</th>
				<td>{parse date="$author['joined']" format="joined"}</td>
			</tr>
		</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">
					<tr>
						{$field}
					</tr>
				</foreach>
			</foreach>
		</if>
	</table>
	<dl class='clearfix'>
		<dt>{$this->lang->words['m_group']}</dt>
		<dd>{$author['_group_formatted']}</dd>
		<if test="ismember:|:$author['member_id']">
			<dt>{$this->lang->words['m_posts']}</dt>
			<dd>{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</dd>
			<dt>{$this->lang->words['m_joined']}</dt>
			<dd>{parse date="$author['joined']" format="joined"}</dd>
		</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">
			{$field}
				</foreach>
			</foreach>
		</if>
	</dl>-->
	<if test="authorwarn:|:$author['warn_percent'] !== NULL">
		<br class='clear' />
		<div class='warn_panel clear rounded'>
			<if test="$this->settings['warn_show_rating']">
				<strong><a href='{parse url="app=members&amp;module=warn&amp;section=warn&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>
				<p class='rating_mode user_warn' title='{$this->lang->words['warn_level']} {$author['warn_percent']}%'>
					<if test="changewarn:|:$author['can_edit_warn']">
						<a href='{parse url="app=members&amp;module=warn&amp;section=warn&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>
					&lt;&nbsp;{$this->settings['warn_min']} ( {$author['warn_level']} ) {$this->settings['warn_max']}&nbsp;&gt;
					<if test="changewarn:|:$author['can_edit_warn']">
						<a href='{parse url="app=members&amp;module=warn&amp;section=warn&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>
					</if>
				</p>
			<else />
				<if test="changewarn:|:$author['can_edit_warn']">
					<a href='{parse url="app=members&amp;module=warn&amp;section=warn&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=members&amp;module=warn&amp;section=warn&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=members&amp;module=warn&amp;section=warn&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>
			</if>
		</div>
	</if>]]></template_content>
      <template_name>userInfoPane</template_name>
      <template_data>$author, $contentid, $options</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_global</template_group>
      <template_content><![CDATA[<if test="popupmemberid:|:$memberid AND $this->memberData['g_mem_info']"> <a href='{parse url="showuser=$memberid" template="showuser" seotitle="{$seoName}" base="public"}' class='__user __id{$memberid}' title='{$this->lang->words['view_profile']}'>{parse replacement="user_popup"}</a></if>]]></template_content>
      <template_name>user_popup</template_name>
      <template_data><![CDATA[$memberid=0, $seoName='']]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
  </templategroup>
  <templategroup group="skin_global_other">
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<input type="hidden" name="captcha_unique_id" value="{$captcha_unique_id}" />
<fieldset class="GLB-table-row">
<if test="$this->request['section'] == 'register'">
	<if test="$this->cache->getCache('_hasStep3')">
		<h3 class='bar'>{$this->lang->words['reg_step4_spam']}</h3>
	<else />
		<h3 class='bar'>{$this->lang->words['reg_step3_spam']}</h3>
	</if>
</if>
<legend><strong>{$this->lang->words['gbl_captcha_title']}</strong></legend>
	<table class='ipbtable' cellspacing="0">
		<tr>
			<td width="30%"><strong>{$this->lang->words['glb_captcha_image']}</strong><br />{$this->lang->words['gbl_captcha_image_desc']}</td>
			<td width="70%"><strong>{$this->lang->words['glb_captcha_enter']}</strong><br />{$this->lang->words['glb_captcha_text']}</td>
		</tr>
		<tr>
			<td style='padding-right:10px'>
				<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 />
				<a href='#' id='gd-image-link'>{$this->lang->words['captcah_new']}</a>
			</td>
			<td>
				<input type="text" style='font-size:18px' size="20" maxlength="20" value="" name="captcha_string" tabindex='0' />
			</td>
		</tr>
	</table>
</fieldset>
<script type='text/javascript'>
	ipb.global.initGD( 'gd-antispam' );
</script>]]></template_content>
      <template_name>captchaGD</template_name>
      <template_data>$captcha_unique_id</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<fieldset>
<if test="$this->request['section'] == 'register'">
	<if test="$this->cache->getCache('_hasStep3')">
		<h3 class='bar'>{$this->lang->words['reg_step4_spam']}</h3>
	<else />
		<h3 class='bar'>{$this->lang->words['reg_step3_spam']}</h3>
	</if>
</if>
<legend><strong>{$this->lang->words['glb_captcha_image']}</strong></legend>
	<table class='ipbtable' cellspacing="0">
		<tr>
			<td style='padding:10px'>
				{$html}
			</td>
		</tr>
	</table>
</fieldset>]]></template_content>
      <template_name>captchaRecaptcha</template_name>
      <template_data><![CDATA[$html=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['board_offline']}</h2>
<p class='message error'><strong>{$this->lang->words['board_offline_desc']}</strong><br /><br />{$message}</p>
<if test="!$this->memberData['member_id']">
	<br />
	<p class='submit'><a href='{parse url="app=core&amp;module=global&amp;section=login" base="public"}' title='{$this->lang->words['attempt_login']}'><strong>{$this->lang->words['click_login']}</strong></a></p>
</if>]]></template_content>
      <template_name>displayBoardOffline</template_name>
      <template_data><![CDATA[$message=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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={$this->settings['gb_char_set']}" />
		<title>{$title}</title>
		<link rel="shortcut icon" href="favicon.ico" />
		<if test="popupcssimport:|:is_array( $css['import'] )">
			<if test="popupcssimportminify:|:$this->settings['use_minify']">
				<php>$this->minify = array();</php>
			</if>
			<foreach loop="popupcssImport:$css['import'] as $data">
				<php>
					if( $this->settings['use_minify'] AND stripos( $data['attributes'], 'screen' ) )
					{
						$this->minify[] = "{$data['content']}";
					}
				</php>
				<if test="popupcssimportnominify:|:!$this->settings['use_minify']">
					<link rel="stylesheet" type="text/css" {$data['attributes']} href="{$data['content']}" />
				<else />
					<if test="popupcssnoscreen:|:!stripos( $data['attributes'], 'screen' )">
						<link rel="stylesheet" type="text/css" {$data['attributes']} href="{$this->settings['public_dir']}min/index.php?f={parse expression="str_replace( $this->settings['public_dir'], 'public/', $data['content'] )"}" />
					</if>
				</if>
			</foreach>
			<if test="popupminifycss:|:$this->settings['use_minify'] AND count($this->minify)">
				<link rel="stylesheet" type="text/css" media='screen' href="{$this->settings['public_dir']}min/index.php?f={parse expression="str_replace( $this->settings['public_dir'], 'public/', 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'>
			/* SKINNOTE: Turn off for production */
			jsDebug = <if test="$this->memberData['members_display_name'] == 'brandon' || $this->memberData['members_display_name'] == 'mattm' || $this->memberData['member_id'] == 24 || $this->memberData['member_id'] == 16 || $this->memberData['member_id'] == 18">1<else />0</if>; /* Must come before JS includes */
			USE_RTE = <if test="popupuserte:|:$this->memberData['members_editor_choice'] == 'rte' && $this->memberData['_canUseRTE'] === TRUE">1<else />0</if>;
		</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.6/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>
			<script type='text/javascript' src='{$this->settings['public_dir']}min/index.php?f=public/js/ipb.js,public/js/ips.quickpm.js<if test="popupjsmodules:|:count($jsLoaderItems) AND is_array($jsLoaderItems)">,public/js/ips.{parse expression="implode('.js,public/js/ips.', array_unique( array_keys( $jsLoaderItems ) ) )"}.js</if>,cache/lang_cache/1/ipb.lang.js'></script>
		<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.6/prototype.js'></script>
			<else />
				<script type='text/javascript' src='{$this->settings['public_dir']}js/3rd_party/prototype.js'></script>
			</if>
			<script type='text/javascript' src='{$this->settings['public_dir']}js/ipb.js?load=quickpm<if test="popupjsmodules:|:count($jsLoaderItems) AND is_array($jsLoaderItems)">,{parse expression="implode(',', array_unique( array_keys( $jsLoaderItems ) ) )"}</if>'></script>
			
			<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>
			<script type="text/javascript" src='{$this->settings['cache_dir']}lang_cache/{$this->member->language_id}/ipb.lang.js'></script>
		</if>
		<script type='text/javascript'>
			Loader.boot();
		</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['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>;
			/* ---- 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; /* SKINNOTE: Turn off for production */
			/* ---- other ---- */
			ipb.vars['use_live_search'] 	= <if test="popuplivesearch:|:$this->settings['live_search_disable'] || ! in_array( $this->settings['search_method'], array( 'index' ) )">false<else />true</if>;
			ipb.vars['live_search_limit'] 	= 4;
			ipb.vars['highlight_color']		= "#ade57a";
			ipb.vars['charset']				= "{$this->settings['gb_char_set']}";
			ipb.vars['use_rte']				= 1;
			ipb.vars['image_resize']		= 40; /* SKINNOTE: Needs to read from setting */
			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>");
			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>");
			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}'><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>");
		//|#^#]>
		</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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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>
<br />
{$login}
<if test="savedpost:|:$post">
	<div class='general_box alt'>
		{$post}
	</div>
<br />
</if>
<div class='general_box alt'>	
	<h3>{$this->lang->words['er_useful_links']}</h3>
	<br />
	<ul class='bullets'>
		<li><a href="{parse url="app=core&amp;module=global&amp;section=lostpass&amp;do=10" base="public"}" title='{$this->lang->words['er_lost_pass']}'>{$this->lang->words['er_lost_pass']}</a></li>
		<li><a href="{parse url="app=core&amp;module=global&amp;section=register&amp;do=00" base="public"}" title='{$this->lang->words['er_register']}'>{$this->lang->words['er_register']}</a></li>
		<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>
	<br />
	<p class="submit">
		<strong><a href="javascript:history.go(-1)">{$this->lang->words['error_back']}</a></strong>
	</p>
</div>]]></template_content>
      <template_name>Error</template_name>
      <template_data><![CDATA[$message="",$code=0,$ad_email_one="",$ad_email_two="",$show_top_msg=0, $login="", $post=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<div class='general_box alt'>
	<h3>{$this->lang->words['not_signed_in']}</h3>
	<p class='field'>{parse replacement="signin_icon"} <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>.</p>
</div>
<br />]]></template_content>
      <template_name>error_log_in</template_name>
      <template_data><![CDATA[$q_string=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<h3>{$this->lang->words['err_title']}</h3>
<p>{$this->lang->words['err_expl']}</p>
<div class="fieldwrap">
	<h4>{$this->lang->words['err_title']}</h4>
	<form name="mehform">
		<textarea cols="70" rows="5" name="saved" tabindex="2">{$post}</textarea>
	</form>
	<p class="formbuttonrow1"><input class="button" type="button" tabindex="1" value="{$this->lang->words['err_select']}" onclick="document.mehform.saved.select()" /></p>
</div>]]></template_content>
      <template_name>error_post_textarea</template_name>
      <template_data><![CDATA[$post=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_global_other</template_group>
      <template_content><![CDATA[<input type="hidden" name="qanda_id" value="{$data['qa_id']}" />
<fieldset class='{parse striping="register"}'>
	<h3 class='bar'>{$this->lang->words['qa_title']}</h3>
	
	<ul>
		<li class='field required'>
			<label for='qna'>{$data['qa_question']}</label>
			<input type="text" class='input_text' size="20" maxlength="100" value="" name="qa_answer" id='qna' tabindex='0' /><br />
			<span class='desc'>{$this->lang->words['qa_question_desc']}</span>
		</li>
	</ul>
</fieldset>]]></template_content>
      <template_name>questionAndAnswer</template_name>
      <template_data>$data</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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="{$this->settings['img_url']}/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 */
		</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='ipbwrapper'>
			<h1>{$this->settings['site_name']}</h1>
			<h2>{$this->lang->words['thanks']}</h2>
			<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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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']}"><img src='{$this->settings['img_url']}/back.png' alt='{$this->lang->words['icon']}' /> {$this->lang->words['help_return_list']}</a></li>
	</ul>
</div>
</if>
<if test="isajax:|:$this->request['xml']">
<br />
</if>
<h2>$one_text: $three_text</h2>
<div class='row2 help_doc bullets'>
	{$text}
</div>
<br />
<if test="notajaxbottom:|:!$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_return_list_title']}"><img src='{$this->settings['img_url']}/back.png' alt='{$this->lang->words['icon']}' /> {$this->lang->words['help_return_list']}</a></li>
	</ul>
</div>
</if>]]></template_content>
      <template_name>helpShowSection</template_name>
      <template_data><![CDATA[$one_text="",$two_text="",$three_text="", $text]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
  </templategroup>
  <templategroup group="skin_login">
    <template>
      <template_group>skin_login</template_group>
      <template_content><![CDATA[<p class='message error'>
	{$data}
</p>
<br /><br />]]></template_content>
      <template_name>errors</template_name>
      <template_data><![CDATA[$data=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_login</template_group>
      <template_content><![CDATA[{parse js_module="signin"}
{parse js_module="facebook"}
<div id='login_form' class='clear'>
	
	<div id='member_login' class='left'>
		<h2 class='maintitle'>{$this->lang->words['log_in']}</h2>
		<div class='generic_bar'></div>
		<form action="{parse url="app=core&amp;module=global&amp;section=login&amp;do=process" base="public"}" method="post" id='login'>
			<if test="referer:|:$referer">
			<input type="hidden" name="referer" value="{$referer}" />
			</if>
			<div id='regular_signin'>
				<a id='_regularsignin'></a>
				<h3 class='bar'>{$this->lang->words['enter_name_and_pass']}</h3>
				<ul>
					<li class='field'>
						<label for='username'>{$this->lang->words['enter_name']}</label>
						<input id='username' type='text' class='input_text' name='username' size='25' />
					</li>
					<li class='field'>
						<label for='password'>{$this->lang->words['enter_pass']}</label>
						<input id='password' type='password' class='input_text' name='password' size='25' /><br />
						<a href='{parse url="app=core&amp;module=global&amp;section=lostpass" base="public"}' class='desc' title='{$this->lang->words['retrieve_pw']}'>{$this->lang->words['login_forgotten_pass']}</a>
					</li>
				</ul>
				<if test="hasopenid:|:$has_openid">
				<p class='extra'>{parse replacement="openid_small"} {$this->lang->words['have_openid']} <a href='#_openid' title='{$this->lang->words['use_openid']}' id='openid_open'>{$this->lang->words['sign_in_here']}</a></p>
				</if>
				<if test="extraform:|:is_array($extra_form) AND count($extra_form)">
					<foreach loop="extrafields:$extra_form as $form_fields">
						{$form_fields}
					</foreach>
				</if>
			</div>
			<if test="openidform:|:$has_openid">
			<div id='openid_signin'>
				<a id='_openid'></a>
				<h3 class='bar'>{$this->lang->words['sign_in_openid']}</h3>
				{parse replacement="openid_large"}
				<ul>
					<li class='field'>
						<label for='openid'>{$this->lang->words['openid']}</label>
						<input id='openid' type='text' class='input_text' name='openid_url' value='http://' size='30' /><br />
						<span class='desc'>{$this->lang->words['openid_example']}</span>
					</li>
				</ul>
				<p class='extra'>{parse replacement="signin_icon"} <a href='#_regularsignin' title='{$this->lang->words['regular_signin']}' id='openid_close'>{$this->lang->words['use_regular']}</a></p>
			</div>
			</if>
			<hr />
			<fieldset id='signin_options'>
				<legend>{$this->lang->words['sign_in_options']}</legend>
				<ul>
					<li class='field checkbox'>
						<input type='checkbox' id='remember' checked='checked' name='rememberMe' value='1' class='input_check' />
						<label for='remember'>
							{$this->lang->words['rememberme']}<br />
							<span class='desc'>{$this->lang->words['notrecommended']}</span>
						</label>
					</li>
					<if test="anonymous:|:!$this->settings['disable_anonymous']">
						<li class='field checkbox'>
							<input type='checkbox' id='invisible' name='anonymous' value='1' class='input_check' />
							<label for='invisible'>
								{$this->lang->words['form_invisible']}<br />
								<span class='desc'>{$this->lang->words['anon_name']}</span>
							</label>
						</li>
					</if>
				</ul>
			</fieldset>
			<fieldset class='submit'>
				<input type='submit' class='input_submit' value='{$this->lang->words['sign_in_button']}' /> {$this->lang->words['or']} <a href='{parse url="" base="public"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
			</fieldset>
		</form>
	</div>
	<div id='guest_register' class='right general_box'>
		<if test="facebook:|:$this->settings['fbc_enable'] AND $this->settings['fbc_api_id']">
			<h3 class='bar'>{$this->lang->words['fb_login_title']}</h3>
			<p>
				<div id='fbUserBox'>
					{$this->lang->words['login_w_facebook']}
					<br />
					<fb:login-button size="medium" background="light" length="long" onlogin="ipb.facebook.login_loadUser();"></fb:login-button>
				</div>
				<br clear='both' />
			</p>
			<br />
		</if>
		<h3 class='bar'>{$this->lang->words['not_a_member']}</h3>
		<p>
			{$this->settings['login_page_info']}
		</p>
		<br />
		<p style='text-align: center'>
			<a href='{parse url="app=core&amp;module=global&amp;section=register" template="section=register" base="public"}'>{$this->lang->words['register_now']}</a>
		</p>
	</div>
</div>
<!--FB Template-->
<div id='fb-template-main' style='display:none'>
	<div style='float:left; margin-right:4px;margin-bottom:3px'>
		<fb:profile-pic uid=loggedinuser facebook-logo=true></fb:profile-pic>
	</div>
	{$this->lang->words['welcome_prefix']} <strong><fb:name uid=loggedinuser useyou=false></fb:name></strong>
</div>
<div id='fb-template-notlinked' style='display:none'>
	<div class='desc'>
		{$this->lang->words['fb_logged_in']}
		<br clear='both'/>
		<br />{$this->lang->words['fb_no_forum_acct']}
		<br />
		<form action='{$this->settings['base_url']}app=core&amp;module=global&amp;section=login&amp;do=fbc_loginWithNew' method='post' name='linkNewAccForm' id='fbc_linkNewAccForm'>
			<input type='button' class='input_submit' id='fbc_completeNewAcc' value='{$this->lang->words['fb_new_account']}' />
		</form>
		<br />
		<br />
		<strong>{$this->lang->words['or']}</strong> {$this->lang->words['fb_link_account']}
		<div class='message error' id='fbc_linkError' style='display:none'></div>
		<br />
		<form action='{$this->settings['base_url']}app=core&amp;module=global&amp;section=login&amp;do=fbc_login' method='post' name='linkForm' id='fbc_linkForm'>
		{$this->lang->words['fb_link_email']} <input type='text' name='emailaddress' id='fbc_emailAddress' size='25' />
		<br />{$this->lang->words['fb_link_pass']} &nbsp;<input type='password' name='password' id='fbc_password' size='25' />
		<input type='button' class='input_submit' id='fbc_completeWithLink' value='{$this->lang->words['fb_link_complete']}' />
		</form>
	</div>
</div>
<div id='fb-template-linked' style='display:none'>
	<div class='desc'>
		{$this->lang->words['fb_logged_in']}
	</div>
	<br clear='both'/>
	<form action='{$this->settings['base_url']}app=core&amp;module=global&amp;section=login&amp;do=fbc_loginFromLinked' method='post' name='linkAlreadyForm' id='fbc_linkAlreadyForm'>
		<input type='button' class='input_submit' id='fbc_complete' value='{$this->lang->words['fb_complete_login']}' />
	</form>
</div>
<if test="fbcjavascript:|:IPSLib::fbc_enabled() === true">
	<if test="$this->registry->output->isHTTPS">
		<script src="https://ssl.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
	<else />
		<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
	</if>
<script type="text/javascript">
	/* Init Facebook JS */
	try
	{
		FB_RequireFeatures(["XFBML"], function()
		{
			FB.init("{$this->settings['fbc_api_id']}", "{$this->settings['fbc_xdlocation']}" );
			FB.Facebook.get_sessionState().waitUntilReady(function()
			{
				FB.Connect.ifUserConnected( ipb.facebook.login_loadUser );
			} );
		} );
	}
	catch( error )
	{
		//alert( error );
	}
</script>
</if>]]></template_content>
      <template_name>showLogInForm</template_name>
      <template_data><![CDATA[$message="",$referer="",$extra_form="", $has_openid=false, $facebookOpts=array()]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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>
		<fieldset class='submit'>
			<input type='submit' value='{$this->lang->words['clogin_submit']}' class='input_submit' />
		</fieldset>
	</div>
	<if test="partialCustomFields:|:$custom_fields != ''">
		<!-- SKINNOTE: need to add custom fields in too -->
	</if>
</form>]]></template_content>
      <template_name>completePartialLogin</template_name>
      <template_data><![CDATA[$mid="",$key="",$custom_fields="",$errors="", $reg=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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='{parse url="" base="public"}' 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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[{parse js_module="register"}
<!--<script type="text/javascript" src="{$this->settings['public_dir']}js/ipb_register.js"></script>-->
<script type="text/javascript">
//<!#^#|CDATA|
var coppa_bounce = '{$this->lang->words['coppa_bounce']}';
//coppa_check();
//|#^#]>
</script>
<script type="text/javascript">
function contact_admin() {
  // Very basic spam bot stopper
  <php>
  	$adminEmail = explode( '@', $this->settings['email_in'] );
  </php>
  admin_email_one = '{$adminEmail[0]}';
  admin_email_two = '{$adminEmail[1]}';
  window.location = 'mailto:'+admin_email_one+'@'+admin_email_two+'?subject={$this->lang->words['coppa_email_subject']}';
}
</script>
<h2>Register</h2>
<p class='message unspecific'>
	{$this->lang->words['coppa_form_text']}
</p>
<form action='{parse url="app=core&amp;module=global&amp;section=register&amp;do=coppa_two" base="public"}' method='post'>
	<div class='post_form'>
		<fieldset class='general_box'>
			<h3>{$this->lang->words['coppa_info']}</h3>
				<label for='month'>{$this->lang->words['coppa_link']}</label>
				<select name='m' class='input_select'>
				 	<option value='0'>{$this->lang->words['select_month']}</option>
			 		<foreach loop="months:array(1,2,3,4,5,6,7,8,9,10,11,12) as $month">
			 			<option value='{$month}'>{$this->lang->words['M_' . $month ]}</option>
			 		</foreach>
				</select>
	
				<select name='d' class='input_select'>
			 		<option value='0'>{$this->lang->words['select_day']}</option>
			 		<foreach loop="days:range(1,31) as $day">
			 			<option value='{$day}'>{$day}</option>
			 		</foreach>
				</select>
	
				<select name='y' class='input_select'>
			 		<option value='0'>{$this->lang->words['select_year']}</option>
			 		<foreach loop="years:array_reverse(range( date('Y') - 130, date('Y') )) as $year">
			 			<option value='{$year}'>{$year}</option>
			 		</foreach>
				</select>
		</fieldset>
		<fieldset class='submit'>
			<input type='submit' value='{$this->lang->words['coppa_continue_button']}' class='input_submit' /> {$this->lang->words['or']} <a href='{parse url="" base="public"}' title='Cancel' class='cancel'>Cancel</a>
		</fieldset>
	</div>
</form>]]></template_content>
      <template_name>registerCoppaStart</template_name>
      <template_data/>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[{parse js_module="register"}
<h2>{$this->lang->words['cp2_title']}</h2>
<div class='general_box'>
	<h3 class='clear'>{$this->lang->words['coppa_form']}</h3>
	<p>
		{$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>
	</p>
	<p>
		<br />
		{$this->lang->words['coppa_form_text']} <a href="mailto:{$this->settings['email_in']}">{$this->settings['email_in']}</a>
	</p>
	<p>
		<br />
		<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'>&lt; {$this->lang->words['cancel']}</a>
	</p>	
</div>]]></template_content>
      <template_name>registerCoppaTwo</template_name>
      <template_data/>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[{parse js_module="register"}
{parse js_module="facebook"}
<script type='text/javascript'>
//<!#^#|CDATA|
	ipb.register.inSection = "mainform";
	ipb.register.nameMaxLength = "{$this->settings['max_user_name_length']}";
	ipb.register.allowedChars = "{$this->settings['username_characters']}";
	ipb.templates['accept'] = "&nbsp;<span id='[id]_msg' class='reg_msg reg_accept' style='display: none'><img src='{$this->settings['img_url']}/accept.png' alt='{$this->lang->words['icon']}' /> [msg]</span>";
	ipb.templates['error'] = "&nbsp;<span id='[id]_msg' class='reg_msg reg_error' style='display: none'><img src='{$this->settings['img_url']}/exclamation.png' alt='{$this->lang->words['icon']}' /> [msg]</span>";
//|#^#]>
</script>
<!-- SKINNOTE TEMPORARY ERROR OUTPUT UNTIL RIKKI FIXES :) -->
<if test="registerHasErrors:|:is_array( $general_errors ) && count( $general_errors )">
<div class='message error'>
	{$this->lang->words['following_errors']}
	<ul>
		<foreach loop="general_errors:$general_errors as $r">
			<li>{$r}</li>
		</foreach>
	</ul>
</div>
<br />
</if>
{parse striping="register" classes="row1,row2"}
<form 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="do" value="process_form" />
	<input type="hidden" name="coppa_user" value="{$data['coppa_user']}" />
	
	<div id='register_info' class='right general_box'>
		<if test="registerUsingFb:|:$this->settings['fbc_enable'] AND $this->settings['fbc_api_id']">
			<h3 class='bar'>{$this->lang->words['reg_with_facebook']}</h3>
			<p>
				<div id='fbUserBox'>
					{$this->lang->words['log_with_facebook']}
					<br />
					<fb:login-button size="medium" background="light" length="long" onlogin="ipb.facebook.register_loadUser();"></fb:login-button>
				</div>
				<br clear='both' />
			</p>
			<br />
		</if>
	
		<h3>{$this->lang->words['why_register']}</h3>
		{$this->settings['register_page_info']}
	</div>
	<div id='register_form' class='block_wrap left'>
		<h2>{$this->lang->words['ready_register']}</h2>
		
		<p class='extra'>
			{$this->lang->words['reg_free']}
			<br />
			{$this->lang->words['already_account']} <a href='{parse url="app=core&amp;module=global&amp;section=login" base="public"}' title='{$this->lang->words['goto_signin']}'>{$this->lang->words['sign_in_page']}</a>
			<br />
		</p>
		<if test="registerHasInlineErrors:|:is_array( $inline_errors ) && ( $inline_errors['username'] || $inline_errors['dname'] || $inline_errors['email'] || $inline_errors['password'] )">
			<p class='message error'>{$this->lang->words['reg_errors_found']}</p>	
		</if>
		
		<div class='generic_bar'></div>
		<fieldset class='{parse striping="register"}'>
			<h3 class='bar'>{$this->lang->words['reg_step1']}</h3>
			
			<ul>
				<if test="$data['requireName']">
					<li class='field required <if test="ieUsernameClass:|:$inline_errors['username']">error</if>'>
						<label for='login_name'>{$this->lang->words['reg_choose_user']}</label>
						<input type='text' class='input_text' id='login_name' size='25' maxlength='{$this->settings['max_user_name_length']}' value='{$this->request['UserName']}' name='UserName' /><br />
						<span class='desc'><if test="ieUsername:|:$inline_errors['username']"><span class='error'>{$inline_errors['username']}<br /></span></if>{$this->lang->words['char_cant_use']}</em></span>
					</li>
				</if>
				<if test="registerAllowDnames:|:$this->settings['auth_allow_dnames'] == 1 OR !$data['requireName']">
					<li class='field required <if test="ieDnameClass:|:$inline_errors['dname']">error</if>'>
						<label for='display_name'>{$this->lang->words['reg_choose_dname']}</label>
						<input type='text' class='input_text' id='display_name' size='25' 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>{$this->lang->words['dname_desc_one']} {$this->settings['max_user_name_length']} {$this->lang->words['dname_desc_two']}</span>
					</li>
				</if>
			</ul>
			<hr />
			<ul>
				<li class='field required <if test="ieEmailClass:|:$inline_errors['email']">error</if>'>
					<label for='email_1'>{$this->lang->words['reg_enter_email']}</label>
					<input type='text' id='email_1' class='input_text email' size='25' 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>
				</li>
				<li class='field nodesc required'>
					<label for='email_2'>{$this->lang->words['reg_reenter_email']}</label>
					<input type='text' id='email_2' class='input_text email' size='25' maxlength='150' name='EmailAddress_two' value='{$this->request['EmailAddress_two']}' />
				</li>
			</ul>
			<hr />
			<ul>
				<li class='field required <if test="iePasswordClass:|:$inline_errors['password']">error</if>'>
					<label for='password_1'>{$this->lang->words['reg_choose_password']}</label>
					<input type='password' id='password_1' class='input_text password' size='25' 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>
				</li>
				<li class='field nodesc required'>
					<label for='password_2'>{$this->lang->words['reg_reenter_password']}</label>
					<input type='password' id='password_2' class='input_text password' size='25' maxlength='32' value='{$this->request['PassWord_Check']}' name='PassWord_Check' /><br />
				</li>
			</ul>
		</fieldset>
		<fieldset class='{parse striping="register"}'>
			<h3 class='bar'>{$this->lang->words['reg_step2']}</h3>
			
			<ul>
				<li class='field 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> />
					<label for='allow_admin_mail'>{$this->lang->words['receive_admin_emails']}</label>
				</li>
				<li class='field checkbox nodesc'>
					<input type="checkbox" name="allow_member_mail" id="allow_member_mail" value="1" class="input_check" <if test="deaultAME:|:$this->request['allow_member_mail']">checked='checked'</if> />
					<label for="allow_member_mail">{$this->lang->words['receive_member_emails']}</label>
				</li>
				<li class='field'>
					<label for='timezone'>{$this->lang->words['time_zone']}</label>
					<select id='timezone' class='input_select' name='time_offset'>
						<foreach loop="timezones:$time_select as $k => $v">
						<option value='{$k}'<if test="defaultTimezone:|:$k == $this->request['time_offset']"> selected='selected'</if>>{$v}</option>
						</foreach>
					</select>
				</li>
				<li class='field checkbox'>
					<input type='checkbox' id='dst' name='dst' value='1' class='input_check' <if test="defaultDst:|:$this->request['dst']">checked='checked'</if> /> <label for='dst' id='dst_label'>{$this->lang->words['auto_dst_detection']}</label>
				</li>
			</ul>
		</fieldset>
		<if test="hasCfields:|:( is_array( $custom_fields['required'] ) && count( $custom_fields['required'] ) ) || ( is_array( $custom_fields['optional'] ) && count( $custom_fields['optional'] ) )">
		<fieldset class='{parse striping="register"}'>
			<h3 class='bar'>{$this->lang->words['reg_step3']}</h3>
			
			<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>
			<!--IBF.MODULES.EXTRA-->
		</fieldset>				
		</if>
		{$data['qandaHTML']}
		{$data['captchaHTML']}
		<fieldset class='submit'>
			<input type='submit' class='input_submit' value='{$this->lang->words['register']}' /> {$this->lang->words['or']} <a href='{parse url="" base="public"}' title='{$this->lang->words['cancel_link']}' class='cancel'>{$this->lang->words['cancel']}</a>
		</fieldset>	
	</div>
</form>
<!--FB Template-->
<div id='fb-template-main' style='display:none'>
	<div style='float:left; margin-right:4px;margin-bottom:3px'>
		<fb:profile-pic uid=loggedinuser facebook-logo=true></fb:profile-pic>
	</div>
	{$this->lang->words['fb_welcome']} <strong><fb:name uid=loggedinuser useyou=false></fb:name></strong>
	<div class='desc'>
		{$this->lang->words['fb_logged_in']}.
		<br clear='both'/>
		<br />
		{$this->lang->words['fb_reg_with']}
		<form action='{$this->settings['base_url']}app=core&amp;module=global&amp;section=login&amp;do=fbc_loginWithNew' method='post' name='linkNewAccForm' id='fbc_linkNewAccForm'>
			<input type='button' class='input_submit' id='fbc_completeNewAcc'  value='{$this->lang->words['fb_complete_reg']}' />
		</form>
	</div>
</div>
<if test="fbcEnabled:|:IPSLib::fbc_enabled() === TRUE">
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<script type="text/javascript">
	/* Init Facebook JS */
	try
	{
		FB_RequireFeatures(["XFBML"], function()
		{
			FB.init("{$this->settings['fbc_api_id']}", "{$this->settings['fbc_xdlocation']}" );
			FB.Facebook.get_sessionState().waitUntilReady(function()
			{
				FB.Connect.ifUserConnected( ipb.facebook.register_loadUser );
			} );
		} );
	}
	catch( error )
	{
		//alert( error );
	}
</script>
</if>]]></template_content>
      <template_name>registerForm</template_name>
      <template_data>$general_errors=array(), $data=array(), $inline_errors=array(), $time_select=array(), $custom_fields=array()</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<form action="{parse url="app=core&amp;module=global&amp;section=register&amp;coppa_user={$coppa_user}&amp;termsread=1&amp;coppa_pass=1" base="public"}" method="post">
	<h2>{$this->lang->words['tc_title']}</h2>
	<p class='message'>{$this->lang->words['tc_text']}</p>
	<br />
	
	<div class='general_box'>
		<h3>{$this->lang->words['forum_terms']}</h3>
		<p>{$text}</p>
	</div>
	<fieldset class='submit'>
		<input class='input_check' type="checkbox" id="agree_cbox" name="agree_to_terms" value="1" /> <label for='agree_cbox'><strong>{$this->lang->words['agree_submit']}</strong></label>
		<br /><br />
		<input type="submit" value="{$this->lang->words['tc_regbut']}" class="input_submit" />
	</fieldset>
</form>]]></template_content>
      <template_name>registerShowTerms</template_name>
      <template_data><![CDATA[$text="",$coppa_user=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<span class='error'>$message</span>]]></template_content>
      <template_name>registration_error</template_name>
      <template_data>$message</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['registration_process']}</h2>
<div class='generic_bar'></div>
<div class='post_form'>
	<p class='field row2'>
		{$this->lang->words['thank_you']} {$member['members_display_name']}. {$this->lang->words['auth_text']} {$member['email']}
	</p>
</div>]]></template_content>
      <template_name>showAuthorize</template_name>
      <template_data><![CDATA[$member=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['dumb_header']}</h2>
<if test="lostpassFormErrors:|:isset( $error ) && $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" />
<p class='message unspecific'>{$this->lang->words['dumb_text']}</p>
<div class='generic_bar'></div>
	<div class='post_form'>
		<!--IBF.INPUT_TYPE-->
		<h3 class='bar'>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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['rv_title']}</h2>
<!-- skinnote error needs to be formatted -->
<if test="revalidateError:|:$error">
<p class='message error'>{$this->lang->words[$error]}</p>
<br />
</if>
<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="reval2" />
	<p class='message unspecific'>
		{$this->lang->words['rv_ins']}
	</p>
	
	<div class='post_form'>
		<fieldset class='general_box'>
			<h3>Revalidate</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='{parse url="" base="public"}' 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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content/>
      <template_name>subsm_end</template_name>
      <template_data/>
      <template_updated>1247581455</template_updated>
      <template_removable>1</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content/>
      <template_name>subsm_row</template_name>
      <template_data><![CDATA[$id="",$title="",$cost="",$duration=""]]></template_data>
      <template_updated>1247581455</template_updated>
      <template_removable>1</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content/>
      <template_name>subsm_start</template_name>
      <template_data><![CDATA[$cur=""]]></template_data>
      <template_updated>1247581455</template_updated>
      <template_removable>1</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_register</template_group>
      <template_content><![CDATA[<form method="post" action="$action">
$hidden
<div class="borderwrap">
	<div class="maintitle">$title</div>
	<table class='ipbtable' cellspacing="0">
		$content
	</table>
	<div class="formsubtitle" align="center"><input type="submit" /></div>
</div>
</form>]]></template_content>
      <template_name>tmpl_form</template_name>
      <template_data><![CDATA[$action="",$hidden="",$title="",$content=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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>
				</li>
				{$extra_data}
			</ul>
		</fieldset>
		<fieldset class='submit'>
			<input type="submit" class='input_submit' value="{$this->lang->words['report_basic_submit']}" /> {$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=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_reports</template_group>
      <template_content><![CDATA[{parse js_module="reports"}
<form method="post" action="{$this->settings['base_url']}">
	<input type="hidden" name="app" value="core" />
	<input type="hidden" name="module" value="reports" />
	<input type="hidden" name="do" value="save_methods" />
	<input type="hidden" name="req" value="1" />
	<input type='hidden' name='k' value='{$this->member->form_hash}' />
	
	<h2 class='maintitle'>{$this->lang->words['report_ajax_tab_notif_meth']}</h2>
	<div class='generic_bar'></div>
	<div class='post_form'>
		<fieldset class='row1'>
			<h3 class='bar'>{$this->lang->words['configure_notifications']}</h3>
			<ul>
				<li class='field checkbox'>
					<if test="rcPmEnabled:|:$this->settings['report_pm_enabled'] == 1">
						<if test="hasPm:|:$data['by_pm']==1">
							<input checked='checked' type="checkbox" value="1" id="notmet_pm" name="notmet_pm" class='input_check' />
						<else />
							<input type="checkbox" value="1" id="notmet_pm" name="notmet_pm" class='input_check' />
						</if>
					<else />
						<input disabled='disabled' type="checkbox" value="1" id="notmet_pm" name="notmet_pm" class='input_check' />
					</if>
					<label for='notmet_pm'>{$this->lang->words['report_settings_by_pm']}</label>
				</li>
				<li class='field checkbox'>
					<if test="rcEmailEnabled:|:$this->settings['report_nemail_enabled'] == 1">
						<if test="hasEmail:|:$data['by_email']==1">
							<input checked='checked' type="checkbox" value="1" id="notmet_email" name="notmet_email" class='input_check' />
						<else />
							<input type="checkbox" value="1" id="notmet_email" name="notmet_email" class='input_check' />
						</if>
					<else />
						<input disabled='disabled' type="checkbox" value="1" id="notmet_email" name="notmet_email" class='input_check' />
					</if>
					<label for='notmet_email'>{$this->lang->words['report_settings_by_email']}</label>
				</li>
			</ul>
		</fieldset>
		<fieldset class='submit'>
			<input type="submit" value="{$this->lang->words['report_settings_save']}" class='input_submit' /> {$this->lang->words['or']} <a href='{parse url="app=core&amp;module=reports&amp;do=index" base="public"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
		</fieldset>
	</div>
</form>]]></template_content>
      <template_name>config_notif</template_name>
      <template_data><![CDATA[$data=""]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_reports</template_group>
      <template_content><![CDATA[<img src='{$this->settings['img_url']}/reports/post_alert_3.png' alt='{$this->lang->words['icon']}' />]]></template_content>
      <template_name>greenAlertImage</template_name>
      <template_data/>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_reports</template_group>
      <template_content><![CDATA[<img src='{$this->settings['img_url']}/reports/post_alert_1.png' alt='{$this->lang->words['icon']}' />]]></template_content>
      <template_name>redAlertImage</template_name>
      <template_data/>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_reports</template_group>
      <template_content><![CDATA[{parse js_module="reports"}
<div class='topic_controls'>
	{$pages}
	<ul class='topic_buttons'>
		<li><a href='{$this->settings['base_url']}app=core&amp;module=reports&amp;do=show_methods'><img src='{$this->settings['img_url']}/shield.png' alt='{$this->lang->words['icon']}' /> {$this->lang->words['report_settings_options']}</a></li>
	</ul>
</div>
<br />
<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'><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'>
					<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']">
						<a href="{$report['section']['url']}" title='{$this->lang->words['go_to_section']}'>{$report['section']['title']}</a>
					<else />
						{$report['section']['title']}
					</if>
				</td>
				<td class='short'>{$report['num_reports']}</td>
				<td class='short altrow'>{$report['num_comments']}</td>
				<td class=''>
					<ul class='last_post'>
						<li><strong>{$this->lang->words['report_updated']}</strong> {parse date="$report['date_updated']" format="tiny"}</li>
						<li><strong>{$this->lang->words['report_by']}</strong> <a href="{parse url="showuser={$report['updated_by']}" template="showuser" seotitle="{$report['n_updated_seoname']}" base="public"}" title='{$this->lang->words['view_member']}'>{IPSLib::makeNameFormatted( $report['n_updated_by'], $report['member_group_id'] )}</a>{parse template="user_popup" group="global" params="$report['updated_by'],$report['n_updated_seoname']"}</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'>
	<!-- SKINNOTE: Javascript needs moving to JS files -->
	<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;">
			<option value="d">{$this->lang->words['report_option_delete']}</option>
			<option value="p">{$this->lang->words['report_option_prune']}</option>
			</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['with_selected']}" />
	
	<script type='text/javascript'>
		if( $F('report_actions') != 'p' )
		{
			$('pruneDayLabel').hide();
			$('pruneDayBox').hide();
			$('pruneDayLang').hide();
		}
	</script>
</div>
</form>
<br />
<!-- ACTIVE USERS -->
<if test="topicActiveUsers:|:is_array( $active ) AND count( $active )">
	<div id='topic_stats' class='statistics general_box clearfix'>
		<div id='topic_active_users' class='active_users'>
			<h2>
			{parse expression="sprintf( $this->lang->words['active_users_title'], ($active['members'] + $active['anon'] ) )"}<br />
			<span class='desc'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $active['members'], $active['guests'], $active['anon'] )"}</span>
			</h2>
			<ol>
				<if test="auNames:|:is_array( $active['names'] ) AND count( $active['names'] )">
					<foreach loop="active_users:$active['names'] as $p => $r">
				<li>{$r['p_start']}<if test="auId:|:$r['id']"><a href='{parse url="showuser={$r['id']}" seotitle="{$r['seo']}" template="showuser" base="public"}' title='{$r['p_title']}'></if>{$r['name']}<if test="auEndId:|:$r['id']"></a></if>{$r['p_end']}<if test="lastActiveUser:|:$p + 1 != count( $active['names'] )">,</if></li>
					</foreach>
				</if>
			</ol>
		</div>
	</div>
</if>
<script type='text/javascript'>
	ipb.global.registerCheckAll('checkAllReports', 'checkall');
</script>]]></template_content>
      <template_name>reportsIndex</template_name>
      <template_data><![CDATA[$reports=array(), $acts="", $pages="", $active=array(), $statuses=array()]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_reports</template_group>
      <template_content><![CDATA[{parse js_module="reports"}
<script type='text/javascript'>
	// Editor JS: Only needs to be done once per page
	{parse template="editorJS" group="editors" params=""}
</script>
<div class='message'>
	{$this->lang->words['report_about_intro']} <if test="handlePmSpecial:|:$options['class'] == 8">
		{$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='{$options['url']}'>{$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'>
		<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']}'><img src='{$this->settings['img_url']}/delete.png' alt='{$this->lang->words['icon']}' id='delete_report' /> {$this->lang->words['delete_report']}</a></li>
		<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 />
<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 topic_summary'>
			<h3><a href='{parse url="showuser={$report['member_id']}" seotitle="{$report['members_seo_name']}" template="showuser" base="public"}' title='{$this->lang->words['view_member']}'>{$report['members_display_name']}</a>{parse template="user_popup" group="global" params="$report['member_id'], $report['members_seo_name']"}</h3>
			<p class='posted_info'>{$this->lang->words['posted_prefix']} {parse date="$report['date_reported']" format="long"}</p>
			<div class='post_body'>
				<div class='post'>{$report['report']}</div>
			</div>
		</div>
	</foreach>
</if>
<br /><hr /><br />

<h2 class='maintitle'>{$this->lang->words['comments_h2']}</h2>
<div class='generic_bar'></div>
<if test="hasComments:|:is_array($comments) AND count($comments)">
	<foreach loop="comments:$comments as $comment">
		
		<div class='post_block first hentry report_comment' id='post_id_{$comment['comment_id']}'>
			<div class='post_wrap'>
				<h3>
					<if test="commentMid:|:$comment['author']['member_id']">
						<if test="commentOnline:|:$comment['author']['_online']">
							{parse replacement="user_online"}
						<else />
							{parse replacement="user_offline"}
						</if> &nbsp;
								<address class="author vcard"><a class="url fn" href='{parse url="showuser={$comment['author']['member_id']}" template="showuser" seotitle="{$comment['author']['members_seo_name']}" base="public"}'>{$comment['author']['members_display_name']}</a>{parse template="user_popup" group="global" params="$comment['author']['member_id'], $comment['author']['members_seo_name']"}</address>
					<else />
						{$comment['author']['members_display_name']}
					</if>
				</h3>
				
				<div class='author_info'>
					{parse template="userInfoPane" group="global" params="$comment['author'], $comment['comment_id'], array()"}
				</div>
				<div class='post_body'>
					<p class='posted_info'>
						{$this->lang->words['posted_prefix']} {parse date="$comment['comment_date']" format="long"}
					</p>
					<div class='post entry-content'>
						{$comment['comment']}
					</div>
				</div>
				<br class='clear' />
			</div>
		</div>
	</foreach>
<else />
	<p class='no_messages'>
		{$this->lang->words['no_comments_on_report']}
	</p>
</if>
<!-- SKINNOTE: Need to use included editor here -->
{parse js_module="editor"}
<br />
<div id='fast_reply' style='display: {$displayData['fast_reply']}'>
	<h3 class='maintitle'>{$this->lang->words['add_comment_title']}</h3>
	<div class='generic_bar'></div>
	<div class='general_box alt'>
		<form method="post" action="{$this->settings['base_url']}" name="report_comment_submit" id='report_comment_submit'>
			<input type="hidden" id="report_rid" name="rid" value="{$options['rid']}" />
			<input type="hidden" name="app" value="core" />
			<input type="hidden" name="module" value="reports" />
			<input type="hidden" name="do" value="save_comment" />
			<input type='hidden' name='{$editor_id}_wysiwyg_used' value='0' />
			{parse template="editorShell" group="editors" params="'report_comment', 'comment'"} 
			<fieldset class='submit'>
				<input type='submit' class='input_submit' value='{$this->lang->words['post_button']}' />
			</fieldset>
		</form>
	</div>
</div>
{parse template="include_lightbox" group="global" params=""}
{parse template="include_highlighter" group="global" params="1"}
<script type="text/javascript">
//<!#^#|CDATA|
	if( $('report_comment_textarea') ){
		$('report_comment_textarea').setStyle('height: 70px');
	}
	
	ipb.editor_values.set( 'emoticons', \$H({ {parse expression="IPSLib::fetchEmoticonsAsJson()"} }) );
	ipb.editors[ 'report_comment' ] = new ipb.editor( 'report_comment', USE_RTE );
	in_use = 0;
	<if test="rteOn:|:$rte_mode != 1">
		obj = ipb.editors['report_comment'].editor_document;
	<else />
		obj = $( ipb.editors['report_comment'].items['text_obj'] );
	</if>
	Event.observe( obj, 'click', function(){
		if( in_use != 1 ){
			$( ipb.editors['report_comment'] ).resize_to( 250 );
			in_use = 1;
		}
	}, true);
//|#^#]>
</script>
</if>]]></template_content>
      <template_name>viewReport</template_name>
      <template_data>$options=array(), $reports=array(), $comments=array()</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
  </templategroup>
  <templategroup group="skin_search">
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['active_content']}</h2>
<p class='message'>
	{$this->lang->words['active_have_been']} <em><strong>{$total}</strong></em> {$this->lang->words['active_entries']}
</p>
<br />
<div class='topic_controls'>
{$pagination}
</div>
<ol id='member_alpha' class='tab_bar no_title'>
	<if test="ACAllTab:|:! in_array( $this->settings['search_method'], array( 'traditional', 'sphinx' ) )">
		<if test="ACOnAllTab:|:isset( $this->request['search_filter_app'] ) && $this->request['search_filter_app']['all'] != 1">
			<li><a href='{parse url="app=core&amp;module=search&amp;do=active&amp;search_filter_app[all]=1" base="public"}'>{$this->lang->words['active_all']}</a></li>
		<else />
			<li class='active'><strong>{$this->lang->words['active_all']}</strong></li>
		</if>
	</if>
	<foreach loop="APapps:$this->registry->getApplications() as $app">
		<if test="ACloopAll:|:IPSSearchIndex::appIsSearchable( $app['app_directory'] )">
			<if test="ACOnThisTab:|:$this->request['search_app'] == $app['app_directory']">
				<li class='active'><strong><if test="ACFixHelp:|:strtolower($app['app_title']) == 'system'">{$this->lang->words['livesearch_helpfiles']}<else />{$app['app_public_title']}</if></strong></li>
			<else />				
				<li><a href='{parse url="app=core&amp;module=search&amp;do=active&amp;search_filter_app[{$app['app_directory']}]=1" base="public"}'><if test="ACInactiveFixHelp:|:strtolower($app['app_title']) == 'system'">{$this->lang->words['livesearch_helpfiles']}<else />{$app['app_public_title']}</if></a></li>
			</if>
 		</if>
	</foreach>
</ol>
<if test="AChasResults:|:$total">
	<if test="NPasForumAC:|:$asForum">
		<table class='ipb_table topic_list' id='forum_table'>
			<tr class='header'>
				<th scope='col' class='col_f_icon'>&nbsp;</th>
				<th scope='col' class='col_f_topic'>{$this->lang->words['forum_topic']}</th>
				<th scope='col' class='col_f_starter'>{$this->lang->words['forum_forum']}</th>
				<th scope='col' class='col_f_starter short'>{$this->lang->words['forum_started_by']}</th>
				<th scope='col' class='col_f_views stats'>{$this->lang->words['forum_stats']}</th>
				<th scope='col' class='col_f_post'>{$this->lang->words['forum_last_post_info']}</th>
			</tr>
			<foreach loop="NCresultsAsForum:$results as $result">
				{$result['html']}
			</foreach>
		</table>
	<else />
		{parse striping="searchStripe" classes="row1,row2"}
		<div id='search_results'>
			<ol>
				<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>
			</ol>
		</div>
	</if>
	{$pagination}
<else />
	<div class='no_messages'>{$this->lang->words['active_none']}</div>
</if>]]></template_content>
      <template_name>activePostsView</template_name>
      <template_data>$results, $pagination, $total, $asForum</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<div class='result_info'>
	<h3><a href='{parse url="app=calendar&amp;module=calendar&amp;cal_id={$r['type_id']}&amp;do=showevent&amp;event_id={$r['type_id_2']}&amp;hl={$this->request['search_higlight']}" base="public"}'>{$r['content_title']}</a> ({parse date="$r['updated']" format="short"} {$this->lang->words['to']} {parse date="$r['misc']" format="short"})</h3>
	<if test="showCalendarContent:|:!$resultAsTitle">
	<p>
		{$r['content']}
	</p>
	</if>
</div>
<div class='result_details desc'>
	<ul>
		<li>{$this->lang->words['search_by']} <a href='{parse url="showuser={$r['member_id']}" template="showuser" seotitle="{$r['members_seo_name']}" base="public"}' title='{$this->lang->words['view_profile']}'>{$r['members_display_name']}</a>{parse template="user_popup" group="global" params="$r['member_id']"}</li>
	</ul>
</div>]]></template_content>
      <template_name>calEventRangedSearchResult</template_name>
      <template_data>$r, $resultAsTitle=false</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<div class='result_info'>
	<h3><a href='{parse url="app=calendar&amp;module=calendar&amp;cal_id={$r['type_id']}&amp;do=showevent&amp;event_id={$r['type_id_2']}&amp;hl={$this->request['search_higlight']}" base="public"}'>{$r['content_title']}</a> ({parse date="$r['updated']" format="short"} {$this->lang->words['to']} {parse date="$r['misc']" format="short"})</h3>
	<if test="showCalendarContent:|:!$resultAsTitle">
	<p>
		{$r['content']}
	</p>
	</if>
</div>
<div class='result_details desc'>
	<ul>
		<li>{$this->lang->words['search_by']} <a href='{parse url="showuser={$r['member_id']}" template="showuser" seotitle="{$r['members_seo_name']}" base="public"}' title='{$this->lang->words['view_profile']}'>{$r['members_display_name']}</a>{parse template="user_popup" group="global" params="$r['member_id']"}</li>
	</ul>
</div>]]></template_content>
      <template_name>calEventSearchResult</template_name>
      <template_data>$r, $resultAsTitle=false</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<fieldset id='app_filter_forums' class='{parse striping="search"} extra_filter'>
	<ul>
		<li>
			<label for='forums_filter'>{$this->lang->words['find_forum']}:</label>
			<select name='search_app_filters[forums][forums][]' class='input_select' size='6' multiple='multiple'>
				{$forums}
			</select>
		</li>
		<if test="noOptsSphinxforums:|:$this->settings['search_method'] != 'sphinx'">
		<li>
			<label>&nbsp;</label>
			<input id='f_content_only' type='checkbox' name='search_app_filters[forums][contentOnly]' class='input_checkbox' value='1' /> {$this->lang->words['s_search_posts']}
		</li>
		<li>
			<label>&nbsp;</label>
			<input id='noPreview' type='checkbox' name='search_app_filters[forums][noPreview]' class='input_checkbox' value='1' /> {$this->lang->words['s_show_topics_only']}
		</li>
		<li>
			<label for='f_p_data'>{$this->lang->words['s_forum_stuff']} </label>
			{parse expression="sprintf( $this->lang->words['s_forum_stuff_2'], "<input id='f_p_count' type='text' name='search_app_filters[forums][pCount]' class='input_text' style='width:40px' size='5' value='' />", "<input id='f_p_views' type='text' name='search_app_filters[forums][pViews]' class='input_text' style='width:40px' size='5' value='' />")"}
		</li>
		</if>
	</ul>
</fieldset>]]></template_content>
      <template_name>forumAdvancedSearchFilters</template_name>
      <template_data>$forums</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<result>
	<icon>{$this->settings['public_dir']}style_extra/app_icons/comments.png</icon>
	<type>Forum</type>
	<url>{parse url="showforum={$r['type_id']}" base="public"}</url>
	<title><!#^#|CDATA|{$r['content_title']}|#^#]></title>
	<content><!#^#|CDATA|{$r['content']}|#^#]></content>
	<date>{parse date="$r['updated']" format="short"}</date>
	<user>
		<id>{$r['member_id']}</id>
		<name>{$r['members_display_name']}</name>
		<url>{parse url="showuser={$r['member_id']}" base="public"}</url>
	</user>
</result>]]></template_content>
      <template_name>forumSearchResult</template_name>
      <template_data>$r, $resultAsTitle=false</template_data>
      <template_updated>1247581455</template_updated>
      <template_removable>1</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<result>
	<icon>{$this->settings['public_dir']}style_extra/app_icons/gallery.png</icon>
	<type>Gallery Comment</type>
	<url>{parse url="app=gallery&amp;module=images&amp;img={$r['misc']}&amp;hl={$this->request['search_term']}" base="public"}</url>
	<title><!#^#|CDATA|{$r['content_title']}|#^#]></title>
	<content><!#^#|CDATA|{$r['content']}|#^#]></content>
	<date>{parse date="$r['updated']" format="short"}</date>
	<user>
		<id>{$r['member_id']}</id>
		<name>{$r['members_display_name']}</name>
		<url>{parse url="showuser={$r['member_id']}" base="public"}</url>
	</user>
</result>]]></template_content>
      <template_name>galleryCommentSearchResult</template_name>
      <template_data>$r, $resultAsTitle=false</template_data>
      <template_updated>1247581455</template_updated>
      <template_removable>1</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<div class='result_info'>
	<span class='icon'>{$r['image']}</span>
	
	<h3><a href='{parse url="app=gallery&amp;module=images&amp;section=viewimage&amp;img={$r['type_id_2']}" base="public"}'>{$r['content_title']}</a></h3>
	<if test="showGalleryImage:|:!$resultAsTitle">
		<p>
			{$r['content']}
		</p>
	</if>
</div>
<div class='result_details desc'>
	<ul>
		<li>{$r['comments']} {$this->lang->words['gallery_comments']}</li>
		<li>{parse date="$r['updated']" format="short"}</li>
		<li><a href='{parse url="showuser={$r['member_id']}" template="showuser" seotitle="{$r['members_seo_name']}" base="public"}' title='{$this->lang->words['view_profile']}'>{$r['members_display_name']}</a>{parse template="user_popup" group="global" params="$r['member_id'], $r['members_seo_name']"}</li>
	</ul>
</div>]]></template_content>
      <template_name>galleryImageSearchResult</template_name>
      <template_data>$r, $resultAsTitle=false</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<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={$this->request['search_higlight']}" 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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<if test="showMemberData:|:!$resultAsTitle">
	<span class='icon'>
		<if test="$r['misc']['pp_thumb_photo']">
			<img src='{parse url="/{$r['misc']['pp_thumb_photo']}" base="upload"}' class='photo' />
		<else />
			<img src='{$this->settings['img_url']}/profile/default_thumb.png' class='photo' />
		</if>
	</span>
</if>
<div class='result_info'>
	<h3><a href='{parse url="showuser={$r['type_id_2']}" seotitle="{$r['members_seo_name']}" base="public"}'>{$r['content_title']}</a>{parse template="user_popup" group="global" params="$r['type_id_2'],$r['members_seo_name']"}</h3>
	<if test="showMemberBio:|:!$resultAsTitle">
	<p>
		{$r['misc']['pp_bio_content']}
	</p>
	</if>
	<span class='desc breadcrumb'>
		{$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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['new_content']}</h2>
<if test="NPhasResults:|:$total">
	<p class='message'>
		{$this->lang->words['new_content_there']} <strong>{$total}</strong> {$this->lang->words['new_content_entries']}
	</p>
	<br />
	<div class='topic_controls'>
		{$pagination}
	</div>
</if>
<ol id='member_alpha' class='tab_bar'>
	<if test="NPAllTab:|:! in_array( $this->settings['search_method'], array( 'traditional', 'sphinx' ) )">
		<if test="NPOnAllTab:|:isset( $this->request['search_filter_app'] ) && $this->request['search_filter_app']['all'] != 1">
			<li><a href='{parse url="app=core&amp;module=search&amp;do=new_posts&amp;search_filter_app[all]=1" base="public"}'>{$this->lang->words['new_content_all']}</a></li>
		<else />
			<li class='active'><strong>{$this->lang->words['new_content_all']}</strong></li>
		</if>
	</if>
	<foreach loop="NCapps:$this->registry->getApplications() as $app">
		<if test="NPLoopApps:|:IPSSearchIndex::appIsSearchable( $app['app_directory'] )">
			<if test="NPTabActive:|:$this->request['search_app'] == $app['app_directory']">
				<li class='active'><strong><if test="NPActiveFixHelp:|:strtolower($app['app_title']) == 'system'">{$this->lang->words['livesearch_helpfiles']}<else />{$app['app_public_title']}</if></strong></li>
			<else />				
				<li><a href='{parse url="app=core&amp;module=search&amp;do=new_posts&amp;search_filter_app[{$app['app_directory']}]=1" base="public"}'><if test="NPInactiveFixHelp:|:strtolower($app['app_title']) == 'system'">{$this->lang->words['livesearch_helpfiles']}<else />{$app['app_public_title']}</if></a></li>
			</if>
 		</if>
	</foreach>
</ol>
<div class='tab_filters'>
	<ul class='right padded'>
		<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']}'>{$this->lang->words['s_mark_all_read']}</a>
	</ul>
</div>
<if test="NPTotal:|:$total">
	<if test="NPasForum:|:$asForum">
		<table class='ipb_table topic_list' id='forum_table'>
			<tr class='header'>
				<th scope='col' class='col_f_icon'>&nbsp;</th>
				<th scope='col' class='col_f_topic'>{$this->lang->words['forum_topic']}</th>
				<th scope='col' class='col_f_starter'>{$this->lang->words['forum_forum']}</th>
				<th scope='col' class='col_f_starter short'>{$this->lang->words['forum_started_by']}</th>
				<th scope='col' class='col_f_views stats'>{$this->lang->words['forum_stats']}</th>
				<th scope='col' class='col_f_post'>{$this->lang->words['forum_last_post_info']}</th>
			</tr>
			<foreach loop="NCresultsAsForum:$results as $result">
				{$result['html']}
			</foreach>
		</table>
	<else />
		{parse striping="searchStripe" classes="row1,row2"}
		<div id='search_results'>
			<ol>
				<foreach loop="NCresults:$results as $result">	
					<if test="NPsub:|:$result['sub']">
						<li class='{parse striping="searchStripe"} sub clear clearfix'>
							{$result['html']}
						</li>
					<else />
						<li class='{parse striping="searchStripe"} clear clearfix'>
							{$result['html']}
						</li>
					</if>
				</foreach>
			</ol>
		</div>
	</if>
	{$pagination}
<else />
	<p class='no_messages'>{$this->lang->words['new_content_none']}</p>
</if>]]></template_content>
      <template_name>newPostsView</template_name>
      <template_data>$results, $pagination, $total, $asForum=false</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<style type='text/css'>
 	@import url('{$this->settings['public_dir']}/style_css/{$this->registry->output->skin['_csscacheid']}/calendar_select.css');
</style>
<script type='text/javascript' src='{$this->settings['public_dir']}js/3rd_party/calendar_date_select/calendar_date_select.js'></script>
{parse js_module="search"}
<form action="{parse url="app=core&amp;module=search&amp;section=search&amp;do=quick_search&amp;search_app={$this->registry->getCurrentApplication()}" base="public"}&amp;fromsearch=1" method="post" id='search-box' >
<input type='hidden' name='search_filter_app[all]' value='1' />
<p class='message'>
	<strong>{$this->lang->words['optional_fields']}</strong>
</p>
<if test="searchTermsRemoved:|:is_array( $removed_search_terms ) && count( $removed_search_terms )">
<br />
<p class='message error'>{$this->lang->words['removed_search_terms']} <strong>{parse expression="implode( ',', $removed_search_terms )"}</strong></p>
</if>
<if test="searchError:|:$msg">
<br />
<p class='message error'>{$msg}</p>
</if>
<br />
<h2 class='maintitle'>{$this->lang->words['search']}</h2>
<div id='main_search_form' class='clear'>
	
	<div id='search_info' class='row1'>
		<div class='generic_bar'></div>
		<fieldset id='main_search' class='row2'>
			<ul>
				<li>
					<label for='query'>{$this->lang->words['find_words']}:</label>
					<input type='text' class='input_text' name='search_term' id='query' value='{$this->request['search_term']}' /><br />
				</li>
				<if test="noOptsSphinx:|:$this->settings['search_method'] != 'sphinx'">
					<li>
					<!--SKINNOTE: This isn't semantic - the text for the checkbox should be wrapped in the label, and label should be "for" the element-->
						<label>&nbsp;</label>
						<input type='checkbox' class='input_check' name='content_title_only' value='1'> {$this->lang->words['search_titles_only']}
						<if test="canShowAsTitles:|:$this->settings['enable_show_as_titles']">
							<label>&nbsp;</label>
							<input type='checkbox' class='input_check' name='show_as_titles' value='1'> {$this->lang->words['show_as_titles']}
						</if>
					</li>
					<li>
						<label for='search_by'>{$this->lang->words['s_search_type']}</label>
						<select name='search_sort_by' id='search_sort_by' class='input_select' style='width:auto'>
							<option value='0' <if test="!$this->request['search_sort_by']">selected='selected'</if>>{$this->lang->words['s_search_type_0']}</option>
							<option value='1' <if test="$this->request['search_sort_by']">selected='selected'</if>>{$this->lang->words['s_search_type_1']}</option>
						</select>
						<select name='search_sort_order' id='search_sort_order' class='input_select' style='width:auto'>
							<option value='0' <if test="!$this->request['search_sort_order']">selected='selected'</if>>{$this->lang->words['s_search_type_o_0']}</option>
							<option value='1' <if test="$this->request['search_sort_order']">selected='selected'</if>>{$this->lang->words['s_search_type_o_1']}</option>
						</select>
					</li>
				</if>
				<li>
					<label for='author'>{$this->lang->words['find_author']}:</label>
					<input type='text' class='input_text' name='search_author' id='author' value='{$this->request['search_author']}' />
				</li>
				<li>			
					<label for='date_start'>{$this->lang->words['find_date']}:</label>
					<input type='text' class='input_text date' name='search_date_start' id='date_start' value='{$this->request['_search_date_start']}' /><img src='{$this->settings['img_url']}/date.png' alt='{$this->lang->words['icon']}' id='date_start_icon' style='cursor: pointer' /> &nbsp;
					<strong>{$this->lang->words['to']}</strong> &nbsp;<input type='text' class='input_text date' name='search_date_end' id='date_end' value='{$this->request['_search_date_end']}' /><img src='{$this->settings['img_url']}/date.png' alt='{$this->lang->words['icon']}' id='date_end_icon' style='cursor: pointer' />
				</li>
			</ul>
		</fieldset>
		{$filters}
		<fieldset class='submit'>
			<input type='submit' name='submit' class='input_submit' value='{$this->lang->words['do_search']}'> {$this->lang->words['or']} <a href='{parse url="" base="public"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
		</fieldset>
	</div>
</div>
</form>
<script type='text/javascript'>
	ipb.search.initSearchForm();
</script>]]></template_content>
      <template_name>searchAdvancedForm</template_name>
      <template_data><![CDATA[$filters='', $msg='', $removed_search_terms=array()]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<h2 class='hide'>{$this->lang->words['search_results']}</h2>
<if test="searchResultsTermsRemoved:|:is_array( $removed_search_terms ) && count( $removed_search_terms )">
<p class='message error'>{$this->lang->words['removed_search_terms']} <strong>{parse expression="implode( ',', $removed_search_terms )"}</strong></p>
<br />
</if>
	<if test="hasSearchResults:|:$total > 0 AND $search_term != ''">
		<p class='message'>
			{$this->lang->words['your_search']} <em><strong>{$search_term}</strong></em> {$this->lang->words['your_search_returned']} <strong>{$total}</strong> {$this->lang->words['your_search_results']}
		</p>
	</if>
	<br />
	<div class='topic_controls'>
		{$pagination}
	</div>
	
	<ol id='member_alpha' class='tab_bar'>
		<if test="showMyResultsTab:|:! in_array( $this->settings['search_method'], array( 'traditional', 'sphinx' ) )">
			<if test="notFiltering:|:$this->request['search_filter_app']['all'] != 1">
				<li><a href='{parse url="{$url_string}" base="public"}'>{$this->lang->words['my_results']}</a></li>
			<else />
				<li class='active'><strong>{$this->lang->words['my_results']}</strong></li>
			</if>
		</if>
		
		<!--harcoded forums, members, system apps-->
		<if test="forumsTab:|:isset( $this->request['search_filter_app']['forums'] ) && $this->request['search_filter_app']['forums'] == 1">
			<li class='active'><strong>{$this->lang->words['search_tab_forums']}</strong></li>
		<else />				
			<li><a href='{parse url="{$url_string}&amp;search_filter_app[forums]=1" base="public"}'>{$this->lang->words['search_tab_forums']}</a></li>
		</if>
		<if test="membersTab:|:isset( $this->request['search_filter_app']['members'] ) && $this->request['search_filter_app']['members'] == 1">
			<li class='active'><strong>{$this->lang->words['search_tab_members']}</strong></li>
		<else />
			<li><a href='{parse url="{$url_string}&amp;search_filter_app[members]=1" base="public"}'>{$this->lang->words['search_tab_members']}</a></li>
		</if>
		<if test="helpTab:|:isset( $this->request['search_filter_app']['core'] ) && $this->request['search_filter_app']['core'] == 1">
			<li class='active'><strong>{$this->lang->words['livesearch_helpfiles']}</strong></li>
		<else />				
			<li><a href='{parse url="{$url_string}&amp;search_filter_app[core]=1" base="public"}'>{$this->lang->words['livesearch_helpfiles']}</a></li>
		</if>
		<foreach loop="apps:$this->registry->getApplications() as $app">
			<if test="appIsSearchable:|:IPSSearchIndex::appIsSearchable( $app['app_directory'] ) AND !in_array( $app['app_directory'], array('core','forums','members') )">
				<if test="appIsSearched:|:isset( $this->request['search_filter_app'][$app['app_directory']] ) && $this->request['search_filter_app'][$app['app_directory']] == 1">
					<li class='active'><strong>{$app['app_public_title']}</strong></li>
				<else />				
					<li><a href='{parse url="{$url_string}&amp;search_filter_app[{$app['app_directory']}]=1" base="public"}'>{$app['app_public_title']}</a></li>
				</if>
	 		</if>
		</foreach>
	</ol>
	<div class='tab_filters'>
		<ul class='right'>
			<php>
				$sort_url_string = preg_replace( '#search_sort_by=(\w+?)?&#', '&', $url_string );
				$sort_url_string = preg_replace( '#search_sort_order=(\w+?)?&#', '&', $sort_url_string );
			</php>
			<form action='{parse url="{$sort_url_string}&amp;search_sort_by=relevence&amp;search_filter_app[{$current_key}]=1" base="public"}' method='post'>
			<label for='search_by'>{$this->lang->words['s_search_type']}</label>
			<select name='search_sort_by' id='search_sort_by' class='input_select' style='width:auto'>
				<option value='0' <if test="$this->request['search_sort_by'] == 'date'">selected='selected'</if>>{$this->lang->words['s_search_type_0']}</option>
				<option value='1' <if test="$this->request['search_sort_by'] == 'relevance'">selected='selected'</if>>{$this->lang->words['s_search_type_1']}</option>
			</select>
			<select name='search_sort_order' id='search_sort_order' class='input_select' style='width:auto'>
				<option value='0' <if test="$this->request['search_sort_order'] == 'desc'">selected='selected'</if>>{$this->lang->words['s_search_type_o_0']}</option>
				<option value='1' <if test="$this->request['search_sort_order'] == 'asc'">selected='selected'</if>>{$this->lang->words['s_search_type_o_1']}</option>
			</select>
			<input type='submit' class='input_submit alt' value='{$this->lang->words['s_update']}' />
			</form>
		</ul>
	</div>
	
<if test="hasTotal:|:$total">
	<if test="NPasForum:|:$asForum">
		<table class='ipb_table topic_list' id='forum_table'>
			<tr class='header'>
				<th scope='col' class='col_f_icon'>&nbsp;</th>
				<th scope='col' class='col_f_topic'>{$this->lang->words['forum_topic']}</th>
				<th scope='col' class='col_f_starter'>{$this->lang->words['forum_forum']}</th>
				<th scope='col' class='col_f_starter short'>{$this->lang->words['forum_started_by']}</th>
				<th scope='col' class='col_f_views stats'>{$this->lang->words['forum_stats']}</th>
				<th scope='col' class='col_f_post'>{$this->lang->words['forum_last_post_info']}</th>
			</tr>
			<foreach loop="NCresultsAsForum:$results as $result">
				{$result['html']}
			</foreach>
		</table>
	<else />
		{parse striping="searchStripe" classes="row1,row2"}
		<div id='search_results'>
			<ol>
				<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>
			</ol>
		</div>
	</if>
	<br />
	<div class='topic_controls'>
		{$pagination}
	</div>
<else />
	<p class='no_messages'>{$this->lang->words['no_results_found']}<if test="noResultsTerm:|:$search_term"> {$this->lang->words['no_results_found_for']} '{$search_term}'</if>.</p>
</if>]]></template_content>
      <template_name>searchResults</template_name>
      <template_data>$results, $pagination, $total, $showing, $search_term, $url_string, $current_key, $removed_search_terms=array(), $asForum=false</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<!-- SKINNOTE: Wrap user link in ajax span -->
<div class='result_info'>
	<h3>{$r['content_title']}</h3>
	<if test="showGenericContent:|:!$resultAsTitle">
	<p>
		{$r['content']}
	</p>
	</if>
</div>
<div class='result_details desc'>
	<ul>
		<li>{parse date="$r['updated']" format="short"}</li>
		<li>{$this->lang->words['search_by']} <a href='{parse url="showuser={$r['member_id']}" template="showuser" seotitle="{$r['members_seo_name']}" base="public"}'>{$r['members_display_name']}</a>{parse template="user_popup" group="global" params="$r['member_id']"}</li>
	</ul>
</div>]]></template_content>
      <template_name>searchRowGenericFormat</template_name>
      <template_data>$r, $resultAsTitle=false</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<div class='result_info'>
	<span class='icon'>{parse replacement="{$r['_icon']}"}</span>
	<h3><a href='{parse url="showtopic={$r['type_id_2']}&amp;view=<if test="isNewPost:|:$this->request['do']=='new_posts' OR $this->request['do']=='active'">getnewpost<else /><if test="resultIsPost:|:$r['misc']">findpost&amp;p={$r['misc']}</if></if>&amp;hl={$this->request['search_higlight']}&amp;fromsearch=1" seotitle="{$r['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['view_result']}'>{$r['content_title']}</a></h3>
	<if test="showTopicContent:|:!$resultAsTitle">
	<p>
		{$r['content']}
	</p>
	</if>
	<if test="hasForumTrail:|:$r['_forum_trail']">
		<span class='desc breadcrumb'>
			<foreach loop="topicsForumTrail:$r['_forum_trail'] as $i => $f">
			<a href='{parse url="{$f[1]}" template="showforum" seotitle="{$f[2]}" base="public"}'>{$f[0]}</a> <if test="notLastFt:|:$i+1 != count( $r['_forum_trail'] )">&gt;</if>
			</foreach>
		</span>
	</if>
</div>
<div class='result_details desc'>
	<ul>
		<li>{$r['posts']} {$this->lang->words['forum_replies']}</li>
		<li>
			<if test="showTopicAsTitle:|:$resultAsTitle">
				{parse date="$r['_last_post']" format="short"} {$this->lang->words['search_by']} <a href='{parse url="showuser={$r['last_poster_id']}" seotitle="{$r['seo_last_name']}" template="showuser" base="public"}' title='{$this->lang->words['view_profile']}'>{$r['last_poster_name']}</a>{parse template="user_popup" group="global" params="$r['last_poster_id'], $r['seo_last_name']"}
			<else />
				{parse date="$r['updated']" format="short"} {$this->lang->words['search_by']} <a href='{parse url="showuser={$r['member_id']}" seotitle="{$r['members_seo_name']}" template="showuser" base="public"}' title='{$this->lang->words['view_profile']}'>{$r['members_display_name']}</a>{parse template="user_popup" group="global" params="$r['member_id'], $r['members_seo_name']"}
			</if>
		</li>
		<if test="topicHasAttach:|:$r['topic_hasattach']">
			<li><a href="{parse url="app=forums&amp;module=forums&amp;section=attach&amp;tid={$r['type_id_2']}" base="public"}">{$r['topic_hasattach']} {$this->lang->words['attach_header']}</a></li>
		</if>
	</ul>
</div>]]></template_content>
      <template_name>topicPostSearchResult</template_name>
      <template_data>$r, $indent, $resultAsTitle=false</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[{parse striping="forumTable" classes="row1,row2"}
<tr class='{parse striping="forumTable"}' id='trow_{$data['tid']}'>
	<td class='short altrow'>{parse replacement="{$data['_icon']}"}</td>
	<td>
		{$data['prefix']}
		<if test="topichasattach:|:$data['topic_hasattach']">
			<!-- SKINNOTE: This is the link for the attachments popup  -->
			<a href="{$this->settings['base_url']}app=forums&amp;module=forums&amp;section=attach&amp;tid={$data['tid']}" title="{parse expression="intval($data['topic_hasattach'])"} {$this->lang->words['topic_attach']}">{parse replacement="t_attach"}</a>
		</if>
		<if test="showTopicContentAsForum:|:!$resultAsTitle">
			<strong>
		</if>
		<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>'>{$data['_shortTitle']}</a>
		<if test="showTopicContentAsForum:|:!$resultAsTitle">
			</strong>
		</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']} &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>
		<if test="description:|:$data['description']"><br /><span class='desc'>{$data['description']}</span></if>
		<if test="showTopicContentAsForum:|:!$resultAsTitle">
			<div class='message unspecific' style='background-image:none;padding-left:10px'>
				<div style="width:30px;float:left"><a href="{parse url="showtopic={$data['tid']}&amp;view=findpost&amp;p={$data['pid']}" seotitle="{$data['title_seo']}" template="showtopic" base="public"}">{parse replacement="snapback"}</a></div>
				{$data['content']}
			</div>
		</if>
	</td>
	<td class='altrow'>
		<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>
	</td>
	<td class='short'>{$data['starter']}{parse template="user_popup" group="global" params="$data['starter_id'], $data['seo_first_name']"}</td>
	<td class='stats altrow'>
		<ul>
			<li>{$data['posts']} <if test="replylang:|:intval($data['posts']) == 1">{$this->lang->words['reply']}<else />{$this->lang->words['replies']}</if></li>
			<li class='views desc'>{$data['views']} {$this->lang->words['views']}</li>
		</ul>
	</td>
	<td>
		<ul class='last_post'>
			<li>
				<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']}'>{parse replacement="f_lastpost"}</a> <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']}'>{$data['last_post']}</a>
			</li>
			<li>{$this->lang->words['forum_by']} {$data['last_poster']}{parse template="user_popup" group="global" params="$data['last_poster_id'], $data['seo_last_name']"}</li>
		</ul>
	</td>
</tr>]]></template_content>
      <template_name>topicPostSearchResultAsForum</template_name>
      <template_data>$data, $childEntry=0, $resultAsTitle=false</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<ol>
		{$content}
	</ol>]]></template_content>
      <template_name>topicPostSubresultWrap</template_name>
      <template_data>$content</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_search</template_group>
      <template_content><![CDATA[<h2>{$this->lang->words['user_posts_title_all']} <if test="NPpostsOrTopics:|:$this->request['view_by_title'] && $this->request['search_app'] == 'forums'">{$this->lang->words['user_posts_title_topics']}<else />{$this->lang->words['user_posts_title_posts']}</if> {$this->lang->words['user_posts_title_member']} {$member['members_display_name']}</h2>
<if test="NPhasResults:|:$total">
	<p class='message'>
		{$this->lang->words['user_posts_have_been']} <em><strong>{$total}</strong></em> <if test="NPresultsTitle:|:$this->request['view_by_title'] && $this->request['search_app'] == 'forums'">{$this->lang->words['user_posts_title_topics']}<else />{$this->lang->words['user_posts_title_posts']}</if> {$this->lang->words['user_posts_title_member']} {$member['members_display_name']}
	</p>
	<br />
</if>
<div class='topic_controls'>
	{$pagination}
</div>
<ol id='member_alpha' class='tab_bar no_title'>
	<if test="NPAllTab:|:! in_array( $this->settings['search_method'], array( 'traditional', 'sphinx' ) )">
		<if test="NPAllTabActive:|:isset( $this->request['search_filter_app'] ) && $this->request['search_filter_app']['all'] != 1">
			<li><a href='{parse url="app=core&amp;module=search&amp;do=user_posts&amp;mid={$this->request['mid']}&amp;search_filter_app[all]=1&amp;view_by_title={$this->request['view_by_title']}" base="public"}'>{$this->lang->words['user_posts_all']}</a></li>
		<else />
			<li class='active'><strong>{$this->lang->words['user_posts_all']}</strong></li>
		</if>
	</if>
	<foreach loop="UPapps:$this->registry->getApplications() as $app">
		<if test="NPTabLoop:|:IPSSearchIndex::appIsSearchable( $app['app_directory'] ) && ! in_array( $app['app_directory'], array( 'core', 'members' ) )">
			<if test="NPTabActive:|:$this->request['search_app'] == $app['app_directory']">
				<li class='active'><strong>{$app['app_public_title']}</strong></li>
			<else />				
				<li><a href='{parse url="app=core&amp;module=search&amp;do=user_posts&amp;mid={$this->request['mid']}&amp;search_filter_app[{$app['app_directory']}]=1&amp;view_by_title={$this->request['view_by_title']}" base="public"}'>{$app['app_public_title']}</a></li>
			</if>
 		</if>
	</foreach>
</ol>
<if test="NPTotal:|:$total">
	<if test="NPasForumUser:|:$asForum">
		<table class='ipb_table topic_list' id='forum_table'>
			<tr class='header'>
				<th scope='col' class='col_f_icon'>&nbsp;</th>
				<th scope='col' class='col_f_topic'>{$this->lang->words['forum_topic']}</th>
				<th scope='col' class='col_f_starter'>{$this->lang->words['forum_forum']}</th>
				<th scope='col' class='col_f_starter short'>{$this->lang->words['forum_started_by']}</th>
				<th scope='col' class='col_f_views stats'>{$this->lang->words['forum_stats']}</th>
				<th scope='col' class='col_f_post'>{$this->lang->words['forum_last_post_info']}</th>
			</tr>
			<foreach loop="NCresultsAsForum:$results as $result">
				{$result['html']}
			</foreach>
		</table>
	<else />
		{parse striping="searchStripe" classes="row1,row2"}
		<div id='search_results'>
			<ol>
				<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>
			</ol>
		</div>
	</if>
<else />
	<p class='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, $asForum</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
  </templategroup>
  <templategroup group="skin_stats">
    <template>
      <template_group>skin_stats</template_group>
      <template_content><![CDATA[<!-- This is looped over once for admins, once for supmods, and then once for forum mods -->
<table class='ipb_table'>
	<caption class='maintitle'>{$group}</caption>
	<tr class='header'>
		<th scope='col' style='width: 3%'>&nbsp;</th>
		<th scope='col' style='width: 25%'>{$this->lang->words['leader_name']}</th>
		<th scope='col' style='width: 35%' class='short'>{$this->lang->words['leader_forums']}</th>
		<th scope='col' style='width: 25%'>{$this->lang->words['leader_location']}</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>
					<img src='{$info['pp_mini_photo']}' alt='photo' class='photo' width='{$info['pp_mini_width']}' height='{$info['pp_mini_height']}' />
				</td>
				<td>
					<if test="leadermid:|:$info['member_id'] > 0">
						<a href='{parse url="showuser={$info['member_id']}" seotitle="{$info['members_seo_name']}" template="showuser" base="public"}' title='{$this->lang->words['view_profile']}'>{$info['members_display_name']}</a> {parse template="user_popup" group="global" params="$info['member_id'],$info['members_seo_name']"}
					<else />
						{$info['members_display_name']}
					</if>
				</td>
				<td class='altrow short'>
					<if test="specificForums:|:is_array($info['forums'])">
						<form method="post" action="{parse url="" base="public"}" id="jmenu{$info['member_id']}" class='jump'>
							<select name="showforum">
								<option value="-1">{parse expression="sprintf($this->lang->words['no_forums'],count($info['forums']))"}</option>
								<option value="-1">---------------------------</option>
								<foreach loop="forums:$info['forums'] as $id => $name">
									<option value="{$id}">{$name}</option>
								</foreach>
							</select>
							<input type='submit' class='input_submit alt' value='{$this->lang->words['go_button']}' />
						</form>
					<else />
						{$info['forums']}
					</if>
				</td>
				<td>
					{$info['online_extra']}
				</td>
				<td class='short altrow'>
					<ul class='user_controls clear'>
						<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']}" 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_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']}" base="public"}' title='{$this->lang->words['add_friend']}'>{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']}'>{parse replacement="send_msg"}</a></li>
						</if>
						<if test="hasBlog:|:$info['has_blog'] AND IPSLib::appIsInstalled( 'blog' )">
							<li><a href='{parse url="app=blog&amp;module=display&amp;section=blog&amp;mid={$info['member_id']}" base="public"}' title='{$this->lang->words['view_blog']}'>{parse replacement="blog_link"}</a></li>
						</if>
						<if test="hasGallery:|:$info['has_gallery'] AND IPSLib::appIsInstalled( 'gallery' )">
							<li><a href='{parse url="app=gallery&amp;module=user&amp;section=user&amp;user={$info['member_id']}" base="public"}' title='{$this->lang->words['view_gallery']}'>{parse replacement="gallery_link"}</a></li>
						</if>
					</ul>
				</td>
			</tr>
		</foreach>
	</if>
</table>
<br />]]></template_content>
      <template_name>group_strip</template_name>
      <template_data><![CDATA[$group="", $members=array()]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_stats</template_group>
      <template_content><![CDATA[<table class='ipb_table'>
	<caption class='maintitle'>{$this->lang->words['todays_posters']}</caption>
	<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>
					<img src='{$info['pp_mini_photo']}' alt="{$info['members_display_name']}{$this->lang->words['users_photo']}" class='photo' width='{$info['pp_mini_width']}' height='{$info['pp_mini_height']}' />
				</td>
				<td>
					<if test="topPosterMid:|:$info['member_id'] > 0">
						<a href='{parse url="showuser={$info['member_id']}" seotitle="{$info['members_seo_name']}" template="showuser" base="public"}' title='{$this->lang->words['view_profile']}'>{$info['members_display_name']}</a> {parse template="user_popup" group="global" params="$info['member_id'], $info['members_seo_name']"}
					<else />
						{$info['members_display_name']}
					</if>
				</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='user_controls clear'>
						<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']}" 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_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']}" base="public"}' title='{$this->lang->words['add_friend']}'>{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']}'>{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;mid={$info['member_id']}" base="public"}' title='{$this->lang->words['view_blog']}'>{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;module=user&amp;section=user&amp;user={$info['member_id']}" base="public"}' title='{$this->lang->words['view_gallery']}'>{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_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_stats</template_group>
      <template_content><![CDATA[<if test="$this->request['module']=='ajax'">
	<h3>{$this->lang->words['who_farted']} {$title}</h3>
<else />
	<h3 class='maintitle'>{$this->lang->words['who_farted']} {$title}</h3>
</if>
<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 class="altrow">
					<if test="posterHasMid:|:$row['author_id']">
						<a href="{parse url="showuser={$row['author_id']}" template="showuser" seotitle="{$row['members_seo_name']}" base="public"}" title="{$this->lang->words['goto_profile']}">{$row['author_name']}</a>
					<else />
						{$row['author_name']}
					</if>
				</td>
				<td>{$row['pcount']}</td>
			</tr>
		</foreach>
	</if>
	</table>]]></template_content>
      <template_name>whoPosted</template_name>
      <template_data><![CDATA[$tid=0, $title="", $rows=array()]]></template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
    <template>
      <template_group>skin_stats</template_group>
      <template_content>{$output}</template_content>
      <template_name>whoPostedAjaxWrapper</template_name>
      <template_data>$output</template_data>
      <template_updated>1247581454</template_updated>
      <template_removable>0</template_removable>
      <template_user_added>0</template_user_added>
      <template_user_edited>0</template_user_edited>
    </template>
  </templategroup>
</templates>