-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquick.php
42 lines (33 loc) · 828 Bytes
/
quick.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
<?php
$arr = array("i", "quick_page", "quick_name");
foreach ($arr as &$value) {
$$value= isset($_GET[$value]) ? $_GET[$value] : "" ;
}
$titre="$quick_name #$i";
require_once("./0_connect.php");
if ($database=="") require_once("./0_baseselector.php");
require_once("./0_connect_db.php");
require_once("./0_tables_sql_commun.php");
require_once("./0_head.php");
?>
<body>
<?php
require_once("./0_fonctions.php");
$error="";
$success="";
require_once("./0_array_info_de_i.php");
$write=true;
echo "<div id=\"container\">";
echo "";
if (array_key_exists("lab_id", $data)) echo $data["lab_id"];
echo " #".$i." ";
if (array_key_exists("designation", $data)) echo $data["designation"];
echo "<br/>";
require_once("./blocs/$quick_page.php");
echo "</div>";
?>
</body>
</html>
<?php
$dbh = null;
?>