/***************************************************************************
* copyright            : (C) 2001-2003 Advanced Internet Designs Inc.
* email                : forum@prohost.org
* $Id: showposts.tmpl 21069 2010-03-25 22:47:48Z Caeies $
*
* This program is free software; you can redistribute it and/or modify it 
* under the terms of the GNU General Public License as published by the 
* Free Software Foundation; either version 2 of the License, or 
* (at your option) any later version.
***************************************************************************/

{PHP_FILE: input: showposts.php.t; output: showposts.php;}
{REF: security.tmpl}
{REF: header.tmpl}
{REF: footer.tmpl}
{REF: stats.tmpl}
{REF: draw_pager.tmpl}
{REF: is_perms.tmpl}
{REF: alt_var.tmpl}

{SECTION: post_entry}
<tr class="{ALT-VAR: search_alt RowStyleA RowStyleB}"><td class="GenText"><a class="GenLink" href="{TEMPLATE: post_entry_lnk}">{VAR: r[2]}</a></td><td class="GenText" nowrap><a href="{TEMPLATE: post_entry_lnk1}" class="GenLink">{VAR-HTML: r[0]}</a></td><td class="DateText" nowrap>{DATE: r[4] %a, %d %B %Y %H:%M}</td></tr>
{SECTION: END}

{PAGE: SHOWPOSTS_PAGE show all posts by a user}
{TEMPLATE: header}
<table border="0" cellspacing="1" cellpadding="2" class="ContentTable">
<tr><th colspan=3>{MSG: user_info}</th></tr>
<tr class="RowStyleA"><td class="GenText" width="100%">{MSG: login_header} <a class="GenLink" href="{TEMPLATE: SHOWPOSTS_PAGE_lnk}">{VAR: u_alias}</a></td>
<td class="GenText" nowrap>{MSG: registered_on}</td><td class="GenText" nowrap>{MSG: post_count}</td></tr>
<tr><th width="100%">{MSG: subject}</th><th nowrap>{MSG: forum}</th><th nowrap><a class="thLnk" href="{TEMPLATE: SHOWPOSTS_PAGE_lnk1}">{MSG: date_posted}</a></th></tr>
{TEMPLATE-DATA: post_entry}
</table>
{TEMPLATE-DATA: pager}
{TEMPLATE-DATA: page_stats}
{TEMPLATE: footer}
{PAGE: END}

{SECTION: show_posts_by}
{MSG: show_posts_by}
{SECTION: END}

{SECTION: showposts_update}
{MSG: showposts_update}
{SECTION: END}
{SECTION: post_entry_lnk}
{ROOT}?t={DEF: d_thread_view}&amp;goto={VAR: r[3]}&amp;{DEF: _rsid}
{SECTION: END}

{SECTION: post_entry_lnk1}
{ROOT}?t={DEF: t_thread_view}&amp;frm_id={VAR: r[1]}&amp;{DEF: _rsid}
{SECTION: END}

{SECTION: SHOWPOSTS_PAGE_lnk}
{ROOT}?t=usrinfo&amp;id={VAR: uid}&amp;{DEF: _rsid}
{SECTION: END}

{SECTION: SHOWPOSTS_PAGE_lnk1}
{ROOT}?t=showposts&amp;so={VAR: SORT_ORDER_R}&amp;id={VAR: uid}&amp;{DEF: _rsid}
{SECTION: END}
