I have an existing practice wordpress website http://jessicad37.sg-host.com/and need all of this done with PHP. All 4 parts must be followed EXACTLY. Part 1: On the home page of the site, display the...







I have an existing practice wordpress website http://jessicad37.sg-host.com/and need all of this done with PHP. All 4 parts must be followed EXACTLY. Part 1: On the home page of the site, display the timezone (by default, EST) and the date and time within a sidebar. The date and time should be of the form: Monday, April 10, 2023 6:30pm Part 2: Create a page called Set TimeZone On this page add label called “Select TimeZone” and a select (drop down) element and a submit button. The choices should be EST and two other time zones of your choice. You should use a shortcode to create the select/submit button. The shortcode attributes should identify the desired time zones - ie: [make_zone_select zones=’EST,PST,London,Hong Kong’] Part 3: On a page called “set zone”, read the value of the select element and change a session variable to save the time zone. There should be a header and footer on this page as well as the text: “Time zone has been set to xxx. Click here to go to the home page” Part 4: When the user returns to the home page, the date, time and correct time zone should be displayed based on the user’s setting. Hint: you may find this helpful, https://www.php.net/manual/en/function.date- default-timezone-set.php I will also need a document with all code you wrote copied and pasted into it.




Apr 15, 2023
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here