Thursday, March 19, 2020

Pompeii - Our Link to the Past essays

Pompeii - Our Link to the Past essays  ¡The cloud appeared to come out of the top of the mountain that was a long way away. The best way to describe it is to say it looked like a pine tree. It shot straight up like a very tall trunk. At the top of the trunk, the cloud spread out like branches. Parts of the cloud were very bright, and parts were quite dark. The different colors were caused by the amount of cinders in different parts of it." Pliny the Younger wrote these words as he observed the beginning eruption of the volcano that loomed over his city. As this continued, the citizens of Pompeii watched as the cloud came closer, engulfing the city with ashes and cinders, the volcano soon began producing sheets of lava and flames. Days later, the once prosperous city of Pompeii lay in ruins. Perhaps one of the richest sites of archaeological history, Pompeii provides a valuable insight into the life of first century Romans. From excavations that first began in 1748, much has been discovered about the late Roman Republic and early Roman Empire. Pompeii was first settled by the Oscans in 600BC, but didn ¡t become a Roman colony until 89BC under the direction of Lucius Cornelius Sulla. Pompeii played a big role in ancient Rome. First of all, Pompeii was a chief center of trade. It had prosperous trade in wine, oil, millstones, fish, sauce, perfumes, and cloth. In addition, because Pompeii was located in such a prosperous and beautiful area, at the mouth of the Sarnus River, it made it a perfect place for leisure. During the time of the Roman Empire it was a desired place for the wealthy to build summer villas or homes. Destroyed in 79 AD by the eruption of Mt Vesuvius, Pompeii lay buried beneath layers of volcanic debris for more than 1700 years before being discovered by a farmer in the late 1600 ¡s. It wasn ¡t until 1763, 15 years after excavations first began, that the name of Pompeii was discovered. An inscription was found; it read  ¡rei ...

Monday, March 2, 2020

How to Template Your Site in HTML and PHP

How to Template Your Site in HTML and PHP When each page of your website follows the same design theme, it is  easy to create a template for the site using HTML and PHP. The specific pages of the site hold only their content and not their design. This makes design changes easy because changes take place on all the pages of the website at once, and there is no need to individually update specific pages when the design changes. Creating a Site Template The first thing you need to do is create a file called header.php. This file holds all the page design elements that come before the content. Here is an example: My Site My Site Title My Site menu goes here........... Choice 1 | Choice 2 | Choice 3 Next, make a file called footer.php. This file contains all the site design information that goes beneath the content. Here is an example: Copyright 2008 My Site Finally, create the content pages for your site. In this file you:   Call the header file  (header.php)Put in the page-specific contentCall the footer file (footer.php) Here is an example of how to do this: Sub-Page Title Here is the specific content of this page.... Tips Remember to save all your files with the .php extension.You can have more than a header and a footer. If needed, create other files to include in the middle and call them the same way.Couple your templates with the use of a style sheet to change style within the page-exclusive content.