<div id="mainFrame">

<!-- User Menu -->
<{if $mydirname}><{include file="db:`$mydirname`_inc_mypage_menu.html"}><{/if}>

<table class="outer">

<tr><th colspan="3"><{$smarty.const._MD_XSNS_TITLE_MYPAGE_INTRO_LIST}></th></tr>

<{if $intro_list|@count > 0}>

<tr><td colspan="3" class="odd centerH"><{$pager.selector}></td></tr>
<tr><td colspan="3" class="odd" style="text-align:right;"><{$pager.description}></td></tr>

<tr class="head">
<td class="centerH" style="width:15%;"><{$smarty.const._MD_XSNS_AVATAR}></td>
<td class="centerH" style="width:35%;"><{$smarty.const._MD_XSNS_USER_NAME}></td>
<td class="centerH" style="width:50%;"><{$smarty.const._MD_XSNS_MYPAGE_INTRO_BODY}></td>
</tr>

<{foreach item=intro from=$intro_list}>
<tr class="even">
<td class="centerHV"><a href="<{$intro.user_from.page_url}>"><img src="<{$intro.user_from.avatar_url}>" alt="<{$intro.user_from.name}>"></a></td>
<td class="centerV"><a href="<{$intro.user_from.page_url}>"><{$intro.user_from.name}></a></td>
<td class="centerV">
<{$intro.body}>
<{if $is_xoops_admin || $intro.user_from.uid==$uid_from || $uid_to==$uid_from}>
<div style="text-align:right;"><a href="<{$url.intro_delete}><{$intro.user_from.uid}>"><{$smarty.const._MD_XSNS_MYPAGE_INTRO_DEL}></a></div><{/if}>
</td>
</tr>
<{/foreach}>

<tr><td colspan="3" class="odd centerH"><{$pager.selector}></td></tr>
<tr><td colspan="3" class="odd" style="text-align:right;"><{$pager.description}></td></tr>

<{/if}>

</table>

</div>
