<?php
// //Events @1-F81417CB

//top_BeforeShow @1-462501E2
function top_BeforeShow(& $sender)
{
    $top_BeforeShow = true;
    $Component = & $sender;
    $Container = & CCGetParentContainer($sender);
    global $top; //Compatibility
//End top_BeforeShow

//Custom Code @2-2A29BDB7
// -------------------------
    // Write your own code here.
	$str = "";
	$str_common = "<div id=\"menu_top\">";
global $FileName;

//echo "filename : ".$FileName;
	switch ($FileName) {
    case "recensement_index.php":
        $str = "<div id=\"menu_top_actif\">Saisie</div>";
        $str .= $str_common."<a href=\"recensement_all.php\">Liste complète</a></div>";
        $str .= $str_common."<a href=\"recensement_stats.php\">Statistiques</a></div>";
		$str .= $str_common."<a href=\"info.php\">PHP Info</a></div>";
		$str .= $str_common."<a href=\"recensement_pseudo.php\">Pseudos</a></div>";
		$str .= $str_common."<a href=\"recensement_num_serie.php\">Num Série</a></div>";
		$str .= $str_common."<a href=\"recensement_variation.php\">Variation</a></div>";
        break;
    case "recensement_all.php":
        $str = $str_common."<a href=\"recensement_index.php\">Saisie</a></div>";
        $str .= "<div id=\"menu_top_actif\">Liste complète</div>";
        $str .= $str_common."<a href=\"recensement_stats.php\">Statistiques</a></div>";
		$str .= $str_common."<a href=\"info.php\">PHP Info</a></div>";
		$str .= $str_common."<a href=\"recensement_pseudo.php\">Pseudos</a></div>";
		$str .= $str_common."<a href=\"recensement_num_serie.php\">Num Série</a></div>";
		$str .= $str_common."<a href=\"recensement_variation.php\">Variation</a></div>";
        break;
    case "recensement_stats.php":
        $str = $str_common."<a href=\"recensement_index.php\">Saisie</a></div>";
        $str .= $str_common."<a href=\"recensement_all.php\">Liste complète</a></div>";
        $str .= "<div id=\"menu_top_actif\">Statistiques</div>";
		$str .= $str_common."<a href=\"info.php\">PHP Info</a></div>";
		$str .= $str_common."<a href=\"recensement_pseudo.php\">Pseudos</a></div>";
		$str .= $str_common."<a href=\"recensement_num_serie.php\">Num Série</a></div>";
		$str .= $str_common."<a href=\"recensement_variation.php\">Variation</a></div>";
        break;
 	case "info.php":
        $str = $str_common."<a href=\"recensement_index.php\">Saisie</a></div>";
        $str .= $str_common."<a href=\"recensement_all.php\">Liste complète</a></div>";
		$str .= $str_common."<a href=\"recensement_stats.php\">Statistiques</a></div>";
        $str .= "<div id=\"menu_top_actif\">PHP Info</div>";
		$str .= $str_common."<a href=\"recensement_pseudo.php\">Pseudos</a></div>";
		$str .= $str_common."<a href=\"recensement_num_serie.php\">Num Série</a></div>";
		$str .= $str_common."<a href=\"recensement_variation.php\">Variation</a></div>";
        break;
 	case "recensement_pseudo.php":
        $str = $str_common."<a href=\"recensement_index.php\">Saisie</a></div>";
        $str .= $str_common."<a href=\"recensement_all.php\">Liste complète</a></div>";
		$str .= $str_common."<a href=\"recensement_stats.php\">Statistiques</a></div>";
        $str .= $str_common."<a href=\"info.php\">PHP Info</a></div>";
		$str .= "<div id=\"menu_top_actif\">Pseudos</div>";
		$str .= $str_common."<a href=\"recensement_num_serie.php\">Num Série</a></div>";
		$str .= $str_common."<a href=\"recensement_variation.php\">Variation</a></div>";
        break;
	case "recensement_num_serie.php":
        $str = $str_common."<a href=\"recensement_index.php\">Saisie</a></div>";
        $str .= $str_common."<a href=\"recensement_all.php\">Liste complète</a></div>";
		$str .= $str_common."<a href=\"recensement_stats.php\">Statistiques</a></div>";
        $str .= $str_common."<a href=\"info.php\">PHP Info</a></div>";
		$str .= $str_common."<a href=\"recensement_pseudo.php\">Pseudos</a></div>";
		$str .= "<div id=\"menu_top_actif\">Num Série</div>";
		$str .= $str_common."<a href=\"recensement_variation.php\">Variation</a></div>";
        break;
	case "recensement_variation.php":
        $str = $str_common."<a href=\"recensement_index.php\">Saisie</a></div>";
        $str .= $str_common."<a href=\"recensement_all.php\">Liste complète</a></div>";
		$str .= $str_common."<a href=\"recensement_stats.php\">Statistiques</a></div>";
        $str .= $str_common."<a href=\"info.php\">PHP Info</a></div>";
		$str .= $str_common."<a href=\"recensement_pseudo.php\">Pseudos</a></div>";
		$str .= $str_common."<a href=\"recensement_num_serie.php\">Num Série</a></div>";
		$str .= "<div id=\"menu_top_actif\">Variation</div>";        
		break;
}

$top->lblText->SetValue($str);


// -------------------------
//End Custom Code

//Close top_BeforeShow @1-AEAA760A
    return $top_BeforeShow;
}
//End Close top_BeforeShow


?>