{"id":18886691,"url":"https://github.com/aburd/virtual-office-php-page","last_synced_at":"2026-02-23T18:30:18.423Z","repository":{"id":91442401,"uuid":"75720587","full_name":"aburd/virtual-office-php-page","owner":"aburd","description":"Servcorp Virtual Office Landing Page","archived":false,"fork":false,"pushed_at":"2016-12-06T10:45:21.000Z","size":220,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-31T05:16:43.126Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aburd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-06T10:25:38.000Z","updated_at":"2016-12-06T10:44:38.000Z","dependencies_parsed_at":"2024-05-03T00:46:28.334Z","dependency_job_id":null,"html_url":"https://github.com/aburd/virtual-office-php-page","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aburd%2Fvirtual-office-php-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aburd%2Fvirtual-office-php-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aburd%2Fvirtual-office-php-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aburd%2Fvirtual-office-php-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aburd","download_url":"https://codeload.github.com/aburd/virtual-office-php-page/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239859566,"owners_count":19708861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T07:30:01.873Z","updated_at":"2025-02-20T14:52:44.683Z","avatar_url":"https://github.com/aburd.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"#VO LANDING PAGE\r\n\r\nThis guide is meant for people editing Servcorp's Virtual Office landing page.\r\n\r\n##How to Use\r\nSimply copy the files to an apache server with default settings.\r\n\r\n\r\n\r\n##About\r\n\r\nThis section will talk about important files, how to set up, and how to edit. It is meant to be a guide for those needing to maintain or alter this site.\r\n\r\n\r\n###Important Files / Construction\r\n\r\n*./index.php*\r\n- This file defines the language of the page, retrieves the configuration file, and loads in the templates.\r\n- The language determines which templates will be used (\"English\" or \"Japanese\") and also the output of the functions in the \"./resources/library\" folder.\r\n\r\n*./resources/config.php*\r\n- This file is responsible for most of the global and environment variables used throughout the page.\r\n- It also defines functions that may be specific to that language / region (the osaka page changes the order of certain arrays here)\r\n- This file also loads in \"locations.json\", which is the data file that where all information about each Servcorp location is stored. You can think of it like a small database.\r\n- This file also determines the lowest VO prices by searching through all the locations for the lowest price. If necessary, this price can be hardcoded into the template at \"./resources/templates/slider.php\", etc.\r\n\r\n*./resources/library/locations_functions.php*\r\n- This file contains almost all of the logic that modifies data from variables and the \"locations.json\" file.\r\n\r\n*./resources/library/Location.php ./resources/library/City.php*\r\n- These are the files which hold the Location and City classes.\r\n- These hold most if not all of the logic of how the locations section looks and the information contained within that section. If you need to edit how the markup is outputted, do your changes here.\r\n\r\n\r\n###Editing\r\n*locations.json*\r\nThe data file is set to read from the same file whether it is Main landing page or Osaka landing page. It just needs to be updated and uploaded to the main landing page's \"./public_html/json/locations.json\"\r\n\r\n*CSS, images*\r\nAs of writing this, CSS files and Static resources are exactly the same. However, I have kept all static resources seperate so that these can be maintained seperately, if ncessary.\r\n\r\n*Slider photos*\r\nBackground photos in the slide have the same name, but are different for main landing and osaka landing. They can be edited in their respective \"./public_html/images\" folder.\r\n\r\n\r\n- Aaron Burdick, 06-12-2016","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faburd%2Fvirtual-office-php-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faburd%2Fvirtual-office-php-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faburd%2Fvirtual-office-php-page/lists"}