Re: [PHP] Templates/Graphics/Text

2001-05-02 Thread Philip Olson
sounds like you're wanting to do this : // get mode from url or preferences or somewhere $mode = strtolower($HTTP_GET_VARS['mode']); if ($mode == 'text') { include 'txt_template.php'; } else { include 'img_template.php'; } include 'content_page.html'; now : index.

Re: [PHP] Templates/Graphics/Text

2001-05-02 Thread Ashley M. Kirchner
Chris Anderson wrote: > Personally I prefer to do the following: > -Include things like navigation, banners, etc in a nav.inc file. Since > this is loaded first > I include meta tags for search engines in here > -My content goes in individual files, that can be dynamically loaded > -I have a thir

Re: [PHP] Templates/Graphics/Text

2001-05-02 Thread Chris Anderson
Personally I prefer to do the following: -Include things like navigation, banners, etc in a nav.inc file. Since this is loaded first I include meta tags for search engines in here -My content goes in individual files, that can be dynamically loaded -I have a third "footer" file which includes anyt