Tfe

Ongi etorri tfe-ren webgunera...

Old stuff/old_sites/ids/site.php

(Deskargatu)
<? 
$url  = (empty($_SERVER['PATH_INFO']) ? "home" : $_SERVER['PATH_INFO']);
$url = explode("/",$url);
array_shift($url);

include(dirname(__FILE__)."/func.php");

$contact_mail = "contact@InDesignStudio.be";

$db_user = "www";
$db_password = "oLZ6PrS";
$db_name = "ids";
$db_host = "localhost";

$con = new connection($db_user , $db_password , $db_host , $db_name) or die("ERROR connection".$con->error);
include(dirname(__FILE__)."/auth.php");





# Variables  ###########################
    $base = "/ids/";
    $burl = "/ids/site.php/";
    $local = dirname(__FILE__);
########################################





print '<?xml version="1.0" encoding="iso-8859-1"?>'; 

?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">


<head>
    <title>InDesignStudio</title>
    <link type="text/css" rel="stylesheet" href="<?=$base?>style.css" />
    <meta name="Author" content="In Design Studio &amp; tfe Amaury Mline" />
    <meta name="copyright" content="&copy; 2005 In Design." />
</head>


<body>
<div class="page">
<h1>InDesignStudio</h1>
<h2 class="<?=$url[0]?>">&quot;Art is EVERYWHERE &quot;</h2>


<? 
    include("menu.php");
    if (!file_exists($local."/data/$url[0].php")) {$url  = array("home"); }
    include(dirname(__FILE__)."/data/$url[0].php");

    
    include("footer.php"); 
?>






</div>
</body>

</html>