PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/demo2024feb.kerihosting.com/wp-content/plugins/obox-mobile/admin/setup/
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
Choose File :

Url:
Dir : /home/trave494/demo2024feb.kerihosting.com/wp-content/plugins/obox-mobile/admin/setup/scripts.php

<?php
function mobile_add_scripts()
	{
		global $themeid;
		
		//Add support for 2.9 and 3.0 functions and setup jQuery for theme
		if(is_user_logged_in() && strpos( $_SERVER['REQUEST_URI'], '/wp-admin' ) !== false) :
			wp_enqueue_script("jquery");
			wp_enqueue_script( 'jquery-ui-draggable' );
			wp_enqueue_script( 'jquery-ui-droppable' );
			wp_enqueue_script( 'jquery-ui-sortable' );
			wp_enqueue_script( 'jquery-ui-tabs' );
			
			wp_enqueue_script( "ajaxupload", OCMXMOBILEURL."/admin/scripts/ajaxupload.js", array( "jquery" ) );
			
			if(strpos( $_SERVER['REQUEST_URI'], 'mobile' ) !== false) :
				wp_enqueue_script( "ocmx-jquery", OCMXMOBILEURL."/admin/scripts/ocmx_jquery.js", array( "jquery" ) );
				wp_localize_script( "ocmx-jquery", "ThemeAjax", array( "ajaxurl" => admin_url( "admin-ajax.php" ) ) );
				wp_enqueue_script( "mobile-upgrade", OCMXMOBILEURL."/admin/scripts/upgrade.js", array( "jquery" ) );
			endif;						
			
			add_action("wp_ajax_validate_key", "mobile_validate_key");
			add_action("wp_ajax_do_mobile_upgrade", "do_mobile_upgrade");
			add_action( 'wp_ajax_mobile_save-options', 'mobile_update_options');
			add_action( 'wp_ajax_mobile_reset-options', 'reset_mobile_options');
			add_action( 'wp_ajax_mobile_ads-refresh', 'mobile_reset_options' );
			add_action( 'wp_ajax_mobile_ads-remove', 'mobile_ads_remove' );
			add_action( 'wp_ajax_mobile_ajax-upload', 'mobile_ajax_upload' );
			add_action( 'wp_ajax_mobile_theme-upload', 'mobile_theme_upload' );
			add_action( 'wp_ajax_mobile_theme-remove', 'mobile_theme_remove' );
			add_action( 'wp_ajax_mobile_remove-image', 'mobile_ajax_remove_image' );
		endif;
	}
?>