Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4907 | Rev 5750 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
3298 efrain 1
<?php
4904 stevensc 2
 
5749 anderson 3
use Laminas\Escaper\Escaper;
4
use LeadersLinked\Model\UserType;
3298 efrain 5
use LeadersLinked\Library\Functions;
6
 
5749 anderson 7
$input = '<script>alert("laminas")</script>';
8
$escaper = new Escaper('utf-8');
9
 
3298 efrain 10
$notify = '';
11
$messages = $this->flashMessenger()->getInfoMessages();
12
foreach ($messages as $message) {
13
  $notify .= "$.fn.showInfo('$message')";
14
}
15
 
16
$messages = $this->flashMessenger()->getSuccessMessages();
17
foreach ($messages as $message) {
18
  $notify .= "$.fn.showSuccess('$message')";
19
}
20
 
21
$messages = $this->flashMessenger()->getWarningMessages();
22
foreach ($messages as $message) {
23
  $notify .= " $.fn.showWarning('$message')";
24
}
25
 
26
$messages = $this->flashMessenger()->getErrorMessages();
27
foreach ($messages as $message) {
28
  $notify .= " $.fn.showError('$message')";
29
}
30
 
31
if ($notify) {
32
  $this->inlineScript()->captureStart();
33
  echo " jQuery( document ).ready(function( $ ) { $notify }); ";
34
  $this->inlineScript()->captureEnd();
35
}
36
 
37
 
38
$acl = $this->viewModel()->getRoot()->getVariable('acl');
39
 
40
?>
5749 anderson 41
<?php header('Content-Type: text/html; charset=UTF-8'); ?>
3298 efrain 42
 
43
<!DOCTYPE html>
44
<html>
45
 
46
<head>
4896 stevensc 47
  <?php
48
  echo $this->headTitle();
49
  ?>
50
  <link rel="icon" href="<?php echo $this->networkFavicoHelper(); ?>">
51
  <?php
3298 efrain 52
  echo $this->headMeta()->appendHttpEquiv('X-UA-Compatible', 'IE=edge')
53
    ->appendHttpEquiv('expires', '0')
54
    ->appendHttpEquiv('expires', 'Tue, 01 Jan 1980 1:00:00 GMT')
55
    ->appendHttpEquiv('pragma', 'no-cache')
56
    ->appendHttpEquiv('Cache-Control', 'no-store')
57
    ->appendHttpEquiv('Cache-Control', 'max-age=0')
58
    ->appendHttpEquiv('Cache-Control', 'no-cache')
59
    ->appendHttpEquiv('charset', 'UTF-8')
60
    ->appendName('viewport', 'width=device-width, initial-scale=1.0');
61
  //->appendName('description', '')
62
  //->appendName('author', '{AUTHOR}')
63
  //->appendName('keywords', '{KEYWORDS}')
64
  //->appendName('copyright', '{COPYRIGHT}')
65
  //->appendName('google-signin-client_id', '{GOOGLE_CLIENT_ID');
66
  ?>
5749 anderson 67
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
3298 efrain 68
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/animate.css') ?>">
69
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/bootstrap.min.css') ?>">
70
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/line-awesome.css') ?>">
71
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/line-awesome-font-awesome.min.css') ?>">
72
 
73
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/fontawesome-free/css/all.min.css') ?>">
74
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/font-awesome/css/font-awesome.min.css') ?>">
75
  <!--
76
 
77
    	<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/font-awesome.min.css') ?>">
78
    	<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/font-awesome/font-awesome.min.css') ?>">
79
    	-->
80
 
81
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('lib/slick/slick.css') ?>">
82
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('lib/slick/slick-theme.css') ?>">
83
 
84
 
85
 
86
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/style.css') ?>" />
87
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/responsive.css') ?>" />
88
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/responsive-cesa.css') ?>" />
3437 stevensc 89
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('react-bundles/public-navbar/main.css') ?>" />
3298 efrain 90
 
91
 
92
 
93
 
94
  <?php
95
  echo $this->headStyle();
3639 efrain 96
  echo $this->networkStylesAndColorsHelper();
3298 efrain 97
  echo $this->headLink();
98
  echo $this->headScript();
3435 stevensc 99
  $this->inlineScript()->appendFile('/react-bundles/public-navbar/publicNavBarViewBundle.js');
3298 efrain 100
  ?>
101
 
102
</head>
103
 
104
<body>
5749 anderson 105
  <?php
106
  echo $escaper->escapeHtml($input);
107
  ?>
3436 stevensc 108
  <div id="public-header">
109
  </div>
4896 stevensc 110
 
3438 stevensc 111
  <?php echo $this->content ?>
4896 stevensc 112
 
3435 stevensc 113
  <footer>
4907 stevensc 114
    <div class="footy-sec mn container">
4904 stevensc 115
 
116
      <img class="fl-rgt" src="<?php echo $this->basePath('/images/LL-08.png') ?>" alt="">
4907 stevensc 117
 
4904 stevensc 118
      <?php echo $this->footerHelper() ?>
119
 
120
      <div class="d-flex align-items-center">
121
        <img src="<?php echo $this->basePath('images/copy-icon2.png') ?>" alt="">
122
        <p>CESA MS Copyright <?php echo date('Y') ?></p>
3431 stevensc 123
      </div>
4904 stevensc 124
 
3435 stevensc 125
    </div>
126
  </footer>
3298 efrain 127
 
4896 stevensc 128
  <!-- jQuery -->
129
  <script type="text/javascript" src="<?php echo $this->basePath('vendors/jquery/jquery.min.js') ?>"></script>
130
  <!-- Bootstrap 4 -->
131
  <script type="text/javascript" src="<?php echo $this->basePath('vendors/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
132
  <!--  Aplicacion -->
133
  <script type="text/javascript" src="<?php echo $this->basePath('vendors/bootstrap-notify/bootstrap-notify.min.js') ?>"></script>
134
 
135
  <script type="text/javascript" src="<?php echo $this->basePath('js/app.js') ?>"></script>
136
 
137
  <?php echo $this->inlineScript(); ?>
3298 efrain 138
</body>
139
 
140
</html>