Example #1
0
File: form.php Project: johnasp/BST
?>
            </td>
          </tr>
          <tr valign="top">
            <th scope="row">
              <label for="<?php 
echo $mepr_options->currency_symbol_str;
?>
"><?php 
_e('Currency Symbol:', 'memberpress');
?>
</label>
            </th>
            <td>
              <?php 
MeprOptionsHelper::payment_currencies_dropdown($mepr_options->currency_symbol_str, $mepr_options->currency_symbol);
?>
            </td>
          </tr>
        </tbody>
      </table>

      <br/>
      <h3><?php 
_e('Theme Compatibility', 'memberpress');
?>
</h3>
      <table class="form-table">
        <tbody>
          <tr valign="top">
            <th scope="row">
Example #2
0
File: form.php Project: johnasp/BST
        <input type="hidden" id="mepr_coupon_code" name="mepr_coupon_code" value="<?php 
        echo isset($mepr_coupon_code) ? esc_attr(stripslashes($mepr_coupon_code)) : '';
        ?>
" />
      <?php 
    }
    ?>
      <?php 
    $active_pms = $product->payment_methods();
    ?>
      <?php 
    $pms = $product->payment_methods();
    ?>
      <div class="mp-form-row mepr_payment_method">
        <?php 
    echo MeprOptionsHelper::payment_methods_dropdown('mepr_payment_method', $active_pms);
    ?>
      </div>
    <?php 
}
?>

    <?php 
if (!MeprUtils::is_user_logged_in()) {
    ?>
      <?php 
    if ($mepr_options->require_tos) {
        ?>
        <div class="mp-form-row mepr_tos">
          <label for="mepr_agree_to_tos" class="mepr-checkbox-field mepr-form-input" required>
            <input type="checkbox" name="mepr_agree_to_tos" id="mepr_agree_to_tos" <?php