That username and password combination ({$_REQUEST['customer_email']},{$_REQUEST['customer_password']}) was incorrect.

"; return false; } } elseif ($_SESSION['customer']) { $cust = get_customer_by_id($_SESSION['customer'],$link); return !empty($cust); } elseif ($_REQUEST['cmd'] == 'Create Account') { if (is_valid_email($_REQUEST['customer_email'])) { $data = array('first' => $_REQUEST['first'], 'last' => $_REQUEST['last'], 'email' => $_REQUEST['customer_email'], 'password' => $_REQUEST['customer_password']); if(!($id = new_customer($data,$link))) { echo "

Sorry,n error occurred. "; echo mysql_error($link); echo "

"; return false; } $_SESSION['customer'] = $id; return true; } else { echo "

You must enter a valid email address. Please go back and try again.

"; return false; } } else { return false; } } } if(!function_exists('do_request_login')) { function do_request_login() { global $PHP_SELF; echo "

Please Log In

\n"; echo "

To use the wish listeature of this store, you must have an account. If you "; echo "already have an account, please log in below. If you do not have an account, you may create "; echo "one now.

"; $form_action = $PHP_SELF; $pass_action = ''; foreach ($_POST as $k=>$v) { switch ($k) { case 'customer_email': case 'customer_password': case 'cmd': break; default: $pass_action .= "\n"; bre; } } echo <<Already Registered? Log in here:

$pass_action
Email:
Password:

New customers, register your free account here:

$pass_action
First Name:
Last Name:
Email Address:
Create a Password:
Retype Password:

END_OF_LOGIN_FORM; } } if(!function_exists('setup_wishlist')) { function setup_wishlist($link) { global $wishlist; $wishlist = new wish_list($_SESSION['customer'],$link); } } if(!function_exists('begin_page')) { function begin_page() { global $config,$system,$store_info,$link,$wishlist,$PHP_SELF; ?> Your wishlist :: <?php echo $system['store_name']; ?>
"; ?>

\n"; $bg = $i%2 ? '#ffffff' : '#eeeeee'; $item = $wishlist->item($i); $qstr = array("ProductID={$item['prodid']}&ProductName={$item['name']}&Quantity={$item['qty']}"); foreach($item['optionsets'] as $set => $opt) $qstr[] = urlencode("Option_{$set}").'='.urlencode($opt['optid']); $qstr = "?" . join('&',$qstr); echo "\t\n"; echo "\t\n"; echo "\t\n"; echo "\t\n"; echo "\n"; foreach($item['optionsets'] as $option) { echo "\n\t\n"; else echo "{$optn['name']}: {$option['optid']}
\n"; echo "\n"; } } ?>
Quantity wishlist Items (click to Modify) Price Remove
{$item['qty']}{$em['name']}\$".number_format($item['price'],2,'.',',')." each"; echo "[remove]
"; if (is_numeric($option['optid'])) echo "{$option['name']}
count())) echo "Your wishlist has no items"; else { ?> item1) echo 's'; ?> for a total of: totalString(); ?>

Continue Shopping          Checkout

To remove an item from your wishlist, click "remove" next to the item's name. To change options for an item or the quantity desired click the item's name. If you wish to change something, make the changes on that page and press "Add To wishlist" to save your changes.




Questions about your wishlist? Suggestions for how to improve? Please email us!

Return to