19include __DIR__ .
'/../../root.php';
20include __DIR__ .
'/../../classes/actions/class.action.quickPick.php';
53$getLoader =
'<span class = "loader float-end"><img src = "' .
$imagesPath .
'loader.gif' .
'" alt="spinner"></span>';
61<html lang =
"<?php echo $bearsamppLang->getValue( Lang::LOCALE ) ?>">
64 <meta charset =
"utf-8">
65 <meta name =
"viewport" content =
"width=device-width, initial-scale=1.0">
66 <meta name =
"description" content =
"Localhost Dashboard">
67 <meta name =
"author" content =
"Bearsampp">
75 "/libs/bootstrap/css/bootstrap.min.css",
76 "/libs/fontawesome/css/all.min.css",
80 "/libs/bootstrap/js/bootstrap.bundle.min.js",
81 "/libs/fontawesome/js/all.min.js",
83 "/js/latestversion.js",
102 foreach ( $cssFiles as $file ) {
103 echo
'<link href="' .
$resourcesPath . $file .
'" rel="stylesheet">' . PHP_EOL;
110 echo
'<script src="' .
$resourcesPath . $file .
'" defer></script>' . PHP_EOL;
114 <link href =
"<?php echo $iconsPath . 'favicon.ico'; ?>" rel =
"icon" />
119<nav
class = "navbar navbar-expand-md navbar-light bg-dark fixed-top
" role = "navigation
">
120 <div class = "container-fluid
">
121 <div class = "d-inline-block
">
122 <a class = "navbar-brand
" href = "<?php echo
Util::getWebsiteUrl(); ?>" aria-label = 'Home'>
123 <img class = "p-1" alt = "<?php echo APP_TITLE . ' ' . $bearsamppCore->getAppVersion(); ?>"
124 src = "<?php echo $imagesPath . 'header-logo.png'; ?>">
126 <button class = "navbar-toggler" type = "button" data-bs-toggle = "collapse" data-bs-target = "#navbarSupportedContent" aria-controls = "navbarSupportedContent"
127 aria-expanded = "false" aria-label = "Toggle navigation">
128 <span class = "navbar-toggler-icon"></span>
132 <?php echo $quickPick->loadQuickpick($imagesPath ); ?>
134 <div class = "collapse navbar-collapse icons" id = "navbarSupportedContent">
135 <div class = "d-flex flex-row justify-content-space-between align-items-center flex-fill mb-0">
136 <a data-bs-toggle = "tooltip" data-bs-placement = "top" data-bs-title = "<?php echo $bearsamppLang->getValue( Lang::DISCORD ); ?>" target = "_blank"
137 href = "https://discord.gg/AgwVNAzV" aria-label = "Discord">
138 <i class = 'fa-brands fa-discord'></i>
140 <a data-bs-toggle = "tooltip" data-bs-placement = "top" data-bs-title = "<?php echo $bearsamppLang->getValue( Lang::FACEBOOK ); ?>" target = "_blank"
141 href = "https://www.facebook.com/groups/bearsampp" aria-label = "Facebook">
142 <i class = "fa-brands fa-facebook"></i>
144 <a data-bs-toggle = "tooltip" data-bs-placement = "top" data-bs-title = "<?php echo $bearsamppLang->getValue( Lang::GITHUB ); ?>" target = "_blank"
145 href = "<?php echo Util::getGithubUrl(); ?>" aria-label = "GitHub">
146 <i class = "fa-brands fa-github"></i>
148 <a data-bs-toggle = "tooltip" data-bs-placement = "top" data-bs-title = "<?php echo $bearsamppLang->getValue( Lang::DONATE ); ?>" target = "_blank"
149 href = "<?php echo Util::getWebsiteUrl( 'donate' ); ?>"><img class = "donate" src = "<?php echo $imagesPath . 'donate.png'; ?>" alt = 'Donation Icon' />
155<div id = "page-wrapper">
156 <?php include 'tpls/hp.latestversion.html'; ?>
157 <?php include 'tpls/hp.' . $bearsamppHomepage->getPage() . '.html'; ?>
global $bearsamppHomepage