<?php 
if (basename($_SERVER['PHP_SELF'])==basename(__FILE__)) {
  exit(); 
}
$queryowner=$db->prepare("SELECT * FROM programci where email=:email");
$queryowner->execute(array(
  'email' => $_SESSION['email']
));
$say=$queryowner->rowCount();
$rowowner=$queryowner->fetch(PDO::FETCH_ASSOC);
if ($say==0) {
  header('Location:' . admin_url('ipaneli'));
  exit;
} ?>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>İstek Paneli - Radyotescil.com</title>
  <meta name="author" content="Harun EFE">
  <meta http-equiv="refresh" content="60;">
  <!-- Tell the browser to be responsive to screen width -->
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <!-- Font Awesome -->
  <link rel="stylesheet" href="<?= admin_public_url(); ?>plugins/fontawesome-free/css/all.min.css">
  <!-- Ionicons -->
  <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
  <!-- overlayScrollbars -->
  <link rel="stylesheet" href="<?= admin_public_url(); ?>dist/css/adminlte.min.css">
  <!-- Google Font: Source Sans Pro -->
  <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">

</head>
<body style="height: auto;" class="sidebar-collapse">
  <!-- Site wrapper -->
  <div class="wrapper">
    <!-- Navbar -->
    <nav class="main-header navbar navbar-expand navbar-white navbar-light">
      <!-- Left navbar links -->
      <ul class="navbar-nav">
        
        <li class="nav-item d-none d-sm-inline-block">
          <a href="exit" class="nav-link"><i class="fas fa-desktop"></i> Çıkış Yap</a>
        </li>
        <li class="nav-item d-none d-sm-inline-block">
          <a href="#" class="nav-link"><i class="fas fa-user"></i> <?= $rowowner['programci']; ?> Hoş Geldiniz</a>
        </li>
      </ul>  
    </nav>
    <!-- /.navbar -->
 