chrometweaks.org

What is the iPage reseller program?

Click Here To View All Answers...


My first question is What is the iPage reseller program? Hoping for any response. Second question.. Hi Guys,.

Would you please have a look at the screenshot below and then the code and please tell me how to move my images and category tabs back up so they are in line with the osc logo and cart/checkout icons..

I know it has something to do with the table tags but I am a bit unsure as to which ones..

<?php.

/*.

$Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl 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.

?>.

<table width="100%" cellpadding="10" cellspacing="0" border="0" BGCOLOR="#ffffff">.

<tr><td>.

<table border="0" width="100%"><tr><td>.

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

<tr class="header">.

<td valign="middle"><?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'tep_image(DIR_WS_TEMPLATE_IMAGES'logo.gif', 'Store Logo')'</a>'; ?></td>.

<td align="right" valign="bottom"><?php echo '<a href="'tep_href_link(FILENAME_ACCOUNT, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_account.gif', HEADER_TITLE_MY_ACCOUNT)'</a>&nbsp;&nbsp;<a href="'tep_href_link(FILENAME_SHOPPING_CART)'">'tep_image(DIR_WS_IMAGES'header_cart.gif', HEADER_TITLE_CART_CONTENTS)'</a>&nbsp;&nbsp;<a href="'tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_checkout.gif', HEADER_TITLE_CHECKOUT)'</a>'; ?>&nbsp;&nbsp;</td>.

</tr>.

<td align="right" valign="bottom">.

<img src="three.gif" width="24" height="20" border="0">.

<img src="o2.gif" width="24" height="20" border="0">.

<img src="orange.gif" width="40" height="39" border="0">.

<img src="tmobile.gif" width="80" height="25" border="0">.

<img src="vodaphone.gif" width="83" height="23" border="0">.

</td>.

<php? //BOF added category and mennu tabs ?>.

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

<tr><td>.

<?php include(DIR_WS_INCLUDES'cat_menu.php'); ?>.

  </td>.

 </tr>.

</table>.

<php? // EOF: Added: Category and menu tabs ?>.

<tr class="headerNavigation">.

<td colspan="2" align="center" class="headerNavigation">&nbsp;&nbsp;<?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'. BOX_INFORMATION_HOME'</a>'"\n"; ?></td>.

</td>.

</tr>.

<tr bgcolor="#FFFFCC" align="center">.

<td colspan="2" height="20"><font face=Verdana, size=1 arial,="undefined" helvetica,="undefined" sans-serif="undefined"><font color="#000066">.

</font>.

<?php.

$hide = tep_hide_session_id();.

Echo '<form name="quick_find" method="get" action="'tep_href_link (FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false)'">';.

Echo $hide'<input type="text" name="keywords" onFocus=this.value="" size="20" maxlength="30" value="'BOX_SEARCH_TEXT'">&nbsp;''<input type="submit" value="Go"><br><a href="'tep_href_link(FILENAME_ADVANCED_SEARCH)'">'BOX_SEARCH_ADVANCED_SEARCHtep_draw_hidden_field('search_in_description', '1')'</a>';.

Echo '</form>';.

?>.

</td>.

</tr>.

</table></td></tr></table>.

Thanx.

Mark..

Comments (68)

I'm stumped. I'm not so sure what is the answer. I'll do some poking around and get back to you if I discover an anything. You should email the people at iPage as they probably can help you..

Comment #1

Hi Sky,.

I managed to sort it out by jiggling the code around a bit..

Thanx.

Mark..

Comment #2

What did you do?.

Can you post the new code?..

Comment #3

Hi Alan,.

Here is the code, I also managed to close the gap between the category tabs and the bar below..

<?php.

/*.

$Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl 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.

?>.

<table width="100%" cellpadding="10" cellspacing="0" border="0" BGCOLOR="#ffffff">.

<tr><td>.

<table border="0" width="100%"><tr><td>.

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

<tr class="header">.

<td valign="middle"><?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'tep_image(DIR_WS_TEMPLATE_IMAGES'logo.gif', 'Store Logo')'</a>'; ?></td>.

<td align="center" valign="bottom">.

<img src="network_selection.gif" width="321" height="33" border="0">.

<td align="right" valign="bottom"><?php echo '<a href="'tep_href_link(FILENAME_ACCOUNT, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_account.gif', HEADER_TITLE_MY_ACCOUNT)'</a>&nbsp;&nbsp;<a href="'tep_href_link(FILENAME_SHOPPING_CART)'">'tep_image(DIR_WS_IMAGES'header_cart.gif', HEADER_TITLE_CART_CONTENTS)'</a>&nbsp;&nbsp;<a href="'tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_checkout.gif', HEADER_TITLE_CHECKOUT)'</a>'; ?>&nbsp;&nbsp;</td>.

<td align="center" valign="bottom">.

<img src="freedelivery.gif" width="217" height="33" border="0">.

</td>.

<php? //BOF added category and mennu tabs ?>.

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

<tr><td>.

<?php include(DIR_WS_INCLUDES'cat_menu.php'); ?>.

  </td>.

 </tr>.

<php? // EOF: Added: Category and menu tabs ?>.

<tr class="headerNavigation">.

<td align="center" height="20"><font face=Verdana, size=1 arial,="undefined" helvetica,="undefined" sans-serif="undefined" color="#ffffff"><b>UK Sales &amp; Customer Service: Monday-Friday 9am-5.30pm </b></font> </td>.

</td>.

</tr>.

<tr bgcolor="#FFFFCC" align="center">.

<td colspan="2" height="20"><font face=Verdana, size=1 arial,="undefined" helvetica,="undefined" sans-serif="undefined"><font color="#000066">.

</font>.

<?php.

$hide = tep_hide_session_id();.

Echo '<form name="quick_find" method="get" action="'tep_href_link (FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false)'">';.

Echo $hide'<input type="text" name="keywords" onFocus=this.value="" size="20" maxlength="30" value="'BOX_SEARCH_TEXT'">&nbsp;''<input type="submit" value="Go"><br><a href="'tep_href_link(FILENAME_ADVANCED_SEARCH)'">'BOX_SEARCH_ADVANCED_SEARCHtep_draw_hidden_field('search_in_description', '1')'</a>';.

Echo '</form>';.

?>.

</td>.

</tr>.

</table></td></tr></table>.

This code produces this (screenshot below).

As you can see my problem is now that I cannot seem to get my free delivery image below the cart/checkout icons..

Any ideas anyone, I have been on this for a while now and can not seem to figure out where exactly to put the code..

Thanx.

Mark.

Ps Alan, if you remove this code then it will take out the free delivery image and all will look well..

<td align="center" valign="bottom">.

<img src="freedelivery.gif" width="217" height="33" border="0">.

</td>..

Comment #4

Hi Guys,.

Has anyone had chance to have a look at my little problem yet?.

Thanx.

Mark..

Comment #5

Hi Guys,.

Please Please Please, I just need this little prob sorting and then I can move on and forget about the header..

I will get on my knees and beg if need be!.

Thanx.

Mark..

Comment #6

Hi Guys,.

Would you please have a look at the screenshot below and then the code and please tell me how to move my images and category tabs back up so they are in line with the osc logo and cart/checkout icons..

I know it has something to do with the table tags but I am a bit unsure as to which ones..

<?php.

/*.

$Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl 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.

?>.

<table width="100%" cellpadding="10" cellspacing="0" border="0" BGCOLOR="#ffffff">.

<tr><td>.

<table border="0" width="100%"><tr><td>.

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

<tr class="header">.

<td valign="middle"><?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'tep_image(DIR_WS_TEMPLATE_IMAGES'logo.gif', 'Store Logo')'</a>'; ?></td>.

<td align="right" valign="bottom"><?php echo '<a href="'tep_href_link(FILENAME_ACCOUNT, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_account.gif', HEADER_TITLE_MY_ACCOUNT)'</a>&nbsp;&nbsp;<a href="'tep_href_link(FILENAME_SHOPPING_CART)'">'tep_image(DIR_WS_IMAGES'header_cart.gif', HEADER_TITLE_CART_CONTENTS)'</a>&nbsp;&nbsp;<a href="'tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_checkout.gif', HEADER_TITLE_CHECKOUT)'</a>'; ?>&nbsp;&nbsp;</td>.

</tr>.

<td align="right" valign="bottom">.

<img src="three.gif" width="24" height="20" border="0">.

<img src="o2.gif" width="24" height="20" border="0">.

<img src="orange.gif" width="40" height="39" border="0">.

<img src="tmobile.gif" width="80" height="25" border="0">.

<img src="vodaphone.gif" width="83" height="23" border="0">.

</td>.

<php? //BOF added category and mennu tabs ?>.

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

<tr><td>.

<?php include(DIR_WS_INCLUDES'cat_menu.php'); ?>.

  </td>.

 </tr>.

</table>.

<php? // EOF: Added: Category and menu tabs ?>.

<tr class="headerNavigation">.

<td colspan="2" align="center" class="headerNavigation">&nbsp;&nbsp;<?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'. BOX_INFORMATION_HOME'</a>'"\n"; ?></td>.

</td>.

</tr>.

<tr bgcolor="#FFFFCC" align="center">.

<td colspan="2" height="20"><font face=Verdana, size=1 arial,="undefined" helvetica,="undefined" sans-serif="undefined"><font color="#000066">.

</font>.

<?php.

$hide = tep_hide_session_id();.

Echo '<form name="quick_find" method="get" action="'tep_href_link (FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false)'">';.

Echo $hide'<input type="text" name="keywords" onFocus=this.value="" size="20" maxlength="30" value="'BOX_SEARCH_TEXT'">&nbsp;''<input type="submit" value="Go"><br><a href="'tep_href_link(FILENAME_ADVANCED_SEARCH)'">'BOX_SEARCH_ADVANCED_SEARCHtep_draw_hidden_field('search_in_description', '1')'</a>';.

Echo '</form>';.

?>.

</td>.

</tr>.

</table></td></tr></table>.

Thanx.

Mark..

Comment #7

At first glance it seems as though your oscommerce logo and account links are on a row above the tabs, they should all be on the same row to line up properly. Also, it seems you are missing those <tr></tr> tags. There's a </tr> after header_checkout.gif but no <tr> before <td align="right" valign="bottom">..

You could try this:.

Make a table with 3 cells, first cell holds the oscommerce logo, second one holds an imbedded table with the tabs, third holds the account links. The imbedded table should have a fixed width instead of a percent and be centered, and valign everything to bottom..

Another table below it could hold the search bar..

Hope this helps..

Comment #8


This question was taken from a support group/message board and re-posted here so others can learn from it.