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