<div class="v3-col-xl-6 v3-col-md-6 v3-col-sm-12 v3-col-xs-12">
	<section class="card card-featured-left card-featured-warning mb-3 bgt" style="">
		<header class="card-header">
			<div class="card-actions">
				<a href="?ne=eticaret&islem=tahsilat" class="card-action"> <?php echo ctranslate("Tümü")?></a>
			</div>
			
			<h2 class="card-title"><i class="fa fa-credit-card"></i> <?php echo ctranslate("Tahsilat")?></h2>
			<p class="card-subtitle">...</p>
		</header>
		<div class="card-body" style="height:275px; overflow:auto; background:#ffffff08;padding:0px;">
			<?php
			$sqld=mysqli_query($conn, "select * from t1 where ne='dekont' order by id desc"); while($rsd=mysqli_fetch_assoc($sqld)){
				$ts1 = explode(' ',$rsd["ts1"]); $tarih = explode('-',$ts1[0]);
				$pay_toplam=$pay_toplam+$rsd["pb1"];
				if($tarih[1]==date('m') and $tarih[0]==date('Y')){
					$pay_ay=$pay_ay+$rsd["pb1"];
				}
				if($tarih[2]==date('d') and $tarih[1]==date('m') and $tarih[0]==date('Y')){
					$pay_bugun=$pay_bugun+$rsd["pb1"];
				}
				if($tarih[0]==date('Y')){
					$pay_yil=$pay_yil+$rsd["pb1"];
				}
			}
			?>
			<div class="v3-col-xl-4 v3-col-md-4 v3-col-sm-4 v3-col-xs-12" style="font-size: 12px; padding: 12px; background: <?php echo $module["bcwarning"]?>50; color: <?php echo $module["clrcwarning"];?>;">
				<div style="position: absolute; top: -20px; text-align: center; right: 0px; width: 75px; height: 20px; border-radius: 5px 5px 0px 0px; background: <?php echo $module["bcwarning"]?>50; color: <?php echo $module["clrcwarning"];?>;"><?php echo ctranslate("Bugün")?></div>
				<div class="v3-col-xl-2 v3-col-md-2 v3-col-sm-2 v3-col-xs-1"><i class="fa fa-<?php echo StrToLower($module["currency"])?> " style="font-size: 30px;"></i></div>
				<div class="v3-col-xl-9 v3-col-md-9 v3-col-sm-9 v3-col-xs-10"><span class="digi fs40 " style="font-size:30px !important;"><?php echo wprice($pay_bugun)?></span></div>
			</div>
			<div class="v3-col-xl-4 v3-col-md-4 v3-col-sm-4 v3-col-xs-12" style="font-size: 12px; padding: 12px; background: <?php echo $module["bcwarning"]?>70; color: <?php echo $module["clrcwarning"];?>;">
				<div style="position: absolute; top: -20px; text-align: center; right: 0px; width: 75px; height: 20px; border-radius: 5px 5px 0px 0px; background: <?php echo $module["bcwarning"]?>70; color: <?php echo $module["clrcwarning"];?>;"><?php echo ctranslate("Bu Ay")?></div>
				<div class="v3-col-xl-2 v3-col-md-2 v3-col-sm-2 v3-col-xs-1"><i class="fa fa-<?php echo StrToLower($module["currency"])?> " style="font-size: 30px;"></i></div>
				<div class="v3-col-xl-9 v3-col-md-9 v3-col-sm-9  v3-col-xs-10"><span class="digi fs40 " style="font-size:30px !important;"><?php echo wprice($pay_ay)?></span></div>
			</div>
			<div class="v3-col-xl-4 v3-col-md-4 v3-col-sm-4 v3-col-xs-12" style="font-size: 12px; padding: 12px; background: <?php echo $module["bcwarning"]?>99; color: <?php echo $module["clrcwarning"];?>;">
				<div style="position: absolute; top: -20px; text-align: center; right: 0px; width: 75px; height: 20px; border-radius: 5px 5px 0px 0px; background: <?php echo $module["bcwarning"]?>99; color: <?php echo $module["clrcwarning"];?>;"><?php echo ctranslate("Bu Yıl")?></div>
				<div class="v3-col-xl-2 v3-col-md-2 v3-col-sm-2 v3-col-xs-1"><i class="fa fa-<?php echo StrToLower($module["currency"])?> " style="font-size: 30px; "></i></div>
				<div class="v3-col-xl-9 v3-col-md-9 v3-col-sm-9  v3-col-xs-10"><span class="digi fs40 " style="font-size:30px !important;"><?php echo wprice($pay_yil)?></span></div>
			</div>
			<div class="card-body dbcb loading-overlay-showing" data-loading-overlay="" data-loading-overlay-options="{ &quot;startShowing&quot;: true }" style="clear:both;height:220px; overflow:auto;background:#ffffff08;padding:0px;" id="db_g3">
				<div class="loading-overlay">
					<div class="bounce-loader">
						<div class="bounce1"></div>
						<div class="bounce2"></div>
						<div class="bounce3"></div>
					</div>
				</div>
			</div>
			<script> jQuery(document).ready(function() { jQuery('#db_g3').load('modules/dashboard/db_pay.php') }); </script>
		</div>
	</section>
</div>