Código PHP:
<?php
if(!isset($_GET['page'])){
include("pages/home/home.php");//home
}elseif($_GET['page'] == "home"){
include("pages/home/home.php");//home
}elseif($_GET['page'] == "contacto"){
include("pages/contacto/contacto.php");//contacto
}
?>
<?php
if(!isset($_GET['manuales'])){
include("pages/manuales/manuales.php");//home
}elseif($_GET['manuales'] == "manuales"){
include("pages/manuales/manuales.php");//home
}
?>
<?php
if(!isset($_GET['html'])){
include("pages/html/html.php");//home
}elseif($_GET['html'] == "html"){
include("pages/html/html.php");//home
}
?>
<?php
if(!isset($_GET['css'])){
include("pages/css/css.php");//home
}elseif($_GET['css'] == "css"){
include("pages/css/css.php");//home
}
?>
<?php
if(!isset($_GET['psd'])){
include("pages/psd/psd.php");//home
}elseif($_GET['psd'] == "psd"){
include("pages/psd/psd.php");//home
}
?>
<?php
if(!isset($_GET['js'])){
include("pages/js/js.php");//home
}elseif($_GET['js'] == "js"){
include("pages/js/js.php");//home
}
?>
<?php
if(!isset($_GET['php'])){
include("pages/php/php.php");//home
}elseif($_GET['php'] == "php"){
include("pages/php/php.php");//home
}
?>
¿Cómo hago para que funcione?
URL: pidanlá por que capaz que piensan que hago spam