# Autenticazione
# require_once('lib/base.php');
$page=$_GET["page"];
if ($page == "page1"){ // "page1" can be set at what ever u want :)
$a = 1;
$file = '1biografia.html'; // $file is the file which can be included :)
}elseif ($page == "page2"){
$b = 1;
$file = '2studio.html';
}elseif ($page == "page3"){
$c = 1;
$file = '3travel.html';
}elseif ($page == "page4"){
$d = 1;
$file = '4contatti.html';
}elseif ($page == "page5"){
$e = 1;
$file = '5link_it.html';
}elseif ($page == "page6"){
$f = 1;
$file = '6contatti_it.html';
}elseif ($page == "page7"){
$g = 1;
$file = '8foto.html';
}elseif ($page == "page8"){
$h = 1;
$file = '8foto.html';
}elseif ($page == "foto1"){
$h = 1;
$file = 'foto1/foto1.html';
}elseif ($page == "foto2"){
$h = 1;
$file = 'foto2/foto2.html';
}elseif ($page == "foto3"){
$h = 1;
$file = 'foto3/foto3.html';
}elseif ($page == "foto4"){
$h = 1;
$file = 'foto4/foto4.html';
}elseif ($page == "pagelogin"){
$i = 1;
$file = "login.php";
}elseif ($page == "pagelogout"){
$file = "logout.php";
}elseif ($page == "pagepoll"){
$j = 1;
$file = "poll.php";
}else {
$a = 1;
$file = '1biografia.html';
}
function nav($text,$unf,$num){
if ($unf == "1"){
echo "";
}else {
echo "".$text."";
}
}
?>
..:. Christian Stock photographer .:..
Christian Stock photographer |
include($file); ?>
|
|