5
Thanks for replying.
I want it on a page.
I'm using this code to include pages on my site:
<?php
if (file_exists("mainfile.php")) {
include("mainfile.php");
}
elseif(file_exists("../mainfile.php")) {
include("../mainfile.php");
}
else {
include("../../mainfile.php");
}
include(XOOPS_ROOT_PATH . "/header.php");
$xoopsTpl->assign('xoops_showrblock', 1); // 1 display right blocks
$xoopsTpl->assign('xoops_showlblock', 1); // 1 display right blocks
$xoopsTpl->assign('xoops_pagetitle', "Contributors");
?>
MY CODE HERE
<?php
include(XOOPS_ROOT_PATH . "/footer.php");
?>
I have figured that I need to get the userid's from the tdmdownloads_downloads table and submitter field. And count them somehow.
I'm trying to this FAQ. But no luck.
https://xoops.org/modules/smartfaq/faq.php?faqid=192