-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapps.php
More file actions
28 lines (20 loc) · 714 Bytes
/
apps.php
File metadata and controls
28 lines (20 loc) · 714 Bytes
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
<?php
// db connection config vars
include ('func.php');
header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1.
header("Pragma: no-cache"); // HTTP 1.0.
header("Expires: 0"); // Proxies.
include ($_SERVER['DOCUMENT_ROOT'] .'/templates/header-index.html');
include ($_SERVER['DOCUMENT_ROOT'] .'/templates/body.html');
echo "<br><br>";
//Application lookup
$name="Applications";
$type="1";
$titles=array("Application Name","Owner","Criticality");
$returns="d.app_name,c.team_name,d.crit";
$query="SELECT $returns FROM Teams c, Apps d WHERE d.a_tid=c.tid";
genRO($query,$titles,$type,$name);
//close connection
dbClose();
include ($_SERVER['DOCUMENT_ROOT'] .'/templates/footer.html');
?>