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
   | <html>
 
<?php include('../dropnft/config/connectiondb.php'); ?>
 
<head>
 
  <meta charset="utf-8">
 
  <link rel="icon" type="image/x-icon" href="/dropnft/images/logotest1.png">
 
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
 
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
 <!-- Bootstrap Font Icon CSS -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css" />
 
 <link href="../dropnft/style.css" rel="stylesheet" type="text/css">
 
</head>
 
 
<body>
 
<?php include('../dropnft/config/verticalnavbar.php'); ?>
 
<div style="padding-left: 15vw; padding-top: 10vh; height: 100vh; width: 100%">
  <div style="float: left; width:100%;">
    <h4 style="text-align: center">Commandes</h4>
    <table class="table" style="background-color: #ffff;">
      <thead>
        <tr>
          <th scope="col">#</th>
          <th scope="col">Date commande</th>
        </tr>
      </thead>
      <?php
      $query = mysqli_query($connection, "select * from commande");
      $row = mysqli_fetch_array($query);
        ?>
      <tbody>
      <?php 
      foreach($row as $row=>$query) {
      echo "<tr>";
      echo "<th scope="row">$row</th>";
      echo "<td>$row</td>";
      echo "</tr>";
      ?>
        <tr>
          <th scope="row"><?php echo $row['id_commande']; ?></th>
          <td><?php echo $row['date_commande']; ?></td>
        </tr>
      </tbody>
    </table>
  </div>
</div>
 
</body>
 
<?php include('../dropnft/config/footer.php'); ?>
 
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
 
</html> | 
Partager