<!DOCTYPE html>
<html lang="en">
<head>
  <base href="{{ site['url'] }}/">
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>{{ title }}</title>
  <meta name="keywords" content="{{ site['keywords'] }}">
  <meta name="description" content="{{ site['description'] }}">
  {% if site['favicon'] %}
    <link rel="shortcut icon" type="image/ico" href="{{ site['favicon'] }}" />
  {% endif %}

  <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <script src="https://code.jquery.com/jquery-3.5.0.js"></script>
  <![endif]-->
  
      <link rel="stylesheet" type="text/css" href="/public/styles/{{ settings['site_theme_alt'] }}.css">
  
      <link rel="preconnect" href="https://fonts.gstatic.com/">
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&amp;display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Material+Icons&amp;display=swap" />
    <link rel="stylesheet" href="/public/follows/use.fontawesome.com/releases/v5.14.0/css/all.css">
    <link rel="stylesheet" type="text/css" href="/public/follows/cdn.jsdelivr.net/npm/slick-carousel%401.8.1/slick/slick.css"/>
    <!-- Latest compiled and minified CSS -->
        <link rel="stylesheet" type="text/css" href="/public/follows/e55049/jldainqhlfoihupu.css">
        <link rel="stylesheet" type="text/css" href="/public/follows/e55049/j7tm5e7bh1fk3bhw.css">
        <link rel="stylesheet" type="text/css" href="/public/follows/libs/bootstrap-datetimepicker/4.17.47/bootstrap-datetimepicker.min.css">
        <link rel="stylesheet" type="text/css" href="/public/follows/css/font-awesome/css/all.min.css">
	
    {% for style in styleList %}
      <link rel="stylesheet" type="text/css" href="{{ style }}">
    {% endfor %}
    
    {{ headerCode }}

  </head>
  
<body>
{% if user['auth'] %}
   <body class="dashboard daymode ">
        <nav class="navbar navbar-default navbar-fixed-top ">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
        <a class="navbar-brand" href="{{ site['url'] }}">
          {% if site["logo"] %}
            <img src="{{ site['logo'] }}" alt="" title="">
          {% else %}
            {{ site["site_name"] }}
          {% endif %}
        </a>
        </div>
        <div id="navbar" class="collapse navbar-collapse">
          <ul class="nav navbar-nav navbar-left-block">
             <li>
              <a href="/" >
                                New Order
              </a>
            </li>
                                                                        <li>
              <a href="/services" >
                                Services
              </a>
            </li>
                                                                                    <li>
              <a href="/orders" >
                                Order History
              </a>
            </li>
			<li>
              <a href="/tickets" >
                                Support Tickets
              </a>
            </li>
			<li>
              <a href="/addfunds" >
                         Add Funds       
              </a>
            </li>
                                                                                                                                                                                                                                                          
           
          </ul>
          <ul class="nav navbar-nav navbar-right navbar-right-block">
            
           
            
                        <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="nav-icon"><img src="https://cdn.mypanel.link/9f0e19/wsz9xpfwz7ti001g.png"></span> &nbsp;{{ user['username'] }} <i class="fas fa-angle-down"></i></a>
              <ul class="dropdown-menu">
                <li><a href="/account">Account</a></li>
                <li><a href="/logout">Logout</a></li>
              </ul>
            </li>
          </ul>
        </div>
      </div>
    </nav>
	<div id="wrapper" class="toggled">
      <div id="sidebar-wrapper" class="sidebar-toggle">
        <div class="side-back">
          <div class="side-box">
            <div class="media">
              <div class="media-left">
                <img class="media-object" src="https://cdn.mypanel.link/9f0e19/imfg2exmp0529276.png">
              </div>
              <div class="media-body">
                <h4 class="media-heading">5000+</h4>
                <h5>Total Orders</h5>
              </div>
            </div>
          </div>
          <div class="side-box">
            <div class="media">
              <div class="media-left">
                <img class="media-object" src="https://cdn.mypanel.link/9f0e19/3y041zmpr7jho459.png">
              </div>
              <div class="media-body">
                <h4 class="media-heading"> {% if settings['site_currency'] == "TRY" %} 
                    {{ "₺" }}
                {% elseif settings['site_currency'] == "USD" %}
                    {{ "$" }}
					{% elseif settings['site_currency'] == "INR" %}
                    {{ "₹" }}
                {% else %}
                    {{ "€" }}
                {% endif %}
                              {{ user['balance'] }}
</h4>
                <h5>Current Balance</h5>
              </div>
            </div>
            <a href="/addfunds" class="add-btn">Top Up Account</a>
          </div>
          <div class="side-box">
            <button type="button" data-toggle="modal" data-target="#acc-status">
            <div class="media">
              <div class="media-left">
                <img class="media-object" src="https://cdn.mypanel.link/9f0e19/2pmf74xtz84px6kn.png">
              </div>
              
              <div class="media-body">
                <h4 class="media-heading">
                                      {{ statu }}
                                  </h4>
                <h5>Current Status</h5>
              </div>
             
            </div>
               </button>
                          <!-- <div class="next-status-badge">Next Status : <strong>Seller</strong></div> -->
                        <!-- <div class="next-status-badge" type="button" data-toggle="modal" data-target="#acc-status"><strong>Status Benefits</strong></div> -->
            <!-- <div class="media">
              <div class="media-left">
                <img class="media-object" src="https://cdn.mypanel.link/9f0e19/4rfw4oxu200pxj8e.png">
              </div>
               <div class="media-body">
                <h4 class="media-heading">$50 Bonus</h4>
                <h5>You'll get</h5>
              </div>
            </div> -->
           
          </div>
          <a href="/child" class="side-link">Child Panel <i class="fas fa-chevron-right"></i></a>
		  <a href="/api" class="side-link">API <i class="fas fa-chevron-right"></i></a>
		  <a href="/terms" class="side-link">T&C <i class="fas fa-chevron-right"></i></a>
        </div>
      </div>

        <div id="page-wrapper">
        <div class="inner-page-wrapper">
          <div class="container-fluid">
            <div class="row">
              <div class="col-sm-6">
                <div class="left-info">
                  <a href="javascript:void(0);" class="toggle-menu"><i class="fas fa-bars"></i></a>
                </div>
              </div>
            
            </div>         
                
              

{% else %}
  <body class="guest">
        <nav class="navbar navbar-default navbar-static-top ">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
         <a class="navbar-brand" href="{{ site['url'] }}">
          {% if site["logo"] %}
            <img src="{{ site['logo'] }}" alt="" title="">
          {% else %}
            {{ site["site_name"] }}
          {% endif %}
        </a>
        </div>
        <div id="navbar" class="collapse navbar-collapse">
                    <ul class="nav navbar-nav navbar-right">
                        <li {% if active_menu == "login" %} class="active" {% endif %} >
              <a href="/" >
                <i class="navbar-icon fas fa-sign-in-alt"></i>                Sign in
              </a>
            </li>
                        <li {% if active_menu == "signup" %} class="active" {% endif %}>
              <a href="signup" >
                <i class="navbar-icon fas fa-address-card"></i>                Sign up
              </a>
            </li>
                        <li {% if active_menu == "terms" %} class="active" {% endif %}>
              <a href="terms" >
                <i class="navbar-icon fas fa-window-restore"></i>                Terms
              </a>
            </li>
                      
                        <li {% if active_menu == "services" %} class="active" {% endif %}>
              <a href="services" >
                <i class="navbar-icon fas fa-server"></i>                Services
              </a>
            </li>
                       
                        <li {% if active_menu == "api" %} class="active" {% endif %}>
              <a href="api" >
                <i class="navbar-icon fas fa-link"></i>                Api
              </a>
            </li>
                       
                      </ul>
        </div>
      </div>
    </nav>


{% endif %}