-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsupported.php
More file actions
121 lines (114 loc) · 3.41 KB
/
supported.php
File metadata and controls
121 lines (114 loc) · 3.41 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<?php
include 'configuration/config.php';
$count = 1;
$extension = json_decode(file_get_contents("classes/extension.json"));
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title><?php echo $config['website_name'] ?> - Supported Formats</title>
<?php include_once 'components/header.php';?>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.21/css/dataTables.bootstrap4.min.css" />
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<a class="navbar-brand" href="#"><?php echo $config['website_name'] ?></a>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarColor01"
aria-controls="navbarColor01"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarColor01">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="index.php"
><span class="fa fa-home"></span> Home
<span class="sr-only">(current)</span></a
>
</li>
<li class="nav-item">
<a class="nav-link" href="terms.php"
><span class="fa fa-file-text"></span> Terms of Services</a
>
</li>
<li class="nav-item">
<a class="nav-link" href="about.php"
><span class="fa fa-user"></span> About Us</a
>
</li>
<li class="nav-item">
<a class="nav-link" href="report.php"
><span class="fa fa-flag"></span> Report Abuse</a
>
</li>
</ul>
</div>
</nav>
<div class="container pb-5 pt-5">
<div class="card">
<div class="card-header">
Supported Formats
</div>
<div class="card-body">
<div class="table-responsive">
<table
class="table table-bordered"
id="dataTable"
width="100%"
cellspacing="0"
>
<thead>
<tr>
<th>#</th>
<th>Format</th>
<th>Maximum Size</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<?php foreach ($extension as $ext): ?>
<tr>
<td class="font-weight-bold"><?php echo $count ?></td>
<td class="font-weight-bold"><?php echo $ext ?></td>
<td class="font-weight-bold">100 MB</td>
<td class="font-weight-bold">Allowed</td>
</tr>
<?php $count++; ?>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?php include_once 'components/ads.php';?>
<?php include_once 'components/footer.php';?>
<script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.10.21/js/dataTables.bootstrap4.min.js"></script>
<script type="text/javascript">
// Call the dataTables jQuery plugin
$(document).ready(function () {
var table = $("#dataTable").DataTable({
ordering: true,
select: {
style: "multi",
},
order: [[1, "asc"]],
columnDefs: [
{
targets: 0,
orderable: false,
},
],
});
});
</script>
</body>
</html>