<?php include VIEW_DIR.'mobile/common/menu/private.tpl'; ?>

<table border="0" width="<?php Theme::exec()->mainWidth(); ?>">
<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>" align="center"><font color="<?php Theme::exec()->columnColor(); ?>"><?php _e('Announcement'); ?></font><br></td></tr>
<?php if (!empty($this->_vars['new_message'])): ?>
<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>"><font size="<?php Theme::exec()->fontSize(); ?>"><a href="<?php e(HTTP_ACTION); ?>private/message/list/"><?php printf(_('You have <font color="red">%s</font> unread messages in your Inbox.'), $this->_vars['new_message']); ?></a><br></font></td></tr>
<?php endif; ?>
<?php if (!empty($this->_vars['new_comment'])): ?>
<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>"><font size="<?php Theme::exec()->fontSize(); ?>"><a href="<?php e(HTTP_ACTION); ?>member/blog/view/<?php e($this->_vars['ref_entry']); ?>/#Comments"><?php printf(_('You have <font color="red">%s</font> unread comments in your Blog.'), $this->_vars['new_comment']); ?></a><br></font></td></tr>
<?php endif; ?>

<?php if (empty($this->_vars['announcement'])): ?>
<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>"><font size="<?php Theme::exec()->fontSize(); ?>"><?php _e('There is no announcement.'); ?><br></font></td></tr>
<?php else : ?>
<?php foreach ($this->_vars['announcement'] as $_row): ?>
<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>"><font size="<?php Theme::exec()->fontSize(); ?>"><a href="<?php e(HTTP_ACTION); ?>public/content/view/<?php e($_row['id']); ?>/"><?php e($_row['subject']); ?></a><br></font></td></tr>
<?php endforeach; ?>
<?php endif; ?>
</table>

<hr color="<?php Theme::exec()->borderColor(); ?>" noshade="noshade">
<table border="0" width="<?php Theme::exec()->mainWidth(); ?>">
<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>"><font size="<?php Theme::exec()->fontSize(); ?>">
<img src="<?php e(BASE_URL); ?>resource/img/icons/emoticon_happy.gif" width="16" height="16" alt="&gt;">&nbsp;<a accesskey="7" href="<?php e(HTTP_ACTION); ?>private/home/invite/"><?php _e('Invite'); ?></a><br>
<img src="<?php e(BASE_URL); ?>resource/img/icons/layout_content.gif" width="16" height="16" alt="&gt;">&nbsp;<a accesskey="7" href="<?php e(HTTP_ACTION); ?>private/setting/theme/"><?php _e('Theme'); ?></a><br>
<img src="<?php e(BASE_URL); ?>resource/img/icons/vcard.gif" width="16" height="16" alt="&gt;"><a accesskey="4" href="<?php e(HTTP_ACTION); ?>member/personal/profile/<?php e($this->_vars['base']['account']['id']); ?>/"><?php _e('Profile'); ?></a><br>
<img src="<?php e(BASE_URL); ?>resource/img/icons/images.gif" width="16" height="16" alt="&gt;"><a href="<?php e(HTTP_ACTION); ?>private/attach/list/"><?php _e('Album'); ?></a><br>
</font></td><td bgcolor="<?php Theme::exec()->bgColor(); ?>"><font size="<?php Theme::exec()->fontSize(); ?>">
<img src="<?php e(BASE_URL); ?>resource/img/icons/user_find.gif" width="16" height="16" alt="&gt;"><a href="<?php e(HTTP_ACTION); ?>member/personal/search/"><?php _e('Find Friends'); ?></a><br>
<img src="<?php e(BASE_URL); ?>resource/img/icons/group_find.gif" width="16" height="16" alt="&gt;"><a href="<?php e(HTTP_ACTION); ?>community/view/search/"><?php _e('Find Community'); ?></a><br>
<img src="<?php e(BASE_URL); ?>resource/img/icons/book_find.gif" width="16" height="16" alt="&gt;"><a href="<?php e(HTTP_ACTION); ?>member/blog/search/"><?php _e('Find Blog'); ?></a><br>
<img src="<?php e(BASE_URL); ?>resource/img/icons/star_find.gif" width="16" height="16" alt="&gt;"><a href="<?php e(HTTP_ACTION); ?>public/review/search/"><?php _e('Find Review'); ?></a><br>
</font></td></tr></table>

<hr color="<?php Theme::exec()->borderColor(); ?>" noshade="noshade">
<?php loadPlugin::callFunc('hitsuji_mobileGadget', $this->_vars['base']['account']['id']); ?>

<hr color="<?php Theme::exec()->borderColor(); ?>" noshade="noshade">
<?php loadPlugin::callFunc('hitsuji_mobileTiles', $this->_vars['base']['member']['id'], 'friends'); ?>
<?php loadPlugin::callFunc('hitsuji_mobileTiles', $this->_vars['base']['member']['id'], 'community'); ?>
