<!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>
  <![endif]-->
  
{% if user['auth'] %}     

   


      <link rel="stylesheet" type="text/css" href="/public/msp/css/oxe27c6l4jba9ob6.css">
      <link rel="stylesheet" type="text/css" href="/public/msp/css/5uz6pcnizr47up6j.css">
      <link rel="stylesheet" type="text/css" href="/public/msp/css/bootstrap-datetimepicker.min.css">
      <link rel="stylesheet" type="text/css" href="/public/msp/css/all.min.css">
      
      <link rel="stylesheet" type="text/css" href="/public/msp/css/owl.carousel.min.css">
      <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.2/umd/popper.min.js"></script> 
  <link rel="stylesheet" href="https://app.smmspot.net/smmspot.css?api_key=5a31f874a593de816b39e9aeeefd0d58">
<style>
  .site-name a {
    font-size: 22px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 1px 2px #73737378;
}
  </style>

    {{ headerCode }}

  </head>

     <body>
      <script>
         var app = document.getElementsByTagName("BODY")[0];
         if (localStorage.lightMode == "dark") {
         	app.setAttribute("class", "dark");
         }
        $("document").ready(function(){
          var cBalance = 0.0000000;
          var text = "Heroic";
          if (cBalance > 200) text = "Bronze";
          if (cBalance > 5000) text = "Silver";
          if (cBalance > 20000) text = "Gold";
          if (cBalance > 50000) text = "Diamond";
          if (cBalance > 100000) text = "VIP";
          $(".userStatus").text(text);
        });
      </script>
      <div class="app-container">
         <div class="app-sidebar">
            <div class="close-sidebar-btn" onclick="dashMenuToggle()">
               <i class="fas fa-angle-left"></i>
            </div>
            <div class="sidebar-header">
               <div class="sh-bg"></div>
               <div class="app-logo">
                  <a href="/">
                                      <img src="{{ site['logo'] }}" alt="Best Smm Panel | Cheapest Smm Panel | Smm Panel India - {{ site["site_name"] }}
" class="logo-lg" title="Best Smm Panel | Cheapest Smm Panel | Smm Panel India - {{ site["site_name"] }}
">
                                    <img src="{{ site['favicon'] }}" class="logo-sm" alt="{{ site["site_name"] }}
">
                  </a>
               </div>
               <div class="app-user">
                  <div class="user-name">
                     {{ user["username"] }}
                  </div>
				  <a class="user-balance" href="/addfunds" data-second-text="Add Funds">Balance:{% if settings['site_currency'] == "TRY" %} 
                    {{ "₺" }}
                {% elseif settings['site_currency'] == "USD" %}
                    {{ "$" }}
          {% elseif settings['site_currency'] == "INR" %}
                    {{ "₹" }}
                {% else %}
                    {{ "€" }}
                {% endif %} {{ user["balance"] }}</a>
               </div>
            </div>
            <div class="sidebar-content">
					<ul class="sidebar-menu">
							<li {% if active_menu == "neworder" %} class="menu-link active" {% endif %}>
								<a href="/" class="menu-link"   >
																	  <i class="menu-icon fas fa-file-alt"></i>
																	  <span class="menu-text">New order</span>
								</a>
							</li>
							<li {% if active_menu == "services" %} class="menu-link active" {% endif %} >
								<a href="/services" class="menu-link"     >
																	  <i class="menu-icon fas fa-list-alt"></i>
																	  <span class="menu-text">Services</span>
								</a>
							</li>
							<li {% if active_menu == "orders" %} class="menu-link active" {% endif %}>
								<a href="/orders" class="menu-link"   >
																	  <i class="menu-icon fas fa-box-open"></i>
																	  <span class="menu-text">Orders</span>
								</a>
							</li>
													<li  {% if active_menu == "addfunds" %} class="menu-link active"    {% endif %}>
								<a href="/addfunds" class="menu-link">
																	  <i class="menu-icon fas fa-credit-card"></i>
																	  <span class="menu-text">{{ lang['addfunds.title'] }}</span>
								</a>
							</li>
													<li {% if active_menu == "api" %} class="menu-link active"     {% endif %}>
								<a href="/api" class="menu-link">
																	  <i class="menu-icon fas fa-laptop-code"></i>
																	  <span class="menu-text">{{ lang['api.title'] }}</span>
								</a>
							</li>
							<li {% if active_menu == "massorder" %} class="menu-link active"    {% endif %} >
								<a href="/child-panels" class="menu-link ">
																	  <i class="menu-icon fas fa-child"></i>
																	  <span class="menu-text">Child panel</span>
								</a>
							</li>
													<li {% if active_menu == "tickets" %} class="menu-link active" {% endif %}>
								<a href="/tickets" class="menu-link">
																	  <i class="menu-icon fas fa-user-headset"></i>
																	  <span class="menu-text">{{ lang['tickets.title'] }} {% if ticketCount %} <span class="badge">{{ ticketCount }}</span> {% endif %} </span>
								</a>
							</li>
							<li {% if active_menu == "get app" %} class="menu-link active" {% endif %}>
								<a href="" class="menu-link"   >
																	  <i class="menu-icon fas fa-download"></i>
																	  <span class="menu-text">Download App</span>
								</a>
							</li><li {% if active_menu == "terms" %} class="menu-link active" {% endif %}>
								<a href="/terms" class="menu-link"   >
																	  <i class="menu-icon fas fa-info-circle"></i>
																	  <span class="menu-text">Terms</span>
								</a>
							</li>
							</li>
						                 
					</ul>
            </div>
         </div>
         <!-- app-sidebar -->
         <div class="app-header">
            <div class="container-fluid">
               <div class="row row-100">
                  <div class="col-auto align-self-center">
                     <div class="dash-menu-btn" onclick="dashMenuToggle()">
                        <i class="fas fa-bars"></i>
                     </div>
                  </div>
                  <div class="col d-inline-block d-md-none align-self-center">
                     <div class="app-logo mobiles">
                          <a href="/">
                                                      <img src="{{ site['logo'] }}" alt="Best Smm Panel | Cheapest Smm Panel | Smm Panel India - {{ site["site_name"] }}
" class="logo-lg" height="40" title="Best Smm Panel | Cheapest Smm Panel | Smm Panel India - {{ site["site_name"] }}
">
                                                    </a>
                     </div>
                  </div>
                  <div class="col-auto d-none d-lg-inline-block align-self-center">
                     <div class="hea-ann-title">
                        Announcement
                     </div>
                  </div>
                  <div class="col col-100 d-none d-md-inline-block align-self-center">
                     <marquee class="dhr-marquee" direction="left">
                        We have renewed the interface of our site in order to serve you better!
                     </marquee>
                  </div>
                  <div class="col-auto align-self-center">
                     <button class="darkMode" onclick="change_mode()">
                     <i class="fas fa-sun"></i>
                     <i class="fas fa-moon"></i>
                     </button>
                     <a class="header-btn mr-1" href="/account" data-toggle="tooltip" data-placement="top" title="Options">
                     <span class="icon">
                     <i class="fas fa-cog"></i>
                     </span>
                     </a>
                     <a class="header-btn" href="/logout" data-toggle="tooltip" data-placement="top" title="Logout">
                     <span class="icon">
                     <i class="fas fa-power-off"></i>
                     </span>
                     </a>
                  </div>
               </div>
               <!-- row -->
            </div>
         </div>
         <!-- app-header -->
  {% else %}
  		
<link
			href="https://fonts.googleapis.com/css?family=Open+Sans:400,700%7CRoboto:400,500,700,900%7CPlayfair+Display:400,700,700i,900,900i%7CWork+Sans:400,500,600,700"
			rel="stylesheet" />
		<link rel="stylesheet" href="/public/msp/css/signatra-font.min.css" />
		<link rel="stylesheet" href="/public/msp/css/font-awesome.min.css" />
		<link rel="stylesheet" href="/public/msp/css/bootstrap.min.css" />
		<link rel="stylesheet" href="/public/msp/css/animate.min.css" />
		<link rel="stylesheet" href="/public/msp/css/iconfont.min.css" />
		<link rel="stylesheet" href="/public/msp/css/magnific-popup.min.css" />
		<link rel="stylesheet" href="/public/msp/css/owl.carousel.min.css" />
		<link rel="stylesheet" href="/public/msp/css/owl.theme.default.min.css" />
		<link rel="stylesheet" href="/public/msp/css/swiper.min.css" />
		<link rel="stylesheet" href="/public/msp/css/plugins.min.css" />
		<link rel="stylesheet" href="/public/msp/css/style.min.css?131" />
		<link rel="stylesheet" href="/public/msp/css/responsive.min.css?10" />
		<style>
			.stars {
				color: #fcc651;
				font-size: 32px;
				text-shadow: 1px 2px 3px #0000001c;
			}
			.kontent {
				box-shadow: 0 7px 25px 0 rgb(0 0 0 / 10%);
				background: #fff;
				margin-left: auto;
				margin-right: auto;
				padding: 20px;
				border-radius: 5px
			}

			.panel-default>.panel-heading {
				color: #333;
				background-color: #fff;
				border-color: #e4e5e7;
				padding: 0;
				-webkit-user-select: none;
				-moz-user-select: none;
				-ms-user-select: none;
				user-select: none;
			}

			.panel.panel-default {
				border-radius: 5px;
				border: 2px solid #f7f7f7;
				background: #fff !important;
				box-shadow: 0 7px 25px 0 rgb(0 0 0 / 10%);
			}

			.panel-body {
				background: #fff !important;
				padding: 10px 20px;
			}

			.panel-default>.panel-heading a {
				display: block;
				padding: 15px;
			}

			.panel-default>.panel-heading a:after {
				content: "";
				position: relative;
				top: 1px;
				display: inline-block;
				font-style: normal;
				font-weight: 400;
				line-height: 1;
				-webkit-font-smoothing: antialiased;
				-moz-osx-font-smoothing: grayscale;
				float: right;
				transition: transform .25s linear;
				-webkit-transition: -webkit-transform .25s linear;
			}

			.panel-default>.panel-heading a[aria-expanded="true"]:after {
				content: "\2212";
				-webkit-transform: rotate(180deg);
				transform: rotate(180deg);
			}

			.panel-default>.panel-heading a[aria-expanded="false"]:after {
				content: "\002b";
				-webkit-transform: rotate(90deg);
				transform: rotate(90deg);
			}
		</style>
</head>
  <body class="home-body">
  
      <div class="header">
         <div class="container m-flex">
            <div class="row" style="height: 99px;">
               <div class="col-auto align-self-center">
                  <div class="row">
                     <div class="col align-self-center">
                        <div class="site-name">
						<a href="/">
                                                      <img src="{{ site['logo'] }}" alt="Best Smm Panel | Cheapest Smm Panel | Smm Panel India - Msp Panel" title="Best Smm Panel | Cheapest Smm Panel | Smm Panel India - Msp Panel">
                          						</a>
                        </div>
                     </div>
                  </div>
               </div>
               <div class="col d-none d-lg-block">
                  <div class="head-menu">
                     <div class="row">
                        <div class="col text-lg-right mh-fullw">
                           <div class="header-menu">
                              <ul>
                                 <li class="active">
                                   <a href="/services">Service List</a>
                                 </li>
                                 <li>
                                   <a href="/api">API</a>
                                 </li>
                              </ul>
                           </div>
                        </div>
                        <div class="col-auto align-self-center mh-fullw">
                          <a href="/signup" class="btn btn-secondary">
                           <i class="fas fa-user mr-2"></i>
                           Register
                           </a>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
         </div>
      </div>
  
      <div class="app-navbar">
         <div class="row">
            <div class="col text-center align-self-center">
              <a href="/services">
                  <i class="fas fa-list-alt"></i>
                  <div class="navbar-texts">Service List</div>
               </a>
            </div>
            <div class="col text-center align-self-center">
              <a href="/signup">
                  <img src="https://cdn.mypanel.link/oewf4r/agu28f58jsad7elb.png" class="navbar-mid-icon" alt="">
                  <div class="navbar-texts"><strong>Sign Up</strong></div>
               </a>
            </div>
            <div class="col text-center align-self-center">
              <a href="/api">
                  <i class="fas fa-laptop-code"></i>
                  <div class="navbar-texts">API</div>
               </a>
            </div>
         </div>
      </div>
{% endif %}