Tfe

Ongi etorri tfe-ren webgunera...

Old stuff/old_sites/www/popup.php

(Deskargatu)
<?
    include("connect.php");
    include("func.php");    
echo '<?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>www.monpigeonnier.be : Le portail belge des pigeonniers</title>
    <link type="text/css" rel="stylesheet" href="popup.css" />
    <meta name="Author" content="In Design Studio &amp; tfe" />
    <meta name="copyright" content="&copy; 2005 In Design." />
</head>


<body>
<div class="page">
<?
    $article = preg_replace("/[^a-zA-Z]/","",$_GET['page']);
    $id = preg_replace("/\D/","",$_GET['id']);
    $query = "SELECT * FROM mp_$article WHERE id='".$id."'";
    $result = mysql_query($query) or die(mysql_error());
    
    while($row = mysql_fetch_assoc($result))
    {
	echo "<h5>[".$row{'section'}."] ".$row{'titre'}."</h5>";
	affichage($row{'contenu'},0,0);
	
    }
?>
    


</div>



	     
	    




</div>
</body>

    









</html>