PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/remoteworker.kerihosting.com/wp-content/plugins/wlt_builder/fields/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/remoteworker.kerihosting.com/wp-content/plugins/wlt_builder/fields/PT_DateTime.php |
<?php class PT_DateTime extends PT_Field{ public $shortname = 'datetime'; public function __construct( $field = array() ){ // FIX FOR MULTOPLE DATE TIME ELEMENTS if(isset($_GET['post_type']) && $_GET['post_type'] == "listing_type"){ return; } if(isset($_GET['post']) && is_numeric($_GET['post'])){ $po = get_post($_GET['post']); if($po->post_type == "listing_type"){ return; } } $this->dependencies = array( 'styles' => array( 'pt-datetime-css' => array( 'src' => PT_URL.'/assets/css/admin/jquery.datetimepicker.css', 'deps' => false, 'ver' => '2.3.4', 'media' => false ), ), 'scripts' => array( 'pt-datetime-js' => array( 'src' => PT_URL.'/assets/js/admin/jquery.datetimepicker.js', 'deps' => false, 'ver' => '2.3.4', 'in_footer' => true ) ) ); parent::__construct( $field ); } public function generate_html(){ extract( $this->field ); $this->field_html = ' <div class="pt-option-container"> <label for="'.esc_attr($id).'">'.$title.'</label> <input value="'.esc_attr($value).'" type="text" id="'.esc_attr($id).'" class="pt-datetime pt-option"/> <small>'.$desc.'</small> </div> '; } } ?>