1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
| <?
require ("config/config.inc.php");
//Recuperation de la page à charger dans le calque principal
if (isset($_GET["page"])){
$page= $_GET["page"];
}
else {
$page="accueil.php";
}
?>
<html>
<head>
<title>Centre Equestre Poney-Club de Goumat</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body,td,th {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #792A30;
}
body {
background-color: #F0EAEE;
}
-->
</style></head>
<body>
<table width="100%" border="0">
<tr>
<td align="center" valign="top">
<p align="center"><img src="logo_goumat.jpg" width="702" height="90"></p>
<p></p>
<p align="left"><? include("menu.php"); ?></p>
</td>
</tr>
</table>
<table width="100%" border="0">
<tr>
<td align="center" valign="top">
<?php include($page); ?></td>
</tr>
</table>
<table width="100%" border="0">
<tr>
<td align="center"> <span class="Style2">Copyright 2006 ----- <a href="http://www.goumat.fr/" target="_blank">http://www.goumat.fr</a> ----- Tous droits réservés </span></td>
</tr>
</table>
</body>
</html>
[/quote]
et la page accueil :
[quote]<?
require('config/config.inc.php');
?>
<body>
<table width="708" border="0" align="center" valign="top" bordercolor="#000000">
<tr>
<td width="702" height="99" align="center" valign="top"><p align="center">
Bonjour<p align="center" valign="top">
<?
// mettre les nouveautés
// Sélection de la table news
$retour = mysql_query("SELECT * FROM news");
while ($donnees = mysql_fetch_array($retour)){
echo $donnees['texte'];
echo "<br>";
echo "<br>";
}
// Déconnexion de MySQL
mysql_close();
?>
</td>
</tr>
</table>
<p align="center" valign="top"><p align="center" class="Style4"> <script type="text/javascript" language="javascript" src="http://www.i-services.net/membres/compteur/compteur.php?user=31210&idcpt=64410&cache=0&read_only=0"></script>
<?
echo 'Dernière modification le ';
echo date("d m y", getlastmod());
?></p>
</p>
</body>
</html> |
Partager