You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.4 KiB
33 lines
1.4 KiB
<?php
|
|
include '../sessions/session_restraintes.php';
|
|
?>
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<?php include 'include/menu.html'; ?>
|
|
</head>
|
|
|
|
<body>
|
|
<?php include 'include/nav.php'?>
|
|
<form id='form' action="cible/export.php" method="post">
|
|
<div class="container-field">
|
|
<p>Type:</p>
|
|
<select class="container-field__field" name="type">
|
|
<option value="csv" onclick="document.getElementById('base-choice').style.display = 'block'; document.getElementById('form').setAttribute('action','cible/export.php');">CSV</option>
|
|
<option value="sqlite" onclick="document.getElementById('base-choice').style.display = 'none'; document.getElementById('form').setAttribute('action','../database/ticket_panne.db');">SQLite</option>
|
|
</select>
|
|
</div>
|
|
<div id="base-choice" class="container-field">
|
|
<p>Base:</p>
|
|
<select class="container-field__field" name="bdd">
|
|
<option value="pannes">pannes</option>
|
|
<option value="logins">logins</option>
|
|
</select>
|
|
</div>
|
|
<div class="container-field">
|
|
<input class="container-field__field container-field__field--submit" type="submit" value="Download">
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|
|
|