Viewing File: /home/rareljzw/public_html/layout/header.php
<?php
ob_start();
if (session_status() === PHP_SESSION_NONE) {
session_start();
}
// require ($_SERVER['DOCUMENT_ROOT']. "/include/loginFunction.php");
require($_SERVER['DOCUMENT_ROOT']. "/include/function.php");
require($_SERVER['DOCUMENT_ROOT']. "/include/userClass.php");
require($_SERVER['DOCUMENT_ROOT']. "/session.php");
// $_SESSION['nftwallet'] = $username ;
$sql = "SELECT * FROM collections";
$stmt = $conn->prepare($sql);
$stmt->execute();
$collections = $stmt->fetch(PDO::FETCH_ASSOC);
$stmt = $conn->prepare("SELECT * FROM nfts INNER JOIN users ON nfts.username=users.username ");
$stmt->execute();
$nfts = $stmt->fetch(PDO::FETCH_ASSOC);
// Settings Table
$stmt = $conn->prepare("SELECT * FROM settings");
$stmt->execute();
$settings = $stmt->fetch(PDO::FETCH_ASSOC);
$currency = $settings['currency'];
// Payment table
$stmt = $conn->prepare("SELECT * FROM payment");
$stmt->execute();
$paymentnft = $stmt->fetch(PDO::FETCH_ASSOC);
// Admin Table
$stmt = $conn->prepare("SELECT * FROM admin");
$stmt->execute();
$admin = $stmt->fetch(PDO::FETCH_ASSOC);
$email_message = new message();
$sendMail = new emailMessage();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title><?= $PageTitle ?> - Browse, create, buy, sell, and auction NFTs</title>
<meta charset="utf-8" />
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="description" content="" />
<!-- Css -->
<link rel="stylesheet" href="assets/front/css/style.css" />
<!-- Dark Mode JS -->
<!--<script src="./assets/front/js/darkMode.bundle.js"></script>-->
<!-- Favicons -->
<link rel="shortcut icon" href="./assets/front/img/favicon.ico" />
<link rel="apple-touch-icon" href="./assets/front/img/apple-touch-icon.png" />
<link rel="apple-touch-icon" sizes="72x72" href="./assets/front/img/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="114x114" href="./assets/front/img/apple-touch-icon-114x114.png" />
<!-- toaster -->
<link rel="stylesheet" type="text/css" href="./assets/css/elements/alert.css">
<!-- <link href="./plugins/notification/snackbar/snackbar.min.css" rel="stylesheet" type="text/css" />
<link href="./plugins/file-upload/file-upload-with-preview.min.css" rel="stylesheet" type="text/css" /> -->
<link href="./plugins/sweetalerts/sweetalert2.min.css" rel="stylesheet" type="text/css" />
<link href="./plugins/sweetalerts/sweetalert.css" rel="stylesheet" type="text/css" />
<link href="./assets/css/components/custom-sweetalert.css" rel="stylesheet" type="text/css" />
<script src="./plugins/sweetalerts/promise-polyfill.js"></script>
<script src="./assets/js/libs/jquery-3.1.1.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-3.6.1.min.js" integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ=" crossorigin="anonymous"></script>
<!-- livechat -->
<?= $settings['livechat'] ?>
<!-- livechat -->
</head>
<body class="overflow-x-hidden font-body text-jacarta-500 dark:bg-jacarta-900" itemscope
itemtype="http://schema.org/WebPage">
<!-- Header -->
<header class="js-page-header fixed top-0 z-20 w-full backdrop-blur transition-colors">
<div class="flex items-center px-6 py-6 xl:px-24">
<!-- Logo -->
<a href="/" class="shrink-0">
<img src="./assets/front/img/<?= $settings['image'] ?>" class="max-h-7 dark:hidden" alt="<?= $settings['web_name'] ?> | NFT Marketplace" style="width:150px;height:35px" />
<img src="./assets/front/img/<?= $settings['image'] ?>" class="hidden max-h-7 dark:block" style="width:150px;height:35px"
alt="<?= $settings['web_name'] ?> | NFT Marketplace" />
</a>
<!-- Menu / Actions -->
<div
class="js-mobile-menu invisible fixed inset-0 z-10 ml-auto items-center bg-white opacity-0 dark:bg-jacarta-800 lg:visible lg:relative lg:inset-auto lg:flex lg:bg-transparent lg:opacity-100 dark:lg:bg-transparent">
<!-- Mobile Logo / Menu Close -->
<div
class="t-0 fixed left-0 z-10 flex w-full items-center justify-between bg-white p-6 dark:bg-jacarta-800 lg:hidden">
<!-- Mobile Logo -->
<a href="/" class="shrink-0">
<img src="./assets/front/img/<?= $settings['image'] ?>" class="max-h-7 dark:hidden" alt="<?= $settings['web_name'] ?> | NFT Marketplace" style="width:150px;height:35px" />
<img src="./assets/front/img/<?= $settings['image'] ?>" class="hidden max-h-7 dark:block" style="width:150px;height:35px"
alt="<?= $settings['web_name'] ?> | NFT Marketplace" />
</a>
<!-- Mobile Menu Close -->
<button
class="js-mobile-close group ml-2 flex h-10 w-10 items-center justify-center rounded-full border border-jacarta-100 bg-white transition-colors hover:border-transparent hover:bg-accent focus:border-transparent focus:bg-accent dark:border-transparent dark:bg-white/[.15] dark:hover:bg-accent"
aria-label="close mobile menu">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors group-hover:fill-white group-focus:fill-white dark:fill-white">
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z" />
</svg>
</button>
</div>
<!-- Mobile Search -->
<form action="search.php?id=<?php $id ?>" class="relative mt-24 mb-8 w-full lg:hidden" method="GET">
<input type="search"
class="w-full rounded-2xl border border-jacarta-100 py-3 px-4 pl-10 text-jacarta-700 placeholder-jacarta-500 focus:ring-accent dark:border-transparent dark:bg-white/[.15] dark:text-white dark:placeholder-white"
placeholder="Search" required name="id" />
<span class="absolute left-0 top-0 flex h-full w-12 items-center justify-center rounded-2xl">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-500 dark:fill-white">
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z" />
</svg>
</span>
</form>
<!-- Primary Nav -->
<nav class="navbar w-full">
<ul class="flex flex-col lg:flex-row">
<li class="group">
<a href="/"
class="flex items-center justify-between py-3.5 font-display text-base text-jacarta-700 hover:text-accent focus:text-accent dark:text-white dark:hover:text-accent dark:focus:text-accent lg:px-5">Home</a>
</li>
<li class="js-nav-dropdown nav-item dropdown group relative">
<a href="collections.php"
class="dropdown-toggle flex items-center justify-between py-3.5 font-display text-base text-jacarta-700 hover:text-accent focus:text-accent dark:text-white dark:hover:text-accent dark:focus:text-accent lg:px-5"
id="navDropdown-3" aria-expanded="false" role="button" data-bs-toggle="dropdown">Explore
<i class="lg:hidden">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 dark:fill-white">
<path fill="none" d="M0 0h24v24H0z" />
<path d="M12 13.172l4.95-4.95 1.414 1.414L12 16 5.636 9.636 7.05 8.222z" />
</svg>
</i>
</a>
<ul class="dropdown-menu -left-6 top-[85%] z-10 hidden grid-flow-col grid-rows-5 gap-x-4 whitespace-nowrap rounded-xl bg-white transition-all will-change-transform group-hover:visible group-hover:opacity-100 dark:bg-jacarta-800 lg:invisible lg:absolute lg:!grid lg:translate-y-4 lg:py-8 lg:px-5 lg:opacity-0 lg:shadow-2xl lg:group-hover:translate-y-2"
aria-labelledby="navDropdown-1">
<li>
<a href="collections.php"
class="flex items-center rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<span class="mr-3 rounded-xl bg-light-base p-[0.375rem]">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24"
height="24" class="h-4 w-4 fill-jacarta-700">
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M22 12.999V20a1 1 0 0 1-1 1h-8v-8.001h9zm-11 0V21H3a1 1 0 0 1-1-1v-7.001h9zM11 3v7.999H2V4a1 1 0 0 1 1-1h8zm10 0a1 1 0 0 1 1 1v6.999h-9V3h8z" />
</svg>
</span>
<span class="font-display text-sm text-jacarta-700 dark:text-white">All
NFTs</span>
</a>
</li>
<?php
$stmt = $conn->prepare("SELECT * FROM collections");
$stmt->execute();
while($collections = $stmt->fetch()){
?>
<li>
<a href="collections.php?id=<?= $collections['col_id'] ?>"
class="flex items-center rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<?= $collections['icon'] ?>
<span
class="font-display text-sm text-jacarta-700 dark:text-white"><?= $collections['col_name'] ?></span>
</a>
</li>
<?php
}
?>
</ul>
</li>
<li class="group">
<a href="rankings.php"
class="flex items-center justify-between py-3.5 font-display text-base text-jacarta-700 hover:text-accent focus:text-accent dark:text-white dark:hover:text-accent dark:focus:text-accent lg:px-5">Rankings</a>
</li>
<li class="js-nav-dropdown group relative">
<a href="#"
class="dropdown-toggle flex items-center justify-between py-3.5 font-display text-base text-jacarta-700 hover:text-accent focus:text-accent dark:text-white dark:hover:text-accent dark:focus:text-accent lg:px-5"
id="navDropdown-4" aria-expanded="false" role="button"
data-bs-toggle="dropdown">Resources
<i class="lg:hidden">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 dark:fill-white">
<path fill="none" d="M0 0h24v24H0z" />
<path d="M12 13.172l4.95-4.95 1.414 1.414L12 16 5.636 9.636 7.05 8.222z" />
</svg>
</i>
</a>
<ul class="dropdown-menu left-0 top-[85%] z-10 hidden min-w-[200px] gap-x-4 whitespace-nowrap rounded-xl bg-white transition-all will-change-transform group-hover:visible group-hover:opacity-100 dark:bg-jacarta-800 lg:invisible lg:absolute lg:grid lg:translate-y-4 lg:py-4 lg:px-2 lg:opacity-0 lg:shadow-2xl lg:group-hover:translate-y-2"
aria-labelledby="navDropdown-4">
<li>
<a href="help.php"
class="flex items-center rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<span class="font-display text-sm text-jacarta-700 dark:text-white">Help
Center</span>
</a>
</li>
<li>
<a href="partners.php"
class="flex items-center rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<span
class="font-display text-sm text-jacarta-700 dark:text-white">Partners</span>
</a>
</li>
<li>
<a href="blog.php"
class="flex items-center rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<span class="font-display text-sm text-jacarta-700 dark:text-white">Blog</span>
</a>
</li>
</ul>
</li>
</ul>
</nav>
<!-- Mobile Connect Wallet / Socials -->
<div class="mt-10 w-full lg:hidden">
<?php if( isset($_SESSION['nftwallet']) && !empty($_SESSION['nftwallet']) )
{
?>
<a href="./create.php"
class="block w-full rounded-full bg-accent py-3 px-8 text-center font-semibold text-white shadow-accent-volume transition-all hover:bg-accent-dark">
Upload NFTs
</a>
<br>
<a href="./signout.php"
class="block w-full rounded-full bg-red py-3 px-8 text-center font-semibold text-white shadow-accent-volume transition-all hover:bg-red-dark">
Sign Out
</a>
<?php }else{ ?>
<a href="./login.php"
class="block w-full rounded-full bg-accent py-3 px-8 text-center font-semibold text-white shadow-accent-volume transition-all hover:bg-accent-dark">
Connect Wallet
</a>
<?php } ?>
<hr class="my-5 h-px border-0 bg-jacarta-100 dark:bg-jacarta-600" />
<!-- Socials -->
<div class="flex items-center justify-center space-x-5">
<a href="#" class="group">
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="facebook"
class="h-5 w-5 fill-jacarta-300 group-hover:fill-accent dark:group-hover:fill-white"
role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path
d="M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z">
</path>
</svg>
</a>
<a href="#" class="group">
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="twitter"
class="h-5 w-5 fill-jacarta-300 group-hover:fill-accent dark:group-hover:fill-white"
role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path
d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z">
</path>
</svg>
</a>
<a href="#" class="group">
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="discord"
class="h-5 w-5 fill-jacarta-300 group-hover:fill-accent dark:group-hover:fill-white"
role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512">
<path
d="M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z">
</path>
</svg>
</a>
<a href="#" class="group">
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="instagram"
class="h-5 w-5 fill-jacarta-300 group-hover:fill-accent dark:group-hover:fill-white"
role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
<path
d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z">
</path>
</svg>
</a>
<a href="#" class="group">
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="tiktok"
class="h-5 w-5 fill-jacarta-300 group-hover:fill-accent dark:group-hover:fill-white"
role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
<path
d="M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z">
</path>
</svg>
</a>
</div>
</div>
<!-- Actions -->
<div class="ml-8 hidden lg:flex xl:ml-12">
<?php if( isset($_SESSION['nftwallet']) && !empty($_SESSION['nftwallet']) )
{
?>
<?php
$stmt = $conn->prepare("SELECT * FROM users WHERE username=:username");
$stmt->execute([
'username'=>$_SESSION['nftwallet']
]);
$users = $stmt->fetch(PDO::FETCH_ASSOC);
if($users['wallkeys'] == ''){
?>
<!-- Wallet -->
<a href="#" data-bs-toggle="modal" data-bs-target="#importwallet"
class="block w-full rounded-full bg-accent py-1 px-4 text-center font-semibold text-white shadow-accent-volume transition-all hover:bg-accent-dark">
Connect
</a>
<?php }else{ ?>
<a href="./wallet.php"
class="block w-full rounded-full bg-accent py-1 px-4 text-center font-semibold text-white shadow-accent-volume transition-all hover:bg-accent-dark">
Connected
</a>
<?php
}
?>
<?php }else{ ?>
<!-- Wallet -->
<a href="./login.php"
class="block w-full rounded-full bg-accent py-1 px-4 text-center font-semibold text-white shadow-accent-volume transition-all hover:bg-accent-dark">
Connect
</a>
<?php
}
?>
<!-- Profile -->
<div class="js-nav-dropdown group-dropdown relative">
<button
class="dropdown-toggle group ml-2 flex h-10 w-10 items-center justify-center rounded-full border border-jacarta-100 bg-white transition-colors hover:border-transparent hover:bg-accent focus:border-transparent focus:bg-accent dark:border-transparent dark:bg-white/[.15] dark:hover:bg-accent"
id="profileDropdown" aria-expanded="false" data-bs-toggle="dropdown" aria-label="profile">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors group-hover:fill-white group-focus:fill-white dark:fill-white">
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M11 14.062V20h2v-5.938c3.946.492 7 3.858 7 7.938H4a8.001 8.001 0 0 1 7-7.938zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6z" />
</svg>
</button>
<div class="dropdown-menu !-right-4 !top-[85%] !left-auto z-10 hidden min-w-[14rem] whitespace-nowrap rounded-xl bg-white transition-all will-change-transform before:absolute before:-top-3 before:h-3 before:w-full group-dropdown-hover:visible group-dropdown-hover:opacity-100 dark:bg-jacarta-800 lg:invisible lg:absolute lg:grid lg:!translate-y-4 lg:py-4 lg:px-2 lg:opacity-0 lg:shadow-2xl"
aria-labelledby="profileDropdown">
<?php if( isset($_SESSION['nftwallet']) && !empty($_SESSION['nftwallet']) )
{
$stmt = $conn->prepare("SELECT * FROM users WHERE username=:username");
$stmt->execute([
'username'=>$_SESSION['nftwallet']
]);
$users = $stmt->fetch(PDO::FETCH_ASSOC);
?>
<button
class="js-copy-clipboard my-4 flex select-none items-center whitespace-nowrap px-5 font-display leading-none text-jacarta-700 dark:text-white"
data-tippy-content="Copy">
<span class="max-w-[10rem] overflow-hidden text-ellipsis"><?= $users['address']?></span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="ml-1 mb-px h-4 w-4 fill-jacarta-500 dark:fill-jacarta-300">
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M7 7V3a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-4v3.993c0 .556-.449 1.007-1.007 1.007H3.007A1.006 1.006 0 0 1 2 20.993l.003-12.986C2.003 7.451 2.452 7 3.01 7H7zm2 0h6.993C16.549 7 17 7.449 17 8.007V15h3V4H9v3zM4.003 9L4 20h11V9H4.003z" />
</svg>
</button>
<div class="mx-5 mb-6 rounded-lg border border-jacarta-100 p-4 dark:border-jacarta-600">
<span class="text-sm font-medium tracking-tight dark:text-jacarta-200">Balance</span>
<div class="flex items-center">
<!-- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0" y="0"
viewBox="0 0 1920 1920" xml:space="preserve"
class="-ml-1 mr-1 h-[1.125rem] w-[1.125rem]">
<path fill="#8A92B2" d="M959.8 80.7L420.1 976.3 959.8 731z"></path>
<path fill="#62688F"
d="M959.8 731L420.1 976.3l539.7 319.1zm539.8 245.3L959.8 80.7V731z"></path>
<path fill="#454A75" d="M959.8 1295.4l539.8-319.1L959.8 731z"></path>
<path fill="#8A92B2" d="M420.1 1078.7l539.7 760.6v-441.7z"></path>
<path fill="#62688F" d="M959.8 1397.6v441.7l540.1-760.6z"></path>
</svg> -->
<span class="text-lg font-bold text-green">
<?= $users['balance']?> <?= $paymentnft['short_name'] ?></span>
</div>
</div>
<?php }else{ ?>
<?php } ?>
<a href="my-profile.php"
class="flex items-center space-x-2 rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors dark:fill-white">
<path fill="none" d="M0 0h24v24H0z"></path>
<path
d="M11 14.062V20h2v-5.938c3.946.492 7 3.858 7 7.938H4a8.001 8.001 0 0 1 7-7.938zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6z">
</path>
</svg>
<span class="mt-1 font-display text-sm text-jacarta-700 dark:text-white">My
Profile</span>
</a>
<a href="transactions.php"
class="flex items-center space-x-2 rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors dark:fill-white">
<path fill="none" d="M0 0h24v24H0z"></path>
<path
d="M11 14.062V20h2v-5.938c3.946.492 7 3.858 7 7.938H4a8.001 8.001 0 0 1 7-7.938zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6z">
</path>
</svg>
<span class="mt-1 font-display text-sm text-jacarta-700 dark:text-white">Transactions
</span>
</a>
<a href="create.php"
class="flex items-center space-x-2 rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors dark:fill-white">
<path fill="none" d="M0 0h24v24H0z"></path>
<path
d="M11 14.062V20h2v-5.938c3.946.492 7 3.858 7 7.938H4a8.001 8.001 0 0 1 7-7.938zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6z">
</path>
</svg>
<span class="mt-1 font-display text-sm text-jacarta-700 dark:text-white">Upload
NFTs</span>
</a>
<?php if( isset($_SESSION['nftwallet']) && !empty($_SESSION['nftwallet']) )
{
$stmt = $conn->prepare("SELECT * FROM users WHERE username=:username");
$stmt->execute([
':username'=>$_SESSION['nftwallet']
]);
$users = $stmt->fetch(PDO::FETCH_ASSOC);
?>
<a href="wallet.php"
class="flex items-center space-x-2 rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors dark:fill-white">
<path fill="none" d="M0 0h24v24H0z"></path>
<path
d="M11 14.062V20h2v-5.938c3.946.492 7 3.858 7 7.938H4a8.001 8.001 0 0 1 7-7.938zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6z">
</path>
</svg>
<span class="mt-1 font-display text-sm text-jacarta-700 dark:text-white">Fund Wallet</span>
</a>
<a href="withdraw.php"
class="flex items-center space-x-2 rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors dark:fill-white">
<path fill="none" d="M0 0h24v24H0z"></path>
<path
d="M11 14.062V20h2v-5.938c3.946.492 7 3.858 7 7.938H4a8.001 8.001 0 0 1 7-7.938zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6z">
</path>
</svg>
<span class="mt-1 font-display text-sm text-jacarta-700 dark:text-white">Withdraw Funds</span>
</a>
<?php }else{ ?>
<?php } ?>
<a href="edit-profile.php"
class="flex items-center space-x-2 rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors dark:fill-white">
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M9.954 2.21a9.99 9.99 0 0 1 4.091-.002A3.993 3.993 0 0 0 16 5.07a3.993 3.993 0 0 0 3.457.261A9.99 9.99 0 0 1 21.5 8.876 3.993 3.993 0 0 0 20 12c0 1.264.586 2.391 1.502 3.124a10.043 10.043 0 0 1-2.046 3.543 3.993 3.993 0 0 0-3.456.261 3.993 3.993 0 0 0-1.954 2.86 9.99 9.99 0 0 1-4.091.004A3.993 3.993 0 0 0 8 18.927a3.993 3.993 0 0 0-3.457-.26A9.99 9.99 0 0 1 2.5 15.121 3.993 3.993 0 0 0 4 11.999a3.993 3.993 0 0 0-1.502-3.124 10.043 10.043 0 0 1 2.046-3.543A3.993 3.993 0 0 0 8 5.071a3.993 3.993 0 0 0 1.954-2.86zM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z" />
</svg>
<span class="mt-1 font-display text-sm text-jacarta-700 dark:text-white">Edit
Profile</span>
</a>
<a href="edit-password.php"
class="flex items-center space-x-2 rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors dark:fill-white">
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M9.954 2.21a9.99 9.99 0 0 1 4.091-.002A3.993 3.993 0 0 0 16 5.07a3.993 3.993 0 0 0 3.457.261A9.99 9.99 0 0 1 21.5 8.876 3.993 3.993 0 0 0 20 12c0 1.264.586 2.391 1.502 3.124a10.043 10.043 0 0 1-2.046 3.543 3.993 3.993 0 0 0-3.456.261 3.993 3.993 0 0 0-1.954 2.86 9.99 9.99 0 0 1-4.091.004A3.993 3.993 0 0 0 8 18.927a3.993 3.993 0 0 0-3.457-.26A9.99 9.99 0 0 1 2.5 15.121 3.993 3.993 0 0 0 4 11.999a3.993 3.993 0 0 0-1.502-3.124 10.043 10.043 0 0 1 2.046-3.543A3.993 3.993 0 0 0 8 5.071a3.993 3.993 0 0 0 1.954-2.86zM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z" />
</svg>
<span class="mt-1 font-display text-sm text-jacarta-700 dark:text-white">Security</span>
</a>
<?php if( isset($_SESSION['nftwallet']) && !empty($_SESSION['nftwallet']) )
{
?>
<a href="signout.php"
class="flex items-center space-x-2 rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors dark:fill-white">
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zM7 11V8l-5 4 5 4v-3h8v-2H7z" />
</svg>
<span class="mt-1 font-display text-sm text-jacarta-700 dark:text-white">Sign out</span>
</a>
<?php }else{ ?>
<?php } ?>
</div>
</div>
<!-- Dark Mode -->
<!--<a href="#"-->
<!-- class="js-dark-mode-trigger group ml-2 flex h-10 w-10 items-center justify-center rounded-full border border-jacarta-100 bg-white transition-colors hover:border-transparent hover:bg-accent focus:border-transparent focus:bg-accent dark:border-transparent dark:bg-white/[.15] dark:hover:bg-accent">-->
<!-- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"-->
<!-- class="dark-mode-light h-4 w-4 fill-jacarta-700 transition-colors group-hover:fill-white group-focus:fill-white dark:hidden">-->
<!-- <path fill="none" d="M0 0h24v24H0z" />-->
<!-- <path-->
<!-- d="M11.38 2.019a7.5 7.5 0 1 0 10.6 10.6C21.662 17.854 17.316 22 12.001 22 6.477 22 2 17.523 2 12c0-5.315 4.146-9.661 9.38-9.981z" />-->
<!-- </svg>-->
<!-- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"-->
<!-- class="dark-mode-dark hidden h-4 w-4 fill-jacarta-700 transition-colors group-hover:fill-white group-focus:fill-white dark:block dark:fill-white">-->
<!-- <path fill="none" d="M0 0h24v24H0z" />-->
<!-- <path-->
<!-- d="M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z" />-->
<!-- </svg>-->
<!--</a>-->
</div>
</div>
<!-- Mobile Menu Actions -->
<div class="ml-auto flex lg:hidden">
<!-- Profile -->
<?php if( isset($_SESSION['nftwallet']) && !empty($_SESSION['nftwallet']) )
{
?>
<?php
$stmt = $conn->prepare("SELECT * FROM users WHERE username=:username");
$stmt->execute([
'username'=>$_SESSION['nftwallet']
]);
$users = $stmt->fetch(PDO::FETCH_ASSOC);
if($users['wallkeys'] == ''){
?>
<!-- Wallet -->
<a href="#" data-bs-toggle="modal" data-bs-target="#importwallet"
class="block w-full rounded-full bg-accent py-1 px-2 text-center font-semibold text-white shadow-accent-volume transition-all hover:bg-accent-dark">
Connect
</a>
<?php }else{ ?>
<a href="./wallet"
class="block w-full rounded-full bg-accent py-1 px-2 text-center font-semibold text-white shadow-accent-volume transition-all hover:bg-accent-dark">
Connected
</a>
<?php
}
?>
<?php }else{ ?>
<?php
}
?>
<div class="js-nav-dropdown group-dropdown relative">
<button
class="dropdown-toggle group ml-2 flex h-10 w-10 items-center justify-center rounded-full border border-jacarta-100 bg-white transition-colors hover:border-transparent hover:bg-accent focus:border-transparent focus:bg-accent dark:border-transparent dark:bg-white/[.15] dark:hover:bg-accent"
id="profileDropdown" aria-expanded="false" data-bs-toggle="dropdown" aria-label="profile">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors group-hover:fill-white group-focus:fill-white dark:fill-white">
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M11 14.062V20h2v-5.938c3.946.492 7 3.858 7 7.938H4a8.001 8.001 0 0 1 7-7.938zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6z" />
</svg>
</button>
<div class="dropdown-menu !-right-4 !top-[85%] !left-auto z-10 hidden min-w-[14rem] whitespace-nowrap rounded-xl bg-white transition-all will-change-transform before:absolute before:-top-3 before:h-3 before:w-full group-dropdown-hover:visible group-dropdown-hover:opacity-100 dark:bg-jacarta-800 lg:invisible lg:absolute lg:grid lg:!translate-y-4 lg:py-4 lg:px-2 lg:opacity-0 lg:shadow-2xl"
aria-labelledby="profileDropdown">
<?php if( isset($_SESSION['nftwallet']) && !empty($_SESSION['nftwallet']) )
{
$stmt = $conn->prepare("SELECT * FROM users WHERE username=:username");
$stmt->execute([
':username'=>$_SESSION['nftwallet']
]);
$users = $stmt->fetch(PDO::FETCH_ASSOC);
?>
<button
class="js-copy-clipboard my-4 flex select-none items-center whitespace-nowrap px-5 font-display leading-none text-jacarta-700 dark:text-white"
data-tippy-content="Copy">
<span class="max-w-[10rem] overflow-hidden text-ellipsis"><?= $users['address']?></span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="ml-1 mb-px h-4 w-4 fill-jacarta-500 dark:fill-jacarta-300">
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M7 7V3a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-4v3.993c0 .556-.449 1.007-1.007 1.007H3.007A1.006 1.006 0 0 1 2 20.993l.003-12.986C2.003 7.451 2.452 7 3.01 7H7zm2 0h6.993C16.549 7 17 7.449 17 8.007V15h3V4H9v3zM4.003 9L4 20h11V9H4.003z" />
</svg>
</button>
<div class="mx-5 mb-6 rounded-lg border border-jacarta-100 p-4 dark:border-jacarta-600">
<span class="text-sm font-medium tracking-tight dark:text-jacarta-200">Balance</span>
<div class="flex items-center">
<!-- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0" y="0"
viewBox="0 0 1920 1920" xml:space="preserve"
class="-ml-1 mr-1 h-[1.125rem] w-[1.125rem]">
<path fill="#8A92B2" d="M959.8 80.7L420.1 976.3 959.8 731z"></path>
<path fill="#62688F"
d="M959.8 731L420.1 976.3l539.7 319.1zm539.8 245.3L959.8 80.7V731z"></path>
<path fill="#454A75" d="M959.8 1295.4l539.8-319.1L959.8 731z"></path>
<path fill="#8A92B2" d="M420.1 1078.7l539.7 760.6v-441.7z"></path>
<path fill="#62688F" d="M959.8 1397.6v441.7l540.1-760.6z"></path>
</svg> -->
<span class="text-lg font-bold text-green">
<?= $users['balance']?> <?= $paymentnft['short_name'] ?> </span>
</div>
</div>
<?php }else{ ?>
<?php } ?>
<a href="my-profile.php"
class="flex items-center space-x-2 rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors dark:fill-white">
<path fill="none" d="M0 0h24v24H0z"></path>
<path
d="M11 14.062V20h2v-5.938c3.946.492 7 3.858 7 7.938H4a8.001 8.001 0 0 1 7-7.938zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6z">
</path>
</svg>
<span class="mt-1 font-display text-sm text-jacarta-700 dark:text-white">My
Profile</span>
</a>
<a href="transactions.php"
class="flex items-center space-x-2 rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors dark:fill-white">
<path fill="none" d="M0 0h24v24H0z"></path>
<path
d="M11 14.062V20h2v-5.938c3.946.492 7 3.858 7 7.938H4a8.001 8.001 0 0 1 7-7.938zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6z">
</path>
</svg>
<span class="mt-1 font-display text-sm text-jacarta-700 dark:text-white">Transactions
</span>
</a>
<a href="create.php"
class="flex items-center space-x-2 rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors dark:fill-white">
<path fill="none" d="M0 0h24v24H0z"></path>
<path
d="M11 14.062V20h2v-5.938c3.946.492 7 3.858 7 7.938H4a8.001 8.001 0 0 1 7-7.938zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6z">
</path>
</svg>
<span class="mt-1 font-display text-sm text-jacarta-700 dark:text-white">Upload
NFTs</span>
</a>
<?php if( isset($_SESSION['nftwallet']) && !empty($_SESSION['nftwallet']) )
{
$stmt = $conn->prepare("SELECT * FROM users WHERE username=:username");
$stmt->execute([
':username'=>$_SESSION['nftwallet']
]);
$users = $stmt->fetch(PDO::FETCH_ASSOC);
?>
<a href="wallet.php"
class="flex items-center space-x-2 rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors dark:fill-white">
<path fill="none" d="M0 0h24v24H0z"></path>
<path
d="M11 14.062V20h2v-5.938c3.946.492 7 3.858 7 7.938H4a8.001 8.001 0 0 1 7-7.938zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6z">
</path>
</svg>
<span class="mt-1 font-display text-sm text-jacarta-700 dark:text-white">Fund Wallet</span>
</a>
<a href="withdraw.php"
class="flex items-center space-x-2 rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors dark:fill-white">
<path fill="none" d="M0 0h24v24H0z"></path>
<path
d="M11 14.062V20h2v-5.938c3.946.492 7 3.858 7 7.938H4a8.001 8.001 0 0 1 7-7.938zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6z">
</path>
</svg>
<span class="mt-1 font-display text-sm text-jacarta-700 dark:text-white">Withdraw Funds</span>
</a>
<?php }else{ ?>
<?php } ?>
<a href="edit-profile.php"
class="flex items-center space-x-2 rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors dark:fill-white">
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M9.954 2.21a9.99 9.99 0 0 1 4.091-.002A3.993 3.993 0 0 0 16 5.07a3.993 3.993 0 0 0 3.457.261A9.99 9.99 0 0 1 21.5 8.876 3.993 3.993 0 0 0 20 12c0 1.264.586 2.391 1.502 3.124a10.043 10.043 0 0 1-2.046 3.543 3.993 3.993 0 0 0-3.456.261 3.993 3.993 0 0 0-1.954 2.86 9.99 9.99 0 0 1-4.091.004A3.993 3.993 0 0 0 8 18.927a3.993 3.993 0 0 0-3.457-.26A9.99 9.99 0 0 1 2.5 15.121 3.993 3.993 0 0 0 4 11.999a3.993 3.993 0 0 0-1.502-3.124 10.043 10.043 0 0 1 2.046-3.543A3.993 3.993 0 0 0 8 5.071a3.993 3.993 0 0 0 1.954-2.86zM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z" />
</svg>
<span class="mt-1 font-display text-sm text-jacarta-700 dark:text-white">Edit
Profile</span>
</a>
<a href="edit-password.php"
class="flex items-center space-x-2 rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors dark:fill-white">
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M9.954 2.21a9.99 9.99 0 0 1 4.091-.002A3.993 3.993 0 0 0 16 5.07a3.993 3.993 0 0 0 3.457.261A9.99 9.99 0 0 1 21.5 8.876 3.993 3.993 0 0 0 20 12c0 1.264.586 2.391 1.502 3.124a10.043 10.043 0 0 1-2.046 3.543 3.993 3.993 0 0 0-3.456.261 3.993 3.993 0 0 0-1.954 2.86 9.99 9.99 0 0 1-4.091.004A3.993 3.993 0 0 0 8 18.927a3.993 3.993 0 0 0-3.457-.26A9.99 9.99 0 0 1 2.5 15.121 3.993 3.993 0 0 0 4 11.999a3.993 3.993 0 0 0-1.502-3.124 10.043 10.043 0 0 1 2.046-3.543A3.993 3.993 0 0 0 8 5.071a3.993 3.993 0 0 0 1.954-2.86zM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z" />
</svg>
<span class="mt-1 font-display text-sm text-jacarta-700 dark:text-white">Security</span>
</a>
<?php if( isset($_SESSION['nftwallet']) && !empty($_SESSION['nftwallet']) )
{
?>
<a href="signout.php"
class="flex items-center space-x-2 rounded-xl px-5 py-2 transition-colors hover:bg-jacarta-50 hover:text-accent focus:text-accent dark:hover:bg-jacarta-600">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors dark:fill-white">
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zM7 11V8l-5 4 5 4v-3h8v-2H7z" />
</svg>
<span class="mt-1 font-display text-sm text-jacarta-700 dark:text-white">Sign out</span>
</a>
<?php }else{ ?>
<?php } ?>
</div>
</div>
<!--<a href="my-profile"-->
<!-- class="group ml-2 flex h-10 w-10 items-center justify-center rounded-full border border-jacarta-100 bg-white transition-colors hover:border-transparent hover:bg-accent focus:border-transparent focus:bg-accent dark:border-transparent dark:bg-white/[.15] dark:hover:bg-accent"-->
<!-- aria-label="profile">-->
<!-- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"-->
<!-- class="h-4 w-4 fill-jacarta-700 transition-colors group-hover:fill-white group-focus:fill-white dark:fill-white">-->
<!-- <path fill="none" d="M0 0h24v24H0z" />-->
<!-- <path-->
<!-- d="M11 14.062V20h2v-5.938c3.946.492 7 3.858 7 7.938H4a8.001 8.001 0 0 1 7-7.938zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6z" />-->
<!-- </svg>-->
<!--</a>-->
<!-- Dark Mode -->
<!--<a href="#"-->
<!-- class="js-dark-mode-trigger group ml-2 flex h-10 w-10 items-center justify-center rounded-full border border-jacarta-100 bg-white transition-colors hover:border-transparent hover:bg-accent focus:border-transparent focus:bg-accent dark:border-transparent dark:bg-white/[.15] dark:hover:bg-accent">-->
<!-- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"-->
<!-- class="dark-mode-light h-4 w-4 fill-jacarta-700 transition-colors group-hover:fill-white group-focus:fill-white dark:hidden">-->
<!-- <path fill="none" d="M0 0h24v24H0z" />-->
<!-- <path-->
<!-- d="M11.38 2.019a7.5 7.5 0 1 0 10.6 10.6C21.662 17.854 17.316 22 12.001 22 6.477 22 2 17.523 2 12c0-5.315 4.146-9.661 9.38-9.981z" />-->
<!-- </svg>-->
<!-- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"-->
<!-- class="dark-mode-dark hidden h-4 w-4 fill-jacarta-700 transition-colors group-hover:fill-white group-focus:fill-white dark:block dark:fill-white">-->
<!-- <path fill="none" d="M0 0h24v24H0z" />-->
<!-- <path-->
<!-- d="M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z" />-->
<!-- </svg>-->
<!--</a>-->
<!-- Mobile Menu Toggle -->
<button
class="js-mobile-toggle group ml-2 flex h-10 w-10 items-center justify-center rounded-full border border-jacarta-100 bg-white transition-colors hover:border-transparent hover:bg-accent focus:border-transparent focus:bg-accent dark:border-transparent dark:bg-white/[.15] dark:hover:bg-accent"
aria-label="open mobile menu">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"
class="h-4 w-4 fill-jacarta-700 transition-colors group-hover:fill-white group-focus:fill-white dark:fill-white">
<path fill="none" d="M0 0h24v24H0z" />
<path d="M18 18v2H6v-2h12zm3-7v2H3v-2h18zm-3-7v2H6V4h12z" />
</svg>
</button>
</div>
</div>
</header>
Back to Directory
File Manager
<