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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
| <html>
<head>
</head>
<body onload="window.parent.opener.location.href='#'; window.self.close()">
<center>
<table border>
<tr bgcolor="#dedede">
<th>Id_contact</th>
<th>Prénom</th>
<th>Nom</th>
<th>Structure</th>
<th>Type</th>
<th>Select</th>
<th>Sal_Ref1</th>
<th>Montant_adhesion</th>
<th>Adresse2</th>
<th>Mail</th>
<th>Raison_contact</th>
<th>Supp</th>
<?
//$total = mysql_fetch_row($rech);
for( $i = 0 ; $i < count($rech); $i++)
{
if( $i % 2 == 0 ) { $coul ="#AAB734"; }else{ $coul = "#CFDF3F"; }
$c=$rech[$i];
echo '<tr bgcolor='.$coul.'>';
echo '<td>'.$c->id_contact.'</td>
<td>'.$c->Prenom.'</td>
<td>'.$c->Nom.'</td>
<td>'.$c->Structure.'</td>
<td>'.$c->Categorie_principale.' '.$c->Spe_agriculture.' '.$c->Spe_Bois.' '.$c->Spe_Repas.'</td>
<td><a href="javascript:poponload_modif('.$c->id_contact.');"><img src="image/modifier.gif" /></a></td>';
echo '<td>'.$c->Sal_Ref1.'</td>
<td>'.$c->Montant_adhesion.'</td>
<td>'.$c->Adresse2.'</td>
<td><a href="mailto:'.$c->Mail.'"> @</a>'.$c->Mail.'</td>
<td>'.$c->Raison_contact.'</td>
<td><a href="javascript:poponload_supp('.$c->id_contact.');"><img src="image/supprimer.png" /></a></td>';
echo '</tr>';
echo "\n";
}
echo '</table></center></br>';
echo '<left>';
echo ' Nombre de résultats : '.$i;
echo '</left></br>';
?>
<center>
<table>
<tr>
<th><input type="submit" name="Envoi Mail" value="Envoi Mail" />
<input type="button" name="CheckAll" value="Select All" onClick="checkAll(document.contact.choix); "/></th>
<?php
?>
</tr>
</table></center></form>
</body>
</html>
<?php
FRAME::corps_end();
FRAME::pied();
?> |
Partager