details.php

<?# file: details.php → syntax.php
$pagename = "details.htm";
require_once("template.php");
/* This file enables the included and related html-frame [details.htm] to include and properly handle php code to be executed.  File template.php, required above, includes all common website variables.  ... if a website common MENU [$_menu] is required, then this will have to be included in file template.php */
?>
<?# file: template.php
header("Pragma: no-cache");
header("Cache-Control: no-store,no-cache,must-revalidate,post-check=0,pre-check=0",false);
// - global $cbg; $cbg="aqua"; :-(
$tv="Template variables and headers() [place holder]";
$agent = getenv("HTTP_USER_AGENT");
// $_menu="... menu-html, javascript , php"
?>

Comments:
details.php is including details.htm and that makes the magic to make php code inside that html file to be executed; the only concern of that is to watch that no php-headers are implemented in that.
In template.php we will send instead all necessary headers and some common variables.
This is rather useful for not re-writing a lot of repetitive code like for example the round corners table herein visible, the large one and the one surrounding this text.
We can design a menu and recall it from the template.php as well.
All we need to do to create a new page is to create then an html file and its related php and add a link line to it in the MENU file.
Here there are more basic EXAMPLES implemented online and if that is not enough, please register in the forum and go through my concised basic tutorials that I share in the board.
All is not described herein it is clientside, so just need to be peeped by rightclicking or fresh html-coded  ... Goodluck!
[ Your comments : ...No thanks, I have no time to dig into this, set me at easy: Build A Website For Me ]

CSS Valido!   Valid XHTML 1.0 Strict   syntax.php

Menu EXAMPLE

This suite contains just 2 php pages and a index.
In these 2 pages you can also find some CrossBrowsers' tip.
... the following demo-menu is taking to the agency website DEMO for 3dParty Web Design
. . . . . . . . escaping ?  
In page syntax.php there is a small JavaScript snippet to manage Image Caching, Replacing & Resetting ...to be used in case images are implemented in the website menu and your customer wants some kind of OnMouseOver effect for his main menu.
These 2 pages are very rich of clientside code 100% compatible and verified with Xhtml 1.0 Strict to save a lot of time. Such format idea does attract the final owner and users at the same time, giving a WARRANTY to the latter that they are surfing on a code-verified website, free from any kind of problem such as containing any hidden or doubtful applet or spammy software.
So be my guest and build (...or let me build for you) your code-verified website.

All code is accessible from clientside, any lack of know how can be plugged by visiting this topic   Top