<?php
$path="../../";
include("../../map.php");
include("../../scripts.php");
if($_GET["gun"]<10){$cgun="0".$_GET["gun"]."";}else{$cgun=$_GET["gun"];}
if($_GET["ay"]<10){$cay="0".$_GET["ay"]."";}else{$cay=$_GET["ay"];}
$cyil=$_GET["yil"]
?>
<div class="panel panel-default">
	<div class="panel-heading"><?php echo $sdil[68]; //Not?> <span class="fr mfr" style="float:right;"><?php echo "".$cgun.".".$cay.".".$cyil.""?></span></div>
	<div class="panel-body">
		<ul class="events" style="width:100%; list-style:none;padding: 0px;">
			<?php
			$sql=mysqli_query($conn, "select * from genel where ne='not' order by t2 asc"); while($rs=mysqli_fetch_assoc($sql)){
				$tarih=$rs["t4"];
				$dates = explode('-',$tarih);
				if(($dates[2]==$cgun and $dates[1]==$cay and $dates[0]==$cyil) or ($dates[2]==$cgun and $rs["s3"]==1)){
					?>
					<li data-id="<?php echo $rs["id"];?>" class="cparent alert-warning" style="position: relative; <?php if((date("H:i") > $rs["t2"] and ($rs["t2"]<>"00:00")) and date("d") == $dates[2] ){echo "opacity: 0.3;"; }?><?php if(date("d") >= $dates[2] and $_GET["ay"]==""){?>color: #ccc;<?php }?>margin-top: 2px; border: 1px solid silver; border-radius:0px 5px 0px 5px;">
						<a href="note.php?ne=<?php echo $_GET["ne"]?>&islem=<?php echo $_GET["islem"]?>&durum=noku&gun=<?php echo $cgun;?>&ay=<?php echo $bay;?>&yil=<?php echo $yil;?>&id=<?php echo $rs["id"];?>" style="cursor:pointer; color:#999 !important;"><b style="color:#999 !important; width:auto;"><?php echo $rs["t2"];?></b> <i class="fa fa-<?php if($rs["s3"]<>0){echo "refresh";}else{echo "sticky-note-o";}?>" style="float: left; margin: 5px; font-size: 12px; color: orange;"></i> <?php echo $rs["t1"];?>...</a>
						<a class="fa fa-minus-circle" href="note.php?ne=notlar&islem=notlar&id=<?php echo $rs["id"];?>&durum=snot" style="padding:0px; margin-right:3px; margin-top:3px;"></a>
					</li>
				<?php }}?>
			</ul>
		</div>
	</div>