?> </div> <div class="statut"> <form action="<?php echo $_SERVER['PHP_SELF']; ?> " name="formchange" method="post"> <input type="hidden" name="ref" value="<?php echo $ref; ?> " /> <select name="statutch" id="statutch" onchange="formchange.submit()" class="form"> <?php $statut = new Statut(); $query = "select * from {$statut->table}"; $resul = $statut->query($query); while ($resul && ($row = $statut->fetch_object($resul))) { $statutcurdes = new Statutdesc(); $statutcurdes->charger($row->id); if ($row->id == $statutdesc->statut) { $selected = "selected"; } else { $selected = ""; } ?> <option value="<?php echo $row->id; ?> " <?php echo $selected; ?>
& <?php echo trad('Prenom', 'admin'); ?> </li> <li style="height:25px; width:66px; border-left:1px solid #96A8B5;"><?php echo trad('Montant', 'admin'); ?> </li> <li style="height:25px; width:77px; border-left:1px solid #96A8B5; background-image: url(gfx/picto_menu_deroulant.gif); background-position:right bottom; background-repeat: no-repeat;"><?php echo trad('Statut', 'admin'); ?> <ul class="Menu"> <?php $statut = new Statut(); $query_stat = "select * from {$statut->table}"; $resul_stat = $statut->query($query_stat); while ($resul_stat && ($row_stat = $statut->fetch_object($resul_stat))) { $statutdesc = new Statutdesc(); $statutdesc->charger($row_stat->id); ?> <li style="width:84px;"><a href="commande.php?statut=<?php echo $row_stat->id; ?> " name="<?php echo $row_stat->id; ?> "><?php echo $statutdesc->titre; ?> </a></li> <?php