Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3329 | Rev 3348 | 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
2
 
3
use LeadersLinked\Library\Functions;
4
use LeadersLinked\Model\UserType;
5
 
6
$notify = '';
7
$messages = $this->flashMessenger()->getInfoMessages();
8
foreach ($messages as $message) {
9
  $notify .= "$.fn.showInfo('$message')";
10
}
11
 
12
$messages = $this->flashMessenger()->getSuccessMessages();
13
foreach ($messages as $message) {
14
  $notify .= "$.fn.showSuccess('$message')";
15
}
16
 
17
$messages = $this->flashMessenger()->getWarningMessages();
18
foreach ($messages as $message) {
19
  $notify .= " $.fn.showWarning('$message')";
20
}
21
 
22
$messages = $this->flashMessenger()->getErrorMessages();
23
foreach ($messages as $message) {
24
  $notify .= " $.fn.showError('$message')";
25
}
26
 
27
if ($notify) {
28
  $this->inlineScript()->captureStart();
29
  echo " jQuery( document ).ready(function( $ ) { $notify }); ";
30
  $this->inlineScript()->captureEnd();
31
}
32
 
33
 
34
$acl = $this->viewModel()->getRoot()->getVariable('acl');
35
 
36
?>
37
 
38
<!DOCTYPE html>
39
<html>
40
 
41
<head>
42
  <?php
43
  echo $this->headTitle();
44
  echo $this->headMeta()->appendHttpEquiv('X-UA-Compatible', 'IE=edge')
45
    ->appendHttpEquiv('expires', '0')
46
    ->appendHttpEquiv('expires', 'Tue, 01 Jan 1980 1:00:00 GMT')
47
    ->appendHttpEquiv('pragma', 'no-cache')
48
    ->appendHttpEquiv('Cache-Control', 'no-store')
49
    ->appendHttpEquiv('Cache-Control', 'max-age=0')
50
    ->appendHttpEquiv('Cache-Control', 'no-cache')
51
    ->appendHttpEquiv('charset', 'UTF-8')
52
    ->appendName('viewport', 'width=device-width, initial-scale=1.0');
53
  //->appendName('description', '')
54
  //->appendName('author', '{AUTHOR}')
55
  //->appendName('keywords', '{KEYWORDS}')
56
  //->appendName('copyright', '{COPYRIGHT}')
57
  //->appendName('google-signin-client_id', '{GOOGLE_CLIENT_ID');
58
  ?>
59
 
60
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/animate.css') ?>">
61
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/bootstrap.min.css') ?>">
62
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/line-awesome.css') ?>">
63
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/line-awesome-font-awesome.min.css') ?>">
64
 
65
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/fontawesome-free/css/all.min.css') ?>">
66
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/font-awesome/css/font-awesome.min.css') ?>">
67
  <!--
68
 
69
    	<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/font-awesome.min.css') ?>">
70
    	<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/font-awesome/font-awesome.min.css') ?>">
71
    	-->
72
 
73
 
74
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('lib/slick/slick.css') ?>">
75
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('lib/slick/slick-theme.css') ?>">
76
 
77
 
78
 
79
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/style.css') ?>" />
80
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/responsive.css') ?>" />
81
  <link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/responsive-cesa.css') ?>" />
82
 
83
 
84
 
85
 
86
  <?php
87
  echo $this->headStyle();
88
  echo $this->headLink();
89
  echo $this->headScript();
90
  ?>
91
 
92
</head>
93
 
94
<body>
3347 efrain 95
<div id="fb-root"></div>
96
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v15.0&appId=343770226993130&autoLogAppEvents=1" nonce="ySrlqzfw"></script>
3298 efrain 97
 
98
      <?php echo $this->content ?>
99
 
100
 
101
  <?php
102
  echo $this->inlineScript();
103
  ?>
104
</body>
105
 
106
</html>