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

<!-- 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');



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

session_start();




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

 
?>
 

<div class="row">
<div class="col-md-6" style="width:100%">
                            <!-- Custom Tabs -->
                            <div class="nav-tabs-custom">
                                <ul class="nav nav-tabs">
                                    <li class="active">
										 <a href="#tab_1" data-toggle="tab">Hatırlatma Bilgileri</a></li>
                                </ul>
                                <div class="tab-content" >

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


 
 
<form name="form1" method="post" action="admin.php?target=hatirlatmaduzenle-islem">





<table   border="0" cellpadding="3" cellspacing="3">
   <tr>
     <td ><strong>Hatırlatma Tarihi</strong>
       <input name="HATIRLATMA_ID" type="hidden" id="HATIRLATMA_ID" value="<? echo $yaz["HATIRLATMA_ID"];?>" size="20" /></td>
     <td ><input name="HATIRLATMA_TARIH" type="text" class="form-control"  id="HATIRLATMA_TARIH" value="<? echo $yaz["HATIRLATMA_TARIH"];?>" size="63" /></td>
     
   <tr>
     <td><span class="size12"><strong>Hatırlatma Durum</strong></span>
     <td><select name="HATIRLATMA_DURUM" id="HATIRLATMA_DURUM" style="width:160px" class="aktif_edit">
       <option value="Aktif">Aktif</option>
       <option value="Pasif">Pasif</option>
      
     </select></td>
     </tr>

 
   <tr>
     <td><span class="size12"><strong>Hatırlatma Başlık</strong></span>
     <td><input name="HATIRLATMA_BASLIK" type="text" class="form-control"  id="HATIRLATMA_BASLIK" value="<? echo $yaz["HATIRLATMA_BASLIK"];?>" size="63" /></td>
   </tr>
   <tr>
     <td valign="top"><span class="size12"><strong>Hatırlatma Tipi</strong></span>
     <td valign="top"><select name="HATIRLATMA_TIPI" id="HATIRLATMA_TIPI" style="width:160px" class="aktif_edit">
       <option value="randevu">Randevu</option>
       <option value="odeme">&Ouml;deme</option>
       <option value="hatirlatma">Hat&#305;rlatma</option>
     </select></td>
   </tr>


 <tr>
      <td class="size12" style="valign:top;"><p><strong>Hatırlatma A&ccedil;ıklama</strong></p></td> 
      <td><textarea id="editor1" name="editor1"  cols="63" class="form-control" ><? echo $yaz["HATIRLATMA_ACIKLAMA"];?></textarea>



<script type="text/javascript">
		CKEDITOR.replace( 'editor1',
    {
        filebrowserBrowseUrl : 'ckfinder/ckfinder.html',
        filebrowserImageBrowseUrl : 'ckfinder/ckfinder.html?Type=Images',
        filebrowserFlashBrowseUrl : 'ckfinder/ckfinder.html?Type=Flash',
        filebrowserUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
        filebrowserImageUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
        filebrowserFlashUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash'
    });
			</script>


  </td>
    </tr>
 <tr>
      <td colspan="2" class="size12">&nbsp;</td>
    </tr>

   <tr>
     <td>   
      <td><br><input name="button" type="submit" class="button_gri" id="button" value="Hasta Düzenle" /></td>
     <td>&nbsp;</td>
   </tr>
 </table>









</div>


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



<div class="box" style="font-size:12px;"><!-- /.box-header -->
<div class="box-body table-responsive">
</div>




     
    </div>
               



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













  </div>






</form>
  </div>