Test – Emarsys form PHP version



“Subscribed”,”2″ => “Not Subscribed”,”3″ => “Unsubscribed”);uasort($arr_7953, “cmp”); $myinp_7953 = array();foreach($arr_7953 as $key => $value) { $pos = strpos($inp_7953[0], $value);if($pos !== false) {$myinp_7953[] = $key;$inp_7953[0] = substr($inp_7953[0],0,$pos) . substr($inp_7953[0],$pos+strlen($value),strlen($inp_7953[0])); }}?>
>Subscribed
>Not Subscribed
>Unsubscribed
content_email_marketing_consent_state: “Subscribed”,”2″ => “Not Subscribed”,”3″ => “Unsubscribed”);uasort($arr_8512, “cmp”); $myinp_8512 = array();foreach($arr_8512 as $key => $value) { $pos = strpos($inp_8512[0], $value);if($pos !== false) {$myinp_8512[] = $key;$inp_8512[0] = substr($inp_8512[0],0,$pos) . substr($inp_8512[0],$pos+strlen($value),strlen($inp_8512[0])); }}?>
>Subscribed
>Not Subscribed
>Unsubscribed
exclusive_email_marketing_consent_state: “Subscribed”,”2″ => “Not Subscribed”,”3″ => “Unsubscribed”);uasort($arr_8513, “cmp”); $myinp_8513 = array();foreach($arr_8513 as $key => $value) { $pos = strpos($inp_8513[0], $value);if($pos !== false) {$myinp_8513[] = $key;$inp_8513[0] = substr($inp_8513[0],0,$pos) . substr($inp_8513[0],$pos+strlen($value),strlen($inp_8513[0])); }}?>
>Subscribed
>Not Subscribed
>Unsubscribed
education_email_marketing_consent_state: “Subscribed”,”2″ => “Not Subscribed”,”3″ => “Unsubscribed”);uasort($arr_8514, “cmp”); $myinp_8514 = array();foreach($arr_8514 as $key => $value) { $pos = strpos($inp_8514[0], $value);if($pos !== false) {$myinp_8514[] = $key;$inp_8514[0] = substr($inp_8514[0],0,$pos) . substr($inp_8514[0],$pos+strlen($value),strlen($inp_8514[0])); }}?>
>Subscribed
>Not Subscribed
>Unsubscribed
sms_marketing_consent_state: “Exclusive Content”);function cmp($a, $b) { if (strlen($a) == strlen($b)) { return 0; } return (strlen($a) > strlen($b)) ? -1 : 1;}uasort($ints, “cmp”); $myints = array();foreach($ints as $key => $value) { $pos = strpos($interest[0], $value); if($pos !== false) {$myints[] = $key;$interest[0] = substr($interest[0],0,$pos) . substr($interest[0],$pos+strlen($value),strlen($interest[0])); }}?>


\r\nalert(\"$alertbox\");“; } ?>