<?php
require_once("redirectionclass.php");
$var = 1; // you can replace this with a query to de DB
if($var == 0) {
$redirection = new Redirect("construction.html");
$redirection -> gorredirection();
}
elseif($var == 1) {
$redirection = new Redirect("site.html");
$redirection -> gorredirection();
}
?>
|