Пример #1
0
			<div class="paymentnote">
				<p>Please select the subscription payment that<br>you would like to purchase from<br>
				BoardMyHorseNow.com.</p>
			</div>
			<div class="quicknote">
				<p>Please Note: The Yearly subscription is <br> priced at discount.</p>
			</div>
			<?php 
                if (!defined('MEMBERSHIP_HIDE_PAYTEXT')) {
                    ?>
			<div class='pricescolumn'>
				<div class="radio-outerbox">
					<div class="roundedOne">
					<?php 
                    // Decipher the pricing array and display it
                    echo '<strong>' . __('You Will Pay : ', 'membership') . '</strong> ' . membership_price_in_text($pricing);
                    //print_r($pricing);
                    ?>
					<input type="radio" id="submonthlypayment" checked name="paypalpayment" onclick="javascript:selectmonthypayment();">
					<label for="submonthlypayment"></label>
					</div>	
					<div class="roundedOne">
					<?php 
                    // Decipher the pricing array and display it
                    if ($_GET['subscription'] == 2) {
                        echo '<strong> You Will Pay : $79.95 For The Year </strong>
							   <input type="hidden" value="1" id="prmonth"> 
						       <input type="hidden" value="3" id="yearpay"/>';
                    } else {
                        if ($_GET['subscription'] == 3) {
                            echo '<strong> You Will Pay : $99.95 For The Year </strong>
Пример #2
0
            }
            echo $price;
        }
        ?>
				</td>
				<td class='buynowcolumn'>
					<?php 
        if (!empty($pricing)) {
            do_action('membership_purchase_button', $sub, $pricing, $member->ID);
        }
        ?>
				</td>
			</tr>
			<?php 
        if (!defined('MEMBERSHIP_HIDE_PAYTEXT')) {
            $pricetext = membership_price_in_text($pricing);
            if ($pricetext !== false) {
                ?>
					<tr class='pricescolumn'>
						<td colspan='3'>
							<?php 
                // Decipher the pricing array and display it
                echo '<strong>' . __('You will pay : ', 'membership') . '</strong> ' . $pricetext;
                ?>
						</td>
					</tr>
					<?php 
            }
        }
        ?>
		</table>