<?php
include('../includes/init.inc.php');
include('../'.CLASS_DIR.'user.inc.php');
include('../'.CLASS_DIR.'config.inc.php');
include('../includes/get_sessions_functions.inc.php');
/*Ca ca servira plus tard pour savoir si l'utilisateur est connecté et quel est son pseudo */
$user=new User(get_session_user(),get_session_password());
$user->is_connected();
$err=NULL;
try {
$config=new Config($_GET['user']);
}
catch(Exception $e) {
header('location: notfound.php?404='.
$_GET['user']);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php
echo TITRE_SITE; ?></title>
<link rel="stylesheet" href="../media/css.css" />
</head>
<body>
<div id="principal">
<div id="principal2">
<div id="haut"><div id="coingh"></div><div id="coindh"></div>
</div>
<div id="contenu_header">
<h2><?php
echo $config->title ?></h2>
</div>
<div id="bas">
<div id="coingb"></div>
<div id="coindb"></div>
</div>
<div id="haut"><div id="coingh"></div><div id="coindh"></div>
</div>
<div id="contenu">
<table id="table">
<tr>
<td id="main">
<!-- aff du blog -->
</td>
<td id="sommaire">
<img src="<?php echo $config->logo ?>" width="125" />
<p><strong><?php
echo $config->title ?></strong></p>
<p align=
"justify"><?php
echo $config->description ?></p>
</td>
</tr></table>
</div>
<div id="bas">
<div id="coingb"></div>
<div id="coindb"></div>
</div>
</div>
</div>
</body>
</html>