-
Notifications
You must be signed in to change notification settings - Fork 0
/
articles.php
42 lines (30 loc) · 878 Bytes
/
articles.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
<?php
//debug on
ini_set('display_errors', 1);
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);
// Articles Data //
$articles = api_fetch($api_articles,$api_auth);
$pr = "ar_";
$active = $settings->{$pr . 'active'};
include "header.php";
//Header Area
$header = headArea($articles,$pr,$home,'mp_');
//Meta
$meta_tag = metaData($pr,$articles);
$meta_title = metaTitle($pr,$articles);
//Notify Announcement
$notify = notify($pr,$articles);
include "app/views/templates/default/templates-sections/ts_article_list.php";
// article_list($articles);
//Footer
include "footer.php";
//include views
include("app/views/v_header.php");
include("app/views/v_nav.php");
include("app/views/v_articles.php");
include("app/views/v_footer.php");