-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php~
76 lines (60 loc) · 1.54 KB
/
index.php~
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
71
72
73
74
75
76
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="iso-8859-1" lang="fr">
<?php
include('./functions.php');
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<title>BDD</title>
<link type='text/css' rel='stylesheet' href='css/style.css'/>
</head>
<!-- BEGINING OF THE PAGE -->
<body>
<?php
include('connect.php');
?>
<div id="mainDiv">
<div id="pageTitle">
<h1>Projet De Base De Donnees</h1>
<form action='#' method='get'>
<fieldset>
<input type='text' id='code' name='code' />
<input type='submit' id='search' name='search' value='Search' />
</fieldset>
</form>
</div>
<div id="pageMenu">
<ul>
<li><a href="#">Home</a></li>
<li><a href="tables.php">Table</a></li>
<li><a href="#">Requetes</a></li>
</ul>
</div>
<div id="contents">
<div id="leftdiv">
<h2 class='titleA' >Insertion d'une Location</h2>
<?php include('./locationformulaire.php');
//echo filmTab();
?>
</div>
<div id="rightdiv">
<h2 class='titleA' >Retour d'une Location</h2>
<?php include('./depotformulaire.php');?>
</div>
<div id="bttdiv" style='background: color;' >
<h2 class='titleA'>test</h2>
<?php
if(isset($_GET['search'])){
if(!empty($_GET['code'])){
$code = $_GET['code'];
echo $code;
select_from_table($code);
}
}
?>
</div>
</div>
</div>
</body>
</html>