?>
<!DOCTYPE html>

<html>
    <head>
        <meta charset="UTF-8">
    <title>Hakkımızda</title>
    <?php 
$bootstrap = new Bootstrap();
$bootstrap->index_vb();
?>
</head>
<body>
    <?php 
$header = new Header();
$header->setKey('Hak');
$header->kokSayfa_header();
?>
<div class="container marketing">
    
<center>
        <h2>Doktorlarımız</h2><hr>
</center><br/>
<div class="row">
    <?php 
$kuldao = new KullaniciGirisDAO();
$resimList = $kuldao->DoktorGoster();
foreach ($resimList as $list) {
    if ($list->getResim() != null) {
        $resim = $list->getResim();
    } else {
$bootstrap = new Bootstrap();
$bootstrap->index_vb();
$bootstrap->login_vb();
?>
    <script>
        $(document).ready(function () {
            $('#hclick').click(function () {
                $('#pclick').slideToggle("1000")
            });
        });
    </script>
</head>
<body id="myPage" data-spy="scroll" data-target=".navbar" data-offset="60">
    <?php 
$header = new Header();
$header->setKey('Ils');
$header->kokSayfa_header();
$slider = new Slider();
echo '<br><br>';
$slider->sliderOlustur();
$bootstrap->slider_vb();
?>
    <br><br>   
<div class="container">     
    <div id="contact" class="container-fluid bg-grey">
        <h3 class="text-center"><strong>İletişim</strong></h3><br><br>
        <div class="row">
            <div class="col-sm-5">
                <p>Saat 8:00 ile 18:00 arası telefon iletişimine açığız .</p>
                <p><span class="glyphicon glyphicon-map-marker"></span> İstanbul, Türkiye</p>
                <p><span class="glyphicon glyphicon-phone"></span> 0(212) 555 55 55 </p>
include_once './include/include_class.php';
$doktorInclude = new IncludeClass();
$doktorInclude->IncludeAll();
if (isset($_SESSION['doktor_id'])) {
    ?>
<!DOCTYPE html>

<html>
    <head>
        <meta charset="UTF-8">
    <title>Doktor Sayfası</title>
    <?php 
    $bootstrap = new Bootstrap();
    $bootstrap->index_vb();
    ?>
</head>
<body>
    <?php 
    $header = new Header();
    $header->setKey('Dok');
    $header->kokSayfa_header();
    $panel = new PanelInclude();
    $panel->doktorInclude();
    $header->footer();
    ?>
</body>
</html>
<?php 
} else {
    header("Location: index.php");
}
$bootstrap = new Bootstrap();
$bootstrap->index_vb();
$bootstrap->login_vb();
?>
    <script>
        $(document).ready(function () {
            $("#hclick").click(function () {
                $("#pclick").slideToggle("slow");
            });
        });
    </script>
</head>
<body>
    <?php 
$header = new Header();
$header->setKey('Onl');
$header->kokSayfa_header();
$slider = new Slider();
echo '<br><br>';
$slider->sliderOlustur();
$bootstrap->slider_vb();
?>

    <?php 
$maxTarih = date("Y-m-d", mktime(0, 0, 0, date("m"), date("d") + 15, date("Y")));
if (date('l') == 'Sunday') {
    $tarih = date("Y-m-d", mktime(0, 0, 0, date("m"), date("d") + 1, date("Y")));
} else {
    $tarih = date('Y-m-d');
}
?>
$hizmetInclude->hizmet_include();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
    <title>Hizmetlerimiz</title>
    <?php 
$bootstrap = new Bootstrap();
$bootstrap->index_vb();
?>
</head>
<body>
    <?php 
$header = new Header();
$header->setKey('Hiz');
$header->kokSayfa_header();
?>
<div class="container">
    <div class="row featurette">
        <div class="col-md-7">
          <h2 class="featurette-heading">Doktor Kadromuz Hakkında<span class="text-muted"></span></h2>
          <p class="lead">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer a pellentesque ante. Nunc ut tortor auctor, malesuada purus vitae, iaculis nulla. Etiam laoreet tortor a aliquet aliquet. Sed volutpat aliquet vestibulum. Maecenas fringilla, quam accumsan consectetur malesuada, nisl nunc faucibus libero, non tristique orci arcu ut neque. Pellentesque vestibulum iaculis lacus nec auctor. Maecenas non leo justo. Vestibulum facilisis nunc in malesuada accumsan. Phasellus a nisl et lacus ornare malesuada. Proin ultrices ultricies neque, non pharetra purus accumsan interdum. Nulla elementum maximus nibh eget gravida. Morbi cursus condimentum odio, interdum sodales nisi mattis sed. Donec mattis rutrum dui at pharetra. Nulla facilisi. Vestibulum lacinia, sem at elementum rhoncus, tellus lacus convallis eros, a pellentesque enim purus mattis nibh
</p>
        </div>
        <div class="col-md-5"></div>
      <span class="col-md-5"><img src="" width="500" height="500"></span>      </div>

      <hr class="featurette-divider">

      <div class="row featurette">
and open the template in the editor.
-->
<html>
    <head>
    <meta charset="UTF-8">
    <title>Giriş Yapınız</title>
    <?php 
$bootsrap = new Bootstrap();
$bootsrap->index_vb();
$bootsrap->login_vb();
?>
</head>
<body>
    <?php 
$header = new Header();
$header->setKey('Yet');
$header->kokSayfa_header();
?>
    <div class = "container">
	<div class="wrapper">
    <?php 
if ($_POST) {
    if ($_POST['yetki'] == 0) {
        $kulgiris = new KullaniciGiris();
        $kulgirisdao = new KullaniciGirisDAO();
        $sifre = $kulgirisdao->sifreleme(trim($_POST['sifre']));
        $kulgiris->setEmail(trim($_POST['email']));
        //echo $sifre.' '.$_POST['email'];
        $kulgiris->setSifre($sifre);
        $kulgirisdao->LoginKontrol($kulgiris);
    } else {
include_once './include/include_class.php';
$doktorInclude = new IncludeClass();
$doktorInclude->IncludeAll();
if (isset($_SESSION['admin_id'])) {
    ?>
<!DOCTYPE html>

<html>
    <head>
        <meta charset="UTF-8">
    <title>Doktor Sayfası</title>
    <?php 
    $bootstrap = new Bootstrap();
    $bootstrap->index_vb();
    ?>
</head>
<body>
    <?php 
    $header = new Header();
    $header->setKey('Adm');
    $header->kokSayfa_header();
    $panel = new PanelInclude();
    $panel->adminInclude();
    $header->footer();
    ?>
</body>
</html>
<?php 
} else {
    header("Location: index.php");
}