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.
107 lines
3.6 KiB
107 lines
3.6 KiB
<!DOCTYPE html>
|
|
<html onclick=hideHelp() lang="fr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Tickets de panne</title>
|
|
<link href="stylepage.css" rel="stylesheet">
|
|
<script type="text/javascript" src="script.js" defer></script>
|
|
<img class="logo" src="img/logo_PC.png" alt="logo_PC" width="200px">
|
|
</head>
|
|
<body id="page">
|
|
<h1 id="titre">
|
|
Formulaire de panne informatique
|
|
</h1>
|
|
<form method="POST" action="cible.php">
|
|
<div class="container-champ">
|
|
<?php
|
|
$titre = 'Date';
|
|
$sql_name = 'dates';
|
|
$type = 'date';
|
|
$balise = 'input';
|
|
$error = 'Veuillez saisir une date';
|
|
include("champ.php");
|
|
?>
|
|
<div class='help' id='dates'>
|
|
<p>hello</p>
|
|
</div>
|
|
</div>
|
|
<?php
|
|
$titre = 'Details';
|
|
$sql_name = 'details';
|
|
$balise = 'textarea';
|
|
$error = '';
|
|
include("champ.php");
|
|
?>
|
|
<?php
|
|
$titre = 'Lieu';
|
|
$sql_name = 'lieu';
|
|
$type = 'text';
|
|
$balise = 'input';
|
|
$error = "Vous n'avez saisie de lieu";
|
|
include("champ.php");
|
|
?>
|
|
<?php
|
|
$titre = 'Salle';
|
|
$sql_name = 'salle';
|
|
$type = 'text';
|
|
$balise = 'input';
|
|
$error = "Vous n'avez pas saisie de salle";
|
|
include("champ.php");
|
|
?>
|
|
<?php
|
|
$titre = 'Position dans la salle';
|
|
$sql_name = 'pos';
|
|
$type = 'text';
|
|
$balise = 'input';
|
|
$error = 'Veuillez remplir ce champ';
|
|
include("champ.php");
|
|
?>
|
|
<?php
|
|
$titre = 'Matériel';
|
|
$sql_name = 'materiel';
|
|
$balise = 'select';
|
|
$error = '';
|
|
include("champ.php");
|
|
?>
|
|
<?php
|
|
$titre = 'Marque';
|
|
$sql_name = 'marque';
|
|
$type = 'text';
|
|
$balise = 'input';
|
|
$error = "Vous n'avez pas saisie la marque";
|
|
include("champ.php");
|
|
?>
|
|
<?php
|
|
$titre = 'Model';
|
|
$sql_name = 'model';
|
|
$type = 'text';
|
|
$balise = 'input';
|
|
$error = "Veuillez saisir le model";
|
|
include("champ.php");
|
|
?>
|
|
<?php
|
|
$titre = 'N° de série';
|
|
$sql_name = 'nserie';
|
|
$type = 'text';
|
|
$balise = 'input';
|
|
$error = "Vous n'avez saisie le n° de série";
|
|
include("champ.php");
|
|
?>
|
|
<?php
|
|
$titre = 'Demandeur';
|
|
$sql_name = 'demandeur';
|
|
$type = 'text';
|
|
$balise = 'input';
|
|
$error = 'demandeur';
|
|
include("champ.php");
|
|
?>
|
|
<div class="container-champ">
|
|
<br>
|
|
<div class="champ">
|
|
<input id="submit" class="entry" type="button" onclick="checkInputs()" value="Valider">
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
</body>
|
|
</html>
|
|
|