Op mijn testforum (testomgeving.microlight.nl) heb ik XDATA mod geinstalleerd. Voordat ik life ga op mijn life board, wil ik het eerst grondig testen.
Op een foutje na, ging het installeren perfekt. In het profiel kunnen nu 2 extra dingen worden opgegeven: KNVvL lid J/N en eventueel of ze een vliegbrevet hebben.
Wat ik nu wil gaan realiseren is het volgende:
Als iemand geen KNVvL lid is, dan een mededeling waar ze het inschrijfformulier kunnen vindn. Als ze wel lid zijn,dan komt die melding - vanzelfsprekend - niet.
In mijn testomgeving heb ik het nu dat als iemand niet is ingelogd, ook een melding krijgt dat sommige onderdelen niet toegankelijk zijn. Als iemand wel is ingelogd dan komt die melding niet.
Een beetje in computertaal:
Code: Selecteer alles
ALS niet_ingelogd OR geen_knvvl_lid
ALS niet_ingelogd
melding "Niet alles is toegankelijk"
ELSE
melding "Hier vindt u het inschrijfformulier"
EIND
EIND
Een deel van de portal_body.tpl:
Code: Selecteer alles
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td class="nav"><span class="maintitle">{SITENAME}</span>
<br />
<a href="{U_PORTAL}">{L_HOME}</a></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<!-- BEGIN switch_user_logged_out -->
<tr>
<td width="100%" valign="top"><table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th><b>Belangrijk</b></th>
</tr>
<tr>
<td class="row1"><span class="genmed"><center><font color="#5c81b1">
<b>U bent niet ingelogd en u heeft geen toegang tot het Knowledge Base en tot de recente bestanden. Na het inloggen heeft u toegang.<br />
Heeft u geen gebruikersnaam? Het registreren is een kwestie van minuten. <br /> </b></font></center>
</span>
<tr>
</td>
</tr>
</table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<!-- END switch_user_logged_out -->
<tr>
<td width="150" valign="top"><table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th>{L_BOARD_NAVIGATION}</th>
</tr>
<tr>
<td class="row1"><span class="genmed">
<img src="templates/fiplain/images/arrow.gif" alt="{L_HOME}"> <a href="{U_PORTAL}">{L_HOME}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_FORUM}"> <a href="{U_FORUM}">{L_FORUM}</a><br />
<!-- BEGIN switch_user_logged_in -->
<img src="templates/fiplain/images/arrow.gif" alt="{L_KB}"> <a href="{U_KB}">{L_KB}</a><br />
<!-- END switch_user_logged_in -->
<img src="templates/fiplain/images/arrow.gif" alt="Nieuwsarchief"> <a href="portal.php?news=archives">Nieuwsarchief</a><br />
<a href="#"><b>{L_BESTANDEN}</b></a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_BEST_OVERZICHT}"> <a href="{U_BEST_OVERZICHT}">{L_BEST_OVERZICHT}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_BEST_CAT}"> <a href="{U_BEST_CAT}">{L_BEST_CAT}</a><br />
<a href="#"><b>{L_TOOLS}</b></a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_RECENT}"> <a href="{U_RECENT}">{L_RECENT}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_CALENDAR}"> <a href="{U_CALENDAR}">{L_CALENDAR}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_ALBUM}"> <a href="{U_ALBUM}">{L_ALBUM}</a><br />
<a href="#"><b>{L_ABOUT_US}</b></a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_FAQ}"> <a href="{U_FAQ}">{L_FAQ}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_STAFF}"> <a href="{U_STAFF}">{L_STAFF}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_MAIL-US}"> <a href="{U_MAIL-US}" TARGET='Nieuw'>{L_MAIL-US}</a><br />
<!-- BEGIN switch_user_logged_in -->
<img src="templates/fiplain/images/arrow.gif" alt="{L_MEMBERLIST}"> <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_USERGROUPS}"> <a href="{U_GROUP_CP}">{L_USERGROUPS}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_STATISTICS}"> <a href="{U_STATISTICS}">{L_STATISTICS}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_RANKS}"> <a href="{U_RANKS}">{L_RANKS}</a><br />
<!-- END switch_user_logged_in -->
</span>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th>Alles over het vliegen</th>
</tr>
<tr>
<td class="row1"><span class="genmed">
<a href="#"><b>{L_MLA-FLYING}</b></a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_COMMON-INFORMATION}"> <a href="{U_COMMON-INFORMATION}" TARGET='Nieuw'>{L_COMMON-INFORMATION}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_TRAINING}"> <a href="{U_TRAINING}" TARGET='Nieuw'>{L_TRAINING}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_CLUBS}"> <a href="{U_CLUBS}" TARGET='Nieuw'>{L_CLUBS}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_AIRFIELDS}"> <a href="{U_AIRFIELDS}" TARGET='Nieuw'>{L_AIRFIELDS}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_BROCHURE}"> <a href="{U_BROCHURE}" TARGET='Nieuw'>{L_BROCHURE}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_UITGEKNIPT}"> <a href="{U_UITGEKNIPT}" TARGET='Nieuw'>{L_UITGEKNIPT}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_FILMS}"> <a href="{U_FILMS}" TARGET='Nieuw'>{L_FILMS}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_NIEUWSBRIEF}"> <a href="{U_NIEUWSBRIEF}" TARGET='Nieuw'>{L_NIEUWSBRIEF}</a><br />
<a href="#"><b>{L_SERVICE}</b></a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_TRANSPONDERS}"> <a href="{U_TRANSPONDERS}" TARGET='Nieuw'>{L_TRANSPONDERS}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_MAILINGLIST}"> <a href="{U_MAILINGLIST}" TARGET='Nieuw'>{L_MAILINGLIST}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_BROCHURE-DOWNLOADEN}"> <a href="{U_BROCHURE-DOWNLOADEN}" TARGET='Nieuw'>{L_BROCHURE-DOWNLOADEN}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_KNVVL-BROCHURE}"> <a href="{U_KNVVL-BROCHURE}" TARGET='Nieuw'>{L_KNVVL-BROCHURE}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_GUESTBOOK-READ}"> <a href="{U_GUESTBOOK-READ}" TARGET='Nieuw'>{L_GUESTBOOK-READ}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_GUESTBOOK-WRITE}"> <a href="{U_GUESTBOOK-WRITE}" TARGET='Nieuw'>{L_GUESTBOOK-WRITE}</a><br />
<a href="#"><b>{L_EXTRA}</b></a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_LINKS}"> <a href="{U_LINKS}" TARGET='Nieuw'>{L_LINKS}</a><br />
<img src="templates/fiplain/images/arrow.gif" alt="{L_SEND-ECARD}"> <a href="{U_SEND-ECARD}" TARGET='Nieuw'>{L_SEND-ECARD}</a><br />
</span>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2">{L_TOP_POSTERS}</th>
</tr>
<tr>
<td class="row1" align="center"><span class="genmed">{L_TOP_MEMBER}</span></td>
<td class="row1" align="center"><span class="genmed">{L_TOP_POSTS}</span></td>
</tr>
<tr>
<!-- BEGIN users -->
<td class="row1" align="left"><span class="gensmall"><a href="{users.URL}"> {users.USERNAME}</a></span></td>
<td class="row1" align="center"><span class="gensmall"><b> {users.POSTS}</b></span></td>
</tr>
<!-- END users -->
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
<script type="text/javascript">
<!--
function checkSearch()
{
if (document.search_block.search_engine.value == 'google')
{
window.open('http://www.google.com/search?q=' + document.search_block.search_keywords.value, '_google', '');
return false;
}
else
{
return true;
}
}
//-->
</script>
<form name="search_block" method="post" action="{U_SEARCH}" onsubmit="return checkSearch()">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th>{L_QUICK_SEARCH}</th>
</tr>
<tr>
<td align="center" class="row1">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td align="center"><input class="post" type="text" name="search_keywords" size="15" /></td>
</tr>
<tr>
<td align="center"><select class="post" name="search_engine">
<option value="site">{L_FORUM}</option>
<option value="google">Google</option>
</select></td>
</tr>
<tr>
<td align="center"><input class="mainoption" type="submit" value="{L_SEARCH}" /><br /></td>
</tr>
</table>
<input type="hidden" name="search_fields" value="all" />
<input type="hidden" name="show_results" value="topics" />
<br />
[ <a href="{U_SEARCH}" class="gensmall">{L_ADV_SEARCH}</a> ]
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
</form>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th>{L_RECENT_TOPICS}</th>
</tr>
<!-- BEGIN switch_recent_topics_yes -->
<tr>
<td class="row1" align="left"><span class="gensmall">
<!-- BEGIN recent_topic_row -->
<img src="templates/fiplain/images/arrow.gif"> <a href="{switch_recent_topics_yes.recent_topic_row.U_TITLE}">{switch_recent_topics_yes.recent_topic_row.L_TITLE}</a><br />
by <a href="{switch_recent_topics_yes.recent_topic_row.U_POSTER}">{switch_recent_topics_yes.recent_topic_row.S_POSTER}</a> on {switch_recent_topics_yes.recent_topic_row.S_POSTTIME}<br /><br />
<!-- END recent_topic_row -->
</span></td>
</tr>
<!-- END switch_recent_topics_yes -->
<!-- BEGIN switch_recent_topics_no -->
<tr>
<td class="row1" align="left"><span class="gensmall">{L_NO_RECENT_TOPICS}</span></td>
</tr>
<!-- END switch_recent_topics_no -->
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th>{L_RECENT_FILES}</th>
</tr>
<!-- BEGIN switch_show_recentfiles -->
<tr>
<td class="row1" align="left"><span class="gensmall">
<!-- BEGIN recent_files_row -->
» <a href="{recent_files_row.U_TITLE}">{recent_files_row.L_TITLE}</a><br />
<!-- END recent_files_row -->
</span></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
<!-- END switch_show_recentfiles -->
<!-- BEGIN switch_none_recentfiles -->
<tr>
<td class="row1" align="left"><span class="gensmall">{L_NO_RECENT_FILE}</span></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
<!-- END switch_none_recentfiles -->
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th>{L_STATISTICS}</th>
</tr>
<tr>
<td class="row1"><span class="gensmall">{TOTAL_USERS}<br />
{NEWEST_USER}<br />
<br/>
{TOTAL_POSTS}</span></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th>{L_LINKS}</th>
</tr>
<tr>
<td class="row1" align="center">{BANNER_16_IMG}<br /><img src="images/spacer.gif" alt="" width="8" height="4" /><br />{BANNER_17_IMG}<br /><img src="images/spacer.gif" alt="" width="8" height="4" /><br />{BANNER_18_IMG}<br /><img src="images/spacer.gif" alt="" width="8" height="4" /><br />{BANNER_19_IMG}<br /><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
<tr>
<td align="center" class="row2"><span class="gensmall">ezPortal by <a href="http://smartor.is-root.com/" target="_blank">Smartor</a></span></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th class="thTop" height="25" nowrap="nowrap">{L_NEWEST_PICS}</th>
</tr>
<!-- BEGIN no_pics -->
<tr>
<td class="row1" align="center" height="50"><span class="gen">{L_NO_PICS}</span></td>
</tr>
<!-- END no_pics -->
<!-- BEGIN recent_pics -->
<!-- BEGIN recent_detail -->
<tr>
<td class="row1" width="{S_COL_WIDTH1}" align="center"><a href="{recent_pics.recent_detail.U_PIC}" {TARGET_BLANK}><img src="{recent_pics.recent_detail.THUMBNAIL}" border="0" alt="{recent_pics.recent_detail.DESC}" title="{recent_pics.recent_detail.DESC}" vspace="10" width="{recent_pics.recent_detail.WIDTH}" height="{recent_pics.recent_detail.HEIGHT}"/></a></td>
</tr>
<tr>
<td class="row2">
<span class="gensmall">{L_PIC_TITLE}: {recent_pics.recent_detail.TITLE}<br />
{L_POSTER}: {recent_pics.recent_detail.POSTER}<br />{L_POSTED}: {recent_pics.recent_detail.TIME}<br />
{L_VIEW}: {recent_pics.recent_detail.VIEW}<br />{recent_pics.recent_detail.RATING}{recent_pics.recent_detail.COMMENTS}<br /></span>
</td>
</tr>
<!-- END recent_detail -->
<!-- END recent_pics -->
<tr>
<td class="row3" height="25" align="center"><span class="gensmall">[ <a href="{U_ALBUM}">{L_ALBUM}</a> ]</span></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
</td>
<td width="10"><img src="images/spacer.gif" alt="" width="10" height="30" /></td>
<td valign="top">
<!-- BEGIN welcome_text -->
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th>{SITENAME} - {SITE_DESCRIPTION}</th>
</tr>
<tr>
<td class="row1" align="left"><p class="genmed">{WELCOME_TEXT}</p></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
<!-- END welcome_text -->
<!-- BEGIN news_categories -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th class="thTop" height="25" align="center" colspan="{S_COLS}" nowrap="nowrap">{L_NEWS_CATS}</th>
</tr>
<!-- END news_categories -->
<!-- BEGIN no_news -->
<tr>
<td class="row1" align="center" height="50"><span class="gen">{L_NO_NEWS_CATS}</span></td>
</tr>
<!-- END no_news -->
<!-- BEGIN newsrow -->
<tr>
<!-- BEGIN newscol -->
<td align="center" width="{S_COL_WIDTH}" class="row1"><span class="genmed"><a href="{INDEX_FILE}?cat_id={newsrow.newscol.ID}"><img src="{newsrow.newscol.THUMBNAIL}" border="0" alt="{newsrow.newscol.DESC}" title="{newsrow.newscol.DESC}" vspace="10" /></a></span></td>
<!-- END newscol -->
</tr>
<tr>
<!-- BEGIN news_detail -->
<td class="row2" align="center"><span class="gensmall">
{newsrow.news_detail.NEWSCAT}</td>
<!-- END news_detail -->
</tr>
<!-- END newsrow -->
<!-- BEGIN news_categories -->
<tr>
<td class="cat" colspan="{S_COLS}" align="center" height="28"> </td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<!-- END news_categories -->
<!-- BEGIN news_archives -->
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<th>{L_NEWS_ARCHIEVES}</th>
</tr>
<tr>
<td class="row1">
<!-- END news_archives -->
<!-- BEGIN arch -->
<ul style=" padding: 0 1.3em; margin: 10px 0;">
<!-- BEGIN year -->
<li class="gen"><a href="{INDEX_FILE}?news=archives&year={arch.year.YEAR}">{arch.year.YEAR}</a></li>
<!-- BEGIN month -->
<li class="gen" style="margin-left: 1em;"> <a href="{INDEX_FILE}?news=archives&year={arch.year.YEAR}&month={arch.year.month.MONTH}">{arch.year.month.L_MONTH} {arch.year.month.POST_COUNT} </a></li>
<!-- BEGIN day -->
<li class="gen" style="margin-left: 2em;"> <a href="{INDEX_FILE}?news=archives&year={arch.year.YEAR}&month={arch.year.month.MONTH}&day={arch.year.month.day.DAY}">{arch.year.month.day.L_DAY} {arch.year.month.day.POST_COUNT}</a></li>
<!-- END day -->
<!-- END month -->
<!-- END year -->
</ul>
<!-- END arch -->
<!-- BEGIN news_archives -->
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<!-- END news_archives -->
<!-- BEGIN no_articles -->
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td class="row1" align="center" height="50"><span class="gen">{no_articles.L_NO_NEWS}</span></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<!-- END no_articles -->
<!-- BEGIN articles -->
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td class="cat">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left" class="topictitle">{articles.L_TITLE_ICON} <a href="{INDEX_FILE}?topic_id={articles.ID}">{articles.L_TITLE}</a></td>
<td align="right">
<a href="posting.php?mode=reply&t={articles.ID}"><img src="{NEWS_REPLY_IMG}" alt="{L_REPLY_NEWS}" title="{L_REPLY_NEWS}" /></a>
<a href="printview.php?t={articles.ID}&start=0" target="_blank"><img src="{NEWS_PRINT_IMG}" alt="{L_PRINT_NEWS}" title="{L_PRINT_NEWS}" /></a>
<a href="tellafriend.php?topic={articles.L_TITLE}&link={TELL_LINK}{articles.ID}"><img src="{NEWS_EMAIL_IMG}" alt="{L_EMAIL_NEWS}" title="{L_EMAIL_NEWS}" /></a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="row2" valign="middle" height="18"><span class="gensmall"><a href="{articles.U_COMMENT}"><img src="{MINIPOST_IMG}"></a>{L_POSTED} {L_WORD_ON} {articles.POST_DATE} {L_WORD_BY} {articles.L_POSTER}</span></td>
</tr>
<tr>
<td class="row1" valign="top" width="100%">
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td align="left" valign="top"><a href="{INDEX_FILE}?cat_id={articles.CAT_ID}"><img src="{articles.CAT_IMG}" alt="{articles.CATEGORY}" /></a></td>
<td align="left" valign="top" width="100%">
{articles.BODY}{articles.ATTACHMENTS}<br /><br /><span class="gensmall">{articles.READ_MORE_LINK}</span></td>
</tr>
</table>
</td>
<tr>
<td class="row3" valign="middle" align="center" height="18">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left" class="row3"><span class="gensmall">{L_NEWS_SUMMARY} <b><a href="{articles.U_VIEWS}">{articles.COUNT_VIEWS}</b> {L_NEWS_VIEWS}</a> {L_NEWS_AND}<b> <a href="{articles.U_COMMENT}">{articles.COUNT_COMMENTS}</b> {L_NEWS_COMMENTS}</a>.</span></td>
<td align="right">
<span class="gensmall"><a href="{articles.U_POST_COMMENT}">{L_POST_COMMENT}</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
<!-- END articles -->
<!-- BEGIN comments -->
<hr />
<div style="border: #ddd solid 1px; padding: 10px; margin: 10px 0 10px 20px; clear: both;">
<div class="topictitle">{comments.L_TITLE}</div>
<div class="postdetails">{comments.POST_DATE} by {comments.L_POSTER}</div>
<hr />
<div class="postbody">
{comments.BODY}
</div>
</div>
<!-- END comments -->
<!-- BEGIN pagination -->
<!-- Hide pagination
<hr />
<div class="nav" style="text-align: right; padding: 10px; margin: 10px 0 10px 20px; clear: both;">
{pagination.PAGINATION}
</div> -->
<!-- END pagination -->
</td>
<td width="10"><img src="images/spacer.gif" alt="" width="10" height="30" /></td>
<td width="150" valign="top">
<!-- BEGIN switch_user_logged_in -->
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th>{L_NAME_WELCOME}</th>
</tr>
<tr>
<td align="center" class="row1"><br />
{AVATAR_IMG}<br /><br />
<span class="name">{U_NAME_LINK}<br /><br /></span>
<span class="gensmall">{LAST_VISIT_DATE}<br />
{CURRENT_TIME}<br /><br />
<a href="{U_SEARCH_NEW}">{L_SEARCH_NEW_P}</a><br />
<a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><br />
<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th>{L_LOGIN}</th>
</tr>
<tr>
<td align="center" class="row1"><span class="gensmall">
<input type="hidden" name="redirect" value="{U_PORTAL}" />
{L_USERNAME}:<br />
<input class="post" type="text" name="username" size="15" />
<br />
{L_PASSWORD}:<br />
<input class="post" type="password" name="password" size="15" />
<br />
</span> <table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input class="text" type="checkbox" name="autologin" /></td>
<td class="gensmall"> {L_REMEMBER_ME}</td>
</tr>
</table>
<br/> <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
<br /> <br /> <a href="{U_SEND_PASSWORD}" class="gensmall">{L_SEND_PASSWORD}</a><br />
<br /><p class="gensmall">{L_REGISTER_NEW_ACCOUNT}</p></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
</form>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_show_shoutbox -->
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th>{L_SHOUTBOX}</th>
</tr>
<tr>
<td class="row1"><span class="genmed"><iframe src="{U_SHOUTBOX}" scrolling="NO" width="100%" height="250" frameborder="0" marginheight="0" marginwidth="0" allowtransparency="true"></iframe></span></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
<!-- END switch_show_shoutbox -->
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th>{L_WHO_IS_ONLINE}</th>
</tr>
<tr>
<td class="row1">
<p class="gensmall">{TOTAL_USERS_ONLINE}<br />
<br />
{LOGGED_IN_USER_LIST}<br /><br />
</p>
<p class="gensmall" align="center">[ <a href="{U_VIEWONLINE}">{L_VIEW_COMPLETE_LIST}</a> ]</p>
<br />
<p class="gensmall">{RECORD_USERS}</p></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
{PORTAL_POLL}
{MINI_CAL_OUTPUT}
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th nowrap="nowrap">{L_LAST_SEEN}</th>
</tr>
<tr>
<td class="row1"><span class="gensmall">{L_USERS_TODAY}{L_USERS_LASTHOUR}</span></td>
</tr>
<!-- BEGIN last_seen_row -->
<tr>
<td class="row1"><span class="gensmall">{last_seen_row.L_LSEEN_USERNAME} {L_WORD_ON} {last_seen_row.L_LSEEN_TIME}</span></td>
</tr>
<!-- END last_seen_row -->
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
</td>
</tr>
</table>