<?php if ($this->_vars['base']['member']['id'] == $this->_vars['base']['account']['id']): ?>
					<img src="<?php Theme::Path(); ?>itemTop.png" width="530" height="10" alt="__" align="absbottom" />
						<div class="listplain">
							<img src="<?php e(BASE_URL); ?>resource/img/icons/user.gif" width="16" height="16" align="absmiddle" />&nbsp;<a href="<?php e(HTTP_ACTION);?>member/personal/friends/<?php e($this->_vars['base']['account']['id']); ?>/<?php e(US); ?>status=<?php e(STATUS_FRIEND_CONNECT); ?>"><?php _e('My Friends'); ?></a>
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							<img src="<?php e(BASE_URL); ?>resource/img/icons/user_add.gif" width="16" height="16" align="absmiddle" />&nbsp;<a href="<?php e(HTTP_ACTION);?>member/personal/friends/<?php e($this->_vars['base']['account']['id']); ?>/<?php e(US); ?>status=<?php e(STATUS_FRIEND_CHATCH); ?>"><?php _e('Want to be a Friends'); ?></a>
						</div>
					<img src="<?php Theme::Path(); ?>itemBottom.png" width="530" height="10" alt="__" align="top" />
<?php endif; ?>

					<img src="<?php Theme::Path(); ?>itemTop.png" width="530" height="10" alt="__" align="absbottom" />
<?php if (empty($this->_vars['v_fri_friends'])):?>
						<div class="listplain">
							<?php _e('Sorry, no results found.'); ?><br /><br /><?php loadPlugin::callFunc('hitsuji_banner', POSITION_MIDDLE); ?><br />
						</div>
<?php else: ?>
						<div class="listrow"><?php HTML::pager($this->_vars['p_fri_friends']); ?></div>
						<div class="listrow">
							<ul class="horizontal">
<?php foreach ($this->_vars['v_fri_friends'] as $_row): ?>
								<li class="tile">
									<?php loadPlugin::callFunc('hitsuji_profile', $_row['ref_friend'], 'nickname,thumbnail'); ?>
									<?php loadPlugin::callFunc('hitsuji_lastLogin', $_row['ref_friend']); ?><br />
									<?php printf($this->_vars['command'], $_row['ref_friend'], $_row['id'], $_row['id']); ?><br /><br />
								</li>
<?php endforeach; ?>
							</ul>
						</div>
						<div class="listplain"><?php HTML::pager($this->_vars['p_fri_friends']); ?></div>
<?php endif; ?>
					<img src="<?php Theme::Path(); ?>itemBottom.png" width="530" height="10" alt="__" align="top" />
