snubbr.com

How do I check the Verisign SSL protocol settings on my broswer?

Get a Verisign SSL certificate for 30 days FREE. Click here to use coupon...

Get a free trial of Verisign SSL certificates. Click here for this special deal...
My question is How do I check the Verisign SSL protocol settings on my broswer? Thanks for any response. Another question on my mind: Hi, whoever can help me will have a heart of gold..

Basically I have tried myself and got half way but not managed to do what I want and someone who knows wht they are doing it will be about 5mins work probably. (oh to have such knowledge) anyway..

I am looking at creating a form (or more you create a form) like contact us but I need to request the following information off the user. I am looking to have the form linked from our Returns page. So when clicked it goes to the Returns Form Page..

Info needed is the following:.

Cust Order Number: (input field) required.

Name: (input field) required.

Email: (input field) required.

AddressLine 1:(input field) required.

Adress Line 2:optional.

Postcode:(input field) required.

Tel:(input field) required.

Select nature of enquiry: (1) Return (2) Exchange (3) Refund (radio button possibly) 1 selection required.

Additional Info: (large input field) required.

No of items: (input field) required.

And if poss: upload picture (to show damaged goods) (optional).

Then on submit goes to the store email address.

As I say I got half way but not managed to fettle it as they say..

Please Please someone assist me you are all usually very good. I appreciate it loads..

Regards,.

Caroline..

Comments (148)

I'm stumped. I'm not so sure what is the right answer to your question. I'll do some poking around and get back to you if I find an good answer. You should email the people at Verisign as they probably could give you help..

Comment #1

If that does not do it, go to this website:.

Http://www.formgenics.com/index.php.

Can create custom forms, free, with validation then need to cut and paste the html code in the appropriate location...

Comment #2

Returns contrib oh I must have missed that, will check out, the other ones werent what I need..

If anyone knows code this is what I started to do. BUT when I submit it only emails the equiry text input and none of the others..

<?php.

/*.

$Id: contact_us.php,v 1.42 2003/06/12 12:17:07 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright (c) 2003 osCommerce.

Released under the GNU General Public License.

*/.

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

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

$error = false;.

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

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

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

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

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

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

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

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

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

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

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

If (tep_validate_email($email_address)) {.

Tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address);.

Tep_redirect(tep_href_link(FILENAME_RETURNS_FORM, 'action=success'));.

} else {.

$error = true;.

$messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);.

}.

}.

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_RETURNS_FORM));.

?>.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">.

<html <?php echo HTML_PARAMS; ?>>.

<head>.

<?php.

/*** Begin Header Tags SEO ***/.

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

Require(DIR_WS_INCLUDES'header_tags.php');.

} else {.

?>.

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

<?php.

}.

/*** End Header Tags SEO ***/.

?>.

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

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

<?php.

If (!isset($lng) || (isset($lng) && !is_object($lng))) {.

Include_once(DIR_WS_CLASSES'language.php');.

$lng = new language;.

}.

Reset($lng->catalog_languages);.

While (list($key, $value) = each($lng->catalog_languages)) {.

?>.

<link rel="alternate" type="application/rss+xml" title="<?php echo STORE_NAME' - 'BOX_INFORMATION_RSS; ?>" href="<?php echo FILENAME_RSS, '?language='$key; ?>">.

<?php.

}.

?>.

</head>.

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

<! header //>.

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

<! header_eof //>.

<table border="0" width="900" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" style="padding-bottom:3px; ">.

<tr>.

<td align="center">.

<! body //>.

<table border="0" width="886" cellspacing="0" cellpadding="0">.

<tr>.

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

<! left_navigation //>.

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

<! left_navigation_eof //>.

</table></td>.

<! body_text //>.

<td width="100%" valign="top" style="padding:0px 5px; "><?php echo tep_draw_form('contact_us', tep_href_link(FILENAME_CONTACT_US, 'action=send')); ?>.

<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 $info_box_contents = array();.

$info_box_contents[] = array('text' => HEADING_TITLE); new infoBoxHeading1($info_box_contents, true, true, false);?></td>.

</tr>.

</table></td>.

</tr>.

<tr>.

<td height="399" class="infoBox1" valign="top">.

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

<tr>.

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

</tr>.

<?php.

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

?>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<?php.

}.

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

?>.

<tr>.

<td class="main" align="center"><?php echo tep_image(DIR_WS_IMAGES'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"')TEXT_SUCCESS; ?></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 align="right"><?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE)'</a>'; ?></td>.

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

</tr>.

</table></td>.

</tr>.

</table></td>.

</tr>.

<?php.

} else {.

?>.

<tr>.

<td align="left"><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 class="main"><?php echo ORDERNO; ?></td>.

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

<td class="main"><?php echo tep_draw_textarea_field('additional', 'soft', 25, 15); ?></td>.

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

<td><?php echo tep_draw_textarea_field('enquiry', 'soft', 25, 15); ?></td>.

</tr>.

</table></td>.

</tr>.

</table></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '2'); ?></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 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>.

<?php.

}.

?>.

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

<td><?php new infoBoxFooter(''); ?></td>.

</tr>.

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

<! body_text_eof //>.

</tr>.

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

Comment #3

Not created any new tables so could this be reason why?..

Comment #4

No it's because when your sending the email - your only sending the enquiry field:.

If (tep_validate_email($email_address)) {.

Tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address);.

Delete these 2 lines ONLY and replace it with the following.

$info_to_send = "Order: "$order"\nName: "$name"\nEmail: "$email_address"\nAddress1: "$address1"\nAddress2: "$address2"\nCountry: "$country"\nPostcode: "$postcode"\nAdditional Info: "$additional"\nItems: "$items"\nEnquiry: "$enquiry"\n";.

If (tep_validate_email($email_address)) {.

Tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $info_to_send);..

Comment #5

Hi, just tried what you said to replace unfortunately though it's still only emailing what I put in the equiry field..

So all the others it misses out..

Url is: www.bodymaxsupplements.co.uk/store/returns_form.php.

You can see there are numerous text input areas..

Does it store any info in tables or is it simply an email what is typed in form?..

Comment #6

That's because your sending the form to contact us instead of the new page:.

<?php echo tep_draw_form('contact_us', tep_href_link(FILENAME_CONTACT_US, 'action=send')); ?>.

Ok first thing you need to do is open.

/store/includes/filenames.php.

And add just above the.

?>.

Tag the following:.

Define(FILENAME_RETURNS_FORM, 'returns_form.php');.

Then try this for your.

Returns_form.php.

<?php.

/*.

$Id: returns_form.php,v 1.42 2003/06/12 12:17:07 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright (c) 2003 osCommerce.

Released under the GNU General Public License.

*/.

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

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

$error = false;.

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

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

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

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

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

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

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

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

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

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

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

$info_to_send = "Order: "$order"\nName: "$name"\nEmail: "$email_address"\nAddress1: "$address1"\nAddress2: "$address2"\nCountry: "$country"\nPostcode: "$postcode"\nAdditional Info: "$additional"\nItems: "$items"\nEnquiry: "$enquiry"\n";.

If (tep_validate_email($email_address)) {.

Tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $info_to_send);.

Tep_redirect(tep_href_link(FILENAME_RETURNS_FORM, 'action=success'));.

} else {.

$error = true;.

$messageStack->add('returns_form', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);.

}.

}.

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_RETURNS_FORM));.

?>.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">.

<html <?php echo HTML_PARAMS; ?>>.

<head>.

<?php.

/*** Begin Header Tags SEO ***/.

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

Require(DIR_WS_INCLUDES'header_tags.php');.

} else {.

?>.

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

<?php.

}.

/*** End Header Tags SEO ***/.

?>.

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

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

<?php.

If (!isset($lng) || (isset($lng) && !is_object($lng))) {.

Include_once(DIR_WS_CLASSES'language.php');.

$lng = new language;.

}.

Reset($lng->catalog_languages);.

While (list($key, $value) = each($lng->catalog_languages)) {.

?>.

<link rel="alternate" type="application/rss+xml" title="<?php echo STORE_NAME' - 'BOX_INFORMATION_RSS; ?>" href="<?php echo FILENAME_RSS, '?language='$key; ?>">.

<?php.

}.

?>.

</head>.

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

<! header //>.

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

<! header_eof //>.

<table border="0" width="900" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" style="padding-bottom:3px; ">.

<tr>.

<td align="center">.

<! body //>.

<table border="0" width="886" cellspacing="0" cellpadding="0">.

<tr>.

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

<! left_navigation //>.

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

<! left_navigation_eof //>.

</table></td>.

<! body_text //>.

<td width="100%" valign="top" style="padding:0px 5px; "><?php echo tep_draw_form('returns_form', tep_href_link(FILENAME_RETURNS_FORM, 'action=send')); ?>.

<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 $info_box_contents = array();.

$info_box_contents[] = array('text' => HEADING_TITLE); new infoBoxHeading1($info_box_contents, true, true, false);?></td>.

</tr>.

</table></td>.

</tr>.

<tr>.

<td height="399" class="infoBox1" valign="top">.

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

<tr>.

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

</tr>.

<?php.

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

?>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<?php.

}.

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

?>.

<tr>.

<td class="main" align="center"><?php echo tep_image(DIR_WS_IMAGES'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"')TEXT_SUCCESS; ?></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 align="right"><?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE)'</a>'; ?></td>.

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

</tr>.

</table></td>.

</tr>.

</table></td>.

</tr>.

<?php.

} else {.

?>.

<tr>.

<td align="left"><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 class="main"><?php echo ORDERNO; ?></td>.

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

<td class="main"><?php echo tep_draw_textarea_field('additional', 'soft', 25, 15); ?></td>.

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

<td><?php echo tep_draw_textarea_field('enquiry', 'soft', 25, 15); ?></td>.

</tr>.

</table></td>.

</tr>.

</table></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '2'); ?></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 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>.

<?php.

}.

?>.

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

<td><?php new infoBoxFooter(''); ?></td>.

</tr>.

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

<! body_text_eof //>.

</tr>.

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

Theres no validation code in place there but I'm sure you can work that out..

Comment #7

Thanks for your help, done the changes but it's coming up with email invalid error on submit...

Comment #8

Please copy my ENTIRE code ... your still using the old one - the one I posted earlier is to be used to replace the ENTIRE.

Returns_form.php.

File:.

MAKE A BACKUP OF YOUR CURRENT ONE FIRST.

<?php.

/*.

$Id: returns_form.php,v 1.42 2003/06/12 12:17:07 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright (c) 2003 osCommerce.

Released under the GNU General Public License.

*/.

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

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

$error = false;.

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

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

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

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

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

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

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

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

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

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

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

$info_to_send = "Order: "$order"\nName: "$name"\nEmail: "$email_address"\nAddress1: "$address1"\nAddress2: "$address2"\nCountry: "$country"\nPostcode: "$postcode"\nAdditional Info: "$additional"\nItems: "$items"\nEnquiry: "$enquiry"\n";.

If (tep_validate_email($email_address)) {.

Tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $info_to_send);.

Tep_redirect(tep_href_link(FILENAME_RETURNS_FORM, 'action=success'));.

} else {.

$error = true;.

$messageStack->add('returns_form', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);.

}.

}.

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_RETURNS_FORM));.

?>.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">.

<html <?php echo HTML_PARAMS; ?>>.

<head>.

<?php.

/*** Begin Header Tags SEO ***/.

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

Require(DIR_WS_INCLUDES'header_tags.php');.

} else {.

?>.

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

<?php.

}.

/*** End Header Tags SEO ***/.

?>.

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

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

<?php.

If (!isset($lng) || (isset($lng) && !is_object($lng))) {.

Include_once(DIR_WS_CLASSES'language.php');.

$lng = new language;.

}.

Reset($lng->catalog_languages);.

While (list($key, $value) = each($lng->catalog_languages)) {.

?>.

<link rel="alternate" type="application/rss+xml" title="<?php echo STORE_NAME' - 'BOX_INFORMATION_RSS; ?>" href="<?php echo FILENAME_RSS, '?language='$key; ?>">.

<?php.

}.

?>.

</head>.

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

<! header //>.

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

<! header_eof //>.

<table border="0" width="900" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" style="padding-bottom:3px; ">.

<tr>.

<td align="center">.

<! body //>.

<table border="0" width="886" cellspacing="0" cellpadding="0">.

<tr>.

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

<! left_navigation //>.

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

<! left_navigation_eof //>.

</table></td>.

<! body_text //>.

<td width="100%" valign="top" style="padding:0px 5px; "><?php echo tep_draw_form('returns_form', tep_href_link(FILENAME_RETURNS_FORM, 'action=send')); ?>.

<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 $info_box_contents = array();.

$info_box_contents[] = array('text' => HEADING_TITLE); new infoBoxHeading1($info_box_contents, true, true, false);?></td>.

</tr>.

</table></td>.

</tr>.

<tr>.

<td height="399" class="infoBox1" valign="top">.

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

<tr>.

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

</tr>.

<?php.

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

?>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<?php.

}.

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

?>.

<tr>.

<td class="main" align="center"><?php echo tep_image(DIR_WS_IMAGES'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"')TEXT_SUCCESS; ?></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 align="right"><?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE)'</a>'; ?></td>.

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

</tr>.

</table></td>.

</tr>.

</table></td>.

</tr>.

<?php.

} else {.

?>.

<tr>.

<td align="left"><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 class="main"><?php echo ORDERNO; ?></td>.

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

<td class="main"><?php echo tep_draw_textarea_field('additional', 'soft', 25, 15); ?></td>.

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

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

</tr>.

<tr>.

<td><?php echo tep_draw_textarea_field('enquiry', 'soft', 25, 15); ?></td>.

</tr>.

</table></td>.

</tr>.

</table></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '2'); ?></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 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>.

<?php.

}.

?>.

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

<td><?php new infoBoxFooter(''); ?></td>.

</tr>.

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

<! body_text_eof //>.

</tr>.

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

Comment #9

Hi, sorry bout that thought I had done..

I have just tested it and thanks ever so much it is sending good..

Is there anyway I can change the subject line from it saying "enquiry from body max supplements" to something like "returns enquiry from body max supplements".

If asking too much then thanks for all your help to date, I really appreciate it..

Comment #10

No worries.

Yep thats an easy one ... find this line of code:.

Tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $info_to_send);.

Replace that line with the following two lines:.

$returns_email_subject = "returns enquiry from body max supplements";.

Tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $returns_email_subject, $info_to_send);.

Ofcourse you can change.

Returns enquiry from body max supplements.

To whatever email subject you want..

Comment #11

Cool thanks ever so much for your time and warm heart, couldnt have done it without you your a star,.

Caroline.

Hope you liked the site...

Comment #12

Cool thanks ever so much for your time and warm heart, couldnt have done it without you your a star,.

Caroline.

Hope you liked the site..

By any chance do you know how to change the word from check/money order to cheque. that would be in admin and where it pulls the info for checkout...

Comment #13

If your talking about the Check/Money order payment module - you can rename it at.

/store/includes/languages/english/modules/payment/moneyorder.php.

And renaming:.

Define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Check/Money Order');.

To.

Define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Cheque');..

Comment #14

Hi, whoever can help me will have a heart of gold..

Basically I have tried myself and got half way but not managed to do what I want and someone who knows wht they are doing it will be about 5mins work probably. (oh to have such knowledge) anyway..

I am looking at creating a form (or more you create a form) like contact us but I need to request the following information off the user. I am looking to have the form linked from our Returns page. So when clicked it goes to the Returns Form Page..

Info needed is the following:.

Cust Order Number: (input field) required.

Name: (input field) required.

Email: (input field) required.

AddressLine 1:(input field) required.

Adress Line 2:optional.

Postcode:(input field) required.

Tel:(input field) required.

Select nature of enquiry: (1) Return (2) Exchange (3) Refund (radio button possibly) 1 selection required.

Additional Info: (large input field) required.

No of items: (input field) required.

And if poss: upload picture (to show damaged goods) (optional).

Then on submit goes to the store email address.

As I say I got half way but not managed to fettle it as they say..

Please Please someone assist me you are all usually very good. I appreciate it loads..

Regards,.

Caroline..

Comment #15

Go to addons.oscommerce.com and search for the SUPER CONTACT US contribution.. that might just do what you need it to!..

Comment #16


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

 

Categories: Home | Diet & Weight Management | Vitamins & Supplements | Herbs & Cleansing |

Sexual Health | Medifast Support | Nutrisystem Support | Medifast Questions |

Web Hosting | Web Hosts | Website Hosting | Hosting |

Web Hosting | GoDaddy | Digital Cameras | Best WebHosts |

Web Hosting FAQ | Web Hosts FAQ | Hosting FAQ | Hosting Group |

Hosting Questions | Camera Tips | Best Cameras To Buy | Best Cameras This Year |

Camera Q-A | Digital Cameras Q-A | Camera Forum | Nov 2010 - Cameras |

Oct 2010 - Cameras | Oct 2010 - DSLRs | Oct 2010 - Camera Tips | Sep 2010 - Cameras |

Sep 2010 - DSLRS | Sep 2010 - Camera Tips | Aug 2010 - Cameras | Aug 2010 - DSLR Tips |

Aug 2010 - Camera Tips | July 2010 - Cameras | July 2010 - Nikon Cameras | July 2010 - Canon Cameras |

July 2010 - Pentax Cameras | Medifast Recipes | Medifast Recipes Tips | Medifast Recipes Strategies |

Medifast Recipes Experiences | Medifast Recipes Group | Medifast Recipes Forum | Medifast Support Strategies |

Medifast Support Experiences |

 

(C) Copyright 2010 All rights reserved.