<meta http-equiv="content-type" content="text/html; charset=windows-1254">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-9">


<?php
include('baglan.php');

$search=substr($_SESSION["isim"], 0,5);

if(isset($_GET['DOKTOR_ID'])) $DOKTOR_ID = $_GET['DOKTOR_ID'];
$baglan = mysql_query("select * from doktorlar where DOKTOR_ID='$DOKTOR_ID'"); 

session_start();




$yaz = mysql_fetch_assoc($baglan); // while dongsu icine almadim tek veri cekecegimiz icin. burda get methodunu da kullandık

 
?>





<div class="nav-tabs-custom">
                                <ul class="nav nav-tabs">
                                    <li class="active">
										 <a href="#tab_1" data-toggle="tab">Doktor Bilgileri</a></li>
                                    <li><a href="#tab_2" data-toggle="tab">İletişim Bilgileri</a></li>
                                   
                                    <li class="pull-right"><a href="#" class="text-muted"><i class="fa fa-gear"></i></a></li>
                                </ul>
                                <div class="tab-content" >

 <div class="tab-pane active" id="tab_1">


<form name="form1" method="post" action="admin.php?target=doktorduzenle-islem">
<div class="box box-success">
                <div class="box-header with-border">
                  <h3 class="box-title">Doktor Bilgileri</h3>
                </div>

				
			 

 <div class="box-body">
 <input name="DOKTOR_ID" type="hidden" id="DOKTOR_ID" value="<? echo $yaz["DOKTOR_ID"];?>" size="20" />

 
 


<input name="DOKTOR_ADI" id="DOKTOR_ADI" class="form-control" type="text" placeholder="Adı Soyadı" value="<? echo $yaz["DOKTOR_ADI"];?>"><br>


 
 
  

 

<br>
 

                      

<? echo $yaz["DOKTOR_TANI"];?>

                </div><!-- /.box-body -->
              </div><!-- /.box -->



 




</div>

 <div class="tab-pane" id="tab_2">


<div class="box box-success">
                <div class="box-header with-border">
                  <h3 class="box-title">İletişim Bilgileri</h3>
                </div>
                <div class="box-body">
                

<input name="DOKTOR_MAIL" id="DOKTOR_MAIL" class="form-control" type="text" placeholder="E-mail Adresi"  value="<? echo $yaz["DOKTOR_MAIL"];?>" ><br>


<input name="DOKTOR_TELEFON" id="DOKTOR_TELEFON" class="form-control" type="text" placeholder="GSM" data-inputmask='"mask": "(9999) 999-99-99"' data-mask  value="<? echo $yaz["DOKTOR_TELEFON"];?>"><br>


<textarea name="DOKTOR_KURUMU" id="DOKTOR_KURUMU" class="form-control" rows="3" placeholder="Kurum ..." ><? echo $yaz["DOKTOR_KURUMU"];?></textarea><br>


<textarea name="DOKTOR_ADRESI" id="DOKTOR_ADRESI" class="form-control" rows="3" placeholder="Adres ..." ><? echo $yaz["DOKTOR_ADRESI"];?></textarea><br>
    
<input name="DOKTOR_IL" id="DOKTOR_IL"  class="form-control" type="text" placeholder="İl"  value="<? echo $yaz["DOKTOR_IL"];?>"><br>
<input name="DOKTOR_ILCE" id="DOKTOR_ILCE"class="form-control" type="text" placeholder="İlçe"  value="<? echo $yaz["DOKTOR_ILCE"];?>"><br>

                </div><!-- /.box-body -->
              </div><!-- /.box -->



</div>
<input name="button" type="submit"  class="btn btn-block btn-success" id="button" value="Doktor  Düzenle" />
 
</form>
























                                </div><!-- /.tab-content -->
                            </div><!-- nav-tabs-custom -->
                        </div>











 
 