Rev 3607 | Rev 3712 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
<?phpuse LeadersLinked\Library\Functions;use LeadersLinked\Model\UserType;$notify = '';$messages = $this->flashMessenger()->getInfoMessages();foreach ($messages as $message) {$notify .= "$.fn.showInfo('$message')";}$messages = $this->flashMessenger()->getSuccessMessages();foreach ($messages as $message) {$notify .= "$.fn.showSuccess('$message')";}$messages = $this->flashMessenger()->getWarningMessages();foreach ($messages as $message) {$notify .= " $.fn.showWarning('$message')";}$messages = $this->flashMessenger()->getErrorMessages();foreach ($messages as $message) {$notify .= " $.fn.showError('$message')";}if ($notify) {$this->inlineScript()->captureStart();echo " jQuery( document ).ready(function( $ ) { $notify }); ";$this->inlineScript()->captureEnd();}$routeCheckSession = $this->url('check-session');$currentUser = $this->currentUserHelper();// if ($currentUser->hasIdentity()) {// $this->inlineScript()->captureStart();// echo <<<EOT// jQuery( document ).ready(function( $ ) {// $.fn.checkSession = function() {// $.ajax({// 'dataType' : 'json',// 'accept' : 'application/json',// 'method' : 'get',// 'url' : '$routeCheckSession',// }).done(function(response) {// if(response['success']) {// if(parseInt(response['data']['total_messages']) > 0) {// $('#badge-inmail').html(response['data']['total_messages']);// $('#badge-inmail').show();// } else {// $('#badge-inmail').hide();// }// if(parseInt(response['data']['total_messages']) > 0) {// $('#badge-message').html(response['data']['total_messages']);// $('#badge-message').show();// } else {// $('#badge-message').hide();// }// if(parseInt(response['data']['total_notifications']) > 0) {// $('#badge-notification').html(response['data']['total_notifications']);// $('#badge-notification').show();// } else {// $('#badge-notification').hide();// }// } else {// if(response['data']['url']) {// window.location.href = response['data']['url'];// } else {// $.fn.showError(response['data']['message'])// }// }// }).fail(function( jqXHR, textStatus, errorThrown) {// }).always(function() {// setTimeout(function() {// $.fn.checkSession();// }, 3000);// })// }// setTimeout(function() {// $.fn.checkSession();// }, 3000);// });// EOT;// $this->inlineScript()->captureEnd();// }$acl = $this->viewModel()->getRoot()->getVariable('acl');?><!DOCTYPE html><html><head><?phpecho $this->headTitle();echo $this->headMeta()->appendHttpEquiv('X-UA-Compatible', 'IE=edge')->appendHttpEquiv('expires', '0')->appendHttpEquiv('expires', 'Tue, 01 Jan 1980 1:00:00 GMT')->appendHttpEquiv('pragma', 'no-cache')->appendHttpEquiv('Cache-Control', 'no-store')->appendHttpEquiv('Cache-Control', 'max-age=0')->appendHttpEquiv('Cache-Control', 'no-cache')->appendHttpEquiv('charset', 'UTF-8')->appendName('viewport', 'width=device-width, initial-scale=1.0');//->appendName('description', '')//->appendName('author', '{AUTHOR}')//->appendName('keywords', '{KEYWORDS}')//->appendName('copyright', '{COPYRIGHT}')//->appendName('google-signin-client_id', '{GOOGLE_CLIENT_ID');?><meta id="share"><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/animate.css') ?>"><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/bootstrap.min.css') ?>"><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/line-awesome.css') ?>"><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/line-awesome-font-awesome.min.css') ?>"><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/fontawesome-free/css/all.min.css') ?>"><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/font-awesome/css/font-awesome.min.css') ?>"><!--<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/font-awesome.min.css') ?>"><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/font-awesome/font-awesome.min.css') ?>">--><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('lib/slick/slick.css') ?>"><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('lib/slick/slick-theme.css') ?>"><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/responsive.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/responsive-cesa.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/jquery.mCustomScrollbar.min.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/nprogress/nprogress.css') ?>"><?php if ($currentUser->hasIdentity()) : ?><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/icons.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/smiley/assets/sprites/emojione.sprites.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/uploader/jquery.ui.plupload/css/jquery-ui.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/uploader/jquery.ui.plupload/css/jquery.ui.plupload.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('look-and-field/chat.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('look-and-field/style-cesa.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('look-and-field/main.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('look-and-field/dashboard.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('look-and-field/navbar.css') ?>" /><style>:root {--bg-color: #fff;--body-bg-color: #f2f2f2;--bg-color-secondary: #D9D9D9;--font-color: #16283c;--font-color-hover: #1d315c;--title-color: #000;--subtitle-color: #626d7a;--icons-color: #666666;--button-bg: #16283c;--button-bg-hover: #1d315c;--button-text-color: #fff;--button-bg-secondary: #0000;--button-bg-secondary-hover: #909090;--button-text-color-secondary: #000;--button-bg-tertiary: #f4f4f4;--button-text-color-tertiary: #909090;--border-primary: #e8e8e8;--border-trasnparent: #0000;--chat-received: #fff;--chat-send: #d8f1e4;--chat-color: #626d7a;--dark-blue: #01245d;--primary-green: #1eb89e;--light-font: #bebebe;--light-gray: #bebebe;--dark-white: #e7e7e7;--gray: #909090;--primary-lightblue: #0961bf;--primary-lightblue-hover: #1e5591;--yellow-highlight: #ecec0e;--yellow-darker: #decd00;--background-gray: #f5f5f7;--danger: #e20808;--danger-hover: #a10707;--shadow-gray: rgb(0 0 0 / 5%);--online-green: #42b72a;--blue: #0860bf;--border-gray: #e8e8e8;--border-gray-primary: #b3b3b3;--white: #ffffff;--black: #000000;--dark-blue-pr: #16283c;--white-backdrop: rgba(255, 255, 255, 0.4);--grayline-border: 1px solid #e5e5e5;--border-radius: 10px;--light-shadow: 0px 0px 11px 0px rgb(0 0 0 /10%);--shadow: 0px 4px 14px -2px rgb(0 0 0 / 12%);}</style><?php endif; ?><?phpecho $this->headStyle();echo $this->headLink();echo $this->headScript();?></head><body><div class="wrapper"><?php echo $this->menuHelper($currentUser->getUserId()) ?><div id="app" style="min-height: 80vh"><?php echo $this->content ?></div><?php if ($currentUser->hasIdentity()) {$user = $currentUser->getUser();echo $this->chatHelper($user->id);}?><footer><div class="footy-sec mn"><div class="container position-relative"><?php echo $this->footerHelper() ?><p><img src="<?php echo $this->basePath('images/copy-icon2.png') ?>" alt="">Copyright <?php echo date('Y') ?></p><img class="fl-rgt" src="<?php echo $this->basePath('/images/logo-ll34x34.png') ?>" alt=""></div></div></footer></div><?php if ($currentUser->hasIdentity()) : ?><script type="text/javascript" src="<?php echo $this->basePath('vendors/smiley/smiley.js') ?>"></script><script type="text/javascript" src="<?php echo $this->basePath('vendors/smiley/js/emojione.min.js') ?>"></script><?php endif; ?><?phpecho $this->inlineScript();?></body></html>