-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
109 lines (103 loc) · 2.47 KB
/
index.php
File metadata and controls
109 lines (103 loc) · 2.47 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?php
include_once 'header.php';
$script = $_SERVER['PHP_SELF'];
?>
<div data-role="page" class="type-interior">
<div data-role="header" data-theme="a">
<h1>WarriorNet</h1>
</div><!-- /header -->
<br />
<div data-role="content" class="mybg">
<label>Enter a keyword to search for:</label>
<input id="searchData" type="text" />
<br />
<table class="footable cStoreDataTable" id="cStoreDataTable" data-filter="#filter">
<thead>
<tr>
<th data-class="expand">
Serial
</th>
<th>
Building
</th>
<th>
Room
</th>
<th data-hide="phone">
Name
</th>
<th data-hide="phone">
Type
</th>
<th data-hide="phone, tablet">
ID #
</th>
<th data-hide="phone, tablet">
Purchase Date
</th>
<th data-hide="phone, tablet">
Warranty Expire
</th>
<th data-hide="phone, tablet">
Edit
</th>
</tr>
</thead>
<tbody id="results"></tbody>
</table>
<br />
<br />
<span data-mini="true">
<br />
<hr />
<br />
</span>
<?php
if($_SESSION['id'] == 'ok'){
?>
<table align="center">
<tr>
<td>
<a href="addsplash.php" data-theme="a" data-role="button" data-ajax="false" data-mini="true">New Entry</a>
</td>
<td>
<a href="searchHS.php" data-theme="a" data-role="button" data-ajax="false" data-mini="true">View HS Items</a>
</td>
</tr>
<tr>
<td>
<a href="searchMS.php" data-theme="a" data-role="button" data-ajax="false" data-mini="true">View MS Items</a>
</td>
<td>
<a href="searchUE.php" data-theme="a" data-role="button" data-ajax="false" data-mini="true">View UE Items</a>
</td>
</tr>
<tr>
<td>
<a href="searchES.php" data-theme="a" data-role="button" data-ajax="false" data-mini="true">View ES Items</a>
</td>
<td>
<a href="/tech/index.php" data-theme="a" data-role="button" data-ajax="false" data-mini="true">Back to Tech Home</a>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<a href="logout.php" data-theme="a" data-role="button" data-ajax="false" data-mini="true">Logout</a>
</td>
</tr>
</table>
<?php
} else {
?>
<table align="center">
<tr>
<td>
<a href="mobilelogin.php" data-theme="a" data-role="button" data-ajax="false" data-mini="true">Log In</a>
</td>
</tr>
</table>
<?php
}
?>
</div>
<?php include_once 'footer.php';?>