|
Server IP : 149.13.87.7 / Your IP : 185.174.145.2 Web Server : nginx System : Linux h2 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 User : root ( 0) PHP Version : 8.0.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /mnt/platforms/workspaces/shortable.org/../boundlessicon.com/../toolboxstate.com/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
$config = json_decode(file_get_contents('./config.json'), true);
// Brand Name
$brand_name = $config['brand_name'];
$brand_maps = $config['brand_maps'];
$brand_domain = $config['brand_domain'];
$brand_email = $config['brand_email'];
$brand_address = $config['brand_address'];
$brand_phone = $config['brand_phone'];
// Style Color changer
$color_changer = $config['color_changer'];
// Header Image
$header_image = $config['header_image'];
// Variables
$header_title_index = $config['header_title_index'];
$header_descIndex = $config['header_descIndex'];
$header_buttonIndex = $config['header_buttonIndex'];
$contactUs_titleIndex =$config['contactUs_titleIndex'];
$contactUs_descIndex =$config['contactUs_descIndex'];
$vertical = $config['niche'];
$srvAndIcon_index1 = $config["srvAndIcon_index1"];
$srvAndIcon_index2 = $config["srvAndIcon_index2"];
$srvAndIcon_index3 = $config["srvAndIcon_index3"];
// Header title
$titleData = json_decode(file_get_contents('./assets/db/Header/Header-titles.json'), true);
$header_title = $titleData['headerTitle'][$vertical][$header_title_index];
// Header Description
$descData = json_decode(file_get_contents('./assets/db/Header/Header-description.json'), true);
$headerDesc = $descData['headerDescription'][$vertical][$header_descIndex];
// Header Button
$buttonData = json_decode(file_get_contents('./assets/db/Header/Header-button.json'), true);
$headerButton = $buttonData['headerButton'][$vertical][$header_buttonIndex];
// Contact-us Title
$contactUsData =json_decode(file_get_contents('./assets/db/Contact/title.json'), true);
$cotactUs_title = $contactUsData['contact_title'][$contactUs_titleIndex];
// Contact-us Description
$contactUsDescData =json_decode(file_get_contents('./assets/db/Contact/contactus-description.json'), true);
$contactUs_Desc = $contactUsDescData['contactUs_Description'][$contactUs_descIndex];
// Services and icons
$service_titleData = json_decode(file_get_contents('./assets/db/Services/services_titles.json'), true);
$service_iconData = json_decode(file_get_contents('./assets/db/Services/services_icons.json'), true);
$services_title1 = $service_titleData['servicesTitles'][$vertical][$srvAndIcon_index1];
$services_icon1 = $service_iconData['servicesIcons'][$vertical][$srvAndIcon_index1];
$services_title2 = $service_titleData['servicesTitles'][$vertical][$srvAndIcon_index2];
$services_icon2 = $service_iconData['servicesIcons'][$vertical][$srvAndIcon_index2];
$services_title3 = $service_titleData['servicesTitles'][$vertical][$srvAndIcon_index3];
$services_icon3 = $service_iconData['servicesIcons'][$vertical][$srvAndIcon_index3];
?>AnonSec - 2021