	<?php
	$sql=mysqli_query($conn, "select * from genel where ne='extre'"); $rs=mysqli_fetch_assoc($sql);
	if(mysqli_num_rows($sql)==0){
		$sql = $conn->query("insert into genel (ne) values ('extre')");
	}
	$sqlb=mysqli_query($conn, "select * from genel where ne='banka' and id=".$_GET["id"]." order by s10 asc"); $banka=mysqli_fetch_assoc($sqlb);
	if(mysqli_num_rows($sqlb)>0){
		$banka=$banka["t1"];
		$banka2=$banka["t1"];
	}else{
		$banka="Tüm";
		$banka2="Garanti Bankası";	
	}
	?>
<style type="text/css">
	html .bg-primary, html .background-color-primary {
		background-color: #0088CC !important;
		filter: drop-shadow(2px 4px 6px black);
	}
	html .bg-secondary, html .background-color-secondary {
		background-color: #E36159 !important;
		filter: drop-shadow(2px 4px 6px black);
	}
	html .bg-tertiary, html .background-color-tertiary {
		background-color: #2BAAB1 !important;
		filter: drop-shadow(2px 4px 6px black);
	}
</style>
	<div class="inner-wrapper">
		<!-- start: sidebar -->
		<aside id="sidebar-left" class="sidebar-left">
			<div class="sidebar-header">
				<div class="sidebar-title">
					Menu
				</div>
				<div class="sidebar-toggle hidden-xs" data-toggle-class="sidebar-left-collapsed" data-target="html" data-fire-event="sidebar-left-toggle">
					<i class="fa fa-bars" aria-label="Toggle sidebar"></i>
				</div>
			</div>
			<?php include('menu.php');?>
		</aside>
		<!-- end: sidebar -->
		<section role="main" class="content-body card-margin">
			<header class="page-header">
				<h2><?php echo translate("E-Ekstre")?></h2>
				<div class="right-wrapper text-right">
					<ol class="breadcrumbs">
						<li>
							<a href=".">
								<i class="fa fa-home"></i>
							</a>
						</li>
						<li><span><?php echo $sdil[4]; //Eticaret?></span></li>
						<li><span><?php echo translate("E-Ekstre")?></span></li>
					</ol>
					<a class="sidebar-right-toggle" data-open="sidebar-right"><i class="fa fa-chevron-left"></i></a>
				</div>
			</header>
			<!-- start: page -->
			<div class="row">
				<div class="col">
					<section class="card">
						<header class="card-header v3-bg-info" style="text-align: start">
							<div class="card-actions" id="v-<?php echo $_GET['islem'];?>">
							<?php include("modules/public/filter.php");?>
							<!--
								<a href="#" class="card-action card-action-toggle" data-card-toggle=""></a>
								<a href="#" class="card-action card-action-dismiss" data-card-dismiss=""></a>
							-->
						</div>
						<h2 class="card-title mdn"><span style="text-transform:capitalize;"> <?php echo translate("E-Ekstre")?> </span></h2>
					</header>
					<div class="v8-columns">
						<div class="v8-col200pxL-left">
							<ul class="v8-side-tabs v8-js-tabs v8-same-height">
								<li class=""><a href="#tab1" title=""><i class="fa fa-file-text-o"></i><span> Banka Hareketleri</span></a></li>
								<li class=""><a href="#tab2" title=""><i class="fa fa-file-text-o"></i><span> <del>Pos Hareketleri</del></span></a></li>
								<li class=""><a href="#tab3" title=""><i class="fa fa-wrench"></i><span> <?php echo $sdil["30"]?></span></a></li>
								<li class=""><a href="?ne=eticaret&islem=odeme" title=""><i class="fa fa-university"></i><span> <?php echo translate("Bankalar")?></span></a></li>
							</ul>
						</ul>
					</div>
					<div class="v8-col200pxL-right">
						<div id="tab1" class="v8-tabs-content mp2">
							<div class="v3-panel v3-panel-default" style="width: 99%; margin-left: auto; margin-right: auto;">
								<div class="v3-panel-heading" style="min-height: 40px;">
									<span style="float:left;">
										<?php if($_GET["ts1"]=="" and $_GET["ts2"]==""){echo "#".translate("Son 30 Gün Listeniyor.");}else{echo $sdil["38"];}?>
									</span>
								</div>
								<div class="v3-panel-body" style="">
<?php if($_GET["ts1"]=="" and $_GET["ts2"]==""){?>
<div class="v3-row mt20">
									<div class="v3-col-md-4 mt10 mb10  mmt10 mmb10 mp0">
										<section class="card card-featured-left card-featured-secondary">
										<div class="card-body bg-primary">
											<div class="widget-summary">
												<div class="widget-summary-col widget-summary-col-icon">
													<div class="summary-icon bg-primary">
														<i class="fa fa-try" style=""></i>
													</div>
													</div>
													<div class="widget-summary-col">
													<div class="summary">
														<h4 class="title"><?php echo $banka?> TRY</h4>
													<div class="info">
													<strong class="amount">TRY 0.00</strong>
													</div>
													</div>
													<div class="summary-footer">
													<a class="text-muted text-uppercase cw" href="#">(3 Hesap)</a>
													</div>
												</div>
											</div>
										</div>
										</section>
									</div>
									<div class="v3-col-md-4 mt10 mb10 mmt10 mmb10 mp0">
										<section class="card card-featured-left card-featured-secondary">
										<div class="card-body bg-tertiary">
											<div class="widget-summary">
												<div class="widget-summary-col widget-summary-col-icon">
													<div class="summary-icon bg-tertiary">
														<i class="fa fa-usd" style=""></i>
													</div>
													</div>
													<div class="widget-summary-col">
													<div class="summary">
														<h4 class="title"><?php echo $banka?> USD</h4>
													<div class="info">
													<strong class="amount">USD 0.00</strong>
													</div>
													</div>
													<div class="summary-footer">
													<a class="text-muted text-uppercase cw" href="#">(3 Hesap)</a>
													</div>
												</div>
											</div>
										</div>
										</section>
									</div>
									<div class="v3-col-md-4 mt10 mb10 mmt10 mmb10 mp0">
										<section class="card card-featured-left card-featured-secondary">
										<div class="card-body bg-secondary">
											<div class="widget-summary">
												<div class="widget-summary-col widget-summary-col-icon">
													<div class="summary-icon bg-secondary">
														<i class="fa fa-eur" style=""></i>
													</div>
													</div>
													<div class="widget-summary-col">
													<div class="summary">
														<h4 class="title"><?php echo $banka?> EUR</h4>
													<div class="info">
													<strong class="amount">EUR 14,890.30</strong>
													</div>
													</div>
													<div class="summary-footer">
													<a class="text-muted text-uppercase cw" href="#">(3 Hesap)</a>
													</div>
												</div>
											</div>
										</div>
										</section>
									</div>
</div>
<?php }?>
									<div class="v3-row mt20">
									<div class="v3-col-md-2 v3-col-xs-12"style="<?php if($mobile<>""){?>overflow:auto; margin-top:10px; padding-top: 5px; text-align:center;<?php }else{echo "";}?>">
										<?php $sqllb=mysqli_query($conn, "select * from genel where ne='banka' and s2=0 order by s10 asc"); while($lbanka=mysqli_fetch_assoc($sqllb)){ ?>
										<a href="?islem=<?php echo $_GET["islem"]?>&ne=<?php echo $_GET["ne"]?>&id=<?php echo $lbanka["id"]?>" class="banks <?php if($mobile<>""){echo "m";}else{echo "d";}?>bank<?php echo $lbanka["s1"]?> mb10 mmb10" title="<?php echo $lbanka["t1"]?>" style="float:left;  max-width:100%;height: 70px;<?php if($_GET["id"]==$lbanka["id"]){echo "filter: drop-shadow(1px 1px 3px black);";}?><?php if($mobile<>""){echo "margin-right:15px; margin-top:18px; width:70px; border-radius: 30px;";}else{echo "margin-right:10px; width:100%;border: 1px solid silver; border-radius: 15px;";}?>"><img src="https://www.pinclipart.com/picdir/big/99-997548_clip-art-in-addition-transparent-bubbles-circle-png.png" class="ddn" style="width:108%; margin-left: -3px; margin-top: -3px;"></a>
										<?php }?>
									</div>
									<div class="v3-col-md-10 mmt20" style="<?php if($mobile<>""){echo "clear:both;";}?>">
									<table class="table table-no-more table-bordered table-striped mb-0 mmt20" style="font-size:15px; border: 0px;">
											<thead>
												<tr>
													<th class="w10" style="text-align:center;"><?php echo $sdil["115"]?></th>
													<th class="" style=""><?php echo $sdil["40"]?></th>
													<th class="w10" style="text-align:right;"><?php echo $sdil["144"]?></th>
												</tr>
											</thead>
											<tbody>
													<?php for ($i = 1; $i <= 10; $i++) {?>
														<tr data-id="<?php echo $i;?>" style="height:25px;<?php if($mobile<>""){echo "display: table; width: 100%;";}?>">
															<td  style="text-align:center;"> <?php echo dtarih(date("Y-m-d"),"gg.ka.yy"," ")?></td>
															<td><?php echo $banka2?> <br>Açıklama </td>
															<td  style="text-align:right;"><b>0.00</b> <?php echo $ikpb?></td>
														</tr>
													<?php }?>
												</tbody>	
											</table>	
									</div>
									</div>
									</div>
								</div>
							</div>
							<div id="tab3" class="v8-tabs-content" style="min-height: 450px;">
								<form class="form" method="post" action="?ne=<?php echo $_GET["ne"];?>&islem=<?php echo $_GET["islem"];?>&durum=kaydet">
									<div class="v3-row">
										<fieldset class="grey-bg v3-col-md-4">
											<legend>xxx <span style="font-size:8px; color:#ccc;">(s3)</span></legend>
											<div class="switch switch-sm switch-success">
												<input type="checkbox" name="s3" id="s3" value="1" data-plugin-ios-switch="" <?php if($rs["s3"]=="1") {?>checked<?php }?>>
											</div>
										</fieldset>
									</div>
									<button class="button" type="submit" style="float: right; margin-top:20px;" <?php if($e10==1 and $_SESSION["user"]<>V3d('TWFzdGVy')){?>disabled<?php }?>><i class="fa fa-paper-plane-o" aria-hidden="true"></i> Gönder</button>
								</form>
							</div>
							<ul class="alert alert-info">
								<li>...</li>
							</ul>
						</div>
					</div>
				</section>
			</div>
		</div>
	</section>
	<aside id="sidebar-right" class="sidebar-right">
		<div class="nano">
			<div class="nano-content">
				<a href="#" class="mobile-close d-md-none">
					Collapse <i class="fa fa-chevron-right"></i>
				</a>
				<div class="sidebar-right-wrapper">
					...
				</div>
			</div>
		</div>
	</aside>
</div>
</section>
<?php
if($_GET["durum"]=="kaydet"){
	$Rs = mysqli_query($conn, "update genel set s1='".$_POST["s1"]."', s2='".$_POST["s2"]."', s3='".$_POST["s3"]."', n1='".$_POST["n1"]."', n2='".$_POST["n2"]."' where ne='ekstre'");
	echo location("?ne=".$_GET["ne"]."&islem=".$_GET["islem"]."&id=".$_GET["id"]."&durum=ok#&tab3",self,500,1);
}
?>