<table border="0" width="<?php Theme::exec()->mainWidth(); ?>">
<tr><td width="46" bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center"><a name="top"></a>
<?php loadPlugin::callFunc('hitsuji_community', $this->_vars['base']['community']['id'], 'vSmall'); ?>
</td><td bgcolor="<?php Theme::exec()->bgColor(); ?>"><font size="<?php Theme::exec()->fontSize(); ?>">
<img src="<?php e(BASE_URL); ?>resource/img/icons/bulletin.gif" width="16" height="16" alt="&gt;"><a href="<?php e(HTTP_ACTION); ?>community/forum/list/<?php e($this->_vars['base']['community']['id']); ?>/"><?php _e('View Forum'); ?></a><br>
<img src="<?php e(BASE_URL); ?>resource/img/icons/event.gif" width="16" height="16" alt="&gt;"><a href="<?php e(HTTP_ACTION); ?>community/event/list/<?php e($this->_vars['base']['community']['id']); ?>/"><?php _e('View Event'); ?></a><br>
<img src="<?php e(BASE_URL); ?>resource/img/icons/page.gif" width="16" height="16" alt="&gt;"><a href="<?php e(HTTP_ACTION); ?>community/article/list/<?php e($this->_vars['base']['community']['id']); ?>/"><?php _e('View Article'); ?></a><br></font>
<?php if ($this->_vars['base']['account']['status'] != STATUS_GUEST): ?>
<font size="<?php Theme::exec()->fontSize(); ?>">
<?php if ($this->_vars['base']['permission'] & PERMISSION_MEMBERS): ?>
<img src="<?php e(BASE_URL); ?>resource/img/icons/footprint.gif" width="16" height="16" alt="&gt;"><a href="<?php e(HTTP_ACTION); ?>community/view/footprint/<?php e($this->_vars['base']['community']['id']); ?>/"><?php _e('Foot Print'); ?></a><br>
<img src="<?php e(BASE_URL); ?>resource/img/icons/disconnect.gif" width="16" height="16" alt="&gt;"><a href="<?php e(HTTP_ACTION); ?>community/setting/resign/<?php e($this->_vars['base']['community']['id']); ?>/delete/"><?php _e('Resign'); ?></a><br>
<?php else:?>
<img src="<?php e(BASE_URL); ?>resource/img/icons/connect.gif" width="16" height="16" alt="&gt;"><a href="<?php e(HTTP_ACTION); ?>community/setting/join/<?php e($this->_vars['base']['community']['id']); ?>/"><?php _e('Involved a Community'); ?></a><br>
<?php endif; ?></font>

<div align="right"><font size="<?php Theme::exec()->fontSize(); ?>">
<?php if ($this->_vars['base']['permission'] & PERMISSION_LEADER): ?>
<a href="<?php e(HTTP_ACTION);?>community/setting/community/<?php e($this->_vars['base']['community']['id']); ?>/"><img src="<?php e(BASE_URL); ?>resource/img/icons/cog.gif" width="16" height="16" alt="<?php _e('Setting Community'); ?>"></a>&nbsp;
<a href="<?php e(HTTP_ACTION);?>community/view/member/<?php e($this->_vars['base']['community']['id']); ?>/<?php e(US); ?>status=<?php e(PERMISSION_MEMBER); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/group_edit.gif" width="16" height="16" alt="<?php _e('Names'); ?>"></a>&nbsp;
<a href="<?php e(HTTP_ACTION);?>community/setting/photo/<?php e($this->_vars['base']['community']['id']); ?>/"><img src="<?php e(BASE_URL); ?>resource/img/icons/picture.gif" width="16" height="16" alt="<?php _e('Update Photo'); ?>"></a>&nbsp;
<?php endif; ?>
<?php if ($this->_vars['base']['community']['topic_flag'] & $this->_vars['base']['permission']): ?>
<a href="<?php e(HTTP_ACTION);?>community/forum/post/<?php e($this->_vars['base']['community']['id']); ?>/"><img src="<?php e(BASE_URL); ?>resource/img/icons/bulletin_edit.gif" width="16" height="16" alt="<?php _e('Create Topic'); ?>"></a>&nbsp;
<?php endif; ?>
<?php if ($this->_vars['base']['community']['event_flag'] & $this->_vars['base']['permission']): ?>
<a href="<?php e(HTTP_ACTION);?>community/event/post/<?php e($this->_vars['base']['community']['id']); ?>/"><img src="<?php e(BASE_URL); ?>resource/img/icons/event_edit.gif" width="16" height="16" alt="<?php _e('Create Event'); ?>"></a>&nbsp;
<?php endif; ?>
<?php if ($this->_vars['base']['community']['article_flag'] & $this->_vars['base']['permission']): ?>
<a href="<?php e(HTTP_ACTION);?>community/article/post/<?php e($this->_vars['base']['community']['id']); ?>/"><img src="<?php e(BASE_URL); ?>resource/img/icons/page_edit.gif" width="16" height="16" alt="<?php _e('Create Article'); ?>"></a>&nbsp;
<?php endif; ?></font>
</div>
<?php endif; ?>

</td></tr></table>
<hr color="<?php Theme::exec()->borderColor(); ?>" noshade="noshade">
