{* $Id: giftcert.tpl,v 1.18.2.1 2003/03/24 13:42:30 svowl Exp $ *} { include file="location.tpl" last_location=$lng.lbl_gift_certificates } {include file="check_email_script.tpl"} {literal} {/literal}
{$lng.txt_gc_header}
{if $login and $usertype eq "C"}

{capture name=dialog} {$lng.txt_gift_certificate_checking_msg}

{if $smarty.get.gcid and $gc_array eq ""} {$lng.err_gc_not_found} {/if}
{$lng.lbl_gift_certificate}:
{if $gc_array}


{$lng.lbl_gc_id}: {$gc_array.gcid}
{$lng.lbl_amount}: {include file="currency.tpl" value=$gc_array.amount}
{$lng.lbl_remain}: {include file="currency.tpl" value=$gc_array.debit}
{$lng.lbl_status}: {if $gc_array.status eq "P"}Pending {elseif $gc_array.status eq "A"}Active {elseif $gc_array.status eq "B"}Blocked {elseif $gc_array.status eq "D"}Disabled {elseif $gc_array.status eq "E"}Expired {elseif $gc_array.status eq "U"}Used {/if}
{/if} {/capture} {include file="dialog.tpl" title=$lng.lbl_gift_certificate_checking content=$smarty.capture.dialog extra="width=100%"} {/if}

{capture name=dialog} {if $amount_error}

{$lng.txt_amount_invalid}

{/if} {if $usertype eq "C"} {else} {/if} {if $config.Modules.enablePostMailGC eq "Y"} {/if}
1. {$lng.lbl_gc_whom_sending}
{$lng.lbl_gc_whom_sending_subtitle}
{$lng.lbl_from} *
{$lng.lbl_to} *

2. {$lng.lbl_gc_add_message}
{$lng.lbl_gc_add_message_subtitle}
{$lng.lbl_message}

3. {$lng.lbl_gc_choose_amount}
{$lng.lbl_gc_choose_amount_subtitle}
{$config.General.currency_symbol} * {if $usertype eq "C"}{$lng.lbl_gc_amount_msg} ${$min_gc_amount} - ${$max_gc_amount}{/if}
 

4. {$lng.lbl_gc_choose_delivery_method}

{if $config.Modules.enablePostMailGC eq "Y"} {else} {/if}
{$lng.lbl_gc_send_via_email}
{$lng.lbl_gc_enter_email}

{$lng.lbl_email} *
 

 
{$lng.lbl_gc_send_via_postal_mail}
{$lng.txt_gc_enter_postal_mail}

{$lng.lbl_first_name} *
{$lng.lbl_last_name} *
{$lng.lbl_address} *
{$lng.lbl_city} *
{$lng.lbl_zip_code} *
{$lng.lbl_state} * {if $states ne ""} {else} {/if}
{$lng.lbl_country} *
{$lng.lbl_phone}

{if $usertype eq "C" or ($usertype eq "A" and $smarty.get.mode eq "modify_gc")} {if $smarty.get.gcindex ne "" or ($usertype eq "A" and $smarty.get.mode eq "modify_gc")} {$lng.lbl_gc_update} {else} {$lng.lbl_gc_add_to_cart} {/if} {else} {$lng.lbl_gc_create} {/if}
{/capture} {include file="dialog.tpl" title=$lng.lbl_gift_certificate content=$smarty.capture.dialog extra="width=100%"}