					<img src="<?php Theme::Path(); ?>itemTop.png" width="530" height="10" alt="---" align="absbottom" />
					<form id="feditor" name="edit" 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/event.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Invite Community'); ?></h2></div>
<?php if ($this->_vars['action']['complete']): ?>
						<div class="listplain">
							<?php _e('Sent Message'); ?><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('Friends'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['friends'])): ?><span class="alert"><?php _e('Please select.'); ?></span><br /><?php endif; ?> 
								<?php HTML::checkedList($this->_vars['friends'], $this->_vars['request']['friends'], 2); ?>
								<?php HTML::hidden('friends', $this->_vars['request']['friends']); ?>
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Subject'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['fri_message']['subject']); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Body'); ?>:</label>
							<div class="fdata"><?php HTML::htmlBody($this->_vars['fri_message']['body']); ?></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">
							<label class="column"><?php _e('Friends'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['friends'])): ?><span class="alert"><?php _e('Please select.'); ?></span><br /><?php endif; ?> 
								<?php HTML::checkbox('friends', $this->_vars['friends'], $this->_vars['request']['friends'], 2); ?>
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Subject'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['subject'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?> 
								<input type="text" name="subject" value="<?php e($this->_vars['fri_message']['subject']); ?>" size="42" />
							</div>
						</div>
						<div class="listrow">
							<div class="mdata">
								<?php if (!empty($this->_vars['alert']['body'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
								<?php HTML::richEditor('body', ifNull($this->_vars['fri_message']['body'], $this->_vars['community_link']), _('Body'), 'small'); ?>
							</div>
						</div>
						<div class="listplain"><input type="submit" name="confirm" value="<?php _e('Confirm'); ?>" style="width:120px;" /></div>
<?php endif; ?>
					</form>
					<img src="<?php Theme::Path(); ?>itemBottom.png" width="530" height="10" alt="___" align="top" />
