/
allDataDownload.php
106 lines (92 loc) · 3.93 KB
/
allDataDownload.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
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
<?include_once("global.php");?>
<?
if ($logged==0){
?>
<script type="text/javascript">
window.location = "./";
</script>
<?
}
?>
<!DOCTYPE html>
<html lang="en">
<?include("./phpParts/head.php")?>
<body class="">
<div class="wrapper ">
<?include("./phpParts/leftBar.php")?>
<div class="main-panel">
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-transparent navbar-absolute fixed-top ">
<div class="container-fluid">
<div class="navbar-wrapper">
<a class="navbar-brand" href="#pablo">Import/Export Data</a>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" aria-controls="navigation-index" aria-expanded="false" aria-label="Toggle navigation">
<span class="sr-only">Toggle navigation</span>
<span class="navbar-toggler-icon icon-bar"></span>
<span class="navbar-toggler-icon icon-bar"></span>
<span class="navbar-toggler-icon icon-bar"></span>
</button>
</div>
</nav>
<!-- End Navbar -->
<div class="content">
<div class="container-fluid">
<?if ($session_role=="admin"){?>
<a href="./importStudentsData.php" target="_blank"> <button type="submit" class="btn btn-primary">Import Students Data</button></a>
<?}?>
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header card-header-primary">
<h4 class="card-title ">Download Data</h4>
<p class="card-category">All your data now under one shelf.</p>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table">
<thead class=" text-primary">
<th>
ID
</th>
<th class="text-primary">
Type of Data
</th>
<th>
Description
</th>
<th>
View/Download
</th>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Gym Signins</td>
<td>Contains details of all Gym Signins done uptil now.</td>
<td><a href="./profiles/data/exportData_gymSignins.php" target="_blank"><button class="btn btn-success btn-sm">View<div class="ripple-container"></div></button></a></td>
</tr>
<tr>
<td>2</td>
<td>Pool Signins</td>
<td>Contains details of all Pool Signins done uptil now.</td>
<td><a href="./profiles/data/exportData_poolSignins.php" target="_blank"><button class="btn btn-success btn-sm">View<div class="ripple-container"></div></button></a></td>
</tr>
<tr>
<td>2</td>
<td>Softwares Users</td>
<td>Contains details of all software users</td>
<td><a href="./profiles/data/exportData_softwaresusers.php" target="_blank"><button class="btn btn-success btn-sm">View<div class="ripple-container"></div></button></a></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?include("./phpParts/footer.php")?>
</body>
</html>