Here's the contents of my header_html document. I'm pretty sure it's all messed up from using the wrong format to edit it and of course I made the newbie mistake of not backing up the original doc. But I appreciate the lessons I'm learning as well as the wealth of knowledge I'm gaining from this forum. Many thanks!
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]--><?php echo META_TAG_TITLE; ?>
<meta name=keywords content="<?php echo META_TAG_KEYWORDS; ?>">
<meta name=description content="<?php echo META_TAG_DESCRIPTION; ?>">
<meta http-equiv="imagetoolbar" content="no" />
<meta name="author" content="The Zen Cart™ Team and others" />
<meta name="generator" content="shopping cart program by Zen Cart™, http://www.zen-cart.com eCommerce
<?php if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance' || $robotsNoIndex === true) { ?>
<meta name=robots content="noindex, nofollow">
<?php } ?><?php if (defined('FAVICON')) { ?>
<link rel=icon href="file:///C:\%3c%3fphp%20echo%20FAVICON;%20%3f%3e"
type="image/x-icon">
<link rel="shortcut icon" href="file:///C:\%3c%3fphp%20echo%20FAVICON;%20%3f%3e"
type="image/x-icon">
<?php } //endif FAVICON ?><?php /** * load all template-specific stylesheets, named like "style*.css", alphabetically */ $directory_array = $template-><!--looking for: $value-->
<link rel=stylesheet type="text/css" media=print
href="file:///C:\'%20.%20$template-%3eget_template_dir('.css',DIR_WS_TEMPLATE,%20$current_page_base,'css')%20.%20'\ '%20.%20$value%20.%20">
<!-- I SEE cat: ' . $current_category_id . ' || vs cpath: ' . $cPath . ' || page: ' . $current_page . ' || template: ' . $current_template . ' || main = ' . ($this_is_home_page ? 'YES' : 'NO') . ' -->
<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '">
</script>
<script type="text/javascript" src="' . $page_directory . '/' . $value . '">
</script>
</head>
<body lang=EN-US style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoNormal>get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE,
$current_page_base,'css'), '/^style/', '.css'); while(list ($key, $value) =
each($directory_array)) { echo ''."\n"; } /** * load stylesheets on a
per-page/per-language/per-product/per-manufacturer/per-category basis. Concept
by Juxi Zoza. */ $manufacturers_id = (isset($_GET['manufacturers_id'])) ?
$_GET['manufacturers_id'] : ''; $tmp_products_id =
(isset($_GET['products_id'])) ? (int)$_GET['products_id'] : ''; $tmp_pagename =
($this_is_home_page) ? 'index_home' : $current_page_base; $sheets_array =
array('/' . $_SESSION['language'] . '_stylesheet', '/' . $tmp_pagename, '/' .
$_SESSION['language'] . '_' . $tmp_pagename, '/c_' . $cPath, '/' .
$_SESSION['language'] . '_c_' . $cPath, '/m_' . $manufacturers_id, '/' .
$_SESSION['language'] . '_m_' . (int)$manufacturers_id, '/p_' .
$tmp_products_id, '/' . $_SESSION['language'] . '_p_' . $tmp_products_id );
while(list ($key, $value) = each($sheets_array)) { //echo "\n";
$perpagefile = $template->get_template_dir('.css', DIR_WS_TEMPLATE,
$current_page_base, 'css') . $value . '.css'; if (file_exists($perpagefile))
echo ''."\n"; } /** * load printer-friendly stylesheets -- named like
"print*.css", alphabetically */ $directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE,
$current_page_base,'css'), '/^print/', '.css'); sort($directory_array);
while(list ($key, $value) = each($directory_array)) { echo ''."\n"; }
/** * load all site-wide jscript_*.js files from includes/templates/YOURTEMPLATE/jscript,
alphabetically */ $directory_array =
$template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE,
$current_page_base,'jscript'), '/^jscript_/', '.js'); while(list ($key, $value)
= each($directory_array)) { echo ''."\n"; } /** * load all
page-specific jscript_*.js files from includes/modules/pages/PAGENAME,
alphabetically */ $directory_array =
$template->get_template_part($page_directory, '/^jscript_/', '.js');
while(list ($key, $value) = each($directory_array)) { echo '' . "\n";
} /** * load all site-wide jscript_*.php files from
includes/templates/YOURTEMPLATE/jscript, alphabetically */ $directory_array =
$template->get_template_part($template->get_template_dir('.php',DIR_WS_TEMPLATE,
$current_page_base,'jscript'), '/^jscript_/', '.php'); while(list ($key,
$value) = each($directory_array)) { /** * include content from all site-wide
jscript_*.php files from includes/templates/YOURTEMPLATE/jscript,
alphabetically. * These .PHP files can be manipulated by PHP when they're
called, and are copied in-full to the browser page */
require($template->get_template_dir('.php',DIR_WS_TEMPLATE,
$current_page_base,'jscript') . '/' . $value); echo "\n"; } /** *
include content from all page-specific jscript_*.php files from includes/modules/pages/PAGENAME,
alphabetically. */ $directory_array =
$template->get_template_part($page_directory, '/^jscript_/'); while(list
($key, $value) = each($directory_array)) { /** * include content from all
page-specific jscript_*.php files from includes/modules/pages/PAGENAME,
alphabetically. * These .PHP files can be manipulated by PHP when they're
called, and are copied in-full to the browser page */ require($page_directory .
'/' . $value); echo "\n"; } //DEBUG: echo ''; ?> <o></o
></p>
</div>
<?php // NOTE: Blank line following is intended: ?>
</body>
</html>


></o

