File: /var/www/ilya/data/www/irkboard.ru/admin/applications/forums/xml/forums_root_templates.xml
<?xml version="1.0" encoding="utf-8"?>
<templates application="forums" templategroups="a:8:{s:11:"skin_boards";s:5:"exact";s:10:"skin_forum";s:5:"exact";s:12:"skin_legends";s:5:"exact";s:8:"skin_mod";s:5:"exact";s:9:"skin_poll";s:5:"exact";s:9:"skin_post";s:5:"exact";s:14:"skin_printpage";s:5:"exact";s:10:"skin_topic";s:5:"exact";}">
<templategroup group="skin_boards">
<template>
<template_group>skin_boards</template_group>
<template_content><![CDATA[<a href='{parse url="showuser={$user['member_id']}" seotitle="{$user['members_seo_name']}" template="showuser" base="public"}' title='{$this->lang->words['view_profile']}'>{$user['members_display_name']}</a> <if test="age:|:$pyear">(<strong>{$pyear}</strong>)</if>]]></template_content>
<template_name>birthday</template_name>
<template_data>$user, $pyear</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_boards</template_group>
<template_content><![CDATA[{parse js_module="board"}
{parse js_module="hooks"}
{parse variable="sidebar_enabled" default="$show_side_blocks"}
<script type='text/javascript'>
//<!#^#|CDATA|
ipb.global.boardMarkers = $H({
'f_cat_unread': "{parse replacement="f_cat_read"}",
'f_unread': "{parse replacement="f_read"}",
'f_pass_unread': "{parse replacement="f_pass_read"}"
});
var markerURL = "{parse url="app=forums&module=ajax§ion=markasread&secure_hash={$this->member->form_hash}&i=1&forumid=" base="public"}"; // Ajax URL so don't use &
//|#^#]>
</script>
<if test="sideBarEnabled:|:$this->templateVars['sidebar_enabled']">
<a href='{parse url="app=forums&module=extras&section=toggle" base="public"}' id='close_sidebar' class='sidebar_toggle rounded' <if test="sidebaropen:|:IPSCookie::get('hide_sidebar') != '1'">style='display: none'</if>><img src='{$this->settings['img_url']}/sidebar_close.png' alt='{$this->lang->words['sidebar_close']}' /></a>
<a href='{parse url="app=forums&module=extras&section=toggle" base="public"}' id='open_sidebar' class='sidebar_toggle rounded' <if test="sidebarclosed:|:IPSCookie::get('hide_sidebar') == '1'">style='display: none'</if>><img src='{$this->settings['img_url']}/sidebar_open.png' alt='{$this->lang->words['sidebar_open']}' /></a>
</if>
<h2 class='hide'>{$this->lang->words['board_index_title']}</h2>
<div id='board_index' class='clearfix'>
<if test="sideBarEnabled2:|:$this->templateVars['sidebar_enabled']">
<div id='index_stats' class='right clearfix' <if test="sidebarclosed2:|:IPSCookie::get('hide_sidebar') == '1'">style='display: none'</if>>
<foreach loop="side_blocks:$side_blocks as $block">
{$block}
</foreach>
</div>
</if>
<div id='categories' class='<if test="nosidebar:|:IPSCookie::get('hide_sidebar') == '1' || !$this->templateVars['sidebar_enabled']">no_sidebar</if> clearfix'>
<if test="latestNews:|:is_array($news_data) AND count($news_data)">
<div id='latest_news' class='row2'><strong>{$this->lang->words['newslink']}</strong> <a href='{parse url="showtopic={$news_data['id']}" template="showtopic" seotitle="{$news_data['seo_title']}" base="public"}' title='{$this->lang->words['newslink']}'>{$news_data['title']}</a></div>
</if>
<!-- CATS AND FORUMS -->
<if test="cats_forums:|:is_array( $cat_data ) AND count( $cat_data )">
<foreach loop="categories:$cat_data as $_data">
<if test="cat_has_forums:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )">
{parse striping="catTable" classes="row1,row2"}
<div class='category_block block_wrap'>
<h3 id='category_{$_data['cat_data']['id']}' class='maintitle'><a class='toggle right' href='#' title='{$this->lang->words['toggle_cat']}'>{$this->lang->words['toggle_cat']}</a> <a href="{parse url="showforum={$_data['cat_data']['id']}" seotitle="{$_data['cat_data']['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['view_cat']}'>{$_data['cat_data']['name']}</a></h3>
<table class='ipb_table' summary="{$this->lang->words['forums_in_cat']} '{$_data['cat_data']['name']}'">
<tr class='header'>
<th scope='col' class='col_c_icon'> </th>
<th scope='col' class='col_c_forum'>{$this->lang->words['cat_name']}</th>
<th scope='col' class='col_c_stats stats'>{$this->lang->words['stats']}</th>
<th scope='col' class='col_c_post'>{$this->lang->words['last_post_info']}</th>
</tr>
<!-- / CAT HEADER -->
<foreach loop="forums:$_data['forum_data'] as $forum_id => $forum_data">
<if test="forumRedirect:|:$forum_data['redirect_on']">
<tr class='{parse striping="catTable"} redirect_forum'>
<td class='altrow'>{parse replacement="f_redirect"}</td>
<td>
<h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$forum_data['name']}</a></h4>
<p class='desc'>{$forum_data['description']}</p>
</td>
<td colspan='2'>
{$this->lang->words['rd_hits']}: {parse format_number="$forum_data['redirect_hits']"}
</td>
</tr>
<else />
<tr class='{parse striping="catTable"}'>
<td class='altrow'>
<!-- SKINNOTE: this URL is wrong, needs updating -->
<if test="unreadicon:|:$forum_data['img_new_post'] != 'f_locked' && strstr( $forum_data['img_new_post'], 'unread' )">
<a id='forum_img_{$forum_data['id']}' href="{parse url="app=forums&module=forums&section=markasread&marktype=forum&forumid={$forum_data['id']}&returntoforumid={$this->request['f']}&i=1" base="public"}" title="{$this->lang->words['bi_markread']}" class='forum_marker'>
{parse replacement="{$forum_data['img_new_post']}"}
</a>
<script type='text/javascript'>
ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "{$forum_data['id']}" );
</script>
<else />
{parse replacement="{$forum_data['img_new_post']}"}
</if>
</td>
<td>
<h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$forum_data['name']}</a></h4>
<p class='desc'>{$forum_data['description']}</p>
<if test="showSubForums:|:$forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums']">
<h5 class='hide'>{$this->lang->words['subforums']}</h5>
<ol class='subforums'>
<foreach loop="subforums:$forum_data['subforums'] as $__id => $__data">
<if test="showSubForumsLit:|:$__data[3]"><li class='newposts'><else /><li></if><a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a></li>
</foreach>
</ol>
</if>
<!-- Skinnote: Clean up queued stuff -->
<if test="hasQueuedAndCanSeeIcon:|:!empty($forum_data['_has_queued_and_can_see_icon'])">
<em class='moderated'><a href='{parse url="showforum={$forum_data['id']}&modfilter=all" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['view_unapproved']}'>{parse expression="sprintf( $this->lang->words['f_queued'], $forum_data['queued_topics'], $forum_data['queued_posts'])"}</a></em>
</if>
</td>
<td class='altrow stats'>
<ul>
<li>{$forum_data['topics']} {$this->lang->words['topics']}</li>
<li>{$forum_data['posts']} {$this->lang->words['replies']}</li>
</ul>
</td>
<td>
<ul class='last_post'>
<if test="hideLastInfo:|:$forum_data['hide_last_info']">
<li>{$this->lang->words['f_protected']}</li>
<else />
<li><a href='{parse url="showtopic={$forum_data['last_id']}&view=getlastpost" base="public" template="showtopic" seotitle="{$forum_data['seo_last_title']}"}' title='{$this->lang->words['view_last_post']}'>{parse replacement="f_lastpost"}</a> <a href='{parse url="showtopic={$forum_data['last_id']}&view=getlastpost" base="public" template="showtopic" seotitle="{$forum_data['seo_last_title']}"}' title='{$this->lang->words['view_last_post']}'>{$forum_data['last_post']}</a></li>
<li><strong>{$this->lang->words['in']}</strong> {$forum_data['last_topic_title']}</li>
<li>
<strong>{$this->lang->words['by']}</strong>
<if test="lastPosterName:|:isset($forum_data['last_poster_name']) AND $forum_data['last_poster_name']">
<if test="lastPosterID:|:$forum_data['last_poster_id']">
<a href='{parse url="showuser={$forum_data['last_poster_id']}" template="showuser" seotitle="{$forum_data['seo_last_name']}" base="public"}' title='{$this->lang->words['view_profile']}'>{$forum_data['last_poster_name']}</a>{parse template="user_popup" group="global" params="$forum_data['last_poster_id'], $forum_data['seo_last_name']"}
<else />
{$this->settings['guest_name_pre']}{$forum_data['last_poster_name']}{$this->settings['guest_name_suf']}
</if>
<else />
{$this->lang->words['f_none']}
</if>
</li>
</if>
</ul>
</td>
</tr>
</if>
</foreach>
</table>
</div>
</if>
</foreach>
</if>
</div>
</div>
<ul id='stat_links' class='filter_bar rounded'>
<li><a href="{parse url="app=core&module=search&do=active" base="public"}" title="{$this->lang->words['today_active_cont']}">{$this->lang->words['new_active_cont']}</a></li>
<li><a href="{parse url="app=forums&module=extras&section=stats&do=leaders" base="public"}" title="{$this->lang->words['sm_forum_leaders_title']}">{$this->lang->words['sm_forum_leaders']}</a></li>
<li><a href="{parse url="app=forums&module=extras&section=stats" base="public"}" title="{$this->lang->words['sm_all_posters_title']}">{$this->lang->words['sm_today_posters']}</a></li>
<li><a href="{parse url="app=members&section=view&module=list&max_results=20&sort_key=posts&sort_order=desc&filter=ALL" base="public"}" title="{$this->lang->words['sm_overall_posters_title']}">{$this->lang->words['sm_overall_posters']}</a></li>
</ul>
<div id='board_statistics' class='statistics general_box clearfix'>
<if test="showTotals:|:$this->settings['show_totals']">
<div id='stats'>
<h2>{$this->lang->words['board_stats']}</h2>
<dl>
<dt>{$this->lang->words['total_posts']}</dt>
<dd>{$stats['info']['total_posts']}</dd>
<dt>{$this->lang->words['total_members']}</dt>
<dd>{$stats['info']['mem_count']}</dd>
<dt>{$this->lang->words['newest_member']}</dt>
<dd><a href='{parse url="{$stats['info']['last_mem_link']}" template="showuser" seotitle="%%{$stats['info']['last_mem_name']}%%"}' title='{$this->lang->words['view_profile']}'>{$stats['info']['last_mem_name']}</a>{parse template="user_popup" group="global" params="$stats['info']['last_mem_id']"} </dd>
<dt>{$this->lang->words['online_at_once']}</dt>
<dd>{$stats['info']['most_online']}<br /><span class='extra'>{$this->lang->words['on']} {$stats['info']['most_time']}</span></dd>
</dl>
</div>
</if>
<if test="showActive:|:$this->settings['show_active']">
<div id='active_users' class='stats_list'>
<h2>
{$stats['TOTAL']} {$this->lang->words['active_users_text']} <span>{$this->lang->words['active_users']}</span><br />
<span class='desc'>{$stats['MEMBERS']} {$this->lang->words['members']}, {$stats['GUESTS']} {$this->lang->words['guests']}, {$stats['ANON']} {$this->lang->words['anon_users']} | {$this->lang->words['show_by']}: <a href='{parse url="app=members&module=online&sort_order=desc" base="public"}'>{$this->lang->words['oul_click']}</a> {$this->lang->words['or']} <a href='{parse url="app=members&module=online&sort_key=name&sort_order=asc&show_mem=reg" base="public"}'>{$this->lang->words['oul_name']}</a></span>
</h2>
<if test="activeNames:|:count($stats['NAMES'])">
<p>
<span class='name'>{parse expression="implode( ",</span> <span class='name'>", $stats['NAMES'] )"}</span>
</p>
</if>
</div>
</if>
<if test="calendarEventsOuter:|:$calendar_events">
<div id='cal_events' class='stats_list'>
<h2>{$this->lang->words['upcoming_events']}</h2>
<if test="calendarEventsInner:|:is_array( $calendar_events )">
<ul>
<li>{parse expression="implode( ",</li><li>", $calendar_events )"}</li>
</ul>
<else />
<p>{$calendar_events}</p>
</if>
</div>
</if>
<if test="birthdays:|:$birthdays !== FALSE AND is_array( $birthdays['users'] ) AND count( $birthdays['users'] )">
<div id='cal_bdays' class='stats_list'>
<h2>{$birthdays['count']} {$this->lang->words['birthdays_today']}</h2>
<p>
<span class='name'>{parse expression="implode( ",</span> <span class='name'>", $birthdays['users'] )"}</span>
</p>
</div>
<else />
<if test="showBirthdaysAlways:|:$this->settings['show_birthdays'] AND !$this->settings['autohide_bday']">
<div id='cal_bdays' class='stats_list'>
<h2>0 {$this->lang->words['birthdays_today']}</h2>
<p>{$this->lang->words['no_birth_users']}</p>
</div>
</if>
</if>
</div>
<if test="autodst:|:$this->memberData['members_auto_dst'] == 1 AND $this->settings['time_dst_auto_correction']">
<script type='text/javascript'>
ipb.vars['dst_on'] = parseInt("{$this->memberData['dst_in_use']}");
ipb.board.checkDST();
</script>
</if>]]></template_content>
<template_name>boardIndexTemplate</template_name>
<template_data><![CDATA[$lastvisit="", $stats=array(), $calendar_events=FALSE, $birthdays=FALSE, $chat_html='', $news_data=array(), $cat_data=array(), $show_side_blocks=true, $side_blocks=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_boards</template_group>
<template_content><![CDATA[<script type='text/javascript'>
var _hC = 0;
function statusHookClick(o)
{
if ( ! _hC )
{
o.value = '';
o.setStyle( { color: 'black' } );
_hC++;
}
}
</script>
<div class='general_box clearfix'>
<h3><img src='{$this->settings['img_url']}/user_comment.png' alt='{$this->lang->words['icon']}' /> {$this->lang->words['recent_status_updates']}</h3>
<if test="$this->memberData['member_id'] AND $this->memberData['g_mem_info']">
<form id='update_status_form' action='{$this->settings['base_url']}app=members&module=profile&section=status' method='post'>
<input type='hidden' name='k' value='{$this->member->form_hash}' />
<input type='hidden' name='rurl' value='{parse expression="base64_encode('act=idx')"}' />
<p style='padding-top:4px;padding-bottom:6px'><span class='left' style='margin-right: 5px;margin-top:-2px'><img src='{$this->memberData['pp_mini_photo']}' width='{$this->memberData['pp_mini_width']}' height='{$this->memberData['pp_mini_height']}' class='photo' /></span><input type='text' class='input_text' size='32' maxlength='150' style='color:gray' value="{$this->lang->words['update_status_default']}" onclick='statusHookClick(this)' name='new_status' /> <input type='submit' class='input_submit' value=' » ' /></p>
</form>
</if>
<ul class='hfeed block_list'>
<if test="recent_status_updates:|:is_array( $rows ) && count( $rows )">
{parse striping="recent_status" classes="row1,row2 altrow"}
<foreach loop="status_update_hook:$rows as $r">
<li class='hentry {parse striping="recent_status"} clearfix'>
<span class='left' style='margin-right: 5px;'><img src='{$r['pp_mini_photo']}' width='{$r['pp_mini_width']}' height='{$r['pp_mini_height']}' class='photo' /></span><address class="author vcard"><a class="url fn" href="{parse url="showuser={$r['pp_member_id']}" template="showuser" seotitle="{$r['members_seo_name']}" base="public"}" title='{$this->lang->words['view_profile']}'>{$r['members_display_name']}</a></address>{parse template="user_popup" group="global" params="$r['pp_member_id'], $r['members_seo_name']"}<strong> {$r['pp_status']}</strong><br />
<span class='date'><abbr class="published" title="{parse expression="date( 'c', $r['pp_status_update'] )"}">{parse date="$r['pp_status_update']" format="short"}</abbr></span>
</li>
</foreach>
<else />
<li>{$this->lang->words['norecent_status_updates']}</li>
</if>
</ul>
</div>]]></template_content>
<template_name>hookBoardIndexStatusUpdates</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_boards</template_group>
<template_content><![CDATA[<div class='general_box clearfix'>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='{$this->lang->words['icon']}' /> {$this->lang->words['recently_added_entries']}</h3>
<ul class='hfeed block_list'>
<if test="recent_blog_entries:|:is_array( $entries ) && count( $entries )">
{parse striping="recent_entries" classes="row1,row2 altrow"}
<foreach loop="entries_hook:$entries as $r">
<li class='hentry {parse striping="recent_entries"}'><a href='{parse url="app=blog&module=display&section=blog&blogid={$r['blog_id']}&showentry={$r['entry_id']}" template="showentry" seotitle="{$r['_seo_entry_name']}" base="public"}' rel='bookmark' title='{$this->lang->words['view_entry']}'>{$r['entry_name']}</a> {$this->lang->words['recent_by']} <address class="author vcard"><a class="url fn" href="{parse url="showuser={$r['entry_author_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['entry_author_id'], $r['members_seo_name']"}</address><br /><span class='date'><abbr class="published" title="{parse expression="date( 'c', $r['entry_date'] )"}">{parse date="$r['entry_date']" format="short"}</abbr></span></li>
</foreach>
<else />
<li>{$this->lang->words['norecent_entries_hook']}</li>
</if>
</ul>
</div>]]></template_content>
<template_name>hookRecentBlogEntries</template_name>
<template_data>$entries</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_boards</template_group>
<template_content><![CDATA[<div class='maintitle'>{$this->lang->words['recent_gallery_images']}</div>
<div id='attach_wrap' class='rounded clearfix'>
<ul>
<foreach loop="gallery_images_hook:$rows as $r">
<li>{$r['_image']}</li>
</foreach>
</ul>
</div>
<br style='clear:both;' />]]></template_content>
<template_name>hookRecentGalleryImages</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_boards</template_group>
<template_content><![CDATA[<div class='general_box clearfix'>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='{$this->lang->words['icon']}' /> {$this->lang->words['recently_added_topics']}</h3>
<ul class='hfeed block_list'>
<if test="recenttopics:|:is_array( $topics ) && count( $topics )">
{parse striping="recent_topics" classes="row1,row2 altrow"}
<foreach loop="topics_hook:$topics as $r">
<li class='hentry {parse striping="recent_topics"}'><a href='{parse url="showtopic={$r['tid']}" base="public" template="showtopic" seotitle="{$r['title_seo']}"}' rel='bookmark' title='{$this->lang->words['view_topic']}'>{$r['title']}</a>
{$this->lang->words['recent_by']} <address class="author vcard"><if test="$r['members_display_name']"><a class="url fn" href="{parse url="showuser={$r['starter_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['starter_id'], $r['members_seo_name']"}</address><else />{$this->settings['guest_name_pre']}{$r['starter_name']}{$this->settings['guest_name_suf']}</if><br />
<span class='date'><abbr class="published" title="{parse expression="date( 'c', $r['start_date'] )"}">{parse date="$r['start_date']" format="short"}</abbr></span></li>
</foreach>
<else />
<li>{$this->lang->words['norecent_topics_hook']}</li>
</if>
</ul>
</div>]]></template_content>
<template_name>hookRecentTopics</template_name>
<template_data>$topics</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_boards</template_group>
<template_content><![CDATA[<div class='general_box clearfix'>
<h3><img src='{$this->settings['img_url']}/user_comment.png' alt='{$this->lang->words['icon']}' /> {$this->lang->words['todays_top_posters']}</h3>
<if test="topposters:|:is_array($posters) AND count($posters)">
<ol id='top_posters' class='block_list clearfix'>
<foreach loop="top_posters_hook:$posters as $r">
<li>
<a href='{parse url="showuser={$r['member_id']}" template="showuser" seotitle="{$r['members_seo_name']}" base="public"}' title='{$this->lang->words['view_profile']}'><img src='{$r['pp_thumb_photo']}' width='{$r['pp_thumb_width']}' height='{$r['pp_thumb_height']}' alt='{$this->lang->words['photo']}' class='photo' /></a><br />
<span class='name'><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_short']}</a>{parse template="user_popup" group="global" params="$r['member_id'], $r['members_seo_name']"} ({$r['tpost']})</span>
</li>
</foreach>
</ol>
</if>
</div>]]></template_content>
<template_name>hookTopPosters</template_name>
<template_data>$posters</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_boards</template_group>
<template_content><![CDATA[<div class='general_box alt clearfix' id='hook_watched_items'>
<h3><img src='{$this->settings['img_url']}/comment_new.png' alt='{$this->lang->words['icon']}' /> {$this->lang->words['wi_content_title']}</h3>
<div class='recent_activity'>
<ol class='tab_bar no_title mini'>
<li id='tab_link_forums' class='tab_toggle active clickable'>{$this->lang->words['watched_forums']}</li>
<li id='tab_link_topics' class='tab_toggle clickable'>{$this->lang->words['watched_topics']}</li>
</ol>
<div id='tab_content_forums' class='tab_toggle_content'>
<if test="updatedforums:|:is_array( $updatedForums ) && count( $updatedForums )">
<ul class='clearfix'>
{parse striping="recent_topics" classes="row1,row2 altrow"}
<foreach loop="watched_forums:$updatedForums as $r">
<li class='{parse striping="recent_topics"}'><a href='{parse url="showforum={$r['id']}" base="public" template="showforum" seotitle="{$r['name_seo']}"}' rel='bookmark' title='{$this->lang->words['view_forum']}'>{$r['name']}</a></li>
</foreach>
</ul>
<else />
<ul class='clearfix'>
<if test="updatedforumsn:|:!is_array( $nUpdatedForums ) OR !count( $nUpdatedForums )">
<li class='{parse striping="recent_topics"}'>{$this->lang->words['wi_not_watch']}</li>
</if>
</ul>
</if>
<if test="noupdatedforums:|:is_array( $nUpdatedForums ) && count( $nUpdatedForums )">
<div id='more-watched-forums-container' style='display:none;'>
<ul>
<foreach loop="watched_hook_old:$nUpdatedForums as $r">
<li class='{parse striping="recent_topics"}'><a href='{parse url="showforum={$r['id']}" base="public" template="showforum" seotitle="{$r['name_seo']}"}' rel='bookmark' title='{$this->lang->words['view_forum']}'>{$r['name']}</a><br />
<span class='desc'>{$this->lang->words['wi_no_new']}</span>
</li>
</foreach>
</ul>
</div>
<fieldset class='submit'>
<input type='button' class='input_submit alt clickable' id='more-watched-forums' value='{$this->lang->words['wi_toggle_start']} {$this->lang->words['wi_toggle_end']}' />
</fieldset>
</if>
</div>
<div id='tab_content_topics' class='tab_toggle_content' style='display:none;'>
{parse striping="recent_topics" classes="row1,row2 altrow"}
<if test="updatedtopics:|:is_array( $updatedTopics ) && count( $updatedTopics )">
<ul class='hfeed'>
<foreach loop="watched_hook:$updatedTopics as $r">
<li class='hentry {parse striping="recent_topics"}'><a href='{parse url="showtopic={$r['tid']}&view=getnewpost" base="public" template="showtopic" seotitle="{$r['title_seo']}"}' rel='bookmark' title='{$this->lang->words['view_topic']}'>{$r['title']}</a> {$this->lang->words['recent_by']} <address class="author vcard"><a class="url fn" href="{parse url="showuser={$r['last_poster_id']}" template="showuser" seotitle="{$r['members_seo_name']}" 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['members_seo_name']"}</address><br /><span class='date'><abbr class="published" title="{parse expression="date( 'c', $r['last_post'] )"}">{parse date="$r['last_post']" format="short"}</abbr></span></li>
</foreach>
</ul>
<else />
<if test="updatedtopicsn:|:!is_array( $nUpdatedTopics ) OR !count( $nUpdatedTopics )">
<ul class='hfeed'>
<li class='{parse striping="recent_topics"}'>{$this->lang->words['wi_no_topics']}</li>
</ul>
</if>
</if>
<if test="noupdatedtopics:|:is_array( $nUpdatedTopics ) && count( $nUpdatedTopics )">
<div id='more-watched-topics-container' style='display:none;'>
<ul class='hfeed'>
<foreach loop="watched_hook_old:$nUpdatedTopics as $r">
<li class='hentry {parse striping="recent_topics"}'><a href='{parse url="showtopic={$r['tid']}&view=getnewpost" base="public" template="showtopic" seotitle="{$r['title_seo']}"}' rel='bookmark' title='{$this->lang->words['view_topic']}'>{$r['title']}</a> {$this->lang->words['recent_by']} <address class="author vcard"><a class="url fn" href="{parse url="showuser={$r['last_poster_id']}" template="showuser" seotitle="{$r['members_seo_name']}" 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['members_seo_name']"}</address><br /><span class='date'><abbr class="published" title="{parse expression="date( 'c', $r['last_post'] )"}">{parse date="$r['last_post']" format="short"}</abbr></span></li>
</foreach>
</ul>
</div>
<fieldset class='submit'>
<input type='button' id='more-watched-topics' class='input_submit alt clickable' value='{$this->lang->words['wi_toggle_start']} {$this->lang->words['wi_t_toggle_end']}' />
</fieldset>
</if>
</div>
</div>
</div>]]></template_content>
<template_name>hookWatchedItems</template_name>
<template_data>$updatedTopics, $nUpdatedTopics, $updatedForums, $nUpdatedForums</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_boards</template_group>
<template_content><![CDATA[<div id='active_chat' class='stats_list'>
<h2>
{$this->lang->words['whoschatting_total']} {$this->lang->words['whoschatting_loadchat']}
</h2>
{$this->lang->words['whoschatting_none']}
</div>]]></template_content>
<template_name>whoschatting_empty</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_boards</template_group>
<template_content><![CDATA[<div id='active_chat' class='stats_list'>
<h2>
{$total} {$this->lang->words['whoschatting_total']} {$this->lang->words['whoschatting_loadchat']}
</h2>
<if test="activeChat:|:count($names)">
<ul>
<li>{parse expression="implode( ",</li><li>", $names )"}</li>
</ul>
</if>
</div>]]></template_content>
<template_name>whoschatting_show</template_name>
<template_data><![CDATA[$total="",$names=""]]></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_forum">
<template>
<template_group>skin_forum</template_group>
<template_content><![CDATA[<if test="$this->request['module']=='ajax'">
<h3>{$this->lang->words['attach_page_title']}: $title</h3>
<else />
<h3 class='maintitle'>{$this->lang->words['attach_page_title']}: $title</h3>
</if>
<table class='ipb_table'>
<tr class='header'>
<th> </th>
<th>{$this->lang->words['attach_title']}</th>
<th>{$this->lang->words['attach_size']}</th>
<th>{$this->lang->words['attach_post']}</th>
</tr>
{parse striping="attachies" classes="row1,row2"}
<foreach loop="attachments:$rows as $data">
<tr class='{parse striping="attachies"}' id="{$data['attach_id']}">
<if test="guestthumb:|:$this->memberData['member_id'] || $this->settings['guests_img']">
<td class="altrow short">
<if test="attachthumb:|:$data['attach_thumb_location']">
<a href="{parse url="app=core&module=attach&section=attach&attach_rel_module=post&attach_id={$data['attach_id']}" base="public"}" title="{$data['attach_file']}"><img src="{$this->settings['upload_url']}/{$data['attach_thumb_location']}" width="30" height="30" /></a>
<else />
<img src="{$this->settings['mime_img']}/{$data['image']}" alt="{$this->lang->words['attached_file']}" />
</if>
</td>
</if>
<td>
<a href="{parse url="app=core&module=attach&section=attach&attach_rel_module=post&attach_id={$data['attach_id']}" base="public"}" title="{$data['attach_file']}">{$data['short_name']}</a><br />
<span class="desc">( {$this->lang->words['attach_hits']}: {$data['attach_hits']} )<br />( {$this->lang->words['attach_post_date']} {$data['attach_date']} )</span>
</td>
<td class="altrow short">{$data['real_size']}</td>
<td class='short'><a href="{parse url="app=forums&module=forums&section=findpost&pid={$data['pid']}" base="public"}" title="{$this->lang->words['view_post']}">{$data['pid']}</a></td>
</tr>
</foreach>
</table>]]></template_content>
<template_name>forumAttachments</template_name>
<template_data>$title, $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_forum</template_group>
<template_content>{$output}</template_content>
<template_name>forumAttachmentsAjaxWrapper</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>
<template>
<template_group>skin_forum</template_group>
<template_content><![CDATA[{parse js_module="forums"}
<script type="text/javascript">
//<!#^#|CDATA|
//Search Setup
ipb.vars['search_type'] = 'forum';
ipb.vars['search_type_id'] = {$this->request['showforum']};
ipb.templates['topic_rename'] = new Template("<input type='text' id='#{inputid}' value='#{value}' class='input_text' maxlength='{$this->settings['topic_title_max_len']}' /> <input type='submit' value='{$this->lang->words['rename_topic_update']}' class='input_submit' id='#{submitid}' /> <a href='#' id='#{cancelid}' class='cancel' title='{$this->lang->words['cancel']}'>{$this->lang->words['cancel']}</a>");
ipb.global.boardMarkers = $H({
'f_cat_unread': "{parse replacement="f_cat_read"}",
'f_unread': "{parse replacement="f_read"}",
'f_pass_unread': "{parse replacement="f_pass_read"}"
});
var markerURL = "{parse url="app=forums&module=ajax§ion=markasread&secure_hash={$this->member->form_hash}&forumid=" base="public"}"; // Ajax URL so don't use &
//|#^#]>
</script>
<if test="rulesinline:|:$forum_data['show_rules'] == 2">
<div class='message unspecific forum_rules'>
<h3>{$forum_data['rules_title']}</h3>
{$forum_data['rules_text']}
</div>
</if>
<if test="ruleslink:|:$forum_data['show_rules'] == 1">
<div class='message unspecific forum_rules'>
<a href='{parse url="app=forums&module=forums&section=rules&f={$forum_data['id']}" base="public"}' title='{$this->lang->words['view_forum_rules']}'><strong>{$forum_data['rules_title']}</strong></a>
</div>
</if>
<!-- __-SUBFORUMS-__ -->
<if test="hassubforums:|:is_array( $sub_forum_data ) AND count( $sub_forum_data )">
<div class='category_block block_wrap'>
<h3 class='maintitle'>{$data['name']} {$this->lang->words['sub_forum_title']}</h3>
<table class='ipb_table' summary="{$this->lang->words['cat_subforums']} '{$data['name']}'">
<tr class='header'>
<th scope='col' class='col_c_icon'> </th>
<th scope='col' class='col_c_forum'>{$this->lang->words['cat_name']}</th>
<th scope='col' class='col_c_stats stats'>{$this->lang->words['forum_stats']}</th>
<th scope='col' class='col_c_post'>{$this->lang->words['last_post_info']}</th>
</tr>
<!-- / CAT HEADER -->
<foreach loop="subforums:$sub_forum_data as $_data">
<if test="subforumdata:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )">
{parse striping="catTable" classes="row1,row2"}
<foreach loop="forums:$_data['forum_data'] as $forum_id => $forum_data">
<if test="isredirect:|:$forum_data['redirect_on']">
<tr class='{parse striping="catTable"} redirect_forum'>
<td class='altrow'>{parse replacement="f_redirect"}</td>
<td>
<h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['goto_forum']}'>{$forum_data['name']}</a></h4>
<p class='desc'>{$forum_data['description']}</p>
</td>
<td colspan='2'>
{$this->lang->words['rd_hits']}: {$forum_data['redirect_hits']}
</td>
</tr>
<else />
<tr class='{parse striping="catTable"}'>
<td class='altrow'>
<a id='forum_img_{$forum_data['id']}' href="{parse url="app=forums&module=forums&section=markasread&marktype=forum&forumid={$forum_data['id']}&returntoforumid={$this->request['f']}" base="public"}" title="{$this->lang->words['bi_markread']}" class='forum_marker'>{parse replacement="{$forum_data['img_new_post']}"}</a>
<script type='text/javascript'>
ipb.global.registerMarker( 'forum_img_{$forum_data['id']}', "{$forum_data['img_new_post']}", markerURL + "{$forum_data['id']}" );
</script>
</td>
<td>
<h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$this->lang->words['goto_forum']}'>{$forum_data['name']}</a></h4>
<p class='desc'>{$forum_data['description']}</p>
<if test="showsubforums:|:$forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums']">
<h5 class='hide'>{$this->lang->words['subforums']}</h5>
<ol class='subforums'>
<foreach loop="sub_subforums:$forum_data['subforums'] as $__id => $__data">
<if test="showSubForumsLit:|:$__data[3]"><li class='newposts'><else /><li></if><a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a></li>
</foreach>
</ol>
</if>
<!-- Skinnote: Clean up queued stuff -->
<if test="seequeuedicon:|:$forum_data['_has_queued_and_can_see_icon']">
<em class='moderated'><a href='{parse url="showforum={$forum_data['id']}&modfilter=all" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['view_unapproved']}'>{parse expression="sprintf( $this->lang->words['f_queued'], $forum_data['queued_topics'], $forum_data['queued_posts'])"}</a></em>
</if>
</td>
<td class='altrow stats'>
<ul>
<li>{$forum_data['topics']} {$this->lang->words['topics']}</li>
<li>{$forum_data['posts']} {$this->lang->words['replies']}</li>
</ul>
</td>
<td>
<ul class='last_post'>
<if test="hidelastinfo:|:$forum_data['hide_last_info']">
<li>{$this->lang->words['f_protected']}</li>
<else />
<li><a href='{parse url="showtopic={$forum_data['last_id']}&view=getlastpost" base="public" template="showtopic" seotitle="{$forum_data['seo_last_title']}"}' title='{$this->lang->words['view_last_post']}'>{parse replacement="f_lastpost"}</a> <a href='{parse url="showtopic={$forum_data['last_id']}&view=getlastpost" base="public" template="showtopic" seotitle="{$forum_data['seo_last_title']}"}' title='{$this->lang->words['view_last_post']}'>{$forum_data['last_post']}</a></li>
<li><strong>{$this->lang->words['in_last_topic']}</strong> {$forum_data['last_topic_title']}</li>
<li>
<strong>{$this->lang->words['forum_by']}</strong>
<if test="lastpostername:|:isset($forum_data['last_poster_name']) AND $forum_data['last_poster_name']">
<if test="lastposterid:|:$forum_data['last_poster_id']">
<a href='{parse url="showuser={$forum_data['last_poster_id']}" seotitle="{$forum_data['seo_last_name']}" template="showuser" base="public"}'>{$forum_data['last_poster_name']}</a>{parse template="user_popup" group="global" params="$forum_data['last_poster_id'],$forum_data['seo_last_name']"}
<else />
{$this->settings['guest_name_pre']}{$forum_data['last_poster_name']}{$this->settings['guest_name_suf']}
</if>
<else />
{$this->lang->words['f_none']}
</if>
</li>
</if>
</ul>
</td>
</tr>
</if>
</foreach>
</if>
</foreach>
</table>
</div>
<br />
</if>
<if test="showtopics:|:$forum_data['sub_can_post']">
<div class='topic_controls'>
{$forum_data['SHOW_PAGES']}
<ul class='topic_buttons'>
<if test="usercanpost:|:$forum_data['_user_can_post']">
<li><a href='{parse url="module=post&section=post&do=new_post&f={$forum_data['id']}" base="publicWithApp"}' title='{$this->lang->words['topic_start']}' accesskey='s'><img src='{$this->settings['img_url']}/page_white_add.png' alt='{$this->lang->words['topic_start']}' /> {$this->lang->words['topic_start']}</a></li>
<else />
<li class='disabled'><span>{$this->lang->words['forum_no_start_topic']}</span></li>
</if>
<if test="watchismember:|:$this->memberData['member_id']">
<if test="stopwatching:|:$this->settings['cpu_watch_update'] AND ( is_array( $this->memberData['_cache'] ) AND is_array( $this->memberData['_cache']['watchedForums'] ) AND in_array( $forum_data['id'], $this->memberData['_cache']['watchedForums'] ) )">
<li><a href='{parse url="app=core&module=usercp&tab=forums&area=updateWatchForums&do=saveIt&authKey={$this->member->form_hash}&forumIDs[{$forum_data['id']}]=1&trackchoice=unsubscribe&forumReturn={$forum_data['id']}" base="public"}' title='{$this->lang->words['ft_title']}'>{parse replacement="watch_forum_on"} {$this->lang->words['ft_title_stop']}</a></li>
<else />
<li><a href='{parse url="app=core&module=usercp&tab=forums&area=watch&do=watch&watch=forum&fid={$forum_data['id']}" base="public"}' title='{$this->lang->words['ft_title']}'>{parse replacement="watch_forum_off"} {$this->lang->words['ft_title']}</a></li>
</if>
</if>
</ul>
</div>
<div class='category_block block_wrap'>
<table class='ipb_table topic_list' summary='{$this->lang->words['forum_topic_list']} "{$forum_data['name']}"' id='forum_table'>
<caption class='maintitle'>
<span class='main_forum_title'>{$forum_data['name']}</span><span class='desc'><a href='{parse url="app=forums&module=forums&section=markasread&marktype=forum&forumid={$forum_data['id']}&returntoforumid={$forum_data['id']}" base="public"}' title='{$this->lang->words['mark_as_read']}'>({$this->lang->words['mark_as_read']})</a></span></caption>
<tr class='header'>
<th scope='col' class='col_f_icon'> </th>
<th scope='col' class='col_f_topic'>{$this->lang->words['forum_topic']}</th>
<th scope='col' class='col_f_starter short'>{$this->lang->words['forum_started_by']}</th>
<th scope='col' class='col_f_views stats'>{$this->lang->words['forum_stats']}</th>
<th scope='col' class='col_f_post'>{$this->lang->words['forum_last_post_info']}</th>
<if test="topicsismod:|:$this->memberData['is_mod'] == 1">
<th scope='col' class='col_f_mod short'><input type='checkbox' id='tmod_all' class='input_check' title='{$this->lang->words['topic_select_all']}' value='1' /></th>
</if>
</tr>
<!-- ANNOUNCEMENTS -->
<if test="hasannouncements:|:is_array( $announce_data ) AND count( $announce_data )">
<foreach loop="announcements:$announce_data as $aid => $adata">
<tr class='row2 announcement' id='arow_{$adata['announce_id']}'>
<td class='short altrow'>{parse replacement="t_announcement"}</td>
<if test="topicsismod:|:$this->memberData['is_mod'] == 1">
<td colspan='5'>
<else />
<td colspan='4'>
</if>
<span class='topic_prefix'>{$this->lang->words['announce_row']}</span>
<a href="{parse url="showannouncement={$adata['announce_id']}&f={$forum_data['id']}" seotitle="%%{$adata['announce_title']}%%" template="showannouncement" base="public"}" title='{$this->lang->words['view_announcement']}'>{$adata['announce_title']}</a><br />
<span class='desc'>{$this->lang->words['posted_by']} <strong><a href="{parse url="showuser={$adata['member_id']}" seotitle="{$adata['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['view_profile']}'>{$adata['member_name']}</a> {parse template="user_popup" group="global" params="$adata['member_id'], $adata['members_seo_name']"}</strong>
<if test="announcedates:|:$adata['announce_start'] AND $adata['announce_start'] != '--'">, {$adata['announce_start']}</if>
</span>
</td>
</tr>
</foreach>
<tr class='subhead altbar'>
<th scope='col' colspan='<if test="endannouncements:|:$this->memberData['is_mod'] == 1">6<else />5</if>'>
{$this->lang->words['forum_topic_list']}
</th>
</tr>
</if>
<!-- BEGIN TOPICS -->
<if test="hastopics:|:is_array( $topic_data ) AND count( $topic_data )">
{parse striping="forumTable" classes="row1,row2"}
<foreach loop="topics:$topic_data as $tid => $data">
<if test="queuedtopic:|:$this->memberData['is_mod'] AND ! $data['approved']">
<tr class='{parse striping="forumTable"} moderated' id='trow_{$data['tid']}'>
<else />
<tr class='{parse striping="forumTable"}' id='trow_{$data['tid']}'>
</if>
<td class='short altrow'>{parse replacement="{$data['folder_img']}"}</td>
<td <if test="hasmodlinks:|:$this->memberData['is_mod'] == 1">class='with_mod_links'</if>>
<if test="topicmoderator:|:$this->memberData['is_mod'] == 1">
<ul class='topic_moderation right rounded'>
<li class='t_rename'><a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum_data['id']}&t={$data['tid']}&auth_key={$this->member->form_hash}&do=05" base="public"}' title='{$this->lang->words['topic_rename']}'><img src='{$this->settings['img_url']}/textfield_rename.png' alt='{$this->lang->words['topic_rename']}' title='{$this->lang->words['topic_rename']}' /></a></li>
<li class='t_delete'><a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum_data['id']}&st={$this->request['st']}&t={$data['real_tid']}&auth_key={$this->member->form_hash}&do=03" base="public"}' title='{$this->lang->words['topic_delete']}'><img src='{$this->settings['img_url']}/delete.png' alt='{$this->lang->words['topic_delete']}' title='{$this->lang->words['topic_delete']}' /></a></li>
<if test="islink:|:$data['state'] != 'link'">
<if test="ispinned:|:$data['pinned']">
<li class='t_pin'><a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum_data['id']}&t={$data['tid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&do=16&from=forum" base="public"}' title='{$this->lang->words['topic_unpin']}'><img src='{$this->settings['img_url']}/award_delete.png' alt='{$this->lang->words['topic_unpin']} icon' title='{$this->lang->words['topic_unpin']}' /></a></li>
<else />
<li class='t_pin'><a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum_data['id']}&t={$data['tid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&do=15&from=forum" base="public"}' title='{$this->lang->words['topic_pin']}'><img src='{$this->settings['img_url']}/award.png' alt='{$this->lang->words['topic_pin']} icon' title='{$this->lang->words['topic_pin']}' /></a></li>
</if>
</if>
<if test="closedtopic:|:$data['state'] == 'closed' && $other_data['can_open_topics']">
<li class='t_lock'><a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum_data['id']}&t={$data['tid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&do=01" base="public"}' title='{$this->lang->words['topic_open']}'><img src='{$this->settings['img_url']}/lock_open.png' alt='{$this->lang->words['topic_open']} icon' title='{$this->lang->words['topic_open']}' /></a></li>
</if>
<if test="opentopic:|:$data['state'] == 'open' && $other_data['can_close_topics']">
<li class='t_lock'><a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum_data['id']}&t={$data['tid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&do=00" base="public"}' title='{$this->lang->words['topic_close']}'><img src='{$this->settings['img_url']}/lock.png' alt='{$this->lang->words['topic_close']} icon' title='{$this->lang->words['topic_close']}' /></a></li>
</if>
</ul>
</if>
{$data['prefix']}
<if test="topicreported:|: isset( $this->memberData['_cache']['report_temp']['post_marker']['topic'][$data['tid']]['gfx'] ) AND $this->memberData['_cache']['report_temp']['post_marker']['topic'][$data['tid']]['gfx'] > 0">
<a href="{parse url="app=core&module=reports&section=reports&do=findfirst&tid={$data['tid']}&cid={$this->memberData['_cache']['report_temp']['post_marker']['topic'][$data['tid']]['info']['com_id']}" base="public"}"> <img src="{$this->settings['img_url']}/reports/post_alert_{$this->memberData['_cache']['report_temp']['post_marker']['topic'][$data['tid']]['gfx']}.png" alt='{$this->lang->words['icon']}' title='{$this->lang->words['view_reported_posts']}' /> </a>
</if>
<if test="gotonewpost:|:$data['go_new_post'] === true"><a href='{parse url="showtopic={$data['tid']}&view=getnewpost" template="showtopic" seotitle="{$data['title_seo']}" base="public"}' title='{$this->lang->words['first_unread_post']}'>{parse replacement="f_newpost"}</a></if>
<if test="topichasattach:|:$data['topic_hasattach']">
<!-- SKINNOTE: This is the link for the attachments popup -->
<a href="{parse url="app=forums&module=forums&section=attach&tid={$data['tid']}" base="public"}" title="{parse expression="intval($data['topic_hasattach'])"} {$this->lang->words['topic_attach']}" onclick="return ipb.forums.retrieveAttachments( {$data['tid']} );">{parse replacement="t_attach"}</a>
</if>
<if test="istracking:|:! empty($data['trackingTopic'])">{parse replacement="watch_small"}</if>
<a id="tid-link-{$data['tid']}" href="{parse url="showtopic={$data['tid']}" base="public" template="showtopic" seotitle="{$data['title_seo']}"}" title='View topic, started on {$data['start_date']}' class='topic_title'>{$data['title']}</a>
{$data['_rate_img']}
<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']}&st={$page['st']}" seotitle="{$data['title_seo']}" template="showtopic" base="public"}" title='{$this->lang->words['topic_goto_page']} {$page['page']}'>{$page['page']} →</a></li>
<else />
<li><a href="{parse url="showtopic={$data['tid']}&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>
</td>
<td class='short altrow'>{$data['starter']}{parse template="user_popup" group="global" params="$data['starter_id'], $data['seo_first_name']"}</td>
<if test="queuedposts:|:$this->memberData['is_mod'] AND $data['_hasqueued']">
<td class='stats moderated'>
<ul>
<li><a href='{parse url="showtopic={$data['tid']}&modfilter=invisible_posts" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['view_uapproved_posts']}'><img src='{$this->settings['img_url']}/bullet_error.png' alt='Icon' /></a>{$data['posts']} <if test="queuedpostslang:|:intval($data['posts']) == 1">{$this->lang->words['reply']}<else />{$this->lang->words['replies']}</if></li>
<else />
<td class='stats'>
<ul>
<li>{$data['posts']} <if test="replylang:|:intval($data['posts']) == 1">{$this->lang->words['reply']}<else />{$this->lang->words['replies']}</if></li>
</if>
<li class='views desc'>{$data['views']} {$this->lang->words['views']}</li>
</ul>
</td>
<td class='altrow'>
<ul class='last_post'>
<li>
<a href='{parse url="showtopic={$data['tid']}&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']}&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>
<if test="mmicon:|:$this->memberData['is_mod'] == 1 and $inforum == 1">
<td class='short'>
<if test="mmtidon:|:$data['tidon'] == 0">
<input type='checkbox' class='input_check topic_mod' id='tmod_{$data['real_tid']}' />
<else />
<input type='checkbox' class='input_check topic_mod' id='tmod_{$data['real_tid']}' checked='checked' />
</if>
</td>
</if>
</tr>
</foreach>
<else />
<tr>
<if test="notopicsspan:|:$this->memberData['is_mod'] == 1">
<td colspan='7' class='no_messages'>
<else />
<td colspan='6' class='no_messages'>
</if>
{$this->lang->words['no_topics']}
</td>
</tr>
</if>
</table>
<if test="moderationform:|:$this->memberData['is_mod'] == 1">
<div id='topic_mod' class='moderation_bar rounded with_action clear'>
<!-- SKINNOTE: Check delete -->
<form id='modform' method="post" action="{parse url="" base="public"}">
<fieldset>
<input type="hidden" name="app" value="forums" />
<input type="hidden" name="module" value="moderate" />
<input type="hidden" name="section" value="moderate" />
<input type="hidden" name="do" value="topicchoice" />
<input type="hidden" name="st" value="{$this->request['st']}" />
<input type="hidden" name="f" value="{$forum_data['id']}" />
<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
<input type="hidden" name="modfilter" value="{$this->request['modfilter']}" />
<input type="hidden" value="{$this->request['selectedtids']}" id='selectedtids' name="selectedtids" />
<input type='button' id='forum_mod_options' value='{$this->lang->words['forum_management']}' class='input_submit alt left ipbmenu' />
<ul class='ipbmenu_content' id='forum_mod_options_menucontent'>
<li><a href='{parse url="app=forums&module=moderate&section=moderate&do=prune_start&f={$forum_data['id']}&auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['mod_prumemovetopics']}'>{$this->lang->words['mod_prumemovetopics']}</a></li>
<li><a href='{parse url="app=forums&module=moderate&section=moderate&do=resync&f={$forum_data['id']}&auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['mod_resync']}'>{$this->lang->words['mod_resync']}</a></li>
<li><a href='{parse url="showforum={$forum_data['id']}&modfilter=invisible_topics" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['mod_hidden']}'>{$this->lang->words['mod_hidden']}</a></li>
<li><a href='{parse url="showforum={$forum_data['id']}&modfilter=invisible_posts" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['mod_hidden_posts']}'>{$this->lang->words['mod_hidden_posts']}</a></li>
</ul>
<select name="tact" id='mod_tact'>
<option value="close">{$this->lang->words['cpt_close']}</option>
<option value="open">{$this->lang->words['cpt_open']}</option>
<option value="pin">{$this->lang->words['cpt_pin']}</option>
<option value="unpin">{$this->lang->words['cpt_unpin']}</option>
<option value="move">{$this->lang->words['cpt_move']}</option>
<option value="merge">{$this->lang->words['cpt_merge']}</option>
<option value="delete">{$this->lang->words['cpt_delete']}</option>
<option value="approve">{$this->lang->words['cpt_approve']}</option>
<option value="unapprove">{$this->lang->words['cpt_unapprove']}</option>
<if test="mmdata:|:is_array( $multi_mod_data ) AND count( $multi_mod_data )">
<option value="-1">------------------------------</option>
<option value="-1">{$this->lang->words['mm_title']}</option>
<option value="-1">------------------------------</option>
<foreach loop="mm:$multi_mod_data as $mm_data">
<option value="t_{$mm_data[0]}">-- {$mm_data[1]}</option>
</foreach>
</if>
</select>
<input type="submit" name="gobutton" value="{$this->lang->words['f_go']}" class="input_submit alt" id='mod_submit' />
</fieldset>
</form>
<script type='text/javascript'>
$('modform').observe('submit', ipb.forums.submitModForm);
</script>
</div>
</if>
<div id='forum_filter' class='filter_bar rounded'>
<span id='show_filters' class='clickable' style='display: none'>{$this->lang->words['filter_options']}</span>
<form id='filter_form' action="{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&changefilters=1" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}" method="post">
<fieldset>
<label for='topic_filter'>{$this->lang->words['filter_type']}</label> <select name="topicfilter" id='topic_filter' class='input_select'>{$footer_filter['topic_filter']}</select>
<label for='sort_by'>{$this->lang->words['filter_sort']}</label> <select name="sort_key" id='sort_by' class='input_select'>{$footer_filter['sort_by']}</select>
<label for='direction'>{$this->lang->words['filter_direction']}</label> <select name="sort_by" id='direction' class='input_select'>{$footer_filter['sort_order']}</select>
<label for='time_frame'>{$this->lang->words['filter_time']}</label> <select name="prune_day" id='time_frame' class='input_select'>{$footer_filter['sort_prune']}</select>
<input type='checkbox' value='1' name='remember' class='input_check' id='remember_filter' /> <label for='remember_filter'>{$this->lang->words['remember_options']}</label>
<input type="submit" value="{$this->lang->words['sort_submit']}" class="input_submit alt" />
</fieldset>
</form>
<script type='text/javascript'>
if( $('filter_form' ) ){
$('filter_form').hide();
$('show_filters').show();
}
</script>
</div>
<div class='moderation_bar rounded'>
<form method='post' action='{$this->settings['base_url']}app=core&module=search&do=quick_search&search_filter_app[forums]=1' id='context_search' class='left'>
<fieldset>
<input type='hidden' name='type' value='forum' />
<input type='hidden' name='type_id' value='{$forum_data['id']}' />
<label for='forum_search'>{$this->lang->words['search_forum']}</label>
<input type='text' id='forum_search' name='search_term' class='input_text' size='20' tabindex='8' />
<input type='submit' class='input_submit alt' value='{$this->lang->words['jmp_go']}' />
</fieldset>
</form>
<if test="forumjump:|:$forum_data['FORUM_JUMP']">
{$forum_data['FORUM_JUMP']}
</if>
</div>
</div>
<div class='topic_controls'>
{$forum_data['SHOW_PAGES']}
<ul class='topic_buttons'>
<if test="bottomusercanpost:|:$forum_data['_user_can_post']">
<li><a href='{parse url="module=post&section=post&do=new_post&f={$forum_data['id']}" base="publicWithApp"}'><img src='{$this->settings['img_url']}/page_white_add.png' alt='{$this->lang->words['topic_start']} Icon' /> {$this->lang->words['topic_start']}</a></li>
<else />
<li class='disabled'><span>{$this->lang->words['forum_no_start_topic']}</span></li>
</if>
</ul>
</div>
<div id='forum_footer' class='statistics general_box clear clearfix'>
<div id='forum_legend' class='right'>
<h2>{$this->lang->words['forum_legend']}</h2>
<dl>
<dt class='clear'>{parse replacement="t_unread"}</dt>
<dd>{$this->lang->words['pm_open_new']}</dd>
<dt>{parse replacement="t_read"}</dt>
<dd>{$this->lang->words['pm_open_no']}</dd>
<dt class='clear'>{parse replacement="t_hot_unread"}</dt>
<dd>{$this->lang->words['pm_hot_new']}</dd>
<dt>{parse replacement="t_hot_read"}</dt>
<dd>{$this->lang->words['pm_hot_no']}</dd>
<dt class='clear'>{parse replacement="t_poll_unread"}</dt>
<dd>{$this->lang->words['pm_poll']}</dd>
<dt>{parse replacement="t_poll_read"}</dt>
<dd>{$this->lang->words['pm_poll_no']}</dd>
<dt class='clear'>{parse replacement="t_closed"}</dt>
<dd>{$this->lang->words['pm_locked']}</dd>
<dt>{parse replacement="t_moved"}</dt>
<dd>{$this->lang->words['pm_moved']}</dd>
</dl>
</div>
<if test="showactiveusers:|:!$this->settings['no_au_forum']">
<div id='forum_active_users' class='active_users stats_list'>
<h2>
{parse expression="sprintf( $this->lang->words['active_users_title'], ($active_user_data['members'] + $active_user_data['guests'] + $active_user_data['anon'] ) )"}<br />
<span class='desc'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $active_user_data['members'], $active_user_data['guests'], $active_user_data['anon'] )"}</span>
</h2>
<ul>
<if test="hasactiveusers:|:is_array( $active_user_data['names'] ) AND count( $active_user_data['names'] )">
<foreach loop="activeusers:$active_user_data['names'] as $p => $r">
<li>{$r['p_start']}<if test="aumemberid:|:$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="aumidend:|:$r['id']"></a></if>{$r['p_end']}<if test="auaddcomma:|:$p + 1 != count( $active_user_data['names'] )">,</if></li>
</foreach>
</if>
</ul>
</div>
</if>
<if test="hasmoderators:|:is_array( $mod_data ) AND count( $mod_data )">
<div id='forum_led_by' class='active_users stats_list'>
<h2>{$this->lang->words['forum_led_by']}</h2>
<ul>
<foreach loop="moderators:$mod_data as $p => $r">
<li><a href='{$r[0]}' title='{$this->lang->words['view_profile']}'>{$r[1]}</a><if test="moderatorpopup:|:$r[2]">{parse template="user_popup" group="global" params="$r[2], IPSText::makeSeoTitle( $r[1] )"}</if><if test="moderatorscomma:|:$p + 1 != count( $mod_data )">,</if></li>
</foreach>
</ul>
</div>
</if>
</div>
<br class='clear' />
</if>]]></template_content>
<template_name>forumIndexTemplate</template_name>
<template_data>$forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=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>
<template>
<template_group>skin_forum</template_group>
<template_content><![CDATA[<form action="{parse url="showforum={$fid}" base="public"}" method="post">
<input type="hidden" name="L" value="1" />
<h2>{$this->lang->words['need_password']}</h2>
<p class='message'>{$this->lang->words['need_password_txt']}</p>
<div class='generic_bar'></div>
<div class='post_form'>
<fieldset class='row1'>
<h3 class='bar'>{$this->lang->words['enter_pass']}</h3>
<ul>
<li class='field'>
<label for='forum_pass'>{$this->lang->words['enter_pass']}</label>
<input type="password" size="20" name="f_password" id='forum_pass' class='input_text' />
</li>
</ul>
</fieldset>
<fieldset class='submit'>
<input type="submit" value="{$this->lang->words['f_pass_submit']}" class="input_submit" /> {$this->lang->words['or']} <a href='{parse url="" base="public"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
</fieldset>
</div>
</form>]]></template_content>
<template_name>forumPasswordLogIn</template_name>
<template_data><![CDATA[$fid=""]]></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_forum</template_group>
<template_content><![CDATA[<h2>{$rules['title']}</h2>
<div class='general_box'>
<h3>{$this->lang->words['forum_rules']}</h3>
<p><br />{$rules['body']}</p>
</div>
<fieldset class='submit'>
<a href="{parse url="act=SF&f={$rules['fid']}" base="public"}">{$this->lang->words['back_to_forum']}</a>
</fieldset>]]></template_content>
<template_name>show_rules</template_name>
<template_data><![CDATA[$rules=""]]></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_forum</template_group>
<template_content><![CDATA[<if test="prefix:|:$text">
<span class='topic_prefix'>{$text}</span>
</if>]]></template_content>
<template_name>topicPrefixWrap</template_name>
<template_data>$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_forum</template_group>
<template_content><![CDATA[<span class='mini_rate'>
<foreach loop="ratings:array(1,2,3,4,5) as $int">
<if test="ratinggood:|:$rating_id >= $int">
{parse replacement="mini_rate_on"}
<else />
{parse replacement="mini_rate_off"}
</if>
</foreach>
</span>]]></template_content>
<template_name>topic_rating_image</template_name>
<template_data>$rating_id=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>
<template>
<template_group>skin_forum</template_group>
<template_content><![CDATA[<!-- SKINNOTE: This is the link for the "who posted" ajax popup -->
<a href="{parse url="app=forums&module=extras&section=stats&do=who&t={$tid}" base="public"}" onclick="return ipb.forums.retrieveWhoPosted( {$tid} );">$posts</a>]]></template_content>
<template_name>who_link</template_name>
<template_data><![CDATA[$tid="",$posts=""]]></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_legends">
<template>
<template_group>skin_legends</template_group>
<template_content><![CDATA[<h2>{$this->lang->words['bbc_title']}</h2>
<span class='desc'>{$this->lang->words['bbc_intro']}</span>
<br /><br />
<table class='ipb_table'>
<tr class='header'>
<th style='width: 50%'>{$this->lang->words['bbc_before']}</th>
<th style='width: 50%'>{$this->lang->words['bbc_after']}</th>
</tr>
<foreach loop="bbcode:$rows as $row">
<tr class='subhead altbar'>
<th colspan='2'>{$row['title']}</th>
</tr>
<tr class='row1'>
<td class='altrow'>
{$row['before']}
</td>
<td>
{$row['after']}
</td>
</tr>
</foreach>
</table>
{parse template="include_highlighter" group="global" params="1"}
<script type='text/javascript'>
try {
ipb.delegate.register('.bbc_spoiler_show', ipb.global.toggleSpoiler);
} catch(err) { }
</script>]]></template_content>
<template_name>bbcodePopUpList</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_legends</template_group>
<template_content><![CDATA[{parse striping="emoticons" classes="row1,row2"}
<div class='full_emoticon'>
<table class='ipb_table'>
<foreach loop="emoticons:$rows as $row">
<tr class='{parse striping="emoticons"}'>
<td style='text-align: center; width: 40%;'>
<a href="#" onclick={$row['out']}ipb.editors[ {$row['in']}{$editor_id}{$row['in']} ].insert_emoticon({$row['in']}{$row['in']},"{$row['image']}",{$row['in']}{$row['code']}{$row['in']},{$row['in']}{$row['in']}); return false;{$row['out']} title="{$row['image']}">{$row['code']}</a>
</td>
<td style='text-align: center; width: 60%;'>
<a href="#" onclick={$row['out']}ipb.editors[ {$row['in']}{$editor_id}{$row['in']} ].insert_emoticon({$row['in']}{$row['in']},"{$row['image']}",{$row['in']}{$row['code']}{$row['in']},{$row['in']}{$row['in']}); return false;{$row['out']} title="{$row['image']}"><img src="{$this->settings['emoticons_url']}/{$row['image']}" id='smid_{$row['smilie_id']}' alt="{$row['image']}" /></a>
</td>
</tr>
</foreach>
</table>
</div>]]></template_content>
<template_name>emoticonPopUpList</template_name>
<template_data>$editor_id, $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_legends</template_group>
<template_content><![CDATA[<div><b>{$tag}</b></div>]]></template_content>
<template_name>wrap_tag</template_name>
<template_data><![CDATA[$tag=""]]></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_mod">
<template>
<template_group>skin_mod</template_group>
<template_content><![CDATA[<form action='{parse url="app=forums&module=moderate&section=moderate" base="public"}' method='post'>
<input type='hidden' name='auth_key' value='{$this->member->form_hash}' />
<input type='hidden' name='do' value='08' />
<input type='hidden' name='t' value='{$topic['tid']}' />
<input type='hidden' name='f' value='{$forum['id']}' />
<input type='hidden' name='st' value='{$this->request['st']}' />
<h2 class='maintitle'>{$this->lang->words['top_delete']}: {$forum['name']} -> {$topic['title']}</h2>
<div class='generic_bar'></div>
<div class='post_form'>
<p class='row1 field'>{$this->lang->words['delete_topic']}</p>
<fieldset class='submit'>
<input type="submit" class='input_submit' value="{$this->lang->words['submit_delete']}" /> {$this->lang->words['or']} <a href='{parse url="showtopic={$topic['tid']}&st={$this->request['st']}" base="public" seotitle="{$topic['title_seo']}" template="showtopic"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
</fieldset>
</div>
</form>]]></template_content>
<template_name>deleteTopicForm</template_name>
<template_data>$forum, $topic</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_mod</template_group>
<template_content><![CDATA[<form action='{parse url="app=forums&module=moderate&section=moderate" base="public"}' method='post'>
<input type='hidden' name='auth_key' value='{$this->member->form_hash}' />
<input type='hidden' name='do' value='12' />
<input type='hidden' name='t' value='{$topic['tid']}' />
<input type='hidden' name='f' value='{$forum['id']}' />
<input type='hidden' name='st' value='{$this->request['st']}' />
<h2 class='maintitle'>{$this->lang->words['top_edit']}: {$forum['name']} > {$topic['title']}</h2>
<div class='generic_bar'></div>
<div class='post_form'>
<fieldset>
<h3 class='bar'>{$this->lang->words['editing_topic_title']}</h3>
<ul>
<li class='field'>
<label for='topic_title'>{$this->lang->words['edit_f_title']}</label>
<input type="text" size="40" id='topic_title' maxlength="{$this->settings['topic_title_max_len']}" name="TopicTitle" value="{$topic['title']}" />
</li>
<li class='field'>
<label for='topic_desc'>{$this->lang->words['edit_f_desc']}</label>
<input type="text" size="40" id='topic_desc' maxlength="70" name="TopicDesc" value="{$topic['description']}" />
</li>
</ul>
</fieldset>
<fieldset class='submit'>
<input type="submit" class='input_submit' value="{$this->lang->words['submit_edit']}" /> {$this->lang->words['or']} <a href='{parse url="showtopic={$topic['tid']}" base="public" seotitle="{$topic['title_seo']}" template="showtopic"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
</fieldset>
</form>]]></template_content>
<template_name>editTopicTitle</template_name>
<template_data>$forum, $topic</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_mod</template_group>
<template_content><![CDATA[<form action='{parse url="app=forums&module=moderate&section=moderate" base="public"}' method='post'>
<input type='hidden' name='auth_key' value='{$this->member->form_hash}' />
<input type='hidden' name='do' value='doeditmember' />
<input type='hidden' name='mid' value='{$profile['member_id']}' />
<h2 class='maintitle'>{$this->lang->words['cp_em_title']}: {$profile['members_display_name']}</h2>
<div class='generic_bar'></div>
<div class='post_form'>
<fieldset>
<h3 class='bar'>{$this->lang->words['edit_user_images']}</h3>
<ul>
<li class='field'>
<label for='avatar'>{$this->lang->words['cp_remove_av']}</label>
<select name="avatar" id='avatar' class='input_select'>
<option value="0">{$this->lang->words['no']}</option>
<option value="1">{$this->lang->words['yes']}</option>
</select>
</li>
<li class='field'>
<label for='photo'>{$this->lang->words['cp_remove_photo']}</label>
<select name="photo" id='photo' class='input_select'>
<option value="0">{$this->lang->words['no']}</option>
<option value="1">{$this->lang->words['yes']}</option>
</select>
</li>
</ul>
<if test="editusercfields:|:count($custom_fields->out_fields)">
<h3 class='bar'>{$this->lang->words['edit_user_profile']}</h3>
<ul>
<li class='field'>
<label for='title'>{$this->lang->words['edit_user_title']}</label>
<input type='text' class="input_text" name='title' value='{$profile['title']}' />
</li>
<foreach loop="custom_fields:$custom_fields->out_fields as $id => $data">
<li class='field'>
<label for='field_{$id}'>{$custom_fields->field_names[ $id ]}</label>
{$data}<br />
<if test="editusercfielddesc:|:$custom_fields->field_desc[ $id ]">
<span class='desc'>{$custom_fields->field_desc[ $id ]}</span>
</if>
</tr>
</foreach>
</ul>
</if>
<h3 class='bar'>{$this->lang->words['cp_edit_signature']}</h3>
{$profile['signature']}
</fieldset>
<fieldset class='submit'>
<input type="submit" class='input_submit' value="{$this->lang->words['cp_em_submit']}" /> {$this->lang->words['or']} <a href='{parse url="showuser={$profile['member_id']}" base="public"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
</fieldset>
</div>
</form>]]></template_content>
<template_name>editUserForm</template_name>
<template_data>$profile, $custom_fields=null</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_mod</template_group>
<template_content><![CDATA[{parse js_module="moderate"}
<form action='{parse url="app=forums&module=moderate&section=moderate" base="public"}' method='post'>
<input type='hidden' name='auth_key' value='{$this->member->form_hash}' />
<input type='hidden' name='do' value='postchoice' />
<foreach loop="selectedpids:$this->request['selectedpids'] as $pid">
<input type="hidden" name="selectedpids[]" value="{$pid}" />
</foreach>
<input type="hidden" name="t" value="{$this->request['t']}" />
<input type="hidden" name="f" value="{$this->request['f']}" />
<input type='hidden' name='tact' value='merge' />
<input type='hidden' name='checked' value='1' />
<input type='hidden' name='st' value='{$this->request['st']}' />
<p class='message'>{$this->lang->words['merge_select']}</p>
<h2 class='maintitle'>{$this->lang->words['cm_title']}</h2>
<div class='generic_bar'></div>
<div class='post_form'>
<fieldset>
<h3 class='bar'>{$this->lang->words['post_options']}</h3>
<ul>
<li class='field'>
<label for='post_date'>{$this->lang->words['cm_post']}</label>
<select name="postdate" class="input_select" id='post_date'>
<if test="mergepostsdates:|:is_array($dates) AND count($dates)">
<foreach loop="dates:$dates as $date">
<option value='{$date[0]}'>{$date[1]}</option>
</foreach>
</if>
</select>
</li>
<li class='field'>
<label for='post_author'>{$this->lang->words['cm_author']}</label>
<select name="postauthor" class="input_select" id='post_author'>
<if test="mergepostsauthors:|:is_array($authors) AND count($authors)">
<foreach loop="authors:$authors as $author">
<option value='{$author[0]}'>{$author[1]}</option>
</foreach>
</if>
</select>
</li>
</ul>
<h3 class='bar'>{$this->lang->words['post_content']}</h3>
{$editor}
</fieldset>
<!--SKINNOTE: This wasn't skinned - did my best to match it to the rest of the IPB style, but might want to touch it up-->
<if test="mergepostsattachments:|:count($uploads)">
<fieldset>
<h3 class='bar'>{$this->lang->words['cm_attach']}</h3>
<h4>{$this->lang->words['cm_attach2']}<h4>
<table>
<foreach loop="uploads:$uploads as $attach">
<tr>
<td width="1%">
<select name="attach_{$attach['attach_id']}" class="input_select">
<option value="keep">{$this->lang->words['cm_keep']}</option>
<option value="delete">{$this->lang->words['cm_delete']}</option>
</select>
</td>
<td width="1%"><img src="{$this->settings['public_dir']}{$attach['image']}" alt="{$this->lang->words['cm_attach_alt']}" /></td>
<td width="15%" nowrap="nowrap">{$attach['size']}</td>
<td width="95%"><a href="{parse url="app=core&module=attach&section=attach&attach_id={$attach['attach_id']}" base="public"}" title="{$this->lang->words['cm_attach_title']}">{$attach['attach_file']}</a> #{$attach['attach_rel_id']}</td>
</tr>
</foreach>
</table>
</fieldset>
</if>
<fieldset class='submit'>
<php>
$selectedPids = implode( ',', $this->request['selectedpids'] );
</php>
<input type="submit" class='input_submit' value="{$this->lang->words['cm_submit']}" /> {$this->lang->words['or']} <a href='{parse url="showtopic={$this->request['t']}&selectedpids={$selectedPids}" base="public" seotitle="{$seoTitle}" template="showtopic"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
</fieldset>
</div>
</form>]]></template_content>
<template_name>mergePostForm</template_name>
<template_data>$editor, $dates, $authors, $uploads, $seoTitle</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_mod</template_group>
<template_content><![CDATA[<form action='{parse url="app=forums&module=moderate&section=moderate" base="public"}' method='post'>
<input type='hidden' name='auth_key' value='{$this->member->form_hash}' />
<input type='hidden' name='do' value='61' />
<input type='hidden' name='t' value='{$topic['tid']}' />
<input type='hidden' name='f' value='{$forum['id']}' />
<input type='hidden' name='st' value='{$this->request['st']}' />
<h2 class='maintitle'>{$this->lang->words['mt_top']}: {$forum['name']} > {$topic['title']}</h2>
<div class='generic_bar'></div>
<div class='post_form'>
<fieldset>
<h3 class='bar'>{$this->lang->words['merge_topic_options']}</h3>
<ul>
<li class='field'>
<label for='new_title'>{$this->lang->words['mt_new_title']}</label>
<input type="text" id='new_title' class='input_text' size="40" maxlength="250" name="title" value="{$topic['title']}" />
</li>
<li class='field'>
<label for='new_desc'>{$this->lang->words['mt_new_desc']}</label>
<input type="text" id='new_desc' class='input_text' size="40" maxlength="250" name="desc" value="{$topic['description']}" />
</li>
<li class='field'>
<label for='topic_url'>{$this->lang->words['mt_tid']}</label>
<input type="text" id='topic_url' class='input_text' size="40" name="topic_url" value="" />
<span class='desc'>{$this->lang->words['mt_tid_desc']}</span>
</li>
</ul>
</fieldset>
<fieldset class='submit'>
<input type="submit" class='input_submit' value="{$this->lang->words['mt_submit']}" /> {$this->lang->words['or']} <a href='{parse url="showtopic={$topic['tid']}" base="public" seotitle="{$topic['title_seo']}" template="showtopic"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
</fieldset>
</div>
</form>]]></template_content>
<template_name>mergeTopicsForm</template_name>
<template_data>$forum, $topic</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_mod</template_group>
<template_content><![CDATA[<if test="movepostserror:|:$error">
<p class="message error">{$error}</p>
</if>
{parse js_module="moderate"}
<form action='{parse url="app=forums&module=moderate&section=moderate" base="public"}' method='post'>
<input type='hidden' name='auth_key' value='{$this->member->form_hash}' />
<input type='hidden' name='do' value='postchoice' />
<input type='hidden' name='t' value='{$topic['tid']}' />
<input type='hidden' name='f' value='{$forum['id']}' />
<input type='hidden' name='tact' value='move' />
<input type='hidden' name='checked' value='1' />
<input type='hidden' name='st' value='{$this->request['st']}' />
<h2 class='maintitle'>{$this->lang->words['cmp_title']}: {$forum['name']} -> {$topic['title']}</h2>
<div class='generic_bar'></div>
<div class='post_form'>
<fieldset class='row1'>
<h3 class='bar'>{$this->lang->words['move_posts_option']}</h3>
<ul>
<li class='field'>
<label for='topic_url'>{$this->lang->words['cmp_topic']}</label>
<input type="text" size="50" name="topic_url" value="" id='topic_url' class='input_text' />
<span class='desc'>{$this->lang->words['cmp_topic2']}</span>
</li>
</ul>
</fieldset>
</div>
<br />
<h2 class='maintitle'>{$this->lang->words['move_topic_summary']}</h2>
<div class='generic_bar'></div>
<if test="movepostsloop:|:is_array( $posts ) AND count( $posts )">
<foreach loop="posts:$posts as $row">
<div class='post_block topic_summary'>
<h3>{$row['author_name']}</h3>
<p class='posted_info'>{$this->lang->words['move_posted']} {$row['date']}</p>
<label for='checkbox_{$row['pid']}' class='post_mod hide'>{$this->lang->words['st_split']}</label>
<input type='checkbox' id='checkbox_{$row['pid']}' name='selectedpids[{$row['pid']}]' value='{$row['pid']}' class='post_mod' checked='checked' />
<div class='post_body'>
<div class='post'>{$row['post']}</div>
</div>
</div>
</foreach>
</if>
<fieldset class='submit'>
<php>
$selectedPids = implode( ',', $this->request['selectedpids'] );
</php>
<input type="submit" name="submit" class='input_submit' value="{$this->lang->words['cmp_submit']}" /> {$this->lang->words['or']} <a href='{parse url="showtopic={$topic['tid']}&selectedpids={$selectedPids}" base="public" seotitle="{$topic['title_seo']}" template="showtopic"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
</fieldset>
</form>]]></template_content>
<template_name>movePostForm</template_name>
<template_data><![CDATA[$forum, $topic, $posts, $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_mod</template_group>
<template_content><![CDATA[<form action='{parse url="app=forums&module=moderate&section=moderate" base="public"}' method='post'>
<input type='hidden' name='auth_key' value='{$this->member->form_hash}' />
<input type='hidden' name='do' value='14' />
<input type='hidden' name='t' value='{$topic['tid']}' />
<input type='hidden' name='f' value='{$forum['id']}' />
<input type='hidden' name='st' value='{$this->request['st']}' />
<p class='message'>{$this->lang->words['move_exp']}</p>
<br />
<h2 class='maintitle'>{$this->lang->words['top_move']}: {$forum['name']} > {$topic['title']}</h2>
<div class='generic_bar'></div>
<div class='post_form'>
<fieldset>
<h3 class='bar'>{$this->lang->words['move_topic_options']}</h3>
<ul>
<li class='field'>
<label for='move_from'>{$this->lang->words['move_from']} <strong>{$forum['name']}</strong> {$this->lang->words['to']}</label>
<select name="move_id" id='move_from' class='input_select'>{$forum_jump}</select>
</li>
<li class='field'>
<label for='leave_link'>{$this->lang->words['leave_link']}</label>
<input type='checkbox' id='leave_link' class='input_check' name='leave' value='y' />
</li>
</ul>
</fieldset>
<fieldset class='submit'>
<input type="submit" class='input_submit' value="{$this->lang->words['submit_move']}" /> {$this->lang->words['or']} <a href='{parse url="showtopic={$topic['tid']}" base="public" seotitle="{$topic['title_seo']}" template="showtopic"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
</fieldset>
</div>
</form>]]></template_content>
<template_name>moveTopicForm</template_name>
<template_data>$forum, $topic, $forum_jump</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_mod</template_group>
<template_content><![CDATA[<form action='{parse url="app=forums&module=moderate&section=moderate" base="public"}' method='post'>
<input type='hidden' name='auth_key' value='{$this->member->form_hash}' />
<input type='hidden' name='do' value='topicchoice' />
<input type='hidden' name='tact' value='domove' />
<input type='hidden' name='f' value='{$forum['id']}' />
<input type='hidden' name='st' value='{$this->request['st']}' />
<p class='message'>{$this->lang->words['move_exp']}</p>
<br />
<h2 class='maintitle'>{$this->lang->words['cp_tmove_start']} {$forum['name']}</h2>
<div class='generic_bar'></div>
<div class='post_form' id='mod_form'>
<fieldset class='row1'>
<h3 class='bar'>{$this->lang->words['topics_to_move']}</h3>
<ul>
<if test="movetopicsloop:|:count($topics) AND is_array($topics)">
<foreach loop="topics:$topics as $row">
<li class='field checkbox'>
<input class='input_check' type="checkbox" name="selectedtids[{$row['tid']}]" id='t_{$row['tid']}' value="{$row['tid']}" checked="checked" />
<label for='t_{$row['tid']}'>{$row['title']}</label>
</li>
</foreach>
</if>
</ul>
</fieldset>
<fieldset class='row1'>
<h3 class='bar'>{$this->lang->words['move_topic_options']}</h3>
<ul>
<li class='field'>
<label for='move_from'>{$this->lang->words['move_from']} <strong>{$forum['name']}</strong> {$this->lang->words['to']}</label>
<select name="df" id='move_from' class='input_select'>{$jump_html}</select>
</li>
<li class='field'>
<label for='leave_link'>{$this->lang->words['leave_link']}</label>
<input type='checkbox' id='leave_link' class='input_check' name='leave' value='y' />
</li>
</ul>
</fieldset>
<fieldset class='submit'>
<input type="submit" class='input_submit' value="{$this->lang->words['submit_move']}" /> {$this->lang->words['or']} <a href='{parse url="showforum={$forum['id']}" base="public" seotitle="{$forum['name_seo']}" template="showforum"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
</fieldset>
</div>
</form>]]></template_content>
<template_name>moveTopicsForm</template_name>
<template_data>$forum, $jump_html, $topics</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_mod</template_group>
<template_content><![CDATA[<h2 class='maintitle'>{$this->lang->words['cp_prune']} {$forum['name']}</h2>
<div class='generic_bar'></div>
<div class='post_form'>
<if test="confirmprune:|:$confirm_data['show'] == 1">
<fieldset>
<h3 class='bar'>{$this->lang->words['mpt_confirm']} : {$this->lang->words['cp_check_result']}</h3>
<ul>
<li class='field'>
<label>{$this->lang->words['cp_total_topics']}</label>
{$confirm_data['tcount']}
</li>
<li class='field'>
<label>{$this->lang->words['cp_total_match']}</label>
{$confirm_data['count']}
</li>
</ul>
</fieldset>
<form action='{parse url="{$confirm_data['link']}" base="public"}' method="post">
<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
<fieldset class='submit'>
<input type="submit" class='input_submit' value="{$confirm_data['link_text']}" />
</fieldset>
</form>
</if>
<if test="prunecompletehtml:|:$complete_html != ''">
{$complete_html}
</if>
<form id='postingform' action="{parse url="" base="public"}" method="post">
<input type="hidden" name="app" value="forums" />
<input type="hidden" name="module" value="moderate" />
<input type="hidden" name="section" value="moderate" />
<input type="hidden" name="do" value="prune_start" />
<input type="hidden" name="f" value="{$forum['id']}" />
<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
<input type="hidden" name="check" value="1" />
<fieldset>
<h3 class='bar'>{$this->lang->words['mpt_help']}</h3>
<p>{$this->lang->words['cp_prune_text']}</p>
<ul>
<li class='field'>
<label for='df'>{$this->lang->words['cp_prune_action2']}</label>
<select class='input_select' name="df" id="df">
<option value='prune'>{$this->lang->words['cp_ac_prune']}</option>
{$forums_html}
</select>
</li>
<li class='field'>
<label for='pergo'>{$this->lang->words['cp_per_go']}</label>
<input class='input_text' type="text" size="5" name="pergo" id="pergo" value="{$this->request['pergo']}" />
</li>
<li class='field'>
<label for='entered_name'>{$this->lang->words['cp_prune_member']}</label>
<input class='input_text' type="text" size="30" name="member" id='entered_name' value="{$this->request['member']}" />
</li>
<li class='field'>
<label for='dateline'>{$this->lang->words['cp_prune_days2']}</label>
<input class='input_text' type="text" size="5" name="dateline" id="dateline" value="{$this->request['dateline']}" />
</li>
<li class='field'>
<label for='posts'>{$this->lang->words['cp_prune_replies']}</label>
<input class='input_text' type="text" size="5" name="posts" id="posts" value="{$this->request['posts']}" />
</li>
<li class='field'>
<label for='topic_type'>{$this->lang->words['cp_prune_type']}</label>
<select class='input_select' name='topic_type' id="topic_type">
<foreach loop="types:array( 'open', 'closed', 'link', 'all' ) as $type">
<option value='{$type}'<if test="defaultselectedoption:|:$this->request['topic_type'] == $type"> selected='selected'</if>>{$this->lang->words[ 'cp_pday_' . $type ]}</option>
</foreach>
</select>
</li>
<li class='field'>
<label for='cbox'>{$this->lang->words['mps_ignorepin']}</label>
<input class='input_check' type="checkbox" id="cbox" name="ignore_pin" value="1" checked="checked" />
</li>
<li class='field'>
<span class='desc'>{$this->lang->words['cp_optional']}</span>
</li>
</ul>
</fieldset>
<fieldset class='submit'>
<input type="submit" class='input_submit' value="{$this->lang->words['cp_prune_sub1']}" /> {$this->lang->words['or']} <a href='{parse url="showforum={$forum['id']}" base="public" seotitle="{$forum['name_seo']}" template="showforum"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
</fieldset>
</form>
</div>]]></template_content>
<template_name>pruneSplash</template_name>
<template_data><![CDATA[$forum="", $forums_html="", $confirm_data="", $complete_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_mod</template_group>
<template_content><![CDATA[<h2>{$title}</h2>
<div class='general_box'>
{$msg}
</div>]]></template_content>
<template_name>simplePage</template_name>
<template_data><![CDATA[$title="", $msg=""]]></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_mod</template_group>
<template_content><![CDATA[{parse js_module="moderate"}
<form action='{parse url="app=forums&module=moderate&section=moderate" base="public"}' method='post'>
<input type='hidden' name='auth_key' value='{$this->member->form_hash}' />
<input type='hidden' name='do' value='postchoice' />
<input type='hidden' name='t' value='{$topic['tid']}' />
<input type='hidden' name='f' value='{$forum['id']}' />
<input type='hidden' name='tact' value='split' />
<input type='hidden' name='checked' value='1' />
<input type='hidden' name='st' value='{$this->request['st']}' />
<p class='message'>{$this->lang->words['st_explain']}</p>
<h2 class='maintitle'>{$this->lang->words['st_top']}: {$forum['name']} > {$topic['title']}</h2>
<div class='generic_bar'></div>
<div class='post_form'>
<fieldset>
<h3 class='bar'>{$this->lang->words['st_new_topic']}</h3>
<ul>
<li class='field'>
<label for='new_title'>{$this->lang->words['mt_new_title']}</label>
<input type="text" size="40" class='input_text' id='new_title' maxlength="100" name="title" value="" />
</li>
<li class='field'>
<label for='new_desc'>{$this->lang->words['mt_new_desc']}</label>
<input type="text" size="40" class='input_text' id='new_desc' maxlength="100" name="desc" value="" />
</li>
<li class='field'>
<label for='new_forum'>{$this->lang->words['st_forum']}</label>
<select name="fid" id='new_forum' class='input_select'>{$jump}</select>
</li>
</ul>
</fieldset>
</div>
<br />
<h2 class='maintitle'>{$this->lang->words['st_post']}</h2>
<div class='generic_bar'></div>
<if test="splitpostsloop:|:is_array( $posts ) AND count( $posts )">
<foreach loop="split_posts:$posts as $row">
<div class='post_block topic_summary'>
<h3>{$row['author_name']}</h3>
<p class='posted_info'>{$this->lang->words['move_posted']} {$row['date']}</p>
<label for='checkbox_{$row['pid']}' class='post_mod hide'>{$this->lang->words['st_split']}</label>
<input type='checkbox' id='checkbox_{$row['pid']}' name='selectedpids[{$row['pid']}]' value='{$row['pid']}' class='post_mod' checked='checked' />
<div class='post_body'>
<div class='post'>{$row['post']}</div>
</div>
</div>
</foreach>
</if>
<fieldset class='submit'>
<php>
$selectedPids = implode( ',', $this->request['selectedpids'] );
</php>
<input type="submit" name="submit" class='input_submit' value="{$this->lang->words['st_submit']}" /> {$this->lang->words['or']} <a href='{parse url="showtopic={$topic['tid']}&selectedpids={$selectedPids}" base="public" seotitle="{$topic['title_seo']}" template="showtopic"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
</fieldset>
</form>]]></template_content>
<template_name>splitPostForm</template_name>
<template_data>$forum, $topic, $posts, $jump</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_mod</template_group>
<template_content><![CDATA[<h2 class='maintitle'>{$this->lang->words['th_title']}</h2>
<table class='ipb_table' summary="{$this->lang->words['topic_history_summary']} '{$topic['title']}'">
<tr class='header'>
<th scope='col' style='width: 40%'>{$this->lang->words['summary_th_title']}</th>
<th scope='col' style='width: 60%'>{$this->lang->words['summary_th_info']}</th>
</tr>
<tr class='row1'>
<td class='altrow'>{$this->lang->words['th_topic']}</td>
<td>{$topic['title']}</td>
</tr>
<tr class='row2'>
<td class='altrow'>{$this->lang->words['th_desc']}</td>
<td>{$topic['description']}</td>
</tr>
<tr class='row1'>
<td class='altrow'>{$this->lang->words['th_start_date']}</td>
<td>{parse date="$topic['start_date']" format="long"}</td>
</tr>
<tr class='row2'>
<td class='altrow'>{$this->lang->words['th_start_name']}</td>
<td>
<if test="historystarter:|:$topic['starter_id']">
<a href='{parse url="showuser={$topic['starter_id']}" base="public" seotitle="{$topic['seo_first_name']}" template="showuser"}' title='{$this->lang->words['view_profile']}'>{$topic['starter_name']}</a>{parse template="user_popup" group="global" params="$topic['starter_id'],$topic['seo_first_name']"}
<else />
{$topic['starter_name']}
</if>
</td>
</tr>
<tr class='row1'>
<td class='altrow'>{$this->lang->words['th_last_date']}</td>
<td>{parse date="$topic['last_post']" format="long"}</td>
</tr>
<tr class='row2'>
<td class='altrow'>{$this->lang->words['th_last_name']}</td>
<td>
<if test="historylastposter:|:$topic['last_poster_id']">
<a href='{parse url="showuser={$topic['last_poster_id']}" base="public" seotitle="{$topic['seo_last_name']}" template="showuser"}' title='{$this->lang->words['view_profile']}'>{$topic['last_poster_name']}</a>{parse template="user_popup" group="global" params="$topic['last_poster_id'],$topic['seo_last_name']"}
<else />
{$topic['last_poster_name']}
</if>
</td>
</tr>
<tr class='row1'>
<td class='altrow'>{$this->lang->words['th_avg_post']}</td>
<td>{$avg_post}</td>
</tr>
</table>
<br />
<h2 class='maintitle'>{$this->lang->words['ml_title']}</h2>
<table class='ipb_table' summary="{$this->lang->words['mod_logs_topic_summary']} '{$topic['title']}'">
<tr class='header'>
<th scope='col' style='width: 25%'>{$this->lang->words['ml_name']}</th>
<th scope='col' style='width: 50%'>{$this->lang->words['ml_desc']}</th>
<th scope='col' style='width: 25%'>{$this->lang->words['ml_date']}</th>
</tr>
<if test="topicmodlogs:|:!count($mod_logs) OR !is_array($mod_logs)">
<tr>
<td class="no_messages" colspan="3">{$this->lang->words['ml_none']}</td>
</tr>
<else />
{parse striping="modlogs" classes="row1,row2"}
<foreach loop="mod_logs:$mod_logs as $data">
<tr class='{parse striping="modlogs"}'>
<td class='altrow'>
<if test="modlogmemberid:|:$data['member_id']">
<a href='{parse url="showuser={$data['member_id']}" template="showuser" seotitle="{$data['members_seo_name']}" base="public"}' title='{$this->lang->words['view_profile']}'>{$data['member_name']}</a>{parse template="user_popup" group="global" params="$data['member_id'],$data['members_seo_name']"}
<else />
{$data['member_name']}
</if>
</td>
<td>{$data['action']}</td>
<td class="altrow">{parse date="$data['ctime']" format="long"}</td>
</tr>
</foreach>
</if>
</table>]]></template_content>
<template_name>topicHistory</template_name>
<template_data>$topic, $avg_post, $mod_logs=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_mod</template_group>
<template_content><![CDATA[<form action='{parse url="app=forums&module=moderate&section=moderate" base="public"}' method='post'>
<input type='hidden' name='auth_key' value='{$this->member->form_hash}' />
<input type='hidden' name='do' value='31' />
<input type='hidden' name='t' value='{$topic['tid']}' />
<input type='hidden' name='f' value='{$forum['id']}' />
<input type='hidden' name='st' value='{$this->request['st']}' />
<h2>{$this->lang->words['ts_title']}: {$forum['name']} > {$topic['title']}</h2>
<p class='message'>{$text}</p>
<br />
<fieldset class='submit'>
<input type="submit" class='input_submit' value="{$this->lang->words['ts_submit']}" /> {$this->lang->words['or']} <a href='{parse url="showtopic={$topic['tid']}" base="public" seotitle="{$topic['title_seo']}" template="showtopic"}' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
</fieldset>
</form>]]></template_content>
<template_name>unsubscribeForm</template_name>
<template_data>$forum, $topic, $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_mod</template_group>
<template_content><![CDATA[{parse js_module="profile"}
<script type='text/javascript'>
ipb.profile.viewingProfile = {$member['member_id']};
</script>
<if test="warnerrors:|:$errors">
<h2>{$this->lang->words['errors_found']}</h2>
<p class='message error'>{$errors}</p>
<br />
</if>
<!-- SKINNOTE: form validation -->
<form method="post" action='{parse url="app=members&module=warn&section=warn&do=dowarn&mid={$member['member_id']}&t={$tid}&st={$st}&type={$this->request['type']}" base="public"}' id='postingform'>
<input type="hidden" name="key" value="{$this->member->form_hash}" />
<div class='post_form'>
<h2 class='maintitle'>{$this->lang->words['warn_logs_for']} <a href='{parse url="showuser={$member['member_id']}" seotitle="{$member['members_display_name']}" template="showuser" base="public"}' title='{$this->lang->words['view_profile']}'>{$member['members_display_name']}</a></h2>
<div class='generic_bar'></div>
<fieldset class='with_subhead'>
<h3 class='bar'>{$this->lang->words['warn_member_details']}</h3>
<h4>
<img class="photo" src='{$member['pp_main_photo']}' alt="{$member['members_display_name']}{$this->lang->words['users_photo']}" />
</h4>
<ul>
<li class='field'>
{parse replacement="find_posts_link"} <a href='{parse url="app=core&module=search&do=user_posts&mid={$member['member_id']}<if test="searchmethodfilter:|:! in_array( $this->settings['search_method'], array( 'traditional', 'sphinx' ) )">&search_filter_app[forums]=1</if>" base="public"}'>{$this->lang->words['find_posts']}</a>
</li>
<li class='field'>
{parse replacement="find_topics_link"} <a href='{parse url="app=core&module=search&do=user_posts&mid={$member['member_id']}&search_filter_app[forums]=1&view_by_title=1" base="public"}'>{$this->lang->words['find_topics']}</a>
</li>
<if test="displaynamehistory:|:$this->memberData['g_mem_info'] && $this->settings['auth_allow_dnames']">
<li class='field' id='dname_history'>
{parse replacement="display_name"} <a href='{parse url="app=members&module=profile&section=dname&id={$member['member_id']}" base="public"}' title='{$this->lang->words['view_dname_history']}'>{$this->lang->words['display_history']}</a>
</li>
</if>
<if test="warnreputation:|:$this->settings['reputation_enabled']">
<li class='field'>
{$this->lang->words['warn_rep']} {$member['pp_reputation_points']}
<if test="reptext:|:$member['author_reputation'] && $member['author_reputation']['text']">
<p class='title'>{$member['author_reputation']['text']}</p>
</if>
<if test="repimage:|:$member['author_reputation'] && $member['author_reputation']['image']">
<p class='image'>{$member['author_reputation']['image']}</p>
</if>
</li>
</if>
</ul>
</fieldset>
<fieldset class='with_subhead'>
<h3 class='bar'>{$this->lang->words['warn_details']}</h3>
<h4>{$this->lang->words['w_adjust_level']}<br /><span class='desc'>{$this->lang->words['warn_current_level']} {$member['warn_level']}/{$this->settings['warn_max']}</span></h4>
<ul>
<li class='field checkbox negative'>
<input type="radio" name="level" id="add" class="input_radio" value="add" <if test="addwarn:|:$this->request['type'] == 'add'">checked='checked'</if> />
<label for='add'>{$this->lang->words['w_add']}</label>
</li>
<li class='field checkbox positive'>
<input type="radio" name="level" id="minus" class="input_radio" value="remove" <if test="subwarn:|:$this->request['type'] == 'minus'">checked='checked'</if> />
<label for='minus'>{$this->lang->words['w_remove']}</label>
</li>
<if test="warnsupermod:|:$this->memberData['g_is_supmod']">
<li class='field checkbox custom'>
<input type="radio" name="level" id="custom" class="input_radio" value="custom" <if test="warncustom:|:$this->request['type'] == 'custom'">checked='checked'</if> />
<label for='level_custom'>{parse expression="sprintf( $this->lang->words['w_change_custom'], $this->settings['warn_max'])"}</label>
<input type='text' id='level_custom' name='level_custom' value='<if test="warncustomlevel:|:isset($this->request['customLevel'])">{$this->request['customLevel']}<else />{$member['warn_level']}</if>' size='3' />
</li>
</if>
<li class='field checkbox'>
<input type="radio" name="level" id="nochange" class="input_radio" value="nochange" <if test="warnnochange:|:$this->request['type'] == 'nochange'">checked='checked'</if> />
<label for='nochange'>{$this->lang->words['w_nochange']}</label>
</li>
</ul>
<h4>{$this->lang->words['w_reason']}<br /><span class='desc'>{$this->lang->words['w_reason2']}</span></h4>
<ul>
<li class='field'>
<textarea rows="6" cols="70" class="input_text" name="reason">{IPSText::br2nl( $this->request['reason'] )}</textarea>
</li>
</ul>
</fieldset>
<fieldset class='with_subhead'>
<h3 class='bar'>{$this->lang->words['member_suspension']}</h3>
<if test="modqueue:|:$modque == true">
<php>
$mod_arr = array( 'timespan' => 0, 'days' => 0, 'hours' => 0 );
$mhours = 0;
if( $member['mod_posts'] > 0 AND $member['mod_posts'] != 1 )
{
$mod_arr = IPSMember::processBanEntry( $member['mod_posts'] );
$mhours = ceil( ( $mod_arr['date_end'] - time() ) / 3600 );
}
</php>
<h4>{$this->lang->words['w_modq']}</h4>
<ul>
<li class='field checkbox'>
<input class='input_check' id='modq' type="checkbox" name="mod_indef" value="1" <if test="modqueueposts:|:$member['mod_posts'] == 1">checked='checked'</if> />
<label for='modq'>{$this->lang->words['w_modq_i']}</label>
</li>
<li class='field checkbox'>
<label for='mod_value'>{$this->lang->words['w_orfor']}</label>
<input class='input_text' type="text" id='mod_value' name="mod_value" value="<if test="modqueuehours:|:$mhours > 24 and ( ($mhours / 24) == ceil($mhours / 24) ) and $timespan = ($mhours / 24)">{$timespan}<else />{$mhours}</if>" size="5" />
<select name="mod_unit" class='input_select'>
<option value="d" <if test="modunitd:|:$mhours > 24 and ( ($mhours / 24) == ceil($mhours / 24) )">selected='selected'</if>>{$this->lang->words['w_day']}</option>
<option value="h" <if test="modunith:|:$mhours < 24 or ( ($mhours / 24) != ceil($mhours / 24) )">selected='selected'</if>>{$this->lang->words['w_hour']}</option>
</select>
<if test="modqueueon:|:$mhours > 0">
<span class='desc'>{$this->lang->words['w_restricted']}</span>
</if>
</li>
</ul>
</if>
<if test="postqueue:|:$postque == true">
<php>
$post_arr = array( 'timespan' => 0, 'hours' => 0, 'days' => 0 );
$phours = 0;
if( $member['restrict_post'] > 0 AND $member['restrict_post'] != 1 )
{
$post_arr = IPSMember::processBanEntry( $member['restrict_post'] );
$phours = ceil( ( $post_arr['date_end'] - time() ) / 3600 );
}
</php>
<h4>{$this->lang->words['w_resposts']}</h4>
<ul>
<li class='field checkbox'>
<input class='input_check' id='restrict_posts' type="checkbox" name="post_indef" value="1" <if test="postqueueposts:|:$member['restrict_post'] == 1">checked='checked'</if> />
<label for='restrict_posts'>{$this->lang->words['w_resposts_i']}</label>
</li>
<li class='field checkbox'>
<label for='post_value'>{$this->lang->words['w_orfor']}</label>
<input class='input_text' type="text" id='post_value' name="post_value" value="<if test="postqueuehours:|:$phours > 24 and ( ($phours / 24) == ceil($phours / 24) ) and $timespan = ($phours / 24)">{$timespan}<else />{$phours}</if>" size="5" />
<select name="post_unit" class='input_select'>
<option value="d" <if test="postunitd:|:$phours > 24 and ( ($phours / 24) == ceil($phours / 24) )">selected='selected'</if>>{$this->lang->words['w_day']}</option>
<option value="h" <if test="postunith:|:$phours < 24 or ( ($phours / 24) != ceil($phours / 24) )">selected='selected'</if>>{$this->lang->words['w_hour']}</option>
</select>
<if test="postqueueon:|:$phours > 0">
<span class='desc'>{$this->lang->words['w_restricted']}</span>
</if>
</li>
</ul>
</if>
<if test="banqueue:|:$ban == true">
<php>
$ban_arr = array( 'timespan' => 0, 'days' => 0, 'hours' => 0 );
$hours = 0;
if( $member['temp_ban'] AND $member['temp_ban'] != 1 )
{
$ban_arr = IPSMember::processBanEntry( $member['temp_ban'] );
$hours = ceil( ( $ban_arr['date_end'] - time() ) / 3600 );
}
</php>
<h4>{$this->lang->words['w_suspend']}</h4>
<ul>
<li class='field checkbox'>
<input class='input_check' id='suspend_member' type="checkbox" name="ban_indef" value="1" <if test="bannedison:|:$member['member_banned'] == 1">checked='checked'</if> />
<label for='suspend_member'>{$this->lang->words['w_ban_indef']}</label>
</li>
<li class='field checkbox'>
<label for='susp_value'>{$this->lang->words['w_suspend_or']}</label>
<input type="text" id='susp_value' class='input_text' name="susp_value" value="<if test="bannedhours:|:$hours > 24 and ( ($hours / 24) == ceil($hours / 24) ) and $timespan = ($hours / 24)">{$timespan}<else />{$hours}</if>" size="5" />
<select name="susp_unit" class='input_select'>
<option value="d" <if test="banunitd:|:$hours > 24 and ( ($hours / 24) == ceil($hours / 24) )">selected='selected'</if>>{$this->lang->words['w_day']}</option>
<option value="h" <if test="banunith:|:$hours < 24 or ( ($hours / 24) != ceil($hours / 24) )">selected='selected'</if>>{$this->lang->words['w_hour']}</option>
</select>
<if test="banon:|:$member['temp_ban']">
<span class='desc'>{$this->lang->words['w_restricted']}</span>
</if>
</li>
</ul>
</if>
</fieldset>
<fieldset class='with_subhead'>
<h3 class='bar'>{$this->lang->words['warn_mem_content']}</h3>
<h4>{$this->lang->words['warn_posts_topics']}</h4>
<ul>
<li class='field checkbox'>
<select name="topicPosts_type" class='input_select'>
<option value='unapprove' <if test="unapproveposts:|:$this->request['topicPosts_type'] == 'unapprove'">selected='selected'</if>>{$this->lang->words['warn_stuff_unapprove']}</option>
<option value='approve' <if test="approveposts:|:$this->request['topicPosts_type'] == 'approve'">selected='selected'</if>>{$this->lang->words['warn_stuff_approve']}</option>
</select>
</li>
<li class='field checkbox'>
<input type="checkbox" id='topicPosts_topics' class='input_check' name="topicPosts_topics" value="1" />
<label for='topicPosts_topics'>{$this->lang->words['warn_stuff_alltopics']}</label>
</li>
<li class='field checkbox'>
<input type="checkbox" id='topicPosts_replies' class='input_check' name="topicPosts_replies" value="1" />
<label for='topicPosts_replies'>{$this->lang->words['warn_stuff_allposts']}</label>
</li>
<li class='field checkbox'>
<label for='topicPosts_lastx'>{$this->lang->words['warn_stuff_datecutoff']}</label>
<input type="text" id='topicPosts_lastx' class='input_text' name="topicPosts_lastx" value="" size="5" />
<select name="topicPosts_lastxunits" class='input_select'>
<option value="d">{$this->lang->words['w_day']}</option>
<option value="h">{$this->lang->words['w_hour']}</option>
</select>
</li>
</ul>
</fieldset>
<fieldset>
<h3 class='bar'>{$this->lang->words['warn_contact_member']}</h3>
<ul>
<li class='field'>
<label for='subj'>{$this->lang->words['w_c_subj']}</label>
<input id='subj' class='input_text' type="text" name="subject" value="{$this->request['subject']}" size="30" />
</li>
<li class='field'>
<label for='method'>{$this->lang->words['w_c']}</label>
<select id='method' name="contactmethod" class='input_select'>
<if test="disablepm:|:$member['members_disable_pm'] != 1">
<option value="pm">{$this->lang->words['w_c_p']}</option>
</if>
<option value="email">{$this->lang->words['w_c_e']}</option>
</select>
</li>
<li>
{$editor_html}
</li>
</ul>
</fieldset>
<fieldset class='submit'>
<input type="submit" class='input_submit' value="{$this->lang->words['w_submit']}" tabindex='0'/> {$this->lang->words['or']} <a href='{parse url="showtopic={$tid}&st={$st}" base="public"}' title='{$this->lang->words['cancel']}' class='cancel' tabindex='0'>{$this->lang->words['cancel']}</a>
</fieldset>
</div>
</form>]]></template_content>
<template_name>warnForm</template_name>
<template_data><![CDATA[$member, $tid=0, $st=0, $errors='', $modque=false, $postque=false, $ban=false, $editor_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_mod</template_group>
<template_content>{$output}</template_content>
<template_name>warnLogsAjaxWrapper</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>
<template>
<template_group>skin_mod</template_group>
<template_content><![CDATA[<form method="post" action="{parse url="app=members&module=warn&section=warn&do=save_note&mid={$id}" base="public"}" id='postingform'>
<input type='hidden' name='popup' value='{$this->request['popup']}' />
<h2 class='maintitle'>{$this->lang->words['mod_warn_new_note']} <a href="{parse url="showuser={$id}" template="showuser" seotitle="{$seo_name}" base="public"}" title='{$this->lang->words['view_profile']}'>{$name}</a></h2>
<div class='generic_bar'></div>
<div class='post_form'>
<fieldset class='row1'>
<h3 class='bar'>{$this->lang->words['mod_warn_fieldset']}</h3>
<ul>
<li class='field'>
<textarea name='note' style='width: 95%; height:150px'>{$_POST['note']}</textarea>
</li>
</ul>
</fieldset>
<fieldset class='submit'>
<input type='submit' class='input_submit' value='{$this->lang->words['mod_warn_note_save']}' />
</fieldset>
</div>
</form>]]></template_content>
<template_name>warn_add_note_form</template_name>
<template_data><![CDATA[$id="",$name="",$seo_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_mod</template_group>
<template_content><![CDATA[<h2>{$this->lang->words['w_done_t']}</h2>
<div class='message'>
{$this->lang->words['w_done_te']}
<br /><br />
<ul class='bullets'>
<li><a href="{parse url="" base="public"}">{$this->lang->words['w_done_home']}</a></li>
<if test="warnsuccesstid:|:$topic['tid']">
<li><a href="{parse url="showforum={$topic['id']}" template="showforum" seotitle="{$topic['name_seo']}" base="public"}">{$this->lang->words['w_done_forum']} <b>{$topic['name']}</b></a></li>
<li><a href="{parse url="showtopic={$topic['tid']}&st={$this->request['st']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}">{$this->lang->words['w_done_topic']} <b>{$topic['title']}</b></a></li>
</if>
</ul>
</div>
<br />]]></template_content>
<template_name>warn_success</template_name>
<template_data>$topic=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_mod</template_group>
<template_content><![CDATA[<if test="$this->request['module']=='ajax'">
<h3>{$this->lang->words['w_v_title']}: <a href='{parse url="showuser={$member['member_id']}" template="showuser" seotitle="{$member['members_seo_name']}" base="public"}' title='{$this->lang->words['view_profile']}'>{$member['members_display_name']}</a></h3>
<else />
<h3 class='maintitle'>{$this->lang->words['w_v_title']}: <a href='{parse url="showuser={$member['member_id']}" template="showuser" seotitle="{$member['members_seo_name']}" base="public"}' title='{$this->lang->words['view_profile']}'>{$member['members_display_name']}</a></h3>
</if>
<table class='ipb_table'>
<tr class='header'>
<th scope='col'>{$this->lang->words['w_v_warnby']}</th>
<th scope='col'>{$this->lang->words['w_v_notes']}</th>
</tr>
<if test="warnlogentries:|:!is_array($rows) OR !count($rows)">
<tr>
<td class="no_messages" colspan="2">{$this->lang->words['w_v_none']}</td>
</tr>
<else />
{parse striping="modlog" classes="row2,row1"}
<foreach loop="logs:$rows as $r">
<tr class='{parse striping="modlog"}'>
<td><a href='{parse url="showuser={$r['punisher_id']}" base="public" seotitle="{$r['members_seo_name']}" template="showuser"}' title='{$this->lang->words['view_profile']}'><strong>{$r['punisher_name']}</strong></a></td>
<td>{$this->lang->words['mod_warn_added']} <strong>{parse date="$r['wlog_date']" format="long" relative="false"}</strong></td>
</tr>
<tr class='{parse striping="modlog"}'>
<td>
<span class="<if test="warnlognote:|:$r['wlog_type'] == 'note' OR $r['wlog_type'] == 'pos'">positive<else />negative</if>" <if test="warnlogcolor:|:$r['wlog_type'] == 'note' || $r['wlog_type'] == 'nochan'">style='color:gray'</if>>
<if test="warnlognotetype:|:$r['wlog_type'] == 'note'">
{$this->lang->words['mod_warn_note']}
<else />
<if test="warnlogpos:|:$r['wlog_type'] == 'pos'">
{$this->lang->words['w_v_minus']}
</if>
<if test="warnlogneg:|:$r['wlog_type'] == 'neg'">
{$this->lang->words['w_v_add']}
</if>
<if test="warnlognochange:|:$r['wlog_type'] == 'nochan'">
{$this->lang->words['w_v_nochan']}
</if>
</if>
</span>
</td>
<td>{$r['content']}</td>
</tr>
</foreach>
</if>
</table>
<div class='topic_controls'>
{$links}
</div>]]></template_content>
<template_name>warn_view_log</template_name>
<template_data><![CDATA[$member, $rows, $links='']]></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_post">
<template>
<template_group>skin_post</template_group>
<template_content><![CDATA[<html>
<body style='background-color: transparent;'>
<form id='iframeUploadForm' method='post' enctype="multipart/form-data" action=''>
<script type='text/javascript'>
parent.ipb.attach._jsonPass( $id, $JSON );
</script>
<input type='file' id='iframeUploadBox_$id' style='display: inline' name='FILE_UPLOAD' /> <input type='reset' value='{$this->lang->words['clear_selection']}' style='display: inline' />
</form>
</body>
</html>]]></template_content>
<template_name>attachiFrame</template_name>
<template_data>$JSON, $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_post</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_post</template_group>
<template_content><![CDATA[{parse js_module="poll"}
<script type='text/javascript'>
//<!#^#|CDATA|
ipb.poll.maxQuestions = parseInt( {$max_poll_questions} );
ipb.poll.maxChoices = parseInt( {$max_poll_choices} );
ipb.poll.isPublicPoll = parseInt( {$poll_view_voters} );
ipb.poll.showOnLoad = {$show_open};
ipb.poll.isMod = {$is_mod};
ipb.poll.questions = \$H(
<if test="hasPollQuestions:|:$poll_questions != '[]'">{$poll_questions}</if>
);
ipb.poll.choices = \$H(
<if test="hasPollChoices:|:$poll_choices != '[]'">{$poll_choices}</if>
);
ipb.poll.votes = \$H(
<if test="hasPollVotes:|:$poll_votes != '[]'">{$poll_votes}</if>
);
ipb.poll.multi = \$H(
<if test="hasPollMulti:|:$poll_multi != '[]'">{$poll_multi}</if>
);
//ipb.templates['poll_section_wrap'] = "<div id='poll_#{id}' class='general_box'>#{content}</div>";
ipb.templates['poll_question'] = new Template("<li class='field question' id='question_#{qid}_wrap' style='display: none'>" +
" <label for='#{qid}'><strong>{$this->lang->words['question_title']}</strong></label>" +
" <div class='wrap rounded'>" +
" <input type='text' class='input_text question_title' id='#{qid}' value='#{value}' size='40' maxlength='254' name='question[#{qid}]' />" +
" <input type='checkbox' class='input_check' value='1' name='multi[#{qid}]' id='multi_#{qid}'/> <label for='multi_#{qid}'><span class='desc'>{$this->lang->words['poll_multichoice']}</span></label>" +
" <ol id='choices_for_#{qid}'></ol>" +
" <ul class='post_controls'>" +
" <li><a href='#' id='add_choice_#{qid}' title='{$this->lang->words['add_poll_choice']}'>{parse replacement="add_poll_choice"} {$this->lang->words['add_another_choice']}</a></li>" +
" <li><a href='#' id='remove_question_#{qid}' title='{$this->lang->words['remove_question']}'>{parse replacement="remove_poll_question"} {$this->lang->words['remove_question']}</a></li>" +
" </ul>" +
" </div>" +
"</li>");
ipb.templates['poll_choice'] = new Template("<li id='poll_#{qid}_#{cid}_wrap' style='display: none'><input type='text' id='poll_#{qid}_#{cid}' name='choice[#{qid}_#{cid}]' class='input_text' value='#{choice}' size='46' maxlength='254' /> <input type='text' id='poll_#{qid}_#{cid}_votes' name='votes[#{qid}_#{cid}]' value='#{votes}' class='input_text' size='5' /> <a href='#' id='remove_#{qid}_#{cid}' title='{$this->lang->words['remove_choice']}'>{parse replacement="remove_poll_choice"}</a></li>");
//|#^#]>
</script>
<div class='post_form poll_form' id='poll_form'>
<div class='topic_controls' id='add_poll' style='display: none'>
<ul class='topic_buttons'>
<li><a href='#'>{parse replacement="show_poll_form"} {$this->lang->words['poll_manage_link']}</a></li>
</ul>
</div>
<fieldset id='poll_wrap' style='display: none' class='clear'>
<ul id='poll_container'>
<li class='field'>
<label for='poll_title'>{$this->lang->words['poll_fs_title']}</label>
<input type='text' class='input_text' name='poll_question' id='poll_title' size='40' value='{$poll_question}' />
</li>
<if test="allowPublicPoll:|:$this->settings['poll_allow_public'] AND ! $total_votes">
<li class='field checkbox'>
<input type='checkbox' class='input_check' name='poll_view_voters' id='poll_view_voters' value='1' <if test="viewPollVoters:|:$poll_view_voters">checked='checked'</if> />
<label for='poll_view_voters'>{$this->lang->words['poll_fs_public']}</label>
<span class='desc'>{$this->lang->words['poll_public_warning']}</span>
</li>
</if>
<if test="makePollOnly:|:$this->settings['ipb_poll_only']">
<li class='field checkbox'>
<input type='checkbox' class='input_check' name='poll_only' id='poll_only' value='1' <if test="pollOnlyChecked:|:$poll_only">checked='checked'</if> />
<label for='poll_only'>{$this->lang->words['poll_only_title']}</label>
<span class='desc'>{$this->lang->words['poll_only_desc']}</span>
</li>
</if>
</ul>
<span class='desc' id='poll_stats'></span>
<div class='topic_controls'>
<ul class='topic_buttons'>
<li id='add_new_question'><a href='#'>{parse replacement="add_poll_question"} {$this->lang->words['add_another_question']}</a></li>
<li id='close_poll'><a href='#'>{parse replacement="close_poll_form"} {$this->lang->words['close_poll_form']}</a></li>
</ul>
</div>
</fieldset>
</div>]]></template_content>
<template_name>pollBox</template_name>
<template_data><![CDATA[$max_poll_questions="",$max_poll_choices="",$poll_questions="",$poll_choices="",$poll_votes="",$show_open="",$poll_question="",$is_mod=0,$poll_multi="",$poll_only='', $poll_view_voters='', $total_votes=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_post</template_group>
<template_content><![CDATA[<if test="open_close_perm:|:$formData['modOptionsData']['canSetOpenTime'] == 1 || $formData['modOptionsData']['canSetCloseTime'] == 1">
{parse addtohead="{$this->settings['public_dir']}/style_css/{$this->registry->output->skin['_csscacheid']}/calendar_select.css" type="css"}
<script type='text/javascript' src='{$this->settings['public_dir']}js/3rd_party/calendar_date_select/calendar_date_select.js'></script>
</if>
{parse js_module="post"}
{parse striping="post_stripe" classes="row1,row2"}
<div class='post_form'>
<!--FORUM RULES--><br />
<form id='postingform' action='{$this->settings['base_url']}' method='post' enctype='multipart/form-data'>
<!-- hidden inputs at bottom -->
<h2 class='maintitle'>{$formData['title']}</h2>
<!--SKINNOTE: Not semantic to have an empty list here for styling purposes :P -->
<div class='generic_bar'></div>
<if test="logged_in_check:|:! $this->memberData['member_id']">
<fieldset>
<h3 class='bar'>{$this->lang->words['guest_name_title']}</h3>
<ul>
<li class='field'>
<label for='username'>{$this->lang->words['guest_name']}</label>
<input type='text' name='UserName' id='username' size='50' value='{$this->request['UserName']}' maxlength="{$this->settings['max_user_name_length']}" class='input_text' tabindex='0' />
</li>
<if test="guestCaptcha:|:$formData['captchaHTML']">
<li class='field'>
<label for='guest_captcha'>{$this->lang->words['guest_captcha']}</label>
{$formData['captchaHTML']}
</li>
</if>
</ul>
</fieldset>
</if>
<if test="edit_title_check:|:$formData['formType'] == 'new' OR ( $formData['formType'] == 'edit' AND $formData['canEditTitle'] )">
<fieldset>
<h3 class='bar'>{$this->lang->words['topic_information']}</h3>
<ul>
<li class='field'>
<label for='topic_title'>{$this->lang->words['topic_title']}</label>
<input id='topic_title' class='input_text' type="text" size="50" maxlength="{$this->settings['topic_title_max_len']}" name="TopicTitle" value="{$formData['topicTitle']}" tabindex="0" />
</li>
<li class='field'>
<label for='topic_desc'>{$this->lang->words['topic_desc']}</label>
<input id='topic_desc' class='input_text' type="text" size="50" maxlength="70" name="TopicDesc" value="{$formData['topicDesc']}" tabindex="0" />
<span class='desc'>{$this->lang->words['post_optional']}</span>
</li>
</ul>
</fieldset>
</if>
<if test="pollboxHtml:|:$formData['pollBoxHTML']">
<fieldset id='poll_fieldset' style='display: none'>
<h3 class='bar'>{$this->lang->words['topic_poll_title']}</h3>
{$formData['pollBoxHTML']}
</fieldset>
<script type='text/javascript'>
$('poll_fieldset').show();
</script>
</if>
<fieldset>
<h3 class='bar'><if test="emoticons:|:$formData['formType'] == 'new' OR ( $formData['formType'] == 'edit' AND $formData['canEditTitle'] )">{$this->lang->words['topic']}<else />{$this->lang->words['post']}</if></h3>
<if test="statusMsgs:|:is_array($formData['statusMsg']) AND count($formData['statusMsg']) AND strlen($formData['statusMsg'][0])">
<div class='message'>{parse expression="implode( '<br />', $formData['statusMsg'])"}</div>
</if>
{$formData['editor']}
</fieldset>
<if test="upload_form_check:|:$formData['uploadForm']">
<fieldset class='attachments'>
{$formData['uploadForm']}
</fieldset>
</if>
<fieldset id='post_options' class='with_subhead'>
<h3 class='bar'>{$this->lang->words['options']}</h3>
<div id='post_options_options'>
<h4>{$this->lang->words['post_options']}</h4>
<ul>
<if test="htmlstatus:|:is_array( $formData['checkBoxes']['html'] ) AND count( $formData['checkBoxes']['html'] )">
<li class='field'>
<select name="post_htmlstatus" class="input_select">
<option value="0"{$formData['checkBoxes']['html'][0]}>{$this->lang->words['pp_nohtml']}</option>
<option value="1"{$formData['checkBoxes']['html'][1]}>{$this->lang->words['pp_html1']}</option>
<option value="2"{$formData['checkBoxes']['html'][2]}>{$this->lang->words['pp_html2']}</option>
</select>
</li>
</if>
<li class='field checkbox'>
<input type="checkbox" name="enableemo" class="input_check" value="yes" id='enable_emo' {$formData['checkBoxes']['emo']} />
<label for='enable_emo'>{$this->lang->words['enable_emo']}</label>
</li>
<if test="enablesig:|:$this->memberData['member_id']">
<li class='field checkbox'>
<input type="checkbox" name="enablesig" class="input_check" value="yes" id='enable_sig' {$formData['checkBoxes']['sig']} />
<label for='enable_sig'>{$this->lang->words['enable_sig']}</label>
</li>
<if test="tracking:|:$formData['checkBoxes']['tra'] == '-tracking-'">
<li class='field'><span class='desc'>{$this->lang->words['already_sub']}</span><li>
<else />
<li class='field checkbox'>
<input type="checkbox" name="enabletrack" class="input_check" id='enable_track' value="1" {$formData['checkBoxes']['tra']} />
<label for='enable_track'>{$this->lang->words['enable_track']}</label>
</li>
</if>
</if>
</ul>
<hr />
<if test="edit_options_check:|:$formData['extraData']['showEditOptions']">
<h4>{$this->lang->words['edit_options']}</h4>
<ul>
<li class='field checkbox'>
<input type="checkbox" name="add_edit" value="1" id='append_edit' {$formData['extraData']['checked']} class="input_check" />
<label for='append_edit'>{$this->lang->words['append_edit']}</label>
</li>
</ul>
<hr />
</if>
<if test="showeditreason:|:$formData['extraData']['showReason']">
<ul>
<li class='field'>
<label for='post_edit_reason'>{$this->lang->words['reason_for_edit']}</label><br />
<input type="text" name="post_edit_reason" id='post_edit_reason' value="{$formData['extraData']['reasonForEdit']}" size='40' maxlength='250' class='input_text' />
</li>
</ul>
</if>
<if test="mod_options_check:|:$formData['modOptionsData']['dropDownOptions'] != """>
<h4>{$this->lang->words['mod_options']}</h4>
<ul>
<li class='field'>{$formData['modOptionsData']['dropDownOptions']}</select></li>
</ul>
<hr />
</if>
<if test="open_time_check:|:$formData['modOptionsData']['canSetOpenTime'] == 1 ">
<h4>{$this->lang->words['mod_open_time']} <span class='desc'>{$this->lang->words['post_optional']}</span></h4>
<ul>
<li class='field'>
<input type='text' size='20' name='open_time_date' id='mod_open_date' class='input_text' value='{$formData['modOptionsData']['myTimes']['open_date']}' />
<img src='{$this->settings['img_url']}/date.png' alt='{$this->lang->words['generic_date']}' id='mod_open_date_icon' class='clickable' />
<span class='desc'>{$this->lang->words['mod_date_format']}</span>
</li>
<li class='field'>
<input type='text' size='5' name='open_time_time' id='mod_open_time' class='input_text' value='{$formData['modOptionsData']['myTimes']['open_time']}' />
<span class='desc'>{$this->lang->words['mod_time_format']}</span>
</li>
</ul>
<hr />
</if>
<if test="close_time_check:|:$formData['modOptionsData']['canSetCloseTime'] == 1">
<h4>{$this->lang->words['mod_close_time']} <span class='desc'>{$this->lang->words['post_optional']}</span></h4>
<ul>
<li class='field'>
<input type='text' size='20' name='close_time_date' id='mod_close_date' class='input_text' value='{$formData['modOptionsData']['myTimes']['close_date']}' />
<img src='{$this->settings['img_url']}/date.png' alt='{$this->lang->words['generic_date']}' id='mod_close_date_icon' class='clickable' />
<span class='desc'>{$this->lang->words['mod_date_format']}</span>
</li>
<li class='field'>
<input type='text' size='5' name='close_time_time' id='mod_close_time' class='input_text' value='{$formData['modOptionsData']['myTimes']['close_time']}' />
<span class='desc'>{$this->lang->words['mod_time_format']}</span>
</li>
</ul>
<hr />
</if>
<h4>{$this->lang->words['post_icon']}</h4>
<ul id='post_icons'>
<li>
<input type="radio" class="input_radio" name="iconid" value="1"<if test="posticon1:|:isset( $formData['postIconSelected']['1'] )"> checked="checked"</if> />
<img src="{$this->settings['mime_img']}/style_extra/post_icons/icon1.gif" alt='' />
</li>
<li>
<input type="radio" class="input_radio" name="iconid" value="2"<if test="posticon2:|:isset( $formData['postIconSelected']['2'] )"> checked="checked"</if> />
<img src="{$this->settings['mime_img']}/style_extra/post_icons/icon2.gif" alt='' />
</li>
<li>
<input type="radio" class="input_radio" name="iconid" value="3"<if test="posticon3:|:isset( $formData['postIconSelected']['3'] )"> checked="checked"</if> />
<img src="{$this->settings['mime_img']}/style_extra/post_icons/icon3.gif" alt='' />
</li>
<li>
<input type="radio" class="input_radio" name="iconid" value="4"<if test="posticon4:|:isset( $formData['postIconSelected']['4'] )"> checked="checked"</if> />
<img src="{$this->settings['mime_img']}/style_extra/post_icons/icon4.gif" alt='' />
</li>
<li>
<input type="radio" class="input_radio" name="iconid" value="5"<if test="posticon5:|:isset( $formData['postIconSelected']['5'] )"> checked="checked"</if> />
<img src="{$this->settings['mime_img']}/style_extra/post_icons/icon5.gif" alt='' />
</li>
<li>
<input type="radio" class="input_radio" name="iconid" value="6"<if test="posticon6:|:isset( $formData['postIconSelected']['6'] )"> checked="checked"</if> />
<img src="{$this->settings['mime_img']}/style_extra/post_icons/icon6.gif" alt='' />
</li>
<li>
<input type="radio" class="input_radio" name="iconid" value="7"<if test="posticon7:|:isset( $formData['postIconSelected']['7'] )"> checked="checked"</if> />
<img src="{$this->settings['mime_img']}/style_extra/post_icons/icon7.gif" alt='' />
</li>
<li class='clear'>
<input type="radio" class="input_radio" name="iconid" value="8"<if test="posticon8:|:isset( $formData['postIconSelected']['8'] )"> checked="checked"</if> />
<img src="{$this->settings['mime_img']}/style_extra/post_icons/icon8.gif" alt='' />
</li>
<li>
<input type="radio" class="input_radio" name="iconid" value="9"<if test="posticon9:|:isset( $formData['postIconSelected']['9'] )"> checked="checked"</if> />
<img src="{$this->settings['mime_img']}/style_extra/post_icons/icon9.gif" alt='' />
</li>
<li>
<input type="radio" class="input_radio" name="iconid" value="10"<if test="posticon10:|:isset( $formData['postIconSelected']['10'] )"> checked="checked"</if> />
<img src="{$this->settings['mime_img']}/style_extra/post_icons/icon10.gif" alt='' />
</li>
<li>
<input type="radio" class="input_radio" name="iconid" value="11"<if test="posticon11:|:isset( $formData['postIconSelected']['11'] )"> checked="checked"</if> />
<img src="{$this->settings['mime_img']}/style_extra/post_icons/icon11.gif" alt='' />
</li>
<li>
<input type="radio" class="input_radio" name="iconid" value="12"<if test="posticon12:|:isset( $formData['postIconSelected']['12'] )"> checked="checked"</if> />
<img src="{$this->settings['mime_img']}/style_extra/post_icons/icon12.gif" alt='' />
</li>
<li>
<input type="radio" class="input_radio" name="iconid" value="13"<if test="posticon13:|:isset( $formData['postIconSelected']['13'] )"> checked="checked"</if> />
<img src="{$this->settings['mime_img']}/style_extra/post_icons/icon13.gif" alt='' />
</li>
<li>
<input type="radio" class="input_radio" name="iconid" value="14"<if test="posticon14:|:isset( $formData['postIconSelected']['14'] )"> checked="checked"</if> />
<img src="{$this->settings['mime_img']}/style_extra/post_icons/icon14.gif" alt='' />
</li>
<li class='clear'>
<input type="radio" class="input_radio" name="iconid" value="0"<if test="posticon0:|:isset( $formData['postIconSelected']['0'] )"> checked="checked"</if> /> {$this->lang->words['picons_none']}
</li>
</ul>
<hr />
</div>
<span id='toggle_post_options' class='clickable'></span>
<script type='text/javascript'>
ipb.post.hideOptions();
</script>
</fieldset>
<fieldset class='submit'>
<input type='hidden' name='st' value='{$this->request['st']}' />
<input type='hidden' name='app' value='forums' />
<input type='hidden' name='module' value='post' />
<input type='hidden' name='section' value='post' />
<input type='hidden' name='do' value='{$form['doCode']}' />
<input type='hidden' name='s' value='{$this->member->session_id}' />
<input type='hidden' name='p' value='{$form['p']}' />
<input type='hidden' name='t' value='{$form['t']}' />
<input type='hidden' name='f' value='{$form['f']}' />
<input type='hidden' name='parent_id' value='{$form['parent']}' />
<input type='hidden' name='attach_post_key' value='{$form['attach_post_key']}' />
<input type='hidden' name='auth_key' value='{$this->member->form_hash}' />
<input type='hidden' name='removeattachid' value='0' />
<input type="submit" name="dosubmit" value="{$formData['buttonText']}" tabindex="0" class="input_submit" accesskey="s" />
<input type="submit" name="preview" value="{$this->lang->words['button_preview']}" tabindex="0" class="input_submit alt" />
{$this->lang->words['or']} <if test="cancelposting:|:$form['t']">
<a href='{parse url="showtopic={$form['t']}" template="showtopic" seotitle="{$formData['seoTopic']}" base="public"}' title='{$this->lang->words['cancel']}' class='cancel' tabindex='0'>{$this->lang->words['cancel']}</a>
<else />
<a href='{parse url="showforum={$form['f']}" template="showforum" seotitle="{$formData['seoForum']}" base="public"}' title='{$this->lang->words['cancel']}' class='cancel' tabindex='0'>{$this->lang->words['cancel']}</a>
</if>
</fieldset>
</form>
</div>
{$formData['topicSummary'][0]['html']}]]></template_content>
<template_name>postFormTemplate</template_name>
<template_data>$formData=array(), $form = 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_post</template_group>
<template_content><![CDATA[<!-- SKINNOTE: Needs code updating -->
<if test="postpreview:|:$data AND trim($data) != '<br />' AND trim($data) != '<br>'">
<h2 class='maintitle'>{$this->lang->words['post_preview']}</h2>
<div class='post_wrap' id='post_preview'>
<div class='row2' style='padding:8px'>
<div class='post entry-content'>{$data}</div>
</div>
</div>
<br />
</if>]]></template_content>
<template_name>preview</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_post</template_group>
<template_content><![CDATA[{parse js_module="topic"}
{parse template="include_highlighter" group="global" params=""}
<br /><br />
<h2 class='maintitle'>{$this->lang->words['topic_summary']}</h2>
<div class='generic_bar'></div>
<div id='topic_summary'>
<if test="topicsummaryposts:|:is_array( $posts ) AND count( $posts )">
<foreach loop="posts:$posts as $pid => $data">
<div class='post_block topic_summary'>
<if test="$data['member_id']">
<h3><a href='{parse url="showuser={$data['member_id']}" base="public" seotitle="{$data['members_seo_name']}" template="showuser"}'>{$data['author']}</a>{parse template="user_popup" group="global" params="$data['member_id'],$data['members_seo_name']"}</h3>
<else />
<h3>{$data['author']}</h3>
</if>
<p class='posted_info'>{$this->lang->words['summary_posted']} {$data['date']}</p>
<div class='post_body'>
<if test="ignoringpost:|:isset( $data['_ignored'] ) && $data['_ignored'] == 1">
<div class='post'>{$this->lang->words['ignore_first_line']} {$data['members_display_name']}.</div>
<else />
<div class="post">{$data['post']}</div>
</if>
</div>
</div>
</foreach>
</if>
<p class='submit'>
<a href='{parse url="showtopic={$this->request['t']}" base="public"}' title='{$this->lang->words['review_topic']}' id='review_topic'>{$this->lang->words['review_topic']}</a>
</p>
</div>]]></template_content>
<template_name>topicSummary</template_name>
<template_data>$posts=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_post</template_group>
<template_content><![CDATA[<script type='text/javascript' src='{$this->settings['public_dir']}js/3rd_party/swfupload/swfupload.js'></script>
<script type='text/javascript' src='{$this->settings['public_dir']}js/3rd_party/swfupload/plugins/swfupload.swfobject.js'></script>
<script type='text/javascript' src='{$this->settings['public_dir']}js/3rd_party/swfupload/plugins/swfupload.cookies.js'></script>
<script type='text/javascript' src='{$this->settings['public_dir']}js/3rd_party/swfupload/plugins/swfupload.queue.js'></script>
<script type='text/javascript'>
//<!#^#|CDATA|
ipb.lang['used_space'] = "{parse expression="sprintf( $this->lang->words['used_space_js'], "{$stats['max_single_upload_human']}" )"}";
//|#^#]>
</script>
{parse js_module="attach"}
<h3 class='bar'>{$this->lang->words['upload_title']}</h3>
<!--SKINNOTE: traditional uploader needs this. -->
<div id='attach_error_box' class='message error' style='display:none'></div>
<input type='file' id='nojs_attach_{$id}_1' class='input_upload' name='FILE_UPLOAD' tabindex='1' />
<input type='file' id='nojs_attach_{$id}_2' class='input_upload' name='FILE_UPLOAD' tabindex='1' />
<ul id='attachments'><li style='display: none'></li></ul>
<br />
<span id='buttonPlaceholder'></span>
<input type='button' id='add_files_attach_{$id}' class='input_submit' value='{$this->lang->words['attach_selected']}' style='display: none; clear: both' tabindex='1' /> <span class='desc' id='space_info_attach_{$id}'>{parse expression="sprintf( $this->lang->words['used_space'], "{$stats['space_used_human']}", "{$stats['total_space_allowed_human']}", "{$stats['max_single_upload_human']}")"}</span>
<if test="uploadformhelp:|:$this->settings['uploadFormType']">
<div class='message unspecific' style='margin: 15px 15px 0 15px'>
<h4>{$this->lang->words['attach_files_help']}</h4>
<p class='desc' id='help_msg'>
<if test="flashuploadhelp:|:$this->memberData['member_uploader'] == 'flash'">
{$this->lang->words['select_several']}<br />
{$this->lang->words['trouble_uploading']} <a href='{parse url="app=core&module=usercp&hl=true" base="public"}' title='{$this->lang->words['switch']}' tabindex='1'>{$this->lang->words['switch_to_basic']}</a>
<else />
<a href='{parse url="app=core&module=usercp&hl=true" base="public"}' title='{$this->lang->words['switch']}' tabindex='1'>{$this->lang->words['switch_to_advanced']}</a>
</if>
</p>
</div>
</if>
<script type='text/javascript'>
//<!#^#|CDATA|
// Show the button and info
$('add_files_attach_{$id}').show();
$('space_info_attach_{$id}').show();
var useType = 'simple';
var uploadURL = ipb.vars['base_url'] + "app=core&module=attach§ion=attach&do=attachiFrame&attach_rel_module={$type}&attach_rel_id={$id}&attach_post_key={$post_key}&forum_id={$forum_id}&attach_id=attach_{$id}&fetch_all=1";
if( jimAuld.utils.flashsniffer.meetsMinVersion(9) && ( ipb.vars['swfupload_enabled'] && ipb.vars['use_swf_upload'] ) )
{
useType = 'swf';
var uploadURL = "{parse url="app=core&module=attach§ion=attach&do=attach_upload_process&attach_rel_module={$type}&attach_rel_id={$id}&attach_post_key={$post_key}&forum_id={$forum_id}" base="public"}";
$('add_files_attach_{$id}').observe('mouseover', function(e){ } );
}
ipb.attach.template = "<li id='ali_[id]' class='attach_row' style='display: none'><div><h4 class='attach_name'>[name]</h4><p class='info'>[info]</p><span class='img_holder'></span><p class='progress_bar'><span style='width: 0%'>0%</span></p><p class='links'><a href='#' class='add_to_post' title='{$this->lang->words['attach_button_title']}'>{$this->lang->words['attach_button']}</a> | <a href='#' class='cancel delete' title='{$this->lang->words['attach_delete_title']}'>{$this->lang->words['attach_delete']}</a></p></div></li>";
document.observe('dom:loaded', function(){
ipb.attach.registerUploader( 'attach_{$id}', useType, 'attachments', {
'upload_url': uploadURL,
'attach_rel_module': "{$type}",
'attach_rel_id': "{$id}",
'attach_post_key': "{$post_key}",
'forum_id': "{$forum_id}",
'file_size_limit': "{$stats['max_single_upload']}"
} )});
//|#^#]>
</script>]]></template_content>
<template_name>uploadForm</template_name>
<template_data><![CDATA[$post_key="",$type="",$stats=array(),$id="",$forum_id=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>
</templategroup>
<templategroup group="skin_printpage">
<template>
<template_group>skin_printpage</template_group>
<template_content><![CDATA[<h2>{$this->lang->words['tvo_title']} {$title}</h2>
<p class='message unspecific'>{$this->lang->words['please_choose']}</p>
<div class='generic_bar'></div>
{parse striping="strip" classes="row1,row2"}
<div class='post_form'>
<ul>
<li class='field'>
<strong><a href="{parse url="app=forums&module=forums&section=printtopic&client=printer&f={$fid}&t={$tid}" base="public"}">{$this->lang->words['o_print_title']}</a></strong><br />{$this->lang->words['o_print_desc']}
</li>
<li class='field'>
<strong><a href="{parse url="app=forums&module=forums&section=printtopic&client=html&f={$fid}&t={$tid}" base="public"}">{$this->lang->words['o_html_title']}</a></strong><br />{$this->lang->words['o_html_desc']}
</li>
<li class='field'>
<strong><a href="{parse url="app=forums&module=forums&section=printtopic&client=wordr&f={$fid}&t={$tid}" base="public"}">{$this->lang->words['o_word_title']}</a></strong><br />{$this->lang->words['o_word_desc']}
</li>
</ul>
<p class='submit'>
<a href="{parse url="showtopic={$tid}" base="public"}" title='{$this->lang->words['back_topic']}'>« {$this->lang->words['back_topic']}</a>
</p>
</div>]]></template_content>
<template_name>choose_form</template_name>
<template_data><![CDATA[$fid="",$tid="",$title=""]]></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_printpage</template_group>
<template_content><![CDATA[<!--Copyright-->
<if test="pagecopyright:|:$this->settings['ipb_copy_number'] == ''">
<p id='copyright'>{$this->lang->words['powered_by']}Invision Power Board (http://www.invisionboard.com)<br />© Invision Power Services (http://www.invisionpower.com)</p>
</if>
</div>
{parse template="include_highlighter" group="global" params="1"}
</body>
</html>]]></template_content>
<template_name>pp_end</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_printpage</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={$IPS_DOC_CHAR_SET}" />
<link rel="stylesheet" type="text/css" media="all" href="{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_print.css" />
<title>{$this->settings['board_name']}</title>
</head>
<body id='ipboard_body'>
<div id="content">
<h2>{$topic_title} <a href="{parse url="showtopic={$tid}" base="public"}" title="{$this->lang->words['click_toview']}">{$this->lang->words['view_original']}</a></h2>
<div id='breadcrumb'>{$this->settings['board_name']} -> {$forum_name} -> {$topic_title}</div>
<br /><br />]]></template_content>
<template_name>pp_header</template_name>
<template_data><![CDATA[$forum_name="",$topic_title="",$topic_starter="",$fid="",$tid="",$css=array(),$IPS_DOC_CHAR_SET=IPS_DOC_CHAR_SET]]></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_printpage</template_group>
<template_content><![CDATA[<div class='post_block first hentry <if test="postqueued:|:$post['post']['queued']==1">moderated</if> <if test="reputation:|:$this->settings['reputation_enabled']">with_rep</if>' id='post_id_{$post['post']['pid']}'>
<div class='post_wrap'>
<h3>{$entry['members_display_name']}</h3>
<p class='posted_info'>
<if test="iconid:|:$post['post']['icon_id']">
<img src="{$this->settings['public_dir']}style_extra/post_icons/icon{$post['post']['icon_id']}.gif" alt="{$this->lang->words['icon']}" />
</if>
{$this->lang->words['posted_prefix']} {$entry['post_date']}
</p>
<div class='post_body'>
<div class='post entry-content'>
{$entry['post']}
<!--IBF.ATTACHMENT_{$entry['pid']}-->
<br />
</div>
</div>
</div>
<!-- </if> -->
</div>]]></template_content>
<template_name>pp_postentry</template_name>
<template_data><![CDATA[$poster="",$entry=""]]></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_topic">
<template>
<template_group>skin_topic</template_group>
<template_content><![CDATA[{parse js_module="topic"}
<h2 class='maintitle'>{$this->lang->words['announce_title']}: {$announce['announce_title']}</h2>
<div class='generic_bar'></div>
<div class='post_block first hentry announcement' id='announce_id_{$announce['announce_id']}'>
<div class='post_wrap'>
<if test="announceMid:|:$author['member_id']">
<h3>
<else />
<h3 class='guest'>
</if>
<if test="announceMember:|:$author['member_id']">
<if test="announceOnline:|:$author['_online']">
{parse replacement="user_online"}
<else />
{parse replacement="user_offline"}
</if>
<span class="author vcard"><a class="url fn" href='{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}'>{$author['members_display_name']}</a>{parse template="user_popup" group="global" params="$author['member_id'],$author['members_seo_name']"}</span>
<else />
{$author['members_display_name']}
</if>
</h3>
<div class='author_info'>
{parse template="userInfoPane" group="global" params="$author, 'announcement', array()"}
</div>
<div class='post_body'>
<div class='post entry-content'>
{$announce['announce_post']}
</div>
</div>
<ul class='post_controls'></ul>
</div>
</div>]]></template_content>
<template_name>announcement_show</template_name>
<template_data><![CDATA[$announce="",$author=""]]></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_topic</template_group>
<template_content><![CDATA[<ul>
<li>
{$post['depthguide']} <span<if test="buildThreaded:|:isset( $post['_show_highlight'] ) && $post['_show_highlight']"> class='highlight'</if>>{parse replacement="{$post['new_post']}"} <strong>{$post['linked_name']}</strong> <span class='post_title'><a href="{parse url="showtopic={$post['topic_id']}&pid={$post['pid']}&mode=threaded&show={$this->request['start']}&st={$this->request['st']}#entry{$post['pid']}" base="public"}">{$post['post_title']}</a></span> <span class='desc'>{$post['formatted_date']}</span></span>
{$child}
</li>
</ul>]]></template_content>
<template_name>build_threaded</template_name>
<template_data>$post, $child</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_topic</template_group>
<template_content><![CDATA[<script type='text/javascript'>
ipb.templates['poll_voters'] = new Template("<h3 class='bar'>{$this->lang->words['poll_voted_for']} #{title}</h3><div class='general_box'>#{content}</div>");
</script>
<div class='general_box alt poll' id='poll_{$poll['pid']}'>
<form action="{parse url="app=forums&module=extras&section=vote&t={$topicData['tid']}&st={$this->request['st']}&do=add" base="public"}" name='pollForm' method="post">
<h3>{$this->lang->words['poll']} {$poll['poll_question']}<if test="showPollResults:|:$showResults"> <span class='desc'>({$poll['_totalVotes']} {$this->lang->words['poll_vote_casted']})</span></if></h3>
<if test="publicPollNotice:|:$this->settings['poll_allow_public'] AND $poll['poll_view_voters'] AND ! $showResults">
<div class='message unspecified'>{$this->lang->words['poll_public_notice']}</div>
</if>
<foreach loop="poll_questions:$pollData as $questionID => $questionData">
<div class='poll_question<if test="votedClass:|:$showResults"> voted</if>'>
<h4 class='rounded'>{$pollData[ $questionID ]['question']}</h4>
<if test="noGuestVote:|:! $this->settings['allow_result_view'] AND ! $this->memberData['member_id']">
{$this->lang->words['poll_noview_guest']}
<else />
<ol>
<foreach loop="poll_choices:$pollData[ $questionID ]['choices'] as $choiceID => $choiceData">
<if test="showingResults:|:$showResults">
<li>
<span class='answer'><if test="hasVoters:|:is_array( $choiceData['voters'] ) AND in_array( $this->memberData['member_id'], array_keys( $choiceData['voters'] ) )"> {parse replacement="your_vote"} </if>{$choiceData['choice']}</span>
<if test="viewVoters:|:$poll['poll_view_voters'] AND is_array( $choiceData['voters'] ) AND $this->settings['poll_allow_public'] AND $choiceData['votes']">
<a href='#' class='votes' id='l_voters_{$questionID}_{$choiceID}' title='{$this->lang->words['poll_view_voters']}'>({$choiceData['votes']} {$this->lang->words['poll_votes']} [{$choiceData['percent']}%] - <strong>{$this->lang->words['poll_view']}</strong>)</a>
<else />
<span class='votes'> ({$choiceData['votes']} {$this->lang->words['poll_votes']} [{$choiceData['percent']}%])</span>
</if>
<if test="votersJs:|:$poll['poll_view_voters'] AND is_array( $choiceData['voters'] ) AND $this->settings['poll_allow_public'] AND $choiceData['votes']">
<script type='text/javascript'>
$('l_voters_{$questionID}_{$choiceID}').observe('click', ipb.topic.showVoters.bindAsEventListener( this, {$questionID}, {$choiceID} ) );
if( Object.isUndefined( ipb.topic.poll[ $questionID ] ) ){
ipb.topic.poll[ $questionID ] = [];
}
var users = "";
<foreach loop="poll_voters:$choiceData['voters'] as $id => $member">
users += "<a href='{parse url="showuser={$member['member_id']}" base="public" seotitle="{$member['members_seo_name']}" template="showuser"}'>{$member['members_colored_name']}</a> {parse template="user_popup" group="global" params="$member['member_id'],$member['members_seo_name']"}<if test="lastVoter:|:$member['_last'] == 0">, </if>";
</foreach>
ipb.topic.poll[ $questionID ][ $choiceID ] = { name: "{$choiceData['choice']}", users: users};
</script>
</if>
<p class='progress_bar topic_poll' title='{$this->lang->words['poll_percent_of_vote']} {$choiceData['percent']}%'>
<span style='width: {$choiceData['percent']}%'><span>{$this->lang->words['poll_percent_of_vote']} {$choiceData['percent']}%</span></span>
</p>
</li>
<else />
<if test="multiVote:|:$choiceData['type'] == 'multi'">
<li><input type='checkbox' id='choice_{$questionID}_{$choiceID}' name='choice_{$questionID}_{$choiceID}' value='1' class='input_check' /> <label for='choice_{$questionID}_{$choiceID}'>{$choiceData['choice']}</label></li>
<else />
<li><input type='radio' name='choice[{$questionID}]' id='choice_{$questionID}_{$choiceID}' class='input_radio' value='{$choiceID}' /> <label for='choice_{$questionID}_{$choiceID}'>{$choiceData['choice']}</label></li>
</if>
</if>
</foreach>
</ol>
</if>
</div>
<script type='text/javascript'>
Debug.dir( ipb.topic.poll );
</script>
</foreach>
<fieldset class='submit'>
<legend>{$this->lang->words['poll_vote']}</legend>
<if test="voteButton:|:$topicData['state'] != 'closed' AND $forumData['status']">
<if test="voteButtonMid:|:$this->memberData['member_id']">
<if test="voteButtonVoted:|:$poll['_memberVoted']">
<if test="deleteVote:|:$this->settings['poll_allow_vdelete'] OR $this->memberData['g_is_supmod']">
<a href='{parse url="app=forums&module=extras&section=vote&t={$topicData['tid']}&st={$this->request['st']}&do=delete&authKey={$this->member->form_hash}" base="public"}' title='{$this->lang->words['poll_delete_vote']}' id='poll_deletevote' class='input_submit alt'>{$this->lang->words['poll_delete_vote']}</a>
<else />
{$this->lang->words['poll_you_voted']}
</if>
<else />
<if test="youCreatedPoll:|:($poll['starter_id'] == $this->memberData['member_id']) and ($this->settings['allow_creator_vote'] != 1)">
{$this->lang->words['poll_you_created']}
<else />
<!-- VOTE Button -->
<if test="cast:|:$this->request['mode'] != 'show'">
<input class='input_submit' type="submit" name="submit" value="{$this->lang->words['poll_add_vote']}" title="{$this->lang->words['tt_poll_vote']}" />
</if>
<!-- SHOW Button -->
<if test="displayVotes:|:$this->settings['allow_result_view'] == 1">
<if test="alreadyDisplayVotes:|:$this->request['mode'] == 'show'">
<if test="viewVotersLink:|:! $poll_view_voters">
<a href='{parse url="showtopic={$topicData['tid']}&st={$this->request['st']}" base="public" seotitle="{$topicData['title_seo']}" template="showtopic"}' title='{$this->lang->words['tt_poll_svote']}' id='poll_nullvote' class='input_submit alt'>{$this->lang->words['pl_show_vote']}</a>
</if>
<else />
<a href='{parse url="showtopic={$topicData['tid']}&mode=show&st={$this->request['st']}" base="public" seotitle="{$topicData['title_seo']}" template="showtopic"}' title='{$this->lang->words['tt_poll_show']}' id='poll_showresults' class='input_submit alt'>{$this->lang->words['pl_show_results']}</a>
</if>
<else />
<input class='input_submit' type="submit" name="nullvote" value="{$this->lang->words['poll_null_vote']}" title="{$this->lang->words['tt_poll_null']}" />
</if>
</if>
</if>
<else />
{$this->lang->words['poll_no_guests']}
</if>
</if>
<if test="editPoll:|:$topicData['starter_id'] == $this->memberData['member_id'] OR $this->memberData['g_is_supmod']">
<a href='{parse url="module=post&section=post&do=edit_post&f={$poll['forum_id']}&t={$poll['tid']}&p={$topicData['topic_firstpost']}" base="publicWithApp"}' title='{$this->lang->words['poll_edit']}' class='input_submit alt' >{parse replacement="edit_post_icon"} {$this->lang->words['poll_edit']}</a>
</if>
</fieldset>
</form>
</div>]]></template_content>
<template_name>pollDisplay</template_name>
<template_data>$poll, $topicData, $forumData, $pollData, $showResults</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_topic</template_group>
<template_content><![CDATA[{$post['post']}
{$post['attachmentHtml']}
<br />
<if test="editByQe:|:$post['edit_by']">
<p class='edit'>
{$post['edit_by']}
<if test="editReasonQe:|:$post['post_edit_reason'] != ''">
<br />
<span class='reason'>{$this->lang->words['reason_for_edit']}: {$post['post_edit_reason']}</span>
</if>
</p>
</if>]]></template_content>
<template_name>quickEditPost</template_name>
<template_data>$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_topic</template_group>
<template_content><![CDATA[<a href="{parse url="app=core&module=attach&section=attach&attach_id={$data['attach_id']}" base="public"}" title="{$this->lang->words['attach_dl']}"><img src="{$this->settings['public_dir']}{$data['mime_image']}" alt="{$this->lang->words['attached_file']}" /></a>
<a href="{parse url="app=core&module=attach&section=attach&attach_id={$data['attach_id']}" base="public"}" title="{$this->lang->words['attach_dl']}">{$data['attach_file']}</a> <span class='desc'><strong>({$data['file_size']})</strong></span>
<br /><span class="desc info">{$this->lang->words['attach_hits']}: {$data['attach_hits']}</span>]]></template_content>
<template_name>Show_attachments</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_topic</template_group>
<template_content><![CDATA[<img src="{$this->settings['upload_url']}/$file_name" class='linked-image' alt="{$this->lang->words['pic_attach']}" />]]></template_content>
<template_name>Show_attachments_img</template_name>
<template_data><![CDATA[$file_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_topic</template_group>
<template_content><![CDATA[<a class='resized_img' rel='lightbox[{$data['attach_rel_id']}]' id='ipb-attach-url-{$data['_attach_id']}' href="{parse url="app=core&module=attach&section=attach&attach_rel_module={$data['type']}&attach_id={$data['attach_id']}" base="public"}" title="{$data['location']} - {$this->lang->words['attach_size']} {$data['file_size']}, {$this->lang->words['attach_ahits']} {$data['attach_hits']}"><img src="{$this->settings['upload_url']}/{$data['t_location']}" id='ipb-attach-img-{$data['_attach_id']}' style='width:{$data['t_width']};height:{$data['t_height']}' class='attach' width="{$data['t_width']}" height="{$data['t_height']}" alt="{$this->lang->words['pic_attach']}" /></a>]]></template_content>
<template_name>Show_attachments_img_thumb</template_name>
<template_data>$data=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_topic</template_group>
<template_content><![CDATA[<div id='attach_wrap' class='rounded clearfix'>
<h4>$title</h4>
<ul>
<foreach loop="attach:$data as $file">
<li class='<if test="attachType:|:$type == 'attach'">clear</if>'>
{$file}
</li>
</foreach>
</ul>
</div>]]></template_content>
<template_name>show_attachment_title</template_name>
<template_data><![CDATA[$title="",$data="",$type=""]]></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_topic</template_group>
<template_content><![CDATA[<if test="allowRating:|:$forum['forum_allow_rating']">
{parse js_module="rating"}
</if>
{parse js_module="topic"}
{parse js_module="editor"}
<script type="text/javascript">
//<!#^#|CDATA|
ipb.topic.inSection = 'topicview';
ipb.topic.topic_id = {$topic['tid']};
ipb.topic.forum_id = {$forum['id']};
ipb.topic.start_id = {parse expression="intval($this->request['st'])"};
// Editor JS: Only needs to be done once per page
{parse template="editorJS" group="editors" params=""}
//Search Setup
ipb.vars['search_type'] = 'forum';
ipb.vars['search_type_id'] = {$forum['id']};
ipb.vars['search_type_2'] = 'topic';
ipb.vars['search_type_id_2'] = {$topic['tid']};
//|#^#]>
</script>
{parse template="include_lightbox" group="global" params=""}
<if test="showForumRulesInline:|:$forum['show_rules'] == 2">
<div class='message unspecific'>
<h3>{$forum['rules_title']}</h3>
{$forum['rules_text']}
</div>
</if>
<if test="showForumRulesLink:|:$forum['show_rules'] == 1">
<div class='message unspecific'>
<a href='{parse url="app=forums&module=forums&section=rules&f={$forum['id']}" base="public"}' title='{$this->lang->words['show_forum_rules']}'><strong>{$forum['rules_title']}</strong></a>
</div>
</if>
<if test="isNotThreadedMode:|:$displayData['threaded_mode_enabled'] == 0">
<div class='topic_controls'>
{$topic['SHOW_PAGES']}
<ul class='topic_buttons'>
<if test="newTopicButton:|:$forum['_user_can_post']">
<li><a href='{parse url="module=post&section=post&do=new_post&f={$forum['id']}" base="publicWithApp"}' title='{$this->lang->words['start_new_topic']}' accesskey='n'>{parse replacement="topic_icon"} {$this->lang->words['start_new_topic']}</a></li>
<else />
<li class='disabled'><span>{$this->lang->words['top_cannot_start']}</span></li>
</if>
<if test="closedButton:|:$displayData['reply_button']['image'] == 'locked'">
<li class='closed'>
<if test="closedButtonLink:|:$displayData['reply_button']['url']">
<a href='{$displayData['reply_button']['url']}' accesskey='r'>{parse replacement="lock_icon"} {$this->lang->words['top_locked_reply']}</a>
<else />
<span>{parse replacement="lock_icon"} {$this->lang->words['top_locked']}</span>
</if>
</li>
<else />
<if test="replyButton:|:$displayData['reply_button']['image']">
<if test="replyButtonLink:|:$displayData['reply_button']['url']">
<li><a href='{$displayData['reply_button']['url']}' title='{$this->lang->words['topic_add_reply']}' accesskey='r'>{parse replacement="{$displayData['reply_button']['image']}_icon"} {$this->lang->words['topic_add_reply']}</a></li>
<else />
<li class='disabled'><span>{$this->lang->words['top_cannot_reply']}</span></li>
</if>
</if>
</if>
<if test="watchWrapper:|:$this->memberData['member_id']">
<li>
<if test="isWatching:|:$this->settings['cpu_watch_update'] AND $topic['trackingTopic']">
<a href='{parse url="app=core&module=usercp&tab=forums&area=updateWatchTopics&do=saveIt&authKey={$this->member->form_hash}&topicIDs[{$topic['tid']}]=1&trackchoice=unsubscribe&topicReturn={$topic['tid']}" base="public"}' title='{$this->lang->words['topic_stop_watching']}'>{parse replacement="watch_topic_off"} {$this->lang->words['topic_stop_watching']}</a>
<else />
<a href='{parse url="app=core&module=usercp&tab=forums&area=watch&watch=topic&do=list&tid={$topic['tid']}" base="public"}' title='{$this->lang->words['tt_title']}'>{parse replacement="watch_topic_on"} {$this->lang->words['tt_title']}</a>
</if>
</li>
</if>
</ul>
</div>
</if>
<div class='topic hfeed'>
<h2 class='maintitle'>
<span class='main_topic_title'>
{$topic['title']}
<if test="topicDescription:|:$topic['description']">
<span class='desc main_topic_desc'>{$topic['description']}</span>
</if>
</span>
<!-- SKINNOTE: Need to fill in proper URL for topic rating -->
<if test="topicRating:|:$forum['forum_allow_rating']">
<span class='rating'>{$this->lang->words['js_rate_me']}
<a href='{parse url="app=forums&module=extras&section=rating&t={$topic['tid']}&rating=1" base="public"}' id='topic_rate_1' title='{$this->lang->words['top_js_1star']}'><if test="rate1:|:$topic['_rate_int'] >= 1">{parse replacement="rate_on"}<else />{parse replacement="rate_off"}</if></a><a href='{parse url="app=forums&module=extras&section=rating&t={$topic['tid']}&rating=2" base="public"}' id='topic_rate_2' title='{$this->lang->words['top_js_2star']}'><if test="rate2:|:$topic['_rate_int'] >= 2">{parse replacement="rate_on"}<else />{parse replacement="rate_off"}</if></a><a href='{parse url="app=forums&module=extras&section=rating&t={$topic['tid']}&rating=3" base="public"}' id='topic_rate_3' title='{$this->lang->words['top_js_3star']}'><if test="rate3:|:$topic['_rate_int'] >= 3">{parse replacement="rate_on"}<else />{parse replacement="rate_off"}</if></a><a href='{parse url="app=forums&module=extras&section=rating&t={$topic['tid']}&rating=4" base="public"}' id='topic_rate_4' title='{$this->lang->words['top_js_4star']}'><if test="rate4:|:$topic['_rate_int'] >= 4">{parse replacement="rate_on"}<else />{parse replacement="rate_off"}</if></a><a href='{parse url="app=forums&module=extras&section=rating&t={$topic['tid']}&rating=5" base="public"}' id='topic_rate_5' title='{$this->lang->words['top_js_5star']}'><if test="rate5:|:$topic['_rate_int'] >= 5">{parse replacement="rate_on"}<else />{parse replacement="rate_off"}</if></a>
<span id='rating_text'>
<if test="hasRates:|:$topic['topic_rating_hits'] > 0"><span id='rating_hits'>{$topic['topic_rating_hits']}</span> {$this->lang->words['poll_s_votes']}</if>
<if test="youRated:|:$topic['_rating_value'] != -1"> ({$this->lang->words['topic_poll_your_vote']} <span id='your_rate'>{$topic['_rating_value']}</span>)</if>
</span>
<script type='text/javascript'>
//<!#^#|CDATA|
rating = new ipb.rating( 'topic_rate_', {
url: '{parse url="app=forums&module=ajax§ion=topics&do=rateTopic&t={$topic['tid']}" base="public"}&md5check=' + ipb.vars['secure_hash'],
cur_rating: {$topic['_rate_int']},
rated: <if test="jsHasRates:|:$topic['_rating_value'] != -1">1<else />0</if>,
allow_rate: {$topic['_allow_rate']},
multi_rate: 1,
show_rate_text: true
} );
//|#^#]>
</script>
</span>
</if>
</h2>
{$displayData['poll_data']}
<if test="startModForm:|:$displayData['mod_links']">
<if test="weAreMod:|:$this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id']">
<form id="modform" method="post" action="{parse url="" base="public"}">
<fieldset>
<input type="hidden" name="app" value="forums" />
<input type="hidden" name="module" value="moderate" />
<input type="hidden" name="section" value="moderate" />
<input type="hidden" name="do" value="postchoice" />
<input type="hidden" name="f" value="{$topic['forum_id']}" />
<input type="hidden" name="t" value="{$topic['tid']}" />
<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
<input type="hidden" name="st" value="{$this->request['st']}" />
<input type="hidden" value="{$this->request['selectedpids']}" name="selectedpidsJS" id='selectedpidsJS' />
</fieldset>
</if>
</if>
<if test="hasPosts:|:is_array( $post_data ) AND count( $post_data )">
<!-- skinnote: Posts by ignored users are not hidden, check _ignored -->
<foreach loop="post_data:$post_data as $post">
<!--Begin Msg Number {$post['post']['pid']}-->
<div class='post_block hentry clear <if test="postQueued:|:$post['post']['queued']==1">moderated</if> <if test="reputation:|:$this->settings['reputation_enabled']">with_rep</if>' id='post_id_{$post['post']['pid']}'>
<a id='entry{$post['post']['pid']}'></a>
<if test="repIgnored:|:( isset( $post['post']['_repignored'] ) AND isset($post['post']['_ignored']) ) AND $post['post']['_repignored'] == 1 && $post['post']['_ignored'] != 1">
<div class='post_ignore'>
<if test="noRep:|:$post['post']['rep_points'] == 0">
<span class='reputation zero' title='{$this->lang->words['top_rep']}'>
</if>
<if test="posRep:|:$post['post']['rep_points'] > 0">
<span class='reputation positive' title='{$this->lang->words['top_rep']}'>
</if>
<if test="negRep:|:$post['post']['rep_points'] < 0">
<span class='reputation negative' title='{$this->lang->words['top_rep']}' >
</if>
{$post['post']['rep_points']}</span> {$this->lang->words['top_this_post_by']} <a href='{parse url="showuser={$post['author']['member_id']}" base="public"}'>{$post['author']['members_display_name']}</a> {parse template="user_popup" group="global" params="$post['author']['member_id'], $post['author']['members_seo_name']"} {$this->lang->words['top_below_thresh']}. <a href='#' title='{$this->lang->words['ignore_view_post']}' id='unhide_post_{$post['post']['pid']}'>{$this->lang->words['rep_view_anyway']}</a>
</div>
</if>
<if test="userIgnored:|:$post['post']['_repignored'] == 1 || $post['post']['_ignored']">
<div class='post_ignore'>
{$this->lang->words['post_ignored']} <a href='{parse url="showuser={$post['author']['member_id']}" base="public"}'>{$post['author']['members_display_name']}</a> {parse template="user_popup" group="global" params="$post['author']['member_id'], $post['author']['members_seo_name']"}. <a href='#entry{$post['post']['pid']}' title='{$this->lang->words['ignore_view_post']}' style='display: none' id='unhide_post_{$post['post']['pid']}'>{$this->lang->words['rep_view_anyway']}</a>
</div>
</if>
<div class='post_wrap' <if test="isNotIgnoring:|:$post['post']['_ignored'] == 1 || $post['post']['_repignored'] == 1">style='display: none'</if>>
<if test="postMid:|:$post['author']['member_id']">
<h3>
<else />
<h3 class='guest'>
</if>
<span class='post_id'><a href='{parse url="showtopic={$post['post']['topic_id']}&view=findpost&p={$post['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' rel='bookmark' title='{$this->lang->words['link_to_post']} #{$post['post']['post_count']}'>#{$post['post']['post_count']}</a></span>
<if test="postMember:|:$post['author']['member_id']">
<if test="postOnline:|:$post['author']['_online']">
{parse replacement="user_online"}
<else />
{parse replacement="user_offline"}
</if>
<span class="author vcard"><a class="url fn" href='{parse url="showuser={$post['author']['member_id']}" base="public" template="showuser" seotitle="{$post['author']['members_seo_name']}"}'>{$post['author']['members_display_name']}</a>{parse template="user_popup" group="global" params="$post['author']['member_id'], $post['author']['members_seo_name']"}</span>
<else />
{$post['author']['members_display_name']}
</if>
<if test="postIp:|:$post['post']['_show_ip']">
<span class='ip'>({$this->lang->words['ip']}:
<if test="postAdmin:|:$post['author']['g_access_cp']">
<em>{$this->lang->words['ip_private']}</em>
<else />
<a href="{parse url="app=core&module=usercp&tab=members&area=mod_ipaddress&do=custom&ip={$post['post']['ip_address']}" base="public"}" title='{$this->lang->words['info_about_this_ip']}'>{$post['post']['ip_address']}</a>
</if>
)</span>
</if>
</h3>
<div class='author_info'>
{parse template="userInfoPane" group="global" params="$post['author'], $post['post']['pid'], array()"}
</div>
<div class='post_body'>
<p class='posted_info'>
<if test="postModCheckbox:|:$this->memberData['is_mod']">
<if test="postModSelected:|:isset( $post['post']['_pid_selected'] ) && $post['post']['_pid_selected']">
<label for='checkbox_{$post['post']['pid']}' class='post_mod hide'>{$this->lang->words['mod_select_post']}</label><input type='checkbox' id='checkbox_{$post['post']['pid']}' name='selectedpids[]' value='{$post['post']['pid']}' class='post_mod' checked='checked' />
<else />
<label for='checkbox_{$post['post']['pid']}' class='post_mod hide'>{$this->lang->words['mod_select_post']}</label><input type='checkbox' id='checkbox_{$post['post']['pid']}' name='selectedpids[]' value='{$post['post']['pid']}' class='post_mod' />
</if>
</if>
<if test="postIcon:|:$post['post']['icon_id']">
<img src="{$this->settings['public_dir']}style_extra/post_icons/icon{$post['post']['icon_id']}.gif" alt="{$this->lang->words['post_icon']}" />
</if>
{$this->lang->words['posted']} <abbr class="published" title="{parse expression="date( 'c', $post['post']['post_date'] )"}">{parse date="$post['post']['post_date']" format="long"}</abbr>
</p>
<if test="repHighlight:|:$this->settings['reputation_highlight'] AND $post['post']['rep_points'] >= $this->settings['reputation_highlight']">
<p class='rep_highlight'>{parse replacement="popular_post"}<br />{$this->lang->words['popular_post']}</p>
<!-- <if test="repHighlight:|:$this->settings['reputation_highlight'] AND $post['post']['rep_points'] >= $this->settings['reputation_highlight']">rep_highlight</if> -->
</if>
<div class='post entry-content'>
{$post['post']['post']}
{$post['post']['attachmentHtml']}
<br />
<if test="postEditBy:|:$post['post']['edit_by']">
<p class='edit'>
{$post['post']['edit_by']}
<if test="postEditByReason:|:$post['post']['post_edit_reason'] != ''">
<br />
<span class='reason'>{$this->lang->words['reason_for_edit']}: {$post['post']['post_edit_reason']}</span>
</if>
</p>
</if>
</div>
<if test="postSignature:|:$post['post']['signature']">
{$post['post']['signature']}
</if>
</div>
<if test="reputationBox:|:$this->settings['reputation_enabled']">
<if test="canRep:|:!( $this->settings['reputation_protected_groups'] && in_array( $post['author']['member_group_id'], explode( ',', $this->settings['reputation_protected_groups'] ) ) )">
<div class='rep_bar clear right' id='rep_post_{$post['post']['pid']}'>
<if test="hasNoRep:|:$post['post']['rep_points'] == 0">
<span class='reputation zero rep_show' title='{$this->lang->words['reputation']}'>
</if>
<if test="hasPosRep:|:$post['post']['rep_points'] > 0">
<span class='reputation positive rep_show' title='{$this->lang->words['reputation']}'>
</if>
<if test="hasNegRep:|:$post['post']['rep_points'] < 0">
<span class='reputation negative rep_show' title='{$this->lang->words['reputation']}' >
</if>
{$post['post']['rep_points']}
</span>
<if test="hasNotGivenRep:|:$post['post']['has_given_rep'] != 1 AND $post['post']['has_given_rep'] != -1 AND $this->memberData['member_id'] != 0 && ( $this->settings['reputation_can_self_vote'] OR $post['author']['member_id'] != $this->memberData['member_id'] )">
<ul>
<if test="giveRepUp:|:$this->settings['reputation_point_types'] == 'positive' || $this->settings['reputation_point_types'] == 'both'">
<li><a href='{$this->settings['base_url']}app=core&module=global&section=reputation&do=add_rating&app_rate=forums&type=pid&type_id={$post['post']['pid']}&rating=1&secure_key={$this->member->form_hash}&post_return={$post['post']['pid']}' class='rep_up' title='{$this->lang->words['reputation_up']}'>{parse replacement="rep_up"}</a></li>
</if>
<if test="giveRepDown:|:$this->settings['reputation_point_types'] == 'negative' || $this->settings['reputation_point_types'] == 'both'">
<li><a href='{$this->settings['base_url']}app=core&module=global&section=reputation&do=add_rating&app_rate=forums&type=pid&type_id={$post['post']['pid']}&rating=-1&secure_key={$this->member->form_hash}&post_return={$post['post']['pid']}' class='rep_down' title='{$this->lang->words['reputation_down']}'>{parse replacement="rep_down"}</a></li>
</if>
</ul>
</if>
</div>
</if>
<script type='text/javascript'>
ipb.global.registerReputation( 'rep_post_{$post['post']['pid']}', { app: 'forums', type: 'pid', typeid: '{$post['post']['pid']}' }, parseInt('{$post['post']['rep_points']}') );
</script>
</if>
<ul class='post_controls'>
<if test="canReportPost:|:($this->settings['disable_reportpost'] != 1) and ( $this->memberData['member_id'] )">
<li class='report'>
<a href='{parse url="app=core&module=reports&rcom=post&tid={$this->request['t']}&pid={$post['post']['pid']}&st={$this->request['st']}" base="public"}'>{parse replacement="report_post_icon"} {$this->lang->words['report']}</a>
</li>
<if test="postIsReported:|:$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['gfx'] > 0">
<li class='report'>
<a href="{$this->settings['base_url']}app=core&module=reports&section=reports&do=show_report&rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']}" id='post-report-{$post['post']['pid']}' class='ipbmenu'> <span id="rstat-{$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['info']['id']}"><img src="{$this->settings['img_url']}/reports/post_alert_{$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['gfx']}.png" alt="{$this->lang->words['icon']}" /></span> </a>
</li>
</if>
</if>
<li class='top hide'><a href='#top' class='top' title='{$this->lang->words['back_top']}'>{$this->lang->words['back_top']}</a></li>
<if test="multiquote:|:isset( $post['post']['_mq_selected'] ) && $post['post']['_mq_selected']">
<li class='selected multiquote' id='multiq_{$post['post']['pid']}' style='display: none'>
<else />
<li class='multiquote' id='multiq_{$post['post']['pid']}' style='display: none'>
</if>
<a href="{parse url="module=post&section=post&do=reply_post&f={$this->request['f']}&t={$this->request['t']}&qpid={$post['post']['pid']}" base="publicWithApp"}" title="{$this->lang->words['quote_with_mq']}">{parse replacement="mq_post_icon"} {$this->lang->words['mq']}</a>
</li>
<li><a href="{parse url="module=post&section=post&do=reply_post&f={$this->request['f']}&t={$this->request['t']}&qpid={$post['post']['pid']}" base="publicWithApp"}" title="{$this->lang->words['tt_reply_to_post']}">{parse replacement="reply_post_icon"} {$this->lang->words['post_reply']}</a></li>
<if test="canEdit:|:$post['post']['_can_edit'] === TRUE">
<li class='post_edit'><a href='{parse url="module=post&section=post&do=edit_post&f={$forum['id']}&t={$topic['tid']}&p={$post['post']['pid']}&st={$this->request['st']}" base="publicWithApp"}' title='{$this->lang->words['post_edit_title']}' class='edit_post' id='edit_post_{$post['post']['pid']}'>{parse replacement="edit_post_icon"} {$this->lang->words['post_edit']}</a></li>
</if>
<if test="canDelete:|:$post['post']['_can_delete'] === TRUE">
<li class='post_del' id='del_post_{$post['post']['pid']}'>
<a href='{parse url="module=moderate&section=moderate&do=04&f={$forum['id']}&t={$topic['tid']}&p={$post['post']['pid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}" base="publicWithApp"}' title='{$this->lang->words['post_delete_title']}' class='delete_post'>{parse replacement="delete_post_icon"} {$this->lang->words['post_delete']}</a>
</li>
</if>
<!-- Matt: Approve / unapprove post button -->
<if test="approvePost:|:$this->memberData['is_mod']">
<li class='post_toggle toggle_post' id='toggle_post_{$post['post']['pid']}' style='display: none'>
<a href='{parse url="app=forums&module=forums&section=moderate&do=postchoice&tact=unapprove&selectedpids[{$post['post']['pid']}]=1" base="public"}' title='{$this->lang->words['post_toggle_visible']}'>{parse replacement="edit_post_icon"} <span id='toggletext_post_{$post['post']['pid']}'><if test="approveUnapprove:|:$post['post']['queued']==1">{$this->lang->words['post_approve']}<else />{$this->lang->words['post_unapprove']}</if></span></a>
</li>
</if>
</ul>
<script type='text/javascript'>
// Show multiquote for JS browsers
$('multiq_{$post['post']['pid']}').show();
if( $('toggle_post_{$post['post']['pid']}') )
{
$('toggle_post_{$post['post']['pid']}').show();
}
</script>
<if test="reportedPostData:|:$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['gfx'] > 0">
<ul id='post-report-{$post['post']['pid']}_menucontent' class='ipbmenu_content report_menu'>
<li><a href="{parse url="app=core&module=reports&do=show_report&rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['info']['id']}" base="public"}" id='report_mark_{$post['post']['pid']}'><img src='{$this->settings['img_url']}/reports/mark_complete.png' alt='' /> {$this->lang->words['report_menu_mark_complete']}</a></li>
<li><a href="{$this->settings['base_url']}app=core&module=reports&section=reports&do=show_report&rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']}"><img src='{$this->settings['img_url']}/reports/view_report.png' alt='' /> {$this->lang->words['report_menu_view_report']}</a></li>
</ul>
<script type="text/javascript">
$('report_mark_{$post['post']['pid']}').observe('click',
ipb.global.updateReportStatus.bindAsEventListener(
this, {$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']},2,2
)
);
</script>
</if>
</div>
<!-- </if> -->
</div>
<if test="initIgnoredPost:|:$post['post']['_repignored'] == 1 || $post['post']['_ignored']">
<script type='text/javascript'>
ipb.topic.setPostHidden( {$post['post']['pid']} );
$('unhide_post_{$post['post']['pid']}').show();
</script>
</if>
<hr />
<if test="endFirstPost:|:$post['post']['_end_first_post']">
<!-- END OF FIRST POST IN LINEAR+, SHOW BUTTONS AND NEW TITLE -->
<br />
<div class='topic_controls'>
{$topic['SHOW_PAGES']}
<ul class='topic_buttons'>
<if test="bottomNewTopic:|:$forum['_user_can_post']">
<li><a href='{parse url="module=post&section=post&do=new_post&f={$forum['id']}" base="publicWithApp"}' title='{$this->lang->words['start_new_topic']}' accesskey='n'>{parse replacement="topic_icon"} {$this->lang->words['start_new_topic']}</a></li>
<else />
<li class='disabled'><span>{$this->lang->words['top_cannot_start']}</span></li>
</if>
<if test="bottomIsClosed:|:$displayData['reply_button']['image'] == 'locked'">
<li class='closed'>
<if test="bottomClosedButtonLink:|:$displayData['reply_button']['url']">
<a href='{$displayData['reply_button']['url']}' accesskey='r'>{parse replacement="lock_icon"} {$this->lang->words['top_locked_reply']}</a>
<else />
<span>{parse replacement="lock_icon"} {$this->lang->words['top_locked']}</span>
</if>
</li>
<else />
<if test="bottomReplyButton:|:$displayData['reply_button']['image']">
<if test="bottomReplyButtonLink:|:$displayData['reply_button']['url']">
<li><a href='{$displayData['reply_button']['url']}' title='{$this->lang->words['topic_add_reply']}' accesskey='r'>{parse replacement="reply_icon"} {$this->lang->words['topic_add_reply']}</a></li>
<else />
<li class='disabled'><span>{$this->lang->words['top_cannot_reply']}</span></li>
</if>
</if>
</if>
</ul>
</div>
<h2 class='maintitle'>{$this->lang->words['topic_other_replies']}</h2>
<div class='generic_bar'></div>
</if>
</foreach>
</if>
<!-- MOD LINKS -->
<if test="modOptions:|:$displayData['mod_links']">
<if test="showModOptions:|:$this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id']">
<div id='topic_mod' class='moderation_bar rounded with_action clear'>
<if test="showModOptionsinner:|:$this->memberData['is_mod']">
<label for='tact' class='hide'>{$this->lang->words['post_moderation']}</label>
<select name="tact" id='tact' class='input_select'>
<option value="">{$this->lang->words['post_moderation']}</option>
<option value="merge">{$this->lang->words['cpt_merge']}</option>
<option value="move">{$this->lang->words['cpt_move']}</option>
<option value="delete">{$this->lang->words['cpt_delete']}</option>
<option value="split">{$this->lang->words['cpt_split']}</option>
<option value="approve">{$this->lang->words['cpt_approve']}</option>
<option value="unapprove">{$this->lang->words['cpt_unapprove']}</option>
</select>
<input type="submit" id='mod_submit' name="gobutton" value="{$this->lang->words['f_go']}<if test="modButtonCount:|:$this->request['selectedpidcount']"> ({$this->request['selectedpidcount']})</if>" class="input_submit alt" />
</if>
</div>
</form>
<script type='text/javascript'>
$('modform').observe('submit', ipb.topic.submitPostModeration );
</script>
<div id='topic_mod_2' class='moderation_bar rounded'>
<if test="mmModOptions:|:is_array( $displayData['multi_mod'] ) AND count( $displayData['multi_mod'] )">
<form action="{parse url="app=forums&module=moderate&section=multimod&t={$topic['tid']}" base="public"}" method="post" id='multimod' class='left'>
<fieldset>
<input type="hidden" name="check" value="1" />
<select name="mm_id" class="input_select">
<option value="-1">{$this->lang->words['mm_title']}</option>
<foreach loop="mm:$displayData['multi_mod'] as $mm_data">
<option value="{$mm_data[0]}">{$mm_data[1]}</option>
</foreach>
</select>
<input type="submit" value="{$this->lang->words['mm_submit']}" class="input_submit alt" />
</fieldset>
</form>
</if>
<form method="post" id="modform2" action="{parse url="" base="public"}">
<fieldset>
<input type="hidden" name="t" value="{$topic['tid']}" />
<input type="hidden" name="f" value="{$topic['forum_id']}" />
<input type="hidden" name="st" value="{$this->request['st']}" />
<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
<input type="hidden" name="app" value="forums" />
<input type="hidden" name="module" value="moderate" />
<input type="hidden" name="section" value="moderate" />
<label for='topic_moderation' class='hide'>{$this->lang->words['topic_moderation']}</label>
<select name="do" class="input_select" id='topic_moderation'>
<option value="-1">{$this->lang->words['topic_moderation']}</option>
<foreach loop="mod_links:$displayData['mod_links'] as $_mod_link">
<option value="{$_mod_link['option']}">-{$_mod_link['value']}</option>
</foreach>
</select>
<input type="submit" value="{$this->lang->words['jmp_go']}" class="input_submit alt" />
</fieldset>
</form>
<script type='text/javascript'>
$('modform2').observe('submit', ipb.topic.submitTopicModeration );
</script>
</div>
</if>
</if>
<!-- REPUTATION FILTERS -->
<if test="reputationFilter:|:$this->settings['reputation_enabled'] && $this->settings['reputation_show_content'] && $this->memberData['member_id'] != 0 && is_array($this->caches['reputation_levels'])">
<div id='reputation_filter' class='filter_bar rounded'>
<span id='show_filters' class='clickable' style='display: none'>{$this->lang->words['rep_f_currently']} <if test="repFilterDefault:|:$this->memberData['_members_cache']['rep_filter'] && $this->memberData['_members_cache']['rep_filter'] === '*'">{$this->lang->words['rep_f_viewing_all']} <else />{$this->lang->words['rep_f_hiding']} {$this->memberData['_members_cache']['rep_filter']} {$this->lang->words['rep_f_points']}.</if> {$this->lang->words['rep_f_threshold']}</span>
<form id='filter_form' method="post" action="{parse url="" base="public"}">
<fieldset>
<input type="hidden" name="app" value="forums" />
<input type="hidden" name="module" value="forums" />
<input type="hidden" name="section" value="topics" />
<input type="hidden" name="rep_filter" value="update" />
<input type="hidden" name="f" value="{$topic['forum_id']}" />
<input type="hidden" name="t" value="{$topic['tid']}" />
<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
<input type="hidden" name="st" value="{$this->request['st']}" />
<label for='rep_filter_select'>{$this->lang->words['rep_f_hide']}</label>
<select name='rep_filter_set' id='rep_filter_select'>
<option value='*' <if test="optSelectStar:|:isset( $this->memberData['_members_cache']['rep_filter'] ) AND $this->memberData['_members_cache']['rep_filter'] == '*'"> selected='selected'</if>>{$this->lang->words['rep_f_all_posts']}</option>
<if test="repFilterOptions:|:is_array($this->caches['reputation_levels'])">
<foreach loop="reputation_levels:$this->caches['reputation_levels'] as $k => $v">
<option value='{$v['level_points']}'<if test="optRepFilterSelected:|:isset( $this->memberData['_members_cache']['rep_filter'] ) AND $v['level_points'] == $this->memberData['_members_cache']['rep_filter']"> selected='selected'</if>>{$v['level_points']} {$this->lang->words['rep_f_points']}</option>
</foreach>
</if>
</select>
<input type="submit" name="gobutton" value="{$this->lang->words['rep_f_update']}" class="input_submit alt" />
</fieldset>
</form>
</div>
<script type='text/javascript'>
$('show_filters').show();
</script>
</if>
<div class='moderation_bar rounded' id='topic_search_jump'>
<form method='post' action='{$this->settings['base_url']}app=core&module=search&do=quick_search&search_filter_app[forums]=1' id='context_search' class='left'>
<fieldset>
<input type='hidden' name='type_2' value='topic' />
<input type='hidden' name='type_id_2' value='{$topic['tid']}' />
<label for='topic_search'>{$this->lang->words['search_topic']}</label>
<input type='text' id='topic_search' name='search_term' class='input_text' size='20' tabindex='8' />
<input type='submit' class='input_submit alt' value='{$this->lang->words['search_topic_go']}' />
</fieldset>
</form>
<if test="forumJump:|:$forum['FORUM_JUMP']">
{$forum['FORUM_JUMP']}
</if>
</div>
<!-- THREADED MODE -->
<if test="threadedEnabled:|:$displayData['threaded_mode_enabled'] == 1">
<br />
<div class='topic_controls'>
{$topic['threaded_pages']}
<ul class='topic_buttons'>
<if test="threadedNewTopic:|:$forum['_user_can_post']">
<li><a href='{parse url="module=post&section=post&do=new_post&f={$forum['id']}" base="publicWithApp"}' title='{$this->lang->words['start_new_topic']}'>{parse replacement="topic_icon"} {$this->lang->words['start_new_topic']}</a></li>
<else />
<li class='disabled'><span>{$this->lang->words['top_cannot_start']}</span></li>
</if>
<if test="threadedClosed:|:$displayData['reply_button']['image'] == 'locked'">
<li class='closed'>
<if test="threadedClosedLink:|:$displayData['reply_button']['url']">
<a href='{$displayData['reply_button']['url']}'>{parse replacement="lock_icon"} {$this->lang->words['top_locked_reply']}</a>
<else />
<span>{parse replacement="lock_icon"} {$this->lang->words['top_locked']}</span>
</if>
</li>
<else />
<if test="threadedReply:|:$displayData['reply_button']['image']">
<if test="threadedReplyLink:|:$displayData['reply_button']['url']">
<li><a href='{$displayData['reply_button']['url']}' title='{$this->lang->words['add_a_reply']}'>{parse replacement="reply_icon"} {$this->lang->words['topic_add_reply']}</a></li>
<else />
<li class='disabled'><span>{$this->lang->words['top_cannot_reply']}</span></li>
</if>
</if>
</if>
</ul>
</div>
<h2 class='maintitle'>{$this->lang->words['threads']}</h2>
<div class='generic_bar'></div>
<div class='threaded_view general_box'>
{$topic['_threaded_posts']}
</div>
{$topic['threaded_pages']}
</if>
<ul class='topic_jump right clear'>
<li class='previous'><a href='{parse url="showtopic={$topic['tid']}&view=old" seotitle="{$topic['title_seo']}" template="showtopic" base="public"}'>← {$this->lang->words['previous_topic']}</a></li>
<li><strong><a href='{parse url="showforum={$forum['id']}" base="public" seotitle="{$forum['name_seo']}" template="showforum"}' title='Return to {$forum['name']}'>{$forum['name']}</a></strong></li>
<li class='next'><a href='{parse url="showtopic={$topic['tid']}&view=new" seotitle="{$topic['title_seo']}" template="showtopic" base="public"}'>{$this->lang->words['next_topic']} →</a></li>
</ul>
<if test="topicSharing:|:$this->memberData['member_id']">
<h3 class='topic_share left'>{$this->lang->words['topic_share']}</h3>
<ul class='topic_share left'>
<li><a href='{parse url="app=forums&module=extras&section=forward&f={$forum['id']}&t={$topic['tid']}" base="public"}' title='{$this->lang->words['topic_email_title']}'>{$this->lang->words['topic_email']}</a></li>
<li><a href='{parse url="app=forums&module=forums&section=printtopic&client=printer&f={$forum['id']}&t={$topic['tid']}" base="public"}' title='{$this->lang->words['topic_print_title']}'>{$this->lang->words['topic_print']}</a></li>
<li><a href='{parse url="app=forums&module=forums&section=printtopic&client=choose&f={$forum['id']}&t={$topic['tid']}" base="public"}' title='{$this->lang->words['topic_download_title']}'>{$this->lang->words['topic_download']}</a></li>
</ul>
</if>
<!-- BOTTOM BUTTONS -->
<div class='topic_controls clear'>
{$topic['SHOW_PAGES']}
<ul class='topic_buttons'>
<if test="finalNewTopic:|:$forum['_user_can_post']">
<li><a href='{parse url="module=post&section=post&do=new_post&f={$forum['id']}" base="publicWithApp"}' title='{$this->lang->words['start_new_topic']}'>{parse replacement="topic_icon"} {$this->lang->words['start_new_topic']}</a></li>
<else />
<li class='disabled'><span>{$this->lang->words['top_cannot_start']}</span></li>
</if>
<if test="finalClosed:|:$displayData['reply_button']['image'] == 'locked'">
<li class='closed'>
<if test="finalClosedLink:|:$displayData['reply_button']['url']">
<a href='{$displayData['reply_button']['url']}' accesskey='r'>{parse replacement="lock_icon"} {$this->lang->words['top_locked_reply']}</a>
<else />
<span>{parse replacement="lock_icon"} {$this->lang->words['top_locked']}</span>
</if>
</li>
<else />
<if test="finalReply:|:$displayData['reply_button']['image']">
<if test="finalReplyLink:|:$displayData['reply_button']['url']">
<li><a href='{$displayData['reply_button']['url']}' title='{$this->lang->words['add_a_reply']}' accesskey='r'>{parse replacement="reply_icon"} {$this->lang->words['topic_add_reply']}</a></li>
<else />
<li class='disabled'><span>{$this->lang->words['top_cannot_reply']}</span></li>
</if>
</if>
</if>
</ul>
</div>
<hr />
<if test="fastReply:|:$displayData['fast_reply'] != 'unavailable' && $displayData['reply_button']['url']">
<br />
<div id='fast_reply' style='display: {$displayData['fast_reply']}'>
<h3 class='maintitle'>{$this->lang->words['qr_title']}</h3>
<div class='generic_bar'></div>
<div class='general_box alt'>
<form action="{parse url="" base="public"}" method="post">
<fieldset>
<input type="hidden" name="app" value="forums" />
<input type="hidden" name="module" value="post" />
<input type="hidden" name="section" value="post" />
<input type="hidden" name="do" value="reply_post_do" />
<input type="hidden" name="f" value="{$forum['id']}" />
<input type="hidden" name="t" value="{$topic['tid']}" />
<input type="hidden" name="st" value="{$this->request['st']}" />
<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
<input type="hidden" name="fast_reply_used" value="1" />
<input type="hidden" name="enableemo" value="yes" />
<input type="hidden" name="enablesig" value="yes" />
<if test="$this->memberData['auto_track']">
<input type="hidden" name="enabletrack" value="1" />
</if>
<if test="is_array($topic['_fastReplyStatusMessage']) AND count($topic['_fastReplyStatusMessage']) AND strlen($topic['_fastReplyStatusMessage'][0])">
<div class='message'>{parse expression="implode( '<br />', $topic['_fastReplyStatusMessage'])"}</div>
</if>
{parse template="editorShell" group="editors" params="'fast-reply', 'Post', '', 1"}
</fieldset>
<fieldset class='submit'>
<input type='submit' name="submit" class='input_submit' value='{$this->lang->words['qr_post']}' tabindex='0' accesskey='s' id='submit_post' /> <input type='submit' name="preview" class='input_submit alt' value='{$this->lang->words['qr_more_opts']}' tabindex='0' id='full_compose' />
</fieldset>
</form>
</div>
</div>
<script type="text/javascript">
//<!#^#|CDATA|
if( $('fast-reply_textarea') ){
$('fast-reply_textarea').addClassName('unloaded_editor').setStyle('height: 70px');
$('fast-reply_textarea').value = "{$this->lang->words['editor_unloaded_atm']}";
}
if( $('fast-reply_toolbar_1') ){
$('fast-reply_toolbar_1').hide();
}
if( $('fast-reply_toolbar_2') ){
$('fast-reply_toolbar_2').hide();
}
if( $('fast-reply_resizer') ){
$('fast-reply_resizer').hide();
}
var removeTip = function(e){
if( $('fast-reply_textarea').hasClassName('unloaded_editor') ){
$('fast-reply_textarea').value='';
}
};
$('full_compose').observe( 'click', removeTip );
$('submit_post').observe( 'click', removeTip );
in_use = 0;
ipb.editor_values.set( 'emoticons', \$H({ {parse expression="IPSLib::fetchEmoticonsAsJson()"} }) );
ipb.vars['emoticon_url'] = "{$this->settings['emoticons_url']}";
$('fast-reply_textarea').observe( 'focus', function(e){
if( !in_use )
{
if( $('fast-reply_toolbar_1') ){
$('fast-reply_toolbar_1').show();
}
if( $('fast-reply_toolbar_2') ){
$('fast-reply_toolbar_2').show();
}
if( $('fast-reply_resizer') ){
$('fast-reply_resizer').show();
}
$('fast-reply_textarea').removeClassName('unloaded_editor').value = '';
ipb.editors[ 'fast-reply' ] = new ipb.editor( 'fast-reply', USE_RTE );
$( ipb.editors['fast-reply'] ).resize_to( 250 );
try {
ipb.editors[ 'fast-reply' ].editor_window.focus();
} catch(err) { }
in_use = 1;
}
});
//|#^#]>
</script>
</if>
<!-- ACTIVE USERS -->
<if test="topicActiveUsers:|:is_array( $displayData['active_users'] ) AND count( $displayData['active_users'] )">
<div id='topic_stats' class='statistics general_box clear clearfix'>
<div id='topic_active_users' class='active_users'>
<h2>
{parse expression="sprintf( $this->lang->words['active_users_title'], ($displayData['active_users']['members'] + $displayData['active_users']['guests'] + $displayData['active_users']['anon'] ) )"}<br />
<span class='desc'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $displayData['active_users']['members'], $displayData['active_users']['guests'], $displayData['active_users']['anon'] )"}</span>
</h2>
<ol>
<if test="auNames:|:is_array( $displayData['active_users']['names'] ) AND count( $displayData['active_users']['names'] )">
<foreach loop="active_users:$displayData['active_users']['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( $displayData['active_users']['names'] )">,</if></li>
</foreach>
</if>
</ol>
</div>
</div>
</if>
<!-- Close topic -->
</div>
<if test="scrollToPost:|:$this->request['gopid']">
<script type='text/javascript'>
var gopid = "{$this->request['gopid']}".replace(/&/g, '');
ipb.topic.scrollToPost( parseInt( gopid ) );
</script>
</if>
{parse template="include_highlighter" group="global" params="1"}]]></template_content>
<template_name>topicViewTemplate</template_name>
<template_data>$forum, $topic, $post_data, $displayData</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>