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
| <?php
include ("connexion.php");
$req='select* from service where 1';
if (logServiceCheckbox==True)
$req.=' and nom_service='$logService'';
if (logPaysCheckbox==True)
$req.=' and pays='$logPays'';
$connexion->exec($req);
$number=$connexion->rowCount();
if ($number==1){
$resultat=$connexion->fetch(PDO::FETCH_ASSOC);
$protocole=$resultat->prot;
$MO=$resultat->mo;
header("location:index.php?protocole=$protocole;MO=$MO");
echo "Bravo le script marche";}
else {
echo "non non รงa ne marche pas "
?>
<table id="example" class="display table table-striped table-bordered" cellspacing="0" width="100%" >
<thead>
<tr>
<th>Nom Service</th>
<th>SID</th>
<th>Short-Code</th>
<th>Pays</th>
<th>Flux MO</th>
<th>Flux MT</th>
<th>DR</th>
<th>Protocole</th>
<th>Login </th>
<th>Mot de Passe</th>
<th>Version</th>
<th>Type d'acces</th>
<th>Adresse IP </th>
<th>Port</th>
<th>URL-IOSW</th>
<th>URL-MO</th>
<th>URL-DR</th>
<th>Date Demande</th>
<th>Date Production</th>
<th>Contact:Nom</th>
<th>Contact:Prenom </th>
<th>Contact:Tel</th>
<th>Contact:Email</th>
</tr>
</thead>
<tbody>
<?php
while( $resultat= $connexion->fetch() ){
?>
<tr>
<td> <?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->nom_service;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->sid;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->sc;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->pays;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->MO;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->MT;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->DR;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->prot;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->login;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->password;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->version;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->acces;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->adresseip;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->port;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->url_iosw;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->url_mo;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->url_dr;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->date_demande;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->date_prod;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->nom;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->prenom;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->tel;?></td>
<td><?php echo ?> <a href= "index.php ?protocole=$protocole;MO=$MO"><?php $resultat->email;?></td>
</tr>
<?php
}
?>
</tbody>
</table>
<?php }
?> |
Partager