Create the folders and files that appear in the file layout

Assignment Help PHP Web Programming
Reference no: EM131097890

Create the folders and files that appear in the attached file layout.

It is very important that you use the naming conventions and file organization noted here, as future assignments will depend on these files being in place.

The remainder of the instructions for this Assignment will take place in the "funrun1" folder.

Instructions - config.php

In your "_includes" at the root level of your "funrun1" folder, create a config.php file.

In your config.php, do the following:

• Declare a PHP constant named ABSOLUTE_PATH that contains the complete path to the "funrun1" folder on the server.
• Declare a PHP constant named URL_ROOT that contains the complete web address to the "funrun1" application you are developing on the web server.

Instructions - Create Other Includes & Home Page

Inside your "_includes" folder, create the following files:

• header.inc.php
• main_nav.inc.php
• footer.php

Create the index.php at the root level of the website (immediately inside your "funrun1" folder.)

In your index.php, use the PHP include statement to include ALL of the following:

• config.php(use a relative path when including this.)
• header.inc.php(you must reference ABSOLUTE_PATH)
• main_nav.inc.php(you must reference ABSOLUTE_PATH)
• footer.php(you must reference ABSOLUTE_PATH)

Use the attached paper prototype as a guide to produce the content of those files.

The CSS file at the root level of the site should be referenced in your header.inc.php file. Remember! When linking to CSS files, you MUST reference the URL_ROOT constant in your code.

Test! At this point you should be able to view your index.php file on the server and it should have all of the included files in place.

YOU SHOULD GET THIS PART WORKING BEFORE MOVING ON.

Instructions - CSS

Define at least two styles in your CSS file. These styles are completely up to you. You can change the body font, or create a header class, or format something in the footer. YOUR CHOICE.

The point is just to demonstrate that you have correctly included the CSS file using the URL_ROOT constant.

Test! At this point you should be able to view your index.php file on the server and see the effect of your defined styles.

YOU SHOULD GET THIS PART WORKING BEFORE MOVING ON.

Instructions - Create Other Files

Using your FULLY FUNCTIONING index.php as a guide, create the other files required for your website (refer to the attached file layout.)

• about/index.php
• runs/index.php
• contact/index.php

Each of these files should include your standard header, main navigation, and footer.

Use filler text for the content of each page, but please put a title at the top of each. Remember! Your CSS styles should be applied to ALL pages of your site.

Once those files are created, update your main_nav.inc.php file so that all of the files are correctly linked together.

Attachment:- Page_and_File_Layout.rar

Reference no: EM131097890

Questions Cloud

Original amount of the mortgage loan : A mortgage loan is repaid with annual installment payments payable at the end of each year for 30 years. Each subsequent payment is 2% higher than the previous one. The interest rate charged on the loan balance is:
Provide a definition of the exp function : E19: Numerical Methods for Engineering Applications Spring 2016 - HOMEWORK 9. In either case, you will need to provide a definition of the exp function which handles dual numbers correctly (see sqrt and cos in dual.py for examples)
Respectable economic motive for selling of state-owned firms : Explain the possible problems for consumers of each of the following ways of dealing with a natural monopoly: Why do most economists argue that the money raised by selling off state-owned firms is not an especially good argument for selling them? Wha..
New contract with the federal government : Congratulations! Your company just won a lucrative new contract with the Federal Government to supply widgets for a total value of $50 million. If you perform well and on time on this job it will open the door to hundreds of millions more of futur..
Create the folders and files that appear in the file layout : Create the folders and files that appear in the attached file layout. Define at least two styles in your CSS file. These styles are completely up to you. You can change the body font, or create a header class, or format something in the footer.
Problem regarding the career opportunities : Write a 2-3 page paper. In your paper include the following: Discuss positions that are available for people with a knowledge of finance? Provide 3 examples of occupations that also use finance. Give a brief description of each.
Determining the incremental revenues : a. How much are the incremental revenues associated with the special order? b. How much are the incremental costs associated with the special order? c. How much additional profit or loss will be incurred if the order is accepted AND should it accept ..
Arguement put forth by advocates of the singlr tax movement : The main arguement put forth by advocates of the singlr tax movement was that:
Calculate the accumulated value of the fund : Calculate the accumulated value of the fund on January 1, 2020.

Reviews

Write a Review

PHP Web Programming Questions & Answers

  1students will present their own definitionconcept of

1students will present their own definitionconcept of corporate social responsibility csr and comparecontrast it with

  Non-functional mock-up of web pages

Non-functional mock-up of Web pages Diagram of database tables with column names and data types Final tested version of all Web application software.

  On 1 january 2007 megabucks ltd cleared a large area of

on 1 january 2007 megabucks ltd cleared a large area of land looking over a bay in which commercial prawn trawling was

  Create an online parking system

To create an online PARKING system with php/mysql or any other coding language suitable and dissertation proposal

  Create a data structure containing a list of degree

Create a data structure containing a list of degrees available (i.e. PhD, MS, MA, BS, etc) and a price for each degree.

  Discuss the apache web server in regard to cost

Discuss the Apache Web server in regard to cost, functionality, and compatibility. Are there certain implementations were it may not be suitable?

  Casemr red bought a powerboat from blacks boat sales under

casemr. red bought a powerboat from blacks boat sales under a conditional sale agreement paying 5000 down with the

  Create a short report the results of the testing

Create a short report (one page or less) detailing the results of the testing, including user suggestions and your response to those suggestions (whether you feel they are valid and whether they can be accommodated). Compare the user responses to ..

  Create dynamic drop-down menu in php

Create dynamic drop-down menu in PHP. For example, let's say that there is a drop-down menu with list of car manufacturers; Toyota, Ford, and Chevy.

  Create a simple survey

Create a simple survey form that posts to a PHP script and then saves the form inputs to a file. The program should then respond with a display of the information contained in the file including the latest post

  This problem is pertaining to the html language

CS5334.0251/0252, Spring, 2014 Assignment, Advanced Internet Information Processing subject, This problem is pertaining to the HTML language. You can create your own web page by placing an HTML page in the “public html” directory within your home dir..

  Design a dynamic database

Design a dynamic database using Mangodb, html , and php.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd