advertise!







Wanna be here?

welcome!

Hello! Welcome to my site lawsy.anamarlia.com the explicit domain of the one known as Chrissy. This site is hosted by the faboulous Melissa. Here you will find everything that a starving vamp needs and desires. I hope you enjoy your stay here so please comment me and check back in soon! Remember i have freedom of speech so i can voice whatever i wish and if you dont like it go find someone else to bitch to.

The Horror!

Chrissy - - Female. Eighteen. Australian. Totally Random. Laughs at anything. My addictions are music. movies. video games. converse shoes. supernatural. jensen ackles. hoodies. anything vampire. avril lavigne. simple plan. computer. My sedatives are emo. clones. boredom. chick flicks. stuck up bitches. paparazzi queens. superbad. more?

the content!

owner
icons
tutorials
poetry
lawsy.anamarlia.com
clear

affiliates!

mel amber casey claire Ariel


apply...

bite me!


more

site 411!

Site Name// lawsy.anamarlia.com Opened// 9/08/2007
Domain// http://lawsy.anamarlia.com
Host// Melissa [at] anamarlia.com/ Artin
Hits// counter


Layout info:
Layout Design// Chrissy
Layout Coding// Chrissy
Version// Two
Featuring// Edward & Bella
Name// when you can live forever....

layout!

This layout is called when you can live forever featuring Edward and Bella from the Twilight series. The layout was designed in Photoshop on 14/05/2008 and put up on 15/05/2008. Coding was done by me. Credits go to x. For more credits check out the credits page here.

contact!

If you need to reach me feel free to contact me via
Email// lawsy@anamarlia.com/
RoleModel_SP5@hotmail.com
Myspace// Clicky!

disclaimer!

Everything you see here is rightfully Copyrighted to Chrissy at lawsy.anamarlia.comunless otherwise stated. Nothing may be re-distributed or edited unless i give permission. If you use anything please credit and remember not to steal mofo's.

for me only!

CN WB

php includes!

home >> tutorials >> includes


PhP Includes

Say you had a 20 page website with the same layout and navigation on every page. Every time you wanted to change the layout or the navigation, you'd need to edit all 20 pages to match. What a chore! If your server supports PHP then you are in luck as there is a much easier way.


Create two text files, one called "header.txt," the other called "footer.txt". In those files, place the header and footer code from one of your HTML pages.


header.txt
On this page you place all your style codes, anything that will attribute to the look and layout of your site. Once you have finished save the file as "header.txt"
i.e.



footer.txt
Everything to style the bottom of your site save as the footer. If you are using back and forward links you would save them here. Once you have finished save the file as "footer.txt"
i.e.



Then, go through your pages, and replace the HTML headers and footers with this: (Replace PLACE HEADER.TXT/FOOTER.TXT with either header.txt or footer.txt and remove the stars )



And rename them to .php files rather than .htm or .html. Now you only have to edit the header and footer files, and all your pages will reflect the changes!


Note: If all your files are in the same directory, you can just link to 'header.txt', but if you have several directories, be sure to change the location to point to the file, eg: '../header.txt'.