-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmodificaRequisito.php
More file actions
executable file
·70 lines (61 loc) · 2.03 KB
/
modificaRequisito.php
File metadata and controls
executable file
·70 lines (61 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<title>Modifica - Requisiti - AlpenStock </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- BOOTSTRAP -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" />
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<!-- Include JavaScript for form control -->
<script type="text/javascript" src="js/validate.js"></script>
</head>
<body>
<?php
if (isset($_SESSION['authenticate']) == false)
header('location:login.php');
require "php/dbconn.php";
require "php/util.php";
if (isset($_GET['NomeReq'])) {
$req = $_GET['NomeReq'];
$con = dbconnect();
}
else
header("location:requisiti.php");
?>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="index.php">AlpenTrack</a>
</div>
<div>
<ul class="nav navbar-nav navbar-right">
<li class="active"><a>Elenco Requisiti</a></li>
<li><a href="elencoComponenti.php">Elenco Componenti</a></li>
<li><a href="elencoTest.php">Elenco Test</a></li>
<li><a href="aggiungiRequisito.php">Aggiungi Requisito</a></li>
<li><a href="aggiungiComponente.php">Aggiungi Componente</a></li>
<li><a href="aggiungiTest.php">Aggiungi Test</a></li>
<li><a href="latex.php">Latex</a></li>
</ul>
</div>
</div>
</nav>
<div class="container">
<h1>Modifica requisito</h1>
<p>Dal form seguente è possibile modificare il requisito.</p>
<?php printForm($con, $req); ?>
</div>
<?php
mysqli_close($con);
?>
</body>
</html>