15
The admin side doesn't automatically display templates, so after assigning your template variables, you need:
le="color: #000000"><?php $xoopsTpl->display("db:{$xoopsOption['template_main']}");
You need to make sure that the template has been loaded into the database via your xoops_version.php file.
I would also temporarily add at the beginning of your code:
le="color: #000000"><?php error_reporting(E_ALL); #*#DEBUG#