| Server IP : 138.197.107.151 / Your IP : 216.73.217.7 Web Server : Apache/2.4.58 (Ubuntu) System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : wpbetasites_mrakzqskir ( 1022) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/silversharkdev/storage/framework/views/ |
Upload File : |
<header id="page-topbar">
<div class="navbar-header container-fluid">
<div class="d-flex">
<!-- LOGO -->
<div class="navbar-brand-box">
<a href="<?php echo e(route('dashboard')); ?>" class="logo logo-dark">
<span class="logo-sm">
<img src="<?php echo e(asset('assets/images/bloxby.svg')); ?>" alt="" height="22">
</span>
<span class="logo-lg">
<img src="<?php echo e(asset('assets/images/bloxby.svg')); ?>" alt="" height="43">
</span>
</a>
<a href="<?php echo e(route('dashboard')); ?>" class="logo logo-light">
<span class="logo-sm">
<img src="<?php echo e(asset('assets/images/bloxby.svg')); ?>" alt="" height="32">
</span>
<span class="logo-lg">
<img src="<?php echo e(asset('assets/images/bloxby.svg')); ?>" alt="" height="43">
</span>
</a>
</div>
</div>
<div class="d-flex">
<?php if(auth()->user()): ?>
<div class="dropdown d-inline-block dropdown-inner">
<button type="button" class="btn header-item waves-effect" id="page-header-user-dropdown"
data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<?php
$user = auth()->user();
$initials = collect(explode(' ', $user->name))
->map(fn($part) => strtoupper($part[0]))
->implode('');
?>
<div class="profile-icon">
<?php echo e($initials); ?>
</div>
<!--<img class="profile-icon" src="assets/images/profile.png" alt="profile" />-->
<span class="d-none d-xl-inline-block ms-1" key="t-henry"><?php echo e(auth()->user()->name); ?></span>
<i class="mdi mdi-chevron-down d-none d-xl-inline-block"></i>
</button>
<div class="dropdown-menu dropdown-menu-end">
<!-- item-->
<a class="dropdown-item" href="<?php echo e(route('profile.edit')); ?>"><i class="bx bx-user font-size-16 align-middle me-1"></i>
<span key="t-profile">Profile</span></a>
<a class="dropdown-item" href="<?php echo e(route('payments.list')); ?>"><i class="bx bx-receipt font-size-16 align-middle me-1"></i>
<span key="t-profile">Payments</span></a>
<div class="dropdown-divider"></div>
<button class="dropdown-item text-danger" data-bs-toggle="modal" data-bs-target="#logoutModal"><i
class="bx bx-power-off font-size-16 align-middle me-1 text-danger"></i> <span
key="t-logout">Logout</span></button>
<?php if(!auth()->user()->email_verified_at): ?>
<div class="trail-info">
<p>Bloxby free trial</p>
<?php
$today = \Carbon\Carbon::now();
$trialEnds = \Carbon\Carbon::parse(auth()->user()->trial_ending_at);
$daysLeft = $today->diffInDays($trialEnds, false); // false → returns negative if expired
$hoursLeft = $today->addDays($daysLeft)->diffInHours($trialEnds, false);
?>
<?php if($daysLeft > 0 || $hoursLeft > 0): ?>
<span>
<?php if($daysLeft > 0): ?>
<?php echo e($daysLeft); ?> day<?php echo e($daysLeft > 1 ? 's' : ''); ?>
<?php endif; ?>
<?php if($daysLeft > 0 && $hoursLeft > 0): ?>
&
<?php endif; ?>
<?php if($hoursLeft > 0): ?>
<?php echo e($hoursLeft); ?> hour<?php echo e($hoursLeft > 1 ? 's' : ''); ?>
<?php endif; ?>
left
</span>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
<!-- Logout Confirmation Modal -->
</div>
</div>
</header>
<?php if(auth()->user()): ?>
<div class="container">
<?php if(!auth()->user()->email_verified_at): ?>
<div class="mt-5 text-center verify-mail-error">
Your email needs to be verified. Please click <a href="<?php echo e(route('resend-verification-email')); ?>">here</a> to resend verification email.
</div>
<?php endif; ?>
</div>
<?php endif; ?><?php /**PATH /var/www/bloxby/resources/views/layouts/partials/header.blade.php ENDPATH**/ ?>