<?php
require 'connect.php';
$sql="SELECT text, pieces FROM content WHERE page='".basename($_SERVER['PHP_SELF'])."'";
$result = mysql_query($sql, $link);
$ligne = mysql_fetch_array($result, MYSQL_ASSOC);
$text=$ligne['text'];
$pieces=$ligne['pieces'];
?>
<!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>GRDR</title>
<link href="style/style.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
</head>

<body>
	<div id="container">
		<div id="header">
        	<div id="contact">
            	<a href="mailto:grdr@grdr.org"><img src="images/contact.gif" /></a>
            </div>
            <a href="index.php" class="retour"></a>
            <div style="margin-top:-143px;margin-left:10px;width:90px;height:81px;"><a href="http://www.grdr.org"><img src="images/logo_grdr.gif" style="border:none;" /></a></div>
        </div>
        <div id="menu">
        	<a href="#" id="accueil_lien" onClick="return false">PR&Eacute;SENTATION DU PROGRAMME</a>
            <a href="#" id="accueil_lien2" onClick="return false">PORTAIL DES COLLECTIVIT&Eacute;S LOCALES</a>
            <a href="#" id="accueil_lien3" onClick="return false">OUTIL ET M&Eacute;THODES </a>
        </div>
        <div id="content">
        	<div id="pwd">
            	<p>Outils et m&eacute;thodes<br /><img src="images/hr.gif" /></p>
            </div>
            <div id="partie_droite">
                
            </div>
            <div id="text3">
            	<?php echo $text; ?>
            </div>
            <div id="telechargements3">
                <div class="titre_bg">T&eacute;l&eacute;chargements</div>
                <div id="pieces"><?php echo $pieces; ?></div>
            </div>
        </div>
        <div id="footer">
        	<p>AVEC L'APPUI FINANCIER DE :</p>
            <p id="logos">
            	<img src="images/logo.jpg" border="0" usemap="#Map" />
<map name="Map" id="Map"><area shape="rect" coords="4,6,100,73" href="http://ec.europa.eu/europeaid/index_fr.htm" /><area shape="rect" coords="110,5,191,114" href="http://www.immigration.gouv.fr/" /><area shape="rect" coords="206,6,337,114" href="http://www.diplomatie.gouv.fr/" /><area shape="rect" coords="343,6,424,117" href="http://www.regioncentre.fr/jahia/Jahia/" /><area shape="rect" coords="426,6,519,117" href="http://www.nordpasdecalais.fr/" /><area shape="rect" coords="520,64,771,111" href="http://www.iledefrance.fr/" /><area shape="rect" coords="520,1,774,57" href="http://www.vialemonde93.net/" /><area shape="rect" coords="-1,73,100,187" href=" 	http://www.ccfd.asso.fr/" /><area shape="rect" coords="142,130,235,174" href="http://www.cfsi.asso.fr/index.aspx?IdItem=29&IdDoc=179" /><area shape="rect" coords="302,130,379,176" href="http://www.accioncontraelhambre.org/" /><area shape="rect" coords="599,121,740,181" href="http://www.secours-catholique.org/" /><area shape="rect" coords="453,131,532,176" href="http://www.intermonoxfam.org/es/page.asp?id=1" /></map>
            </p>
            <p id="mentions"><a href="mentions.php">© 2009 GRDR Mentions légales</a>&nbsp;&nbsp;&nbsp;—&nbsp;&nbsp;&nbsp;<a href="plan.php">Plan du site</a>&nbsp;&nbsp;&nbsp;—&nbsp;&nbsp;&nbsp;Graphisme : <a href="mailto:laetitia@hawaii.fr">Laetitia Langlois</a>&nbsp;&nbsp;&nbsp;—&nbsp;&nbsp;&nbsp;programmation : <a href="mailto:seb.jacquemont@gmail.com">Seb Jacquemont</a></p>
        </div>
        <div id="sous_menu1">
        	<a href="axe1.php" class="sous_menu">Axe 1 : Processus de d&eacute;veloppement local concert&eacute;</a>
        	<a href="axe2.php" class="sous_menu">Axe 2 : Intercommunalit&eacute;, r&eacute;gions et transfrontalier</a>
            <a href="axe3.php" class="sous_menu">Axe 3 : D&eacute;veloppement &eacute;conomique local</a>
            <a href="axe4.php" class="sous_menu">Axe 4 : Du &laquo; local &agrave; l’international &raquo;... avec les migrants</a>
            <a href="axe5.php" class="sous_menu">Axe 5 : Capitalisation, plaidoyer</a>
        </div>
        <div id="sous_menu2">
        	<a href="mali.php" class="sous_menu">Mali</a>
        	<a href="mauritanie.php" class="sous_menu">Mauritanie</a>
            <a href="senegal.php" class="sous_menu">S&eacute;n&eacute;gal</a>
        </div>
	</div>

<script>
// Gestion des sous-menus
document.getElementById("accueil_lien").onmouseover=document.getElementById("sous_menu1").onmouseover=function() {
	document.getElementById("sous_menu1").style.visibility="visible";
	document.getElementById("accueil_lien").style.color="#ddbb6d";
}
document.getElementById("sous_menu1").onmouseout=document.getElementById("accueil_lien").onmouseout=function() {
	document.getElementById("sous_menu1").style.visibility="hidden";
	document.getElementById("accueil_lien").style.color="#FFFFFF";
}
document.getElementById("accueil_lien2").onmouseover=document.getElementById("sous_menu2").onmouseover=function() {
	document.getElementById("sous_menu2").style.visibility="visible";
	document.getElementById("accueil_lien2").style.color="#ddbb6d";
}
document.getElementById("sous_menu2").onmouseout=document.getElementById("accueil_lien2").onmouseout=function() {
	document.getElementById("sous_menu2").style.visibility="hidden";
	document.getElementById("accueil_lien2").style.color="#FFFFFF";
}
</script>

</body>
</html>