					<img src="<?php Theme::Path(); ?>itemTop.png" width="530" height="10" alt="---" align="absbottom" />
<?php if (empty($this->_vars['fri_friends']['status'])): ?>
					<form name="edit" id="feditor" method="post" action="<?php e($this->_vars['action']['url']); ?>">
						<?php HTML::requires(); ?>
						<div class="listrow"><h2><img src="<?php e(BASE_URL); ?>resource/img/icons/user_add.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Friend Add'); ?></h2></div>
<?php if ($this->_vars['action']['complete']): ?>
						<div class="listplain">
							<?php _e('Updated'); ?><br /><br /><?php loadPlugin::callFunc('hitsuji_banner', POSITION_MIDDLE); ?><br />
						</div>
<?php elseif ($this->_vars['action']['confirm']): ?>
						<div class="listrow">
							<label class="column"><?php _e('Comment'); ?>:</label>
							<div class="fdata"><?php HTML::htmlBody($this->_vars['fri_friends']['comment']); ?></div>
						</div>
						<div class="listplain">
							<input type="submit" name="manip" value="<?php _e('Submit'); ?>" style="width:120px;" />&nbsp;&nbsp;&nbsp;&nbsp;
							<input type="submit" name="<?php e($this->_vars['action']['goback']); ?>" value="<?php _e('Go back'); ?>" style="width:100px;" />
						</div>
<?php else: ?>
						<div class="listrow">
							<div class="mdata">
								<?php if (!empty($this->_vars['alert']['comment'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
								<?php HTML::richEditor('comment', $this->_vars['fri_friends']['comment'], _('Comment'), 'small'); ?>
							</div>
						</div>
						<div class="listplain"><input type="submit" name="confirm" value="<?php _e('Confirm'); ?>" style="width:120px;" /></div>
<?php endif; ?>
					</form>
<?php else: ?>
						<div class="listplain">
<?php if ($this->_vars['fri_friends']['status'] == STATUS_FRIEND_THROW): ?>
							<?php _e('You already have a pending friend request for this person.'); ?><br />
<?php elseif ($this->_vars['fri_friends']['status'] == STATUS_FRIEND_CHATCH): ?>
							<a href="<?php e(HTTP_ACTION); ?>private/personal/friends/<?php e($this->_vars['id']); ?>/confirm/<?php e(US); ?>_mpnnc=<?php e($this->_vars['base']['nonce']); ?>" /><img src="<?php e(BASE_URL); ?>resource/img/icons/user_add.gif" width="16" height="16" align="absmiddle" /><?php _e('Add to Friends'); ?></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							<a href="<?php e(HTTP_ACTION); ?>private/personal/friends/<?php e($this->_vars['id']); ?>/delete/<?php e(US); ?>_mpnnc=<?php e($this->_vars['base']['nonce']); ?>" /><img src="<?php e(BASE_URL); ?>resource/img/icons/user_cancel.gif" width="16" height="16" align="absmiddle" /><?php _e('Add to Friends'); ?></a>
							<br /><br />
<?php elseif ($this->_vars['fri_friends']['status'] == STATUS_FRIEND_CONNECT): ?>
							<?php _e('This member is already one of your friends.'); ?><br>
<?php else: ?>
							<?php _e('I do not accept a friend request.'); ?><br />
<?php endif; ?>
							<br /><?php loadPlugin::callFunc('hitsuji_banner', POSITION_MIDDLE); ?><br />
						</div>
<?php endif; ?>
					<img src="<?php Theme::Path(); ?>itemBottom.png" width="530" height="10" alt="___" align="top" />