<?php require_once('../Connections/conn_bt_articles.php'); ?>
<?php
$autresSupport_rsdonneesBdd = "0";
if (isset($_POST['autresSupport'])) {
$autresSupport_rsdonneesBdd = (get_magic_quotes_gpc()) ? $_POST['autresSupport'] : addslashes($_POST['autresSupport']);
}
mysql_select_db($database_conn_bt_articles, $conn_bt_articles);
$query_rsdonneesBdd = sprintf("SELECT * FROM classification WHERE CL_autresSupport LIKE '%s' ", $autresSupport_rsdonneesBdd);
$rsdonneesBdd = mysql_query($query_rsdonneesBdd, $conn_bt_articles) or die(mysql_error());
$row_rsdonneesBdd = mysql_fetch_assoc($rsdonneesBdd);
$totalRows_rsdonneesBdd = mysql_num_rows($rsdonneesBdd);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="/Templates/Mod_gestion.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Document sans titre</title>
<!-- InstanceEndEditable --><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.Style5 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #FFFFFF; }
-->
</style>
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#F6A01A">
<th width="38%" rowspan="2" scope="col"><a href="../index.php"><img src="../Image/logoOrange.gif" alt="" width="211" height="51"></a></th>
<th width="30%" height="33" scope="col"><span class="Style5"><a href="InsererLettre.php">Insérer lettre d'information</a> </span></th>
<th width="32%" scope="col"><span class="Style5"><a href="SupprimerLettre.php">Supprimer lettre d'information </a></span></th>
</tr>
<tr>
<td colspan="2" bgcolor="#F6A01A"><div align="center" class="Style5"><strong></strong></div>
<div align="center" class="Style5"><strong><a href="RechercherLettre.php">Rechercher lettre d'information</a></strong></div></td>
</tr>
</table>
<!-- InstanceBeginEditable name="RégionModif3" -->
<?php
//TEV Search Result rsdonneesBdd
$balise = '<strong>';
$fin_balise = '</strong>';
$ = $_POST[''];
if(empty($_POST['']))
{
echo htmlentities("Erreur ! Le champ de recherche est vide.");
exit();
}
elseif ($totalRows_rsdonneesBdd == 1)
{ echo ''.$totalRows_rsdonneesBdd.' '.htmlentities("enregistrement trouvé pour votre requête :").' '.$balise.''.$_POST[''].''.$fin_balise.'';
}
elseif ($totalRows_rsdonneesBdd >1)
{ echo ''.$totalRows_rsdonneesBdd.' '.htmlentities("enregistrements trouvés pour votre requête :").' '.$balise.''.$_POST[''].''.$fin_balise.'';
}
else
{ echo ''.htmlentities("aucun enregistrement trouvé pour votre requête :").' '.$balise.''.@$_POST[''].''.$fin_balise.'';
}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><?php do { ?>
<?php if ($totalRows_rsdonneesBdd > 0) { // Show if recordset not empty ?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"> </th>
<th scope="col"> </th>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
<?php } // Show if recordset not empty ?>
<?php } while ($row_rsdonneesBdd = mysql_fetch_assoc($rsdonneesBdd)); ?> <p> </p>
<form name="form1" method="post" action="index.php">
<input type="submit" name="Submit2" value="Retour accueil">
</form>
<form name="form2" method="post" action="RechercherLettre.php">
<input type="submit" name="Submit" value="Continuer les recherches">
</form> <p> </p></th>
</tr>
</table>
<!-- InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html>
<?php
mysql_free_result($rsdonneesBdd);
?>
Partager