Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 2
Línea 1... Línea 1...
1
<?php
1
<?php 
Línea 2... Línea 2...
2
 
2
 
3
declare(strict_types=1);
-
 
4
 
-
 
5
use Laminas\Mvc\Application;
3
$sandbox=1;
6
use Laminas\Stdlib\ArrayUtils;
-
 
7
 
-
 
8
//define('DIR_URL', dirname(__DIR__));
4
if($sandbox) {
9
//define('SITE_URL',  'http://'  . $_SERVER['SERVER_NAME'] . '/');
-
 
10
//date_default_timezone_set('Etc/GMT+6');
5
    $google_map_api_key = 'AIzaSyDqfGXxql_vcpCJZ_5C8X4ARoPzv_kQepk';
11
 
-
 
12
ini_set('display_errors', '1');
6
    
13
ini_set('display_startup_errors', '1');
-
 
14
ini_set('log_errors', '1');
-
 
15
error_reporting(E_ALL);
-
 
16
 
-
 
17
 
-
 
18
/**
7
    $google_captcha_site_key = '6Lf4W1gUAAAAAE7gdIH5Xv4vJu7VuO6SxArAmdjZ';
19
 * This makes our life easier when dealing with paths. Everything is relative
-
 
20
 * to the application root now.
8
    $google_captcha_secret_key = '6Lf4W1gUAAAAAIz_VFO0768UyKcG9inVD1TIUatR';
21
 */
9
} else {
22
chdir(dirname(__DIR__));
10
    $google_map_api_key = 'AIzaSyDqfGXxql_vcpCJZ_5C8X4ARoPzv_kQepk';
23
 
-
 
24
// Decline static file requests back to the PHP built-in webserver
-
 
25
if (php_sapi_name() === 'cli-server') {
11
    
26
    $path = realpath(__DIR__ . parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
12
    $google_captcha_site_key = '6Lenx8QZAAAAAAJh-kTLNktsi3mJ47svNmQkoIIv';
27
    if (is_string($path) && __FILE__ !== $path && is_file($path)) {
-
 
28
        return false;
-
 
29
    }
-
 
30
    unset($path);
13
    $google_captcha_secret_key = '6Lenx8QZAAAAAO44E3iN3jAkVvQ84lRmXvaDWdSY';
Línea 31... Línea -...
31
}
-
 
32
 
-
 
Línea 33... Línea -...
33
// Composer autoloading
-
 
34
include __DIR__ . '/../vendor/autoload.php';
-
 
35
 
-
 
36
if (! class_exists(Application::class)) {
-
 
37
    throw new RuntimeException(
-
 
38
        "Unable to load application.\n"
-
 
39
        . "- Type `composer install` if you are developing locally.\n"
-
 
40
        . "- Type `vagrant ssh -c 'composer install'` if you are using Vagrant.\n"
14
}
Línea -... Línea 15...
-
 
15
 
-
 
16
 
-
 
17
?>
-
 
18
 
41
        . "- Type `docker-compose run lamians composer install` if you are using Docker.\n"
19
<!DOCTYPE html>
-
 
20
	<html>
-
 
21
 
-
 
22
	<head>
-
 
23
    	<title></title>	
-
 
24
    	<link rel="icon" href="/storage-network/type/favico">
-
 
25
        <meta http-equiv="X-UA-Compatible" content="IE&#x3D;edge">
-
 
26
        <meta http-equiv="expires" content="0">
-
 
27
        <meta http-equiv="expires" content="Tue,&#x20;01&#x20;Jan&#x20;1980&#x20;1&#x3A;00&#x3A;00&#x20;GMT">
-
 
28
        <meta http-equiv="pragma" content="no-cache">
-
 
29
        <meta http-equiv="Cache-Control" content="no-store">
-
 
30
        <meta http-equiv="Cache-Control" content="max-age&#x3D;0">
-
 
31
        <meta http-equiv="Cache-Control" content="no-cache">
-
 
32
        <meta http-equiv="charset" content="UTF-8">
-
 
33
        <meta name="viewport" content="width&#x3D;device-width,&#x20;initial-scale&#x3D;1.0">	
-
 
34
        <link rel="stylesheet" type="text/css" href="/css/animate.css">
-
 
35
    	<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
-
 
36
    	<link rel="stylesheet" type="text/css" href="/css/line-awesome.css">
-
 
37
    	<link rel="stylesheet" type="text/css" href="/css/line-awesome-font-awesome.min.css">
-
 
38
    	<link rel="stylesheet" type="text/css" href="/vendors/fontawesome-free/css/all.min.css">
-
 
39
    	<link rel="stylesheet" type="text/css" href="/css/font-awesome.min.css">
-
 
40
    	<link rel="stylesheet" type="text/css" href="/lib/slick/slick.css">
-
 
41
    	<link rel="stylesheet" type="text/css" href="/lib/slick/slick-theme.css">
-
 
42
    	<link rel="stylesheet" type="text/css" href="/look-and-field/main.css" />
-
 
43
    	<link rel="stylesheet" type="text/css" href="/look-and-field/style-cesa.css" />
-
 
44
    
-
 
45
    	<link rel="stylesheet" type="text/css" href="/vendors/nprogress/nprogress.css">
-
 
46
    
-
 
47
    	<style>
-
 
48
        :root {
-
 
49
            --bg-color: #fff;
-
 
50
            --body-bg-color: #f2f2f2;
-
 
51
            --bg-color-secondary: #D9D9D9;
-
 
52
            --font-color: #1d315c;
-
 
53
            --font-color-hover: #1d315c;
-
 
54
            --title-color: #000;
-
 
55
            --subtitle-color: #626d7a;
-
 
56
            --icons-color: #666666;
-
 
57
            --button-bg: #16283c;
-
 
58
            --button-bg-hover: #1d315c;
-
 
59
            --button-text-color: #fff;
-
 
60
            --button-bg-secondary: #16283c;
-
 
61
            --button-bg-secondary-hover: #1d315c;
-
 
62
            --button-text-color-secondary: #fff;
-
 
63
            --button-bg-tertiary: #b3b3b3;
-
 
64
            --button-text-color-tertiary: #fff;
-
 
65
            --border-primary: #e8e8e8;
-
 
66
            --border-trasnparent: #0000;
-
 
67
            --chat-received: #fff;
-
 
68
            --chat-send: #d8f1e4;
-
 
69
            --chat-color: #626d7a;
-
 
70
            --light-gray: #bebebe;
-
 
71
            --gray: #909090;
-
 
72
            --danger: #e20808;
-
 
73
            --danger-hover: #a10707;
-
 
74
            --online-green: #42b72a;
-
 
75
            --border-gray-primary: #b3b3b3;
-
 
76
            --white: #ffffff;
-
 
77
            --white-backdrop: rgba(255, 255, 255, 0.4);
-
 
78
            --border-radius: 10px;
-
 
79
            --light-shadow: 0px 0px 11px 0px rgb(0 0 0 / 5%);
-
 
80
            --shadow: 0px 4px 14px _2px rgb(0 0 0 / 12%);
-
 
81
        }
-
 
82
        </sytle>
-
 
83
    
-
 
84
        <link rel="stylesheet" type="text/css" href="react-bundles/app/main.css" />
-
 
85
    </head>
42
    );
86
    <body>
-
 
87
 
-
 
88
        <div id="app">
-
 
89
            <div id="root">
-
 
90
                 <div class="process-comm" id="paginator-process-comm">
-
 
91
                     <div class="spinner">
-
 
92
                        <div class="bounce1"></div>
-
 
93
                        <div class="bounce2"></div>
-
 
94
                        <div class="bounce3"></div>
-
 
95
                    </div>
-
 
96
                </div>
-
 
97
  	         </div>
-
 
98
        </div>
-
 
99
 
-
 
100
 
43
}
101
        <footer>
-
 
102
            <div class="footy-sec mn container">
-
 
103
                <img class="fl-rgt" src="images/LL-08.png" alt="">
-
 
104
                <div class="d-flex align-items-center">
-
 
105
                    <img src="images/copy-icon2.png" alt="">
-
 
106
                    <p>CESA MS Copyright 2023</p>
-
 
107
                </div>
-
 
108
            </div>
-
 
109
        </footer>
-
 
110
 
-
 
111
 
44
 
112
        <script type="text/javascript" src="vendors/smiley/smiley.js"></script>
-
 
113
        <script type="text/javascript" src="vendors/smiley/js/emojione.min.js"></script>
-
 
114
        <script type="text/javascript" src="vendors/jquery/jquery.min.js"></script>
-
 
115
 
45
// Retrieve configuration
116
        <script type="text/javascript" src="vendors/bootstrap/js/bootstrap.bundle.min.js"></script>
-
 
117
        <script type="text/javascript" src="vendors/bootstrap-notify/bootstrap-notify.min.js"></script>
-
 
118
        <script type="text/javascript" src="js/app.js"></script>
-
 
119
 
-
 
120
 
Línea 46... Línea 121...
46
$appConfig = require __DIR__ . '/../config/application.config.php';
121
        <script type="text/javascript" src="react-bundles/app/applicationBundle.js"></script>
47
if (file_exists(__DIR__ . '/../config/development.config.php')) {
-
 
48
    $appConfig = ArrayUtils::merge($appConfig, require __DIR__ . '/../config/development.config.php');
122
        <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=<?php echo $google_map_api_key?>&libraries=places"></script>