Tfe

Ongi etorri tfe-ren webgunera...

Old stuff/old_sites/pigeon/index.php

(Deskargatu)
<? include("connect.php");  include("func.php"); ?>
<html>
<head>
<title> - LBB </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!--Fireworks MX 2004 Dreamweaver MX 2004 target.  Created Sun Jan 09 04:09:58 GMT+0100 2005-->
<style type="text/css">
<!--
body,td,th {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9px;
	color: #333333;
}
body {
	margin-left: 15px;
	margin-top: 15px;
	margin-right: 15px;
	margin-bottom: 15px;
}
a:link {
	color: #000000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #666666;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body bgcolor="#ffffff" onLoad="MM_preloadImages('images/home_on.png','images/shop_on.png','images/pigeon_on.png','images/mega_on.png','images/contact_on.png')">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="780">
  <tr>
   <td><img src="images/spacer.gif" width="196" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="7" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="10" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="347" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="12" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="175" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="33" height="1" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
  </tr>

  <tr>
   <td colspan="7"><img name="index_r1_c1" src="images/header.png" width="780" height="384" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="384" border="0" alt=""></td>
  </tr>
  <tr>
   <td rowspan="4" colspan="2"><img name="index_r2_c1" src="images/nav.png" width="203" height="74" border="0" alt=""></td>
   <td colspan="5"><img name="about" src="images/about.png" width="577" height="41" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="41" border="0" alt=""></td>
  </tr>
  <tr>
   <td colspan="5"><img name="index_r3_c3" src="images/index_r3_c3.png" width="577" height="20" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="20" border="0" alt=""></td>
  </tr>
  <tr>
   <td colspan="3"><img name="index_r4_c3" src="images/index_r4_c3.png" width="369" height="1" border="0" alt=""></td>
   <td rowspan="7"><img name="index_r4_c6" src="images/image1.png" width="175" height="148" border="0" alt=""></td>
   <td rowspan="15"><img name="index_r4_c7" src="images/index_r4_c7.png" width="33" height="649" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
  </tr>
  <tr>
   <td rowspan="14"><img name="index_r5_c3" src="images/index_r5_c3.png" width="10" height="648" border="0" alt=""></td>
   <td style="background-color:#f7f7f7; " rowspan="5" align="left" valign="top"><p>Bienvenue sur le site officiel de la sprl LBB </p>
     <p>Nos activit&eacute;es sont les suivantes : </p>
     <ul>
     <? 
     $query = "SELECT * from pig_activite ORDER BY id ASC";
     $result = mysql_query($query) or die(mysql_error());
     while($row = mysql_fetch_assoc($result))
     {
        echo "<li>".$row{'activite'}."</li>\n";
     }
     ?>
     </ul></td>
   <td rowspan="14"><img name="index_r5_c5" src="images/index_r5_c5.png" width="12" height="648" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="12" border="0" alt=""></td>
  </tr>
  <tr>
   <td><a href="index.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Home','','images/home_on.png',1)"><img src="images/home.png" name="Home" width="196" height="28" border="0"></a></td>
   <td rowspan="13"><img name="index_r6_c2" src="images/index_r6_c2.png" width="7" height="636" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="28" border="0" alt=""></td>
  </tr>
  <tr>
   <td><img name="index_r7_c1" src="images/index_r7_c1.png" width="196" height="39" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="39" border="0" alt=""></td>
  </tr>
  <tr>
   <td><a href="shop.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Shop','','images/shop_on.png',1)"><img src="images/menushop.png" name="Shop" width="196" height="28" border="0"></a></td>
   <td><img src="images/spacer.gif" width="1" height="28" border="0" alt=""></td>
  </tr>
  <tr>
   <td><img name="index_r9_c1" src="images/index_r9_c1.png" width="196" height="39" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="39" border="0" alt=""></td>
  </tr>
  <tr>
   <td rowspan="2"><a href="pigeon.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Pigeon','','images/pigeon_on.png',1)"><img src="images/menupigeon.png" name="Pigeon" width="196" height="28" border="0"></a></td>
   <td rowspan="3"><img name="index_r10_c4" src="images/index_r10_c4.png" width="347" height="58" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
  </tr>
  <tr>
   <td rowspan="2"><img name="index_r11_c6" src="images/index_r11_c6.png" width="175" height="57" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="27" border="0" alt=""></td>
  </tr>
  <tr>
   <td rowspan="2"><img name="index_r12_c1" src="images/index_r12_c1.png" width="196" height="39" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="30" border="0" alt=""></td>
  </tr>
  <tr>
  <?
  $query = "SELECT date,contenu FROM pig_news ORDER BY id DESC LIMIT 1";
  $result = mysql_query($query) or die(mysql_error());
  echo '<td rowspan="5" align="left" valign="top">';  
  while($row = mysql_fetch_assoc($result))
  {
    affichage($row{'contenu'},0,0);
  }
  
  echo "</td>";
  ?>
   <td rowspan="5"><img name="index_r13_c6" src="images/image2.png" width="175" height="127" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="9" border="0" alt=""></td>
  </tr>
  <tr>
   <td><a href="mega.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Mega','','images/mega_on.png',1)"><img src="images/mega.png" name="Mega" width="196" height="28" border="0"></a></td>
   <td><img src="images/spacer.gif" width="1" height="28" border="0" alt=""></td>
  </tr>
  <tr>
   <td><img name="index_r15_c1" src="images/index_r15_c1.png" width="196" height="39" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="39" border="0" alt=""></td>
  </tr>
  <tr>
   <td><a href="contact.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Contact','','images/contact_on.png',1)"><img src="images/contact.png" name="Contact" width="196" height="28" border="0"></a></td>
   <td><img src="images/spacer.gif" width="1" height="28" border="0" alt=""></td>
  </tr>
  <tr>
   <td rowspan="2"><img name="index_r17_c1" src="images/index_r17_c1.png" width="196" height="340" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="23" border="0" alt=""></td>
  </tr>
  <tr>
   <td><img name="index_r18_c4" src="images/index_r18_c4.png" width="347" height="317" border="0" alt=""></td>
   <td><img name="index_r18_c6" src="images/index_r18_c6.png" width="175" height="317" border="0" alt=""></td>
   <td><img src="images/spacer.gif" width="1" height="317" border="0" alt=""></td>
  </tr>
</table>
</center>
</body>
</html>