Old stuff/old_sites/clients/site.php
(Deskargatu)
<?
$db_user = "www";
$db_password = "oLZ6PrS";
$db_name = "ids";
$db_host = "localhost";
include(dirname(__FILE__)."/func.php");
$con = new connection($db_user , $db_password , $db_host , $db_name) or die("ERROR connection".$con->error);
include(dirname(__FILE__)."/auth.php");
$url = (empty($_SERVER['PATH_INFO']) ? "home" : preg_replace("/\.\./","",$_SERVER['PATH_INFO']));
$url = explode("/",$url);
array_shift($url);
# Variables ###########################
$base = "/";
$burl = "/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>Clients InDesignStudio</title>
<link type="text/css" rel="stylesheet" href="<?=$base?>style.css" />
<meta name="Author" content="In Design Studio & tfe Amaury Mline" />
<meta name="copyright" content="© 2005 In Design." />
</head>
<body>
<div class="page">
<h1>Clients InDesignStudio</h1>
<h2>" Enter your World "</h2>
<?
if (! $axx)
{
include("data/login.php");
}
else
{
include("data/fichiers.php");
}
?>
</div>
</body>
</html>