Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table id="tableVolToDo" class="display" style="width:100%">
- <thead>
- <tr>
- <th>Num Commande</th>
- <th>Qté</th>
- <th>Date Livraison</th>
- <th>Type Verre</th>
- <th>Largeur</th>
- <th>Hauteur</th>
- <th>Façonnage</th>
- <th>Commentaire</th>
- <th>Chute(s) suggérée(s)</th>
- <th>Produire</th>
- <th>Supprimer</th>
- </tr>
- </thead>
- <tbody>
- <?php
- $sqllistvol = "SELECT idListeVolume,numCom,lettre,x,nnn,datelivraison,typeverre,largeur,hauteur,faconnage,commentaire,chutesug
- FROM safetyglass_db.listevolume
- ORDER BY numCom";
- $listVol = $db->query($sqllistvol);
- foreach ($listVol as $row) {
- $qte=$row['nnn'] ."/". $row['x'];
- $numcom=$row['numCom'] ." ". $row['lettre'];
- $idVol=$row['idListeVolume'];
- echo "<tr class='lignetab'>
- <td id=$idVol>$numcom</td>
- <td>$qte</td>
- <td>"; changeDate($row['datelivraison']); echo "</td>
- <td>" . $row['typeverre'] . "</td>
- <td>" . $row['largeur'] . "</td>
- <td>" . $row['hauteur'] . "</td>
- <td>" . $row['faconnage'] . "</td>
- <td>" . $row['commentaire'] . "</td>
- <td>" . $row['chutesug'] . "</td>
- <td><a href='usevol.php?idVol=".$idVol."'>Produire</a></td>
- <td><button class=\"buttonvol\" type=\"button\" name=\"button\" onclick=\"deleteVol('$numcom','$qte','$idVol');\">
- Supprimer
- </button></td>
- </tr>";
- }
- /* Utiliser : call a php sql script to use it */
- /* Supprimer : call a php function with confirmation to delete */
- ?>
- </tbody>
- <tfoot>
- <tr>
- <th>Num Commande</th>
- <th>Qté</th>
- <th>Date Livraison</th>
- <th>Type Verre</th>
- <th>Largeur</th>
- <th>Hauteur</th>
- <th>Façonnage</th>
- <th>Commentaire</th>
- <th>Chute(s) suggérée(s)</th>
- <th>Produire</th>
- <th>Supprimer</th>
- </tr>
- </tfoot>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement