Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 5750 | | 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
 
5805 anderson 7
$input = '';
5749 anderson 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
 
5750 anderson 40
header('Content-Type: text/html; charset=UTF-8');
41
 
3298 efrain 42
?>
43
 
44
<!DOCTYPE html>
45
<html>
46
 
47
<head>
4896 stevensc 48
  <?php
49
  echo $this->headTitle();
50
  ?>
51
  <link rel="icon" href="<?php echo $this->networkFavicoHelper(); ?>">
52
  <?php
3298 efrain 53
  echo $this->headMeta()->appendHttpEquiv('X-UA-Compatible', 'IE=edge')
54
    ->appendHttpEquiv('expires', '0')
55
    ->appendHttpEquiv('expires', 'Tue, 01 Jan 1980 1:00:00 GMT')
56
    ->appendHttpEquiv('pragma', 'no-cache')
57
    ->appendHttpEquiv('Cache-Control', 'no-store')
58
    ->appendHttpEquiv('Cache-Control', 'max-age=0')
59
    ->appendHttpEquiv('Cache-Control', 'no-cache')
60
    ->appendHttpEquiv('charset', 'UTF-8')
61
    ->appendName('viewport', 'width=device-width, initial-scale=1.0');
62
  //->appendName('description', '')
63
  //->appendName('author', '{AUTHOR}')
64
  //->appendName('keywords', '{KEYWORDS}')
65
  //->appendName('copyright', '{COPYRIGHT}')
66
  //->appendName('google-signin-client_id', '{GOOGLE_CLIENT_ID');
67
  ?>
5749 anderson 68
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
3298 efrain 69
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/animate.css') ?>">
70
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/bootstrap.min.css') ?>">
71
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/line-awesome.css') ?>">
72
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/line-awesome-font-awesome.min.css') ?>">
73
 
74
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/fontawesome-free/css/all.min.css') ?>">
75
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/font-awesome/css/font-awesome.min.css') ?>">
76
  <!--
77
 
78
    	<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/font-awesome.min.css') ?>">
79
    	<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/font-awesome/font-awesome.min.css') ?>">
80
    	-->
81
 
82
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('lib/slick/slick.css') ?>">
83
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('lib/slick/slick-theme.css') ?>">
84
 
85
 
86
 
87
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/style.css') ?>" />
88
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/responsive.css') ?>" />
89
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/responsive-cesa.css') ?>" />
3437 stevensc 90
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('react-bundles/public-navbar/main.css') ?>" />
3298 efrain 91
 
92
 
93
 
94
 
95
  <?php
96
  echo $this->headStyle();
3639 efrain 97
  echo $this->networkStylesAndColorsHelper();
3298 efrain 98
  echo $this->headLink();
99
  echo $this->headScript();
3435 stevensc 100
  $this->inlineScript()->appendFile('/react-bundles/public-navbar/publicNavBarViewBundle.js');
3298 efrain 101
  ?>
102
 
103
</head>
104
 
105
<body>
5749 anderson 106
  <?php
107
  echo $escaper->escapeHtml($input);
108
  ?>
3436 stevensc 109
  <div id="public-header">
110
  </div>
4896 stevensc 111
 
3438 stevensc 112
  <?php echo $this->content ?>
4896 stevensc 113
 
3435 stevensc 114
  <footer>
4907 stevensc 115
    <div class="footy-sec mn container">
4904 stevensc 116
 
117
      <img class="fl-rgt" src="<?php echo $this->basePath('/images/LL-08.png') ?>" alt="">
4907 stevensc 118
 
4904 stevensc 119
      <?php echo $this->footerHelper() ?>
120
 
121
      <div class="d-flex align-items-center">
122
        <img src="<?php echo $this->basePath('images/copy-icon2.png') ?>" alt="">
123
        <p>CESA MS Copyright <?php echo date('Y') ?></p>
3431 stevensc 124
      </div>
4904 stevensc 125
 
3435 stevensc 126
    </div>
127
  </footer>
3298 efrain 128
 
4896 stevensc 129
  <!-- jQuery -->
130
  <script type="text/javascript" src="<?php echo $this->basePath('vendors/jquery/jquery.min.js') ?>"></script>
131
  <!-- Bootstrap 4 -->
132
  <script type="text/javascript" src="<?php echo $this->basePath('vendors/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
133
  <!--  Aplicacion -->
134
  <script type="text/javascript" src="<?php echo $this->basePath('vendors/bootstrap-notify/bootstrap-notify.min.js') ?>"></script>
135
 
136
  <script type="text/javascript" src="<?php echo $this->basePath('js/app.js') ?>"></script>
137
 
138
  <?php echo $this->inlineScript(); ?>
3298 efrain 139
</body>
140
 
141
</html>