Yep, that's what I ended up doing. I added the following lines of code to my script and all is working!
1) At the beginning add:
include_once(./lib-common.php');
COM_siteHeader();
2) At the end add (not sure if all the code will show-up in this post? You get the idea):
if (!empty($_USER['uid']))
{
$result = DB_query("SELECT noboxes FROM userindex WHERE uid = ''"

;
$U = DB_fetchArray($result);
}
if ($U['noboxes'] != 1)
{
$display .= '</td><td><img src="' . $_CONF['site_url'] . '/images/speck.gif" height="1" width="10"></td>' . LB
. '<td valign="top" width="180">' . LB . COM_showBlocks('right',$topic)
. '<br><img src="' . $_CONF['site_url'] . '/images/speck.gif" width="180" height="1">' . LB;
}
// Get footer
$display .= COM_siteFooter();
// Output page
echo $display;
break;
Thanks for your suggestion and keep up the good work. If you’re interested, you can check out my site at http://www.squatty.com. It's not much to see but, it's up and running Geeklog!
In a world without walls and fences, who needs Windows and Gates?