okay, I don't know how diffrent your version is from mine but try this.
1) Delete your subaccess.php file.
2) Make a copy of home.php and name it subaccess.php
3) Open up subaccess.php and add this code right before func_display near the bottom.
Code:
$smarty->assign("tm", $tm);
$smarty->assign("accprod", $accprod);
4) While still in subaccess.php find this:
Code:
func_display("customer/home.tpl",$smarty);
and replace it with this:
Code:
func_display("subaccess/subaccessdiag.tpl",$smarty);
Let me know...