-
Notifications
You must be signed in to change notification settings - Fork 0
/
article.php
60 lines (43 loc) · 988 Bytes
/
article.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
<?php
//debug on
ini_set('display_errors', 1);
/*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_home,$api_auth);
//
// if (ar_active) ;
/*
"ar_article_id"
"ar_active"
"ar_verify"
"ar_menu_tab_txt"
"ar_heading_1":"This is the first Article",
"ar_img_1"
ar_img_alt_1"
"ar_img_pos_1"
"ar_txt_1"
"ar_header":"Article Page 1"
"ar_header_bg"
"ar_header_bg_display"
"ar_header_btn_txt"
"ar_header_btn_url"
"ar_header_img"
"ar_hero"
"ar_announcement"
"ar_meta_keywords"
*/
//Template Parts
include ('app/views/templates/default/html/html.php');
//Footer
include ('app/views/templates/default/footer.php');
$company_name = c($home,'mp_company_name');
$footer = footer($company_name);
//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");