-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathfilemanager.php
More file actions
66 lines (60 loc) · 3.09 KB
/
filemanager.php
File metadata and controls
66 lines (60 loc) · 3.09 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
<?php
require_once("config.php");
session_start();
if(!isset($_SESSION['auth']))
header("Location: login.php");
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Raspberry Web Panel</title>
<!-- jQuery and jQuery UI (REQUIRED) -->
<link rel="stylesheet" type="text/css" media="screen" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/smoothness/jquery-ui.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
<!-- elFinder CSS (REQUIRED) -->
<link href="css/style.css" rel="stylesheet" type="text/css" media="all"/>
<link href="css/nav.css" rel="stylesheet" type="text/css" media="all"/>
<link rel="stylesheet" type="text/css" media="screen" href="css/elfinder.min.css">
<link rel="stylesheet" type="text/css" media="screen" href="css/theme.css">
<link rel="stylesheet" href="css/font-awesome.min.css" type="text/css">
<link rel='stylesheet' href='css/typicons.min.css' />
<!-- elFinder JS (REQUIRED) -->
<script type="text/javascript" src="js/elfinder.min.js"></script>
<!-- elFinder translation (OPTIONAL) -->
<script type="text/javascript" src="js/i18n/elfinder.ru.js"></script>
<!-- elFinder initialization (REQUIRED) -->
<script type="text/javascript" charset="utf-8">
$().ready(function() {
var elf = $('#elfinder').elfinder({
url : 'php/connector.php' // connector URL (REQUIRED)
// lang: 'ru', // language (OPTIONAL)
}).elfinder('instance');
});
</script>
</head>
<body>
<div class="wrap">
<div class="header">
<div class="header_top">
<div class="menu">
<a class="toggleMenu" href="#"><img src="images/nav.png" alt="" /></a>
<ul class="nav">
<li ><a href="index.php" ><i class="fa fa-tachometer"></i> Dashboard</a></li>
<li><a href="editorweb.php"><i class="fa fa-pencil"></i> Editor Web</a></li>
<!--<li id="resetapache"><a href="#"><i class="typcn typcn-eject"></i> Riavvia Apache</a></li>
<li><a href="#"><i class="typcn typcn-eject-outline"></i> Riavvia Server</a></li>-->
<div class="clear"></div>
</ul>
<script type="text/javascript" src="js/responsive-nav.js"></script>
</div>
<div class="clear"></div>
</div>
</div>
</div>
<div class="clear"></div>
<!-- Element where elFinder will be created (REQUIRED) -->
<div id="elfinder" style="margin:20px;"></div>
</body>
</html>