77fcb58bd22e8cc0874d47f85817d91d0d3ffa4d.php
2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php $__env->startSection('main_menu'); ?>
<?php echo $__env->make('layout.main_menu', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('top_menu'); ?>
<?php echo $__env->make('layout.top_menu', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('main_content'); ?>
<script>
$(document).ready(function(){
if(document.location.hash=="")doAjax("dashboard?tz="+(new Date()).getTimezoneOffset()+'&d=<?php echo Input::get("d"); ?>','','content','ajax_dashboard','singlethis','GET',function(){try{}catch(e){}});
else kstychHashFunction();
<?php if(Config::get("app.extAuth")!=""){ ?>doAjax("dashboard/r",'','','ajax_dashboard_r','singlethis','GET');<?php } ?>
if ($.browser.msie)document.location="msie";
if (typeof kDesktopNotification === 'function')kDesktopNotification("","","",10);
incomingPresense("","","");
});
if (navigator.userAgent.match(/(iPad|iPhone|iPod touch);.*CPU.*OS/i))
{
$("#menu-top").css({'padding-top':'20px','height':'60px'});
$("#content").css({'margin-top':'60px'});
}
document.addEventListener('deviceready', function() {
$(document).on('click', 'a[target="_system"],a[target="_blank"]', function (e) {
e.preventDefault();
var url = this.href;
if(navigator.app)navigator.app.loadUrl(url, { openExternal:true });
else if(innappbrowser)cordova.exec(function(){}, function(){}, "InAppBrowser", "open", [url, "_system", null]);
else window.open(url,"_system");
//$("#welcome_wizard_body").html("<iframe style='width:100%;min-height:400px;height:100%' src='"+url+"'></iframe>");
//$("#welcome_wizard").modal('show');
});
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layout.layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>