<{$xoops_module_header}>
<{if $xoops_isuser}> <{$smarty.const.View Account}><{$smarty.const.Notifications}><{php}> GLOBAL $xoopsUser; $pm_handler =& xoops_gethandler('privmessage'); $uid = $xoopsUser->getVar('uid'); $criteria = new CriteriaCompo(new Criteria('read_msg', 0)); $criteria->add(new Criteria('to_userid', $uid)); $msgcount = $pm_handler->getCount($criteria); $GLOBALS['xoopsTpl']->assign('msgcount', $msgcount); <{/php}> <{if $msgcount > 0}> <{$smarty.const.INBOX}> (<{$msgcount}>) <{else}> <{$smarty.const.INBOX}> <{/if}> <{$smarty.const.logout}> <{if $xoops_isadmin}> <{$smarty.const.administrtion menu}> <{/if}><{else}><{$smarty.const.lost password?}> <{$smarty.const.REGISTER NOW !}> <{$smarty.const.user name}> <{$smarty.const.password}> <{$smarty.const.rememberme}><{$block.lang_rememberme}><{/if}>
<{$smarty.const.HOME}> <{$smarty.const.FROUM}> <{$smarty.const.DOWNLOAD}> <{$smarty.const.CONTACT US}> <{$smarty.const.ABOUT US}> <{$smarty.const.GALERRY}> <{$smarty.const.ARTICLE}>

 
<{if $xoops_showrblock == 1}> <{/if}>

<{foreach item=block from=$xoops_lblocks}> <{include file="300/theme_blockleft.html"}> <{/foreach}>
<{$xoops_banner}> <{if $xoops_showcblock == 1}>
<{foreach item=block from=$xoops_ccblocks}> <{include file="300/theme_blockcenter_c.html"}> <{/foreach}>
<{foreach item=block from=$xoops_clblocks}> <{include file="300/theme_blockcenter_l.html"}> <{/foreach}> <{foreach item=block from=$xoops_crblocks}> <{include file="300/theme_blockcenter_r.html"}> <{/foreach}>
<{/if}>
<{$xoops_contents}>
<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}> <{if $xoBlocks.page_bottomcenter}> <{/if}> <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}> <{/if}>
<{foreach from=$xoBlocks.page_bottomcenter item=block}><{include file="300/theme_blockcenter_c.html"}><{/foreach}>
<{foreach from=$xoBlocks.page_bottomleft item=block}><{include file="300/theme_blockcenter_l.html"}><{/foreach}> <{foreach from=$xoBlocks.page_bottomright item=block}><{include file="300/theme_blockcenter_r.html"}><{/foreach}>
<{/if}>

<{foreach item=block from=$xoops_rblocks}> <{include file="300/theme_blockright.html"}> <{/foreach}>
<{$xoops_footer}>

<{$xoops_footer}>
 Themed by margkhar.com