Пример #1
0
?>
        </ul>
    </div>
    <div id="page-content-wrapper">
        <div class="breadcrumb">
            <a href="../index.php"><span class="glyphicon glyphicon-home"> </a></span> <span class="breadcrumb-font"> &nbsp/ Home / Leeftijdscategorie </span>
        </div>
        <div class="container-fluid">
            <div class="row">
                <?php 
if (isset($_POST["delete"])) {
    $id = $_POST["delete"];
    echo $_POST['eid'];
    print_r($_POST);
    $LeeftijdsCat = FinahDAO::HaalOp("LeeftijdsCategorie", null, $id, $_SESSION["token"]);
    if (FinahDAO::Verwijder("LeeftijdsCategorie", $id, $_SESSION["token"])) {
    }
}
?>
                <div class="col-lg-12 col-md-12 col-sm-12">
                    <h1>Overzicht</h1>
                    <form action="CreeerEdit.php" method="post">
                        <button class="btn btn-primary createbtn " type="submit" name="creeer">
                            Maak een nieuwe leeftijdscategorie aan
                        </button>
                        <div id="mededeling">

                        </div>
                        <table class="table table-bordered table-striped" id="overzicht">
                            <thead>
                            <tr>
Пример #2
0
                <div  class="container-fluid">
                    <div class="row">
                        <div class="col-lg-12 col-md-12 col-sm-12">
                            <h1>Overzicht</h1>
                            <form action="CreeerEdit.php" method="post">
                                <button class="btn btn-primary createbtn " type="submit" name="creeer">
                                    Maak een nieuwe vragenlijst aan
                                </button>
                                <div id="mededeling">

                                </div>
                                <?php 
if (isset($_POST["delete"])) {
    $id = $_POST["delete"];
    $vragenlijst = FinahDAO::HaalOp("VragenLijst", $id, $_SESSION["token"]);
    if (FinahDAO::Verwijder("VragenLijst", $id, $vragenlijst)) {
        echo " De vragenlijst werd succesvol verwijderd ";
    }
}
?>
                                <table class="table table-bordered table-striped">
                                    <thead>
                                    <tr>
                                        <th>
                                            Id
                                        </th>
                                        <th>
                                            Omschrijving
                                        </th>
                                        <th>
                                            Aandoening
Пример #3
0
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12">
                    <h1>Overzicht</h1>

                    <form action="CreeerEdit.php" method="post">
                        <button class="btn btn-primary createbtn " type="submit" name="creeer">
                            Maak een nieuwe pathologie aan
                        </button>
                        <div id="mededeling">

                        </div>
                        <?php 
if (isset($_POST["delete"])) {
    $id = $_POST["delete"];
    $pathologie = FinahDAO::HaalOp("Pathologie", $id, $_SESSION["token"]);
    if (FinahDAO::Verwijder("Pathologie", $id, $pathologie)) {
        echo " De pathologie werd succesvol verwijderd ";
    }
}
?>
                        <table class="table table-bordered table-striped">
                            <thead>
                            <tr>
                                <th>
                                    Omschrijving
                                </th>
                                <th>Actie</th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php