New Menu in lheader |
7/18/2008 12:05:39 PM |
PHPRunner General questions | |
H
horsey_kim author
This is kind of a sequel to one I had written earlier. But I decided to go with using just the default template and I am not including a header file. Instead I am putting the header info into the lheader.htm template page so it shows up on every page. But I have different levels of access. so.... |
|
H
|
horsey_kim author 7/18/2008 |
My hosting just told me that they feel that php scripting in side of html code is not a good thing. Does anyone else do that and do you have problems? |
J
|
Jane 7/21/2008 |
Kim, {if $show_menu} Menu ... {/if}
if ($_SESSION["GroupID"]=="admin") $smarty->assign("show_menu",1);//show menu if ($_SESSION["GroupID"]=="user") $smarty->assign("show_menu",0);//hide menu |