GOAL: Normal header for my homepage, and a different header for all my other pages.
FILE: /catalog/includes/templates/custom/common/tpl_main_page.php
NOTES: If the index page is displayed, then display the tpl_header.php file. Otherwise, display the tpl_header2.php file.
CODE SO FAR (that doesn't work):
ERROR MESSAGE:Code:<div id="mainWrapper"> <?php /** * prepares and displays header output * */ if ($current_page_base == 'index') { require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?> <div class="dt cont_main" style="background:#FFFFFF"> <div class="dr"> <div class="dc cont_main_c1"><br style="line-height:2px;"> <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper"> <tr> <?php } else { require($template->get_template_dir('tpl_header2.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header2.php');?> <div class="dt cont_main" style="background:#FFFFFF"> <div class="dr"> <div class="dc cont_main_c1"><br style="line-height:2px;"> <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper"> <tr> }?>
Parse error: syntax error, unexpected $end in /home/domain/public_html/catalog/includes/templates/custom/common/tpl_main_page.php on line 198
Line 198 is basically the bottom of the php file.
I may be going about this the hard way...I'd appreciate any assistance.


)

