Exemple #1
0
        <script src="js/jquery-ui.js"></script>
        <script src="js/jquery.fancybox.js"></script>
        <script src="js/custom.js"></script>
        <?php 
include "class.docket.php";
$obj = new docket();
?>
    </head>
    <?php 
if ($_GET['action'] == 'edit') {
    $id = $_GET['id'];
    $obj->edit_adversary($id);
}
if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'delete') {
    $id = $_REQUEST['id'];
    $obj->delete_adversary($id);
}
?>
    <body>
        <?php 
include_once 'include/menu.php';
?>
        <div class="content">

            <div class="welcome">
                <h3>Welcome <?php 
echo $_SESSION['username'];
?>
!
                </h3>
            </div>