moved rendered functions.tpl to SBB.class.php