Posted by Oscar
2016-05-23

Dear: Tom
I will like to ad the picture in the file as a user name. I have this code:

<td><div align="center"><img src="images/Ospath/<?php echo $hm->Zb('rs:def:username',ZB_CBF,'getTextValue'); ?>.JPG"style="width:65px;height:80px;">

but is not working do you know how to do that.
Regards
Posted by Tom
2016-05-24

To get the usernmae, please use this code:
$this->sys->AuthSession->GetV( "username" );
You can find an example at web/staff/include/tpl.body.header.inc.php, LINE 3.