Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 5750 | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |

<?php

use Laminas\Escaper\Escaper;
use LeadersLinked\Model\UserType;
use LeadersLinked\Library\Functions;

$input = '';
$escaper = new Escaper('utf-8');

$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();
}


$acl = $this->viewModel()->getRoot()->getVariable('acl');

header('Content-Type: text/html; charset=UTF-8');

?>

<!DOCTYPE html>
<html>

<head>
  <?php
  echo $this->headTitle();
  ?>
  <link rel="icon" href="<?php echo $this->networkFavicoHelper(); ?>">
  <?php
  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 http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <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/style.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('react-bundles/public-navbar/main.css') ?>" />




  <?php
  echo $this->headStyle();
  echo $this->networkStylesAndColorsHelper();
  echo $this->headLink();
  echo $this->headScript();
  $this->inlineScript()->appendFile('/react-bundles/public-navbar/publicNavBarViewBundle.js');
  ?>

</head>

<body>
  <?php
  echo $escaper->escapeHtml($input);
  ?>
  <div id="public-header">
  </div>

  <?php echo $this->content ?>

  <footer>
    <div class="footy-sec mn container">

      <img class="fl-rgt" src="<?php echo $this->basePath('/images/LL-08.png') ?>" alt="">

      <?php echo $this->footerHelper() ?>

      <div class="d-flex align-items-center">
        <img src="<?php echo $this->basePath('images/copy-icon2.png') ?>" alt="">
        <p>CESA MS Copyright <?php echo date('Y') ?></p>
      </div>

    </div>
  </footer>

  <!-- jQuery -->
  <script type="text/javascript" src="<?php echo $this->basePath('vendors/jquery/jquery.min.js') ?>"></script>
  <!-- Bootstrap 4 -->
  <script type="text/javascript" src="<?php echo $this->basePath('vendors/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
  <!--  Aplicacion -->
  <script type="text/javascript" src="<?php echo $this->basePath('vendors/bootstrap-notify/bootstrap-notify.min.js') ?>"></script>

  <script type="text/javascript" src="<?php echo $this->basePath('js/app.js') ?>"></script>

  <?php echo $this->inlineScript(); ?>
</body>

</html>