0byt3m1n1
Path:
/
home
/
kassiope
/
www
/
achat
/
[
Home
]
File: alphabet.php
<? include("../configuration.inc.php"); $DOC_TITLE = "GAIABOUTIK.FR"; include("$repertoire_modele/haut.php"); ?> <table border=0 cellpadding=1 cellspacing=4 width=100%> <tr> <td class="label" colspan="2"> <table cellpadding=0 cellspacing=0 border=0 > <tr><td class=tetiere align=center >Recherche</td></tr> </table> Résultat de votre recherche</td> </tr> <tr> <td colspan=2 height=20><IMG SRC="<?=$wwwroot?>/images/blank.gif" HEIGHT=20 ALT=""></td> </tr> <? $alpha = addslashes(vb($_GET['alpha'])); $resultat = mysql_query_override("SELECT id, reference, nom_".$_SESSION['langue'].", prix FROM gaia_produits WHERE etat = '1' AND alpha = '".strtolower($_GET['alpha'])."' OR alpha = '".strtoupper($_GET['alpha'])."'"); if (mysql_num_rows_override($resultat) == 0) { echo "<tr><td colspan=2 class=normal> Nous n'avons pas trouvé de résultats incluant la lettre <b>". $_GET['alpha'] ."</b>. <p></p><b>Suggestions :</b><br /><li type=square> Choisissez une autre lettre.<br /> <p></p><a href=$wwwroot/achat/index.php class=normal><b>Cliquez ici</b></a> pour consulter directement notre catalogue.</td></tr>"; } else { ?> <tr bgcolor="#eeeeee"> <td class=label>Référence</td> <td class=label>Produit</td> <td class=label>Prix</td> </tr> <? while ($recherche=mysql_fetch_array_override($resultat)) { ?> <tr> <td class=normal><?=$recherche["reference"];?></td> <td class=normal><a href=achat/produit_details.php?id=<?=$recherche["id"];?> class=normal><?=$recherche['nom_'.$_SESSION['langue'].''];?></a></td> <td class=normal><?=fprix($recherche['prix']);?> € TTC</td> </tr> <?}?> <tr> <td colspan=2 height=20><IMG SRC="<?=$wwwroot?>/images/blank.gif" HEIGHT=20 ALT=""></td> </tr> <?}?> </table> <? include("$repertoire_modele/bas.php"); ?>