1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>smtpban</title>
<link rel="stylesheet" href="styleindex.css" type="text/css" media="screen"/>
</head>
<body>
<div id="toplink">
<a href="http://XXX.XXX/app/index.php"> afficher la liste </a>
</div>
<br>
<form method=post action="insert.php">
LDAP gestion smtp
<?php
include ('connect.php');
function requete($cat,$class){
$req_global = " SELECT id, produit , categorie FROM app2 WHERE categorie='$cat'";
$ret_global = mysql_query ($req_global) or die ;
$first_column = true;
echo '<table>';
while ($arr_global = mysql_fetch_array($ret_global)) {
if ($first_column) {
echo '<tr>';
}
echo '<td width="90" class="',$class,'"><form name="c"><input type="checkbox" name="dmc">';
?>
<a href="#" onclick = "document.forms.c.dmc.checked = !document.forms.c.dmc.checked; return false ">devraismarcher</a></form>
<?php
if (!$first_column) {
echo '</tr>';
}
$first_column = !$first_column;
}
echo '</table>'; |