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

<?php if (empty($this->_vars['v_viw_blog'])):?>
	<?php _e('Sorry, no results found.'); ?><br><br>
	<?php loadPlugin::callFunc('hitsuji_banner', POSITION_MOBILE); ?><br>
<?php else: ?>
<?php HTML::mobilePager($this->_vars['p_viw_blog']); ?>
<table border="0" width="<?php Theme::exec()->mainWidth(); ?>">
<?php foreach ($this->_vars['v_viw_blog'] as $_row): ?>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center"><font size="<?php Theme::exec()->fontSize(); ?>"><?php loadPlugin::callFunc('hitsuji_profile', $_row['ref_account'], 'vSmall,nickname'); ?></font></td>
	<td bgcolor="<?php Theme::exec()->bgColor(); ?>"><font size="<?php Theme::exec()->fontSize(); ?>">
	<img src="<?php e(BASE_URL); ?>resource/img/icons/book_open.gif" width="16" height="16" alt="&gt;"><a href="<?php e(HTTP_ACTION); ?>member/blog/view/<?php e($_row['id']); ?>/"><?php e($_row['subject']); ?></a><br>
	<?php HTML::strimWidth($_row['body']); ?><br></font>
	<div align="right"><font size="<?php Theme::exec()->fontSize(); ?>"><?php eDate($_row['regist_date'], _('Y-m-d H:i')); ?></font></div>
	<hr color="<?php Theme::exec()->bgColor(); ?>" noshade="noshade"></td></tr>
<?php endforeach; ?>
</table>
<?php HTML::mobilePager($this->_vars['p_viw_blog']); ?>
<?php endif; ?>
