<?php
include("../db/veritabani.php");
include("../db/alt.php");
oturumukontrolet();
?>
<?php define("GUVENLIK",true);?>
<?php 
$mesajSorgu = Sorgu("SELECT * FROM iletisim");
$mesajSonuc = Sonuc($mesajSorgu);
?>
<?php 
$rezSorgu = Sorgu("SELECT * FROM siparisler");
$rezSonuc = Sonuc($rezSorgu);
?>
<?php 
$BasvuruSorgu = Sorgu("SELECT * FROM ticket");
$BasvuruSonuc = Sonuc($BasvuruSorgu);
?>
<?php
if(isset($_GET['cikis'])){
	session_destroy();
	header("Location:home.php");
}?>
<!DOCTYPE html>
<html lang="tr">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="SiteSiparis.com">
    <meta name="author" content="SiteSiparis.com">
    <meta name="keyword" content="SiteSiparis.com">
    <link rel="shortcut icon" href="img/favicon.png">

    <title>Yönetim Paneli</title>

    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/bootstrap-reset.css" rel="stylesheet">
    <!--external css-->
    <link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
	   <link rel="stylesheet" type="text/css" href="assets/bootstrap-fileupload/bootstrap-fileupload.css" />
    <link rel="stylesheet" type="text/css" href="assets/bootstrap-wysihtml5/bootstrap-wysihtml5.css" />
    <link rel="stylesheet" type="text/css" href="assets/bootstrap-datepicker/css/datepicker.css" />
    <link rel="stylesheet" type="text/css" href="assets/bootstrap-timepicker/compiled/timepicker.css" />
    <link rel="stylesheet" type="text/css" href="assets/bootstrap-colorpicker/css/colorpicker.css" />
    <link rel="stylesheet" type="text/css" href="assets/bootstrap-daterangepicker/daterangepicker-bs3.css" />
    <link rel="stylesheet" type="text/css" href="assets/bootstrap-datetimepicker/css/datetimepicker.css" />
    <link rel="stylesheet" type="text/css" href="assets/jquery-multi-select/css/multi-select.css" />
    <link href="assets/jquery-easy-pie-chart/jquery.easy-pie-chart.css" rel="stylesheet" type="text/css" media="screen"/>
    <link rel="stylesheet" href="css/owl.carousel.css" type="text/css">
	
	  <link href="css/slidebars.css" rel="stylesheet">
<!-- include summernote css/js-->
 <link href="assets/summernote/dist/summernote.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="css/style.css" rel="stylesheet">
    <link href="css/style-responsive.css" rel="stylesheet" />
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 tooltipss and media queries -->
    <!--[if lt IE 9]>
      <script src="js/html5shiv.js"></script>
      <script src="js/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

  <section id="container" >
      <!--header start-->
      <header class="header white-bg">
              <div class="sidebar-toggle-box">
                  <div class="fa fa-bars tooltips" data-placement="right" data-original-title="Toggle Navigation"></div>
              </div>
            <!--logo start-->
            <a href="home.php" class="logo">Yönetim<span>Paneli</span></a>
            <!--logo end-->
            <div class="nav notify-row" id="top_menu">
                <!--  notification start -->
                <ul class="nav top-menu">
                    <!-- settings start -->
                    <!-- inbox dropdown start-->
        
                    <!-- settings end -->
               
                    <!-- inbox dropdown end -->
                    <!-- notification dropdown start-->

                </ul>
                <!--  notification end -->
            </div>
            <div class="top-nav ">
                <!--search & user info start-->
                <ul class="nav pull-right top-menu">
                           <li>
                  <a target="_blank" href="../index.php"><button type="submit"  href="../index.php" class="btn btn-success"><i class="icon-eye-open"></i> Site Önizlemesi </button></a>
                    </li>
                    <!-- user login dropdown start-->
                    <li class="dropdown">
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                            <img alt="" width="29px" height="29px" src="../resimler/logo/<?php echo $drweb->firma_logo; ?>">
                            <span class="username"><?php echo $drweb->firma_adi; ?></span>
                            <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu extended logout">
                            <div class="log-arrow-up"></div>
                            <li><a href="yoneticiler.php"><i class=" fa fa-suitcase"></i>Profilim</a></li>
                 
                            <li><a href="?cikis=1"><i class="fa fa-key"></i> Çıkış</a></li>
                        </ul>
                    </li>
                    <!-- user login dropdown end -->
                </ul>
                <!--search & user info end-->
            </div>
        </header>
      <!--header end-->
      <!--sidebar start-->
	  <?php include("menu.php");?>