当前位置: 首页>>代码示例>>PHP>>正文


PHP Payment::billingform方法代码示例

本文整理汇总了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'>&nbsp;&nbsp;*&nbsp;&nbsp;</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'>&nbsp;&nbsp;*&nbsp;&nbsp;</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" />

		            &nbsp;&nbsp;(mm/yy)</td>

		        </tr>

                 <tr>

		          <td width="31%" ><?php 
        echo JText::_('CVV_CODE');
        ?>
:<span class='dtrequired'>&nbsp;&nbsp;*&nbsp;&nbsp;</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;
    }
开发者ID:reeleis,项目名称:ohiocitycycles,代码行数:66,代码来源:Eway.php

示例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'>&nbsp;&nbsp;*&nbsp;&nbsp;</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'>&nbsp;&nbsp;*&nbsp;&nbsp;</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'>&nbsp;&nbsp;*&nbsp;&nbsp;</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" />

		            &nbsp;&nbsp;(mm/yy)</td>

		        </tr>

             <tr>

		          <td width="31%"><?php 
        echo JText::_('CVV_CODE');
        ?>
:<span class='dtrequired'>&nbsp;&nbsp;*&nbsp;&nbsp;</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>
//.........这里部分代码省略.........
开发者ID:reeleis,项目名称:ohiocitycycles,代码行数:101,代码来源:offline_payment.php

示例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'>&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;</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'>&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;</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'>&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;</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'>&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;</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'>&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;</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">&nbsp;</td></tr>


       <?php 
        $html = ob_get_clean();
        return $form . $html;
    }
开发者ID:reeleis,项目名称:ohiocitycycles,代码行数:68,代码来源:echeck.php


注:本文中的Payment::billingform方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。