-
Notifications
You must be signed in to change notification settings - Fork 3
/
upload.php
49 lines (39 loc) · 950 Bytes
/
upload.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
<?php
include 'ssl.php';
?>
<html>
<head>
<title>Upload | <?php
require_once 'config.php';
echo TITLE;
?>
</title>
<!-- Add the basic style HTML -->
<style>
@media (min-width: 979px) {
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
}
</style>
<?php
include 'css.php';
?>
</head>
<body>
<?php
// Check is admin
include 'admincheck.php';
// ADmin menu
include 'menu.php';
?>
<!-- Show the UI components, including textboxes, forms and text -->
<form action="fileupload.php" method="POST" enctype="multipart/form-data">
<center><i><h3>Choose a file: </h3></i><input type="file" name="file" class="btn btn-default">
<input type="checkbox" name="isPlugin" value="true">This file is a plugin
<br><br>
<input type="submit" value="Upload" class="btn btn-primary">
</center>
</form>
</body>
</html>