76.gif

Search (advanced search)
Use this Search form before posting, asking or make a new thread.
Tips: Use Quotation mark to search words (eg. "How To Make Money Online")

05-19-2015, 05:20 AM
Post: #91
RE: Decode latest iconCube for FREE!
(05-07-2015 11:44 PM)xufi123 Wrote:  Please decode this http://www88.zippyshare.com/v/J6fEGpcS/file.html

Thanks in Advance
Please help for decode this file.

Thanks
05-19-2015, 05:23 PM
Post: #92
RE: Decode latest iconCube for FREE!
(05-19-2015 05:20 AM)xufi123 Wrote:  
(05-07-2015 11:44 PM)xufi123 Wrote:  Please decode this http://www88.zippyshare.com/v/J6fEGpcS/file.html

Thanks in Advance
Please help for decode this file.

Thanks

PHP Code:
<?php 
$docroot 
realpath(dirname(__FILE__) . "/../");
define("DOC_ROOT"$docroot);
if( !
file_exists(DOC_ROOT "/configuration.php") ) 
{
    
header("Location: installation/");
}

require(
DOC_ROOT "/configuration.php");
$t_conf = new WTKConfig();
define("WTK"true);
require(
DOC_ROOT "/includes/class.auth.php");
require(
DOC_ROOT "/includes/class.config.php");
require(
DOC_ROOT "/includes/class.database.php");
require(
DOC_ROOT "/includes/class.dbloop.php");
require(
DOC_ROOT "/includes/class.dbobject.php");
require(
DOC_ROOT "/includes/class.dbsession.php");
require(
DOC_ROOT "/includes/class.error.php");
require(
DOC_ROOT "/includes/class.gd.php");
require(
DOC_ROOT "/includes/class.loop.php");
require(
DOC_ROOT "/includes/class.objects.php");
require(
DOC_ROOT "/includes/class.pagepref.php");
require(
DOC_ROOT "/includes/class.pager.php");
require(
DOC_ROOT "/includes/class.stats.php");
require(
DOC_ROOT "/includes/class.tag.php");
require(
DOC_ROOT "/includes/functions.inc.php");
if( !
get_magic_quotes_gpc() ) 
{
    
$_POST add_slashes($_POST);
    
$_GET add_slashes($_GET);
    
$_REQUEST add_slashes($_REQUEST);
    
$_COOKIE add_slashes($_COOKIE);
}

$Config Config::getConfig();
$con mysql_connect($t_conf->host$t_conf->user$t_conf->passwd);
if( !
$con 
{
    exit( 
"Database connection error: <b>" mysql_error() . "</b>" );
}

$db_sel mysql_select_db($t_conf->db$con);
if( !
$db_sel 
{
    exit( 
"Database connection error: <b>" mysql_error() . "</b>" );
}

if( 
$Config->useDBSessions === true 
{
    
DBSession::register();
}

if( isset(
$_admin) and& $_admin 
{
    
session_name("wtk_s_admin");
}
else
{
    
session_name("wtk_s");
}

session_start();
$Auth Auth::getAuth();
$Error Error::getError();
$db_1_2 Database::getDatabase();
$lic_debug $lic_skip_curl false;
if( 
file_exists(DOC_ROOT "/.debuglic") ) 
{
    
$lic_debug true;
}

if( 
file_exists(DOC_ROOT "/.wtknocurl") ) 
{
    
$lic_skip_curl true;
}

$license_data $db_1_2->getRow("select * from `license` limit 0, 1");
$licensekey $license_data["licensekey"];
$localkey $license_data["localkey"];
$domain_db $license_data["domain"];
if( 
$lic_debug 
{
    
debug_log("LICENSE CHECK START");
}

$results wtknet_check_license($domain_db$licensekey$localkey);
if( 
$lic_debug 
{
    
debug_log("LICENSE CHECK RESPONSE: " print_r($resultstrue));
}

switch( 
$results["status"] ) 
{
    case 
"Active":
        if( !empty(
$results["localkey"]) ) 
        {
            
$localkeydata $results["localkey"];
            
$val_domains explode(","$results["validdomain"]);
            if( !empty(
$val_domains[0]) ) 
            {
                
$domain_loc $val_domains[0];
            }

            
$db_1_2->query("update `license` set `localkey`='" $localkeydata "', `domain`='" $domain_loc "'");
        }

        break;
        break;
    case 
"Invalid":
        exit( 
"<div style='color:red;'>Error: Invalid License key</div>" );
        break;
    case 
"Expired":
        exit( 
"<div style='color:red;'>Error: License key Expired</div>" );
        break;
    case 
"Suspended":
        exit( 
"<div style='color:red;'>Error: License key is Suspended</div>" );
        break;
    default:
        exit( 
"Invalid Response" );
}
$res_1_2 $db_1_2->query("SELECT * FROM `settings`,`settings_adv`");
$row_1_2 $db_1_2->getRow($res_1_2);
$Config->sitestatus $row_1_2["status"];
$Config->sitename $row_1_2["sitename"];
$Config->contactemail $row_1_2["contactemail"];
$Config->currencycode $row_1_2["currency"];
$Config->currencysymbol $row_1_2["currencycode"];
$Config->currencyrate $row_1_2["currencyrate"];
$Config->servicetax $row_1_2["servicetax"];
$Config->tds $row_1_2["tds"];
$Config->tdspercent $row_1_2["tdspercent"];
$Config->tdspercent_n $row_1_2["tdspercent_n"];
$Config->tdspercent_above $row_1_2["tdspercent_above"];
$Config->fixed_proc_fee $row_1_2["fixed_proc_fee"];
$Config->fixed_proc_fee_upto $row_1_2["fixed_proc_fee_upto"];
$Config->percent_proc_fee $row_1_2["percent_proc_fee"];
$Config->support $row_1_2["sitemail"];
$Config->paypal_id $row_1_2["pid"];
if( 
$row_1_2["ppayment"] == "on" 
{
    
$Config->paypal_enabled 1;
}
else
{
    
$Config->paypal_enabled 0;
}

if( 
$row_1_2["apayment"] == "on" 
{
    
$Config->alertpay_enabled 1;
}
else
{
    
$Config->alertpay_enabled 0;
}

$Config->alertpay_id $row_1_2["aid"];
$Config->paypal_fees_fixed $row_1_2["pfees_fixed"];
$Config->paypal_fees $row_1_2["pfees"];
$Config->alertpay_fees_fixed $row_1_2["afees_fixed"];
$Config->alertpay_fees $row_1_2["afees"];
$Config->title $row_1_2["sitetitle"];
$Config->slogan $row_1_2["slogan"] ? $row_1_2["slogan"] : "";
$Config->keywords $row_1_2["keywords"];
$Config->description $row_1_2["description"];
$Config->site_template $row_1_2["template"];
$Config->template_color $row_1_2["template_color"];
$Config->logo_type $row_1_2["logo_type"];
$Config->logo_text $row_1_2["logo_text"];
$Config->logo $row_1_2["logo"];
$Config->facebook $row_1_2["facebook"];
$Config->twitter $row_1_2["twitter"];
$Config->linkedin $row_1_2["linkedin"];
$Config->minpayout $row_1_2["min_payout"];
$Config->adminRows $row_1_2["rows_per_page"];
$Config->mailspercron $row_1_2["mails_per_cron"];
$Config->prepend_dialcode $row_1_2["prepend_dialcode"];
$Config->timezone $row_1_2["timezone"];
$Config->dateformat $row_1_2["dateformat"];
$row_1_2 $db_1_2->getRow("select * from settings_sms");
$Config->sms_username $row_1_2["username"];
$Config->sms_password $row_1_2["password"];
$Config->sms_sender $row_1_2["senderid"];
$Config->sms_api $row_1_2["api"];
$row_1_2 "";
date_default_timezone_set($Config->timezone);
if( 
$Config->sitestatus == "maintenance" and& $Auth->loggedIn() and& $Auth->level == "user" 
{
    
$Auth->logout();
}

$cutoff time() - 30 24 60 60;
$db_1_2->query("delete from sessions where updated_on < '" $cutoff "'");
require(
DOC_ROOT "/includes/base.inc.php");
function 
wtknet_check_license($domain_last$licensekey$localkey "")
{
    global 
$lic_debug;
    global 
$lic_skip_curl;
    
$whmcsurl "http://wtksoftware.com/clients/";
    
$licensing_secret_key "Hw73pUWa4";
    
$localkeydays 180;
    
$allowcheckfaildays 30;
    
$check_token time() . md5(mt_rand(10000000009999999999) . $licensekey);
    
$checkdate date("Ymd");
    
$domain $_SERVER["SERVER_NAME"];
    if( 
$lic_debug 
    {
        
debug_log("Domain: " $domain " Last Verified: " $domain_last);
    }

    if( empty(
$domain) ) 
    {
        
$domain $domain_last;
    }

    
$usersip = isset($_SERVER["SERVER_ADDR"]) ? $_SERVER["SERVER_ADDR"] : $_SERVER["LOCAL_ADDR"];
    
$dirpath dirname(__FILE__);
    
$verifyfilepath "modules/servers/licensing/verify.php";
    
$localkeyvalid false;
    if( 
$localkey 
    {
        
$localkey str_replace("\n"""$localkey);
        
$localdata substr($localkey0strlen($localkey) - 32);
        
$md5hash substr($localkeystrlen($localkey) - 32);
        if( 
$md5hash == md5($localdata $licensing_secret_key) ) 
        {
            
$localdata strrev($localdata);
            
$md5hash substr($localdata032);
            
$localdata substr($localdata32);
            
$localdata base64_decode($localdata);
            
$localkeyresults unserialize($localdata);
            
$originalcheckdate $localkeyresults["checkdate"];
            if( 
$md5hash == md5($originalcheckdate $licensing_secret_key) ) 
            {
                
$localexpiry date("Ymd"mktime(000date("m"), date("d") - $localkeydaysdate("Y")));
                if( 
$localexpiry $originalcheckdate 
                {
                    
$localkeyvalid true;
                    
$results $localkeyresults;
                    
$validdomains explode(","$results["validdomain"]);
                    if( !
in_array($domain$validdomains) ) 
                    {
                        
$localkeyvalid false;
                        
$localkeyresults["status"] = "Invalid";
                        
$results = array(  );
                    }

                }

            }

        }

    }

    if( !
$localkeyvalid 
    {
        
$postfields = array( "licensekey" => $licensekey"domain" => $domain"ip" => $usersip"dir" => $dirpath );
        if( 
$check_token 
        {
            
$postfields["check_token"] = $check_token;
        }

        
$query_string "";
        foreach( 
$postfields as $k => $v 
        {
            
$query_string .= $k "=" urlencode($v) . "and";
        }
        if( !
$lic_skip_curl and& function_exists("curl_exec") ) 
        {
            if( 
$lic_debug 
            {
                
debug_log("Try Curl");
            }

            
$ch curl_init();
            if( 
$lic_debug 
            {
                
debug_log(curl_error($ch));
            }

            
curl_setopt($chCURLOPT_URL$whmcsurl $verifyfilepath);
            
curl_setopt($chCURLOPT_POST1);
            
curl_setopt($chCURLOPT_POSTFIELDS$query_string);
            
curl_setopt($chCURLOPT_TIMEOUT15);
            
curl_setopt($chCURLOPT_RETURNTRANSFER1);
            
curl_setopt($chCURLOPT_USERAGENT"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13");
            
$data curl_exec($ch);
            if( 
$lic_debug 
            {
                
debug_log("Curl Result: " var_export($datatrue));
            }

            if( 
$lic_debug 
            {
                
debug_log(curl_error($ch));
            }

            
curl_close($ch);
        }

        
$req_blocked false;
        if( 
stripos($data"Mod_Security") ) 
        {
            
$req_blocked true;
        }

        if( !
$data || $req_blocked 
        {
            if( 
$lic_debug 
            {
                
debug_log("Try Socket");
            }

            
$fp fsockopen("www.wtksoftware.com"80$errno$errstr30);
            if( 
$fp 
            {
                if( 
$lic_debug 
                {
                    
debug_log("Make Request");
                }

                
$newlinefeed "\r\n";
                
$header "POST " $whmcsurl $verifyfilepath " HTTP/1.0" $newlinefeed;
                
$header .= "Host: " $whmcsurl $newlinefeed;
                
$header .= "Content-type: application/x-www-form-urlencoded" $newlinefeed;
                
$header .= "Content-length: " . @strlen($query_string) . $newlinefeed;
                
$header .= "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13" $newlinefeed;
                
$header .= "Connection: close" $newlinefeed $newlinefeed;
                
$header .= $query_string;
                
$data "";
                @
stream_set_timeout($fp20);
                @
fputs($fp$header);
                
$status = @socket_get_status($fp);
                while( !@
feof($fp) and& $status 
                {
                    
$data .= @fgets($fp1024);
                    
$status = @socket_get_status($fp);
                }
                if( 
$lic_debug 
                {
                    
debug_log("Result: " var_export($datatrue));
                }

                @
fclose($fp);
            }
            else
            {
                echo 
$errstr " (" $errno ") ";
            }

        }

        if( !
$data 
        {
            if( 
$lic_debug 
            {
                
debug_log("No Data");
            }

            
$localexpiry date("Ymd"mktime(000date("m"), date("d") - ($localkeydays $allowcheckfaildays), date("Y")));
            if( 
$localexpiry $originalcheckdate 
            {
                
$results $localkeyresults;
            }
            else
            {
                
$results = array(  );
                
$results["status"] = "Invalid";
                
$results["description"] = "Remote Check Failed";
                return 
$results;
            }

        }
        else
        {
            
preg_match_all("/<(.*?)>([^<]+)<\\/\\1>/i"$data$matches);
            
$results = array(  );
            foreach( 
$matches[1] as $k => $v 
            {
                
$results[$v] = $matches[2][$k];
            }
        }

        if( !
is_array($results) ) 
        {
            exit( 
"Invalid License Server Response" );
        }

        if( 
$results["md5hash"] and& $results["md5hash"] != md5($licensing_secret_key $check_token) ) 
        {
            
$results["status"] = "Invalid";
            
$results["description"] = "MD5 Checksum Verification Failed";
            return 
$results;
        }

        if( 
$results["status"] == "Active" 
        {
            
$results["checkdate"] = $checkdate;
            
$data_encoded serialize($results);
            
$data_encoded base64_encode($data_encoded);
            
$data_encoded md5($checkdate $licensing_secret_key) . $data_encoded;
            
$data_encoded strrev($data_encoded);
            
$data_encoded $data_encoded md5($data_encoded $licensing_secret_key);
            
$data_encoded wordwrap($data_encoded80"\n"true);
            
$results["localkey"] = $data_encoded;
        }

        
$results["remotecheck"] = true;
    }
    else
    {
        if( 
$lic_debug 
        {
            
debug_log("LICENSE CHECK: Local key is valid");
        }

    }

    unset(
$postfields);
    unset(
$data);
    unset(
$matches);
    unset(
$whmcsurl);
    unset(
$licensing_secret_key);
    unset(
$checkdate);
    unset(
$usersip);
    unset(
$localkeydays);
    unset(
$allowcheckfaildays);
    unset(
$md5hash);
    return 
$results;

If it can be encoded, it can be decoded. If it can be decoded, it can be encoded. The circle of cryptography... Cool
05-19-2015, 06:09 PM (This post was last modified: 05-19-2015 06:10 PM by J_128.)
Post: #93
RE: Decode latest iconCube for FREE!
Please @JustSomeDude

Decode this for me :)

Thanks you for your time :D

https://www.dropbox.com/s/sb5zbf97wfi4wr...s.php?dl=0
05-19-2015, 07:05 PM
Post: #94
RE: Decode latest iconCube for FREE!
(05-19-2015 05:23 PM)JustSomeDude Wrote:  
(05-19-2015 05:20 AM)xufi123 Wrote:  
(05-07-2015 11:44 PM)xufi123 Wrote:  Please decode this http://www88.zippyshare.com/v/J6fEGpcS/file.html

Thanks in Advance
Please help for decode this file.

Thanks

PHP Code:
<?php 
$docroot 
realpath(dirname(__FILE__) . "/../");
define("DOC_ROOT"$docroot);
if( !
file_exists(DOC_ROOT "/configuration.php") ) 
{
    
header("Location: installation/");
}

require(
DOC_ROOT "/configuration.php");
$t_conf = new WTKConfig();
define("WTK"true);
require(
DOC_ROOT "/includes/class.auth.php");
require(
DOC_ROOT "/includes/class.config.php");
require(
DOC_ROOT "/includes/class.database.php");
require(
DOC_ROOT "/includes/class.dbloop.php");
require(
DOC_ROOT "/includes/class.dbobject.php");
require(
DOC_ROOT "/includes/class.dbsession.php");
require(
DOC_ROOT "/includes/class.error.php");
require(
DOC_ROOT "/includes/class.gd.php");
require(
DOC_ROOT "/includes/class.loop.php");
require(
DOC_ROOT "/includes/class.objects.php");
require(
DOC_ROOT "/includes/class.pagepref.php");
require(
DOC_ROOT "/includes/class.pager.php");
require(
DOC_ROOT "/includes/class.stats.php");
require(
DOC_ROOT "/includes/class.tag.php");
require(
DOC_ROOT "/includes/functions.inc.php");
if( !
get_magic_quotes_gpc() ) 
{
    
$_POST add_slashes($_POST);
    
$_GET add_slashes($_GET);
    
$_REQUEST add_slashes($_REQUEST);
    
$_COOKIE add_slashes($_COOKIE);
}

$Config Config::getConfig();
$con mysql_connect($t_conf->host$t_conf->user$t_conf->passwd);
if( !
$con 
{
    exit( 
"Database connection error: <b>" mysql_error() . "</b>" );
}

$db_sel mysql_select_db($t_conf->db$con);
if( !
$db_sel 
{
    exit( 
"Database connection error: <b>" mysql_error() . "</b>" );
}

if( 
$Config->useDBSessions === true 
{
    
DBSession::register();
}

if( isset(
$_admin) and& $_admin 
{
    
session_name("wtk_s_admin");
}
else
{
    
session_name("wtk_s");
}

session_start();
$Auth Auth::getAuth();
$Error Error::getError();
$db_1_2 Database::getDatabase();
$lic_debug $lic_skip_curl false;
if( 
file_exists(DOC_ROOT "/.debuglic") ) 
{
    
$lic_debug true;
}

if( 
file_exists(DOC_ROOT "/.wtknocurl") ) 
{
    
$lic_skip_curl true;
}

$license_data $db_1_2->getRow("select * from `license` limit 0, 1");
$licensekey $license_data["licensekey"];
$localkey $license_data["localkey"];
$domain_db $license_data["domain"];
if( 
$lic_debug 
{
    
debug_log("LICENSE CHECK START");
}

$results wtknet_check_license($domain_db$licensekey$localkey);
if( 
$lic_debug 
{
    
debug_log("LICENSE CHECK RESPONSE: " print_r($resultstrue));
}

switch( 
$results["status"] ) 
{
    case 
"Active":
        if( !empty(
$results["localkey"]) ) 
        {
            
$localkeydata $results["localkey"];
            
$val_domains explode(","$results["validdomain"]);
            if( !empty(
$val_domains[0]) ) 
            {
                
$domain_loc $val_domains[0];
            }

            
$db_1_2->query("update `license` set `localkey`='" $localkeydata "', `domain`='" $domain_loc "'");
        }

        break;
        break;
    case 
"Invalid":
        exit( 
"<div style='color:red;'>Error: Invalid License key</div>" );
        break;
    case 
"Expired":
        exit( 
"<div style='color:red;'>Error: License key Expired</div>" );
        break;
    case 
"Suspended":
        exit( 
"<div style='color:red;'>Error: License key is Suspended</div>" );
        break;
    default:
        exit( 
"Invalid Response" );
}
$res_1_2 $db_1_2->query("SELECT * FROM `settings`,`settings_adv`");
$row_1_2 $db_1_2->getRow($res_1_2);
$Config->sitestatus $row_1_2["status"];
$Config->sitename $row_1_2["sitename"];
$Config->contactemail $row_1_2["contactemail"];
$Config->currencycode $row_1_2["currency"];
$Config->currencysymbol $row_1_2["currencycode"];
$Config->currencyrate $row_1_2["currencyrate"];
$Config->servicetax $row_1_2["servicetax"];
$Config->tds $row_1_2["tds"];
$Config->tdspercent $row_1_2["tdspercent"];
$Config->tdspercent_n $row_1_2["tdspercent_n"];
$Config->tdspercent_above $row_1_2["tdspercent_above"];
$Config->fixed_proc_fee $row_1_2["fixed_proc_fee"];
$Config->fixed_proc_fee_upto $row_1_2["fixed_proc_fee_upto"];
$Config->percent_proc_fee $row_1_2["percent_proc_fee"];
$Config->support $row_1_2["sitemail"];
$Config->paypal_id $row_1_2["pid"];
if( 
$row_1_2["ppayment"] == "on" 
{
    
$Config->paypal_enabled 1;
}
else
{
    
$Config->paypal_enabled 0;
}

if( 
$row_1_2["apayment"] == "on" 
{
    
$Config->alertpay_enabled 1;
}
else
{
    
$Config->alertpay_enabled 0;
}

$Config->alertpay_id $row_1_2["aid"];
$Config->paypal_fees_fixed $row_1_2["pfees_fixed"];
$Config->paypal_fees $row_1_2["pfees"];
$Config->alertpay_fees_fixed $row_1_2["afees_fixed"];
$Config->alertpay_fees $row_1_2["afees"];
$Config->title $row_1_2["sitetitle"];
$Config->slogan $row_1_2["slogan"] ? $row_1_2["slogan"] : "";
$Config->keywords $row_1_2["keywords"];
$Config->description $row_1_2["description"];
$Config->site_template $row_1_2["template"];
$Config->template_color $row_1_2["template_color"];
$Config->logo_type $row_1_2["logo_type"];
$Config->logo_text $row_1_2["logo_text"];
$Config->logo $row_1_2["logo"];
$Config->facebook $row_1_2["facebook"];
$Config->twitter $row_1_2["twitter"];
$Config->linkedin $row_1_2["linkedin"];
$Config->minpayout $row_1_2["min_payout"];
$Config->adminRows $row_1_2["rows_per_page"];
$Config->mailspercron $row_1_2["mails_per_cron"];
$Config->prepend_dialcode $row_1_2["prepend_dialcode"];
$Config->timezone $row_1_2["timezone"];
$Config->dateformat $row_1_2["dateformat"];
$row_1_2 $db_1_2->getRow("select * from settings_sms");
$Config->sms_username $row_1_2["username"];
$Config->sms_password $row_1_2["password"];
$Config->sms_sender $row_1_2["senderid"];
$Config->sms_api $row_1_2["api"];
$row_1_2 "";
date_default_timezone_set($Config->timezone);
if( 
$Config->sitestatus == "maintenance" and& $Auth->loggedIn() and& $Auth->level == "user" 
{
    
$Auth->logout();
}

$cutoff time() - 30 24 60 60;
$db_1_2->query("delete from sessions where updated_on < '" $cutoff "'");
require(
DOC_ROOT "/includes/base.inc.php");
function 
wtknet_check_license($domain_last$licensekey$localkey "")
{
    global 
$lic_debug;
    global 
$lic_skip_curl;
    
$whmcsurl "http://wtksoftware.com/clients/";
    
$licensing_secret_key "Hw73pUWa4";
    
$localkeydays 180;
    
$allowcheckfaildays 30;
    
$check_token time() . md5(mt_rand(10000000009999999999) . $licensekey);
    
$checkdate date("Ymd");
    
$domain $_SERVER["SERVER_NAME"];
    if( 
$lic_debug 
    {
        
debug_log("Domain: " $domain " Last Verified: " $domain_last);
    }

    if( empty(
$domain) ) 
    {
        
$domain $domain_last;
    }

    
$usersip = isset($_SERVER["SERVER_ADDR"]) ? $_SERVER["SERVER_ADDR"] : $_SERVER["LOCAL_ADDR"];
    
$dirpath dirname(__FILE__);
    
$verifyfilepath "modules/servers/licensing/verify.php";
    
$localkeyvalid false;
    if( 
$localkey 
    {
        
$localkey str_replace("\n"""$localkey);
        
$localdata substr($localkey0strlen($localkey) - 32);
        
$md5hash substr($localkeystrlen($localkey) - 32);
        if( 
$md5hash == md5($localdata $licensing_secret_key) ) 
        {
            
$localdata strrev($localdata);
            
$md5hash substr($localdata032);
            
$localdata substr($localdata32);
            
$localdata base64_decode($localdata);
            
$localkeyresults unserialize($localdata);
            
$originalcheckdate $localkeyresults["checkdate"];
            if( 
$md5hash == md5($originalcheckdate $licensing_secret_key) ) 
            {
                
$localexpiry date("Ymd"mktime(000date("m"), date("d") - $localkeydaysdate("Y")));
                if( 
$localexpiry $originalcheckdate 
                {
                    
$localkeyvalid true;
                    
$results $localkeyresults;
                    
$validdomains explode(","$results["validdomain"]);
                    if( !
in_array($domain$validdomains) ) 
                    {
                        
$localkeyvalid false;
                        
$localkeyresults["status"] = "Invalid";
                        
$results = array(  );
                    }

                }

            }

        }

    }

    if( !
$localkeyvalid 
    {
        
$postfields = array( "licensekey" => $licensekey"domain" => $domain"ip" => $usersip"dir" => $dirpath );
        if( 
$check_token 
        {
            
$postfields["check_token"] = $check_token;
        }

        
$query_string "";
        foreach( 
$postfields as $k => $v 
        {
            
$query_string .= $k "=" urlencode($v) . "and";
        }
        if( !
$lic_skip_curl and& function_exists("curl_exec") ) 
        {
            if( 
$lic_debug 
            {
                
debug_log("Try Curl");
            }

            
$ch curl_init();
            if( 
$lic_debug 
            {
                
debug_log(curl_error($ch));
            }

            
curl_setopt($chCURLOPT_URL$whmcsurl $verifyfilepath);
            
curl_setopt($chCURLOPT_POST1);
            
curl_setopt($chCURLOPT_POSTFIELDS$query_string);
            
curl_setopt($chCURLOPT_TIMEOUT15);
            
curl_setopt($chCURLOPT_RETURNTRANSFER1);
            
curl_setopt($chCURLOPT_USERAGENT"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13");
            
$data curl_exec($ch);
            if( 
$lic_debug 
            {
                
debug_log("Curl Result: " var_export($datatrue));
            }

            if( 
$lic_debug 
            {
                
debug_log(curl_error($ch));
            }

            
curl_close($ch);
        }

        
$req_blocked false;
        if( 
stripos($data"Mod_Security") ) 
        {
            
$req_blocked true;
        }

        if( !
$data || $req_blocked 
        {
            if( 
$lic_debug 
            {
                
debug_log("Try Socket");
            }

            
$fp fsockopen("www.wtksoftware.com"80$errno$errstr30);
            if( 
$fp 
            {
                if( 
$lic_debug 
                {
                    
debug_log("Make Request");
                }

                
$newlinefeed "\r\n";
                
$header "POST " $whmcsurl $verifyfilepath " HTTP/1.0" $newlinefeed;
                
$header .= "Host: " $whmcsurl $newlinefeed;
                
$header .= "Content-type: application/x-www-form-urlencoded" $newlinefeed;
                
$header .= "Content-length: " . @strlen($query_string) . $newlinefeed;
                
$header .= "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13" $newlinefeed;
                
$header .= "Connection: close" $newlinefeed $newlinefeed;
                
$header .= $query_string;
                
$data "";
                @
stream_set_timeout($fp20);
                @
fputs($fp$header);
                
$status = @socket_get_status($fp);
                while( !@
feof($fp) and& $status 
                {
                    
$data .= @fgets($fp1024);
                    
$status = @socket_get_status($fp);
                }
                if( 
$lic_debug 
                {
                    
debug_log("Result: " var_export($datatrue));
                }

                @
fclose($fp);
            }
            else
            {
                echo 
$errstr " (" $errno ") ";
            }

        }

        if( !
$data 
        {
            if( 
$lic_debug 
            {
                
debug_log("No Data");
            }

            
$localexpiry date("Ymd"mktime(000date("m"), date("d") - ($localkeydays $allowcheckfaildays), date("Y")));
            if( 
$localexpiry $originalcheckdate 
            {
                
$results $localkeyresults;
            }
            else
            {
                
$results = array(  );
                
$results["status"] = "Invalid";
                
$results["description"] = "Remote Check Failed";
                return 
$results;
            }

        }
        else
        {
            
preg_match_all("/<(.*?)>([^<]+)<\\/\\1>/i"$data$matches);
            
$results = array(  );
            foreach( 
$matches[1] as $k => $v 
            {
                
$results[$v] = $matches[2][$k];
            }
        }

        if( !
is_array($results) ) 
        {
            exit( 
"Invalid License Server Response" );
        }

        if( 
$results["md5hash"] and& $results["md5hash"] != md5($licensing_secret_key $check_token) ) 
        {
            
$results["status"] = "Invalid";
            
$results["description"] = "MD5 Checksum Verification Failed";
            return 
$results;
        }

        if( 
$results["status"] == "Active" 
        {
            
$results["checkdate"] = $checkdate;
            
$data_encoded serialize($results);
            
$data_encoded base64_encode($data_encoded);
            
$data_encoded md5($checkdate $licensing_secret_key) . $data_encoded;
            
$data_encoded strrev($data_encoded);
            
$data_encoded $data_encoded md5($data_encoded $licensing_secret_key);
            
$data_encoded wordwrap($data_encoded80"\n"true);
            
$results["localkey"] = $data_encoded;
        }

        
$results["remotecheck"] = true;
    }
    else
    {
        if( 
$lic_debug 
        {
            
debug_log("LICENSE CHECK: Local key is valid");
        }

    }

    unset(
$postfields);
    unset(
$data);
    unset(
$matches);
    unset(
$whmcsurl);
    unset(
$licensing_secret_key);
    unset(
$checkdate);
    unset(
$usersip);
    unset(
$localkeydays);
    unset(
$allowcheckfaildays);
    unset(
$md5hash);
    return 
$results;

Thank You So Much :) +++Rep added
05-20-2015, 12:42 AM
Post: #95
RE: Decode latest iconCube for FREE!
(05-19-2015 06:09 PM)J_128 Wrote:  Please @JustSomeDude

Decode this for me :)

Thanks you for your time :D

https://www.dropbox.com/s/sb5zbf97wfi4wr...s.php?dl=0

PHP Code:
<?php 
if( function_exists("register_sidebar") ) 
{
    
register_sidebar(array( "name" => "Footer Menü""before_widget" => "<div class=\"footer-yazi\">""after_widget" => "</div>""before_title" => "<strong>""after_title" => "</strong>" ));
}

$themename "Film AteÅŸi Tema";
$shortname "Ates";
$options = array( array( "name" => "Kategori Ayarları""type" => "heading" ), array( "name" => "Slider Kategori ID""desc" => "Slider Kategori ID""id" => "icerikcek""std" => "1,2,3""type" => "text" ), array( "name" => "Sosyal Aglar""type" => "heading" ), array( "name" => "Facebook linki""desc" => "Facebook linki""id" => "soci1""std" => "http://www.facebook.com/sayfaadi""type" => "text" ), array( "name" => "Twitter linki""desc" => "Twitter linki""id" => "soci2""std" => "http://www.twitter.com/sayfaadi""type" => "text" ), array( "name" => "Google + linki""desc" => "Google + linki""id" => "soci3""std" => "https://plus.google.com/113607601294698318851/posts""type" => "text" ), array( "name" => "Reklam Ayarları""type" => "heading" ), array( "name" => "300x250 Reklam Kodu""desc" => "300x250 Reklam Kodu""id" => $shortname "_r301""std" => "300x250 Reklam Kodu ana sayfa, etiket ve kategorilerde sidebarda Ã§Ä±kar""type" => "textarea" ), array( "name" => "300x250 Reklam Kodu""desc" => "300x250 Reklam Kodu""id" => $shortname "_r302""std" => "300x250 Reklam Kodu sadece konu içindeki siderbada saÄŸ altta Ã§Ä±kar""type" => "textarea" ), array( "name" => "300x250 video altı""desc" => "300x250 video altı""id" => $shortname "_r303""std" => "bu alana 600x reklam ekleyebilirsiniz veya 300x250 olarak 2 reklam eklenebilir""type" => "textarea" ), array( "name" => "video Ã¼stü ""desc" => "video Ã¼stü reklam kodu""id" => $shortname "_r304""std" => "bu alana text reklam eklenebilir dilerseniz 600x veya 300x reklam ekleyebilirsiniz""type" => "textarea" ), array( "name" => "Video Ã–ncesi Reklam""desc" => "Video Ã–ncesi Reklam Gösterilsin mi?.""id" => "videoreklam""std" => $default_videoreklam"type" => "checkbox" ), array( "name" => "Video Ã–ncesi Reklam Kodu""desc" => "Video açılanana kadar göstermek istediÄŸiniz reklamın kodları.""id" => "videooncesi""std" => $default_videooncesi"type" => "textarea" ), array( "name" => "Gösterim Süresi.Kaç Saniye.""desc" => "Video Ã–ncesi gösterilecek reklamın kaç saniye gösterilmesini istiyorsanız yazınız..""id" => "reklamsure""std" => $default_reklamsure"type" => "text" ), array( "name" => "Sayyac Kodları""desc" => "Sayyac kodları""id" => $shortname "_r305""std" => "sayyac kodları ve linkleri ekleyebilirsiniz""type" => "textarea" ) );
add_action("wp_head""mytheme_wp_head");
add_action("admin_menu""mytheme_add_admin");
add_action("admin_menu""tj_create_meta_box");
add_action("save_post""tj_save_meta_data");
include(
TEMPLATEPATH "/ozelalanlar.php");
if( 
function_exists("add_theme_support") ) 
{
    
add_theme_support("post-thumbnails");
}

add_action("wp_header""trendwp_theme_check");
add_action("wp_footer""trendwp_theme_check");
add_filter("posts_join""custom_search_join");
add_filter("posts_groupby""custom_search_groupby");
add_filter("posts_where""custom_search_where");
function 
mytheme_add_admin()
{
    global 
$themename;
    global 
$shortname;
    global 
$options;
    if( 
$_GET["page"] == basename(__FILE__) ) 
    {
        if( 
"save" == $_REQUEST["action"] ) 
        {
            foreach( 
$options as $value 
            {
                if( 
$value["type"] != "multicheck" 
                {
                    
update_option($value["id"], $_REQUEST[$value["id"]]);
                }
                else
                {
                    foreach( 
$value["options"] as $mc_key => $mc_value 
                    {
                        
$up_opt $value["id"] . "_" $mc_key;
                        
update_option($up_opt$_REQUEST[$up_opt]);
                    }
                }

            }
            foreach( 
$options as $value 
            {
                if( 
$value["type"] != "multicheck" 
                {
                    if( isset(
$_REQUEST[$value["id"]]) ) 
                    {
                        
update_option($value["id"], $_REQUEST[$value["id"]]);
                    }
                    else
                    {
                        
delete_option($value["id"]);
                    }

                }
                else
                {
                    foreach( 
$value["options"] as $mc_key => $mc_value 
                    {
                        
$up_opt $value["id"] . "_" $mc_key;
                        if( isset(
$_REQUEST[$up_opt]) ) 
                        {
                            
update_option($up_opt$_REQUEST[$up_opt]);
                        }
                        else
                        {
                            
delete_option($up_opt);
                        }

                    }
                }

            }
            
header("Location: themes.php?page=functions.php&saved=true");
            exit();
        }

        if( 
"reset" == $_REQUEST["action"] ) 
        {
            foreach( 
$options as $value 
            {
                if( 
$value["type"] != "multicheck" 
                {
                    
delete_option($value["id"]);
                }
                else
                {
                    foreach( 
$value["options"] as $mc_key => $mc_value 
                    {
                        
$del_opt $value["id"] . "_" $mc_key;
                        
delete_option($del_opt);
                    }
                }

            }
            
header("Location: themes.php?page=functions.php&reset=true");
            exit();
        }

    }

    
add_theme_page($themename " Options""" $themename " Ayarları""edit_themes"basename(__FILE__), "mytheme_admin");
}

function 
mytheme_admin()
{
    global 
$themename;
    global 
$shortname;
    global 
$options;
    if( 
$_REQUEST["saved"] ) 
    {
        echo 
"<div id=\"message\" class=\"updated fade\"><p><strong>" $themename " ayarları kaydedildi.</strong></p></div>";
    }

    if( 
$_REQUEST["reset"] ) 
    {
        echo 
"<div id=\"message\" class=\"updated fade\"><p><strong>" $themename " ayarları sıfırlandı.</strong></p></div>";
    }

    echo 
"<div class=\"wrap\">\r\n<h2>";
    echo 
$themename;
    echo 
" ayarları</h2>\r\n<form method=\"post\">\r\n<table class=\"optiontable\">\r\n";
    foreach( 
$options as $value 
    {
        switch( 
$value["type"] ) 
        {
            case 
"text":
                
option_wrapper_header($value);
                echo 
"\t\t\t\t<input style=\"width:400px;\" name=\"";
                echo 
$value["id"];
                echo 
"\" id=\"";
                echo 
$value["id"];
                echo 
"\" type=\"";
                echo 
$value["type"];
                echo 
"\" value=\"";
                if( 
get_settings($value["id"]) != "" 
                {
                    echo 
get_settings($value["id"]);
                }
                else
                {
                    echo 
$value["std"];
                }

                echo 
"\" />\r\n\t\t";
                
option_wrapper_footer($value);
                break;
                break;
            case 
"select":
                
option_wrapper_header($value);
                echo 
"\t\t\t\t<select style=\"width:240px;\" name=\"";
                echo 
$value["id"];
                echo 
"\" id=\"";
                echo 
$value["id"];
                echo 
"\">\r\n\t\t\t\t\t";
                foreach( 
$value["options"] as $option 
                {
                    echo 
"\t\t\t\t\t<option";
                    if( 
get_settings($value["id"]) == $option 
                    {
                        echo 
" selected=\"selected\"";
                    }
                    else
                    {
                        if( 
$option == $value["std"] ) 
                        {
                            echo 
" selected=\"selected\"";
                        }

                    }

                    echo 
">";
                    echo 
$option;
                    echo 
"</option>\r\n\t\t\t\t\t";
                }
                echo 
"\t\t\t\t</select>\r\n\t\t";
                
option_wrapper_footer($value);
                break;
                break;
            case 
"textarea":
                
$ta_options $value["options"];
                
option_wrapper_header($value);
                echo 
"\t\t\t\t<textarea name=\"";
                echo 
$value["id"];
                echo 
"\" id=\"";
                echo 
$value["id"];
                echo 
"\" style=\"width:400px;height:100px;\">";
                if( 
get_settings($value["id"]) != "" 
                {
                    echo 
stripslashes(get_settings($value["id"]));
                }
                else
                {
                    echo 
$value["std"];
                }

                echo 
"</textarea>\r\n\t\t";
                
option_wrapper_footer($value);
                break;
                break;
            case 
"radio":
                
option_wrapper_header($value);
                foreach( 
$value["options"] as $key => $option 
                {
                    
$radio_setting get_settings($value["id"]);
                    if( 
$radio_setting != "" 
                    {
                        if( 
$key == get_settings($value["id"]) ) 
                        {
                            
$checked "checked=\"checked\"";
                        }
                        else
                        {
                            
$checked "";
                        }

                    }
                    else
                    {
                        if( 
$key == $value["std"] ) 
                        {
                            
$checked "checked=\"checked\"";
                        }
                        else
                        {
                            
$checked "";
                        }

                    }

                    echo 
"\t\t\t\t<input type=\"radio\" name=\"";
                    echo 
$value["id"];
                    echo 
"\" value=\"";
                    echo 
$key;
                    echo 
"\" ";
                    echo 
$checked;
                    echo 
" />";
                    echo 
$option;
                    echo 
"<br />\r\n\t\t";
                }
                
option_wrapper_footer($value);
                break;
                break;
            case 
"checkbox":
                
option_wrapper_header($value);
                if( 
get_settings($value["id"]) ) 
                {
                    
$checked "checked=\"checked\"";
                }
                else
                {
                    
$checked "";
                }

                echo 
"\t\t\t\t\t<input type=\"checkbox\" name=\"";
                echo 
$value["id"];
                echo 
"\" id=\"";
                echo 
$value["id"];
                echo 
"\" value=\"true\" ";
                echo 
$checked;
                echo 
" />\r\n\t\t";
                
option_wrapper_footer($value);
                break;
                break;
            case 
"multicheck":
                
option_wrapper_header($value);
                foreach( 
$value["options"] as $key => $option 
                {
                    
$pn_key $value["id"] . "_" $key;
                    
$checkbox_setting get_settings($pn_key);
                    if( 
$checkbox_setting != "" 
                    {
                        if( 
get_settings($pn_key) ) 
                        {
                            
$checked "checked=\"checked\"";
                        }
                        else
                        {
                            
$checked "";
                        }

                    }
                    else
                    {
                        if( 
$key == $value["std"] ) 
                        {
                            
$checked "checked=\"checked\"";
                        }
                        else
                        {
                            
$checked "";
                        }

                    }

                    echo 
"\t\t\t\t<input type=\"checkbox\" name=\"";
                    echo 
$pn_key;
                    echo 
"\" id=\"";
                    echo 
$pn_key;
                    echo 
"\" value=\"true\" ";
                    echo 
$checked;
                    echo 
" /><label for=\"";
                    echo 
$pn_key;
                    echo 
"\">";
                    echo 
$option;
                    echo 
"</label><br />\r\n\t\t";
                }
                
option_wrapper_footer($value);
                break;
                break;
            case 
"heading":
                echo 
"\t\t<tr valign=\"top\"> \r\n\t\t\t<td colspan=\"2\" style=\"text-align: center;\"><h3>";
                echo 
$value["name"];
                echo 
"</h3></td>\r\n\t\t</tr>\r\n\t\t";
                break;
                break;
            default:
                break;
        }
    }
    echo 
"</table>\r\n<p class=\"submit\">\r\n<input name=\"save\" type=\"submit\" value=\"DeÄŸiÅŸiklikleri kaydet\" />\r\n<input type=\"hidden\" name=\"action\" value=\"save\" />\r\n</p>\r\n</form>\r\n<form method=\"post\">\r\n<p class=\"submit\">\r\n<input name=\"reset\" type=\"submit\" value=\"Sıfırla\" />\r\n<input type=\"hidden\" name=\"action\" value=\"reset\" />\r\n</p>\r\n</form>\r\n";
}

function 
option_wrapper_header($values)
{
    echo 
"\t<tr valign=\"top\"> \r\n\t\t<th scope=\"row\">";
    echo 
$values["name"];
    echo 
":</th>\r\n\t\t<td>\r\n\t";
}

function 
option_wrapper_footer($values)
{
    echo 
"\t\t</td>\r\n\t</tr>\r\n\t<tr valign=\"top\">\r\n\t\t<td>&nbsp;</td><td><small>";
    echo 
$values["desc"];
    echo 
"</small></td>\r\n\t</tr>\r\n\t";
}

function 
mytheme_wp_head()
{
    
$stylesheet get_option("revmag_alt_stylesheet");
    if( 
$stylesheet != "" 
    {
    }

}

function 
the_content_limit($max_char$more_link_text "(more...)"$stripteaser 0$more_file "")
{
    
$content get_the_content($more_link_text$stripteaser$more_file);
    
$content apply_filters("the_content"$content);
    
$content str_replace("]]>""]]>"$content);
    
$content strip_tags($content);
    if( 
strlen($_GET["p"]) ) 
    {
        echo 
$content;
    }
    else
    {
        if( 
$max_char strlen($content) and& ($espacio strpos($content" "$max_char)) ) 
        {
            
$content substr($content0$espacio);
            
$content $content;
            echo 
$content;
        }
        else
        {
            echo 
$content;
        }

    }

}

function 
tj_create_meta_box()
{
    
add_meta_box("post-meta-boxes"__("Film Bilgileri Paneli""baris"), "post_meta_boxes""post""normal""high");
    
add_meta_box("page-meta-boxes"__("Custom Fields Panel""baris"), "page_meta_boxes""page""normal""high");
}

function 
tj_page_meta_boxes()
{
    
$meta_boxes = array( "teaser_text" => array( "name" => "teaser_text""title" => __("Teaser""baris"), "type" => "text""desc" => "Here you can enter some short text for header teaser on a page." ) );
    return 
apply_filters("tj_page_meta_boxes"$meta_boxes);
}

function 
post_meta_boxes()
{
    global 
$post;
    
$meta_boxes tj_post_meta_boxes();
    echo 
"\t<table class=\"form-table\">\r\n\t";
    foreach( 
$meta_boxes as $meta 
    {
        
$value get_post_meta($post->ID$meta["name"], true);
        if( 
$meta["type"] == "text" 
        {
            
get_meta_text_input($meta$value);
        }
        else
        {
            if( 
$meta["type"] == "textarea" 
            {
                
get_meta_textarea($meta$value);
            }
            else
            {
                if( 
$meta["type"] == "select" 
                {
                    
get_meta_select($meta$value);
                }

            }

        }

    }
    echo 
"\t</table>\r\n";
}

function 
page_meta_boxes()
{
    global 
$post;
    
$meta_boxes tj_page_meta_boxes();
    echo 
"\t<table class=\"form-table\">\r\n\t";
    foreach( 
$meta_boxes as $meta 
    {
        
$value stripslashes(get_post_meta($post->ID$meta["name"], true));
        if( 
$meta["type"] == "text" 
        {
            
get_meta_text_input($meta$value);
        }
        else
        {
            if( 
$meta["type"] == "textarea" 
            {
                
get_meta_textarea($meta$value);
            }
            else
            {
                if( 
$meta["type"] == "select" 
                {
                    
get_meta_select($meta$value);
                }

            }

        }

    }
    echo 
"\t</table>\r\n";
}

function 
get_meta_text_input($args = array(  ), $value false)
{
    
extract($args);
    echo 
"\t<tr>\r\n\t\t<th style=\"width:20%;\">\r\n\t\t\t<label for=\"";
    echo 
$name;
    echo 
"\">";
    echo 
$title;
    echo 
"</label>\r\n\t\t</th>\r\n\t\t<td>\r\n\t\t\t<input type=\"text\" name=\"";
    echo 
$name;
    echo 
"\" id=\"";
    echo 
$name;
    echo 
"\" value=\"";
    echo 
wp_specialchars($value1);
    echo 
"\" size=\"30\" tabindex=\"30\" style=\"width: 97%;margin-top:-3px;\" />\r\n\t\t\t<input type=\"hidden\" name=\"";
    echo 
$name;
    echo 
"_noncename\" id=\"";
    echo 
$name;
    echo 
"_noncename\" value=\"";
    echo 
wp_create_nonce(plugin_basename(__FILE__));
    echo 
"\" />\r\n\t\t\t<br />\r\n\t\t\t<p class=\"description\">";
    echo 
$desc;
    echo 
"</p>\r\n\t\t</td>\r\n\t</tr>\r\n\t";
}

function 
get_meta_select($args = array(  ), $value false)
{
    
extract($args);
    echo 
"\t<tr>\r\n\t\t<th style=\"width:20%;\">\r\n\t\t\t<label for=\"";
    echo 
$name;
    echo 
"\">";
    echo 
$title;
    echo 
"</label>\r\n\t\t</th>\r\n\t\t<td>\r\n\t\t\t<select name=\"";
    echo 
$name;
    echo 
"\" id=\"";
    echo 
$name;
    echo 
"\">\r\n\t\t\t";
    foreach( 
$options as $option 
    {
        echo 
"\t\t\t\t<option ";
        if( 
htmlentities($valueENT_QUOTES) == $option 
        {
            echo 
" selected=\"selected\"";
        }

        echo 
">\r\n\t\t\t\t\t";
        echo 
$option;
        echo 
"\t\t\t\t</option>\r\n\t\t\t";
    }
    echo 
"\t\t\t</select>\r\n\t\t\t<input type=\"hidden\" name=\"";
    echo 
$name;
    echo 
"_noncename\" id=\"";
    echo 
$name;
    echo 
"_noncename\" value=\"";
    echo 
wp_create_nonce(plugin_basename(__FILE__));
    echo 
"\" />\r\n\t\t</td>\r\n\t</tr>\r\n\t";
}

function 
get_meta_textarea($args = array(  ), $value false)
{
    
extract($args);
    echo 
"\t<tr>\r\n\t\t<th style=\"width:20%;\">\r\n\t\t\t<label for=\"";
    echo 
$name;
    echo 
"\">";
    echo 
$title;
    echo 
"</label>\r\n\t\t</th>\r\n\t\t<td>\r\n\t\t\t<textarea name=\"";
    echo 
$name;
    echo 
"\" id=\"";
    echo 
$name;
    echo 
"\" cols=\"60\" rows=\"4\" tabindex=\"30\" style=\"width: 97%;margin-top:-3px;\">";
    echo 
wp_specialchars($value1);
    echo 
"</textarea>\r\n\t\t\t<input type=\"hidden\" name=\"";
    echo 
$name;
    echo 
"_noncename\" id=\"";
    echo 
$name;
    echo 
"_noncename\" value=\"";
    echo 
wp_create_nonce(plugin_basename(__FILE__));
    echo 
"\" />\r\n\t\t</td>\r\n\t</tr>\r\n\t";
}

function 
tj_save_meta_data($post_id)
{
    global 
$post;
    if( 
"page" == $_POST["post_type"] ) 
    {
        
$meta_boxes array_merge(tj_page_meta_boxes());
    }
    else
    {
        
$meta_boxes array_merge(tj_post_meta_boxes());
    }

    foreach( 
$meta_boxes as $meta_box 
    {
        if( !
wp_verify_nonce($_POST[$meta_box["name"] . "_noncename"], plugin_basename(__FILE__)) ) 
        {
            return 
$post_id;
        }

        if( 
"page" == $_POST["post_type"] and& !current_user_can("edit_page"$post_id) ) 
        {
            return 
$post_id;
        }

        if( 
"post" == $_POST["post_type"] and& !current_user_can("edit_post"$post_id) ) 
        {
            return 
$post_id;
        }

        
$data stripslashes($_POST[$meta_box["name"]]);
        if( 
get_post_meta($post_id$meta_box["name"]) == "" 
        {
            
add_post_meta($post_id$meta_box["name"], $datatrue);
        }
        else
        {
            if( 
$data != get_post_meta($post_id$meta_box["name"], true) ) 
            {
                
update_post_meta($post_id$meta_box["name"], $data);
            }
            else
            {
                if( 
$data == "" 
                {
                    
delete_post_meta($post_id$meta_box["name"], get_post_meta($post_id$meta_box["name"], true));
                }

            }

        }

    }
}

function 
thumb_cek()
{
    if( 
function_exists("has_post_thumbnail") and& has_post_thumbnail() ) 
    {
        
the_post_thumbnail("medium", array( "class" => "resmi" ));
    }

}

function 
en_cok_afis_thumb()
{
    if( 
function_exists("has_post_thumbnail") and& has_post_thumbnail() ) 
    {
        
the_post_thumbnail("thumbnail", array( "class" => "en-cok-afis" ));
    }

}

function 
film_afis_thumb()
{
    if( 
function_exists("has_post_thumbnail") and& has_post_thumbnail() ) 
    {
        
the_post_thumbnail("medium", array( "class" => "film-afis" ));
    }

}

function 
trendwp_theme_check()
{
    
$output = @file_get_contents(@dirname(__FILE__) . "/footer.php");
    
$y_url "http://www.filmatesi.com/";
    if( !
is_admin() ) 
    {
        
$check "<a href=\"http://www.filmatesi.com\" title=\"film izle\">Film izle</a>";
        if( !
strpos($output$check) ) 
        {
            exit( 
"<script>window.location=\"" $y_url "\";</script>" );
        }

        
$tmp strrev(substr($output0strpos($output$check)));
        
$pos1 strpos($tmp"--!<");
        
$pos2 strpos($tmp">--");
        if( 
$pos1 $pos2 || $pos1 and& !$pos2 
        {
            exit( 
"<script>window.location=\"" $y_url "\";</script>" );
        }

        if( 
preg_match("/\\/\\*/"$tmp) || preg_match("/\\*\\//"$tmp) ) 
        {
            exit( 
"<script>window.location=\"" $y_url "\";</script>" );
        }

    }

}

function 
custom_search_join($join)
{
    if( 
is_search() and& isset($_GET["s"]) ) 
    {
        global 
$wpdb;
        
$join "" " LEFT JOIN " $wpdb->postmeta " ON " $wpdb->posts ".ID = " $wpdb->postmeta ".post_id ";
    }

    return 
$join;
}

function 
custom_search_groupby($groupby)
{
    if( 
is_search() and& isset($_GET["s"]) ) 
    {
        global 
$wpdb;
        
$groupby "" " " $wpdb->posts ".ID ";
    }

    return 
$groupby;
}

function 
custom_search_where($where)
{
    
$old_where $where;
    if( 
is_search() and& isset($_GET["s"]) ) 
    {
        global 
$wpdb;
        
$customs = array( "puan""yil""yonetmen""aciklama""oyuncular" );
        
$query "";
        
$var_q stripslashes($_GET["s"]);
        if( 
$_GET["sentence"] ) 
        {
            
$search_terms = array( $var_q );
        }
        else
        {
            
preg_match_all("/\".*?(\"|\$)|((?<=[\\s\",+])|^)[^\\s\",+]+/"$var_q$matches);
            
$search_terms array_map(create_function("\$a""return trim(\$a, \"\\\"'\\n\\r \");"), $matches[0]);
        }

        
$n $_GET["exact"] ? "" "%";
        
$searchand "";
        foreach( (array) 
$search_terms as $term 
        {
            
$term addslashes_gpc($term);
            
$query .= "" $searchand "(";
            
$query .= "" "(" $wpdb->posts ".post_title LIKE '" $n $term $n "')";
            
$query .= "" " OR (" $wpdb->posts ".post_content LIKE '" $n $term $n "')";
            foreach( 
$customs as $custom 
            {
                
$query .= " OR (";
                
$query .= "" "(" $wpdb->postmeta ".meta_key = '" $custom "')";
                
$query .= "" " AND (" $wpdb->postmeta ".meta_value  LIKE '" $n $term $n "')";
                
$query .= ")";
            }
            
$query .= ")";
            
$searchand " AND ";
        }
        
$term $wpdb->escape($var_q);
        if( !
$_GET["sentense"] and& Count($search_terms) and& $search_terms[0] != $var_q 
        {
            
$search .= "" " OR (" $wpdb->posts ".post_title LIKE '" $n $term $n "')";
            
$search .= "" " OR (" $wpdb->posts ".post_content LIKE '" $n $term $n "')";
        }

        if( !empty(
$query) ) 
        {
            
$where "" " AND (" $query ") AND (" $wpdb->posts ".post_status = 'publish') ";
        }

    }

    return 
$where;

34.gif
If it can be encoded, it can be decoded. If it can be decoded, it can be encoded. The circle of cryptography... Cool
05-20-2015, 08:47 AM (This post was last modified: 05-20-2015 08:48 AM by J_128.)
Post: #96
RE: Decode latest iconCube for FREE!
@JustSomeDude
Thanks you very much rep ++
05-30-2015, 05:49 PM
Post: #97
RE: Decode latest iconCube for FREE!
can you guys please decode this badboy

http://www20.zippyshare.com/v/biJrZiVV/file.html

thanks in advance
05-31-2015, 05:42 PM
Post: #98
RE: Decode latest iconCube for FREE!
OK, I decoded most of it.
Can anyone decode only 2 files, most likely with license?

thanks
06-02-2015, 01:22 AM
Post: #99
RE: Decode latest iconCube for FREE!
only this 2 files?
http://www67.zippyshare.com/v/EeipvPFt/file.html

thanks
06-10-2015, 12:50 AM
Post: #100
RE: Decode latest iconCube for FREE!
hi, help me. Decode please
http://www25.zippyshare.com/v/4nmpAgct/file.html
79.gif




30.gif