Customize Backend Menu By Userid,usertype

am trying to modify backend menu by altering tbl hooks

1-what function may i use to return current USER.USER_ID and current USER.USER_TYPE{V or A}?

and

what is the methodology of using php function like basename($_SERVER['PHP_SELF'])?

{assign var=“current_user_id” value=$auth.user_id}{$current_user_id}

[quote name='wael890610' timestamp='1413103607' post='193947']

am trying to modify backend menu by altering tbl hooks

1-what function may i use to return current USER.USER_ID and current USER.USER_TYPE{V or A}?

and

what is the methodology of using php function like basename($_SERVER['PHP_SELF'])?

[/quote]

Good day



{$auth.user_id}

{$auth.user_type}

{$smarty.server.PHP_SELF}




Hope that helps.


{$smarty.server.PHP_SELF}


thnx mr, this was really help

is there are any methodology to use various kind of php functions.