 <center style="position: fixed; bottom: 5px; left: 50%; color: white; font-size:11px">© CRMPlus 2004-<?php echo date("Y")?></center>
<?php if($_GET["islem"]=="dsayfa" or $_GET["islem"]=="dkayit" or $_GET["islem"]=="duye"){ include("modules/upload/upload_image_drag.php"); } ?>
<?php if(!empty($_SESSION["cgiris"])){?>
<div class="msa">
	<?php if($module["m1_crm"]<>""){$d=0; $w=9; $diller = explode(',',$module["m1_crm"]); $dsay=count($diller);?>
	<div class="tac notranslate" title="<?php echo ctranslate("Crm+ Dili")?>" style="width: 50px; position: fixed; bottom: 0px; right: <?php if($e2==1){?>400<?php }else{?>270<?php }?>px; padding: 7px 10px; background: #282d36 !important; opacity: 0.75; color: white; border-radius: 5px 5px 0px 0px;">
		<?php if($module["crm_translate"]==1){?>
			<?php if($dsay==1){?>
				<script>jQuery(document).ready(function(){Translate('tr|<?php echo strtolower($module["m1_crm"])?>'); return false;});</script>
				<a href="#" class="cw"><?php echo $module["m1_crm"];?></a>
			<?php }else{?>
				<a onclick="toggle('.trns')" href="#" class="cw gt"><?php echo $diller[0];?></a>
				<div class="dropdown-menu trns" role="menu" style="min-width: 45px; bottom: 100%; top: unset;">
					<?php foreach($diller as $dil) {$d++;?>
					<a class="dropdown-item text-1" href="#" onclick="Translate('tr|<?php echo strtolower($dil)?>'); toggle('.trns'); return false;"><?php echo $dil?></a>
					<?php }?>
				</div>
			<?php }?>
		<?php }else{?>
			<a <?php if($dsay>1){?>onclick="toggle('.trns')"<?php }?> href="#" class="cw"><?php echo $_SESSION["clang"]?></a>
			<div class="dropdown-menu trns" role="menu" style="min-width: 45px; bottom: 100%; top: unset;">
				<?php  foreach($diller as $dil) {$d++;?>
				<a class="dropdown-item text-1" href="?clang=<?php echo $dil;?>"><?php echo $dil?></a>
				<?php }?>
			</div>
		<?php }?>
	</div>
	<?php }?>
	<a class="digi mfrm cp" data-toggle="modal" data-target="#myModal" data-width="50%" data-title="Updater" data-url="fonksiyon.php?islem=update" data-ref="?ne=<?php echo $_GET["ne"]?>&islem=<?php echo $_GET["islem"]?>&id=<?php echo $_GET["id"]?>" style="width: 60px; position: fixed; bottom: 0px; right: <?php if($e2==1){?>385<?php }else{?>200<?php }?>px; padding: 7px 10px; background: #282d36; opacity: 0.75; color: white; border-radius: 5px 5px 0px 0px;" title="<?php echo timeago($pow6)?>"><?php echo $pow2?><div id="untf" style="position: absolute; top: -12px; right: 0px; color: red;"></div></a>
	<a class="digi" style="width: 135px; position: fixed; bottom: 0px; right: <?php if($e2==1){?>240<?php }else{?>56<?php }?>px; padding: 7px 10px; background: #282d36; opacity: 0.75; color: white; border-radius: 5px 5px 0px 0px;"><div style="float:left;"><?php echo date("d-m-y")?></div> <div id="wsaat"  style="float:right;"></div> </a>
	<a  onclick="toggle('#sidemodal');" id="cbtn" href="modules/chat/" class="cp" target="fsm" style="<?php if($e2<>1){echo "display:none;";}?>position: fixed; bottom: 0px; right: 56px; padding: 7px 40px; background: #282d36; opacity: 0.75; color: white; border-radius: 5px 5px 0px 0px;"><div id="nchat"></div><i class="fa fa-comments" aria-hidden="true"></i> <?php echo $sdil[21]; //Online Destek?></a>
	<button onclick="startRecognition()" class="fa fa-microphone btn btn-warning" style="font-size:30px; position:fixed; right:10px; bottom:0px; z-index:98;"></button>
</div>
<?php }?>
<!--
<div class="ui-pnotify notification-success click-2-close" style="width: 300px; right: 15px; top: 15px; opacity: 1; cursor: auto;">
	<div class="notification ui-pnotify-container notification-warning" style="min-height: 16px;">
		<div class="ui-pnotify-icon"><span class="fa fa-check"></span></div>
		<h4 class="ui-pnotify-title">CrmPlus+</h4>
		<div class="ui-pnotify-text">Check me out! I'm a sticky notice. You'll have to click me to close.</div>
		<div style="margin-top: 5px; clear: both; text-align: right; display: none;"></div>
	</div>
</div>
-->
<footer>
<script src="assets/js/tabs.js"></script>
<script type="text/JavaScript" language="JavaScript">
	// Sekme geçişleri
	jQuery('.v8-side-tabs>li>a').click(function(){var t=jQuery(this).attr('href');jQuery('.v8-tabs-content').hide();jQuery(t).show();});

	// Linki modal kapandıktan sonra aç
	function linkinmodal(u){jQuery('.modal').removeClass('in');setTimeout(function(){window.location.href=u;},300);}

	// Modal önizleme (iframe yükleme)
	function reviewModal(src,width='90%'){var $m=jQuery('#myModal'),$i=$m.find('iframe');$i.attr('src','about:blank').hide();$m.css('width',width).show();$m.find('.loading-info').remove();$m.find('.modal-body').prepend('<div class="loading-info">Lütfen Bekleyiniz...</div>');$i.off('load').on('load',function(){jQuery(this).show();$m.find('.loading-info').remove();});$i.attr('src',src);}

	// Modal kapatma
	function closeModal(id){const m=document.getElementById('myModal');if(m){m.classList.remove('show');m.style.display='none';m.setAttribute('aria-hidden','true');}document.body.classList.remove('modal-open');const b=document.querySelector('.modal-backdrop');if(b)b.remove();if(id){const r=document.querySelector(`#t<?php echo $_GET["ne"]?> tr[data-id="${id}"]`);if(r)r.style.display='none';}}

	// iframe'den gelen mesajlara göre modal kapat
	window.addEventListener('message',function(e){const d=e.data;let id=null;if(typeof d==='string'&&d==='closeModal'){}else if(typeof d==='object'&&d.action==='closeModalAndHideRow'){id=d.rowId;}else{return;}closeModal(id);});

	// Satır seçimi, toplu silme butonu kontrolü
	jQuery(".front,.back").click(function(){var id=jQuery(this).attr("data-id");cbox('#c'+id+'');c=0;jQuery(".dchck").each(function(){if(this.checked)c++;});if(c>0){show('alldel');}else{hide('alldel');}});

	// Tüm flip kolonlarını aktif/pasif yap
	jQuery("#c0").click(function(){jQuery(".cflip").toggleClass('active');});

	// Sütun genişliği ayarlama (resize)
	jQuery(function(){var h=jQuery("table.resizable th:first").height();jQuery("table.resizable th").resizable({handles:"e",minHeight:h,maxHeight:h,minWidth:40,resize:function(e,u){var id="#"+jQuery(e.target).attr("id");jQuery(id).width(u.size.width);}});jQuery('table.resizable').on("resize",delay(function(){wcols();},500));});

	// Sütun genişliklerini kaydetme
	function wcols(){var w=[],t=jQuery("table.resizable").width();jQuery("table.resizable tr:first th").each(function(){w.push(Math.round(jQuery(this).width()/(t/100)));});return false;}

	// Form değişikliklerinde kaydet butonu göster
	jQuery('input:text').keyup(function(){jQuery('.savebtn').show();});
	jQuery('input:text,select').change(function(){jQuery('.savebtn').show();});
	jQuery('.cflip,.checkbox-custom').click(function(){jQuery('.delbtn').show();});

	// Sayfa ayrılmadan önce kaydet (unsaved)
	<?php if(($_GET["islem"]=="d".$_GET["ne"]."" or substr($_GET["islem"],1)=="fatura") and $_GET["durum"][0]<>"s"){?>
	var ignore=true;jQuery(function(){jQuery(window).bind('beforeunload',function(){if(!ignore){AjaxKaydet('','');}});jQuery("#asave").change(function(){ignore=false;});jQuery('#savebtn').on('click',function(){ignore=true;});});
	<?php }?>

	// Belirli sayfalarda etiket ve yönlendirme ayarları
	jQuery(document).ready(function(){
	<?php if($_GET["islem"]=="dsayfa" or $_GET["islem"]=="dkayit" or $_GET["islem"]=="duye"){?>
	jQuery('title').html("<?php echo $rs["t1"];?>");
	setTimeout(function(){jQuery('#input-tags_tag').attr({'list':'ln4','autocomplete':'off'}).css('width','100px');jQuery('#ln4').load('fonksiyon.php?ne=<?php echo $_GET["ne"]?>&islem=keys');},1000);
	jQuery("#n5").keyup(delay(function(){var q=jQuery(this).val();jQuery('#ln5').load('modules/ajax/ajax_redirect_options.php?ne=<?php echo $_GET["ne"]?>&q='+q);},1000));
	<?php }?>
	jQuery('.dchck').click(function(){var i=0;jQuery(".dchck").each(function(){if(jQuery(this).prop("checked"))i++;});if(i>0){show('#alldel');}else{hide('#alldel');}});
	});

	// Popup açıcı
	function popup(mylink,windowname,w,h){if(!window.focus)return true;var href=(typeof(mylink)=='string')?mylink:mylink.href;window.open(href,windowname,"width="+w+",height="+h+",location=no,titlebar=no,scrollbars=no,toolbar=no");return false;}

	// Hover içerik aç/kapat
	jQuery(document).ready(function(){
	jQuery('.mover').mouseenter(function(){jQuery(this).find('.scontent').show('slow');});
	jQuery('.mover').mouseleave(function(){jQuery(this).find('.scontent').hide('slow');});

	// Tablo sütun ayar menüsü (sağ tık)
	var div=jQuery(".cols").first();
	div.contextmenu(function(e){var ne=jQuery(this).data("ne");jQuery('#myModal').modal('show').css('width','25%');jQuery('#myModal').find('iframe').attr('src','fonksiyon.php?ne='+ne+'&islem=cols&fid=<?php echo $_GET["fID"]?>');jQuery('#myModal').find('a').attr('onclick',"location.href='?ne=<?php echo $_GET["ne"]?>&islem=<?php echo $_GET["islem"]?>&key=<?php echo $_GET["key"]?>&sayfa=<?php echo $_GET["sayfa"]?>&durum=<?php echo $_GET["durum"]?>&order=<?php echo $_GET["order"]?>'");e.preventDefault();});

	// İnternet bağlantısı kontrolü
	setInterval(function(){var s=navigator.onLine;if(s){jQuery('#conn').html('');hide('conn');}else{jQuery('#conn').html('<span style="font-size:45px;"><i class="fas fa-exclamation-triangle"></i> <?php echo ctranslate("İnternet Yok!")?></span><br><?php echo ctranslate("İnternete bağlı değilsiniz. Lütfen bağlantınızı kontrol ediniz ve tekrar deneyiniz.")?>');show('conn');}},15000);

	// Hava durumu bilgisi
	setTimeout(function(){if(jQuery("#wjson").html()){var w=jQuery("#wjson").html().split(",");jQuery(".hweather").html('<img src="https://openweathermap.org/img/w/'+w[3]+'.png" title="'+w[1]+'" style="opacity:0.5"><div class="wj2 digi">'+w[2]+'</div><div class="wj1"><i class="fa fa-map-marker" style="color:red"></i> '+w[0]+'</div>');}},3000);

	// Simge yükleme
	jQuery(".icons").each(function(){jQuery(".icons").load("fonksiyon.php?islem=icons");});
	});

	// Simge arama
	function icons(e){show("icons");var ID=e.getAttribute("id"),val=jQuery("#"+ID).val();jQuery(".icons").load("fonksiyon.php?islem=icons&q="+val+"&ID="+ID);return false;}

	// Kaydırma sabitleme (sol menü ve kontrol bar)
	jQuery(document).ready(function(){
	jQuery('#set').on('scroll',function(){var n=jQuery('#set').offset().top,s=jQuery('#set').scrollTop();if(s>n){jQuery('#control-bar').addClass('toright');}else{jQuery('#control-bar').removeClass('toright');}});
	jQuery('#set').on('scroll',function(){var n=jQuery('#set').offset().top,s=jQuery('#set').scrollTop();if(s>n){jQuery('.v8-col200pxL-left').addClass('mfixed');}else{jQuery('.v8-col200pxL-left').removeClass('mfixed');}});
	jQuery('#notification').load('notifications.php?islem=notification').fadeIn("slow");
	<?php if($module["eko-mode"]<>1){?>
		var auto_refresh = setInterval( function () { jQuery('#notification').load('notifications.php?islem=notification').fadeIn("slow"); }, 15000); //30sn
	<?php }?>
	<?php if($m17==1 and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y11"]<>0))){?>
		jQuery(document).on('click', '.qnots', function () {
		   jQuery('#lnotes').hide().load('fonksiyon.php?islem=notes', function () { jQuery(this).fadeIn("slow"); });
		});
	<?php }?>
	});

	function notifications() { jQuery('#lnotifications').load('notifications.php?islem=notifications');}
	<?php if(tanim("imail","n1",$_SESSION["user_id"])<>""){?>
        var auto_refresh = setInterval( function () { jQuery('#nmc').load('fonksiyon.php?islem=mcount&ne=nmc&id=<?php echo $_SESSION["user_id"];?>').fadeIn("slow"); }, 10000); //3sn
    <?php }?>
    <?php if($e2=="1"){?>
        var auto_refresh = setInterval( function () { jQuery('#nchat').load('fonksiyon.php?islem=chat').fadeIn("slow"); }, 5000); //5sn
    <?php }?>
	<?php if (isset($pow6) && !empty($_SESSION["cgiris"])){?>
		<?php if( ((time() - strtotime($pow6)) < (24 * 60 * 60)) && $_SESSION["update_notify"]=="" && $module["update_notify"]==1 ){ $_SESSION["update_notify"]="1"; ?>
			jQuery( document ).ready(function() { setTimeout(function(){ notice('CrmPlus+','CRMPlus yazılımınız başarıyla güncellendi!','fa fa-check','success'); }, 2000); });
		<?php }?>
	<?php }?>
    <?php if($backup_status<>"" && $_SESSION["backup_notify"]=="" && $module["backup_notify"]==1 && !empty($_SESSION["cgiris"])){$_SESSION["backup_notify"]="1";?>
		jQuery( document ).ready(function() { setTimeout(function(){ jQuery('#logfrm').attr('src','modules/public/backup<?php echo $ver?>.php?islem=sqlbackup'); notice('CrmPlus+','Sql Yedeklendi','fa fa-check','success'); }, 3000); });
	<?php }?>
	<?php if(($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y8"]<>0)) and $_SESSION["fID"]=="" and $module["muhasebe_fis"]==1 and !empty($_SESSION["cgiris"])){?>
		jQuery( document ).ready(function() {
			setTimeout(function(){ jQuery('#myModal').modal('show'); jQuery('#mfrm').attr('src','modules/accounting/accounting_select_firm.php'); }, 3000);
		});
	<?php }?>

	function GoogleMap(k,b,i){var l=k.split(","),a=parseFloat(l[0]),n=parseFloat(l[1]);if(typeof i==="undefined"){i='map_canvas';}DefaultHKmarker=new google.maps.LatLng(a,n);myOptions={zoom:14,mapTypeId:google.maps.MapTypeId.ROADMAP,center:DefaultHKmarker,streetViewControl:false};map=new google.maps.Map(document.getElementById(i),myOptions);marker=new google.maps.Marker({position:DefaultHKmarker,title:b});marker.setMap(map);marker.setDraggable(true);google.maps.event.addListener(marker,"dragend",function(e){var p=marker.getPosition();document.getElementById("koordinat_x").value=p.lat().toFixed(5);document.getElementById("koordinat_y").value=p.lng().toFixed(5);document.getElementById("ikoordinat").value=""+p.lat().toFixed(5)+","+p.lng().toFixed(5)+"";map.panTo(p);});}
	function GoogleAddress(a,c,i){var l=jQuery("#location_lock").val();if(typeof i==="undefined"){i='map_canvas';}if(l==0){geocoder=new google.maps.Geocoder();var d=a+' ,'+c;geocoder.geocode({'address':d},function(r,s){if(s==google.maps.GeocoderStatus.OK){var m={zoom:15,center:r[0].geometry.location,mapTypeId:google.maps.MapTypeId.ROADMAP};map=new google.maps.Map(document.getElementById(i),m);var mk=new google.maps.Marker({map:map,position:r[0].geometry.location});var p=mk.getPosition();document.getElementById("koordinat_x").value=p.lat().toFixed(5);document.getElementById("koordinat_y").value=p.lng().toFixed(5);document.getElementById("ikoordinat").value=""+p.lat().toFixed(5)+","+p.lng().toFixed(5)+"";mk.setMap(map);mk.setDraggable(true);google.maps.event.addListener(mk,"dragend",function(e){var p=mk.getPosition();document.getElementById("koordinat_x").value=p.lat().toFixed(5);document.getElementById("koordinat_y").value=p.lng().toFixed(5);document.getElementById("ikoordinat").value=""+p.lat().toFixed(5)+","+p.lng().toFixed(5)+"";map.panTo(p);});}});}}
	function YandexMap(k,b,i){jQuery('#map_canvas').html('');var l=k.split(","),a=parseFloat(l[0]),n=parseFloat(l[1]);document.getElementById("ikoordinat").value=""+k+"";ymaps.ready(init);var crmplusMap,zoom;function init(){crmplusMap=new ymaps.Map("map_canvas",{center:[a,n],zoom:14,controls:['zoomControl','typeSelector','fullscreenControl','searchControl']});var myPlacemark=new ymaps.Placemark([a,n],{balloonContentHeader:b,balloonContentBody:'',balloonContentFooter:"<?php echo $firma?>"}, {preset:'islands#redDotIcon',draggable:true});myPlacemark.events.add('dragend',function(e){var t=e.get('target');var c=t.geometry.getCoordinates();t.properties.set('balloonContent',c);document.getElementById("koordinat_x").value=myPlacemark.geometry._coordinates[0].toFixed(5);document.getElementById("koordinat_y").value=myPlacemark.geometry._coordinates[1].toFixed(5);document.getElementById("ikoordinat").value=""+myPlacemark.geometry._coordinates[0].toFixed(5)+","+myPlacemark.geometry._coordinates[1].toFixed(5)+"";if(typeof zoom!='undefined')document.getElementById('zoom').value=zoom;});crmplusMap.setCenter([a,n]);crmplusMap.setZoom(14,{duration:10000});crmplusMap.panTo([a,n],{checkZoomRange:true});crmplusMap.geoObjects.removeAll(myPlacemark);crmplusMap.geoObjects.add(myPlacemark);}}
	function YandexAddress(a,c,i){jQuery.getJSON('https://search-maps.yandex.ru/v1/?text='+a+'&results=1&apikey=<?php echo tanim("mkey","n1",0);?>&lang=tr_TR',function(d){var l=d.features[0].geometry.coordinates[1],n=d.features[0].geometry.coordinates[0];YandexMap(''+l+','+n+'','<?php echo $firm["firma"]?>');});}
	jQuery("#iadres").keyup(delay(function(e){var a=jQuery("#iadres").val();<?php echo $mapi?>Address(a);},1000));
	jQuery("#q").keyup(delay(function(e){jQuery('#q').toggleClass('qbr');var q=jQuery("#q").val();if(q!=""){if(e.keyCode==13){jQuery('#rsearch').show();jQuery('div#rsearch').html('<center style="padding:5px;"><img src="assets/img/loading.gif"></center>');search(true);}else{jQuery('#rsearch').show();jQuery('div#rsearch').html('<center style="padding:5px;"><img src="assets/img/loading.gif"></center>');jQuery(this).data('timer',setTimeout(search,100));}}else{jQuery('#rsearch').hide();}},1000));
	function search(f){var s=jQuery("#q").val();var q=s;$.get('modules/public/search.php?key='+q,function(d){jQuery('div#rsearch').html(d);});}
	jQuery(document).ready(function(){jQuery(".wscreen").html(jQuery(window).width());});
	jQuery(function(){jQuery('#input-tags').tagsInput();jQuery('#input-tags').tagsInput({maxTags:20});jQuery(".addtag").click(function(e){e.preventDefault();var i=jQuery(this).data("value");jQuery('#input-tags').addTag(i);});});
	function notice(t,x,i,y,h){if(!h){var h="2000";}var n="<div class=\"ui-pnotify notification-"+y+" click-2-close cp\" title=\"Kapat (x)\" style=\"width:300px;opacity:1;cursor:auto;\"><div class=\"notification ui-pnotify-container notification-warning\" style=\"min-height:16px;\"><div class=\"ui-pnotify-icon\"><span class=\""+i+"\"></span></div><h4 class=\"ui-pnotify-title\">"+t+"</h4><div class=\"ui-pnotify-text\">"+x+"</div><div style=\"margin-top:5px;clear:both;text-align:right;display:none;\"></div></div></div>";jQuery("#jswpanel").append(n).show('slow');setTimeout(function(){jQuery(".ui-pnotify").hide(2000,function(){jQuery(".ui-pnotify").remove()});},h);jQuery(".click-2-close").click(function(){jQuery(".ui-pnotify").hide(1000,function(){jQuery(".ui-pnotify").remove()});});}
	jQuery('#sselect').change(function(){$ne=jQuery(this).find(':selected').data('ne');$islem=jQuery(this).find(':selected').data('islem');$('#fq').attr('action',"?islem="+$islem+"&ne="+$ne+"");$("#q").prop('disabled',false);});
	jQuery(document).ready(function(){jQuery('tr[rel="itooltip"]').tooltip({animated:'fade',html:true});if(document.getElementById("srte")!=undefined){jQuery('#srte').summernote();}});
	function startDictation(ID){if(window.hasOwnProperty('webkitSpeechRecognition')){var r=new webkitSpeechRecognition();r.continuous=false;r.interimResults=false;r.lang="tr-TR";r.start();r.onresult=function(e){document.getElementById(ID).value=e.results[0][0].transcript;r.stop();if(ID=="q"){document.getElementById('fq').submit();}};r.onerror=function(e){r.stop();}}}
	if('serviceWorker' in navigator && 'Notification' in window){navigator.serviceWorker.register('/crmplus/service-worker.js').then(r=>console.log('Service Worker yüklendi[f]')).catch(e=>console.error('Service Worker yükleme hatası[f]:',e));Notification.requestPermission().then(p=>{if(p==='granted'){console.log('Bildirim izni verildi[f]');}else{console.log('Bildirim izni reddedildi[f]');}});navigator.serviceWorker.ready.then(r=>{if(r.active){r.active.postMessage({action:'checkNotifications'});}});}
</script> 
<!--[if lt IE 8]></div><![endif]--> 
<!--[if lt IE 9]></div><![endif]-->
<?php ob_end_flush();?>
</section>
<!-- Vendor -->
<script src="//cdn.<?php echo $cdnurl?>/js/jquery-latest.js" type="text/javascript"></script>
<script id="rendered-js">
jQuery('.count').each(function () {
	jQuery(this).prop('Counter', 0).animate({
		Counter: jQuery(this).text() }, { duration: 4000, easing: 'swing', step: function (now) { jQuery(this).text(Math.ceil(now)); }
	});
});
</script>
<!-- Ajax_Table -->
<script src="assets/vendor/datatables/media/js/jquery.dataTables.min.js"></script>	
<script src="assets/vendor/datatables/media/js/dataTables.bootstrap4.min.js"></script>
<script src="assets/js/examples/examples.datatables.ajax.js"></script>
<!-- Ajax_Table -->
<?php if($mapi=="Google"){?>
<script type="text/javascript" src="//cdn.<?php echo $cdnurl?>/tools/js/jquery.geocomplete.js"></script>
<script>
jQuery(function(){
	if (!jQuery('.loc')[0]){
		jQuery(".loc").geocomplete({ details: ".loc[0]", detailsAttribute: "geo-data", types: ["geocode", "establishment"], });
	}
	if (!jQuery('.loc')[1]){
		jQuery(".loc").geocomplete({ details: ".loc[1]", detailsAttribute: "geo-data", types: ["geocode", "establishment"], });
	}
	if (!jQuery('.loc')[2]){
		jQuery(".loc").geocomplete({ details: ".loc[2]", detailsAttribute: "geo-data", types: ["geocode", "establishment"], });
	}
});
jQuery(function() {
	jQuery("img.lazyload").lazyload({effect : "fadeIn",effectspeed: 500,skip_invisible : false});
});
</script>
<?php }?>
<!-- xls_export -->
<script src="//cdn.<?php echo $cdnurl?>/js/jquery.table2excel.js"></script>
<script>
jQuery(function() {
	jQuery(".exls").click(function(){
		jQuery(".table2excel").table2excel({
			exclude: ".noExl",
			name: "<?php echo $_GET["islem"]?>.xls"
		}); 
	});
});
</script>
<!-- xls_export -->
<script src="//cdn.<?php echo $cdnurl?>/tools/js/lazyload.js"></script>
<script src="assets/js/examples/examples.loading.overlay.js"></script>
<script src="assets/vendor/jquery-browser-mobile/jquery.browser.mobile.js"></script>
<script src="assets/vendor/jquery-cookie/jquery-cookie.js"></script>
<script src="assets/vendor/popper/umd/popper.min.js"></script>
<script src="assets/vendor/bootstrap/js/bootstrap.js"></script>
<script src="assets/vendor/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<script src="assets/vendor/common/common.js"></script>
<script src="assets/vendor/nanoscroller/nanoscroller.js"></script>
<script src="assets/vendor/magnific-popup/jquery.magnific-popup.js"></script>
<script src="assets/vendor/jquery-appear/jquery-appear.js"></script>
<script src="assets/vendor/jquery.easy-pie-chart/jquery.easy-pie-chart.js"></script>
<script src="assets/vendor/flot/jquery.flot.js"></script>
<script src="assets/vendor/flot.tooltip/flot.tooltip.js"></script>
<script src="assets/vendor/flot/jquery.flot.pie.js"></script>
<script src="assets/vendor/flot/jquery.flot.categories.js"></script>
<script src="assets/vendor/flot/jquery.flot.resize.js"></script>
<script src="assets/vendor/jquery-sparkline/jquery-sparkline.js"></script>
<script src="assets/vendor/raphael/raphael.js"></script>
<script src="assets/vendor/morris/morris.js"></script>	
<script src="assets/vendor/gauge/gauge.js"></script>
<script src="assets/vendor/snap.svg/snap.svg.js"></script>
<script src="assets/vendor/liquid-meter/liquid.meter.js"></script>
<script src="assets/vendor/jquery-ui/jquery-ui.js"></script>
<script src="assets/vendor/jqueryui-touch-punch/jqueryui-touch-punch.js"></script>
<script src="assets/vendor/select2/js/select2.js"></script>
<script src="assets/vendor/bootstrap-multiselect/bootstrap-multiselect.js"></script>
<script src="assets/vendor/jquery-maskedinput/jquery.maskedinput.js"></script>
<script src="//cdn.<?php echo $cdnurl?>/tools/js/jquery.tagsinput.min.js"></script>
<script src="assets/vendor/bootstrap-colorpicker/js/bootstrap-colorpicker.js"></script>
<script src="assets/vendor/bootstrap-timepicker/bootstrap-timepicker.js"></script>
<script src="assets/vendor/dropzone/dropzone.js"></script>
<script src="assets/vendor/bootstrap-markdown/js/markdown.js"></script>
<script src="assets/vendor/bootstrap-markdown/js/to-markdown.js"></script>
<script src="assets/vendor/bootstrap-markdown/js/bootstrap-markdown.js"></script>
<script src="assets/vendor/summernote/summernote-bs4.js"></script>
<script src="assets/vendor/bootstrap-maxlength/bootstrap-maxlength.js"></script>
<script src="assets/vendor/ios7-switch/ios7-switch.js"></script>
<script src="assets/vendor/owl.carousel/owl.carousel.js"></script>
<script src="assets/js/theme.js"></script>
<script src="assets/js/custom.js"></script>
<script src="assets/js/theme.init.js"></script>
<script src="assets/js/examples/examples.advanced.form.js"></script>
<script src="assets/js/examples/examples.dashboard.js"></script>
<script src="assets/js/examples/examples.modals.js"></script>
<script src="assets/vendor/pnotify/pnotify.custom.js"></script>
<script src="assets/js/examples/examples.charts.js"></script>
<script src="assets/js/examples/examples.notifications.js"></script>
<?php include("modules/public/tour.php");?>
</footer>
<?php csql();?>
</body>
</html>