<!DOCTYPE html>
{% for lang in site['languages'] %}
{% if lang['active'] %}
<html lang="{{ lang['code'] }}">
{% endif %}
{% endfor %}
<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="{{ keywords }}">
<meta name="description" content="{{ 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]-->
{{ headerCode }}
{% for style in styleList %}
<link rel="stylesheet" type="text/css" href="{{ style }}">
{% endfor %}
</head>
<body>
{% if settings['demo_mode'] == 1 %}
<style>
.fixed-footer{
position: fixed;
background: #fff;
border:1px solid #000;
width:100%;
bottom:0;
z-index:99999;
padding:10px;
}
</style>
<div class="fixed-footer">
<h4 style="color:#000">Choose Theme:
{% for thm in site['themes'] %}
<a href="/select-theme/{{thm['dirname']}}" style="color:blue;margin:0 10px;font-size:16px">[ {{thm['name']}} ]</a>
{% endfor %}
</h4>
</div>
{% endif %}
{% if user['auth'] %}
<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">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">
{% if site["logo"] %}
<img src="{{ site['logo'] }}" alt="{{ site["site_name"] }}" title="{{ site["site_name"] }}">
{% else %}
{{ site["site_name"] }}
{% endif %}
</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-left-block">
{% if ( settings['sms_verify'] == 2 and user['sms_verify'] == 1 ) or (settings['mail_verify'] == 2 and user['mail_verify'] == 1 ) %}
<li {% if active_menu == "verify" %} class="active" {% endif %}><a href="/">{{ lang['verify.title'] }}</a></li>
{% else %}
<li class="" >
<a href="/" >
<span class="component-navbar-nav-link-icon">
<span class="fas fa-cart-arrow-down"></span>
</span>New Order
</a>
</li>
<li class="" >
<a href="/services" >
<span class="component-navbar-nav-link-icon">
<span class="fas fa-cogs"></span>
</span>Services
</a>
</li>
<li class="" >
<a href="/orders" >
<span class="component-navbar-nav-link-icon">
<span class="fas fa-server"></span>
</span>Orders
</a>
</li>
{% if site["dripfeedcount"] %}
<li {% if active_menu == "dripfeeds" %} class="active" {% endif %}><a href="/dripfeeds">{{ lang['dripfeed.title'] }}</a></li>
{% endif %}
{% if site["subscriptionscount"] %}
<li {% if active_menu == "subscriptions" %} class="active" {% endif %} ><a href="/subscriptions">{{ lang['subscriptions.title'] }}</a></li>
{% endif %}
<li class="" >
<a href="/addfunds" >
<span class="component-navbar-nav-link-icon">
<span class="fas fa-credit-card"></span>
</span>Add Funds
</a>
</li>
{% if affiliates %}
<li class="" >
<a href="/affiliates" >
<span class="component-navbar-nav-link-icon">
<span class="fas fa-bezier-curve"></span>
</span>Affiliates
</a>
</li>
{% endif %}
{% if panelSelling %}
<li class="" >
<a href="/child-panels" >
<span class="component-navbar-nav-link-icon">
<span class="fas fa-child"></span>
</span>Child Panels
</a>
</li>
<li class="" >
<a href="/tickets" >
<span class="component-navbar-nav-link-icon">
<span class="fas fa-headset"></span>
</span>Tickets </a>
</li>
{% endif %}
{% if apiPage %}
{% endif %}
{% if ticketPage %}
</li><li class="" >
<a href="/api" >
<span class="component-navbar-nav-link-icon">
<span class="fas fa-code"></span>
</span>Api
</a>
</li>
{% endif %}
{% if blogPage %}
<li {% if active_menu == "blog" %} class="active" {% endif %}><a href="/blog">{{ lang['blog.title'] }}</a></li>
{% endif %}
{% if faqPage %}
<!-- <li {% if active_menu == "faq" %} class="active" {% endif %}><a href="/faq">{{ lang['faq.title'] }}</a></li> -->
{% endif %}
{% if termsPage %}
<!-- <li {% if active_menu == "terms" %} class="active" {% endif %}><a href="/terms">{{ lang['terms.title'] }}</a></li> -->
{% endif %}
{% endif %}
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="#" class="component-navbar-balance-item__navbar-private" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="badge">
{{ currency["symbol"] }} {{ (user['balance']*currency["value" ]) }} <i class="fa fa-caret-down" aria-hidden="true"></i>
</span></a>
<ul class="dropdown-menu dropdown-max-height">
{% for curr in site['currencies'] %}
<li class="nav-item component-navbar-nav-item component-navbar-private-nav-item">
<a href="/cur?cur={{curr['id']}}" >{{curr['name']}} </a>
{% endfor %}
</ul>
</li>
<li>
<a href="account"><i class="fa fa-user"></i>Account</a>
</li>
<li>
<a href="logout"><i class="fa fa-sign-out "></i>Logout</a>
</li>
</ul>
</div>
</div>
</nav>
{% else %}
<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="/">
{% if site["logo"] %}
<img src="{{ site['logo'] }}" alt="{{ site["site_name"] }}" title="{{ site["site_name"] }}">
{% else %}
{{ site["site_name"] }}
{% endif %}
</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
{% if site['languages']|length > 1 %}
<ul class="nav navbar-nav navbar-left-block">
<li class="dropdown">
{% for lang in site['languages'] %}
{% if lang['active'] %}
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> {{ lang['name'] }} <span class="caret"></span></a>
{% endif %}
{% endfor %}
<ul class="dropdown-menu dropdown-max-height">
{% for lang in site['languages'] %}
<li {% if lang['active'] %} class="active" {% endif %}><a href="?lang={{ lang['code'] }}">{{ lang['name'] }}</a></li>
{% endfor %}
</ul>
</li>
</ul>
{% endif %}
<ul class="nav navbar-nav navbar-right">
<li class="active">
<a href="/">
<span class="component-navbar-nav-link-icon">
<span class="fas fa-sign-in-alt"></span>
</span>Login
</a>
</li>
<li class="">
<a href="/signup">
<span class="component-navbar-nav-link-icon">
<span class="fas fa-user-plus"></span>
</span>Signup
</a>
</li>
{% if servicesPage %}
<li class="">
<a href="/services">
<span class="component-navbar-nav-link-icon">
<span class="fas fa-list-alt"></span>
</span>Services
</a>
</li>
{% endif %}
{% if registerPage %}
<!-- <li {% if active_menu == "signup" %} class="active" {% endif %}>
<a href="/signup">{{ lang['signup.title'] }}</a>
</li>
{% endif %}
{% if blogPage %}
<li {% if active_menu == "blog" %} class="active" {% endif %}>
<a href="/blog">{{ lang['blog.title'] }}</a>
</li>
{% endif %}
{% if faqPage %}
<li {% if active_menu == "faq" %} class="active" {% endif %}>
<a href="/faq">{{ lang['faq.title'] }}</a>
</li>
{% endif %}
{% if termsPage %}
<li {% if active_menu == "terms" %} class="active" {% endif %}>
<a href="/terms">{{ lang['terms.title'] }}</a>
</li> -->
{% endif %}
{% if apiPage %}
<li class="">
<a href="/api">
<span class="component-navbar-nav-link-icon">
<span class="fas fa-code"></span>
</span>Api
</a>
</li>
{% endif %}
</ul>
</div>
</div>
</nav>
{% endif %}