2
It's not the template.html you have to paste the code in, but in theme.html
Go to themes\TheThemeYouUse\theme.html
find
<td id="footerbar">
and paste the following below it:
<{if $xoops_isadmin != 1}>
<script type="text/Javascript">
<!--
istat = new Image(1,1);
istat.src = "http://YOUR_XOOPS_SITE_URL/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&refer="+escape(document.referrer)+"&page="+location.href;
//-->
</script>
<{/if}>
(replace YOUR_XOOPS_SITE_URL)
But wouldn't it be easier to just add the script in footer from the admin-menu?
Log in to your admin-panel, go to preferences and choose footer. If it works, then you don't have to add it to any of your theme.html
Best Regards,
Bananadude
--- censored by Bananadude ---