chrometweaks.org

Would an American Express Gift Card work on iPage?

Click Here To View All Answers...


My question is Would an American Express Gift Card work on iPage? Thanks in advance for any answer. Another question... I have an image displaying top 100 movies on the right hand side of my shop:.

Popcorn-uk.

However the only place I can insert the html is at the mottom which for some reason makes the image appear at the top?.

Here is my columb right php.

<?php.

/*.

 $Id: column_right.php,v 1.17 2003/06/09 22:06:41 hpdl Exp $.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.oscommerce.com.

 Copyright (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

 .

Require(DIR_WS_BOXES'shopping_cart.php');.

 if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES'order_history.php');.

Include(DIR_WS_BOXES'specials.php');.

 if (isset($HTTP_GET_VARS['products_id'])) {.

   if (tep_session_is_registered('customer_id')) {.

     $check_query = tep_db_query("select count(*) as count from "TABLE_CUSTOMERS_INFO" where customers_info_id = '"(int)$customer_id"' and global_product_notifications = '1'");.

     $check = tep_db_fetch_array($check_query);.

     if ($check['count'] > 0) {.

       include(DIR_WS_BOXES'best_sellers.php');.

     } else {.

     .

     }.

   } else {.

     .

   }.

 } else {.

   include(DIR_WS_BOXES'best_sellers.php');.

 }.

 if (isset($HTTP_GET_VARS['products_id'])) {.

   if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES'tell_a_friend.php');.

 } else {.

 .

 }.

 .

 if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {.

   .

   .

       require(DIR_WS_BOXES'test.php');.

       .

 }.

?>.

<div align="center"><a href="http://www.popcorn-uk.com/catalog/top100.php" target="_blank">&nbsp;<img src="http://www.popcorn-uk.com/catalog/images/top100pic.jpg" width="116" border="0" height="86"></a>        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td></p>.

</div>.

I would like to be able to choose where this appears amoungst the boxes on columb right..

Can anyone help?.

Mark..

Comments (78)

That's a good question. I'm not sure what is the answer to your question. I'll do some research and get back to you if I bump into an decent answer. You should email the people at iPage as they probably can answer it..

Comment #1

Have you tried breaking out of the php adding your code using a table then breaking back into php..

Comment #2

I have tried breaking into html and breaking out. This is the code I was using:.

<html>.

<div align="center"><a href="http://www.popcorn-uk.com/catalog/top100.php" target="_blank"><img src="http://www.popcorn-uk.com/catalog/images/top100pic.jpg" width="116" border="0" height="86"></a>        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td></p></div>.

</html>.

But it just came up with a parse error when I try to place it between existing boxes..

I don't want to put this in a box, but I do want to choose where it is displayed..

Does anyone know the answer to this?.

Thanks.

Mark..

Comment #3

Better post the whole code on the page so that everyone can hav a clearer picture where went wrong...

Comment #4

To break out of php you just close the php so instead of your code above you would use this:.

?>.

<div align="center"><a href="http://www.popcorn-uk.com/catalog/top100.php" target="_blank"><img src="http://www.popcorn-uk.com/catalog/images/top100pic.jpg" width="116" border="0" height="86"></a>        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td></p></div>.

<?php..

Comment #5

Thanks guys.

Well instead of breaking out, coz i'm afraid there will be no random reviews selected, i've change the small_image_width & height to subcategory_image_wigth & height as I'm not using this 2 settings for my page at the moment..

Comment #6

OK here is the whole code as requested. Obviously still haven't solved this problem..

<?php.

/*.

 $Id: column_right.php,v 1.17 2003/06/09 22:06:41 hpdl Exp $.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.oscommerce.com.

 Copyright (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

 .

Require(DIR_WS_BOXES'information.php');.

Require(DIR_WS_BOXES'shopping_cart.php');.

Include(DIR_WS_BOXES'livehelp.php');.

 if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES'order_history.php');.

Include(DIR_WS_BOXES'specials.php');.

 if (isset($HTTP_GET_VARS['products_id'])) {.

   if (tep_session_is_registered('customer_id')) {.

     $check_query = tep_db_query("select count(*) as count from "TABLE_CUSTOMERS_INFO" where customers_info_id = '"(int)$customer_id"' and global_product_notifications = '1'");.

     $check = tep_db_fetch_array($check_query);.

     if ($check['count'] > 0) {.

       include(DIR_WS_BOXES'best_sellers.php');.

     } else {.

     .

     }.

   } else {.

     .

   }.

 } else {.

   include(DIR_WS_BOXES'best_sellers.php');.

 }.

 if (isset($HTTP_GET_VARS['products_id'])) {.

   if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES'tell_a_friend.php');.

 } else {.

 .

 }.

 .

 if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {.

 }.

?>.

<div align="center"><a href="http://www.popcorn-uk.com/catalog/top100.php" target="_blank"><img src="http://www.popcorn-uk.com/catalog/images/top100pic.jpg" width="116" border="0" height="86"></a>        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td></p>.

</div>.

I did try the code suggested by Ryanf, but it still put it at the bottom..

I know that I could easily put it in a box, but I do not want it in a box and would love for someone to solve this minor problem...

Comment #7

I have an image displaying top 100 movies on the right hand side of my shop:.

Popcorn-uk.

However the only place I can insert the html is at the mottom which for some reason makes the image appear at the top?.

Here is my columb right php.

<?php.

/*.

 $Id: column_right.php,v 1.17 2003/06/09 22:06:41 hpdl Exp $.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.oscommerce.com.

 Copyright (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

 .

Require(DIR_WS_BOXES'shopping_cart.php');.

 if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES'order_history.php');.

Include(DIR_WS_BOXES'specials.php');.

 if (isset($HTTP_GET_VARS['products_id'])) {.

   if (tep_session_is_registered('customer_id')) {.

     $check_query = tep_db_query("select count(*) as count from "TABLE_CUSTOMERS_INFO" where customers_info_id = '"(int)$customer_id"' and global_product_notifications = '1'");.

     $check = tep_db_fetch_array($check_query);.

     if ($check['count'] > 0) {.

       include(DIR_WS_BOXES'best_sellers.php');.

     } else {.

     .

     }.

   } else {.

     .

   }.

 } else {.

   include(DIR_WS_BOXES'best_sellers.php');.

 }.

 if (isset($HTTP_GET_VARS['products_id'])) {.

   if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES'tell_a_friend.php');.

 } else {.

 .

 }.

 .

 if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {.

   .

   .

       require(DIR_WS_BOXES'test.php');.

       .

 }.

?>.

<div align="center"><a href="http://www.popcorn-uk.com/catalog/top100.php" target="_blank">&nbsp;<img src="http://www.popcorn-uk.com/catalog/images/top100pic.jpg" width="116" border="0" height="86"></a>        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td></p>.

</div>.

I would like to be able to choose where this appears amoungst the boxes on columb right..

Can anyone help?.

Mark..

Comment #8

I'm not sure how you wan it but I have mine done by putting the image in the box file instead of the column file..

Take a look at my page from the link below..

Comment #9


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