chrometweaks.org

How do I upload my HTML site to iPage.com?

Click Here To View All Answers...


First question I have is How do I upload my HTML site to iPage.com? Thanks for any response. Another question on my mind: Hi I need some help or advice on how to remove theses boxes on the login page page I have 3 boxes.

1 box says (I am a returning customer.).

2 box (New Customer).

3 box (Proceed Directly to Checkout).

What I want to do is remove the 1 and 2 boxes so it just showns (Proceed Directly to Checkout).

If you click below it will show you the page I am talking about.

Login page.

Thxs..

Comments (137)

Hmm... I need to find out myself. I don't know what is the answer to that question. I'll do some research and get back to you if I bump into an good answer. You should email the people at iPage as they probably could help you..

Comment #1

You will need to change your catalog/includes/login_pwa.php file as that is where the boxes are created. I am pretty sure if you just change the file to read like this you should be all set..

<?php.

<td>.

$pwa_checkout_title = HEADING_CHECKOUT;.

$pwa_checkout_info = "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber1\">.

 <tr>.

   <td width=\"100%\" class=\"main\" colspan=\"3\">"TEXT_CHECKOUT_INTRODUCTION"</td>.

 </tr>.

 <tr>.

   <td width=\"100%\" class=\"main\" colspan=\"3\">"tep_draw_separator('pixel_trans.gif', '100%', '10')"</td>.

 </tr>.

 <tr>.

   <td width=\"33%\" class=\"main\"></td>.

   <td width=\"33%\"></td>.

   <td width=\"34%\" rowspan=\"3\" align=\"center\">"'<a href="'tep_href_link(FILENAME_CHECKOUT, '', 'SSL')'">'tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT)'</a>'"<br><br></td>.

 </tr>.

</table>";.

//===========================================================.

?>.

<?php echo tep_draw_separator('pixel_trans.gif', '100%', '15'); ?>.

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

   <tr>.

    <td class="main" width=100% valign="top" align="center">.

<?php.

 $info_box_contents = array();.

 $info_box_contents[] = array('align' => 'left',.

                              'text'  => $pwa_checkout_title );.

 new infoBoxHeading($info_box_contents, true, true);.

 $info_box_contents = array();.

 $info_box_contents[] = array('align' => 'left',.

                              'text'  => $pwa_checkout_info);.

 new infoBox($info_box_contents);.

?>.

 </td>.

 </tr>.

</table>.

</td>..

Comment #2

Which contribution is this....

Purchase without account.

This post has been edited by.

241.

: 14 February 2004, 18:58..

Comment #3

I got parse error.

The cont is PWA.

MY Code is login_pwa.php.

<td>.

<?php.

//BOF: MaxiDVD Returning Customer Info SECTION.

//===========================================================.

$returning_customer_title = TEXT_RETURNING_CUSTOMER;.

$returning_customer_info = "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber1\">.

<tr>.

<td width=\"100%\" class=\"main\" colspan=\"3\">"HEADING_RETURNING_CUSTOMER"</td>.

</tr>.

<tr>.

<td width=\"100%\" class=\"main\" colspan=\"3\">"tep_draw_separator('pixel_trans.gif', '100%', '10')"</td>.

</tr>.

<tr>.

<td class=\"main\">.

<table width=\"70%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"left\">.

<tr>.

<td class=\"main\">"ENTRY_EMAIL_ADDRESS"</td>.

<td>"tep_draw_input_field('email_address')"</td>.

</tr>.

<tr>.

<td class=\"main\">"ENTRY_PASSWORD"<br><br></td>.

<td>"tep_draw_password_field('password')"<br><br></td>.

</tr>.

</table>.

<table width=\"30%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"right\">.

<tr>.

<td align=\"center\" class=\"smalltext\">"tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN)"<br><br>"'<a href="'tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL')'">'TEXT_PASSWORD_FORGOTTEN'</a>'"<br><br></td>.

</tr>.

</table>.

</td>.

</tr>.

</table>.

";.

//===========================================================.

?>.

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

<tr>.

<td class="main" width=100% valign="top" align="center">.

<?php.

$info_box_contents = array();.

$info_box_contents[] = array('align' => 'left',.

'text' => $returning_customer_title );.

New infoBoxHeading($info_box_contents, true, true);.

$info_box_contents = array();.

$info_box_contents[] = array('align' => 'left',.

'text' => $returning_customer_info);.

New infoBox($info_box_contents);.

?>.

</td>.

</tr>.

</table>.

<?php.

//EOF: MaxiDVD Returning Customer Info SECTION.

//===========================================================.

//MaxiDVD New Account Sign Up SECTION.

//===========================================================.

$create_account_title = HEADING_NEW_CUSTOMER;.

$create_account_info = "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber1\">.

<tr>.

<td width=\"100%\" class=\"main\" colspan=\"3\">"TEXT_NEW_CUSTOMER_INTRODUCTION"</td>.

</tr>.

<tr>.

<td width=\"100%\" class=\"main\" colspan=\"3\">"tep_draw_separator('pixel_trans.gif', '100%', '10')"</td>.

</tr>.

<tr>.

<td width=\"33%\" class=\"main\"></td>.

<td width=\"33%\"></td>.

<td width=\"34%\" rowspan=\"3\" align=\"center\">"'<a href="'tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')'">'tep_image_button('button_create_account.gif', IMAGE_BUTTON_CREATE_ACCOUNT)'</a>'"<br><br></td>.

</tr>.

</table>";.

//===========================================================.

?>.

<?php echo tep_draw_separator('pixel_trans.gif', '100%', '15'); ?>.

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

<tr>.

<td class="main" width=100% valign="top" align="center">.

<?php.

$info_box_contents = array();.

$info_box_contents[] = array('align' => 'left',.

'text' => $create_account_title );.

New infoBoxHeading($info_box_contents, true, true);.

$info_box_contents = array();.

$info_box_contents[] = array('align' => 'left',.

'text' => $create_account_info);.

New infoBox($info_box_contents);.

?>.

</td>.

</tr>.

</table>.

<?php.

//EOF: MaxiDVD New Account Sign Up SECTION.

//===========================================================.

//BOF: MaxiDVD Purchase With-Out An Account SECTION.

//===========================================================.

$pwa_checkout_title = HEADING_CHECKOUT;.

$pwa_checkout_info = "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber1\">.

<tr>.

<td width=\"100%\" class=\"main\" colspan=\"3\">"TEXT_CHECKOUT_INTRODUCTION"</td>.

</tr>.

<tr>.

<td width=\"100%\" class=\"main\" colspan=\"3\">"tep_draw_separator('pixel_trans.gif', '100%', '10')"</td>.

</tr>.

<tr>.

<td width=\"33%\" class=\"main\"></td>.

<td width=\"33%\"></td>.

<td width=\"34%\" rowspan=\"3\" align=\"center\">"'<a href="'tep_href_link(FILENAME_CHECKOUT, '', 'SSL')'">'tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT)'</a>'"<br><br></td>.

</tr>.

</table>";.

//===========================================================.

?>.

<?php echo tep_draw_separator('pixel_trans.gif', '100%', '15'); ?>.

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

<tr>.

<td class="main" width=100% valign="top" align="center">.

<?php.

$info_box_contents = array();.

$info_box_contents[] = array('align' => 'left',.

'text' => $pwa_checkout_title );.

New infoBoxHeading($info_box_contents, true, true);.

$info_box_contents = array();.

$info_box_contents[] = array('align' => 'left',.

'text' => $pwa_checkout_info);.

New infoBox($info_box_contents);.

?>.

</td>.

</tr>.

</table>.

<?php.

//EOF: MaxiDVD Purchase With-Out An Account SECTION.

//===========================================================.

?>.

</td>.

This post has been edited by.

Admin@choice.

: 14 February 2004, 18:59..

Comment #4

Parse error: parse error in /data/members/paid/c/h/choice-computers.com/htdocs/www/includes/login_pwa.php on line 2..

Comment #5

The line #2 is because there is html code within the php code you will need to break in and out of php for the html.

<?php.

<td>.

$pwa_checkout_title = HEADING_CHECKOUT;.

$pwa_checkout_info = "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber1\">.

<tr>.

  <td width=\"100%\" class=\"main\" colspan=\"3\">"TEXT_CHECKOUT_INTRODUCTION"</td>.

</tr>.

<tr>.

  <td width=\"100%\" class=\"main\" colspan=\"3\">"tep_draw_separator('pixel_trans.gif', '100%', '10')"</td>.

</tr>.

<tr>.

  <td width=\"33%\" class=\"main\"></td>.

  <td width=\"33%\"></td>.

  <td width=\"34%\" rowspan=\"3\" align=\"center\">"'<a href="'tep_href_link(FILENAME_CHECKOUT, '', 'SSL')'">'tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT)'</a>'"<br><br></td>.

</tr>.

</table>";.

//===========================================================.

?>.

Should read.

<td>.

<?php.

Also in other parts of the above code the same principle will apply..

Comment #6

Hi I need some help or advice on how to remove theses boxes on the login page page I have 3 boxes.

1 box says (I am a returning customer.).

2 box (New Customer).

3 box (Proceed Directly to Checkout).

What I want to do is remove the 1 and 2 boxes so it just showns (Proceed Directly to Checkout).

If you click below it will show you the page I am talking about.

Login page.

Thxs..

Comment #7

Thxs but what do I comment out hehehe.

<?php.

/*.

$Id: login.php,v 1.80 2003/06/05 23:28:24 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2003 osCommerce.

Released under the GNU General Public License.

*/.

Require('includes/application_top.php');.

// redirect the customer to a friendly cookie-must-be-enabled page if cookies are disabled (or the session has not started).

If ($session_started == false) {.

Tep_redirect(tep_href_link(FILENAME_COOKIE_USAGE));.

}.

Require(DIR_WS_LANGUAGES$language'/'FILENAME_LOGIN);.

$error = false;.

If (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'process')) {.

$email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']);.

$password = tep_db_prepare_input($HTTP_POST_VARS['password']);.

// Check if email exists.

$check_customer_query = tep_db_query("select customers_id, customers_firstname, customers_password, customers_email_address, customers_default_address_id from "TABLE_CUSTOMERS" where customers_email_address = '"tep_db_input($email_address)"'");.

If (!tep_db_num_rows($check_customer_query)) {.

$error = true;.

} else {.

$check_customer = tep_db_fetch_array($check_customer_query);.

// Check that password is good.

If (!tep_validate_password($password, $check_customer['customers_password'])) {.

$error = true;.

} else {.

If (SESSION_RECREATE == 'True') {.

Tep_session_recreate();.

}.

$check_country_query = tep_db_query("select entry_country_id, entry_zone_id from "TABLE_ADDRESS_BOOK" where customers_id = '"(int)$check_customer['customers_id']"' and address_book_id = '"(int)$check_customer['customers_default_address_id']"'");.

$check_country = tep_db_fetch_array($check_country_query);.

$customer_id = $check_customer['customers_id'];.

$customer_default_address_id = $check_customer['customers_default_address_id'];.

$customer_first_name = $check_customer['customers_firstname'];.

$customer_country_id = $check_country['entry_country_id'];.

$customer_zone_id = $check_country['entry_zone_id'];.

Tep_session_register('customer_id');.

Tep_session_register('customer_default_address_id');.

Tep_session_register('customer_first_name');.

Tep_session_register('customer_country_id');.

Tep_session_register('customer_zone_id');.

Tep_db_query("update "TABLE_CUSTOMERS_INFO" set customers_info_date_of_last_logon = now(), customers_info_number_of_logons = customers_info_number_of_logons+1 where customers_info_id = '"(int)$customer_id"'");.

// restore cart contents.

$cart->restore_contents();.

If (sizeof($navigation->snapshot) > 0) {.

$origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']);.

$navigation->clear_snapshot();.

Tep_redirect($origin_href);.

} else {.

Tep_redirect(tep_href_link(FILENAME_DEFAULT));.

}.

}.

}.

}.

If ($error == true) {.

$messageStack->add('login', TEXT_LOGIN_ERROR);.

}.

Require(DIR_WS_LANGUAGES$language'/'FILENAME_LOGIN);.

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_LOGIN, '', 'SSL'));.

?>.

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">.

<html <?php echo HTML_PARAMS; ?>.

<head>.

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">.

<?php require(DIR_WS_INCLUDES'meta_tags.php'); ?>.

<title>Welcome To Choice Computers</title>.

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER)DIR_WS_CATALOG; ?>">.

<meta name="description" content="The ONLY web iPage site you will need for all your computer needs, complete with free home installations and setup" />.

<meta name="keywords" content="Computer, Computers, Component, Systems, Custom, Printers, Scanners, Online, Purchasing, Secure, Free Installation And Setup On All Computers" />.

<link rel="stylesheet" type="text/css" href="stylesheet.css">.

<?php if ($javascript) { require(DIR_WS_JAVASCRIPT$javascript); } ?>.

</head>.

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">.

<! warnings //>.

<?php require(DIR_WS_INCLUDES'warnings.php'); ?>.

<! warning_eof //>.

<! header //>.

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

<tr class="header">.

<td bgcolor="#336699">.

<p align="center">.

<img border="0" src="http://www.choice-computers.com/images/4th.JPG" align="left"></p>.

<p align="right">&nbsp;</p>.

<p align="right">&nbsp;</p>.

</td>.

</tr>.

</table>.

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

<tr>.

<td class="headerNavigation" height="19" bordercolor="#008000" style="border: 1px solid #336699; padding: 1" bgcolor="#336699">&nbsp;.

<a style="text-decoration: blink" href="http://www.choice-computers.com">.

<font color="#FFFFFF">Home</font></a><font color="#FFFFFF"> |.

<a href="http://www.choice-computers.com/contact_us.php" style="text-decoration: none">.

<font color="#FFFFFF">Contact Support</font></a> |.

<a href="http://www.choice-computers.com/shipping.php" style="text-decoration: none">.

<font color="#FFFFFF">Delivery Information</font></a> |.

<a style="text-decoration: none" target="_blank" href="http://www.choice-computers.com/Payment.htm">.

<font color="#FFFFFF">Payment Information</font></a></font></td>.

<td align="right" class="headerNavigation" height="19" bordercolor="#008000" style="border: 1px solid #336699; padding: 1" bgcolor="#336699"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>.

&nbsp;|&nbsp; <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>.

&nbsp;|&nbsp; <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>.

&nbsp;|&nbsp; <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>.

&nbsp;&nbsp;</td>.

</tr>.

<tr>.

<td class="headerNavigation" height="19" bordercolor="#008000" style="border: 1px solid #C0C0C0; padding: 1" bgcolor="#FFFFFF" colspan="2">&nbsp;&nbsp;<?php echo $breadcrumb->trail(' &raquo; '); ?></td>.

</tr>.

</table>.

<! header_eof //>.

<! body //>.

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

<tr>.

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">.

<! left_navigation //>.

<?php require(DIR_WS_INCLUDES'column_left.php'); ?>.

<! left_navigation_eof //>.

</table></td>.

<! body_text //>.

<td width="100%" valign="top"><?php echo tep_draw_form('login', tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

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

<tr>.

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>.

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES'table_background_login.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>.

</tr>.

</table></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<?php.

If ($messageStack->size('login') > 0) {.

?>.

<tr>.

<td><?php echo $messageStack->output('login'); ?></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<?php.

}.

If ($cart->count_contents() > 0) {.

?>.

<tr>.

<td class="smallText"><?php echo TEXT_VISITORS_CART; ?></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<?php.

}.

?>.

<tr>.

<td align="center"><table cellSpacing="0" cellPadding="2" width="70%" border="0">.

<?php.

If (PWA_ON == 'false') {.

Require(DIR_WS_INCLUDESFILENAME_PWA_ACC_LOGIN);.

} else {.

Require(DIR_WS_INCLUDESFILENAME_PWA_PWA_LOGIN);.

}.

?>.

</tr>.

</table></td>.

</tr>.

</table></form></td>.

<! body_text_eof //>.

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">.

<! right_navigation //>.

<?php require(DIR_WS_INCLUDES'column_right.php'); ?>.

<! right_navigation_eof //>.

</table></td>.

</tr>.

</table>.

<! body_eof //>.

<! footer //>.

<?php require(DIR_WS_INCLUDES'counter.php'); ?>.

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

<tr>.

<td class="footer" height="19">&nbsp;</td>.

</tr>.

<tr class="footer">.

<td bgcolor="#FFFFFF" height="19">&nbsp;</td>.

</tr>.

<tr class="footer">.

<td bgcolor="#FFFFFF" height="163">.

<p align="center" style="margin-bottom: -13">.

&nbsp;&nbsp;.

<img border="0" src="http://www.choice-computers.com/images/world.gif" width="148" height="46">&nbsp;&nbsp; </p>.

<p align="center" style="margin-bottom: -13">.

<img src="" width="20" height="16">.

<b>.

<font size="1" color="#336699">All Online orders are placed via&nbsp; SSL enabled Secure Server</font></b></p>.

<p align="center">.

<img title=" osCommerce " alt="osCommerce" src="http://www.choice-computers.com/images/CARD.gif" border="0" width="243" height="36"></td>.

</tr>.

</table>.

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

<tr>.

<td align="center" class="smallText">.

<?php.

/*.

The following copyright announcement can only be.

Appropriately modified or removed if the layout of.

The iPage site theme has been modified to distinguish.

Itself from the default osCommerce-copyrighted.

Theme..

For more information please read the following.

Frequently Asked Questions entry on the osCommerce.

Support site:.

Http://www.oscommerc...php/faq,26/q,50.

Please leave this comment intact together with the.

Following copyright announcement..

*/.

Echo FOOTER_TEXT_BODY.

?>.

</td>.

</tr>.

</table>.

<?php.

If ($banner = tep_banner_exists('dynamic', '468x50')) {.

?>.

<br>.

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

<tr>.

<td align="center"></td>.

</tr>.

</table>.

<?php.

}.

?>.

<! footer_eof //>.

<br>.

</body>.

</html>..

Comment #8


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