<div id='pp-iframe-wrap' class='pp-contentbox-back' style='overflow:auto'>
	<if="is_array($friends) and count($friends)">
		<foreach="$friends as $friend">
			<div class='pp-contentbox-entry-noheight' id='pp-comment-entry-main-{$friend['comment_id']}'>
				<div class='pp-tiny-text'>
				<div class='pp-image-thumb-wrap-floatright'><img src='{$friend['pp_thumb_photo']}' width='{$friend['pp_thumb_width']}' height='{$friend['pp_thumb_height']}' alt='' /></div>
					{$friend['_pp_gender_image']} <strong><a href='{$this->ipsclass->base_url}showuser={$friend['id']}' target='_parent'>{$friend['members_display_name']}</a></strong>
					<div class='pp-tiny-text'>
						{$friend['g_title']}
						<br />{$friend['posts']} {$this->ipsclass->lang['fav_posts']}
						<br />{$this->ipsclass->lang['m_active']}: {$friend['_last_active']}
					</div>
				</div>
			</div>
		</foreach>
		<if="$pages OR ( $member['id'] == $this->ipsclass->member['id'] )">
			<div class='pp-contentbox-entry-noheight'>
				<div style='float:right'>
					<if="$member['id'] == $this->ipsclass->member['id']">
						<a href='#' onclick='parent.friends_pop()'>{$this->ipsclass->lang['m_manage_friends']}</a>
					</if>
				</div>
				<div>{$pages}&nbsp;</div>
			</div>
		</if>
	<else />
		<div class='post1' style='padding:6px'>
			<em>{$this->ipsclass->lang['m_nofriends']}</em>
		</div>
	</if>
</div>
<br /><br /><br /> <!-- Gotta give room for page jump... -->