18
Here are the .php pages I used for the tab contents:
library.php (WFSection):
include 'mainfile.php';
include 'header.php';
include_once XOOPS_ROOT_PATH.'/class/template.php'; include_once(XOOPS_ROOT_PATH.'/modules/wfsection/blocks/wfs_new.php'); $result = b_wfs_new_show(explode('|','published|10|60|0|1|55|55')); $tpl = new XoopsTpl(); $tpl->assign('block', $result); $tpl->display('db:wfs_block_new.html');
#include 'footer.php';
break;
?>
partner.php (WordPress):
include 'mainfile.php';
include 'header.php';
include_once XOOPS_ROOT_PATH.'/class/template.php'; include_once(XOOPS_ROOT_PATH.'/modules/wordpress/blocks/wp_posts.php'); $result = b_wordpress_posts_show(explode('|','10|1|7|0')); $tpl = new XoopsTpl(); $tpl->assign('block', $result); $tpl->display('db:wp_block_posts.html');
#include 'footer.php';
?>
news.php (Article 1.0)
include 'mainfile.php';
include 'header.php';
include_once XOOPS_ROOT_PATH.'/class/template.php'; include_once(XOOPS_ROOT_PATH.'/modules/article/blocks/blocks.article.php'); $result = article_article_show(explode('|','time|10|2|0|c|0')); $tpl = new XoopsTpl(); $tpl->assign('block', $result); $tpl->display('db:article_block_article.html');
#include 'footer.php';
break;
?>
links.php (links 1.1)
include 'mainfile.php';
include 'header.php';
include_once XOOPS_ROOT_PATH.'/class/template.php'; include_once(XOOPS_ROOT_PATH.'/modules/mylinks/blocks/mylinks_top.php'); $result = b_mylinks_top_show(explode('|','date|10|50')); $tpl = new XoopsTpl(); $tpl->assign('block', $result); $tpl->display('db:mylinks_block_new.html');
#include 'footer.php';
break;
?>
forums.php (newbb 2.02)
include 'mainfile.php';
include 'header.php';
include_once XOOPS_ROOT_PATH.'/class/template.php'; include_once(XOOPS_ROOT_PATH.'/modules/newbb/blocks/newbb_block.php'); $result = b_newbb_show(explode('|','10|0|time|0')); $tpl = new XoopsTpl(); $tpl->assign('block', $result); $tpl->display('db:newbb_block.html');
#include 'footer.php';
break;
?>
Magick can never be restrained, but when freely given is thrice regained!