-
Notifications
You must be signed in to change notification settings - Fork 14
/
index.php
53 lines (45 loc) · 1.81 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php defined('BASEPATH') OR exit('No direct script access allowed') ?>
<?php defined('THEME_PATH') or define('THEME_PATH', 'themes/barka/') ?>
<?php defined('THEME_VERSION') or define('THEME_VERSION', 'v1.5.1') ?>
<!DOCTYPE html>
<html lang="id">
<head>
<?php $this->load->view(THEME_PATH . 'components/meta') ?>
<?php $this->load->view(THEME_PATH . 'components/source_css') ?>
<script type="text/javascript">
const _BASE_URL = '<?= base_url() ?>';
const _CURRENT_URL = '<?=current_url() ?>';
const _SCHOOL_LEVEL = '<?= __session('school_level') ?>';
const _ACADEMIC_YEAR = '<?= __session('_academic_year') ?>';
const _STUDENT = '<?= __session('_student') ?>';
const _IDENTITY_NUMBER = '<?= __session('_identity_number') ?>';
const _EMPLOYEE = '<?= __session('_employee') ?>';
const _HEADMASTER = '<?= __session('_headmaster') ?>';
const _MAJOR = '<?= __session('_major') ?>';
const _SUBJECT = '<?= __session('_subject') ?>';
const _RECAPTCHA_STATUS = '<?=(NULL !== __session('recaptcha_status') && __session('recaptcha_status') == 'enable') ? 'true': 'false' ?>'=='true';
</script>
<?php $this->load->view(THEME_PATH . 'components/source_js') ?>
<noscript>You need to enable javaScript to run this app.</noscript>
</head>
<body class="flex flex-col min-h-screen">
<div class="secondary-color preloader">
<div class="preloader-inner">
<div class="preloader-icon">
<span></span>
<span></span>
</div>
</div>
</div>
<?php $this->load->view(THEME_PATH . 'components/header') ?>
<?php $this->load->view($content) ?>
<!-- COPYRIGHT - DO NOT MODIFY!-->
<?php $this->load->view(THEME_PATH . 'components/footer') ?>
<!-- END COPYRIGHT -->
<script>
$(window).on('load', function() {
$('.preloader').fadeOut(1000);
});
</script>
</body>
</html>