9
in your php file, add:
$NeoPlug_avatar = $(
someXoopsUser)->getVar('user_avatar');
if(file_exists(XOOPS_ROOT_PATH.'/uploads/'.$NeoPlug_avatar))
$NeoPlug_avatar = '
';
else $NeoPlug_avatar='';
transfer this value:
$xoopsTpl->assign("NeoPlug_avatar",$NeoPlug_avatar)
theme.html
NeoPlug'avatar:<{NeoPlug_avatar}>