0
I need to display some elements div
according to the level of the logged in user. If the usurer is level one can only sample certain div
's. The exhibition below:
<div id="hmn0" style="margin-top:0px;">
<nav>
<div id="acdnmenu" style="width:199px;height:390px;">
<ul>
<li id="v_sm">Administrativo
<ul>
<li><a href="./adm/cd_reqequip.php" target="main">Requisição de equipamentos</a></li>
<li><a href="./adm/cd_document.php" target="main">Documentações</a></li>
<li><a href="./cadastro.php" target="main">Cadastro</a></li>
</ul>
</li>
<li id="v_tt">Faturamento
<ul>
<li><a href="./faturamento/cd_guiahm.php" target="main">Honorário Médico</a></li>
<li><a href="./faturamento/cd_lancsessao.php" target="main">Lançar sessões</a></li>
<li><a href="./faturamento/cad_lancconta.php" target="main">Lançar na conta</a></li>
<li><a href="./faturamento/fat_unidade.php" target="main">Fatura por unidades</a></li>
</ul>
</li>
</ul>
</div>
</nav>
</div>
In my case in . NET created HTML in the back end and rendered as per the user level rule.
– Netinho Santos
I posted a very generic solution, there may be numerous variations according to your specific context. If I can provide more details, I can refine my solution.
– Marcell Alves