?>
" name="email"  class="hidden"/>
                        <input type="tel" value="<?php 
        echo $list->getTel();
        ?>
" name="tel"  class="hidden"/>
                        <input type="date" value="<?php 
        echo $list->getDogumTarihi();
        ?>
" name="dogumTarihi"  class="hidden"/>
                        <button type="submit" class="btn btn-warning glyphicon glyphicon-pencil" title="Güncelle" ></button>
                    </form>
                    </th>
                    <?php 
        $kuldao = new KullaniciGirisDAO();
        $kontrol = $kuldao->profilKontrol($list->getEmail());
        if ($kontrol == 0) {
            $durum = 0;
            ?>
                    <th>
                    <form action="controller/kullaniciDoktorOlustur_controller.php" method="post">
                        <input type="email" value="<?php 
            echo $list->getEmail();
            ?>
" name="email"  class="hidden"/>
                        <input type="text" value="<?php 
            echo $list->getAd();
            ?>
" name="ad"  class="hidden"/>
                        <input type="text" value="<?php 
            echo $list->getSoyad();
<?php

include_once '../veritabani/veritabaniAyar.php';
include_once '../dao/doktorDAO.php';
include_once '../dao/kullaniciGirisDAO.php';
$doktordao = new DoktorDAO();
$dkontrol = $doktordao->DoktorEmailKontrol(trim($_POST['email']));
$kuldao = new KullaniciGirisDAO();
$kkontrol = $kuldao->profilKontrol(trim($_POST['email']));
if ($dkontrol == 1 || $kkontrol == 1) {
    echo 1;
} else {
    echo 0;
}
?>