本文整理汇总了PHP中payment::get_name方法的典型用法代码示例。如果您正苦于以下问题:PHP payment::get_name方法的具体用法?PHP payment::get_name怎么用?PHP payment::get_name使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类payment
的用法示例。
在下文中一共展示了payment::get_name方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: if
<p><? echo kohana::lang('eshop.identity_number'); ?>: <strong><? echo $data['billing_identity_number']; ?></strong></p>
<p><? echo kohana::lang('eshop.vat_number'); ?>: <strong><? echo $data['billing_vat_number']; ?></strong></p>
<? echo form::close_fieldset();?>
<div class="cleaner"> </div>
<? echo form::open_fieldset(array('class' => 'overview3'));
echo form::legend(Kohana::lang('eshop.delivery_info')); ?>
<p><? echo kohana::lang('eshop.name'); ?>: <strong><? echo $data['delivery_name']; ?></strong></p>
<p><? echo Kohana::lang('eshop.street'); ?>: <strong><br /><? echo $data['delivery_street']; ?><br />
<? echo $data['delivery_city']; ?><br />
<? echo $data['delivery_postal_code']; ?></strong></p>
<? echo form::close_fieldset(); ?>
<? echo form::open_fieldset(array('class' => 'overview3'));
echo form::legend(Kohana::lang('eshop.other')); ?>
<p><? echo kohana::lang('eshop.status_order'); ?>: <strong><? echo customer::order_status($data['status_order'])?></strong></p>
<p><? echo kohana::lang('eshop.payment'); ?>: <strong><? echo payment::get_name($data['payment']); ?> – <? echo customer::payment_status($data['status_payment'])?></strong>
<? if($data['status_payment'] == 'none' AND payment::get_type($data['payment']) == "post"){ ?>
– <a href="/cart/payment/<? echo $data['id']; ?>"><? echo Kohana::lang('eshop.payment_info'); ?></a>
<? } ?>
<? if($data['status_payment'] == 'none' AND payment::get_type($data['payment']) == "pre"){ ?>
– <a href="/cart/payment/<? echo $data['id']; ?>"><? echo Kohana::lang('eshop.pay_now'); ?></a>
<? } ?>
</p>
<? if(payment::get_type($data['payment']) == "post"){ ?>
<p><? echo Kohana::lang('eshop.vsymbol2'); ?>: <? echo $data['id']; ?></p>
<? } ?>
<p><? echo kohana::lang('eshop.shipping'); ?>: <strong><? echo shipping::get_name($data['shipping']); ?></strong></p>
<p><? echo kohana::lang('eshop.last_change'); ?>: <strong><? echo $data['last_change']; ?></strong></p>
<? echo form::close_fieldset(); ?>