<!--Begin Comment Number {$comment['comment_id']}-->
<table class='ipbtable' cellspacing="0">
	<tr>
		<td valign="middle" class="post_head" width="1%">
			<a name="comment{$comment['comment_id']}"></a>
			<if="$author['id']">
				<div id="comment-member-{$comment['comment_id']}" class='popmenubutton-new-out'>
					<span class="{$comment['name_css']}">{$author['_pp_online_image']}<a href="{$this->ipsclass->base_url}showuser={$author['id']}">{$author['members_display_name']}</a></span>
				</div>
				<!-- member menu -->
				<div class='popupmenu-new' id='comment-member-{$comment['comment_id']}_menu' style='display:none;width:210px'>
					<div class='popupmenu-item-last'>
						<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']}">View Public 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'>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'>Add as 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']}">Send Message</a>
							</div>
						</if>
						<div class='popupmenu-item-last'>
							<img src='{$this->ipsclass->vars['img_url']}/folder_profile_portal/find_posts.png' alt='' border='0' /> <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=getalluser&amp;mid={$author['id']}'>Find Member's Posts</a>
						</div>
					</div>
				</div>
				<!-- member menu -->
				<script type="text/javascript">
					ipsmenu.register( "comment-member-{$comment['comment_id']}", '', 'popmenubutton-new', 'popmenubutton-new-out' );
				</script>
			<else />
				<span class="{$comment['name_css']}">{$author['_members_display_name']}</span>
			</if>
			
		</td>
		<td class="post_head" valign="middle" width="99%">
			<!-- POSTED DATE DIV -->
			<div style="float: left;">
				<span class="postdetails"><img src='{$this->ipsclass->vars['img_url']}/to_post_off.gif' alt='post' border='0' style='padding-bottom:2px' /> {$comment['comment_date']}</span>
			</div>
			<!-- REPORT / DELETE / EDIT / QUOTE DIV -->
			<div align="right">
				<span class="postdetails">{$comment['ip_address']} {$this->ipsclass->lang['comment_link']}
					<a title="{$this->ipsclass->lang['tt_link']}" href="#" onclick="link_to_comment({$comment['comment_id']}); return false;">#{$comment['comment_count']}</a></span>
			</div>
		</td>
	</tr>
	<tr>
		<td valign="top" class="{$comment['post_css']} post_left">
        	<span class="postdetails">
        		{$author['avatar']}<br /><br />
        		{$author['title']}<br />
        		{$author['member_rank_img']}<br /><br />
        		{$author['member_group']}<br />
        		{$author['member_posts']}<br />
        		{$author['member_joined']}<br />
        		{$author['member_location']}
        		{$author['member_number']}<br />
				<if="$author['custom_fields'] != """>
					{$author['custom_fields']}
				</if>
				<br />
        		{$author['warn_text']} {$author['warn_minus']}{$author['warn_img']}{$author['warn_add']}
        	</span><br />
        	<img src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width="160" height="1" /><br />
       </td>
       <td width="100%" valign="top" class="{$comment['post_css']}" id='comment-main-{$comment['comment_id']}'>
			<!-- THE COMMENT {$comment['comment_id']} -->
			<div class="postcolor" id='comment-{$comment['comment_id']}'>{$comment['comment_text']}</div>
				{$comment['signature']}
			<!-- THE COMMENT -->
		</td>
	</tr>
	<tr>
		<td class="formbuttonrow" nowrap="nowrap">
			<div style='text-align:left'><a href="javascript:scroll(0,0);"><{P_UP}></a>{$comment['report_link']}</div>
		</td>
		<td class="formbuttonrow" nowrap="nowrap">
         	<div align="right">
         		{$comment['approve_button']}{$comment['delete_button']}{$comment['edit_button']}{$comment['mquote_button']}{$comment['reply_button']}
         	</div>
         </td>
	</tr><tr>
	<td class="catend" colspan="2"><!-- no content --></td>
</tr>
</table>
<script type='text/javascript'>
//<![CDATA[
if ( ajax_loaded && use_enhanced_js )
{
menu_build_menu( 'edit-but-{$comment['comment_id']}',
	new Array(  img_item + " <a title='{$this->ipsclass->lang['edit_full_desc']}' href='{$this->ipsclass->vars['blog_url']}req=editcomment&amp;eid={$comment['entry_id']}&amp;cid={$comment['comment_id']}&amp;st={$this->ipsclass->input['st']}'>{$this->ipsclass->lang['edit_full_title']}</a>",
				img_item + " <a href='#' title='{$this->ipsclass->lang['edit_quick_desc']}' onclick='return ajax_prep_for_edit({$comment['entry_id']},{$comment['comment_id']}, event);'>{$this->ipsclass->lang['edit_quick_title']}</a>" ) );
}
//]]>
</script>