-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproducts.php
More file actions
42 lines (30 loc) · 840 Bytes
/
products.php
File metadata and controls
42 lines (30 loc) · 840 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
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);
// Home Page Data //
$settings = api_fetch($api_settings,$api_auth);
// Products Data //
$products = api_fetch($api_articles,$api_auth);
$pr = "pr_";
$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);
//Footer
include "footer.php";
//include views
include("app/views/v_header.php");
include("app/views/v_nav.php");
include("app/views/v_products.php");
include("app/views/v_footer.php");