PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/polo-family.com/wp-content/plugins/wooaffiliates/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/polo-family.com/wp-content/plugins/wooaffiliates/modules/insane_import/options.php |
<?php function aiowaff_IM_options_cache__( $action='default', $istab = '', $is_subtab='' ) { global $aiowaff; $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="aiowaff-form-row aiowaff-im-cache <?php echo ($istab!='' ? ' '.$istab : ''); ?><?php echo ($is_subtab!='' ? ' '.$is_subtab : ''); ?>"> <label><?php _e('Cache', 'psp'); ?></label> <div class="aiowaff-form-item large"> <span class="formNote"> </span> <input type="button" class="aiowaff-button blue" style="width: 160px;" id="aiowaff-im-cache-delete" value="<?php _e('Clear cache', 'psp'); ?>"><br /> <span style="margin:0px 0px 0px 10px" class="response"><?php echo aiowaff_IM_options_cache__( 'getStatus' ); ?></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' : 'aiowaff_import_cache', 'sub_action' : 'getStatus' }, function(response) { var $box = $('.aiowaff-im-cache'), $res = $box.find('.response'); $res.html( response.msg_html ); if ( response.status == 'valid' ) return true; return false; }, 'json'); }); $("body").on("click", "#aiowaff-im-cache-delete", function(){ $.post(ajaxurl, { 'action' : 'aiowaff_import_cache', 'sub_action' : 'cache_delete' }, function(response) { var $box = $('.aiowaff-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 $aiowaff; echo json_encode(array( $tryed_module['db_alias'] => array( /* define the form_sizes box */ 'insane_import' => array( 'title' => 'Insane Import', 'icon' => '{plugin_folder_uri}assets/32_icon.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' => aiowaff_IM_options_cache__( 'default', '__tab1', '' ) ), ) ) ) ));