echo $T;
?>
.php'" value="<?php 
echo $index->toView($T);
?>
" >
		</div>
		<table >
			<?php 
foreach ($menu['menu_pages'] as $menu_id => $mnu) {
    $display_name = $menu['menu_display_names'][$menu_id];
    //var_dump($menu['menu_pages']); die();
    ?>
					
			<?php 
    $res = $index->isAllowed_2($_SESSION['control_p_group_id'], $mnu);
    if ($res) {
        ?>
<tr ><td><span ><a href="<?php 
        if (strpos($mnu, '.php') === false) {
            echo $mnu . '.php';
        } else {
            echo $mnu;
        }
        ?>
" ><?php 
        if ($display_name == "") {
            echo $index->toView($mnu);
        } else {
            echo $display_name;
        }