Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/w3-total-cache/

Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64

Upload File :
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/w3-total-cache/w3-total-cache-api.php
<?php
/**
 * File: w3-total-cache-api.php
 *
 * @package W3TC
 *
 * phpcs:disable WordPress.PHP
 */

if ( ! defined( 'ABSPATH' ) ) {
	die();
}

define( 'W3TC', true );
define( 'W3TC_VERSION', '2.7.3' );
define( 'W3TC_POWERED_BY', 'W3 Total Cache' );
define( 'W3TC_EMAIL', 'w3tc@w3-edge.com' );
define( 'W3TC_TEXT_DOMAIN', 'w3-total-cache' );
define( 'W3TC_LINK_URL', 'https://api.w3-edge.com/v1/redirects/product-index' );
define( 'W3TC_LINK_NAME', 'W3 EDGE, Optimization Products for WordPress' );
define( 'W3TC_FEED_URL', 'https://api.w3-edge.com/v1/redirects/product-rss' );
define( 'W3TC_NEWS_FEED_URL', 'https://api.w3-edge.com/v1/redirects/company-rss' );
define( 'W3TC_README_URL', 'https://api.w3-edge.com/v1/redirects/product-readme' );
define( 'W3TC_SUPPORT_US_PRODUCT_URL', 'https://api.w3-edge.com/v1/redirects/product-directory' );
define( 'W3TC_SUPPORT_US_RATE_URL', 'https://api.w3-edge.com/v1/redirects/support-ratings' );
define( 'W3TC_SUPPORT_US_TWEET', 'YES! I optimized the user experience of my website with the W3 Total Cache #WordPress #plugin by @boldgrid! http://bit.ly/TeSBL3' );
define( 'W3TC_EDGE_TIMEOUT', 7 * 24 * 60 * 60 );
define( 'W3TC_SUPPORT_REQUEST_URL', 'https://api.w3-edge.com/v1/support-request' );
define( 'W3TC_SUPPORT_SERVICES_URL', 'https://api.w3-edge.com/v1/support-serviceinventory' );
define( 'W3TC_FAQ_URL', 'https://api.w3-edge.com/v1/redirects/faq' );
define( 'W3TC_TERMS_URL', 'https://api.w3-edge.com/v1/redirects/policies-terms' );
define( 'W3TC_TERMS_ACCEPT_URL', 'https://api.w3-edge.com/v1/redirects/policies-accept' );
define( 'W3TC_MAILLINGLIST_SIGNUP_URL', 'https://api.w3-edge.com/v1/signup-newsletter' );
define( 'W3TC_NEWRELIC_SIGNUP_URL', 'https://api.w3-edge.com/v1/redirects/newrelic/signup' );
define( 'W3TC_STACKPATH_AUTHORIZE_URL', 'https://api.w3-edge.com/v1/redirects/stackpath/authorize' );
define( 'W3TC_STACKPATH2_AUTHORIZE_URL', 'https://api.w3-edge.com/v1/redirects/stackpath2/authorize' );
define( 'W3TC_GOOGLE_DRIVE_AUTHORIZE_URL', 'https://api.w3-edge.com/v1/googledrive/authorize' );
define( 'W3TC_BUNNYCDN_SIGNUP_URL', 'https://api.w3-edge.com/v1/redirects/bunnycdn/signup' );
define( 'W3TC_BUNNYCDN_SETTINGS_URL', 'https://api.w3-edge.com/v1/redirects/bunnycdn/settings' );
define( 'W3TC_BUNNYCDN_CDN_URL', 'https://api.w3-edge.com/v1/redirects/bunnycdn/cdn' );
define( 'W3TC_PARTNER_IMH', 'https://api.w3-edge.com/v1/redirects/partners/imh' );
define( 'W3TC_PARTNER_A2', 'https://api.w3-edge.com/v1/redirects/partners/a2' );
define( 'W3TC_PARTNER_CONVESIO', 'https://api.w3-edge.com/v1/redirects/partners/convesio' );
define( 'W3TC_PARTNER_DREAMHOST', 'https://api.w3-edge.com/v1/redirects/partners/dreamhost' );

// Image Service rate constants.
define( 'W3TC_IMAGE_SERVICE_FREE_HLIMIT', 10 );
define( 'W3TC_IMAGE_SERVICE_FREE_MLIMIT', 100 );
define( 'W3TC_IMAGE_SERVICE_PRO_HLIMIT', 10000 );
define( 'W3TC_IMAGE_SERVICE_PRO_MLIMIT', 0 );

// this is the URL our updater / license checker pings. This should be the URL of the site with EDD installed.
if ( ! defined( 'W3TC_LICENSE_API_URL' ) ) {
	define( 'W3TC_LICENSE_API_URL', 'https://www.w3-edge.com/' );
}
if ( ! defined( 'W3TC_PURCHASE_URL' ) ) {
	define( 'W3TC_PURCHASE_URL', 'https://www.w3-edge.com/checkout/' );
}

// the name of your product. This should match the download name in EDD exactly.
define( 'W3TC_PURCHASE_PRODUCT_NAME', 'W3 Total Cache Pro: Annual Subscription' );

define( 'W3TC_WIN', ( strtoupper( substr( PHP_OS, 0, 3 ) ) === 'WIN' ) );

if ( ! defined( 'W3TC_DIR' ) ) {
	define( 'W3TC_DIR', realpath( __DIR__ ) );
}

define( 'W3TC_FILE', 'w3-total-cache/w3-total-cache.php' );
define( 'W3TC_INC_DIR', W3TC_DIR . '/inc' );
define( 'W3TC_INC_WIDGET_DIR', W3TC_INC_DIR . '/widget' );
define( 'W3TC_INC_OPTIONS_DIR', W3TC_INC_DIR . '/options' );
define( 'W3TC_INC_LIGHTBOX_DIR', W3TC_INC_DIR . '/lightbox' );
define( 'W3TC_INC_POPUP_DIR', W3TC_INC_DIR . '/popup' );
define( 'W3TC_LIB_DIR', W3TC_DIR . '/lib' );
define( 'W3TC_LIB_NETDNA_DIR', W3TC_LIB_DIR . '/NetDNA' );
define( 'W3TC_LIB_NEWRELIC_DIR', W3TC_LIB_DIR . '/NewRelic' );
define( 'W3TC_INSTALL_DIR', W3TC_DIR . '/wp-content' );
define( 'W3TC_INSTALL_MINIFY_DIR', W3TC_INSTALL_DIR . '/w3tc/min' );
define( 'W3TC_LANGUAGES_DIR', W3TC_DIR . '/languages' );

if ( ! defined( 'WP_CONTENT_DIR' ) ) {
	define( 'WP_CONTENT_DIR', realpath( W3TC_DIR . '/../..' ) );
}

if ( ! defined( 'W3TC_CACHE_DIR' ) ) {
	if ( false !== realpath( WP_CONTENT_DIR . '/cache' ) ) {
		define( 'W3TC_CACHE_DIR', realpath( WP_CONTENT_DIR . '/cache' ) );
	} else {
		define( 'W3TC_CACHE_DIR', WP_CONTENT_DIR . '/cache' );
	}
}

if ( ! defined( 'W3TC_CONFIG_DIR' ) ) {
	if ( false !== realpath( WP_CONTENT_DIR . '/w3tc-config' ) ) {
		define( 'W3TC_CONFIG_DIR', realpath( WP_CONTENT_DIR . '/w3tc-config' ) );
	} else {
		define( 'W3TC_CONFIG_DIR', WP_CONTENT_DIR . '/w3tc-config' );
	}
}

if ( ! defined( 'W3TC_CACHE_MINIFY_DIR' ) ) {
	define( 'W3TC_CACHE_MINIFY_DIR', W3TC_CACHE_DIR . '/minify' );
}

if ( ! defined( 'W3TC_CACHE_PAGE_ENHANCED_DIR' ) ) {
	define( 'W3TC_CACHE_PAGE_ENHANCED_DIR', W3TC_CACHE_DIR . '/page_enhanced' );
}

if ( ! defined( 'W3TC_CACHE_TMP_DIR' ) ) {
	define( 'W3TC_CACHE_TMP_DIR', W3TC_CACHE_DIR . '/tmp' );
}

if ( ! defined( 'W3TC_CACHE_BLOGMAP_FILENAME' ) ) {
	define( 'W3TC_CACHE_BLOGMAP_FILENAME', W3TC_CACHE_DIR . '/blogs.php' );
}

if ( ! defined( 'W3TC_CACHE_FILE_EXPIRE_MAX' ) ) {
	define( 'W3TC_CACHE_FILE_EXPIRE_MAX', 2592000 );
}

define( 'W3TC_CDN_COMMAND_UPLOAD', 1 );
define( 'W3TC_CDN_COMMAND_DELETE', 2 );
define( 'W3TC_CDN_COMMAND_PURGE', 3 );
define( 'W3TC_CDN_TABLE_QUEUE', 'w3tc_cdn_queue' );
define( 'W3TC_CDN_TABLE_PATHMAP', 'w3tc_cdn_pathmap' );

define( 'W3TC_INSTALL_FILE_ADVANCED_CACHE', W3TC_INSTALL_DIR . '/advanced-cache.php' );
define( 'W3TC_INSTALL_FILE_DB', W3TC_INSTALL_DIR . '/db.php' );
define( 'W3TC_INSTALL_FILE_OBJECT_CACHE', W3TC_INSTALL_DIR . '/object-cache.php' );

define( 'W3TC_ADDIN_FILE_ADVANCED_CACHE', WP_CONTENT_DIR . '/advanced-cache.php' );
define( 'W3TC_ADDIN_FILE_DB', WP_CONTENT_DIR . '/db.php' );
define( 'W3TC_FILE_DB_CLUSTER_CONFIG', WP_CONTENT_DIR . '/db-cluster-config.php' );
define( 'W3TC_ADDIN_FILE_OBJECT_CACHE', WP_CONTENT_DIR . '/object-cache.php' );

define( 'W3TC_MARKER_BEGIN_WORDPRESS', '# BEGIN WordPress' );
define( 'W3TC_MARKER_BEGIN_PGCACHE_CORE', '# BEGIN W3TC Page Cache core' );
define( 'W3TC_MARKER_BEGIN_PGCACHE_CACHE', '# BEGIN W3TC Page Cache cache' );
define( 'W3TC_MARKER_BEGIN_PGCACHE_WPSC', '# BEGIN WPSuperCache' );
define( 'W3TC_MARKER_BEGIN_BROWSERCACHE_CACHE', '# BEGIN W3TC Browser Cache' );
define( 'W3TC_MARKER_BEGIN_MINIFY_CORE', '# BEGIN W3TC Minify core' );
define( 'W3TC_MARKER_BEGIN_MINIFY_CACHE', '# BEGIN W3TC Minify cache' );
define( 'W3TC_MARKER_BEGIN_MINIFY_LEGACY', '# BEGIN W3TC Minify' );
define( 'W3TC_MARKER_BEGIN_CDN', '# BEGIN W3TC CDN' );
define( 'W3TC_MARKER_BEGIN_WEBP', '# BEGIN W3TC WEBP' );

define( 'W3TC_MARKER_END_WORDPRESS', '# END WordPress' );
define( 'W3TC_MARKER_END_PGCACHE_CORE', '# END W3TC Page Cache core' );
define( 'W3TC_MARKER_END_PGCACHE_CACHE', '# END W3TC Page Cache cache' );
define( 'W3TC_MARKER_END_PGCACHE_LEGACY', '# END W3TC Page Cache' );
define( 'W3TC_MARKER_END_PGCACHE_WPSC', '# END WPSuperCache' );
define( 'W3TC_MARKER_END_BROWSERCACHE_CACHE', '# END W3TC Browser Cache' );
define( 'W3TC_MARKER_END_MINIFY_CORE', '# END W3TC Minify core' );
define( 'W3TC_MARKER_END_MINIFY_CACHE', '# END W3TC Minify cache' );
define( 'W3TC_MARKER_END_MINIFY_LEGACY', '# END W3TC Minify' );
define( 'W3TC_MARKER_END_CDN', '# END W3TC CDN' );
define( 'W3TC_MARKER_END_NEW_RELIC_CORE', '# END W3TC New Relic core' );
define( 'W3TC_MARKER_END_WEBP', '# END W3TC WEBP' );

if ( ! defined( 'W3TC_EXTENSION_DIR' ) ) {
	define( 'W3TC_EXTENSION_DIR', ( defined( 'WP_PLUGIN_DIR' ) ? WP_PLUGIN_DIR : WP_CONTENT_DIR . '/plugins' ) );
}

if ( ! defined( 'W3TC_WP_JSON_URI' ) ) {
	define( 'W3TC_WP_JSON_URI', '/wp-json/' );
}
if ( ! defined( 'W3TC_FEED_REGEXP' ) ) {
	define( 'W3TC_FEED_REGEXP', '~/feed(/|$)~' );
}

@ini_set( 'pcre.backtrack_limit', 4194304 );
@ini_set( 'pcre.recursion_limit', 4194304 );

global $w3_late_init;
$w3_late_init = false;

/**
 * Class autoloader.
 *
 * @param string $class Classname.
 */
function w3tc_class_autoload( $class ) {
	// Some php pass classes with slash.
	if ( substr( $class, 0, 1 ) == '\\' ) {
		$class = substr( $class, 1 );
	}

	// Try core w3tc classes first.
	if ( substr( $class, 0, 5 ) == 'W3TC\\' ) {
		$filename = W3TC_DIR . DIRECTORY_SEPARATOR . substr( $class, 5 ) . '.php';

		if ( file_exists( $filename ) ) {
			require $filename;
			return;
		} elseif ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
			echo esc_html(
				sprintf(
					// translators: 1 class name, 2 file name.
					__(
						'Attempt to create object of class %1$s has been made, but file %2$s doesnt exists',
						'w3-total-cache'
					),
					$class,
					$filename
				)
			);
			debug_print_backtrace();
		}
	}

	if ( substr( $class, 0, 13 ) == 'W3TCG_Google_' &&
		( ! defined( 'W3TC_GOOGLE_LIBRARY' ) || W3TC_GOOGLE_LIBRARY ) ) {
		// Google library.
		$class_path = explode( '_', substr( $class, 6 ) );
		if ( count( $class_path ) > 3 ) {
			// Maximum class file path depth in this project is 3.
			$class_path = array_slice( $class_path, 0, 3 );
		}

		$file_path = W3TC_LIB_DIR . DIRECTORY_SEPARATOR .
			implode( '/', $class_path ) . '.php';

		if ( file_exists( $file_path ) ) {
			require $file_path;
		}
		return;
	}

	if ( substr( $class, 0, 6 ) == 'W3TCL\\' ) {
		$base  = W3TC_LIB_DIR . DIRECTORY_SEPARATOR;
		$class = substr( $class, 6 );

		// PSR loader.
		$file = $base . strtr( $class, '\\_', DIRECTORY_SEPARATOR . DIRECTORY_SEPARATOR ) . '.php';

		if ( file_exists( $file ) ) {
			require_once $file;
		}
	}
}

spl_autoload_register( 'w3tc_class_autoload' );

/**
 * W3 Total Cache plugins API
 */

/**
 * Returns config.
 *
 * !!! NOTICE !!!
 * 3rd party developers, please do not modify the plugin's configuration without
 * notifying the user beforehand. As an alternative, throw a notification to the
 * user like: "Configure W3 Total Cache for me" and allow the user to dismiss
 * the notification.
 * !!! NOTICE !!!
 */
function w3tc_config() {
	/*
	 * Some plugins make incorrect decisions based on configuration
	 * and force to disable modules working otherwise or
	 * adds notices on each wp-admin page without ability to remove it.
	 * By defining W3TC_CONFIG_HIDE you may still use w3tc configuration you like.
	 */
	if ( defined( 'W3TC_CONFIG_HIDE' ) && W3TC_CONFIG_HIDE ) {
		return new W3_Config();
	}

	$config = \W3TC\Dispatcher::config();
	return $config;
}

/**
 * Purges/Flushes everything.
 *
 * @param array $extras Extras.
 */
function w3tc_flush_all( $extras = null ) {
	$o = \W3TC\Dispatcher::component( 'CacheFlush' );
	$o->flush_all( $extras );
}

/**
 * Purges/Flushes post page.
 *
 * @param int     $post_id Post id.
 * @param boolean $force   Force flag (optional).
 * @param array   $extras  Extras.
 */
function w3tc_flush_post( $post_id, $force = false, $extras = null ) {
	$o = \W3TC\Dispatcher::component( 'CacheFlush' );
	$o->flush_post( $post_id, $force, $extras );
}

/**
 * Purges/Flushes all posts.
 *
 * @param array $extras Extras.
 */
function w3tc_flush_posts( $extras = null ) {
	$o = \W3TC\Dispatcher::component( 'CacheFlush' );
	$o->flush_posts( $extras );
}

/**
 * Purges/Flushes url.
 *
 * @param string $url    URL.
 * @param array  $extras Extras.
 */
function w3tc_flush_url( $url, $extras = null ) {
	$o = \W3TC\Dispatcher::component( 'CacheFlush' );
	$o->flush_url( $url, $extras );
}

/**
 * Purges/Flushes separate cache group.
 *
 * @param string $group  Group.
 * @param array  $extras Extras.
 */
function w3tc_flush_group( $group, $extras = null ) {
	$o = \W3TC\Dispatcher::component( 'CacheFlush' );
	$o->flush_group( $group, $extras );
}



/**
 * Deprecated.  Shortcut for page cache flush.
 *
 * @return bool
 */
function w3tc_pgcache_flush() {
	return w3tc_flush_posts();
}

/**
 * Deprecated.  Shortcut for page post cache flush.
 *
 * @param int     $post_id Post id.
 * @param boolean $force Force flag (optional).
 *
 * @return bool
 */
function w3tc_pgcache_flush_post( $post_id, $force = false ) {
	return w3tc_flush_post( $post_id, $force );
}

/**
 * Deprecated.  Shortcut for page post cache flush by url.
 *
 * @param int $url URL.
 * @return bool
 */
function w3tc_pgcache_flush_url( $url ) {
	return w3tc_flush_url( $url );
}

/**
 * Deprecated.  Shortcut for refreshing the media query string.
 *
 * @return null
 */
function w3tc_browsercache_flush() {
	$o = \W3TC\Dispatcher::component( 'CacheFlush' );
	return $o->browsercache_flush();
}

/**
 * Deprecated.  Shortcut for database cache flush.
 */
function w3tc_dbcache_flush() {
	$o = \W3TC\Dispatcher::component( 'CacheFlush' );
	$o->dbcache_flush();
}

/**
 * Deprecated.  Shortcut for minify cache flush.
 */
function w3tc_minify_flush() {
	$o = \W3TC\Dispatcher::component( 'CacheFlush' );
	$o->minifycache_flush();
}

/**
 * Deprecated.  Shortcut for objectcache cache flush.
 */
function w3tc_objectcache_flush() {
	$o = \W3TC\Dispatcher::component( 'CacheFlush' );
	$o->objectcache_flush();
}

/**
 * Deprecated.  Shortcut for CDN purge files.
 *
 * @param array $files Array consisting of uri paths (i.e wp-content/uploads/image.pnp).
 * @return mixed
 */
function w3tc_cdn_purge_files( $files ) {
	$o = \W3TC\Dispatcher::component( 'CacheFlush' );
	return $o->cdn_purge_files( $files );
}

/**
 * Deprecated.  Prints script tag for scripts group.
 *
 * @param string $location Location.
 */
function w3tc_minify_script_group( $location ) {
	$o = \W3TC\Dispatcher::component( 'Minify_Plugin' );

	$o->printed_scripts[] = $location;

	$r = $o->get_script_group( $location );
	echo esc_html( $r['body'] );
}

/**
 * Deprecated.  Prints style tag for styles group.
 *
 * @param string $location Location.
 */
function w3tc_minify_style_group( $location ) {
	$o = \W3TC\Dispatcher::component( 'Minify_Plugin' );

	$o->printed_styles[] = $location;

	$r = $o->get_style_group( $location );
	echo esc_html( $r['body'] );
}

/**
 * Deprecated.  Prints style tag for custom styles.
 *
 * @param string|array $files Files.
 */
function w3tc_minify_style_custom( $files ) {
	$o = \W3TC\Dispatcher::component( 'Minify_Plugin' );
	$r = $o->get_style_custom( $files );
	echo esc_html( $r['body'] );
}

/**
 * Deprecated.  Use Util_Theme::get_themes() to get a list themenames to use with user agent groups.
 *
 * @param string $group_name Group name.
 * @param string $theme      The themename default is default theme. For childtheme it should be parentthemename/childthemename.
 * @param string $redirect   Redirect.
 * @param array  $agents     Remember to escape special characters like spaces, dots or dashes with a backslash. Regular expressions are also supported.
 * @param bool   $enabled    Enabled.
 */
function w3tc_save_user_agent_group( $group_name, $theme = 'default', $redirect = '', $agents = array(), $enabled = false ) {
	$o = \W3TC\Dispatcher::component( 'Mobile_UserAgent' );
	$o->save_group( $group_name, $theme, $redirect, $agents, $enabled );
}

/**
 * Deprecated.
 *
 * @param string $group Group.
 */
function w3tc_delete_user_agent_group( $group ) {
	$o = \W3TC\Dispatcher::component( 'Mobile_UserAgent' );
	$o->delete_group( $group );
}

/**
 * Deprecated.
 *
 * @param string $group Group.
 * @return mixed
 */
function w3tc_get_user_agent_group( $group ) {
	$o = \W3TC\Dispatcher::component( 'Mobile_UserAgent' );
	return $o->get_group_values( $group );
}

/**
 * Deprecated.  Use Util_Theme::get_themes() to get a list themenames to use with referrer groups.
 *
 * @param string $group_name Group name.
 * @param string $theme      The themename default is default theme. For childtheme it should be parentthemename/childthemename.
 * @param string $redirect   Redirect.
 * @param array  $referrers  Remember to escape special characters like spaces, dots or dashes with a backslash. Regular expressions are also supported.
 * @param bool   $enabled    Enabled.
 */
function w3tc_save_referrer_group( $group_name, $theme = 'default', $redirect = '', $referrers = array(), $enabled = false ) {
	$o = \W3TC\Dispatcher::component( 'Mobile_Referrer' );
	$o->save_group( $group_name, $theme, $redirect, $referrers, $enabled );
}

/**
 * Deprecated.
 *
 * @param string $group Group.
 */
function w3tc_delete_referrer_group( $group ) {
	$o = \W3TC\Dispatcher::component( 'Mobile_Referrer' );
	$o->delete_group( $group );
}

/**
 * Deprecated.
 *
 * @param string $group Group.
 * @return mixed
 */
function w3tc_get_referrer_group( $group ) {
	$o = \W3TC\Dispatcher::component( 'Mobile_Referrer' );
	return $o->get_group_values( $group );
}

/**
 * Deprecated. Retained for 3rd parties that used it. see w3tc_config().
 *
 * Some plugins make incorrect decisions based on configuration
 * and force to disable modules working otherwise or
 * adds notices on each wp-admin page without ability to remove it.
 * By defining W3TC_CONFIG_HIDE you may still use w3tc configuration you like.
 */
if ( defined( 'W3TC_CONFIG_HIDE' ) && W3TC_CONFIG_HIDE ) {
	/**
	 * Class: W3_Config
	 */
	class W3_Config { // phpcs:ignore
		/**
		 * Constructor.
		 *
		 * @param bool $master  Master.
		 * @param int  $blog_id Blog id.
		 */
		public function __construct( $master = false, $blog_id = null ) {
		}

		/**
		 * Get string.
		 *
		 * @param string  $key     Key.
		 * @param string  $default Default.
		 * @param boolean $trim    Trim.
		 * @return string
		 */
		public function get_string( $key, $default = '', $trim = true ) {
			return '';
		}

		/**
		 * Get integer.
		 *
		 * @param string $key     Key.
		 * @param int    $default Default.
		 */
		public function get_integer( $key, $default = 0 ) {
			return 0;
		}

		/**
		 * Get boolean.
		 *
		 * @param string $key     Key.
		 * @param bool   $default Default.
		 * @return bool
		 */
		public function get_boolean( $key, $default = false ) {
			return false;
		}
	}
} else {
	/**
	 * Class: W3_Config.
	 */
	class W3_Config extends \W3TC\Config { // phpcs:ignore
		/**
		 * Constructor.
		 *
		 * @param bool $master  Master.
		 * @param int  $blog_id Blog id.
		 */
		public function __construct( $master = false, $blog_id = null ) {
			if ( $master ) {
				$blog_id = 0;
			}

			return parent::__construct( $blog_id );
		}
	}
}

/**
 * Class: W3_ConfigWriter.
 *
 * Deprecated. Retained for 3rd parties that use it. see w3tc_config().
 */
class W3_ConfigWriter { // phpcs:ignore
	/**
	 * Constructor.
	 *
	 * @param int $p1 P1.
	 * @param int $p2 P2.
	 */
	public function __construct( $p1 = 0, $p2 = 0 ) {
	}

	/**
	 * Set.
	 *
	 * @param int $p1 P1.
	 * @param int $p2 P2.
	 */
	public function set( $p1 = 0, $p2 = 0 ) {
	}

	/**
	 * Save.
	 *
	 * @param int $p1 P1.
	 * @param int $p2 P2.
	 */
	public function save( $p1 = 0, $p2 = 0 ) {
	}

	/**
	 * Refresh W3TC.
	 */
	public function refresh_w3tc() {
	}
}

/**
 * Deprecated.  Retained for 3rd parties that use it. see w3tc_config().
 *
 * @param string $class Class name.
 */
function w3_instance( $class ) {
	$legacy_class_name = null;

	switch ( $class ) {
		case 'W3_Config':
			if ( defined( 'W3TC_CONFIG_HIDE' ) && W3TC_CONFIG_HIDE ) {
				return new W3_Config();
			}

			$legacy_class_name = 'Config';
			break;
		case 'W3_ObjectCacheBridge':
			$legacy_class_name = 'ObjectCache_WpObjectCache';
			break;
		case 'W3_PgCache':
			$legacy_class_name = 'PgCache_ContentGrabber';
			break;
		case 'W3_Redirect':
			$legacy_class_name = 'Mobile_Redirect';
			break;
		default:
			return null;
	}

	return \W3TC\Dispatcher::component( $legacy_class_name );
}

/**
 * Print a localized string.
 *
 * @param string $key           Key name.
 * @param mixed  $default_value Default value.
 */
function w3tc_e( $key, $default_value ) {
	$content = w3tc_er( $key, $default_value );

	echo wp_kses(
		$content,
		\W3TC\Util_Ui::get_allowed_html_for_wp_kses_from_content( $content )
	);
}

/**
 * Get a localized string.
 *
 * @param string $key           Key name.
 * @param mixed  $default_value Default value.
 */
function w3tc_er( $key, $default_value ) {
	$v = get_site_option( 'w3tc_generic_widgetservices' );

	try {
		$v = json_decode( $v, true );
		if ( ! isset( $v['content'] ) ) {
			return $default_value;
		}

		$v = $v['content'];
	} catch ( \Exception $e ) {
		return $default_value;
	}

	global $w3tc_locale;

	if ( null === $w3tc_locale ) {
		if ( function_exists( 'get_user_locale' ) ) {
			$w3tc_locale = get_user_locale();
		} else {
			$w3tc_locale = '';
		}
	}

	if ( isset( $v[ "ui_strings.$w3tc_locale" ][ $key ] ) ) {
		return $v[ "ui_strings.$w3tc_locale" ][ $key ];
	}
	if ( isset( $v['ui_strings'][ $key ] ) ) {
		return $v['ui_strings'][ $key ];
	}

	return $default_value;
}

$w3tc_actions = array();

/**
 * An add_action alternative used by W3TC when WP core is not available.
 *
 * @param string   $hook     Hook/action name.
 * @param Callable $callback Callback function.
 */
function w3tc_add_action( $hook, $callback ) {
	global $w3tc_actions;
	if ( ! isset( $w3tc_actions[ $hook ] ) ) {
		$w3tc_actions[ $hook ] = array();
	}

	$w3tc_actions[ $hook ][] = $callback;
}

/**
 * A do_action alternative used by W3TC when WP core is not available.
 *
 * @param string $hook Hook/action name.
 */
function w3tc_do_action( $hook ) {
	global $w3tc_actions;
	if ( ! empty( $w3tc_actions[ $hook ] ) ) {
		foreach ( $w3tc_actions[ $hook ] as $callback ) {
			call_user_func_array( $callback, array() );
		}
	}
}

/**
 * An apply_filters alternative used by W3TC when WP core is not available.
 *
 * @param string $hook  Hook/filter name.
 * @param mixed  $value Value.
 */
function w3tc_apply_filters( $hook, $value ) {
	$args = func_get_args();
	array_shift( $args );

	global $w3tc_actions;
	if ( ! empty( $w3tc_actions[ $hook ] ) ) {
		foreach ( $w3tc_actions[ $hook ] as $callback ) {
			$value   = call_user_func_array( $callback, $args );
			$args[0] = $value;
		}
	}

	return $value;
}

ESTRELLA Pharma – Affy Pharma Pvt Ltd

TREPODOX

POWDER FOR ORAL SUSPENSION
30ML (HDPE BOTTLE)

Composition

Cefpodoxime 50mg/5ml

Indications & Uses

UTIs, LRTs

TREPODOX – CV

POWDER FOR ORAL SUSPENSION
30ML (GLASS BOTTLE)

Composition

Cefpodoxime 50mg + Potassium Clavulanate 31.25mg/ 5ml

Indications & Uses

Upper & lower respiratory infections, Uncomplicated skin infections, Urinary Tract Infections

ESTY CLAV

POWDER FOR ORAL SUSPENSION
30ML (GLASS +HDPE BOTTLE)

Composition

Amoxycillin 200mg + Potassium clavulanate 28.50 mg/ 5ml

Indications & Uses

Community Acquired Pneumonia, Acute Exacerbations of Chronic Bronchitis, Upper Respiratory Tract Infections, Urinary Tract Infections

ESTRIXIME – CV

POWDER FOR ORAL SUSPENSION
30ML (GLASS BOTTLE)

Composition

Cefixime 50mg + Potassium clavulanate 31.25mg/5ml

Indications & Uses

Urinary Tract Inefctions, AECB, Otitis Media, Typhoid/p>

ESTRIXIME

POWDER FOR ORAL SUSPENSION
30ML (HDPE BOTTLE)

Composition

Cefixime 50mg/5ml

Indications & Uses

Urinary Tract Inefctions, Gastroenteritis

REOMELL

ORAL SUSPENSION
15 ml

Composition

Azithromycin 200mg/5ml

Indications & Uses

Community Acquired Pneumonia, Acute Exacerbations of Chronic Bronchitis,

TAMEST – DS

ORAL SUSPENSION
60 ml

Composition

Paracetamol 250mg/5ml

Indications & Uses

Fever, Pain

STREFEN

ORAL SUSPENSION
60 ml

Composition

Paracetamol 125mg + Mefenamic Acid 50mg/5ml

Indications & Uses

Pain, Fever

STREFOX

ORAL SUSPENSION
30 ml

Composition

Ofloxacin 50mg/5ml

Indications & Uses

Acute exacerbations of chronic Bronchitis, Diarrhoea

TAMACET-P

SYRUP
60 ml

Composition

Paracetamol 125mg + PPH 5mg + Cetirizine HCI 2mg/5ml

Indications & Uses

Fever, common cold & Flu

HEPTRELL

ORAL SUSPENSION
200ml

Composition

Cyproheptadine HCI 2mg + Tricholine citrate 0.275mg/5ml

Indications & Uses

Stimulate Apetite, Induces Weight Gain, Cure Allergies

TREP-DSR

CAPSULES ( HARD GELATIN)
10X10 (Alu-Alu)

Composition

Pantoprazole 40mg (EC) + Domperidone 30mg (SR)

Indications & Uses

GERD, Dyspepsia, Acid Peptic Disorders, Gastritis

RALE-DSR

CAPSULES ( HARD GELATIN)
11X10 (Alu-Alu)

Composition

Rabeprazole 20mg (EC) + Domperidone SR

Indications & Uses

GERD, Dyspepsia, Acid Peptic Disorders, Gastritis

STRETOP-40

INJECTION
40ml

Composition

Pantoprazole Sodium 40mg + NaCL

Indications & Uses

Acid-peptic disorders in hospitalized patients, Zollinger – Ellison Syndrome, Treatment of GERD Associated with Erasive Esophagitis, GL Bleed

DIMACID

SUSPENSION
170ml

Composition

Activated Dimethicone 25mg + Magnesium Hydroxide 200mg+ Aluminium Hydroxide Gel 200mg/10ml

Indications & Uses

Heartburn, Acid Indigestion

ELLAZYME

SYRUP
200ml

Composition

Alpha Amylase (1:2000) 50mg, Pepsin(1:3000) 10mg/5ml

Indications & Uses

Dyspepsia, Flatulence, Anorexia, Pancreatic Insufficiency

ARBOLL-Z

CAPSULES (HARD GELATIN)
10X3X10

Composition

Vitamin C 75mg + Vitamin B12 5mcg + Carbonyl Iron 100mg + Folic Acid 1.5mg + Zinc Sulphate 61.8mg

Indications & Uses

Hyphocromic Anemia in Pregnancy, Chronic and / or Acute Blood Loss, Post-gynaesurgery, Iron Deficiency Anemia

EST-D3 60K

CAPSULES (SOFT GELATIN)
10X1X4

Composition

Cholecalciferol 60000 UI

Indications & Uses

Osteoporosis, Osteoarthritis, Musculoskeletal Pain, Type- 2 Diabetes, Menstrual Irregularities, Pre-eclampsia, IUGR

STREBONA

ORAL SUSPENSION
200ml

Composition

Calcium Carbonate 625mg, Vitamin D3 125 IU/5ml

Indications & Uses

Osteomalacia, Osteoporosis, Fractures, Premenstrual Syndrome

STREFE-III

SYRUP (IRON TONIC)
300 ml

Composition

Iron (III) Hydroxide Polymaltose 50mg, Folic Acid 0.5mg/15ml

Indications & Uses

Pregnancy and lactation, Iron Deficiency Anaemia, Anaemia due to Excessive Haemorrhage, Anaemia Associated with Infections and Malignant Disease

STRECIUM

CAPSULES (SOFT GELATIN)
5X2X15

Composition

Calcitriol 0.25mcg + Calcium Carbonate 500mg + Zinc Sulphate 7.5mg

Indications & Uses

Osteoporosis, Hypoparathyroidism, Pregnancy & Lactation, Premenstrual Syndrome

ESTRE-SPAS

TABLETS
20X10

Composition

Mefenamic Acid 250mg + Dicyclomine HCI 10mg

Indications & Uses

Dysmenorrhea, Irritable Bowel Syndrome, Colic and Bladder Spasm, Abdominal Pain

TAMEST-A

TABLETS (BLISTERS)
20X10

Composition

Nimeulide 100mg + Paracetamo; 325mg

Indications & Uses

Arthritis Pain, Soft Tissue Trauma Including Sprains, Musculoskeletal Pain, Pain Following Dental Extraction

PARTRA FORTE

TABLETS

20X10

Composition

Tramadol 37.5mg + Paracetamol 325mg

Indications & Uses

Chronic Back Pain, Osteoarthritis, Postoperative Pain

UMRELY GEL

GEL
30g

Composition

Diclofenac Diethylamine 1.16% w/w + Oleum Linseed Oil 3 % w/w + Menthol 5% w/w +Methyl Salicylate 10% w/w

Indications & Uses

Sprains & Strains, Lower Back Pain, Joint Pain, Knee Pain

MOISTACT

CREAM
20g

Composition

Urea 10% +Lactic Acid 10% + Propylene Glycol 10% + Liquid Paraffin 10%

Indications & Uses

Foot Cracks, Keratolytic

BELODIP

OINTMENT
15g

Composition

Clotrimazole 1% w/w + Beclomethasone Dipropionate 0.025% w/w + Neomycin 0.5% w/w

Indications & Uses

Eczema, Psoriasis, Corticosteroid Responsive Dermatoses

MIN-DAND

LOTION
100 ml

Composition

Ketoconazole 2% w/v

Indications & Uses

Pityriasis, Dandruff

MIN-DAND-Z

LOTION
100 ml

Composition

Ketoconazole Shampoo 2% w/v + ZPTO 1% w/v

Indications & Uses

Pityriasis, Dandruff

MIN-DAND

SOAP
75g

Composition

Ketoconazole 1% w/w

Indications & Uses

Tinea Versicolor, Prophylaxis of Pityriasis Versicolor

FLUTRELLA

TABLETS
20X1X1

Composition

Fluconazole 200mg

Indications & Uses

Vaginal Candidiasis, Brochopulmonary Infections, Candiduria, Tinea Pedis, Corposis, Cruris, Versicolor

ESTRAVIT

SYRUP
200ml

Composition

L-Iysine HCI 25mg + Vitamin B1 2.5mg + Vitamin B2 2.5mg + Vitamin B6 0.75mg + D-panthenol 3mg +Niacinamide 25mg + Mecobalamin 2mcg/10ml

Indications & Uses

Sub-optimal Growth, Poor Weight Gain, Malnutrition, Prolonged Illness

LYCOSTER PLUS

SYRUP
225ml

Composition

Each 10ml Contains: Lycopene 6% 1000mcg + Vitamin A Palmitate 2500 IU + Vitamin E 10 IU + Ascorbic Acid 50mg + Selenium (as Sodium Selenate) 35mcg + Zinc (As Zinc Gluconate) 3mg + Manganese (as Manganese Gluconate) 2mg + Iodine ( As Potassium Iodine) 100mcg + Copper (As Copper Sulphate0 500mcg + Thiamine HCI 2mg + Riboflavine 3mg + Pyridoxine HCI 1.5mg

Indications & Uses

Tiredness, Stress, Feeling of Weakness, Vitality Deficiency

OSERON

CAPSULES (SOFT GELATIN)
10X1X10

Composition

Antioxidant, Multivitamin & Multiminerals

Indications & Uses

Tiredness, Stress, Feeling of Weakness, Vitality Deficiency

GERMELLA

CAPSULES (SOFT GELATIN)
10X1X10

Composition

Vitamin E (Natural) 400 IU + Wheat Germ Oil 100mg + Omega 3 Fatty Acids 30mg

Indications & Uses

Ulcerative colitis, Metabolic Syndrome, Rheumatoid Arthritis, Type-2 Diabetes, Cardiovascular Diseases

LYCOSTER GOLD

CAPSULES (SOFT GELATIN)
10X1X10

Composition

Each SG Contains Lycopene 6% 2000 IU + Vitamin A 2500 IU + Vitamin E Acetate 10 IU + Vitamin C 50 mg + Zinc sulphate Monohydrate 27.45mg + Selenium Dioxide 70mcg

Indications & Uses

Idiopathic Male Infertility, Pre-eclampsia, Prostate Cancer, Cardiovascular Diseases, Diabetes Mellitus

OSERON -G

CAPSULES (SOFT GELATIN)
10X1X11

Composition

Ginseng + Multivitamin + Multimineral

Indications & Uses

Tiredness, Stress, Feeling of Weakness, Vitality Deficiency

OSERON -G

CAPSULES (SOFT GELATIN)
10X1X11

Composition

Ginseng + Multivitamin + Multimineral

Indications & Uses

Tiredness, Stress, Feeling of Weakness, Vitality Deficiency

ESTRIXIME-200 LB

TABLETS (Alu-Alu)
20X10

Composition

Cefixime 200mg + Lactic Acid Bacilus 2.5 billion spores

Indications & Uses

Otitis Media, Pharyngitis & Tonsillitis, Uncomplicated Urinary Tract Infections, Acute Exacerbations of Chronic Bronchitis, Enteric Fever

ESTRIXIME-CV-325

TABLETS (Alu-Alu)
10X1X6

Composition

Cefixime 200mg + Potassium Clavulanate 125mg

Indications & Uses

Respiratory Tract Infections, Urinary Tract Infections, Skin & Skin Structure Infections

ESTY CLAV-625 LB

TABLETS (Alu-Alu)
10X1X6

Composition

Amoxycillin 500mg + Potassium Clavulanate 125mg

Indications & Uses

Respiratory Tract Infections, Community Acquired Pneumonia, Gynaecological Infections, Acute Exacerbations of Chronic Bronchitis, Skin and Soft Tissue Infections

FLOXEST

TABLETS (Blister)
20X10

Composition

Ofloxacin 200mg + Ornidazole 500mg

Indications & Uses

Surgical ions, Diarrheas of Mixed Etiology, Gynaecological Infections, Orofacial and Dental Infections

VOFLOX-500

TABLETS
10X10

Composition

Levofloxacin 500mg

Indications & Uses

Acute Bacterial Sinusitis, Acute Bacterial Exacerbations of Chronic Bronchitis, Skin & Skin Structure Infections, Chronic Bacterial Prostatitis, Urinary Tract Infections

FLOXEST – O

TABLETS (Alu-Alu)
20X10

Composition

Cefixime 200mg + Ofloxacin 200mg

Indications & Uses

Community Acquired Pneumonia, Multiple Drug Resistant-TB, Typhoid

FLOXEST

TABLETS (Alu-Alu)
20X10

Composition

Ofloxacin 200mg

Indications & Uses

Community Acquired Pneumonia, Multiple Drug Resistant-TB, Typhoid

ESTY CLAV- 1.2

INJECTIONS
1.2g

Composition

Amoxycillin 1000mg + Potassium Clavulanate 200mg + WFI

Indications & Uses

Community Acquired Pneumonia, Gynaecological Infections, Upper Respiratory Tract Infections, Skin and Soft Tissue Infections, Urinary Tract Infections, Acute Exacerbations of Chronic Bronchitis

TRELLON-SB 1.5

INJECTIONS
1.5g

Composition

Ceftriaxone 1000mg + Sulbactam 500mg + WFI

Indications & Uses

Gynaecological Infections, Lower Respiratory Tract Infections, Intra-abdominal Infections with Aerobic Organisms, Surgical Prophylaxis

TRELLON-TZ 1.125

INJECTIONS
1.125gm

Composition

Ceftriaxone 1000mg + Tazobactam 500 mg + WFI

Indications & Uses

Bone & Joint Infections, Intra-abdominal Infections, Bacterial Meningitis, Pre-operative Surgical Prophylaxis

RELLAM

INJECTIONS
1gm

Composition

Meropenem 1gm + WFI

Indications & Uses

Complicated Intra-abdominal Infection (cIAI), Complicated Skin & Skin Structure Infections (cSSSI), Bacterial Meningitis, Noscocomial Pneumonia

TRELIN-Z 4.5

INJECTIONS
4.5gm

Composition

Piperacillin 4000mg + Tazobactam 500mg + WFI

Indications & Uses

Intra-abdominal Infections, Complicated Urinary Tract Infections, Febrile Neutropenia, Lower Respiratory Tract Infections

TRELIN-Z 4.5

INJECTIONS
4.5gm

Composition

Piperacillin 4000mg + Tazobactam 500mg + WFI

Indications & Uses

Intra-abdominal Infections, Complicated Urinary Tract Infections, Febrile Neutropenia, Lower Respiratory Tract Infections

BUTRELLA

SYRUP

100ml

Composition

Ambroxol HCI 15mg + Guaiphensin 50mg + Terbutaline Sulphate 1.5mg + Mentholated Base/5ml

Indications & Uses

Bronchitis, Productive Cough, Emphysema, Bronchial Asthma

BUTRELLA-BR

SYRUP

100ml

Composition

Terbutaline Sulphate 1.25mg + Bromhexine HCI 4mg + Guaiphenesin 50mg + Methalated Base/5ml

Indications & Uses

Acute Cough, Abnormal Mucus Secretion, Productive Cough

DEXTRIN

SYRUP
100ml

Composition

Dextromethorphan Hydrobromide 10mg + Phenylpherine 5 mg + Cetrizine 5mg + Mentholated Base/5ml

Indications & Uses

Commom Cold and Flu, Nasal Congestion, Sore Throat

VOTRELL-M

TABLETS (Alu-Alu)
20X10

Composition

Levocetirizine 5mg + Montelukast 10mg

Indications & Uses

Allergic Rhinitis, Nasal Congestion, Asthma

VOTRELL

TABLETS (Alu-Alu)
20X11

Composition

Levocetirizine 5mg

Indications & Uses

Chronic Idiopathic Urticaria (CIU), Seasonal Allergic Rhinitis (SAR), Perennial Allergic Rhinitis (PAR)

Arrange A Callback
[]
1 Step 1
Full Name
Telephone
Departmentyour full name
Postal Address
Message
0 /
Previous
Next
Shopping Basket