-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.php
51 lines (36 loc) · 994 Bytes
/
about.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
<?php
//debug on
ini_set('display_errors', 1);
//boolean
include_once('app/includes/boolean.php');
/*Fetch API Data */
//include api functions
include("app/includes/api_fetch.php");
// Home Page Data //
$home = api_fetch($api_home,$api_auth);
// About Data //
$about = api_fetch($api_about,$api_auth);
$pr = 'ap_';
$active = $about->{$pr . 'active'};
/*Create template parts */
include ('app/views/templates/default/html/html.php');
include "header.php";
//Header Area
$header = headArea($about,$pr,$home,'mp_');
//Meta
$meta_tag = metaData($pr,$about);
$meta_title = metaTitle($pr,$about);
// //Notify Announcement
// $notify = notify($pr,$about);
$notify = "";
//Feature areas
include "app/views/templates/default/templates-sections/ts_feature-area.php";
$feature = feature_area($about,$pr);
//Footer
include "footer.php";
//include views
include("app/views/v_header.php");
include("app/views/v_nav.php");
include("app/views/v_about.php");
include("app/views/v_footer.php");
?>