PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/rfstoolsupply.com/wp-content/plugins/woozone/modules/insane_import/ |
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/rfstoolsupply.com/wp-content/plugins/woozone/modules/insane_import/options.php |
<?php function WooZone_IM_options_cache( $action='default', $istab = '', $is_subtab='' ) { global $WooZone; $req['action'] = $action; //$notifyStatus = get_option('psp_Minify'); if ( $req['action'] == 'getStatus' ) { //if ( $notifyStatus === false || !isset($notifyStatus["cache"]) ) { return ''; //} //return $notifyStatus["cache"]["msg_html"]; } $html = array(); ob_start(); ?> <div class="WooZone-form-row WooZone-im-cache <?php echo ($istab!='' ? ' '.$istab : ''); ?><?php echo ($is_subtab!='' ? ' '.$is_subtab : ''); ?>"> <label><?php _e('Cache', 'psp'); ?></label> <div class="WooZone-form-item large"> <span style="margin:0px 0px 0px 10px" class="response"><?php echo WooZone_IM_options_cache( 'getStatus' ); ?></span><br /> <input type="button" class="WooZone-form-button WooZone-form-button-danger" style="width: 160px;" id="WooZone-im-cache-delete" value="<?php _e('Clear cache', 'psp'); ?>"> <span class="formNote"> </span> </div> </div> <?php $htmlRow = ob_get_contents(); ob_end_clean(); $html[] = $htmlRow; // view page button ob_start(); ?> <script> (function($) { var ajaxurl = '<?php echo admin_url('admin-ajax.php');?>'; $(document).ready(function() { $.post(ajaxurl, { 'action' : 'WooZone_import_cache', 'sub_action' : 'getStatus' }, function(response) { var $box = $('.WooZone-im-cache'), $res = $box.find('.response'); $res.html( response.msg_html ); if ( response.status == 'valid' ) return true; return false; }, 'json'); }); $("body").on("click", "#WooZone-im-cache-delete", function(){ $.post(ajaxurl, { 'action' : 'WooZone_import_cache', 'sub_action' : 'cache_delete' }, function(response) { var $box = $('.WooZone-im-cache'), $res = $box.find('.response'); $res.html( response.msg_html ); if ( response.status == 'valid' ) return true; return false; }, 'json'); }); })(jQuery); </script> <?php $__js = ob_get_contents(); ob_end_clean(); $html[] = $__js; return implode( "\n", $html ); } global $WooZone; echo json_encode(array( $tryed_module['db_alias'] => array( /* define the form_sizes box */ 'insane_import' => array( 'title' => 'Insane Import', 'icon' => '{plugin_folder_uri}images/32.png', 'size' => 'grid_4', // grid_1|grid_2|grid_3|grid_4 'header' => true, // true|false 'toggler' => false, // true|false 'buttons' => true, // true|false 'style' => 'panel', // panel|panel-widget // create the box elements array 'elements' => array( '__cache' => array( 'type' => 'html', 'html' => WooZone_IM_options_cache( 'default', '__tab1', '' ) ), ) ) ) ));