forked from Jhamende/Cute-File-Browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
65 lines (51 loc) · 1.77 KB
/
index.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
<?php
define('PROJECT_ROOT', getcwd());
?>
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Cute File Browser</title>
<!-- Include our stylesheet -->
<link href="assets/css/styles.css" rel="stylesheet"/>
<!-- FancyBox -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.js"></script>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" />
</head>
<body>
<div class="filemanager">
<div class="search">
<input type="search" placeholder="Find a file.." />
</div>
<div class="breadcrumbs"></div>
<a class="button folderName" id="backButton" href=""><i class="fa fa-arrow-left" aria-hidden="true"></i> Go Back</a>
<a class="button" href="./"><i class="fa fa-home" aria-hidden="true"></i> Home</a>
<ul class="data"></ul>
<div class="nothingfound">
<div class="nofiles"></div>
<span>No files here.</span>
</div>
</div>
<!-- Include our script files -->
<!--- <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> -->
<!-- <script src="https://code.jquery.com/jquery-2.2.4.js"></script> -->
<script src="https://code.jquery.com/jquery-3.2.1.js"></script>
<script src="assets/js/script.js"></script>
<script src="assets/fancybox-master/dist/jquery.fancybox.js"></script>
<script>
$('.fancybox-media').fancybox({
type: 'iframe',
width: 800,
height: 580,
// add
fitToView: false,
iframe : {
preload : false
}
});
</script>
</body>
</html>