Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can someone please help the Idiot, Yup ME !!


linder60

Recommended Posts

Hello Every,

 

I hope this is only complicated to me but I messed up something pretty good here. Here's what I did, and I know its stupid !!

 

I wanted to put a paypal logo and a link to our ebay feedback using logos so they'd be spotted fairly easily in a box on the right side column but I couldnt figure out how to add a fresh box.

 

Here's the stupid part, I took a box that already existed the products notification box and changed the code to add the logos. It shows up as just logos on the right side and when you click on them the ebay logo takes you to the feedback page on ebay for us. When you click on the paypal logo it brings up the box which kind of explains paypal, for people who are unfamiliar with it. So thats okay, but.

 

When you put an email address in the tell a friend box, its comes up with product not found, and thats weird, I didnt do anything to the tell a friend.php code.

 

So I've been reading the boards and knowledge area about adding new boxes and having been playing with it for hours now, I tried to just add a new box to the right side and they didnt come out to good either. First I got a box to show up but where the header title was it showed up like this HEADING_TITLE_EBAY_FEEDBACK, very very tacky, plus it has a space in it to type, I dont need that, geez !! I copied and pasted the tell a friend format of coding into a new file and titled it ebay feedback. I figured if I could just make a new box, and put the two logos there, get rid of my products notifications box all together that would fix my logos in a box problem and maybe my tell a friend box would work again.

 

If anyone can shed some light on what the best thing to do would be I'd greatly appreciate it. My head is ready to explode, I've been sitting here reading and playing with the codes, starting over and changing and starting over for almost 4 hrs and nothing is working.

Luckily its my teststore I'm totally destroying.

 

Thanks for any input and have a great day.

Linda

Link to comment
Share on other sites

Make a copy of includes/boxes/information.php (renamed to your new box)

 

Edit the links inside it to the links you wish to have.

 

Go to includes/languages/english.php, and copy and paste the entry for the Information Box heading and the file listings, then edit them to what you want. Do the same for any other language files you wish to display it in e.g. spanish.php and german.php

 

For example, in includes/column_left.php enter:

require(DIR_WS_BOXES . 'new_box_name.php');

 

If these links are external to your website then you don't have to do anything else - except to make sure that any links to images downloaded from other websites are https links if you use either a shared or full ssl on your website - else you'll get errors when someone switches to an https page.

 

If you wish to add new pages and add them to a new box then that's a whole different story!

 

Vger

Link to comment
Share on other sites

Thanks Vger,

I got the new box to work fine, however. I still have a problem, when I type in an email address in the tell a friend box, hit enter, the shoppingcart/product_info.php page comes instead with no product found.

 

Here is my tell a friend.php file, does anyone see anything wrong with it that would cause it to do that, I'm so lost on this one now. I see stuff there from a contribution I had someone do for me does that make a difference ??

Thank you,

Linda

 

 

<?php

/*

$Id: tell_a_friend.php,v 1.42 2003/06/11 17:35:01 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');

 

if (!tep_session_is_registered('customer_id') && (ALLOW_GUEST_TO_TELL_A_FRIEND == 'true')) {

$navigation->set_snapshot();

tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));

}

 

$valid_product = false;

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

$product_info_query = tep_db_query("select pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'");

if (tep_db_num_rows($product_info_query)) {

$valid_product = true;

 

$product_info = tep_db_fetch_array($product_info_query);

}

}

 

if ($valid_product == false) {

tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id']));

}

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_TELL_A_FRIEND);

 

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

$error = false;

 

$to_email_address = tep_db_prepare_input($HTTP_POST_VARS['to_email_address']);

$to_name = tep_db_prepare_input($HTTP_POST_VARS['to_name']);

$from_email_address = tep_db_prepare_input($HTTP_POST_VARS['from_email_address']);

$from_name = tep_db_prepare_input($HTTP_POST_VARS['from_name']);

$message = tep_db_prepare_input($HTTP_POST_VARS['message']);

 

if (empty($from_name)) {

$error = true;

 

$messageStack->add('friend', ERROR_FROM_NAME);

}

 

if (!tep_validate_email($from_email_address)) {

$error = true;

 

$messageStack->add('friend', ERROR_FROM_ADDRESS);

}

 

if (empty($to_name)) {

$error = true;

 

$messageStack->add('friend', ERROR_TO_NAME);

}

 

if (!tep_validate_email($to_email_address)) {

$error = true;

 

$messageStack->add('friend', ERROR_TO_ADDRESS);

}

 

if ($error == false) {

$email_subject = sprintf(TEXT_EMAIL_SUBJECT, $from_name, STORE_NAME);

$email_body = sprintf(TEXT_EMAIL_INTRO, $to_name, $from_name, $product_info['products_name'], STORE_NAME) . "\n\n";

 

if (tep_not_null($message)) {

$email_body .= $message . "\n\n";

}

 

$email_body .= sprintf(TEXT_EMAIL_LINK, tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id'])) . "\n\n" .

sprintf(TEXT_EMAIL_SIGNATURE, STORE_NAME . "\n" . HTTP_SERVER . DIR_WS_CATALOG . "\n");

 

tep_mail($to_name, $to_email_address, $email_subject, $email_body, $from_name, $from_email_address);

 

$messageStack->add_session('header', sprintf(TEXT_EMAIL_SUCCESSFUL_SENT, $product_info['products_name'], tep_output_string_protected($to_name)), 'success');

 

tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id']));

}

} elseif (tep_session_is_registered('customer_id')) {

$account_query = tep_db_query("select customers_firstname, customers_lastname, customers_email_address from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . "'");

$account = tep_db_fetch_array($account_query);

 

$from_name = $account['customers_firstname'] . ' ' . $account['customers_lastname'];

$from_email_address = $account['customers_email_address'];

}

 

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_TELL_A_FRIEND, 'products_id=' . $HTTP_GET_VARS['products_id']));

?>

<!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

// BOF: WebMakers.com Changed: Header Tag Controller v1.0

// Replaced by header_tags.php

if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {

require(DIR_WS_INCLUDES . 'header_tags.php');

} else {

?>

<title><?php echo TITLE; ?></title>

<?php

}

// EOF: WebMakers.com Changed: Header Tag Controller v1.0

?>

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

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

</head>

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

<!-- header //-->

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

<!-- 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('email_friend', tep_href_link(FILENAME_TELL_A_FRIEND, 'action=process&products_id=' . $HTTP_GET_VARS['products_id'])); ?><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 sprintf(HEADING_TITLE, $product_info['products_name']); ?></td>

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_contact_us.gif', sprintf(HEADING_TITLE, $product_info['products_name']), 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('friend') > 0) {

?>

<tr>

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

</tr>

<tr>

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

</tr>

<?php

}

?>

<tr>

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

<tr>

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

<tr>

<td class="main"><b><?php echo FORM_TITLE_CUSTOMER_DETAILS; ?></b></td>

<td class="inputRequirement" align="right"><?php echo FORM_REQUIRED_INFORMATION; ?></td>

</tr>

</table></td>

</tr>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><table border="0" cellspacing="0" cellpadding="2">

<tr>

<td class="main"><?php echo FORM_FIELD_CUSTOMER_NAME; ?></td>

<td class="main"><?php echo tep_draw_input_field('from_name'); ?></td>

</tr>

<tr>

<td class="main"><?php echo FORM_FIELD_CUSTOMER_EMAIL; ?></td>

<td class="main"><?php echo tep_draw_input_field('from_email_address'); ?></td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

<tr>

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

</tr>

<tr>

<td class="main"><b><?php echo FORM_TITLE_FRIEND_DETAILS; ?></b></td>

</tr>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><table border="0" cellspacing="0" cellpadding="2">

<tr>

<td class="main"><?php echo FORM_FIELD_FRIEND_NAME; ?></td>

<td class="main"><?php echo tep_draw_input_field('to_name') . ' <span class="inputRequirement">' . ENTRY_FIRST_NAME_TEXT . '</span>'; ?></td>

</tr>

<tr>

<td class="main"><?php echo FORM_FIELD_FRIEND_EMAIL; ?></td>

<td class="main"><?php echo tep_draw_input_field('to_email_address') . ' <span class="inputRequirement">' . ENTRY_EMAIL_ADDRESS_TEXT . '</span>'; ?></td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

<tr>

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

</tr>

<tr>

<td class="main"><b><?php echo FORM_TITLE_FRIEND_MESSAGE; ?></b></td>

</tr>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><?php echo tep_draw_textarea_field('message', 'soft', 40, 8); ?></td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

<tr>

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

</tr>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

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

<tr>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id']) . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td>

<td align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

</tr>

</table></td>

</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 . 'footer.php'); ?>

<!-- footer_eof //-->

<br>

</body>

</html>

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

Link to comment
Share on other sites

hi there

 

this problem sounds like there is a problem with cookies

check you catalog/includes/configure.php make sure the cookies domain is set also your server information

make sure you disable force cookies in the admin section

 

if you have any problems email secure through our website pcgiant.co.uk

 

 

hope this helps

 

kind regards

 

maltonge

 

Thanks Vger,

I got the new box to work fine, however. I still have a problem, when I type in an email address in the tell a friend box, hit enter, the shoppingcart/product_info.php page comes instead with no product found.

 

Here is my tell a friend.php file, does anyone see anything wrong with it that would cause it to do that, I'm so lost on this one now. I see stuff there from a contribution I had someone do for me does that make a difference ??

Thank you,

Linda

 

 

<?php

/*

$Id: tell_a_friend.php,v 1.42 2003/06/11 17:35:01 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');

 

if (!tep_session_is_registered('customer_id') && (ALLOW_GUEST_TO_TELL_A_FRIEND == 'true')) {

$navigation->set_snapshot();

tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));

}

 

$valid_product = false;

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

$product_info_query = tep_db_query("select pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'");

if (tep_db_num_rows($product_info_query)) {

$valid_product = true;

 

$product_info = tep_db_fetch_array($product_info_query);

}

}

 

if ($valid_product == false) {

tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id']));

}

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_TELL_A_FRIEND);

 

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

$error = false;

 

$to_email_address = tep_db_prepare_input($HTTP_POST_VARS['to_email_address']);

$to_name = tep_db_prepare_input($HTTP_POST_VARS['to_name']);

$from_email_address = tep_db_prepare_input($HTTP_POST_VARS['from_email_address']);

$from_name = tep_db_prepare_input($HTTP_POST_VARS['from_name']);

$message = tep_db_prepare_input($HTTP_POST_VARS['message']);

 

if (empty($from_name)) {

$error = true;

 

$messageStack->add('friend', ERROR_FROM_NAME);

}

 

if (!tep_validate_email($from_email_address)) {

$error = true;

 

$messageStack->add('friend', ERROR_FROM_ADDRESS);

}

 

if (empty($to_name)) {

$error = true;

 

$messageStack->add('friend', ERROR_TO_NAME);

}

 

if (!tep_validate_email($to_email_address)) {

$error = true;

 

$messageStack->add('friend', ERROR_TO_ADDRESS);

}

 

if ($error == false) {

$email_subject = sprintf(TEXT_EMAIL_SUBJECT, $from_name, STORE_NAME);

$email_body = sprintf(TEXT_EMAIL_INTRO, $to_name, $from_name, $product_info['products_name'], STORE_NAME) . "\n\n";

 

if (tep_not_null($message)) {

$email_body .= $message . "\n\n";

}

 

$email_body .= sprintf(TEXT_EMAIL_LINK, tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id'])) . "\n\n" .

sprintf(TEXT_EMAIL_SIGNATURE, STORE_NAME . "\n" . HTTP_SERVER . DIR_WS_CATALOG . "\n");

 

tep_mail($to_name, $to_email_address, $email_subject, $email_body, $from_name, $from_email_address);

 

$messageStack->add_session('header', sprintf(TEXT_EMAIL_SUCCESSFUL_SENT, $product_info['products_name'], tep_output_string_protected($to_name)), 'success');

 

tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id']));

}

} elseif (tep_session_is_registered('customer_id')) {

$account_query = tep_db_query("select customers_firstname, customers_lastname, customers_email_address from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . "'");

$account = tep_db_fetch_array($account_query);

 

$from_name = $account['customers_firstname'] . ' ' . $account['customers_lastname'];

$from_email_address = $account['customers_email_address'];

}

 

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_TELL_A_FRIEND, 'products_id=' . $HTTP_GET_VARS['products_id']));

?>

<!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

// BOF: WebMakers.com Changed: Header Tag Controller v1.0

// Replaced by header_tags.php

if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {

require(DIR_WS_INCLUDES . 'header_tags.php');

} else {

?>

<title><?php echo TITLE; ?></title>

<?php

}

// EOF: WebMakers.com Changed: Header Tag Controller v1.0

?>

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

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

</head>

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

<!-- header //-->

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

<!-- 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('email_friend', tep_href_link(FILENAME_TELL_A_FRIEND, 'action=process&products_id=' . $HTTP_GET_VARS['products_id'])); ?><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 sprintf(HEADING_TITLE, $product_info['products_name']); ?></td>

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_contact_us.gif', sprintf(HEADING_TITLE, $product_info['products_name']), 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('friend') > 0) {

?>

<tr>

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

</tr>

<tr>

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

</tr>

<?php

}

?>

<tr>

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

<tr>

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

<tr>

<td class="main"><b><?php echo FORM_TITLE_CUSTOMER_DETAILS; ?></b></td>

<td class="inputRequirement" align="right"><?php echo FORM_REQUIRED_INFORMATION; ?></td>

</tr>

</table></td>

</tr>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><table border="0" cellspacing="0" cellpadding="2">

<tr>

<td class="main"><?php echo FORM_FIELD_CUSTOMER_NAME; ?></td>

<td class="main"><?php echo tep_draw_input_field('from_name'); ?></td>

</tr>

<tr>

<td class="main"><?php echo FORM_FIELD_CUSTOMER_EMAIL; ?></td>

<td class="main"><?php echo tep_draw_input_field('from_email_address'); ?></td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

<tr>

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

</tr>

<tr>

<td class="main"><b><?php echo FORM_TITLE_FRIEND_DETAILS; ?></b></td>

</tr>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><table border="0" cellspacing="0" cellpadding="2">

<tr>

<td class="main"><?php echo FORM_FIELD_FRIEND_NAME; ?></td>

<td class="main"><?php echo tep_draw_input_field('to_name') . '?<span class="inputRequirement">' . ENTRY_FIRST_NAME_TEXT . '</span>'; ?></td>

</tr>

<tr>

<td class="main"><?php echo FORM_FIELD_FRIEND_EMAIL; ?></td>

<td class="main"><?php echo tep_draw_input_field('to_email_address') . '?<span class="inputRequirement">' . ENTRY_EMAIL_ADDRESS_TEXT . '</span>'; ?></td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

<tr>

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

</tr>

<tr>

<td class="main"><b><?php echo FORM_TITLE_FRIEND_MESSAGE; ?></b></td>

</tr>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><?php echo tep_draw_textarea_field('message', 'soft', 40, 8); ?></td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

<tr>

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

</tr>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

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

<tr>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id']) . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td>

<td align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

</tr>

</table></td>

</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 . 'footer.php'); ?>

<!-- footer_eof //-->

<br>

</body>

</html>

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...