Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require 'inc/functions.php';
- logged_only();
- require 'inc/header.php';
- ?>
- <div class="alert alert-info" role="alert">
- Tous vos services sont listés ci-dessous.
- </div>
- <div class="panel panel-default">
- <div class="panel-body">
- <table class="table grid table-striped table-bordered table-condensed">
- <thead>
- <tr>
- <th>ID</th>
- <th>Produits</th>
- <th>Date d'expiration</th>
- <th>Renouveler</th>
- <th>Etat</th>
- </tr>
- </thead>
- <tbody>
- <tr class="info">
- <td>01415967</td>
- <td>Serveur Teamspeak 3 32 Slots</td>
- <td>28/12/2016</td>
- <td>Cliquez ici</td>
- <td><span class="label label-info">Création</span></td>
- </tr>
- <tr class="success">
- <td>01854958</td>
- <td>Serveur Teamspeak 3 128 Slots</td>
- <td>28/12/2016</td>
- <td>Cliquez ici</td>
- <td><span class="label label-success">Actif</span></td>
- </tr>
- <tr class="warning">
- <td>01961535</td>
- <td>Serveur Teamspeak 3 64 Slots</td>
- <td>28/04/2016</td>
- <td>Cliquez ici</td>
- <td><span class="label label-warning">Expiré</span></td>
- </tr>
- <tr class="danger">
- <td>01583549</td>
- <td>Serveur Teamspeak 3 256 Slots</td>
- <td>28/04/2016</td>
- <td>Cliquez ici</td>
- <td><span class="label label-danger">Suspendu</span></td>
- </tr>
- </tbody>
- </table>
- <ul class="pager">
- <li class="previous disabled"><a href="">← Précédent</a></li>
- <li class="next"><a href="">Suivant →</a></li>
- </ul>
- <h2>Légende</h2>
- <p class="text-info">Création</p>
- <p class="text-success">Actif</p>
- <p class="text-warning">Expiré</p>
- <p class="text-danger">Suspendu</p>
- <br><br><br><br>
- <tr>
- <?php
- $newssql = $odb ->query("SELECT * FROM produits ORDER BY price ASC");
- while($row = $newssql ->fetch())
- {
- echo '<td>'.$row['name'].'</td>
- <td>Lifetime</td>
- <td>'.$row['mbt'].' Secondes</td>
- <td>25 Gbps</td>
- <td>Disponible</td>
- <td>'.$row['price'].'</td>
- <td>
- <a href="order.php?id='.$row['ID'].'"><button class="btn btn-info" type="submit">
- <i class="icon-shopping-cart"></i> Buy Now !
- </button></a>
- </td>
- </tr>';
- }
- ?>
- </div>
- </div>
- <?php require 'inc/footer.php'; ?>
Advertisement
Add Comment
Please, Sign In to add comment