janice171 Posted October 11, 2005 Share Posted October 11, 2005 Hi, i would like the 'my account', 'cart contents', 'log out' and 'checkout' moving to the header so they display like the attached picture, could anyone help with this please? ...and here's the code <TABLE width="100%" height="147" border="0" cellpadding="0" cellspacing="0" align="center"> <TR> <TD height="114" bgcolor="#ffffff"><div align="left"><IMG src="images/design/main.jpg" border="0" usemap="#Map"></div></TD> </TR> <TR> <TD height="33" background='includes/languages/english/images/buttons/menu_1.jpg'><div align="center"><A href="<?php echo tep_href_link(FILENAME_DEFAULT, '', 'NONSSL'); ?>"><?php echo tep_image_button('menu_2.jpg', ''); ?></A><A href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo tep_image_button('menu_3.jpg', ''); ?></A><A href="<?php echo tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'); ?>"><?php echo tep_image_button('menu_4.jpg', ''); ?></A><A href="<?php echo tep_href_link(FILENAME_CONTACT_US, '', 'NONSSL'); ?>"><?php echo tep_image_button('menu_5.jpg', ''); ?></A></div></TD> </TR> </TABLE> <MAP name="Map"> <AREA shape="rect" coords="1,1,48,15" href="<?php echo tep_href_link(FILENAME_DEFAULT, '', 'NONSSL'); ?>"> </MAP> <!-- end HEADER --> <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <TABLE border="0" width="100%" cellspacing="0" cellpadding="2"> <TR class="headerError"> <TD class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></TD> </TR> </TABLE> <?php } if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> <TABLE border="0" width="100%" cellspacing="0" cellpadding="2"> <TR class="headerInfo"> <TD class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></TD> </TR> </TABLE> <?php } ?> <TABLE width="100%" border="0" cellpadding="0" cellspacing="0" align="center"> <TR> <TD width="196" height="34"><A href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>"><?php echo tep_image_button('view_cart.jpg', HEADER_TITLE_CART_CONTENTS); ?></A></TD> <TD height="34" valign="top" class="headerNavigation" style="background: url(images/design/bg1.jpg) repeat-x left top; padding-top: 18px;" >??<?php echo $breadcrumb->trail(' ? '); ?></TD> <TD align="right" valign="top" class="headerNavigation" style="background: url(images/design/bg1.jpg) repeat-x left top; padding-top: 18px;" > <a href="<?php echo tep_href_link(FILENAME_ACCOUNT); ?>" class=headerNavigation>My Account</a> <span class="style1">?|?</span> <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class=headerNavigation>Cart Contents</a> <span class="style1">?|?</span> <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING); ?>" class=headerNavigation>Checkout</a> <?php if (tep_session_is_registered('customer_id')) { ?> <span class="style1">?|?</span> <a href="<?php echo tep_href_link(FILENAME_LOGOFF); ?>" class=headerNavigation>Log Out</a> <?php } ?> </TD> </TR> </TABLE> <!-- header_eof //--> <!-- body //--> <TABLE border="0" width="100%" cellspacing="0" cellpadding="0" align="center"> <TR> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.