-
Notifications
You must be signed in to change notification settings - Fork 1
/
viewinfrastructure.php
59 lines (57 loc) · 1.6 KB
/
viewinfrastructure.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
<?php
include("header.php");
include("connection.php");
$result = mysqli_query($con,"SELECT * FROM Persons WHERE FirstName='Peter'");
while($row = mysqli_fetch_array($result))
{
echo $row['FirstName'] . " " . $row['LastName'];
echo "<br>";
}
?>
<div id="main">
<div id="content" class="left">
<div class="highlight">
<h3>Admin Dashboard</h3>
<form id="form1" name="form1" method="post" action="">
<p>
<input type="submit" name="addinfrastructure" id="addinfrastructure" value="Add Infrastructure" />
<label for="textfield"></label>
<input type="text" name="textfield" id="textfield" />
<input type="submit" name="add" id="add" value="Add" />
</p>
</form>
<table width="527" border="1">
<tr>
<th width="259" height="51" scope="col">Infrastructure name</th>
<th width="252" scope="col">Number</th>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
<p> </p>
</div>
<div class="projects">
<div class="item"></div>
<div class="item">
<div class="cl"> </div>
</div>
</div>
</div>
<?php
include("sidebar.php");
?>
<div class="cl"> </div>
</div>
<div class="shadow-l"></div>
<div class="shadow-r"></div>
<div class="shadow-b"></div>
</div>
<?php
include("footer.php");
?>