2015-02-16 09:30:58 +00:00
|
|
|
<?php
|
|
|
|
|
2015-02-25 13:06:48 +00:00
|
|
|
/**
|
2020-02-03 10:13:57 +00:00
|
|
|
* Raspbian WiFi Configuration Portal (RaspAP)
|
2015-02-25 13:06:48 +00:00
|
|
|
*
|
2020-07-29 16:12:04 +00:00
|
|
|
* Simple AP setup & WiFi management for Debian-based devices.
|
2023-09-15 18:02:37 +00:00
|
|
|
* Enables use of simple web interface rather than SSH to control WiFi and related services on the Raspberry Pi.
|
2022-06-24 05:25:11 +00:00
|
|
|
* Recommended distribution is Raspberry Pi OS (64-bit) Lite. Specific instructions to install the supported software are
|
2015-02-25 13:06:48 +00:00
|
|
|
* in the README and original post by @SirLagz. For a quick run through, the packages required for the WebGUI are:
|
2023-11-07 17:32:34 +00:00
|
|
|
* lighttpd (version 1.4.69 installed via apt)
|
2024-10-24 07:13:44 +00:00
|
|
|
* php-cgi (version 8.2.24 installed via apt)
|
2024-03-28 11:08:53 +00:00
|
|
|
* along with their supporting packages, php8.2 will also need to be enabled.
|
2019-04-10 08:37:35 +00:00
|
|
|
*
|
2020-02-15 17:57:46 +00:00
|
|
|
* @author Lawrence Yau <sirlagz@gmail.com>
|
|
|
|
* @author Bill Zimmerman <billzimmerman@gmail.com>
|
|
|
|
* @license GNU General Public License, version 3 (GPL-3.0)
|
2024-09-27 08:10:32 +00:00
|
|
|
* @version 3.1.8
|
2021-12-29 13:27:34 +00:00
|
|
|
* @link https://github.com/RaspAP/raspap-webgui/
|
2020-07-29 16:12:04 +00:00
|
|
|
* @link https://raspap.com/
|
2020-02-15 17:57:46 +00:00
|
|
|
* @see http://sirlagz.net/2013/02/08/raspap-webgui/
|
2020-07-29 16:12:04 +00:00
|
|
|
*
|
|
|
|
* You are not obligated to bundle the LICENSE file with your RaspAP projects as long
|
|
|
|
* as you leave these references intact in the header comments of your source files.
|
2015-02-25 13:06:48 +00:00
|
|
|
*/
|
|
|
|
|
2020-02-15 17:57:46 +00:00
|
|
|
require 'includes/csrf.php';
|
2019-08-07 21:53:04 +00:00
|
|
|
ensureCSRFSessionToken();
|
2018-05-29 18:52:41 +00:00
|
|
|
|
2023-12-22 23:18:13 +00:00
|
|
|
require_once 'includes/exceptions.php';
|
2020-02-15 17:57:46 +00:00
|
|
|
require_once 'includes/config.php';
|
2023-09-16 08:43:05 +00:00
|
|
|
require_once 'includes/autoload.php';
|
2020-02-15 17:57:46 +00:00
|
|
|
require_once 'includes/defaults.php';
|
|
|
|
require_once 'includes/locale.php';
|
|
|
|
require_once 'includes/functions.php';
|
|
|
|
require_once 'includes/dashboard.php';
|
|
|
|
require_once 'includes/authenticate.php';
|
|
|
|
require_once 'includes/admin.php';
|
|
|
|
require_once 'includes/dhcp.php';
|
|
|
|
require_once 'includes/hostapd.php';
|
2020-03-26 19:45:39 +00:00
|
|
|
require_once 'includes/adblock.php';
|
2020-02-15 17:57:46 +00:00
|
|
|
require_once 'includes/system.php';
|
|
|
|
require_once 'includes/sysstats.php';
|
|
|
|
require_once 'includes/configure_client.php';
|
|
|
|
require_once 'includes/networking.php';
|
|
|
|
require_once 'includes/data_usage.php';
|
|
|
|
require_once 'includes/about.php';
|
|
|
|
require_once 'includes/openvpn.php';
|
2020-04-20 11:52:03 +00:00
|
|
|
require_once 'includes/wireguard.php';
|
2023-10-12 17:21:23 +00:00
|
|
|
require_once 'includes/provider.php';
|
2024-02-19 09:08:29 +00:00
|
|
|
require_once 'includes/restapi.php';
|
2020-02-15 17:57:46 +00:00
|
|
|
require_once 'includes/torproxy.php';
|
2015-02-25 13:06:48 +00:00
|
|
|
|
2023-09-14 13:14:02 +00:00
|
|
|
initializeApp();
|
|
|
|
?>
|
|
|
|
<!DOCTYPE html>
|
2024-10-26 10:17:52 +00:00
|
|
|
<html lang="en" <?php setTheme();?>>
|
2016-07-27 20:34:56 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2019-07-30 15:22:03 +00:00
|
|
|
<?php echo CSRFMetaTag() ?>
|
2024-10-24 07:13:44 +00:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
2015-02-25 13:06:48 +00:00
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="author" content="">
|
2015-02-16 09:30:58 +00:00
|
|
|
|
2019-08-20 09:18:12 +00:00
|
|
|
<title><?php echo _("RaspAP WiFi Configuration Portal"); ?></title>
|
2015-02-16 09:30:58 +00:00
|
|
|
|
2015-02-25 13:06:48 +00:00
|
|
|
<!-- Bootstrap Core CSS -->
|
2024-10-24 07:13:44 +00:00
|
|
|
<link href="dist/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
2015-02-16 09:30:58 +00:00
|
|
|
|
2024-10-24 07:13:44 +00:00
|
|
|
<!-- SB-Admin CSS -->
|
|
|
|
<link href="dist/sb-admin/css/styles.css" rel="stylesheet">
|
2019-10-19 22:26:35 +00:00
|
|
|
|
2020-06-29 23:28:39 +00:00
|
|
|
<!-- Huebee CSS -->
|
|
|
|
<link href="dist/huebee/huebee.min.css" rel="stylesheet">
|
|
|
|
|
2024-10-26 07:45:53 +00:00
|
|
|
<!-- Font Awesome -->
|
|
|
|
<link href="dist/font-awesome/css/all.min.css" rel="stylesheet" type="text/css">
|
2015-02-16 09:30:58 +00:00
|
|
|
|
2020-04-20 21:36:03 +00:00
|
|
|
<!-- RaspAP Fonts -->
|
|
|
|
<link href="dist/raspap/css/style.css" rel="stylesheet" type="text/css">
|
|
|
|
|
2015-02-25 13:06:48 +00:00
|
|
|
<!-- Custom CSS -->
|
2023-09-14 13:14:02 +00:00
|
|
|
<link href="<?php echo $_SESSION["theme_url"]; ?>" title="main" rel="stylesheet">
|
2019-10-08 17:35:32 +00:00
|
|
|
<link rel="shortcut icon" type="image/png" href="app/icons/favicon.png?ver=2.0">
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="app/icons/apple-touch-icon.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="app/icons/favicon-32x32.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="app/icons/favicon-16x16.png">
|
|
|
|
<link rel="icon" type="image/png" href="app/icons/favicon.png" />
|
|
|
|
<link rel="manifest" href="app/icons/site.webmanifest">
|
|
|
|
<link rel="mask-icon" href="app/icons/safari-pinned-tab.svg" color="#b91d47">
|
|
|
|
<meta name="msapplication-config" content="app/icons/browserconfig.xml">
|
2019-04-23 21:30:00 +00:00
|
|
|
<meta name="msapplication-TileColor" content="#b91d47">
|
|
|
|
<meta name="theme-color" content="#ffffff">
|
2016-07-27 20:34:56 +00:00
|
|
|
</head>
|
2024-10-24 07:13:44 +00:00
|
|
|
|
|
|
|
<body class="sb-nav-fixed">
|
|
|
|
<!-- Navbar -->
|
|
|
|
<?php require_once 'includes/navbar.php'; ?>
|
|
|
|
<!-- End of Navbar -->
|
|
|
|
<div id="layoutSidenav">
|
|
|
|
<div id="layoutSidenav_nav">
|
2024-10-27 07:05:45 +00:00
|
|
|
<nav class="sb-sidenav accordion sb-sidenav-light" id="sidenavAccordion">
|
2024-10-24 07:13:44 +00:00
|
|
|
<div class="sb-sidenav-menu">
|
|
|
|
<div class="nav">
|
|
|
|
<!-- Sidebar -->
|
|
|
|
<?php require_once 'includes/sidebar.php'; ?>
|
|
|
|
<!-- End of Sidebar -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
<div id="layoutSidenav_content">
|
|
|
|
<main>
|
|
|
|
<div class="container-fluid mt-2">
|
|
|
|
<?php require_once 'includes/page_actions.php'; ?>
|
|
|
|
</div>
|
|
|
|
</main>
|
2024-10-25 08:03:09 +00:00
|
|
|
<footer class="py-4 mt-auto">
|
2024-10-24 07:13:44 +00:00
|
|
|
<div class="container-fluid px-4">
|
2024-10-25 07:02:38 +00:00
|
|
|
<?php require_once 'includes/footer.php'; ?>
|
2023-09-15 18:02:37 +00:00
|
|
|
</div>
|
|
|
|
</footer>
|
2024-10-24 07:13:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-02-25 13:06:48 +00:00
|
|
|
<!-- jQuery -->
|
2019-10-08 17:35:32 +00:00
|
|
|
<script src="dist/jquery/jquery.min.js"></script>
|
2015-02-25 13:06:48 +00:00
|
|
|
|
|
|
|
<!-- Bootstrap Core JavaScript -->
|
2019-10-12 23:25:35 +00:00
|
|
|
<script src="dist/bootstrap/js/bootstrap.bundle.min.js"></script>
|
|
|
|
|
|
|
|
<!-- Core plugin JavaScript -->
|
|
|
|
<script src="dist/jquery-easing/jquery.easing.min.js"></script>
|
2015-02-25 13:06:48 +00:00
|
|
|
|
2019-10-11 19:37:59 +00:00
|
|
|
<!-- Chart.js JavaScript -->
|
|
|
|
<script src="dist/chart.js/Chart.min.js"></script>
|
2015-02-25 13:06:48 +00:00
|
|
|
|
2024-10-24 07:13:44 +00:00
|
|
|
<!-- SB-Admin JavaScript -->
|
|
|
|
<script src="dist/sb-admin/js/scripts.js"></script>
|
2017-10-27 18:40:30 +00:00
|
|
|
|
2023-11-09 22:48:39 +00:00
|
|
|
<!-- jQuery Mask plugin -->
|
|
|
|
<script src="dist/jquery-mask/jquery.mask.min.js"></script>
|
|
|
|
|
2017-10-27 18:40:30 +00:00
|
|
|
<!-- Custom RaspAP JS -->
|
2019-10-08 17:35:32 +00:00
|
|
|
<script src="app/js/custom.js"></script>
|
2018-09-10 14:53:05 +00:00
|
|
|
|
2023-09-15 18:02:37 +00:00
|
|
|
<?php loadFooterScripts($extraFooterScripts); ?>
|
2016-07-27 20:34:56 +00:00
|
|
|
</body>
|
2015-02-25 13:06:48 +00:00
|
|
|
</html>
|
2024-10-24 07:13:44 +00:00
|
|
|
|