'3PULxUPxUUaU퐰UP0MxUҐUDxU0@xU!`qvopenssl_pbkdf2aGxURxUQxUUiU퐰UPxUPUD.ҐU@ؐU@ҐU7ҐU6ҐU@BҐU`@NxUdT% openssl_pkcs7_verifyU0*{UQxUTxUpSxUUqPU퐰UQxUۃ$$ҐU@$֐UҐUBڐUҐUҐUHҐUBڐUҐUBڐUҐUBڐU@pRxU Hjopenssl_pkcs7_encrypt0-{URxUPVxUPUxUUyU퐰URxUۃ$$ ҐU@ҐU@ҐUېU$֐UUאUPҐU<ҐU@PTxU*popenssl_pkcs7_signU0{UTxU0XxUWxUU U퐰UTxUU ҐU@ҐU@ҐUP-xU@*ҐUېU$֐U_ҐUHҐUBڐU@VxUJaOjopenssl_pkcs7_decrypt3{UAPVxU{UXxUU'U퐰UPVxUЋU ҐU@ҐU@ҐU*ҐUڐU@@WxUS*popenssl_pkcs7_readUp6{U@axUOxUpZxUUU퐰UpOxU nҐU@ҐU@pYxU 3gopenssl_cms_verifyUPY{U{U[xU 0{UU*U퐰U@ZxU/Wc.openssl_cms_encryptFFwZxU]xU\xUU00U퐰UZxUۃ$$ ҐU@ҐU@ҐUېU$֐UUאUҐUKҐUPҐU<ҐU@[xU[])openssl_cms_sign~[5P[xU_xU`^xUUP5U퐰U1[xUpU ҐU@ҐU@ҐUP-xU@*ҐUېU$֐UUאUҐUKҐUHҐUBڐU@`]xU^(c.openssl_cms_decryptR w_a]xUbxU``xUU=Uhis->is_promo_active() ? $infinite_pricing->prices->from_single->sale : $regular; } /** * Gets the regular upgrade price from plus to infinite * * @return int */ public function get_regular_plus_to_infinite_price() { $infinite_pricing = $this->get_infinite_pricing(); if ( is_null( $infinite_pricing ) || ! isset( $infinite_pricing->prices->from_plus->regular ) ) { return 0; } return $infinite_pricing->prices->from_plus->regular; } /** * Gets the current upgrade price from plus to infinite * * @return int */ public function get_plus_to_infinite_price() { $infinite_pricing = $this->get_infinite_pricing(); $regular = $this->get_regular_plus_to_infinite_price(); if ( is_null( $infinite_pricing ) || ! isset( $infinite_pricing->prices->from_plus->sale ) ) { return $regular; } return $this->is_promo_active() ? $infinite_pricing->prices->from_plus->sale : $regular; } /** * Gets the number of websites allowed for the single license * * @return int */ public function get_single_websites_count() { $single_pricing = $this->get_single_pricing(); if ( is_null( $single_pricing ) || ! isset( $single_pricing->websites ) ) { return 0; } return (int) $single_pricing->websites; } /** * Gets the number of websites allowed for the plus license * * @return int */ public function get_plus_websites_count() { $plus_pricing = $this->get_plus_pricing(); if ( is_null( $plus_pricing ) || ! isset( $plus_pricing->websites ) ) { return 0; } return (int) $plus_pricing->websites; } /** * Gets the number of websites allowed for the infinite license * * @return int */ public function get_infinite_websites_count() { $infinite_pricing = $this->get_infinite_pricing(); if ( is_null( $infinite_pricing ) || ! isset( $infinite_pricing->websites ) ) { return 0; } return (int) $infinite_pricing->websites; } }