<?php
	$path="../../"; include("../../map.php");
	include("../../scripts.php");
 ?>
<div style="width:100%; overflow:auto;">
					<table class="table" style="min-width:800px;">
										<thead>
											<tr>
												<th class="" style="">İşlem Açıklama</th>
												<th class="w15 mw15" style="text-align:right;">Tarih</th>
												<th class="w8 mw15" style="text-align:right;">Tutar</th>
												<th class="w8 mw8" style="text-align:right;">İşlem</th>
											</tr>
										</thead>
										<tbody>
											<?php $sqlep=mysqli_query($conn, "select * from t1 where ne='dekont' and s1=".$_GET["id"]." order by id desc"); while($rsd=mysqli_fetch_assoc($sqlep)){ ?>
													<tr style="height:25px;">
														<td> <?php echo $rsd["n1"];?> </td>
														<td  style="text-align:right;"> <?php echo dtarih($rsd["ts1"],"gg ka yy time");?></td>
														<td  style="text-align:right;"><?php echo $rsd["pb1"];?> <?php echo $rsd["t9"];?></td>
														<td  style="text-align:right;">
														<a class="btn-warning btn-xs mfrm cp" data-toggle="modal" data-target="#myModal" data-url="fonksiyon.php?islem=dekont&id=<?php echo $rsd["id"];?>" style="margin-right:10px;"><i class="fa fa-eye"></i></a>
														<?php if($_SESSION["y2"]>2 or $_SESSION["kim"]=="Admin"){?>
															<a class="btn-danger btn-xs" href="?ne=<?php echo $_GET["ne"];?>&islem=<?php echo $_GET["islem"];?>&durum=sil&id=<?php echo $rsd["id"];?>"><i class="fa fa-times"></i></a>
														<?php }else{?>
															<a href="#"><i class="fa fa-ban"></i></a>
														<?php }?>
														</td>
													</tr>
												<?php }?>
											</tbody>	
										</table>
</div>