forked from Code4SierraLeone/MembaO
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
24 lines (23 loc) · 712 Bytes
/
index.php
File metadata and controls
24 lines (23 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/**
* Index
*
* @package Membao
* @author Alan Kawamara
* @copyright 2017
*/
define("_VALID_PHP", true);
require_once("init.php");
$home = $content->getHomePage();
//$news = $content->renderNews();
$latest = $leader->featuredLeaders();
$attendanceperc = $leader->calculateGeneralAttendance();
$mps = $leader->totalLeaders();
$sittings = $leader->totalSittings();
$totalbills = $bill->totalBills();
$totalbillspassed = $bill->totalBillsPassed();
$totalcommitteemeetings = $committee->totalCommitteeMeetings();
$mostattendance = $leader->mostAttendances();
$leastattendance = $leader->leastAttendances();
?>
<?php require_once (THEMEDIR . "/index.tpl.php");?>