-
Notifications
You must be signed in to change notification settings - Fork 0
/
news.php
executable file
·88 lines (72 loc) · 3.14 KB
/
news.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?php
// Load the accepted language
include('includes/lang-loader.php');
$selectedLang = parseAskedLang();
include(getLangFile($selectedLang));
?>
<!DOCTYPE html>
<html lang=<?php echo $selectedLang ?>>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-144927724-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-144927724-1');
</script>
<title><?php echo $lang['news-title']; ?></title>
<!-- Meta description for SEO -->
<meta name="description" content="<?php echo $lang['news-metaDescription']; ?>" />
<!-- Canonical link to reference the master copy of the URL to SEO -->
<link rel="canonical" href="http://vhmavi.edu.np/news.php" />
<!-- Common head include -->
<?php include('includes/head.php'); ?>
<!-- Accordion stylesheet -->
<link rel="stylesheet" href="components/vhmavi-accordion/vhmavi-accordion.css" />
<!-- Form stylesheet -->
<link rel="stylesheet" href="components/vhmavi-form/vhmavi-form.css" />
<!--
reCAPTCHA V2 script loading for form protection
It has to be placed in the head tag as it is loaded asynchronously and defered (async defer)
-->
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<body>
<!-- Header include -->
<?php include('components/vhmavi-header/vhmavi-header.php'); ?>
<!-- Newsletters -->
<div class="container vhmavi-container">
<div class="row justify-content-center">
<div class="col-12 col-lg-9">
<h1><?php echo $lang['news-paragraph1Header']; ?></h1>
<p><?php echo $lang['news-paragraph1Text1']; ?></p>
</div>
</div>
<div class="row justify-content-center">
<div class="col-12 col-lg-7">
<!-- Newsletter subscription form include -->
<?php include('components/news/news-newsletter-form/news-newsletter-form.php'); ?>
</div>
</div>
<div class="row justify-content-center">
<div class="col-12 col-lg-7">
<!-- Newsletter accordion list include -->
<?php include('components/news/news-newsletter-list/news-newsletter-list.php'); ?>
</div>
</div>
</div>
<!-- Footer include -->
<?php include('components/vhmavi-footer/vhmavi-footer.php'); ?>
<!-- Bootstrap and JQuery script loader include -->
<?php include('includes/script-loader.php'); ?>
<!--
Newsletter subscription form script loading
We use type module because the script acts as a module
It loads other JS files using import
-->
<script src="components/news/news-newsletter-form/news-newsletter-form.js" type="module"></script>
<!-- Accordion script loading -->
<script src="components/vhmavi-accordion/vhmavi-accordion.js"></script>
</body>
</html>