Code source du fichier readguest.php

Code source du fichier readguest.php :

(c) John Bonobo - Bonobo Future Systems Inc. - Nancy, Berlin, 2000-2003.


<?php

// /////////////////////////////////////////////////////////////////////// //
//
// Author: John Bonobo (Bonobo Future Systems)
// Copyright (C) 2000-2003, John Bonobo
// john.bonobo@free.fr
// http://john.bonobo.free.fr
//
// /////////////////////////////////////////////////////////////////////// //
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the
// Free Software Foundation; either version 2 of the License, or (at your
// option) any later version.
//
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License along
// with this program; if not, write to the Free Software Foundation, Inc.,
// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//
// GNU General Public License : http://www.gnu.org/licenses/gpl.html
// Free Software Foundation : http://www.gnu.org/fsf/fsf.html
//
// /////////////////////////////////////////////////////////////////////// //

?>


<center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><hr>
<?php
$sql 
"SELECT nom,email,pageweb,message,heure FROM guestbook ORDER BY ID DESC";
$req mysql_query($sql) or die("Erreur SQL !<br>".$sql."<br>".mysql_error());
while(
$data mysql_fetch_array($req))
    {
     echo 
"<br><b>".$data["nom"]."</b> - <a href=\"mailto:".$data["email"]."\"><b>".$data["email"]."</b></a><br>";
     echo 
"<a href=\"".$data["pageweb"]."\">".$data["pageweb"]."</a><br>";
     echo 
"<b>".$data["heure"]."</b>";
     echo 
"<p style=\"text-align:left;\">".$data["message"]."</p>";
     echo
"<hr>
"
;
    }
?><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><center><script type="text/javascript"><!--
google_ad_client = "pub-9072325218963400";
/* 728x90, date de création 24/04/11 */
google_ad_slot = "1201648247";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>

Sources PHP du site officiel de John Bonobo

(c) John Bonobo - Bonobo Future Systems Inc. - Nancy, Berlin, 2000-2003.




Cette page respecte les standards définis par le W3C.