daily pastebin goal
66%
SHARE
TWEET

Untitled

a guest Jul 18th, 2018 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <form enctype="multipart/form-data" method="post" class="cart">
  2.                 <?php do_action('before_wpneo_donate_field'); ?>
  3.                 <?php echo get_woocommerce_currency_symbol(); ?>
  4.                 <input type="number" step="any" min="0" placeholder="<?php echo $recomanded_price; ?>" name="wpneo_donate_amount_field" class="input-text amount wpneo_donate_amount_field text" value="<?php echo $recomanded_price; ?>" data-min-price="<?php echo $min_price ?>" data-max-price="<?php echo $max_price ?>" >
  5.                 <?php do_action('after_wpneo_donate_field'); ?>
  6.  
  7.                 <input type="hidden" value="<?php echo esc_attr($post->ID); ?>" name="add-to-cart">
  8.                 <button type="submit" class="<?php echo apply_filters('add_to_donate_button_class', 'wpneo_donate_button'); ?>"><?php _e('Back Campaign', 'wp-crowdfunding'); ?></button>
  9.  </form>
  10.    
  11. <form enctype="multipart/form-data" method="post" class="cart">
  12.                 <?php do_action('before_wpneo_donate_field');
  13.                    $valAction = get_field('valeur_dune_action_admin_section');
  14.                     $nbactions = 500000 / $valAction;
  15.                 ?>
  16.  
  17.                       <select type="number" step="any" name="actions" id="actions-select" name="wpneo_donate_amount_field" class="input-text amount wpneo_donate_amount_field text">
  18.                        <?php
  19.                         $i = 1;
  20.                         if ($nbactions != 0)
  21.                         {
  22.                             while ($i <= $nbactions) {
  23.                             echo '<option value="' . $valAction * $i . '">' . $valAction * $i . '</option>';
  24.                             $i++;
  25.                             }
  26.                         }
  27.  
  28.                             ?>
  29.                         </select>
  30.  
  31.                 <?php
  32.                 echo get_woocommerce_currency_symbol();
  33.  
  34.                 do_action('after_wpneo_donate_field'); ?>
  35.  
  36.                 <input type="hidden" value="<?php echo esc_attr($post->ID); ?>" name="add-to-cart">
  37.  
  38.  
  39.                 <button type="submit" class="<?php echo apply_filters('add_to_donate_button_class', 'wpneo_donate_button'); ?>"><?php _e('Back Campaign', 'wp-crowdfunding'); ?></button>
  40. </form>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top