<!DOCTYPE html>

<html>

<head>

	<meta charset="utf-8">

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

	<meta name="viewport" content="width=device-width, initial-scale=1">

	<title><?= $page_title ?> | MoonPanel - ElinSoft</title>

	<meta name="description" content="{SITE_DESC}" />

	<meta name="keywords" content="{SITE_KEYW}" />

	<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">



	<link href="<?= admin_public_url('assets/css/all.min.css') ?>?v=<?= time() ?>" rel="stylesheet">

	<link href="<?= admin_public_url('assets/css/bootstrap-select.min.css') ?>?v=<?= time() ?>" rel="stylesheet">

	<link rel="shortcut icon" href="<?= public_url("favicon.png") ?>" />

	<link rel="apple-touch-icon-precomposed" href="<?= public_url("favicon.png") ?>" />

	<!--[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]-->



	<!-- Google Font -->

	<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:wght@200;300;400;600;700&display=swap" rel="stylesheet">

	<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.14.0/css/all.css">

	<link rel="stylesheet" type="text/css" href="<?= admin_public_url('assets/fontaw5/fontaw-all.min.css') ?>">
	<link rel="stylesheet" type="text/css" href="<?= admin_public_url('assets/fontaw5/iconpicker/css/fontawesome-iconpicker.css') ?>">

	<style>
		.iconpicker-container .input-group-addon {
			padding: 10px 12px;
			font-size: 14px;
			font-weight: 400;
			line-height: 1;
			color: #555;
			text-align: center;
			background-color: #eee;
			border: 1px solid #ccc;
			border-radius: 4px;
		}
	</style>
	<script type="text/javascript">
		var _url = "{LINK_POST}";
	</script>



</head>

<body <?= ((!empty($_COOKIE["gecemodu"])) ? "dark-mode" : null) ?>>

	<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>

			</div>

			<div id="navbar" class="navbar-collapse collapse">

				<ul class="nav navbar-nav">

					<li><a href="<?= admin_url('users') ?>">Kullanıcılar</a></li>

					<?php if ($tasks_menu) : ?>

						<li><a href="<?= admin_url('tasks') ?>">Görevler</a></li>

					<?php endif; ?>

					<li><a href="<?= admin_url('orders') ?>">Siparişler</a></li>

					<?php if ($auto_orders_menu) : ?>

						<li><a href="<?= admin_url('autos') ?>">Abonelikler</a></li>

					<?php endif; ?>

					<?php if ($drip_orders_menu) : ?>

						<li><a href="<?= admin_url('drips') ?>">DripFeed</a></li>

					<?php endif; ?>

					<li><a href="<?= admin_url('services') ?>">Servisler</a></li>
					<li><a href="<?= admin_url('reports') ?>">İstatistikler</a></li>

					<li class="dropdown">

						<a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Ödemeler <span class="label label-info"><?= $odemeler ?></span><span class="caret"></span></a>

						<ul class="dropdown-menu">

							<li><a href="<?= admin_url('payments/online') ?>">Online Ödemeler</a></li>

							<li><a href="<?= admin_url('payments/bank') ?>">Banka Bildirimleri <span class="label label-info"><?= $odemeler ?></span></a></li>

						</ul>

					</li>

					<li><a href="<?= admin_url('support') ?>">Destek <span class="label label-warning"><?= $talepler ?></span></a></li>
					<li><a href="<?= admin_url('child') ?>">Child Panels</a></li>

					<li><a href="<?= admin_url('appearence') ?>">Görünüm</a></li>

					<li><a href="<?= admin_url('settings') ?>">Ayarlar</a></li>

					<li><a href="<?= admin_url('logs') ?>">Loglar</a></li>

				</ul>

				<ul class="nav navbar-nav navbar-right">

					<li>
						<a href="<?= site() ?>">Müşteri Paneli</a>
					</li>

					<li>

						<a id="nightIcon" href="javascript:;" onclick="darkLight()"></a>

					</li>

					<li><a href="<?= admin_url('logout') ?>">Çıkış Yap</a></li>

				</ul>

			</div>
			<!--/.nav-collapse -->

		</div>

	</nav>