0 Members and 1 Guest are viewing this topic.
<?php//title variable $title = "test1";?>
<?php//variable importrequire_once("tag.php");//title/html codeecho "<html><title>Hello $title Test</title></html>"?>
<title>', $context['page_title_html_safe'], '</title>';
<?php require_once("tag.php"); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>Untitled 1 <?php echo $title ?> </title></head><body></body></html>
<?php// @ template file `header` syntax// @ last edit: september 2, 2010 # 10:29am ccbtimewiz// dynamically create the head, this will be used in every content fileecho '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <meta name="description" content="' . $content_header['meta_description'] . '" /> <meta name="keywords" content="' . $content_header['meta_keywords'] . '" /> <title>' . $content_header['title'] . '</title>';// include JavaScript files if applicable// note: clean_javascript_includes(&javascript_content (delimited per line), &level_of_filtering ('open' allows all scripts, 'mild' prevents javascript that runs words like "popup" or "alert" often, 'safe' prevents all javascript that does not preg_match the server's uri), num max (the maximum number of scripts allowed on the page)if (!empty($content['javascript_includes'])) clean_javascript_includes($content['javascript_includes'], 'safe', 10);// include Cascading Style Sheet files if applicable// note: we don't need to be as safe with CSS, but we're running suite similar to "safe" javascripting-- only css from the server's uri can be fetchedif (!empty($content_header['css_includes'])) clean_css_includes($content_header['css_includes']);// we're done here for the most part-- we're not getting into link relevance...echo '</head>';// and one more thing, we need to make sure a body is made... in the content specific file.?>
<?php// @ source file `about`// @ last edit: september 1, 2010 # 3:36pm ccbtimewizif (function_exists('set_magic_quotes_runtime')) @set_magic_quotes_runtime(0);error_reporting(defined('E_STRICT') ? E_ALL | E_STRICT : E_ALL);$content_header = array( 'meta_description' => 'about the team', 'meta_keywords' => 'ccbtimewiz.com, about chris, etc', 'title' => 'ccbtimewiz.com About', 'css_includes' => array( 'exterior' => array( '/css/header.css', '/css/style.css', '/css/index.css', ), 'interior' => '', ), 'javascript_includes' => '',);require_once('../templates/header-template.php');$content_body = array( // you don't need to see this, you get the picture....);require_once('../templates/body-template.php');$content_footer = array( // you don't need to see this either, you get the picture....);require_once('../template-footer.template.php');// and that's a wrap.?>