HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-31-18-78 6.17.0-1017-aws #17~24.04.1-Ubuntu SMP Tue May 26 21:09:53 UTC 2026 aarch64
User: ubuntu (1000)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /var/www/unbox/uc-live/admin-dash/header.php
<?php
include_once('../wp-config.php');
global $wpdb;

session_start();

global $current_user;
wp_get_current_user();
$user_id = $current_user->ID;

if($user_id=='')
{
	$msg="not able";
	header("location:/admin-dash/login.php");
	exit();
}

$getUserDet = $wpdb->get_row("select ID, user_nicename, user_email from `uc_users` where ID='$user_id'");
$nameToDisplay = $getUserDet->contact_name;
?>

<!DOCTYPE html>
<!--
Template Name: Cropper
Author: Sandhya
Website: https://unboxcatalysts.com/
-->
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
  <meta name="description" content="Admin Panel">
	<meta name="author" content="Unbox">
	<meta name="keywords" content="Unbox web">

	<title>Unbox </title>

  <!-- Fonts -->
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
  <!-- End fonts -->

	<!-- core:css -->
	<link rel="stylesheet" href="assets/vendors/core/core.css">
	<?php //echo __DIR__; ?>
	<!-- endinject -->

	<!-- Plugin css for this page  for dashboard-->
  <link rel="stylesheet" href="assets/vendors/flatpickr/flatpickr.min.css">
	<!-- End plugin css for this page -->

	<!-- inject:css -->
	<link rel="stylesheet" href="assets/fonts/feather-font/css/iconfont.css">
	<link rel="stylesheet" href="assets/vendors/flag-icon-css/css/flag-icon.min.css">
	<!-- endinject -->

  <!-- Layout styles -->  
	<link rel="stylesheet" href="assets/css/style.css">
  <!-- End layout styles -->

  <link rel="shortcut icon" href="assets/images/favicon.png" />
</head>
<body>
	<div class="main-wrapper">