Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

function fn_ss_prom_vendor_clean_schema($schema, $promotion_id) { goto u4Brw; ..

Decoded Output download

<?  function fn_ss_prom_vendor_clean_schema($schema, $promotion_id) 
{ 
    goto u4Brw; 
 
    gMX60: ruX1s: 
    goto nPK_u; 
    g0zKR: 
    if (!is_array($addon_params["ss_prom_vendor_conditions_catalog"])) { 
        goto NQjen; 
    } 
    goto SLb08; 
 
    gkojz: yBKQ3: 
    goto WO3lE; 
    wM0GN: 
    goto ya0VY; 
    goto rHeIK; 
 
    fVhUs: 
    goto zPHpo; 
    y2ETY: 
    goto y3CW2; 
    goto DUDaf; 
    SLb08: 
    foreach ($addon_params["ss_prom_vendor_conditions_catalog"] as $name => $flag) { 
        unset($schema["conditions"][$name]); 
 
    } 
    goto BdQuk; 
    oCQkw: 
    return $schema; 
    goto ljQa_; 
 
    dJQya: 
    goto vasKX; 
    ksJM1: 
    if ($zone == "cart") { 
        goto yBKQ3; 
    } 
    goto iAaOP; 
 
    BdQuk: 
    goto sVDaE; 
    WSugU: 
    goto Q_tfl; 
    goto rjf_g; 
 
    e0DP0: y3CW2: 
    goto wM0GN; 
 
    zPHpo: wEyKX: 
    goto p6A5t; 
    pSwwX: 
    $schema = array(); 
    goto jlIDB; 
    WrUAh: 
    foreach ($addon_params["ss_prom_vendor_bonuses"] as $name => $flag) { 
        unset($schema["bonuses"][$name]); 
 
    } 
    goto dJQya; 
    u4Brw: 
    if (!($_SESSION["auth"]["user_type"] == "V")) { 
        goto qWxbc; 
    } 
    goto cb3_9; 
 
    vasKX: nveeh: 
    goto WSugU; 
    iAaOP: 
    if ($zone == "catalog") { 
        goto MLeJA; 
    } 
    goto pSwwX; 
    aDXaq: 
    $zone = db_get_field("SELECT zone FROM ?:promotions WHERE promotion_id = ?i", $promotion_id); 
    goto e0DP0; 
 
    rHeIK: Hz1cf: 
    goto xMhA_; 
    xMhA_: 
    $zone = $_REQUEST["zone"]; 
    goto dDa1k; 
    jlIDB: 
    goto Q_tfl; 
    goto gkojz; 
 
    dDa1k: ya0VY: 
    goto X7i0B; 
 
    nPK_u: qWxbc: 
    goto oCQkw; 
    K4X21: 
    $schema = array(); 
    goto y2ETY; 
    X7i0B: 
    $addon_params = Registry::get("addons.ss_prom_vendor"); 
    goto nBybU; 
 
    sVDaE: NQjen: 
    goto T_0mO; 
    p6A5t: 
    if (!is_array($addon_params["ss_prom_vendor_bonuses"])) { 
        goto nveeh; 
    } 
    goto WrUAh; 
    WO3lE: 
    if (!is_array($addon_params["ss_prom_vendor_conditions_cart"])) { 
        goto wEyKX; 
    } 
    goto n9NPB; 
 
    rjf_g: MLeJA: 
    goto g0zKR; 
    nBybU: 
    if (!isset($zone)) { 
        goto ruX1s; 
    } 
    goto ksJM1; 
    cb3_9: 
    if (isset($_REQUEST["zone"])) { 
        goto Hz1cf; 
    } 
    goto jZASX; 
 
    T_0mO: Q_tfl: 
    goto gMX60; 
 
    DUDaf: aprEa: 
    goto aDXaq; 
    n9NPB: 
    foreach ($addon_params["ss_prom_vendor_conditions_cart"] as $name => $flag) { 
        unset($schema["conditions"][$name]); 
 
    } 
    goto fVhUs; 
    jZASX: 
    if (isset($promotion_id) && $promotion_id > 0) { 
        goto aprEa; 
    } 
    goto K4X21; 
    ljQa_: 
} ?>

Did this file decode correctly?

Original Code

function fn_ss_prom_vendor_clean_schema($schema, $promotion_id)
{
    goto u4Brw;

    gMX60: ruX1s:
    goto nPK_u;
    g0zKR:
    if (!is_array($addon_params["ss_prom_vendor_conditions_catalog"])) {
        goto NQjen;
    }
    goto SLb08;

    gkojz: yBKQ3:
    goto WO3lE;
    wM0GN:
    goto ya0VY;
    goto rHeIK;

    fVhUs:
    goto zPHpo;
    y2ETY:
    goto y3CW2;
    goto DUDaf;
    SLb08:
    foreach ($addon_params["ss_prom_vendor_conditions_catalog"] as $name => $flag) {
        unset($schema["conditions"][$name]);

    }
    goto BdQuk;
    oCQkw:
    return $schema;
    goto ljQa_;

    dJQya:
    goto vasKX;
    ksJM1:
    if ($zone == "cart") {
        goto yBKQ3;
    }
    goto iAaOP;

    BdQuk:
    goto sVDaE;
    WSugU:
    goto Q_tfl;
    goto rjf_g;

    e0DP0: y3CW2:
    goto wM0GN;

    zPHpo: wEyKX:
    goto p6A5t;
    pSwwX:
    $schema = array();
    goto jlIDB;
    WrUAh:
    foreach ($addon_params["ss_prom_vendor_bonuses"] as $name => $flag) {
        unset($schema["bonuses"][$name]);

    }
    goto dJQya;
    u4Brw:
    if (!($_SESSION["auth"]["user_type"] == "V")) {
        goto qWxbc;
    }
    goto cb3_9;

    vasKX: nveeh:
    goto WSugU;
    iAaOP:
    if ($zone == "catalog") {
        goto MLeJA;
    }
    goto pSwwX;
    aDXaq:
    $zone = db_get_field("SELECT zone FROM ?:promotions WHERE promotion_id = ?i", $promotion_id);
    goto e0DP0;

    rHeIK: Hz1cf:
    goto xMhA_;
    xMhA_:
    $zone = $_REQUEST["zone"];
    goto dDa1k;
    jlIDB:
    goto Q_tfl;
    goto gkojz;

    dDa1k: ya0VY:
    goto X7i0B;

    nPK_u: qWxbc:
    goto oCQkw;
    K4X21:
    $schema = array();
    goto y2ETY;
    X7i0B:
    $addon_params = Registry::get("addons.ss_prom_vendor");
    goto nBybU;

    sVDaE: NQjen:
    goto T_0mO;
    p6A5t:
    if (!is_array($addon_params["ss_prom_vendor_bonuses"])) {
        goto nveeh;
    }
    goto WrUAh;
    WO3lE:
    if (!is_array($addon_params["ss_prom_vendor_conditions_cart"])) {
        goto wEyKX;
    }
    goto n9NPB;

    rjf_g: MLeJA:
    goto g0zKR;
    nBybU:
    if (!isset($zone)) {
        goto ruX1s;
    }
    goto ksJM1;
    cb3_9:
    if (isset($_REQUEST["zone"])) {
        goto Hz1cf;
    }
    goto jZASX;

    T_0mO: Q_tfl:
    goto gMX60;

    DUDaf: aprEa:
    goto aDXaq;
    n9NPB:
    foreach ($addon_params["ss_prom_vendor_conditions_cart"] as $name => $flag) {
        unset($schema["conditions"][$name]);

    }
    goto fVhUs;
    jZASX:
    if (isset($promotion_id) && $promotion_id > 0) {
        goto aprEa;
    }
    goto K4X21;
    ljQa_:
}

Function Calls

None

Variables

None

Stats

MD5 9994c96da4e39714545f9f929db7d62a
Eval Count 0
Decode Time 55 ms