include_once('lib/output' . PHPEX);
createHead("Index");
openDB();
***********************************
Look for that 'createHead' function.
It looks like it takes an input value, so you may be able to change it.
Just find the 'index' template info and update so that if you are a logged in admin, it shows stats.
If you create a new header, you'll have to put the if statement in the file you posted. If admin it shows one header, if not admin then another.
