Hey all,
Trying to acieve links with the require function
here is my code, i cant get it to work, I only get a blank screen.
##############
<?
//Start timer
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$starttime = $mtime;
//INDEX VIEW-----------------------------------------------------------------------
$a = "index.php" ;
if ($a=="") {
include "index.php"
}
//VIEW CATS------------------------------------------------------------------------
if($a=='home'){
include "index.php";
}
//------------------------------------------------------------------------
if($=='showcase'){
include "showcase.php";
}
//------------------------------------------------------------------------
if($=='portfolio'){
include "portfolio.php";
}
//------------------------------------------------------------------------
if($a=='services'){
include "services.php";
}
//------------------------------------------------------------------------
if($a=='contact'){
include "contact.php";
}
//------------------------------------------------------------------------
if($act=='splashoff'){
include "splashoff.php";
}
//------------------------------------------------------------------------
if($act=='splash_on'){
include "splashon.php";
}
//------------------------------------------------------------------------
if($act=='help'){
include "help.php";
}
//------------------------------------------------------------------------
if($act=='search'){
include "search.php";
}
//------------------------------------------------------------------------
//FOOTER FILE
?>