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 namespace MoSharePointObjectSync\Observer; use MoSharePointObjectSync\Wrappe..
Decoded Output download
<?php
namespace MoSharePointObjectSync\Observer;
use MoSharePointObjectSync\Wrappers\pluginConstants;
use MoSharePointObjectSync\Wrappers\wpWrapper;
use MoSharePointObjectSync\API\Azure;
use MoSharePointObjectSync\API\CustomerMOSPS;
use MoSharePointObjectSync\LicenseLibrary\Mo_License_Service;
use WP_REST_Request;
class adminObserver
{
private static $obj;
private static $isliveri;
public static function getObserver()
{
if (isset(self::$obj)) {
goto FB;
}
self::$obj = new adminObserver();
self::$isliveri = Mo_License_Service::is_customer_license_valid();
FB:
return self::$obj;
}
public function mo_sps_sync_file(WP_REST_Request $mi)
{
$DW = $mi->get_param("nonce");
if (wp_verify_nonce($DW, "wp_rest")) {
goto A2;
}
return new WP_Error("invalid_nonce", "Invalid nonce", array("status" => 403));
A2:
$lM = sanitize_text_field($mi->get_param("file_id"));
$LI = sanitize_text_field($mi->get_param("drive_id"));
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
if ("personal" === $cU["connector"]) {
goto KJ;
}
if (!($lM != '' || $LI != '')) {
goto TK;
}
$tt = $OT->mo_sps_get_file_preview($LI, $lM);
TK:
if (!empty($tt["status"])) {
goto RR;
}
return new WP_Error("file_error", "Error retrieving file preview.", array("status" => 400));
goto d4;
RR:
return array($tt["data"]["getUrl"] . "&nb=true");
d4:
goto MO;
KJ:
$cF = array("pdf" => array("csv", "doc", "docx", "odp", "ods", "odt", "pot", "potm", "potx", "pps", "ppsx", "ppsxm", "ppt", "pptm", "pptx", "rtf", "xls", "xlsx"), "html" => array("loop", "fluid", "wbtx"));
if (!($lM != '' || $LI != '')) {
goto PY;
}
$tt = $OT->mo_sps_get_file_download_url($lM, $LI);
PY:
if ($tt) {
goto q0;
}
return new WP_Error("file_error", "Error retrieving file.", array("status" => 400));
goto vQ;
q0:
$bi = $tt["name"];
$YZ = explode(".", $bi);
$YZ = $YZ[count($YZ) - 1];
if (in_array($YZ, $cF["pdf"])) {
goto gH;
}
if (in_array($YZ, $cF["html"])) {
goto mM;
}
goto xx;
gH:
$YZ = ".pdf";
goto xx;
mM:
$YZ = ".html";
xx:
if ($YZ == ".pdf" || $YZ == ".html") {
goto hg;
}
$I_ = $tt["download_url"];
$oc = wp_remote_get($I_);
goto g_;
hg:
$YZ = $YZ == ".pdf" ? "pdf" : "html";
$oc = $OT->mo_sps_preview_for_onedrive_files($lM, $LI, $YZ);
g_:
if (is_wp_error($oc)) {
goto YS;
}
$u0 = wp_remote_retrieve_body($oc);
return array("name" => $tt["name"], "content" => base64_encode($u0), "mime_type" => "application/pdf");
YS:
vQ:
MO:
}
public function mo_sps_get_file_url()
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$lM = !empty($_GET["file_id"]) ? $_GET["file_id"] : '';
$LI = !empty($_GET["drive_id"]) ? $_GET["drive_id"] : '';
if (!($lM != '' || $LI != '')) {
goto fm;
}
$tt = $OT->mo_sps_get_file_preview($LI, $lM);
fm:
if ($tt["status"]) {
goto SV;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error($Xd);
goto Cd;
SV:
$sO = $tt["data"]["getUrl"];
wp_send_json_success($sO);
Cd:
}
public function mo_sps_sync_specific_file()
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$lM = !empty($_GET["file_id"]) ? $_GET["file_id"] : '';
$LI = !empty($_GET["drive_id"]) ? $_GET["drive_id"] : '';
if (!($lM != '' || $LI != '')) {
goto ut;
}
$tt = $OT->mo_sps_get_file_preview($LI, $lM);
ut:
if (!empty($tt["status"]) && !empty($tt["data"]["getUrl"])) {
goto RF;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error($Xd);
goto Nz;
RF:
wp_send_json_success(json_encode($tt["data"]["getUrl"] . "&nb=true"));
Nz:
}
public function mo_sps_get_url_content()
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$lM = !empty($_GET["file_id"]) ? $_GET["file_id"] : '';
$LI = !empty($_GET["drive_id"]) ? $_GET["drive_id"] : '';
if (!($lM != '' || $LI != '')) {
goto pV;
}
$tt = $OT->mo_sps_get_download_content($LI, $lM);
pV:
if ($tt["status"]) {
goto K0;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wp_send_json_error($Xd);
goto W1;
K0:
$kO = preg_split("/\r\n|\r|\n/", $tt["data"]);
$xM = explode("=", $kO[1], 2);
$e7 = $xM[1];
echo "<script> window.location.href='" . $e7 . "'</script>";
return true;
W1:
}
public function mo_sps_admin_observer()
{
if (!isset($_REQUEST["mo_shp_code"])) {
goto uw;
}
$this->mo_sps_get_auth_code();
uw:
if (isset($_REQUEST["option"])) {
goto VO;
}
return;
VO:
switch ($_REQUEST["option"]) {
case "mo_sps_test_connection":
$this->mo_sps_test_app_connection();
goto bo;
case "sps_automatic_app_status":
$this->mo_sps_automatic_connection();
goto bo;
case "mo_sps_contact_us_query_option":
$this->mo_sps_contact_us_query();
goto bo;
}
KG:
bo:
}
private function mo_sps_contact_us_query()
{
$hu = $this->mo_sps_send_support_query();
if (is_null($hu)) {
goto PE;
}
if ($hu == false) {
goto Ik;
}
if ("Query submitted." === $hu) {
goto XL;
}
wpWrapper::mo_sps__show_error_notice(esc_html__($hu . " Your query could not be submitted. Please try again."));
goto Jj;
XL:
wpWrapper::mo_sps__show_success_notice(esc_html__("Thanks for getting in touch! We shall get back to you shortly."));
Jj:
goto BW;
Ik:
wpWrapper::mo_sps__show_error_notice(esc_html__("Your query could not be submitted. Please try again."));
BW:
PE:
}
private function mo_sps_send_support_query()
{
$Nr = sanitize_email($_POST["mo_sps_contact_us_email"]);
$JP = htmlspecialchars($_POST["mo_sps_contact_us_phone"]);
$MH = htmlspecialchars($_POST["mo_sps_contact_us_query"]);
$MH = "[Embed sharepoint onedrive documents plugin] " . $MH;
$hQ = new CustomerMOSPS();
$tt = $hQ->mo_sps_submit_contact_us($Nr, $JP, $MH);
return $tt;
}
private function mo_sps_test_app_connection()
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
wpWrapper::mo_sps_delete_option(pluginConstants::CURRENT_STATE);
wpWrapper::mo_sps_delete_option(pluginConstants::MOPKEWSFATT);
wpWrapper::mo_sps_delete_option(pluginConstants::SPS_RFTK);
$cU["type"] = !empty($_REQUEST["type"]) ? $_REQUEST["type"] : "manual";
wpWrapper::mo_sps_set_option(pluginConstants::APP_CONFIG, $cU);
if (self::$isliveri) {
goto qc;
}
$Xd = array("Error" => "WPSHP001", "Description" => "License Key is not Verified");
wpWrapper::mo_sps_delete_option("mo_sps_get_all_sites");
$this->mo_sps_display_error_message($Xd);
goto Di;
qc:
if ("auto" === $cU["type"]) {
goto BZ;
}
wpWrapper::mo_sps_delete_option(pluginConstants::SPS_RFTK);
$Pv = Azure::getClient($cU);
$Pv->mo_sps_send_access_token(true);
$tt = $Pv->mo_sps_get_all_sites();
if (!empty($tt["status"]) && !empty($tt["data"])) {
goto B8;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
wpWrapper::mo_sps_delete_option("mo_sps_get_all_sites");
$this->mo_sps_display_error_message($Xd);
goto ny;
B8:
if (!empty($cU["site_url"])) {
goto nP;
}
if (!empty($tt["data"]["value"])) {
goto qY;
}
goto rV;
nP:
wpWrapper::mo_sps_set_option("mo_sps_get_all_sites", array($tt["data"]));
$this->mo_sps_show_success_message_for_test_connection(array($tt["data"]));
goto rV;
qY:
wpWrapper::mo_sps_set_option("mo_sps_get_all_sites", $tt["data"]["value"]);
$this->mo_sps_show_success_message_for_test_connection($tt["data"]["value"]);
rV:
ny:
goto f8;
BZ:
if (!empty($cU["connector"]) && "personal" === $cU["connector"]) {
goto er;
}
$this->mo_sps_connect_to_sharepoint_and_onedrive();
goto cS;
er:
$this->mo_sps_connect_to_onedrive_personal();
cS:
f8:
Di:
}
private function mo_sps_automatic_connection()
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$cU = $OT->mo_sps_process_tokens_for_auto_connection();
$OT = Azure::getClient($cU);
switch ($cU["connector"]) {
case "personal":
$this->mo_sps_onedrive_personal_response($OT->mo_sps_get_personal_onedrives());
goto wt;
case "onedrive":
$this->mo_sps_process_response($OT->mo_sps_get_onedrives());
goto wt;
default:
$this->mo_sps_process_sharepoint_response($OT->mo_sps_get_all_sites());
goto wt;
}
v2:
wt:
}
private function mo_sps_process_sharepoint_response($tt)
{
if ($tt["status"]) {
goto Eh;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
$this->mo_sps_display_error_message($Xd);
goto FT;
Eh:
wpWrapper::mo_sps_set_option("mo_sps_get_all_sites", $tt["data"]["value"]);
$this->mo_sps_show_success_message_for_test_connection($tt["data"]["value"]);
FT:
}
private function mo_sps_process_response($tt)
{
if ($tt["status"]) {
goto cx;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
$this->mo_sps_display_error_message($Xd);
goto dT;
cx:
wpWrapper::mo_sps_set_option("mo_sps_get_all_drives", $tt["data"]["value"]);
$this->mo_sps_show_success_message_for_test_connection($tt["data"]["value"]);
dT:
}
private function mo_sps_onedrive_personal_response($tt)
{
if (!empty($tt["status"])) {
goto r_;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error_description"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
$this->mo_sps_display_error_message($Xd);
goto vB;
r_:
$RY = array("name" => "Personal Onedrive");
if (!empty($tt["data"]["value"])) {
goto Va;
}
$Xd = array("Error" => !empty($tt["data"]["error"]) ? $tt["data"]["error"] : "Unexpected error occured...!", "Description" => !empty($tt["data"]["error"]) ? $tt["data"]["error_description"] : "Please check your internet connection or try again after sometime.");
$this->mo_sps_display_error_message($Xd);
goto B6;
Va:
foreach ($tt["data"]["value"] as &$yj) {
$cN = array_search("id", array_keys($yj));
$yj = array_merge(array_slice($yj, 0, $cN + 1), $RY, array_slice($yj, $cN + 1));
tM:
}
T_:
wpWrapper::mo_sps_set_option("mo_sps_get_all_drives", $tt["data"]["value"]);
$this->mo_sps_show_success_message_for_test_connection($tt["data"]["value"]);
B6:
vB:
}
private function mo_sps_connect_to_sharepoint_and_onedrive()
{
$IY = "common";
$aX = PluginConstants::CID;
$Z8 = "offline_access sites.readwrite.all";
$LE = "https://login.microsoftonline.com/" . $IY . "/oauth2/v2.0/authorize?prompt=select_account";
$cX = add_query_arg(array("response_type" => "code", "client_id" => $aX, "scope" => $Z8, "redirect_uri" => pluginConstants::CONNECT_SERVER_URI, "state" => add_query_arg(array("conn" => "mo_shp_auto"), home_url())), $LE);
wp_redirect($cX);
exit;
}
private function mo_sps_connect_to_onedrive_personal()
{
$IY = "common";
$aX = PluginConstants::CID;
$Z8 = "openid offline_access onedrive.readwrite";
$LE = "https://login.live.com/oauth20_authorize.srf?prompt=select_account";
$cX = add_query_arg(array("response_type" => "code", "client_id" => $aX, "scope" => $Z8, "redirect_uri" => pluginConstants::CONNECT_SERVER_URI, "state" => add_query_arg(array("conn" => "mo_shp_auto"), home_url())), $LE);
wp_redirect($cX);
exit;
}
private function mo_sps_get_auth_code()
{
wpWrapper::mo_sps_set_option(pluginConstants::SPSAUTHCODE, $_REQUEST["mo_shp_code"]);
wp_safe_redirect(admin_url("?option=sps_automatic_app_status"));
exit;
}
private function mo_sps_display_error_message($Xd)
{
echo " <div class="mo_sps_test_connection__error">
\xd
\x9\x9\x9<div class="mo_sps_test_connection__error-heading">\xd\xa \x9\x9 Error\xd\xa\x9\x9 </div>
\xd\xa \x9 <table class="mo-ms-tab-content-app-config-table" style="border-collapse:collapse;width:90%">\xd\xa\x9\x9\x9 <tr>\xd\xa\x9\x9\x9\x9\x9<td align="center" class="mo_sps_test_connection__error-tableHeading" colspan="2">
\xa\x9 \x9\x9 <h2><span>Test Configuration Failed</span></h2>\xd
\x9\x9 </td>\xd
\x9 \x9 </tr>\xd\xa\x9\x9\x9\x9";
foreach ($Xd as $dC => $el) {
echo "<tr><td class="left-div mo_sps_test_connection__error-table-colkey"><span style="margin-right:10px;"><b>" . esc_html($dC) . ":</b></span></td>\xd
<td class="right-div mo_sps_test_connection__error-table-colvalue"><span>" . esc_html($el) . "</span></td></tr>";
KM:
}
No:
echo " \x9\x9</table>
\x9\x9 <h3 style="margin: 20px; display: inline-flex; align-items: center;">\xd
\x9Contact us at \xd\xa\x9\x9 \x9<span style="display:inline-flex; align-items: center;"><a href="mailto:[email protected]"><div id="mo_sps_copy_email_error">[email protected]</div></a>\xd
\x9 <span class="rounded-circle float-end copytooltip" style="cursor: pointer; background-color: #eee; width: 35px; height: 35px; margin: 0 0 0 10px; border-radius: 100%; border: 0 solid; display: flex; align-items: center; justify-content: center; padding: 0;" onclick="copyToClipboard(this, 'mo_sps_copy_email_error', 'mo_sps_copy_email_error_text');">
\xa \x9 \x9<img style="width:20px; height:20px; margin-top:0px; margin-left:0px; opacity: 0.7;" src="";
echo esc_url(MO_SPS_PLUGIN_URL . "/images/copy_clipboard.svg");
echo "">\xd\xa \x9\x9\x9 <span id="mo_sps_copy_email_error_text" class="copytooltiptext">Copy to Clipboard</span>
\xa \x9 \x9</span>
\x9\x9\x9\x9</span>
\xa \x9</h3>\xd
</div>\xd\xa <script>
\xa\x9\x9\x9function copyToClipboard(copyButton, element, copyelement) {\xd\xa\x9 \x9 var copyelement = document.getElementById(`${copyelement}`);
\xa\x9\x9 \x9var element = document.getElementById(`${element}`);
\x9 \x9\x9var temp = document.createElement("input");\xd
\x9 document.body.appendChild(temp);\xd
\x9 \x9\x9temp.value = element.textContent || element.innerText;\xd
\x9\x9\x9temp.select();
\xa \x9 document.execCommand("copy");\xd\xa \x9 document.body.removeChild(temp);
\xa \x9 \x9copyelement.textContent = "Copied";\xd
\xd\xa \x9\x9 copyButton.addEventListener('mouseout', function() {\xd
\x9 \x9\x9copyelement.textContent = "Copy to Clipboard";\xd\xa });\xd\xa\x9 \x9}
\x9 </script>\xd
";
$this->load_css();
exit;
}
private function mo_sps_show_success_message_for_test_connection($tt)
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$tt = isset($tt) && !empty($tt) ? $tt : array();
wpWrapper::mo_sps_set_option(pluginConstants::TEST_CONNECTION_STATUS, "success");
wpWrapper::mo_sps_set_option(pluginConstants::USER_INFO, $tt);
echo "<div class="mo_sps_test_connection__success">
<div class="mo_sps_test_connection__success-heading">
Success\xd
</div>\xd\xa
\xa <div style="display:block;text-align:center;margin-bottom:4%;"><svg class="animate" width="100" height="100">
\xa\x9\x9 <filter id="dropshadow" height="">\xd\xa \x9\x9 <feGaussianBlur in="SourceAlpha" stdDeviation="3" result="blur"></feGaussianBlur>
\x9 \x9 <feFlood flood-color="rgba(76, 175, 80, 1)" flood-opacity="0.5" result="color"></feFlood>
\xa\x9\x9\x9\x9 <feComposite in="color" in2="blur" operator="in" result="blur"></feComposite>
\xa\x9 \x9 <feMerge>
\xa\x9 \x9\x9 <feMergeNode></feMergeNode>\xd
\x9 \x9 <feMergeNode in="SourceGraphic"></feMergeNode>
\x9\x9 \x9 </feMerge>
\xa \x9 </filter>
\x9\x9\x9\xd
\x9 <circle cx="50" cy="50" r="46.5" fill="none" stroke="rgba(76, 175, 80, 0.5)" stroke-width="5"></circle>\xd
\x9
\xa <path d="M67,93 A46.5,46.5 0,1,0 7,32 L43,67 L88,19" fill="none" stroke="rgba(76, 175, 80, 1)" stroke-width="5" stroke-linecap="round" stroke-dasharray="80 1000" stroke-dashoffset="-220" style="filter:url(#dropshadow)"></path>\xd\xa </svg>
\x9 </div>\xd
\x9\x9 \xd\xa \x9 <div style="margin-bottom:1%;color:#3c763d;background-color:#dff0d8;width:60%;">\xd
<div style="color: #3c763d;background-color: #dff0d8;padding: 2%;text-align: center;border: 1px solid #AEDB9A;font-size: 18pt;">
Connected to your Azure AD/SharePoint application.\xd\xa </div>\xd
</div>\xd\xa \xd
<div>\xd\xa <input id="preview_sharepoint_documents" class="mo_sps_preview_document_button" type="button" value="Go to Document Library \xe2\236\244" onclick="goToDocumentLibraryTab()">\xd\xa </div>";
echo "</div>";
$this->load_css();
$this->load_script();
die;
}
private function load_css()
{
echo "\x9\x9<style>
\xd\xa .mo_sps_preview_document_button {
display: inline-block;\xd\xa padding: 11px 21px;\xd\xa background-color: #1B9BA1;\xd\xa color: white;
border: none;\xd
border-radius: 5px;\xd\xa text-decoration: none;\xd
font-weight: bold;\xd\xa font-size: 14px;
cursor: pointer;
\xa margin-top: 7px;\xd
}\xd
\xd
\x9.mo_sps_test_connection__error {
\x9\x9\x9 width: 100%;\xd
\x9 \x9 display: flex;\xd
\x9\x9 \x9flex-direction: column;
\x9 \x9justify-content: center;
\xa \x9 align-items: center;
\xa font-size: 15px;\xd
\x9 \x9margin-top: 10px;\xd\xa \x9width: 100%;
\xa \x9\x9}
\x9\x9.mo_sps_test_connection__error-heading {\xd\xa width: 86%;\xd
\x9\x9 padding: 15px;\xd
\x9 text-align: center;\xd
\x9 \x9\x9background-color: #f2dede;\xd\xa\x9\x9 color: #a94442;\xd\xa border: 1px solid #E6B3B2;\xd\xa \x9\x9\x9font-size: 18pt;
\x9\x9\x9\x9margin-bottom: 20px;\xd
\x9 }
\xd\xa \x9.mo_sps_test_connection__error-tableHeading {\xd
\x9 \x9padding: 30px 5px 30px 5px;
\x9\x9 border: 1px solid #757575;
\xa\x9 \x9}
\xa\xd\xa \x9\x9.mo_sps_test_connection__error-table-colkey {
\x9 \x9padding: 30px 5px 30px 5px;\xd\xa \x9\x9\x9border: 1px solid #757575;\xd\xa \x9}\xd\xa
\x9\x9.mo_sps_test_connection__error-table-colvalue {
\x9 padding: 30px 5px 30px 5px;\xd
\x9border: 1px solid #757575;\xd
\x9\x9 }
\xa\xd\xa \x9 .mo_sps_test_connection__success {\xd
\x9display: flex;\xd\xa \x9 justify-content: center;
\x9 align-items: center;
\xa\x9\x9 flex-direction: column;
\xa\x9\x9\x9\x9border: 1px solid #eee;
\x9padding: 10px;
\x9\x9}\xd
\xd
.mo_sps_test_connection__success-heading {
\x9 width: 90%;
\x9\x9\x9color: #3c763d;
\x9 \x9background-color: #dff0d8;\xd
\x9 \x9 padding: 2%;
\xa margin-bottom: 20px;
\xa\x9\x9\x9\x9text-align: center;
\x9\x9\x9\x9border: 1px solid #AEDB9A;\xd
\x9 \x9font-size: 18pt;\xd
\x9 }
\xd\xa\x9 .mo-ms-tab-content-app-config-table {
\x9 \x9max-width: 1000px;\xd\xa\x9 \x9background: white;
\xa \x9 padding: 1em 2em;\xd
\x9 \x9margin: 2em auto;
\x9 border-collapse: collapse;\xd\xa \x9 border-spacing: 0;\xd
display: table;
\x9 \x9font-size: 14pt;\xd\xa \x9 }\xd\xa
\x9\x9\x9.mo-ms-tab-content-app-config-table td.left-div {\xd\xa \x9 width: 40%;\xd\xa \x9 word-break: break-all;
\xa \x9\x9\x9font-weight: bold;\xd
\x9\x9 border: 2px solid #949090;\xd\xa \x9padding: 2%;\xd
\x9 }\xd\xa\xd\xa\x9 \x9.mo-ms-tab-content-app-config-table td.right-div {
\x9 \x9width: 40%;\xd
\x9 \x9 word-break: break-all;\xd\xa\x9 \x9 padding: 2%;
\x9 border: 2px solid #949090;\xd
\x9 word-wrap: break-word;
\xa\x9 \x9}
.copytooltip {\xd\xa\x9 \x9 position: relative;\xd
\x9\x9\x9 display: inline-block;
\xa\x9 \x9 size: letter
\x9 }
\xd\xa .copytooltip .copytooltiptext {
\x9 visibility: hidden;
\x9 width: 115px;
\xa \x9background-color: rgba(4, 4, 4, 0.752);\xd\xa\x9 color: #fff;\xd
\x9 text-align: center;\xd\xa\x9\x9 padding: 2px 8px;\xd\xa \x9\x9\x9border-radius: 6px;
\x9\x9\x9 font-size: 12px;\xd
\x9\x9\x9 position: absolute;\xd\xa\x9 z-index: 1;
\xa\x9\x9\x9\x9bottom: 102%;
\xa \x9\x9 left: -145%;
\xa \x9\x9 margin-left: 0px;
\xa \x9font-size: small;
\x9 \x9opacity: 50;
\x9 transition: opacity .3s;\xd
\x9\x9\x9}
\xd
\x9.copytooltip .copytooltiptext::after {
\x9content: "";
\x9 position: absolute;
\x9top: 100%;
\xa left: 50%;
\xa \x9 margin-left: -5px;\xd
\x9\x9border-width: 5px;
\x9\x9 border-style: solid;
\xa\x9\x9\x9 border-color: #555 transparent transparent transparent
\xa\x9 }
.copytooltip:hover .copytooltiptext {\xd\xa\x9 \x9 visibility: visible;
\xa\x9 \x9opacity: 1\xd\xa \x9}\xd\xa
\xa svg.animate path {
animation: dash 1.5s linear both;
\xa animation-delay: 1s;\xd\xa }
@keyframes dash {
0% { stroke-dashoffset: 210; }\xd
75% { stroke-dashoffset: -220; }\xd
100% { stroke-dashoffset: -205; }\xd\xa }\xd\xa
\xa \x9</style>\xd\xa
\xa
\x9 ";
}
private function load_script()
{
echo " <script>\xd
function goToDocumentLibraryTab(){
var href = location.href;
var url = href.split('?')[0]+'?page=mo_sps&tab=doc_lib';\xd\xa window.opener.location.href = url\xd
\xd
setTimeout(closeWindow, 500); // Delay for 0.5 second\xd
function closeWindow(){\xd\xa window.close();
}
\xa }
\xa </script>
\xa ";
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace MoSharePointObjectSync\Observer;
use MoSharePointObjectSync\Wrappers\pluginConstants;
use MoSharePointObjectSync\Wrappers\wpWrapper;
use MoSharePointObjectSync\API\Azure;
use MoSharePointObjectSync\API\CustomerMOSPS;
use MoSharePointObjectSync\LicenseLibrary\Mo_License_Service;
use WP_REST_Request;
class adminObserver
{
private static $obj;
private static $isliveri;
public static function getObserver()
{
if (isset(self::$obj)) {
goto FB;
}
self::$obj = new adminObserver();
self::$isliveri = Mo_License_Service::is_customer_license_valid();
FB:
return self::$obj;
}
public function mo_sps_sync_file(WP_REST_Request $mi)
{
$DW = $mi->get_param("\x6e\157\x6e\x63\145");
if (wp_verify_nonce($DW, "\x77\160\x5f\x72\145\x73\164")) {
goto A2;
}
return new WP_Error("\x69\156\x76\141\x6c\151\x64\137\156\157\x6e\143\145", "\111\156\166\141\x6c\151\x64\x20\x6e\157\156\x63\145", array("\x73\164\x61\164\x75\x73" => 403));
A2:
$lM = sanitize_text_field($mi->get_param("\x66\x69\154\x65\x5f\x69\x64"));
$LI = sanitize_text_field($mi->get_param("\144\162\151\166\145\137\151\144"));
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
if ("\x70\x65\x72\163\157\x6e\x61\x6c" === $cU["\x63\x6f\156\156\145\143\164\x6f\x72"]) {
goto KJ;
}
if (!($lM != '' || $LI != '')) {
goto TK;
}
$tt = $OT->mo_sps_get_file_preview($LI, $lM);
TK:
if (!empty($tt["\x73\x74\x61\x74\x75\163"])) {
goto RR;
}
return new WP_Error("\146\x69\154\x65\x5f\x65\x72\x72\x6f\x72", "\105\162\162\157\162\40\162\x65\164\x72\x69\x65\166\x69\156\147\40\x66\151\154\145\x20\x70\x72\145\166\x69\145\x77\x2e", array("\x73\x74\x61\164\165\x73" => 400));
goto d4;
RR:
return array($tt["\x64\x61\x74\x61"]["\147\145\x74\x55\x72\x6c"] . "\x26\156\142\x3d\x74\162\x75\145");
d4:
goto MO;
KJ:
$cF = array("\160\x64\146" => array("\143\163\166", "\144\x6f\143", "\x64\x6f\x63\170", "\157\144\160", "\x6f\x64\x73", "\x6f\x64\x74", "\160\x6f\x74", "\160\x6f\164\155", "\x70\x6f\164\x78", "\x70\x70\163", "\160\160\x73\x78", "\x70\160\163\x78\x6d", "\x70\160\164", "\x70\160\x74\x6d", "\x70\160\164\170", "\162\164\146", "\170\154\163", "\170\154\x73\x78"), "\x68\x74\x6d\154" => array("\154\x6f\157\x70", "\x66\154\x75\x69\x64", "\167\142\x74\x78"));
if (!($lM != '' || $LI != '')) {
goto PY;
}
$tt = $OT->mo_sps_get_file_download_url($lM, $LI);
PY:
if ($tt) {
goto q0;
}
return new WP_Error("\146\151\x6c\145\137\145\162\162\x6f\162", "\x45\x72\162\x6f\x72\40\x72\145\x74\162\x69\145\166\151\x6e\147\x20\x66\x69\154\x65\56", array("\x73\164\x61\164\x75\x73" => 400));
goto vQ;
q0:
$bi = $tt["\x6e\141\x6d\x65"];
$YZ = explode("\x2e", $bi);
$YZ = $YZ[count($YZ) - 1];
if (in_array($YZ, $cF["\160\144\146"])) {
goto gH;
}
if (in_array($YZ, $cF["\150\164\155\154"])) {
goto mM;
}
goto xx;
gH:
$YZ = "\56\160\144\146";
goto xx;
mM:
$YZ = "\x2e\150\x74\x6d\x6c";
xx:
if ($YZ == "\56\160\144\146" || $YZ == "\56\150\x74\155\x6c") {
goto hg;
}
$I_ = $tt["\x64\157\167\156\x6c\157\141\144\137\x75\162\x6c"];
$oc = wp_remote_get($I_);
goto g_;
hg:
$YZ = $YZ == "\56\160\144\146" ? "\160\144\x66" : "\150\164\155\x6c";
$oc = $OT->mo_sps_preview_for_onedrive_files($lM, $LI, $YZ);
g_:
if (is_wp_error($oc)) {
goto YS;
}
$u0 = wp_remote_retrieve_body($oc);
return array("\x6e\x61\155\145" => $tt["\156\x61\155\145"], "\x63\157\x6e\164\x65\x6e\x74" => base64_encode($u0), "\x6d\x69\155\x65\x5f\x74\171\160\x65" => "\x61\160\x70\x6c\151\143\141\x74\151\x6f\156\x2f\160\144\146");
YS:
vQ:
MO:
}
public function mo_sps_get_file_url()
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$lM = !empty($_GET["\146\x69\x6c\145\137\x69\x64"]) ? $_GET["\x66\151\154\x65\137\x69\144"] : '';
$LI = !empty($_GET["\144\162\151\x76\x65\x5f\151\144"]) ? $_GET["\x64\162\x69\166\x65\137\x69\144"] : '';
if (!($lM != '' || $LI != '')) {
goto fm;
}
$tt = $OT->mo_sps_get_file_preview($LI, $lM);
fm:
if ($tt["\x73\164\x61\x74\x75\x73"]) {
goto SV;
}
$Xd = array("\105\162\162\157\162" => !empty($tt["\x64\141\x74\141"]["\145\x72\x72\x6f\162"]) ? $tt["\x64\x61\164\x61"]["\x65\x72\x72\x6f\x72"] : "\125\x6e\145\x78\x70\x65\143\164\145\144\x20\145\x72\x72\157\162\40\x6f\143\143\165\x72\145\x64\56\x2e\56\41", "\104\145\x73\x63\162\151\160\x74\x69\157\x6e" => !empty($tt["\x64\141\x74\141"]["\x65\162\162\157\162\137\x64\145\163\143\x72\x69\x70\164\151\x6f\x6e"]) ? $tt["\x64\141\164\x61"]["\x65\x72\162\157\x72\x5f\144\x65\163\143\x72\151\x70\164\151\x6f\x6e"] : "\x50\154\x65\x61\x73\145\40\143\150\145\x63\x6b\x20\x79\157\x75\162\x20\x69\156\164\x65\162\156\x65\x74\x20\x63\157\x6e\x6e\145\x63\x74\151\157\x6e\40\157\162\40\x74\162\171\x20\x61\x67\141\151\x6e\x20\141\146\x74\x65\162\40\x73\157\155\145\164\151\155\145\56");
wp_send_json_error($Xd);
goto Cd;
SV:
$sO = $tt["\144\141\x74\x61"]["\x67\145\x74\125\x72\x6c"];
wp_send_json_success($sO);
Cd:
}
public function mo_sps_sync_specific_file()
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$lM = !empty($_GET["\146\x69\x6c\x65\137\151\x64"]) ? $_GET["\x66\x69\154\x65\137\151\x64"] : '';
$LI = !empty($_GET["\x64\162\x69\x76\145\137\x69\144"]) ? $_GET["\144\162\151\x76\145\x5f\151\144"] : '';
if (!($lM != '' || $LI != '')) {
goto ut;
}
$tt = $OT->mo_sps_get_file_preview($LI, $lM);
ut:
if (!empty($tt["\x73\x74\x61\164\165\x73"]) && !empty($tt["\x64\141\164\141"]["\x67\x65\x74\125\162\154"])) {
goto RF;
}
$Xd = array("\x45\162\162\157\162" => !empty($tt["\144\x61\164\x61"]["\145\162\162\157\x72"]) ? $tt["\x64\x61\x74\x61"]["\145\x72\x72\157\162"] : "\x55\x6e\145\170\160\145\143\164\145\x64\40\x65\x72\x72\157\162\40\x6f\x63\143\x75\162\145\144\x2e\56\56\x21", "\x44\x65\163\143\x72\151\160\164\151\x6f\x6e" => !empty($tt["\x64\x61\164\141"]["\x65\x72\x72\x6f\x72\x5f\144\x65\163\x63\x72\x69\160\x74\151\157\x6e"]) ? $tt["\144\141\x74\141"]["\x65\162\162\157\162\137\x64\145\163\143\162\151\x70\x74\x69\x6f\156"] : "\120\154\145\141\163\145\x20\x63\x68\x65\143\x6b\x20\x79\157\x75\162\40\x69\156\164\145\162\156\145\164\40\143\x6f\x6e\x6e\x65\143\164\151\x6f\x6e\40\x6f\162\40\164\162\x79\40\141\x67\x61\x69\x6e\x20\141\146\164\145\162\x20\x73\x6f\x6d\x65\164\151\155\x65\56");
wp_send_json_error($Xd);
goto Nz;
RF:
wp_send_json_success(json_encode($tt["\x64\x61\x74\141"]["\147\145\164\125\x72\154"] . "\46\156\142\x3d\x74\x72\x75\145"));
Nz:
}
public function mo_sps_get_url_content()
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$lM = !empty($_GET["\146\x69\x6c\x65\x5f\x69\x64"]) ? $_GET["\146\151\154\x65\x5f\151\x64"] : '';
$LI = !empty($_GET["\144\x72\x69\x76\145\x5f\x69\x64"]) ? $_GET["\x64\x72\151\x76\145\x5f\151\144"] : '';
if (!($lM != '' || $LI != '')) {
goto pV;
}
$tt = $OT->mo_sps_get_download_content($LI, $lM);
pV:
if ($tt["\163\164\141\164\165\x73"]) {
goto K0;
}
$Xd = array("\105\162\162\x6f\162" => !empty($tt["\144\141\x74\141"]["\x65\x72\162\x6f\162"]) ? $tt["\144\141\x74\x61"]["\145\x72\162\x6f\162"] : "\125\x6e\145\x78\160\x65\143\164\145\x64\40\x65\162\162\x6f\162\40\x6f\x63\143\x75\x72\x65\x64\x2e\x2e\x2e\41", "\x44\x65\163\x63\x72\x69\x70\x74\151\x6f\156" => !empty($tt["\144\141\x74\x61"]["\145\x72\162\x6f\162\x5f\144\x65\163\143\162\x69\160\x74\151\157\x6e"]) ? $tt["\x64\141\164\141"]["\x65\162\x72\x6f\x72\x5f\144\145\163\143\x72\151\160\164\x69\x6f\x6e"] : "\x50\154\145\141\163\145\x20\x63\150\x65\x63\153\x20\171\157\165\162\40\151\x6e\164\145\x72\156\145\x74\x20\143\x6f\x6e\x6e\145\143\164\x69\x6f\x6e\40\157\162\40\x74\162\171\x20\141\x67\141\151\156\x20\x61\x66\x74\145\162\x20\163\x6f\155\145\x74\151\x6d\145\56");
wp_send_json_error($Xd);
goto W1;
K0:
$kO = preg_split("\x2f\134\x72\134\x6e\174\134\162\x7c\134\x6e\57", $tt["\144\x61\x74\141"]);
$xM = explode("\75", $kO[1], 2);
$e7 = $xM[1];
echo "\x3c\x73\143\162\x69\x70\164\x3e\40\167\151\x6e\x64\x6f\167\x2e\154\x6f\x63\x61\x74\151\157\156\56\x68\162\x65\146\75\47" . $e7 . "\x27\74\57\163\x63\x72\x69\x70\x74\76";
return true;
W1:
}
public function mo_sps_admin_observer()
{
if (!isset($_REQUEST["\x6d\x6f\137\x73\x68\x70\x5f\143\157\x64\145"])) {
goto uw;
}
$this->mo_sps_get_auth_code();
uw:
if (isset($_REQUEST["\x6f\160\164\x69\x6f\156"])) {
goto VO;
}
return;
VO:
switch ($_REQUEST["\157\x70\164\x69\157\x6e"]) {
case "\x6d\x6f\137\163\x70\x73\137\x74\x65\163\x74\x5f\143\x6f\x6e\x6e\145\x63\x74\151\x6f\156":
$this->mo_sps_test_app_connection();
goto bo;
case "\163\x70\163\x5f\141\x75\x74\157\x6d\x61\164\151\x63\137\x61\x70\160\x5f\x73\164\x61\164\165\x73":
$this->mo_sps_automatic_connection();
goto bo;
case "\x6d\x6f\137\163\x70\x73\137\143\157\x6e\164\x61\x63\x74\137\x75\163\137\161\x75\145\162\x79\x5f\157\x70\x74\x69\x6f\156":
$this->mo_sps_contact_us_query();
goto bo;
}
KG:
bo:
}
private function mo_sps_contact_us_query()
{
$hu = $this->mo_sps_send_support_query();
if (is_null($hu)) {
goto PE;
}
if ($hu == false) {
goto Ik;
}
if ("\121\x75\x65\162\x79\40\x73\x75\x62\155\151\x74\164\145\x64\56" === $hu) {
goto XL;
}
wpWrapper::mo_sps__show_error_notice(esc_html__($hu . "\x20\131\157\165\162\x20\161\x75\x65\x72\x79\x20\x63\157\165\x6c\x64\40\x6e\x6f\164\x20\x62\145\40\163\165\142\x6d\151\164\x74\x65\x64\x2e\x20\x50\154\145\141\163\145\40\x74\162\171\40\x61\147\x61\x69\x6e\56"));
goto Jj;
XL:
wpWrapper::mo_sps__show_success_notice(esc_html__("\x54\150\x61\156\153\x73\40\x66\157\162\40\x67\145\x74\x74\x69\156\x67\40\151\x6e\x20\164\x6f\165\143\150\41\x20\127\x65\x20\163\x68\141\x6c\x6c\x20\x67\145\164\x20\x62\x61\143\x6b\x20\164\x6f\40\x79\x6f\x75\x20\x73\x68\x6f\x72\164\x6c\171\x2e"));
Jj:
goto BW;
Ik:
wpWrapper::mo_sps__show_error_notice(esc_html__("\x59\x6f\x75\x72\40\161\x75\145\x72\x79\x20\x63\157\165\x6c\144\x20\156\157\164\40\x62\145\x20\163\x75\x62\x6d\x69\164\x74\x65\144\56\40\x50\x6c\145\141\163\x65\x20\x74\162\x79\40\141\x67\x61\151\x6e\x2e"));
BW:
PE:
}
private function mo_sps_send_support_query()
{
$Nr = sanitize_email($_POST["\x6d\x6f\x5f\163\x70\163\137\x63\x6f\156\164\141\143\164\137\x75\x73\x5f\145\155\141\x69\x6c"]);
$JP = htmlspecialchars($_POST["\155\157\137\163\x70\163\137\x63\x6f\x6e\x74\x61\x63\164\x5f\165\x73\137\160\x68\157\156\145"]);
$MH = htmlspecialchars($_POST["\x6d\x6f\x5f\x73\160\163\137\x63\x6f\156\164\x61\143\164\x5f\x75\163\137\x71\165\x65\162\171"]);
$MH = "\133\105\x6d\142\x65\144\40\163\x68\141\x72\x65\x70\157\151\156\164\x20\x6f\156\x65\144\162\151\x76\x65\40\144\x6f\x63\x75\x6d\x65\156\x74\163\x20\x70\x6c\x75\147\151\x6e\135\x20" . $MH;
$hQ = new CustomerMOSPS();
$tt = $hQ->mo_sps_submit_contact_us($Nr, $JP, $MH);
return $tt;
}
private function mo_sps_test_app_connection()
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
wpWrapper::mo_sps_delete_option(pluginConstants::CURRENT_STATE);
wpWrapper::mo_sps_delete_option(pluginConstants::MOPKEWSFATT);
wpWrapper::mo_sps_delete_option(pluginConstants::SPS_RFTK);
$cU["\x74\x79\x70\145"] = !empty($_REQUEST["\x74\x79\x70\x65"]) ? $_REQUEST["\x74\x79\x70\x65"] : "\155\141\156\165\x61\154";
wpWrapper::mo_sps_set_option(pluginConstants::APP_CONFIG, $cU);
if (self::$isliveri) {
goto qc;
}
$Xd = array("\105\x72\162\157\x72" => "\127\120\x53\x48\x50\x30\x30\x31", "\104\145\x73\143\x72\x69\160\x74\151\x6f\x6e" => "\114\151\x63\145\156\163\x65\x20\x4b\145\x79\x20\151\163\x20\x6e\x6f\164\x20\126\x65\x72\151\146\x69\x65\144");
wpWrapper::mo_sps_delete_option("\155\x6f\x5f\163\160\x73\137\147\145\164\x5f\x61\154\154\x5f\x73\151\x74\145\163");
$this->mo_sps_display_error_message($Xd);
goto Di;
qc:
if ("\141\165\x74\x6f" === $cU["\x74\171\160\145"]) {
goto BZ;
}
wpWrapper::mo_sps_delete_option(pluginConstants::SPS_RFTK);
$Pv = Azure::getClient($cU);
$Pv->mo_sps_send_access_token(true);
$tt = $Pv->mo_sps_get_all_sites();
if (!empty($tt["\x73\x74\x61\x74\165\x73"]) && !empty($tt["\x64\x61\x74\141"])) {
goto B8;
}
$Xd = array("\105\162\x72\x6f\x72" => !empty($tt["\x64\141\x74\141"]["\145\162\x72\x6f\x72"]) ? $tt["\x64\x61\164\x61"]["\145\162\162\157\162"] : "\x55\x6e\145\x78\x70\x65\143\164\x65\x64\40\145\x72\x72\x6f\162\x20\157\x63\x63\165\x72\x65\144\x2e\56\56\x21", "\104\x65\163\x63\x72\x69\160\x74\151\x6f\156" => !empty($tt["\144\x61\164\x61"]["\145\162\162\157\162"]) ? $tt["\x64\141\x74\x61"]["\145\162\x72\x6f\x72\137\144\145\x73\x63\162\x69\160\164\x69\157\x6e"] : "\120\x6c\x65\x61\163\145\40\143\150\145\x63\153\40\x79\x6f\165\x72\40\151\x6e\164\x65\x72\x6e\x65\x74\40\143\x6f\x6e\156\x65\x63\164\x69\x6f\156\x20\x6f\162\40\x74\162\x79\40\141\x67\141\x69\156\40\141\146\164\145\162\x20\163\x6f\155\145\164\151\155\x65\56");
wpWrapper::mo_sps_delete_option("\x6d\157\137\x73\x70\163\x5f\147\x65\164\x5f\141\x6c\x6c\x5f\163\151\x74\145\x73");
$this->mo_sps_display_error_message($Xd);
goto ny;
B8:
if (!empty($cU["\163\x69\x74\x65\x5f\x75\162\154"])) {
goto nP;
}
if (!empty($tt["\x64\x61\164\141"]["\x76\141\154\x75\x65"])) {
goto qY;
}
goto rV;
nP:
wpWrapper::mo_sps_set_option("\155\x6f\137\x73\x70\163\137\x67\x65\x74\x5f\141\x6c\x6c\137\163\151\x74\x65\x73", array($tt["\144\141\164\141"]));
$this->mo_sps_show_success_message_for_test_connection(array($tt["\144\141\x74\141"]));
goto rV;
qY:
wpWrapper::mo_sps_set_option("\x6d\157\x5f\x73\x70\163\x5f\x67\x65\x74\137\x61\154\154\x5f\163\x69\164\145\x73", $tt["\144\141\x74\141"]["\x76\141\x6c\x75\145"]);
$this->mo_sps_show_success_message_for_test_connection($tt["\x64\x61\x74\141"]["\166\x61\x6c\165\145"]);
rV:
ny:
goto f8;
BZ:
if (!empty($cU["\x63\157\156\x6e\x65\143\x74\x6f\162"]) && "\x70\x65\162\163\x6f\x6e\141\154" === $cU["\x63\157\x6e\156\x65\x63\164\157\x72"]) {
goto er;
}
$this->mo_sps_connect_to_sharepoint_and_onedrive();
goto cS;
er:
$this->mo_sps_connect_to_onedrive_personal();
cS:
f8:
Di:
}
private function mo_sps_automatic_connection()
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$OT = Azure::getClient($cU);
$cU = $OT->mo_sps_process_tokens_for_auto_connection();
$OT = Azure::getClient($cU);
switch ($cU["\143\x6f\156\x6e\145\x63\x74\157\162"]) {
case "\x70\145\162\x73\x6f\x6e\141\154":
$this->mo_sps_onedrive_personal_response($OT->mo_sps_get_personal_onedrives());
goto wt;
case "\x6f\x6e\145\144\x72\x69\166\145":
$this->mo_sps_process_response($OT->mo_sps_get_onedrives());
goto wt;
default:
$this->mo_sps_process_sharepoint_response($OT->mo_sps_get_all_sites());
goto wt;
}
v2:
wt:
}
private function mo_sps_process_sharepoint_response($tt)
{
if ($tt["\163\164\141\164\165\163"]) {
goto Eh;
}
$Xd = array("\x45\x72\x72\x6f\x72" => !empty($tt["\144\x61\x74\x61"]["\145\162\x72\157\x72"]) ? $tt["\x64\141\164\x61"]["\145\x72\162\157\162"] : "\125\x6e\145\170\x70\145\143\x74\145\x64\40\145\162\x72\x6f\x72\40\x6f\143\143\165\x72\145\x64\56\56\56\x21", "\104\x65\163\143\x72\x69\x70\x74\x69\x6f\x6e" => !empty($tt["\x64\x61\x74\141"]["\145\x72\x72\x6f\x72"]) ? $tt["\x64\x61\x74\141"]["\145\x72\162\x6f\x72\137\144\145\x73\143\162\x69\x70\164\151\157\x6e"] : "\x50\154\x65\x61\x73\145\x20\143\150\145\143\x6b\40\x79\x6f\x75\x72\40\151\x6e\x74\x65\162\x6e\145\x74\x20\143\157\156\156\x65\x63\x74\x69\x6f\x6e\x20\157\162\x20\164\162\171\x20\141\147\141\151\x6e\40\x61\146\x74\x65\x72\x20\x73\157\x6d\145\164\x69\155\145\56");
$this->mo_sps_display_error_message($Xd);
goto FT;
Eh:
wpWrapper::mo_sps_set_option("\155\157\137\163\x70\x73\x5f\x67\x65\x74\x5f\x61\154\154\x5f\x73\x69\x74\x65\x73", $tt["\144\x61\x74\x61"]["\x76\x61\154\x75\145"]);
$this->mo_sps_show_success_message_for_test_connection($tt["\144\x61\x74\141"]["\x76\x61\x6c\x75\145"]);
FT:
}
private function mo_sps_process_response($tt)
{
if ($tt["\163\164\141\x74\x75\x73"]) {
goto cx;
}
$Xd = array("\105\162\162\157\x72" => !empty($tt["\x64\141\164\141"]["\145\162\x72\157\162"]) ? $tt["\144\x61\164\141"]["\145\x72\162\x6f\x72"] : "\x55\156\145\170\x70\x65\143\x74\x65\x64\40\145\162\x72\157\162\x20\157\143\143\x75\x72\x65\144\56\x2e\56\x21", "\104\x65\x73\143\162\x69\x70\164\151\157\156" => !empty($tt["\x64\141\164\x61"]["\145\162\x72\157\x72"]) ? $tt["\144\x61\x74\141"]["\x65\x72\162\157\162\137\144\x65\x73\x63\x72\151\160\x74\151\157\156"] : "\120\154\145\x61\163\145\x20\143\x68\x65\x63\153\x20\171\x6f\165\162\40\x69\156\164\145\162\x6e\145\x74\40\x63\x6f\156\x6e\x65\143\x74\151\x6f\156\40\x6f\162\x20\164\x72\171\x20\x61\147\x61\x69\156\x20\141\146\x74\145\x72\40\163\x6f\155\145\164\x69\155\145\x2e");
$this->mo_sps_display_error_message($Xd);
goto dT;
cx:
wpWrapper::mo_sps_set_option("\155\x6f\137\163\x70\x73\x5f\147\145\x74\x5f\141\x6c\x6c\137\x64\162\151\166\145\x73", $tt["\144\141\164\x61"]["\166\x61\x6c\165\145"]);
$this->mo_sps_show_success_message_for_test_connection($tt["\144\141\x74\141"]["\x76\x61\x6c\x75\x65"]);
dT:
}
private function mo_sps_onedrive_personal_response($tt)
{
if (!empty($tt["\163\x74\141\164\165\163"])) {
goto r_;
}
$Xd = array("\105\x72\162\x6f\x72" => !empty($tt["\144\141\x74\141"]["\145\x72\162\157\x72"]) ? $tt["\144\x61\x74\141"]["\x65\x72\162\x6f\162"] : "\x55\156\145\x78\x70\x65\x63\164\x65\x64\x20\x65\x72\162\x6f\162\x20\157\143\x63\x75\162\145\144\x2e\56\56\x21", "\104\x65\163\x63\x72\151\x70\x74\x69\x6f\156" => !empty($tt["\x64\x61\164\141"]["\x65\x72\162\157\162\x5f\x64\x65\x73\x63\x72\x69\x70\164\151\x6f\156"]) ? $tt["\x64\141\x74\141"]["\145\x72\x72\157\162\x5f\144\145\163\143\x72\x69\x70\x74\151\x6f\156"] : "\x50\154\x65\x61\x73\x65\x20\x63\150\145\x63\153\40\x79\x6f\165\162\x20\151\156\164\145\162\156\x65\164\40\x63\x6f\156\x6e\x65\x63\164\x69\157\156\40\x6f\x72\x20\x74\x72\171\x20\x61\x67\141\x69\156\x20\141\146\x74\x65\x72\x20\163\x6f\155\x65\x74\x69\155\x65\56");
$this->mo_sps_display_error_message($Xd);
goto vB;
r_:
$RY = array("\156\x61\155\145" => "\x50\145\x72\163\x6f\156\141\154\x20\117\x6e\145\144\x72\151\166\145");
if (!empty($tt["\144\141\x74\141"]["\x76\141\x6c\x75\145"])) {
goto Va;
}
$Xd = array("\x45\162\x72\157\162" => !empty($tt["\x64\x61\x74\141"]["\145\x72\x72\x6f\x72"]) ? $tt["\144\x61\x74\141"]["\x65\x72\162\x6f\162"] : "\125\x6e\x65\170\x70\x65\143\164\x65\x64\40\145\x72\162\157\162\x20\157\143\x63\165\162\x65\144\x2e\x2e\56\41", "\104\145\163\143\x72\151\160\x74\x69\157\x6e" => !empty($tt["\x64\x61\x74\141"]["\x65\162\x72\x6f\162"]) ? $tt["\x64\141\164\x61"]["\x65\x72\162\157\162\x5f\x64\x65\x73\143\x72\x69\x70\164\x69\x6f\x6e"] : "\x50\x6c\145\x61\x73\145\x20\143\150\145\x63\153\x20\x79\157\x75\162\40\151\x6e\164\x65\x72\x6e\x65\164\40\143\x6f\x6e\156\145\143\x74\151\157\156\40\x6f\162\40\164\162\x79\40\x61\x67\x61\x69\x6e\x20\141\x66\x74\145\162\x20\x73\x6f\155\x65\x74\151\155\145\56");
$this->mo_sps_display_error_message($Xd);
goto B6;
Va:
foreach ($tt["\144\x61\x74\141"]["\x76\141\154\x75\145"] as &$yj) {
$cN = array_search("\151\144", array_keys($yj));
$yj = array_merge(array_slice($yj, 0, $cN + 1), $RY, array_slice($yj, $cN + 1));
tM:
}
T_:
wpWrapper::mo_sps_set_option("\155\x6f\x5f\x73\x70\163\137\x67\x65\164\x5f\141\154\154\137\x64\162\x69\x76\x65\x73", $tt["\144\x61\x74\x61"]["\x76\x61\x6c\165\145"]);
$this->mo_sps_show_success_message_for_test_connection($tt["\x64\x61\164\x61"]["\166\141\x6c\165\145"]);
B6:
vB:
}
private function mo_sps_connect_to_sharepoint_and_onedrive()
{
$IY = "\143\157\x6d\155\x6f\x6e";
$aX = PluginConstants::CID;
$Z8 = "\x6f\x66\x66\x6c\151\x6e\145\x5f\x61\x63\143\x65\163\163\40\163\151\164\x65\x73\56\162\x65\x61\x64\167\162\151\164\145\x2e\141\154\x6c";
$LE = "\150\164\164\160\163\72\57\57\154\157\x67\x69\156\56\155\151\143\162\x6f\x73\x6f\x66\164\x6f\156\x6c\x69\156\x65\x2e\143\157\x6d\57" . $IY . "\x2f\157\x61\165\164\x68\x32\x2f\x76\62\x2e\60\x2f\x61\165\x74\x68\x6f\162\x69\172\145\77\x70\162\x6f\155\160\164\75\x73\x65\x6c\145\143\x74\137\x61\x63\143\x6f\x75\156\164";
$cX = add_query_arg(array("\162\145\163\x70\157\156\163\145\x5f\164\171\160\x65" => "\x63\x6f\x64\x65", "\143\154\151\x65\156\164\137\x69\144" => $aX, "\x73\143\157\160\x65" => $Z8, "\162\145\144\151\162\x65\143\164\x5f\165\162\151" => pluginConstants::CONNECT_SERVER_URI, "\x73\x74\141\x74\x65" => add_query_arg(array("\143\x6f\156\x6e" => "\155\x6f\137\163\150\x70\137\141\165\164\x6f"), home_url())), $LE);
wp_redirect($cX);
exit;
}
private function mo_sps_connect_to_onedrive_personal()
{
$IY = "\x63\x6f\x6d\x6d\x6f\x6e";
$aX = PluginConstants::CID;
$Z8 = "\x6f\160\145\x6e\x69\x64\x20\x6f\x66\x66\x6c\x69\x6e\x65\x5f\x61\143\x63\x65\x73\x73\40\157\x6e\x65\x64\x72\x69\166\145\56\162\145\141\x64\167\162\151\164\x65";
$LE = "\150\x74\x74\160\x73\72\x2f\57\x6c\157\x67\x69\x6e\x2e\154\x69\166\145\x2e\x63\x6f\x6d\x2f\157\141\165\164\150\62\60\x5f\141\x75\x74\x68\157\162\151\x7a\x65\x2e\x73\162\x66\77\160\162\x6f\155\x70\164\x3d\163\x65\x6c\x65\143\x74\x5f\141\143\x63\157\165\x6e\164";
$cX = add_query_arg(array("\162\145\x73\160\x6f\x6e\x73\145\x5f\x74\x79\160\145" => "\143\x6f\144\145", "\x63\x6c\x69\x65\x6e\x74\x5f\151\x64" => $aX, "\x73\143\x6f\160\145" => $Z8, "\162\145\x64\x69\x72\145\143\164\137\165\162\x69" => pluginConstants::CONNECT_SERVER_URI, "\x73\x74\x61\164\x65" => add_query_arg(array("\x63\x6f\156\x6e" => "\x6d\157\x5f\163\x68\160\x5f\141\165\x74\x6f"), home_url())), $LE);
wp_redirect($cX);
exit;
}
private function mo_sps_get_auth_code()
{
wpWrapper::mo_sps_set_option(pluginConstants::SPSAUTHCODE, $_REQUEST["\155\157\137\x73\150\160\137\143\x6f\144\145"]);
wp_safe_redirect(admin_url("\x3f\157\160\164\151\157\156\75\x73\x70\x73\137\141\165\164\157\155\141\x74\151\143\x5f\x61\160\x70\137\x73\164\141\x74\x75\163"));
exit;
}
private function mo_sps_display_error_message($Xd)
{
echo "\11\11\74\x64\x69\166\40\x63\154\x61\163\163\75\x22\x6d\x6f\x5f\163\x70\x73\137\x74\145\163\164\x5f\x63\x6f\156\156\145\x63\164\x69\157\156\x5f\137\145\162\x72\157\x72\42\x3e\15\12\xd\12\x9\x9\x9\74\144\x69\x76\40\x63\x6c\141\163\x73\x3d\x22\x6d\157\137\163\x70\x73\137\x74\x65\163\164\137\143\157\156\x6e\145\x63\164\x69\x6f\x6e\137\x5f\145\x72\162\157\x72\x2d\x68\x65\x61\144\x69\156\x67\x22\x3e\xd\xa\11\x9\x9\11\105\162\x72\157\162\xd\xa\x9\x9\11\74\x2f\x64\151\166\x3e\15\12\xd\xa\11\x9\11\x3c\164\141\142\154\x65\x20\x63\154\141\163\x73\75\x22\155\x6f\x2d\x6d\x73\x2d\164\x61\x62\x2d\143\x6f\x6e\164\145\156\164\x2d\x61\x70\x70\55\x63\157\156\146\x69\x67\55\x74\x61\142\x6c\x65\x22\40\163\x74\171\154\145\75\x22\142\x6f\162\x64\x65\x72\55\x63\157\154\154\141\160\x73\145\x3a\143\x6f\x6c\x6c\x61\160\163\x65\x3b\167\x69\144\164\x68\72\71\x30\x25\x22\x3e\xd\xa\x9\x9\x9\11\74\164\x72\76\xd\xa\x9\x9\x9\x9\x9\x3c\x74\144\40\x61\x6c\151\147\x6e\75\x22\x63\145\156\164\145\162\42\40\143\154\141\x73\163\x3d\x22\155\x6f\137\163\160\x73\x5f\x74\145\163\x74\137\x63\x6f\x6e\x6e\145\x63\x74\151\157\x6e\137\x5f\x65\x72\162\157\x72\x2d\x74\x61\142\x6c\145\x48\x65\141\144\151\x6e\147\42\x20\x63\157\x6c\x73\160\x61\156\x3d\42\x32\42\x3e\15\xa\x9\11\x9\x9\11\11\x3c\x68\x32\x3e\74\x73\160\x61\x6e\76\124\x65\x73\x74\x20\103\157\x6e\146\151\147\x75\162\141\164\x69\157\156\40\106\x61\x69\x6c\145\x64\74\x2f\163\160\x61\x6e\x3e\x3c\57\150\62\x3e\xd\12\11\x9\x9\11\11\74\x2f\x74\x64\76\xd\12\x9\11\x9\11\74\57\164\162\x3e\xd\xa\x9\x9\x9\x9";
foreach ($Xd as $dC => $el) {
echo "\x3c\x74\x72\x3e\74\164\x64\x20\x63\154\x61\163\163\75\42\x6c\x65\146\x74\55\144\151\x76\x20\155\x6f\x5f\x73\160\x73\137\x74\x65\x73\164\137\x63\x6f\156\156\x65\143\164\x69\157\156\137\137\145\162\x72\157\162\x2d\164\x61\x62\x6c\x65\55\143\157\154\153\x65\171\x22\x3e\74\x73\160\141\156\x20\x73\x74\x79\x6c\145\75\42\155\x61\162\147\151\156\55\162\151\x67\x68\164\x3a\61\60\x70\170\x3b\42\x3e\x3c\x62\76" . esc_html($dC) . "\x3a\74\57\142\76\74\x2f\x73\x70\x61\156\76\x3c\57\164\x64\x3e\xd\12\40\x20\40\40\x20\x20\40\40\x20\x20\x20\40\40\x20\40\40\x20\x20\40\40\x20\x20\40\x3c\164\x64\40\143\x6c\x61\x73\x73\x3d\x22\162\151\x67\150\x74\55\x64\151\x76\x20\x6d\x6f\137\163\160\163\137\x74\145\163\164\137\x63\157\156\x6e\145\143\x74\151\157\x6e\x5f\137\145\x72\162\x6f\x72\x2d\164\141\142\x6c\x65\x2d\x63\157\154\166\141\x6c\165\145\x22\76\74\163\x70\141\156\76" . esc_html($el) . "\74\57\163\160\141\156\76\x3c\x2f\164\x64\76\x3c\57\x74\x72\x3e";
KM:
}
No:
echo "\11\x9\x9\x3c\57\164\141\x62\154\x65\x3e\15\12\x9\x9\11\x3c\150\63\x20\x73\x74\x79\154\x65\75\x22\x6d\141\162\x67\x69\x6e\72\40\62\60\160\x78\x3b\40\x64\x69\x73\x70\x6c\x61\x79\x3a\x20\x69\x6e\x6c\151\x6e\x65\x2d\146\154\x65\170\x3b\x20\141\x6c\151\x67\x6e\55\x69\164\145\155\163\72\x20\x63\x65\x6e\x74\x65\162\73\42\x3e\xd\12\11\11\11\x9\x43\x6f\x6e\164\x61\143\164\x20\x75\163\x20\x61\164\40\xd\xa\x9\x9\11\x9\x3c\163\160\141\156\x20\x73\x74\171\x6c\x65\75\x22\x64\151\163\160\154\141\x79\72\151\x6e\x6c\x69\156\145\x2d\146\x6c\145\170\73\40\x61\x6c\x69\147\x6e\55\x69\x74\145\x6d\163\72\40\143\145\156\x74\x65\x72\x3b\42\76\74\141\x20\150\x72\x65\x66\75\x22\155\x61\151\154\x74\157\72\157\146\x66\151\143\x65\x33\66\x35\x73\x75\x70\x70\x6f\162\164\100\170\x65\x63\165\x72\151\146\171\x2e\143\157\x6d\42\x3e\x3c\x64\x69\x76\40\x20\151\144\75\x22\x6d\x6f\x5f\163\160\x73\x5f\143\157\x70\x79\x5f\x65\x6d\x61\x69\154\x5f\145\x72\162\x6f\x72\42\x3e\x6f\146\x66\151\x63\x65\63\x36\65\163\165\160\160\157\x72\164\100\170\x65\143\x75\162\x69\x66\x79\56\x63\157\x6d\74\57\144\x69\166\x3e\x3c\57\141\x3e\xd\12\11\x9\11\11\11\x3c\163\x70\141\156\x20\x63\x6c\x61\x73\x73\x3d\42\x72\157\x75\x6e\144\145\x64\55\143\151\162\x63\154\x65\40\x66\154\x6f\x61\164\x2d\145\156\144\x20\x63\157\160\171\x74\157\x6f\x6c\x74\151\160\x22\x20\x73\x74\171\154\145\75\42\x63\165\162\x73\x6f\162\72\x20\x70\157\x69\156\x74\x65\x72\73\x20\x62\x61\x63\153\147\x72\157\165\156\144\55\x63\157\154\x6f\x72\72\x20\43\145\x65\x65\73\40\x77\151\144\164\x68\72\40\63\65\x70\170\73\x20\150\x65\x69\147\x68\x74\72\40\x33\65\x70\170\73\x20\x6d\x61\x72\x67\x69\x6e\x3a\40\x30\40\x30\x20\60\40\x31\x30\x70\x78\x3b\x20\x62\x6f\x72\144\145\162\55\162\141\144\x69\165\x73\72\x20\61\x30\x30\x25\73\x20\x62\157\162\144\145\x72\x3a\x20\x30\x20\x73\x6f\x6c\x69\144\x3b\40\x64\151\163\x70\154\x61\171\x3a\40\x66\154\145\170\x3b\x20\141\x6c\x69\x67\156\55\151\x74\145\155\163\72\x20\143\145\156\x74\x65\162\73\40\152\x75\x73\164\151\146\171\55\x63\x6f\x6e\164\x65\x6e\164\72\x20\x63\x65\156\x74\x65\x72\x3b\40\x70\141\144\144\151\x6e\x67\72\x20\60\x3b\42\40\x6f\156\x63\154\151\x63\153\x3d\42\143\157\x70\171\x54\x6f\103\x6c\x69\x70\142\x6f\x61\162\144\50\164\x68\151\163\x2c\x20\x27\155\x6f\x5f\163\160\163\x5f\143\x6f\x70\171\x5f\145\x6d\x61\x69\x6c\137\x65\162\x72\157\x72\x27\x2c\40\x27\x6d\x6f\137\163\160\x73\x5f\143\x6f\160\171\x5f\145\155\x61\151\154\x5f\145\162\162\x6f\162\x5f\164\x65\x78\x74\47\x29\73\42\x3e\15\xa\11\11\x9\11\11\x9\74\151\x6d\x67\x20\163\164\x79\x6c\x65\x3d\42\x77\151\x64\x74\x68\x3a\62\60\x70\x78\73\x20\150\145\x69\147\150\164\x3a\x32\60\160\x78\x3b\x20\155\141\162\147\x69\156\x2d\x74\157\160\x3a\x30\x70\x78\73\x20\155\x61\162\147\x69\x6e\x2d\154\145\x66\164\x3a\60\160\170\x3b\x20\157\160\141\x63\x69\164\171\x3a\40\60\56\67\73\x22\x20\163\162\143\x3d\42";
echo esc_url(MO_SPS_PLUGIN_URL . "\x2f\x69\155\x61\147\145\x73\x2f\143\157\x70\171\x5f\x63\154\151\x70\x62\157\x61\162\x64\x2e\x73\166\x67");
echo "\x22\x3e\xd\xa\11\11\x9\x9\x9\11\x3c\x73\x70\x61\156\x20\x69\x64\x3d\x22\155\157\137\x73\x70\163\x5f\143\157\160\x79\137\145\x6d\141\151\x6c\137\145\x72\162\x6f\x72\137\x74\x65\x78\164\42\40\143\x6c\x61\163\x73\x3d\x22\143\x6f\160\171\x74\157\x6f\x6c\x74\151\x70\x74\145\170\164\x22\x3e\x43\x6f\x70\x79\x20\x74\157\40\x43\x6c\x69\160\x62\x6f\x61\x72\144\x3c\57\x73\160\141\x6e\x3e\15\xa\11\11\x9\11\x9\74\x2f\163\x70\141\156\76\15\12\x9\x9\x9\x9\x3c\x2f\x73\160\141\156\76\15\xa\11\11\x9\74\x2f\x68\x33\x3e\xd\12\11\11\x3c\x2f\144\151\166\x3e\xd\xa\11\11\x3c\163\143\162\x69\160\164\76\15\xa\x9\x9\x9\x66\x75\x6e\143\164\x69\157\156\40\x63\157\x70\x79\x54\x6f\x43\154\x69\x70\142\157\141\x72\x64\50\143\157\x70\171\102\x75\x74\164\x6f\x6e\x2c\x20\145\x6c\145\x6d\x65\156\164\x2c\x20\x63\x6f\160\x79\x65\x6c\x65\155\145\x6e\164\x29\40\173\xd\xa\x9\11\x9\11\166\x61\162\x20\143\x6f\160\171\145\154\x65\155\145\156\x74\40\x3d\x20\x64\x6f\143\165\155\x65\156\x74\x2e\147\x65\x74\105\154\x65\155\145\156\x74\102\x79\111\x64\50\x60\44\173\143\x6f\x70\171\145\154\x65\x6d\145\x6e\x74\175\x60\x29\73\15\xa\x9\x9\11\x9\166\141\x72\x20\145\x6c\x65\155\x65\x6e\x74\40\x3d\40\144\x6f\143\x75\x6d\x65\156\x74\56\x67\x65\x74\105\154\x65\x6d\x65\x6e\x74\102\x79\x49\144\50\x60\x24\173\145\154\x65\x6d\x65\x6e\164\x7d\140\51\73\15\12\x9\11\x9\x9\166\141\162\40\x74\145\x6d\x70\x20\x3d\x20\144\157\143\165\155\145\x6e\164\x2e\x63\162\x65\141\164\x65\x45\x6c\x65\155\x65\156\x74\50\42\151\x6e\x70\x75\x74\42\51\x3b\xd\12\x9\11\11\11\144\157\x63\x75\x6d\145\156\164\56\142\x6f\x64\x79\56\x61\160\x70\145\156\144\103\150\151\154\144\50\164\x65\155\x70\x29\73\xd\12\x9\11\x9\x9\x74\145\155\160\56\x76\141\x6c\165\145\40\x3d\x20\145\154\x65\x6d\145\x6e\x74\x2e\x74\145\170\x74\x43\157\x6e\x74\x65\156\164\40\x7c\x7c\x20\145\154\x65\155\x65\156\x74\56\151\156\x6e\145\x72\x54\x65\170\164\73\xd\12\11\x9\x9\x9\164\145\155\160\x2e\x73\145\x6c\x65\143\x74\50\x29\x3b\15\xa\11\x9\11\11\144\x6f\143\x75\x6d\x65\156\x74\x2e\145\170\145\x63\x43\157\155\x6d\x61\156\144\50\x22\143\157\x70\171\42\51\73\xd\xa\11\x9\11\11\144\157\x63\x75\x6d\145\156\164\x2e\x62\157\x64\171\x2e\162\145\x6d\x6f\x76\145\103\150\x69\x6c\x64\x28\164\x65\155\x70\x29\x3b\15\xa\11\x9\11\x9\x63\157\x70\x79\145\154\x65\x6d\145\x6e\164\x2e\164\145\x78\164\x43\x6f\x6e\x74\145\x6e\164\x20\75\x20\42\x43\x6f\160\x69\x65\x64\42\73\xd\12\xd\xa\11\x9\x9\11\143\x6f\x70\x79\102\x75\164\x74\157\156\56\141\x64\144\x45\166\145\156\x74\114\x69\163\x74\x65\156\x65\x72\50\x27\155\157\x75\163\x65\157\x75\164\47\54\40\146\x75\x6e\x63\x74\x69\157\156\x28\x29\x20\x7b\xd\12\11\x9\11\x9\x9\143\157\x70\x79\145\x6c\145\155\x65\156\x74\x2e\164\x65\x78\x74\x43\x6f\156\164\x65\x6e\164\40\75\40\x22\x43\157\160\x79\40\164\157\x20\103\x6c\151\x70\142\157\141\x72\x64\x22\73\xd\xa\11\11\11\11\x7d\51\73\xd\xa\x9\11\x9\x7d\15\12\x9\11\x3c\57\x73\143\x72\x69\160\164\76\xd\12\11\11";
$this->load_css();
exit;
}
private function mo_sps_show_success_message_for_test_connection($tt)
{
$cU = wpWrapper::mo_sps_get_option(pluginConstants::APP_CONFIG);
$tt = isset($tt) && !empty($tt) ? $tt : array();
wpWrapper::mo_sps_set_option(pluginConstants::TEST_CONNECTION_STATUS, "\163\x75\x63\x63\x65\163\163");
wpWrapper::mo_sps_set_option(pluginConstants::USER_INFO, $tt);
echo "\74\144\x69\166\40\x63\154\x61\x73\163\x3d\42\x6d\x6f\137\163\160\x73\137\x74\145\x73\x74\x5f\143\x6f\156\x6e\x65\x63\x74\151\x6f\156\x5f\137\x73\165\143\x63\x65\x73\163\42\x3e\15\12\40\40\40\x20\40\40\x20\x20\x20\40\x20\x20\x3c\x64\151\x76\x20\x63\154\x61\x73\x73\75\42\x6d\157\137\163\x70\163\x5f\164\x65\x73\x74\x5f\143\157\156\156\x65\x63\x74\x69\x6f\x6e\x5f\137\x73\165\143\x63\145\163\x73\x2d\x68\145\x61\144\x69\x6e\x67\x22\x3e\15\12\40\40\x20\40\40\40\x20\40\40\x20\40\40\x20\40\40\40\x53\165\x63\x63\x65\x73\163\xd\12\x20\40\40\x20\x20\x20\x20\40\x20\40\40\x20\x3c\57\x64\151\x76\76\xd\xa\x20\x20\40\40\x20\40\x20\x20\40\x20\40\x20\15\xa\40\40\40\x20\x20\40\x20\x20\40\x20\40\x20\74\x64\x69\166\40\163\x74\x79\x6c\145\75\x22\144\x69\163\x70\x6c\x61\x79\72\x62\x6c\x6f\x63\x6b\73\x74\x65\170\164\55\x61\x6c\x69\x67\x6e\x3a\143\145\156\x74\145\162\73\x6d\141\162\x67\x69\156\x2d\x62\x6f\x74\164\x6f\155\x3a\64\x25\x3b\x22\x3e\x3c\163\166\x67\x20\143\x6c\x61\163\x73\x3d\x22\141\x6e\x69\155\x61\x74\x65\x22\x20\167\x69\x64\x74\x68\75\x22\61\60\60\x22\40\150\x65\151\x67\x68\x74\x3d\x22\61\x30\x30\x22\x3e\15\xa\x9\x9\11\11\x3c\x66\151\x6c\164\145\x72\40\151\144\75\42\144\162\x6f\160\163\x68\141\144\x6f\167\42\x20\x68\145\x69\x67\x68\x74\75\x22\42\76\xd\xa\11\11\x9\x9\x20\x20\74\x66\145\107\x61\x75\163\x73\151\x61\x6e\102\x6c\165\162\x20\151\x6e\x3d\42\x53\x6f\165\162\143\145\x41\x6c\160\150\141\42\x20\x73\164\x64\x44\x65\166\x69\x61\164\151\x6f\156\75\x22\x33\42\x20\162\x65\x73\x75\154\164\75\42\142\x6c\165\x72\x22\76\74\x2f\x66\145\107\141\x75\163\163\x69\141\156\x42\x6c\x75\x72\76\15\12\11\x9\11\x9\x20\40\74\146\145\x46\x6c\157\x6f\144\40\146\x6c\x6f\x6f\144\x2d\143\x6f\154\157\x72\x3d\42\162\147\x62\x61\x28\67\x36\x2c\x20\x31\x37\65\54\40\70\60\x2c\40\61\51\x22\x20\146\154\x6f\x6f\x64\55\x6f\x70\141\143\x69\164\171\75\42\60\x2e\x35\x22\x20\162\x65\163\165\x6c\164\75\42\x63\157\x6c\157\x72\42\x3e\74\57\146\x65\x46\x6c\x6f\x6f\x64\x3e\15\xa\x9\x9\x9\x9\40\40\x3c\146\145\103\x6f\x6d\x70\x6f\163\151\x74\x65\x20\151\x6e\x3d\42\x63\x6f\x6c\x6f\162\42\40\151\156\x32\75\x22\142\154\x75\x72\x22\40\157\160\x65\162\141\164\x6f\162\x3d\x22\151\156\42\x20\162\145\x73\165\154\164\x3d\x22\x62\x6c\x75\162\x22\76\74\x2f\x66\x65\x43\157\x6d\160\x6f\x73\x69\164\x65\76\15\xa\x9\11\11\x9\x20\x20\74\x66\x65\x4d\x65\x72\x67\x65\76\x20\15\xa\x9\11\x9\x9\11\74\146\145\115\x65\162\147\145\116\x6f\x64\145\x3e\x3c\57\x66\x65\115\x65\x72\x67\145\x4e\x6f\x64\145\x3e\xd\12\x9\11\x9\11\11\74\146\145\x4d\x65\x72\x67\145\116\x6f\x64\145\40\x69\156\x3d\42\123\157\x75\x72\143\x65\107\162\x61\x70\x68\151\143\42\x3e\x3c\x2f\146\145\x4d\145\x72\x67\145\x4e\157\x64\145\x3e\15\12\x9\x9\11\x9\x20\x20\x3c\x2f\146\x65\115\x65\162\147\x65\x3e\15\xa\11\x9\11\11\x3c\57\146\x69\x6c\164\x65\x72\76\15\12\11\x9\x9\x9\xd\12\x9\11\11\11\74\x63\x69\162\143\154\145\40\143\x78\x3d\x22\65\60\x22\40\x63\x79\x3d\x22\x35\60\42\40\162\x3d\42\x34\66\56\65\42\40\146\151\154\154\x3d\42\156\157\156\145\x22\x20\163\x74\162\x6f\x6b\x65\x3d\42\x72\147\x62\x61\x28\67\x36\x2c\x20\x31\67\65\x2c\40\70\60\54\40\60\56\65\x29\42\x20\163\164\x72\x6f\x6b\x65\x2d\167\x69\x64\x74\150\x3d\42\65\x22\x3e\74\57\x63\151\162\143\154\x65\76\xd\12\x9\11\11\11\15\xa\11\11\11\11\74\160\141\164\150\x20\x64\x3d\42\115\x36\x37\x2c\x39\x33\40\x41\x34\x36\x2e\65\54\x34\66\x2e\x35\x20\x30\x2c\x31\54\x30\40\67\x2c\x33\62\40\x4c\x34\63\x2c\x36\x37\40\x4c\x38\x38\x2c\x31\71\42\40\x66\151\154\154\x3d\x22\156\157\156\145\x22\x20\163\x74\x72\x6f\x6b\x65\75\42\x72\147\142\x61\x28\67\66\54\x20\x31\67\65\x2c\40\70\60\54\x20\61\x29\x22\x20\x73\x74\x72\157\153\145\55\x77\151\144\x74\150\75\x22\65\42\40\163\x74\x72\157\153\x65\55\154\151\156\145\x63\141\160\x3d\42\162\157\165\x6e\x64\x22\x20\x73\164\162\x6f\x6b\145\55\144\x61\163\150\141\x72\162\141\171\75\x22\x38\x30\x20\x31\60\x30\x30\x22\x20\x73\x74\x72\157\x6b\x65\55\144\x61\x73\150\x6f\146\146\x73\145\164\x3d\x22\x2d\x32\62\x30\x22\40\x73\164\171\x6c\145\75\x22\146\x69\x6c\164\145\x72\x3a\165\x72\x6c\50\x23\144\162\x6f\x70\x73\150\x61\144\157\167\x29\x22\x3e\74\x2f\x70\141\164\x68\76\xd\xa\11\11\11\x20\x20\x3c\x2f\163\x76\147\x3e\15\12\11\11\x9\40\x20\x3c\57\144\151\x76\x3e\xd\12\11\x9\x9\x20\40\xd\xa\11\x9\11\x20\40\74\x64\151\x76\x20\x73\164\171\x6c\x65\x3d\x22\x6d\x61\x72\147\151\156\x2d\x62\x6f\x74\x74\x6f\155\x3a\61\x25\x3b\143\x6f\x6c\157\x72\72\x23\x33\143\x37\66\63\x64\73\142\141\143\153\147\162\157\x75\156\x64\55\x63\x6f\154\157\162\72\43\144\x66\x66\x30\x64\x38\x3b\x77\151\x64\x74\150\72\66\60\45\73\42\76\xd\12\40\x20\x20\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\40\x20\40\x3c\144\151\166\40\163\164\x79\x6c\x65\x3d\x22\x63\157\x6c\157\162\72\40\43\63\x63\x37\x36\63\x64\x3b\x62\x61\x63\153\147\x72\x6f\x75\156\x64\55\143\x6f\x6c\x6f\x72\72\x20\43\x64\x66\x66\60\144\70\x3b\160\x61\x64\x64\151\x6e\147\x3a\x20\x32\x25\73\164\x65\170\164\55\141\154\151\x67\x6e\72\40\x63\145\156\164\145\162\73\x62\x6f\x72\144\145\162\x3a\40\x31\160\170\x20\x73\157\154\151\x64\x20\x23\x41\105\x44\x42\71\x41\x3b\146\157\156\x74\x2d\x73\151\172\x65\x3a\40\61\70\160\x74\x3b\x22\x3e\15\12\x20\x20\x20\x20\40\40\40\x20\40\40\x20\40\40\40\x20\x20\x20\x20\x20\40\x20\x20\40\x20\x43\x6f\x6e\x6e\x65\x63\x74\x65\x64\x20\164\157\x20\x79\x6f\165\x72\40\x41\172\165\162\145\x20\x41\104\57\123\150\x61\162\x65\120\157\x69\156\x74\x20\x61\160\x70\x6c\151\143\x61\x74\x69\157\156\x2e\xd\xa\40\40\40\40\40\40\40\x20\40\40\x20\x20\40\x20\40\x20\40\40\40\x20\x3c\x2f\x64\x69\166\76\xd\12\x20\x20\x20\x20\40\x20\40\x20\40\40\40\x20\40\40\40\x20\74\57\144\151\x76\76\xd\xa\40\x20\40\40\x20\x20\40\x20\x20\40\40\40\xd\12\40\40\x20\40\40\x20\40\40\40\x20\40\40\x3c\144\x69\x76\x3e\xd\xa\40\40\40\40\x20\x20\x20\x20\40\x20\40\x20\40\40\40\40\74\x69\x6e\160\x75\x74\x20\x69\x64\x3d\42\160\162\145\x76\151\145\167\x5f\163\150\x61\162\145\160\x6f\x69\x6e\164\x5f\x64\x6f\x63\165\155\x65\x6e\x74\x73\42\40\143\154\x61\x73\x73\75\x22\155\157\137\163\x70\x73\x5f\160\x72\145\x76\151\145\167\x5f\144\x6f\x63\165\155\x65\156\164\137\x62\165\164\x74\x6f\156\42\40\164\171\x70\145\x3d\42\x62\x75\164\x74\x6f\x6e\x22\40\166\141\x6c\165\145\75\42\107\x6f\40\164\x6f\40\x44\x6f\x63\x75\x6d\145\156\x74\x20\x4c\x69\x62\x72\141\x72\171\x20\xe2\236\244\42\x20\157\156\x63\154\x69\x63\153\x3d\x22\147\x6f\124\x6f\x44\157\x63\x75\x6d\145\156\x74\x4c\x69\142\x72\141\162\171\124\141\x62\x28\51\42\x3e\xd\xa\40\40\40\x20\40\x20\x20\x20\40\40\40\x20\74\x2f\144\x69\x76\76";
echo "\74\57\x64\151\x76\x3e";
$this->load_css();
$this->load_script();
die;
}
private function load_css()
{
echo "\x9\x9\74\x73\164\x79\154\x65\76\15\12\xd\xa\x20\40\40\40\x20\40\40\40\x20\40\x20\40\x2e\155\157\x5f\x73\x70\163\137\x70\162\x65\166\x69\x65\x77\x5f\x64\x6f\x63\165\x6d\145\x6e\x74\137\142\165\164\164\x6f\x6e\x20\x7b\15\12\x20\x20\x20\40\40\x20\40\40\40\x20\x20\x20\40\x20\x20\x20\144\x69\163\160\154\141\171\x3a\40\151\x6e\x6c\151\156\145\55\142\x6c\x6f\x63\x6b\73\xd\xa\x20\40\40\x20\40\40\x20\40\40\x20\40\40\x20\40\40\40\x70\141\x64\x64\x69\x6e\147\72\x20\x31\61\x70\170\40\x32\x31\160\170\73\xd\xa\x20\40\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\40\40\x20\x20\142\x61\143\153\147\x72\157\165\156\x64\55\143\x6f\x6c\157\x72\72\x20\x23\x31\x42\71\102\x41\61\73\xd\xa\x20\40\40\40\40\x20\40\x20\x20\40\x20\40\40\40\x20\40\143\x6f\154\157\162\x3a\x20\167\150\151\164\x65\73\15\12\x20\x20\x20\40\x20\x20\40\40\40\40\x20\x20\x20\x20\x20\x20\142\x6f\x72\144\x65\x72\x3a\40\x6e\157\x6e\x65\x3b\xd\12\x20\40\40\x20\40\40\x20\x20\x20\40\40\x20\x20\x20\40\40\142\157\162\144\x65\162\x2d\162\x61\144\x69\x75\163\x3a\x20\x35\x70\x78\x3b\xd\xa\x20\x20\40\x20\40\40\40\x20\40\x20\x20\x20\40\x20\40\40\164\x65\170\164\x2d\144\145\143\x6f\162\141\x74\151\x6f\156\72\x20\x6e\157\x6e\x65\73\xd\12\x20\x20\x20\40\40\40\40\40\x20\x20\x20\x20\40\x20\40\40\146\x6f\x6e\164\x2d\x77\145\151\147\x68\x74\72\x20\x62\x6f\x6c\x64\x3b\xd\xa\x20\40\40\x20\x20\40\x20\40\40\40\40\x20\40\40\40\40\x66\157\x6e\x74\x2d\x73\x69\x7a\145\72\x20\61\64\160\x78\73\15\12\40\x20\x20\x20\x20\40\x20\x20\40\x20\x20\40\40\x20\x20\x20\x63\x75\x72\x73\x6f\x72\x3a\40\x70\157\x69\x6e\x74\x65\162\73\15\xa\x20\x20\x20\x20\40\40\x20\40\x20\x20\40\40\40\x20\40\40\155\x61\162\x67\x69\156\x2d\164\x6f\x70\72\40\67\160\x78\73\xd\12\40\x20\x20\x20\40\x20\x20\40\x20\40\40\x20\175\xd\12\xd\12\11\11\x9\56\x6d\157\137\163\x70\x73\137\x74\x65\163\164\137\143\157\156\156\145\143\164\x69\x6f\156\137\x5f\x65\162\x72\157\162\40\x7b\15\12\x9\x9\x9\11\x77\x69\x64\164\150\x3a\40\61\60\x30\x25\73\xd\12\x9\11\x9\11\144\x69\x73\x70\154\x61\x79\72\40\146\x6c\x65\170\73\xd\12\x9\x9\11\x9\x66\154\145\x78\x2d\x64\x69\162\x65\x63\164\151\x6f\156\x3a\x20\143\157\154\165\x6d\156\x3b\15\12\11\x9\11\x9\x6a\165\x73\x74\151\146\x79\x2d\x63\x6f\156\x74\145\x6e\164\72\x20\143\145\x6e\x74\145\162\73\15\xa\11\x9\11\11\141\x6c\x69\147\156\x2d\151\x74\x65\155\x73\x3a\x20\x63\145\156\164\145\162\x3b\15\xa\11\11\11\11\146\x6f\156\x74\x2d\x73\151\x7a\145\x3a\40\x31\65\160\170\73\xd\12\11\x9\11\x9\x6d\141\162\147\x69\156\x2d\164\x6f\x70\72\x20\61\60\160\x78\x3b\xd\xa\11\11\11\x9\167\151\x64\x74\150\72\x20\x31\x30\60\x25\73\15\xa\11\x9\x9\x7d\15\12\15\12\11\x9\x9\56\x6d\x6f\x5f\163\160\163\137\164\x65\163\164\x5f\143\x6f\x6e\x6e\145\143\x74\151\x6f\156\x5f\137\x65\x72\162\x6f\x72\x2d\150\145\141\144\x69\156\x67\40\173\xd\xa\11\11\11\11\x77\151\x64\164\150\x3a\x20\x38\66\45\73\xd\12\x9\x9\11\11\160\141\x64\144\x69\x6e\147\x3a\40\x31\65\x70\170\x3b\xd\12\x9\11\11\11\x74\145\x78\x74\x2d\x61\x6c\x69\147\x6e\72\40\143\145\x6e\164\145\x72\73\xd\12\x9\11\x9\x9\x62\141\143\x6b\147\162\157\165\156\144\x2d\143\157\x6c\x6f\x72\x3a\x20\43\x66\x32\144\x65\144\145\x3b\xd\xa\x9\x9\11\11\x63\157\154\157\162\72\40\43\141\x39\x34\x34\64\62\73\xd\xa\11\11\11\11\142\x6f\x72\x64\x65\162\72\x20\x31\160\170\x20\163\x6f\154\151\x64\x20\43\105\x36\102\63\102\62\x3b\xd\xa\11\x9\x9\x9\146\157\x6e\164\x2d\163\151\x7a\x65\72\x20\61\x38\x70\x74\x3b\15\12\x9\x9\x9\x9\155\141\x72\x67\151\x6e\55\142\x6f\164\164\x6f\155\72\40\62\60\x70\170\73\xd\12\x9\11\11\175\15\12\xd\xa\11\11\x9\x2e\155\157\x5f\163\x70\x73\x5f\164\x65\x73\164\137\x63\157\x6e\156\x65\143\164\151\x6f\x6e\x5f\137\145\162\x72\157\162\x2d\164\141\142\154\145\110\145\x61\x64\x69\156\147\x20\x7b\xd\12\x9\11\11\x9\160\141\144\144\x69\x6e\147\72\40\x33\x30\160\170\x20\65\x70\170\40\63\x30\160\x78\x20\65\160\x78\x3b\15\12\x9\x9\11\11\142\157\x72\144\x65\x72\x3a\x20\61\160\170\40\163\157\154\151\144\x20\43\67\x35\67\x35\x37\x35\73\15\xa\x9\11\x9\175\15\xa\xd\xa\11\x9\x9\56\x6d\x6f\137\x73\160\x73\137\x74\x65\x73\x74\x5f\143\x6f\x6e\156\x65\143\x74\151\157\x6e\x5f\137\145\162\x72\157\162\x2d\164\141\x62\154\x65\55\143\x6f\x6c\153\145\171\x20\173\15\12\11\x9\11\x9\x70\x61\144\x64\151\156\x67\72\x20\x33\x30\x70\x78\40\65\160\x78\x20\x33\60\x70\170\x20\65\160\170\73\xd\xa\11\x9\x9\x9\142\157\162\x64\x65\x72\x3a\40\x31\x70\x78\40\163\157\x6c\x69\x64\x20\43\x37\x35\67\x35\x37\x35\x3b\xd\xa\11\11\x9\175\xd\xa\15\12\11\x9\x9\56\155\x6f\x5f\x73\x70\x73\137\164\x65\x73\164\x5f\143\x6f\156\156\x65\143\164\151\x6f\x6e\x5f\x5f\145\162\x72\x6f\x72\55\164\141\x62\154\145\55\143\157\x6c\x76\x61\154\x75\145\x20\173\15\12\x9\11\11\11\x70\141\144\x64\x69\156\147\72\40\x33\x30\160\170\x20\65\x70\170\x20\x33\x30\x70\x78\40\65\160\x78\x3b\xd\12\11\11\11\x9\142\x6f\162\x64\x65\x72\x3a\40\61\x70\170\40\x73\x6f\x6c\151\x64\x20\x23\x37\x35\67\65\x37\x35\x3b\xd\12\x9\x9\11\x7d\15\xa\xd\xa\11\x9\11\x2e\155\157\137\163\x70\x73\137\x74\145\x73\164\137\143\157\x6e\x6e\145\x63\164\151\157\156\x5f\137\x73\165\x63\143\x65\163\x73\40\173\xd\12\11\11\11\x9\144\x69\x73\160\154\141\x79\x3a\40\x66\x6c\145\170\x3b\xd\xa\11\x9\11\11\x6a\165\x73\164\151\x66\x79\55\x63\x6f\156\x74\145\156\x74\72\x20\143\145\156\164\145\x72\73\15\12\11\11\x9\11\141\x6c\151\147\x6e\55\x69\164\145\155\163\72\x20\x63\x65\x6e\164\145\162\73\15\xa\x9\x9\11\11\x66\x6c\145\x78\55\x64\151\x72\145\x63\164\x69\x6f\x6e\72\x20\x63\157\x6c\165\155\156\x3b\15\xa\x9\x9\x9\x9\142\x6f\162\144\145\x72\72\40\x31\x70\170\40\x73\157\x6c\x69\144\40\43\145\x65\x65\73\15\12\11\11\11\x9\160\141\144\144\x69\156\147\72\40\x31\x30\x70\170\x3b\15\12\11\x9\x9\x7d\xd\12\xd\12\11\11\11\x2e\155\157\x5f\x73\160\x73\x5f\164\x65\163\x74\x5f\143\157\x6e\x6e\x65\x63\x74\151\x6f\156\x5f\x5f\x73\x75\143\x63\145\163\x73\x2d\x68\x65\141\144\x69\156\147\x20\173\15\12\x9\11\11\11\x77\x69\144\164\x68\x3a\40\71\x30\x25\x3b\15\12\11\x9\x9\x9\143\x6f\x6c\x6f\162\72\x20\43\63\x63\x37\66\63\144\73\15\12\11\x9\11\x9\x62\141\143\x6b\x67\162\157\x75\156\x64\x2d\x63\157\x6c\157\x72\72\40\x23\x64\x66\x66\60\144\70\x3b\xd\12\x9\11\x9\11\160\141\x64\x64\x69\156\147\x3a\x20\62\45\x3b\15\xa\11\11\11\11\155\141\162\x67\151\156\55\142\x6f\x74\164\x6f\155\72\40\x32\60\160\170\x3b\15\xa\x9\x9\x9\x9\x74\145\x78\x74\55\x61\154\151\147\x6e\72\40\x63\x65\156\x74\x65\162\x3b\15\12\x9\x9\x9\x9\142\157\x72\144\145\162\x3a\x20\61\x70\x78\40\x73\157\x6c\151\x64\x20\x23\101\105\104\x42\x39\x41\73\xd\12\11\x9\11\x9\146\x6f\156\x74\55\163\151\x7a\145\72\40\x31\x38\160\x74\73\xd\12\x9\11\11\x7d\15\12\xd\xa\x9\11\11\56\x6d\157\x2d\155\163\x2d\x74\141\142\55\143\x6f\x6e\x74\145\x6e\x74\x2d\141\x70\x70\x2d\x63\157\x6e\x66\151\x67\x2d\164\141\142\154\145\40\173\15\12\11\x9\11\x9\155\141\170\55\167\151\x64\x74\x68\x3a\x20\61\60\60\x30\160\170\73\xd\xa\x9\11\11\x9\142\141\143\153\147\162\157\x75\x6e\x64\72\40\x77\x68\151\x74\x65\73\15\xa\11\11\x9\11\x70\x61\144\x64\151\156\147\x3a\40\x31\x65\x6d\40\x32\x65\155\73\xd\12\11\x9\11\x9\x6d\x61\x72\x67\151\156\72\40\62\x65\155\x20\x61\x75\x74\x6f\73\15\12\11\x9\11\11\x62\x6f\162\x64\x65\x72\55\143\x6f\x6c\154\141\x70\x73\145\x3a\x20\x63\x6f\154\154\x61\160\x73\145\x3b\xd\xa\11\11\x9\11\x62\x6f\x72\144\x65\162\x2d\x73\160\141\143\x69\156\x67\x3a\40\x30\x3b\xd\12\11\11\11\11\144\151\x73\160\x6c\141\x79\x3a\40\164\141\142\x6c\x65\73\15\12\x9\11\11\x9\146\157\x6e\x74\x2d\x73\151\x7a\x65\72\x20\61\x34\160\x74\x3b\xd\xa\11\x9\11\175\xd\xa\15\12\x9\x9\x9\x2e\x6d\157\55\155\x73\x2d\164\141\142\x2d\x63\x6f\x6e\164\x65\x6e\164\55\141\160\x70\x2d\x63\x6f\156\146\x69\147\55\164\141\142\x6c\145\40\164\144\56\x6c\145\146\164\x2d\x64\151\x76\40\173\xd\xa\11\x9\11\11\167\x69\x64\164\150\x3a\x20\64\60\x25\x3b\xd\xa\11\11\x9\11\x77\x6f\x72\144\x2d\x62\162\145\141\x6b\x3a\40\x62\x72\x65\x61\153\55\x61\x6c\154\73\15\xa\11\x9\x9\x9\x66\x6f\x6e\164\55\x77\x65\151\147\150\164\72\x20\142\x6f\x6c\x64\73\xd\12\x9\x9\11\11\142\x6f\162\144\145\x72\72\x20\62\x70\170\40\163\x6f\154\151\144\x20\x23\x39\64\71\60\x39\x30\73\xd\xa\11\11\11\x9\160\141\x64\144\x69\156\147\x3a\x20\62\45\73\xd\12\x9\11\11\175\xd\xa\xd\xa\x9\11\x9\56\x6d\x6f\x2d\x6d\x73\55\164\x61\142\x2d\143\x6f\x6e\x74\x65\156\164\x2d\141\x70\160\x2d\143\157\x6e\x66\x69\147\55\x74\141\x62\154\x65\x20\164\x64\56\x72\151\x67\150\164\55\x64\x69\x76\40\x7b\15\12\x9\11\11\x9\x77\151\144\x74\150\x3a\x20\64\x30\x25\73\xd\12\x9\11\x9\11\167\x6f\x72\x64\x2d\142\x72\145\141\x6b\72\40\x62\162\145\x61\x6b\x2d\x61\154\154\73\xd\xa\x9\11\x9\11\160\x61\144\144\151\x6e\x67\x3a\x20\62\x25\73\15\12\x9\11\11\11\x62\x6f\162\x64\145\162\72\40\62\x70\170\40\163\x6f\x6c\x69\144\40\43\71\x34\x39\x30\x39\x30\x3b\xd\12\x9\11\11\11\167\157\x72\144\x2d\x77\162\141\x70\x3a\40\x62\x72\x65\x61\x6b\x2d\x77\x6f\162\x64\73\15\xa\x9\11\x9\175\15\12\x20\x20\x20\x20\x20\x20\40\40\x20\40\x20\40\x2e\x63\x6f\x70\171\164\x6f\157\154\x74\151\x70\x20\x7b\xd\xa\x9\11\x9\11\x70\157\163\151\164\x69\157\x6e\x3a\40\162\145\x6c\141\x74\x69\166\x65\x3b\xd\12\x9\x9\x9\11\x64\151\163\x70\x6c\x61\171\x3a\x20\151\x6e\154\151\x6e\145\55\x62\x6c\x6f\143\153\x3b\15\xa\x9\11\x9\11\x73\x69\x7a\145\x3a\x20\154\x65\x74\164\x65\x72\15\12\x9\11\11\175\15\12\xd\xa\11\11\11\x2e\x63\157\x70\171\164\x6f\x6f\x6c\x74\151\x70\x20\x2e\x63\157\160\171\164\x6f\x6f\154\x74\151\x70\164\x65\x78\164\40\x7b\15\12\11\11\x9\11\x76\x69\163\x69\x62\x69\x6c\151\164\x79\x3a\40\x68\x69\x64\144\x65\x6e\x3b\15\12\11\11\x9\11\167\151\144\164\x68\72\40\x31\x31\65\x70\x78\x3b\15\xa\11\11\11\x9\142\x61\x63\x6b\147\162\157\x75\156\144\55\x63\157\x6c\157\162\x3a\40\x72\x67\x62\141\x28\64\x2c\x20\x34\54\40\64\54\40\60\56\67\x35\x32\x29\73\xd\xa\x9\11\11\11\143\x6f\154\157\162\72\x20\x23\146\x66\x66\x3b\xd\12\11\11\x9\11\164\145\170\164\x2d\141\154\151\x67\x6e\72\40\x63\x65\x6e\x74\145\162\x3b\xd\xa\x9\x9\11\11\x70\x61\x64\144\151\156\x67\x3a\x20\x32\160\170\40\70\x70\170\x3b\xd\xa\11\x9\x9\x9\x62\x6f\x72\144\x65\162\x2d\x72\x61\144\x69\165\163\x3a\40\66\x70\x78\73\15\12\x9\x9\x9\11\146\157\156\164\55\x73\x69\172\145\x3a\x20\x31\x32\160\x78\x3b\xd\12\x9\x9\x9\11\160\157\163\x69\x74\x69\157\x6e\72\x20\x61\x62\x73\157\154\165\164\145\x3b\xd\xa\x9\11\11\11\172\x2d\x69\x6e\x64\145\170\72\x20\x31\x3b\15\xa\x9\x9\x9\x9\x62\x6f\164\x74\157\155\x3a\x20\x31\x30\x32\45\73\15\xa\11\x9\x9\11\x6c\145\x66\164\72\x20\x2d\x31\64\x35\x25\x3b\15\xa\11\x9\x9\11\155\x61\x72\x67\x69\x6e\x2d\154\x65\x66\x74\72\40\x30\160\x78\x3b\15\xa\11\11\11\x9\146\x6f\x6e\164\x2d\163\151\172\145\x3a\x20\x73\x6d\141\x6c\154\73\15\12\11\x9\11\x9\x6f\x70\141\143\x69\x74\171\x3a\x20\65\60\x3b\15\12\x9\11\11\11\164\162\x61\156\x73\151\x74\151\x6f\x6e\72\x20\x6f\x70\141\143\151\x74\171\40\x2e\x33\x73\73\xd\12\x9\x9\x9\175\15\12\xd\12\11\11\x9\56\143\157\x70\x79\164\x6f\157\x6c\x74\x69\160\40\56\143\x6f\x70\171\164\x6f\157\154\x74\x69\x70\x74\145\x78\164\x3a\x3a\141\146\x74\145\x72\40\x7b\15\12\11\11\11\x9\x63\157\x6e\x74\145\x6e\x74\x3a\40\x22\x22\x3b\15\12\11\x9\11\11\x70\157\163\151\164\x69\x6f\x6e\x3a\x20\x61\x62\163\157\154\x75\164\x65\73\15\12\11\11\11\x9\164\x6f\x70\72\40\x31\x30\60\x25\x3b\15\xa\11\11\11\11\154\x65\x66\164\72\40\65\x30\x25\x3b\15\xa\11\11\x9\11\155\141\x72\147\151\156\x2d\x6c\145\x66\164\x3a\x20\x2d\65\x70\x78\x3b\xd\12\11\11\x9\x9\142\157\x72\144\145\162\55\x77\x69\144\x74\x68\x3a\x20\65\x70\170\x3b\15\12\x9\x9\11\11\142\x6f\x72\144\145\162\55\163\x74\x79\154\145\x3a\x20\x73\157\154\151\x64\x3b\15\xa\x9\x9\x9\11\x62\x6f\x72\144\145\x72\x2d\143\157\154\x6f\x72\x3a\x20\43\65\x35\x35\x20\164\x72\x61\156\163\160\141\x72\x65\x6e\164\x20\164\162\x61\156\x73\x70\141\162\x65\156\164\40\x74\162\141\156\163\x70\141\x72\x65\156\164\15\xa\x9\11\11\x7d\15\12\40\x20\x20\40\40\40\40\40\40\40\x20\40\56\143\157\x70\171\x74\x6f\x6f\x6c\x74\151\160\x3a\150\157\x76\145\162\40\x2e\143\157\x70\x79\164\x6f\157\154\x74\151\160\x74\145\x78\164\x20\173\xd\xa\x9\11\x9\11\x76\x69\163\151\x62\151\x6c\151\164\171\x3a\x20\x76\x69\x73\151\142\x6c\145\73\15\xa\x9\11\11\x9\x6f\160\x61\143\x69\x74\x79\x3a\40\x31\xd\xa\11\11\x9\175\xd\xa\15\xa\x20\x20\40\40\x20\40\x20\40\40\40\40\x20\163\x76\147\x2e\141\156\x69\x6d\x61\164\145\40\x70\141\x74\150\40\173\15\12\40\40\40\x20\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\40\141\x6e\151\155\x61\164\151\157\x6e\x3a\x20\144\141\x73\x68\40\x31\56\65\163\40\154\151\156\145\141\x72\40\x62\157\x74\x68\73\15\xa\x20\40\40\40\x20\40\40\x20\40\40\40\x20\x20\x20\x20\x20\x61\x6e\x69\x6d\141\164\151\x6f\x6e\x2d\x64\x65\154\x61\x79\72\40\x31\x73\73\xd\xa\40\40\x20\40\40\x20\x20\x20\40\x20\x20\x20\175\15\12\x20\x20\x20\40\x20\40\40\40\x20\x20\40\x20\100\153\x65\171\x66\162\x61\x6d\x65\163\x20\144\x61\x73\x68\40\173\15\12\x20\x20\40\x20\x20\40\40\x20\x20\x20\x20\x20\40\40\x20\x20\60\x25\x20\173\x20\163\164\x72\x6f\x6b\145\55\144\141\x73\x68\x6f\x66\146\163\145\164\x3a\x20\62\61\x30\73\x20\175\xd\12\x20\40\x20\40\40\x20\x20\x20\40\40\40\40\40\x20\x20\x20\x37\x35\45\40\x7b\40\163\164\x72\x6f\x6b\x65\55\144\141\x73\x68\x6f\146\x66\163\x65\x74\x3a\x20\55\x32\62\x30\73\x20\175\xd\12\x20\x20\x20\40\40\40\40\40\x20\40\40\x20\x20\x20\x20\x20\61\x30\60\x25\x20\173\40\x73\x74\162\157\153\x65\x2d\144\x61\163\x68\157\146\146\163\x65\x74\x3a\40\x2d\x32\x30\65\x3b\40\x7d\xd\xa\40\x20\40\40\40\x20\x20\40\40\40\40\40\175\xd\xa\15\xa\11\x9\x3c\x2f\163\x74\x79\154\145\76\xd\xa\15\xa\15\12\x9\11";
}
private function load_script()
{
echo "\x20\x20\x20\x20\x20\40\x20\x20\74\163\x63\x72\151\160\x74\x3e\xd\12\40\40\x20\x20\40\40\x20\40\40\40\40\x20\x66\x75\156\143\x74\x69\157\156\x20\x67\157\x54\157\x44\157\x63\165\155\x65\156\164\x4c\x69\142\162\141\x72\171\x54\x61\x62\x28\51\173\15\12\40\40\x20\x20\40\x20\40\x20\x20\40\x20\x20\40\x20\40\x20\x76\x61\x72\40\x68\162\x65\x66\40\x3d\40\154\157\143\x61\164\x69\x6f\156\56\x68\x72\145\146\x3b\15\12\40\x20\40\40\40\x20\x20\40\40\40\40\x20\x20\x20\40\x20\166\141\162\40\x75\162\154\40\x3d\x20\x68\162\145\x66\x2e\163\160\154\151\164\x28\x27\77\47\51\x5b\60\x5d\x2b\47\x3f\x70\x61\x67\x65\x3d\x6d\x6f\137\163\160\163\x26\164\141\x62\75\144\157\143\x5f\154\151\142\x27\x3b\xd\xa\x20\40\40\x20\40\x20\x20\40\40\x20\40\x20\x20\40\40\40\167\151\156\144\157\x77\x2e\157\160\145\x6e\x65\x72\x2e\154\x6f\x63\141\x74\151\157\156\56\150\x72\145\146\40\75\x20\165\162\154\xd\12\xd\12\x20\x20\40\x20\x20\x20\40\40\40\x20\40\40\x20\40\40\40\163\x65\x74\x54\151\155\145\x6f\165\164\x28\143\154\x6f\x73\145\x57\151\156\x64\157\167\54\40\x35\60\x30\51\73\x20\x2f\57\40\104\145\154\x61\x79\x20\x66\x6f\x72\40\x30\56\65\x20\163\x65\x63\x6f\156\144\xd\12\15\12\40\x20\40\40\x20\x20\x20\40\40\40\40\40\40\x20\40\x20\146\x75\156\143\x74\x69\157\156\x20\x63\154\x6f\x73\145\x57\151\x6e\x64\x6f\167\x28\x29\x7b\xd\xa\40\x20\x20\x20\x20\40\40\40\x20\x20\x20\40\40\x20\x20\x20\40\40\x20\x20\x77\151\156\144\x6f\x77\56\143\x6c\157\163\145\50\x29\73\15\12\x20\40\x20\x20\40\x20\x20\40\x20\40\x20\40\40\x20\40\40\x7d\15\xa\x20\40\x20\x20\x20\x20\40\40\x20\40\40\40\175\15\xa\x20\40\40\40\40\x20\40\40\x3c\57\163\143\162\x69\160\x74\76\15\xa\x20\x20\40\x20\x20\40\x20\40";
}
}
Function Calls
None |
Stats
MD5 | 610b9d3b6e28c5e6acb3fdefe5302b09 |
Eval Count | 0 |
Decode Time | 68 ms |