Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php drupal_add_js(drupal_get_path("\x6d\157\144\x75\x6c\x65", "\x6d\x69\156\151\x6f..
Decoded Output download
<?php
drupal_add_js(drupal_get_path("module", "miniorange_oauth_client") . "/js/Config.js");
include "miniorange_oauth_support.php";
class Utilities
{
public static function faq(&$form, &$form_state)
{
$form["miniorange_faq"] = array("#markup" => "<div ><b></b>\xd\xa <a class="btn btn-primary-faq btn-large btn_faq_buttons" style="float: inherit;color: #48a0dc;border: 2px solid #48a0dc; margin-left: 40px;" href="https://faq.miniorange.com/kb/oauth-openid-connect/" target="_blank">FAQs</a>\xd\xa <b></b><a class="btn btn-primary-faq btn-large btn_faq_buttons" style="float: inherit;color: #48a0dc;border: 2px solid #48a0dc; margin-left:15px;" href="https://forum.miniorange.com/" target="_blank">Ask questions on forum</a></div>");
}
public static function AddguidesTab(&$form, $form_state)
{
$form["miniorange_idp_setup_guide_link"] = array("#markup" => "<div class="mo_saml_table_layout_support_3 mo_saml_table_layout_3 mo_saml_container_3" id="mo_oauth_guide_vt">");
$form["miniorange_idp_guide_link1"] = array("#markup" => "<div style="font-size: 15px;"><b>To see detailed documentation of how to configure Drupal OAuth Client with any OAuth Server</b></div></br>");
$form["miniorange_oauth_guide_table_list"] = array("#markup" => "<div class="table-responsive mo_guide_text-center" style="font-family: sans-serif;font-size: 15px;">\xd
<table class="mo_guide_table mo_guide_table-striped mo_guide_table-bordered" style="border: 1px solid #ddd;max-width: 100%;border-collapse: collapse;">\xd\xa <thead>
<tr><th colspan="2" class="mo_guide_text-center" style="font-weight:bold;">Providers</th></tr>
\xa </thead>\xd\xa <tbody>
<tr><td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/setup-guide-to-configure-azure-ad-with-drupal-oauth-client" target="_blank">Azure AD</a></td><td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/setup-guide-to-configure-line-with-drupal-oauth-client" target="_blank">Line</a></td></tr>
\xa <tr><td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/setup-guide-to-configure-aws-cognito-with-drupal" target="_blank">AWS Cognito</a></td> <td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/configure-fitbit-oauth-server-for-drupal-8" target="_blank">Fitbit</a></td></tr>
\xa <tr><td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/configure-google-oauth-server-drupal-8" target="_blank">Google</a></td> <td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/configure-linkedin-as-an-oauth-openid-connect-server-for-drupal-8-client" target="_blank">LinkedIn</a></td></tr>
\xa <tr><td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/guide-to-configure-miniorange-with-drupal" target="_blank">miniOrange</a></td> <td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/guide-to-configure-whmcs-as-an-oauth-server-for-drupal" target="_blank">WHMCS</a></td></tr>
<tr><td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/guide-to-configure-keycloak-for-drupal-oauth-client-module" target="_blank">Keycloak</a></td><td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/guide-to-configure-azure-ad-as-an-oauthopenid-connect-server-for-drupal" target="_blank">Azure AD B2C</a></td></tr>
<tr><td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/guide-salesforce-configuration-drupal-oauth-client-module" target="_blank">Salesforce</a></td><td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/guide-configure-zendesk-drupal" target="_blank">Zendesk</a></td></tr>\xd\xa <tr><td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/guide-to-configure-onelogin-with-drupal" target="_blank">Onelogin</a></td> <td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/guide-configure-box-drupal" target="_blank">Box</a></td></tr>\xd
<tr><td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/configure-facebook-oauth-server-for-drupal-8" target="_blank">Facebook</a> </td> <td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/configure-instagram-as-an-oauth-openid-connect-server-for-drupal-8-client" target="_blank">Instagram</a></strong></td></tr>
\xa <tr><td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/setup-guide-to-configure-discord-with-drupal-oauth-client" target="_blank">Discord</a> </td> <td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/configure-reddit-oauthopenid-connect-server-drupal-8" target="_blank">Reddit</a></strong></td></tr>\xd\xa <tr><td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/guide-to-configure-wildapricot-with-drupal" target="_blank">Wild Apricot</a> </td> <td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/configure-github-oauthopenid-connect-server-drupal-8" target="_blank">Github</a></strong></td></tr>
\xa <tr><td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/guide-to-configure-okta-with-drupal" target="_blank">Okta</a> </td><td class="mo_guide_text-center"><a class="mo_guide_text-color" href="https://plugins.miniorange.com/guide-to-enable-miniorange-oauth-client-for-drupal" target="_blank">Other Providers</a> </td></tr>
</tbody>\xd
</table>
\xa <div>In case you do not find your desired OAuth Server listed here, please mail us on <a href="mailto:[email protected]">[email protected]</a>
\xa and we will help you to set it up.</div>\xd\xa </div>");
self::faq($form, $form_state);
$form["miniorange_end_of_guide"] = array("#markup" => "</div>");
}
public static function AddsupportTab(&$form, $form_state)
{
$form["markup_idp_attr_header_top_support"] = array("#markup" => "</div><div class="mo_saml_table_layout_support_1">");
$form["markup_support_1"] = array("#markup" => "<h3><b>Support:</b></h3><div>Need any help? Just send us a query so we can help you.<br /></div>");
$form["miniorange_oauth_email_address_support"] = array("#type" => "textfield", "#attributes" => array("style" => "width:100%", "placeholder" => "Enter your Email"), "#default_value" => variable_get("miniorange_oauth_client_customer_admin_email", NULL));
$form["miniorange_oauth_phone_number_support"] = array("#type" => "textfield", "#attributes" => array("style" => "width:100%", "placeholder" => "Enter your phone number with country code eg.(+91)"), "#default_value" => variable_get("miniorange_oauth_client_customer_admin_phone", NULL));
$form["miniorange_oauth_support_query_support"] = array("#type" => "textarea", "#cols" => "10", "#rows" => "5", "#attributes" => array("style" => "width:100%", "placeholder" => "Write your query here."), "#resizable" => False);
$form["miniorange_saml_support_submit_click"] = array("#type" => "submit", "#value" => t("Submit Query"), "#submit" => array("send_support_query"), "#limit_validation_errors" => array(), "#attributes" => array("style" => "background: #337ab7;color: #ffffff;text-shadow: 0 -1px 1px #337ab7, 1px 0 1px #337ab7, 0 1px 1px #337ab7, -1px 0 1px #337ab7;box-shadow: 0 1px 0 #337ab7;border-color: #337ab7 #337ab7 #337ab7;display:block;margin-left:auto;margin-right:auto;"));
$form["miniorange_saml_support_note"] = array("#markup" => "<div>If you want custom features in the module, just drop an email to <a href="mailto:[email protected]">[email protected]</a></div><br>");
self::faq($form, $form_state);
$form["miniorange_end_of_support"] = array("#markup" => "</div>");
}
public static function show_attr_list_from_idp(&$form, $form_state)
{
global $base_url;
$Xb = variable_get("miniorange_oauth_client_attr_list_from_server");
if (!empty($Xb)) {
goto ts;
}
Utilities::AddguidesTab($form, $form_state);
return;
ts:
$form["miniorange_idp_guide_link"] = array("#markup" => "<div class="mo_saml_table_layout_4 mo_saml_container_3">");
$form["miniorange_saml_attr_header"] = array("#markup" => "<b>Attributes received from the OAuth Server:</b><br><br>");
$TD = count($Xb);
$sM = $TD >= 8 ? "scrollit" : '';
$form["mo_saml_attrs_list_idp"] = array("#markup" => "<div class="table-responsive mo_guide_text-center" style="font-family: sans-serif;font-size: 12px;"><div class=" . $sM . ">
<table class="mo_guide_table mo_guide_table-striped mo_guide_table-bordered" style="border: 1px solid #ddd;max-width: 100%;border-collapse: collapse;">\xd
<thead>\xd
<tr>
\xa <th class="mo_guide_text-center mo_td_values">ATTRIBUTE NAME</th>\xd\xa <th class="mo_guide_text-center mo_td_values">ATTRIBUTE VALUE</th> \xd\xa </tr>
\xa </thead>");
$rs = '';
$EE = '';
if (!(isset($Xb) && !empty($Xb))) {
goto wt;
}
foreach ($Xb as $Gs => $yJ) {
if (is_array($yJ) || is_object($yJ)) {
goto Lc;
}
$rs .= "<tr><td>" . $Gs . "</td><td>";
$rs .= $yJ . "</td></tr>";
goto SO;
Lc:
foreach ($yJ as $iu => $xO) {
$rs .= "<tr><td>" . $Gs . "." . $iu . "</td><td>";
$rs .= $xO . "</td></tr>";
lV:
}
hr:
SO:
if (!($Gs == "roles" && is_array($Xb["roles"]))) {
goto ul;
}
foreach ($yJ as $W2 => $Sx) {
$EE .= $Sx . " | ";
yn:
}
jl:
$rs .= $EE . "</td></tr>";
ul:
H1:
}
Li:
wt:
$form["miniorange_saml_guide_table_list"] = array("#markup" => "<tbody style="font-weight:bold;font-size: 12px;color:gray;">" . $rs . "</tbody></table></div>");
$form["miniorange_break"] = array("#markup" => "<br>");
$form["miniorange_saml_clear_attr_list"] = array("#type" => "submit", "#value" => t("Clear Attribute List"), "#submit" => array("clear_attr_list"), "#id" => "button_config_center", "#limit_validation_errors" => array());
$form["miniorange_saml_guide_clear_list_note"] = array("#markup" => "<br><div style="font-size: 13px;"><b>NOTE : </b>Please clear this list after configuring the module to hide your confidential attributes.<br>
\xa Click on <b>Test configuration</b> in <b>CONFIGURE OAUTH</b> tab to populate the list again.</div>");
$form["miniorange_saml_guide_table_end"] = array("#markup" => "</div>");
}
public static function AddSupportButton(&$form, &$form_state)
{
$form["miniorange-saml-idp-support-side-button"] = array("#type" => "button", "#value" => t("Support"), "#attributes" => array("style" => "font-size: 15px;cursor: pointer;text-align: center;width: 150px;height: 35px;\xd\xa background: rgba(43, 141, 65, 0.93);color: #ffffff;border-radius: 3px;transform: rotate(90deg);text-shadow: none;
position: relative;margin-left: -92px;top: 94px;"), "#prefix" => "<div id="mosaml-feedback-form" class="mo_saml_table_layout_support_btn">", "#suffix" => "<div id="Support_Section" class="mo_saml_table_layout_support_2">");
$form["markup_support_1"] = array("#markup" => "<h3><b>Feature Request/Contact Us:</b></h3>
<div>Need any help? We can help you with configuring your OAuth Provider.\xd
Just send us a query and we will get back to you soon.<br /></div>");
$form["miniorange_oauth_email_address_support"] = array("#type" => "textfield", "#attributes" => array("style" => "width:100%", "placeholder" => "Enter your Email"));
$form["miniorange_oauth_phone_number_support"] = array("#type" => "textfield", "#attributes" => array("style" => "width:100%", "placeholder" => "Enter your Phone Number"));
$form["miniorange_oauth_support_query_support"] = array("#type" => "textarea", "#clos" => "10", "#rows" => "5", "#attributes" => array("style" => "width:100%", "placeholder" => "Write your query here"));
$form["miniorange_saml_support_submit_click"] = array("#type" => "submit", "#value" => t("Submit Query"), "#submit" => array("Utilities::send_support_query"), "#limit_validation_errors" => array(), "#attributes" => array("style" => "background: #337ab7;color: #ffffff;text-shadow: 0 -1px 1px #337ab7, 1px 0 1px #337ab7, 0 1px 1px #337ab7, -1px 0 1px #337ab7;box-shadow: 0 1px 0 #337ab7;border-color: #337ab7 #337ab7 #337ab7;display:block;margin-left:auto;margin-right:auto;"));
$form["miniorange_saml_support_note"] = array("#markup" => "<div>If you want custom features in the module, just drop an email to\xd\xa <a href="mailto:[email protected]">[email protected]</a></div>
\xa </div></div><div hidden id="mosaml-feedback-overlay"></div>");
}
public static function createUpdateUrl($dv, $DA, $o2, $B2, $mR, $aF)
{
$Nu = "1111111111111111" . $dv;
$qF = $aF . "/moas/api/plugin/drupalJoomlaUpdate/" . $mR . "/" . $DA . "/" . $o2 . "/";
$ZJ = openssl_cipher_iv_length($m7 = "AES-128-CBC");
$HE = openssl_random_pseudo_bytes($ZJ);
$vS = openssl_encrypt($Nu, $m7, $B2, $cw = OPENSSL_RAW_DATA, $HE);
return $qF . str_replace(array("+", "/", "="), array("-", "_", ''), base64_encode($vS));
}
public static function isCustomerRegistered(&$form, $form_state)
{
global $base_url;
$RN = $base_url . "/admin/config/people/miniorange_oauth_client/";
if (variable_get("miniorange_oauth_client_customer_admin_email", NULL) == NULL || variable_get("miniorange_oauth_client_customer_id", NULL) == NULL || variable_get("miniorange_oauth_client_customer_admin_token", NULL) == NULL || variable_get("miniorange_oauth_client_customer_api_key", NULL) == NULL) {
goto ur;
}
if (variable_get("miniorange_oauth_client_license_key", NULL) == NULL) {
goto xG;
}
return FALSE;
goto MZ;
xG:
$form["markup_msg"] = array("#markup" => "<div class="mo_saml_register_message">You need to <a href="" . $RN . "" >verify your license</a> key before using this module.</div>");
return TRUE;
MZ:
goto C_;
ur:
$form["markup_reg_msg"] = array("#markup" => "<div class="mo_saml_register_message">You need to <a href="" . $RN . "" >login</a> with miniOrange before using this module.</div>");
return TRUE;
C_:
}
public static function Is_Restricted_Domain($o9)
{
$GE = variable_get("miniorange_oauth_enable_domain_restriction");
if (!($GE === FALSE)) {
goto W1;
}
return FALSE;
W1:
$rw = explode("@", $o9)[1];
if (!(is_null($rw) || empty($rw))) {
goto AT;
}
return FALSE;
AT:
$O_ = variable_get("miniorange_oauth_domains");
if (!(empty($O_) || !isset($O_))) {
goto Vd;
}
return FALSE;
Vd:
$Ja = variable_get("miniorange_oauth_domains_are_white_or_black");
$O_ = explode(";", $O_);
if ($Ja === "white") {
goto Vb;
}
if ($Ja == "black") {
goto Ai;
}
goto UE;
Vb:
if (array_search($rw, $O_) === FALSE) {
goto qZ;
}
return FALSE;
goto W_;
qZ:
return TRUE;
W_:
goto UE;
Ai:
if (array_search($rw, $O_) === FALSE) {
goto EF;
}
return TRUE;
goto wE;
EF:
return FALSE;
wE:
UE:
}
public static function is_page_restricted($YQ)
{
$p2 = variable_get("miniorange_oauth_enable_page_restriction");
if (!($p2 === FALSE)) {
goto d_;
}
return FALSE;
d_:
if (!(is_null($YQ) || empty($YQ))) {
goto TE;
}
return FALSE;
TE:
$Yt = variable_get("miniorange_oauth_page_restrict");
if (!(empty($Yt) || !isset($Yt))) {
goto ui;
}
return FALSE;
ui:
$Yt = explode(";", $Yt);
if (array_search($YQ, $Yt) === FALSE) {
goto xl;
}
return TRUE;
goto Ml;
xl:
return FALSE;
Ml:
}
public static function send_support_query(&$form, $form_state)
{
$pC = trim($form["miniorange_oauth_email_address_support"]["#value"]);
$dO = $form["miniorange_oauth_phone_number_support"]["#value"];
$BW = trim($form["miniorange_oauth_support_query_support"]["#value"]);
Utilities::send_query($pC, $dO, $BW);
}
public static function send_query($pC, $dO, $BW)
{
if (empty($pC) || empty($BW)) {
goto aM;
}
if (!valid_email_address($pC)) {
goto t1;
}
goto QP;
aM:
drupal_set_message(t("The <b><u>Email</u></b> and <b><u>Query</u></b> fields are required."), "error");
return;
goto QP;
t1:
drupal_set_message(t("The email address <b><i>" . $pC . "</i></b> is not valid."), "error");
return;
QP:
$Q2 = new MiniOrange_oauth_support($pC, $dO, $BW);
$J8 = $Q2->sendSupportQuery();
if ($J8) {
goto Yj;
}
drupal_set_message(t("Error sending support query"), "error");
goto QF;
Yj:
drupal_set_message(t("Support query sent successfully. We will get in touch shortly!"));
QF:
}
public static function getRealIpAddr()
{
if (!empty($_SERVER["HTTP_CLIENT_IP"])) {
goto jb;
}
if (!empty($_SERVER["HTTP_X_FORWARDED_FOR"])) {
goto Yz;
}
$n8 = $_SERVER["REMOTE_ADDR"];
goto WU;
jb:
$n8 = $_SERVER["HTTP_CLIENT_IP"];
goto WU;
Yz:
$n8 = $_SERVER["HTTP_X_FORWARDED_FOR"];
WU:
return $n8;
}
public static function save_SSO_report_data($aB, $Tp = FALSE, $pC = FALSE)
{
$Uw = '';
if (!isset($_SESSION["navigation_url"])) {
goto IG;
}
$Uw = $_SESSION["navigation_url"];
IG:
unset($_SESSION["navigation_url"]);
$d9 = array("username" => $Tp ? $Tp : "-", "status" => $aB, "application" => variable_get("miniorange_auth_client_app_name", ''), "date_and_time" => date("F j, Y, g:i a", time()), "email" => $pC ? $pC : "-", "ip_address" => Utilities::getRealIpAddr(), "navigation_url" => $Uw);
$zd = db_insert("oauth_client_sso_report")->fields($d9)->execute();
}
public static function showDomainRestrictionError($y1, $pC)
{
global $base_url;
Utilities::save_SSO_report_data("FAILURE. Domain Restricted", $y1 ? $y1 : "-", $pC);
echo "<div style="font-family:Calibri;padding:0 3%;">";
echo "<div style="color: #a94442;background-color: #f2dede;padding: 15px;margin-bottom: 20px;text-align:center;border:1px solid #E6B3B2;font-size:18pt;"> ERROR</div>
<div style="color: #a94442;font-size:14pt; margin-bottom:20px;"><p><strong>Error: </strong>Domain restriction is enabled.</p>
<p>Please contact your administrator.</p>\xd\xa <p><strong>Possible Cause: </strong>Your domain is not allowed to login.</p>\xd
</div>
\xa <div style="margin:3%;display:block;text-align:center;"></div>\xd
<div style="margin:3%;display:block;text-align:center;">\xd\xa <form method="POST" action ="" . $base_url . "">
<input style="padding:1%;width:100px;background: #0091CD none repeat scroll 0% 0%;cursor: pointer;font-size:15px;border-width: 1px;border-style: solid;border-radius: 3px;white-space: nowrap;box-sizing: border-box;border-color: #0073AA;box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset;color: #FFF;"type="submit" value="Done" ">\xd\xa </form>\xd\xa </div>";
die;
}
public static function isCurlInstalled()
{
if (in_array("curl", get_loaded_extensions())) {
goto Fu;
}
return 0;
goto c7;
Fu:
return 1;
c7:
}
public static function getOAuthBaseURL($base_url)
{
if (!empty(variable_get("miniorange_oauth_client_base_url"))) {
goto To;
}
$wz = $base_url;
goto HZ;
To:
$wz = variable_get("miniorange_oauth_client_base_url");
HZ:
return $wz;
}
public static function getTabNames()
{
$jc = array("OAuth Client Configuration" => "mo_options_enum_config_oauth", "Attribute Mapping" => "mo_options_enum_mapping", "Sign In Settings" => "mo_options_enum_signin_settings");
return $jc;
}
public static function getVariableNames($N7)
{
if ($N7 == "mo_options_enum_config_oauth") {
goto h8;
}
if ($N7 == "mo_options_enum_mapping") {
goto Ca;
}
if (!($N7 == "mo_options_enum_signin_settings")) {
goto G3;
}
$DV = array("Base_URL_value" => "miniorange_oauth_client_base_url", "Login_redirect_URL" => "miniorange_oauth_client_default_relaystate", "Logout_redirect_URL" => "miniorange_oauth_client_logout_url", "Protect_website" => "miniorange_oauth_client_force_auth", "Auto_redirect_to_provider" => "miniorange_oauth_client_auto_redirect_to_idp", "Enable_backdoor" => "miniorange_oauth_client_enable_backdoor", "Enable_domain_restriction" => "miniorange_oauth_enable_domain_restriction", "Domain_restriction_black_or_white" => "miniorange_oauth_domains_are_white_or_black", "Domains" => "miniorange_oauth_domains");
G3:
goto ec;
Ca:
$DV = array("Email_attribute_value" => "miniorange_oauth_client_email_attr_val", "Username_attribute_value" => "miniorange_oauth_client_name_attr_val", "Custom_Attribute_mapping" => "miniorange_oauth_user_attributes", "Enable_Role_mapping" => "miniorange_oauth_client_enable_role_mapping", "Disable_Auto_Create_Users" => "miniorange_oauth_disable_autocreate_users", "Default_group_for_new_users" => "miniorange_oauth_default_role", "Do_not_update_user_roles" => "miniorange_oauth_disable_roll_update", "Role_attribute_name" => "miniorange_oauth_role_attr_name", "Custom_role_mapping" => "rolemap");
ec:
goto Pe;
h8:
$DV = array("App_selected" => "miniorange_oauth_client_app", "App_name" => "miniorange_auth_client_app_name", "Display_link" => "miniorange_auth_client_display_name", "Client_ID" => "miniorange_auth_client_client_id", "Client_secret" => "miniorange_auth_client_client_secret", "Client_scope" => "miniorange_auth_client_scope", "Authorized_endpoint" => "miniorange_auth_client_authorize_endpoint", "Access_token_endpoint" => "miniorange_auth_client_access_token_ep", "Userinfo_endpoint" => "miniorange_auth_client_user_info_ep", "Callback_url" => "miniorange_oauth_callback", "credentials_via_header" => "miniorange_oauth_send_with_header_oauth", "credentials_via_body" => "miniorange_oauth_send_with_body_oauth", "Enable_login_with_oauth" => "miniorange_oauth_enable_login_with_oauth");
Pe:
return $DV;
}
}
function miniorange_oauth_client_save_config($form, &$form_state)
{
global $base_url;
$wz = variable_get("miniorange_oauth_client_base_url");
$wz = empty($wz) ? $base_url : $wz;
if (!(isset($_GET) && ($_GET["action"] = "update"))) {
goto Em;
}
$_GET["action"] = NULL;
Em:
if (!isset($form["miniorange_oauth_client_app"])) {
goto Gq;
}
$EI = $form["miniorange_oauth_client_app"]["#value"];
Gq:
if (!empty($EI)) {
goto Ll;
}
$EI = variable_get("miniorange_oauth_client_app", '');
Ll:
if (!isset($form["miniorange_oauth_app_name"]["#value"])) {
goto GF;
}
$L8 = $form["miniorange_oauth_app_name"]["#value"];
GF:
if (!empty($L8)) {
goto vY;
}
$L8 = variable_get("miniorange_auth_client_app_name", '');
vY:
if (!isset($form["miniorange_oauth_client_display_name"]["#value"])) {
goto gf;
}
$wp = $form["miniorange_oauth_client_display_name"]["#value"];
gf:
if (!empty($wp)) {
goto ru;
}
$wp = variable_get("miniorange_oauth_client_display_name", '');
ru:
if (!isset($form["miniorange_oauth_callback"]["#value"])) {
goto V7;
}
$x7 = $form["miniorange_oauth_callback"]["#value"];
V7:
if (!isset($form["miniorange_oauth_client_id"])) {
goto LA;
}
$TV = $form["miniorange_oauth_client_id"]["#value"];
LA:
if (!empty($TV)) {
goto xW;
}
$TV = variable_get("miniorange_auth_client_client_id", '');
xW:
if (!isset($form["miniorange_oauth_client_secret"]["#value"])) {
goto ox;
}
$hp = $form["miniorange_oauth_client_secret"]["#value"];
ox:
if (!empty($hp)) {
goto vB;
}
$hp = variable_get("miniorange_auth_client_client_secret", '');
vB:
if (!isset($form["miniorange_oauth_client_scope"]["#value"])) {
goto uW;
}
$nX = $form["miniorange_oauth_client_scope"]["#value"];
uW:
if (!empty($nX)) {
goto Fy;
}
$nX = variable_get("miniorange_auth_client_scope", '');
Fy:
if (!isset($form["miniorange_oauth_client_authorize_endpoint"]["#value"])) {
goto zU;
}
$JI = $form["miniorange_oauth_client_authorize_endpoint"]["#value"];
zU:
if (!empty($JI)) {
goto eV;
}
$JI = variable_get("miniorange_auth_client_authorize_endpoint", '');
eV:
if (!isset($form["miniorange_oauth_client_access_token_endpoint"]["#value"])) {
goto D_;
}
$Ir = $form["miniorange_oauth_client_access_token_endpoint"]["#value"];
D_:
if (!empty($Ir)) {
goto HV;
}
$Ir = variable_get("miniorange_auth_client_access_token_ep", '');
HV:
if (!isset($form["miniorange_oauth_client_userinfo_endpoint"]["#value"])) {
goto Eu;
}
$L_ = $form["miniorange_oauth_client_userinfo_endpoint"]["#value"];
Eu:
if (!empty($L_)) {
goto M3;
}
$L_ = variable_get("miniorange_auth_client_user_info_ep", '');
M3:
if (!isset($form["miniorange_oauth_client_jkws_uri"]["#value"])) {
goto Fi;
}
$vb = $form["miniorange_oauth_client_jkws_uri"]["#value"];
Fi:
if (!empty($vb)) {
goto wL;
}
$vb = variable_get("miniorange_auth_client_jkws_uri", '');
wL:
$RX = variable_get("miniorange_oauth_client_appval");
if (is_array($RX)) {
goto WK;
}
$RX = array();
WK:
$RX["client_id"] = $TV;
$RX["client_secret"] = $hp;
$RX["app_name"] = $L8;
$RX["display_name"] = $wp;
$RX["scope"] = $nX;
$RX["authorize_endpoint"] = $JI;
$RX["access_token_ep"] = $Ir;
$RX["jkws_uri"] = $vb;
$RX["user_info_ep"] = $L_;
$RX["callback_uri"] = $x7;
$RX["client_app"] = $EI;
$QP = isset($form["miniorange_oauth_send_with_header_oauth"]["#value"]) ? $form["miniorange_oauth_send_with_header_oauth"]["#value"] : 1;
$n9 = isset($form["miniorange_oauth_send_with_body_oauth"]["#value"]) ? $form["miniorange_oauth_send_with_body_oauth"]["#value"] : 1;
$kZ = $QP == 1 ? TRUE : FALSE;
$dp = $n9 == 1 ? TRUE : FALSE;
$MF = isset($form["miniorange_oauth_enable_login_with_oauth"]["#value"]) ? $form["miniorange_oauth_enable_login_with_oauth"]["#value"] : 1;
variable_set("miniorange_oauth_enable_login_with_oauth", $MF);
variable_set("miniorange_oauth_client_app", $EI);
variable_set("miniorange_oauth_client_appval", $RX);
variable_set("miniorange_auth_client_app_name", $L8);
variable_set("miniorange_auth_client_display_name", $wp);
variable_set("miniorange_auth_client_client_id", $TV);
variable_set("miniorange_auth_client_client_secret", $hp);
variable_set("miniorange_auth_client_scope", $nX);
variable_set("miniorange_auth_client_authorize_endpoint", $JI);
variable_set("miniorange_auth_client_access_token_ep", $Ir);
variable_set("miniorange_oauth_client_jkws_uri", $vb);
variable_set("miniorange_auth_client_user_info_ep", $L_);
variable_set("miniorange_oauth_callback", $x7);
variable_set("miniorange_oauth_send_with_header_oauth", $kZ);
variable_set("miniorange_oauth_send_with_body_oauth", $dp);
drupal_set_message(t("Configurations saved successfully."));
}
function verifyLicense($dv)
{
$qF = MiniorangeOAuthConstants::BASE_URL . "/moas/api/backupcode/verify";
$pk = curl_init($qF);
$gQ = variable_get("miniorange_oauth_client_customer_id");
$B2 = variable_get("miniorange_oauth_client_customer_api_key");
global $base_url;
$Sa = get_timestamp();
$do = $gQ . $Sa . $B2;
$Un = hash("sha512", $do);
$Mw = "Customer-Key: " . $gQ;
$wx = "Timestamp: " . $Sa;
$G_ = "Authorization: " . $Un;
$d9 = '';
$d9 = array("code" => $dv, "customerKey" => $gQ, "additionalFields" => array("field1" => $base_url));
$nG = json_encode($d9);
curl_setopt($pk, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($pk, CURLOPT_ENCODING, '');
curl_setopt($pk, CURLOPT_RETURNTRANSFER, true);
curl_setopt($pk, CURLOPT_AUTOREFERER, true);
curl_setopt($pk, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($pk, CURLOPT_MAXREDIRS, 10);
curl_setopt($pk, CURLOPT_HTTPHEADER, array("Content-Type: application/json", $Mw, $wx, $G_));
curl_setopt($pk, CURLOPT_POST, true);
curl_setopt($pk, CURLOPT_POSTFIELDS, $nG);
curl_setopt($pk, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($pk, CURLOPT_TIMEOUT, 20);
$pb = curl_exec($pk);
if (!curl_errno($pk)) {
goto vI;
}
echo "Request Error:" . curl_error($pk);
die;
vI:
curl_close($pk);
return $pb;
}
function get_timestamp()
{
$qF = MiniorangeOAuthConstants::BASE_URL . "/moas/rest/mobile/get-timestamp";
$pk = curl_init($qF);
curl_setopt($pk, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($pk, CURLOPT_ENCODING, '');
curl_setopt($pk, CURLOPT_RETURNTRANSFER, true);
curl_setopt($pk, CURLOPT_AUTOREFERER, true);
curl_setopt($pk, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($pk, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($pk, CURLOPT_MAXREDIRS, 10);
curl_setopt($pk, CURLOPT_POST, true);
$pb = curl_exec($pk);
if (!curl_errno($pk)) {
goto wm;
}
echo "Error in sending curl Request";
die;
wm:
curl_close($pk);
return $pb;
}
?>
Did this file decode correctly?
Original Code
<?php
drupal_add_js(drupal_get_path("\x6d\157\144\x75\x6c\x65", "\x6d\x69\156\151\x6f\x72\x61\156\x67\145\137\x6f\141\165\164\x68\137\143\x6c\151\145\156\x74") . "\57\x6a\x73\57\103\x6f\156\x66\151\x67\56\x6a\x73");
include "\155\x69\156\x69\157\162\141\x6e\x67\145\137\x6f\141\165\x74\x68\137\163\165\x70\160\157\162\x74\56\x70\x68\160";
class Utilities
{
public static function faq(&$form, &$form_state)
{
$form["\x6d\151\x6e\x69\157\162\141\156\147\x65\137\x66\141\x71"] = array("\x23\155\x61\162\x6b\x75\160" => "\x3c\144\151\x76\x20\x3e\x3c\142\76\74\x2f\142\x3e\xd\xa\x20\x20\x20\40\40\x20\x20\40\40\x20\40\40\x20\40\x20\40\40\x20\40\x20\40\x20\x20\x20\40\x20\74\141\x20\143\x6c\141\163\163\x3d\42\x62\x74\x6e\40\142\x74\x6e\55\x70\x72\x69\x6d\x61\x72\x79\x2d\146\141\x71\x20\142\164\156\x2d\x6c\x61\x72\147\145\40\142\x74\156\137\146\141\x71\137\x62\165\x74\x74\157\156\163\x22\40\163\164\x79\154\x65\75\42\146\154\157\141\x74\x3a\x20\x69\x6e\x68\145\162\x69\x74\x3b\143\x6f\x6c\x6f\162\72\40\43\x34\70\141\60\144\143\73\x62\157\x72\x64\x65\162\72\x20\x32\x70\x78\40\163\x6f\x6c\151\x64\x20\43\64\x38\x61\60\144\143\73\x20\155\x61\x72\147\151\156\x2d\x6c\x65\146\x74\72\40\64\x30\x70\x78\73\42\40\150\162\145\x66\75\x22\x68\164\164\160\163\x3a\57\57\x66\x61\x71\x2e\155\x69\x6e\151\157\x72\141\156\x67\145\56\143\157\155\x2f\x6b\142\x2f\x6f\x61\x75\164\x68\x2d\x6f\160\x65\x6e\x69\144\55\143\157\156\x6e\x65\x63\164\57\42\40\164\141\x72\x67\x65\x74\75\42\x5f\142\x6c\141\x6e\x6b\42\76\x46\x41\x51\163\74\x2f\141\76\xd\xa\40\x20\40\40\x20\x20\x20\x20\x20\40\40\40\40\40\x20\x20\40\x20\40\x20\x20\x20\40\x20\40\40\x3c\x62\x3e\74\x2f\142\76\x3c\x61\40\x63\x6c\141\x73\x73\75\x22\x62\x74\156\x20\142\164\x6e\55\160\x72\151\x6d\141\x72\171\55\x66\x61\x71\x20\x62\x74\156\x2d\154\141\162\x67\x65\x20\142\x74\156\137\x66\141\x71\137\142\x75\x74\164\x6f\x6e\163\42\x20\163\x74\x79\154\x65\x3d\42\x66\154\157\x61\x74\72\x20\151\156\150\145\x72\x69\x74\73\x63\x6f\x6c\157\162\x3a\x20\x23\x34\x38\x61\60\x64\143\73\x62\157\x72\144\145\162\x3a\x20\x32\160\170\x20\163\x6f\x6c\151\144\40\43\64\x38\x61\x30\x64\x63\x3b\40\155\141\x72\147\x69\156\x2d\154\x65\146\164\x3a\61\65\x70\170\73\x22\40\150\162\x65\146\x3d\x22\150\164\164\160\163\72\57\57\146\157\x72\x75\x6d\56\155\151\x6e\x69\157\x72\141\156\x67\145\56\x63\x6f\x6d\57\x22\x20\x74\x61\162\x67\x65\164\75\42\137\142\154\x61\156\153\x22\76\101\x73\x6b\x20\x71\x75\x65\x73\x74\151\x6f\x6e\163\40\157\x6e\40\146\157\x72\x75\155\x3c\x2f\x61\76\x3c\57\x64\x69\x76\x3e");
}
public static function AddguidesTab(&$form, $form_state)
{
$form["\155\x69\156\151\x6f\x72\x61\156\147\x65\x5f\151\144\160\x5f\x73\x65\x74\x75\x70\x5f\147\165\x69\144\145\x5f\154\x69\x6e\x6b"] = array("\x23\x6d\141\x72\x6b\x75\x70" => "\x3c\x64\x69\166\x20\143\154\141\x73\x73\75\x22\155\157\137\163\x61\155\x6c\137\x74\141\x62\x6c\145\137\x6c\x61\171\x6f\165\164\x5f\163\165\160\x70\x6f\162\164\137\x33\x20\x6d\x6f\137\x73\x61\x6d\x6c\x5f\x74\x61\x62\154\145\x5f\154\141\171\157\165\x74\137\63\x20\x6d\x6f\137\x73\141\x6d\154\137\x63\157\156\164\x61\151\x6e\145\162\x5f\x33\x22\40\151\144\75\x22\155\157\x5f\x6f\141\x75\164\150\137\x67\x75\151\x64\x65\x5f\166\164\42\x3e");
$form["\x6d\151\156\151\157\x72\x61\x6e\147\x65\x5f\151\x64\160\x5f\x67\x75\x69\144\145\137\154\x69\x6e\x6b\x31"] = array("\43\x6d\x61\x72\x6b\x75\160" => "\x3c\x64\151\166\40\163\x74\171\x6c\x65\75\42\146\157\156\164\x2d\x73\151\172\145\x3a\40\61\65\x70\x78\x3b\42\76\74\x62\76\x54\x6f\40\163\x65\145\40\x64\145\x74\141\151\154\145\144\40\x64\x6f\x63\x75\x6d\x65\156\x74\x61\x74\151\x6f\x6e\40\x6f\146\40\x68\157\167\x20\164\157\x20\143\x6f\x6e\x66\x69\x67\165\x72\x65\40\x44\162\165\x70\141\x6c\x20\x4f\x41\x75\x74\150\40\103\154\x69\x65\156\x74\40\x77\151\x74\x68\40\x61\156\x79\40\117\x41\x75\x74\x68\40\123\x65\x72\x76\x65\x72\x3c\x2f\x62\x3e\x3c\x2f\x64\151\166\x3e\x3c\57\142\x72\76");
$form["\x6d\151\156\151\x6f\162\141\x6e\x67\x65\x5f\x6f\x61\165\x74\150\137\x67\x75\151\144\145\137\x74\x61\142\154\145\137\x6c\x69\163\x74"] = array("\43\x6d\141\162\153\x75\x70" => "\74\x64\x69\166\x20\x63\154\141\x73\x73\75\42\x74\141\142\154\x65\x2d\162\145\x73\160\x6f\156\163\x69\166\x65\40\x6d\157\x5f\x67\165\151\x64\x65\137\x74\x65\170\x74\x2d\143\x65\x6e\x74\x65\162\x22\40\x73\164\171\x6c\x65\75\x22\146\157\x6e\x74\x2d\x66\x61\x6d\x69\154\171\72\40\163\141\156\x73\x2d\163\145\x72\x69\x66\73\146\157\156\x74\x2d\x73\151\x7a\145\72\x20\61\x35\x70\x78\x3b\x22\76\xd\12\40\40\x20\x20\40\x20\x20\40\40\x20\x20\x20\40\x20\40\x20\74\164\141\x62\154\x65\40\143\x6c\x61\x73\163\x3d\x22\155\157\137\x67\x75\151\x64\145\137\164\141\x62\x6c\x65\40\155\x6f\137\147\165\151\144\x65\x5f\x74\141\x62\154\145\x2d\x73\x74\x72\151\x70\x65\144\x20\x6d\x6f\x5f\147\165\x69\144\x65\x5f\164\141\142\x6c\145\55\x62\157\162\144\145\x72\x65\x64\42\40\x73\164\x79\x6c\145\x3d\42\x62\x6f\x72\144\145\x72\x3a\x20\x31\160\170\x20\163\x6f\x6c\151\x64\40\43\144\x64\x64\x3b\155\x61\x78\55\x77\151\x64\x74\x68\x3a\x20\x31\60\x30\45\x3b\142\x6f\162\x64\145\162\55\x63\x6f\154\154\141\160\163\145\x3a\x20\143\157\154\154\141\x70\x73\x65\73\42\x3e\xd\xa\40\40\x20\x20\40\40\x20\40\40\40\40\40\x20\x20\x20\x20\40\x20\40\x20\x3c\164\150\x65\x61\144\76\15\12\40\40\40\40\x20\x20\40\40\x20\40\40\40\x20\40\x20\x20\x20\40\x20\x20\x20\40\40\40\x3c\x74\162\76\74\164\x68\40\x63\157\x6c\163\160\x61\x6e\x3d\42\62\x22\40\x63\154\x61\x73\x73\75\42\x6d\x6f\137\x67\165\x69\x64\x65\x5f\x74\x65\x78\x74\x2d\143\x65\x6e\164\x65\x72\42\40\x73\x74\171\x6c\145\75\x22\x66\157\156\x74\55\167\145\151\147\x68\164\x3a\x62\157\x6c\x64\x3b\42\76\x50\162\157\x76\151\144\145\x72\x73\74\57\164\x68\76\74\57\164\x72\76\15\xa\x20\40\x20\40\x20\x20\40\40\40\40\x20\x20\40\40\40\40\x20\x20\x20\x20\74\x2f\x74\150\x65\141\144\x3e\xd\xa\x20\x20\40\x20\40\x20\x20\40\40\x20\x20\40\40\x20\x20\x20\40\x20\x20\40\74\164\x62\x6f\144\x79\76\15\12\x20\x20\40\x20\x20\x20\x20\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\40\40\x20\x20\40\x3c\164\162\76\x3c\x74\x64\x20\x63\154\141\x73\163\x3d\42\x6d\x6f\137\x67\x75\151\x64\x65\137\164\x65\170\x74\x2d\143\145\x6e\164\145\x72\42\x3e\74\141\40\143\x6c\x61\x73\163\x3d\x22\155\157\x5f\x67\x75\x69\x64\x65\137\x74\x65\170\x74\55\x63\x6f\x6c\x6f\162\42\40\150\162\145\146\x3d\42\x68\x74\x74\160\163\72\x2f\x2f\160\x6c\x75\x67\151\156\163\x2e\x6d\151\x6e\151\157\x72\141\x6e\x67\145\56\143\x6f\155\x2f\163\145\164\165\160\55\147\x75\151\144\x65\55\164\x6f\x2d\x63\157\x6e\x66\x69\147\165\162\x65\55\141\172\165\x72\145\x2d\x61\144\x2d\x77\151\164\x68\x2d\x64\162\x75\160\141\154\55\x6f\x61\165\x74\150\x2d\x63\x6c\x69\145\156\164\42\40\164\x61\162\x67\145\164\75\x22\x5f\142\154\x61\x6e\x6b\x22\76\x41\x7a\165\x72\145\40\101\104\74\57\x61\76\x3c\x2f\164\144\x3e\74\164\x64\x20\143\x6c\141\163\x73\75\42\155\157\x5f\x67\165\x69\x64\145\137\164\145\x78\x74\55\143\145\156\x74\x65\x72\42\x3e\x3c\141\x20\143\x6c\x61\163\163\75\x22\x6d\x6f\137\147\165\151\x64\x65\x5f\x74\x65\x78\x74\x2d\x63\157\154\x6f\162\42\x20\150\162\145\x66\x3d\x22\x68\164\x74\160\x73\72\57\x2f\x70\154\165\147\151\x6e\163\56\155\x69\x6e\x69\157\x72\141\156\147\145\x2e\x63\x6f\155\57\163\x65\x74\165\160\55\x67\165\151\x64\145\55\x74\157\55\143\x6f\x6e\146\x69\147\165\162\x65\55\154\151\156\145\55\167\151\x74\x68\x2d\144\162\x75\160\141\x6c\x2d\x6f\x61\x75\x74\150\x2d\x63\154\151\x65\x6e\x74\42\x20\x74\141\162\x67\145\x74\x3d\x22\137\142\154\141\156\153\42\x3e\114\151\x6e\x65\x3c\57\141\76\74\57\164\144\x3e\74\57\164\x72\x3e\15\xa\40\x20\x20\x20\40\40\40\x20\x20\x20\40\40\x20\40\40\40\x20\x20\40\x20\40\x20\x20\40\74\x74\162\76\x3c\164\x64\x20\x63\x6c\141\163\163\75\42\155\157\137\x67\165\x69\144\145\x5f\164\145\x78\164\x2d\x63\145\x6e\164\145\x72\x22\76\74\141\x20\143\154\x61\163\163\75\x22\x6d\x6f\137\147\165\151\144\145\x5f\x74\145\x78\x74\x2d\x63\157\x6c\157\162\x22\x20\x68\162\x65\146\75\42\150\x74\x74\160\163\72\x2f\57\160\x6c\165\147\151\x6e\163\x2e\155\x69\156\x69\x6f\x72\x61\156\147\x65\x2e\143\x6f\x6d\x2f\163\x65\x74\165\x70\x2d\147\165\x69\x64\x65\x2d\164\x6f\x2d\143\157\156\x66\x69\x67\165\162\x65\x2d\x61\167\163\x2d\143\157\147\x6e\x69\x74\x6f\55\167\x69\x74\150\x2d\x64\x72\165\160\141\x6c\x22\x20\x74\141\x72\147\x65\164\x3d\42\137\x62\x6c\141\156\x6b\x22\x3e\101\127\x53\40\x43\157\x67\156\151\164\x6f\x3c\x2f\x61\x3e\x3c\x2f\x74\144\x3e\40\x20\40\40\x20\x20\40\74\164\x64\40\x63\154\141\x73\x73\75\42\x6d\x6f\x5f\147\x75\151\144\x65\137\x74\145\170\164\55\143\145\x6e\x74\x65\162\x22\x3e\x3c\141\40\x63\x6c\x61\x73\x73\75\x22\x6d\157\137\147\165\151\x64\x65\137\164\x65\x78\x74\55\x63\x6f\154\157\x72\x22\x20\150\162\145\x66\x3d\42\150\x74\x74\160\163\72\57\x2f\x70\154\165\147\151\x6e\x73\x2e\x6d\151\x6e\x69\x6f\x72\x61\156\147\x65\x2e\143\157\155\57\x63\x6f\156\146\151\x67\165\x72\x65\55\146\151\x74\142\x69\164\55\x6f\141\x75\x74\x68\55\163\x65\162\x76\x65\x72\55\146\x6f\162\55\x64\x72\165\x70\x61\154\x2d\70\x22\x20\164\x61\162\x67\145\164\75\x22\x5f\142\154\x61\x6e\153\x22\76\x46\x69\x74\x62\x69\x74\74\x2f\x61\76\74\x2f\x74\144\76\x3c\57\164\x72\76\15\xa\x20\40\40\x20\x20\x20\x20\x20\x20\40\40\40\40\x20\40\x20\40\40\40\40\40\x20\x20\40\x3c\x74\x72\x3e\74\x74\144\x20\x63\154\141\163\163\75\42\155\157\x5f\x67\x75\x69\144\x65\x5f\x74\x65\x78\x74\55\x63\x65\156\x74\145\x72\x22\x3e\x3c\x61\x20\x63\x6c\141\163\x73\75\x22\155\157\137\x67\165\151\144\x65\x5f\x74\145\170\164\55\143\x6f\x6c\x6f\x72\42\40\150\x72\x65\146\x3d\x22\x68\164\164\x70\x73\x3a\57\57\160\154\165\x67\151\x6e\x73\x2e\155\x69\x6e\x69\x6f\x72\141\156\x67\145\x2e\x63\x6f\155\57\x63\x6f\x6e\146\151\x67\165\162\x65\55\147\157\157\x67\x6c\145\55\x6f\x61\x75\x74\150\55\x73\x65\162\x76\x65\162\55\144\162\165\160\x61\154\x2d\70\42\x20\164\x61\162\x67\145\164\x3d\42\x5f\x62\154\x61\156\153\42\76\107\157\157\147\x6c\145\x3c\57\141\76\74\x2f\x74\x64\76\x20\x20\40\40\x20\x20\40\40\x20\x20\x20\x20\40\40\40\x20\x20\x20\40\40\x20\40\74\164\x64\40\143\x6c\x61\163\x73\x3d\42\155\x6f\x5f\147\x75\x69\144\x65\x5f\164\x65\170\164\x2d\143\145\156\164\145\162\42\76\x3c\141\40\143\154\x61\163\x73\75\x22\x6d\157\x5f\x67\165\151\144\x65\137\x74\x65\x78\x74\55\143\x6f\154\157\162\42\40\150\162\x65\x66\x3d\42\150\x74\164\x70\163\x3a\57\57\x70\x6c\165\147\x69\x6e\163\56\155\x69\x6e\151\157\162\141\x6e\x67\x65\x2e\x63\157\155\x2f\x63\x6f\x6e\146\x69\x67\x75\x72\x65\55\154\151\x6e\153\x65\144\151\156\55\x61\163\x2d\141\x6e\55\157\x61\165\164\x68\x2d\x6f\160\x65\x6e\151\144\55\143\x6f\156\x6e\x65\x63\x74\55\x73\x65\x72\166\x65\x72\55\146\x6f\162\55\144\x72\x75\x70\141\x6c\x2d\x38\55\x63\x6c\x69\x65\156\x74\x22\x20\164\141\x72\x67\145\164\x3d\42\137\x62\x6c\x61\156\153\x22\76\x4c\151\x6e\153\145\x64\x49\156\74\x2f\x61\76\x3c\x2f\164\144\x3e\74\57\164\162\76\15\xa\40\x20\x20\x20\x20\x20\x20\x20\40\x20\40\40\40\x20\40\40\40\40\40\x20\x20\40\x20\x20\74\x74\162\x3e\74\x74\x64\40\x63\154\141\163\x73\x3d\x22\155\157\137\x67\x75\x69\x64\x65\x5f\164\x65\x78\x74\x2d\143\145\x6e\164\145\162\42\x3e\74\x61\40\x63\154\x61\x73\163\x3d\42\x6d\157\137\147\x75\151\144\x65\x5f\164\x65\170\164\x2d\143\x6f\x6c\157\162\x22\40\x68\x72\x65\146\75\x22\x68\x74\x74\160\x73\x3a\57\57\160\x6c\x75\147\x69\156\163\x2e\155\151\x6e\x69\x6f\x72\141\156\147\145\x2e\143\x6f\x6d\x2f\x67\165\151\x64\145\55\164\x6f\x2d\143\157\x6e\146\151\147\x75\x72\x65\55\155\x69\x6e\x69\157\162\141\x6e\147\145\x2d\167\x69\164\150\x2d\144\x72\x75\160\x61\154\42\40\164\141\162\147\145\164\75\x22\137\x62\154\141\156\153\x22\76\155\151\156\151\x4f\x72\141\156\147\x65\x3c\x2f\x61\x3e\x3c\57\164\x64\x3e\x20\x20\40\40\x20\40\40\40\x20\x20\40\x20\40\x20\x20\x3c\164\144\40\143\x6c\141\x73\163\75\x22\x6d\x6f\x5f\x67\x75\x69\x64\145\x5f\164\x65\170\x74\x2d\143\145\156\164\145\x72\x22\76\74\141\x20\x63\154\141\x73\163\x3d\x22\155\x6f\137\x67\165\151\144\x65\137\x74\145\170\164\55\143\157\154\x6f\162\x22\x20\x68\162\145\146\75\x22\x68\x74\x74\x70\x73\x3a\57\x2f\x70\x6c\165\x67\151\x6e\163\56\155\x69\x6e\x69\157\162\x61\156\147\145\56\143\x6f\155\57\147\165\151\x64\x65\x2d\x74\157\x2d\143\157\156\x66\x69\x67\165\x72\145\55\x77\150\x6d\143\163\55\x61\x73\55\x61\x6e\x2d\x6f\141\165\164\x68\55\163\x65\162\166\145\x72\55\x66\157\162\x2d\144\x72\165\x70\x61\154\x22\x20\x74\141\162\x67\x65\164\x3d\x22\137\142\x6c\141\156\153\42\x3e\x57\x48\115\103\x53\74\x2f\141\76\74\x2f\164\144\x3e\74\x2f\x74\x72\x3e\15\12\x20\x20\40\40\40\40\x20\x20\40\x20\x20\40\40\x20\40\x20\x20\40\x20\x20\40\x20\x20\x20\74\164\x72\76\x3c\x74\x64\x20\x63\154\x61\163\x73\75\x22\155\157\137\x67\165\x69\x64\145\x5f\x74\x65\170\164\55\143\x65\x6e\164\145\x72\42\x3e\x3c\x61\x20\x63\154\141\163\163\75\x22\x6d\x6f\x5f\x67\x75\151\x64\x65\x5f\164\x65\170\164\x2d\143\x6f\154\x6f\x72\42\40\150\x72\x65\146\75\x22\x68\164\164\x70\163\x3a\x2f\x2f\x70\154\165\147\151\156\163\56\155\151\156\151\157\x72\141\x6e\147\145\x2e\143\x6f\155\57\147\165\x69\x64\145\55\x74\x6f\x2d\x63\x6f\x6e\x66\151\x67\165\x72\x65\55\153\145\x79\x63\154\157\141\x6b\x2d\146\x6f\x72\55\x64\x72\165\x70\141\x6c\x2d\x6f\141\x75\x74\x68\55\143\154\151\145\156\x74\x2d\x6d\x6f\144\x75\154\145\x22\40\164\141\x72\x67\x65\x74\x3d\x22\137\142\x6c\141\156\153\x22\x3e\x4b\145\171\x63\154\157\x61\x6b\74\x2f\x61\76\74\x2f\x74\144\76\x3c\164\144\x20\x63\154\x61\x73\x73\x3d\42\155\x6f\137\x67\165\151\x64\145\x5f\164\x65\170\x74\55\143\145\156\x74\145\162\42\76\74\141\x20\x63\x6c\141\x73\163\75\x22\x6d\157\x5f\x67\x75\151\144\x65\137\164\145\170\x74\55\x63\x6f\x6c\157\162\42\40\150\162\x65\x66\75\x22\x68\x74\x74\160\x73\x3a\57\57\160\154\x75\147\151\x6e\163\x2e\x6d\151\x6e\151\x6f\162\x61\156\147\145\x2e\x63\157\155\x2f\147\x75\151\x64\x65\x2d\164\x6f\x2d\143\157\156\x66\151\x67\165\162\145\x2d\x61\x7a\x75\x72\x65\55\x61\144\x2d\141\163\x2d\141\156\55\x6f\141\165\x74\x68\157\160\x65\156\151\144\55\143\157\156\x6e\x65\x63\164\x2d\163\x65\162\166\145\162\55\x66\157\162\x2d\144\x72\165\160\x61\154\x22\x20\164\141\162\147\145\x74\x3d\x22\x5f\142\x6c\141\x6e\x6b\x22\76\101\172\x75\162\145\40\x41\104\x20\x42\62\x43\74\x2f\x61\76\74\x2f\164\144\x3e\x3c\57\164\162\76\15\12\40\x20\40\40\40\40\x20\40\40\40\x20\x20\x20\40\40\x20\40\40\x20\40\40\x20\40\x20\x3c\164\x72\76\74\164\x64\40\143\154\x61\163\x73\x3d\x22\x6d\x6f\137\147\x75\151\x64\x65\137\x74\x65\170\x74\55\x63\x65\156\164\145\162\x22\x3e\x3c\141\40\x63\x6c\x61\163\163\75\42\155\x6f\x5f\147\x75\151\x64\x65\x5f\164\145\x78\164\x2d\143\x6f\x6c\157\x72\42\40\150\x72\145\x66\75\x22\x68\x74\164\x70\163\x3a\57\x2f\160\154\165\x67\x69\x6e\x73\x2e\x6d\x69\x6e\151\157\x72\141\156\x67\x65\x2e\143\x6f\x6d\57\x67\x75\151\x64\145\55\163\141\x6c\x65\x73\x66\x6f\162\143\145\x2d\143\x6f\156\146\151\x67\x75\162\x61\x74\x69\x6f\x6e\55\x64\x72\165\x70\x61\154\x2d\x6f\x61\165\164\x68\55\x63\154\151\x65\156\x74\55\155\x6f\144\165\x6c\x65\42\x20\164\x61\x72\x67\145\164\75\x22\137\142\154\x61\x6e\x6b\x22\x3e\123\141\154\x65\163\146\157\162\x63\x65\74\x2f\141\76\x3c\x2f\x74\144\76\x3c\164\144\40\x63\154\141\163\x73\x3d\x22\x6d\x6f\137\x67\165\x69\x64\x65\x5f\164\145\170\x74\55\143\145\156\164\145\x72\x22\76\74\x61\40\x63\x6c\141\x73\163\x3d\42\155\x6f\137\x67\165\151\x64\145\x5f\164\x65\x78\164\55\x63\157\x6c\x6f\x72\42\40\150\x72\145\x66\x3d\42\150\x74\164\160\163\72\57\x2f\x70\x6c\165\147\151\156\163\x2e\155\x69\x6e\x69\157\162\141\x6e\147\x65\x2e\143\x6f\x6d\57\x67\x75\151\x64\x65\x2d\x63\x6f\156\x66\151\x67\165\162\145\x2d\x7a\145\156\144\145\163\x6b\x2d\x64\x72\165\x70\141\x6c\x22\40\x74\141\x72\x67\x65\164\x3d\42\137\x62\x6c\141\x6e\153\42\x3e\x5a\x65\x6e\144\x65\x73\153\x3c\x2f\x61\76\74\57\164\144\x3e\x3c\57\164\162\x3e\xd\xa\40\x20\x20\40\x20\40\40\x20\40\40\x20\x20\x20\x20\x20\40\x20\x20\x20\40\x20\40\40\x20\x3c\164\162\x3e\74\164\144\40\143\x6c\141\163\x73\75\x22\x6d\x6f\137\147\x75\151\x64\x65\137\x74\145\x78\x74\x2d\x63\145\156\164\145\x72\x22\76\x3c\x61\40\x63\x6c\x61\163\x73\x3d\x22\x6d\157\137\x67\165\x69\x64\145\x5f\x74\145\x78\x74\55\x63\x6f\154\x6f\162\42\40\x68\162\x65\x66\75\x22\x68\164\x74\160\x73\72\57\x2f\x70\x6c\x75\147\x69\x6e\x73\56\155\151\156\x69\157\162\141\156\x67\145\56\x63\x6f\155\x2f\x67\x75\x69\144\145\55\x74\157\x2d\x63\157\x6e\146\151\x67\x75\162\145\x2d\157\156\145\x6c\x6f\x67\x69\x6e\x2d\167\x69\x74\150\55\x64\x72\x75\x70\x61\154\x22\x20\164\141\162\147\145\x74\75\x22\x5f\x62\x6c\x61\156\x6b\x22\76\117\x6e\145\154\157\147\151\x6e\74\57\x61\x3e\x3c\x2f\x74\x64\x3e\40\x20\40\x20\x20\x20\x20\x20\x20\x20\40\40\40\x20\40\40\x20\40\40\74\x74\144\x20\143\x6c\x61\163\163\x3d\x22\155\157\x5f\x67\x75\151\x64\145\x5f\164\x65\170\x74\55\x63\145\x6e\164\x65\x72\42\x3e\74\141\x20\x63\x6c\x61\x73\x73\75\42\x6d\x6f\x5f\147\165\x69\144\x65\x5f\x74\145\170\x74\x2d\x63\157\154\x6f\x72\x22\x20\x68\x72\x65\146\75\42\x68\x74\164\x70\x73\72\57\x2f\160\x6c\165\x67\x69\x6e\x73\x2e\x6d\151\156\151\157\162\141\x6e\x67\x65\56\x63\157\155\x2f\147\x75\x69\144\x65\55\x63\157\x6e\146\151\147\165\x72\x65\x2d\142\157\170\55\144\x72\165\160\x61\154\x22\x20\164\x61\162\x67\x65\x74\75\42\137\142\154\x61\x6e\153\x22\x3e\x42\x6f\x78\x3c\x2f\x61\76\x3c\x2f\x74\x64\x3e\x3c\x2f\164\162\76\xd\12\x20\x20\x20\x20\40\40\40\x20\x20\x20\40\x20\40\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\74\x74\162\x3e\74\164\x64\40\143\154\x61\x73\163\x3d\x22\155\x6f\137\x67\x75\x69\x64\145\137\164\145\x78\164\x2d\143\x65\156\164\x65\x72\x22\76\74\x61\40\143\x6c\141\x73\163\x3d\x22\155\157\x5f\147\x75\151\x64\x65\x5f\x74\x65\170\164\55\x63\x6f\154\x6f\162\x22\x20\150\162\x65\146\x3d\42\x68\x74\x74\160\163\x3a\57\57\160\154\165\x67\x69\156\x73\x2e\x6d\151\156\x69\x6f\x72\141\x6e\147\145\x2e\143\x6f\x6d\57\143\157\156\146\x69\147\165\162\145\x2d\x66\141\143\145\x62\x6f\157\x6b\x2d\x6f\x61\x75\164\150\x2d\x73\145\162\166\x65\162\55\146\x6f\x72\x2d\144\x72\x75\160\x61\x6c\55\70\42\x20\x74\x61\x72\x67\145\x74\x3d\x22\x5f\x62\x6c\x61\156\153\42\x3e\106\141\x63\x65\x62\x6f\157\153\74\57\141\x3e\x20\x3c\x2f\x74\x64\76\x20\x20\x20\x20\x20\40\x20\40\40\40\x20\x20\40\x3c\x74\x64\40\143\154\141\x73\x73\x3d\x22\x6d\157\x5f\147\165\151\x64\x65\x5f\164\145\170\164\55\143\x65\156\x74\x65\x72\x22\x3e\74\141\40\x63\x6c\141\163\163\75\42\x6d\157\137\147\x75\151\x64\x65\x5f\164\145\x78\x74\x2d\143\157\x6c\x6f\x72\x22\40\x68\162\145\x66\x3d\42\x68\164\164\160\x73\x3a\x2f\x2f\160\154\165\147\x69\156\163\x2e\155\151\156\x69\x6f\162\x61\156\147\x65\x2e\x63\157\155\x2f\143\x6f\156\x66\x69\147\x75\162\x65\x2d\x69\x6e\163\164\141\x67\x72\141\x6d\55\141\163\55\x61\x6e\55\x6f\x61\x75\x74\x68\55\157\x70\x65\156\151\x64\x2d\143\x6f\x6e\x6e\145\x63\164\x2d\163\145\x72\x76\x65\x72\55\x66\x6f\x72\x2d\144\162\165\160\141\154\x2d\x38\55\143\x6c\x69\145\x6e\164\42\x20\164\141\x72\x67\145\x74\x3d\42\137\142\154\141\x6e\153\42\x3e\x49\156\163\164\x61\147\x72\141\155\74\57\x61\x3e\74\x2f\163\164\x72\x6f\156\x67\76\x3c\57\x74\144\x3e\74\57\x74\162\x3e\15\xa\x20\x20\x20\40\x20\x20\40\x20\40\40\40\40\40\40\x20\40\40\40\x20\40\40\40\40\x20\74\164\x72\x3e\x3c\164\x64\x20\x63\x6c\141\x73\x73\x3d\42\x6d\157\x5f\x67\x75\x69\x64\145\x5f\x74\145\170\x74\55\143\x65\156\164\x65\x72\x22\76\x3c\x61\40\143\154\141\163\x73\75\42\x6d\157\x5f\147\x75\x69\x64\x65\x5f\164\145\x78\164\x2d\143\x6f\x6c\157\x72\42\x20\x68\162\145\x66\x3d\x22\x68\x74\164\160\x73\72\57\x2f\160\154\165\x67\151\x6e\163\56\155\151\156\x69\157\x72\x61\x6e\x67\x65\x2e\143\x6f\155\x2f\x73\x65\x74\165\x70\x2d\x67\x75\151\x64\145\x2d\x74\x6f\x2d\x63\x6f\x6e\x66\151\147\165\x72\145\55\144\151\x73\143\x6f\162\144\55\167\151\164\150\x2d\x64\162\165\x70\x61\154\x2d\157\141\165\164\x68\55\143\x6c\x69\x65\156\164\x22\40\164\x61\162\147\x65\x74\75\42\x5f\142\154\141\156\x6b\42\x3e\x44\x69\x73\143\157\162\144\x3c\x2f\141\76\x20\x3c\x2f\x74\144\x3e\x20\x3c\164\x64\40\143\x6c\141\163\x73\x3d\x22\x6d\157\x5f\x67\x75\151\144\145\x5f\164\145\x78\164\x2d\x63\145\156\164\x65\162\x22\76\74\x61\x20\143\154\x61\x73\163\75\42\155\x6f\137\147\x75\151\144\145\x5f\x74\145\170\x74\55\x63\157\x6c\157\x72\42\x20\150\162\145\x66\75\42\150\164\x74\160\163\72\x2f\x2f\160\154\165\x67\x69\156\163\x2e\155\x69\156\x69\157\x72\x61\156\x67\145\x2e\x63\157\x6d\57\143\157\x6e\146\x69\x67\x75\x72\145\55\162\145\x64\144\151\x74\55\157\141\165\x74\150\157\x70\x65\x6e\151\x64\55\x63\x6f\156\156\x65\143\164\x2d\x73\145\162\166\x65\x72\55\144\x72\165\x70\141\x6c\55\70\x22\40\x74\x61\162\x67\145\x74\75\x22\x5f\142\x6c\141\x6e\153\42\x3e\122\145\x64\x64\151\164\74\57\141\76\x3c\x2f\163\x74\x72\157\x6e\x67\x3e\74\x2f\x74\x64\x3e\x3c\x2f\164\162\x3e\xd\xa\x20\40\40\40\40\x20\40\x20\40\x20\40\40\40\40\x20\40\x20\x20\x20\40\x20\40\40\x20\74\164\162\x3e\74\x74\144\40\x63\154\141\x73\x73\x3d\x22\x6d\157\x5f\147\x75\x69\x64\145\x5f\x74\145\x78\164\55\x63\x65\x6e\x74\x65\x72\42\76\74\x61\x20\143\154\141\163\x73\x3d\42\x6d\x6f\x5f\x67\165\151\x64\x65\137\x74\145\170\164\55\143\157\x6c\x6f\x72\42\40\150\x72\x65\x66\75\x22\150\x74\x74\160\163\x3a\57\x2f\160\x6c\x75\x67\x69\x6e\163\x2e\155\151\x6e\x69\157\162\x61\x6e\147\x65\56\143\x6f\x6d\57\147\165\x69\x64\145\x2d\164\x6f\x2d\143\x6f\156\x66\x69\147\x75\x72\x65\x2d\x77\151\154\144\141\x70\162\151\x63\x6f\x74\55\x77\x69\x74\x68\55\144\162\x75\160\141\x6c\x22\40\164\x61\x72\147\145\164\75\42\137\x62\x6c\x61\x6e\x6b\42\76\x57\x69\154\144\40\101\160\162\x69\143\x6f\164\x3c\57\x61\x3e\40\x3c\x2f\x74\x64\76\x20\x20\40\40\40\40\40\40\x20\x20\x20\74\164\x64\40\143\x6c\x61\x73\163\75\x22\155\x6f\x5f\x67\165\x69\x64\x65\x5f\164\x65\170\164\x2d\143\x65\156\x74\x65\162\x22\x3e\74\x61\x20\x63\154\x61\x73\163\x3d\x22\155\x6f\137\147\x75\x69\x64\145\137\164\145\x78\x74\x2d\143\x6f\154\x6f\162\x22\40\150\162\x65\x66\x3d\42\x68\x74\x74\160\163\72\x2f\57\x70\154\165\147\x69\156\163\56\155\151\156\151\x6f\162\x61\156\147\x65\56\143\157\x6d\x2f\x63\157\x6e\x66\151\147\x75\162\x65\55\x67\x69\x74\150\x75\x62\x2d\x6f\x61\x75\164\x68\x6f\160\145\156\151\x64\x2d\x63\157\156\156\145\x63\164\x2d\x73\145\x72\166\x65\162\x2d\x64\162\165\x70\141\x6c\55\70\42\x20\164\141\x72\x67\x65\164\75\x22\137\x62\x6c\x61\156\x6b\x22\x3e\x47\151\x74\150\165\142\x3c\x2f\x61\x3e\x3c\x2f\x73\x74\x72\x6f\156\147\x3e\x3c\57\x74\144\x3e\x3c\57\x74\x72\x3e\15\xa\40\40\x20\40\x20\40\40\40\x20\40\x20\40\x20\x20\40\x20\x20\40\x20\40\40\40\x20\x20\74\x74\x72\76\74\164\144\x20\143\154\141\163\163\75\42\155\x6f\137\x67\x75\x69\144\x65\x5f\164\145\170\164\55\143\145\x6e\x74\x65\x72\42\76\x3c\x61\x20\143\154\141\163\163\75\x22\x6d\157\x5f\147\x75\151\x64\x65\x5f\164\x65\170\164\x2d\143\157\x6c\157\162\x22\40\150\x72\145\x66\75\42\x68\164\164\x70\163\72\x2f\x2f\160\154\165\x67\x69\x6e\163\x2e\x6d\151\x6e\151\x6f\x72\141\x6e\147\145\56\143\157\x6d\57\x67\165\151\x64\145\x2d\164\x6f\55\143\157\x6e\146\x69\x67\165\x72\x65\55\x6f\153\x74\x61\x2d\167\x69\x74\150\55\x64\162\165\x70\141\x6c\x22\40\164\141\x72\147\145\x74\75\42\137\x62\154\141\x6e\153\x22\x3e\117\x6b\x74\x61\74\57\x61\x3e\40\74\x2f\x74\x64\x3e\x3c\x74\144\x20\143\x6c\141\x73\x73\x3d\x22\x6d\x6f\x5f\x67\x75\x69\144\x65\137\164\145\170\164\x2d\x63\x65\156\164\145\162\x22\x3e\x3c\x61\x20\x63\x6c\x61\163\163\x3d\42\x6d\x6f\137\x67\x75\x69\x64\x65\x5f\x74\x65\170\164\x2d\143\157\x6c\x6f\x72\42\40\150\x72\x65\146\75\42\x68\164\164\160\x73\x3a\x2f\x2f\160\x6c\165\x67\151\x6e\163\x2e\155\151\156\151\157\x72\x61\156\147\145\56\x63\x6f\155\57\147\165\151\144\x65\55\x74\x6f\55\145\x6e\x61\142\x6c\145\55\x6d\x69\156\x69\157\x72\x61\x6e\x67\145\x2d\x6f\141\x75\x74\150\55\143\x6c\x69\x65\x6e\164\x2d\146\157\162\55\x64\x72\165\160\x61\x6c\x22\x20\x74\x61\162\147\x65\164\x3d\42\137\142\154\141\x6e\153\42\76\x4f\x74\150\x65\x72\40\120\x72\x6f\166\151\144\145\162\163\x3c\x2f\141\76\x20\x3c\57\x74\x64\76\74\57\x74\162\x3e\15\12\40\x20\x20\x20\x20\x20\40\40\x20\x20\40\x20\40\40\x20\x20\x20\x20\x20\40\x3c\x2f\164\142\x6f\x64\x79\x3e\xd\12\x20\40\40\x20\40\40\40\x20\x20\x20\40\40\40\40\x20\40\x3c\57\x74\141\142\154\x65\76\15\xa\x20\x20\x20\40\x20\40\40\40\40\40\40\x20\40\x20\40\x20\x3c\144\x69\166\x3e\x49\x6e\x20\143\141\x73\x65\x20\x79\x6f\165\40\144\x6f\x20\156\157\164\40\146\151\156\x64\40\x79\157\165\x72\x20\x64\x65\163\x69\162\145\144\40\x4f\x41\x75\164\150\40\123\145\x72\166\x65\x72\40\x6c\151\x73\x74\145\144\40\150\145\x72\x65\x2c\40\160\154\145\141\163\x65\x20\x6d\141\x69\154\40\165\x73\x20\x6f\x6e\40\74\x61\x20\x68\162\145\146\75\x22\x6d\x61\151\x6c\x74\157\72\x64\x72\165\160\141\x6c\163\165\x70\x70\157\162\164\x40\170\x65\x63\x75\162\x69\146\x79\x2e\143\x6f\155\x22\x3e\144\x72\165\160\141\x6c\163\x75\x70\x70\x6f\162\x74\x40\170\145\143\165\162\x69\146\x79\56\x63\x6f\155\74\57\x61\x3e\15\xa\40\40\40\40\40\40\40\x20\x20\x20\40\40\x20\40\x20\x20\40\40\40\40\x61\156\x64\40\x77\145\40\167\x69\x6c\154\40\x68\x65\x6c\160\x20\x79\157\x75\x20\x74\157\40\163\x65\x74\x20\x69\164\x20\165\160\x2e\x3c\57\x64\x69\x76\x3e\xd\xa\40\x20\40\x20\40\x20\40\x20\40\x20\x20\x20\x3c\57\144\x69\166\x3e");
self::faq($form, $form_state);
$form["\155\x69\x6e\151\x6f\x72\x61\156\147\145\137\145\x6e\x64\x5f\157\x66\x5f\147\165\x69\x64\x65"] = array("\x23\155\x61\x72\153\165\160" => "\74\57\144\151\x76\76");
}
public static function AddsupportTab(&$form, $form_state)
{
$form["\155\x61\x72\x6b\165\160\137\x69\144\160\137\x61\164\x74\x72\137\x68\145\x61\x64\x65\162\x5f\x74\157\160\x5f\163\x75\x70\160\x6f\x72\164"] = array("\43\x6d\141\162\x6b\x75\x70" => "\74\x2f\x64\x69\x76\76\x3c\144\x69\x76\40\143\x6c\141\x73\x73\75\x22\155\x6f\137\163\141\x6d\154\137\164\141\142\154\x65\x5f\x6c\141\171\x6f\x75\164\137\x73\165\160\x70\157\162\164\137\61\x22\76");
$form["\155\141\162\x6b\165\x70\137\x73\x75\x70\x70\157\162\x74\x5f\x31"] = array("\x23\155\141\x72\x6b\165\160" => "\74\150\63\76\x3c\x62\x3e\x53\x75\x70\x70\157\162\x74\x3a\x3c\x2f\142\76\74\x2f\150\x33\x3e\74\144\x69\166\76\116\145\145\x64\x20\141\x6e\171\40\150\x65\154\x70\77\x20\112\165\x73\164\x20\163\x65\156\x64\x20\165\x73\x20\141\40\161\165\x65\162\x79\40\x73\x6f\x20\167\145\40\143\141\x6e\40\x68\145\154\160\x20\x79\157\165\56\x3c\x62\162\x20\x2f\x3e\74\x2f\144\151\x76\76");
$form["\155\x69\156\151\157\x72\x61\156\147\x65\x5f\x6f\141\x75\x74\x68\x5f\x65\x6d\141\151\x6c\137\141\144\144\162\x65\163\x73\x5f\x73\x75\x70\160\157\x72\x74"] = array("\43\164\171\x70\145" => "\x74\x65\x78\x74\x66\x69\x65\x6c\x64", "\x23\141\x74\x74\x72\151\142\x75\x74\x65\x73" => array("\163\164\x79\x6c\145" => "\x77\151\144\x74\x68\72\61\x30\60\x25", "\x70\154\x61\x63\x65\x68\x6f\154\144\x65\162" => "\105\156\164\145\x72\40\171\157\165\x72\x20\105\155\x61\151\154"), "\43\x64\145\x66\141\x75\154\164\x5f\x76\x61\x6c\x75\x65" => variable_get("\155\151\x6e\x69\157\x72\x61\156\x67\x65\x5f\157\x61\x75\x74\150\137\x63\x6c\151\x65\x6e\164\137\x63\x75\163\x74\157\155\x65\x72\137\141\x64\x6d\151\x6e\x5f\x65\155\141\151\154", NULL));
$form["\x6d\151\156\x69\x6f\x72\x61\156\x67\145\x5f\157\x61\x75\x74\150\137\x70\x68\x6f\156\x65\137\x6e\x75\155\142\x65\162\x5f\x73\x75\160\x70\157\162\164"] = array("\x23\164\171\x70\x65" => "\x74\145\170\164\146\x69\x65\x6c\x64", "\43\141\x74\x74\162\151\x62\x75\x74\x65\x73" => array("\x73\x74\171\154\145" => "\x77\151\x64\164\x68\72\x31\60\60\x25", "\x70\154\141\x63\145\x68\157\x6c\144\145\162" => "\x45\x6e\x74\145\162\40\171\x6f\x75\x72\x20\x70\x68\x6f\156\145\x20\x6e\165\155\x62\145\x72\40\x77\x69\x74\150\x20\x63\x6f\x75\x6e\164\162\x79\40\143\x6f\x64\x65\40\x65\x67\x2e\x28\53\x39\x31\51"), "\x23\x64\x65\146\141\165\154\164\137\x76\141\154\x75\145" => variable_get("\155\x69\156\151\157\x72\141\156\147\145\x5f\157\141\165\x74\x68\137\x63\x6c\151\x65\x6e\x74\137\x63\x75\x73\164\x6f\155\145\x72\137\141\x64\155\151\156\137\160\150\157\156\x65", NULL));
$form["\x6d\151\x6e\151\x6f\162\x61\156\x67\x65\x5f\157\x61\x75\x74\x68\137\x73\165\x70\160\157\x72\x74\x5f\161\x75\x65\162\171\x5f\163\x75\160\x70\x6f\x72\x74"] = array("\x23\164\x79\x70\x65" => "\164\145\170\164\x61\162\145\141", "\43\x63\157\154\163" => "\61\x30", "\x23\x72\x6f\x77\163" => "\x35", "\43\x61\164\164\162\151\x62\165\164\145\x73" => array("\163\x74\171\x6c\x65" => "\167\151\x64\x74\150\72\x31\x30\60\45", "\160\154\141\143\x65\150\x6f\x6c\144\x65\x72" => "\127\162\151\164\145\40\171\x6f\165\x72\40\161\165\x65\162\x79\x20\x68\x65\162\x65\56"), "\x23\162\x65\163\x69\172\x61\x62\x6c\x65" => False);
$form["\155\x69\x6e\151\x6f\162\141\x6e\147\145\x5f\163\x61\155\x6c\x5f\163\x75\x70\x70\x6f\x72\164\x5f\163\165\x62\x6d\151\x74\x5f\143\154\151\x63\153"] = array("\43\164\171\160\x65" => "\x73\165\142\x6d\x69\x74", "\43\166\x61\154\165\x65" => t("\123\165\x62\155\x69\164\40\x51\165\145\x72\171"), "\x23\163\x75\x62\x6d\x69\164" => array("\x73\145\156\x64\x5f\163\x75\160\x70\x6f\x72\164\137\x71\165\x65\162\171"), "\43\154\151\x6d\151\x74\137\166\x61\x6c\x69\x64\141\164\x69\157\156\x5f\x65\162\162\157\x72\x73" => array(), "\x23\141\164\164\x72\151\x62\x75\x74\145\163" => array("\163\x74\x79\x6c\x65" => "\x62\x61\x63\x6b\x67\162\157\165\x6e\144\x3a\x20\x23\x33\63\x37\x61\142\67\73\143\157\x6c\x6f\162\x3a\40\43\x66\x66\x66\x66\146\146\x3b\x74\x65\x78\164\x2d\163\x68\141\144\x6f\x77\72\x20\60\40\55\61\160\170\x20\61\160\170\x20\x23\x33\63\67\141\142\x37\x2c\x20\61\x70\170\40\60\x20\61\160\170\40\x23\x33\63\x37\x61\142\x37\x2c\x20\x30\40\x31\160\x78\40\61\160\x78\x20\x23\x33\x33\67\141\142\x37\54\40\x2d\61\160\170\40\x30\40\61\160\170\40\43\63\63\x37\x61\x62\x37\73\142\x6f\170\55\163\x68\141\144\x6f\x77\x3a\x20\60\40\61\160\170\x20\x30\x20\43\x33\x33\x37\x61\x62\x37\73\142\157\x72\144\x65\162\55\x63\157\154\157\x72\72\x20\43\63\x33\x37\141\x62\x37\x20\43\63\63\x37\x61\x62\67\40\x23\63\x33\67\141\142\x37\x3b\144\x69\163\160\x6c\x61\171\x3a\x62\154\x6f\x63\153\73\155\141\x72\x67\x69\x6e\x2d\x6c\145\146\x74\72\141\165\164\x6f\73\x6d\x61\162\147\151\x6e\x2d\x72\151\147\x68\x74\x3a\x61\x75\x74\157\x3b"));
$form["\x6d\151\156\151\x6f\162\141\x6e\147\145\x5f\163\x61\x6d\x6c\137\163\x75\160\160\x6f\x72\164\x5f\156\x6f\164\145"] = array("\43\x6d\x61\x72\x6b\x75\x70" => "\74\144\151\166\x3e\111\146\x20\x79\x6f\165\40\x77\141\156\164\x20\x63\165\163\164\x6f\x6d\x20\146\x65\141\164\x75\162\x65\163\40\151\156\x20\x74\x68\145\40\x6d\157\x64\165\154\145\54\40\x6a\165\163\164\40\x64\162\157\x70\x20\141\x6e\x20\x65\x6d\141\151\x6c\40\x74\157\40\x3c\141\40\150\x72\x65\146\75\42\x6d\141\x69\154\164\x6f\x3a\144\x72\x75\x70\141\x6c\x73\x75\x70\x70\157\162\164\100\x78\x65\x63\x75\x72\x69\x66\171\x2e\143\157\x6d\42\x3e\144\x72\165\x70\141\154\163\165\160\x70\157\x72\x74\x40\x78\145\143\x75\x72\x69\x66\171\x2e\143\157\155\x3c\57\x61\76\x3c\x2f\144\x69\166\x3e\x3c\x62\162\76");
self::faq($form, $form_state);
$form["\155\151\x6e\151\157\162\x61\156\147\x65\137\145\x6e\144\x5f\x6f\146\x5f\x73\165\160\160\x6f\162\x74"] = array("\43\x6d\x61\x72\153\x75\160" => "\x3c\x2f\x64\x69\x76\76");
}
public static function show_attr_list_from_idp(&$form, $form_state)
{
global $base_url;
$Xb = variable_get("\155\x69\156\151\157\x72\141\x6e\147\145\x5f\x6f\x61\x75\x74\150\137\143\x6c\151\x65\x6e\x74\x5f\141\x74\164\162\137\154\x69\x73\164\x5f\x66\x72\157\155\137\163\145\162\166\x65\162");
if (!empty($Xb)) {
goto ts;
}
Utilities::AddguidesTab($form, $form_state);
return;
ts:
$form["\x6d\x69\x6e\151\x6f\x72\x61\x6e\x67\x65\x5f\x69\144\160\x5f\147\x75\x69\x64\x65\x5f\154\x69\x6e\x6b"] = array("\43\x6d\141\162\153\165\160" => "\74\144\151\x76\40\x63\x6c\141\x73\x73\75\42\155\157\x5f\x73\141\x6d\154\137\x74\x61\x62\154\x65\137\x6c\141\171\x6f\165\164\x5f\x34\x20\155\157\137\163\x61\155\154\137\x63\157\x6e\x74\141\151\156\145\x72\137\63\42\x3e");
$form["\155\151\156\x69\157\162\x61\x6e\x67\x65\x5f\x73\141\x6d\x6c\137\x61\164\x74\162\137\150\145\x61\144\145\x72"] = array("\x23\155\141\162\153\165\x70" => "\x3c\x62\76\x41\164\x74\x72\151\142\x75\x74\x65\x73\x20\x72\x65\x63\145\151\166\145\x64\40\146\162\x6f\155\x20\164\150\x65\x20\x4f\101\x75\x74\150\x20\123\145\x72\x76\145\162\x3a\x3c\57\x62\x3e\74\x62\162\76\74\142\x72\x3e");
$TD = count($Xb);
$sM = $TD >= 8 ? "\x73\x63\x72\x6f\154\154\x69\164" : '';
$form["\x6d\x6f\x5f\163\141\x6d\154\x5f\141\164\164\x72\x73\x5f\154\151\163\x74\x5f\x69\144\160"] = array("\43\x6d\141\162\153\x75\x70" => "\74\x64\151\x76\40\143\x6c\141\x73\163\x3d\x22\164\141\142\x6c\x65\x2d\x72\x65\x73\160\x6f\x6e\x73\x69\x76\x65\40\x6d\157\x5f\x67\165\x69\144\x65\137\164\x65\170\x74\x2d\143\145\x6e\x74\x65\x72\x22\x20\163\x74\x79\154\145\75\42\146\x6f\156\x74\55\x66\141\x6d\x69\154\x79\x3a\x20\163\141\x6e\163\x2d\163\x65\162\x69\x66\x3b\146\157\156\x74\55\163\x69\172\x65\72\x20\61\x32\x70\x78\x3b\x22\x3e\74\x64\x69\166\40\x63\154\141\163\x73\x3d" . $sM . "\x3e\15\12\x20\x20\x20\x20\x20\x20\40\40\40\x20\40\x20\x20\40\x20\x20\74\164\141\x62\154\x65\40\143\x6c\x61\163\163\x3d\x22\155\x6f\137\x67\165\x69\144\x65\x5f\x74\141\x62\x6c\145\x20\x6d\157\x5f\147\x75\151\144\145\x5f\164\141\142\154\x65\x2d\163\164\162\x69\160\x65\144\x20\155\x6f\x5f\147\165\x69\144\x65\137\x74\x61\142\x6c\145\55\x62\157\162\144\x65\162\x65\x64\x22\x20\163\x74\171\x6c\145\75\x22\x62\157\x72\x64\x65\x72\x3a\x20\61\x70\x78\40\163\x6f\154\151\x64\x20\43\144\144\144\73\155\x61\170\55\x77\151\x64\164\x68\72\x20\61\60\60\x25\x3b\142\x6f\162\x64\145\x72\x2d\143\157\x6c\x6c\141\x70\x73\145\72\x20\x63\x6f\154\x6c\141\x70\163\145\x3b\x22\x3e\xd\12\40\x20\x20\40\40\x20\x20\40\40\x20\40\40\40\x20\40\x20\40\x20\40\40\x3c\164\150\145\x61\144\76\xd\12\40\x20\40\x20\40\x20\x20\x20\x20\40\x20\x20\40\40\40\40\40\x20\40\x20\x20\x20\x20\x20\x3c\164\162\76\15\xa\40\40\40\x20\40\40\40\40\40\x20\40\x20\40\x20\x20\x20\40\40\x20\40\x20\x20\x20\x20\40\40\40\40\74\x74\150\40\143\154\x61\163\x73\x3d\42\x6d\157\x5f\147\x75\x69\x64\145\x5f\x74\145\170\x74\55\x63\145\x6e\x74\x65\162\x20\155\157\137\x74\x64\137\166\141\154\x75\145\163\x22\76\101\124\124\x52\111\x42\125\x54\x45\x20\116\101\x4d\x45\x3c\x2f\x74\x68\x3e\xd\xa\40\40\x20\40\40\x20\x20\40\40\40\40\40\x20\x20\40\40\40\x20\40\40\x20\40\x20\40\x20\x20\40\x20\x3c\164\x68\x20\x63\x6c\x61\163\163\x3d\x22\x6d\x6f\137\x67\165\151\x64\x65\137\x74\x65\170\164\x2d\143\145\x6e\164\145\x72\x20\x6d\157\137\x74\x64\x5f\166\141\x6c\x75\x65\x73\x22\x3e\x41\x54\124\x52\111\102\125\x54\105\40\x56\101\x4c\125\x45\x3c\57\164\x68\76\40\40\40\40\40\40\40\x20\40\40\40\40\40\x20\x20\40\x20\x20\x20\40\40\40\40\x20\40\xd\xa\40\40\40\40\40\x20\40\40\40\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\x20\x20\x20\x20\74\57\164\x72\x3e\15\xa\x20\x20\40\40\40\40\40\40\40\40\40\x20\40\40\x20\40\x20\40\40\40\74\x2f\x74\x68\x65\x61\144\76");
$rs = '';
$EE = '';
if (!(isset($Xb) && !empty($Xb))) {
goto wt;
}
foreach ($Xb as $Gs => $yJ) {
if (is_array($yJ) || is_object($yJ)) {
goto Lc;
}
$rs .= "\74\164\162\76\74\x74\x64\76" . $Gs . "\x3c\x2f\164\144\76\x3c\164\x64\x3e";
$rs .= $yJ . "\x3c\x2f\x74\144\x3e\74\x2f\164\162\76";
goto SO;
Lc:
foreach ($yJ as $iu => $xO) {
$rs .= "\x3c\164\162\x3e\x3c\x74\x64\x3e" . $Gs . "\x2e" . $iu . "\74\x2f\164\x64\76\x3c\x74\144\x3e";
$rs .= $xO . "\74\x2f\x74\144\76\74\x2f\x74\x72\76";
lV:
}
hr:
SO:
if (!($Gs == "\162\x6f\x6c\145\x73" && is_array($Xb["\x72\157\x6c\145\x73"]))) {
goto ul;
}
foreach ($yJ as $W2 => $Sx) {
$EE .= $Sx . "\40\174\40";
yn:
}
jl:
$rs .= $EE . "\x3c\57\164\144\76\74\57\x74\162\x3e";
ul:
H1:
}
Li:
wt:
$form["\155\x69\x6e\x69\x6f\x72\141\x6e\x67\x65\x5f\163\141\155\x6c\x5f\x67\x75\x69\144\x65\137\x74\x61\x62\x6c\x65\137\154\x69\163\x74"] = array("\43\x6d\141\x72\153\165\160" => "\x3c\164\x62\157\x64\171\x20\163\164\x79\154\x65\x3d\x22\146\157\x6e\x74\x2d\167\145\151\147\150\x74\x3a\x62\157\x6c\144\x3b\146\157\156\x74\x2d\163\x69\x7a\145\x3a\40\61\x32\x70\x78\x3b\143\x6f\154\x6f\x72\x3a\147\x72\x61\171\73\x22\x3e" . $rs . "\x3c\57\x74\x62\x6f\x64\x79\76\x3c\57\x74\x61\x62\x6c\145\76\x3c\x2f\144\x69\166\76");
$form["\x6d\x69\x6e\x69\157\162\141\156\x67\145\137\142\x72\x65\x61\153"] = array("\x23\x6d\x61\162\153\165\160" => "\x3c\x62\x72\76");
$form["\155\151\156\x69\157\x72\x61\156\x67\145\x5f\163\141\x6d\x6c\x5f\143\154\145\141\x72\x5f\141\164\164\162\x5f\154\151\163\164"] = array("\x23\164\x79\x70\145" => "\163\165\142\x6d\x69\x74", "\x23\166\141\x6c\x75\145" => t("\103\154\x65\141\x72\x20\x41\164\x74\162\151\142\165\x74\145\x20\114\x69\x73\164"), "\x23\x73\165\x62\155\151\164" => array("\143\154\145\x61\x72\137\141\x74\164\162\137\154\151\163\164"), "\43\151\x64" => "\142\x75\x74\x74\157\x6e\137\x63\157\156\x66\x69\147\137\x63\145\156\164\145\x72", "\x23\154\151\x6d\x69\x74\137\x76\141\154\x69\144\141\x74\151\157\x6e\x5f\145\162\x72\x6f\162\x73" => array());
$form["\x6d\x69\x6e\151\157\x72\x61\x6e\x67\x65\x5f\x73\141\155\154\x5f\x67\165\x69\x64\x65\137\143\154\145\x61\x72\137\154\151\x73\x74\x5f\156\157\164\145"] = array("\43\155\141\x72\x6b\165\160" => "\74\142\x72\76\x3c\144\151\x76\x20\x73\x74\x79\x6c\145\75\x22\x66\x6f\x6e\164\55\163\151\172\145\x3a\40\61\63\x70\170\x3b\x22\x3e\x3c\142\76\x4e\117\124\x45\40\72\40\x3c\x2f\x62\x3e\x50\154\145\141\163\145\x20\x63\154\145\x61\162\x20\164\150\x69\163\40\154\x69\x73\x74\x20\x61\x66\164\145\162\x20\x63\157\x6e\146\x69\x67\x75\x72\151\x6e\x67\40\164\150\x65\40\x6d\157\144\x75\x6c\x65\x20\x74\x6f\x20\x68\x69\x64\x65\40\x79\x6f\x75\162\40\143\x6f\156\146\151\144\145\x6e\x74\151\141\x6c\x20\141\x74\164\162\151\x62\165\164\145\163\56\74\142\162\x3e\15\xa\40\40\x20\x20\x20\x20\x20\x20\x20\x20\40\40\40\x20\40\40\x20\x20\x20\40\x20\x20\x20\40\x20\40\x20\x20\103\x6c\151\143\x6b\40\157\x6e\x20\74\142\x3e\124\145\163\x74\40\x63\x6f\x6e\146\151\147\x75\x72\141\x74\x69\x6f\x6e\74\x2f\x62\x3e\40\151\x6e\x20\x3c\142\76\x43\117\116\x46\x49\x47\125\x52\x45\40\117\x41\125\124\x48\x3c\x2f\142\x3e\40\164\x61\x62\x20\164\157\x20\x70\x6f\x70\165\154\x61\164\145\x20\x74\150\145\x20\154\151\163\164\40\141\x67\141\151\x6e\x2e\74\x2f\144\x69\x76\x3e");
$form["\x6d\x69\156\x69\x6f\x72\141\156\x67\145\137\163\141\155\x6c\x5f\x67\x75\151\x64\x65\x5f\164\x61\x62\x6c\145\x5f\x65\156\144"] = array("\x23\155\141\162\153\x75\160" => "\74\x2f\x64\x69\x76\x3e");
}
public static function AddSupportButton(&$form, &$form_state)
{
$form["\155\151\156\151\x6f\x72\x61\156\147\x65\x2d\163\141\155\x6c\55\151\x64\x70\55\x73\x75\x70\x70\x6f\162\x74\55\163\x69\x64\x65\x2d\142\x75\x74\164\157\x6e"] = array("\x23\164\171\x70\145" => "\142\x75\x74\164\x6f\156", "\x23\166\141\x6c\x75\145" => t("\x53\165\160\160\157\162\x74"), "\43\x61\x74\164\x72\151\142\165\164\145\163" => array("\163\x74\x79\x6c\145" => "\x66\x6f\156\164\55\x73\x69\172\x65\x3a\x20\61\x35\x70\170\73\x63\x75\162\163\x6f\162\72\40\x70\x6f\151\156\x74\x65\162\73\164\x65\x78\x74\55\141\x6c\151\x67\x6e\x3a\40\143\x65\x6e\x74\145\162\73\167\x69\144\164\150\72\40\x31\65\x30\x70\x78\73\150\x65\151\x67\150\164\x3a\40\x33\65\160\x78\73\xd\xa\x20\x20\40\x20\40\40\40\40\40\x20\40\40\40\x20\40\40\x62\x61\x63\x6b\x67\x72\x6f\x75\156\144\72\40\x72\147\142\141\50\64\x33\x2c\40\61\x34\61\x2c\x20\66\x35\x2c\x20\60\x2e\x39\x33\51\x3b\x63\157\x6c\x6f\x72\72\40\43\146\x66\146\146\x66\146\x3b\142\157\162\x64\145\x72\x2d\x72\141\144\151\x75\163\x3a\x20\x33\160\170\x3b\x74\x72\x61\156\163\x66\x6f\x72\155\72\x20\x72\157\x74\141\164\145\x28\x39\60\144\x65\147\51\73\x74\145\170\164\x2d\163\x68\141\x64\157\x77\72\40\156\157\156\x65\73\15\12\x20\40\x20\40\x20\x20\x20\40\x20\x20\40\40\x20\40\40\40\x70\x6f\x73\x69\x74\151\157\156\x3a\x20\162\145\x6c\x61\x74\x69\166\145\73\x6d\x61\x72\147\x69\156\55\x6c\145\146\164\72\40\x2d\71\62\x70\x78\73\164\x6f\160\72\40\71\64\x70\x78\73"), "\43\160\162\145\146\x69\170" => "\x3c\144\151\x76\x20\151\144\x3d\x22\x6d\x6f\163\141\x6d\x6c\x2d\x66\x65\145\144\142\x61\143\x6b\x2d\146\x6f\162\x6d\42\40\143\154\141\x73\163\75\x22\155\157\x5f\x73\x61\x6d\154\x5f\x74\x61\x62\154\145\137\x6c\x61\x79\x6f\165\164\x5f\x73\x75\160\x70\157\x72\x74\137\142\164\156\x22\x3e", "\43\163\x75\146\146\x69\x78" => "\x3c\x64\151\x76\x20\x69\144\75\x22\123\165\160\160\x6f\x72\164\137\x53\x65\143\164\x69\x6f\156\x22\40\143\x6c\141\163\x73\75\x22\x6d\x6f\x5f\163\141\155\x6c\137\164\141\142\154\x65\137\154\141\171\x6f\165\x74\137\x73\x75\160\x70\x6f\162\x74\x5f\62\42\x3e");
$form["\x6d\x61\x72\x6b\165\x70\137\163\165\160\x70\x6f\162\164\x5f\61"] = array("\x23\155\141\162\x6b\165\x70" => "\74\x68\x33\76\x3c\x62\76\x46\x65\x61\x74\165\162\x65\40\x52\145\x71\x75\145\x73\164\x2f\103\x6f\x6e\x74\x61\143\x74\x20\125\163\x3a\74\x2f\142\76\x3c\57\x68\x33\76\15\12\40\x20\x20\x20\40\x20\40\x20\40\40\x20\40\x20\x20\40\x20\40\x20\40\x20\40\40\40\40\40\40\74\144\x69\166\76\116\x65\145\144\40\x61\x6e\171\40\x68\x65\154\x70\x3f\40\127\x65\40\143\141\156\x20\150\x65\x6c\x70\x20\x79\157\165\x20\167\151\x74\x68\40\x63\x6f\156\x66\151\x67\165\x72\151\156\147\x20\x79\157\x75\162\x20\117\101\165\164\x68\x20\120\162\157\x76\x69\144\145\162\x2e\xd\12\40\x20\x20\40\40\40\x20\40\40\x20\40\x20\40\x20\x20\40\40\x20\40\x20\x20\x20\40\40\40\x20\x4a\165\163\164\40\x73\x65\x6e\144\x20\165\x73\40\141\40\x71\165\145\x72\171\40\x61\x6e\x64\40\167\x65\40\x77\151\x6c\154\40\x67\145\164\x20\142\x61\143\x6b\x20\x74\157\40\171\x6f\x75\x20\x73\x6f\157\x6e\56\x3c\x62\162\40\x2f\76\74\57\144\x69\x76\x3e");
$form["\x6d\151\x6e\151\157\x72\x61\156\x67\145\137\157\x61\165\x74\150\137\145\155\x61\151\x6c\137\x61\x64\144\x72\145\163\163\x5f\x73\x75\160\160\x6f\162\x74"] = array("\43\x74\171\x70\145" => "\x74\x65\170\x74\146\x69\145\x6c\144", "\43\x61\164\x74\x72\151\142\x75\164\145\163" => array("\x73\x74\171\x6c\145" => "\167\x69\144\x74\x68\x3a\61\x30\60\x25", "\160\154\141\x63\145\150\157\154\x64\145\162" => "\105\x6e\164\x65\x72\40\171\157\165\x72\x20\x45\x6d\x61\151\154"));
$form["\x6d\151\156\x69\157\x72\141\156\147\145\x5f\x6f\x61\x75\164\x68\x5f\160\150\157\156\145\137\156\x75\x6d\142\145\162\x5f\x73\x75\x70\160\157\162\x74"] = array("\43\164\171\x70\145" => "\164\145\170\x74\146\x69\145\154\144", "\x23\141\164\164\162\x69\142\165\164\x65\163" => array("\163\x74\171\x6c\x65" => "\x77\151\144\164\x68\x3a\x31\x30\60\x25", "\x70\x6c\141\143\145\150\x6f\x6c\144\145\x72" => "\105\x6e\x74\145\x72\40\171\157\165\162\40\x50\150\157\156\145\40\x4e\165\155\x62\x65\x72"));
$form["\x6d\x69\x6e\151\x6f\x72\141\156\x67\x65\137\x6f\x61\165\164\150\137\x73\x75\160\160\157\x72\x74\x5f\x71\x75\145\x72\171\x5f\x73\165\160\160\157\x72\x74"] = array("\43\x74\x79\160\x65" => "\x74\x65\170\164\x61\x72\145\141", "\x23\143\154\157\x73" => "\x31\60", "\43\162\157\167\x73" => "\65", "\43\x61\x74\164\x72\151\142\165\x74\x65\163" => array("\163\164\171\x6c\145" => "\167\151\x64\164\150\x3a\x31\60\60\x25", "\160\154\141\x63\x65\x68\x6f\x6c\144\145\x72" => "\x57\x72\151\x74\x65\x20\171\157\x75\x72\x20\161\165\x65\x72\171\40\x68\x65\x72\x65"));
$form["\x6d\x69\x6e\151\157\162\141\156\147\x65\137\163\141\x6d\x6c\x5f\163\165\x70\160\157\x72\x74\x5f\163\165\x62\155\151\x74\x5f\x63\x6c\151\x63\153"] = array("\x23\164\x79\x70\145" => "\x73\165\x62\x6d\x69\164", "\43\x76\x61\x6c\x75\x65" => t("\123\x75\142\x6d\x69\x74\40\121\x75\145\x72\171"), "\x23\163\165\142\155\x69\x74" => array("\x55\x74\x69\154\x69\x74\x69\x65\163\x3a\72\163\145\156\144\x5f\163\165\x70\160\157\x72\x74\137\x71\x75\145\x72\x79"), "\x23\x6c\151\x6d\x69\x74\x5f\x76\141\154\x69\144\141\x74\151\157\x6e\x5f\145\162\x72\x6f\162\163" => array(), "\43\141\164\x74\x72\x69\x62\x75\x74\145\x73" => array("\163\164\x79\154\145" => "\x62\x61\143\x6b\x67\x72\157\x75\156\x64\x3a\x20\x23\x33\x33\67\x61\142\x37\73\143\x6f\x6c\x6f\162\72\x20\43\x66\x66\x66\146\146\146\x3b\x74\145\170\x74\x2d\163\150\141\x64\157\x77\72\40\60\x20\x2d\x31\x70\170\40\61\x70\170\40\x23\x33\x33\x37\x61\142\67\54\40\61\x70\170\x20\60\40\61\x70\170\x20\x23\63\63\67\141\x62\x37\54\40\x30\40\61\160\170\x20\x31\160\x78\x20\43\x33\x33\67\141\x62\67\x2c\x20\x2d\61\160\x78\40\60\40\61\160\170\40\43\x33\x33\x37\141\142\67\x3b\x62\157\170\x2d\163\150\x61\144\157\x77\x3a\40\x30\x20\61\x70\170\40\x30\x20\43\63\63\67\x61\x62\67\x3b\x62\x6f\162\144\x65\x72\55\143\157\x6c\x6f\x72\x3a\40\43\x33\x33\x37\141\142\67\x20\43\x33\x33\67\141\x62\x37\40\x23\63\x33\67\x61\x62\x37\x3b\144\x69\163\160\154\141\x79\x3a\x62\154\157\x63\153\73\155\141\162\x67\x69\x6e\55\154\145\x66\x74\x3a\141\x75\x74\157\x3b\155\141\162\x67\x69\156\55\162\151\x67\x68\x74\72\141\x75\x74\x6f\x3b"));
$form["\x6d\151\156\151\157\162\x61\156\x67\x65\x5f\x73\141\155\x6c\137\x73\x75\x70\x70\x6f\162\164\x5f\x6e\157\164\145"] = array("\43\155\141\162\153\x75\x70" => "\x3c\144\151\166\76\111\146\x20\171\x6f\x75\40\x77\x61\x6e\164\x20\x63\165\x73\x74\x6f\155\x20\146\145\x61\164\165\x72\145\x73\x20\151\x6e\x20\164\150\145\40\x6d\157\144\x75\154\145\54\x20\x6a\x75\x73\x74\40\144\162\x6f\x70\x20\141\156\40\x65\155\x61\x69\154\40\164\157\xd\xa\40\40\40\40\x20\x20\40\x20\x20\x20\40\x20\x20\40\40\40\40\40\x20\40\x20\x20\40\40\40\x20\x20\x20\40\40\x20\x20\40\40\40\40\x3c\141\40\150\x72\x65\x66\75\x22\x6d\141\151\154\164\157\x3a\x64\x72\165\x70\x61\154\x73\x75\x70\160\x6f\x72\164\x40\x78\145\x63\165\162\151\x66\171\x2e\x63\x6f\155\x22\76\x64\162\x75\160\141\154\x73\165\160\x70\157\162\x74\x40\170\145\x63\165\x72\x69\146\x79\56\x63\157\155\74\x2f\141\x3e\74\x2f\x64\x69\x76\x3e\15\xa\x20\40\40\40\40\40\x20\x20\x20\x20\40\40\40\x20\40\x20\x20\40\40\40\x20\40\x20\x20\x20\40\74\57\144\151\x76\x3e\74\57\144\x69\x76\76\x3c\144\151\x76\40\x68\x69\144\144\145\156\x20\151\x64\x3d\x22\x6d\x6f\x73\x61\155\154\55\x66\x65\x65\x64\142\x61\143\153\x2d\x6f\x76\145\162\154\x61\171\42\x3e\74\57\144\x69\166\x3e");
}
public static function createUpdateUrl($dv, $DA, $o2, $B2, $mR, $aF)
{
$Nu = "\x31\x31\x31\61\x31\x31\x31\61\x31\x31\x31\x31\61\61\61\61" . $dv;
$qF = $aF . "\x2f\x6d\157\x61\x73\57\141\x70\151\57\x70\x6c\x75\x67\151\156\57\x64\x72\165\160\x61\154\112\x6f\x6f\155\154\141\x55\x70\144\141\164\145\57" . $mR . "\x2f" . $DA . "\57" . $o2 . "\x2f";
$ZJ = openssl_cipher_iv_length($m7 = "\101\x45\x53\55\61\62\x38\x2d\x43\x42\x43");
$HE = openssl_random_pseudo_bytes($ZJ);
$vS = openssl_encrypt($Nu, $m7, $B2, $cw = OPENSSL_RAW_DATA, $HE);
return $qF . str_replace(array("\x2b", "\57", "\75"), array("\55", "\x5f", ''), base64_encode($vS));
}
public static function isCustomerRegistered(&$form, $form_state)
{
global $base_url;
$RN = $base_url . "\57\141\144\155\x69\156\x2f\143\157\156\x66\x69\147\57\160\x65\x6f\160\154\145\57\155\151\156\151\157\162\141\x6e\x67\145\137\x6f\x61\165\164\150\137\143\154\x69\145\x6e\164\57";
if (variable_get("\x6d\151\156\151\x6f\x72\x61\156\147\145\x5f\x6f\141\x75\x74\150\137\143\154\151\x65\156\164\137\143\x75\163\x74\x6f\155\145\x72\137\141\144\155\151\x6e\137\x65\155\x61\151\x6c", NULL) == NULL || variable_get("\x6d\151\x6e\x69\x6f\162\x61\156\147\x65\x5f\x6f\x61\165\x74\150\137\x63\x6c\151\x65\156\x74\137\143\165\x73\164\157\x6d\x65\162\x5f\x69\x64", NULL) == NULL || variable_get("\x6d\x69\156\x69\157\x72\x61\x6e\147\x65\x5f\157\x61\x75\164\x68\137\143\x6c\x69\145\156\164\137\143\x75\x73\164\x6f\x6d\x65\162\137\141\x64\155\151\x6e\x5f\164\x6f\153\x65\x6e", NULL) == NULL || variable_get("\155\x69\156\151\157\x72\x61\156\147\145\x5f\157\x61\x75\x74\150\x5f\143\x6c\151\145\x6e\x74\137\x63\165\163\164\157\x6d\x65\x72\x5f\x61\160\151\137\153\x65\x79", NULL) == NULL) {
goto ur;
}
if (variable_get("\x6d\x69\156\x69\x6f\x72\141\156\x67\x65\x5f\157\x61\165\x74\x68\x5f\143\x6c\151\x65\x6e\164\137\154\x69\x63\x65\156\163\145\137\153\x65\x79", NULL) == NULL) {
goto xG;
}
return FALSE;
goto MZ;
xG:
$form["\x6d\x61\x72\x6b\165\160\137\x6d\163\x67"] = array("\x23\x6d\x61\162\153\165\x70" => "\x3c\x64\x69\x76\40\x63\154\x61\163\163\75\42\155\x6f\137\163\141\155\x6c\137\x72\145\147\151\163\x74\x65\162\137\155\145\x73\163\141\147\145\42\x3e\x59\x6f\165\40\x6e\145\x65\144\x20\x74\157\40\x3c\141\x20\x68\x72\x65\146\75\42" . $RN . "\42\x20\x3e\166\x65\x72\151\x66\171\40\171\157\x75\162\40\154\151\x63\x65\156\x73\145\74\x2f\x61\x3e\x20\x6b\x65\x79\40\142\145\146\x6f\162\x65\x20\165\x73\x69\156\x67\x20\x74\x68\151\x73\40\x6d\157\x64\165\x6c\145\56\x3c\57\x64\x69\166\x3e");
return TRUE;
MZ:
goto C_;
ur:
$form["\x6d\141\x72\153\x75\x70\x5f\162\145\x67\x5f\155\163\x67"] = array("\x23\155\x61\x72\x6b\165\x70" => "\x3c\144\151\166\x20\x63\x6c\141\x73\x73\75\x22\155\157\x5f\x73\141\155\154\x5f\162\145\147\151\x73\x74\145\x72\x5f\155\145\163\x73\x61\x67\x65\42\x3e\x59\x6f\165\x20\156\x65\145\144\x20\x74\x6f\40\x3c\141\40\150\162\x65\x66\75\42" . $RN . "\x22\40\x3e\x6c\157\147\x69\x6e\74\57\x61\x3e\40\167\x69\164\x68\x20\155\151\156\151\117\x72\x61\x6e\147\x65\40\142\145\146\157\x72\x65\x20\165\x73\x69\156\147\40\164\150\151\163\40\155\157\144\165\154\145\56\x3c\x2f\x64\151\x76\x3e");
return TRUE;
C_:
}
public static function Is_Restricted_Domain($o9)
{
$GE = variable_get("\x6d\151\156\151\157\162\x61\156\147\145\x5f\157\x61\165\164\150\137\x65\156\141\142\x6c\x65\137\144\157\155\x61\x69\156\137\x72\145\163\164\162\x69\x63\x74\151\157\x6e");
if (!($GE === FALSE)) {
goto W1;
}
return FALSE;
W1:
$rw = explode("\100", $o9)[1];
if (!(is_null($rw) || empty($rw))) {
goto AT;
}
return FALSE;
AT:
$O_ = variable_get("\x6d\151\156\x69\157\x72\141\156\147\145\137\157\141\x75\164\150\137\x64\x6f\x6d\x61\151\x6e\163");
if (!(empty($O_) || !isset($O_))) {
goto Vd;
}
return FALSE;
Vd:
$Ja = variable_get("\x6d\151\156\x69\157\162\141\156\x67\x65\x5f\157\x61\x75\x74\x68\137\144\157\x6d\x61\151\x6e\163\x5f\141\x72\x65\x5f\x77\150\151\x74\145\137\x6f\162\137\x62\154\141\x63\153");
$O_ = explode("\73", $O_);
if ($Ja === "\167\150\x69\x74\145") {
goto Vb;
}
if ($Ja == "\142\x6c\141\143\x6b") {
goto Ai;
}
goto UE;
Vb:
if (array_search($rw, $O_) === FALSE) {
goto qZ;
}
return FALSE;
goto W_;
qZ:
return TRUE;
W_:
goto UE;
Ai:
if (array_search($rw, $O_) === FALSE) {
goto EF;
}
return TRUE;
goto wE;
EF:
return FALSE;
wE:
UE:
}
public static function is_page_restricted($YQ)
{
$p2 = variable_get("\x6d\x69\156\151\157\162\141\x6e\147\145\137\157\x61\165\164\x68\137\x65\156\141\x62\154\x65\137\x70\141\147\x65\x5f\162\145\163\164\162\x69\143\164\x69\x6f\x6e");
if (!($p2 === FALSE)) {
goto d_;
}
return FALSE;
d_:
if (!(is_null($YQ) || empty($YQ))) {
goto TE;
}
return FALSE;
TE:
$Yt = variable_get("\x6d\x69\156\151\x6f\x72\141\x6e\147\145\x5f\157\x61\x75\x74\150\x5f\x70\x61\x67\x65\137\x72\145\x73\164\162\151\143\164");
if (!(empty($Yt) || !isset($Yt))) {
goto ui;
}
return FALSE;
ui:
$Yt = explode("\73", $Yt);
if (array_search($YQ, $Yt) === FALSE) {
goto xl;
}
return TRUE;
goto Ml;
xl:
return FALSE;
Ml:
}
public static function send_support_query(&$form, $form_state)
{
$pC = trim($form["\x6d\151\x6e\151\x6f\x72\141\156\147\145\137\157\141\x75\x74\x68\137\x65\155\x61\151\154\137\141\144\x64\x72\x65\163\x73\137\163\x75\160\160\x6f\162\x74"]["\43\166\x61\154\x75\x65"]);
$dO = $form["\x6d\x69\156\151\157\x72\141\156\147\x65\x5f\x6f\141\x75\164\x68\137\x70\x68\x6f\x6e\x65\137\x6e\165\x6d\x62\x65\162\137\x73\x75\x70\160\157\x72\164"]["\x23\x76\x61\x6c\x75\145"];
$BW = trim($form["\155\x69\156\x69\157\162\141\x6e\x67\x65\137\157\x61\165\x74\x68\x5f\163\165\160\x70\x6f\x72\x74\137\161\165\145\x72\171\x5f\x73\x75\x70\160\157\162\164"]["\43\x76\141\154\x75\145"]);
Utilities::send_query($pC, $dO, $BW);
}
public static function send_query($pC, $dO, $BW)
{
if (empty($pC) || empty($BW)) {
goto aM;
}
if (!valid_email_address($pC)) {
goto t1;
}
goto QP;
aM:
drupal_set_message(t("\x54\150\x65\40\74\142\x3e\74\165\x3e\105\155\141\x69\154\x3c\x2f\x75\76\x3c\57\142\x3e\40\x61\x6e\x64\40\74\x62\x3e\x3c\165\x3e\121\x75\145\162\171\x3c\x2f\x75\x3e\x3c\x2f\x62\76\x20\x66\x69\x65\154\x64\163\40\141\162\145\40\x72\x65\x71\x75\x69\x72\145\x64\56"), "\x65\162\x72\x6f\x72");
return;
goto QP;
t1:
drupal_set_message(t("\x54\x68\x65\40\145\x6d\x61\151\x6c\x20\141\144\x64\x72\x65\x73\x73\x20\74\142\x3e\74\x69\76" . $pC . "\x3c\57\151\x3e\74\x2f\142\x3e\x20\x69\x73\40\x6e\x6f\164\40\166\x61\x6c\151\144\x2e"), "\x65\x72\162\157\162");
return;
QP:
$Q2 = new MiniOrange_oauth_support($pC, $dO, $BW);
$J8 = $Q2->sendSupportQuery();
if ($J8) {
goto Yj;
}
drupal_set_message(t("\105\162\x72\157\x72\40\x73\x65\156\x64\x69\x6e\147\40\163\165\160\160\x6f\x72\164\40\x71\x75\x65\162\x79"), "\145\162\162\157\162");
goto QF;
Yj:
drupal_set_message(t("\123\x75\160\x70\157\162\164\40\161\x75\x65\162\171\40\163\145\156\164\40\163\165\143\x63\x65\x73\163\x66\x75\x6c\154\x79\56\40\x57\145\40\x77\x69\x6c\x6c\40\x67\145\x74\x20\151\156\40\x74\157\x75\143\x68\40\163\x68\157\162\164\154\171\41"));
QF:
}
public static function getRealIpAddr()
{
if (!empty($_SERVER["\x48\x54\x54\120\137\x43\x4c\x49\x45\x4e\x54\x5f\x49\x50"])) {
goto jb;
}
if (!empty($_SERVER["\x48\x54\x54\x50\x5f\x58\x5f\x46\117\x52\127\x41\122\104\105\104\137\106\x4f\122"])) {
goto Yz;
}
$n8 = $_SERVER["\x52\105\x4d\117\124\105\137\101\104\104\x52"];
goto WU;
jb:
$n8 = $_SERVER["\x48\124\x54\120\137\x43\x4c\111\105\116\x54\x5f\x49\120"];
goto WU;
Yz:
$n8 = $_SERVER["\110\x54\x54\x50\137\130\137\106\117\x52\x57\x41\x52\104\x45\104\x5f\x46\117\122"];
WU:
return $n8;
}
public static function save_SSO_report_data($aB, $Tp = FALSE, $pC = FALSE)
{
$Uw = '';
if (!isset($_SESSION["\x6e\x61\x76\151\147\x61\x74\x69\x6f\x6e\137\165\162\x6c"])) {
goto IG;
}
$Uw = $_SESSION["\x6e\141\166\x69\147\x61\x74\151\x6f\156\x5f\165\x72\x6c"];
IG:
unset($_SESSION["\156\x61\166\x69\x67\141\x74\x69\157\x6e\137\165\x72\154"]);
$d9 = array("\x75\163\x65\x72\156\141\155\145" => $Tp ? $Tp : "\55", "\x73\164\x61\164\165\163" => $aB, "\141\160\160\154\151\143\x61\164\x69\157\x6e" => variable_get("\155\151\x6e\x69\157\x72\141\x6e\147\x65\x5f\141\x75\x74\x68\137\143\154\151\145\x6e\x74\x5f\x61\x70\160\x5f\156\141\x6d\145", ''), "\x64\x61\x74\x65\x5f\x61\x6e\144\x5f\x74\151\x6d\145" => date("\x46\40\x6a\x2c\40\131\x2c\x20\147\72\x69\40\x61", time()), "\145\x6d\141\151\154" => $pC ? $pC : "\55", "\x69\x70\x5f\141\x64\144\x72\145\x73\163" => Utilities::getRealIpAddr(), "\x6e\x61\x76\x69\x67\x61\164\x69\157\x6e\137\165\x72\x6c" => $Uw);
$zd = db_insert("\157\x61\165\164\x68\137\143\x6c\x69\145\156\x74\x5f\x73\163\157\137\x72\x65\160\x6f\162\164")->fields($d9)->execute();
}
public static function showDomainRestrictionError($y1, $pC)
{
global $base_url;
Utilities::save_SSO_report_data("\x46\x41\x49\x4c\125\x52\105\56\x20\104\157\155\141\x69\x6e\40\x52\145\163\164\x72\151\143\x74\145\x64", $y1 ? $y1 : "\55", $pC);
echo "\74\144\x69\166\x20\163\164\171\x6c\145\x3d\x22\x66\157\156\x74\x2d\x66\x61\155\x69\x6c\171\72\103\x61\154\151\x62\162\x69\73\160\x61\144\x64\x69\x6e\x67\72\60\x20\63\45\73\x22\76";
echo "\74\144\151\166\40\x73\164\x79\154\145\x3d\x22\x63\157\x6c\x6f\162\72\40\43\x61\x39\x34\x34\x34\62\73\142\141\143\153\147\x72\157\x75\x6e\x64\55\143\157\154\x6f\162\72\x20\43\146\x32\x64\x65\x64\145\x3b\x70\141\144\144\x69\x6e\147\72\40\x31\x35\160\170\x3b\x6d\141\162\x67\151\156\x2d\x62\x6f\x74\x74\x6f\155\x3a\x20\x32\60\x70\170\73\164\145\x78\x74\x2d\x61\x6c\151\x67\156\72\143\x65\156\164\145\162\x3b\142\157\162\144\145\162\72\x31\x70\170\x20\163\157\x6c\151\144\40\x23\105\x36\x42\x33\102\x32\73\x66\x6f\156\164\55\x73\151\172\145\72\61\x38\x70\164\x3b\x22\76\40\x45\x52\122\x4f\x52\x3c\x2f\144\151\166\76\15\12\40\x20\40\40\40\40\40\x20\40\x20\x20\40\40\x20\x20\x20\40\40\40\40\40\40\x20\40\x20\x20\40\40\x20\40\x20\x20\74\x64\x69\x76\x20\163\x74\x79\154\x65\75\x22\x63\157\x6c\157\162\72\40\x23\141\x39\x34\64\x34\x32\x3b\x66\x6f\156\x74\55\x73\151\172\x65\72\61\x34\160\x74\73\40\155\141\x72\x67\x69\x6e\x2d\142\x6f\x74\164\157\155\72\x32\60\x70\170\x3b\x22\x3e\x3c\x70\x3e\74\163\164\x72\157\156\x67\76\x45\x72\x72\157\162\x3a\x20\74\x2f\163\x74\x72\157\x6e\147\x3e\104\157\155\x61\151\156\x20\162\145\163\164\x72\x69\x63\x74\x69\x6f\156\x20\151\163\40\x65\x6e\141\x62\154\145\144\56\74\x2f\160\x3e\15\12\x20\x20\40\x20\x20\40\40\x20\40\40\40\x20\40\40\x20\x20\40\x20\x20\40\40\x20\x20\40\40\x20\40\x20\40\x20\40\x20\40\40\x20\x20\x3c\x70\x3e\x50\154\145\x61\x73\145\40\143\157\x6e\164\x61\143\x74\x20\171\157\165\x72\x20\141\x64\x6d\151\x6e\x69\163\164\162\141\x74\x6f\x72\x2e\x3c\57\x70\76\xd\xa\x20\x20\x20\x20\x20\40\x20\x20\40\x20\40\x20\40\x20\40\40\x20\x20\x20\x20\x20\40\x20\40\40\40\x20\x20\40\40\x20\x20\x20\x20\x20\x20\x3c\160\x3e\x3c\163\164\162\x6f\156\x67\x3e\x50\157\x73\x73\x69\x62\154\x65\x20\103\141\x75\x73\145\x3a\x20\74\x2f\163\164\x72\157\156\147\x3e\131\157\x75\x72\x20\144\x6f\x6d\x61\x69\156\40\x69\163\40\156\x6f\x74\x20\141\154\154\x6f\x77\145\144\40\164\x6f\x20\154\157\147\x69\x6e\x2e\x3c\57\x70\76\xd\12\x20\40\x20\x20\x20\40\40\40\x20\x20\40\40\40\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\x20\x20\40\x20\40\x20\x20\x20\74\x2f\144\151\x76\76\15\xa\x20\40\40\40\x20\40\40\x20\x20\x20\40\40\40\40\40\x20\x20\40\40\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\x20\40\74\x64\151\x76\40\x73\164\171\154\145\75\42\155\x61\162\147\x69\x6e\72\63\45\x3b\144\x69\163\160\x6c\x61\x79\72\x62\154\157\143\x6b\x3b\x74\x65\x78\x74\55\x61\x6c\151\x67\x6e\x3a\x63\145\x6e\x74\145\x72\x3b\42\x3e\74\x2f\x64\151\166\x3e\xd\12\40\x20\40\x20\x20\40\x20\40\40\40\40\40\x20\40\x20\40\40\x20\40\x20\40\x20\x20\x20\x20\40\x20\x20\x20\40\40\x20\74\x64\x69\x76\x20\x73\164\171\154\x65\75\x22\155\x61\x72\147\151\156\72\63\x25\73\144\151\x73\160\x6c\x61\x79\x3a\x62\154\157\143\153\73\x74\x65\x78\x74\x2d\141\x6c\151\147\156\x3a\143\145\156\x74\145\x72\x3b\42\76\xd\xa\x20\40\40\40\40\x20\40\x20\x20\x20\40\40\x20\40\40\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\40\x20\40\40\x20\40\x20\40\40\40\x3c\146\157\162\x6d\40\155\x65\164\x68\157\144\x3d\42\120\x4f\x53\124\42\x20\141\x63\164\x69\157\156\40\75\x22" . $base_url . "\x22\76\15\12\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\40\40\40\40\x20\x20\x20\40\x20\x20\x20\x20\x20\40\40\x20\40\40\40\x20\x20\40\40\x20\40\x3c\151\x6e\x70\165\164\x20\x73\164\x79\154\145\75\42\x70\141\144\144\151\x6e\147\x3a\x31\45\73\x77\x69\x64\164\x68\x3a\x31\x30\60\x70\170\x3b\x62\141\x63\153\147\162\x6f\x75\x6e\x64\x3a\x20\43\60\x30\x39\x31\103\104\40\x6e\x6f\156\145\40\x72\145\x70\x65\141\164\x20\x73\143\x72\157\x6c\x6c\40\x30\x25\40\60\x25\73\143\x75\162\163\x6f\162\x3a\40\160\157\151\x6e\164\x65\162\73\x66\157\x6e\164\x2d\163\151\x7a\x65\x3a\x31\65\160\x78\x3b\142\157\x72\144\145\x72\x2d\x77\151\144\164\150\x3a\x20\61\160\x78\73\x62\x6f\162\144\x65\x72\55\x73\164\x79\x6c\x65\x3a\40\x73\157\154\151\144\73\x62\157\162\144\x65\162\55\x72\141\x64\151\x75\x73\x3a\x20\63\160\x78\x3b\167\x68\151\164\145\55\x73\x70\x61\143\145\72\40\x6e\157\167\x72\141\160\73\142\x6f\x78\x2d\163\x69\172\x69\156\x67\x3a\40\x62\x6f\162\144\145\162\55\x62\x6f\x78\73\142\157\x72\x64\x65\x72\55\143\x6f\154\157\x72\72\x20\43\x30\x30\x37\63\x41\101\x3b\142\157\x78\x2d\x73\150\141\x64\x6f\x77\72\x20\x30\x70\170\x20\x31\x70\170\x20\x30\160\x78\x20\x72\147\x62\141\50\x31\62\60\x2c\40\62\x30\x30\54\x20\x32\63\60\54\40\60\x2e\66\x29\40\x69\x6e\x73\x65\x74\73\x63\157\154\157\162\72\x20\43\x46\106\x46\73\42\x74\x79\x70\x65\75\x22\x73\x75\142\x6d\x69\164\x22\x20\166\x61\x6c\165\145\x3d\x22\104\x6f\156\145\x22\x20\x22\x3e\xd\xa\x20\x20\x20\40\x20\x20\x20\40\40\40\x20\40\40\x20\x20\40\40\40\x20\x20\x20\x20\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\x20\40\40\74\x2f\x66\157\x72\x6d\76\xd\xa\40\x20\40\x20\40\x20\40\x20\40\40\40\40\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\40\40\40\40\x20\74\57\x64\151\x76\x3e";
die;
}
public static function isCurlInstalled()
{
if (in_array("\x63\x75\162\x6c", get_loaded_extensions())) {
goto Fu;
}
return 0;
goto c7;
Fu:
return 1;
c7:
}
public static function getOAuthBaseURL($base_url)
{
if (!empty(variable_get("\155\x69\156\151\x6f\x72\141\x6e\x67\x65\x5f\157\x61\165\164\150\x5f\143\x6c\151\145\x6e\x74\137\x62\141\x73\x65\x5f\x75\x72\x6c"))) {
goto To;
}
$wz = $base_url;
goto HZ;
To:
$wz = variable_get("\x6d\x69\156\x69\x6f\x72\x61\156\x67\x65\x5f\157\x61\x75\x74\150\137\143\x6c\x69\x65\156\x74\137\x62\141\163\x65\137\x75\x72\x6c");
HZ:
return $wz;
}
public static function getTabNames()
{
$jc = array("\117\101\x75\164\150\40\x43\154\151\145\x6e\x74\x20\103\x6f\156\146\151\147\165\x72\141\164\151\157\x6e" => "\155\157\137\x6f\x70\164\151\x6f\156\163\137\x65\156\165\155\x5f\x63\x6f\x6e\146\151\x67\137\x6f\x61\x75\x74\x68", "\x41\164\164\162\151\x62\x75\x74\x65\40\x4d\141\x70\x70\x69\x6e\147" => "\x6d\157\x5f\157\160\164\151\x6f\x6e\163\137\x65\x6e\165\x6d\137\x6d\141\x70\x70\151\x6e\x67", "\123\151\147\156\x20\x49\x6e\x20\123\x65\x74\x74\x69\156\147\163" => "\155\157\137\157\x70\x74\x69\157\156\163\x5f\145\156\x75\x6d\x5f\x73\x69\x67\x6e\151\156\137\x73\145\x74\164\x69\x6e\147\163");
return $jc;
}
public static function getVariableNames($N7)
{
if ($N7 == "\155\157\x5f\x6f\x70\x74\151\x6f\x6e\x73\x5f\x65\x6e\165\155\x5f\x63\x6f\x6e\146\x69\147\x5f\157\141\165\x74\x68") {
goto h8;
}
if ($N7 == "\x6d\x6f\x5f\157\160\164\151\x6f\x6e\163\x5f\x65\x6e\165\155\x5f\155\x61\x70\160\151\156\147") {
goto Ca;
}
if (!($N7 == "\x6d\x6f\x5f\x6f\x70\164\151\x6f\x6e\163\137\x65\x6e\165\155\137\163\151\x67\156\x69\156\x5f\163\145\x74\164\x69\156\x67\163")) {
goto G3;
}
$DV = array("\102\x61\x73\x65\x5f\125\x52\114\137\166\141\154\x75\145" => "\155\x69\x6e\x69\157\x72\141\156\x67\x65\137\157\141\x75\164\x68\137\143\154\151\145\x6e\164\137\x62\141\x73\145\137\165\x72\x6c", "\x4c\x6f\147\151\156\x5f\162\145\x64\151\x72\x65\143\164\x5f\125\x52\x4c" => "\155\151\x6e\x69\x6f\162\x61\x6e\x67\x65\137\x6f\141\x75\164\150\137\143\154\151\x65\x6e\164\137\x64\x65\x66\141\165\154\x74\137\x72\x65\154\x61\x79\x73\x74\141\x74\145", "\x4c\x6f\x67\x6f\165\x74\x5f\162\145\144\x69\162\x65\143\164\137\125\x52\114" => "\x6d\151\x6e\x69\157\162\141\156\147\145\137\157\141\165\164\150\137\143\x6c\x69\x65\x6e\x74\137\154\157\x67\157\165\164\x5f\x75\x72\154", "\x50\162\157\164\145\143\164\137\x77\x65\x62\163\x69\164\x65" => "\x6d\151\x6e\151\x6f\x72\x61\x6e\x67\x65\x5f\x6f\x61\x75\164\x68\x5f\143\x6c\151\145\156\164\137\x66\157\x72\143\x65\x5f\141\165\x74\x68", "\101\x75\164\157\x5f\162\145\x64\x69\x72\x65\143\164\137\x74\x6f\x5f\160\162\x6f\166\151\x64\145\x72" => "\x6d\151\156\x69\x6f\x72\x61\156\x67\145\137\157\x61\165\x74\x68\x5f\x63\154\151\x65\x6e\x74\x5f\x61\x75\164\x6f\x5f\x72\x65\144\151\162\x65\143\x74\137\x74\157\137\x69\144\x70", "\x45\x6e\141\142\154\145\x5f\142\141\143\153\144\157\x6f\x72" => "\155\x69\x6e\x69\x6f\162\x61\x6e\x67\x65\x5f\x6f\141\165\x74\150\137\143\154\x69\x65\156\x74\137\x65\x6e\141\x62\x6c\145\137\x62\141\x63\x6b\144\x6f\157\162", "\105\x6e\x61\142\x6c\145\137\x64\x6f\x6d\141\151\156\137\x72\x65\163\164\x72\151\143\164\x69\157\156" => "\x6d\x69\156\151\157\x72\x61\x6e\147\145\137\157\141\x75\164\x68\137\x65\x6e\141\x62\x6c\145\137\144\x6f\x6d\141\151\156\x5f\x72\x65\x73\x74\162\x69\x63\x74\151\x6f\x6e", "\x44\x6f\x6d\141\151\x6e\x5f\162\145\x73\x74\162\151\143\164\x69\x6f\156\137\142\x6c\141\x63\x6b\137\x6f\162\137\167\150\x69\164\145" => "\155\151\x6e\x69\157\x72\141\x6e\x67\x65\137\157\141\x75\x74\x68\x5f\144\157\x6d\x61\151\x6e\x73\x5f\141\162\145\x5f\x77\x68\x69\164\145\x5f\x6f\x72\137\x62\x6c\x61\x63\x6b", "\x44\x6f\x6d\141\x69\156\x73" => "\155\x69\156\x69\x6f\162\141\x6e\147\145\x5f\x6f\x61\165\x74\x68\137\x64\157\x6d\141\151\x6e\163");
G3:
goto ec;
Ca:
$DV = array("\105\x6d\141\151\154\137\141\x74\164\162\x69\x62\165\x74\x65\x5f\166\x61\x6c\x75\x65" => "\x6d\x69\x6e\x69\157\x72\x61\156\147\x65\137\157\x61\x75\164\x68\137\143\154\151\x65\x6e\x74\x5f\145\x6d\x61\x69\154\137\141\164\164\x72\137\x76\x61\154", "\x55\163\x65\x72\x6e\141\155\x65\x5f\141\x74\164\x72\x69\142\x75\164\145\137\166\x61\x6c\x75\145" => "\155\x69\156\151\157\162\141\x6e\x67\145\x5f\157\141\165\164\150\137\x63\x6c\x69\145\x6e\164\x5f\156\141\x6d\x65\x5f\141\164\x74\162\137\166\141\x6c", "\x43\165\x73\x74\157\155\137\x41\x74\164\x72\151\142\x75\x74\145\137\155\141\x70\160\x69\x6e\x67" => "\x6d\x69\156\x69\157\x72\x61\x6e\147\145\137\x6f\141\165\x74\150\137\165\x73\145\x72\x5f\x61\x74\x74\162\151\x62\165\x74\145\x73", "\x45\x6e\x61\142\154\145\x5f\122\x6f\154\145\137\155\141\160\160\151\x6e\x67" => "\x6d\151\x6e\x69\157\x72\x61\x6e\147\x65\x5f\x6f\141\x75\164\150\137\x63\x6c\151\145\x6e\x74\x5f\x65\x6e\x61\x62\x6c\145\x5f\162\157\x6c\x65\x5f\x6d\141\160\160\x69\x6e\x67", "\104\x69\x73\x61\142\x6c\x65\x5f\x41\x75\164\157\x5f\x43\x72\145\141\164\145\x5f\x55\163\145\162\x73" => "\155\x69\156\x69\x6f\x72\141\x6e\x67\x65\x5f\157\141\165\x74\x68\x5f\144\151\163\141\142\154\145\x5f\141\x75\x74\x6f\x63\162\145\x61\x74\145\x5f\x75\163\x65\162\x73", "\104\145\146\141\165\x6c\x74\137\147\x72\157\165\x70\137\146\157\162\137\x6e\145\167\x5f\x75\163\145\162\163" => "\155\151\x6e\x69\x6f\x72\x61\x6e\147\x65\137\157\x61\165\x74\150\x5f\144\x65\x66\x61\x75\154\x74\137\162\x6f\154\145", "\104\157\x5f\x6e\157\164\137\165\160\x64\x61\x74\145\137\165\x73\145\162\137\x72\157\x6c\x65\x73" => "\x6d\151\156\151\157\162\141\x6e\147\145\x5f\x6f\141\165\164\x68\x5f\144\x69\163\x61\142\x6c\x65\x5f\162\157\x6c\154\137\x75\x70\x64\x61\x74\145", "\x52\x6f\154\145\x5f\x61\164\x74\162\151\142\x75\164\x65\x5f\156\x61\x6d\x65" => "\155\x69\156\x69\157\x72\141\x6e\x67\145\137\157\141\x75\164\x68\137\x72\x6f\154\145\137\141\164\164\162\137\x6e\141\x6d\145", "\x43\165\x73\164\157\x6d\x5f\162\x6f\x6c\x65\137\x6d\141\160\x70\151\x6e\147" => "\162\157\x6c\145\155\141\x70");
ec:
goto Pe;
h8:
$DV = array("\x41\160\x70\137\x73\x65\154\x65\143\x74\145\x64" => "\x6d\x69\156\x69\x6f\162\141\x6e\x67\x65\x5f\x6f\141\165\164\x68\137\143\x6c\x69\x65\x6e\164\137\x61\160\160", "\x41\x70\x70\137\x6e\x61\155\x65" => "\155\151\156\x69\157\162\x61\156\x67\x65\x5f\141\x75\x74\x68\137\143\x6c\x69\145\x6e\164\137\141\160\160\x5f\x6e\141\155\145", "\x44\x69\163\160\x6c\x61\171\137\x6c\x69\156\x6b" => "\155\x69\x6e\151\157\x72\141\156\x67\145\137\x61\x75\164\x68\x5f\x63\154\151\145\156\x74\x5f\144\151\163\x70\154\x61\x79\x5f\x6e\141\155\145", "\x43\x6c\x69\145\x6e\164\x5f\111\x44" => "\155\151\156\x69\157\162\141\156\x67\x65\x5f\141\x75\x74\x68\137\x63\154\151\x65\156\x74\137\143\x6c\x69\145\x6e\x74\x5f\151\x64", "\103\x6c\x69\x65\x6e\x74\137\x73\x65\143\x72\x65\164" => "\155\151\156\x69\x6f\x72\x61\x6e\x67\145\137\x61\x75\x74\x68\137\x63\154\151\145\156\x74\x5f\143\154\x69\x65\x6e\164\x5f\163\145\x63\x72\x65\x74", "\103\154\x69\x65\x6e\164\x5f\x73\143\157\x70\145" => "\x6d\x69\x6e\151\157\162\x61\x6e\x67\145\137\x61\165\x74\150\x5f\143\154\151\145\x6e\x74\x5f\163\x63\157\160\x65", "\101\165\x74\x68\x6f\162\151\x7a\145\x64\x5f\145\x6e\144\x70\x6f\151\156\x74" => "\x6d\x69\x6e\x69\x6f\162\x61\156\147\x65\137\141\x75\x74\x68\137\143\154\151\x65\x6e\164\x5f\x61\165\164\x68\x6f\x72\x69\172\145\137\x65\156\144\160\x6f\151\156\164", "\101\143\143\x65\x73\x73\x5f\164\x6f\153\145\156\137\x65\156\x64\160\x6f\151\156\164" => "\x6d\151\x6e\151\157\162\x61\156\x67\145\137\141\x75\164\x68\x5f\143\x6c\151\145\x6e\x74\137\141\x63\x63\x65\x73\163\x5f\164\x6f\153\145\156\137\x65\160", "\x55\x73\x65\x72\x69\x6e\x66\x6f\x5f\x65\156\144\160\x6f\151\156\164" => "\155\x69\156\151\157\x72\x61\156\147\x65\x5f\x61\x75\164\150\x5f\x63\x6c\151\145\x6e\164\x5f\x75\163\x65\x72\137\x69\156\146\x6f\x5f\x65\x70", "\103\x61\154\x6c\x62\141\x63\x6b\137\x75\162\x6c" => "\x6d\x69\x6e\151\x6f\x72\141\x6e\x67\145\137\x6f\141\165\x74\150\x5f\x63\141\154\x6c\142\x61\x63\153", "\x63\x72\x65\144\x65\x6e\164\x69\141\x6c\163\x5f\x76\x69\141\x5f\x68\145\x61\144\145\162" => "\155\x69\x6e\151\157\162\x61\x6e\147\x65\x5f\x6f\141\165\x74\x68\x5f\x73\145\x6e\x64\x5f\167\151\164\150\x5f\150\145\141\144\x65\162\x5f\157\x61\x75\164\150", "\143\162\x65\x64\145\156\164\151\141\154\163\x5f\x76\x69\x61\x5f\x62\x6f\x64\171" => "\x6d\x69\156\x69\x6f\x72\x61\x6e\147\145\137\157\141\x75\164\x68\x5f\x73\x65\x6e\144\x5f\167\151\x74\x68\137\x62\157\x64\171\137\157\x61\x75\164\x68", "\x45\x6e\x61\x62\154\145\x5f\x6c\157\147\x69\x6e\137\x77\x69\164\x68\137\x6f\x61\165\x74\150" => "\155\151\156\x69\157\162\x61\x6e\x67\x65\x5f\157\x61\165\164\150\137\145\x6e\x61\142\x6c\x65\137\154\157\147\x69\156\137\167\x69\164\x68\137\x6f\141\165\x74\150");
Pe:
return $DV;
}
}
function miniorange_oauth_client_save_config($form, &$form_state)
{
global $base_url;
$wz = variable_get("\x6d\151\x6e\151\x6f\162\x61\156\x67\x65\x5f\x6f\x61\x75\164\150\x5f\x63\x6c\x69\x65\156\164\137\142\141\x73\145\x5f\165\162\x6c");
$wz = empty($wz) ? $base_url : $wz;
if (!(isset($_GET) && ($_GET["\141\143\164\x69\x6f\x6e"] = "\x75\x70\x64\141\x74\x65"))) {
goto Em;
}
$_GET["\141\143\164\x69\x6f\156"] = NULL;
Em:
if (!isset($form["\155\151\156\151\x6f\162\x61\x6e\147\145\137\x6f\x61\x75\x74\x68\137\x63\154\151\x65\x6e\x74\x5f\x61\160\160"])) {
goto Gq;
}
$EI = $form["\x6d\151\156\x69\157\162\141\x6e\x67\145\x5f\157\141\165\x74\150\137\x63\x6c\x69\145\156\x74\137\x61\x70\160"]["\x23\x76\141\154\165\145"];
Gq:
if (!empty($EI)) {
goto Ll;
}
$EI = variable_get("\x6d\151\x6e\151\x6f\x72\141\x6e\x67\x65\137\x6f\x61\165\164\150\137\143\x6c\151\x65\156\164\x5f\141\160\x70", '');
Ll:
if (!isset($form["\x6d\151\x6e\151\x6f\162\141\156\x67\x65\x5f\157\x61\165\x74\x68\x5f\141\x70\x70\x5f\156\141\x6d\145"]["\x23\x76\x61\154\165\145"])) {
goto GF;
}
$L8 = $form["\x6d\151\x6e\151\x6f\162\x61\x6e\147\145\137\157\x61\x75\164\150\x5f\141\x70\x70\137\156\x61\155\x65"]["\43\166\x61\154\165\x65"];
GF:
if (!empty($L8)) {
goto vY;
}
$L8 = variable_get("\x6d\151\156\x69\157\x72\141\x6e\x67\145\x5f\141\165\164\150\137\143\154\151\145\156\164\137\141\160\x70\x5f\156\x61\x6d\145", '');
vY:
if (!isset($form["\155\x69\x6e\151\x6f\x72\x61\156\x67\x65\137\157\141\x75\164\x68\137\x63\x6c\151\x65\x6e\164\137\x64\151\163\x70\x6c\141\x79\137\x6e\141\155\145"]["\x23\x76\141\154\165\145"])) {
goto gf;
}
$wp = $form["\x6d\151\x6e\151\157\162\x61\x6e\x67\145\137\157\x61\165\x74\150\x5f\143\x6c\x69\x65\156\x74\x5f\x64\151\163\x70\x6c\x61\171\x5f\x6e\x61\x6d\145"]["\43\x76\x61\154\165\x65"];
gf:
if (!empty($wp)) {
goto ru;
}
$wp = variable_get("\155\151\x6e\151\x6f\162\x61\x6e\147\x65\137\x6f\x61\165\x74\150\x5f\143\154\x69\x65\x6e\x74\x5f\x64\x69\163\160\x6c\x61\171\x5f\x6e\x61\155\145", '');
ru:
if (!isset($form["\155\151\x6e\151\157\x72\x61\x6e\x67\145\137\x6f\141\x75\x74\150\x5f\x63\141\x6c\x6c\x62\141\143\153"]["\x23\166\x61\154\x75\x65"])) {
goto V7;
}
$x7 = $form["\155\x69\x6e\151\x6f\x72\141\x6e\x67\145\137\157\141\165\x74\150\137\x63\141\x6c\x6c\x62\141\143\x6b"]["\x23\x76\141\x6c\165\145"];
V7:
if (!isset($form["\x6d\151\156\151\x6f\x72\x61\156\147\145\x5f\157\141\165\x74\x68\137\143\x6c\151\145\x6e\x74\x5f\151\x64"])) {
goto LA;
}
$TV = $form["\155\x69\156\x69\x6f\x72\141\x6e\147\145\x5f\157\x61\x75\x74\x68\x5f\x63\x6c\151\x65\156\164\x5f\x69\144"]["\43\x76\141\154\165\x65"];
LA:
if (!empty($TV)) {
goto xW;
}
$TV = variable_get("\155\151\x6e\151\157\x72\x61\156\x67\145\137\x61\x75\164\x68\137\143\154\x69\x65\x6e\164\137\x63\x6c\151\145\156\x74\x5f\x69\144", '');
xW:
if (!isset($form["\155\151\x6e\x69\x6f\162\141\x6e\x67\x65\137\x6f\141\x75\x74\x68\x5f\143\154\x69\145\x6e\x74\x5f\x73\145\143\x72\145\x74"]["\43\166\141\154\x75\145"])) {
goto ox;
}
$hp = $form["\x6d\151\156\151\157\x72\141\x6e\147\x65\x5f\157\141\165\x74\x68\137\x63\154\x69\145\156\164\x5f\163\145\x63\162\x65\164"]["\43\166\x61\x6c\x75\x65"];
ox:
if (!empty($hp)) {
goto vB;
}
$hp = variable_get("\x6d\x69\x6e\151\x6f\x72\x61\x6e\147\x65\137\141\x75\x74\150\137\x63\x6c\x69\145\x6e\x74\x5f\x63\154\x69\145\x6e\164\137\163\145\143\162\145\164", '');
vB:
if (!isset($form["\155\151\x6e\151\157\x72\x61\156\147\x65\137\157\141\x75\x74\x68\x5f\143\154\151\x65\x6e\x74\137\163\143\157\160\x65"]["\43\166\x61\x6c\x75\145"])) {
goto uW;
}
$nX = $form["\155\151\x6e\x69\x6f\x72\x61\x6e\x67\145\x5f\x6f\141\165\164\x68\x5f\143\154\x69\145\x6e\x74\137\163\143\x6f\x70\145"]["\x23\x76\141\154\x75\x65"];
uW:
if (!empty($nX)) {
goto Fy;
}
$nX = variable_get("\x6d\x69\156\151\x6f\162\x61\x6e\147\145\137\141\x75\x74\x68\137\x63\154\x69\145\x6e\x74\x5f\x73\143\157\x70\145", '');
Fy:
if (!isset($form["\155\151\156\151\x6f\162\141\156\147\x65\137\x6f\141\x75\164\150\x5f\x63\x6c\151\145\156\164\x5f\141\x75\x74\x68\157\162\151\172\145\x5f\145\x6e\x64\160\157\151\x6e\164"]["\x23\x76\141\x6c\165\145"])) {
goto zU;
}
$JI = $form["\x6d\151\156\x69\157\162\x61\156\147\x65\x5f\x6f\x61\165\x74\x68\x5f\x63\x6c\151\145\156\164\x5f\141\x75\x74\150\157\x72\151\x7a\x65\x5f\145\156\x64\x70\x6f\x69\x6e\x74"]["\x23\166\141\154\165\x65"];
zU:
if (!empty($JI)) {
goto eV;
}
$JI = variable_get("\155\x69\156\x69\157\162\141\156\147\x65\137\141\165\164\150\x5f\x63\x6c\151\145\156\x74\137\x61\165\164\x68\157\162\151\172\x65\x5f\145\x6e\x64\x70\157\x69\x6e\164", '');
eV:
if (!isset($form["\155\151\x6e\151\157\x72\141\156\x67\145\137\157\x61\165\x74\150\137\x63\154\x69\x65\x6e\164\137\x61\x63\143\145\x73\163\137\x74\x6f\x6b\x65\x6e\x5f\145\x6e\144\x70\157\151\156\164"]["\43\x76\x61\154\165\x65"])) {
goto D_;
}
$Ir = $form["\155\x69\x6e\151\x6f\162\141\156\147\145\x5f\157\141\x75\x74\x68\137\143\x6c\x69\145\x6e\x74\x5f\141\143\143\145\163\163\137\x74\157\x6b\145\x6e\137\x65\x6e\x64\160\157\151\x6e\164"]["\x23\166\x61\154\x75\x65"];
D_:
if (!empty($Ir)) {
goto HV;
}
$Ir = variable_get("\155\151\156\x69\x6f\x72\141\156\x67\145\137\141\165\164\x68\x5f\x63\x6c\151\x65\x6e\x74\137\x61\x63\143\145\x73\163\x5f\x74\x6f\x6b\145\156\137\145\160", '');
HV:
if (!isset($form["\x6d\151\156\151\157\162\x61\156\x67\145\x5f\x6f\x61\165\x74\150\x5f\x63\x6c\x69\x65\156\164\137\x75\163\x65\x72\x69\156\x66\157\137\145\x6e\144\160\157\x69\x6e\164"]["\x23\x76\x61\154\x75\145"])) {
goto Eu;
}
$L_ = $form["\155\151\x6e\151\157\x72\x61\156\147\145\137\157\x61\x75\x74\150\137\143\154\x69\145\156\164\137\165\163\145\x72\x69\156\x66\157\x5f\x65\x6e\144\160\x6f\151\156\x74"]["\x23\166\141\x6c\x75\x65"];
Eu:
if (!empty($L_)) {
goto M3;
}
$L_ = variable_get("\x6d\151\156\x69\x6f\162\x61\x6e\x67\x65\x5f\x61\165\164\x68\x5f\143\154\x69\x65\156\164\x5f\x75\163\x65\x72\x5f\151\156\x66\157\x5f\x65\x70", '');
M3:
if (!isset($form["\x6d\x69\x6e\151\157\162\141\156\147\145\137\x6f\141\x75\x74\150\137\x63\x6c\151\x65\156\x74\x5f\x6a\x6b\x77\x73\137\x75\x72\151"]["\x23\x76\141\154\165\x65"])) {
goto Fi;
}
$vb = $form["\x6d\x69\x6e\x69\157\162\141\156\147\145\x5f\157\x61\x75\x74\150\x5f\143\x6c\x69\x65\156\164\x5f\x6a\x6b\x77\x73\137\165\x72\151"]["\43\166\x61\x6c\x75\145"];
Fi:
if (!empty($vb)) {
goto wL;
}
$vb = variable_get("\x6d\151\156\151\157\x72\x61\x6e\147\145\x5f\141\165\x74\150\137\143\154\x69\145\156\164\x5f\152\x6b\167\x73\x5f\x75\162\x69", '');
wL:
$RX = variable_get("\x6d\x69\156\x69\x6f\162\141\x6e\x67\145\x5f\157\141\165\x74\x68\137\x63\x6c\151\145\156\164\137\x61\160\x70\166\141\x6c");
if (is_array($RX)) {
goto WK;
}
$RX = array();
WK:
$RX["\143\x6c\x69\145\x6e\x74\x5f\151\x64"] = $TV;
$RX["\143\x6c\151\x65\x6e\164\x5f\x73\x65\x63\x72\x65\x74"] = $hp;
$RX["\141\160\x70\137\x6e\x61\155\x65"] = $L8;
$RX["\144\x69\163\160\154\141\x79\137\x6e\x61\155\145"] = $wp;
$RX["\163\143\157\x70\x65"] = $nX;
$RX["\141\165\x74\x68\x6f\x72\151\172\145\x5f\145\x6e\x64\160\x6f\x69\156\x74"] = $JI;
$RX["\x61\143\x63\145\163\x73\x5f\x74\157\x6b\x65\156\137\x65\x70"] = $Ir;
$RX["\152\x6b\167\x73\137\165\x72\151"] = $vb;
$RX["\x75\x73\x65\x72\137\x69\x6e\x66\157\137\145\x70"] = $L_;
$RX["\143\141\154\x6c\142\x61\x63\153\x5f\x75\162\x69"] = $x7;
$RX["\143\154\151\145\x6e\x74\137\x61\160\x70"] = $EI;
$QP = isset($form["\x6d\151\156\151\157\162\141\156\x67\145\x5f\157\141\x75\164\150\137\163\x65\156\144\137\x77\151\x74\150\x5f\x68\145\141\x64\145\x72\137\x6f\141\x75\x74\x68"]["\x23\x76\141\x6c\x75\145"]) ? $form["\x6d\x69\156\151\157\x72\141\156\147\x65\137\x6f\x61\165\x74\x68\x5f\x73\x65\156\144\137\167\151\164\150\x5f\150\145\141\144\x65\x72\137\157\141\x75\x74\x68"]["\x23\x76\x61\x6c\x75\x65"] : 1;
$n9 = isset($form["\155\151\156\151\157\162\x61\156\x67\x65\x5f\157\141\x75\x74\x68\x5f\163\x65\156\144\137\167\151\164\150\x5f\x62\x6f\x64\171\x5f\x6f\141\165\164\150"]["\x23\166\141\x6c\x75\145"]) ? $form["\x6d\x69\x6e\x69\157\162\x61\156\x67\x65\137\157\x61\165\x74\150\x5f\x73\x65\156\x64\137\167\151\x74\150\x5f\x62\x6f\144\171\137\157\x61\165\x74\x68"]["\43\166\x61\154\165\145"] : 1;
$kZ = $QP == 1 ? TRUE : FALSE;
$dp = $n9 == 1 ? TRUE : FALSE;
$MF = isset($form["\x6d\x69\156\x69\x6f\162\141\156\x67\145\137\x6f\x61\x75\164\150\x5f\145\156\141\142\x6c\145\x5f\x6c\x6f\147\151\x6e\137\x77\x69\164\x68\x5f\x6f\141\x75\164\150"]["\x23\166\x61\x6c\x75\145"]) ? $form["\155\x69\156\x69\157\162\141\156\x67\x65\137\157\x61\x75\164\150\x5f\x65\156\141\142\154\145\137\x6c\x6f\147\x69\156\x5f\167\151\164\x68\137\x6f\141\165\164\x68"]["\43\166\141\x6c\x75\x65"] : 1;
variable_set("\x6d\151\x6e\x69\x6f\x72\x61\156\x67\x65\137\157\x61\165\x74\x68\x5f\145\x6e\x61\142\154\x65\137\154\x6f\x67\x69\156\x5f\x77\151\164\150\x5f\x6f\x61\x75\164\x68", $MF);
variable_set("\155\151\156\151\x6f\x72\141\156\147\145\137\x6f\x61\165\x74\150\x5f\x63\x6c\151\x65\156\x74\x5f\141\160\x70", $EI);
variable_set("\155\x69\x6e\151\x6f\x72\x61\156\147\145\137\157\x61\x75\164\150\137\143\x6c\151\145\156\x74\137\x61\160\x70\166\141\154", $RX);
variable_set("\155\x69\156\151\157\x72\141\x6e\x67\145\137\141\165\x74\x68\x5f\x63\x6c\x69\x65\x6e\164\x5f\x61\x70\160\137\156\x61\155\x65", $L8);
variable_set("\155\x69\x6e\151\157\x72\x61\x6e\147\145\x5f\x61\165\x74\150\x5f\143\x6c\x69\145\x6e\164\137\144\151\x73\x70\154\x61\171\x5f\x6e\141\155\x65", $wp);
variable_set("\155\x69\x6e\151\157\162\141\x6e\x67\x65\x5f\141\x75\x74\x68\137\143\154\x69\x65\156\x74\x5f\143\154\151\145\x6e\164\137\151\x64", $TV);
variable_set("\155\151\x6e\x69\x6f\x72\x61\156\x67\145\x5f\141\165\164\150\x5f\143\154\151\x65\156\x74\137\x63\154\151\x65\156\164\137\x73\x65\x63\x72\x65\164", $hp);
variable_set("\x6d\x69\156\151\157\x72\141\x6e\x67\x65\x5f\x61\165\164\x68\137\x63\x6c\151\145\x6e\x74\137\x73\x63\157\x70\145", $nX);
variable_set("\155\151\x6e\151\157\162\141\156\x67\145\137\141\165\x74\150\x5f\x63\x6c\x69\x65\x6e\x74\137\141\165\164\150\157\x72\151\172\x65\x5f\x65\x6e\144\160\157\x69\156\164", $JI);
variable_set("\x6d\x69\156\151\157\162\x61\156\147\145\x5f\141\x75\x74\x68\137\x63\154\151\145\x6e\164\137\141\143\143\145\163\x73\x5f\164\x6f\153\x65\156\x5f\145\x70", $Ir);
variable_set("\x6d\x69\156\151\x6f\x72\x61\x6e\147\x65\x5f\157\141\x75\164\x68\x5f\143\154\151\x65\156\164\137\152\153\167\x73\x5f\x75\162\x69", $vb);
variable_set("\155\x69\156\151\157\x72\x61\x6e\147\145\137\x61\x75\x74\x68\137\143\x6c\151\145\x6e\164\x5f\165\163\x65\162\137\151\x6e\146\157\137\145\x70", $L_);
variable_set("\x6d\151\x6e\x69\x6f\x72\141\x6e\147\x65\137\x6f\141\165\x74\150\x5f\x63\141\154\154\142\141\x63\x6b", $x7);
variable_set("\x6d\151\x6e\151\x6f\162\x61\x6e\147\145\137\x6f\x61\165\x74\x68\x5f\x73\x65\156\x64\x5f\x77\x69\x74\150\x5f\x68\x65\141\x64\145\162\137\157\x61\x75\164\150", $kZ);
variable_set("\x6d\151\156\151\157\x72\141\156\x67\145\x5f\157\141\165\164\x68\137\163\145\156\144\x5f\x77\x69\x74\x68\x5f\x62\x6f\x64\171\137\x6f\141\165\164\150", $dp);
drupal_set_message(t("\103\x6f\156\146\x69\147\x75\162\x61\164\151\x6f\x6e\x73\x20\163\141\166\x65\x64\x20\x73\x75\143\143\145\163\x73\x66\x75\x6c\154\x79\x2e"));
}
function verifyLicense($dv)
{
$qF = MiniorangeOAuthConstants::BASE_URL . "\x2f\155\x6f\x61\163\x2f\x61\160\151\57\x62\141\x63\153\x75\160\x63\x6f\144\x65\57\x76\x65\162\x69\146\171";
$pk = curl_init($qF);
$gQ = variable_get("\x6d\x69\156\151\157\x72\x61\156\147\x65\x5f\x6f\x61\x75\x74\x68\x5f\x63\154\x69\x65\x6e\164\137\x63\x75\163\164\x6f\155\145\162\137\x69\144");
$B2 = variable_get("\x6d\151\156\x69\157\x72\x61\x6e\x67\x65\x5f\x6f\141\165\164\x68\x5f\x63\154\x69\145\x6e\164\x5f\143\165\163\x74\x6f\155\145\x72\137\141\160\x69\x5f\153\145\x79");
global $base_url;
$Sa = get_timestamp();
$do = $gQ . $Sa . $B2;
$Un = hash("\163\150\x61\x35\x31\x32", $do);
$Mw = "\x43\165\163\x74\157\x6d\x65\x72\x2d\113\145\171\x3a\x20" . $gQ;
$wx = "\124\x69\155\x65\163\164\x61\x6d\160\72\x20" . $Sa;
$G_ = "\x41\x75\x74\150\157\162\151\172\x61\x74\151\x6f\156\x3a\x20" . $Un;
$d9 = '';
$d9 = array("\143\x6f\x64\145" => $dv, "\143\x75\x73\x74\157\x6d\145\162\113\145\171" => $gQ, "\141\x64\144\x69\164\151\x6f\156\141\154\x46\151\x65\x6c\x64\163" => array("\x66\151\145\x6c\144\x31" => $base_url));
$nG = json_encode($d9);
curl_setopt($pk, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($pk, CURLOPT_ENCODING, '');
curl_setopt($pk, CURLOPT_RETURNTRANSFER, true);
curl_setopt($pk, CURLOPT_AUTOREFERER, true);
curl_setopt($pk, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($pk, CURLOPT_MAXREDIRS, 10);
curl_setopt($pk, CURLOPT_HTTPHEADER, array("\x43\x6f\156\164\145\x6e\x74\55\x54\171\x70\x65\72\x20\x61\160\x70\154\x69\x63\141\x74\151\157\156\x2f\152\x73\x6f\x6e", $Mw, $wx, $G_));
curl_setopt($pk, CURLOPT_POST, true);
curl_setopt($pk, CURLOPT_POSTFIELDS, $nG);
curl_setopt($pk, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($pk, CURLOPT_TIMEOUT, 20);
$pb = curl_exec($pk);
if (!curl_errno($pk)) {
goto vI;
}
echo "\122\145\x71\x75\x65\163\164\x20\x45\x72\x72\157\162\x3a" . curl_error($pk);
die;
vI:
curl_close($pk);
return $pb;
}
function get_timestamp()
{
$qF = MiniorangeOAuthConstants::BASE_URL . "\x2f\x6d\x6f\141\163\57\162\x65\x73\x74\57\155\x6f\142\x69\154\x65\x2f\x67\x65\164\55\164\151\155\145\163\164\141\x6d\x70";
$pk = curl_init($qF);
curl_setopt($pk, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($pk, CURLOPT_ENCODING, '');
curl_setopt($pk, CURLOPT_RETURNTRANSFER, true);
curl_setopt($pk, CURLOPT_AUTOREFERER, true);
curl_setopt($pk, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($pk, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($pk, CURLOPT_MAXREDIRS, 10);
curl_setopt($pk, CURLOPT_POST, true);
$pb = curl_exec($pk);
if (!curl_errno($pk)) {
goto wm;
}
echo "\105\162\x72\157\x72\40\x69\156\x20\163\x65\x6e\144\x69\156\147\x20\x63\x75\x72\x6c\x20\122\x65\x71\x75\145\x73\x74";
die;
wm:
curl_close($pk);
return $pb;
}
Function Calls
None |
Stats
MD5 | d8a519b820797c50322b8b2a9be1ef24 |
Eval Count | 0 |
Decode Time | 108 ms |