<?php
require 'sessao.php';
?>
<!DOCTYPE html>
<html lang=pt-br>
<meta http-equiv=content-type content="text/html;charset=UTF-8" />
<head>
<meta charset=utf-8>
<title>TS3BLACK - Painel de Gerenciamento</title>
<link rel=icon href=login/img/apple-touch-icon.png>
<link rel=stylesheet href=css/bootstrap.min.css>
<link rel=stylesheet href=css/font-awesome.min.css>
<link rel=stylesheet href=css/typicons.min.css>
<link rel=stylesheet href=css/varello-theme.min.css>
<link rel=stylesheet href=css/varello-skins.min.css>F
<link rel=stylesheet href=css/animate.min.css>
<link rel=stylesheet href=css/icheck-all-skins.css>
<link rel=stylesheet href=css/icheck-skins/flat/_all.css>
<script src=https://use.fontawesome.com/449b46a4f1.js></script>
<script src=assets/js/jquery-1.11.3.min.js></script>
<link href='https://fonts.googleapis.com/css?family=Hind+Vadodara:400,500,600,700,300' rel=stylesheet type=text/css>
<link rel=manifest href=manifest.json>
<meta name=msapplication-TileColor content=#ffffff>
<meta name=msapplication-TileImage content=ms-icon-144x144.png>
<meta name=theme-color content=#ffffff> <meta http-equiv=X-UA-Compatible content="IE=edge">
<meta name=viewport content="width=device-width, initial-scale=1"></head>
<body>
</div> <div class="notifications top-right"></div>
<div class=wrapper>
<div class=page-wrapper>
<aside class=left-sidebar>
<section class=sidebar-user-panel>
<div id=user-panel-slide-toggleable>
<span class=user-panel-logged-in-text><span class="fa fa-circle-o text-success user-panel-status-icon"></span> Conectado como <strong><?php
require_once 'sql.php'; 
$nome = $_SESSION['nome'];
echo'
                        '.$nome.' ';
?></strong></span>
</div>
</section>
<?php
                  require_once 'menu.php';
                  require_once 'menu_admin.php';
                  ?>
</aside> <header class=top-header>
<a href=index.html>
<img src=images/logo-painel.png class=top-header-logo width=65px height="75px alt=">
</a>
<nav class="navbar navbar-default">
<div class=container-fluid>
<div class=navbar-header>
<button type=button class=navbar-sidebar-toggle data-toggle-sidebar>
<span class="typcn typcn-arrow-left visible-sidebar-sm-open"></span>
<span class="typcn typcn-arrow-right visible-sidebar-sm-closed"></span>
<span class="typcn typcn-arrow-left visible-sidebar-md-open"></span>
<span class="typcn typcn-arrow-right visible-sidebar-md-closed"></span>
</button>
</div>
<ul class="nav navbar-nav navbar-left">
<li>
</li>
</ul>
<ul class="nav navbar-nav navbar-right" data-dropdown-in=flipInX data-dropdown-out=zoomOut>
<li class="hidden-sm hidden-xs hidden-md"><a>Bem vindo ao painel da <strong>TS3BRAZIL</strong>.COM</a></li>
<li><a href=logout.php><span class="fa fa-sign-in"></span></a></li>
</ul>
</div>
</nav>
</header>
<?php
 if (isset($_GET['logado'])){
echo'
<div class="alert alert-success alert-dismissable"><marquee><span style="color: white;">Você logou com sucesso Oferecimento Ideal Host Empresa Especializada em Servicos de Hospedagem Bem Vindo:)</span></marquee>
</div>';}?>
<div class=content-wrapper>
<div class=content-dimmer></div>
<header class=page-header>
<div class=container-fluid>
<div class=row>
<div class="col-xs-12 col-md-9">
<h1 class=page-header-heading><span class="typcn typcn-home page-header-heading-icon"></span> Painel de Gerenciamento </h1>
<p class=page-header-description>Esta página fornece uma visão geral do painel TSDNS da TS3BRAZIL.COM, caso tenha dúvidas visite <a href=faq.php>nosso FAQ</a>.</p>
</div>
<div class="col-xs-12 col-md-3">
<a href=criar.php><button type=button class="btn btn-transparent btn-xl btn-faded pull-right visible-lg visible-md"><span class="fa fa-paint-brush"></span> Criar Personalizado</button></a>
</div>
</div>
</div>
</header>
<div class=container-fluid>
<div class=row>
<div class="col-sm-6 col-lg-4">
<div class="widget widget-statistic widget-default">
<header class=widget-statistic-header>Endereços Personalizados</header>
<div class=widget-statistic-body>
<span class=widget-statistic-value><?php echo $total_ip_perso; ?></span>
<span class=widget-statistic-description>Número de <strong>endereços perso.</strong> que você já criou</span>
<span class="widget-statistic-icon fa fa-pencil-square-o"></span>
</div>
</div>
</div>
<div class="col-sm-6 col-lg-4">
<div class="widget widget-statistic widget-primary">
<header class=widget-statistic-header>Restantes</header>
<div class=widget-statistic-body>
<span class=widget-statistic-value><?php echo $total_and_max_perso; ?></span>
<span class=widget-statistic-description>Número <strong>restante</strong> de end. que você pode criar</span>
<span class="widget-statistic-icon fa fa-pie-chart"></span>
</div>
</div>
</div>
<div class="col-sm-6 col-lg-4">
<div class="widget widget-statistic widget-purple">
<header class=widget-statistic-header>Seus Domínios</header>
<div class=widget-statistic-body>
<span class=widget-statistic-value><?php echo $total_dominio; ?></span>
<span class=widget-statistic-description>Número de <strong>domínios</strong> que você já adicionou</span>
<span class="widget-statistic-icon fa fa-globe"></span>
</div>
</div>
</div>
</div>
<div class=row>
<div class=col-lg-8>
<div class="widget widget-default">
<header class=widget-header>
Inscrições no Website
<div class=widget-header-actions>
<span class="widget-header-action fa fa-cog"></span>
<span data-close-widget class="widget-header-action fa fa-close"></span>
</div>
</header>
<div class="widget-body widget-body-md">
<canvas id=graph-monthly-registrations class=widget-graph-md></canvas>
</div>
</div>
</div>
<div class=col-lg-4>
<div class="widget widget-default">
<header class=widget-header>
Carga do Servidor Dedicado
<div class=widget-header-actions>
<span class="widget-header-action fa fa-cog"></span>
<span data-close-widget class="widget-header-action fa fa-close"></span>
</div>
</header>
<div class="widget-body widget-body-md">
<div>CPU Load <span class="pull-right text-muted">28% / 100%</span></div>
<div class=progress>
<div class="progress-bar progress-bar-default" role=progressbar aria-valuenow=60 aria-valuemin=0 aria-valuemax=100 style=width:34%>
<span class=sr-only>34% CPU Power In Use</span>
</div>
</div>
<div>CPU Load <span class="pull-right text-muted">28% / 100%</span></div>
<div class=progress>
<div class="progress-bar progress-bar-primary" role=progressbar aria-valuenow=60 aria-valuemin=0 aria-valuemax=100 style=width:28%>
<span class=sr-only>28% Ram Used</span>
</div>
</div>
<div>CPU Load <span class="pull-right text-muted">28% / 100%</span></div>
<div class=progress>
<div class="progress-bar progress-bar-purple" role=progressbar aria-valuenow=60 aria-valuemin=0 aria-valuemax=100 style=width:84%>
<span class=sr-only>84% Full</span>
</div>
</div>
<div class="row margin-top-15">
<div class=col-xs-6><button class="btn btn-block btn-default">Limpar Cache</button></div>
<div class=col-xs-6><button class="btn btn-block btn-default">Redefinir Servidor</button></div>
</div>
</div>
</div>
</div>
</div>
</br></br>
<script>document.write(unescape("%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%20%20%0A%3Cfooter%20class%3D%22content-wrapper-footer%22%3E%0A%20%20%20%20%26copy%3B%20Copyright%20%A9%202018%20-%20%3Cfont%20color%3D%2241adff%22%3ETS3BRASIL.COM%3C/font%3E%20-%20Desenvolvido%20por%3A%20%3Ca%20href%3D%22https%3A//www.idealhostbr.com/%22%20target%3D%22_blank%22%3EIdeal%20Host%3C/a%3E.%0A%3C/footer%3E%3C/div%3E%0A%3C/br%3E"));</script>
</div>
</div>
</div>
<script src=js/Chart.min.js></script>
<script src=js/jquery-1.12.3.min.js></script>
<script src=js/bootstrap.min.js></script>
<script src=js/jquery.piety.min.js></script>
<script src=js/varello-theme.js></script>
<script src=js/icheck.min.js></script>
<script src=js/dropdown.js></script></body>
</html>