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


<script>
$(document).ready(function() {

        $("#divimiz").load("hedef/veriler.php");

});

setInterval(function() {$("#divimiz").load('hedef/veriler.php');}, 1000);







</script>







<!-- Add jQuery library -->
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>

<!-- Add mousewheel plugin (this is optional) -->
<script type="text/javascript" src="fancybox/lib/jquery.mousewheel-3.0.6.pack.js"></script>

<!-- Add fancyBox -->
<link rel="stylesheet" href="fancybox/source/jquery.fancybox.css?v=2.1.5" type="text/css" media="screen" />
<script type="text/javascript" src="fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>

<!-- Optionally add helpers - button, thumbnail and/or media -->
<link rel="stylesheet" href="fancybox/source/helpers/jquery.fancybox-buttons.css?v=1.0.5" type="text/css" media="screen" />
<script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.5"></script>
<script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-media.js?v=1.0.6"></script>

<link rel="stylesheet" href="fancybox/source/helpers/jquery.fancybox-thumbs.css?v=1.0.7" type="text/css" media="screen" />
<script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-thumbs.js?v=1.0.7"></script>


<script type="text/javascript">
	$(document).ready(function() {
	$(".various").fancybox({
	
  
	maxWidth	: 800,
		maxHeight	: 600,
		fitToView	: false,
		width		: '80%',
		height		: '70%',
		autoSize	: false,
		closeClick	: false,
		openEffect	: 'none',
		closeEffect	: 'none'
		
	});
});
</script>

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



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

session_start();





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

$_SESSION["GORUSME_ID"] = $yaz["GORUSME_ID"];


$doktorbul = mysql_fetch_assoc(mysql_query("SELECT * FROM doktorlar WHERE DOKTOR_ID='".$yaz['DOKTOR_ID']."'"));
?>
 


<div class="box">
<form name="form1" method="post" action="admin.php?target=gorusmeduzenle-islem">
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active">
 <a href="#tab_1" data-toggle="tab">Görüşme Bilgileri</a></li>





                                </ul>
<div class="tab-content" >


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


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

<br><br>
 
<label>Doktor Adı</label>
<input name="DOKTOR_ADI" class="form-control"  id="DOKTOR_ADI" value="<? echo $doktorbul["DOKTOR_ADI"];?>" size="20"   readonly/>



<label>Doktor Branş</label>
 <input name="GORUSME_DOKTOR_BRANS" class="form-control"  id="GORUSME_DOKTOR_BRANS" value="<? echo $doktorbul["DOKTOR_BRANSI"];?>" size="20"   readonly/>


 


<label>Hekim Grubu</label>
<select name="GORUSME_HEKIM_GRUBU" id="GORUSME_HEKIM_GRUBU" class="form-control   select2-hidden-accessible"   aria-hidden="true">
<option value="A">A ( Potansiyeli yüksek hekim)</option>
<option value="B">B ( Potansiyeli orta seviyede hekim )</option>
<option value="C">C ( Potansiyeli düşük hekim )</option>
</select>

<br> 
 
 


<a class="various fancybox.iframe" href="hedef/urunekle2.php?GORUSME_ID=<? echo $yaz["GORUSME_ID"];?>"> 

<button  class="btn btn-primary btn-sm"><i class="fa fa-fw fa-eye"></i>Ürün Ekle</button></a>
<br><br>
 <div id="divimiz"></div>
 <br><br>
 <textarea name="GORUSME_NOT" id="GORUSME_NOT" class="form-control" rows="3" placeholder="Yapılan Görüşme Notları ..."><? echo $yaz["GORUSME_NOT"];?></textarea><br>
 <textarea name="GORUSME_BIR_SONRAKI_NOT" id="GORUSME_BIR_SONRAKI_NOT" class="form-control" rows="3" placeholder="Plananlanan Görüşme Notları ..."><? echo $yaz["GORUSME_BIR_SONRAKI_NOT"];?></textarea>
 <br>
 
 
 
                  
                </div><!-- /.box-body -->
              </div><!-- /.box -->

<input name="button" type="submit"  class="btn btn-block btn-success" id="button" value="Görüşme Düzenle" width="200"/>

</div>

  







 



</div></div></div></div>

                                </div><!-- /.tab-content -->










 
                            </div><!-- nav-tabs-custom -->
                        </div>

</form>


</div>