PHP WebShell
Текущая директория: /var/www/bitcardoApp/user/common
Просмотр файла: header.php
<?php
require_once __DIR__ . '/../../config/bootstrap.php';
include __DIR__ . '/../../config/bitgo_config.php';
include __DIR__ . '/../../includes/common/user.php';
if (!isset($_SESSION["loggedIn"]) || $_SESSION["loggedIn"] != true) {
header('location: ../../auth/login.php');
exit;
}
require_once __DIR__ . '/../../middleware/require_trusted.php';
/**
* Base URL for assets (absolute path).
* Since your domain is wallet.bitcardo.com and assets are under /assets/,
* use '/' so it works from any nested page: /user/dashboard/*, /user/crypto/*, etc.
*/
$ASSET_BASE = '/assets';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Bitcardo Official - Register Now Get Your Free Bitcardo Account Today! Signup Take Less Than 40 Seconds. Enjoy Professional. Bitcardo Excellent user experience. Low Fees.Join the community now.</title>
<meta name="ping-url" content="/health/ping.php">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome icon -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
<!-- Owl Carousel CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css" />
<!-- Your app CSS (absolute so it works on any route depth) -->
<link rel="stylesheet" href="<?= $ASSET_BASE ?>/css/styles.css">
</head>
<body>
<nav class="navbar navbar-light bg-white d-md-none border-bottom fixed-top shadow-sm z-3">
<div class="container-fluid justify-content-between">
<!-- Logo centered -->
<span class="navbar-brand mb-0 h1 mx-auto position-absolute start-50 translate-middle-x">
<img src="<?= $ASSET_BASE ?>/images/Bitcardo.png" class="img-fluid" alt="Bitcardo Logo" style="max-height: 40px;">
</span>
<!-- Toggle button aligned right -->
<button class="navbar-toggler ms-auto" type="button" data-bs-toggle="offcanvas" data-bs-target="#mobileSidebar" aria-controls="mobileSidebar">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</nav>
Выполнить команду
Для локальной разработки. Не используйте в интернете!