-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·238 lines (221 loc) · 9.47 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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
<!DOCTYPE html>
<html lang="en">
<?php require_once('./head.php'); ?>
<body>
<?php
require_once('./menu.php');
require_once('MysqliDb.php');
include('./slider/slider.php');
$db = new MysqliDb ();
?>
<div class="section">
<div class="row">
<div class="col s12 m4">
<div class="card">
<div class="blue-grey-text darken-2 card-title center-align">Weekly Mass Schedule</div>
<table class="bordered">
<tr>
<th>Sunday</th>
<th></th>
</tr>
<tr>
<td>06.30am</td>
<td>(Singhala - Mattumagala)</td>
</tr>
<tr>
<td>08.00am</td>
<td>(Singhala - Mattumagala)</td>
</tr>
<tr>
<td>05.00pm</td>
<td>(English - Mattumagala)</td>
</tr>
<tr>
<th>Tuesday</th>
<th></th>
</tr>
<tr>
<td>05.30pm</td>
<td>(Singhala - Mattumagala)</td>
</tr>
<tr>
<th>Wednesday</th>
<th></th>
</tr>
<tr>
<td>05.30pm</td>
<td>(Singhala - Mattumagala)</td>
</tr>
<tr>
<td>06.00pm</td>
<td>Divine Mercy Cheplet</td>
</tr>
<tr>
<th>Thursday</th>
<th></th>
</tr>
<tr>
<td>11.11am</td>
<td>(Singhala - Welisara)</td>
</tr>
<tr>
<td>05.45pm</td>
<td>(Singhala - Welisara)</td>
</tr>
<tr>
<td>08.30am-09.00pm</td>
<td>Exposition of the Blessed Sacrament</td>
</tr>
<tr>
<th>Friday</th>
<th></th>
</tr>
<tr>
<td>04.45pm-05.45pm</td>
<td>Holy Houre with Blessed Sacrament</td>
</tr>
<tr>
<td>06.00pm</td>
<td>(Singhala - Mattumagala)</td>
</tr>
<tr>
<th>Saturday</th>
<th></th>
</tr>
<tr>
<td>05.30pm</td>
<td>Mass for Sunday - (Singhala - Welisara)</td>
</tr>
<tr>
<th colspan="2">Every First Saturday</th>
</tr>
<tr>
<td>07.00am</td>
<td>as at Grotto (Singhala - Mattumagala)</td>
</tr>
</table>
</div>
</div>
<!-- <div class="col s12 m3">-->
<!-- <div class="card">-->
<!-- <div class="green accent-4 card-title center-align">-->
<!-- The new view of the Sacred Heart Parish Mattumagala-->
<!-- </div>-->
<!---->
<!-- <div class="home-img">-->
<!-- <img alt="ch3.jpg" src="./dist/images/new_view_of_church_2015/ch3-1.jpg" class="col s12 m12">-->
<!-- <div>-->
<!-- <img alt="ch3.jpg" src="./dist/images/new_view_of_church_2015/ch3.jpg"-->
<!-- class="responsive-img col s12 m4">-->
<!-- <img alt="ch3.jpg" src="./dist/images/new_view_of_church_2015/20150710_093324.jpg"-->
<!-- class="responsive-img col s12 m4">-->
<!-- <img alt="ch3.jpg" src="./dist/images/new_view_of_church_2015/ATT_22.jpg"-->
<!-- class="responsive-img col s12 m4">-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!---->
<!-- -->
<!-- </div>-->
<div class="col s12 m3">
<div class="card">
<img src="./dist/images/parish_priest/parish-priest.jpg" class="responsive-img">
<div class="card-action"><p>Parish Priest Rev. Fr. B. Anselm Shiran</p></div>
</div>
<div class="card">
<div class="card-title blue-grey-text darken-2 center-align">Jubilly Song of Saced Heart Parish
Mattumagala
</div>
<audio controls="" class="col s12 m12">
<source src="./dist/music/AA Sir Hade Divya Jesu.mp3" type="audio/mpeg">
<source src="./dist/music/AA Sir Hade Divya Jesu.mp3" type="audio/ogg">
Your browser does not support this audio format.
</audio>
</div>
</div>
<div class="col s12 m5">
<div class="card">
<div class="card-content">
<span class="card-title blue-grey-text darken-1">News & Events</span>
<?php
$posts = $db->where('approved',1)->orderBy('id', 'Desc')->get('posts', 4);
foreach ($posts as $post) {
if ($post['approved']) {
?>
<div class="card horizontal row">
<div class="card-image col s4 m3">
<img src="<?php echo $post['featured_image'] ?>">
</div>
<div class="card-stacked col s8 m9">
<div class="card-title"><?php echo $post['title'] ?></div>
<div class="card-content">
<p><?php echo strlen($post['description']) > 75 ? substr($post['description'], 0, 75) . '...' : $post['description'] ?></p>
</div>
<div class="card-action">
<a href="./news.php?titile=<?php echo $post['title'] ?>&news=<?php echo $post['id'] ?>">Click to read more</a>
</div>
</div>
</div>
<?php
}
}
?>
</div>
</div>
</div>
</div>
</div>
<div class="parallax-container valign-wrapper">
<!-- <div class="section no-pad-bot">
<div class="container">
<div class="row center">
<h5 class="header col s12 light">A modern responsive front-end framework based on Material Design</h5>
</div>
</div>
</div> -->
<div class="parallax"><img src="./dist/images/29-14-Red-page_03.gif" alt="Unsplashed background img 2"></div>
</div>
<div class="container">
<div class="section">
<div class="row">
<div class="col s12 center">
<h3><i class="mdi-content-send red-text"></i></h3>
<h4>A Glimpse into the History of Mattumagala Parish.</h4>
<p class="left-align light">The records of the Mattumagala Church indicate the commencement of its
history dating back to more than 100 years.It was intended to build The Sacred Heart Church on
an
acerage of land situated along the Colombo-Negombo Road, known as Kahatagahawatte or
Thalgawatte.
This land was situated in the Western Province, <a href="">read more...</a></p>
</div>
</div>
</div>
</div>
<div class="parallax-container valign-wrapper">
<!-- <div class="section no-pad-bot">
<div class="container">
<div class="row center">
<h5 class="header col s12 light">A modern responsive front-end framework based on Material Design</h5>
</div>
</div>
</div> -->
<div class="parallax"><img src="./dist/images/27--4-3_03.gif" alt="Unsplashed background img 3"></div>
</div>
<div class="container">
<div class="section">
<div class="row">
<div class="col s12 center">
<h3><i class="mdi-content-send red-text"></i></h3>
<h4>Establishment of Mattumagala Parish.</h4>
<p class="left-align light">The Parish Priest of Nagoda in the early 1960s was Rev. Fr. Fabian
(O.M.I.),
who was very keen to establish a separate parish for the Catholics of Mattumagala and devolve
authority and responsibility entirely to the resident Parish Priest of that Parish. Fr. Fabian
worked zealously towards achieving his desire, and <a href="">read more...</a></p>
</div>
</div>
</div>
</div>
<?php require_once('./footer.php'); ?>
</body>
</html>