Code source du fichier somlexical.php

Code source du fichier somlexical.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><?php


$sql
="SELECT niv1,niv2,niv3,niv4,niv5,titre".$suffixe.",lien FROM arborescence";

$req mysql_query($sql) or die("Erreur SQL !<br>".$sql."<br>".mysql_error());
while(
$data mysql_fetch_array($req))
{
$chaine="";
if (
$data["niv5"]!=0) {$chaine=".".$data["niv5"];echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";}
if (
$data["niv4"]!=0) {$chaine=".".$data["niv4"].$chaine;echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";}
if (
$data["niv3"]!=0) {$chaine=".".$data["niv3"].$chaine;echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";}
if (
$data["niv2"]!=0) {$chaine=".".$data["niv2"].$chaine;echo "&nbsp;&nbsp;&nbsp;&nbsp;";}
if (
$data["niv1"]!=0) {$chaine=$data["niv1"].$chaine;echo "";}
if (
strlen($chaine)==1) { echo"<hr>"; }
if (
$chaine!="") {$chaine=$chaine."&nbsp;&nbsp;";}
echo 
$chaine."<a href=".lien($data["niv1"],$data["niv2"],$data["niv3"],$data["niv4"],$data["niv5"],$data["lien"],$snd,$lng,$nav,$sty).">".$data["titre".$suffixe]."</a><br>
"
;}

?>
<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.