/* No menu dinâmico o botão clicado deve ficar inativo e com coloração de fundo diferenciada. $bt_name é o array contendo o nome de cada botão, de acordo com os possíveis valores de "content" na URL $bt_title é o array contendo o title (dica do link) de cada botão, tbem de acordo com os possíveis valores de "content" na URL Dentro do foreach: $bt_name[$key] exibe o valor de bt_name Ex.: P/ "bt1" exibe o valor "About" $bt_title[$key] exibe o valor de bt_title Ex.: P/ "bt1" exibe o valor "About ISMM" $key exibe o indice (entrada ou chave) Ex.: P/ "bt1" exibe "bt1" No arquivo index já foi definido que "$bt_content=$_GET[content];", mas como este arquivo é um include precisa definir isso de novo no início deste arquivo */ $bt_content=$_GET[content]; /* Nome do Botão */ $bt_name = array( "about" => "About", "themes" => "Themes", "hotel" => "Event´s Location", "host_city" => "Host City", "call_for_papers" => "Call for Papers", "committee" => "Program Committee", "organization" => "Organization", "heijmans_fund" => "Heijmans Fund", "previous_contributions" => "Previous ISMM", "useful_links" => "Useful Links", "sponsors" => "Sponsors", "submission" => "Submission", "contact" => "Contact Us" ); /* Dica do Botão */ $bt_title = array( "about" => "About ISMM", "themes" => "Themes", "hotel" => "Event´s Location - Luxor Regente Hotel", "host_city" => "Host City - Information about Rio de Janeiro", "call_for_papers" => "Call for Papers", "committee" => "Program Committee", "organization" => "Organization", "heijmans_fund" => "Call for Donations: Henk Heijmans Solidarity Fund", "previous_contributions" => "Previous ISMM", "useful_links" => "Useful Links", "sponsors" => "Sponsors", "submission" => "Submission", "contact" => "Contact Us" ); //Incluir posteriormente: "Author Instructions", "Program", "Invited Speakers", "Registration", "Conference Venue", "Hotel Reservation", "Sponsors" ?>
\n";
echo "\t\t\t \n";
echo "\t\t\t\t\n";
echo "\t\t\t\t ".$bt_name[$key]." \n";
echo "\t\t\t \n";
echo "\t\t | \n";
echo "\t
\n";
echo "\t\t\t \n";
echo "\t\t\t\t\n";
echo "\t\t\t\t\t\n";
echo "\t\t\t\t\t ".$bt_name[$key]." \n";
echo "\t\t\t\t\n";
echo "\t\t\t \n";
echo "\t\t | \n";
echo "\t