Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Little help with a new header image


volpaz.com

Recommended Posts

I used to code and mod oscommerce myself... about 2 years ago.

 

I then sold out and had someone do it for me. And now i've forgotten everything!!!!

 

I want to take the .swf off of my site because it's just too big. This is the code that is in header.php

 

<?php
/*
 $Id: header.php,v 1.1.1.1 2004/03/04 23:42:24 ccwjr Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/
define('DIR_WS_TEMPLATE_IMAGES', 'templates/Original/images/');

// WebMakers.com Added: Down for Maintenance
// Hide header if not to show
if (DOWN_FOR_MAINTENANCE_HEADER_OFF =='false') {

if (SITE_WIDTH!='100%') {
?>
	<table CELLSPACING="0" CELLPADDING="0" BORDER="0" width="<?php echo SITE_WIDTH;?>" align="center" BGCOLOR="FFFFFF">
	  <tr>
	  <td>

<?php
}
?>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
<td align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="771" height="203">
  <param name="movie" value="<?=DIR_WS_TEMPLATE_IMAGES?>animatie.swf">
  <param name="quality" value="high">
  <embed src="<?=DIR_WS_TEMPLATE_IMAGES?>animatie.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="771" height="203"></embed>
  </object>
</td>
 </tr>
</table>





<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
<td align="center" height="27" style="background-image: url(<? echo DIR_WS_TEMPLATE_IMAGES . 'infobox/header_pixel.gif'; ?>); background-repeat: repeat-x; background-position: top;">
  <table border="0" width="1" cellspacing="0" cellpadding="0">
	<tr>
	  <td nowrap align="center" class="headerNewMenu"> <a href="<?php echo tep_href_link('index.php'); ?>" class="headerNewMenu">Home</a> </td>
	  <td align="center"><? echo tep_image(DIR_WS_TEMPLATE_IMAGES . 'infobox/header_separator.gif'); ?></td>
	  <td nowrap align="center" class="headerNewMenu"> <a href="<?php echo tep_href_link('information.php', 'info_id=4'); ?>" class="headerNewMenu">About Us</a> </td>
	  <td align="center"><? echo tep_image(DIR_WS_TEMPLATE_IMAGES . 'infobox/header_separator.gif'); ?></td>
	  <td nowrap align="center" class="headerNewMenu"> <a href="<?php echo tep_href_link('contact_us.php'); ?>" class="headerNewMenu">Contact Us</a> </td>
	  <td align="center"><? echo tep_image(DIR_WS_TEMPLATE_IMAGES . 'infobox/header_separator.gif'); ?></td>
	  <td nowrap align="center" class="headerNewMenu"> <a href="<?php echo tep_href_link('information.php', 'info_id=6'); ?>" class="headerNewMenu">Customer`s Cars</a> </td>
	  <td align="center"><? echo tep_image(DIR_WS_TEMPLATE_IMAGES . 'infobox/header_separator.gif'); ?></td>
	  <td nowrap align="center" class="headerNewMenu"> <a href="<?php echo tep_href_link('information.php', 'info_id=7'); ?>" class="headerNewMenu">Warranty Information</a> </td>
	  <td align="center"><? echo tep_image(DIR_WS_TEMPLATE_IMAGES . 'infobox/header_separator.gif'); ?></td>
	  <td nowrap align="center" class="headerNewMenu"> <a href="<?php echo tep_href_link('information.php', 'info_id=8'); ?>" class="headerNewMenu">Shipping</a> </td>
	</tr>
  </table>
</td>
 </tr>
</table>


<table border="0" width="771" cellspacing="0" cellpadding="0" height="23">
 <tr class="headerNavigation">
<td nowrap class="headerNavigation" valign="top">  <?php echo $breadcrumb->trail(' » '); ?></td>
<td class="headerNavigation" width="100%"> </td>
<td nowrap align="right" valign="top" class="headerNavigation">
  <table border="0" cellspacing="0" cellpadding="0">
	<tr class="headerNavigation">
	  <td class="headerNavigation"><? echo tep_image(DIR_WS_TEMPLATE_IMAGES . 'infobox/header_black_corner.gif'); ?></td>
	  <td nowrap align="right" valign="top" class="headerNavigationBlack"> | 
  <?php if ((tep_session_is_registered('customer_id')) && (!tep_session_is_registered('noaccount'))) // DDB - PWA - 040622 - no display of logoff for PWA customers
  { ?>
	  <a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigationBlack"><?php echo HEADER_TITLE_LOGOFF; ?>
  </a>  | 
  <?php } ?>
  <?php if (!tep_session_is_registered('noaccount')) // DDB - PWA - 040622 - no display of account for PWA customers
  { ?>
	  <a href="<?php echo tep_href_link(FILENAME_ACCOUNT, 'my_account_f=1', 'SSL'); ?>" class="headerNavigationBlack"><?php echo HEADER_TITLE_MY_ACCOUNT; ?>						</a>  | 
  <?php } ?>
  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigationBlack"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>
   |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigationBlack"><?php echo HEADER_TITLE_CHECKOUT; ?> | </a>
	  </td>
	</tr>
  </table>
</td>
 </tr>
</table>

<?php
}
?>
<!-- header_eof //-->

 

I know where in the code to mod I just don't know what to get rid of and what to throw in....

 

Thanks for any help!

Link to comment
Share on other sites

Remove this:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td align="center">

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="771" height="203">

<param name="movie" value="<?=DIR_WS_TEMPLATE_IMAGES?>animatie.swf">

<param name="quality" value="high">

<embed src="<?=DIR_WS_TEMPLATE_IMAGES?>animatie.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="771" height="203"></embed>

</object>

</td>

</tr>

</table>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...