<!DOCTYPE html>

<html lang="en">

	<head>

		<meta http-equiv="content-type" content="text/html; charset=UTF-8">

		<title>{{ title }}</title>

		<meta property="og:title" content="{{ title }}" />

			<meta charset="utf-8">

							<meta http-equiv="cache-control" content="no-cache">

							<meta http-equiv="expires" content="0">

							<meta http-equiv="X-UA-Compatible" content="IE=edge">

							<meta name="viewport" content="width=device-width, initial-scale=1"><meta name="keywords" content="{{ site['keywords'] }}" />

								<meta name="description" content="{{ site['description'] }}" />

								<meta property="og:description" content="{{ site['description'] }}" /><link rel="icon" href="{{ site['favicon'] }}" type="image/gif" sizes="32x32">

                  <link href="/assets/style.css" rel="stylesheet">

		<link href="/assets/all.min.css" rel="stylesheet">

					<link href="/assets/default_css.css" rel="stylesheet">

		<script src='https://www.google.com/recaptcha/api.js'></script>

		
    {{ headerCode }}

  </head>
 
 
{% if user['auth'] %}

<body class="body ">
	<nav class="navbar navbar-default navbar-static-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"></span>
															<span class="icon-bar"></span>
															<span class="icon-bar"></span>
															<span class="icon-bar"></span>
														</button>
														<a class="navbar-brand navbar-brand-emphasized" href="/">
															<img class="red-logo" src="{{ site['logo'] }}" alt="{{ site['site_name'] }}" title="{{ site['site_name'] }}">												</a>
													</div>
													<div id="navbar" class="navbar-collapse collapse" data-nav="navbar-priority" >
														<ul id="sidebar_menu" class="sidebar-nav">
															<li class="sidebar-brand">
																<button id="menu-toggle" href="#">
																<span class="icon-bar"></span>
																<span class="icon-bar"></span>
																<span class="icon-bar"></span>
																</button>
															</li>
														</ul>
														
														<ul class="nav navbar-nav nav-bar-leftside sidebar-nav">
															<li class="nav-item  menu_item_1 " id="menu_item_1">
												<a class="nav-link" href="/">
													 New Order 
												</a>
											</li><li class="nav-item  menu_item_3 " id="menu_item_3">
												<a class="nav-link" href="/orders">
													 Order History
												</a>
											</li><li class="nav-item  menu_item_4 " id="menu_item_4">
												<a class="nav-link" href="/services">
													 Services 
												</a>
											</li><li class="nav-item  menu_item_7 " id="menu_item_7">
												<a class="nav-link" href="/addfunds">
													 Add Funds 
												</a>
											</li><li class="nav-item  menu_item_10 " id="menu_item_10">
												<a class="nav-link" href="/child-panels">
													 Child 
Panel
												</a>	
											</li><li class="nav-item  menu_item_10 " id="menu_item_10">
												<a class="nav-link" href="/tickets">
													 Tickets <span class="badge" style="">0</span>
												</a>
											</li><li class="nav-item  menu_item_12 " id="menu_item_12">
												<a class="nav-link" href="/api">
													 API 
												</a>
											</li>
														</ul>

												</li>
											</ul>
														
														<ul class="nav navbar-nav nav-bar-account navbar-right">
															<li>
																<a> 
																	<span class="badge" >
																		{{ settings['csymbol'] }} {{ user['balance'] }}
																	</span> 
																</a>
															</li>
															<li class="dropdown ">
																<a href="#" class="dropdown-toggle" data-toggle="dropdown">
																	<i class="fas fa-user"></i>
																	  {{ user["username"] }} 
																	<span class="caret"></span>
																</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>
		</nav>
            </div>
         </div>
      </div>
   </span>


     
      </div>
   </span>
</div>

   <div class="wrapper-content">
    <div class="wrapper-content__header">
          </div>
    <div class="wrapper-content__body">
{% else %}


<body class="body">
		<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"></span>
															<span class="icon-bar"></span>
															<span class="icon-bar"></span>
															<span class="icon-bar"></span>
														</button>
													<a class="navbar-brand navbar-brand-emphasized" href="/">
															<img class="red-logo" src="{{ site['logo'] }}" alt="{{ site['site_name'] }}" title="{{ site['site_name'] }}">												</a>
													</div>
													<div id="navbar" class="navbar-collapse collapse">
													</ul>
												</li>
											</ul>
														<ul class="nav navbar-nav navbar-right">
															<li class="nav-item  menu_item_12 " id="menu_item_12">
												<a class="nav-link" href="/">
													Login
												</a>
											</li><li class="nav-item  menu_item_4 " id="menu_item_4">
												<a class="nav-link" href="/services">
													 Services 
												</a>
											</li><li class="nav-item active menu_item_14 " id="menu_item_14">
												<a class="nav-link" href="/signup">
													 Signup 
												</a>
											</li><li class="nav-item  menu_item_13 " id="menu_item_13">
												<a class="nav-link" href="/api">
													Api
												</a>
											</li>
														</ul>
														
													</div>
												</div>
											</nav>
														 
                </div>
             </div>
          </div>
       </div>
    </div>
    <div class="component_navbar"></div>
    <div class="component_navbar_sub"></div>
</div>
   <div class="wrapper-content">
    <div class="wrapper-content__header">
          </div>
  


     {% endif %}