本文整理汇总了PHP中Payment::billingform方法的典型用法代码示例。如果您正苦于以下问题:PHP Payment::billingform方法的具体用法?PHP Payment::billingform怎么用?PHP Payment::billingform使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Payment
的用法示例。
在下文中一共展示了Payment::billingform方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: billingform
function billingform()
{
$form = parent::billingform();
ob_start();
?>
<tr>
<td width="31%" ><?php
echo JText::_('CARD_NUMBER');
?>
:<span class='dtrequired'> * </span></td>
<td width="69%" align="left" ><input type="text" name="billing[x_card_num]" onKeyUp="chknumber(this)" class="inputbox" value="<?php
echo isset($this->credircardNo) ? $this->credircardNo : '';
?>
" />
<br />
<?php
echo JText::_('CARD_NUMBER_EXPLANATION');
?>
</td>
</tr>
<tr>
<td width="31%" ><?php
echo JText::_('CARD_EXPIRY_DATE');
?>
:<span class='dtrequired'> * </span></td>
<td width="69%" align="left" ><input type="text" name="billing[x_exp_date]" value="<?php
echo isset($this->credircardExp) ? $this->credircardExp : '';
?>
" class="inputbox" />
(mm/yy)</td>
</tr>
<tr>
<td width="31%" ><?php
echo JText::_('CVV_CODE');
?>
:<span class='dtrequired'> * </span></td>
<td width="69%" align="left" ><input type="text" name="billing[x_card_code]" size="10" onKeyUp="chknumber(this)" class="inputbox" value="<?php
echo isset($this->x_card_code) ? $this->x_card_code : '';
?>
" />
<?php
echo JText::_('CVV_CODE_EXPLANATION');
?>
</td>
</tr>
<?php
$html = ob_get_clean();
return $form . $html;
}
示例2: billingform
function billingform()
{
global $cardtype;
$form = parent::billingform();
ob_start();
$size = count($cardtype);
if ($size == 1) {
?>
<tr>
<td>
<input type="radio" style="display:none" name="billing[cardtype]" value="<?php
echo $cardtype[0];
?>
" <?php
echo "checked";
?>
/></td></tr>
<?php
} else {
?>
<tr>
<td width="31%"><?php
echo JText::_('CARD_TYPE');
?>
:<span class='dtrequired'> * </span></td>
<td>
<?php
$options = DtHtml::options($cardtype);
echo JHTML::_('select.genericlist', $options, 'billing[cardtype]', '', 'value', 'text', $this->cardtype);
?>
</td>
</tr>
<?php
}
?>
<tr>
<td width="31%"><?php
echo JText::_('CARD_NUMBER');
?>
:<span class='dtrequired'> * </span></td>
<td width="69%" align="left"><input type="text" name="billing[x_card_num]" class="inputbox" value="<?php
echo isset($this->cb_creditcardnumber) ? $this->cb_creditcardnumber : '';
?>
" />
<br />
<?php
echo JText::_('CARD_NUMBER_EXPLANATION');
?>
</td>
</tr>
<tr>
<td width="31%"><?php
echo JText::_('CARD_EXPIRY_DATE');
?>
:<span class='dtrequired'> * </span></td>
<td width="69%" align="left"><input type="text" name="billing[x_exp_date]" value="<?php
echo isset($this->cb_expdate) ? $this->cb_expdate : '';
?>
" class="inputbox" />
(mm/yy)</td>
</tr>
<tr>
<td width="31%"><?php
echo JText::_('CVV_CODE');
?>
:<span class='dtrequired'> * </span></td>
<td width="69%" align="left"><input type="text" name="billing[x_card_code]" size="10" class="inputbox" value="<?php
echo isset($this->x_card_code) ? $this->x_card_code : '';
?>
" />
<?php
echo JText::_('CVV_CODE_EXPLANATION');
?>
</td>
//.........这里部分代码省略.........
示例3: billingform
function billingform()
{
global $cardtype;
$form = parent::billingform();
$size = count($cardtype);
ob_start();
?>
<tr><td colspan="2" ><strong><?php
echo JText::_('DT_BANK_INFORMATION');
?>
</strong><br /></td></tr>
<tr><td><?php
echo JText::_('DT_BANK_ROUTING_NUMBER');
?>
:<span class='dtrequired'> * </span></td>
<td><input type="text" name="billing[x_bank_aba_code]" onKeyUp="chknumber(this)" class="inputbox" size="20" maxlength="16" value="<?php
echo isset($rowProfile->cb_routingnumber) ? $rowProfile->cb_routingnumber : '';
?>
"/></td></tr>
<tr><td><?php
echo JText::_('DT_BANK_ACCOUNT_NUMBER');
?>
:<span class='dtrequired'> * </span></td>
<td><input type="text" name="billing[x_bank_acct_num]" onKeyUp="chknumber(this)" class="inputbox" size="20" maxlength="16" value="<?php
echo isset($rowProfile->cb_acctnumber) ? $rowProfile->cb_acctnumber : '';
?>
"/></td></tr>
<tr><td><?php
echo JText::_('DT_BANK_ACCOUNT_TYPE');
?>
:<span class='dtrequired'> * </span></td>
<td>
<?php
$options = array('CHECKING' => JText::_('DT_BANK_CHECKING'), 'SAVINGS' => JText::_('DT_BANK_SAVINGS'));
$options = DtHtml::options($options);
echo JHTML::_('select.genericlist', $options, 'billing[x_bank_acct_type]', '', 'value', 'text', $this->x_bank_acct_type);
?>
</td></tr>
<tr><td><?php
echo JText::_('DT_BANK_NAME');
?>
:<span class='dtrequired'> * </span></td>
<td><input type="text" name="billing[x_bank_name]" class="inputbox" size="30" value="<?php
echo isset($rowProfile->cb_bankname) ? $rowProfile->cb_bankname : '';
?>
"/></td></tr>
<tr><td><?php
echo JText::_('DT_BANK_ACCOUNT_HOLDER');
?>
:<span class='dtrequired'> * </span></td><td><input type="text" name="billing[x_bank_acct_name]" class="inputbox" size="30" value="<?php
echo isset($rowProfile->cb_accountholder) ? $rowProfile->cb_accountholder : '';
?>
"/></td></tr>
<tr><td colspan="2" align="center"> </td></tr>
<?php
$html = ob_get_clean();
return $form . $html;
}