<?php
include '../session_restraintes.php';
?>

<!DOCTYPE html>
<html lang="fr">
    <head>
        <?php include 'include/menu.php'; ?>
        <script type="text/javascript" src="js/search.js" defer></script>
    </head>
    
    <body id='corps'>
        <?php include 'include/nav.php'; ?>
        <form id="form" action="js/search.php" method="POST">
            <div class="champ">
                <input class="entry" type="input" name="id">
            </div>
            <div class="submit">
                <input id="submit" class="entry" type="submit">
            </div>
        </form>
        <table id='table-search'>
            <thead>
                <tr>
                    <th colspan="14">Ticket</th>
                </tr>
            </thead>
            <tbody>
                <tr class='table-title'>
                    <td>ID</td>
                    <td>date</td>
                    <td>details</td>
                    <td>lieu</td>
                    <td>salle</td>
                    <td>pos</td>
                    <td>materiel</td>
                    <td>marque</td>
                    <td>model</td>
                    <td>nserie</td>
                    <td>demandeur</td>
                    <td>traitement</td>
                    <td>valider</td>
                </tr>
                <?php 
                $class = 'ticket';
                include 'include/line.php';
                ?>
            </tbody>
        </table>
    </body>
</html>