Prev | Current Page 624 | Next

Emilian Balanescu and Cristian Darie

"Beginning PHP and MySQL E-Commerce: From Novice to Professional, Second Edition"

$this->mLinkToCancelPage);
exit();
}
}
}
?>
9. Create a new template file named customer_credit_card.tpl in the presentation/templates
folder, and add the following code to it:
{* customer_credit_card.tpl *}
{load_presentation_object filename="customer_credit_card" assign="obj"}

Please enter your credit card details:

















CHAPTER 16 ?–  MANAGING CUSTOMER DETAILS 523




Card Holder:
value="{$obj->mPlainCreditCard.card_holder}" />
{if $obj->mCardHolderError}

You must enter a card holder.


{/if}
Card Number (digits only):
value="{$obj->mPlainCreditCard.card_number}" />
{if $obj->mCardNumberError}

You must enter a card number.


{/if}
Expiry Date (MM/YY):
value="{$obj->mPlainCreditCard.expiry_date}" />
{if $obj->mExpDateError}

You must enter an expiry date


{/if}
Issue Date (MM/YY if applicable):
value="{$obj->mPlainCreditCard.issue_date}" />
Issue Number (if applicable):
value="{$obj->mPlainCreditCard.


Pages:
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636
pokoje nad morzem tanio pomiary wiatru hotel kredyt samochodowy santander remont warszawa