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 if (session_status() == PHP_SESSION_NONE) { session_start(); } require_once(bas..
Decoded Output download
<?php if (session_status() == PHP_SESSION_NONE) {
session_start();
}
require_once(base64_decode('Li9mdW5jdGlvbnMvZnVuY3Rpb25zLnBocA=='));
require_once(base64_decode('Li9pbmMvZGJjb25uZWN0aW9uLnBocA=='));
include_once base64_decode('Li92ZW5kb3IvYXV0b2xvYWQucGhw'); ?>
<?php $p0 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
$h2 = $_SESSION[base64_decode('Y29tcGFueWlk')];
$z3 = $_SESSION[base64_decode('dGVhbWlk')];
$q4 = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($q4);
$j6 = getLanguageCode($y5);
if (isset($_SESSION[base64_decode('QWN0aXZl')])) {
$l7 = $_SESSION[base64_decode('QWN0aXZl')];
if ($l7 == base64_decode('MA==')) {
$_SESSION[base64_decode('bG9nZ2VkaW4=')] = false;
header(base64_decode('bG9jYXRpb246IGxvZ2luLnBocA=='));
exit;
}
} else {
$_SESSION[base64_decode('bG9nZ2VkaW4=')] = false;
header(base64_decode('bG9jYXRpb246IGxvZ2luLnBocA=='));
exit;
} ?>
<?php if (isset($_POST[base64_decode('dGFza2lk')])) {
$l8 = $_POST[base64_decode('dGFza2lk')];
$r9 = date(base64_decode('WS1tLWQgSDppOnM='));
$oa = base64_decode('VVBEQVRFIHRhc2tzbGlzdA0KICAgICAgICAgIFNFVCB0b2RvID0gJ25vJywgZG9pbmcgPSAnbm8nLCBkb25lID0gJ25vJywgQmFza2V0ID0gJ3llcycsIERhdGVTb2x2ZWQgPSA/DQogICAgICAgICAgV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c2k='), $r9, $l8);
mysqli_stmt_execute($sb);
mysqli_stmt_close($sb);
} else {
errorlog(base64_decode('UHJlcGFyZSBzdGF0ZW1lbnQgZXJyb3I6IA==') . mysqli_error($zc), base64_decode('dGFza2lk'));
}
}
if (isset($_GET[base64_decode('Z2V0Q0lTSW5DSVRhYmxl')])) {
if (in_array(base64_decode('MTAwMDE0'), $p0) || in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$df = $_GET[base64_decode('Q0lUYWJsZU5hbWU=')];
$m10 = getCITypeIDFromTableName($df);
$r11 = getShowInRelationFields($m10);
$h12 = implode(base64_decode('LA=='), $r11);
$oa = "SELECT $df.ID, $df.$h12
FROM $df
WHERE Active = 1";
try {
$d13 = mysqli_query($zc, $oa);
if ($d13 === FALSE) {
throw new Exception(base64_decode('VGhlIHF1ZXJ5IGZvciBnZXR0aW5nIENJcyBkaWQgbm90IHN1Y2NlZWQ='));
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$fe[] = array(base64_decode('SUQ=') => $l14[0], base64_decode('RmllbGROYW1l') => "$l14[1]");
}
echo json_encode($fe, JSON_PRETTY_PRINT);
}
} catch (Exception $s15) {
$fe[] = array(base64_decode('ZXJyb3I=') => "$s15");
echo json_encode($fe, JSON_PRETTY_PRINT);
return;
}
}
if (isset($_GET[base64_decode('Z2V0RWxlbWVudHNJbklUU01UYWJsZQ==')])) {
$i16 = $_GET[base64_decode('SVRTTVRhYmxlTmFtZQ==')];
$k17 = getITSMTypeIDFromTableName($i16);
$t18 = getITSMTypeName($k17);
$r11 = getITSMShowInRelationFields($k17);
$h12 = implode(base64_decode('LA=='), $r11);
$h19 = getITSMActiveStatusCodes($k17);
$h19 = implode(base64_decode('LA=='), $h19);
$oa = "SELECT $i16.ID, $i16.$h12
FROM $i16
WHERE Status IN ($h19)
ORDER BY ID ASC";
$d13 = mysqli_query($zc, $oa);
if ($d13) {
$fe = [];
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $t18 . base64_decode('IA==') . $l14[0] . base64_decode('OiA=') . $l14[1];
$fe[] = array(base64_decode('SUQ=') => $l14[0], base64_decode('RmllbGROYW1l') => $m1a);
}
mysqli_free_result($d13);
echo json_encode($fe, JSON_PRETTY_PRINT);
} else {
error_log(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
echo json_encode([], JSON_PRETTY_PRINT);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTVRlbXBsYXRlcw==')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$k17 = $_GET[base64_decode('aXRzbXR5cGVpZA==')];
$fe = [];
$m1b = '';
$oa = base64_decode('U0VMRUNUIGl0c21fdGVtcGxhdGVzLklELCBpdHNtX3RlbXBsYXRlcy5EZXNjcmlwdGlvbiwgaXRzbV90ZW1wbGF0ZXMuUHVibGljLCBpdHNtX3RlbXBsYXRlcy5SZWxhdGVkRm9ybUlEDQogICAgICAgICAgRlJPTSBpdHNtX3RlbXBsYXRlcw0KICAgICAgICAgIFdIRVJFIChPd25lciA9ID8gT1IgUHVibGljID0gMSkgQU5EIGl0c21fdGVtcGxhdGVzLlJlbGF0ZWRNb2R1bGUgPSA/DQogICAgICAgICAgT1JERVIgQlkgRGVzY3JpcHRpb24gQVND');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $q4, $k17);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
while ($l14 = mysqli_fetch_array($d13)) {
$s1c = $l14[base64_decode('UHVibGlj')];
$q1d = $l14[base64_decode('UmVsYXRlZEZvcm1JRA==')];
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')] . ($s1c == base64_decode('MQ==') ? base64_decode('IChQdWJsaWMp') : base64_decode('IChQcml2YXRlKQ=='));
$fe[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('RGVzY3JpcHRpb24=') => $f1e, base64_decode('Rm9ybUlE') => $q1d);
}
mysqli_free_result($d13);
if (empty($fe)) {
echo json_encode([]);
} else {
echo json_encode($fe, JSON_PRETTY_PRINT);
}
} else {
$m1b = base64_decode('UXVlcnkgZXhlY3V0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTVRlbXBsYXRlcw=='));
echo json_encode([base64_decode('ZXJyb3I=') => $m1b]);
}
mysqli_stmt_close($sb);
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTVRlbXBsYXRlcw=='));
echo json_encode([base64_decode('ZXJyb3I=') => $m1b]);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lQYXJlbnRSZWxhdGlvbnM=')])) {
if (in_array(base64_decode('MTAwMDE0'), $p0) || in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1f = $_POST[base64_decode('Q0lJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
$v20 = base64_decode('MQ==');
}
$oa = base64_decode('U0VMRUNUIElELCBDSVRhYmxlMSwgQ0lUYWJsZTIsIENJMUlELCBDSTJJRA0KICAgICAgICAgIEZST00gY21kYl9jaV9yZWxhdGlvbnMNCiAgICAgICAgICBXSEVSRSBDSVRhYmxlMiA9ID8gQU5EIENJMklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c2k='), $df, $q1f);
$sb->execute();
$d13 = $sb->get_result();
$w21 = 1;
while ($l14 = mysqli_fetch_array($d13)) {
$d22 = $l14[base64_decode('SUQ=')];
$d23 = $l14[base64_decode('Q0lUYWJsZTE=')];
$a24 = $l14[base64_decode('Q0kxSUQ=')];
$t25 = $l14[base64_decode('Q0lUYWJsZTI=')];
$i26 = $l14[base64_decode('Q0kySUQ=')];
$t27 = getStatusOfCI($d23, $a24);
$j28 = getStatusOfCI($t25, $i26);
if ($t27 == base64_decode('MA==') || $j28 == base64_decode('MA==')) {
} else {
$i29[] = array(base64_decode('UmVsYXRpb25JRA==') => $d22, base64_decode('Q0lUYWJsZTE=') => $d23, base64_decode('Q0kxSUQ=') => $a24, base64_decode('Q0lUYWJsZTI=') => $t25, base64_decode('Q0kySUQ=') => $i26);
}
}
foreach ($i29 as $r2a) {
$d22 = $r2a[base64_decode('UmVsYXRpb25JRA==')];
$y2b = $r2a[base64_decode('Q0lUYWJsZTE=')];
$a24 = $r2a[base64_decode('Q0kxSUQ=')];
$j2c = $r2a[base64_decode('Q0lUYWJsZTI=')];
$n2d = $r2a[base64_decode('Q0kySUQ=')];
$q2e = getCINameFromTableName($y2b);
$h2f = getCITypeIDFromTableName($y2b);
$m1a = getShowInRelationFields($h2f);
$l30 = implode('', $m1a);
$f31 = getCIFieldValue($a24, $l30, $y2b);
if ($v20 == base64_decode('MQ==')) {
$g32 = base64_decode('Jm5ic3A7Jm5ic3A7Jm5ic3A7PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRlIHJlbGF0aW9u')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteRelCIRel($d22);\"><i class=\"fa fa-trash\"></i></span></a>";
} else {
$g32 = '';
}
$b33 = "<a href=\"javascript:runModalViewCI('$a24','$h2f','0');\">$f31</a>$g32<br>";
$q34[] = array(base64_decode('SUQ=') => $w21, base64_decode('VHlwZQ==') => $q2e, '' => $b33);
$w21 = ($w21 + 1);
}
if (!empty($q34)) {
asort($q34);
echo json_encode($q34, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lDaGlsZFJlbGF0aW9ucw==')])) {
if (in_array(base64_decode('MTAwMDE0'), $p0) || in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1f = $_POST[base64_decode('Q0lJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
$v20 = base64_decode('MQ==');
}
$oa = base64_decode('U0VMRUNUIElELCBDSVRhYmxlMSwgQ0lUYWJsZTIsIENJMUlELCBDSTJJRA0KICAgICAgICAgIEZST00gY21kYl9jaV9yZWxhdGlvbnMNCiAgICAgICAgICBXSEVSRSBDSVRhYmxlMSA9ID8gQU5EIENJMUlEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c2k='), $df, $q1f);
$sb->execute();
$d13 = $sb->get_result();
$w21 = 1;
while ($l14 = mysqli_fetch_array($d13)) {
$d22 = $l14[base64_decode('SUQ=')];
$d23 = $l14[base64_decode('Q0lUYWJsZTE=')];
$a24 = $l14[base64_decode('Q0kxSUQ=')];
$t25 = $l14[base64_decode('Q0lUYWJsZTI=')];
$i26 = $l14[base64_decode('Q0kySUQ=')];
$t27 = getStatusOfCI($d23, $a24);
$j28 = getStatusOfCI($t25, $i26);
if ($t27 == base64_decode('MA==') || $j28 == base64_decode('MA==')) {
} else {
$i29[] = array(base64_decode('UmVsYXRpb25JRA==') => $d22, base64_decode('Q0lUYWJsZTE=') => $d23, base64_decode('Q0kxSUQ=') => $a24, base64_decode('Q0lUYWJsZTI=') => $t25, base64_decode('Q0kySUQ=') => $i26);
}
}
foreach ($i29 as $r2a) {
$d22 = $r2a[base64_decode('UmVsYXRpb25JRA==')];
$y2b = $r2a[base64_decode('Q0lUYWJsZTE=')];
$a24 = $r2a[base64_decode('Q0kxSUQ=')];
$j2c = $r2a[base64_decode('Q0lUYWJsZTI=')];
$i26 = $r2a[base64_decode('Q0kySUQ=')];
$q2e = getCINameFromTableName($j2c);
$h2f = getCITypeIDFromTableName($j2c);
$m1a = getShowInRelationFields($h2f);
$l30 = implode('', $m1a);
$f31 = getCIFieldValue($i26, $l30, $j2c);
if ($v20 == base64_decode('MQ==')) {
$g32 = base64_decode('Jm5ic3A7Jm5ic3A7Jm5ic3A7PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRlIHJlbGF0aW9u')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteRelCIRel($d22);\"><i class=\"fa fa-trash\"></i></span></a>";
} else {
$g32 = '';
}
$b33 = "<a href=\"javascript:runModalViewCI('$i26','$h2f','0');\">$f31</a>$g32<br>";
$q34[] = array(base64_decode('SUQ=') => $w21, base64_decode('VHlwZQ==') => $q2e, '' => $b33);
$w21 = ($w21 + 1);
}
if (!empty($q34)) {
asort($q34);
echo json_encode($q34, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTVJlbGF0aW9uc0lUU00=')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$h19 = implode(base64_decode('LA=='), getITSMActiveStatusCodes($k17));
$oa = "SELECT itsm_relations.ID, itsm_relations.Table1, itsm_relations.Table2, itsm_relations.ID1, itsm_relations.ID2
FROM itsm_relations
LEFT JOIN $i16 AS passwords1 ON passwords1.ID = itsm_relations.ID1
LEFT JOIN $i16 AS passwords2 ON passwords2.ID = itsm_relations.ID2
WHERE (itsm_relations.Table1 = '$i16' AND itsm_relations.ID1 = ?)
OR (itsm_relations.Table2 = '$i16' AND itsm_relations.ID2 = ?)
AND (passwords1.Status IN ($h19) OR passwords2.Status IN ($h19));";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aWk='), $g35, $g35);
$sb->execute();
$d13 = $sb->get_result();
$w21 = 1;
while ($l14 = mysqli_fetch_array($d13)) {
$d22 = $l14[base64_decode('SUQ=')];
$y2b = $l14[base64_decode('VGFibGUx')];
$p36 = $l14[base64_decode('SUQx')];
$j2c = $l14[base64_decode('VGFibGUy')];
$y37 = $l14[base64_decode('SUQy')];
if ($v20 == 1) {
$g32 = base64_decode('Jm5ic3A7Jm5ic3A7Jm5ic3A7PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . _(base64_decode('RGVsZXRlIHJlbGF0aW9u')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteRelITSMRel('$d22');\"><i class=\"fa fa-trash\"></i></span></a>";
} else {
$g32 = '';
}
$b33 = '';
if ($i16 == $y2b && $g35 == $p36) {
$b38 = getITSMTypeIDFromTableName($j2c);
$p39 = getITSMTypeName($b38);
$w3a = getITSMShowInRelationFields($b38);
$w3a = implode('', $w3a);
$o3b = getITSMFieldValue($y37, $w3a, $j2c);
$b33 = "<a href=\"javascript:viewITSM('$y37','$b38','1','modal');\">$y37: $o3b</a>$g32<br>";
$q34[] = array(base64_decode('SUQ=') => $w21, base64_decode('VHlwZQ==') => $p39, '' => $b33);
$w21 = ($w21 + 1);
} else {
$e3c = getITSMTypeIDFromTableName($y2b);
$q3d = getITSMTypeName($e3c);
$l3e = getITSMShowInRelationFields($e3c);
$l3e = implode('', $l3e);
$i3f = getITSMFieldValue($p36, $l3e, $y2b);
$b33 = "<a href=\"javascript:viewITSM('$p36','$e3c','1','modal');\">$p36: $i3f</a>$g32<br>";
$q34[] = array(base64_decode('SUQ=') => $w21, base64_decode('VHlwZQ==') => $q3d, '' => $b33);
$w21 = ($w21 + 1);
}
}
if ($q34) {
asort($q34);
echo json_encode($q34, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTVJlbGF0aW9uc0NJ')])) {
$i29 = array();
$d13 = '';
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$h19 = implode(base64_decode('LA=='), getITSMActiveStatusCodes($k17));
$oa = "SELECT cmdb_ci_itsm_relations.ID, ITSMTable, CITable, ITSMID, CIID
FROM cmdb_ci_itsm_relations
LEFT JOIN $i16 ON $i16.ID = cmdb_ci_itsm_relations.ITSMID
WHERE (ITSMTable = ? AND ITSMID = ?) AND $i16.Status IN ($h19);";
$w40 = mysqli_prepare($zc, $oa);
$w40->bind_param(base64_decode('c2k='), $i16, $g35);
$w40->execute();
$d13 = $w40->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$d22 = $l14[base64_decode('SUQ=')];
$y2b = $l14[base64_decode('SVRTTVRhYmxl')];
$p36 = $l14[base64_decode('SVRTTUlE')];
$j2c = $l14[base64_decode('Q0lUYWJsZQ==')];
$y37 = $l14[base64_decode('Q0lJRA==')];
$i29[] = array(base64_decode('UmVsYXRpb25JRA==') => $d22, base64_decode('VGFibGUx') => $y2b, base64_decode('SUQx') => $p36, base64_decode('VGFibGUy') => $j2c, base64_decode('SUQy') => $y37);
}
foreach ($i29 as $r2a) {
$d22 = $r2a[base64_decode('UmVsYXRpb25JRA==')];
$y2b = $r2a[base64_decode('VGFibGUx')];
$p36 = $r2a[base64_decode('SUQx')];
$j2c = $r2a[base64_decode('VGFibGUy')];
$y37 = $r2a[base64_decode('SUQy')];
$q41 = getCITypeIDFromTableName($j2c);
$p39 = getCITypeName($q41);
$m1a = getShowInRelationFields($q41);
$w3a = implode('', $m1a);
$f31 = getCIFieldValue($y37, $w3a, $j2c);
if ($v20 == 1) {
$g32 = base64_decode('Jm5ic3A7Jm5ic3A7Jm5ic3A7PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . _(base64_decode('RGVsZXRlIHJlbGF0aW9u')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteITSMToElementRelation($d22, $q41, $k17, $g35);\"><i class=\"fa fa-trash\"></i></span></a>";
} else {
$g32 = '';
}
$b33 = "<a href=\"javascript:runModalViewCI('$y37','$q41','0');\">$y37: $f31</a>$g32<br>";
$q34[] = array(base64_decode('SUQ=') => $w21, base64_decode('VHlwZQ==') => $p39, '' => $b33);
$w21 = ($w21 + 1);
}
if ($q34) {
asort($q34);
echo json_encode($q34, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lMb2c=')])) {
$q1f = $_POST[base64_decode('Q0lJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$oa = base64_decode('U0VMRUNUIExvZ0FjdGlvbkRhdGUsIExvZ0FjdGlvblRleHQsIENPTkNBVCh1c2Vycy5GaXJzdG5hbWUsJyAnLHVzZXJzLkxhc3RuYW1lLCcgKCcsdXNlcnMuVXNlcm5hbWUsJyknKSBBUyBGdWxsTmFtZSwgdXNlcnMuSUQgQVMgVXNlcklEDQogICAgICAgICAgRlJPTSBsb2dfY2lzDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIGxvZ19jaXMuUmVsYXRlZFVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgV0hFUkUgbG9nX2Npcy5SZWxhdGVkRWxlbWVudElEID0gPyBBTkQgbG9nX2Npcy5SZWxhdGVkVHlwZSA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBMb2dBY3Rpb25EYXRlIERFU0M=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $q1f, $m10);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$l43 = convertToDanishTimeFormat($l14[base64_decode('TG9nQWN0aW9uRGF0ZQ==')]);
$z44 = $l14[base64_decode('TG9nQWN0aW9uVGV4dA==')];
$k45 = $l14[base64_decode('RnVsbE5hbWU=')];
$r42[] = array(base64_decode('RGF0ZQ==') => $l43, base64_decode('QWN0aW9u') => $z44, base64_decode('VXNlcg==') => $k45);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q0lMb2c='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q0lMb2c='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lMb2dCb29r')])) {
$q1f = $_POST[base64_decode('Q0lJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$oa = base64_decode('U0VMRUNUIGNtZGJfbG9nYm9vay5JRCwgY21kYl9sb2dib29rLlJlbGF0ZWRDSVR5cGUsIGNtZGJfbG9nYm9vay5SZWxhdGVkQ0ksIGNtZGJfbG9nYm9vay5Mb2dDb250ZW50LCBjbWRiX2xvZ2Jvb2suUmVsYXRpb24sIGNtZGJfbG9nYm9vay5EYXRlLCBDT05DQVQodXNlcnMuRmlyc3RuYW1lLCcgJyx1c2Vycy5MYXN0bmFtZSwnICgnLHVzZXJzLlVzZXJuYW1lLCcpJykgQVMgRnVsbE5hbWUNCiAgICAgICAgICBGUk9NIGNtZGJfbG9nYm9vaw0KICAgICAgICAgIExFRlQgSk9JTiB1c2VycyBPTiBjbWRiX2xvZ2Jvb2suUmVsYXRlZFVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgV0hFUkUgUmVsYXRlZENJVHlwZSA9ID8gQU5EIFJlbGF0ZWRDSSA9ID8gQU5EIFN0YXR1cyA9IDENCiAgICAgICAgICBPUkRFUiBCWSBjbWRiX2xvZ2Jvb2suRGF0ZSBERVND');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $m10, $q1f);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$l43 = convertToDanishTimeFormat($l14[base64_decode('RGF0ZQ==')]);
$r46 = $l14[base64_decode('SUQ=')];
$u47 = $l14[base64_decode('TG9nQ29udGVudA==')];
$k45 = $l14[base64_decode('RnVsbE5hbWU=')];
$g32 = base64_decode('Jm5ic3A7Jm5ic3A7Jm5ic3A7PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRlIHJlbGF0aW9u')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteCILogBookEntry($r46);\"><i class=\"fa fa-trash\"></i></span></a>";
$y48 = $l14[base64_decode('UmVsYXRpb24=')];
$r42[] = array(translate(base64_decode('RGF0ZQ==')) => $l43, translate(base64_decode('RGVzY3JpcHRpb24=')) => $u47, translate(base64_decode('UmVsYXRpb24=')) => $y48, translate(base64_decode('VXNlcg==')) => $k45, '' => $g32);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q0lMb2dCb29r'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q0lMb2dCb29r'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lUYWJsZVJlbGF0aW9uRGVmaW5pdGlvbnM=')])) {
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$e4a = [];
$r42 = [];
$oa = base64_decode('U0VMRUNUIFJlbGF0aW9uc0xvb2t1cCBGUk9NIGNtZGJfY2lfZmllbGRzbGlzdCBXSEVSRSBJRCA9ID8gQU5EIFJlbGF0ZWRDSVR5cGVJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $o49, $m10);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
mysqli_stmt_close($sb);
if ($d13) {
$l14 = mysqli_fetch_array($d13);
if ($l14) {
$j4b = $l14[base64_decode('UmVsYXRpb25zTG9va3Vw')];
if (!empty($j4b)) {
$j4c = explode(base64_decode('Iw=='), $j4b);
foreach ($j4c as $h4d) {
$w4e = explode(base64_decode('LA=='), $h4d);
$r42[] = [base64_decode('dGFibGVuYW1l') => $w4e[0], base64_decode('ZmllbGRuYW1l') => $w4e[1]];
}
foreach ($r42 as $w4e) {
$j4f = $w4e[base64_decode('dGFibGVuYW1l')];
$p50 = getCMDBNameFromTableName($j4f);
$k51 = getCITypeFromTableName($j4f);
$m1a = $w4e[base64_decode('ZmllbGRuYW1l')];
$u52 = getCMDBFieldLabelFromFieldName($m1a, $k51);
$g32 = base64_decode('PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRl')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteCIFieldRelation('$j4f','$m1a','$o49','$m10');\"><i class=\"fa fa-trash\"></i></span></a>";
$y48 = $p50 . base64_decode('IC8g') . "$u52 $g32";
$e4a[] = array(translate(base64_decode('UmVsYXRpb25z')) => $y48);
}
}
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q0lUYWJsZVJlbGF0aW9uRGVmaW5pdGlvbnM='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
exit;
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q0lUYWJsZVJlbGF0aW9uRGVmaW5pdGlvbnM='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
exit;
}
echo json_encode($e4a, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0VGFibGVTZWxlY3RPcHRpb25z')])) {
$t53 = $_POST[base64_decode('VHlwZUlE')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$q54 = $_POST[base64_decode('VHlwZQ==')];
switch ($q54) {
case base64_decode('Y2k='):
$j4f = base64_decode('Y21kYl9jaV9maWVsZHNsaXN0');
$i55 = base64_decode('UmVsYXRlZENJVHlwZUlE');
break;
case base64_decode('aXRzbQ=='):
$j4f = base64_decode('aXRzbV9maWVsZHNsaXN0');
$i55 = base64_decode('UmVsYXRlZFR5cGVJRA==');
break;
case base64_decode('Zm9ybQ=='):
$j4f = base64_decode('Zm9ybXNfZmllbGRzbGlzdA==');
$i55 = base64_decode('UmVsYXRlZEZvcm1JRA==');
break;
default:
break;
}
$oa = "SELECT SelectFieldOptions
FROM $j4f
WHERE ID = ? AND $i55 = ?";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $o49, $t53);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$h56 = $l14[base64_decode('U2VsZWN0RmllbGRPcHRpb25z')];
}
$r42 = [];
$r42 = explode(base64_decode('Iw=='), $h56);
$m57 = array();
foreach ($r42 as $x58) {
preg_match(base64_decode('L3ZhbHVlPSIoW14iXSspIi8='), $x58, $z59);
if (isset($z59[1])) {
$m57[] = $z59[1];
}
}
foreach ($m57 as $w4e) {
$g5a = $w4e;
$g32 = base64_decode('PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRl')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteFieldSelectOption('$w4e','$o49','$t53','$q54');\"><i class=\"fa fa-trash\"></i></span></a>";
$y48 = $g5a . base64_decode('IA==') . "$g32";
$e4a[] = array(translate(base64_decode('T3B0aW9ucw==')) => $y48);
}
if (!empty($e4a)) {
echo json_encode($e4a, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q0lMb2dCb29r'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q0lMb2dCb29r'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlQ0lGaWVsZFJlbGF0aW9u')])) {
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$m1a = $_POST[base64_decode('RmllbGROYW1l')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$f5b = "$j4f,$m1a";
$j4c = [];
$d13 = '';
$oa = base64_decode('U0VMRUNUIFJlbGF0aW9uc0xvb2t1cA0KICAgICAgICAgIEZST00gY21kYl9jaV9maWVsZHNsaXN0DQogICAgICAgICAgV0hFUkUgSUQgPSA/IEFORCBSZWxhdGVkQ0lUeXBlSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $o49, $m10);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
mysqli_stmt_close($sb);
if ($d13) {
while ($l14 = mysqli_fetch_array($d13)) {
$j4b = $l14[base64_decode('UmVsYXRpb25zTG9va3Vw')];
}
if (!empty($j4b)) {
$j4b = trim($j4b, base64_decode('Iw=='));
$j4c = explode(base64_decode('Iw=='), $j4b);
} else {
$j4c = [];
}
foreach ($j4c as $z5c => $w4e) {
if ($w4e == $f5b) {
unset($j4c[$z5c]);
}
}
$z5d = implode(base64_decode('Iw=='), $j4c);
$z5d = trim($z5d, base64_decode('Iw=='));
updateCIRelationLookup($o49, $z5d);
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlQ0lGaWVsZFJlbGF0aW9u'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
echo json_encode([base64_decode('UmVzdWx0') => translate(base64_decode('c3VjY2Vzcw=='))]);
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlQ0lGaWVsZFJlbGF0aW9u'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlRmllbGRTZWxlY3RPcHRpb24=')])) {
$f5e = $_POST[base64_decode('T3B0aW9u')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$t53 = $_POST[base64_decode('VHlwZUlE')];
$q54 = $_POST[base64_decode('VHlwZQ==')];
switch ($q54) {
case base64_decode('Y2k='):
$j4f = base64_decode('Y21kYl9jaV9maWVsZHNsaXN0');
$i55 = base64_decode('UmVsYXRlZENJVHlwZUlE');
break;
case base64_decode('aXRzbQ=='):
$j4f = base64_decode('aXRzbV9maWVsZHNsaXN0');
$i55 = base64_decode('UmVsYXRlZFR5cGVJRA==');
break;
case base64_decode('Zm9ybQ=='):
$j4f = base64_decode('Zm9ybXNfZmllbGRzbGlzdA==');
$i55 = base64_decode('UmVsYXRlZEZvcm1JRA==');
break;
default:
break;
}
$oa = "SELECT SelectFieldOptions
FROM $j4f
WHERE ID = ? AND $i55 = ?";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $o49, $t53);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
while ($l14 = mysqli_fetch_array($d13)) {
$h56 = $l14[base64_decode('U2VsZWN0RmllbGRPcHRpb25z')];
}
if (!empty($h56)) {
$h56 = trim($h56, base64_decode('Iw=='));
$g5f = explode(base64_decode('Iw=='), $h56);
} else {
$g5f = [];
}
foreach ($g5f as $z5c => $x58) {
preg_match(base64_decode('L3ZhbHVlPSIoLio/KSIv'), $x58, $z59);
if (isset($z59[1]) && $z59[1] == $f5e) {
unset($g5f[$z5c]);
}
}
sort($g5f);
$z5d = implode(base64_decode('Iw=='), $g5f);
$z5d = trim($z5d, base64_decode('Iw=='));
updateSelectOptions($o49, $z5d, $j4f);
echo json_encode([base64_decode('UmVzdWx0') => translate(base64_decode('c3VjY2Vzcw=='))]);
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlRmllbGRTZWxlY3RPcHRpb24='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlRmllbGRTZWxlY3RPcHRpb24='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Y3JlYXRlUmVsYXRpb25Mb29rdXA=')])) {
$j4f = $_POST[base64_decode('TG9va3VwVGFibGU=')];
$m1a = $_POST[base64_decode('TG9va3VwRmllbGQ=')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$h60 = "$j4f,$m1a";
$oa = base64_decode('U0VMRUNUIFJlbGF0aW9uc0xvb2t1cA0KICAgICAgICAgIEZST00gY21kYl9jaV9maWVsZHNsaXN0DQogICAgICAgICAgV0hFUkUgSUQgPSA/IEFORCBSZWxhdGVkQ0lUeXBlSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $o49, $m10);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$j4b = $l14[base64_decode('UmVsYXRpb25zTG9va3Vw')];
}
if (!empty($j4b)) {
$j4b = trim($j4b, base64_decode('Iw=='));
$j4c = explode(base64_decode('Iw=='), $j4b);
} else {
$j4c = [];
}
$j4c[] = $h60;
$z5d = implode(base64_decode('Iw=='), $j4c);
$z5d = trim($z5d, base64_decode('Iw=='));
updateCIRelationLookup($o49, $z5d);
echo json_encode([base64_decode('UmVzdWx0') => translate(base64_decode('c3VjY2Vzcw=='))]);
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Y3JlYXRlUmVsYXRpb25Mb29rdXA='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Y3JlYXRlUmVsYXRpb25Mb29rdXA='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Y3JlYXRlU2VsZWN0T3B0aW9u')])) {
$y61 = $_POST[base64_decode('U2VsZWN0RmllbGRPcHRpb24=')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$t53 = $_POST[base64_decode('VHlwZUlE')];
$q54 = $_POST[base64_decode('VHlwZQ==')];
switch ($q54) {
case base64_decode('Y2k='):
$j4f = base64_decode('Y21kYl9jaV9maWVsZHNsaXN0');
$i55 = base64_decode('UmVsYXRlZENJVHlwZUlE');
break;
case base64_decode('aXRzbQ=='):
$j4f = base64_decode('aXRzbV9maWVsZHNsaXN0');
$i55 = base64_decode('UmVsYXRlZFR5cGVJRA==');
break;
case base64_decode('Zm9ybQ=='):
$j4f = base64_decode('Zm9ybXNfZmllbGRzbGlzdA==');
$i55 = base64_decode('UmVsYXRlZEZvcm1JRA==');
break;
default:
break;
}
$h60 = "<option value=\"$y61\">$y61</option>";
$oa = "SELECT SelectFieldOptions
FROM $j4f
WHERE ID = ? AND $i55 = ?";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $o49, $t53);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$h56 = $l14[base64_decode('U2VsZWN0RmllbGRPcHRpb25z')];
}
if (!empty($h56)) {
$h56 = trim($h56, base64_decode('Iw=='));
$j4c = explode(base64_decode('Iw=='), $h56);
} else {
$j4c = [];
}
$j4c[] = $h60;
sort($j4c);
$z5d = implode(base64_decode('Iw=='), $j4c);
$z5d = trim($z5d, base64_decode('Iw=='));
updateSelectOptions($o49, $z5d, $j4f);
echo json_encode([base64_decode('UmVzdWx0') => translate(base64_decode('c3VjY2Vzcw=='))]);
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Y3JlYXRlUmVsYXRpb25Mb29rdXA='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Y3JlYXRlUmVsYXRpb25Mb29rdXA='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTUxvZw==')])) {
$y62 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($y62 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$g63 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$oa = base64_decode('U0VMRUNUIExvZ0FjdGlvbkRhdGUsIExvZ0FjdGlvblRleHQsIENPTkNBVCh1c2Vycy5GaXJzdG5hbWUsJyAnLHVzZXJzLkxhc3RuYW1lLCcgKCcsdXNlcnMuVXNlcm5hbWUsJyknKSBBUyBGdWxsTmFtZSwgdXNlcnMuSUQgQVMgVXNlcklELCB1c2Vycy5Vc2VybmFtZQ0KICAgICAgICAgIEZST00gaXRzbV9sb2cNCiAgICAgICAgICBMRUZUIEpPSU4gdXNlcnMgT04gaXRzbV9sb2cuUmVsYXRlZFVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgV0hFUkUgaXRzbV9sb2cuUmVsYXRlZEVsZW1lbnRJRCA9ID8gQU5EIGl0c21fbG9nLlJlbGF0ZWRUeXBlID0gPw0KICAgICAgICAgIE9SREVSIEJZIExvZ0FjdGlvbkRhdGUgREVTQw==');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $g35, $k17);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$l43 = convertToDanishTimeFormat($l14[base64_decode('TG9nQWN0aW9uRGF0ZQ==')]);
$l43 = "<p>$l43</p>";
$z44 = $l14[base64_decode('TG9nQWN0aW9uVGV4dA==')];
$z44 = "<p>$z44</p>";
$k45 = $l14[base64_decode('RnVsbE5hbWU=')];
$l64 = $l14[base64_decode('VXNlcm5hbWU=')];
$k45 = "<p title=\"$k45\">$l64</p>";
$r42[] = array(translate(base64_decode('RGF0ZQ==')) => $l43, translate(base64_decode('QWN0aW9ucw==')) => $z44, translate(base64_decode('VXNlcg==')) => $k45);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTUxvZw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTUxvZw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0TmV3c0NhdGVnb3JpZXM=')])) {
if (in_array(base64_decode('MTAwMDIw'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIw'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$oa = base64_decode('U0VMRUNUIG5ld3NfY2F0ZWdvcmllcy5JRCwgbmV3c19jYXRlZ29yaWVzLk5hbWUsIFVzZXJHcm91cHMuR3JvdXBOYW1lIEFTIEdyb3VwTmFtZSwgcm9sZXMuUm9sZU5hbWUgQVMgUm9sZU5hbWUNCiAgICAgICAgICBGUk9NIG5ld3NfY2F0ZWdvcmllcw0KICAgICAgICAgIExFRlQgSk9JTiByb2xlcyBPTiBuZXdzX2NhdGVnb3JpZXMuUmVsYXRlZFJvbGUgPSByb2xlcy5JRA0KICAgICAgICAgIExFRlQgSk9JTiAoDQogICAgICAgICAgU0VMRUNUIElEIEFTIElELCBHcm91cE5hbWUgQVMgR3JvdXBOYW1lLCBEZXNjcmlwdGlvbiBBUyBEZXNjcmlwdGlvbiwgUmVsYXRlZE1vZHVsZUlEIEFTIFJlbGF0ZWRNb2R1bGVJRCwgQWN0aXZlIEFTIEFjdGl2ZSwgJ1N0YW5kYXJkJyBBUyBUeXBlDQogICAgICAgICAgRlJPTSB1c2VyZ3JvdXBzDQogICAgICAgICAgVU5JT04NCiAgICAgICAgICBTRUxFQ1QgSUQgQVMgSUQsIEdyb3VwTmFtZSBBUyBHcm91cE5hbWUsIERlc2NyaXB0aW9uIEFTIERlc2NyaXB0aW9uLCBSZWxhdGVkTW9kdWxlSUQgQVMgUmVsYXRlZE1vZHVsZUlELCBBY3RpdmUgQVMgQWN0aXZlLCAnU3lzdGVtJyBBUyBUeXBlDQogICAgICAgICAgRlJPTSBzeXN0ZW1fZ3JvdXBzKSBBUyBVc2VyR3JvdXBzIE9OIG5ld3NfY2F0ZWdvcmllcy5SZWxhdGVkR3JvdXBJRCA9IFVzZXJHcm91cHMuSUQNCiAgICAgICAgICBPUkRFUiBCWSBOYW1lIEFTQw==');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$s65 = "<a href=\"javascript:void(0);\"><span class=\"badge bg-gradient-success\" onclick=\"viewNewsCategory($r46);\" title=\"" . translate(base64_decode('RWRpdA==')) . base64_decode('Ij48aSBjbGFzcz0iZmEgZmEtcGVuLXRvLXNxdWFyZSI+PC9pPjwvc3Bhbj48L2E+');
$g32 = base64_decode('PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRl')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteNewsCategory($r46);\"><i class=\"fa fa-trash\"></i></span></a>";
$j66 = $l14[base64_decode('TmFtZQ==')];
$rd = $l14[base64_decode('R3JvdXBOYW1l')];
$r67 = $l14[base64_decode('Um9sZU5hbWU=')];
$r42[] = array(translate(base64_decode('QWN0aW9ucw==')) => "$s65 $g32", translate(base64_decode('TmFtZQ==')) => $j66, translate(base64_decode('R3JvdXA=')) => $rd, translate(base64_decode('Um9sZQ==')) => $r67);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0TmV3c0NhdGVnb3JpZXM='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0TmV3c0NhdGVnb3JpZXM='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0TmV3c0ZpbHRlcnM=')])) {
if (in_array(base64_decode('MTAwMDIw'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIw'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$oa = base64_decode('U0VMRUNUIG5ld3NfY3ZlX2ZpbHRlcnMuSUQsIG5ld3NfY3ZlX2ZpbHRlcnMuUHJvZHVjdA0KICAgICAgICAgIEZST00gbmV3c19jdmVfZmlsdGVycw0KICAgICAgICAgIE9SREVSIEJZIFByb2R1Y3QgQVND');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$g32 = base64_decode('PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRl')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteNewsCVEFilter($r46);\"><i class=\"fa fa-trash\"></i></span></a>";
$n68 = $l14[base64_decode('UHJvZHVjdA==')];
$r42[] = array(translate(base64_decode('RmlsdGVy')) => $n68, '' => "$g32");
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0TmV3c0NhdGVnb3JpZXM='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0TmV3c0NhdGVnb3JpZXM='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0VXNlck5ld3NVc2VyR3JvdXBz')])) {
$oa = base64_decode('U0VMRUNUIElELCBHcm91cE5hbWUgQVMgR3JvdXBOYW1lDQogICAgICAgICAgRlJPTSB1c2VyZ3JvdXBzDQogICAgICAgICAgVU5JT04NCiAgICAgICAgICBTRUxFQ1QgSUQsIEdyb3VwTmFtZSBBUyBHcm91cE5hbWUNCiAgICAgICAgICBGUk9NIHN5c3RlbV9ncm91cHMNCiAgICAgICAgICBPUkRFUiBCWSBHcm91cE5hbWUgQVND');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$rd = $l14[base64_decode('R3JvdXBOYW1l')];
$r42[] = array(base64_decode('SUQ=') => "$r46", base64_decode('R3JvdXBOYW1l') => $rd);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VXNlckdyb3Vwcw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VXNlckdyb3Vwcw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0Q1ZFRGV0YWlscw==')])) {
$j69 = $_POST[base64_decode('Q1ZFSUQ=')];
$r46 = '';
$d6a = '';
$b6b = '';
$r42 = [];
$d13 = '';
$oa = base64_decode('U0VMRUNUIElELCBIZWFkbGluZSwgQ29udGVudCwgQ1ZFSUQNCiAgICAgICAgICBGUk9NIG5ld3MNCiAgICAgICAgICBXSEVSRSBDVkVJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('cw=='), $j69);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$d6a = $l14[base64_decode('SGVhZGxpbmU=')];
$b6b = $l14[base64_decode('Q29udGVudA==')];
$d6c = base64_decode('Lzxicj48YnI+PGJ1dHRvbiBpZD0iY3JlYXRlQ2hhbmdlRnJvbUNWRSIgY2xhc3M9ImJ0biBidG4tc20gYnRuLWluZm8iIG9uY2xpY2s9IlwoYXN5bmMgZnVuY3Rpb25cKFwpIFx7IGV2ZW50XC5zdG9wUHJvcGFnYXRpb25cKFwpOyBhd2FpdCBydW5Nb2RhbENyZWF0ZUlUU01cKDNcKTsgZmlsbENyZWF0ZUNoYW5nZUZyb21DVkVcKFwnW15cJ10rXCdcKTsgXH1cKVwoXCk7Ij5DcmVhdGUgQ2hhbmdlPFwvYnV0dG9uPi8=');
$b6b = preg_replace($d6c, '', $b6b);
$r42[] = array(base64_decode('SUQ=') => "$r46", base64_decode('SGVhZGxpbmU=') => $d6a, base64_decode('Q29udGVudA==') => $b6b);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q1ZFRGV0YWlscw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q1ZFRGV0YWlscw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0VXNlck5ld3NDYXRlZ29yeVJvbGVz')])) {
$oa = base64_decode('U0VMRUNUIGBJRGAsIGBSb2xlTmFtZWAsIGBEZXNjcmlwdGlvbmAsIGBBY3RpdmVgDQogICAgICAgICAgRlJPTSBgcm9sZXNgDQogICAgICAgICAgV0hFUkUgQWN0aXZlID0gMQ0KICAgICAgICAgIE9SREVSIEJZIFJvbGVOYW1lIEFTQw==');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$r67 = $l14[base64_decode('Um9sZU5hbWU=')];
$r42[] = array(base64_decode('SUQ=') => "$r46", base64_decode('Um9sZU5hbWU=') => $r67);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VXNlck5ld3NDYXRlZ29yeVJvbGVz'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VXNlck5ld3NDYXRlZ29yeVJvbGVz'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0TmV3c0FydGljbGU=')])) {
$g6d = $_POST[base64_decode('TmV3c0lE')];
$oa = "SELECT `ID`, `Headline`, `Content`, `CreatedByUserID`, `NewsWriter`, `DateCreated`, `RelatedCategory`, `CommentsAllowed`, `Active`
FROM `news`
WHERE ID = $g6d;";
$sb = mysqli_prepare($zc, $oa);
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDMy'), $p0)) {
$t6e = base64_decode('MA==');
} else {
$t6e = base64_decode('MQ==');
}
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$d6a = $l14[base64_decode('SGVhZGxpbmU=')];
$b6b = $l14[base64_decode('Q29udGVudA==')];
$q6f = $l14[base64_decode('Q3JlYXRlZEJ5VXNlcklE')];
$m70 = $l14[base64_decode('TmV3c1dyaXRlcg==')];
$i71 = $l14[base64_decode('RGF0ZUNyZWF0ZWQ=')];
$m72 = $l14[base64_decode('UmVsYXRlZENhdGVnb3J5')];
$x73 = $l14[base64_decode('Q29tbWVudHNBbGxvd2Vk')];
$l7 = $l14[base64_decode('QWN0aXZl')];
$r42[] = array(base64_decode('SUQ=') => $r46, base64_decode('SGVhZGxpbmU=') => $d6a, base64_decode('Q29udGVudA==') => $b6b, base64_decode('Q3JlYXRlZEJ5VXNlcklE') => $q6f, base64_decode('TmV3c1dyaXRlcg==') => $m70, base64_decode('RGF0ZUNyZWF0ZWQ=') => $i71, base64_decode('UmVsYXRlZENhdGVnb3J5') => $m72, base64_decode('Q29tbWVudHNBbGxvd2Vk') => $x73, base64_decode('QWN0aXZl') => $l7, base64_decode('RGlzYWJsZWQ=') => $t6e);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VXNlckdyb3Vwcw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VXNlckdyb3Vwcw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0TmV3c0NhdGVnb3J5')])) {
$o74 = $_POST[base64_decode('Q2F0ZWdvcnlJRA==')];
$oa = base64_decode('U0VMRUNUIGBJRGAsIGBOYW1lYCwgYFJlbGF0ZWRHcm91cElEYCwgYFJlbGF0ZWRSb2xlYCwgYEFjdGl2ZWAgDQogICAgICAgICAgRlJPTSBgbmV3c19jYXRlZ29yaWVzYA0KICAgICAgICAgIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aQ=='), $o74);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_assoc($d13)) {
$r42[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('TmFtZQ==') => $l14[base64_decode('TmFtZQ==')], base64_decode('UmVsYXRlZEdyb3VwSUQ=') => $l14[base64_decode('UmVsYXRlZEdyb3VwSUQ=')], base64_decode('UmVsYXRlZFJvbGU=') => $l14[base64_decode('UmVsYXRlZFJvbGU=')], base64_decode('QWN0aXZl') => $l14[base64_decode('QWN0aXZl')]);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VXNlckdyb3Vwcw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VXNlckdyb3Vwcw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTVdvcmtGbG93cw==')])) {
$y62 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($y62 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$oa = base64_decode('U0VMRUNUIElELCBXb3JrRmxvd05hbWUNCiAgICAgICAgICBGUk9NIHdvcmtmbG93c190ZW1wbGF0ZQ0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRNb2R1bGVJRCA9ID8gQU5EIEFjdGl2ZSA9IDE=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('cw=='), $k17);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$s75 = $l14[base64_decode('V29ya0Zsb3dOYW1l')];
$r42[] = array(base64_decode('SUQ=') => $r46, base64_decode('V29ya0Zsb3dOYW1l') => $s75);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTVdvcmtGbG93cw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTVdvcmtGbG93cw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0QWN0aXZlTW9kdWxlV29ya0Zsb3c=')])) {
$y62 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($y62 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$oa = base64_decode('U0VMRUNUIHdvcmtmbG93c3RlcHMuSUQgQVMgU3RlcElELCBTdGVwT3JkZXIsIFN0ZXBOYW1lLCB3b3JrZmxvd3N0ZXBzLkRlc2NyaXB0aW9uLCB3b3JrZmxvd3N0YXR1cy5OYW1lIEFTIFN0YXR1c05hbWUsd29ya2Zsb3dzdGVwcy5SZWxhdGVkU3RhdHVzSUQgQVMgU3RhdHVzSUQsIHdvcmtmbG93c3RlcHMuUmVsYXRlZFVzZXJJRCwgdXNlcnMuVXNlcm5hbWUgQVMgUmVzcG9uc2libGUsIHRhc2tzbGlzdC5EZWFkbGluZQ0KICAgICAgICAgIEZST00gd29ya2Zsb3dzdGVwcw0KICAgICAgICAgIExFRlQgSk9JTiB3b3JrZmxvd3MgT04gd29ya2Zsb3dzLklEID0gd29ya2Zsb3dzdGVwcy5SZWxhdGVkV29ya0Zsb3dJRA0KICAgICAgICAgIExFRlQgSk9JTiB3b3JrZmxvd3N0YXR1cyBPTiB3b3JrZmxvd3N0ZXBzLlJlbGF0ZWRTdGF0dXNJRCA9IHdvcmtmbG93c3RhdHVzLklEDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIHdvcmtmbG93c3RlcHMuUmVsYXRlZFVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgTEVGVCBKT0lOIHRhc2tzbGlzdCBPTiB3b3JrZmxvd3N0ZXBzLlJlbGF0ZWRUYXNrSUQgPSB0YXNrc2xpc3QuSUQNCiAgICAgICAgICBXSEVSRSB3b3JrZmxvd3MuSUQgPSB3b3JrZmxvd3N0ZXBzLlJlbGF0ZWRXb3JrRmxvd0lEIEFORCB3b3JrZmxvd3MuUmVsYXRlZEVsZW1lbnRJRCA9ID8gQU5EIHdvcmtmbG93cy5SZWxhdGVkRWxlbWVudFR5cGVJRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSB3b3JrZmxvd3MuSUQsIFN0ZXBPcmRlciBBU0M=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $g35, $k17);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$d76 = $l14[base64_decode('U3RlcElE')];
$o77 = $l14[base64_decode('U3RlcE5hbWU=')];
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$v78 = $l14[base64_decode('U3RhdHVzTmFtZQ==')];
$w79 = "<small title='$f1e'>$o77</small>";
$p7a = $l14[base64_decode('UmVsYXRlZFVzZXJJRA==')];
$e7b = getUserName($p7a);
$g7c = getUserFullName($p7a);
$q7d = "<small title='$g7c'>$e7b</small>";
$j7e = convertToDanishDateTimeFormat($l14[base64_decode('RGVhZGxpbmU=')]);
$j7e = "<small>$j7e</small>";
$v78 = "<small>$v78</small>";
$c7f = "<a href=\"javascript:editWorkFlowTask($d76);\"><span class=\"badge bg-gradient-success\" title=\"" . _(base64_decode('RWRpdA==')) . base64_decode('Ij48aSBjbGFzcz0iZmEgZmEtcGVuLXRvLXNxdWFyZSI+PC9pPjwvc3Bhbj48L2E+');
$l80 = "<a href=\"javascript:deleteWorkFlowTask($d76);\"><span class=\"badge bg-gradient-danger\" title=\"" . _(base64_decode('RGVsZXRl')) . base64_decode('Ij48aSBjbGFzcz0iZmEgZmEtdHJhc2giPjwvaT48L3NwYW4+PC9hPg==');
$b33 = $c7f . $l80;
$r42[] = array(base64_decode('SUQ=') => $d76, '' => $b33, translate(base64_decode('VGFzaw==')) => "$w79", base64_decode('U3RhdHVz') => $v78, translate(base64_decode('VXNlcg==')) => $q7d, translate(base64_decode('RGVhZGxpbmU=')) => "$j7e");
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0QWN0aXZlTW9kdWxlV29ya0Zsb3c='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0QWN0aXZlTW9kdWxlV29ya0Zsb3c='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTVBhcnRpY2lwYW50cw==')])) {
$y62 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$q54 = $_POST[base64_decode('VHlwZQ==')];
$s81 = [];
$b82 = base64_decode('PHNtYWxsPg==');
if ($y62 == base64_decode('Mg==')) {
echo json_encode([]);
return;
} else {
$oa = base64_decode('U0VMRUNUIGl0c21fcGFydGljaXBhbnRzLlVzZXJJRCwgdXNlcnMuVXNlcm5hbWUsIGl0c21fcGFydGljaXBhbnRzLk1vZHVsZUlELCBpdHNtX3BhcnRpY2lwYW50cy5FbGVtZW50SUQNCiAgICAgICAgICAgIEZST00gaXRzbV9wYXJ0aWNpcGFudHMNCiAgICAgICAgICAgIExFRlQgSk9JTiB1c2VycyBPTiBpdHNtX3BhcnRpY2lwYW50cy5Vc2VySUQgPSB1c2Vycy5JRA0KICAgICAgICAgICAgV0hFUkUgaXRzbV9wYXJ0aWNpcGFudHMuTW9kdWxlSUQgPSA/IEFORCBFbGVtZW50SUQgPSA/');
}
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $k17, $g35);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
while ($l14 = mysqli_fetch_array($d13)) {
$y83 = $l14[base64_decode('VXNlcklE')];
$l64 = $l14[base64_decode('VXNlcm5hbWU=')];
$w84 = $l14[base64_decode('TW9kdWxlSUQ=')];
$g85 = $l14[base64_decode('RWxlbWVudElE')];
$p86 = getUserFullName($y83) . base64_decode('ICg=') . $l64 . base64_decode('KQ==');
$i87 = "<a href=\"javascript:removeITSMParticipant('$y83','$w84','$g85','$q54');\"><i class=\"fas fa-trash\"></i></a>";
$p86 = "$p86 $i87";
array_push($s81, $p86);
}
mysqli_free_result($d13);
$d88 = translate(base64_decode('QWRk'));
$g89 = "<button class=\"btn btn-sm btn-success\" type=\"button\" onclick=\"addITSMParticipant('$k17','$g35','$q54');\">$d88</button>";
$b82 .= implode(base64_decode('LCA='), $s81);
$b82 .= base64_decode('PC9zbWFsbD4=');
$r42[] = array(base64_decode('UGFydGljaXBhbnRz') => $b82, base64_decode('QnRuQWRkUGFydGljaXBhbnQ=') => $g89);
if (!empty($r42)) {
echo json_encode($r42);
} else {
$r42[] = array(base64_decode('UGFydGljaXBhbnRz') => base64_decode('bm9uZQ=='), base64_decode('QnRuQWRkUGFydGljaXBhbnQ=') => $g89);
echo json_encode($r42);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTVBhcnRpY2lwYW50cw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTVBhcnRpY2lwYW50cw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTUNvbW1lbnRz')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($p8a);
$j6 = getLanguageCode($y5);
$y62 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$o8b = $_SESSION[base64_decode('dXNlcklE')];
$u8c = 0;
$q54 = base64_decode('bW9kYWw=');
$d88 = translate(base64_decode('QWRk'));
$u8d = "<button class=\"btn btn-sm btn-success float-end\" type=\"button\" onclick=\"addITSMComment('$k17','$g35','$q54');\">$d88</button>";
if ($y62 == base64_decode('Mg==')) {
$oa = base64_decode('U0VMRUNUIGl0c21fY29tbWVudHMuSUQsIGl0c21fY29tbWVudHMuUmVsYXRlZEVsZW1lbnRJRCwgaXRzbV9jb21tZW50cy5JVFNNVHlwZSwgaXRzbV9jb21tZW50cy5Vc2VySUQsIGl0c21fY29tbWVudHMuVGV4dCwgaXRzbV9jb21tZW50cy5EYXRlLCBpdHNtX2NvbW1lbnRzLkludGVybmFsDQogICAgICAgICAgICAgICAgRlJPTSBpdHNtX2NvbW1lbnRzDQogICAgICAgICAgICAgICAgV0hFUkUgaXRzbV9jb21tZW50cy5SZWxhdGVkRWxlbWVudElEID0gPyBBTkQgSVRTTVR5cGUgPSA/IEFORCBJbnRlcm5hbCAhPSAnMScNCiAgICAgICAgICAgICAgICBPUkRFUiBCWSBpdHNtX2NvbW1lbnRzLkRhdGUgREVTQw==');
} else {
$oa = base64_decode('U0VMRUNUIGl0c21fY29tbWVudHMuSUQsIGl0c21fY29tbWVudHMuUmVsYXRlZEVsZW1lbnRJRCwgaXRzbV9jb21tZW50cy5JVFNNVHlwZSwgaXRzbV9jb21tZW50cy5Vc2VySUQsIGl0c21fY29tbWVudHMuVGV4dCwgaXRzbV9jb21tZW50cy5EYXRlLCBpdHNtX2NvbW1lbnRzLkludGVybmFsDQogICAgICAgICAgICAgICAgRlJPTSBpdHNtX2NvbW1lbnRzDQogICAgICAgICAgICAgICAgV0hFUkUgaXRzbV9jb21tZW50cy5SZWxhdGVkRWxlbWVudElEID0gPyBBTkQgSVRTTVR5cGUgPSA/DQogICAgICAgICAgICAgICAgT1JERVIgQlkgaXRzbV9jb21tZW50cy5EYXRlIERFU0M=');
}
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $g35, $k17);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
while ($l14 = mysqli_fetch_array($d13)) {
$u8c++;
$q8e = ($u8c <= 1) ? base64_decode('dHJ1ZQ==') : base64_decode('ZmFsc2U=');
$i8f = ($u8c <= 0) ? base64_decode('c2hvdw==') : '';
$o90 = $l14[base64_decode('SUQ=')];
$d91 = $l14[base64_decode('VXNlcklE')];
$p92 = getUserFullName($d91);
$l64 = getUserName($d91);
$p92 = "$p92 ($l64)";
$c93 = $l14[base64_decode('VGV4dA==')];
$b94 = convertToDanishTimeFormat($l14[base64_decode('RGF0ZQ==')]);
$t95 = $l14[base64_decode('SW50ZXJuYWw=')];
$c96 = ($t95 == base64_decode('MA==')) ? base64_decode('PHNwYW4gY2xhc3M9J2JhZGdlIGJnLWdyYWRpZW50LWluZm8nPg==') . _(base64_decode('RXh0ZXJuYWw=')) . base64_decode('PC9zcGFuPg==') : base64_decode('PHNwYW4gY2xhc3M9J2JhZGdlIGJnLWdyYWRpZW50LWRhbmdlcic+') . _(base64_decode('SW50ZXJuYWw=')) . base64_decode('PC9zcGFuPg==');
$i87 = "<a href=\"javascript:deleteITSMComment($o90,$k17,$g35,'modal','$j6');\"><i class=\"fas fa-trash\"></i></a>";
$a97 = checkReadStatus($o90, $o8b);
$n98 = getNumberOfUnreadITSMComments($k17, $g35, $d91);
if ($a97 === 1) {
$a97 = base64_decode('PHNwYW4gY2xhc3M9ImJhZGdlIGJhZGdlLXBpbGwgYmctZ3JhZGllbnQtd2FybmluZyIgdGl0bGU9Ig==') . translate(base64_decode('TmV3')) . base64_decode('Ij48aSBjbGFzcz0iZmEtcmVndWxhciBmYS1lbnZlbG9wZSI+PC9pPjwvc3Bhbj4=');
} else {
$a97 = '';
}
$k99 = "<div class=\"accordion-item\">
<small class=\"accordion-header float-left\" id=\"heading$o90\">
<a href=\"javascript:void(0);\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapse$o90\" aria-expanded=\"$q8e\" aria-controls=\"collapse$o90\">
$p92 ($b94) $c96 $a97
</a>
</small>
<div id=\"collapse$o90\" class=\"accordion-collapse collapse $i8f\" aria-labelledby=\"heading$o90\">
<div class=\"accordion-body text-wrap\">
<div class=\"col-lg-12 col-sm-12 col-xs-12\">
<div style=\"word-wrap: break-word; overflow-y: auto; overflow-x: auto;\" class=\"resizable_textarea form-control\" id=\"commentField$o90\" name=\"commentField$o90\" title=\"Double click to edit\" autocomplete=\"off\" ondblclick=\"toggleCKEditor('commentField$o90','50');toggleShowSaveBtn('saveLink$o90');\">$c93
</div>
<div style=\"display: flex; align-items: center; gap: 10px;\">
<a href=\"javascript:toggleCKEditor('commentField$o90','50');toggleShowSaveBtn('saveLink$o90');\"><i class=\"fa-solid fa-pen fa-sm\" title=\"Double click on field to edit\"></i></a>
$i87
<a href=\"javascript:saveITSMComment($o90,'commentField$o90',$k17,$g35,'modal','$j6');\" id=\"saveLink$o90\" class=\"save-link float-end\" style=\"display: none;\">Save</a>
</div>
</div>
</div>
</div>";
$r42[] = array(base64_decode('Q29tbWVudHM=') => $k99);
}
mysqli_free_result($d13);
$r42[] = array(base64_decode('VW5yZWFk') => $n98);
$r42[] = array(base64_decode('QnRuQWRkQ29tbWVudA==') => $u8d);
if (!empty($r42)) {
echo json_encode($r42);
} else {
$r42[] = array(base64_decode('Q29tbWVudHM=') => '', base64_decode('VW5yZWFk') => 0, base64_decode('QnRuQWRkQ29tbWVudA==') => $u8d);
echo json_encode($r42);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTUNvbW1lbnRz'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTUNvbW1lbnRz'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTUFyY2hpdmU=')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$t9a = '';
$oa = base64_decode('U0VMRUNUIElELCBSZWxhdGVkRG9jdW1lbnRJRCwgUmVsYXRlZE1vZHVsZUlELCBEb2N1bWVudFZlcnNpb24sIFJlbGF0ZWRVc2VyLCBDb250ZW50LCBDb250ZW50RnVsbHRleHQsIERhdGUNCiAgICAgICAgICBGUk9NIGl0c21fa25vd2xlZGdlX2FyY2hpdmUNCiAgICAgICAgICBXSEVSRSBSZWxhdGVkRG9jdW1lbnRJRCA9ID8gQU5EIFJlbGF0ZWRNb2R1bGVJRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBEb2N1bWVudFZlcnNpb24gREVTQw==');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $g35, $k17);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$b6b = $l14[base64_decode('Q29udGVudA==')];
if ($b6b) {
$t9a = base64_decode('Li4u');
} else {
$t9a = '';
}
$b6b = mb_substr($b6b, 0, 75) . base64_decode('Li4u');
$d9b = $l14[base64_decode('RG9jdW1lbnRWZXJzaW9u')];
$g9c = convertToDanishDateTimeFormat($l14[base64_decode('RGF0ZQ==')]);
$u47 = translate(base64_decode('UmVzdG9yZQ=='));
$s65 = "<a href=\"javascript:letsrunModalViewArchiveDoc($r46);\" class=\"badge badge-pill bg-gradient-success\" title=\"" . translate(base64_decode('Vmlldw==')) . base64_decode('Ij48aSBjbGFzcz0iZmEgZmEtcGVuLXRvLXNxdWFyZSI+PC9pPjwvYT4=');
$r42[] = array(base64_decode('UmVzdG9yZQ==') => $s65, translate(base64_decode('VmVyc2lvbg==')) => $d9b, translate(base64_decode('Q29udGVudA==')) => $b6b, translate(base64_decode('RGF0ZQ==')) => $g9c);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42);
} else {
$r42[] = array(base64_decode('VmVyc2lvbg==') => base64_decode('bm9uZQ=='));
echo json_encode($r42);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTUFyY2hpdmU='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTUFyY2hpdmU='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('cmVzdG9yZUlUU01BcmNoaXZl')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$n9e = $_POST[base64_decode('QXJjaGl2ZUlE')];
$j9f = getITSMModuleIDFromArchive($n9e);
$g35 = getITSMIDFromArchive($n9e);
$qa0 = getITSMVersionFromArchive($n9e);
$i16 = getITSMTableName($j9f);
$oa = "UPDATE $i16 AS ik
INNER JOIN itsm_knowledge_archive AS ika ON ik.ID = ika.RelatedDocumentID
SET ik.Content = ika.Content
WHERE ika.ID = ?";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aQ=='), $n9e);
$fa1 = mysqli_stmt_execute($sb);
$ba2 = mysqli_stmt_affected_rows($sb);
if ($fa1 && $ba2 > 0) {
$ra3 = "User restored the document from version $qa0";
createITSMLogEntry($g35, $j9f, $x9d, $ra3);
echo json_encode([base64_decode('UmVzdWx0') => true]);
} else {
echo json_encode([base64_decode('UmVzdWx0') => false]);
}
} else {
echo json_encode([base64_decode('UmVzdWx0') => false]);
}
}
if (isset($_GET[base64_decode('c2VhcmNoSVRTTQ==')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$ja4 = $_POST[base64_decode('U2VhcmNoVGVybQ==')];
$wa5 = $_POST[base64_decode('SW5hY3RpdmU=')];
$ua6 = getITSMModuleType($k17);
$va7 = array();
switch ($ua6) {
case 1:
if ($wa5 == base64_decode('Mg==')) {
$va7 = getITSMClosedStatus($k17);
} else {
$va7 = getITSMOpenStatus($k17);
}
break;
case 2:
if ($wa5 == base64_decode('Mg==')) {
$va7[] = base64_decode('Nw==');
} else {
$va7 = array(base64_decode('MQ=='), base64_decode('Mg=='), base64_decode('Mw=='), base64_decode('NA=='), base64_decode('NQ=='), base64_decode('Ng=='));
}
break;
case 3:
if ($wa5 == base64_decode('Mg==')) {
$va7[] = base64_decode('MA==');
} else {
$va7[] = base64_decode('NA==');
}
break;
case 4:
if ($wa5 == base64_decode('Mg==')) {
$va7 = getITSMClosedStatus($k17);
} else {
$va7 = getITSMOpenStatus($k17);
}
break;
default:
if ($wa5 == base64_decode('Mg==')) {
$va7 = getITSMClosedStatus($k17);
} else {
$va7 = getITSMOpenStatus($k17);
}
break;
}
$ma8 = SearchITSM($k17, $ja4, $va7);
if (!empty($ma8)) {
echo json_encode($ma8);
} else {
$ma8[] = array(base64_decode('UmVzdWx0') => base64_decode('bm9uZQ=='));
echo json_encode($ma8);
}
}
if (isset($_GET[base64_decode('SGVscGRlc2tTZWFyY2g=')])) {
$ia9 = $_POST[base64_decode('U2VhcmNoVmFsdWU=')];
$u8c = 0;
$ma8 = HelpdeskSearch($ia9);
if (!empty($ma8)) {
echo json_encode($ma8);
} else {
$ma8[] = array(base64_decode('UmVzdWx0') => base64_decode('bm9uZQ=='));
echo json_encode($ma8);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTVBhcnRpY2lwYW50VXNlcnM=')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
$q34[] = array([]);
echo json_encode($q34);
return;
}
$oa = base64_decode('U0VMRUNUIHVzZXJzLklELCB1c2Vycy5Vc2VybmFtZQ0KICAgICAgICAgIEZST00gdXNlcnMNCiAgICAgICAgICBXSEVSRSB1c2Vycy5JRCBOT1QgSU4gKFNFTEVDVCBpdHNtX3BhcnRpY2lwYW50cy5Vc2VySUQNCiAgICAgICAgICBGUk9NIGl0c21fcGFydGljaXBhbnRzDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIGl0c21fcGFydGljaXBhbnRzLlVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgV0hFUkUgaXRzbV9wYXJ0aWNpcGFudHMuTW9kdWxlSUQgPSA/IEFORCBFbGVtZW50SUQgPSA/KSBBTkQgQWN0aXZlID0gMQ0KICAgICAgICAgIE9SREVSIEJZIHVzZXJzLkZpcnN0bmFtZSBBU0MsIHVzZXJzLkxhc3RuYW1lIEFTQzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $k17, $g35);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$baa = $l14[base64_decode('SUQ=')];
$e7b = $l14[base64_decode('VXNlcm5hbWU=')];
$g7c = getUserFullName($baa) . base64_decode('ICg=') . $e7b . base64_decode('KQ==');
$q34[] = array(base64_decode('VXNlcklE') => $baa, base64_decode('RnVsbE5hbWU=') => $g7c);
}
if (!empty($q34)) {
echo json_encode($q34);
} else {
$q34[] = array([]);
echo json_encode($q34);
}
}
if (isset($_GET[base64_decode('YWRkSVRTTVBhcnRpY2lwYW50')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$qab = $_POST[base64_decode('TmV3UGFydGljaXBhbnQ=')];
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV9wYXJ0aWNpcGFudHMoTW9kdWxlSUQsIEVsZW1lbnRJRCwgVXNlcklEKSBWQUxVRVMgKD8sID8sID8p');
$sb = mysqli_prepare($zc, $oa);
if (!$sb) {
$m1b = mysqli_error($zc);
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => "Failed to prepare the statement: $m1b");
echo json_encode($q34);
exit;
}
mysqli_stmt_bind_param($sb, base64_decode('c3Nz'), $k17, $g35, $qab);
if (!mysqli_stmt_execute($sb)) {
$m1b = mysqli_stmt_error($sb);
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => "Failed to execute the statement: $m1b");
echo json_encode($q34);
exit;
}
mysqli_stmt_close($sb);
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($q34);
}
if (isset($_GET[base64_decode('YWRkSVRTTUNvbW1lbnQ=')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$mac = $_POST[base64_decode('Q29tbWVudA==')];
$jad = $_POST[base64_decode('Q3VzdG9tZXI=')];
$iae = $_POST[base64_decode('SW50ZXJuYWw=')];
if ($iae == base64_decode('Mg==')) {
$iae = base64_decode('MA==');
}
if ($mac !== '') {
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV9jb21tZW50cyAoUmVsYXRlZEVsZW1lbnRJRCwgSVRTTVR5cGUsIFVzZXJJRCwgVGV4dCwgSW50ZXJuYWwpIFZBTFVFUyAoPyw/LD8sPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $g35, $k17, $x9d, $mac, $iae);
$sb->execute();
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
if ($jad !== base64_decode('MA==')) {
if ($iae == base64_decode('MA==')) {
$faf = base64_decode('MQ==');
sendITSMMailTemplate($k17, $g35, $jad, $mac, $faf);
}
}
$t18 = getITSMTypeName($k17);
$d6a = translate(base64_decode('Q29tbWVudGVk')) . base64_decode('IA==') . strtolower($t18) . base64_decode('IA==') . $g35;
$zb0 = base64_decode('PGI+') . translate(base64_decode('Q29tbWVudGVk')) . base64_decode('PGJyPjxicj4=') . $yb1;
logActivity($g35, $k17, $d6a, $zb0, "javascript:javascript:viewITSM('$g35','$k17','1','modal');");
} else {
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbA=='));
}
echo json_encode($q34);
}
if (isset($_GET[base64_decode('cmVtb3ZlSVRTTVBhcnRpY2lwYW50')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$vb2 = $_POST[base64_decode('UGFydGljaXBhbnQ=')];
$oa = base64_decode('REVMRVRFIEZST00gaXRzbV9wYXJ0aWNpcGFudHMgV0hFUkUgTW9kdWxlSUQgPSA/IEFORCBFbGVtZW50SUQgPSA/IEFORCBVc2VySUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nz'), $k17, $g35, $vb2);
$sb->execute();
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($q34);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTVdvcmtGbG93')])) {
$p8a = ($_SESSION[base64_decode('aWQ=')]);
$hb3 = $_GET[base64_decode('V29ya0Zsb3dJRA==')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_GET[base64_decode('SVRTTUlE')];
if ($k17 == base64_decode('Ng==')) {
$yb4 = "projects_view.php?projectid=$g35";
} elseif ($k17 == base64_decode('MTM=')) {
$yb4 = "projects_tasks_view.php?projecttaskid=$g35";
} else {
$yb4 = "javascript:viewITSM('$g35','$k17','1','modal');";
}
try {
$hb3 = createWorkFlow($g35, $hb3, $p8a, $yb4, $k17);
} catch (Exception $s15) {
$fb5 = $s15->getMessage();
errorLog($fb5, base64_decode('Y3JlYXRlV29ya0Zsb3c='));
$q34[] = array(base64_decode('UmVzdWx0') => "$fb5");
echo json_encode($q34);
return;
}
$ra3 = "Added Workflow: $hb3";
createITSMLogEntry($g35, $k17, $p8a, $ra3);
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($q34);
}
if (isset($_GET[base64_decode('cmVtb3ZlSVRTTVdvcmtGbG93')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$e7b = getUserName($p8a);
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_GET[base64_decode('SVRTTUlE')];
$hb3 = getWorkFlowID($g35, $k17);
$q34 = array();
$oa = base64_decode('REVMRVRFIEZST00gd29ya2Zsb3dzIFdIRVJFIFJlbGF0ZWRFbGVtZW50SUQgPSA/IEFORCBSZWxhdGVkRWxlbWVudFR5cGVJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $g35, $k17);
$sb->execute();
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
} else {
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => base64_decode('RmFpbGVkIHRvIHByZXBhcmUgc3RhdGVtZW50IGZvciBkZWxldGluZyB3b3JrZmxvd3Mu'));
errorlog(base64_decode('UHJlcGFyZSBzdGF0ZW1lbnQgZXJyb3I6IA==') . mysqli_error($zc), base64_decode('cmVtb3ZlSVRTTVdvcmtGbG93'));
}
$oa = base64_decode('REVMRVRFIEZST00gd29ya2Zsb3dzdGVwcyBXSEVSRSBSZWxhdGVkV29ya0Zsb3dJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('cw=='), $hb3);
$sb->execute();
} else {
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => base64_decode('RmFpbGVkIHRvIHByZXBhcmUgc3RhdGVtZW50IGZvciBkZWxldGluZyB3b3JrZmxvdyBzdGVwcy4='));
errorlog(base64_decode('UHJlcGFyZSBzdGF0ZW1lbnQgZXJyb3I6IA==') . mysqli_error($zc), base64_decode('cmVtb3ZlSVRTTVdvcmtGbG93'));
}
$oa = base64_decode('REVMRVRFIEZST00gdGFza3NsaXN0IFdIRVJFIFJlbGF0ZWRFbGVtZW50VHlwZUlEID0gPyBBTkQgUmVsYXRlZEVsZW1lbnRJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $k17, $g35);
$sb->execute();
} else {
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => base64_decode('RmFpbGVkIHRvIHByZXBhcmUgc3RhdGVtZW50IGZvciBkZWxldGluZyB0YXNrc2xpc3Qu'));
errorlog(base64_decode('UHJlcGFyZSBzdGF0ZW1lbnQgZXJyb3I6IA==') . mysqli_error($zc), base64_decode('cmVtb3ZlSVRTTVdvcmtGbG93'));
}
$ra3 = "Removed Workflow: $hb3";
if (!createITSMLogEntry($g35, $k17, $p8a, $ra3)) {
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => base64_decode('RmFpbGVkIHRvIGNyZWF0ZSBJVFNNIGxvZyBlbnRyeS4='));
}
echo json_encode($q34);
}
if (isset($_GET[base64_decode('Z2V0Q0lGaWxlcw==')])) {
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$q1f = $_POST[base64_decode('Q0lJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$oa = base64_decode('U0VMRUNUIGZpbGVzX2Npcy5JRCwgRmlsZU5hbWUsIEZpbGVOYW1lT3JpZ2luYWwsIERhdGUsIENPTkNBVCh1c2Vycy5GaXJzdG5hbWUsJyAnLHVzZXJzLkxhc3RuYW1lLCcgKCcsdXNlcnMuVXNlcm5hbWUsJyknKSBBUyBGdWxsTmFtZQ0KICAgICAgICAgICAgRlJPTSBmaWxlc19jaXMNCiAgICAgICAgICAgIExFRlQgSk9JTiB1c2VycyBPTiBmaWxlc19jaXMuUmVsYXRlZFVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgICBXSEVSRSBSZWxhdGVkRWxlbWVudElEID0gPyBBTkQgUmVsYXRlZFR5cGUgPSA/DQogICAgICAgICAgICBPUkRFUiBCWSBEYXRlIERFU0M=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $q1f, $m10);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$vb7 = array();
while ($l14 = mysqli_fetch_array($d13)) {
$bb8 = $l14[base64_decode('SUQ=')];
$tb9 = $l14[base64_decode('RmlsZU5hbWVPcmlnaW5hbA==')];
$jba = $l14[base64_decode('RmlsZU5hbWU=')];
$xbb = strtolower(pathinfo($jba, PATHINFO_EXTENSION));
$ibc = strtolower(pathinfo($jba, PATHINFO_FILENAME));
$pbd = array(base64_decode('Ym1w'), base64_decode('Z2lm'), base64_decode('anBn'), base64_decode('cG5n'));
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDE1'), $mb6)) {
$g32 = "<a href=\"javascript:deleteCMDBFile($bb8,$q1f,'$df','$m10');\"><i class=\"fas fa-trash\"></i></a>";
} else {
$g32 = '';
}
if (in_array($xbb, $pbd)) {
$hbe = "<a class=\"spotlight\" href=\"./uploads/files_cis/$jba\"><img src=\"./uploads/files_cis/$jba\" style=\"width:100%;max-width:150px\"></a> $g32";
} elseif ($xbb == base64_decode('cGRm')) {
$hbe = "<a href=\"./uploads/files_cis/$jba\" target='_blank'>$tb9</a> $g32";
} else {
$hbe = "<a href='./uploads/files_cis/$jba' download='$tb9' target='_blank'>$tb9</a> $g32";
}
$g9c = convertToDanishTimeFormat($l14[base64_decode('RGF0ZQ==')]);
$vb7[] = array(base64_decode('RGF0ZQ==') => $g9c, base64_decode('RmlsZQ==') => $hbe);
}
if ($vb7) {
echo json_encode($vb7, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
errorlog(base64_decode('UXVlcnkgZXhlY3V0aW9uIGVycm9yOiA=') . mysqli_error($zc), base64_decode('Z2V0Q0lGaWxlcw=='));
echo json_encode([]);
}
} else {
errorlog(base64_decode('UHJlcGFyZSBzdGF0ZW1lbnQgZXJyb3I6IA==') . mysqli_error($zc), base64_decode('Z2V0Q0lGaWxlcw=='));
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lGaWxlc1N1bQ==')])) {
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$df = $_POST[base64_decode('Q0lUYWJsZU5hbWU=')];
$q1f = $_POST[base64_decode('Q0lJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$oa = base64_decode('U0VMRUNUIENPVU5UKGZpbGVzX2Npcy5JRCkgQVMgQW50YWwNCiAgICAgICAgICAgIEZST00gZmlsZXNfY2lzDQogICAgICAgICAgICBMRUZUIEpPSU4gdXNlcnMgT04gZmlsZXNfY2lzLlJlbGF0ZWRVc2VySUQgPSB1c2Vycy5JRA0KICAgICAgICAgICAgV0hFUkUgUmVsYXRlZEVsZW1lbnRJRCA9ID8gQU5EIFJlbGF0ZWRUeXBlID0gPw0KICAgICAgICAgICAgT1JERVIgQlkgRGF0ZSBERVND');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $q1f, $m10);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$vb7 = array();
while ($l14 = mysqli_fetch_array($d13)) {
$ybf = $l14[base64_decode('QW50YWw=')];
$vb7[] = array(base64_decode('QW50YWw=') => $ybf);
}
if ($vb7) {
echo json_encode($vb7, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
errorlog(base64_decode('UXVlcnkgZXhlY3V0aW9uIGVycm9yOiA=') . mysqli_error($zc), base64_decode('Z2V0Q0lGaWxlc1N1bQ=='));
echo json_encode([]);
}
} else {
errorlog(base64_decode('UHJlcGFyZSBzdGF0ZW1lbnQgZXJyb3I6IA==') . mysqli_error($zc), base64_decode('Z2V0Q0lGaWxlc1N1bQ=='));
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTUZpbGVz')])) {
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$oa = base64_decode('U0VMRUNUIGZpbGVzX2l0c20uSUQsIEZpbGVOYW1lLCBGaWxlTmFtZU9yaWdpbmFsLCBEYXRlLCBDT05DQVQodXNlcnMuRmlyc3RuYW1lLCcgJyx1c2Vycy5MYXN0bmFtZSwnICgnLHVzZXJzLlVzZXJuYW1lLCcpJykgQVMgRnVsbE5hbWUNCiAgICAgICAgICBGUk9NIGZpbGVzX2l0c20NCiAgICAgICAgICBMRUZUIEpPSU4gdXNlcnMgT04gZmlsZXNfaXRzbS5SZWxhdGVkVXNlcklEID0gdXNlcnMuSUQNCiAgICAgICAgICBXSEVSRSBSZWxhdGVkRWxlbWVudElEID0gPyBBTkQgUmVsYXRlZFR5cGUgPSA/DQogICAgICAgICAgT1JERVIgQlkgRGF0ZSBERVND');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $g35, $k17);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$sc0 = base64_decode('PGRpdiBjbGFzcz0ic3BvdGxpZ2h0LWdyb3VwIj4=');
$vb7 = array();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$tb9 = $l14[base64_decode('RmlsZU5hbWVPcmlnaW5hbA==')];
$jba = $l14[base64_decode('RmlsZU5hbWU=')];
$xbb = strtolower(pathinfo($jba, PATHINFO_EXTENSION));
$ibc = strtolower(pathinfo($jba, PATHINFO_FILENAME));
$pbd = array(base64_decode('Ym1w'), base64_decode('Z2lm'), base64_decode('anBn'), base64_decode('cG5n'));
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$g32 = "<a href=\"javascript:deleteDocument('$jba','itsm');\"><i class=\"fas fa-trash\"></i></a>";
} else {
$g32 = '';
}
if (in_array($xbb, $pbd)) {
$hbe = "<a class=\"spotlight\" href=\"./uploads/files_itsm/$jba\"><img src=\"./uploads/files_itsm/$jba\" style=\"width:100%;max-width:150px\"></a> $g32";
} elseif ($xbb == base64_decode('cGRm')) {
$hbe = "<a href=\"./uploads/files_itsm/$jba\" target='_blank'>$tb9</a> $g32";
} else {
$hbe = "<a href='./uploads/files_itsm/$jba' download='$tb9' target='_blank'>$tb9</a> $g32";
}
$g9c = convertToDanishTimeFormat($l14[base64_decode('RGF0ZQ==')]);
$vb7[] = array(base64_decode('RGF0ZQ==') => $g9c, base64_decode('RmlsZQ==') => $hbe);
}
$lc1 = base64_decode('PC9kaXY+');
echo json_encode($vb7, JSON_PRETTY_PRINT);
} else {
errorlog(base64_decode('UXVlcnkgZXhlY3V0aW9uIGVycm9yOiA=') . mysqli_error($zc), base64_decode('Z2Q6Z2V0SVRTTUZpbGVz'));
echo json_encode([]);
}
} else {
errorlog(base64_decode('UXVlcnkgZXhlY3V0aW9uIGVycm9yOiA=') . mysqli_error($zc), base64_decode('Z2Q6Z2V0SVRTTUZpbGVz'));
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0RmlsZXM=')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$cc2 = $_POST[base64_decode('RWxlbWVudElE')];
$j9f = $_POST[base64_decode('TW9kdWxlSUQ=')];
switch ($j9f) {
case base64_decode('dXNlcnM='):
$oc3 = base64_decode('ZmlsZXNfdXNlcnM=');
break;
case base64_decode('Y29tcGFuaWVz'):
$oc3 = base64_decode('ZmlsZXNfY29tcGFuaWVz');
break;
default:
$oc3 = getFilesPath($j9f);
break;
}
$oa = "SELECT $oc3.ID, FileName, FileNameOriginal, Date, CONCAT(users.Firstname,' ',users.Lastname,' (',users.Username,')') AS FullName
FROM $oc3
LEFT JOIN users ON $oc3.RelatedUserID = users.ID
WHERE RelatedElementID = ?
ORDER BY Date DESC";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $cc2);
$sb->execute();
$d13 = $sb->get_result();
$r42 = [];
while ($l14 = mysqli_fetch_assoc($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$tb9 = $l14[base64_decode('RmlsZU5hbWVPcmlnaW5hbA==')];
$jba = $l14[base64_decode('RmlsZU5hbWU=')];
$ac4 = $l14[base64_decode('RnVsbE5hbWU=')];
$xbb = strtolower(pathinfo($jba, PATHINFO_EXTENSION));
$ibc = strtolower(pathinfo($jba, PATHINFO_FILENAME));
$tc5 = array(base64_decode('Ym1w'), base64_decode('Z2lm'), base64_decode('anBn'), base64_decode('cG5n'));
$g32 = "<a href=\"javascript:deleteDocument('$jba','$j9f');\"><i class=\"fas fa-trash\"></i></a>";
if ($j9f == base64_decode('Nw==')) {
$dc6 = showFileDeleteLink($j9f, $r46);
if ($dc6 == 0) {
$g32 = '';
}
}
if (in_array($xbb, $tc5)) {
$hbe = "<a class=\"spotlight\" href=\"./uploads/$oc3/$jba\"><img src=\"./uploads/$oc3/$jba\" style=\"width:100%;max-width:150px\"></a> $g32";
} elseif ($xbb == base64_decode('cGRm')) {
$hbe = "<a href=\"./uploads/$oc3/$jba\" target='_blank'>$tb9</a> $g32";
} else {
$hbe = "<a href='./uploads/$oc3/$jba' download='$tb9' target='_blank'>$tb9</a> $g32";
}
$g9c = convertToDanishTimeFormat($l14[base64_decode('RGF0ZQ==')]);
$hc7 = array(translate(base64_decode('RGF0ZQ==')) => $g9c, translate(base64_decode('VXNlcg==')) => $ac4, translate(base64_decode('RmlsZQ==')) => $hbe);
$r42[] = $hc7;
}
if (empty($r42)) {
echo json_encode([]);
} else {
echo json_encode($r42);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTVN1bXM=')])) {
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$oa = base64_decode('U0VMRUNUIENPVU5UKGZpbGVzX2l0c20uSUQpIEFTIEFudGFsDQogICAgICAgICAgRlJPTSBmaWxlc19pdHNtDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIGZpbGVzX2l0c20uUmVsYXRlZFVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgV0hFUkUgUmVsYXRlZEVsZW1lbnRJRCA9ID8gQU5EIFJlbGF0ZWRUeXBlID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $g35, $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$tc8 = $l14[base64_decode('QW50YWw=')];
}
$oa = "SELECT COUNT(workflowsteps.ID) AS Antal
FROM workflows
LEFT JOIN workflowsteps ON workflows.ID = workflowsteps.RelatedWorkFlowID
WHERE RelatedElementID = $g35 AND RelatedElementTypeID = '$k17' AND RelatedStatusID IN(1,2)";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$ic9 = $l14[base64_decode('QW50YWw=')];
}
$vb7[] = array(base64_decode('U3VtRmlsZXM=') => $tc8, base64_decode('U3VtV0ZU') => $ic9);
if ($vb7) {
echo json_encode($vb7, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lJVFNNUmVsYXRpb25z')])) {
$q1f = $_POST[base64_decode('Q0lJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$oa = base64_decode('U0VMRUNUIElELCBJVFNNVGFibGUsIElUU01JRA0KICAgICAgICAgIEZST00gY21kYl9jaV9pdHNtX3JlbGF0aW9ucw0KICAgICAgICAgIFdIRVJFIENJVGFibGUgPSA/IEFORCBDSUlEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $df, $q1f);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$g35 = $l14[base64_decode('SVRTTUlE')];
$i16 = $l14[base64_decode('SVRTTVRhYmxl')];
$k17 = getITSMTypeIDFromTableName($i16);
$eca = getElementSubject2($g35, $i16);
$g9c = getElementDate2($g35, $i16, base64_decode('Q3JlYXRlZA=='));
if ($v20 == 1) {
$g32 = base64_decode('Jm5ic3A7Jm5ic3A7Jm5ic3A7PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . _(base64_decode('RGVsZXRlIHJlbGF0aW9u')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteITSMToElementRelation($r46, $m10, $k17, $g35);\"><i class=\"fa fa-trash\"></i></span></a>";
} else {
$g32 = '';
}
$b33 = "<a href=\"javascript:viewITSM('$g35','$k17','1','modal');\">$eca</a>$g32";
$q34[] = array(base64_decode('VHlwZQ==') => _("$i16"), _(base64_decode('RWxlbWVudHM=')) => $b33, _(base64_decode('RGF0ZQ==')) => $g9c);
}
if (!empty($q34)) {
echo json_encode($q34);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Y3JlYXRlSUNTRnJvbVByb2plY3Q=')])) {
$mcb = $_GET[base64_decode('UHJvamVjdElE')];
$wcc = getSettingValue(17);
$lcd = base64_decode('QkVHSU46VkNBTEVOREFSDQpQUk9ESUQ6LS8vR29vZ2xlIEluYy8vR29vZ2xlIENhbGVuZGFyIDcwLjkwNTQvL0VODQpWRVJTSU9OOjIuMA0KQ0FMU0NBTEU6R1JFR09SSUFODQpNRVRIT0Q6UFVCTElTSA0KWC1XUi1USU1FWk9ORTpFdXJvcGUvQ29wZW5oYWdlbg0K');
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdGFza3MuSUQgQVMgSUQsIHByb2plY3RfdGFza3MuVGFza05hbWUsIHByb2plY3RfdGFza3MuRGVzY3JpcHRpb24gQVMgRGVzY3JpcHRpb24sIHByb2plY3RfdGFza3MuU3RhcnQgQVMgU3RhcnREYXRlLCBwcm9qZWN0X3Rhc2tzLkRlYWRsaW5lIEFTIERlYWRsaW5lLCAnUFQnIEFTIFR5cGUNCiAgICAgICAgICBGUk9NIHByb2plY3RfdGFza3MNCiAgICAgICAgICBXSEVSRSBwcm9qZWN0X3Rhc2tzLlJlbGF0ZWRQcm9qZWN0ID0gPw0KICAgICAgICAgIFVOSU9OIA0KICAgICAgICAgIFNFTEVDVCBwcm9qZWN0c19zcHJpbnRzLklEIEFTIElELCBwcm9qZWN0c19zcHJpbnRzLlNob3J0TmFtZSBBUyBUYXNrTmFtZSwgcHJvamVjdHNfc3ByaW50cy5EZXNjcmlwdGlvbiBBUyBEZXNjcmlwdGlvbiwgcHJvamVjdHNfc3ByaW50cy5TdGFydCBBUyBTdGFydERhdGUsIHByb2plY3RzX3NwcmludHMuRGVhZGxpbmUgQVMgRGVhZGxpbmUsICdTcHJpbnQnIEFTIFR5cGUNCiAgICAgICAgICBGUk9NIHByb2plY3RzX3NwcmludHMNCiAgICAgICAgICBXSEVSRSBwcm9qZWN0c19zcHJpbnRzLlJlbGF0ZWRQcm9qZWN0SUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $mcb, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$w21 = base64_decode('MQ==');
while ($l14 = mysqli_fetch_array($d13)) {
$l8 = $l14[base64_decode('SUQ=')];
$q54 = $l14[base64_decode('VHlwZQ==')];
if ($q54 == base64_decode('UFQ=')) {
$cce = $wcc . "/projects_tasks_view.php?projecttaskid=$l8";
$scf = _("$q54: ") . $l8 . base64_decode('IC0g') . $l14[base64_decode('VGFza05hbWU=')];
$scf = mb_convert_encoding($scf, base64_decode('VVRGLTg='), base64_decode('VVRGLTg='));
$scf = strip_tags(htmlspecialchars_decode($scf));
} else {
$cce = $wcc . "/projects_view.php?projectid=$mcb";
$scf = _("$q54: ") . $l14[base64_decode('VGFza05hbWU=')];
$scf = mb_convert_encoding($scf, base64_decode('VVRGLTg='), base64_decode('VVRGLTg='));
$scf = strip_tags(htmlspecialchars_decode($scf));
}
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$f1e = mb_convert_encoding($f1e, base64_decode('VVRGLTg='), base64_decode('VVRGLTg='));
$f1e = strip_tags(htmlspecialchars_decode($f1e));
$f1e = $f1e . "\nCreated from <a href=\"$cce\">$wcc</a>";
$kd0 = $l14[base64_decode('U3RhcnREYXRl')];
$kd0 = strtotime($kd0);
$kd0 = date(base64_decode('WW1kXFRIaXM='), $kd0);
$j7e = $l14[base64_decode('RGVhZGxpbmU=')];
$j7e = strtotime($j7e);
$j7e = date(base64_decode('WW1kXFRIaXM='), $j7e);
$sd1 = strtotime(date(base64_decode('RCBNIGQsIFkgRzpp')));
$ld2 = date(base64_decode('WW1kXFRIaXM='), $sd1);
$td3 .= "BEGIN:VEVENT
DTSTART:$kd0
DTEND:$j7e
DTSTAMP:$ld2
UID:$q54-$l8@$wcc
CLASS:PUBLIC
CREATED:$ld2
DESCRIPTION:$f1e
URL:$cce
LAST-MODIFIED:$ld2
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:$scf
TRANSP:OPAQUE
END:VEVENT
";
}
$lcd .= $td3;
$lcd .= base64_decode('RU5EOlZDQUxFTkRBUg==');
$fe[] = array(base64_decode('ZmlsZWNvbnRlbnQ=') => $lcd);
mysqli_free_result($d13);
echo json_encode($fe, JSON_PRETTY_PRINT);
}
if (isset($_POST[base64_decode('bWVzc2FnZQ==')])) {
$jd4 = $_POST[base64_decode('bWVzc2FnZQ==')];
$r9 = date(base64_decode('WS1tLWQgSDppOnM='));
$oa = base64_decode('U0VMRUNUIFJlYWREYXRlIA0KICAgICAgICAgIEZST00gbWVzc2FnZXMgDQogICAgICAgICAgV0hFUkUgbWVzc2FnZXMuSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $jd4);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$pd5 = $l14[base64_decode('UmVhZERhdGU=')];
if (empty($pd5)) {
$oa = base64_decode('VVBEQVRFIG1lc3NhZ2VzIA0KICAgICAgICAgICAgICBTRVQgUmVhZERhdGUgPSA/DQogICAgICAgICAgICAgIFdIRVJFIG1lc3NhZ2VzLklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r9, $jd4);
$sb->execute();
}
}
}
if (isset($_POST[base64_decode('bWFya21lc3NhZ2VzcmVhZGZvcnVzZXJpZA==')])) {
$p8a = ($_SESSION[base64_decode('aWQ=')]);
$r9 = date(base64_decode('WS1tLWQgSDppOnM='));
$oa = '';
$oa = base64_decode('VVBEQVRFIG1lc3NhZ2VzIFNFVCBtZXNzYWdlcy5SZWFkRGF0ZSA9ID8gV0hFUkUgVG9Vc2VySUQgPSA/IEFORCBSZWFkRGF0ZSBJUyBOVUxMOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r9, $p8a);
$sb->execute();
}
if (isset($_GET[base64_decode('cG9wTW9kYWxFZGl0VXNlcnM=')])) {
$p8a = $_GET[base64_decode('cG9wTW9kYWxFZGl0VXNlcnM=')];
$oa = base64_decode('U0VMRUNUIEZpcnN0bmFtZSwgTGFzdG5hbWUsIEVtYWlsLCBVc2VybmFtZSwgUmVsYXRlZFVzZXJUeXBlSUQsIENvbXBhbnlJRCwgSm9iVGl0ZWwsIFBob25lLCBBY3RpdmUsIFJlbGF0ZWRNYW5hZ2VyLCBTdGFydERhdGUNCiAgICAgICAgICBGUk9NIFVzZXJzDQogICAgICAgICAgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$dd6 = mysqli_fetch_all($d13, MYSQLI_ASSOC);
foreach ($dd6 as &$k45) {
$k45[base64_decode('U3RhcnREYXRl')] = convertToDanishDateFormat($k45[base64_decode('U3RhcnREYXRl')]);
}
mysqli_free_result($d13);
echo json_encode($dd6, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cG9wTW9kYWxFZGl0UGFzc3dvcmRz')])) {
$yd7 = $_GET[base64_decode('cG9wTW9kYWxFZGl0UGFzc3dvcmRz')];
$oa = base64_decode('U0VMRUNUIElELCBSZWxhdGVkQ29tcGFueUlELCBTZXJ2ZXJEZXN0aW5hdGlvbiwgRG9tYWluLCBVc2VybmFtZSwgUGFzc3dvcmQsIERlc3RpbmF0aW9uVHlwZUlELCBEZXNjcmlwdGlvbiwgUmVsYXRlZEdyb3VwSUQNCiAgICAgICAgICBGUk9NIHBhc3N3b3JkbWFuYWdlcl9wYXNzd29yZHMNCiAgICAgICAgICBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $yd7);
$sb->execute();
$d13 = $sb->get_result();
$dd6 = mysqli_fetch_all($d13, MYSQLI_ASSOC);
mysqli_free_result($d13);
echo json_encode($dd6, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cG9wTW9kYWxFZGl0U2V0dGluZ3M=')])) {
$md8 = $_GET[base64_decode('cG9wTW9kYWxFZGl0U2V0dGluZ3M=')];
$oa = base64_decode('U0VMRUNUIElELCBTZXR0aW5nc1R5cGVJRCwgU2V0dGluZ05hbWUsIFNldHRpbmdEZXNjcmlwdGlvbiwgU2V0dGluZ1ZhbHVlLCBBY3RpdmUNCiAgICAgICAgICBGUk9NIHNldHRpbmdzDQogICAgICAgICAgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $md8);
$sb->execute();
$d13 = $sb->get_result();
$dd6 = mysqli_fetch_all($d13, MYSQLI_ASSOC);
mysqli_free_result($d13);
echo json_encode($dd6, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cG9wTW9kYWxlZGl0TWFpbFRlbXBsYXRlcw==')])) {
$r46 = $_GET[base64_decode('cG9wTW9kYWxlZGl0TWFpbFRlbXBsYXRlcw==')];
$oa = base64_decode('U0VMRUNUIElELCBTdWJqZWN0LCBDb250ZW50LCBVcGRhdGVkLCBVcGRhdGVkQnkNCiAgICAgICAgICBGUk9NIG1haWxfdGVtcGxhdGVzDQogICAgICAgICAgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $r46);
$sb->execute();
$d13 = $sb->get_result();
$xd9 = mysqli_fetch_all($d13, MYSQLI_ASSOC);
mysqli_free_result($d13);
echo json_encode($xd9, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cG9wTW9kYWxlZGl0TGFuZ3VhZ2Vz')])) {
$mda = $_GET[base64_decode('cG9wTW9kYWxlZGl0TGFuZ3VhZ2Vz')];
$oa = base64_decode('U0VMRUNUIElELCBNYWluTGFuZ3VhZ2UsIGRhX0RLLCBkZV9ERSwgZXNfRVMsIGZyX0ZSLCBmaV9GSSwgaXRfSVQsIHRyX1RSLCB6aF9DTiwgcnVfUlUsIGphX0pQLCBwdF9QVA0KICAgICAgICAgIEZST00gbGFuZ3VhZ2VzDQogICAgICAgICAgV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mda);
$sb->execute();
$d13 = $sb->get_result();
$rdb = mysqli_fetch_all($d13, MYSQLI_ASSOC);
mysqli_free_result($d13);
echo json_encode($rdb, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('ZGVsZXRlTGFuZ3VhZ2VFbnRyeQ==')])) {
$mda = $_POST[base64_decode('TGFuZ3VhZ2VJRA==')];
$oa = base64_decode('REVMRVRFIEZST00gbGFuZ3VhZ2VzDQogICAgICAgICAgV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mda);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('ZWRpdE1vZHVsZXNNb2RhbA==')])) {
$gdc = $_GET[base64_decode('ZWRpdE1vZHVsZXNNb2RhbA==')];
$oa = base64_decode('U0VMRUNUIElELCBNb2R1bGVOYW1lLCBMaWNlbnNlS2V5LCBNb2R1bGVBY3RpdmUsIERlc2NyaXB0aW9uLCBIZWxwVGV4dCANCiAgICAgICAgICBGUk9NIG1vZHVsZXMNCiAgICAgICAgICBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $gdc);
$sb->execute();
$d13 = $sb->get_result();
$rdd = mysqli_fetch_all($d13, MYSQLI_ASSOC);
mysqli_free_result($d13);
echo json_encode($rdd, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0ZG9jdW1lbnRpbmZv')])) {
$pde = $_GET[base64_decode('Z2V0ZG9jdW1lbnRpbmZv')];
$oa = base64_decode('U0VMRUNUIGtub3dsZWRnZV9kb2N1bWVudHMuSUQgQVMgRG9jSUQsIGtub3dsZWRnZV9kb2N1bWVudHMuUmVsYXRlZFN0YXR1c0lEIEFTIFN0YXR1c0lELCBrbm93bGVkZ2VfZG9jdW1lbnRzLk5hbWUgQVMgRG9jTmFtZSwgVmVyc2lvbiBBUyBEb2NWZXJzaW9uLCBSZWxhdGVkR3JvdXBJRCwgUmVsYXRlZEFwcHJvdmVySUQsIFJlbGF0ZWRPd25lcklELCBDb250ZW50LCBSZWxhdGVkQ2F0ZWdvcnksIFB1YmxpYywgUmVsYXRlZFB1YmxpY0NhdGVnb3J5SUQNCiAgICAgICAgICBGUk9NIGtub3dsZWRnZV9kb2N1bWVudHMgDQogICAgICAgICAgV0hFUkUga25vd2xlZGdlX2RvY3VtZW50cy5JRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $pde);
$sb->execute();
$d13 = $sb->get_result();
$ydf = mysqli_fetch_all($d13, MYSQLI_ASSOC);
mysqli_free_result($d13);
echo json_encode($ydf, JSON_PRETTY_PRINT);
}
if (isset($_POST[base64_decode('Y2hhbmdlU2V0dGluZ0RldGFpbHM=')]) && !empty($_POST[base64_decode('c2V0dGluZ2lk')]) && !empty($_POST[base64_decode('c2V0dGluZ25hbWU=')])) {
$md8 = $_POST[base64_decode('c2V0dGluZ2lk')];
$oe0 = $_POST[base64_decode('c2V0dGluZ25hbWU=')];
$oe1 = $_POST[base64_decode('c2V0dGluZ2Rlc2NyaXB0aW9u')];
$le2 = $_POST[base64_decode('c2V0dGluZ3ZhbHVl')];
$ze3 = $_POST[base64_decode('c2V0dGluZ3R5cGU=')];
$ye4 = $_POST[base64_decode('YWN0aXZl')];
$oa = "UPDATE settings
SET SettingName = ?, SettingDescription = ?, SettingValue = ?, SettingsTypeID = ?, Active = ?
WHERE ID=$md8";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $oe0, $oe1, $le2, $ze3, $ye4);
$sb->execute();
if ($md8 == base64_decode('MTM=')) {
updateManifestFile($le2);
}
}
if (isset($_GET[base64_decode('Y2hhbmdlTWFpbFRlbXBsYXRl')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$he5 = $_POST[base64_decode('bWFpbHRlbXBsYXRlaWQ=')];
$se6 = $_POST[base64_decode('bWFpbHRlbXBsYXRlc3ViamVjdA==')];
$ae7 = $_POST[base64_decode('bWFpbHRlbXBsYXRlQ29udGVudA==')];
$ie8 = $_POST[base64_decode('bWFpbHRlbXBsYXRlVXBkYXRlZEJ5')];
$oa = base64_decode('VVBEQVRFIG1haWxfdGVtcGxhdGVzIA0KICAgICAgICAgIFNFVCBtYWlsX3RlbXBsYXRlcy5TdWJqZWN0ID0gPywgbWFpbF90ZW1wbGF0ZXMuQ29udGVudCA9ID8sIG1haWxfdGVtcGxhdGVzLlVwZGF0ZWQgPSBOT1coKSwgbWFpbF90ZW1wbGF0ZXMuVXBkYXRlZEJ5ID0gPw0KICAgICAgICAgIFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $se6, $ae7, $p8a, $he5);
$sb->execute();
}
if (isset($_POST[base64_decode('dXBkYXRlU0xB')])) {
$le9 = $_POST[base64_decode('U0xBaWQ=')];
$jea = $_POST[base64_decode('U0xBTmFtZQ==')];
$oeb = $_POST[base64_decode('U0xBUHJpb3JpdHk=')];
$iec = $_POST[base64_decode('UmVjZWl2ZWRNaW51dGVz')];
$ned = $_POST[base64_decode('QXNzaWduZWRUb1RlYW1NaW51dGVz')];
$lee = $_POST[base64_decode('QXNzaWduZWRUb1RlY2huaWNpYW5NaW51dGVz')];
$bef = $_POST[base64_decode('SW5SZXNvbHV0aW9uUHJvY2Vzc01pbnV0ZXM=')];
$tf0 = $_POST[base64_decode('UmVzb2x2ZWRNaW51dGVz')];
$oa = base64_decode('VVBEQVRFIHNsYV9yZWFjdGlvbl90aW1lX21hdHJpeCBTRVQgUmVjZWl2ZWRNaW51dGVzID0gPywgQXNzaWduZWRUb1RlYW1NaW51dGVzID0gPywgQXNzaWduZWRUb1RlY2huaWNpYW5NaW51dGVzID0gPywgSW5SZXNvbHV0aW9uUHJvY2Vzc01pbnV0ZXMgPSA/LCBSZXNvbHZlZE1pbnV0ZXMgPSA/DQogICAgICAgICAgV0hFUkUgc2xhX3JlYWN0aW9uX3RpbWVfbWF0cml4LklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nzcw=='), $iec, $ned, $lee, $he5, $bef, $tf0, $le9);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRlTGFuZ3VhZ2VFbnRyeQ==')])) {
if (in_array(base64_decode('MTAwMDI0'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$mda = $_POST[base64_decode('bW9kYWxMYW5ndWFnZUlE')];
$ff1 = trim($_POST[base64_decode('TWFpbkxhbmd1YWdl')]);
$kf2 = trim($_POST[base64_decode('ZGFESw==')]);
$uf3 = trim($_POST[base64_decode('ZGVERQ==')]);
$rf4 = trim($_POST[base64_decode('ZXNFUw==')]);
$ef5 = trim($_POST[base64_decode('ZnJGUg==')]);
$af6 = trim($_POST[base64_decode('ZmlGSQ==')]);
$gf7 = trim($_POST[base64_decode('aXRJVA==')]);
$df8 = trim($_POST[base64_decode('dHJUUg==')]);
$pf9 = trim($_POST[base64_decode('emhDTg==')]);
$jfa = trim($_POST[base64_decode('cnVSVQ==')]);
$bfb = trim($_POST[base64_decode('amFKUA==')]);
$kfc = trim($_POST[base64_decode('cHRQVA==')]);
$oa = base64_decode('VVBEQVRFIGxhbmd1YWdlcyBTRVQgTWFpbkxhbmd1YWdlID0gPywgZGFfREsgPSA/LCBkZV9ERSA9ID8sIGVzX0VTID0gPywgZnJfRlIgPSA/LCBmaV9GSSA9ID8sIGl0X0lUID0gPywgdHJfVFIgPSA/LCB6aF9DTiA9ID8sIHJ1X1JVID0gPywgamFfSlAgPSA/LCBwdF9QVCA9ID8NCiAgICAgICAgICBXSEVSRSBsYW5ndWFnZXMuSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nzc3Nzc3Nzcw=='), $ff1, $kf2, $uf3, $rf4, $ef5, $af6, $gf7, $df8, $pf9, $jfa, $bfb, $kfc, $mda);
$sb->execute();
}
if (isset($_POST[base64_decode('YWRkTGFuZ3VhZ2VFbnRyeQ==')])) {
$ff1 = trim($_POST[base64_decode('TWFpbkxhbmd1YWdl')]);
$nfd = checkForExistingMainLanguage($yfe);
if ($ff1 == $nfd) {
return;
}
$kf2 = trim($_POST[base64_decode('ZGFESw==')]);
$uf3 = trim($_POST[base64_decode('ZGVERQ==')]);
$rf4 = trim($_POST[base64_decode('ZXNFUw==')]);
$ef5 = trim($_POST[base64_decode('ZnJGUg==')]);
$af6 = trim($_POST[base64_decode('ZmlGSQ==')]);
$oa = base64_decode('SU5TRVJUIElOVE8gbGFuZ3VhZ2VzKE1haW5MYW5ndWFnZSwgZGFfREssIGRlX0RFLCBlc19FUywgZnJfRlIsIGZpX0ZJKSBWQUxVRVMgKD8sPyw/LD8sPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nz'), $ff1, $kf2, $uf3, $rf4, $ef5, $af6);
$sb->execute();
}
if (isset($_POST[base64_decode('Y2hhbmdlRG9jdW1lbnREZXRhaWxz')]) && !empty($_POST[base64_decode('ZG9jaWQ=')]) && !empty($_POST[base64_decode('ZG9jbmFtZQ==')])) {
$pde = $_POST[base64_decode('ZG9jaWQ=')];
$hff = $_POST[base64_decode('c3RhdHVz')];
$d100 = mysqli_real_escape_string($zc, $_POST[base64_decode('ZG9jbmFtZQ==')]);
$x101 = $_POST[base64_decode('dmVyc2lvbg==')];
$j102 = $_POST[base64_decode('Z3JvdXA=')];
$p103 = $_POST[base64_decode('YXBwcm92ZXI=')];
$y104 = $_POST[base64_decode('b3duZXI=')];
$t105 = mysqli_real_escape_string($zc, $_POST[base64_decode('Y29udGVudA==')]);
$u106 = $_POST[base64_decode('Y2F0ZWdvcnk=')];
$i107 = $_POST[base64_decode('cHVibGlj')];
$v108 = $_POST[base64_decode('cHVibGljQ2F0ZWdvcnk=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$r9 = date(base64_decode('WS1tLWQgSDppOnM='));
if (empty($p103)) {
$p103 = base64_decode('TlVMTA==');
}
if (empty($j102)) {
$j102 = base64_decode('TlVMTA==');
}
if (empty($v108)) {
$v108 = base64_decode('MA==');
}
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIE5hbWUgPSA/LCBWZXJzaW9uID0gPywgUmVsYXRlZEdyb3VwSUQgPSA/LCBSZWxhdGVkQXBwcm92ZXJJRCA9ID8sIFJlbGF0ZWRPd25lcklEID0gPywgQ29udGVudCA9ID8sIFJlbGF0ZWRTdGF0dXNJRCA9ID8sIFJlbGF0ZWRDYXRlZ29yeSA9ID8sIA0KICAgICAgICAgIExhc3RDaGFuZ2VkID0gPywgTGFzdENoYW5nZWRCeSA9ID8sIFB1YmxpYyA9ID8sIFJlbGF0ZWRQdWJsaWNDYXRlZ29yeUlEID0gPw0KICAgICAgICAgIFdIRVJFIElEPSc=') . $pde . base64_decode('Jzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nzc3Nzc3Nzcw=='), $d100, $x101, $j102, $p103, $y104, $t105, $hff, $u106, $r9, $p8a, $i107, $v108, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgY2hhbmdlZCBieSA=') . $p8a;
createDocLogEntry($pde, $p8a, $j109, $ra3);
incrementDocVersion($pde, $x101);
}
if (isset($_GET[base64_decode('Y3JlYXRlRG9jdW1lbnQ=')])) {
$j10a = $_SESSION[base64_decode('aWQ=')];
$hff = $_POST[base64_decode('c3RhdHVz')];
$g10b = mysqli_real_escape_string($zc, $_POST[base64_decode('ZG9jbmFtZQ==')]);
$j102 = $_POST[base64_decode('Z3JvdXA=')];
$p103 = $_POST[base64_decode('YXBwcm92ZXI=')];
$c10c = $_POST[base64_decode('cmV2aWV3ZXI=')];
$y104 = $_POST[base64_decode('b3duZXI=')];
$u106 = $_POST[base64_decode('Y2F0ZWdvcnk=')];
$t105 = trim(htmlspecialchars_decode($_POST[base64_decode('Y29udGVudA==')]));
$t105 = stripStringFromScrollbarTags($t105);
$y10d = strip_tags(str_replace(base64_decode('PA=='), base64_decode('IDw='), $y10d));
$y10d = filterStopWords($y10d, $j10a);
if (empty($p103)) {
$p103 = null;
}
if (empty($c10c)) {
$c10c = null;
}
if (empty($j102)) {
$j102 = null;
}
$oa = base64_decode('SU5TRVJUIElOVE8ga25vd2xlZGdlX2RvY3VtZW50cyAoUmVsYXRlZENhdGVnb3J5LCBDcmVhdGVkQnksIE5hbWUsIFZlcnNpb24sIFJlbGF0ZWRHcm91cElELCBSZWxhdGVkUmV2aWV3ZXJJRCwgUmVsYXRlZEFwcHJvdmVySUQsIFJlbGF0ZWRPd25lcklELCBDb250ZW50LCBDb250ZW50RnVsbFRleHQsIFJlbGF0ZWRTdGF0dXNJRCwgTGFzdENoYW5nZWQsIExhc3RDaGFuZ2VkQnkpIA0KICAgICAgICAgIFZBTFVFUyAoPywgPywgPywgMCwgPywgPywgPywgPywgPywgPywgPywgTk9XKCksID8p');
$sb = mysqli_prepare($zc, $oa);
if ($sb === false) {
errorlog(base64_decode('RXJyb3I6IEZhaWxlZCB0byBwcmVwYXJlIHN0YXRlbWVudC4='), base64_decode('Y3JlYXRlRG9jdW1lbnQ='));
}
$sb->bind_param(base64_decode('c3Nzc3Nzc3Nzc3M='), $u106, $j10a, $g10b, $j102, $c10c, $p103, $y104, $t105, $y10d, $hff, $j10a);
if (!$sb->execute()) {
errorlog(base64_decode('RXJyb3I6IEZhaWxlZCB0byBleGVjdXRlIHN0YXRlbWVudC4='), base64_decode('Y3JlYXRlRG9jdW1lbnQ='));
}
$d13 = $sb->get_result();
$j10e = $zc->$a10f;
if ($j10e === 0) {
errorlog(base64_decode('RXJyb3I6IEZhaWxlZCB0byByZXRyaWV2ZSBpbnNlcnQgSUQu'), base64_decode('Y3JlYXRlRG9jdW1lbnQ='));
}
$d110 = 2;
$y111 = base64_decode('RG9jdW1lbnQgQ3JlYXRlZA==');
createDocLogEntry($j10e, $j10a, $d110, $y111);
$fe[] = array(base64_decode('ZG9jdW1lbnRJZA==') => $j10e);
echo json_encode($fe, JSON_PRETTY_PRINT);
}
if (isset($_POST[base64_decode('ZGVsZXRlY2F0ZWdvcnk=')])) {
$l112 = $_POST[base64_decode('ZGVsZXRlY2F0ZWdvcnk=')];
$oa = base64_decode('REVMRVRFIEZST00ga25vd2xlZGdlX2NhdGVnb3JpZXMgV0hFUkUgRml4ZWQgISA9IDEgQU5EIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $l112);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlR3JvdXBJbmZvcm1hdGlvbg==')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q113 = [];
foreach ($_POST[base64_decode('ZGF0YQ==')] as $u52) {
$q113[$u52[base64_decode('bmFtZQ==')]] = $u52[base64_decode('dmFsdWU=')];
}
$x9d = $_SESSION[base64_decode('aWQ=')];
$j114 = $q113[base64_decode('R3JvdXBJRA==')];
$f115 = $q113[base64_decode('R3JvdXBUeXBl')];
$rd = $q113[base64_decode('R3JvdXBOYW1l')];
$f1e = $q113[base64_decode('RGVzY3JpcHRpb24=')];
$m116 = $q113[base64_decode('UmVsYXRlZE1vZHVsZUlE')];
$l7 = $q113[base64_decode('QWN0aXZl')];
if ($f115 === base64_decode('UGVyc29uYWw=')) {
$oa = base64_decode('VVBEQVRFIHVzZXJncm91cHMgDQogICAgICAgICAgICBTRVQgR3JvdXBOYW1lID0gPywgRGVzY3JpcHRpb24gPSA/LCBSZWxhdGVkTW9kdWxlSUQgPSA/LCBBY3RpdmUgPSA/DQogICAgICAgICAgICBXSEVSRSBJRCA9ID87');
} else {
if (in_array(base64_decode('MTAwMDAw'), $p0)) {
$oa = base64_decode('VVBEQVRFIHN5c3RlbV9ncm91cHMgDQogICAgICAgICAgICAgIFNFVCBHcm91cE5hbWUgPSA/LCBEZXNjcmlwdGlvbiA9ID8sIFJlbGF0ZWRNb2R1bGVJRCA9ID8sIEFjdGl2ZSA9ID8NCiAgICAgICAgICAgICAgV0hFUkUgSUQgPSA/Ow==');
} else {
return;
}
}
$u117 = mysqli_prepare($zc, $oa);
$u117->bind_param(base64_decode('c3NpaWk='), $rd, $f1e, $m116, $l7, $j114);
$u117->execute();
$j109 = base64_decode('Mg==');
$ra3 = "Group updated to: $f31";
createGroupLogEntry($j114, $x9d, $j109, $ra3);
$m118 = translate(base64_decode('R3JvdXAgdXBkYXRlZA=='));
$s119[] = array(base64_decode('UmVzdWx0') => $m118);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dXBkYXRlVGVhbUluZm9ybWF0aW9u')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q113 = [];
foreach ($_POST[base64_decode('ZGF0YQ==')] as $u52) {
$q113[$u52[base64_decode('bmFtZQ==')]] = $u52[base64_decode('dmFsdWU=')];
}
$x9d = $_SESSION[base64_decode('aWQ=')];
$z3 = $q113[base64_decode('VGVhbUlE')];
$h11a = $q113[base64_decode('VGVhbU5hbWU=')];
$e11b = $q113[base64_decode('VGVhbUxlYWRlcg==')];
$t11c = $q113[base64_decode('VGVhbVN0YXR1cw==')];
$v11d = $q113[base64_decode('VGVhbURlc2NyaXB0aW9u')];
$oa = base64_decode('VVBEQVRFIHRlYW1zIA0KICAgICAgICAgIFNFVCBUZWFtbmFtZSA9ID8sIFRlYW1MZWFkZXIgPSA/LCBBY3RpdmUgPSA/LCBEZXNjcmlwdGlvbiA9ID8NCiAgICAgICAgICBXSEVSRSBJRCA9ID87');
$u117 = mysqli_prepare($zc, $oa);
$u117->bind_param(base64_decode('c2lpc2k='), $h11a, $e11b, $t11c, $v11d, $z3);
$u117->execute();
$m118 = translate(base64_decode('VGVhbSB1cGRhdGVk'));
$s119[] = array(base64_decode('UmVzdWx0') => $m118);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dXBkYXRlUm9sZUluZm9ybWF0aW9u')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q113 = [];
foreach ($_POST[base64_decode('ZGF0YQ==')] as $u52) {
$q113[$u52[base64_decode('bmFtZQ==')]] = $u52[base64_decode('dmFsdWU=')];
}
$x9d = $_SESSION[base64_decode('aWQ=')];
$m11e = $q113[base64_decode('Um9sZUlE')];
$r67 = $q113[base64_decode('Um9sZU5hbWU=')];
$l11f = $q113[base64_decode('Um9sZVN0YXR1cw==')];
$w120 = $q113[base64_decode('Um9sZURlc2NyaXB0aW9u')];
$oa = base64_decode('VVBEQVRFIHJvbGVzIA0KICAgICAgICAgIFNFVCBSb2xlTmFtZSA9ID8sIERlc2NyaXB0aW9uID0gPywgQWN0aXZlID0gPw0KICAgICAgICAgIFdIRVJFIElEID0gPzs=');
$u117 = mysqli_prepare($zc, $oa);
$u117->bind_param(base64_decode('c3NpaQ=='), $r67, $w120, $l11f, $m11e);
$u117->execute();
$m118 = translate(base64_decode('Um9sZSB1cGRhdGVk'));
$s119[] = array(base64_decode('UmVzdWx0') => $m118);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlR3JvdXA=')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$j114 = $_POST[base64_decode('R3JvdXBJRA==')];
$x9d = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcmdyb3Vwcw0KICAgICAgICAgIFdIRVJFIElEID0gPzs=');
$u117 = mysqli_prepare($zc, $oa);
$u117->bind_param(base64_decode('aQ=='), $j114);
$u117->execute();
removeUserGroupsRoles($j114);
$j109 = base64_decode('Mg==');
$j121 = getUserFullName($x9d);
$ra3 = "Group deleted by $j121";
createGroupLogEntry($j114, $x9d, $j109, $ra3);
$m118 = translate(base64_decode('R3JvdXAgZGVsZXRlZA=='));
$s119[] = array(base64_decode('UmVzdWx0') => $m118);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlUm9sZQ==')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$m11e = $_POST[base64_decode('Um9sZUlE')];
$x9d = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('REVMRVRFIEZST00gcm9sZXMNCiAgICAgICAgICBXSEVSRSBJRCA9ID87');
$r122 = mysqli_prepare($zc, $oa);
$r122->bind_param(base64_decode('aQ=='), $m11e);
$r122->execute();
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnNyb2xlcw0KICAgICAgICAgIFdIRVJFIFJvbGVJRCA9ID87');
$l123 = mysqli_prepare($zc, $oa);
$l123->bind_param(base64_decode('aQ=='), $m11e);
$l123->execute();
$m118 = translate(base64_decode('Um9sZSBkZWxldGVk'));
$s119[] = array(base64_decode('UmVzdWx0') => $m118);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlVGVhbQ==')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$z3 = $_POST[base64_decode('VGVhbUlE')];
$x9d = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('REVMRVRFIEZST00gdGVhbXMNCiAgICAgICAgICBXSEVSRSBJRCA9ID87');
$r122 = mysqli_prepare($zc, $oa);
$r122->bind_param(base64_decode('aQ=='), $z3);
$r122->execute();
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnN0ZWFtcw0KICAgICAgICAgIFdIRVJFIFRlYW1JRCA9ID87');
$l123 = mysqli_prepare($zc, $oa);
$l123->bind_param(base64_decode('aQ=='), $z3);
$l123->execute();
$m118 = translate(base64_decode('VGVhbSBkZWxldGVk'));
$s119[] = array(base64_decode('UmVzdWx0') => $m118);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlTmV3VXNlckdyb3Vw')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q113 = [];
foreach ($_POST[base64_decode('ZGF0YQ==')] as $u52) {
$q113[$u52[base64_decode('bmFtZQ==')]] = $u52[base64_decode('dmFsdWU=')];
}
$x9d = $_SESSION[base64_decode('aWQ=')];
$rd = $q113[base64_decode('R3JvdXBOYW1l')];
$l124 = $q113[base64_decode('R3JvdXBEZXNjcmlwdGlvbg==')];
$y125 = $q113[base64_decode('UmVsYXRlZE1vZHVsZQ==')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcmdyb3VwcyAoR3JvdXBOYW1lLCBSZWxhdGVkTW9kdWxlSUQsIEFjdGl2ZSwgRGVzY3JpcHRpb24pIFZBTFVFUyAoPyw/LDEsPyk7');
$u117 = mysqli_prepare($zc, $oa);
$u117->bind_param(base64_decode('c2lz'), $rd, $y125, $l124);
$u117->execute();
$s119[] = array(base64_decode('UmVzdWx0') => translate(base64_decode('R3JvdXAgY3JlYXRlZA==')));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlTmV3VGVhbQ==')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q113 = [];
foreach ($_POST[base64_decode('ZGF0YQ==')] as $u52) {
$q113[$u52[base64_decode('bmFtZQ==')]] = $u52[base64_decode('dmFsdWU=')];
}
$x9d = $_SESSION[base64_decode('aWQ=')];
$h11a = $q113[base64_decode('VGVhbU5hbWU=')];
$e11b = $q113[base64_decode('VGVhbUxlYWRlcg==')];
$f1e = $q113[base64_decode('VGVhbURlc2NyaXB0aW9u')];
$oa = base64_decode('SU5TRVJUIElOVE8gdGVhbXMgKFRlYW1uYW1lLCBDb2xvdXIsIEFjdGl2ZSwgVGVhbUxlYWRlciwgRGVzY3JpcHRpb24pIFZBTFVFUyAoPywxLDEsPyw/KTs=');
$u117 = mysqli_prepare($zc, $oa);
$u117->bind_param(base64_decode('c2lz'), $h11a, $e11b, $f1e);
$u117->execute();
$s119[] = array(base64_decode('UmVzdWx0') => translate(base64_decode('R3JvdXAgY3JlYXRlZA==')));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlTmV3Um9sZQ==')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q113 = [];
foreach ($_POST[base64_decode('ZGF0YQ==')] as $u52) {
$q113[$u52[base64_decode('bmFtZQ==')]] = $u52[base64_decode('dmFsdWU=')];
}
$x9d = $_SESSION[base64_decode('aWQ=')];
$r67 = $q113[base64_decode('Um9sZU5hbWU=')];
$w120 = $q113[base64_decode('Um9sZURlc2NyaXB0aW9u')];
$oa = base64_decode('SU5TRVJUIElOVE8gcm9sZXMgKFJvbGVOYW1lLCBEZXNjcmlwdGlvbiwgQWN0aXZlKSBWQUxVRVMgKD8sPywxKTs=');
$u117 = mysqli_prepare($zc, $oa);
$u117->bind_param(base64_decode('c3M='), $r67, $w120);
$u117->execute();
$s119[] = array(base64_decode('UmVzdWx0') => translate(base64_decode('Um9sZSBjcmVhdGVk')));
echo json_encode($s119);
}
if (isset($_POST[base64_decode('Y3JlYXRlY2F0ZWdvcnk=')])) {
$y126 = $_POST[base64_decode('Y3JlYXRlY2F0ZWdvcnk=')];
$oa = base64_decode('SU5TRVJUIElOVE8ga25vd2xlZGdlX2NhdGVnb3JpZXMgKE5hbWUpIFZBTFVFUyg/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $y126);
$sb->execute();
}
if (isset($_POST[base64_decode('dXBkYXRlZG9jY2F0dXNlcmdyb3Vw')])) {
$s127 = $_POST[base64_decode('dXNlcmdyb3Vw')];
$u106 = $_POST[base64_decode('bW9kYWxjYXRlZ29yaWVz')];
if ($u106 != 4) {
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9jYXRlZ29yaWVzIFNFVCBSZWxhdGVkR3JvdXBBY2Nlc3NPbmx5ID0gPyANCiAgICAgICAgICAgIFdIRVJFIGtub3dsZWRnZV9jYXRlZ29yaWVzLklEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $s127, $u106);
$sb->execute();
}
}
if (isset($_POST[base64_decode('YWRkRG9jQXNGYXZvcml0ZQ==')]) && !empty($_POST[base64_decode('ZG9jaWQ=')]) && !empty($_POST[base64_decode('ZG9jbmFtZQ==')])) {
$pde = $_POST[base64_decode('ZG9jaWQ=')];
$d100 = $_POST[base64_decode('ZG9jbmFtZQ==')];
$d100 = mysqli_real_escape_string($zc, $d100);
$p8a = $_SESSION[base64_decode('aWQ=')];
$j9f = base64_decode('Mw==');
$oa = "INSERT INTO favorites (RelatedModuleID, Name, URL, RelatedUserID) VALUES (?,?,'knowledge_view.php?docid=$pde',?);";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nz'), $j9f, $d100, $p8a);
$sb->execute();
}
if (isset($_POST[base64_decode('YWRkRG9jQXNUYXNr')]) && !empty($_POST[base64_decode('ZG9jaWQ=')]) && !empty($_POST[base64_decode('ZG9jbmFtZQ==')])) {
$d128 = $_POST[base64_decode('ZG9jaWQ=')];
$d129 = $_POST[base64_decode('ZG9jbmFtZQ==')];
$b12a = $_POST[base64_decode('c3RhdHVz')];
$qa0 = $_POST[base64_decode('dmVyc2lvbg==')];
$y12b = $_POST[base64_decode('b3duZXI=')];
$m72 = $_POST[base64_decode('Y2F0ZWdvcnk=')];
$p8a = ($_SESSION[base64_decode('aWQ=')]);
$r9 = date(base64_decode('WS1tLWQgSDppOnM='));
$x12c = convertFromDanishTimeFormat($x12c);
$j9f = 3;
$t12d = getModuleTypeIconName($j9f);
$h12e = base64_decode('PGEgaHJlZj0na25vd2xlZGdlX3ZpZXcucGhwP2RvY2lkPQ==') . $d128 . base64_decode('JyBjbGFzcz0nYnRuIGJ0bi1zbSBidG4tZGFyaycgcm9sZT0nYnV0dG9uJz5HbyBUbyBEb2N1bWVudDwvYT4=');
$h12e = mysqli_real_escape_string($zc, $h12e);
$y12f = $h12e . base64_decode('IDxicj48YnI+PGI+RG9jdW1lbnQ6PC9iPiA=') . $d128 . base64_decode('PGJyPjxiPk5hbWU6PC9iPiA=') . $d129 . base64_decode('PGJyPjxiPlZlcnNpb246PC9iPiA=') . $qa0 . base64_decode('PGJyPjxiPkNhdGVnb3J5OjwvYj4g') . $m72 . base64_decode('PGJyPjxiPk93bmVyOjwvYj4g') . $y12b . base64_decode('PGJyPjxiPlN0YXR1czo8L2I+IA==') . $b12a;
$eca = "<i class=\"fa $t12d\"></i> Document " . $d128;
$oa = base64_decode('SU5TRVJUIElOVE8gdGFza3NsaXN0IChOb3RlLCBTdWJqZWN0LCBSZWxhdGVkVXNlcklELCBEYXRlQWRkZWQsIFJlbGF0ZWRUaWNrZXRJRCwgRGVhZGxpbmUsIHRvZG8pIFZBTFVFUyAoJw==') . $y12f . base64_decode('Jywn') . $eca . base64_decode('Jywn') . $p8a . base64_decode('Jywn') . $r9 . base64_decode('Jywn') . $d128 . base64_decode('Jywn') . $r9 . base64_decode('JywneWVzJyk7');
mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
echo $hff;
die;
}
if (isset($_GET[base64_decode('VGVhbUlE')])) {
$b130 = $_GET[base64_decode('VGVhbUlE')];
$oa = base64_decode('U0VMRUNUIHVzZXJzLklEIEFTIFVzZXJJRCwgQ09OQ0FUKHVzZXJzLmZpcnN0bmFtZSwnICcsdXNlcnMubGFzdG5hbWUsJyAoJyx1c2Vycy51c2VybmFtZSwnKScpIEFTIEZ1bGxOYW1lDQogICAgICAgICAgRlJPTSB1c2VycyANCiAgICAgICAgICBMRUZUIEpPSU4gdXNlcnN0ZWFtcyBPTiB1c2Vyc3RlYW1zLlVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgTEVGVCBKT0lOIHRlYW1zIE9OIHVzZXJzdGVhbXMuVGVhbUlEID0gdGVhbXMuSUQNCiAgICAgICAgICBXSEVSRSB1c2Vycy5BY3RpdmU9VFJVRSBBTkQgdXNlcnMuUmVsYXRlZFVzZXJUeXBlSUQgPSAxIEFORCB0ZWFtcy5JRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $b130);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$a131[] = array(base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')]);
}
mysqli_free_result($d13);
echo json_encode($a131, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('ZGVsZXRlRmF2b3JpdGVFbnRyeQ==')])) {
$c132 = $_GET[base64_decode('RmF2b3JpdGVJRA==')];
$oa = base64_decode('REVMRVRFIEZST00gZmF2b3JpdGVzIFdIRVJFIGZhdm9yaXRlcy5JRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $c132);
$sb->execute();
}
if (isset($_GET[base64_decode('ZGVsZXRlV2F0Y2hsaXN0RW50cnk=')])) {
$z133 = $_GET[base64_decode('V0xJRA==')];
$oa = base64_decode('REVMRVRFIEZST00gd2F0Y2hsaXN0IFdIRVJFIHdhdGNobGlzdC5JRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $z133);
$sb->execute();
}
if (isset($_GET[base64_decode('YWRkdGltZXJlZ2lzdHJhdGlvbg==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$k134 = $_GET[base64_decode('cmVsYXRlZHRhc2s=')];
$s135 = $_GET[base64_decode('ZGVzY3JpcHRpb24=')];
$l136 = $_GET[base64_decode('dGltZXNwZW5k')];
$i137 = $_GET[base64_decode('YmlsbGFibGU=')];
$j138 = convertFromDanishTimeFormat($_GET[base64_decode('ZGF0ZXBlcmZvcm1lZA==')]);
$oa = base64_decode('SU5TRVJUIElOVE8gdGltZV9yZWdpc3RyYXRpb25zIChSZWxhdGVkVGFza0lELCBSZWxhdGVkVXNlcklELCBEZXNjcmlwdGlvbiwgVGltZVJlZ2lzdGVyZWQsIERhdGVXb3JrZWQsIERhdGVSZWdpc3RlcmVkLEJpbGxhYmxlKQ0KICAgICAgICAgIFZBTFVFUyAoPyw/LD8sPyw/LCBOT1coKSw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nz'), $k134, $p8a, $s135, $l136, $j138, $i137);
$sb->execute();
}
if (isset($_GET[base64_decode('Y2hhbmdldGltZXJlZ2lzdHJhdGlvbg==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$g139 = $_POST[base64_decode('cmVnaXN0cmF0aW9uaWQ=')];
$k134 = $_POST[base64_decode('cmVsYXRlZHRhc2s=')];
$s135 = $_POST[base64_decode('ZGVzY3JpcHRpb24=')];
$i137 = $_POST[base64_decode('YmlsbGFibGU=')];
$l136 = $_POST[base64_decode('dGltZXNwZW5k')];
$j138 = convertFromDanishTimeFormat($_POST[base64_decode('ZGF0ZXBlcmZvcm1lZA==')]);
$oa = base64_decode('VVBEQVRFIHRpbWVfcmVnaXN0cmF0aW9ucyBTRVQgUmVsYXRlZFRhc2tJRCA9ID8sIERlc2NyaXB0aW9uID0gPywgQmlsbGFibGUgPSA/LCBUaW1lUmVnaXN0ZXJlZCA9ID8sIERhdGVXb3JrZWQgPSA/DQogICAgICAgICAgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aXNpaXNp'), $k134, $s135, $i137, $l136, $j138, $g139);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRldGFza2Zyb21tb2RhbA==')])) {
$l8 = $_GET[base64_decode('dGFza2lk')];
$j7e = convertFromDanishTimeFormat($_GET[base64_decode('ZGVhZGxpbmU=')]);
$oa = base64_decode('VVBEQVRFIHRhc2tzbGlzdCBTRVQgRGVhZGxpbmUgPSA/DQogICAgICAgICAgV0hFUkUgdGFza3NsaXN0LklEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $j7e, $l8);
$sb->execute();
}
if (isset($_GET[base64_decode('Z2V0VXNlcnNJblRlYW0=')])) {
$z3 = $_POST[base64_decode('VGVhbUlE')];
$oa = base64_decode('U0VMRUNUIHVzZXJzLklEIEFTIFVzZXJJRCwgQ09OQ0FUKHVzZXJzLkZpcnN0bmFtZSwnICcsdXNlcnMuTGFzdG5hbWUsJyAoJyxVc2VybmFtZSwnKScpIEFTIFVzZXJGdWxsTmFtZQ0KICAgICAgICAgIEZST00gdXNlcnN0ZWFtcw0KICAgICAgICAgIExFRlQgSk9JTiB1c2VycyBPTiB1c2Vyc3RlYW1zLlVzZXJJRCA9IHVzZXJzLklEIA0KICAgICAgICAgIExFRlQgSk9JTiB0ZWFtcyBPTiB1c2Vyc3RlYW1zLlRlYW1JRCA9IHRlYW1zLklEDQogICAgICAgICAgV0hFUkUgdXNlcnN0ZWFtcy5UZWFtSUQgPSA/IEFORCB1c2Vycy5BY3RpdmUgSU4gKDAsMSwyKTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $z3);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$h13a[] = array(base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('VXNlckZ1bGxOYW1l') => $l14[base64_decode('VXNlckZ1bGxOYW1l')]);
}
if (empty($h13a)) {
echo json_encode([]);
} else {
echo json_encode($h13a, JSON_PRETTY_PRINT);
}
}
if (isset($_GET[base64_decode('Z2V0dXNlcnNpbkNBQg==')])) {
$s13b = $_GET[base64_decode('Z2V0dXNlcnNpbkNBQg==')];
$oa = base64_decode('U0VMRUNUIHVzZXJzLklEIEFTIFVzZXJJRCwgQ09OQ0FUKHVzZXJzLkZpcnN0bmFtZSwnICcsdXNlcnMuTGFzdG5hbWUsJyAoJyxVc2VybmFtZSwnKScpIEFTIFVzZXJGdWxsTmFtZQ0KICAgICAgICAgIEZST00gY2FiX3VzZXJzDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIGNhYl91c2Vycy5Vc2VySUQgPSB1c2Vycy5JRCANCiAgICAgICAgICBXSEVSRSBjYWJfdXNlcnMuQ0FCSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $s13b);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$h13a[] = array(base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('VXNlckZ1bGxOYW1l') => $l14[base64_decode('VXNlckZ1bGxOYW1l')]);
}
if (empty($h13a)) {
$h13a[] = array(base64_decode('VXNlcklE') => base64_decode('MA=='), base64_decode('VXNlckZ1bGxOYW1l') => base64_decode('ZW1wdHk='));
}
mysqli_free_result($d13);
echo json_encode($h13a, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0RmF2b3JpdGVz')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIGZhdm9yaXRlcy5JRCwgZmF2b3JpdGVzLk5hbWUsIGZhdm9yaXRlcy5VUkwNCiAgICAgICAgICBGUk9NIGZhdm9yaXRlcw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$j66 = $l14[base64_decode('TmFtZQ==')];
$cce = $l14[base64_decode('VVJM')];
$b33 = "<a href='$cce'>$j66</a>";
$g32 = "<a href='javascript:(deleteFavoriteListEntry($r46));' title='" . _(base64_decode('RGVsZXRl')) . base64_decode('Jz48aSBjbGFzcz0iZmEtc29saWQgZmEtdHJhc2giPjwvaT48L2E+');
$s119[] = array(base64_decode('SUQ=') => $r46, base64_decode('TGluaw==') => $b33, base64_decode('RGVsZXRlTGluaw==') => $g32);
}
mysqli_free_result($d13);
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Z2V0V2F0Y2hsaXN0')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIHdhdGNobGlzdC5JRCwgd2F0Y2hsaXN0LkVsZW1lbnROYW1lLCB3YXRjaGxpc3QuVVJMLCB3YXRjaGxpc3QuRWxlbWVudElEDQogICAgICAgICAgRlJPTSB3YXRjaGxpc3QNCiAgICAgICAgICBXSEVSRSBSZWxhdGVkVXNlcklEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$cc2 = $l14[base64_decode('RWxlbWVudElE')];
$g13c = $l14[base64_decode('RWxlbWVudE5hbWU=')];
$cce = $l14[base64_decode('VVJM')];
$b33 = "<a href='$cce'>" . $g13c . base64_decode('IA==') . $cc2 . base64_decode('PC9hPg==');
$g32 = "<a href='javascript:(deleteWatchlistEntry($r46));' title='" . _(base64_decode('RGVsZXRl')) . base64_decode('Jz48aSBjbGFzcz0iZmEtc29saWQgZmEtdHJhc2giPjwvaT48L2E+');
$s119[] = array(base64_decode('SUQ=') => $r46, base64_decode('TGluaw==') => $b33, base64_decode('RGVsZXRlTGluaw==') => $g32);
}
mysqli_free_result($d13);
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Z2V0U2hvcnRjdXRz')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIHVzZXJzX3F1aWNrbWVudS5JRCwgdXNlcnNfcXVpY2ttZW51X2Nob2ljZXMuTmFtZSwgdXNlcnNfcXVpY2ttZW51X2Nob2ljZXMuVVJMDQogICAgICAgICAgRlJPTSB1c2Vyc19xdWlja21lbnVfY2hvaWNlcw0KICAgICAgICAgIExFRlQgSk9JTiB1c2Vyc19xdWlja21lbnUgT04gdXNlcnNfcXVpY2ttZW51X2Nob2ljZXMuSUQgPSB1c2Vyc19xdWlja21lbnUuUmVsYXRlZENob2ljZUlEDQogICAgICAgICAgV0hFUkUgdXNlcnNfcXVpY2ttZW51LlJlbGF0ZWRVc2VySUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$m13d = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$j66 = translate($l14[base64_decode('TmFtZQ==')]);
$cce = $l14[base64_decode('VVJM')];
$u13e = "<a href='$cce'>$j66</a>";
$m13d[] = [base64_decode('SUQ=') => $r46, base64_decode('TmFtZQ==') => $j66, base64_decode('VVJM') => $cce, base64_decode('TGluaw==') => $u13e];
}
usort($m13d, function ($x13f, $a140) {
return strcmp($x13f[base64_decode('TmFtZQ==')], $a140[base64_decode('TmFtZQ==')]);
});
foreach ($m13d as $f141) {
$s119[] = array(base64_decode('SUQ=') => $f141[base64_decode('SUQ=')], base64_decode('TGluaw==') => $f141[base64_decode('TGluaw==')]);
}
if (empty($s119)) {
echo json_encode([], JSON_PRETTY_PRINT);
} else {
echo json_encode($s119, JSON_PRETTY_PRINT);
}
mysqli_free_result($d13);
}
if (isset($_GET[base64_decode('Z2V0R2VuZXJpY0Zvcm1z')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y125 = base64_decode('MTY=');
$oa = base64_decode('U0VMRUNUIElELCBGb3Jtc05hbWUNCiAgICAgICAgICBGUk9NIGZvcm1zDQogICAgICAgICAgV0hFUkUgZm9ybXMuQWN0aXZlID0gJzEnIEFORCBSZWxhdGVkTW9kdWxlSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $y125);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$j66 = $l14[base64_decode('Rm9ybXNOYW1l')];
$cce = "./administration_formview.php?formid=$r46";
$b33 = "<a href='$cce'>$j66</a>";
$s119[] = array(base64_decode('SUQ=') => $r46, base64_decode('TGluaw==') => $b33);
}
if (empty($s119)) {
echo json_encode([], JSON_PRETTY_PRINT);
} else {
echo json_encode($s119, JSON_PRETTY_PRINT);
}
mysqli_free_result($d13);
}
if (isset($_GET[base64_decode('Z2V0VGV4dFRlbXBsYXRlQ29kZXM=')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIENvZGUNCiAgICAgICAgICBGUk9NIHRleHRfdGVtcGxhdGVzDQogICAgICAgICAgV0hFUkUgVXNlcklEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $x9d);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$h142 = $l14[base64_decode('Q29kZQ==')];
$s119[] = array(base64_decode('Q29kZQ==') => $h142);
}
mysqli_free_result($d13);
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Z2V0VGV4dFRlbXBsYXRlQ29udGVudEZyb21Db2Rl')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$h142 = $_GET[base64_decode('Q29kZQ==')];
$oa = base64_decode('U0VMRUNUIENvbnRlbnQNCiAgICAgICAgICBGUk9NIHRleHRfdGVtcGxhdGVzDQogICAgICAgICAgV0hFUkUgVXNlcklEID0gPyBBTkQgQ29kZSA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $x9d, $h142);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$b6b = $l14[base64_decode('Q29udGVudA==')];
$s119[] = array(base64_decode('Q29udGVudA==') => $b6b);
}
mysqli_free_result($d13);
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Z2V0VGV4dFRlbXBsYXRlQ29udGVudA==')])) {
$m143 = $_GET[base64_decode('dGVtcGxhdGVpZA==')];
if (empty($m143)) {
echo json_encode([]);
exit;
}
$oa = base64_decode('U0VMRUNUIElELCBOYW1lLCBDb2RlLCBDb250ZW50DQogICAgICAgICAgRlJPTSB0ZXh0X3RlbXBsYXRlcw0KICAgICAgICAgIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $m143);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$j66 = $l14[base64_decode('TmFtZQ==')];
$h142 = $l14[base64_decode('Q29kZQ==')];
$b6b = $l14[base64_decode('Q29udGVudA==')];
$s119[] = array(base64_decode('SUQ=') => $r46, base64_decode('TmFtZQ==') => $j66, base64_decode('Q29kZQ==') => $h142, base64_decode('Q29udGVudA==') => $b6b);
}
mysqli_free_result($d13);
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('dXBkYXRlVGV4dFRlbXBsYXRl')])) {
$faf = $_GET[base64_decode('VGVtcGxhdGVJRA==')];
$q144 = $_GET[base64_decode('VGVtcGxhdGVOYW1l')];
$j145 = $_GET[base64_decode('VGVtcGxhdGVDb2Rl')];
$u146 = $_GET[base64_decode('VGVtcGxhdGVUZXh0')];
if (empty($faf)) {
exit;
}
$oa = base64_decode('VVBEQVRFIHRleHRfdGVtcGxhdGVzIFNFVCBOYW1lID0gPywgQ29kZSA9ID8sIENvbnRlbnQgPSA/DQogICAgICAgICAgV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $q144, $j145, $u146, $faf);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('ZGVsZXRlVGV4dFRlbXBsYXRl')])) {
$m143 = $_GET[base64_decode('dGVtcGxhdGVpZA==')];
$oa = base64_decode('REVMRVRFIEZST00gdGV4dF90ZW1wbGF0ZXMgV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $m143);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('Y3JlYXRlVGV4dFRlbXBsYXRl')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$q144 = $_GET[base64_decode('VGVtcGxhdGVOYW1l')];
$j145 = $_GET[base64_decode('VGVtcGxhdGVDb2Rl')];
$u146 = $_GET[base64_decode('VGVtcGxhdGVUZXh0')];
$oa = base64_decode('SU5TRVJUIElOVE8gdGV4dF90ZW1wbGF0ZXMoTmFtZSxDb2RlLENvbnRlbnQsVXNlcklEKSBWQUxVRVMgKD8sPyw/LD8pOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $q144, $j145, $u146, $x9d);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('Z2V0dXNlcnNpbnByb2plY3Q=')])) {
$mcb = $_GET[base64_decode('Z2V0dXNlcnNpbnByb2plY3Q=')];
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdXNlcnMuVXNlcklELCBDT05DQVQodXNlcnMuZmlyc3RuYW1lLCcgJyx1c2Vycy5sYXN0bmFtZSwnICgnLHVzZXJzLnVzZXJuYW1lLCcpJykgQVMgRnVsbE5hbWUNCiAgICAgICAgICBGUk9NIHByb2plY3RzIA0KICAgICAgICAgIExFRlQgSk9JTiBwcm9qZWN0X3VzZXJzIE9OIHByb2plY3RzLklEID0gcHJvamVjdF91c2Vycy5Qcm9qZWN0SUQNCiAgICAgICAgICBMRUZUIEpPSU4gdXNlcnMgT04gcHJvamVjdF91c2Vycy5Vc2VySUQgPSB1c2Vycy5JRA0KICAgICAgICAgIFdIRVJFIFByb2plY3RJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$h13a[] = array(base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')]);
}
mysqli_free_result($d13);
echo json_encode($h13a, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0dXNlcnNpbnByb2plY3R0YXNr')])) {
$l147 = $_GET[base64_decode('Z2V0dXNlcnNpbnByb2plY3R0YXNr')];
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdGFza3NfdXNlcnMuVXNlcklEIEFTIFVzZXJJRCwgQ09OQ0FUKHVzZXJzLmZpcnN0bmFtZSwnICcsdXNlcnMubGFzdG5hbWUsJyAoJyx1c2Vycy51c2VybmFtZSwnKScpIEFTIEZ1bGxOYW1lDQogICAgICAgICAgRlJPTSBwcm9qZWN0X3Rhc2tzDQogICAgICAgICAgTEVGVCBKT0lOIHByb2plY3RfdGFza3NfdXNlcnMgT04gcHJvamVjdF90YXNrcy5JRCA9IHByb2plY3RfdGFza3NfdXNlcnMuUHJvamVjdFRhc2tJRA0KICAgICAgICAgIExFRlQgSk9JTiB1c2VycyBPTiBwcm9qZWN0X3Rhc2tzX3VzZXJzLlVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgV0hFUkUgcHJvamVjdF90YXNrcy5JRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $l147);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$h13a[] = array(base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')]);
}
mysqli_free_result($d13);
echo json_encode($h13a, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cmVtb3ZldXNlcmZyb210ZWFt')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$z3 = $_GET[base64_decode('cmVtb3ZldXNlcmZyb210ZWFt')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnN0ZWFtcyBXSEVSRSBVc2VySUQgPSA/IEFORCBUZWFtSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $z3);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('cmVtb3ZldXNlcmZyb21jb21wYW55')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$h2 = $_GET[base64_decode('cmVtb3ZldXNlcmZyb21jb21wYW55')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBDb21wYW55SUQgPSBOVUxMIFdIRVJFIHVzZXJzLklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('cmVtb3ZldXNlcmZyb21wcm9qZWN0')])) {
$k148 = $_GET[base64_decode('dXNlcmlk')];
$mcb = $_GET[base64_decode('cmVtb3ZldXNlcmZyb21wcm9qZWN0')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdF91c2VycyBXSEVSRSBVc2VySUQgPSA/IEFORCBQcm9qZWN0SUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $k148, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('VXNlcjog') . $k148 . base64_decode('IHJlbW92ZWQgZnJvbSBwcm9qZWN0');
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdE1hbmFnZXI=')])) {
$t149 = $_GET[base64_decode('dXBkYXRlUHJvamVjdE1hbmFnZXI=')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBQcm9qZWN0TWFuYWdlciA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $t149, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('VXNlcjog') . $t149 . base64_decode('IHNldCBhcyBwcm9qZWN0IG1hbmFnZXI=');
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFJlc3BvbnNpYmxl')])) {
$s14a = $_GET[base64_decode('dXBkYXRlUHJvamVjdFJlc3BvbnNpYmxl')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBQcm9qZWN0UmVzcG9uc2libGUgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $s14a, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('VXNlcjog') . $s14a . base64_decode('IHNldCBhcyBwcm9qZWN0IHJlc3BvbnNpYmxl');
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdEN1c3RvbWVy')])) {
$k14b = $_GET[base64_decode('dXBkYXRlUHJvamVjdEN1c3RvbWVy')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBSZWxhdGVkQ29tcGFueUlEID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $k14b, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('Q3VzdG9tZXIgSUQ6IA==') . $k14b . base64_decode('IGNob3Nlbg==');
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFN0YXR1cw==')])) {
$b14c = $_GET[base64_decode('dXBkYXRlUHJvamVjdFN0YXR1cw==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBTdGF0dXMgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $b14c, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('U3RhdHVzOiA=') . $b14c . base64_decode('IGNob3Nlbg==');
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdERlYWRsaW5l')])) {
$e14d = convertFromDanishTimeFormat($_GET[base64_decode('dXBkYXRlUHJvamVjdERlYWRsaW5l')]);
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBEZWFkbGluZSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $e14d, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RGVhZGxpbmUgY2hhbmdlZCB0bzog') . $e14d;
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdEVzdEJ1ZGdldA==')])) {
$b14e = $_GET[base64_decode('dXBkYXRlUHJvamVjdEVzdEJ1ZGdldA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBFc3RpbWF0ZWRCdWRnZXQgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $b14e, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RXN0aW1hdGVkIEJ1ZGdldCBjaGFuZ2VkIHRvOiA=') . $b14e;
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdEVzdGhvdXJz')])) {
$d14f = $_GET[base64_decode('dXBkYXRlUHJvamVjdEVzdGhvdXJz')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBFc3RpbWF0ZWRIb3VycyA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $d14f, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RXN0aW1hdGVkIEhvdXJzIGNoYW5nZWQgdG86IA==') . $d14f;
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdE5hbWU=')])) {
$h150 = $_GET[base64_decode('dXBkYXRlUHJvamVjdE5hbWU=')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBOYW1lID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $h150, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBOYW1lIGNoYW5nZWQgdG86IA==') . $h150;
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdERlc2NyaXB0aW9u')])) {
$v151 = $_GET[base64_decode('dXBkYXRlUHJvamVjdERlc2NyaXB0aW9u')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBEZXNjcmlwdGlvbiA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $v151, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBkZXNjcmlwdGlvbiBjaGFuZ2VkIHRvOiA=') . $v151;
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tSZXNwb25zaWJsZQ==')])) {
$q152 = $_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tSZXNwb25zaWJsZQ==')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIFJlc3BvbnNpYmxlID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $q152, $l147);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBUYXNrIFJlc3BvbnNpYmxlIGNoYW5nZWQgdG86IA==') . $q152;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tTdGF0dXM=')])) {
$oa = '';
$v153 = $_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tTdGF0dXM=')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if ($v153 == 7) {
$g154 = 100;
$k155 = $r9 = date(base64_decode('WS1tLWQgSDppOnM='));
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIFN0YXR1cyA9ID8sIFByb2dyZXNzID0gPywgQ29tcGxldGVkRGF0ZSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $v153, $g154, $k155, $l147);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIFN0YXR1cyA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $v153, $l147);
$sb->execute();
$d13 = $sb->get_result();
}
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBTdGF0dXMgY2hhbmdlZCB0bzog') . $v153;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tEZWFkbGluZQ==')])) {
$k156 = convertFromDanishTimeFormat($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tEZWFkbGluZQ==')]);
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$v157 = getProjectTaskStartDate($l147);
$p158 = strtotime($v157);
$p159 = strtotime($k156);
if ($p159 < $p158) {
echo json_encode([base64_decode('ZXJyb3I=') => translate(base64_decode('RW5kIGRhdGUgY2Fubm90IGJlIGJlZm9yZSBzdGFydCBkYXRl'))]);
exit;
}
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIERlYWRsaW5lID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $k156, $l147);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBkZWFkbGluZSBjaGFuZ2VkIHRvOiA=') . $k156;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo json_encode([base64_decode('c3VjY2Vzcw==') => translate(base64_decode('VXBkYXRlZA=='))]);
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tQcm9ncmVzcw==')])) {
$g154 = $_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tQcm9ncmVzcw==')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = getProjectIDFromTaskID($l147);
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIFByb2dyZXNzID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $g154, $l147);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBQcm9ncmVzcyBjaGFuZ2VkIHRvOiA=') . $g154;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tFc3RidWRnZXQ=')])) {
$a15a = $_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tFc3RidWRnZXQ=')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIEVzdGltYXRlZEJ1ZGdldCA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $a15a, $l147);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBFc3RpbWF0ZWQgYnVkZ2V0IGNoYW5nZWQgdG86IA==') . $a15a;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2s=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
if ($_SESSION[base64_decode('aWQ=')] == '') {
return;
}
$j9f = base64_decode('MTM=');
$mcb = $_POST[base64_decode('UHJvamVjdElE')];
$l147 = $_POST[base64_decode('UHJvamVjdFRhc2tJRA==')];
if (!$mcb) {
$mcb = getRelatedProjectFromProjectTask($l147);
}
$n15b = $_POST[base64_decode('VGFza1Jlc3BvbnNpYmxl')];
$v153 = $_POST[base64_decode('UHJvamVjdFRhc2tTdGF0dXM=')];
$n15c = $_POST[base64_decode('UHJvamVjdFRhc2tQYXJlbnQ=')];
$s15d = $_POST[base64_decode('UHJvamVjdFRhc2tTdGFydA==')];
$k156 = $_POST[base64_decode('UHJvamVjdFRhc2tEZWFkbGluZQ==')];
$t15e = convertFromDanishTimeFormat($s15d);
$l15f = convertFromDanishTimeFormat($k156);
$p158 = strtotime($t15e);
$p159 = strtotime($l15f);
if ($p159 <= $p158) {
$r160 = translate(base64_decode('RW5kIGRhdGUgY2Fubm90IGJlIGJlZm9yZSBvciB0aGUgc2FtZSBhcyB0aGUgc3RhcnQgZGF0ZQ=='));
$q34[] = array(base64_decode('UmVzdWx0') => $r160);
echo json_encode($q34);
return;
}
$s161 = $_POST[base64_decode('UHJvamVjdFRhc2tFc3RpbWF0ZWRCdWRnZXQ=')];
$k162 = $_POST[base64_decode('UHJvamVjdFRhc2tCdWRnZXRTcGVuZA==')];
$z163 = $_POST[base64_decode('UHJvamVjdFRhc2tFc3RpbWF0ZWRIb3Vycw==')];
$i164 = $_POST[base64_decode('UHJvamVjdFRhc2tIb3Vyc1NwZW5k')];
$l165 = $_POST[base64_decode('UHJvamVjdFJlbGF0ZWRDYXRlZ29yeQ==')];
$g154 = $_POST[base64_decode('UHJvamVjdFRhc2tQcm9ncmVzcw==')];
$a166 = $_POST[base64_decode('UHJvamVjdFRhc2tOYW1l')];
$k167 = $_POST[base64_decode('UHJvamVjdFByaXZhdGU=')];
$r168 = $_POST[base64_decode('UHJvamVjdFRhc2tEZXNjcmlwdGlvbg==')];
$r168 = sanitizeTextAndBase64($r168, $l147, $j9f);
if ($g154 == '') {
$g154 = base64_decode('MA==');
}
if ($s161 == '') {
$s161 = base64_decode('MA==');
}
if ($k162 == '') {
$k162 = base64_decode('MA==');
}
if ($z163 == '') {
$z163 = base64_decode('MA==');
}
if ($i164 == '') {
$i164 = base64_decode('MA==');
}
if ($v153 == base64_decode('Nw==')) {
$g154 = base64_decode('MTAw');
}
if ($v153 == base64_decode('MQ==')) {
$g154 = base64_decode('MA==');
}
updateProjectTask($mcb, $l147, $n15b, $v153, $n15c, $s15d, $k156, $s161, $k162, $z163, $i164, $l165, $g154, $a166, $r168, $k167);
updateKanbanTaskFromElement($l147, base64_decode('MTM='), $v153);
$j109 = 2;
$ra3 = "Projekt task: $l147 updated";
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($q34);
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tCdWRnZXRzcGVuZA==')])) {
$k162 = $_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tCdWRnZXRzcGVuZA==')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIEJ1ZGdldFNwZW5kID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $k162, $l147);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBidWRnZXQgc3BlbmQgY2hhbmdlZCB0bzog') . $k162;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tFc3RIb3Vycw==')])) {
$d169 = $_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tFc3RIb3Vycw==')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIEVzdGltYXRlZEhvdXJzID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $d169, $l147);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBlc3RpbWF0ZWQgaG91cnMgY2hhbmdlZCB0bzog') . $d169;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFJlbFNwcmludA==')])) {
$v16a = $_GET[base64_decode('dXBkYXRlUHJvamVjdFJlbFNwcmludA==')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIFJlbGF0ZWRDYXRlZ29yeSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $v16a, $l147);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBUYXNrIFNwcmludCBJRCBjaGFuZ2VkIHRvOiA=') . $v16a;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tOYW1l')])) {
$a166 = $_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tOYW1l')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIFRhc2tOYW1lID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $a166, $l147);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBUYXNrIE5hbWUgY2hhbmdlZCB0bzog') . $a166;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlVXNlckVtYWlsQWRkcmVzcw==')])) {
$g16b = $_GET[base64_decode('dXBkYXRlVXNlckVtYWlsQWRkcmVzcw==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBFbWFpbCA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $g16b, $p8a);
$sb->execute();
$d13 = $sb->get_result();
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlVXNlckZpcnN0bmFtZQ==')])) {
$u16c = $_GET[base64_decode('dXBkYXRlVXNlckZpcnN0bmFtZQ==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBGaXJzdG5hbWUgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $u16c, $p8a);
$sb->execute();
$d13 = $sb->get_result();
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlVXNlckxhc3RuYW1l')])) {
$r16d = $_GET[base64_decode('dXBkYXRlVXNlckxhc3RuYW1l')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBMYXN0bmFtZSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r16d, $p8a);
$sb->execute();
$d13 = $sb->get_result();
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlVXNlclBob25l')])) {
$y16e = $_GET[base64_decode('dXBkYXRlVXNlclBob25l')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBQaG9uZSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $y16e, $p8a);
$sb->execute();
$d13 = $sb->get_result();
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlVXNlckJpcnRoZGF5')])) {
$j16f = convertFromDanishDateFormat($_GET[base64_decode('dXBkYXRlVXNlckJpcnRoZGF5')]);
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBCaXJ0aGRheSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $j16f, $p8a);
$sb->execute();
$d13 = $sb->get_result();
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlVXNlckpvYlRpdGVs')])) {
$r170 = $_POST[base64_decode('am9idGl0ZWw=')];
$r170 = mysqli_real_escape_string($zc, $r170);
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBKb2JUaXRlbCA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r170, $p8a);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRlVXNlckxpbmtlZElu')])) {
$x171 = $_GET[base64_decode('dXBkYXRlVXNlckxpbmtlZElu')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBMaW5rZWRpbiA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $x171, $p8a);
$sb->execute();
$d13 = $sb->get_result();
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRTdGF0dXM=')])) {
$o172 = $_POST[base64_decode('c3RhdHVz')];
$z173 = $_POST[base64_decode('cHJldmlvdXM=')];
$o174 = $_POST[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if ($o172 == 5) {
$qa0 = incrementDocVersion($o174);
CreateDocArchive($o174, $qa0, $p8a);
}
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIFJlbGF0ZWRTdGF0dXNJRCA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $o172, $o174);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgU3RhdHVzIGNoYW5nZWQgZnJvbTog') . $z173 . base64_decode('IHRvOiA=') . $o172;
createDocLogEntry($o174, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRPd25lcg==')])) {
$x175 = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnRPd25lcg==')];
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIFJlbGF0ZWRPd25lcklEID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $x175, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgT3duZXIgY2hhbmdlZCBmcm9tOiA=') . $z173 . base64_decode('IHRvOiA=') . $x175;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRBcHByb3Zlcg==')])) {
$t176 = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnRBcHByb3Zlcg==')];
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIFJlbGF0ZWRBcHByb3ZlcklEID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $t176, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgQXBwcm92ZXIgY2hhbmdlZCBmcm9tOiA=') . $z173 . base64_decode('IHRvOiA=') . $t176;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRSZXZpZXdlcg==')])) {
$e177 = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnRSZXZpZXdlcg==')];
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIFJlbGF0ZWRSZXZpZXdlcklEID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $e177, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgUmV2aWV3ZXIgY2hhbmdlZCBmcm9tOiA=') . $z173 . base64_decode('IHRvOiA=') . $e177;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRHcm91cA==')])) {
$v178 = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnRHcm91cA==')];
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIFJlbGF0ZWRHcm91cElEID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $v178, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgR3JvdXAgY2hhbmdlZCBmcm9tOiA=') . $z173 . base64_decode('IHRvOiA=') . $v178;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRDYXRlZ29yeQ==')])) {
$t179 = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnRDYXRlZ29yeQ==')];
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIFJlbGF0ZWRDYXRlZ29yeSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $t179, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgQ2F0ZWdvcnkgY2hhbmdlZCBmcm9tOiA=') . $z173 . base64_decode('IHRvOiA=') . $t179;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRSZWxhdGVkQ29tcGFueQ==')])) {
$u17a = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnRSZWxhdGVkQ29tcGFueQ==')];
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIFJlbGF0ZWRDb21wYW55ID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $u17a, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgUHVibGljIGNoYW5nZWQgZnJvbTog') . $z173 . base64_decode('IHRvOiA=') . $q17b;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRQdWJsaWNDYXQ=')])) {
$z17c = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnRQdWJsaWNDYXQ=')];
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIFJlbGF0ZWRQdWJsaWNDYXRlZ29yeUlEID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $z17c, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgUHVibGljIENhdGVnb3J5IGNoYW5nZWQgZnJvbTog') . $z173 . base64_decode('IHRvOiA=') . $z17c;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRFeHBpcmF0aW9uRGF0ZQ==')])) {
$a17d = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnRFeHBpcmF0aW9uRGF0ZQ==')];
$t17e = convertFromDanishTimeFormat($a17d);
$q17f = convertToDanishTimeFormat($_GET[base64_decode('cHJldmlvdXM=')]);
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIEV4cGlyYXRpb25EYXRlID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $t17e, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgRXhwaXJhdGlvbiBEYXRlIGNoYW5nZWQgZnJvbTog') . $q17f . base64_decode('IHRvOiA=') . $a17d;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnREb2NuYW1l')])) {
$y180 = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnREb2NuYW1l')];
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIE5hbWUgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $y180, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgTmFtZSBjaGFuZ2VkIGZyb206IA==') . $z173 . base64_decode('IHRvOiA=') . $y180;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nRG9jQ29udGVudA==')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$h181 = htmlspecialchars_decode($_POST[base64_decode('Y29udGVudA==')]);
$h181 = stripStringFromScrollbarTags($h181);
$c182 = strip_tags(str_replace(base64_decode('PA=='), base64_decode('IDw='), $h181));
$c182 = filterStopWords($c182, $q4);
$pde = $_POST[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIGNvbnRlbnQgRlJPTSBrbm93bGVkZ2VfZG9jdW1lbnRzIFdIRVJFIElEID0gPw==');
$c183 = mysqli_prepare($zc, $oa);
$c183->bind_param(base64_decode('cw=='), $pde);
$c183->execute();
$d13 = $c183->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$p184 = $l14[base64_decode('Y29udGVudA==')];
}
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIENvbnRlbnQgPSA/LCBDb250ZW50RnVsbFRleHQgPSA/IFdIRVJFIElEID0gPw==');
$k185 = mysqli_prepare($zc, $oa);
$k185->bind_param(base64_decode('c3Nz'), $h181, $c182, $pde);
$k185->execute();
$d13 = $k185->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgQ29udGVudCBjaGFuZ2Vk');
createDocLogEntry($pde, $q4, $j109, $ra3);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('c2VuZFBpblRvVXNlcg==')])) {
$baa = $_GET[base64_decode('c2VuZFBpblRvVXNlcg==')];
$oa = base64_decode('U0VMRUNUIFBpbiwgRW1haWwsIENPTkNBVChmaXJzdG5hbWUsJyAnLGxhc3RuYW1lKSBBUyBGdWxsTmFtZSBGUk9NIHVzZXJzIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $baa);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$v186 = $l14[base64_decode('UGlu')];
$z187 = $l14[base64_decode('RW1haWw=')];
$ac4 = $l14[base64_decode('RnVsbE5hbWU=')];
}
$eca = base64_decode('WW91ciBQaW4=');
$b6b = "Your Pin is: $v186<br><br>You can change you pin in user settings, we invite you to change it as it now has been emailed to your account and now has been exposed.";
sendMailToSinglePerson($z187, $g188, $eca, $b6b);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jQ29tcGFueVJlbGF0aW9u')])) {
$h2 = $_GET[base64_decode('Y29tcGFueWlk')];
$r189 = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = "INSERT INTO knowledge_companies(DocID, CompanyID)
VALUES ($r189,$h2)";
mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jVXNlclJlbGF0aW9u')])) {
$baa = $_GET[base64_decode('dXNlcmlk')];
$r189 = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('SU5TRVJUIElOVE8ga25vd2xlZGdlX3VzZXJzKERvY0lELCBVc2VySUQpIA0KICAgICAgICAgIFZBTFVFUyAoPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r189, $baa);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('Y3JlYXRlSW52b2ljZVRpY2tldA==')])) {
$o18a = $_GET[base64_decode('dGlja2V0aWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = "SELECT SUM(time_registrations.TimeRegistered) AS TimeRegistered, users.Username
FROM time_registrations
LEFT JOIN taskslist ON taskslist.ID = time_registrations.RelatedTaskID
LEFT JOIN tickets ON taskslist.RelatedElementID = tickets.ID
LEFT JOIN users ON time_registrations.RelatedUserID = users.ID
WHERE tickets.ID = $o18a";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$a18b = [base64_decode('VGltZVJlZ2lzdGVyZWQ=') => $l14[base64_decode('VGltZVJlZ2lzdGVyZWQ=')], base64_decode('VXNlcm5hbWU=') => $l14[base64_decode('VXNlcm5hbWU=')], base64_decode('VGlja2V0aWQ=') => $o18a];
}
mysqli_free_result($d13);
echo json_encode($a18b, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Y3JlYXRlUHJvamVjdFRhc2s=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$mcb = $_POST[base64_decode('UHJvamVjdElE')];
$n15b = $_POST[base64_decode('VGFza1Jlc3BvbnNpYmxl')];
$v153 = $_POST[base64_decode('UHJvamVjdFRhc2tTdGF0dXM=')];
$n15c = $_POST[base64_decode('UHJvamVjdFRhc2tQYXJlbnQ=')];
$s15d = $_POST[base64_decode('UHJvamVjdFRhc2tTdGFydA==')];
$k156 = $_POST[base64_decode('UHJvamVjdFRhc2tEZWFkbGluZQ==')];
$s161 = $_POST[base64_decode('UHJvamVjdFRhc2tFc3RpbWF0ZWRCdWRnZXQ=')];
$z163 = $_POST[base64_decode('UHJvamVjdFRhc2tFc3RpbWF0ZWRIb3Vycw==')];
$k162 = $_POST[base64_decode('UHJvamVjdFRhc2tCdWRnZXRTcGVuZA==')];
$l165 = $_POST[base64_decode('UHJvamVjdFJlbGF0ZWRDYXRlZ29yeQ==')];
$g154 = $_POST[base64_decode('UHJvamVjdFRhc2tQcm9ncmVzcw==')];
$a166 = $_POST[base64_decode('UHJvamVjdFRhc2tOYW1l')];
$k167 = $_POST[base64_decode('UHJvamVjdFByaXZhdGU=')];
$r168 = $_POST[base64_decode('UHJvamVjdFRhc2tEZXNjcmlwdGlvbg==')];
if ($g154 == '') {
$g154 = base64_decode('MA==');
}
if ($s161 == '') {
$s161 = base64_decode('MA==');
}
if ($k162 == '') {
$k162 = base64_decode('MA==');
}
if ($v153 == base64_decode('MQ==')) {
$g154 = base64_decode('MA==');
}
$l147 = createNewProjectTask($z163, $n15b, $v153, $n15c, $s15d, $k156, $s161, $k162, $a166, $r168, $mcb, $l165, $g154, $k167);
$j109 = 2;
$ra3 = "Projekt task: $l147 created";
createProjectLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo json_encode($i18c, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Y3JlYXRlTmV3UHJvamVjdA==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$t149 = $_GET[base64_decode('UHJvamVjdE1hbmFnZXI=')];
$s14a = $_GET[base64_decode('UHJvamVjdFJlc3BvbnNpYmxl')];
$b14c = $_GET[base64_decode('UHJvamVjdFN0YXR1cw==')];
$p18d = $_GET[base64_decode('UHJvamVjdFJlbEN1c3RvbWVy')];
$h18e = $_GET[base64_decode('UHJvamVjdFN0YXJ0')];
$e14d = $_GET[base64_decode('UHJvamVjdERlYWRsaW5l')];
$h150 = $_GET[base64_decode('UHJvamVjdE5hbWU=')];
$v151 = $_GET[base64_decode('UHJvamVjdERlc2NyaXB0aW9u')];
$mcb = createNewProject($t149, $b14c, $h18e, $e14d, $h150, $v151, $p18d, $s14a);
$t18f[] = array(base64_decode('UHJvamVjdElEQ3JlYXRlZA==') => $mcb);
$j109 = 2;
$ra3 = "Projekt: $mcb created";
createProjectLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo json_encode($t18f, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Y3JlYXRlTmV3UHJvamVjdFNwcmludA==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$mcb = $_GET[base64_decode('UHJvamVjdElE')];
$kd0 = $_GET[base64_decode('U3RhcnREYXRl')];
$j7e = $_GET[base64_decode('RGVhZGxpbmU=')];
$z190 = $_GET[base64_decode('UmVzcG9uc2libGU=')];
$i191 = $_GET[base64_decode('U3ByaW50RXN0aW1hdGVkQnVkZ2V0')];
$t192 = $_GET[base64_decode('U3ByaW50TmFtZQ==')];
$u193 = $_GET[base64_decode('U3ByaW50RGVzY3JpcHRpb24=')];
$b33 = $_GET[base64_decode('TGluaw==')];
$qa0 = $_GET[base64_decode('VmVyc2lvbg==')];
$u194[] = array();
$r195 = '';
$m118 = '';
$q196 = checkProjectSprintDateIntervals($kd0, $j7e, $mcb);
if (empty($q196)) {
$w197 = createNewProjectSprint($t192, $kd0, $j7e, $z190, $i191, $u193, $mcb, $b33, $qa0);
$r195 = base64_decode('c3VjY2Vzcw==');
$m118 = $w197;
}
if (!empty($q196)) {
$r195 = base64_decode('ZmFpbA==');
$m118 = "The sprint overlaps sprint: $q196";
}
$u194[] = array(base64_decode('UmVzdWx0') => $r195, base64_decode('TWVzc2FnZQ==') => $m118);
echo json_encode($u194, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Y3JlYXRlTmV3UHJvamVjdFRhc2tDYXRlZ29yeQ==')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$b198 = $_GET[base64_decode('Q2F0ZWdvcnlOYW1l')];
$a199 = $_GET[base64_decode('Q2F0ZWdvcnlEZXNjcmlwdGlvbg==')];
$oa = base64_decode('SU5TRVJUIElOVE8gcHJvamVjdHNfdGFza3NfY2F0ZWdvcmllcyhTaG9ydE5hbWUsRGVzY3JpcHRpb24pIFZBTFVFUyAoPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $b198, $a199);
$sb->execute();
}
if (isset($_GET[base64_decode('ZWRpdFByb2plY3RTcHJpbnQ=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$r19a = $_GET[base64_decode('U3ByaW50SUQ=')];
$l147 = '';
$oa = base64_decode('U0VMRUNUICogRlJPTSBwcm9qZWN0c19zcHJpbnRzIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $r19a);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
if (!empty($l14[base64_decode('SUQ=')])) {
$d19b[] = array(base64_decode('TGluaw==') => $l14[base64_decode('TGluaw==')], base64_decode('VmVyc2lvbg==') => $l14[base64_decode('VmVyc2lvbg==')], base64_decode('U2hvcnROYW1l') => $l14[base64_decode('U2hvcnROYW1l')], base64_decode('U3RhcnREYXRl') => convertToDanishDateTimeFormat($l14[base64_decode('U3RhcnQ=')]), base64_decode('RGVhZGxpbmU=') => convertToDanishDateTimeFormat($l14[base64_decode('RGVhZGxpbmU=')]), base64_decode('RXN0aW1hdGVkQnVkZ2V0') => $l14[base64_decode('RXN0aW1hdGVkQnVkZ2V0')], base64_decode('UmVzcG9uc2libGU=') => $l14[base64_decode('UmVzcG9uc2libGU=')], base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('RGVzY3JpcHRpb24=')]);
}
}
echo json_encode($d19b, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('ZWRpdFByb2plY3RUYXNrQ2F0ZWdvcnk=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$o74 = $_GET[base64_decode('Q2F0ZWdvcnlJRA==')];
$oa = base64_decode('U0VMRUNUICogRlJPTSBwcm9qZWN0c190YXNrc19jYXRlZ29yaWVzIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $o74);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
if (!empty($l14[base64_decode('SUQ=')])) {
$j19c[] = array(base64_decode('U2hvcnROYW1l') => $l14[base64_decode('U2hvcnROYW1l')], base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('RGVzY3JpcHRpb24=')]);
}
}
echo json_encode($j19c, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('ZGVsZXRlUHJvamVjdFNwcmludA==')])) {
$r19a = $_GET[base64_decode('U3ByaW50SUQ=')];
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdHNfc3ByaW50cyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $r19a);
$sb->execute();
}
if (isset($_GET[base64_decode('ZGVsZXRlUHJvamVjdFRhc2tDYXRlZ29yeQ==')])) {
$o74 = $_GET[base64_decode('Q2F0ZWdvcnlJRA==')];
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdHNfdGFza3NfY2F0ZWdvcmllcyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $o74);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFNwcmludA==')])) {
$u194 = array();
$r19a = $_GET[base64_decode('U3ByaW50SUQ=')];
$kd0 = $_GET[base64_decode('U3RhcnREYXRl')];
$j7e = $_GET[base64_decode('RGVhZGxpbmU=')];
$z190 = $_GET[base64_decode('UmVzcG9uc2libGU=')];
$i191 = $_GET[base64_decode('U3ByaW50RXN0aW1hdGVkQnVkZ2V0')];
$t192 = $_GET[base64_decode('U3ByaW50TmFtZQ==')];
$u193 = $_GET[base64_decode('U3ByaW50RGVzY3JpcHRpb24=')];
$b33 = $_GET[base64_decode('TGluaw==')];
$qa0 = $_GET[base64_decode('VmVyc2lvbg==')];
$l147 = '';
$mcb = getProjectIDFromSprint($r19a);
$kd0 = convertFromDanishTimeFormat($kd0);
$j7e = convertFromDanishTimeFormat($j7e);
$q196 = checkProjectSprintDateIntervalsForUpdateSprint($kd0, $j7e, $mcb, $r19a);
if (empty($q196)) {
updateProjectSprint($t192, $kd0, $j7e, $z190, $i191, $u193, $r19a, $b33, $qa0);
$r195 = base64_decode('c3VjY2Vzcw==');
$m118 = "$t192";
}
if (!empty($q196)) {
$r195 = base64_decode('ZmFpbA==');
$m118 = "The sprint overlaps sprint: $q196";
}
$u194[] = array(base64_decode('UmVzdWx0') => $r195, base64_decode('TWVzc2FnZQ==') => $m118);
echo json_encode($u194, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tDYXRlZ29yeQ==')])) {
$o74 = $_GET[base64_decode('Q2F0ZWdvcnlJRA==')];
$b198 = $_GET[base64_decode('Q2F0ZWdvcnlOYW1l')];
$a199 = $_GET[base64_decode('Q2F0ZWdvcnlEZXNjcmlwdGlvbg==')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RzX3Rhc2tzX2NhdGVnb3JpZXMgU0VUIFNob3J0TmFtZSA9ID8sIERlc2NyaXB0aW9uID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nz'), $b198, $a199, $o74);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdA==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$mcb = $_GET[base64_decode('UHJvamVjdElE')];
$t149 = $_GET[base64_decode('UHJvamVjdE1hbmFnZXI=')];
$s14a = $_GET[base64_decode('UHJvamVjdFJlc3BvbnNpYmxl')];
$b14c = $_GET[base64_decode('UHJvamVjdFN0YXR1cw==')];
$p18d = $_GET[base64_decode('UHJvamVjdFJlbEN1c3RvbWVy')];
$h18e = $_GET[base64_decode('UHJvamVjdFN0YXJ0')];
$e14d = $_GET[base64_decode('UHJvamVjdERlYWRsaW5l')];
$h150 = $_GET[base64_decode('UHJvamVjdE5hbWU=')];
$v151 = $_GET[base64_decode('UHJvamVjdERlc2NyaXB0aW9u')];
$l147 = '';
updateProject($h150, $b14c, $p18d, $v151, $h18e, $e14d, $t149, $s14a, $mcb);
updateKanbanTaskFromElement($mcb, base64_decode('Ng=='), $b14c);
}
if (isset($_GET[base64_decode('ZWRpdFByb2plY3Q=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$mcb = $_GET[base64_decode('UHJvamVjdElE')];
$oa = base64_decode('U0VMRUNUICogRlJPTSBQcm9qZWN0cyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
if (!empty($l14[base64_decode('SUQ=')])) {
$d19b[] = array(base64_decode('TmFtZQ==') => $l14[base64_decode('TmFtZQ==')], base64_decode('U3RhcnQ=') => convertToDanishDateTimeFormat($l14[base64_decode('U3RhcnQ=')]), base64_decode('U3RhdHVz') => $l14[base64_decode('U3RhdHVz')], base64_decode('RGVhZGxpbmU=') => convertToDanishDateTimeFormat($l14[base64_decode('RGVhZGxpbmU=')]), base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('RGVzY3JpcHRpb24=')], base64_decode('RXN0aW1hdGVkQnVkZ2V0') => $l14[base64_decode('RXN0aW1hdGVkQnVkZ2V0')], base64_decode('RXN0aW1hdGVkSG91cnM=') => $l14[base64_decode('RXN0aW1hdGVkSG91cnM=')], base64_decode('UHJvamVjdE1hbmFnZXI=') => $l14[base64_decode('UHJvamVjdE1hbmFnZXI=')], base64_decode('UmVsYXRlZENvbXBhbnlJRA==') => $l14[base64_decode('UmVsYXRlZENvbXBhbnlJRA==')], base64_decode('UmVsYXRlZEdyb3VwQWNjZXNzSUQ=') => $l14[base64_decode('UmVsYXRlZEdyb3VwQWNjZXNzSUQ=')], base64_decode('UmVsYXRlZEdyb3VwTWFuYWdlSUQ=') => $l14[base64_decode('UmVsYXRlZEdyb3VwTWFuYWdlSUQ=')], base64_decode('UHJvamVjdFJlc3BvbnNpYmxl') => $l14[base64_decode('UHJvamVjdFJlc3BvbnNpYmxl')]);
}
}
mysqli_free_result($d13);
echo json_encode($d19b, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('ZWRpdFByb2plY3RUYXNr')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$l147 = $_GET[base64_decode('UHJvamVjdFRhc2tJRA==')];
$oa = base64_decode('U0VMRUNUICogRlJPTSBwcm9qZWN0X3Rhc2tzIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $l147);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
if (!empty($l14[base64_decode('SUQ=')])) {
$b19d[] = array(base64_decode('UGFyZW50VGFzaw==') => $l14[base64_decode('UGFyZW50VGFzaw==')], base64_decode('VGFza05hbWU=') => $l14[base64_decode('VGFza05hbWU=')], base64_decode('U3RhcnQ=') => convertToDanishDateTimeFormat($l14[base64_decode('U3RhcnQ=')]), base64_decode('U3RhdHVz') => $l14[base64_decode('U3RhdHVz')], base64_decode('RGVhZGxpbmU=') => convertToDanishDateTimeFormat($l14[base64_decode('RGVhZGxpbmU=')]), base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('RGVzY3JpcHRpb24=')], base64_decode('UmVzcG9uc2libGU=') => $l14[base64_decode('UmVzcG9uc2libGU=')], base64_decode('RXN0aW1hdGVkQnVkZ2V0') => $l14[base64_decode('RXN0aW1hdGVkQnVkZ2V0')], base64_decode('QnVkZ2V0U3BlbmQ=') => $l14[base64_decode('QnVkZ2V0U3BlbmQ=')], base64_decode('RXN0aW1hdGVkSG91cnM=') => $l14[base64_decode('RXN0aW1hdGVkSG91cnM=')], base64_decode('SG91cnNTcGVuZA==') => $l14[base64_decode('SG91cnNTcGVuZA==')], base64_decode('UHJvZ3Jlc3M=') => $l14[base64_decode('UHJvZ3Jlc3M=')], base64_decode('Q29tcGxldGVkRGF0ZQ==') => $l14[base64_decode('Q29tcGxldGVkRGF0ZQ==')], base64_decode('UmVsYXRlZENhdGVnb3J5') => $l14[base64_decode('UmVsYXRlZENhdGVnb3J5')], base64_decode('UHJpdmF0ZQ==') => $l14[base64_decode('UHJpdmF0ZQ==')]);
}
}
mysqli_free_result($d13);
echo json_encode($b19d, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tEZXNjcmlwdGlvbg==')])) {
$r168 = $_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tEZXNjcmlwdGlvbg==')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIERlc2NyaXB0aW9uID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r168, $l147);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBUYXNrIERlc2NyaXB0aW9uIGNoYW5nZWQgdG86IA==') . $r168;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('ZGVsZXRlUHJvamVjdFRhc2s=')])) {
$l147 = $_GET[base64_decode('UHJvamVjdFRhc2tJRA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$mcb = getRelatedProjectFromProjectTask($l147);
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdF90YXNrcyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $l147);
$sb->execute();
$w19e = getRelatedTaskToProjectTask(base64_decode('MTM='), $l147);
foreach ($w19e as $m19f) {
deleteRelatedTimeRegEntry($m19f);
deleteRelatedTasks($m19f);
}
$j109 = 2;
$ra3 = "Projekt task: $l147 deleted";
createProjectLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
}
if (isset($_GET[base64_decode('cmVtb3ZlVXNlckZyb21Qcm9qZWN0VGFzaw==')])) {
$k148 = $_GET[base64_decode('VXNlcklE')];
$l147 = $_GET[base64_decode('UHJvamVjdFRhc2tJRA==')];
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdF90YXNrc191c2VycyBXSEVSRSBVc2VySUQgPSA/IEFORCBQcm9qZWN0VGFza0lEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $k148, $l147);
$sb->execute();
}
if (isset($_GET[base64_decode('YWRkdXNlcnRvdGVhbQ==')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$z3 = $_GET[base64_decode('YWRkdXNlcnRvdGVhbQ==')];
$oa = "SELECT UserID, TeamID
FROM usersteams
WHERE UserID = $p8a AND TeamID = $z3;";
$d13 = mysqli_query($zc, $oa);
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnN0ZWFtcyhVc2VySUQsIFRlYW1JRCkgVkFMVUVTICg/LD8pOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $z3);
$sb->execute();
}
}
if (isset($_GET[base64_decode('YWRkVXNlclRvQ29tcGFueQ==')])) {
if (!in_array(base64_decode('MTAwMDI2'), $p0) || !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_GET[base64_decode('dXNlcmlk')];
$h2 = $_GET[base64_decode('YWRkVXNlclRvQ29tcGFueQ==')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBDb21wYW55SUQgPSA/IFdIRVJFIHVzZXJzLklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $h2, $p8a);
$sb->execute();
}
if (isset($_GET[base64_decode('YWRkR3JvdXBzVG9Vc2Vy')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$j1a2 = $_GET[base64_decode('dXNlcklk')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnNncm91cHMgKFVzZXJJRCwgR3JvdXBJRCkgVkFMVUVTICg/LCA/KQ==');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $q1a3) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $j1a2, $q1a3);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('cmVtb3ZlR3JvdXBzRnJvbVVzZXI=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$j1a2 = $_GET[base64_decode('dXNlcklk')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnNncm91cHMgV0hFUkUgVXNlcklEID0gPyBBTkQgR3JvdXBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $q1a3) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $j1a2, $q1a3);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('YWRkUm9sZXNUb1VzZXI=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$j1a2 = $_GET[base64_decode('dXNlcklk')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnNyb2xlcyAoVXNlcklELCBSb2xlSUQpIFZBTFVFUyAoPywgPyk=');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $a1a5) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $j1a2, $a1a5);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('cmVtb3ZlUm9sZXNGcm9tVXNlcg==')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$j1a2 = $_GET[base64_decode('dXNlcklk')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnNyb2xlcyBXSEVSRSBVc2VySUQgPSA/IEFORCBSb2xlSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $a1a5) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $j1a2, $a1a5);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('YWRkVGVhbXNUb1VzZXI=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$j1a2 = $_GET[base64_decode('dXNlcklk')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnN0ZWFtcyAoVXNlcklELCBUZWFtSUQpIFZBTFVFUyAoPywgPyk=');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $r1a6) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $j1a2, $r1a6);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('cmVtb3ZlVGVhbXNGcm9tVXNlcg==')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$j1a2 = $_GET[base64_decode('dXNlcklk')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnN0ZWFtcyBXSEVSRSBVc2VySUQgPSA/IEFORCBUZWFtSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $r1a6) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $j1a2, $r1a6);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('YWRkVXNlcnNUb1JvbGU=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$a1a5 = $_GET[base64_decode('cm9sZUlk')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnNyb2xlcyAoUm9sZUlELCBVc2VySUQpIFZBTFVFUyAoPywgPyk=');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $j1a2) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $a1a5, $j1a2);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('cmVtb3ZlVXNlcnNGcm9tUm9sZQ==')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$a1a5 = $_GET[base64_decode('cm9sZUlk')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnNyb2xlcyBXSEVSRSBSb2xlSUQgPSA/IEFORCBVc2VySUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $j1a2) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $a1a5, $j1a2);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('YWRkR3JvdXBzVG9Sb2xl')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$a1a5 = $_GET[base64_decode('cm9sZUlk')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcmdyb3Vwc3JvbGVzIChHcm91cElELCBSb2xlSUQpIFZBTFVFUyAoPywgPyk=');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $q1a3) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $q1a3, $a1a5);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('cmVtb3ZlR3JvdXBzRnJvbVJvbGU=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$a1a5 = $_GET[base64_decode('cm9sZUlk')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcmdyb3Vwc3JvbGVzIFdIRVJFIEdyb3VwSUQgPSA/IEFORCBSb2xlSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $q1a3) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $q1a3, $a1a5);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('Z2V0TWVzc2FnZUluZm9ybWF0aW9ucw==')])) {
$g1a7 = $_GET[base64_decode('bWVzc2FnZWlk')];
$oa = base64_decode('U0VMRUNUIElELCBUb1VzZXJJRCwgRnJvbVVzZXJJRCwgTWVzc2FnZSwgU2VuZERhdGUsIFJlYWREYXRlDQogICAgICAgICAgRlJPTSBtZXNzYWdlcw0KICAgICAgICAgIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $g1a7);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$g1a8 = getFullNameFromID($l14[base64_decode('RnJvbVVzZXJJRA==')]);
$g1a9 = convertToDanishDateTimeFormat($l14[base64_decode('U2VuZERhdGU=')]);
$s119[] = array(base64_decode('TWVzc2FnZUlE') => $g1a7, base64_decode('RnJvbVVzZXJJRA==') => $l14[base64_decode('RnJvbVVzZXJJRA==')], base64_decode('RnJvbVVzZXJGdWxsTmFtZQ==') => $g1a8, base64_decode('TWVzc2FnZQ==') => $l14[base64_decode('TWVzc2FnZQ==')], base64_decode('U2VuZERhdGU=') => $g1a9);
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('c2VuZE1lc3NhZ2VGcm9tTW9kYWw=')])) {
$m1aa = $_POST[base64_decode('ZnJvbQ==')];
$n1ab = $_POST[base64_decode('dG8=')];
$r160 = $_POST[base64_decode('bWVzc2FnZQ==')];
$r160 = mysqli_real_escape_string($zc, $r160);
$oa = base64_decode('SU5TRVJUIElOVE8gbWVzc2FnZXMoVG9Vc2VySUQsIEZyb21Vc2VySUQsIE1lc3NhZ2UsIFNlbmREYXRlKSANCiAgICAgICAgICBWQUxVRVMgKD8sPyw/LE5PVygpKQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nz'), $n1ab, $m1aa, $r160);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('c2VuZEdyb3VwTWVzc2FnZUZyb21Nb2RhbA==')])) {
$h1ac = $_POST[base64_decode('R3JvdXA=')];
$m118 = $_POST[base64_decode('TWVzc2FnZQ==')];
$n1ad = $_POST[base64_decode('RnJvbQ==')];
$m118 = mysqli_real_escape_string($zc, $m118);
$oa = base64_decode('U0VMRUNUIFVzZXJJRA0KICAgICAgICAgIEZST00gdXNlcnNncm91cHMNCiAgICAgICAgICBXSEVSRSBHcm91cElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $h1ac);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$w1ae = $l14[base64_decode('VXNlcklE')];
sendInternalMessage($w1ae, $n1ad, $m118);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlTWVzc2FnZQ==')])) {
$q1af = $_GET[base64_decode('bW9kYWxNZXNzYWdlSUQ=')];
$oa = base64_decode('REVMRVRFIEZST00gbWVzc2FnZXMgV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $q1af);
$sb->execute();
}
if (isset($_GET[base64_decode('YWRkQlNUb0NvbXBhbnk=')])) {
$t1b0 = $_GET[base64_decode('QlNJRA==')];
$h2 = $_GET[base64_decode('YWRkQlNUb0NvbXBhbnk=')];
$oa = base64_decode('SU5TRVJUIElOVE8gYnVzaW5lc3NzZXJ2aWNlc19jb21wYW5pZXMgKEJ1c2luZXNzU2VydmljZUlELCAJQ29tcGFueUlEKSBWQUxVRVMgKD8sPyk=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $t1b0, $h2);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('YWRkdXNlcnN0b2NhYg==')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$s13b = $_GET[base64_decode('YWRkdXNlcnN0b2NhYg==')];
$oa = base64_decode('SU5TRVJUIElOVE8gY2FiX3VzZXJzIChDQUJJRCwgVXNlcklEKSBWQUxVRVMgKD8sPyk7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $s13b, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('cmVtb3ZldXNlcnNmcm9tY2Fi')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$s13b = $_GET[base64_decode('cmVtb3ZldXNlcnNmcm9tY2Fi')];
$oa = base64_decode('REVMRVRFIEZST00gY2FiX3VzZXJzIFdIRVJFIENBQklEID0gPyBBTkQgVXNlcklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $s13b, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('YWRkVXNlclRvUHJvamVjdA==')])) {
$p8a = $_GET[base64_decode('VXNlcklE')];
$mcb = $_GET[base64_decode('UHJvamVjdElE')];
$oa = base64_decode('SU5TRVJUIElOVE8gcHJvamVjdF91c2VycyhQcm9qZWN0SUQsIFVzZXJJRCkgVkFMVUVTICg/LD8pOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $mcb, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('cmVtb3ZlVXNlckZyb21Qcm9qZWN0')])) {
$p8a = $_GET[base64_decode('VXNlcklE')];
$mcb = $_GET[base64_decode('UHJvamVjdElE')];
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdF91c2VycyBXSEVSRSBQcm9qZWN0SUQgPSA/IEFORCBVc2VySUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $mcb, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('YWRkVXNlclRvUHJvamVjdFRhc2s=')])) {
$p8a = $_GET[base64_decode('VXNlcklE')];
$l147 = $_GET[base64_decode('UHJvamVjdFRhc2tJRA==')];
$oa = base64_decode('SU5TRVJUIElOVE8gcHJvamVjdF90YXNrc191c2VycyhVc2VySUQsIFByb2plY3RUYXNrSUQpIFZBTFVFUyAoPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $l147);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('cmVtb3ZlVXNlcnNGcm9tVGVhbQ==')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$r1a6 = $_GET[base64_decode('dGVhbUlk')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnN0ZWFtcyBXSEVSRSBVc2VySUQgPSA/IEFORCBUZWFtSUQgPSA/Ow==');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('c3M='), $j1a2, $r1a6);
foreach ($k1a1 as $j1a2) {
$sb->execute();
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('YWRkVXNlcnNUb1RlYW0=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$r1a6 = $_GET[base64_decode('dGVhbUlk')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnN0ZWFtcyAoVXNlcklELCBUZWFtSUQpIFZBTFVFUyAoPywgPyk7');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('c3M='), $j1a2, $r1a6);
foreach ($k1a1 as $j1a2) {
$sb->execute();
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('YWRkVXNlcnNUb0dyb3Vw')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0) || in_array(base64_decode('MTAwMDMz'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$q1a3 = $_GET[base64_decode('Z3JvdXBJZA==')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnNncm91cHMgKEdyb3VwSUQsIFVzZXJJRCkgVkFMVUVTICg/LCA/KTs=');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('c3M='), $q1a3, $j1a2);
foreach ($k1a1 as $j1a2) {
$sb->execute();
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$a1b1 = getUserGroupName(base64_decode('MTAwMDI2'));
$t1b2 = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $a1b1 or $t1b2");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('cmVtb3ZlVXNlcnNGcm9tR3JvdXA=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0) || in_array(base64_decode('MTAwMDMz'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$q1a3 = $_GET[base64_decode('Z3JvdXBJZA==')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnNncm91cHMgV0hFUkUgR3JvdXBJRCA9ID8gQU5EIFVzZXJJRCA9ID87');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('c3M='), $q1a3, $j1a2);
foreach ($k1a1 as $j1a2) {
$sb->execute();
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$a1b1 = getUserGroupName(base64_decode('MTAwMDI2'));
$t1b2 = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $a1b1 or $t1b2");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('Z2V0dXNlcnNpbmdyb3Vw')])) {
$j114 = $_GET[base64_decode('Z2V0dXNlcnNpbmdyb3Vw')];
$oa = base64_decode('U0VMRUNUIHVzZXJzLklEIEFTIFVzZXJJRCwgQ09OQ0FUKHVzZXJzLkZpcnN0bmFtZSwnICcsdXNlcnMuTGFzdG5hbWUsJyAoJyxVc2VybmFtZSwnKScpIEFTIFVzZXJGdWxsTmFtZQ0KICAgICAgICAgIEZST00gdXNlcnNncm91cHMNCiAgICAgICAgICBMRUZUIEpPSU4gdXNlcnMgT04gdXNlcnNncm91cHMuVXNlcklEID0gdXNlcnMuSUQgDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJncm91cHMgT04gdXNlcnNncm91cHMuR3JvdXBJRCA9IHVzZXJncm91cHMuSUQNCiAgICAgICAgICBXSEVSRSB1c2Vyc2dyb3Vwcy5Hcm91cElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aQ=='), $j114);
$sb->execute();
$d13 = $sb->get_result();
$h13a = [];
while ($l14 = mysqli_fetch_array($d13)) {
$h13a[] = array(base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('VXNlckZ1bGxOYW1l') => $l14[base64_decode('VXNlckZ1bGxOYW1l')]);
}
if (empty($h13a)) {
echo json_encode([base64_decode('ZW1wdHk=') => true]);
} else {
echo json_encode($h13a);
}
}
if (isset($_GET[base64_decode('Z2V0R3JvdXBzSW5Sb2xl')])) {
$m11e = $_POST[base64_decode('Um9sZUlE')];
$oa = base64_decode('DQogICAgU0VMRUNUIA0KICAgICAgICB1c2VyZ3JvdXBzLklEIEFTIElELCANCiAgICAgICAgdXNlcmdyb3Vwcy5Hcm91cE5hbWUgQVMgR3JvdXBOYW1lLCANCiAgICAgICAgbW9kdWxlcy5OYW1lIEFTIE1vZHVsZU5hbWUsIA0KICAgICAgICB1c2VyZ3JvdXBzLkFjdGl2ZSBBUyBBY3RpdmUsIA0KICAgICAgICAnUGVyc29uYWwnIEFTIFR5cGUNCiAgICBGUk9NIA0KICAgICAgICB1c2VyZ3JvdXBzDQogICAgSk9JTiANCiAgICAgICAgdXNlcmdyb3Vwc3JvbGVzIE9OIHVzZXJncm91cHMuSUQgPSB1c2VyZ3JvdXBzcm9sZXMuR3JvdXBJRA0KICAgIExFRlQgSk9JTiANCiAgICAgICAgbW9kdWxlcyBPTiB1c2VyZ3JvdXBzLlJlbGF0ZWRNb2R1bGVJRCA9IG1vZHVsZXMuSUQNCiAgICBXSEVSRSANCiAgICAgICAgbW9kdWxlcy5BY3RpdmU9JzEnIEFORCB1c2VyZ3JvdXBzcm9sZXMuUm9sZUlEID0gPw0KDQogICAgVU5JT04NCg0KICAgIFNFTEVDVCANCiAgICAgICAgc3lzdGVtX2dyb3Vwcy5JRCBBUyBJRCwgDQogICAgICAgIHN5c3RlbV9ncm91cHMuR3JvdXBOYW1lIEFTIEdyb3VwTmFtZSwgDQogICAgICAgIG1vZHVsZXMuTmFtZSBBUyBNb2R1bGVOYW1lLCANCiAgICAgICAgc3lzdGVtX2dyb3Vwcy5BY3RpdmUgQVMgQWN0aXZlLCANCiAgICAgICAgJ1N5c3RlbScgQVMgVHlwZQ0KICAgIEZST00gDQogICAgICAgIHN5c3RlbV9ncm91cHMNCiAgICBKT0lOIA0KICAgICAgICB1c2VyZ3JvdXBzcm9sZXMgT04gc3lzdGVtX2dyb3Vwcy5JRCA9IHVzZXJncm91cHNyb2xlcy5Hcm91cElEDQogICAgTEVGVCBKT0lOIA0KICAgICAgICBtb2R1bGVzIE9OIHN5c3RlbV9ncm91cHMuUmVsYXRlZE1vZHVsZUlEID0gbW9kdWxlcy5JRA0KICAgIFdIRVJFIA0KICAgICAgICBzeXN0ZW1fZ3JvdXBzLklEICE9JzEwMDAwMCcgQU5EIG1vZHVsZXMuQWN0aXZlPScxJyBBTkQgdXNlcmdyb3Vwc3JvbGVzLlJvbGVJRCA9ID8NCiAgICBPUkRFUiBCWSANCiAgICAgICAgQWN0aXZlIERFU0MsIEdyb3VwTmFtZSBBU0M7DQo=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aWk='), $m11e, $m11e);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$q54 = $l14[base64_decode('VHlwZQ==')];
$rd = $l14[base64_decode('R3JvdXBOYW1l')];
if ($q54 == base64_decode('U3lzdGVt')) {
$rd = translate($rd);
}
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('R3JvdXBOYW1l') => $rd);
}
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Z2V0dXNlcnNncm91cHM=')])) {
$p8a = $_GET[base64_decode('Z2V0dXNlcnNncm91cHM=')];
$oa = base64_decode('U0VMRUNUIHVzZXJzZ3JvdXBzLkdyb3VwSUQgQVMgR3JvdXBJRCwgdXNlcmdyb3Vwcy5Hcm91cE5hbWUgQVMgR3JvdXBOYW1lDQogICAgICAgICAgRlJPTSB1c2Vyc2dyb3Vwcw0KICAgICAgICAgIExFRlQgSk9JTiAoU0VMRUNUIHVzZXJncm91cHMuSUQgQVMgSUQsIHVzZXJncm91cHMuR3JvdXBOYW1lIEFTIEdyb3VwTmFtZQ0KICAgICAgICAgIEZST00gdXNlcmdyb3Vwcw0KICAgICAgICAgIFVOSU9ODQogICAgICAgICAgU0VMRUNUIHN5c3RlbV9ncm91cHMuSUQgQVMgSUQsIHN5c3RlbV9ncm91cHMuR3JvdXBOYW1lIEFTIEdyb3VwTmFtZQ0KICAgICAgICAgIEZST00gc3lzdGVtX2dyb3VwcykgQVMgdXNlcmdyb3VwcyBPTiB1c2Vyc2dyb3Vwcy5Hcm91cElEID0gdXNlcmdyb3Vwcy5JRA0KICAgICAgICAgIFdIRVJFIHVzZXJzZ3JvdXBzLlVzZXJJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == 0) {
$d1b3[] = base64_decode('aWFtanVzdHNvZW1wdHk=');
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$d1b3[] = array(base64_decode('R3JvdXBJRA==') => $l14[base64_decode('R3JvdXBJRA==')], base64_decode('R3JvdXBOYW1l') => $l14[base64_decode('R3JvdXBOYW1l')]);
}
}
mysqli_free_result($d13);
echo json_encode($d1b3, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0dXNlcnNyb2xlcw==')])) {
$p8a = $_GET[base64_decode('Z2V0dXNlcnNyb2xlcw==')];
$oa = base64_decode('U0VMRUNUIHJvbGVzLklEIEFTIFJvbGVJRCwgcm9sZXMuUm9sZU5hbWUNCiAgICAgICAgICBGUk9NIHVzZXJzcm9sZXMNCiAgICAgICAgICBJTk5FUiBKT0lOIHJvbGVzIE9OIHJvbGVzLklEID0gdXNlcnNyb2xlcy5Sb2xlSUQNCiAgICAgICAgICBXSEVSRSB1c2Vyc3JvbGVzLlVzZXJJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == 0) {
$t1b4[] = base64_decode('aWFtanVzdHNvZW1wdHk=');
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$t1b4[] = array(base64_decode('Um9sZUlE') => $l14[base64_decode('Um9sZUlE')], base64_decode('Um9sZU5hbWU=') => $l14[base64_decode('Um9sZU5hbWU=')]);
}
}
mysqli_free_result($d13);
echo json_encode($t1b4, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0dXNlcnN0ZWFtcw==')])) {
$p8a = $_GET[base64_decode('Z2V0dXNlcnN0ZWFtcw==')];
$oa = base64_decode('U0VMRUNUIHRlYW1zLklEIEFTIFRlYW1JRCwgdGVhbXMuVGVhbW5hbWUNCiAgICAgICAgICBGUk9NIHVzZXJzdGVhbXMNCiAgICAgICAgICBJTk5FUiBKT0lOIHRlYW1zIE9OIHRlYW1zLklEID0gdXNlcnN0ZWFtcy5UZWFtSUQNCiAgICAgICAgICBXSEVSRSB1c2Vyc3RlYW1zLlVzZXJJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == 0) {
$t1b4[] = base64_decode('aWFtanVzdHNvZW1wdHk=');
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$t1b4[] = array(base64_decode('VGVhbUlE') => $l14[base64_decode('VGVhbUlE')], base64_decode('VGVhbW5hbWU=') => $l14[base64_decode('VGVhbW5hbWU=')]);
}
}
mysqli_free_result($d13);
echo json_encode($t1b4, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0dXNlcnNpbmNvbXBhbnk=')])) {
$h2 = $_GET[base64_decode('Z2V0dXNlcnNpbmNvbXBhbnk=')];
$oa = base64_decode('U0VMRUNUIHVzZXJzLklEIEFTIFVzZXJJRCwgQ09OQ0FUKHVzZXJzLkZpcnN0bmFtZSwnICcsdXNlcnMuTGFzdG5hbWUsJyAoJyxVc2VybmFtZSwnKScpIEFTIFVzZXJGdWxsTmFtZQ0KICAgICAgICAgIEZST00gdXNlcnMNCiAgICAgICAgICBXSEVSRSB1c2Vycy5Db21wYW55SUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $h2);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$h13a[] = array(base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('VXNlckZ1bGxOYW1l') => $l14[base64_decode('VXNlckZ1bGxOYW1l')]);
}
mysqli_free_result($d13);
echo json_encode($h13a, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cmVtb3ZldXNlcmZyb21ncm91cA==')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$j114 = $_GET[base64_decode('cmVtb3ZldXNlcmZyb21ncm91cA==')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnNncm91cHMgV0hFUkUgVXNlcklEID0gPyBBTkQgR3JvdXBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $j114);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('cHVzaFByb2plY3RUYXNrc0ZvcndhcmRYRGF5cw==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$l147 = $_GET[base64_decode('UHJvamVjdFRhc2tJRA==')];
$z1b5 = $_GET[base64_decode('RGF5c1RvUHVzaA==')];
$mcb = getProjectIDFromTaskID($l147);
$p1b6 = getProjectTaskStartDate($l147);
if (preg_match(base64_decode('L1thLXpdL2k='), $z1b5)) {
echo base64_decode('PHNjcmlwdD5hbGVydCgnWW91ciBkYXlzIGNhbiBvbmx5IGNvbnRhaW4gYSBudW1iZXInKTwvc2NyaXB0Pg==');
exit;
} else {
$oa = "UPDATE project_tasks SET Start = DATE_ADD(`Start` , INTERVAL $z1b5 DAY), Deadline = DATE_ADD(`Deadline` , INTERVAL $z1b5 DAY), updated_by = ? WHERE project_tasks.Start >= ? AND Status NOT IN (6,7) AND RelatedProject = ?;";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nz'), $p8a, $p1b6, $mcb);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('cmVtb3ZldXNlcmZyb210ZWFt')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$z3 = $_GET[base64_decode('cmVtb3ZldXNlcmZyb210ZWFt')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnN0ZWFtcyBXSEVSRSBVc2VySUQgPSA/IEFORCBUZWFtSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $z3);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('YWRkdXNlcnRvZ3JvdXA=')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$j114 = $_GET[base64_decode('YWRkdXNlcnRvZ3JvdXA=')];
$oa = base64_decode('U0VMRUNUIFVzZXJJRCwgR3JvdXBJRA0KICAgICAgICAgIEZST00gdXNlcnNncm91cHMNCiAgICAgICAgICBXSEVSRSBVc2VySUQgPSA/IEFORCBHcm91cElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $j114);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnNncm91cHMoVXNlcklELCBHcm91cElEKSBWQUxVRVMgKD8sPyk7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $j114);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('YWRkdXNlcnRvdGVhbQ==')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$z3 = $_GET[base64_decode('YWRkdXNlcnRvZ3JvdXA=')];
$oa = base64_decode('U0VMRUNUIFVzZXJJRCwgVGVhbUlEDQogICAgICAgICAgRlJPTSB1c2Vyc3RlYW1zDQogICAgICAgICAgV0hFUkUgVXNlcklEID0gPyBBTkQgR3JvdXBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $z3);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnN0ZWFtcyhVc2VySUQsIFRlYW1JRCkgVkFMVUVTICg/LD8pOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $z3);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('cmVtb3ZlV2lkZ2V0')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$l1b7 = $_GET[base64_decode('cmVtb3ZlV2lkZ2V0')];
$oa = base64_decode('REVMRVRFIEZST00gd2lkZ2V0c191c2VycyBXSEVSRSBXaWRnZXRJRCA9ID8gQU5EIFVzZXJJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $l1b7, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('YWRkV2lkZ2V0')])) {
$l1b7 = $_GET[base64_decode('YWRkV2lkZ2V0')];
$p8a = $_GET[base64_decode('dXNlcmlk')];
$oa = base64_decode('SU5TRVJUIElOVE8gd2lkZ2V0c191c2VycyhVc2VySUQsIFdpZGdldElEKSBWQUxVRVMgKD8sPyk7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $l1b7);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('cmVtb3ZlUXVpY2tMYXVuY2hFbnRyeQ==')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$w1b8 = $_GET[base64_decode('cmVtb3ZlUXVpY2tMYXVuY2hFbnRyeQ==')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnNfcXVpY2ttZW51IFdIRVJFIFJlbGF0ZWRDaG9pY2VJRCA9ID8gQU5EIFJlbGF0ZWRVc2VySUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $w1b8, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('YWRkUXVpY2tMYXVuY2hFbnRyeQ==')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$w1b8 = $_GET[base64_decode('YWRkUXVpY2tMYXVuY2hFbnRyeQ==')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnNfcXVpY2ttZW51KFJlbGF0ZWRDaG9pY2VJRCwgUmVsYXRlZFVzZXJJRCkgVkFMVUVTICg/LD8pOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $w1b8, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('Z2V0dXNlcnNpbnJvbGVz')])) {
$m11e = $_GET[base64_decode('Z2V0dXNlcnNpbnJvbGVz')];
$t1b9[] = array();
$oa = base64_decode('U0VMRUNUIHVzZXJzcm9sZXMuVXNlcklEIEFTIFVzZXJJRCwgQ09OQ0FUKFVzZXJzLkZpcnN0TmFtZSwnICcsIFVzZXJzLkxhc3ROYW1lLCcgKCcsIFVzZXJzLlVzZXJuYW1lLCcpJykgQVMgRnVsbE5hbWUNCiAgICAgICAgICBGUk9NIHJvbGVzDQogICAgICAgICAgSU5ORVIgSk9JTiB1c2Vyc3JvbGVzIE9OIHJvbGVzLklEID0gdXNlcnNyb2xlcy5Sb2xlSUQNCiAgICAgICAgICBJTk5FUiBKT0lOIHVzZXJzIE9OIHVzZXJzcm9sZXMuVXNlcklEID0gdXNlcnMuSUQNCiAgICAgICAgICBXSEVSRSB1c2Vyc3JvbGVzLlJvbGVJRCA9ID8gQU5EIHJvbGVzLkFjdGl2ZSA9IDE7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $m11e);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$t1b9[] = array(base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')]);
}
echo json_encode($t1b9, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0Z3JvdXBzaW5yb2xlcw==')])) {
$m11e = $_GET[base64_decode('Z2V0Z3JvdXBzaW5yb2xlcw==')];
$oa = base64_decode('U0VMRUNUIHVzZXJncm91cHMuSUQgQVMgR3JvdXBJRCwgdXNlcmdyb3Vwcy5Hcm91cE5hbWUgQVMgR3JvdXBOYW1lDQogICAgICAgICAgRlJPTSByb2xlcw0KICAgICAgICAgIElOTkVSIEpPSU4gdXNlcmdyb3Vwc3JvbGVzIE9OIHJvbGVzLklEID0gdXNlcmdyb3Vwc3JvbGVzLlJvbGVJRA0KICAgICAgICAgIElOTkVSIEpPSU4gdXNlcmdyb3VwcyBPTiB1c2VyZ3JvdXBzcm9sZXMuR3JvdXBJRCA9IHVzZXJncm91cHMuSUQNCiAgICAgICAgICBXSEVSRSByb2xlcy5JRCA9ID8gQU5EIHJvbGVzLkFjdGl2ZSA9IDENCiAgICAgICAgICBVTklPTg0KICAgICAgICAgIFNFTEVDVCBzeXN0ZW1fZ3JvdXBzLklEIEFTIEdyb3VwSUQsIHN5c3RlbV9ncm91cHMuR3JvdXBOYW1lIEFTIEdyb3VwTmFtZQ0KICAgICAgICAgIEZST00gcm9sZXMNCiAgICAgICAgICBJTk5FUiBKT0lOIHVzZXJncm91cHNyb2xlcyBPTiByb2xlcy5JRCA9IHVzZXJncm91cHNyb2xlcy5Sb2xlSUQNCiAgICAgICAgICBJTk5FUiBKT0lOIHN5c3RlbV9ncm91cHMgT04gdXNlcmdyb3Vwc3JvbGVzLkdyb3VwSUQgPSBzeXN0ZW1fZ3JvdXBzLklEDQogICAgICAgICAgV0hFUkUgcm9sZXMuSUQgPSA/IEFORCByb2xlcy5BY3RpdmUgPSAxIEFORCBzeXN0ZW1fZ3JvdXBzLklEICE9ICcxMDAwMDAnOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $m11e, $m11e);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$v1ba[] = array(base64_decode('R3JvdXBJRA==') => $l14[base64_decode('R3JvdXBJRA==')], base64_decode('R3JvdXBOYW1l') => $l14[base64_decode('R3JvdXBOYW1l')]);
}
mysqli_free_result($d13);
echo json_encode($v1ba, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cG9wTW9kYWxlZGl0V29ya2RheXM=')])) {
$b1bb = $_GET[base64_decode('cG9wTW9kYWxlZGl0V29ya2RheXM=')];
$oa = base64_decode('U0VMRUNUIGlkLCBkYXRlcywgZGF5LCB0aW1lc3RhcnQsIHRpbWVlbmQsIHJlYXNvbiwgbG9ja2VkIA0KICAgICAgICAgIEZST00gd29ya2RheXMNCiAgICAgICAgICBXSEVSRSB3b3JrZGF5cy5pZCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $b1bb);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('aWQ=') => $l14[base64_decode('aWQ=')], base64_decode('ZGF0ZXM=') => $l14[base64_decode('ZGF0ZXM=')], base64_decode('ZGF5') => $l14[base64_decode('ZGF5')], base64_decode('dGltZXN0YXJ0') => $l14[base64_decode('dGltZXN0YXJ0')], base64_decode('dGltZWVuZA==') => $l14[base64_decode('dGltZWVuZA==')], base64_decode('cmVhc29u') => $l14[base64_decode('cmVhc29u')], base64_decode('bG9ja2Vk') => $l14[base64_decode('bG9ja2Vk')]);
}
mysqli_free_result($d13);
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_POST[base64_decode('dXBkYXRlV29ya2RheQ==')])) {
$u1bc = $_POST[base64_decode('aWQ=')];
$n1bd = $_POST[base64_decode('ZGF0ZXM=')];
$f1be = $_POST[base64_decode('ZGF5')];
$y1bf = $_POST[base64_decode('dGltZXN0YXJ0')];
$s1c0 = $_POST[base64_decode('dGltZWVuZA==')];
$d1c1 = $_POST[base64_decode('cmVhc29u')];
$oa = base64_decode('VVBEQVRFIHdvcmtkYXlzIFNFVCBkYXRlcz0/LGRheT0/LHRpbWVzdGFydD0/LHRpbWVlbmQ9PyxyZWFzb249Pw0KICAgICAgICAgIFdIRVJFIHdvcmtkYXlzLmlkID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nz'), $n1bd, $f1be, $y1bf, $s1c0, $d1c1, $u1bc);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('Z2V0d29ya2Zsb3dz')])) {
$z1c2 = $_GET[base64_decode('Z2V0d29ya2Zsb3dz')];
$oa = "SELECT ID, RelatedWorkFlowID, StepOrder, StepName, Description
FROM workflowsteps_template
WHERE RelatedWorkFlowID = $z1c2;";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $z1c2);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('UmVsYXRlZFdvcmtGbG93SUQ=') => $l14[base64_decode('UmVsYXRlZFdvcmtGbG93SUQ=')], base64_decode('U3RlcE9yZGVy') => $l14[base64_decode('U3RlcE9yZGVy')], base64_decode('U3RlcE5hbWU=') => $l14[base64_decode('U3RlcE5hbWU=')], base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('dGltRGVzY3JpcHRpb25lZW5k')]);
}
mysqli_free_result($d13);
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0d29ya2Zsb3dzVGFibGU=')])) {
$z1c2 = $_GET[base64_decode('Z2V0d29ya2Zsb3dz')];
$oa = "SELECT workflowsteps_template.ID, RelatedWorkFlowID, StepOrder, StepName, Description, users.ID AS UserID
FROM workflowsteps_template
LEFT JOIN users ON workflowsteps_template.RelatedUserID = users.ID
WHERE RelatedWorkFlowID = $z1c2
ORDER BY StepOrder ASC;";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $z1c2);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('UmVsYXRlZFdvcmtGbG93SUQ=') => $l14[base64_decode('UmVsYXRlZFdvcmtGbG93SUQ=')], base64_decode('U3RlcE9yZGVy') => $l14[base64_decode('U3RlcE9yZGVy')], base64_decode('U3RlcE5hbWU=') => $l14[base64_decode('U3RlcE5hbWU=')], base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('dGltRGVzY3JpcHRpb25lZW5k')]);
}
mysqli_free_result($d13);
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cG9wTW9kYWxlZGl0V29ya2Zsb3dzdGVw')])) {
$d76 = $_GET[base64_decode('cG9wTW9kYWxlZGl0V29ya2Zsb3dzdGVw')];
$oa = base64_decode('U0VMRUNUIGlkLCBzdGVwb3JkZXIsIHN0ZXBuYW1lLCBkZXNjcmlwdGlvbiwgcmVsYXRlZHVzZXJpZA0KICAgICAgICAgIEZST00gd29ya2Zsb3dzdGVwc190ZW1wbGF0ZSANCiAgICAgICAgICBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $d76);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('aWQ=') => $l14[base64_decode('aWQ=')], base64_decode('c3RlcG9yZGVy') => $l14[base64_decode('c3RlcG9yZGVy')], base64_decode('c3RlcG5hbWU=') => $l14[base64_decode('c3RlcG5hbWU=')], base64_decode('ZGVzY3JpcHRpb24=') => $l14[base64_decode('ZGVzY3JpcHRpb24=')], base64_decode('cmVsYXRlZHVzZXJpZA==') => $l14[base64_decode('cmVsYXRlZHVzZXJpZA==')]);
}
mysqli_free_result($d13);
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cG9wTW9kYWxlZGl0U3RhbnNkYXJkQW5zd2Vy')])) {
$l1c3 = $_GET[base64_decode('cG9wTW9kYWxlZGl0U3RhbnNkYXJkQW5zd2Vy')];
$oa = base64_decode('U0VMRUNUIHN0YW5kYXJkYW5zd2Vycy5JRCwgTmFtZSwgQW5zd2VyLCBSZWxhdGVkTW9kdWxlSUQNCiAgICAgICAgICBGUk9NIHN0YW5kYXJkYW5zd2Vycw0KICAgICAgICAgIFdIRVJFIHN0YW5kYXJkYW5zd2Vycy5JRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $l1c3);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('TmFtZQ==') => $l14[base64_decode('TmFtZQ==')], base64_decode('QW5zd2Vy') => $l14[base64_decode('QW5zd2Vy')], base64_decode('UmVsYXRlZE1vZHVsZUlE') => $l14[base64_decode('UmVsYXRlZE1vZHVsZUlE')]);
}
mysqli_free_result($d13);
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('ZWRpdFdvcmtGbG93TW9kYWw=')])) {
$hb3 = $_POST[base64_decode('d29ya2Zsb3dpZA==')];
$oa = base64_decode('U0VMRUNUIElELCBXb3JrZmxvd05hbWUsIERlc2NyaXB0aW9uLCBSZXNwb25zaWJsZSwgUmVsYXRlZE1vZHVsZUlELCBBY3RpdmUNCiAgICAgICAgICBGUk9NIHdvcmtmbG93c190ZW1wbGF0ZQ0KICAgICAgICAgIFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $hb3);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('V29ya0Zsb3dOYW1l') => $l14[base64_decode('V29ya2Zsb3dOYW1l')], base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('RGVzY3JpcHRpb24=')], base64_decode('UmVzcG9uc2libGU=') => $l14[base64_decode('UmVzcG9uc2libGU=')], base64_decode('QWN0aXZl') => $l14[base64_decode('QWN0aXZl')], base64_decode('UmVsYXRlZE1vZHVsZUlE') => $l14[base64_decode('UmVsYXRlZE1vZHVsZUlE')]);
}
echo json_encode($s119);
}
if (isset($_POST[base64_decode('dXBkYXRlV29ya0Zsb3dTdGVw')])) {
if (in_array(base64_decode('MTAwMDIz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$t1c4 = $_POST[base64_decode('c3RlcGlk')];
$j1c5 = $_POST[base64_decode('c3RlcG9yZGVy')];
$t1c6 = $_POST[base64_decode('c3RlcG5hbWU=')];
$t1c6 = mysqli_real_escape_string($zc, $t1c6);
$s135 = $_POST[base64_decode('ZGVzY3JpcHRpb24=')];
$s135 = mysqli_real_escape_string($zc, $s135);
$j1c7 = $_POST[base64_decode('cmVzcG9uc2libGU=')];
if ($j1c7 == -1) {
$j1c7 = base64_decode('TlVMTA==');
}
$oa = base64_decode('VVBEQVRFIHdvcmtmbG93c3RlcHNfdGVtcGxhdGUgU0VUIFN0ZXBPcmRlcj0/LFN0ZXBOYW1lPT8sRGVzY3JpcHRpb249PyxSZWxhdGVkVXNlcklEPT8NCiAgICAgICAgICBXSEVSRSB3b3JrZmxvd3N0ZXBzX3RlbXBsYXRlLklEPT87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $j1c5, $t1c6, $s135, $j1c7, $t1c4);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlV29ya0Zsb3c=')])) {
if (in_array(base64_decode('MTAwMDIz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$l1c8 = $_POST[base64_decode('d29ya2Zsb3dpZA==')];
$d1c9 = $_POST[base64_decode('d29ya2Zsb3duYW1l')];
$d1c9 = mysqli_real_escape_string($zc, $d1c9);
$d1ca = $_POST[base64_decode('d29ya2Zsb3dkZXNjcmlwdGlvbg==')];
$d1ca = mysqli_real_escape_string($zc, $d1ca);
$c1cb = $_POST[base64_decode('d29ya2Zsb3dyZXNwb25zaWJsZQ==')];
$g1cc = $_POST[base64_decode('d29ya2Zsb3dyZWxhdGVkbW9kdWxl')];
$s1cd = $_POST[base64_decode('bW9kYWxFZGl0V29ya0Zsb3dBY3RpdmU=')];
if ($c1cb == -1) {
$c1cb = base64_decode('TlVMTA==');
}
$oa = base64_decode('VVBEQVRFIHdvcmtmbG93c190ZW1wbGF0ZSANCiAgICAgICAgICBTRVQgV29ya2Zsb3dOYW1lPT8sIERlc2NyaXB0aW9uPT8sIFJlc3BvbnNpYmxlPT8sIFJlbGF0ZWRNb2R1bGVJRD0/LCBBY3RpdmU9Pw0KICAgICAgICAgIFdIRVJFIHdvcmtmbG93c190ZW1wbGF0ZS5JRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nz'), $d1c9, $d1ca, $c1cb, $g1cc, $s1cd, $l1c8);
$sb->execute();
}
if (isset($_POST[base64_decode('Y3JlYXRlV29ya0Zsb3dTdGVw')])) {
$l1c8 = $_POST[base64_decode('d29ya2Zsb3dpZA==')];
$j1c5 = $_POST[base64_decode('c3RlcG9yZGVy')];
$t1c6 = $_POST[base64_decode('c3RlcG5hbWU=')];
$t1c6 = mysqli_real_escape_string($zc, $t1c6);
$s135 = $_POST[base64_decode('ZGVzY3JpcHRpb24=')];
$s135 = mysqli_real_escape_string($zc, $s135);
$j1c7 = $_POST[base64_decode('cmVzcG9uc2libGU=')];
if ($j1c7 == -1) {
$j1c7 = base64_decode('TlVMTA==');
}
$oa = base64_decode('SU5TRVJUIElOVE8gd29ya2Zsb3dzdGVwc190ZW1wbGF0ZShSZWxhdGVkV29ya0Zsb3dJRCwgU3RlcE9yZGVyLCBTdGVwTmFtZSwgRGVzY3JpcHRpb24sIFJlbGF0ZWRVc2VySUQpIA0KICAgICAgICAgIFZBTFVFUyAoPyw/LD8sPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $l1c8, $j1c5, $t1c6, $s135, $j1c7);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_POST[base64_decode('dXBkYXRlU3RhbmRhcmRBbnN3ZXI=')])) {
$u1bc = $_POST[base64_decode('aWQ=')];
$p50 = $_POST[base64_decode('bmFtZQ==')];
$p1ce = mysqli_real_escape_string($zc, urldecode($_POST[base64_decode('YW5zd2Vy')]));
$gdc = $_POST[base64_decode('bW9kdWxlaWQ=')];
$oa = base64_decode('VVBEQVRFIHN0YW5kYXJkYW5zd2VycyANCiAgICAgICAgICBTRVQgTmFtZT0/LFJlbGF0ZWRNb2R1bGVJRD0/LEFuc3dlcj0/DQogICAgICAgICAgV0hFUkUgc3RhbmRhcmRhbnN3ZXJzLklEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $p50, $gdc, $p1ce, $u1bc);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('Y3JlYXRlV29ya0Zsb3c=')])) {
$d1c9 = $_POST[base64_decode('d29ya2Zsb3duYW1l')];
$d1c9 = mysqli_real_escape_string($zc, $d1c9);
$d1ca = $_POST[base64_decode('d29ya2Zsb3dkZXNjcmlwdGlvbg==')];
$d1ca = mysqli_real_escape_string($zc, $d1ca);
$c1cb = $_POST[base64_decode('d29ya2Zsb3dyZXNwb25zaWJsZQ==')];
$g1cc = $_POST[base64_decode('d29ya2Zsb3dyZWxhdGVkbW9kdWxl')];
if ($c1cb == -1) {
$c1cb = base64_decode('TlVMTA==');
}
$oa = base64_decode('SU5TRVJUIElOVE8gd29ya2Zsb3dzX3RlbXBsYXRlKFdvcmtmbG93TmFtZSwgRGVzY3JpcHRpb24sIFJlc3BvbnNpYmxlLCBSZWxhdGVkTW9kdWxlSUQpIA0KICAgICAgICAgIFZBTFVFUyAoPyw/LD8sPyk7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $d1c9, $d1ca, $c1cb, $g1cc);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('ZGVsZXRlV29ya0Zsb3dUZW1wbGF0ZVRhc2s=')])) {
$f1cf = $_POST[base64_decode('V0ZUQVNLSUQ=')];
$oa = base64_decode('REVMRVRFIEZST00gd29ya2Zsb3dzdGVwc190ZW1wbGF0ZQ0KICAgICAgICAgIFdIRVJFIHdvcmtmbG93c3RlcHNfdGVtcGxhdGUuSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $f1cf);
$sb->execute();
}
if (isset($_GET[base64_decode('ZGVsZXRlV29ya0Zsb3c=')])) {
if (in_array(base64_decode('MTAwMDIz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$i1d0 = $_GET[base64_decode('V0ZJRA==')];
$oa = base64_decode('REVMRVRFIEZST00gd29ya2Zsb3dzX3RlbXBsYXRlDQogICAgICAgICAgV0hFUkUgd29ya2Zsb3dzX3RlbXBsYXRlLklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $i1d0);
$sb->execute();
$fe[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($fe);
}
if (isset($_GET[base64_decode('Z2V0T25saW5lVXNlcnM=')])) {
$oa = base64_decode('U0VMRUNUIHVzZXJpZCwgc2Vzc2lvbmNyZWF0ZWQsIHNlc3Npb25yZW5ld2VkLCBDT05DQVQodXNlcnMuZmlyc3RuYW1lLCcgJyx1c2Vycy5sYXN0bmFtZSwnICgnLHVzZXJzLnVzZXJuYW1lLCcpJykgQVMgRnVsbE5hbWUNCiAgICAgICAgICBGUk9NIHNlc3Npb25zDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIHNlc3Npb25zLnVzZXJpZCA9IHVzZXJzLklEIA0KICAgICAgICAgIFdIRVJFIHNlc3Npb25yZW5ld2VkID4gKE5PVygpIC0gSU5URVJWQUwgMTUgTUlOVVRFKQ0KICAgICAgICAgIE9SREVSIEJZIHNlc3Npb25jcmVhdGVkIERFU0M7');
$sb = mysqli_prepare($zc, $oa);
$sb->execute();
$d13 = $sb->get_result();
if ($d13->$y1d1 === 0) exit(base64_decode('Tm8gcm93cw=='));
while ($l14 = $d13->fetch_assoc()) {
$s119[] = array(base64_decode('dXNlcmlk') => $l14[base64_decode('dXNlcmlk')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')]);
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('cHJlcGFyZUltcG9ydEFEVXNlcnM=')])) {
$x1d2 = getSettingValue(51);
$g1d3 = getSettingValue(52);
$z1d4 = getSettingValue(53);
$b1d5 = getSettingValue(57);
$z1d4 = base64_decode('bGRhcDovLw==') . $z1d4 . base64_decode('Lg==') . $b1d5 . base64_decode('OjM4OQ==');
$q1d6 = getSettingValue(54);
$z1d7 = getSettingValue(55);
$t1d8 = getSettingValue(58);
$r1d9 = $g1d3 . base64_decode('QA==') . $b1d5;
$l1da = ldap_connect($z1d4);
ldap_set_option($l1da, LDAP_OPT_PROTOCOL_VERSION, $z1d7) or die(base64_decode('VW5hYmxlIHRvIHNldCBMREFQIHByb3RvY29sIHZlcnNpb24='));
ldap_set_option($l1da, LDAP_OPT_REFERRALS, 0);
if (TRUE === ldap_bind($l1da, "$r1d9", $x1d2)) {
$e1db = base64_decode('KCYob2JqZWN0Q2F0ZWdvcnk9cGVyc29uKShzYW1hY2NvdW50bmFtZT0qKSk=');
$e1dc = array();
$e1dc[] = base64_decode('Z2l2ZW5uYW1l');
$e1dc[] = base64_decode('bWFpbA==');
$e1dc[] = base64_decode('c2FtYWNjb3VudG5hbWU=');
$e1dc[] = base64_decode('c24=');
$e1dc[] = base64_decode('ZGlzcGxheW5hbWU=');
$e1dc[] = base64_decode('dXNlcmFjY291bnRjb250cm9s');
$e1dc[] = base64_decode('bW9kaWZ5dGltZXN0YW1w');
$d13 = ldap_search($l1da, $q1d6, $e1db, $e1dc);
if (FALSE !== $d13) {
$w1dd = ldap_get_entries($l1da, $d13);
for ($a1de = 0; $a1de < $w1dd[base64_decode('Y291bnQ=')]; $a1de++) {
if (!empty($w1dd[$a1de][base64_decode('c2FtYWNjb3VudG5hbWU=')][0])) {
$a1df = 1;
$x1e0 = false;
$e7b = strtolower(trim($w1dd[$a1de][base64_decode('c2FtYWNjb3VudG5hbWU=')][0]));
$z187 = strtolower(trim($w1dd[$a1de][base64_decode('bWFpbA==')][0]));
$h1e1 = trim($w1dd[$a1de][base64_decode('ZGlzcGxheW5hbWU=')][0]);
$u16c = trim($w1dd[$a1de][base64_decode('Z2l2ZW5uYW1l')][0]);
$r16d = trim($w1dd[$a1de][base64_decode('c24=')][0]);
$l1e2 = trim($w1dd[$a1de][base64_decode('dXNlcmFjY291bnRjb250cm9s')][0]);
if ($l1e2 == base64_decode('NTEy')) {
$a1df = 1;
}
if ($l1e2 == base64_decode('NTE0')) {
$a1df = 0;
}
$x1e0 = doesUsernameExist($e7b, $z187);
if ($x1e0 == true) {
$x1e3 = base64_decode('VXBkYXRl');
}
if ($x1e0 == false && $a1df == 1) {
$x1e3 = base64_decode('SW1wb3J0');
}
$s119[] = array(base64_decode('VXNlcm5hbWU=') => $e7b, base64_decode('RW1haWw=') => $z187, base64_decode('Rmlyc3RuYW1l') => $u16c, base64_decode('TGFzdG5hbWU=') => $r16d, base64_decode('RnVsbG5hbWU=') => $h1e1, base64_decode('QWN0aW9u') => $x1e3, base64_decode('U3RhdHVz') => $a1df);
}
}
ldap_unbind($l1da);
}
$ybf = count($s119);
$r160 .= "Retrieved $ybf Active Directory users
";
}
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('dXBkYXRlQWRtaW5pc3RyYXRvcnNGcm9tTERBUA==')])) {
$ybf = syncAdministrators();
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('aW1wb3J0QURVc2Vycw==')])) {
$ybf = syncADUsers();
$m1e4[] = array(base64_decode('QW50YWw=') => $ybf);
if (empty($m1e4)) {
echo json_encode([]);
} else {
echo json_encode($m1e4);
}
}
if (isset($_GET[base64_decode('aW1wb3J0QURUZWFtcw==')])) {
$ybf = syncADTeams();
$m1e4[] = array(base64_decode('QW50YWw=') => $ybf);
if (empty($m1e4)) {
echo json_encode([]);
} else {
echo json_encode($m1e4);
}
}
if (isset($_GET[base64_decode('Z2V0UHJvamVjdFRhc2tz')])) {
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$q4 = $_SESSION[base64_decode('aWQ=')];
$a1e5 = '';
$s119 = array();
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdGFza3MuSUQgQVMgVGFza0lELCBUYXNrTmFtZSwgcHJvamVjdF90YXNrcy5EZXNjcmlwdGlvbiwgcHJvamVjdF90YXNrcy5TdGFydCwgcHJvamVjdF90YXNrcy5EZWFkbGluZSwgQ09OQ0FUKHVzZXJzLmZpcnN0bmFtZSwnICcsIHVzZXJzLmxhc3RuYW1lKSBBUyBGdWxsTmFtZSwgcHJvamVjdF90YXNrcy5TdGF0dXMsIHByb2plY3RzX3N0YXR1c2NvZGVzLlN0YXR1c05hbWUsIA0KICAgICAgICAgICAgICAgIHByb2plY3RfdGFza3MuUGFyZW50VGFzayBBUyBQYXJlbnRUYXNrLHByb2plY3RfdGFza3MuUHJvZ3Jlc3MgQVMgVGFza1Byb2dyZXNzLCBwcm9qZWN0c19zcHJpbnRzLlN0YXJ0IEFTIFNwcmludFN0YXJ0RGF0ZSwgcHJvamVjdHNfc3ByaW50cy5EZWFkbGluZSBBUyBTcHJpbnRFbmREYXRlLCBwcm9qZWN0c19zcHJpbnRzLlNob3J0TmFtZSwgcHJvamVjdHNfc3ByaW50cy5JRCBBUyBTcHJpbnRJRCwgDQogICAgICAgICAgICAgICAgcHJvamVjdF90YXNrcy5Qcml2YXRlIEFTIFRhc2tQcml2YXRlLCBwcm9qZWN0cy5Qcm9qZWN0TWFuYWdlcixwcm9qZWN0c190YXNrc19jYXRlZ29yaWVzLlNob3J0TmFtZSBBUyBSZWxhdGVkVGFza0NhdGVnb3J5TmFtZSwgcHJvamVjdHNfdGFza3NfY2F0ZWdvcmllcy5EZXNjcmlwdGlvbiBBUyBSZWxhdGVkVGFza0NhdGVnb3J5RGVzY3JpcHRpb24NCiAgICAgICAgICBGUk9NIHByb2plY3RfdGFza3MNCiAgICAgICAgICBMRUZUIEpPSU4gcHJvamVjdHMgT04gcHJvamVjdF90YXNrcy5SZWxhdGVkUHJvamVjdCA9IHByb2plY3RzLklEDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIHByb2plY3RfdGFza3MuUmVzcG9uc2libGUgPSB1c2Vycy5JRA0KICAgICAgICAgIExFRlQgSk9JTiBwcm9qZWN0c19zdGF0dXNjb2RlcyBPTiBwcm9qZWN0X3Rhc2tzLlN0YXR1cyA9IHByb2plY3RzX3N0YXR1c2NvZGVzLklEDQogICAgICAgICAgTEVGVCBKT0lOIHByb2plY3RzX3Rhc2tzX2NhdGVnb3JpZXMgT04gcHJvamVjdF90YXNrcy5SZWxhdGVkQ2F0ZWdvcnkgPSBwcm9qZWN0c190YXNrc19jYXRlZ29yaWVzLklEDQogICAgICAgICAgTEVGVCBPVVRFUiBKT0lOIHByb2plY3RzX3NwcmludHMgT04gcHJvamVjdHNfc3ByaW50cy5SZWxhdGVkUHJvamVjdElEID0gPyBBTkQgcHJvamVjdF90YXNrcy5TdGFydCA+PSBwcm9qZWN0c19zcHJpbnRzLlN0YXJ0IEFORCBwcm9qZWN0X3Rhc2tzLkRlYWRsaW5lIDw9IHByb2plY3RzX3NwcmludHMuRGVhZGxpbmUNCiAgICAgICAgICBXSEVSRSBwcm9qZWN0cy5JRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBwcm9qZWN0c19zcHJpbnRzLkRlYWRsaW5lIEFTQywgcHJvamVjdF90YXNrcy5EZWFkbGluZSBBU0M7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $mcb, $mcb);
$sb->execute();
$d13 = $sb->get_result();
if ($d13->$y1d1 === 0) exit(base64_decode('Tm8gcm93cw=='));
while ($l14 = $d13->fetch_assoc()) {
if (empty($l14[base64_decode('U2hvcnROYW1l')])) {
$a1e5 = translate(base64_decode('Tm8gU3ByaW50'));
} else {
$a1e5 = $l14[base64_decode('U2hvcnROYW1l')];
}
$d1e6 = base64_decode('MA==');
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$v78 = translate($l14[base64_decode('U3RhdHVzTmFtZQ==')]);
$a1df = $l14[base64_decode('U3RhdHVz')];
$p1e7 = $l14[base64_decode('UGFyZW50VGFzaw==')];
if ($p1e7 == base64_decode('LTE=')) {
$p1e7 = '';
}
$t1e8 = $l14[base64_decode('VGFza1Byb2dyZXNz')];
$u1e9 = $l14[base64_decode('VGFza1ByaXZhdGU=')];
$v78 = sprintf(_("$v78"));
$l147 = $l14[base64_decode('VGFza0lE')];
$r19a = $l14[base64_decode('U3ByaW50SUQ=')];
$g1ea = $l14[base64_decode('U3ByaW50RW5kRGF0ZQ==')];
$t149 = $l14[base64_decode('UHJvamVjdE1hbmFnZXI=')];
$a1eb = $l14[base64_decode('UmVsYXRlZFRhc2tDYXRlZ29yeU5hbWU=')];
$y1ec = $l14[base64_decode('UmVsYXRlZFRhc2tDYXRlZ29yeURlc2NyaXB0aW9u')];
$z1ed = base64_decode('MA==');
if ($u1e9 == base64_decode('MQ==') && $t149 <> $q4) {
$i1ee = getProjectTaskParticipantsForPrivate($l147, $q4);
if (empty($i1ee)) {
$z1ed = base64_decode('MQ==');
}
}
if ($a1df <> base64_decode('Nw==')) {
$y1ef = date(base64_decode('WS1tLWQgSDpt'), strtotime($l14[base64_decode('RGVhZGxpbmU=')]));
$q1f0 = date(base64_decode('WS1tLWQgSDpt'));
if ($y1ef < $q1f0) {
$d1e6 = base64_decode('MQ==');
}
if ($y1ef < $q1f0) {
$d1e6 = base64_decode('MQ==');
}
}
if (!empty($p1e7)) {
$w1f1 = getParentTaskName($p1e7);
} else {
$w1f1 = '';
}
$s119[] = array(base64_decode('UHJvZ3Jlc3M=') => $t1e8, base64_decode('UGFyZW50VGFzaw==') => $p1e7, base64_decode('UGFyZW50VGFza05hbWU=') => $w1f1, base64_decode('UHJvamVjdElE') => $mcb, base64_decode('VGFza0lE') => $l147, base64_decode('Q2FsU3RhcnQ=') => $l14[base64_decode('U3RhcnQ=')], base64_decode('U3RhcnQ=') => convertToDanishTimeFormat($l14[base64_decode('U3RhcnQ=')]), base64_decode('Q2FsRW5k') => $l14[base64_decode('RGVhZGxpbmU=')], base64_decode('RGVhZGxpbmU=') => convertToDanishTimeFormat($l14[base64_decode('RGVhZGxpbmU=')]), base64_decode('VGFza05hbWU=') => $l14[base64_decode('VGFza05hbWU=')], base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('RGVzY3JpcHRpb24=')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')], base64_decode('U3RhdHVzTmFtZQ==') => $v78, base64_decode('VGFza1Byb2dyZXNz') => $l14[base64_decode('VGFza1Byb2dyZXNz')], base64_decode('U3ByaW50TmFtZQ==') => $a1e5, base64_decode('U3ByaW50SUQ=') => $l14[base64_decode('U3ByaW50SUQ=')], base64_decode('U3ByaW50RGVhZGxpbmU=') => $g1ea, base64_decode('UmVsYXRlZFRhc2tDYXRlZ29yeU5hbWU=') => $a1eb, base64_decode('UmVsYXRlZFRhc2tDYXRlZ29yeURlc2NyaXB0aW9u') => $y1ec, base64_decode('UHJpdmF0ZQ==') => $u1e9, base64_decode('Q2xvc2VkU3RhdHVz') => $z1ed, base64_decode('VGFza0RlbGF5ZWQ=') => $d1e6, base64_decode('U3ByaW50SUQ=') => $r19a);
}
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Z2V0UHJvamVjdFRhc2tzU3ByaW50')])) {
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$r19a = $_GET[base64_decode('c3ByaW50aWQ=')];
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdGFza3MuSUQgQVMgSUQsIFRhc2tOYW1lLCBwcm9qZWN0X3Rhc2tzLkRlc2NyaXB0aW9uLCBwcm9qZWN0X3Rhc2tzLkRlYWRsaW5lLCBDT05DQVQodXNlcnMuZmlyc3RuYW1lLCcgJywgdXNlcnMubGFzdG5hbWUpIEFTIEZ1bGxOYW1lLCBwcm9qZWN0c19zdGF0dXNjb2Rlcy5TdGF0dXNOYW1lLCBwcm9qZWN0X3Rhc2tzLlByb2dyZXNzIEFTIFRhc2tQcm9ncmVzcywgcHJvamVjdHNfc3ByaW50cy5TaG9ydE5hbWUNCiAgICAgICAgICBGUk9NIHByb2plY3RfdGFza3MNCiAgICAgICAgICBMRUZUIEpPSU4gcHJvamVjdHMgT04gcHJvamVjdF90YXNrcy5SZWxhdGVkUHJvamVjdCA9IHByb2plY3RzLklEDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIHByb2plY3RfdGFza3MuUmVzcG9uc2libGUgPSB1c2Vycy5JRA0KICAgICAgICAgIExFRlQgSk9JTiBwcm9qZWN0c19zdGF0dXNjb2RlcyBPTiBwcm9qZWN0X3Rhc2tzLlN0YXR1cyA9IHByb2plY3RzX3N0YXR1c2NvZGVzLklEDQogICAgICAgICAgTEVGVCBKT0lOIHByb2plY3RzX3NwcmludHMgT04gcHJvamVjdHNfc3ByaW50cy5JRCA9IHByb2plY3RfdGFza3MuUmVsYXRlZENhdGVnb3J5DQogICAgICAgICAgV0hFUkUgcHJvamVjdHMuSUQgPSA/IEFORCBwcm9qZWN0X3Rhc2tzLlJlbGF0ZWRDYXRlZ29yeSA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBwcm9qZWN0X3Rhc2tzLkRlYWRsaW5lIEFTQzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $mcb, $r19a);
$sb->execute();
$d13 = $sb->get_result();
if ($d13->$y1d1 === 0) exit(base64_decode('Tm8gcm93cw=='));
while ($l14 = $d13->fetch_assoc()) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('RGVhZGxpbmU=') => convertToDanishTimeFormat($l14[base64_decode('RGVhZGxpbmU=')]), base64_decode('VGFza05hbWU=') => $l14[base64_decode('VGFza05hbWU=')], base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('RGVzY3JpcHRpb24=')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')], base64_decode('U3RhdHVzTmFtZQ==') => _($l14[base64_decode('U3RhdHVzTmFtZQ==')]), base64_decode('VGFza1Byb2dyZXNz') => $l14[base64_decode('VGFza1Byb2dyZXNz')], base64_decode('U3ByaW50TmFtZQ==') => $l14[base64_decode('U2hvcnROYW1l')]);
}
mysqli_free_result($d13);
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tEYXRl')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$a1f2 = $_GET[base64_decode('dGFza2lk')];
$i1f3 = $_GET[base64_decode('c3RhcnRkYXRl')];
$t1f4 = $_GET[base64_decode('ZW5kZGF0ZQ==')];
$j9f = base64_decode('MTM=');
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIFN0YXJ0ID0gPywgRGVhZGxpbmUgPSA/LCB1cGRhdGVkX2J5ID0gPyBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $i1f3, $t1f4, $p8a, $a1f2);
$sb->execute();
$d13 = $sb->get_result();
updateKanbanTaskDeadline($t1f4, $a1f2, $j9f);
echo json_encode([]);
}
if (isset($_GET[base64_decode('Z2V0U3ByaW50SURGcm9tTmFtZQ==')])) {
$o1f5 = $_GET[base64_decode('c3ByaW50bmFtZQ==')];
$oa = base64_decode('U0VMRUNUIElEDQogICAgICAgICAgRlJPTSBwcm9qZWN0c19zcHJpbnRzDQogICAgICAgICAgV0hFUkUgU2hvcnROYW1lID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $o1f5);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('U3ByaW50SUQ=') => $l14[base64_decode('SUQ=')]);
}
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Z2V0UHJvamVjdFRhc2tzQnVkZ2V0Vmlldw==')])) {
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdGFza3MuSUQgQVMgSUQsIFRhc2tOYW1lLCBwcm9qZWN0X3Rhc2tzLlByb2dyZXNzIEFTIFRhc2tQcm9ncmVzcywgcHJvamVjdF90YXNrcy5Fc3RpbWF0ZWRCdWRnZXQsIHByb2plY3RfdGFza3MuQnVkZ2V0U3BlbmQsIHByb2plY3RfdGFza3MuRXN0aW1hdGVkSG91cnMNCiAgICAgICAgICBGUk9NIHByb2plY3RfdGFza3MNCiAgICAgICAgICBMRUZUIEpPSU4gcHJvamVjdHMgT04gcHJvamVjdF90YXNrcy5SZWxhdGVkUHJvamVjdCA9IHByb2plY3RzLklEDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIHByb2plY3RfdGFza3MuUmVzcG9uc2libGUgPSB1c2Vycy5JRA0KICAgICAgICAgIExFRlQgSk9JTiBwcm9qZWN0c19zdGF0dXNjb2RlcyBPTiBwcm9qZWN0X3Rhc2tzLlN0YXR1cyA9IHByb2plY3RzX3N0YXR1c2NvZGVzLklEIA0KICAgICAgICAgIFdIRVJFIHByb2plY3RzLklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('VGFza05hbWU=') => $l14[base64_decode('VGFza05hbWU=')], base64_decode('VGFza1Byb2dyZXNz') => $l14[base64_decode('VGFza1Byb2dyZXNz')], base64_decode('RXN0aW1hdGVkQnVkZ2V0') => $l14[base64_decode('RXN0aW1hdGVkQnVkZ2V0')], base64_decode('QnVkZ2V0U3BlbmQ=') => $l14[base64_decode('QnVkZ2V0U3BlbmQ=')], base64_decode('RXN0aW1hdGVkSG91cnM=') => $l14[base64_decode('RXN0aW1hdGVkSG91cnM=')], base64_decode('SG91cnNTcGVuZA==') => getProjectTaskTotalHoursSpend($l14[base64_decode('SUQ=')]));
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0UHJvamVjdFRlYW1NZW1iZXJz')])) {
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdXNlcnMuUHJvamVjdElELCBwcm9qZWN0X3VzZXJzLlVzZXJJRCwgQ09OQ0FUKHVzZXJzLkZpcnN0bmFtZSwnICcsdXNlcnMuTGFzdG5hbWUpIEFTIEZ1bGxOYW1lLCB1c2Vycy5Qcm9maWxlUGljdHVyZSx1c2Vycy5FbWFpbA0KICAgICAgICAgIEZST00gcHJvamVjdF91c2Vycw0KICAgICAgICAgIExFRlQgSk9JTiB1c2VycyBPTiBwcm9qZWN0X3VzZXJzLlVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgV0hFUkUgcHJvamVjdF91c2Vycy5Qcm9qZWN0SUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('UHJvamVjdElE') => $l14[base64_decode('UHJvamVjdElE')], base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')], base64_decode('RW1haWw=') => $l14[base64_decode('RW1haWw=')], base64_decode('UHJvZmlsZVBpY3R1cmU=') => $l14[base64_decode('UHJvZmlsZVBpY3R1cmU=')]);
}
if (empty($s119)) {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array();
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0UHJvamVjdFRhc2tUZWFtTWVtYmVycw==')])) {
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdGFza3NfdXNlcnMuUHJvamVjdFRhc2tJRCAsIHByb2plY3RfdGFza3NfdXNlcnMuVXNlcklELCBDT05DQVQodXNlcnMuRmlyc3RuYW1lLCcgJyx1c2Vycy5MYXN0bmFtZSkgQVMgRnVsbE5hbWUsIHVzZXJzLlByb2ZpbGVQaWN0dXJlLHVzZXJzLkVtYWlsDQogICAgICAgICAgRlJPTSBwcm9qZWN0X3Rhc2tzX3VzZXJzDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIHByb2plY3RfdGFza3NfdXNlcnMuVXNlcklEID0gdXNlcnMuSUQNCiAgICAgICAgICBXSEVSRSBwcm9qZWN0X3Rhc2tzX3VzZXJzLlByb2plY3RUYXNrSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $l147);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('UHJvamVjdFRhc2tJRA==') => $l14[base64_decode('UHJvamVjdFRhc2tJRA==')], base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')], base64_decode('RW1haWw=') => $l14[base64_decode('RW1haWw=')], base64_decode('UHJvZmlsZVBpY3R1cmU=') => $l14[base64_decode('UHJvZmlsZVBpY3R1cmU=')]);
}
if (empty($s119)) {
$s119[] = array();
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0TGFuZ3VhZ2Vz')])) {
$oa = base64_decode('U0VMRUNUIElELCBNYWluTGFuZ3VhZ2UsIGRhX0RLLCBkZV9ERSwgZXNfRVMsIGZyX0ZSLCBmaV9GSSANCiAgICAgICAgICBGUk9NIGxhbmd1YWdlcw==');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('TWFpbkxhbmd1YWdl') => $l14[base64_decode('TWFpbkxhbmd1YWdl')], base64_decode('ZGFfREs=') => $l14[base64_decode('ZGFfREs=')], base64_decode('ZGVfREU=') => $l14[base64_decode('ZGVfREU=')], base64_decode('ZXNfRVM=') => $l14[base64_decode('ZXNfRVM=')], base64_decode('ZnJfRlI=') => $l14[base64_decode('ZnJfRlI=')], base64_decode('ZmlfRkk=') => $l14[base64_decode('ZmlfRkk=')]);
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('YWRkdXNlcnRvdGVhbQ==')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$z3 = $_GET[base64_decode('YWRkdXNlcnRvdGVhbQ==')];
$oa = base64_decode('U0VMRUNUIFVzZXJJRCwgVGVhbUlEDQogICAgICAgICAgRlJPTSB1c2Vyc3RlYW1zDQogICAgICAgICAgV0hFUkUgVXNlcklEID0gPyBBTkQgVGVhbUlEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $z3);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnN0ZWFtcyhVc2VySUQsIFRlYW1JRCkgVkFMVUVTICg/LD8pOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $z3);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('dG9nZ2xlc2lkZWJhcg==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$j1f6 = $_GET[base64_decode('dG9nZ2xlc2lkZWJhcg==')];
if ($j1f6 == 1) {
$j1f6 = base64_decode('c2lkZWJhci1taW5p');
} else {
$j1f6 = '';
}
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZQ0KICAgICAgICAgIEZST00gdXNlcl9zZXR0aW5ncw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/IEFORCBSZWxhdGVkU2V0dGluZ0lEID0gMTI=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = base64_decode('VVBEQVRFIHVzZXJfc2V0dGluZ3MgU0VUIFNldHRpbmdWYWx1ZSA9ID8gV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAxMg==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $j1f6, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMTIsPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $j1f6, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('Z2V0c2lkZWJhcnZhbHVl')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZSBGUk9NIHVzZXJfc2V0dGluZ3MgDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAxMg==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == 0) {
$s119 = array(base64_decode('c2lkZWJhcnZhbHVl') => '');
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('c2lkZWJhcnZhbHVl') => $l14[base64_decode('U2V0dGluZ1ZhbHVl')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dG9nZ2xlc2lkZWJhcmNvbG9y')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$b1f7 = $_GET[base64_decode('dG9nZ2xlc2lkZWJhcmNvbG9y')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZQ0KICAgICAgICAgIEZST00gdXNlcl9zZXR0aW5ncw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/IEFORCBSZWxhdGVkU2V0dGluZ0lEID0gMTg=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = base64_decode('VVBEQVRFIHVzZXJfc2V0dGluZ3MgU0VUIFNldHRpbmdWYWx1ZSA9ID8gV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAxOA==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $b1f7, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMTgsPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $b1f7, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('dG9nZ2xlY2FyZGhlYWRlcnNjb2xvcg==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$a1f8 = $_GET[base64_decode('dG9nZ2xlY2FyZGhlYWRlcnNjb2xvcg==')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZQ0KICAgICAgICAgIEZST00gdXNlcl9zZXR0aW5ncw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/IEFORCBSZWxhdGVkU2V0dGluZ0lEID0gMjE=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = base64_decode('VVBEQVRFIHVzZXJfc2V0dGluZ3MgU0VUIFNldHRpbmdWYWx1ZSA9ID8gV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAyMQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $a1f8, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMjEsPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $a1f8, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('Z2V0YmFja2dyb3VuZHZhbHVl')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZSBGUk9NIHVzZXJfc2V0dGluZ3MgDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAyMg==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == 0) {
$s119 = array(base64_decode('YmFja2dyb3VuZHZhbHVl') => '');
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('YmFja2dyb3VuZHZhbHVl') => $l14[base64_decode('U2V0dGluZ1ZhbHVl')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dG9nZ2xlYmFja2dyb3VuZA==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$l1f9 = $_GET[base64_decode('dG9nZ2xlYmFja2dyb3VuZA==')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZQ0KICAgICAgICAgIEZST00gdXNlcl9zZXR0aW5ncw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/QU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAyMg==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = base64_decode('VVBEQVRFIHVzZXJfc2V0dGluZ3MgU0VUIFNldHRpbmdWYWx1ZSA9ID8gV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAyMg==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $l1f9, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMjIsPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $l1f9, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('Z2V0VGhlbWVTdHlsZQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZSBGUk9NIHVzZXJfc2V0dGluZ3MgDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAyMA==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == base64_decode('MA==')) {
$s119 = array(base64_decode('dGhlbWVzdHlsZXZhbHVldmFsdWU=') => base64_decode('bGlnaHQ='));
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('dGhlbWVzdHlsZXZhbHVldmFsdWU=') => $l14[base64_decode('U2V0dGluZ1ZhbHVl')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0TmF2YmFyc3R5bGU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZSBGUk9NIHVzZXJfc2V0dGluZ3MgDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAxMg==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == base64_decode('MA==')) {
$s119 = array(base64_decode('dGhlbWVzdHlsZXZhbHVldmFsdWU=') => base64_decode('aGlkZGVu'));
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('dGhlbWVzdHlsZXZhbHVldmFsdWU=') => $l14[base64_decode('U2V0dGluZ1ZhbHVl')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0c2lkZWJhcmltYWdldmFsdWU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZSBGUk9NIHVzZXJfc2V0dGluZ3MgDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAxOQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == 0) {
$s119 = array(base64_decode('c2lkZWJhcmltYWdldmFsdWU=') => '');
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('c2lkZWJhcmltYWdldmFsdWU=') => $l14[base64_decode('U2V0dGluZ1ZhbHVl')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dG9nZ2xldGhlbWVzdHlsZXZhbHVl')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y1fa = $_GET[base64_decode('dG9nZ2xldGhlbWVzdHlsZXZhbHVl')];
$s119 = array(base64_decode('dG9nZ2xldGhlbWVzdHlsZXZhbHVl') => $y1fa);
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZQ0KICAgICAgICAgIEZST00gdXNlcl9zZXR0aW5ncw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/IEFORCBSZWxhdGVkU2V0dGluZ0lEID0gMjA=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = base64_decode('VVBEQVRFIHVzZXJfc2V0dGluZ3MgU0VUIFNldHRpbmdWYWx1ZSA9ID8gV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAyMA==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $y1fa, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMjAsPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $y1fa, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dG9nZ2xlbmF2YmFyc3R5bGV2YWx1ZQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$a1fb = $_GET[base64_decode('dG9nZ2xlbmF2YmFyc3R5bGV2YWx1ZQ==')];
$s119 = array(base64_decode('dG9nZ2xlbmF2YmFyc3R5bGV2YWx1ZQ==') => $a1fb);
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZQ0KICAgICAgICAgIEZST00gdXNlcl9zZXR0aW5ncw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/IEFORCBSZWxhdGVkU2V0dGluZ0lEID0gMTI=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = base64_decode('VVBEQVRFIHVzZXJfc2V0dGluZ3MgU0VUIFNldHRpbmdWYWx1ZSA9ID8gV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAxMg==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $a1fb, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMTIsPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $a1fb, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dG9nZ2xlc2lkZWJhcmltYWdldmFsdWU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$i1fc = $_GET[base64_decode('dG9nZ2xlc2lkZWJhcmltYWdldmFsdWU=')];
if ($i1fc == true) {
$i1fc = base64_decode('MQ==');
} else {
$i1fc = base64_decode('MA==');
}
$oa = "SELECT SettingValue
FROM user_settings
WHERE RelatedUserID = $p8a AND RelatedSettingID = 19";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = base64_decode('VVBEQVRFIHVzZXJfc2V0dGluZ3MgU0VUIFNldHRpbmdWYWx1ZSA9ID8gV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAxOQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $i1fc, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMTksPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $i1fc, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('dG9nZ2xlYmFja2dyb3VuZA==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$r1fd = $_GET[base64_decode('dG9nZ2xlYmFja2dyb3VuZA==')];
if ($r1fd == base64_decode('MQ==')) {
$r1fd = base64_decode('MQ==');
} else {
$r1fd = base64_decode('MA==');
}
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZQ0KICAgICAgICAgIEZST00gdXNlcl9zZXR0aW5ncw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/IEFORCBSZWxhdGVkU2V0dGluZ0lEID0gMjI=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = "UPDATE user_settings SET SettingValue = '$r1fd' WHERE RelatedUserID = $p8a AND RelatedSettingID = 22";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r1fd, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMjIsPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r1fd, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('Z2V0bGF0ZXN0bm9maWNhdGlvbg==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIE1BWChJRCkgQVMgSUQNCiAgICAgICAgICBGUk9NIG5vdGlmaWNhdGlvbnMNCiAgICAgICAgICBXSEVSRSBSZWxhdGVkVXNlcklEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == 0) {
echo base64_decode('PHNjcmlwdD5hbGVydCgnWW91IGRvIG5vdCBoYXZlIGFueSBub3RpZmljYXRpb25zIHlldCcpPC9zY3JpcHQ+');
return;
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0bGF0ZXN0bWVzc2FnZQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIE1BWChJRCkgQVMgSUQNCiAgICAgICAgICBGUk9NIG1lc3NhZ2VzDQogICAgICAgICAgV0hFUkUgVG9Vc2VySUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == 0) {
echo base64_decode('PHNjcmlwdD5hbGVydCgnWW91IGRvIG5vdCBoYXZlIGFueSBtZXNzYWdlcyB5ZXQnKTwvc2NyaXB0Pg==');
return;
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_POST[base64_decode('c2VhcmNoZnVuY3Rpb24=')])) {
$c1fe = $_POST[base64_decode('c2VhcmNodHlwZQ==')];
$q1ff = $_POST[base64_decode('c2VhcmNoc3RyaW5n')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZQ0KICAgICAgICAgIEZST00gdXNlcl9zZXR0aW5ncw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/IEFORCBSZWxhdGVkU2V0dGluZ0lEID0gMTk=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = base64_decode('VVBEQVRFIHVzZXJfc2V0dGluZ3MgU0VUIFNldHRpbmdWYWx1ZSA9ID8gV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAxOQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $i1fc, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMTksPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $i1fc, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('ZGVsZXRlRm9ybXNUYWJsZQ==')])) {
$x200 = $_GET[base64_decode('ZGVsZXRlRm9ybXNUYWJsZQ==')];
$j4f = $_GET[base64_decode('dGFibGVuYW1l')];
deleteFormsTable($x200);
deleteDatabaseTable($j4f);
}
if (isset($_GET[base64_decode('Y3JlYXRlRm9ybXNUYWJsZQ==')])) {
$j4f = $_GET[base64_decode('Y3JlYXRlRm9ybXNUYWJsZQ==')];
$q1d = $_GET[base64_decode('Zm9ybWlk')];
createFormsTable($q1d, $j4f);
createDatabaseTable($j4f);
}
if (isset($_GET[base64_decode('Y3JlYXRlRm9ybXNUYWJsZUZpZWxk')])) {
$g201 = $_GET[base64_decode('Y3JlYXRlRm9ybXNUYWJsZUZpZWxk')];
$l202 = $_GET[base64_decode('ZmllbGRuYW1l')];
$g203 = $_GET[base64_decode('ZmllbGR0eXBl')];
$b204 = $_GET[base64_decode('ZmllbGRsZW5ndGg=')];
$u205 = $_GET[base64_decode('ZmllbGR3aWR0aA==')];
$b206 = $_GET[base64_decode('dGFibGVpZA==')];
createFormsTableField($g201, $l202, $g203, $b206, $b204, $u205);
createDatabaseTableField($g201, $l202, $g203, $b206, $b204, $u205);
}
if (isset($_GET[base64_decode('ZGVsZXRlRm9ybXNUYWJsZUZpZWxk')])) {
$o49 = $_GET[base64_decode('ZGVsZXRlRm9ybXNUYWJsZUZpZWxk')];
$m1a = $_GET[base64_decode('ZmllbGRuYW1l')];
$x200 = $_GET[base64_decode('Zm9ybXRhYmxlaWQ=')];
deleteFormsTableField($o49);
deleteDatabaseTableField($x200, $m1a);
}
if (isset($_GET[base64_decode('ZGVsZXRlUmVsQ29tcGFueQ==')])) {
$c207 = $_GET[base64_decode('ZGVsZXRlUmVsQ29tcGFueQ==')];
$oa = base64_decode('REVMRVRFIEZST00ga25vd2xlZGdlX2NvbXBhbmllcyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $c207);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('ZGVsZXRlUmVsVXNlcg==')])) {
$c207 = $_GET[base64_decode('ZGVsZXRlUmVsVXNlcg==')];
$oa = base64_decode('REVMRVRFIEZST00ga25vd2xlZGdlX3VzZXJzIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $c207);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('ZGVsZXRlbmV3c2l0ZW0=')])) {
$g6d = $_GET[base64_decode('ZGVsZXRlbmV3c2l0ZW0=')];
$oa = base64_decode('REVMRVRFIEZST00gTmV3cyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $g6d);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('ZGVsZXRlRG9jdW1lbnQ=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($p8a);
$j6 = getLanguageCode($y5);
$d129 = $_GET[base64_decode('ZGVsZXRlRG9jdW1lbnQ=')];
$j9f = $_GET[base64_decode('bW9kdWxlaWQ=')];
$q1f = getCIIDFromDocName($d129);
$g35 = getITSMIDFromDocName($d129);
switch ($j9f) {
case 1:
$j4f = base64_decode('ZmlsZXNfdGlja2V0cw==');
break;
case 2:
$j4f = base64_decode('ZmlsZXNfY2hhbmdlcw==');
break;
case 3:
$j4f = base64_decode('ZmlsZXNfZG9jdW1lbnRz');
break;
case 4:
$j4f = base64_decode('ZmlsZXNfY2lz');
$m10 = getCITypeFromDocName($d129);
$o208 = getCIOriginalDocName($d129);
$ra3 = "Deleted file $o208";
createCILogEntry($q1f, $m10, $p8a, $ra3);
break;
case 5:
$j4f = base64_decode('ZmlsZXNfcHJvYmxlbXM=');
break;
case 6:
$j4f = base64_decode('ZmlsZXNfcHJvamVjdHM=');
break;
case 7:
$j4f = base64_decode('ZmlsZXNfZG9jdW1lbnRz');
break;
case 13:
$j4f = base64_decode('ZmlsZXNfcHJvamVjdHRhc2tz');
break;
case base64_decode('Y29tcGFuaWVz'):
$j4f = base64_decode('ZmlsZXNfY29tcGFuaWVz');
break;
case base64_decode('YnVzaW5lc3NTZXJ2aWNlZmlsZQ=='):
$j4f = base64_decode('ZmlsZXNfYnVzaW5lc3NzZXJ2aWNlcw==');
break;
case base64_decode('dXNlcnM='):
$j4f = base64_decode('ZmlsZXNfdXNlcnM=');
break;
case base64_decode('aXRzbQ=='):
$j4f = base64_decode('ZmlsZXNfaXRzbQ==');
$k17 = getITSMTypeFromDocName($d129);
$o208 = getITSMOriginalDocName($d129);
$ra3 = "Deleted file $o208";
createITSMLogEntry($g35, $k17, $p8a, $ra3);
$q34[] = array(base64_decode('SVRTTVR5cGVJRA==') => $k17, base64_decode('SVRTTUlE') => $g35, base64_decode('VXNlckxhbmd1YWdlQ29kZQ==') => $j6);
break;
}
$n209 = "./uploads/$j4f/$d129";
unlink($n209);
$oa = "DELETE FROM $j4f WHERE FileName = ?";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $d129);
$sb->execute();
if ($q34) {
echo json_encode($q34, JSON_PRETTY_PRINT);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlQ01EQkZpbGU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$bb8 = $_POST[base64_decode('RmlsZUlE')];
$j4f = base64_decode('ZmlsZXNfY2lz');
$m10 = getCITypeFromFileID($bb8);
$jba = getCIFileNameFromFileID($bb8);
$o208 = getCIOriginalFileID($bb8);
$q1f = getCIIDFromFileID($bb8);
$ra3 = "Deleted file $o208";
createCILogEntry($q1f, $m10, $p8a, $ra3);
$n209 = "./uploads/$j4f/$jba";
if (!unlink($n209)) {
errorlog("Could not delete $n209", base64_decode('ZGVsZXRlQ01EQkZpbGU='));
}
$oa = "DELETE FROM $j4f WHERE ID = ?";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $bb8);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlc3lzdGVtaW5mb3JtYXRpb24=')])) {
$d20a = $_GET[base64_decode('dXBkYXRlc3lzdGVtaW5mb3JtYXRpb24=')];
$k20b = $_GET[base64_decode('ZGVmYXVsdGxhbmd1YWdl')];
$b20c = $_GET[base64_decode('ZGVmYXVsdHRpbWV6b25l')];
$u20d = $_GET[base64_decode('c3lzdGVtdXJs')];
$m20e = $_GET[base64_decode('ZGVmYXVsdGRlc2lnbg==')];
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMTM7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $d20a);
$sb->execute();
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMTA7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k20b);
$sb->execute();
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMTE7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $b20c);
$sb->execute();
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMTc7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $u20d);
$sb->execute();
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMjA7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $m20e);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRlTWFpbFNldHRpbmdz')])) {
$y20f = $_GET[base64_decode('dXBkYXRlTWFpbFNldHRpbmdz')];
$f210 = $_GET[base64_decode('U01UUFNlY3VyZQ==')];
$j211 = $_GET[base64_decode('U01UUEhvc3Q=')];
$m212 = $_GET[base64_decode('U01UUFVzZXJuYW1l')];
$j213 = $_GET[base64_decode('U01UUFBhc3N3b3Jk')];
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMjY7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $y20f);
$sb->execute();
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMjc7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $f210);
$sb->execute();
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMjg7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $j211);
$sb->execute();
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMjk7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $m212);
$sb->execute();
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMzA7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $j213);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlclVzZXJuYW1l')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$e7b = $_POST[base64_decode('dXNlcm5hbWU=')];
$e7b = mysqli_real_escape_string($zc, $e7b);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBVc2VybmFtZSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $e7b, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('VXNlcm5hbWUgY2hhbmdlZCB0bzog') . $e7b;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlckJpcnRoZGF5')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$j16f = convertFromDanishDateFormat($_POST[base64_decode('YmlydGhkYXk=')]);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBCaXJ0aGRheSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $j16f, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('QmlydGhkYXkgY2hhbmdlZCB0bzog') . $j16f;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlclBob25l')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$r214 = $_POST[base64_decode('cGhvbmU=')];
$r214 = mysqli_real_escape_string($zc, $r214);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBQaG9uZSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r214, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('UGhvbmUgY2hhbmdlZCB0bzog') . $r214;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlckVtYWls')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$z215 = $_POST[base64_decode('ZW1haWw=')];
$z215 = mysqli_real_escape_string($zc, $z215);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBFbWFpbCA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $z215, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('RW1haWwgY2hhbmdlZCB0bzog') . $z215;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlckZpcnN0bmFtZQ==')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q216 = $_POST[base64_decode('Zmlyc3RuYW1l')];
$q216 = mysqli_real_escape_string($zc, $q216);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBGaXJzdG5hbWUgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $q216, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('Rmlyc3RuYW1lIGNoYW5nZWQgdG86IA==') . $q216;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlckxhc3RuYW1l')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$s217 = $_POST[base64_decode('bGFzdG5hbWU=')];
$s217 = mysqli_real_escape_string($zc, $s217);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBMYXN0bmFtZSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $s217, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('TGFzdG5hbWUgY2hhbmdlZCB0bzog') . $s217;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlckpvYlRpdGVs')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$r170 = $_POST[base64_decode('am9idGl0ZWw=')];
$r170 = mysqli_real_escape_string($zc, $r170);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBKb2JUaXRlbCA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r170, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('Sm9iVGl0ZWwgY2hhbmdlZCB0bzog') . $r170;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlckxpbmtlZElu')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$k218 = $_POST[base64_decode('bGlua2VkaW4=')];
$k218 = mysqli_real_escape_string($zc, $k218);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBMaW5rZWRJbiA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $k218, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('TGlua2VkSW4gY2hhbmdlZCB0bzog') . $k218;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlclpvb21QZXJzUm9vbQ==')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$r219 = $_POST[base64_decode('dXBkYXRlQW5kTG9nVXNlclpvb21QZXJzUm9vbQ==')];
$r219 = mysqli_real_escape_string($zc, $r219);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBab29tUGVyc1Jvb20gPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r219, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('Wm9vbSBQZXJzb25hbCBNZWV0aW5nIFJvb20gY2hhbmdlZCB0bzog') . $r219;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlckNvbXBhbnk=')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$e21a = $_POST[base64_decode('Y29tcGFueQ==')];
$e21a = mysqli_real_escape_string($zc, $e21a);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBDb21wYW55SUQgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $e21a, $baa);
$sb->execute();
$y21b = getCompanyName($e21a);
$j109 = 2;
$ra3 = base64_decode('Q29tcGFueSBjaGFuZ2VkIHRvOiA=') . $y21b;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlclVzZXJUeXBl')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$a1 = $_POST[base64_decode('dXNlcnR5cGU=')];
$a1 = mysqli_real_escape_string($zc, $a1);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBSZWxhdGVkVXNlclR5cGVJRCA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $a1, $baa);
$sb->execute();
$u21c = getUserTypeName($a1);
$j109 = 2;
$ra3 = base64_decode('VXNlclR5cGUgY2hhbmdlZCB0bzog') . $u21c;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlck1hbmFnZXI=')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$o21d = $_POST[base64_decode('VXNlck1hbmFnZXI=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBSZWxhdGVkTWFuYWdlciA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aWk='), $o21d, $baa);
$sb->execute();
$ra3 = '';
if ($o21d) {
$s21e = getUserFullNameWithUsername($o21d);
$ra3 = "Manager changed to: $s21e";
} else {
$s21e = base64_decode('aW5nZW4=');
$ra3 = base64_decode('TWFuYWdlciByZW1vdmVk');
}
$j109 = 2;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlckFjdGl2ZQ==')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$ye4 = $_POST[base64_decode('YWN0aXZl')];
$ye4 = mysqli_real_escape_string($zc, $ye4);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBBY3RpdmUgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $ye4, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('QWN0aXZlIHN0YXR1cyBjaGFuZ2VkIHRvOiA=') . $ye4;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlck5vdGVz')])) {
$$a21f = $_POST[base64_decode('VXNlcklE')];
$q4 = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($$a21f == $q4) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$t220 = $_POST[base64_decode('dXNlcm5vdGVz')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBOb3RlcyA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c2k='), $t220, $$a21f);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('Tm90ZXMgY2hhbmdlZCB0bzog') . $t220;
createUserLogEntry($$a21f, $q4, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nQ29tcGFueU5vdGVz')])) {
$$h2 = $_POST[base64_decode('Q29tcGFueUlE')];
$q4 = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$f221 = $_POST[base64_decode('Y29tcGFueW5vdGVz')];
$oa = base64_decode('VVBEQVRFIGNvbXBhbmllcyBTRVQgTm90ZXMgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c2k='), $f221, $$h2);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('Tm90ZXMgY2hhbmdlZA==');
createCompanyLogEntry($h2, $q4, $j109, $ra3);
}
if (isset($_GET[base64_decode('Z2V0Q29tcGFueUlERnJvbU5hbWU=')])) {
$y21b = $_GET[base64_decode('Q29tcGFueW5hbWU=')];
$oa = base64_decode('U0VMRUNUIElEIEFTIENvbXBhbnlJRA0KICAgICAgICAgIEZST00gY29tcGFuaWVzDQogICAgICAgICAgV0hFUkUgQ29tcGFueW5hbWUgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $y21b);
$sb->execute();
while ($l14 = mysqli_fetch_array($d13)) {
$a222[] = array(base64_decode('Q29tcGFueUlE') => $l14[base64_decode('Q29tcGFueUlE')]);
}
mysqli_free_result($d13);
echo json_encode($a222, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0U2Vzc2lvbkFjdGl2ZVN0YXR1cw==')])) {
$m223 = (($_SESSION[base64_decode('dGltZW91dF9kdXJhdGlvbg==')] - 1) * 60);
if (isset($_SESSION[base64_decode('TEFTVF9BQ1RJVklUWQ==')]) && (time() - $_SESSION[base64_decode('TEFTVF9BQ1RJVklUWQ==')] > $m223)) {
session_unset();
session_destroy();
echo json_encode([base64_decode('c3RhdHVz') => base64_decode('dGltZW91dA==')]);
} else {
$z224 = $m223 - (time() - $_SESSION[base64_decode('TEFTVF9BQ1RJVklUWQ==')]);
$a225 = floor($z224 / 60);
echo json_encode([base64_decode('c3RhdHVz') => base64_decode('YWN0aXZl'), base64_decode('dGltZV9sZWZ0') => $a225]);
}
exit();
}
if (isset($_GET[base64_decode('dXBkYXRlU2Vzc2lvbkFjdGl2ZQ==')])) {
$p8a = $_GET[base64_decode('dXBkYXRlU2Vzc2lvbkFjdGl2ZQ==')];
$a1df = $_GET[base64_decode('c3RhdHVz')];
$oa = base64_decode('VVBEQVRFIFNlc3Npb25zIFNFVCBhY3RpdmUgPSA/IFdIRVJFIHVzZXJpZCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $a1df, $p8a);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRlQ2xpZW50U2Vzc2lvbklQ')])) {
$p8a = $_GET[base64_decode('dXBkYXRlQ2xpZW50U2Vzc2lvbklQ')];
$j226 = $_GET[base64_decode('aXA=')];
$oa = base64_decode('VVBEQVRFIFNlc3Npb25zIFNFVCBpcCA9ID8gV0hFUkUgdXNlcmlkID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $j226, $p8a);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRlU2V0dGluZ0FjdGl2ZQ==')])) {
$baa = $_GET[base64_decode('dXNlcmlk')];
$l7 = base64_decode('TG9nb3V0');
$s227 = getSettingValue(63);
$oa = "SELECT Active
FROM Sessions
WHERE userid = ? AND (sessionrenewed > DATE_SUB(NOW(), INTERVAL $s227 MINUTE))";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $baa);
$sb->execute();
while ($l14 = mysqli_fetch_array($d13)) {
$l7 = $l14[base64_decode('QWN0aXZl')];
}
$fe[] = array(base64_decode('QWN0aXZl') => $l7);
echo json_encode($fe);
}
if (isset($_GET[base64_decode('Z2V0U2Vzc2lvbkFjdGl2ZQ==')])) {
$s228 = $_GET[base64_decode('Z2V0U2Vzc2lvbkFjdGl2ZQ==')];
$oa = base64_decode('U0VMRUNUIEFjdGl2ZSANCiAgICAgICAgICBGUk9NIFNlc3Npb25zDQogICAgICAgICAgV0hFUkUgdXNlcmlkID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $s228);
$sb->execute();
while ($l14 = mysqli_fetch_array($d13)) {
$a222[] = array(base64_decode('QWN0aXZl') => $l14[base64_decode('QWN0aXZl')]);
}
mysqli_free_result($d13);
echo json_encode($a222, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Y2hlY2tVc2VyU2Vzc2lvbg==')])) {
$baa = $_GET[base64_decode('dXNlcmlk')];
$l7 = base64_decode('TG9nb3V0');
$s227 = getSettingValue(63);
$oa = "SELECT Active
FROM Sessions
WHERE userid = ? AND (sessionrenewed > DATE_SUB(NOW(), INTERVAL $s227 MINUTE))";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $baa);
$sb->execute();
while ($l14 = mysqli_fetch_array($d13)) {
$l7 = $l14[base64_decode('QWN0aXZl')];
}
$fe[] = array(base64_decode('QWN0aXZl') => $l7);
echo json_encode($fe);
}
if (isset($_GET[base64_decode('bG9ja1Nlc3Npb24=')])) {
$p8a = $_GET[base64_decode('bG9ja1Nlc3Npb24=')];
$oa = base64_decode('VVBEQVRFIFNlc3Npb25zIFNFVCBsb2NrZWQ9MSBXSEVSRSB1c2VyaWQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
}
if (isset($_GET[base64_decode('Y2hhbmdldGltZXJlZ2lzdHJhdGlvbg==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$g139 = $_GET[base64_decode('cmVnaXN0cmF0aW9uaWQ=')];
$k134 = $_GET[base64_decode('cmVsYXRlZHRhc2s=')];
$s135 = $_GET[base64_decode('ZGVzY3JpcHRpb24=')];
$i137 = $_GET[base64_decode('YmlsbGFibGU=')];
$l136 = $_GET[base64_decode('dGltZXNwZW5k')];
$j138 = convertFromDanishTimeFormat($_GET[base64_decode('ZGF0ZXBlcmZvcm1lZA==')]);
$oa = base64_decode('VVBEQVRFIHRpbWVfcmVnaXN0cmF0aW9ucyBTRVQgUmVsYXRlZFRhc2tJRD0/LCBEZXNjcmlwdGlvbj0/LCBCaWxsYWJsZT0/LCBUaW1lUmVnaXN0ZXJlZD0/LCBEYXRlV29ya2VkPT8NCiAgICAgICAgICBXSEVSRSBJRD0/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nz'), $k134, $s135, $i137, $l136, $j138, $g139);
$sb->execute();
}
if (isset($_GET[base64_decode('Y2hhbmdlV29ya0Zsb3dTdGVw')])) {
$p229 = $_GET[base64_decode('bW9kYWxzdGVwaWQ=')];
$s22a = $_GET[base64_decode('bW9kYWxzdGVwbmFtZQ==')];
$p22b = $_GET[base64_decode('bW9kYWxkZXNjcmlwdGlvbg==')];
$d22c = $_GET[base64_decode('bW9kYWxzdGF0dXM=')];
$r22d = $_GET[base64_decode('bW9kYWxyZXNwb25zaWJsZQ==')];
$p22e = convertFromDanishTimeFormat($_GET[base64_decode('bW9kYWxkZWFkbGluZQ==')]);
$oa = "UPDATE workflowsteps SET StepName='$s22a',Description='$p22b',RelatedStatusID='$d22c',RelatedUserID='$r22d'
WHERE workflowsteps.ID = $p229";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $s22a, $p22b, $d22c, $r22d, $p229);
$sb->execute();
$l22f = getRelatedTaskIDFromWorkFlowStep($p229);
updateTaskFromWorkflowStep($l22f, $r22d, $p22e, $d22c);
}
if (isset($_GET[base64_decode('YWRkV29ya0Zsb3dTdGVw')])) {
$p229 = $_GET[base64_decode('bW9kYWxzdGVwaWQ=')];
$s22a = $_GET[base64_decode('bW9kYWxzdGVwbmFtZQ==')];
$p22b = $_GET[base64_decode('bW9kYWxkZXNjcmlwdGlvbg==')];
$d22c = $_GET[base64_decode('bW9kYWxzdGF0dXM=')];
$r22d = $_GET[base64_decode('bW9kYWxyZXNwb25zaWJsZQ==')];
$p22e = convertFromDanishTimeFormat($_GET[base64_decode('bW9kYWxkZWFkbGluZQ==')]);
$cc2 = $_GET[base64_decode('ZWxlbWVudGlk')];
$w230 = $_GET[base64_decode('ZWxlbWVudHR5cGU=')];
$t231 = getElementSubject($cc2, $w230);
$yb4 = getElementRedirectPage($w230) . $cc2;
$h2 = getElementCompanyID($cc2, $w230);
$o232 = getFullNameFromID(getElementCustomerID($cc2, $w230));
$z233 = getElementCreatedDate($cc2, $w230);
$j7e = getElementDeadlineDate($cc2, $w230);
$v234 = getElementShortName($w230);
$q235 = getElementSubject($cc2, $w230);
$j236 = getRelatedWorkFlowIDFromWorkFlowStep($p229);
$l237 = getNextStepOrder($j236);
$oa = base64_decode('SU5TRVJUIElOVE8gd29ya2Zsb3dzdGVwcyAoUmVsYXRlZFdvcmtGbG93SUQsIFN0ZXBPcmRlciwgU3RlcE5hbWUsIERlc2NyaXB0aW9uLCBSZWxhdGVkU3RhdHVzSUQsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoPyw/LD8sPywnMScsPyk7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $j236, $l237, $s22a, $p22b, $r22d);
$sb->execute();
$l238 = getNewlyCreatedStepID($j236, $r22d);
addworkflowtotaskslist($cc2, $w230, $r22d, $s22a, $yb4, $h2, $o232, $z233, $j7e, base64_decode('d2Z0'), $l237, $q235);
$p239 = getNewlyCreatedTaskID($r22d);
updateWorkFlowStepWithTaskID($l238, $p239);
$l22f = getRelatedTaskIDFromWorkFlowStep($p229);
updateTaskFromWorkflowStep($l22f, $r22d, $p22e, $d22c);
}
if (isset($_GET[base64_decode('ZGVsZXRlV29ya0Zsb3dTdGVw')])) {
$p229 = $_GET[base64_decode('bW9kYWxzdGVwaWQ=')];
$l22f = getRelatedTaskIDFromWorkFlowStep($p229);
deleteWorkFlowStepID($p229);
deleteTask($l22f);
}
if (isset($_GET[base64_decode('ZGVsZXRpbWFwZW1haWw=')])) {
$y23a = $_GET[base64_decode('dWlk')];
removeIMAPEmail($y23a);
}
if (isset($_GET[base64_decode('Z2V0SW1hcEZvbGRlcnM=')])) {
$c23b = '';
$l23c = '';
$e23d = '';
$oa = base64_decode('U0VMRUNUIElELCBTZXR0aW5nVmFsdWUNCiAgICAgICAgICBGUk9NIHNldHRpbmdzDQogICAgICAgICAgV0hFUkUgSUQgSU4gKDM4LDM5LDQwKQ==');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
if ($l14[base64_decode('SUQ=')] == base64_decode('Mzg=')) {
$c23b = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
if ($l14[base64_decode('SUQ=')] == base64_decode('Mzk=')) {
$l23c = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
if ($l14[base64_decode('SUQ=')] == base64_decode('NDA=')) {
$e23d = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
}
$y23a = $_GET[base64_decode('dWlk')];
$f23e = imap_open("$c23b", "$l23c", "$e23d");
$k23f = imap_list($f23e, base64_decode('e2ltYXAub25lLmNvbTo5OTMvaW1hcC9zc2wvbm92YWxpZGF0ZS1jZXJ0fQ=='), base64_decode('Kg=='));
if (is_array($k23f)) {
foreach ($k23f as $j240) {
$t241 = imap_utf7_decode($j240) . base64_decode('Cg==');
}
} else {
echo base64_decode('aW1hcF9saXN0IGZhaWxlZDog') . imap_last_error() . base64_decode('Cg==');
}
imap_close($f23e);
}
if (isset($_GET[base64_decode('Y3JlYXRldGlja2V0ZnJvbWltYXA=')])) {
getMailsAndCreateTickets();
}
if (isset($_GET[base64_decode('Y3JlYXRldGlja2V0ZnJvbWltYXBfb2xk')])) {
$y23a = $_GET[base64_decode('VUlE')];
include_once(base64_decode('Li92ZW5kb3IvYXV0b2xvYWQucGhw'));
include_once(base64_decode('Li9jbGFzc2VzL2ltYXAvY2xhc3MuaW1hcC5waHA='));
$f242 = '';
$c23b = '';
$l23c = '';
$e23d = '';
$m118 = '';
$oa = base64_decode('U0VMRUNUIElELCBTZXR0aW5nVmFsdWUNCiAgICAgICAgICBGUk9NIHNldHRpbmdzDQogICAgICAgICAgV0hFUkUgSUQgSU4gKDM4LDM5LDQwKQ==');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
if ($l14[base64_decode('SUQ=')] == base64_decode('Mzg=')) {
$c23b = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
if ($l14[base64_decode('SUQ=')] == base64_decode('Mzk=')) {
$l23c = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
if ($l14[base64_decode('SUQ=')] == base64_decode('NDA=')) {
$e23d = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
}
$z215 = new Imap();
$m243 = null;
if ($z215->connect("$c23b", "$l23c", "$e23d")) {
$m243 = $z215->getMessages(base64_decode('aHRtbA=='));
}
foreach ($m243[base64_decode('ZGF0YQ==')] as $m244) {
if ($y23a == $m244[base64_decode('dWlk')]) {
$f242 = base64_decode('MQ==');
$j245 = $m244[base64_decode('ZnJvbQ==')][base64_decode('YWRkcmVzcw==')];
$eca = $m244[base64_decode('c3ViamVjdA==')];
$j66 = $m244[base64_decode('ZnJvbQ==')][base64_decode('bmFtZQ==')];
$m118 = $m244[base64_decode('bWVzc2FnZQ==')];
$k246 = $m244[base64_decode('ZGF0ZQ==')];
$h2 = '';
$r170 = '';
$c247 = base64_decode('Mg==');
$n248 = '';
$h249 = $h249 = SaltAndHashPasswordForCompare(base64_decode('eFVHMTJHdDY0'));
$kd0 = date(base64_decode('WS1tLWQgSDppOnM='));
$c24a = rand(0, 9) . rand(0, 9) . rand(0, 9) . rand(0, 9);
$q54 = base64_decode('MQ==');
$a1df = base64_decode('MQ==');
$v24b = base64_decode('Mw==');
$v24c = new HTMLPurifier();
$m118 = $v24c->purify($m118);
if ($f242 == base64_decode('MQ==')) {
$z24d = strip_tags($m118);
$d24e = checkIfUserExists($j245);
$h2 = checkEmailForValidSubdomain($j245);
if (!empty($d24e)) {
createNewTicketFromEmail($eca, $q54, $a1df, $v24b, $m118, $z24d, $h2, $d24e);
removeIMAPEmail($y23a);
} else {
$h2 = checkEmailForValidSubdomain($j245);
if (empty($h2)) {
exit;
} else {
$c24f = explode(base64_decode('IA=='), $j66);
if (count($c24f) === 2) {
list($q216, $s217) = $c24f;
} else if (count($c24f) === 3) {
list($q216, $h250, $s217) = $c24f;
if (!empty($h250)) {
$s217 = $h250 . base64_decode('IA==') . $s217;
}
}
$d24e = createNewUser($q216, $s217, $j245, $j245, $h249, $h2, $r170, $c247, $n248, $kd0, $c24a);
createNewTicketFromEmail($eca, $q54, $a1df, $v24b, $m118, $z24d, $h2, $d24e);
removeIMAPEmail($y23a);
}
}
}
}
}
}
if (isset($_GET[base64_decode('Z2V0TWFpbHNBbmRDcmVhdGVUaWNrZXRz')])) {
include_once(base64_decode('Li92ZW5kb3IvYXV0b2xvYWQucGhw'));
include_once(base64_decode('Li9jbGFzc2VzL2ltYXAvY2xhc3MuaW1hcC5waHA='));
$f242 = '';
$c23b = '';
$l23c = '';
$e23d = '';
$m118 = '';
$oa = base64_decode('U0VMRUNUIElELCBTZXR0aW5nVmFsdWUNCiAgICAgICAgICBGUk9NIHNldHRpbmdzDQogICAgICAgICAgV0hFUkUgSUQgSU4gKDM4LDM5LDQwKQ==');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
if ($l14[base64_decode('SUQ=')] == base64_decode('Mzg=')) {
$c23b = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
if ($l14[base64_decode('SUQ=')] == base64_decode('Mzk=')) {
$l23c = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
if ($l14[base64_decode('SUQ=')] == base64_decode('NDA=')) {
$e23d = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
}
$z215 = new Imap();
$m243 = null;
if ($z215->connect("$c23b", "$l23c", "$e23d")) {
$m243 = $z215->getMessages(base64_decode('aHRtbA=='));
}
foreach ($m243[base64_decode('ZGF0YQ==')] as $m244) {
$y23a == $m244[base64_decode('dWlk')];
if (!empty($y23a)) {
$f242 = base64_decode('MQ==');
$j245 = $m244[base64_decode('ZnJvbQ==')][base64_decode('YWRkcmVzcw==')];
$eca = $m244[base64_decode('c3ViamVjdA==')];
$j66 = $m244[base64_decode('ZnJvbQ==')][base64_decode('bmFtZQ==')];
$m118 = $m244[base64_decode('bWVzc2FnZQ==')];
$k246 = $m244[base64_decode('ZGF0ZQ==')];
$h2 = '';
$r170 = '';
$c247 = base64_decode('Mg==');
$n248 = '';
$h249 = $h249 = SaltAndHashPasswordForCompare(base64_decode('eFVHMTJHdDY0'));
$kd0 = date(base64_decode('WS1tLWQgSDppOnM='));
$c24a = rand(0, 9) . rand(0, 9) . rand(0, 9) . rand(0, 9);
$q54 = base64_decode('MQ==');
$a1df = base64_decode('MQ==');
$v24b = base64_decode('Mw==');
$v24c = new HTMLPurifier();
$m118 = $v24c->purify($m118);
if ($f242 == base64_decode('MQ==')) {
$z24d = strip_tags($m118);
$d24e = checkIfUserExists($j245);
$h2 = checkEmailForValidSubdomain($j245);
if (!empty($d24e)) {
createNewTicketFromEmail($eca, $q54, $a1df, $v24b, $m118, $z24d, $h2, $d24e);
removeIMAPEmail($y23a);
} else {
$h2 = checkEmailForValidSubdomain($j245);
if (empty($h2)) {
exit;
} else {
$c24f = explode(base64_decode('IA=='), $j66);
if (count($c24f) === 2) {
list($q216, $s217) = $c24f;
} else if (count($c24f) === 3) {
list($q216, $h250, $s217) = $c24f;
if (!empty($h250)) {
$s217 = $h250 . base64_decode('IA==') . $s217;
}
}
$d24e = createNewUser($q216, $s217, $j245, $j245, $h249, $h2, $r170, $c247, $n248, $kd0, $c24a);
createNewTicketFromEmail($eca, $q54, $a1df, $v24b, $m118, $z24d, $h2, $d24e);
removeIMAPEmail($y23a);
}
}
}
}
}
}
if (isset($_GET[base64_decode('cG9wTW9kYWxEZW1vQm9va2luZw==')])) {
$a251 = $_GET[base64_decode('cG9wTW9kYWxEZW1vQm9va2luZw==')];
$oa = base64_decode('U0VMRUNUIElEIEFTIEJvb2tpbmdJRCwgSW5zdGFuY2VOYW1lLCBJbnN0YW5jZVBhdGgsIEluc3RhbmNlVVJMLCBDdXN0b21lck5hbWUsIEN1c3RvbWVyRW1haWwsIERlc2NyaXB0aW9uLCBEYXRlU3RhcnQsIERhdGVFbmQsIFN0YXR1cyANCiAgICAgICAgICBGUk9NIGJwYWdlLmRlbW9fYm9va2luZ2VyX2luc3RhbmNlcw0KICAgICAgICAgIFdIRVJFIGRlbW9fYm9va2luZ2VyX2luc3RhbmNlcy5JRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $a251);
$sb->execute();
while ($l14 = mysqli_fetch_array($d13)) {
$g252 = $l14[base64_decode('RGF0ZVN0YXJ0')];
if (!empty($g252)) {
$g252 = convertToDanishDateTimeFormat($g252);
} else {
$g252 = date(base64_decode('ZC1tLVkgaDpp'));
}
$y253 = $l14[base64_decode('RGF0ZUVuZA==')];
if (!empty($y253)) {
$y253 = convertToDanishDateTimeFormat($y253);
} else {
$y253 = date(base64_decode('ZC1tLVkgaDpp'), strtotime(base64_decode('KzMwIGRheXM=')));
}
$dd6[] = array(base64_decode('Qm9va2luZ0lE') => $l14[base64_decode('Qm9va2luZ0lE')], base64_decode('SW5zdGFuY2VOYW1l') => $l14[base64_decode('SW5zdGFuY2VOYW1l')], base64_decode('Q3VzdG9tZXJOYW1l') => $l14[base64_decode('Q3VzdG9tZXJOYW1l')], base64_decode('Q3VzdG9tZXJFbWFpbA==') => $l14[base64_decode('Q3VzdG9tZXJFbWFpbA==')], base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('RGVzY3JpcHRpb24=')], base64_decode('RGF0ZVN0YXJ0') => $g252, base64_decode('RGF0ZUVuZA==') => $y253);
}
mysqli_free_result($d13);
echo json_encode($dd6, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('c3VibWl0RGVsZXRlRGVtb0Jvb2tpbmc=')])) {
$a251 = $_GET[base64_decode('c3VibWl0RGVsZXRlRGVtb0Jvb2tpbmc=')];
$oa = base64_decode('VVBEQVRFIGJwYWdlLmRlbW9fYm9va2luZ2VyX2luc3RhbmNlcyBTRVQgQ3VzdG9tZXJOYW1lID0gbnVsbCwgQ3VzdG9tZXJFbWFpbCA9IG51bGwsIERlc2NyaXB0aW9uID0gbnVsbCwgRGF0ZVN0YXJ0ID0gbnVsbCwgRGF0ZUVuZCA9IG51bGwsIFN0YXR1cyA9ICcyJw0KICAgICAgICAgIFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $a251);
$sb->execute();
}
if (isset($_GET[base64_decode('c3VibWl0Q3JlYXRlRGVtb0Jvb2tpbmc=')])) {
$a251 = $_GET[base64_decode('RGVtb0Jvb2tpbmdJRA==')];
$o232 = $_GET[base64_decode('Q3VzdG9tZXJOYW1l')];
$g254 = $_GET[base64_decode('Q3VzdG9tZXJFbWFpbA==')];
$f1e = $_GET[base64_decode('RGVzY3JpcHRpb24=')];
$g252 = convertFromDanishTimeFormat($_GET[base64_decode('U3RhcnQ=')]);
$y253 = convertFromDanishTimeFormat($_GET[base64_decode('RW5k')]);
$oa = "UPDATE bpage.demo_bookinger_instances SET CustomerName = '$o232', CustomerEmail = '$g254', Description = '$f1e', DateStart = '$g252', DateEnd = '$y253', Status = '3'
WHERE ID = ?;";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $a251);
$sb->execute();
}
if (isset($_GET[base64_decode('c3VibWl0VXBkYXRlRGVtb0Jvb2tpbmc=')])) {
$a251 = $_GET[base64_decode('RGVtb0Jvb2tpbmdJRA==')];
$o232 = $_GET[base64_decode('Q3VzdG9tZXJOYW1l')];
$g254 = $_GET[base64_decode('Q3VzdG9tZXJFbWFpbA==')];
$f1e = $_GET[base64_decode('RGVzY3JpcHRpb24=')];
$g252 = convertFromDanishTimeFormat($_GET[base64_decode('U3RhcnQ=')]);
$y253 = convertFromDanishTimeFormat($_GET[base64_decode('RW5k')]);
$oa = "UPDATE bpage.demo_bookinger_instances SET CustomerName = '$o232', CustomerEmail = '$g254', Description = '$f1e', DateStart = '$g252', DateEnd = '$y253', Status = '1'
WHERE ID = ?;";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $a251);
$sb->execute();
}
if (isset($_GET[base64_decode('b3JkZXJOZXdTaXRlSW5zdGFsbA==')])) {
$u255 = strtolower($_GET[base64_decode('U2l0ZU5hbWU=')]);
$u255 = str_replace(base64_decode('IA=='), '', $u255);
$u255 = preg_replace(base64_decode('L1teQS1aYS16MC05XC1dLw=='), '', $u255);
$a256 = doesORSiteExist($u255);
$y257 = doesSiteInstallExist($u255);
if (empty($y257) && empty($a256)) {
$oa = base64_decode('SU5TRVJUIElOVE8gYnBhZ2Uuc2l0ZV9pbnN0YWxsYXRpb24gKFNpdGVOYW1lLCBTdGF0dXMpIFZBTFVFUyAoPywnMScp');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $u255);
$sb->execute();
} else {
echo base64_decode('PHNjcmlwdD5hbGVydCgnU2l0ZSBla3Npc3RlcmVyIGFsbGVyZWRlIScpOzwvc2NyaXB0Pg==');
}
}
if (isset($_GET[base64_decode('b3JkZXJTaXRlVG9CZURlbGV0ZWQ=')])) {
$u255 = $_GET[base64_decode('U2l0ZU5hbWU=')];
$a256 = doesSiteInstallExist($u255);
if (empty($a256)) {
$oa = base64_decode('SU5TRVJUIElOVE8gYnBhZ2Uuc2l0ZV9pbnN0YWxsYXRpb24gKFNpdGVOYW1lLCBTdGF0dXMpIFZBTFVFUyAoPywnMicp');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $u255);
$sb->execute();
}
}
if (isset($_GET[base64_decode('YXBwcm92ZVNpdGVEcm9w')])) {
$r46 = $_GET[base64_decode('SUQ=')];
$oa = base64_decode('VVBEQVRFIGJwYWdlLnNpdGVfaW5zdGFsbGF0aW9uIFNFVCBTdGF0dXMgPSAzIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $r46);
$sb->execute();
}
if (isset($_GET[base64_decode('ZGVueVNpdGVEcm9w')])) {
$r46 = $_GET[base64_decode('SUQ=')];
$oa = base64_decode('REVMRVRFIEZST00gYnBhZ2Uuc2l0ZV9pbnN0YWxsYXRpb24gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $r46);
$sb->execute();
}
if (isset($_GET[base64_decode('YXJjaGl2ZVByb2plY3Q=')])) {
$mcb = $_GET[base64_decode('YXJjaGl2ZVByb2plY3Q=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBzdGF0dXMgPSAnOCcgV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
}
if (isset($_GET[base64_decode('ZGVsZXRlUHJvamVjdA==')])) {
$mcb = $_GET[base64_decode('ZGVsZXRlUHJvamVjdA==')];
$w19e = array();
regenerateUUIDOnProject($mcb);
$i18c = getRelatedProjectTaskFromProject($mcb);
foreach ($i18c as $x258) {
$l259 = array();
$l259 = getRelatedTaskToProjectTask(base64_decode('MTM='), $x258);
foreach ($l259 as $m19f) {
array_push($w19e, $m19f);
}
}
foreach ($w19e as $m19f) {
deleteRelatedTimeRegEntry($m19f);
deleteRelatedTasks($m19f);
}
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdHMgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
deleteRelatedTasksToProject(base64_decode('Ng=='), $mcb);
}
if (isset($_GET[base64_decode('cmVzdG9yZVByb2plY3RCYXNlbGluZQ==')])) {
$mcb = $_GET[base64_decode('cmVzdG9yZVByb2plY3RCYXNlbGluZQ==')];
$i25a = $_GET[base64_decode('VVVJRA==')];
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdHMgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
$oa = base64_decode('SU5TRVJUIElOVE8gcHJvamVjdHMgU0VMRUNUICogRlJPTSBwcm9qZWN0c19iYXNlbGluZXMgV0hFUkUgVVVJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $i25a);
$sb->execute();
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdF90YXNrcyBXSEVSRSBSZWxhdGVkUHJvamVjdCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
$oa = base64_decode('SU5TRVJUIElOVE8gcHJvamVjdF90YXNrcyBTRUxFQ1QgKiBGUk9NIHByb2plY3RfdGFza3NfYmFzZWxpbmVzIFdIRVJFIFVVSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $i25a);
$sb->execute();
}
if (isset($_GET[base64_decode('Y3JlYXRlUHJvamV0QmFzZWxpbmU=')])) {
$mcb = $_GET[base64_decode('Y3JlYXRlUHJvamV0QmFzZWxpbmU=')];
regenerateUUIDOnProject($mcb);
createProjectBaseline($mcb);
}
if (isset($_GET[base64_decode('Z2V0S2FuQmFuVGFza3M=')])) {
$q4 = $_GET[base64_decode('dXNlcmlk')];
$p25b = $_GET[base64_decode('dGFza3N0YXR1cw==')];
$j4f = $_GET[base64_decode('dGFibGVuYW1l')];
$l25c = $p25b + 1;
$oa = base64_decode('U0VMRUNUIHRhc2tzbGlzdC5JRCBBUyBUYXNrSUQsIHRhc2tzbGlzdC5Nb2R1bGVOYW1lLCBIZWFkbGluZSwgRGF0ZUFkZGVkLCBSZXNwb25zaWJsZSwgRGVhZGxpbmUsIENPTkNBVCh1c2Vycy5GaXJzdE5hbWUsJyAnLCB1c2Vycy5MYXN0TmFtZSkgQVMgVXNlcnNOYW1lLCANCiAgICAgICAgICBSZWxhdGVkRWxlbWVudElELCBSZWxhdGVkRWxlbWVudFR5cGVJRCwgR29Ub0xpbmssIFN0YXR1cywgd2Z0aWQsIG1vZHVsZXMuU2hvcnRFbGVtZW50TmFtZQ0KICAgICAgICAgIEZST00gdGFza3NsaXN0IA0KICAgICAgICAgIElOTkVSIEpPSU4gdXNlcnMgT04gdGFza3NsaXN0LlJlbGF0ZWRVc2VySUQgPSB1c2Vycy5pZA0KICAgICAgICAgIElOTkVSIEpPSU4gbW9kdWxlcyBPTiB0YXNrc2xpc3QuUmVsYXRlZEVsZW1lbnRUeXBlSUQgPSBtb2R1bGVzLklEDQogICAgICAgICAgV0hFUkUgdGFza3NsaXN0LlJlbGF0ZWRVc2VySUQgPSA/IEFORCB0YXNrc2xpc3QuU3RhdHVzID0gPw0KICAgICAgICAgIE9SREVSIEJZIERlYWRsaW5lIEFTQzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aWk='), $q4, $p25b);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$j9f = $l14[base64_decode('UmVsYXRlZEVsZW1lbnRUeXBlSUQ=')];
$b25d = getModuleIcon($j9f);
$l8 = $l14[base64_decode('VGFza0lE')];
$f25e = $l14[base64_decode('UmVsYXRlZEVsZW1lbnRJRA==')];
$z25f = convertToDanishTimeFormat($l14[base64_decode('RGF0ZUFkZGVk')]);
$f260 = $l14[base64_decode('TW9kdWxlTmFtZQ==')];
$n261 = $l14[base64_decode('R29Ub0xpbms=')];
$a1df = $l14[base64_decode('U3RhdHVz')];
$j262 = convertToDanishTimeFormat($l14[base64_decode('RGVhZGxpbmU=')]);
$z190 = $l14[base64_decode('UmVzcG9uc2libGU=')];
$g263 = $l14[base64_decode('d2Z0aWQ=')];
$d6a = $l14[base64_decode('SGVhZGxpbmU=')];
$b264 = getUserFullName($z190);
$y265 = getUserName($z190);
$o266 = getSubjectColumnFromModuleID($j9f);
$o266 = base64_decode('U3ViamVjdA==');
$k267 = getMainTableNameFromModuleID($j9f);
$k267 = getITSMTableName($j9f);
$i268 = getITSMModuleType($j9f);
$t269 = '';
if (!empty($g263)) {
$z26a = $d6a;
$i26b = getSubjectFromModuleElementID($f25e, $o266, $k267);
$z26c = getSubjectFromModuleElementID($f25e, $o266, $k267);
$h26d = "<a href=\"javascript:editWorkFlowTask($g263);\" class=\"text-sm text-secondary mb-0 text-wrap\" title=\"$i26b\">" . _("$f260") . " $f25e</a>";
$r26e = "<a href=\"javascript:editWorkFlowTask($g263);\" id=\"$l8\" class=\"badge badge-pill bg-gradient-success\" title=\"" . translate(base64_decode('RWRpdA==')) . base64_decode('Ij48aSBjbGFzcz0iZmEgZmEtcGVuLXRvLXNxdWFyZSI+PC9pPjwvYT4=');
$t269 = base64_decode('PHAgY2xhc3M9InRleHQtc20gdGV4dC1zZWNvbmRhcnkgbWItMCI+PGI+') . translate(base64_decode('UGFyZW50IFRhc2s=')) . ": <a href=\"$n261\">$z26c</a></p>";
} else {
$r26e = "<a href=\"$n261\" id=\"$l8\" class=\"badge badge-pill bg-gradient-success\" title=\"" . translate(base64_decode('RWRpdA==')) . base64_decode('Ij48aSBjbGFzcz0iZmEgZmEtcGVuLXRvLXNxdWFyZSI+PC9pPjwvYT4=');
if ($j9f == base64_decode('Ng==')) {
$z26a = getProjectName($f25e);
$i26b = $z26a;
} else if ($j9f == base64_decode('MTM=')) {
$z26a = getProjectTaskName($f25e);
$i26b = $z26a;
} else {
$o266 = getSubjectColumnFromModuleID($j9f);
$k267 = getMainTableNameFromModuleID($j9f);
$z26a = getSubjectFromModuleElementID($f25e, $o266, $k267);
$i26b = $z26a;
}
$z26c = $i26b;
$h26d = "<a href=\"$n261\" class=\"text-sm text-secondary mb-0 text-wrap\" title=\"$i26b\">" . _("$f260") . " $f25e</a>";
}
if (empty($z26a)) {
$z26a = base64_decode('RWxlbWVudCBpcyByZW1vdmVkIC0gZGVsZXRpbmcgdGFzaw==');
updateKanBanTaskStatus($l8, base64_decode('NA=='));
continue;
}
if (strtotime($l14[base64_decode('RGVhZGxpbmU=')]) < strtotime(base64_decode('LTcgZGF5cw==')) && $a1df == base64_decode('Mw==')) {
updateKanBanTaskStatus($l8, base64_decode('NA=='));
continue;
}
$v26f = strtotime($j262);
$p270 = time();
$f271 = $v26f - $p270;
$a272 = floor($f271 / 3600);
$x273 = floor(($f271 % 3600) / 60);
$f274 = ($a272 < 0) ? base64_decode('LQ==') . abs($a272) : $a272;
$v275 = ($x273 < 0) ? base64_decode('LQ==') . abs($x273) : $x273;
$q276 = '';
if ($a272 !== 0) {
$q276 .= $f274 . base64_decode('IGhvdXI=') . (($f274 != 1) ? base64_decode('cw==') : '') . base64_decode('IA==');
}
if ($x273 !== 0) {
$q276 .= $v275 . base64_decode('IG1pbnV0ZQ==') . (($v275 != 1) ? base64_decode('cw==') : '');
}
$d277 = [];
if ($i268 != base64_decode('MQ==')) {
$d277[] = "$j9f";
}
$d277[] = base64_decode('Ng==');
$d277[] = base64_decode('MTM=');
if (in_array($j9f, $d277)) {
if ($j9f == base64_decode('Ng==')) {
$k278 = convertToDanishDateTimeFormat(getProjectDeadlineDate($f25e));
} else if ($j9f == base64_decode('MTM=')) {
$k278 = convertToDanishDateTimeFormat(getProjectTaskDeadlineDate($f25e));
} else {
$k278 = $j262;
}
} else {
if ($i279 == base64_decode('MQ==')) {
$k278 = convertToDanishDateTimeFormat(getDeadlineForSLAElementID($f25e, $j9f));
} else {
$k278 = $j262;
}
}
$h27a = getUserProfilePicture($z190);
$z187 = getUserEmailFromID($z190);
$z27b = "<a href=\"javascript:void(0);\" id=\"1\" name=\"$l8\" class=\"badge badge-pill bg-gradient-secondary float-end\" title=\"" . translate(base64_decode('VG9kbw==')) . "\" onclick=\"updateTaskStatus(this.name, this.id,'$j4f')\"><i class=\"fa fa-circle-left\"></i></a>";
$f27c = "<a href=\"javascript:void(0);\" id=\"2\" name=\"$l8\" class=\"badge badge-pill bg-gradient-secondary float-end\" title=\"" . translate(base64_decode('RG9pbmc=')) . "\" onclick=\"updateTaskStatus(this.name, this.id,'$j4f')\"><i class=\"fa fa-circle-up\"></i></a>";
$d27d = "<a href=\"javascript:void(0);\" id=\"3\" name=\"$l8\" class=\"badge badge-pill bg-gradient-secondary float-end\" title=\"" . translate(base64_decode('RG9uZQ==')) . "\" onclick=\"updateTaskStatus(this.name, this.id,'$j4f')\"><i class=\"fa fa-circle-right\"></i></a>";
$g27e = "<a href=\"javascript:void(0);\" id=\"4\" name=\"$l8\" class=\"badge badge-pill bg-gradient-secondary float-end\" title=\"" . translate(base64_decode('Q2xvc2U=')) . "\" onclick=\"updateTaskStatus(this.name, this.id,'$j4f')\"><i class=\"fa fa-trash\"></i></a>";
if ($p25b == base64_decode('Mw==')) {
$v27f = $g27e;
} else {
$v27f = '';
}
$f280 = '';
if (strtotime($k278) < time()) {
$f280 = base64_decode('PGkgY2xhc3M9ImZhLXNvbGlkIGZhLWNpcmNsZSBkb3QtaWNvbiBkb3QtaWNvbi1yZWQiIHRpdGxlPSI=') . _(base64_decode('RGVhZGxpbmUgaGFzIHBhc3NlZA==')) . base64_decode('Ij48L2k+');
} elseif (strtotime($k278) - time() <= 5 * 3600) {
$f280 = base64_decode('PGkgY2xhc3M9ImZhLXNvbGlkIGZhLWNpcmNsZSBkb3QtaWNvbiBkb3QtaWNvbi1vcmFuZ2UiIHRpdGxlPSI=') . _(base64_decode('RGVhZGxpbmUgaXMgd2l0aGluIDUgaG91cnMh')) . base64_decode('Ij48L2k+');
}
$g281 = translate(base64_decode('WW91IGNhbiBkcmFnIHRhc2tzIHRvIGJvYXJkIGhlYWRlciB0byBjaGFuZ2UgaXRzIHN0YXRl'));
$o282 = "<div class=\"card card-body-dropdown text-wrap\" title=\"$g281\" id=\"$l8\" draggable=\"true\" ondragstart=\"drag(event)\">
<a class=\"collapsed\" data-bs-toggle=\"collapse\" href=\"#collapse$l8\" aria-expanded=\"false\" aria-controls=\"collapse$l8\" id=\"$l8\" draggable=\"true\" ondragstart=\"drag(event)\">
<div class=\"d-flex justify-content-between align-items-center\">
<p class=\"text-sm text-secondary mb-0 text-wrap\">$f280 <i class=\"$b25d\"></i> $f260: $z26a</p>
<div class=\"text-right\">
$v27f
</div>
</div>
</a>
<div id=\"collapse$l8\" class=\"accordion-collapse collapse\" role=\"tabpanel\" aria-labelledby=\"heading$l8\" data-parent=\"#accordionTabToDo\">
<br>
<p class=\"text-sm text-secondary mb-0\"><b>" . translate(base64_decode('VGFzaw==')) . ": $h26d</p>
$t269
<p class=\"text-sm text-secondary mb-0\"><b>" . translate(base64_decode('UmVzcG9uc2libGU=')) . ":</b> <a href=\"javascript:runModalViewUnit('User',$z190);\">$b264 ($y265)</a></p>
<p class=\"text-sm text-secondary mb-0\"><b>" . translate(base64_decode('RGVhZGxpbmU=')) . ":</b> $k278</p>
<p class=\"text-sm text-secondary mb-0\"><b>" . translate(base64_decode('UmVtYWluaW5n')) . ":</b> $q276</p>
<p class=\"text-sm text-secondary mb-0\"><b>" . translate(base64_decode('VGFzayBjcmVhdGVk')) . ":</b> $z25f</p>
<br>
<div class=\"row\">
<div class=\"col-md-12 col-sm-12 col-xs-12\">
$r26e
<a href=\"javascript:void(0);\" class=\"badge badge-pill bg-gradient-info\" title=\"" . translate(base64_decode('VGltZXJlZ2lzdHJhdGlvbg==')) . "\" onclick=\"javascript:runModalCreateTimeRegistration($l8);\"><i class=\"fa fa-clock\"></i></a>
$e283
$g27e
$d27d
$f27c
$z27b
</div>
</div>
</div>
</div>";
$s119[] = array(base64_decode('VGFza0lE') => $l8, base64_decode('VGFza0NvbnRlbnQ=') => $o282);
}
mysqli_free_result($d13);
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('c2VuZFBhc3N3b3JkQ2hhbmdlUmVxdWVzdA==')])) {
$z187 = $_GET[base64_decode('ZW1haWxhZGRyZXNz')];
$baa = getUserIDFromEmail($z187);
changePasswordSubmit($baa);
}
if (isset($_GET[base64_decode('dXBkYXRlS2FuYmFuVGFzaw==')])) {
$v284 = $_GET[base64_decode('dGFza2lk')];
$z285 = $_GET[base64_decode('c3RhdHVz')];
updateKanBanTaskStatus($v284, $z285);
}
if (isset($_GET[base64_decode('Z2V0V29ya2Zsb3dJbmZvcm1hdGlvbg==')])) {
$k286 = $_GET[base64_decode('d29ya2Zsb3dzdGVwaWQ=')];
$oa = base64_decode('U0VMRUNUIHdvcmtmbG93c3RlcHMuSUQsIHdvcmtmbG93c3RlcHMuUmVsYXRlZFdvcmtGbG93SUQsIHdvcmtmbG93c3RlcHMuU3RlcE9yZGVyLCB3b3JrZmxvd3N0ZXBzLlN0ZXBOYW1lLCB3b3JrZmxvd3N0ZXBzLkRlc2NyaXB0aW9uLCB3b3JrZmxvd3N0ZXBzLlJlbGF0ZWRTdGF0dXNJRCwgd29ya2Zsb3dzdGVwcy5SZWxhdGVkVXNlcklELCB3b3JrZmxvd3N0ZXBzLlJlbGF0ZWRUYXNrSUQsIHRhc2tzbGlzdC5EZWFkbGluZQ0KICAgICAgICAgIEZST00gd29ya2Zsb3dzdGVwcw0KICAgICAgICAgIElOTkVSIEpPSU4gdGFza3NsaXN0IE9OIHdvcmtmbG93c3RlcHMuUmVsYXRlZFRhc2tJRCA9IHRhc2tzbGlzdC5JRA0KICAgICAgICAgIFdIRVJFIHdvcmtmbG93c3RlcHMuSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k286);
$sb->execute();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$t287 = $l14[base64_decode('UmVsYXRlZFdvcmtGbG93SUQ=')];
$l237 = $l14[base64_decode('U3RlcE9yZGVy')];
$o77 = $l14[base64_decode('U3RlcE5hbWU=')];
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$b12a = $l14[base64_decode('UmVsYXRlZFN0YXR1c0lE')];
$p7a = $l14[base64_decode('UmVsYXRlZFVzZXJJRA==')];
$l22f = $l14[base64_decode('UmVsYXRlZFRhc2tJRA==')];
$j7e = $l14[base64_decode('RGVhZGxpbmU=')];
$j7e = convertToDanishTimeFormat($j7e);
$v288[] = array(base64_decode('SUQ=') => $r46, base64_decode('UmVsYXRlZFdvcmtGbG93SUQ=') => $t287, base64_decode('U3RlcE9yZGVy') => $l237, base64_decode('U3RlcE5hbWU=') => $o77, base64_decode('RGVzY3JpcHRpb24=') => $f1e, base64_decode('UmVsYXRlZFN0YXR1c0lE') => $b12a, base64_decode('UmVsYXRlZFVzZXJJRA==') => $p7a, base64_decode('UmVsYXRlZFRhc2tJRA==') => $l22f, base64_decode('RGVhZGxpbmU=') => $j7e);
}
mysqli_free_result($d13);
echo json_encode($v288, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0QXJjaGl2ZWREb2N1bWVudA==')])) {
$o289 = $_GET[base64_decode('QXJjaGl2ZURvY0lE')];
$oa = base64_decode('U0VMRUNUIGl0c21fa25vd2xlZGdlX2FyY2hpdmUuQ29udGVudCwgaXRzbV9rbm93bGVkZ2VfYXJjaGl2ZS5Eb2N1bWVudFZlcnNpb24saXRzbV9rbm93bGVkZ2VfYXJjaGl2ZS5EYXRlLENPTkNBVCh1c2Vycy5GaXJzdG5hbWUsJyAnLHVzZXJzLkxhc3RuYW1lLCcgKCcsdXNlcnMuVXNlcm5hbWUsJyknKSBBUyBGdWxsTmFtZQ0KICAgICAgICAgIEZST00gaXRzbV9rbm93bGVkZ2VfYXJjaGl2ZQ0KICAgICAgICAgIExFRlQgSk9JTiB1c2VycyBPTiBpdHNtX2tub3dsZWRnZV9hcmNoaXZlLlJlbGF0ZWRVc2VyID0gdXNlcnMuSUQNCiAgICAgICAgICBXSEVSRSBpdHNtX2tub3dsZWRnZV9hcmNoaXZlLklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aQ=='), $o289);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$b6b = $l14[base64_decode('Q29udGVudA==')];
$d9b = $l14[base64_decode('RG9jdW1lbnRWZXJzaW9u')];
$ac4 = $l14[base64_decode('RnVsbE5hbWU=')];
$g9c = $l14[base64_decode('RGF0ZQ==')];
$g9c = convertToDanishDateTimeFormat($g9c);
$r28a[] = array(base64_decode('Q29udGVudA==') => $b6b, base64_decode('RG9jdW1lbnRWZXJzaW9u') => $d9b, base64_decode('RnVsbE5hbWU=') => $ac4, base64_decode('RGF0ZQ==') => $g9c);
}
mysqli_free_result($d13);
echo json_encode($r28a, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('dGVzdENyZWF0ZU5ld1RpY2tldA==')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$j9f = base64_decode('MQ==');
$cc2 = base64_decode('MQ==');
$j28b = $_POST[base64_decode('UHJvYmxlbVRleHQ=')];
$n28c = sanitizeTextAndBase64($j28b, $cc2, $j9f);
}
if (isset($_GET[base64_decode('Z2V0Rm9ybURhdGFyb3dz')])) {
$q1d = $_POST[base64_decode('Rm9ybUlE')];
$w28d = getTableNameFromFormID($q1d);
$oa = "SHOW COLUMNS FROM $w28d WHERE Field != 'ID' AND Field != 'RelatedRequestID'";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $l14[base64_decode('RmllbGQ=')];
$g28e = getFormColumnNameForTableView($q1d, $m1a);
$l28f[] = "$m1a AS `$g28e`";
}
$d290 = implode(base64_decode('LA=='), $l28f);
$oa = "SELECT $d290
FROM $w28d;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$q291[] = $l14;
}
if (empty($q291)) {
echo json_encode([]);
} else {
echo json_encode($q291);
}
}
if (isset($_GET[base64_decode('Z2V0U2l0ZUNyZWF0aW9u')])) {
$oa = base64_decode('U0VMRUNUIFNpdGVOYW1lLCBTdGF0dXMsIENyZWF0ZWQsIFByb2dyZXNzDQogICAgICAgICAgRlJPTSBicGFnZS5zaXRlX2luc3RhbGxhdGlvbg0KICAgICAgICAgIFdIRVJFIFN0YXR1cyBJTiAoMSw0KTs=');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
if (empty($l259)) {
echo json_encode([]);
} else {
echo json_encode($l259);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lEYXRhcm93cw==')])) {
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$l7 = $_POST[base64_decode('QWN0aXZl')];
$df = getCITableName($m10);
$k292 = array();
$l259 = array();
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$l293 = array();
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDE1'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDE0'), $mb6) || in_array(base64_decode('MTAwMDE1'), $mb6)) {
} else {
exit;
}
$oa = base64_decode('U0VMRUNUIGNtZGJfY2lfZmllbGRzbGlzdC5EZWZhdWx0RmllbGQsRmllbGRUeXBlLEZpZWxkTmFtZSxGaWVsZExhYmVsLExvb2t1cFRhYmxlLExvb2t1cEZpZWxkLExvb2t1cEZpZWxkUmVzdWx0VGFibGUsY21kYl9jaXMuVGFibGVOYW1lLGNtZGJfY2lfZmllbGRzbGlzdC5IaWRlVGFibGVzLGNtZGJfY2lfZmllbGRzbGlzdC5IaWRlRm9ybXMNCiAgICAgICAgICBGUk9NIGNtZGJfY2lfZmllbGRzbGlzdA0KICAgICAgICAgIExFRlQgSk9JTiBjbWRiX2NpcyBPTiBjbWRiX2NpX2ZpZWxkc2xpc3QuUmVsYXRlZENJVHlwZUlEID0gY21kYl9jaXMuSUQNCiAgICAgICAgICBXSEVSRSBSZWxhdGVkQ0lUeXBlSUQgPSA/IEFORCBjbWRiX2Npcy5BY3RpdmUgPSAxDQogICAgICAgICAgT1JERVIgQlkgY21kYl9jaV9maWVsZHNsaXN0LkZpZWxkT3JkZXIgQVNDOw==');
$sb = mysqli_prepare($zc, $oa);
if (!$sb) {
errorlog(base64_decode('RmFpbGVkIHRvIHByZXBhcmUgc3RhdGVtZW50OiA=') . mysqli_error($zc), base64_decode('Z2V0Q0lEYXRhcm93cw=='));
exit;
}
$sb->bind_param(base64_decode('aQ=='), $m10);
if (!$sb->execute()) {
errorlog(base64_decode('RmFpbGVkIHRvIGV4ZWN1dGUgc3RhdGVtZW50OiA=') . $sb->$o294, base64_decode('Z2V0Q0lEYXRhcm93cw=='));
exit;
}
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = base64_decode('QWN0aW9ucw==');
$z296 = "SELECT $df.ID,'' AS $s295,";
$z297 = '';
$r11 = getCIFieldToWorkAsID($m10);
if (!$r11) {
$u47 = translate(base64_decode('V2UgYXJlIG1pc3NpbmcgYSBwcmltYXJ5IGZpZWxkIGZvciB0aGlzIHR5cGU='));
$l293[] = array('' => "Error: $u47");
echo json_encode($l293);
return;
}
foreach ($l259 as $z5c => $r2a) {
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$d299 = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$u29c = $r2a[base64_decode('RGVmYXVsdEZpZWxk')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $d299 . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.StatusCode AND $f29a.ModuleID = '$k17'";
} else {
if (strpos($j29d, base64_decode('Q09OQ0FU')) !== false) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $d299 . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $d299 . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.ID";
}
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $d299 . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $df ";
$z296 .= $z297;
$z296 .= " WHERE $df.Active = $l7 ORDER BY $r11 ASC;";
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$q1f = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:runModalViewCI('$q1f','$m10','$v20');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
$l2a2 = array();
foreach ($l14 as $z5c => $r2a) {
if ($z5c == base64_decode('QWN0aW9ucw==')) {
$g2a3 = base64_decode('LQ==');
$o2a4 = $r2a;
} else {
$g2a3 = $z5c;
$o2a4 = $r2a;
}
foreach ($l259 as $h2a5) {
if ($h2a5[base64_decode('RmllbGRMYWJlbA==')] == $z5c) {
if ($h2a5[base64_decode('RmllbGRUeXBl')] == 5) {
if ($o2a4 == '') {
continue;
} else {
$f2a6 = strtotime($o2a4);
$o2a4 = convertToDanishDateTimeFormat($o2a4);
$o2a4 = "<span style=\"display:none;\">$f2a6</span>$o2a4";
}
}
if ($h2a5[base64_decode('RmllbGROYW1l')] == base64_decode('U3RhdHVz')) {
$o2a4 = translate($o2a4);
}
}
}
$l2a2[$g2a3] = $o2a4;
}
$l293[] = $l2a2;
}
if (empty($l293)) {
echo json_encode([]);
} else {
echo json_encode($l293);
}
}
if (isset($_GET[base64_decode('Z2V0UGFzc3dvcmRz')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$k292 = array();
$l259 = array();
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$s2a7 = implode(base64_decode('Jywn'), $mb6);
$p0 = $mb6;
$z3 = $_SESSION[base64_decode('dGVhbWlk')];
if ($z3 == '') {
$z3 = base64_decode('MA==');
}
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
}
$a2a8 = getITSMClosedStatus($k17);
$oa = base64_decode('U0VMRUNUIEZpZWxkVHlwZSxGaWVsZE5hbWUsRmllbGRMYWJlbCxMb29rdXBUYWJsZSxMb29rdXBGaWVsZCxMb29rdXBGaWVsZFJlc3VsdFRhYmxlLGl0c21fbW9kdWxlcy5UYWJsZU5hbWUsaXRzbV9maWVsZHNsaXN0LkhpZGVUYWJsZXMsaXRzbV9maWVsZHNsaXN0LkhpZGVGb3Jtcw0KICAgICAgICAgICAgRlJPTSBpdHNtX2ZpZWxkc2xpc3QNCiAgICAgICAgICAgIExFRlQgSk9JTiBpdHNtX21vZHVsZXMgT04gaXRzbV9maWVsZHNsaXN0LlJlbGF0ZWRUeXBlSUQgPSBpdHNtX21vZHVsZXMuSUQNCiAgICAgICAgICAgIFdIRVJFIFJlbGF0ZWRUeXBlSUQgPSA/DQogICAgICAgICAgICBPUkRFUiBCWSBpdHNtX2ZpZWxkc2xpc3QuRmllbGRPcmRlciBBU0M7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$r11 = getITSMFieldToWorkAsID($k17);
if (!empty($r11)) {
$r11 = "ORDER BY $i16.$r11 ASC";
}
foreach ($l259 as $r2a) {
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.StatusCode AND $f29a.ModuleID = '$k17'";
} else {
if (strpos($j29d, base64_decode('Q09OQ0FU')) !== false) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.ID";
}
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . base64_decode('Jykg');
$z296 .= base64_decode('IEFORCAo');
$z296 .= base64_decode('IChpdHNtX3Bhc3N3b3Jkcy5Qcml2YXRlID0gMCBBTkQgKA==');
$z296 .= " itsm_passwords.RelatedGroup IN ('$s2a7') OR ";
$z296 .= base64_decode('ICgoaXRzbV9wYXNzd29yZHMuUmVsYXRlZEdyb3VwID0gJycgT1IgaXRzbV9wYXNzd29yZHMuUmVsYXRlZEdyb3VwIElTIE5VTEwpIEFORCAoaXRzbV9wYXNzd29yZHMuUmVsYXRlZFRlYW0gPSAnJyBPUiBpdHNtX3Bhc3N3b3Jkcy5SZWxhdGVkVGVhbSBJUyBOVUxMKSkgT1Ig');
$z296 .= " itsm_passwords.RelatedTeam = '$z3'";
$z296 .= base64_decode('ICkp');
$z296 .= base64_decode('IE9SIA==');
$z296 .= " (itsm_passwords.Private = 1 AND itsm_passwords.Responsible = '$x9d')";
$z296 .= " OR itsm_passwords.Responsible = '$x9d'";
$z296 .= base64_decode('ICk=');
if (!empty($r11)) {
$z296 .= " $r11";
}
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$z2a9 = [];
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
$l2a2 = array();
foreach ($l14 as $z5c => $r2a) {
if ($z5c !== '') {
$g2a3 = translate($z5c);
$o2a4 = $r2a;
} else {
$g2a3 = $z5c;
$o2a4 = $r2a;
}
foreach ($l259 as $h2a5) {
if ($h2a5[base64_decode('RmllbGRMYWJlbA==')] == $z5c) {
if ($h2a5[base64_decode('RmllbGRUeXBl')] == 5) {
if ($o2a4 == '') {
$o2a4 = '';
} else {
$o2a4 = convertToDanishDateTimeFormat($o2a4);
}
}
if ($h2a5[base64_decode('RmllbGROYW1l')] == base64_decode('U3RhdHVz')) {
$o2a4 = translate($o2a4);
}
}
}
$l2a2[$g2a3] = $o2a4;
}
$z2a9[] = $l2a2;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0RG9jdW1lbnREYXRhcm93cw==')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$k292 = array();
$l259 = array();
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$s2a7 = implode(base64_decode('LA=='), $mb6);
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$z1ed = getITSMClosedStatus($k17);
$z1ed = implode(base64_decode('LCA='), $z1ed);
$oa = base64_decode('U0VMRUNUIEZpZWxkVHlwZSxGaWVsZE5hbWUsRmllbGRMYWJlbCxMb29rdXBUYWJsZSxMb29rdXBGaWVsZCxMb29rdXBGaWVsZFJlc3VsdFRhYmxlLGl0c21fbW9kdWxlcy5UYWJsZU5hbWUsaXRzbV9maWVsZHNsaXN0LkhpZGVUYWJsZXMsaXRzbV9maWVsZHNsaXN0LkhpZGVGb3Jtcw0KICAgICAgICAgIEZST00gaXRzbV9maWVsZHNsaXN0DQogICAgICAgICAgTEVGVCBKT0lOIGl0c21fbW9kdWxlcyBPTiBpdHNtX2ZpZWxkc2xpc3QuUmVsYXRlZFR5cGVJRCA9IGl0c21fbW9kdWxlcy5JRA0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRUeXBlSUQgPSA/DQogICAgICAgICAgT1JERVIgQlkgaXRzbV9maWVsZHNsaXN0LkZpZWxkT3JkZXIgQVNDOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$r11 = getITSMFieldToWorkAsID($k17);
if (!empty($r11)) {
$r11 = "ORDER BY $i16.$r11 ASC";
}
foreach ($l259 as $z5c => $r2a) {
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.StatusCode AND $f29a.ModuleID = '$k17'";
} else {
if (strpos($j29d, base64_decode('Q09OQ0FU')) !== false) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.ID";
}
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status NOT IN ($z1ed) $r11;";
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
$l2a2 = array();
foreach ($l14 as $z5c => $r2a) {
if ($z5c !== '') {
$g2a3 = translate($z5c);
$o2a4 = $r2a;
} else {
$g2a3 = $z5c;
$o2a4 = $r2a;
}
foreach ($l259 as $h2a5) {
if ($h2a5[base64_decode('RmllbGRMYWJlbA==')] == $z5c) {
if ($h2a5[base64_decode('RmllbGRUeXBl')] == 5) {
if ($o2a4 == '') {
$o2a4 = '';
} else {
$o2a4 = convertToDanishDateTimeFormat($o2a4);
}
}
if ($h2a5[base64_decode('RmllbGROYW1l')] == base64_decode('U3RhdHVz')) {
$o2a4 = translate($o2a4);
}
}
}
$l2a2[$g2a3] = $o2a4;
}
$z2a9[] = $l2a2;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTURhdGFyb3dzQWxsQWN0aXZl')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$v2aa = $_POST[base64_decode('c2NyZWVuc2l6ZQ==')];
$i16 = getITSMTableName($k17);
$k292 = array();
$l259 = array();
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$a2a8 = getITSMClosedStatus($k17);
$oa = base64_decode('U0VMRUNUIEZpZWxkVHlwZSxGaWVsZE5hbWUsRmllbGRMYWJlbCxMb29rdXBUYWJsZSxMb29rdXBGaWVsZCxMb29rdXBGaWVsZFJlc3VsdFRhYmxlLGl0c21fbW9kdWxlcy5UYWJsZU5hbWUsaXRzbV9maWVsZHNsaXN0LkhpZGVUYWJsZXMsaXRzbV9maWVsZHNsaXN0LkhpZGVGb3Jtcw0KICAgICAgICAgIEZST00gaXRzbV9maWVsZHNsaXN0DQogICAgICAgICAgTEVGVCBKT0lOIGl0c21fbW9kdWxlcyBPTiBpdHNtX2ZpZWxkc2xpc3QuUmVsYXRlZFR5cGVJRCA9IGl0c21fbW9kdWxlcy5JRA0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRUeXBlSUQgPSA/DQogICAgICAgICAgT1JERVIgQlkgaXRzbV9maWVsZHNsaXN0LkZpZWxkT3JkZXIgQVNDOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$l2ab = '';
$r11 = getITSMFieldToWorkAsID($k17);
$n2ac = $r11;
if (!empty($r11)) {
$r11 = "ORDER BY $i16.$r11 ASC";
}
foreach ($l259 as $z5c => $r2a) {
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
$l2ab = '';
if ($p298 == base64_decode('MTE=')) {
$d2ad = " AND $i16.$m1a IN ('" . implode(base64_decode('Jywn'), $p0) . base64_decode('Jyk=');
$l2ab .= $d2ad;
} else {
$d2ad = '';
}
if ($p298 == base64_decode('MTI=')) {
$c2ae = " OR $i16.$m1a = '$z3'";
$l2ab .= $c2ae;
} else {
$c2ae = '';
}
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.StatusCode AND $f29a.ModuleID = '$k17'";
} else {
if (strpos($j29d, base64_decode('Q09OQ0FU')) !== false) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.ID";
}
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . "') $l2ab $r11;";
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
if ($v2aa == base64_decode('c20=')) {
$y2af = $l14["$n2ac"];
if (strlen($y2af) > 20) {
$y2af = substr($y2af, 0, 20) . base64_decode('Li4u');
}
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\">$y2af</a>";
$l14["$n2ac"] = $w2a1;
} else {
$y2af = $l14["$n2ac"];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\">$y2af</a>";
$l14["$n2ac"] = $w2a1;
}
$l2a2 = array();
foreach ($l14 as $z5c => $r2a) {
if ($z5c == base64_decode('SUQ=')) {
continue;
}
if ($z5c == base64_decode('QWN0aW9ucw==')) {
continue;
}
if ($z5c !== '') {
$g2a3 = translate($z5c);
$o2a4 = $r2a;
} else {
$g2a3 = $z5c;
$o2a4 = $r2a;
}
if ($z5c == base64_decode('QWN0aW9ucw==')) {
$g2a3 = '';
$o2a4 = $r2a;
}
foreach ($l259 as $h2a5) {
if ($h2a5[base64_decode('RmllbGRMYWJlbA==')] == $z5c) {
if ($h2a5[base64_decode('RmllbGRUeXBl')] == 5) {
if ($o2a4 == '') {
$t2b0 = '';
} else {
$f2a6 = strtotime($o2a4);
$o2a4 = convertToDanishDateTimeFormat($o2a4);
$o2a4 = "<span style=\"display:none;\">$f2a6</span>$o2a4";
}
}
if ($h2a5[base64_decode('RmllbGROYW1l')] == base64_decode('U3RhdHVz')) {
$o2a4 = translate($o2a4);
}
}
}
$l2a2[$g2a3] = $o2a4;
}
$z2a9[] = $l2a2;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTURhdGFyb3dzTXk=')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$q54 = $_POST[base64_decode('VHlwZQ==')];
$v2aa = $_POST[base64_decode('c2NyZWVuc2l6ZQ==')];
$i16 = getITSMTableName($k17);
$a2a8 = getITSMClosedStatus($k17);
$k292 = array();
$l259 = array();
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$oa = base64_decode('U0VMRUNUIEZpZWxkVHlwZSxGaWVsZE5hbWUsRmllbGRMYWJlbCxMb29rdXBUYWJsZSxMb29rdXBGaWVsZCxMb29rdXBGaWVsZFJlc3VsdFRhYmxlLGl0c21fbW9kdWxlcy5UYWJsZU5hbWUsaXRzbV9maWVsZHNsaXN0LkhpZGVUYWJsZXMsaXRzbV9maWVsZHNsaXN0LkhpZGVGb3Jtcw0KICAgICAgICAgIEZST00gaXRzbV9maWVsZHNsaXN0DQogICAgICAgICAgTEVGVCBKT0lOIGl0c21fbW9kdWxlcyBPTiBpdHNtX2ZpZWxkc2xpc3QuUmVsYXRlZFR5cGVJRCA9IGl0c21fbW9kdWxlcy5JRA0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRUeXBlSUQgPSA/DQogICAgICAgICAgT1JERVIgQlkgaXRzbV9maWVsZHNsaXN0LkZpZWxkT3JkZXIgQVNDOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$l2ab = '';
$r11 = getITSMFieldToWorkAsID($k17);
$n2ac = $r11;
if (!empty($r11)) {
$r11 = "ORDER BY $i16.$r11 ASC";
} else {
$u47 = translate(base64_decode('V2UgYXJlIG1pc3NpbmcgYSBwcmltYXJ5IGZpZWxkIGZvciB0aGlzIHR5cGU='));
$z2a9[] = array('' => "Error: $u47");
echo json_encode($z2a9);
return;
}
foreach ($l259 as $z5c => $r2a) {
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
$l2ab = '';
if ($p298 == base64_decode('MTE=')) {
$d2ad = " AND $i16.$m1a IN ('" . implode(base64_decode('Jywn'), $p0) . base64_decode('Jyk=');
$l2ab .= $d2ad;
} else {
$d2ad = '';
}
if ($p298 == base64_decode('MTI=')) {
$c2ae = " OR $i16.$m1a = '$z3'";
$l2ab .= $c2ae;
} else {
$c2ae = '';
}
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.StatusCode AND $f29a.ModuleID = '$k17'";
} else {
if (strpos($j29d, base64_decode('Q09OQ0FU')) !== false) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.ID";
}
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
switch ($q54) {
case base64_decode('bXk='):
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . "') AND $i16.Responsible = $x9d $l2ab $r11;";
break;
case base64_decode('bXl0ZWFtcw=='):
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . "') AND $i16.Team = $z3 AND (($i16.Responsible != $x9d) OR ($i16.Responsible IS NULL)) $l2ab $r11;";
break;
case base64_decode('bWVwYXJ0aWNpcGF0aW5n'):
$z297 .= " LEFT JOIN itsm_participants ON $j4f.ID = itsm_participants.ElementID";
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE itsm_participants.ModuleID = $k17 AND $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . "') AND itsm_participants.UserID = $x9d AND (($i16.Responsible != $x9d) OR ($i16.Responsible IS NULL)) $l2ab $r11;";
break;
default:
$z296 .= " WHERE $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . "') AND $i16.Responsible = $x9d $l2ab $r11;";
}
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$n98 = getNumberOfUnreadITSMComments($k17, $g35, $x9d);
$w2b1 = '';
if ($n98 > 0) {
$w2b1 = base64_decode('PHNwYW4gY2xhc3M9ImJhZGdlIGJhZGdlLWNpcmNsZSBiYWRnZS1pbmZvIiB0aXRsZT0i') . translate(base64_decode('VW5yZWFkIGNvbW1lbnRz')) . "\">$n98</span>";
}
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
if ($v2aa == base64_decode('c20=')) {
$y2af = $l14["$n2ac"];
if (strlen($y2af) > 22) {
$y2af = substr($y2af, 0, 22) . base64_decode('Li4u');
}
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\">$y2af</a>" . base64_decode('IA==') . $w2b1;
$l14["$n2ac"] = $w2a1;
} else {
$y2af = $l14["$n2ac"];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\">$y2af</a>" . base64_decode('IA==') . $w2b1;
$l14["$n2ac"] = $w2a1;
}
$l2a2 = [];
foreach ($l14 as $z5c => $r2a) {
if ($z5c == base64_decode('QWN0aW9ucw==') && $v2aa == base64_decode('c20=')) {
continue;
}
if ($z5c !== '') {
$g2a3 = translate($z5c);
$o2a4 = $r2a;
} else {
$g2a3 = $z5c;
$o2a4 = $r2a;
}
if ($z5c == base64_decode('QWN0aW9ucw==')) {
$g2a3 = '';
$o2a4 = $r2a;
}
foreach ($l259 as $h2a5) {
if ($h2a5[base64_decode('RmllbGRMYWJlbA==')] == $z5c) {
if ($h2a5[base64_decode('RmllbGRUeXBl')] == 5) {
if ($o2a4 == '') {
$t2b0 = '';
} else {
$f2a6 = strtotime($o2a4);
$o2a4 = convertToDanishDateTimeFormat($o2a4);
$o2a4 = "<span style=\"display:none;\">$f2a6</span>$o2a4";
}
}
if ($h2a5[base64_decode('RmllbGROYW1l')] == base64_decode('U3RhdHVz')) {
$o2a4 = translate($o2a4);
}
}
}
$l2a2[$g2a3] = $o2a4;
}
$z2a9[] = $l2a2;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTURhdGFyb3dzUXVpY2tWaWV3')])) {
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$m2b2 = $_GET[base64_decode('RmlsdGVyVmFsdWU=')];
$x9d = $_SESSION[base64_decode('aWQ=')];
$d2b3 = $_SESSION[base64_decode('dGVhbWlk')];
$t18 = getITSMTypeName($k17);
$i16 = getITSMTableName($k17);
$k292 = array();
$l259[] = array(base64_decode('RmllbGROYW1l') => base64_decode('SUQ='), base64_decode('TGFiZWw=') => base64_decode('SUQ='), base64_decode('TG9va3VwVGFibGU=') => '', base64_decode('TG9va3VwRmllbGQ=') => '', base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==') => '', base64_decode('VGFibGVOYW1l') => "$i16");
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$z1ed = getITSMClosedStatus($k17);
$oa = base64_decode('U0VMRUNUIEZpZWxkTmFtZSxGaWVsZExhYmVsLExvb2t1cFRhYmxlLExvb2t1cEZpZWxkLExvb2t1cEZpZWxkUmVzdWx0VGFibGUsaXRzbV9tb2R1bGVzLlRhYmxlTmFtZSxpdHNtX2ZpZWxkc2xpc3QuSGlkZVRhYmxlcyxpdHNtX2ZpZWxkc2xpc3QuSGlkZUZvcm1zDQogICAgICAgICAgRlJPTSBpdHNtX2ZpZWxkc2xpc3QNCiAgICAgICAgICBMRUZUIEpPSU4gaXRzbV9tb2R1bGVzIE9OIGl0c21fZmllbGRzbGlzdC5SZWxhdGVkVHlwZUlEID0gaXRzbV9tb2R1bGVzLklEDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFR5cGVJRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBpdHNtX2ZpZWxkc2xpc3QuRmllbGRPcmRlciBBU0M7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$r11 = getITSMFieldToWorkAsID($k17);
if (!empty($r11)) {
$r11 = "ORDER BY $i16.$r11 ASC";
}
foreach ($l259 as $z5c => $r2a) {
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID AND $m1a.ModuleID = $k17";
} else {
if (strpos($j29d, base64_decode('Q09OQ0FU')) !== false) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $m1a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
}
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $i16 ";
$z296 .= $z297;
switch ($m2b2) {
case base64_decode('MQ=='):
$z296 .= " WHERE $i16.Status != '$z1ed' AND $i16.Responsible = $x9d $r11;";
break;
case base64_decode('Mg=='):
$z296 .= " WHERE $i16.Status != '$z1ed' AND $i16.Responsible != $x9d AND $i16.Team = '$d2b3' $r11;";
break;
case base64_decode('Mw=='):
$z296 .= " LEFT JOIN itsm_participants ON $i16.ID = itsm_participants.ElementID AND itsm_participants.ModuleID = '$k17' AND itsm_participants.UserID = '$x9d'";
$z296 .= " WHERE $i16.Status != '$z1ed' AND $i16.Responsible != $x9d $r11;";
break;
case base64_decode('NA=='):
$z296 .= " WHERE $i16.Status != '$z1ed' $r11;";
break;
case base64_decode('NQ=='):
$z296 .= " WHERE $i16.Status = '$z1ed' $r11;";
break;
default:
$z296 .= " WHERE $i16.Status != '$z1ed' AND $i16.Responsible = $x9d $r11;";
}
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$z2a9 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$eca = $l14[base64_decode('U3ViamVjdA==')];
$z2a9[] = array(translate(base64_decode('SUQ=')) => "$g35", translate(base64_decode('U3ViamVjdA==')) => "<a href=\"javascript:viewITSM('$g35','$k17','$v20','quickview');\">$eca</a>");
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTURhdGFyb3dzTXlUZWFtcw==')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$z3 = $_SESSION[base64_decode('dGVhbWlk')];
if ($z3 == '') {
echo json_encode([]);
return;
}
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$k292 = array();
$l259 = array();
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$a2a8 = getITSMClosedStatus($k17);
$oa = base64_decode('U0VMRUNUIEZpZWxkVHlwZSxGaWVsZE5hbWUsRmllbGRMYWJlbCxMb29rdXBUYWJsZSxMb29rdXBGaWVsZCxMb29rdXBGaWVsZFJlc3VsdFRhYmxlLGl0c21fbW9kdWxlcy5UYWJsZU5hbWUsaXRzbV9maWVsZHNsaXN0LkhpZGVUYWJsZXMsaXRzbV9maWVsZHNsaXN0LkhpZGVGb3Jtcw0KICAgICAgICAgIEZST00gaXRzbV9maWVsZHNsaXN0DQogICAgICAgICAgTEVGVCBKT0lOIGl0c21fbW9kdWxlcyBPTiBpdHNtX2ZpZWxkc2xpc3QuUmVsYXRlZFR5cGVJRCA9IGl0c21fbW9kdWxlcy5JRA0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRUeXBlSUQgPSA/DQogICAgICAgICAgT1JERVIgQlkgaXRzbV9maWVsZHNsaXN0LkZpZWxkT3JkZXIgQVNDOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$l2ab = '';
$r11 = getITSMFieldToWorkAsID($k17);
if (!empty($r11)) {
$r11 = "ORDER BY $i16.$r11 ASC";
}
foreach ($l259 as $z5c => $r2a) {
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($p298 == base64_decode('MTE=')) {
$d2ad = " AND $i16.$m1a IN ('" . implode(base64_decode('Jywn'), $p0) . base64_decode('Jyk=');
$l2ab .= $d2ad;
} else {
$d2ad = '';
}
if ($p298 == base64_decode('MTI=')) {
$c2ae = " OR $i16.$m1a = '$z3'";
$l2ab .= $c2ae;
} else {
$c2ae = '';
}
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.StatusCode AND $f29a.ModuleID = '$k17'";
} else {
if (strpos($j29d, base64_decode('Q09OQ0FU')) !== false) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $m1a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
}
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . "') AND $i16.Team = $z3 AND (($i16.Responsible != $x9d) OR ($i16.Responsible IS NULL)) $l2ab $r11;";
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
$l2a2 = array();
foreach ($l14 as $z5c => $r2a) {
if ($z5c !== '') {
$g2a3 = translate($z5c);
$o2a4 = $r2a;
} else {
$g2a3 = $z5c;
$o2a4 = $r2a;
}
foreach ($l259 as $h2a5) {
if ($h2a5[base64_decode('RmllbGRMYWJlbA==')] == $z5c) {
if ($h2a5[base64_decode('RmllbGRUeXBl')] == 5) {
if ($o2a4 == '') {
$o2a4 = '';
} else {
$f2a6 = strtotime($o2a4);
$o2a4 = convertToDanishDateTimeFormat($o2a4);
$o2a4 = "<span style=\"display:none;\">$f2a6</span>$o2a4";
}
}
if ($h2a5[base64_decode('RmllbGROYW1l')] == base64_decode('U3RhdHVz')) {
$o2a4 = translate($o2a4);
}
}
}
$l2a2[$g2a3] = $o2a4;
}
$z2a9[] = $l2a2;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTURhdGFyb3dzTWVQYXJ0aWNpcGF0aW5n')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$z3 = $_SESSION[base64_decode('dGVhbWlk')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$k292 = array();
$l259 = array();
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$a2a8 = getITSMClosedStatus($k17);
$oa = base64_decode('U0VMRUNUIEZpZWxkVHlwZSxGaWVsZE5hbWUsRmllbGRMYWJlbCxMb29rdXBUYWJsZSxMb29rdXBGaWVsZCxMb29rdXBGaWVsZFJlc3VsdFRhYmxlLGl0c21fbW9kdWxlcy5UYWJsZU5hbWUsaXRzbV9maWVsZHNsaXN0LkhpZGVUYWJsZXMsaXRzbV9maWVsZHNsaXN0LkhpZGVGb3Jtcw0KICAgICAgICAgIEZST00gaXRzbV9maWVsZHNsaXN0DQogICAgICAgICAgTEVGVCBKT0lOIGl0c21fbW9kdWxlcyBPTiBpdHNtX2ZpZWxkc2xpc3QuUmVsYXRlZFR5cGVJRCA9IGl0c21fbW9kdWxlcy5JRA0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRUeXBlSUQgPSA/DQogICAgICAgICAgT1JERVIgQlkgaXRzbV9maWVsZHNsaXN0LkZpZWxkT3JkZXIgQVNDOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$l2ab = '';
$r11 = getITSMFieldToWorkAsID($k17);
if (!empty($r11)) {
$r11 = "ORDER BY $i16.$r11 ASC";
}
foreach ($l259 as $z5c => $r2a) {
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($p298 == base64_decode('MTE=')) {
$d2ad = " AND $i16.$m1a IN ('" . implode(base64_decode('Jywn'), $p0) . base64_decode('Jyk=');
$l2ab .= $d2ad;
} else {
$d2ad = '';
}
if ($p298 == base64_decode('MTI=')) {
$c2ae = " OR $i16.$m1a = '$z3'";
$l2ab .= $c2ae;
} else {
$c2ae = '';
}
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.StatusCode AND $f29a.ModuleID = '$k17'";
} else {
if (strpos($j29d, base64_decode('Q09OQ0FU')) !== false) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $m1a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
}
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z297 .= " LEFT JOIN itsm_participants ON $j4f.ID = itsm_participants.ElementID";
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE itsm_participants.ModuleID = $k17 AND $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . "') AND itsm_participants.UserID = $x9d AND (($i16.Responsible != $x9d) OR ($i16.Responsible IS NULL)) $l2ab $r11;";
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
$l2a2 = array();
foreach ($l14 as $z5c => $r2a) {
if ($z5c !== '') {
$g2a3 = translate($z5c);
$o2a4 = $r2a;
} else {
$g2a3 = $z5c;
$o2a4 = $r2a;
}
foreach ($l259 as $h2a5) {
if ($h2a5[base64_decode('RmllbGRMYWJlbA==')] == $z5c) {
if ($h2a5[base64_decode('RmllbGRUeXBl')] == 5) {
if ($o2a4 == '') {
$o2a4 = '';
} else {
$f2a6 = strtotime($o2a4);
$o2a4 = convertToDanishDateTimeFormat($o2a4);
$o2a4 = "<span style=\"display:none;\">$f2a6</span>$o2a4";
}
}
if ($h2a5[base64_decode('RmllbGROYW1l')] == base64_decode('U3RhdHVz')) {
$o2a4 = translate($o2a4);
}
}
}
$l2a2[$g2a3] = $o2a4;
}
$z2a9[] = $l2a2;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTURhdGFyb3dzQWxsT3Blbg==')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$k292 = array();
$l259[] = array(base64_decode('RmllbGROYW1l') => base64_decode('SUQ='), base64_decode('TGFiZWw=') => base64_decode('SUQ='), base64_decode('TG9va3VwVGFibGU=') => '', base64_decode('TG9va3VwRmllbGQ=') => '', base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==') => '', base64_decode('VGFibGVOYW1l') => "$i16");
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$a2a8 = getITSMClosedStatus($k17);
$oa = base64_decode('U0VMRUNUIEZpZWxkTmFtZSxGaWVsZExhYmVsLExvb2t1cFRhYmxlLExvb2t1cEZpZWxkLExvb2t1cEZpZWxkUmVzdWx0VGFibGUsaXRzbV9tb2R1bGVzLlRhYmxlTmFtZSxpdHNtX2ZpZWxkc2xpc3QuSGlkZVRhYmxlcyxpdHNtX2ZpZWxkc2xpc3QuSGlkZUZvcm1zDQogICAgICAgICAgRlJPTSBpdHNtX2ZpZWxkc2xpc3QNCiAgICAgICAgICBMRUZUIEpPSU4gaXRzbV9tb2R1bGVzIE9OIGl0c21fZmllbGRzbGlzdC5SZWxhdGVkVHlwZUlEID0gaXRzbV9tb2R1bGVzLklEDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFR5cGVJRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBpdHNtX2ZpZWxkc2xpc3QuRmllbGRPcmRlciBBU0M7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$r11 = getITSMFieldToWorkAsID($k17);
if (!empty($r11)) {
$r11 = "ORDER BY $r11 ASC";
}
foreach ($l259 as $z5c => $r2a) {
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = base64_decode('SVRTTVN0YXR1cy5TdGF0dXNOYW1lLA==');
$z297 .= " LEFT JOIN itsm_statuscodes AS ITSMStatus ON $i16.Status = ITSMStatus.StatusCode AND ITSMStatus.ModuleID = $k17";
} else {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . base64_decode('Jyk7');
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
$z2a9[] = $l14;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTURhdGFyb3dzQWxsQ2xvc2Vk')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$k292 = array();
$l259[] = array(base64_decode('RmllbGROYW1l') => base64_decode('SUQ='), base64_decode('TGFiZWw=') => base64_decode('SUQ='), base64_decode('TG9va3VwVGFibGU=') => '', base64_decode('TG9va3VwRmllbGQ=') => '', base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==') => '', base64_decode('VGFibGVOYW1l') => "$i16");
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$a2a8 = getITSMClosedStatus($k17);
$oa = base64_decode('U0VMRUNUIEZpZWxkTmFtZSxGaWVsZExhYmVsLExvb2t1cFRhYmxlLExvb2t1cEZpZWxkLExvb2t1cEZpZWxkUmVzdWx0VGFibGUsaXRzbV9tb2R1bGVzLlRhYmxlTmFtZSxpdHNtX2ZpZWxkc2xpc3QuSGlkZVRhYmxlcyxpdHNtX2ZpZWxkc2xpc3QuSGlkZUZvcm1zDQogICAgICAgICAgRlJPTSBpdHNtX2ZpZWxkc2xpc3QNCiAgICAgICAgICBMRUZUIEpPSU4gaXRzbV9tb2R1bGVzIE9OIGl0c21fZmllbGRzbGlzdC5SZWxhdGVkVHlwZUlEID0gaXRzbV9tb2R1bGVzLklEDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFR5cGVJRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBpdHNtX2ZpZWxkc2xpc3QuRmllbGRPcmRlciBBU0M7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$r11 = getITSMFieldToWorkAsID($k17);
if (!empty($r11)) {
$r11 = "ORDER BY $r11 ASC";
}
foreach ($l259 as $z5c => $r2a) {
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = base64_decode('SVRTTVN0YXR1cy5TdGF0dXNOYW1lLA==');
$z297 .= " LEFT JOIN itsm_statuscodes AS ITSMStatus ON $i16.Status = ITSMStatus.StatusCode AND ITSMStatus.ModuleID = $k17";
} else {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status IN ('" . implode(base64_decode('Jywn'), $a2a8) . base64_decode('Jyk7');
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
$z2a9[] = $l14;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0VGVtcEZpbGVz')])) {
$w230 = $_POST[base64_decode('RWxlbWVudFR5cGU=')];
$p8a = $_POST[base64_decode('VXNlcklE')];
$b6b = '';
$oa = base64_decode('U0VMRUNUIGZpbGVzX3RlbXAuRmlsZU5hbWUsZmlsZXNfdGVtcC5GaWxlTmFtZU9yaWdpbmFsDQogICAgICAgICAgRlJPTSBmaWxlc190ZW1wDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBmaWxlc190ZW1wLkRhdGUgREVTQzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$jba = $l14[base64_decode('RmlsZU5hbWU=')];
$o208 = $l14[base64_decode('RmlsZU5hbWVPcmlnaW5hbA==')];
$g32 = "<a href=\"javascript:deleteTempPicture('$jba',$p8a);\"><i class=\"fa-solid fa-trash\"></i></a>";
$b6b .= "$o208 $g32<br>";
}
$l259[] = array(base64_decode('Q29udGVudA==') => $b6b);
if (empty($b6b)) {
echo json_encode([base64_decode('Q29udGVudA==') => '']);
} else {
echo json_encode($l259);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTURhdGFSb3dz')])) {
$h2 = $_POST[base64_decode('Q29tcGFueUlE')];
$h19 = $_POST[base64_decode('U3RhdHVzQ29kZXM=')];
$b2b4 = $_POST[base64_decode('VVNFUklE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$k292 = array();
$l259[] = array(base64_decode('RmllbGROYW1l') => base64_decode('SUQ='), base64_decode('TGFiZWw=') => base64_decode('SUQ='), base64_decode('TG9va3VwVGFibGU=') => '', base64_decode('TG9va3VwRmllbGQ=') => '', base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==') => '', base64_decode('VGFibGVOYW1l') => "$i16");
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$oa = base64_decode('U0VMRUNUIEZpZWxkTmFtZSxGaWVsZExhYmVsLExvb2t1cFRhYmxlLExvb2t1cEZpZWxkLExvb2t1cEZpZWxkUmVzdWx0VGFibGUsaXRzbV9tb2R1bGVzLlRhYmxlTmFtZSxpdHNtX2ZpZWxkc2xpc3QuSGlkZVRhYmxlcyxpdHNtX2ZpZWxkc2xpc3QuSGlkZUZvcm1zDQogICAgICAgICAgRlJPTSBpdHNtX2ZpZWxkc2xpc3QNCiAgICAgICAgICBMRUZUIEpPSU4gaXRzbV9tb2R1bGVzIE9OIGl0c21fZmllbGRzbGlzdC5SZWxhdGVkVHlwZUlEID0gaXRzbV9tb2R1bGVzLklEDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFR5cGVJRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBpdHNtX2ZpZWxkc2xpc3QuRmllbGRPcmRlciBBU0M7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$r11 = getITSMFieldToWorkAsID($k17);
if (!empty($r11)) {
$r11 = "ORDER BY $r11 ASC";
}
foreach ($l259 as $z5c => $r2a) {
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status IN ($h19) AND $i16.RelatedCompanyID = $h2";
if ($b2b4 !== base64_decode('bm9uZQ==')) {
$z296 .= " AND Customer = $b2b4;";
} else {
$z296 .= base64_decode('Ow==');
}
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
$z2a9[] = $l14;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lGaWVsZHNWYWx1ZXM=')])) {
$q1f = $_GET[base64_decode('Q0lJRA==')];
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$e2b5 = getRelationShowField($m10);
$b2b6 = getCITypeName($m10);
$k292 = (array)null;
$oa = "SHOW COLUMNS FROM $df";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $l14[base64_decode('RmllbGQ=')];
$f31 = getCIFieldValue($q1f, $m1a, $df);
$p298 = getCMDBFieldTypeID($m10, $m1a);
if ($p298 == base64_decode('NQ==') && !empty($f31)) {
$f31 = convertToDanishDateTimeFormat($f31);
}
$q2b7 = getCMDBFieldHideFormsState($m10, $m1a);
if ($q2b7 == base64_decode('MQ==')) {
continue;
}
if ($m1a == $e2b5) {
$f2b8 = base64_decode('MQ==');
} else {
$f2b8 = base64_decode('MA==');
}
$k292[] = array(base64_decode('RmllbGRUeXBl') => $p298, base64_decode('RmllbGROYW1l') => $m1a, base64_decode('RmllbGRWYWx1ZQ==') => $f31, base64_decode('UmVsYXRpb25GSWVsZA==') => $f2b8, base64_decode('Q0lUeXBlTmFtZQ==') => $b2b6);
}
if (empty($k292)) {
echo json_encode([]);
} else {
echo json_encode($k292);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTUZpZWxkc1ZhbHVlcw==')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($x9d);
$j6 = getLanguageCode($y5);
$g35 = $_GET[base64_decode('SVRTTUlE')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$q54 = $_GET[base64_decode('VHlwZQ==')];
$j114 = getITSMTypeUserGroup($k17);
$i268 = getModuleType($k17);
$i2b9 = false;
if (!in_array($j114, $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
if ($a1 == 2) {
} else {
$rd = getUserGroupName($n2ba);
$m118 = _(base64_decode('WW91IG5lZWQgdG8gYmUgbWVtYmVyIG9mIHVzZXIgZ3JvdXAg')) . $rd;
$q2bb[] = array(base64_decode('ZXJyb3I=') => $m118);
$i2b9 = true;
}
}
if ($i2b9 == true) {
echo json_encode($q2bb);
return;
}
$f2bc = base64_decode('MA==');
$k292 = getITSMFieldsValues($k17, $g35, $i268, $j6, $q54, $mb6, $f2bc);
if (empty($k292)) {
echo json_encode([]);
} else {
echo json_encode($k292);
}
}
if (isset($_GET[base64_decode('Z2V0UmVxdWVzdEZvcm1GaWVsZFZhbHVlcw==')])) {
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$f2bc = base64_decode('MA==');
$k292 = getRequestFormFieldValues($k17, $g35, $f2bc);
if (empty($k292)) {
echo json_encode([]);
} else {
echo json_encode($k292);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lGaWVsZERlZmluaXRpb25z')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$q1f = $_POST[base64_decode('Q0lJRA==')];
$df = getCITableName($m10);
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$k292 = getCIFieldDefinitions($x9d, $m10, $q1f, $df, $mb6, $c2bd, $f2be);
if (empty($k292)) {
echo json_encode([]);
} else {
echo json_encode($k292);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTUZpZWxkRGVmaW5pdGlvbnM=')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$c2bd = $_POST[base64_decode('Rm9ybVR5cGU=')];
$n2ba = getITSMTypeUserGroup($k17);
$n2bf = implode(base64_decode('LA=='), $p0);
$q2bb[] = array();
$i2b9 = false;
if (!in_array($n2ba, $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
if ($a1 == 2) {
} else {
$rd = getUserGroupName($n2ba);
$m118 = _(base64_decode('WW91IG5lZWQgdG8gYmUgbWVtYmVyIG9mIHVzZXIgZ3JvdXAg')) . $rd;
$q2bb[] = array(base64_decode('ZXJyb3I=') => $m118);
$i2b9 = true;
}
}
if ($i2b9 == true) {
echo json_encode($q2bb);
return;
}
$k292 = getITSMFieldDefinitions($x9d, $k17, $g35, $c2bd, $p0, $f2be);
if (empty($k292)) {
echo json_encode([]);
} else {
echo json_encode($k292);
}
}
if (isset($_GET[base64_decode('Z2V0UmVxdWVzdEZvcm1WaWV3')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$q1d = $_POST[base64_decode('Rm9ybUlE')];
debuglog($q1d);
$k292 = getRequestFormView($x9d, $k17, $g35, $q1d, $f2be);
if (empty($k292)) {
echo json_encode([]);
} else {
echo json_encode($k292);
}
}
if (isset($_GET[base64_decode('YWRkVG9LYW5CYW5UYXNrTGlzdA==')])) {
$fe[] = array();
$p8a = $_SESSION[base64_decode('aWQ=')];
$cc2 = $_POST[base64_decode('ZWxlbWVudGlk')];
$j9f = $_POST[base64_decode('bW9kdWxlaWQ=')];
$yb4 = $_POST[base64_decode('cmVkaXJlY3RwYWdl')];
if ($yb4 == base64_decode('bm9uZQ==')) {
$i16 = getITSMTableName($j9f);
$yb4 = "javascript:viewITSM('$cc2','$j9f','1','modal');";
}
$t2c0 = addtotaskslist($cc2, $p8a, $j9f, $yb4);
$fe[] = array(base64_decode('RXhpc3Rz') => $t2c0);
echo json_encode($fe, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Y2xvbmVJVFNN')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$g35 = $_POST[base64_decode('SVRTTUlE')];
$ua6 = getITSMModuleType($k17);
$v2c1 = getITSMModuleSLA($k17);
$d290 = array();
$oa = base64_decode('U0VMRUNUIENPTFVNTl9OQU1FDQogICAgICAgICAgRlJPTSBJTkZPUk1BVElPTl9TQ0hFTUEuQ09MVU1OUyBXSEVSRSBUQUJMRV9OQU1FID0gPw0KICAgICAgICAgIEFORCBUQUJMRV9TQ0hFTUEgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $i16, $d2c2);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
array_push($d290, $l14[0]);
}
$oa = "INSERT INTO $i16 (";
$h2c3 = end($d290);
foreach ($d290 as $y2c4) {
if ($y2c4 == $h2c3) {
$oa .= $y2c4;
} else {
$oa .= $y2c4 . base64_decode('LA==');
}
}
$oa .= base64_decode('KSBWQUxVRVMgKA==');
$h2c3 = end($d290);
foreach ($d290 as $y2c4) {
$n2c5 = getITSMFieldPreValue($g35, $i16, $y2c4);
if ($y2c4 == $h2c3) {
if ($y2c4 == base64_decode('SUQ=') || $n2c5 == '') {
$oa .= base64_decode('TlVMTA==');
} elseif ($y2c4 == base64_decode('Q3JlYXRlZEJ5')) {
$oa .= "'$p8a'";
} elseif ($y2c4 == base64_decode('TGFzdFVwZGF0ZWQ=') || $y2c4 == base64_decode('Q3JlYXRlZA==')) {
$oa .= base64_decode('Tk9XKCk=');
} elseif ($y2c4 == base64_decode('UmVsYXRlZENvbXBhbnlJRA==')) {
$h2 = $n2c5;
$oa .= "'$n2c5',";
} elseif ($y2c4 == base64_decode('QnVzaW5lc3NTZXJ2aWNl')) {
$y2c6 = $n2c5;
$oa .= "'$n2c5',";
} elseif ($y2c4 == base64_decode('UHJpb3JpdHk=')) {
$v24b = $n2c5;
$oa .= "'$n2c5',";
} else {
$oa .= "'$n2c5'";
}
} else {
if ($y2c4 == base64_decode('SUQ=') || $n2c5 == '') {
$oa .= base64_decode('TlVMTCw=');
} elseif ($y2c4 == base64_decode('Q3JlYXRlZEJ5')) {
$oa .= "'$p8a',";
} elseif ($y2c4 == base64_decode('TGFzdFVwZGF0ZWQ=') || $y2c4 == base64_decode('Q3JlYXRlZA==')) {
$oa .= base64_decode('Tk9XKCks');
} elseif ($y2c4 == base64_decode('UmVsYXRlZENvbXBhbnlJRA==')) {
$h2 = $n2c5;
$oa .= "'$n2c5',";
} elseif ($y2c4 == base64_decode('QnVzaW5lc3NTZXJ2aWNl')) {
$y2c6 = $n2c5;
$oa .= "'$n2c5',";
} elseif ($y2c4 == base64_decode('UHJpb3JpdHk=')) {
$v24b = $n2c5;
$oa .= "'$n2c5',";
} else {
$oa .= "'$n2c5',";
}
}
}
$oa .= base64_decode('KQ==');
$d13 = mysqli_query($zc, $oa);
$g2c7 = $zc->$a10f;
$u47 = "Cloned from $g35";
createITSMLogEntry($g2c7, $k17, $p8a, $u47);
if ($k17 == base64_decode('Mg==')) {
$q1d = getRequestFormID($g35);
$w28d = getFormTableName($q1d);
duplicateFormEntry($g35, $g2c7, $w28d);
}
if ($v2c1 == base64_decode('MQ==') && $ua6 == base64_decode('MQ==')) {
if (empty($y2c6)) {
$x2c8 = getRelatedSLAID($h2);
updateITSMFieldValue($g2c7, $x2c8, base64_decode('U0xB'), $k17);
} else {
$x2c8 = getSLAFromBS($y2c6);
updateITSMFieldValue($g2c7, $x2c8, base64_decode('U0xB'), $k17);
}
if ($v24b !== '' && $x2c8 !== '') {
$n2c9[] = array();
$n2c9 = getSLAStatusCores($k17, $x2c8, $v24b);
$r2ca = date(base64_decode('WS1tLWQgSDppOnM='));
foreach ($n2c9 as $g2cb) {
$a1df = $g2cb[base64_decode('U3RhdHVz')];
$g2cc = $g2cb[base64_decode('TWludXRlcw==')];
$l2cd = getDateTimeViolated($r2ca, $g2cc);
createTimelineSLAViolationDates($g2c7, $k17, $a1df, $l2cd);
}
}
}
if ($g2c7 !== '') {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('SVRTTUlE') => $g2c7, base64_decode('SVRTTVR5cGVJRA==') => $k17);
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('RmFpbA=='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('c2VuZElUU01Bc01haWxXaXRoUERG')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_GET[base64_decode('SVRTTUlE')];
$q54 = $_GET[base64_decode('VHlwZQ==')];
$u2ce = $_GET[base64_decode('c2VsZWN0ZWRFbWFpbA==')];
$i16 = getITSMTableName($k17);
$i268 = getModuleType($k17);
$y5 = getUserLanguage($x9d);
$j6 = getLanguageCode($y5);
$t18 = getITSMTypeName($k17);
$r195 = sendITSMAsMailWithPDF($k17, $g35, $p8a, $i268, $j6, $q54, $mb6);
$s2cf = new \Mpdf\Mpdf();
$s2cf->SetTitle("Form $t18: $g35");
$r2d0 = "<br><br><br><br><h1>$t18: $g35</h1>";
foreach ($r195 as $u52) {
if (!empty($u52[base64_decode('RmllbGRMYWJlbA==')])) {
if ($u52[base64_decode('RmllbGRMYWJlbA==')] == base64_decode('L24=')) {
$r2d0 .= base64_decode('PGJyPg==');
} else {
$y2d1 = translate(convertOnClickToHref($u52[base64_decode('RmllbGRWYWx1ZQ==')]));
$w2d2 = translate($u52[base64_decode('RmllbGRMYWJlbA==')]);
$r2d0 .= base64_decode('PGI+') . htmlspecialchars($w2d2, ENT_QUOTES) . base64_decode('OiA8L2I+') . $y2d1 . base64_decode('PGJyPg==');
}
}
}
$s2cf->WriteHTML($r2d0);
$d2d3 = __DIR__ . base64_decode('L3VwbG9hZHMvZmlsZXNfaXRzbQ==');
$k2d4 = "form_$k17" . base64_decode('Xw==') . $g35 . time() . base64_decode('LnBkZg==');
$z2d5 = "$d2d3/$k2d4";
$s2cf->Output($z2d5, base64_decode('Rg=='));
$oa = "INSERT INTO files_itsm (FileName, FileNameOriginal, RelatedElementID, Date, RelatedUserID, RelatedType, FileContent)
VALUES ('$k2d4','$k2d4','$g35',NOW(),'$x9d','$k17',NULL);";
mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
if (!empty($u2ce)) {
$g2d6 = "$t18: $g35";
$z2d7 = sendMailToSinglePerson($u2ce, $u2ce, $g2d6, $r2d0, $z2d5, $k2d4);
if ($z2d7) {
$p2d8 = "Email sent successfully to $u2ce";
} else {
$p2d8 = "Failed to send email to $u2ce";
}
}
if (file_exists($z2d5)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('SVRTTUlE') => $g35, base64_decode('SVRTTVR5cGVJRA==') => $k17);
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('RmFpbA=='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTUZyb21JVFNN')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$g35 = $_POST[base64_decode('SVRTTUlE')];
$d290 = array();
$oa = base64_decode('U0VMRUNUIEZpZWxkTmFtZQ0KICAgICAgICAgIEZST00gaXRzbV9maWVsZHNsaXN0DQogICAgICAgICAgV0hFUkUgRmllbGROYW1lICE9ICdJRCcgQU5EIFJlbGF0ZWRUeXBlSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
array_push($d290, $l14[0]);
}
foreach ($d290 as $r2a) {
$n2c5 = getITSMFieldPreValue($g35, $i16, $r2a);
$v2d9[] = array(base64_decode('RmllbGQ=') => $r2a, base64_decode('VmFsdWU=') => $n2c5);
}
if (!empty($v2d9)) {
echo json_encode($v2d9);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('YWRkYWxscHJvamVjdHRhc2tzdG90YXNrc2xpc3Rz')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$mcb = $_POST[base64_decode('UHJvamVjdElE')];
$j9f = base64_decode('MTM=');
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdGFza3MuSUQgQVMgUHJvamVjdFRhc2tJRA0KICAgICAgICAgIEZST00gcHJvamVjdF90YXNrcw0KICAgICAgICAgIElOTkVSIEpPSU4gcHJvamVjdHMgT04gcHJvamVjdF90YXNrcy5SZWxhdGVkUHJvamVjdCA9IHByb2plY3RzLklEDQogICAgICAgICAgV0hFUkUgcHJvamVjdF90YXNrcy5SZWxhdGVkUHJvamVjdCA9ID8gQU5EIHByb2plY3RfdGFza3MuU3RhdHVzIE5PVCBJTiAoNiw3KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$l147 = $l14[base64_decode('UHJvamVjdFRhc2tJRA==')];
$yb4 = "projects_tasks_view.php?projecttaskid=$l147";
$t2c0 = addtotaskslist($l147, $p8a, $j9f, $yb4);
$fe[] = array(base64_decode('UHJvamVjdFRhc2tJRA==') => $l147, base64_decode('RXhpc3Rz') => $t2c0);
}
echo json_encode($fe, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('ZGVsZXRlRm9ybUZpZWxk')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$m1a = getRelatedFormFieldName($o49);
$q1d = getRelatedFormID($o49);
$j4f = getRelatedFormTableName($q1d);
$l2da = "DELETE FROM forms_fieldslist WHERE ID = $o49;";
mysqli_query($zc, $l2da);
$n2db = "ALTER TABLE $j4f DROP COLUMN $m1a;";
mysqli_query($zc, $n2db);
}
if (isset($_GET[base64_decode('ZGVsZXRlQ0lGaWVsZA==')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$m1a = $_POST[base64_decode('RmllbGROYW1l')];
$m10 = getCITypeFromFieldID($o49);
$j4f = getCITableName($m10);
$oa = base64_decode('REVMRVRFIEZST00gY21kYl9jaV9maWVsZHNsaXN0IFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $o49);
$sb->execute();
$n2db = "ALTER TABLE $j4f DROP COLUMN $m1a;";
$p2dc = mysqli_query($zc, $n2db);
$s119 = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('Q0lUeXBlSUQ=') => $m10);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlSVRTTUZpZWxk')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$m1a = getITSMFieldNameFromFieldID($o49);
$k17 = getITSMTypeFromFieldID($o49);
$j4f = getITSMTableName($k17);
$oa = base64_decode('REVMRVRFIEZST00gaXRzbV9maWVsZHNsaXN0IFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $o49);
$sb->execute();
$n2db = "ALTER TABLE $j4f DROP COLUMN $m1a;";
$p2dc = mysqli_query($zc, $n2db);
$s119 = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('SVRTTVR5cGVJRA==') => $k17);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlSVRTTVN0YXR1cw==')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$a2dd = $_GET[base64_decode('U3RhdHVzSUQ=')];
deleteRelatedSLAMatrixEntries($a2dd);
$oa = base64_decode('REVMRVRFIEZST00gaXRzbV9zdGF0dXNjb2RlcyBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $a2dd);
$sb->execute();
$d13 = $sb->get_result();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlSVRTTVNMQQ==')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p2de = $_GET[base64_decode('U0xBSUQ=')];
$oa = base64_decode('REVMRVRFIEZST00gaXRzbV9zbGFfbWF0cml4IFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p2de);
$sb->execute();
$d13 = $sb->get_result();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlSVRTTUVtYWls')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$z2df = $_GET[base64_decode('RW1haWxJRA==')];
$oa = base64_decode('REVMRVRFIEZST00gaXRzbV9lbWFpbHMgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $z2df);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('Z2V0Rm9ybUZpZWxkVmFsdWU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$q1d = getFormTypeIDFromFieldID($o49);
$oa = base64_decode('U0VMRUNUICoNCiAgICAgICAgICBGUk9NIGZvcm1zX2ZpZWxkc2xpc3QNCiAgICAgICAgICBXSEVSRSBJRCA9ID8=');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('aQ=='), $o49);
$sb->execute();
$d13 = $sb->get_result();
$l14 = $d13->fetch_assoc();
$u2e0 = array();
foreach ($l14 as $z5c => $r2a) {
$u52 = array(base64_decode('ZmllbGROYW1l') => $z5c, base64_decode('ZmllbGRWYWx1ZQ==') => $r2a, base64_decode('Rm9ybUlE') => $q1d,);
$u2e0[] = $u52;
}
if (isset($l14[base64_decode('RGVmYXVsdEZpZWxk')])) {
$u2e0[] = array(base64_decode('ZmllbGROYW1l') => base64_decode('RGVmYXVsdEZpZWxk'), base64_decode('ZmllbGRWYWx1ZQ==') => $l14[base64_decode('RGVmYXVsdEZpZWxk')],);
}
mysqli_free_result($d13);
echo json_encode($u2e0);
}
if (isset($_GET[base64_decode('Z2V0Q0lGaWVsZFZhbHVl')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$m10 = getCITypeIDFromFieldID($o49);
$oa = base64_decode('U0VMRUNUICoNCiAgICAgICAgICBGUk9NIGNtZGJfY2lfZmllbGRzbGlzdA0KICAgICAgICAgIFdIRVJFIElEID0gPw==');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('aQ=='), $o49);
$sb->execute();
$d13 = $sb->get_result();
$l14 = $d13->fetch_assoc();
$u2e0 = array();
foreach ($l14 as $z5c => $r2a) {
$u52 = array(base64_decode('ZmllbGROYW1l') => $z5c, base64_decode('ZmllbGRWYWx1ZQ==') => $r2a,);
$u2e0[] = $u52;
}
if (isset($l14[base64_decode('RGVmYXVsdEZpZWxk')])) {
$u2e0[] = array(base64_decode('ZmllbGROYW1l') => base64_decode('RGVmYXVsdEZpZWxk'), base64_decode('ZmllbGRWYWx1ZQ==') => $l14[base64_decode('RGVmYXVsdEZpZWxk')], base64_decode('Q0lUeXBlSUQ=') => $m10,);
}
mysqli_free_result($d13);
echo json_encode($u2e0);
}
if (isset($_GET[base64_decode('Z2V0SVRTTUZpZWxkVmFsdWU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$k17 = getITSMTypeIDFromFieldID($o49);
$oa = base64_decode('U0VMRUNUICoNCiAgICAgICAgICBGUk9NIGl0c21fZmllbGRzbGlzdA0KICAgICAgICAgIFdIRVJFIElEID0gPw==');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('aQ=='), $o49);
$sb->execute();
$d13 = $sb->get_result();
$l14 = $d13->fetch_assoc();
$u2e0 = array();
foreach ($l14 as $z5c => $r2a) {
$u52 = array(base64_decode('ZmllbGROYW1l') => $z5c, base64_decode('ZmllbGRWYWx1ZQ==') => $r2a,);
$u2e0[] = $u52;
}
if (isset($l14[base64_decode('RGVmYXVsdEZpZWxk')])) {
$u2e0[] = array(base64_decode('ZmllbGROYW1l') => base64_decode('RGVmYXVsdEZpZWxk'), base64_decode('ZmllbGRWYWx1ZQ==') => $l14[base64_decode('RGVmYXVsdEZpZWxk')], base64_decode('SVRTTVR5cGVJRA==') => $k17,);
}
mysqli_free_result($d13);
echo json_encode($u2e0);
}
if (isset($_GET[base64_decode('Z2V0SVRTTVN0YXR1c1ZhbHVl')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$a2dd = $_POST[base64_decode('U3RhdHVzSUQ=')];
$oa = base64_decode('U0VMRUNUIElELCBTdGF0dXNDb2RlLCBTdGF0dXNOYW1lLCBTTEEsIENsb3NlZFN0YXR1cw0KICAgICAgICAgIEZST00gaXRzbV9zdGF0dXNjb2Rlcw0KICAgICAgICAgIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $a2dd);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == base64_decode('MA==')) {
$s119 = array(base64_decode('U3RhdHVzQ29kZQ==') => '', base64_decode('U3RhdHVzTmFtZQ==') => '');
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('Q2xvc2VkU3RhdHVz') => $l14[base64_decode('Q2xvc2VkU3RhdHVz')], base64_decode('U3RhdHVzSUQ=') => $l14[base64_decode('SUQ=')], base64_decode('U3RhdHVzQ29kZQ==') => $l14[base64_decode('U3RhdHVzQ29kZQ==')], base64_decode('U3RhdHVzTmFtZQ==') => $l14[base64_decode('U3RhdHVzTmFtZQ==')], base64_decode('U0xB') => $l14[base64_decode('U0xB')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0U0xBVmFsdWVz')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$p2de = $_POST[base64_decode('U0xBSUQ=')];
$oa = base64_decode('U0VMRUNUIElELFAxLFAyLFAzLFA0DQogICAgICAgICAgRlJPTSBpdHNtX3NsYV9tYXRyaXgNCiAgICAgICAgICBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p2de);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == base64_decode('MA==')) {
$s119 = array([]);
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('UDE=') => $l14[base64_decode('UDE=')], base64_decode('UDI=') => $l14[base64_decode('UDI=')], base64_decode('UDM=') => $l14[base64_decode('UDM=')], base64_decode('UDQ=') => $l14[base64_decode('UDQ=')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0RW1haWxWYWx1ZXM=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$z2df = $_POST[base64_decode('RW1haWxJRA==')];
$oa = base64_decode('U0VMRUNUIElELCBFbWFpbCwgRGVmYXVsdEVtYWlsDQogICAgICAgICAgRlJPTSBpdHNtX2VtYWlscw0KICAgICAgICAgIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aQ=='), $z2df);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == base64_decode('MA==')) {
$s119 = array([]);
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('RW1haWw=') => $l14[base64_decode('RW1haWw=')], base64_decode('RGVmYXVsdEVtYWls') => $l14[base64_decode('RGVmYXVsdEVtYWls')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('c3luY0NJ')])) {
$t1b9 = array();
$s2e1 = '';
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$s2e1 = syncCI($m10);
if ($s2e1 == base64_decode('c3VjY2Vzcw==')) {
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
} else {
$t1b9[] = array(base64_decode('UmVzdWx0') => "$s2e1");
echo json_encode($t1b9);
$b2b6 = getCITypeName($m10);
$g2d6 = "Practicle Syncronization of $b2b6 failed";
$b6b = "Error: $s2e1";
$k2e2 = getAllAdministratorsEmail();
foreach ($k2e2 as $l2e3) {
$z187 = $l2e3[base64_decode('RW1haWw=')];
$j66 = $l2e3[base64_decode('TmFtZQ==')];
sendMailToSinglePerson($z187, $j66, $g2d6, $b6b);
}
}
}
if (isset($_GET[base64_decode('cmVzZXRDSVNvcnRPcmRlcg==')])) {
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$d13 = resetCISortOrder($m10);
if ($d13 == false) {
$n2e4[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbA=='));
echo json_encode($n2e4);
} else {
$n2e4[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($n2e4);
}
}
if (isset($_GET[base64_decode('cmVzZXRJVFNNU29ydE9yZGVy')])) {
$g35 = $_POST[base64_decode('SVRTTUlE')];
$d13 = resetITSMSortOrder($g35);
if ($d13 == false) {
$n2e4[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbA=='));
echo json_encode($n2e4);
} else {
$n2e4[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($n2e4);
}
}
if (isset($_GET[base64_decode('Q3JlYXRlQ0lSZWxhdGlvbnM=')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($x9d);
$j6 = getLanguageCode($y5);
$j2e5 = CreateCIRelations();
if (empty($j2e5)) {
$n2e4[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbA=='));
echo json_encode($n2e4);
} else {
$n2e4[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('VXNlckxhbmd1YWdlQ29kZQ==') => $j6);
echo json_encode($n2e4);
}
}
if (isset($_GET[base64_decode('dXBkYXRlRm9ybWZpZWxk')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$u2e0 = array();
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$z2e6 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$m1a = getFormFieldNameFromFieldID($o49);
$oa = base64_decode('VVBEQVRFIGZvcm1zX2ZpZWxkc2xpc3QgU0VUIA==');
$n2db = base64_decode('VVBEQVRFIGZvcm1zX2ZpZWxkc2xpc3QgU0VUIA==');
$g2e7 = array();
$n2e8 = '';
$c2e9 = array();
$e2ea = array(base64_decode('SW5kZXhlZA=='), base64_decode('SGlkZVRhYmxlcw=='), base64_decode('SGlkZUZvcm1z'), base64_decode('TG9ja2Vk'), base64_decode('UmVxdWlyZWQ='), base64_decode('QWRkRW1wdHk='), base64_decode('RnVsbEhlaWdodA=='), base64_decode('VXNlckZ1bGxOYW1l'));
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('UmVzdWx0RmllbGRz')) {
$h2ec = $c2eb[base64_decode('dmFsdWU=')];
}
}
$g7c = false;
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('VXNlckZ1bGxOYW1l')) {
if ($c2eb[base64_decode('dmFsdWU=')] == base64_decode('b24=')) {
$y2ed = makeLookupFieldResultTable($o49, base64_decode('Zm9ybQ=='));
$v2ee = makeLookupFieldResultView($o49, base64_decode('Zm9ybQ=='));
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ=='), base64_decode('dmFsdWU=') => $y2ed);
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3'), base64_decode('dmFsdWU=') => $v2ee);
$g7c = true;
}
}
}
if (!$g7c && $h2ec) {
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ=='), base64_decode('dmFsdWU=') => "$h2ec");
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3'), base64_decode('dmFsdWU=') => "$h2ec");
}
foreach ($e2ea as $b2ef) {
$a2f0 = false;
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === $b2ef) {
$a2f0 = true;
break;
}
}
if (!$a2f0) {
$z2e6[] = array(base64_decode('bmFtZQ==') => $b2ef, base64_decode('dmFsdWU=') => 0);
}
}
foreach ($z2e6 as $c2eb) {
$i2f1 = $c2eb[base64_decode('bmFtZQ==')];
$y2d1 = $c2eb[base64_decode('dmFsdWU=')];
if ($i2f1 === base64_decode('TG9va3VwVGFibGU=') && !empty($y2d1)) {
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGQ='), base64_decode('dmFsdWU=') => base64_decode('SUQ='));
}
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $c2eb[base64_decode('bmFtZQ==')] === base64_decode('TG9va3VwVGFibGUy') || $c2eb[base64_decode('bmFtZQ==')] === base64_decode('TG9va3VwRmllbGQy')) {
continue;
}
if (in_array($i2f1, $e2ea)) {
if ($y2d1 === base64_decode('b24=')) {
$y2d1 = 1;
if ($i2f1 === base64_decode('SW5kZXhlZA==')) {
alterTableAddFullTextToColumn($j4f, $m1a);
}
} elseif ($y2d1 === 0) {
if ($i2f1 === base64_decode('SW5kZXhlZA==')) {
alterTableRemoveFullTextOnColumn($j4f, $m1a);
}
}
} elseif ($i2f1 === base64_decode('QWRkb24=')) {
if ($y2d1 === '') {
$y2d1 = NULL;
}
}
$oa .= "$i2f1 = ?, ";
if ($y2d1 === '') {
$n2db .= "$i2f1 = NULL, ";
} else {
$n2db .= "$i2f1 = '$y2d1', ";
}
$g2e7[] = $y2d1;
$n2e8 .= base64_decode('cw==');
$c2e9[] = $i2f1;
}
$oa = rtrim($oa, base64_decode('LCA='));
$n2db = rtrim($n2db, base64_decode('LCA='));
$oa .= base64_decode('IFdIRVJFIElEID0gPw==');
$n2db .= " WHERE ID = $o49";
$g2e7[] = $o49;
$n2e8 .= base64_decode('cw==');
$sb = $zc->prepare($oa);
if (!$sb) {
errorlog(base64_decode('UHJlcGFyZSBmYWlsZWQ6IA==') . $zc->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('UHJlcGFyZSBmYWlsZWQ6IA==') . $zc->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
echo json_encode($u2e0);
exit;
}
if (!$sb->bind_param($n2e8, ...$g2e7)) {
errorlog(base64_decode('QmluZGluZyBwYXJhbWV0ZXJzIGZhaWxlZDog') . $sb->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('QmluZGluZyBwYXJhbWV0ZXJzIGZhaWxlZDog') . $sb->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
echo json_encode($u2e0);
exit;
}
$g2f2 = $sb->$b2f3;
$o2f4 = $oa . base64_decode('IFtQYXJhbXM6IA==');
for ($m2f5 = 0; $m2f5 < $g2f2; $m2f5++) {
$o2f4 .= $n2e8[$m2f5] . base64_decode('OiA=') . $g2e7[$m2f5] . base64_decode('LCA=');
}
$o2f4 = rtrim($o2f4, base64_decode('LCA='));
$o2f4 .= base64_decode('XQ==');
if (!$sb->execute()) {
errorlog(base64_decode('RXhlY3V0ZSBmYWlsZWQ6IA==') . $sb->$o294, base64_decode('dXBkYXRlRm9ybUZpZWxk'));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('RXhlY3V0ZSBmYWlsZWQ6IA==') . $sb->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
echo json_encode($u2e0);
exit;
} else {
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($u2e0);
}
}
if (isset($_GET[base64_decode('dXBkYXRlQ0lGaWVsZA==')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('UmVzdWx0') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$m10 = getCITypeIDFromTableName($j4f);
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$z2e6 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$m1a = getCIFieldNameFromFieldID($o49);
$oa = base64_decode('VVBEQVRFIGNtZGJfY2lfZmllbGRzbGlzdCBTRVQg');
$n2db = base64_decode('VVBEQVRFIGNtZGJfY2lfZmllbGRzbGlzdCBTRVQg');
$g2e7 = array();
$n2e8 = '';
$c2e9 = array();
$e2ea = array(base64_decode('SW5kZXhlZA=='), base64_decode('SGlkZVRhYmxlcw=='), base64_decode('SGlkZUZvcm1z'), base64_decode('TG9ja2Vk'), base64_decode('UmVxdWlyZWQ='), base64_decode('QWRkRW1wdHk='), base64_decode('RnVsbEhlaWdodA=='), base64_decode('UmVsYXRpb25TaG93RmllbGQ='), base64_decode('VXNlckZ1bGxOYW1l'), base64_decode('UmlnaHRDb2x1bW4='), base64_decode('TGFiZWxUeXBl'));
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('UmVzdWx0RmllbGRz')) {
$h2ec = $c2eb[base64_decode('dmFsdWU=')];
}
}
$g7c = false;
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('VXNlckZ1bGxOYW1l')) {
$y2ed = makeLookupFieldResultTable($o49, base64_decode('Y2k='));
$v2ee = makeLookupFieldResultView($o49, base64_decode('Y2k='));
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ=='), base64_decode('dmFsdWU=') => $y2ed);
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3'), base64_decode('dmFsdWU=') => $v2ee);
$g7c = true;
}
}
if (!$g7c && $h2ec) {
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ=='), base64_decode('dmFsdWU=') => "$h2ec");
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3'), base64_decode('dmFsdWU=') => "$h2ec");
}
foreach ($e2ea as $b2ef) {
$a2f0 = false;
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === $b2ef) {
$a2f0 = true;
break;
}
}
if (!$a2f0) {
$z2e6[] = array(base64_decode('bmFtZQ==') => $b2ef, base64_decode('dmFsdWU=') => 0);
}
}
foreach ($z2e6 as $c2eb) {
$i2f1 = $c2eb[base64_decode('bmFtZQ==')];
$y2d1 = $c2eb[base64_decode('dmFsdWU=')];
if ($i2f1 === base64_decode('TG9va3VwVGFibGU=') && !empty($y2d1)) {
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGQ='), base64_decode('dmFsdWU=') => base64_decode('SUQ='));
}
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $c2eb[base64_decode('bmFtZQ==')] === base64_decode('TG9va3VwVGFibGUy') || $c2eb[base64_decode('bmFtZQ==')] === base64_decode('TG9va3VwRmllbGQy')) {
continue;
}
if (in_array($i2f1, $e2ea)) {
if ($y2d1 === base64_decode('b24=')) {
$y2d1 = 1;
if ($i2f1 === base64_decode('SW5kZXhlZA==')) {
alterTableAddFullTextToColumn($j4f, $m1a);
}
} elseif ($y2d1 === 0) {
if ($i2f1 === base64_decode('SW5kZXhlZA==')) {
alterTableRemoveFullTextOnColumn($j4f, $m1a);
}
}
if ($i2f1 == base64_decode('UmVsYXRpb25TaG93RmllbGQ=')) {
if ($y2d1 == 0) {
$h2f6 = getCurrentRelationShowField($o49, base64_decode('Y2k='));
$s2f7 = checkRelationShowField($m10, base64_decode('Y2k='));
if ($y2d1 == 0 && $h2f6 == 1) {
if ($s2f7 <= base64_decode('MQ==')) {
$u2e0[] = array(base64_decode('UmVzdWx0') => translate(base64_decode('VGhlcmUgbXVzdCBiZSBhIHByaW1hcnkgZmllbGQ=')));
echo json_encode($u2e0);
return;
}
}
} else {
removeOtherRelationShowField(base64_decode('Y2k='), $m10);
}
}
} elseif ($i2f1 === base64_decode('QWRkb24=')) {
if ($y2d1 === '') {
$y2d1 = NULL;
}
}
$oa .= "$i2f1 = ?, ";
if ($y2d1 === '') {
$n2db .= "$i2f1 = NULL, ";
} else {
$n2db .= "$i2f1 = '$y2d1', ";
}
$g2e7[] = $y2d1;
$n2e8 .= base64_decode('cw==');
$c2e9[] = $i2f1;
}
$oa = rtrim($oa, base64_decode('LCA='));
$n2db = rtrim($n2db, base64_decode('LCA='));
$oa .= base64_decode('IFdIRVJFIElEID0gPw==');
$n2db .= " WHERE ID = $o49";
$g2e7[] = $o49;
$n2e8 .= base64_decode('cw==');
$sb = $zc->prepare($oa);
if (!$sb) {
errorlog(base64_decode('UHJlcGFyZSBmYWlsZWQ6IA==') . $zc->$o294, base64_decode('dXBkYXRlQ0lGaWVsZA=='));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('UHJlcGFyZSBmYWlsZWQ6IA==') . $zc->$o294, base64_decode('dXBkYXRlQ0lGaWVsZA=='));
echo json_encode($u2e0);
exit;
}
if (!$sb->bind_param($n2e8, ...$g2e7)) {
errorlog(base64_decode('QmluZGluZyBwYXJhbWV0ZXJzIGZhaWxlZDog') . $sb->$o294, base64_decode('dXBkYXRlQ0lGaWVsZA=='));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('QmluZGluZyBwYXJhbWV0ZXJzIGZhaWxlZDog') . $sb->$o294, base64_decode('dXBkYXRlQ0lGaWVsZA=='));
echo json_encode($u2e0);
exit;
}
$g2f2 = $sb->$b2f3;
$o2f4 = $oa . base64_decode('IFtQYXJhbXM6IA==');
for ($m2f5 = 0; $m2f5 < $g2f2; $m2f5++) {
$o2f4 .= $n2e8[$m2f5] . base64_decode('OiA=') . $g2e7[$m2f5] . base64_decode('LCA=');
}
$o2f4 = rtrim($o2f4, base64_decode('LCA='));
$o2f4 .= base64_decode('XQ==');
if (!$sb->execute()) {
errorlog(base64_decode('RXhlY3V0ZSBmYWlsZWQ6IA==') . $sb->$o294, base64_decode('dXBkYXRlQ0lGaWVsZA=='));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('RXhlY3V0ZSBmYWlsZWQ6IA==') . $sb->$o294, base64_decode('dXBkYXRlQ0lGaWVsZA=='));
echo json_encode($u2e0);
exit;
}
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($u2e0);
}
if (isset($_GET[base64_decode('dXBkYXRlSVRTTUZpZWxk')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$u2e0 = array();
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$k17 = getITSMTypeFromFieldID($o49);
$z2e6 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$m1a = getITSMFieldNameFromFieldID($o49);
$oa = base64_decode('VVBEQVRFIGl0c21fZmllbGRzbGlzdCBTRVQg');
$n2db = base64_decode('VVBEQVRFIGl0c21fZmllbGRzbGlzdCBTRVQg');
$g2e7 = array();
$n2e8 = '';
$c2e9 = array();
$e2ea = array(base64_decode('SW5kZXhlZA=='), base64_decode('SGlkZVRhYmxlcw=='), base64_decode('SGlkZUZvcm1z'), base64_decode('TG9ja2Vk'), base64_decode('UmVxdWlyZWQ='), base64_decode('QWRkRW1wdHk='), base64_decode('RnVsbEhlaWdodA=='), base64_decode('UmVsYXRpb25TaG93RmllbGQ='), base64_decode('VXNlckZ1bGxOYW1l'), base64_decode('UmlnaHRDb2x1bW4='), base64_decode('TGFiZWxUeXBl'));
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('UmVzdWx0RmllbGRz')) {
$h2ec = $c2eb[base64_decode('dmFsdWU=')];
}
}
$g7c = false;
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('VXNlckZ1bGxOYW1l')) {
if ($c2eb[base64_decode('dmFsdWU=')] == base64_decode('b24=')) {
$y2ed = makeLookupFieldResultTable($o49, base64_decode('aXRzbQ=='));
$v2ee = makeLookupFieldResultView($o49, base64_decode('aXRzbQ=='));
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ=='), base64_decode('dmFsdWU=') => $y2ed);
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3'), base64_decode('dmFsdWU=') => $v2ee);
$g7c = true;
}
}
}
if (!$g7c && $h2ec) {
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ=='), base64_decode('dmFsdWU=') => "$h2ec");
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3'), base64_decode('dmFsdWU=') => "$h2ec");
}
foreach ($e2ea as $b2ef) {
$a2f0 = false;
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === $b2ef) {
$a2f0 = true;
break;
}
}
if (!$a2f0) {
$z2e6[] = array(base64_decode('bmFtZQ==') => $b2ef, base64_decode('dmFsdWU=') => 0);
}
}
foreach ($z2e6 as $c2eb) {
$i2f1 = $c2eb[base64_decode('bmFtZQ==')];
$y2d1 = $c2eb[base64_decode('dmFsdWU=')];
if ($i2f1 === base64_decode('TG9va3VwVGFibGU=') && !empty($y2d1)) {
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGQ='), base64_decode('dmFsdWU=') => base64_decode('SUQ='));
}
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $c2eb[base64_decode('bmFtZQ==')] === base64_decode('TG9va3VwVGFibGUy') || $c2eb[base64_decode('bmFtZQ==')] === base64_decode('TG9va3VwRmllbGQy')) {
continue;
}
if (in_array($i2f1, $e2ea)) {
if ($y2d1 === base64_decode('b24=')) {
$y2d1 = 1;
if ($i2f1 === base64_decode('SW5kZXhlZA==')) {
alterTableAddFullTextToColumn($j4f, $m1a);
}
} elseif ($y2d1 === 0) {
if ($i2f1 === base64_decode('SW5kZXhlZA==')) {
alterTableRemoveFullTextOnColumn($j4f, $m1a);
}
}
}
if ($i2f1 == base64_decode('UmVsYXRpb25TaG93RmllbGQ=')) {
if ($y2d1 == 0) {
$h2f6 = getCurrentRelationShowField($o49, base64_decode('aXRzbQ=='));
$s2f7 = checkRelationShowField($k17, base64_decode('aXRzbQ=='));
if ($y2d1 == 0 && $h2f6 == 1) {
if ($s2f7 <= base64_decode('MQ==')) {
$u2e0[] = array(base64_decode('UmVzdWx0') => translate(base64_decode('VGhlcmUgbXVzdCBiZSBhIHByaW1hcnkgZmllbGQ=')));
echo json_encode($u2e0);
return;
}
}
} else {
removeOtherRelationShowField(base64_decode('aXRzbQ=='), $k17);
}
} elseif ($i2f1 === base64_decode('QWRkb24=')) {
if ($y2d1 === '') {
$y2d1 = NULL;
}
}
$oa .= "$i2f1 = ?, ";
if ($y2d1 === '') {
$n2db .= "$i2f1 = NULL, ";
} else {
$n2db .= "$i2f1 = '$y2d1', ";
}
$g2e7[] = $y2d1;
$n2e8 .= base64_decode('cw==');
$c2e9[] = $i2f1;
}
$oa = rtrim($oa, base64_decode('LCA='));
$n2db = rtrim($n2db, base64_decode('LCA='));
$oa .= base64_decode('IFdIRVJFIElEID0gPw==');
$n2db .= " WHERE ID = $o49";
$g2e7[] = $o49;
$n2e8 .= base64_decode('cw==');
$sb = $zc->prepare($oa);
if (!$sb) {
errorlog(base64_decode('UHJlcGFyZSBmYWlsZWQ6IA==') . $zc->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('UHJlcGFyZSBmYWlsZWQ6IA==') . $zc->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
echo json_encode($u2e0);
exit;
}
if (!$sb->bind_param($n2e8, ...$g2e7)) {
errorlog(base64_decode('QmluZGluZyBwYXJhbWV0ZXJzIGZhaWxlZDog') . $sb->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('QmluZGluZyBwYXJhbWV0ZXJzIGZhaWxlZDog') . $sb->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
echo json_encode($u2e0);
exit;
}
$g2f2 = $sb->$b2f3;
$o2f4 = $oa . base64_decode('IFtQYXJhbXM6IA==');
for ($m2f5 = 0; $m2f5 < $g2f2; $m2f5++) {
$o2f4 .= $n2e8[$m2f5] . base64_decode('OiA=') . $g2e7[$m2f5] . base64_decode('LCA=');
}
$o2f4 = rtrim($o2f4, base64_decode('LCA='));
$o2f4 .= base64_decode('XQ==');
if (!$sb->execute()) {
errorlog(base64_decode('RXhlY3V0ZSBmYWlsZWQ6IA==') . $sb->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('RXhlY3V0ZSBmYWlsZWQ6IA==') . $sb->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
echo json_encode($u2e0);
exit;
} else {
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($u2e0);
}
}
if (isset($_GET[base64_decode('dXBkYXRlSVRTTVN0YXR1cw==')])) {
$a2dd = $_GET[base64_decode('U3RhdHVzSUQ=')];
$y2f8 = $_GET[base64_decode('U3RhdHVzQ29kZQ==')];
$v78 = $_GET[base64_decode('U3RhdHVzTmFtZQ==')];
$x2c8 = $_GET[base64_decode('U0xB')];
$z1ed = $_GET[base64_decode('Q2xvc2VkU3RhdA==')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$j2f9 = getPreSLA($a2dd);
if ($x2c8 == base64_decode('Mg==')) {
$x2c8 = base64_decode('MA==');
}
if ($j2f9 !== $x2c8) {
if ($x2c8 == base64_decode('MA==')) {
deleteStatusSLAEntries($k17, $y2f8);
} else {
createStatusSLAEntries($k17, $y2f8);
}
}
if ($z1ed == base64_decode('Mg==')) {
$z1ed = base64_decode('MA==');
}
$oa = base64_decode('VVBEQVRFIGl0c21fc3RhdHVzY29kZXMgU0VUIFN0YXR1c0NvZGUgPSA/LCBTdGF0dXNOYW1lID0gPywgU0xBID0gPywgQ2xvc2VkU3RhdHVzID0gPw0KICAgICAgICAgIFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $y2f8, $v78, $x2c8, $z1ed, $a2dd);
$sb->execute();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dXBkYXRlU0xBVmFsdWVz')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p2de = $_POST[base64_decode('U0xBSUQ=')];
$h2fa = $_POST[base64_decode('UDE=')];
$k2fb = $_POST[base64_decode('UDI=')];
$r2fc = $_POST[base64_decode('UDM=')];
$p2fd = $_POST[base64_decode('UDQ=')];
$oa = base64_decode('VVBEQVRFIGl0c21fc2xhX21hdHJpeCBTRVQgUDEgPSA/LCBQMiA9ID8sIFAzID0gPywgUDQgPSA/IA0KICAgICAgICAgIFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $h2fa, $k2fb, $r2fc, $p2fd, $p2de);
$sb->execute();
$d13 = $sb->get_result();
$s119[] = array(base64_decode('UmVzdWx0SXM=') => base64_decode('c3VjY2Vz'));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dXBkYXRlSVRTTUVtYWls')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$z2df = $_POST[base64_decode('RW1haWxJRA==')];
$g2fe = $_POST[base64_decode('SVRTTUVtYWls')];
$q2ff = $_POST[base64_decode('RGVmYXVsdEVtYWls')];
if ($q2ff == base64_decode('Mg==')) {
$q2ff = base64_decode('MA==');
}
$oa = base64_decode('VVBEQVRFIGl0c21fZW1haWxzIFNFVCBFbWFpbCA9ID8sIERlZmF1bHRFbWFpbCA9ID8gDQogICAgICAgICAgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Np'), $g2fe, $q2ff, $z2df);
$sb->execute();
$d13 = $sb->get_result();
$s119[] = array(base64_decode('UmVzdWx0SXM=') => base64_decode('c3VjY2Vz'));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlRm9ybQ==')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1d = $_GET[base64_decode('Rm9ybUlE')];
$oa = base64_decode('VVBEQVRFIGZvcm1zIFNFVCBTdGF0dXMgPSAwLCBBY3RpdmUgPSAwIFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $q1d);
$sb->execute();
$sb->get_result();
mysqli_stmt_close($sb);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlQ0k=')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1f = $_GET[base64_decode('Q0lJRA==')];
$df = getCITableName($q1f);
$m10 = getCITypeIDFromTableName($df);
dropCITable($df);
deleteCIFromCMDBCITable($q1f);
deleteCIFields($q1f);
deleteCIRelations($df);
deleteCILogs($m10);
deleteCIFiles($m10);
}
if (isset($_GET[base64_decode('ZGVsZXRlSVRTTQ==')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$k17 = $_GET[base64_decode('SVRTTUlE')];
$i16 = getITSMTableName($k17);
dropITSMTable($i16);
deleteITSMFromITSMTable($k17);
deleteITSMFields($k17);
deleteITSMRelations($i16);
deleteITSMFiles($k17);
deleteITSMLogs($k17);
deleteITSMStatusCodes($k17);
deleteITSMSLAMatrix($k17);
deleteITSMSLATimelines($k17);
deleteITSMParticipants($k17);
deleteITSMTasks($k17);
}
if (isset($_GET[base64_decode('cmVzZXRJVFNNTW9kdWxl')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
deleteITSMs($i16);
deleteITSMRelations($i16);
deleteITSMFiles($k17);
deleteITSMLogs($k17);
deleteITSMSLATimelines($k17);
deleteITSMParticipants($k17);
deleteITSMTasks($k17);
deleteITSMWorkFlows($k17);
$s119 = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('cmVzZXRBbGxJVFNNTW9kdWxlcw==')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$j300 = getActiveITSMModules();
foreach ($j300 as $l14) {
$k17 = $l14[base64_decode('SUQ=')];
$i16 = getITSMTableName($k17);
deleteITSMs($i16);
deleteITSMRelations($i16);
deleteITSMFiles($k17);
deleteITSMLogs($k17);
deleteITSMSLATimelines($k17);
deleteITSMParticipants($k17);
deleteITSMTasks($k17);
deleteITSMWorkFlows($k17);
}
$s119 = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('cmVzZXRDSQ==')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
truncateCITable($df);
deleteCIRelations($df);
deleteCILogs($m10);
deleteCIFiles($m10);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlRm9ybQ==')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$k301 = generateRandomString(15);
$j4f = "formstable_$k301";
$c302 = $_GET[base64_decode('Rm9ybXNOYW1l')];
$u303 = $_GET[base64_decode('Rm9ybURlc2NyaXB0aW9u')];
$oa = base64_decode('SU5TRVJUIElOVE8gZm9ybXMgKEZvcm1zTmFtZSwgVGFibGVOYW1lLCBEZXNjcmlwdGlvbiwgQ3JlYXRlZEJ5KSBWQUxVRVMgKD8sPyw/LD8p');
$sb = mysqli_prepare($zc, $oa);
if (!$sb) {
$m1b = mysqli_error($zc);
$fe[] = array(base64_decode('ZXJyb3I=') => "Failed to prepare the SQL statement: $m1b");
echo json_encode($fe);
return;
}
$sb->bind_param(base64_decode('c3Nzcw=='), $c302, $j4f, $u303, $p8a);
if (!$sb->execute()) {
$m1b = $sb->$o294;
$fe[] = array(base64_decode('ZXJyb3I=') => "Failed to execute the SQL statement: $m1b");
echo json_encode($fe);
return;
}
$w304 = mysqli_insert_id($zc);
$e305 = "formid=$w304";
$n2db = "CREATE TABLE IF NOT EXISTS $j4f (
ID INT AUTO_INCREMENT,
RelatedRequestID INT NULL,
PRIMARY KEY (ID))";
if (!mysqli_query($zc, $n2db)) {
$m1b = mysqli_error($zc);
$fe[] = array(base64_decode('ZXJyb3I=') => "Failed to create the table: $m1b");
echo json_encode($fe);
return;
}
$k306 = "ALTER TABLE $j4f COMMENT = '$e305'";
if (!mysqli_query($zc, $k306)) {
$m1b = mysqli_error($zc);
$fe[] = array(base64_decode('ZXJyb3I=') => "Failed to set table comment: $m1b");
echo json_encode($fe);
return;
}
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $rd");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('Y3JlYXRlQ0lSZWxhdGlvbg==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
if ($p8a == '') {
$p8a = base64_decode('MQ==');
}
$n307 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$d308 = getCITableName($n307);
$m309 = $_GET[base64_decode('Q0lJRA==')];
$t30a = $_GET[base64_decode('Q0lUYWJsZU5hbWUy')];
$p30b = getCITypeIDFromTableName($t30a);
$n2d = $_GET[base64_decode('Q0lJRDI=')];
$t2c0 = checkifCIRelationExists($d308, $t30a, $m309, $n2d);
if ($t2c0 == base64_decode('MQ==')) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('UmVsYXRpb24gZXhpc3RzIQ=='), base64_decode('Q0lUeXBlSUQ=') => $m10);
echo json_encode($s119);
return;
}
$c30c = $_GET[base64_decode('UmVsYXRpb25UeXBl')];
if ($c30c === base64_decode('cGFyZW50')) {
$oa = base64_decode('SU5TRVJUIElOVE8gY21kYl9jaV9yZWxhdGlvbnMoQ0lUYWJsZTEsIENJVGFibGUyLCBDSTFJRCwgQ0kySUQsIGF1dG8pIFZBTFVFUyAoPyw/LD8sPywnMCcpOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3NpaQ=='), $t30a, $d308, $n2d, $m309);
$sb->execute();
$d13 = $sb->get_result();
$t30d = getCINameFromTableName($t30a);
$d30e = getCILookupField($p30b);
$l30f = getCIFieldValue($n2d, $d30e, $t30a);
$ra3 = "Relation created to child $t30d $l30f";
createCILogEntry($m309, $n307, $p8a, $ra3);
}
if ($c30c === base64_decode('Y2hpbGQ=')) {
$oa = base64_decode('SU5TRVJUIElOVE8gY21kYl9jaV9yZWxhdGlvbnMoQ0lUYWJsZTEsIENJVGFibGUyLCBDSTFJRCwgQ0kySUQpIFZBTFVFUyAoPyw/LD8sPyk7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3NpaQ=='), $d308, $t30a, $m309, $n2d);
$sb->execute();
$d13 = $sb->get_result();
$f310 = getCINameFromTableName($d308);
$v311 = getCILookupField($n307);
$s312 = getCIFieldValue($m309, $v311, $d308);
$ra3 = "Relation created to parent $f310 $s312";
createCILogEntry($n2d, $p30b, $p8a, $ra3);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('Q0lUeXBlSUQ=') => $m10);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlQ0lSZWxhdGlvbklUU00=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($p8a);
$j6 = getLanguageCode($y5);
if ($p8a == '') {
$p8a = base64_decode('MQ==');
}
$i16 = $_GET[base64_decode('SVRTTVRhYmxlTmFtZQ==')];
$k17 = getITSMTypeIDFromTableName($i16);
$t18 = getITSMTypeName($k17);
$g35 = $_GET[base64_decode('SVRTTUlE')];
$v313 = $_GET[base64_decode('Q0lUYWJsZQ==')];
$q1f = $_GET[base64_decode('Q0lJRA==')];
$b2b6 = getCINameFromTableName($v313);
$m10 = getCITypeIDFromTableName($v313);
$y314 = getCIFieldToWorkAsID($m10);
$i315 = getCIFieldValue($q1f, $y314, $v313);
if ($q1f !== '') {
$oa = base64_decode('SU5TRVJUIElOVE8gY21kYl9jaV9pdHNtX3JlbGF0aW9ucyhJVFNNVGFibGUsIENJVGFibGUsIElUU01JRCwgQ0lJRCkgVkFMVUVTICg/LD8sPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $i16, $v313, $g35, $q1f);
$sb->execute();
$d13 = $sb->get_result();
$v316 = "Relation created to $t18: $g35";
createCILogEntry($q1f, $m10, $p8a, $v316);
$c317 = "Relation created to $b2b6 $i315";
createITSMLogEntry($g35, $k17, $p8a, $c317);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('SVRTTVR5cGVJRA==') => $k17, base64_decode('Q0lUeXBlSUQ=') => $m10, base64_decode('VXNlckxhbmd1YWdlQ29kZQ==') => $j6);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTVJlbGF0aW9uQ0k=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($p8a);
$j6 = getLanguageCode($y5);
if ($p8a == '') {
$p8a = base64_decode('MQ==');
}
$i16 = $_GET[base64_decode('SVRTTVRhYmxlTmFtZQ==')];
$k17 = getITSMTypeIDFromTableName($i16);
$t18 = getITSMTypeName($k17);
$g35 = $_GET[base64_decode('SVRTTUlE')];
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$q1f = $_GET[base64_decode('Q0lJRA==')];
$b2b6 = getCINameFromTypeID($m10);
$df = getCITableName($m10);
$y314 = getCIFieldToWorkAsID($m10);
$i315 = getCIFieldValue($q1f, $y314, $df);
if ($q1f !== '') {
$oa = base64_decode('SU5TRVJUIElOVE8gY21kYl9jaV9pdHNtX3JlbGF0aW9ucyhJVFNNVGFibGUsIENJVGFibGUsIElUU01JRCwgQ0lJRCkgVkFMVUVTICg/LD8sPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $i16, $df, $g35, $q1f);
$sb->execute();
$d13 = $sb->get_result();
$v316 = "Relation created to $t18: $g35";
createCILogEntry($q1f, $m10, $p8a, $v316);
$c317 = "Relation created to $b2b6 $i315";
createITSMLogEntry($g35, $k17, $p8a, $c317);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('SVRTTVR5cGVJRA==') => $k17, base64_decode('VXNlckxhbmd1YWdlQ29kZQ==') => $j6, base64_decode('TWVzc2FnZQ==') => translate(base64_decode('UmVsYXRpb24gY3JlYXRlZA==')));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTVJlbGF0aW9uSVRTTQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($p8a);
$j6 = getLanguageCode($y5);
if ($p8a == '') {
$p8a = base64_decode('MQ==');
}
$w318 = $_GET[base64_decode('SVRTTVRhYmxlTmFtZTE=')];
$f319 = $_GET[base64_decode('SVRTTUlEMQ==')];
$e31a = $_GET[base64_decode('SVRTTVRhYmxlTmFtZTI=')];
$f31b = $_GET[base64_decode('SVRTTUlEMg==')];
$u31c = getITSMTypeIDFromTableName($w318);
$s31d = getITSMTypeName($u31c);
$q41 = getITSMTypeIDFromTableName($e31a);
$f31e = getITSMTypeName($q41);
$u31f = getITSMFieldToWorkAsID($u31c);
$m320 = getITSMFieldToWorkAsID($q41);
$x321 = getITSMFieldValue($f319, $u31f, $w318);
$m322 = getITSMFieldValue($f31b, $m320, $e31a);
if ($f319 !== '') {
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV9yZWxhdGlvbnMoVGFibGUxLCBUYWJsZTIsIElEMSwgSUQyKSBWQUxVRVMgKD8sPyw/LD8pOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $w318, $e31a, $f319, $f31b);
$sb->execute();
$d13 = $sb->get_result();
$v316 = "Relation created to $f31e $f31b: $m322";
createITSMLogEntry($f319, $u31c, $p8a, $v316);
$c317 = "Relation created to $s31d $f319: $x321";
createITSMLogEntry($f31b, $q41, $p8a, $c317);;
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('SVRTTVR5cGVJRA==') => $u31c, base64_decode('VXNlckxhbmd1YWdlQ29kZQ==') => $j6);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlUmVsQ0lSZWw=')])) {
$d22 = $_GET[base64_decode('UmVsYXRpb25JRA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$x323 = getCIRelationTableName($d22, base64_decode('Q0lUYWJsZTE='));
$s324 = getCIRelationTableName($d22, base64_decode('Q0lUYWJsZTI='));
$y325 = getCIRelationCIID($d22, base64_decode('Q0kxSUQ='));
$c326 = getCIRelationCIID($d22, base64_decode('Q0kySUQ='));
$p327 = getCITypeIDFromTableName($x323);
$b328 = getCITypeIDFromTableName($s324);
$p329 = getCINameFromTableName($x323);
$d32a = getCINameFromTableName($s324);
$l32b = getCILookupField($p327);
$g32c = getCILookupField($b328);
$f32d = getCIFieldValue($y325, $l32b, $x323);
$b32e = getCIFieldValue($c326, $g32c, $s324);
$q32f = "Relation deleted to child $d32a $b32e";
createCILogEntry($y325, $p327, $p8a, $q32f);
$c330 = "Relation deleted to parent $p329 $f32d";
createCILogEntry($c326, $b328, $p8a, $c330);
$oa = base64_decode('REVMRVRFIEZST00gY21kYl9jaV9yZWxhdGlvbnMgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aQ=='), $d22);
$sb->execute();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlUmVsSVRTTVJlbA==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($p8a);
$j6 = getLanguageCode($y5);
$d22 = $_GET[base64_decode('UmVsYXRpb25JRA==')];
$t1b9 = getITSMRelationInfo($d22);
foreach ($t1b9 as $l14) {
$y2b = $l14[base64_decode('VGFibGUx')];
$j2c = $l14[base64_decode('VGFibGUy')];
$p36 = $l14[base64_decode('SUQx')];
$y37 = $l14[base64_decode('SUQy')];
$u31c = getITSMTypeIDFromTableName($y2b);
$q41 = getITSMTypeIDFromTableName($j2c);
$s31d = getITSMNameFromTableName($y2b);
$f31e = getITSMNameFromTableName($j2c);
$l331 = getITSMFieldToWorkAsID($u31c);
$n332 = getITSMFieldToWorkAsID($q41);
$i3f = getITSMFieldValue($p36, $l331, $y2b);
$o3b = getITSMFieldValue($y37, $n332, $j2c);
$v316 = "Relation deleted to $s31d $p36: $i3f";
$c317 = "Relation deleted to $f31e $y37: $o3b";
createITSMLogEntry($p36, $u31c, $p8a, $c317);
createITSMLogEntry($y37, $q41, $p8a, $v316);
}
deleteITSMRelation($d22);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('SVRTTVR5cGVJRA==') => $u31c, base64_decode('VXNlckxhbmd1YWdlQ29kZQ==') => $j6);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlQ0lUb0VsZW1lbnRSZWxhdGlvbg==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($p8a);
$j6 = getLanguageCode($y5);
$d22 = $_GET[base64_decode('UmVsYXRpb25JRA==')];
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_GET[base64_decode('SVRTTUlE')];
$q1f = getCIIDFromElementRelationID($d22);
$q2e = getCINameFromTypeID($m10);
$i333 = getITSMNameFromITSMType($k17);
$oa = base64_decode('REVMRVRFDQogICAgICAgICAgRlJPTSBjbWRiX2NpX2l0c21fcmVsYXRpb25zDQogICAgICAgICAgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aQ=='), $d22);
$sb->execute();
$ra3 = "Relation deleted for $i333: $g35";
createCILogEntry($q1f, $m10, $p8a, $ra3);
$v316 = "Relation deleted for $q2e: $q1f";
createITSMLogEntry($g35, $k17, $p8a, $v316);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('SVRTTVR5cGVJRA==') => $k17, base64_decode('SVRTTUlE') => $g35, base64_decode('Q0lJRA==') => $q1f, base64_decode('VXNlckxhbmd1YWdlQ29kZQ==') => $j6);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlRGF0YWJhc2VCYWNrdXA=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$k17 = $_GET[base64_decode('aXRzbXR5cGVpZA==')];
$d13 = createDatabaseBackup($k17, $p8a);
if ($d13 == base64_decode('Q29tcGxldGVk')) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => "$d13");
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlRGF0YWJhc2VCYWNrdXA=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$n334 = $_GET[base64_decode('cmVzdG9yZXBvaW50aWQ=')];
$d13 = deleteDatabaseBackup($n334);
if ($d13 == base64_decode('Q29tcGxldGVk')) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('RXJyb3I='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('cmVzdG9yZURhdGFiYXNlQmFja3Vw')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$n334 = $_GET[base64_decode('cmVzdG9yZXBvaW50aWQ=')];
$d13 = restoreDatabaseBackup($n334);
if ($d13 == base64_decode('Q29tcGxldGVk')) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('RXJyb3I='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('b3B0aW1pemVEYXRhYmFzZQ==')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$d13 = optimizeDatabase($p8a);
if ($d13 == base64_decode('Q29tcGxldGVk')) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('RXJyb3I='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('c2NhbkZvckNWUkluV2lraQ==')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0)) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$d13 = scanForCVR(base64_decode('a25vd2xlZGdlX2RvY3VtZW50cw=='), base64_decode('Q29udGVudEZ1bGxUZXh0'), base64_decode('TmFtZQ=='), base64_decode('Nw=='));
if (!empty($d13)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('UmVzdWx0RnJvbVF1ZXJ5') => $d13);
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('RXJyb3I='), base64_decode('UmVzdWx0RnJvbVF1ZXJ5') => base64_decode('Tm8gQ1ZSIG51bWJlcnMgZm91bmQ='));
echo json_encode($s119);
}
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAx'));
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('RXJyb3I='), base64_decode('UmVzdWx0RnJvbVF1ZXJ5') => "You need to be a member of $rd");
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('cmVzZXRJVFNNTW9kdWxlcw==')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$d13 = resetITSMModules();
if ($d13 == base64_decode('Q29tcGxldGVk')) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('RXJyb3I='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Y3JlYXRlQ0lOZXc=')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$k292 = $_GET[base64_decode('cmVzdWx0')];
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$oa = "INSERT INTO $df (";
foreach ($k292 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
$oa .= "$y2c4,";
}
$oa .= base64_decode('KSBWQUxVRVMgKA==');
foreach ($k292 as $z5c => $r2a) {
$j66 = $r2a[base64_decode('bmFtZQ==')];
$p298 = getCIFieldType($m10, $j66);
switch ($j66) {
case base64_decode('Q3JlYXRlZA=='):
$q335 = date(base64_decode('WS1tLWQgSDppOnM='));
break;
case base64_decode('U3RhcnREYXRl'):
$q335 = date(base64_decode('WS1tLWQgSDppOnM='));
break;
case base64_decode('Q3JlYXRlZEJ5'):
$q335 = $p8a;
break;
case base64_decode('QWN0aXZl'):
$q335 = 1;
break;
case base64_decode('UmVtb3ZlZA=='):
$q335 = 0;
break;
default:
$q335 = $r2a[base64_decode('dmFsdWU=')];
}
if ($p298 == 5) {
$q335 = convertFromDanishTimeFormat($q335);
}
if ($q335 == '') {
$oa .= base64_decode('TlVMTCw=');
} else {
$oa .= base64_decode('Jw==') . $q335 . base64_decode('Jyw=');
}
}
$oa .= base64_decode('KTs=');
$oa = str_replace(base64_decode('LCk='), base64_decode('KQ=='), $oa);
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$w304 = mysqli_insert_id($zc);
$ra3 = base64_decode('Q0kgQ3JlYXRlZA==');
createCILogEntry($w304, $m10, $p8a, $ra3);
if (!$d13) {
$s119[] = array(base64_decode('UmVzdWx0') => mysqli_error($zc));
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTUVudHJ5')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$g336 = $_POST[base64_decode('SVRTTUZvcm0=')];
$q1d = $_POST[base64_decode('Rm9ybUlE')];
$y5 = getUserLanguage($q4);
$j6 = getLanguageCode($y5);
$k337 = $_POST[base64_decode('UmVxdWVzdEZvcm0=')];
$i16 = $_POST[base64_decode('SVRTTVRhYmxlTmFtZQ==')];
$r2ca = date(base64_decode('WS1tLWQgSDppOnM='));
$k17 = getITSMTypeIDFromTableName($i16);
$i268 = getModuleType($k17);
$i279 = getITSMSLASupport($k17);
$s31d = getITSMTypeName($k17);
$f31b = $_POST[base64_decode('SVRTTUNyZWF0ZWRGcm9tSVRTTUlE')];
$q41 = $_POST[base64_decode('SVRTTUNyZWF0ZWRGcm9tSVRTTVR5cGVJRA==')];
$r42 = createITSMEntry($q4, $g336, $q1d, $k337, $i16, $r2ca, $k17, $i268, $i279, $s31d, $f31b, $q41);
if (!empty($r42)) {
list($g35, $i16, $k17, $a1e5, $i268) = $r42;
$cce = getSystemURL();
$b33 = "$cce/itsm-$k17-$g35";
$t338 = getITSMCreatedByName($g35, $k17);
$h339 = translate(base64_decode('Y3JlYXRlZA=='));
$i33a = translate(base64_decode('Ynk='));
$m118 = "$s31d: $g35 $h339 $i33a $t338: $b33";
sendMessageToSlack($m118);
} else {
echo base64_decode('VGhlIHJlc3VsdCBpcyBlbXB0eS4=');
}
$s119[] = array(base64_decode('TGFuZ3VhZ2VDb2Rl') => $j6, base64_decode('SVRTTUlE') => $g35, base64_decode('SVRTTVRhYmxlTmFtZQ==') => $i16, base64_decode('SVRTTVR5cGVJRA==') => $k17, base64_decode('QWxsb3dEZWxldGU=') => base64_decode('MA=='), base64_decode('U2hvcnROYW1l') => $a1e5, base64_decode('TW9kdWxlVHlwZQ==') => $i268);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlQ0lMb2dCb29rRW50cnk=')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$q1f = $_GET[base64_decode('Q0lJRA==')];
$b6b = $_GET[base64_decode('Q29udGVudA==')];
$t33b = $_GET[base64_decode('TG9nQm9va1JlbGF0aW9u')];
$d13 = createCILogBookEntry($q1f, $m10, $q4, $b6b, $t33b);
if ($d13 = true) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
$ra3 = "Log Book entry created: $b6b ($t33b)";
createCILogEntry($q1f, $m10, $q4, $ra3);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbGVk'));
}
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlQ0lMb2dCb29rRW50cnk=')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$q1f = $_GET[base64_decode('Q0lJRA==')];
$b33c = $_GET[base64_decode('TG9nQm9va0lE')];
$d13 = deleteCILogBookEntry($b33c);
if ($d13 = true) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
$ra3 = "Log Book entry deleted: $b33c";
createCILogEntry($q1f, $m10, $q4, $ra3);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbGVk'));
}
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTVRlbXBsYXRl')])) {
$s1c = $_GET[base64_decode('cHVibGlj')];
$f33d = [];
$p8a = $_SESSION[base64_decode('aWQ=')];
$g336 = $_GET[base64_decode('SVRTTUZvcm0=')];
$q1d = $_GET[base64_decode('Rm9ybUlE')];
if (empty($q1d)) {
$q1d = 0;
}
$k337 = $_GET[base64_decode('UmVxdWVzdEZvcm0=')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
if ($s1c == '') {
$s1c = base64_decode('MA==');
}
$f1e = '';
$q335 = '';
$f31 = '';
if (!in_array(base64_decode('MTAwMDMx'), $p0) && ($s1c == base64_decode('MQ=='))) {
if (!in_array(base64_decode('MTAwMDAx'), $p0) && ($s1c == base64_decode('MQ=='))) {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
}
foreach ($g336 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
if ($y2c4 == base64_decode('Q3JlYXRlRm9ybVN1YmplY3Q=')) {
$f1e = $r2a[base64_decode('dmFsdWU=')];
}
$q335 = $r2a[base64_decode('dmFsdWU=')];
$f31 = $y2c4 . base64_decode('PDs+') . $q335;
array_push($f33d, $f31);
}
foreach ($k337 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
if ($y2c4 == base64_decode('Q3JlYXRlRm9ybVN1YmplY3Q=')) {
$f1e = $r2a[base64_decode('dmFsdWU=')];
}
$q335 = $r2a[base64_decode('dmFsdWU=')];
$f31 = $y2c4 . base64_decode('PDs+') . $q335;
array_push($f33d, $f31);
}
$d33e = mysqli_real_escape_string($zc, implode(base64_decode('PCM+'), $f33d));
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV90ZW1wbGF0ZXMgKERlc2NyaXB0aW9uLE93bmVyLFB1YmxpYyxGaWVsZHNWYWx1ZXMsUmVsYXRlZE1vZHVsZSxSZWxhdGVkRm9ybUlEKSANCiAgICAgICAgICBWQUxVRVMgKD8sPyw/LD8sPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nz'), $f1e, $p8a, $s1c, $d33e, $k17, $q1d);
$sb->execute();
$d13 = $sb->get_result();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('bG9hZElUU01UZW1wbGF0ZXM=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$faf = $_GET[base64_decode('VGVtcGxhdGVJRA==')];
$oa = base64_decode('U0VMRUNUIGl0c21fdGVtcGxhdGVzLkZpZWxkc1ZhbHVlcywgUmVsYXRlZEZvcm1JRA0KICAgICAgICAgIEZST00gaXRzbV90ZW1wbGF0ZXMNCiAgICAgICAgICBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $faf);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$d33e = $l14[base64_decode('RmllbGRzVmFsdWVz')];
$q1d = $l14[base64_decode('UmVsYXRlZEZvcm1JRA==')];
}
$x33f = explode(base64_decode('PCM+'), $d33e);
$f340 = implode($x33f);
$l259 = explode(base64_decode('PDs+'), $f340);
foreach ($x33f as $z5c => $r2a) {
$l259 = explode(base64_decode('PDs+'), $r2a);
$m1a = $l259[0];
$k341 = str_replace(base64_decode('Q3JlYXRlRm9ybQ=='), '', $m1a);
if (strpos($k341, base64_decode('Rm9ybUZpZWxk')) !== false) {
$p298 = getElementFieldTypeForms($k341);
} else {
$p298 = getElementFieldType($k17, $k341);
}
$z342[] = array(base64_decode('RmllbGROYW1l') => $l259[0], base64_decode('RmllbGRWYWx1ZQ==') => $l259[1], base64_decode('RmllbGRUeXBl') => $p298, base64_decode('Rm9ybUlE') => $q1d);
}
echo json_encode($z342);
}
if (isset($_GET[base64_decode('Z2V0SVRTTVNMQQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$oa = base64_decode('U0VMRUNUIGl0c21fc2xhdGltZWxpbmVzLlNMQVZpb2xhdGlvbkRhdGUsIGl0c21fc2xhdGltZWxpbmVzLlJlbGF0ZWRTdGF0dXNDb2RlSUQsIGl0c21fc2xhdGltZWxpbmVzLlRpbWVsaW5lVXBkYXRlZERhdGUNCiAgICAgICAgICBGUk9NIGl0c21fc2xhdGltZWxpbmVzDQogICAgICAgICAgV0hFUkUgUmVsYXRlZEVsZW1lbnRJRCA9ID8gQU5EIFJlbGF0ZWRFbGVtZW50VHlwZUlEID0gPw0KICAgICAgICAgIE9SREVSIEJZIFNMQVZpb2xhdGlvbkRhdGUgREVTQzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $g35, $k17);
$sb->execute();
$d13 = $sb->get_result();
$z343 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$k344 = $l14[base64_decode('U0xBVmlvbGF0aW9uRGF0ZQ==')];
$n345 = $l14[base64_decode('VGltZWxpbmVVcGRhdGVkRGF0ZQ==')];
$p346 = $l14[base64_decode('UmVsYXRlZFN0YXR1c0NvZGVJRA==')];
$v78 = getITSMStatusName($p346, $k17);
$v78 = _($v78);
$z343[] = [base64_decode('c3RhdHVz') => $v78, base64_decode('ZGF0ZQ==') => $k344, base64_decode('dXBkYXRlZERhdGU=') => $n345,];
}
if (!empty($z343)) {
$y347 = '';
$b348 = '';
foreach ($z343 as $k349) {
$h34a = '';
$hff = htmlspecialchars($k349[base64_decode('c3RhdHVz')]);
$k246 = htmlspecialchars($k349[base64_decode('ZGF0ZQ==')]);
$e34b = htmlspecialchars($k349[base64_decode('dXBkYXRlZERhdGU=')]);
$m34c = convertToDanishTimeFormat($e34b);
$f280 = base64_decode('PGkgY2xhc3M9ImZhLXNvbGlkIGZhLWNpcmNsZSBkb3QtaWNvbiBkb3QtaWNvbi1ncmVlbiIgdGl0bGU9Ig==') . _(base64_decode('RGVhZGxpbmUgbm90IHN1cnBhc3NlZA==')) . base64_decode('Ij48L2k+');
if (strtotime($k246) < time()) {
$f280 = base64_decode('PGkgY2xhc3M9ImZhLXNvbGlkIGZhLWNpcmNsZSBkb3QtaWNvbiBkb3QtaWNvbi1yZWQiIHRpdGxlPSI=') . _(base64_decode('RGVhZGxpbmUgaGFzIHBhc3NlZA==')) . base64_decode('Ij48L2k+');
} elseif (strtotime($k246) - time() <= 5 * 3600) {
$f280 = base64_decode('PGkgY2xhc3M9ImZhLXNvbGlkIGZhLWNpcmNsZSBkb3QtaWNvbiBkb3QtaWNvbi1vcmFuZ2UiIHRpdGxlPSI=') . _(base64_decode('RGVhZGxpbmUgaXMgd2l0aGluIDUgaG91cnM=')) . base64_decode('Ij48L2k+');
}
if (!empty($e34b) && strtotime($e34b) > strtotime($k246)) {
$h34a = base64_decode('Jm5ic3A7PHNwYW4gY2xhc3M9ImJhZGdlIGJnLWdyYWRpZW50LWRhbmdlciI+') . _(base64_decode('dmlvbGF0ZWQ=')) . base64_decode('PC9zcGFuPg==');
$f280 = '';
$b348 = base64_decode('IHRpdGxlPSI=') . _("completed: $m34c") . base64_decode('Ig==');
} elseif (!empty($e34b) && strtotime($e34b) <= strtotime($k246)) {
$h34a = '';
$f280 = '';
$b348 = base64_decode('IHRpdGxlPSI=') . _("completed: $m34c") . base64_decode('Ig==');
}
$y347 .= "<div class=\"container\"$b348>
<div class=\"content\">$f280
<small><b>$hff</b></small>:
<small>" . convertToDanishTimeFormat($k246) . "</small>
$h34a
</div>
</div>";
}
$y347 .= '';
$e34d[] = [base64_decode('U0xB') => $y347];
} else {
$e34d[] = [base64_decode('U0xB') => ''];
}
echo json_encode($e34d);
}
if (isset($_GET[base64_decode('Z2V0SVRTTVNvbHV0aW9u')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$q54 = $_POST[base64_decode('VHlwZQ==')];
$i16 = getITSMTableName($k17);
$oa = "SELECT $i16.Solution
FROM $i16
WHERE ID = ?;";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $g35);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$h34e = $l14[base64_decode('U29sdXRpb24=')];
if ($q54 == base64_decode('bW9kYWw=')) {
$u34f = base64_decode('PGRpdiBjbGFzcz0iaW5wdXQtZ3JvdXAgaW5wdXQtZ3JvdXAtc3RhdGljIG1iLTQiPjxsYWJlbCBmb3I9IklUU01Tb2x1dGlvbiIgdGl0bGU9Ig==') . translate(base64_decode('U29sdXRpb24gdG8gdGhlIHByb2JsZW0=')) . base64_decode('Ij4=');
$u34f .= translate(base64_decode('U29sdXRpb24=')) . base64_decode('JmVuc3A7PGEgaHJlZj0iamF2YXNjcmlwdDp0b2dnbGVDS0VkaXRvcihcJ0lUU01Tb2x1dGlvblwnLFwnMjUwcHhcJyk7Ij48aSBjbGFzcz0iZmEtc29saWQgZmEtcGVuIGZhLXNtIiB0aXRsZT0iRG91YmxlIGNsaWNrIG9uIGZpZWxkIHRvIGVkaXQiPjwvaT48L2E+');
$u34f .= base64_decode('PC9sYWJlbD48L2Rpdj4=');
$u34f .= base64_decode('PGRpdiBzdHlsZT0iaGVpZ2h0OiAxNTBweDsgd29yZC13cmFwOiBicmVhay13b3JkOyBvdmVyZmxvdy15OiBhdXRvOyBvdmVyZmxvdy14OiBhdXRvOyIgY2xhc3M9InJlc2l6YWJsZV90ZXh0YXJlYSBmb3JtLWNvbnRyb2wiIGlkPSJJVFNNU29sdXRpb24iIG5hbWU9IklUU01Tb2x1dGlvbiIgdGl0bGU9IkRvdWJsZSBjbGljayB0byBlZGl0IiByb3dzPSI1IiBhdXRvY29tcGxldGU9Im9mZiIgb25kYmxjbGljaz0idG9nZ2xlQ0tFZGl0b3IoXCdJVFNNU29sdXRpb25cJyxcJzI1MHB4XCcpOyI+');
$u34f .= base64_decode('PC9kaXY+');
} else {
$u34f = base64_decode('PGRpdiBjbGFzcz0iaW5wdXQtZ3JvdXAgaW5wdXQtZ3JvdXAtc3RhdGljIG1iLTQiPjxsYWJlbCBmb3I9IklUU01RV1NvbHV0aW9uIiB0aXRsZT0i') . translate(base64_decode('U29sdXRpb24gdG8gdGhlIHByb2JsZW0=')) . base64_decode('Ij4=');
$u34f .= translate(base64_decode('U29sdXRpb24=')) . base64_decode('JmVuc3A7PGEgaHJlZj0iamF2YXNjcmlwdDp0b2dnbGVDS0VkaXRvcihcJ0lUU01RV1NvbHV0aW9uXCcsXCcyNTBweFwnKTsiPjxpIGNsYXNzPSJmYS1zb2xpZCBmYS1wZW4gZmEtc20iIHRpdGxlPSJEb3VibGUgY2xpY2sgb24gZmllbGQgdG8gZWRpdCI+PC9pPjwvYT4=');
$u34f .= base64_decode('PC9sYWJlbD48L2Rpdj4=');
$u34f .= base64_decode('PGRpdiBzdHlsZT0iaGVpZ2h0OiAxNTBweDsgd29yZC13cmFwOiBicmVhay13b3JkOyBvdmVyZmxvdy15OiBhdXRvOyBvdmVyZmxvdy14OiBhdXRvOyIgY2xhc3M9InJlc2l6YWJsZV90ZXh0YXJlYSBmb3JtLWNvbnRyb2wiIGlkPSJJVFNNUVdTb2x1dGlvbiIgbmFtZT0iSVRTTVFXU29sdXRpb24iIHRpdGxlPSJEb3VibGUgY2xpY2sgdG8gZWRpdCIgcm93cz0iNSIgYXV0b2NvbXBsZXRlPSJvZmYiIG9uZGJsY2xpY2s9InRvZ2dsZUNLRWRpdG9yKFwnSVRTTVFXU29sdXRpb25cJyxcJzI1MHB4XCcpOyI+');
$u34f .= base64_decode('PC9kaXY+');
}
}
if ($h34e !== '') {
$s119[] = array(base64_decode('QnRu') => $u34f, base64_decode('U29sdXRpb24=') => $h34e);
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('QnRu') => $u34f, base64_decode('U29sdXRpb24=') => '');
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Z2V0VGVtcGxhdGVGb3JtSUQ=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$faf = $_GET[base64_decode('VGVtcGxhdGVJRA==')];
$oa = base64_decode('U0VMRUNUIFJlbGF0ZWRGb3JtSUQNCiAgICAgICAgICBGUk9NIGl0c21fdGVtcGxhdGVzDQogICAgICAgICAgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $faf);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$q1d = $l14[base64_decode('UmVsYXRlZEZvcm1JRA==')];
}
$e34d[] = array(base64_decode('Rm9ybUlE') => $q1d);
echo json_encode($e34d);
}
if (isset($_GET[base64_decode('ZGVsZXRlVFNNVGVtcGxhdGU=')])) {
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$faf = $_GET[base64_decode('VGVtcGxhdGVJRA==')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$u350 = true;
$j351 = getTemplatePublicStatus($faf);
if ($j351 == base64_decode('MQ==')) {
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$u350 = true;
} else {
$u350 = false;
}
}
if ($u350 == true) {
$oa = base64_decode('REVMRVRFIEZST00gaXRzbV90ZW1wbGF0ZXMgV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $faf);
$sb->execute();
$d13 = $sb->get_result();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbA=='));
}
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dXBkYXRlQ0lWYWx1ZXM=')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$m1a = $_GET[base64_decode('RmllbGROYW1l')];
$f31 = $_GET[base64_decode('RmllbGRWYWx1ZQ==')];
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$oa = "UPDATE cmdb_cis SET $m1a = ? WHERE ID = ?";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $f31, $m10);
$sb->execute();
$d13 = $sb->get_result();
if (!$d13) {
$s119[] = array(base64_decode('UmVzdWx0') => mysqli_error($zc));
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('dXBkYXRlSVRTTVZhbHVlcw==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$m1a = $_GET[base64_decode('RmllbGROYW1l')];
$f31 = $_GET[base64_decode('RmllbGRWYWx1ZQ==')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$oa = "UPDATE itsm_modules SET $m1a = ? WHERE ID = ?";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $f31, $k17);
$sb->execute();
$d13 = $sb->get_result();
if (!$d13) {
$s119[] = array(base64_decode('UmVzdWx0') => mysqli_error($zc));
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('dXBkYXRlQ0k=')])) {
if (!in_array(base64_decode('MTAwMDE1'), $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
echo json_encode([[base64_decode('ZXJyb3I=') => "You need to be member of $rd"]]);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$k292 = $_POST[base64_decode('UmVzdWx0')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$q1f = $_POST[base64_decode('Q0lJRA==')];
$e352 = [];
$oa = "UPDATE $df SET ";
$k353 = "UPDATE $df SET ";
$n2e8 = '';
$h354 = [];
foreach ($k292 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
$q335 = $r2a[base64_decode('dmFsdWU=')];
$n2c5 = getCIFieldPreValue($q1f, $df, $y2c4);
$d299 = getCIFieldLabelFromFieldName($m10, $y2c4);
$p298 = getCIFieldType($m10, $y2c4);
if ($q335 == $n2c5) {
continue;
}
if ($p298 == base64_decode('NQ==') && $q335 !== '') {
$q335 = convertFromDanishTimeFormat($q335);
}
if ($p298 == base64_decode('NQ==') && $q335 === '') {
$q335 = NULL;
}
$n2c5 = $n2c5 === NULL ? '' : $n2c5;
$n355 = normalizeValue($n2c5);
$t356 = normalizeValue($q335);
if ($n355 !== $t356) {
array_push($e352, "$d299: changed from $n2c5 to $q335");
}
$oa .= "$y2c4 = ?,";
$k353 .= "$y2c4 = '" . ($q335 !== NULL ? $q335 : base64_decode('TlVMTA==')) . base64_decode('Jyw=');
$n2e8 .= $q335 !== NULL ? base64_decode('cw==') : base64_decode('cw==');
$h354[] = $q335;
}
$oa = rtrim($oa, base64_decode('LA==')) . base64_decode('IFdIRVJFIElEID0gPw==');
$k353 = rtrim($k353, base64_decode('LA==')) . " WHERE ID = $q1f";
$n2e8 .= base64_decode('aQ==');
$h354[] = $q1f;
$sb = mysqli_prepare($zc, $oa);
mysqli_stmt_bind_param($sb, $n2e8, ...$h354);
if (mysqli_stmt_execute($sb)) {
$b357 = implode(base64_decode('IA=='), $e352);
if ($b357 != '') {
createCILogEntry($q1f, $m10, $p8a, $b357);
}
echo json_encode([[base64_decode('UmVzdWx0') => translate(base64_decode('c3VjY2Vzcw==')), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VXBkYXRlZA=='))]]);
} else {
echo json_encode([[base64_decode('UmVzdWx0') => translate(base64_decode('RXJyb3I=')), base64_decode('TWVzc2FnZQ==') => mysqli_error($zc)]]);
}
mysqli_stmt_close($sb);
}
if (isset($_GET[base64_decode('dXBkYXRlSVRTTQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$g336 = $_POST[base64_decode('SVRTTUZvcm0=')];
$k337 = $_POST[base64_decode('UmVxdWVzdEZvcm0=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$ua6 = getITSMModuleType($k17);
$i16 = getITSMTableName($k17);
$g35 = $_POST[base64_decode('SVRTTUlE')];
$o358 = getITSMFieldValue($g35, base64_decode('U0xB'), $i16);
$v359 = getITSMFieldValue($g35, base64_decode('UHJpb3JpdHk='), $i16);
$e352 = [];
$d35a = 0;
$w35b = false;
if (!empty($k337)) {
$z35c = getFormsID($i16, $g35);
$c35d = getFormsTableName($z35c);
$i35e = getFormTableEntryID($c35d, $g35);
$oa = "UPDATE $c35d SET ";
$n2e8 = '';
$h354 = [];
foreach ($k337 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
$q335 = $r2a[base64_decode('dmFsdWU=')];
$n2c5 = getFormsFieldPreValue($g35, $c35d, $y2c4);
$d299 = getFormFieldLabelFromFieldName($z35c, $y2c4);
$q335 = $q335 === NULL ? '' : $q335;
$n2c5 = $n2c5 === NULL ? '' : $n2c5;
$p298 = getFormFieldType($z35c, $y2c4);
if ($p298 == base64_decode('NQ==') && !empty($q335)) {
$q335 = convertFromDanishTimeFormat($q335);
}
if ($n2c5 !== $q335) {
$w35b = true;
array_push($e352, "$d299: changed from $n2c5 to $q335");
}
if ($q335 == '') {
$oa .= "$y2c4 = NULL, ";
} else {
$oa .= "$y2c4 = ?, ";
$n2e8 .= base64_decode('cw==');
$h354[] = $q335;
}
}
$oa = rtrim($oa, base64_decode('LCA=')) . base64_decode('IFdIRVJFIElEID0gPw==');
$n2e8 .= base64_decode('aQ==');
$h354[] = $i35e;
$sb = mysqli_prepare($zc, $oa);
mysqli_stmt_bind_param($sb, $n2e8, ...$h354);
if (mysqli_stmt_execute($sb)) {
} else {
}
mysqli_stmt_close($sb);
} else {
$d35a = 1;
}
$oa = "UPDATE $i16 SET ";
$n2e8 = '';
$h354 = [];
$l35f = 0;
foreach ($g336 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
$q335 = $r2a[base64_decode('dmFsdWU=')];
$n2c5 = getITSMFieldPreValue($g35, $i16, $y2c4);
$d299 = getITSMFieldLabelFromFieldName($k17, $y2c4);
$p298 = getITSMFieldType($k17, $y2c4);
if ($p298 == base64_decode('OQ==')) {
$l35f = 1;
}
if ($p298 == base64_decode('NQ==') && !empty($q335)) {
$q335 = convertFromDanishTimeFormat($q335);
$n2c5 = $n2c5;
}
$n355 = normalizeValue($n2c5);
$t356 = normalizeValue($q335);
if ($n355 !== $t356 && $l35f == 0) {
$y360 = translate($d299);
if ($p298 == base64_decode('Mg==')) {
array_push($e352, "$y360: changed");
} else {
array_push($e352, "$y360: changed from $n2c5 to $q335");
}
}
if ($q335 === '' || $q335 === NULL) {
if ($n2c5 !== NULL && $n2c5 !== '') {
$oa .= "$y2c4 = NULL, ";
}
} elseif ($n2c5 !== $q335) {
$oa .= "$y2c4 = ?, ";
$n2e8 .= base64_decode('cw==');
$h354[] = $q335;
}
$g361 = array(base64_decode('Mg=='), base64_decode('NA=='));
if ($n2c5 !== $q335) {
switch ($y2c4) {
case base64_decode('Q3VzdG9tZXI='):
if ($q335 !== '') {
$u362 = base64_decode('Mw==');
$f1e = '';
$h2 = getUserRelatedCompanyID($q335);
updateITSMFieldValue($g35, $h2, base64_decode('UmVsYXRlZENvbXBhbnlJRA=='), $k17);
$x2c8 = getRelatedSLAID($h2);
updateITSMFieldValue($g35, $x2c8, base64_decode('U0xB'), $k17);
if (!in_array($ua6, $g361)) {
sendITSMNotificationMailToUsers($u362, $k17, $g35, $f1e, $y2c4, $n2c5, $q335);
}
}
break;
case base64_decode('UmVzcG9uc2libGU='):
if ($q335 !== '') {
$u362 = base64_decode('NA==');
$f1e = '';
if (!in_array($ua6, $g361)) {
sendITSMNotificationMailToUsers($u362, $k17, $g35, $f1e, $y2c4, $n2c5, $q335);
}
}
break;
case base64_decode('QnVzaW5lc3NTZXJ2aWNl'):
if ($q335 !== '') {
$x2c8 = getSLAFromBS($q335);
$t1b0 = $q335;
updateITSMFieldValue($g35, $x2c8, base64_decode('U0xB'), $k17);
} else {
$h2 = getITSMFieldValue($g35, base64_decode('UmVsYXRlZENvbXBhbnlJRA=='), $i16);
$x2c8 = getRelatedSLAID($h2);
updateITSMFieldValue($g35, $x2c8, base64_decode('U0xB'), $k17);
}
break;
case base64_decode('UHJpb3JpdHk='):
$e363 = $q335;
$x364 = getITSMPriorityName($e363);
$m365 = $n2c5;
$f366 = getITSMPriorityName($m365);
$u362 = base64_decode('NQ==');
$f1e = '';
if (!in_array($ua6, $g361)) {
sendITSMNotificationMailToUsers($u362, $k17, $g35, $f1e, $y2c4, $f366, $x364);
}
break;
case base64_decode('U3RhdHVz'):
$x367 = $q335;
$l368 = getITSMStatusName($x367, $k17);
$c369 = $n2c5;
$u36a = getITSMStatusName($c369, $k17);
$f1e = '';
if (in_array($x367, getITSMClosedStatus($k17))) {
$u362 = base64_decode('Mg==');
$f1e = '';
if (!in_array($ua6, $g361)) {
sendITSMNotificationMailToUsers($u362, $k17, $g35, $f1e, $y2c4, $u36a, $l368);
}
updateTimelineUpdatedDate($g35, $k17, $x367);
updateMissingStatusCodeTimelines($k17, $g35);
closeAllTasksAssociatedWithITSM($k17, $g35);
} else {
$u362 = base64_decode('Nw==');
$f1e = '';
if (!in_array($ua6, $g361)) {
sendITSMNotificationMailToUsers($u362, $k17, $g35, $f1e, $y2c4, $u36a, $l368);
}
}
break;
default:
}
}
}
$oa = rtrim($oa, base64_decode('LCA=')) . base64_decode('IFdIRVJFIElEID0gPw==');
$m36b = "UPDATE $i16 SET WHERE ID = ?";
if ($oa == $m36b) {
if ($w35b == true) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('Zm9ybXVwZGF0ZWQ='));
$b357 = implode(base64_decode('IA=='), $e352);
if ($b357 != '') {
createITSMLogEntry($g35, $k17, $p8a, $b357);
}
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('bm90aGluZw=='));
}
echo json_encode($s119);
exit;
} else {
$n2e8 .= base64_decode('aQ==');
$h354[] = $g35;
$k185 = mysqli_prepare($zc, $oa);
mysqli_stmt_bind_param($k185, $n2e8, ...$h354);
if (mysqli_stmt_execute($k185)) {
if ($ua6 == base64_decode('Mw==')) {
if ($x367 !== $c369 && $x367 == base64_decode('NA==')) {
$qa0 = incrementDocumentVersion($k17, $g35);
CreateDocArchive($g35, $k17, $qa0, $p8a);
}
}
} else {
}
mysqli_stmt_close($k185);
}
$h2 = getITSMFieldValue($g35, base64_decode('UmVsYXRlZENvbXBhbnlJRA=='), $i16);
$r2ca = getITSMFieldValue($g35, base64_decode('Q3JlYXRlZA=='), $i16);
$e36c = getITSMFieldValue($g35, base64_decode('U0xB'), $i16);
$v24b = getITSMFieldValue($g35, base64_decode('UHJpb3JpdHk='), $i16);
if ($v359 != $v24b) {
$n2c9[] = array();
$n2c9 = getSLAStatusCores($k17, $e36c, $v24b);
foreach ($n2c9 as $r2a) {
$a1df = $r2a[base64_decode('U3RhdHVz')];
$g2cc = $r2a[base64_decode('TWludXRlcw==')];
$l2cd = getDateTimeViolated($r2ca, $g2cc);
updateTimelineSLAViolationDate($g35, $k17, $a1df, $l2cd);
}
}
if ($o358 != $e36c) {
$n2c9[] = array();
$n2c9 = getSLAStatusCores($k17, $e36c, $v24b);
foreach ($n2c9 as $r2a) {
$a1df = $r2a[base64_decode('U3RhdHVz')];
$g2cc = $r2a[base64_decode('TWludXRlcw==')];
$l2cd = getDateTimeViolated($r2ca, $g2cc);
updateTimelineSLAViolationDate($g35, $k17, $a1df, $l2cd);
}
}
if ($x367 != '') {
updateTimelineUpdatedDate($g35, $k17, $x367);
}
$b357 = implode(base64_decode('IA=='), $e352);
if ($b357 != '') {
updateITSMUpdatedDate($k17, $g35);
createITSMLogEntry($g35, $k17, $p8a, $b357);
$t18 = getITSMTypeName($k17);
$d6a = translate(base64_decode('VXBkYXRlZA==')) . base64_decode('IA==') . strtolower($t18) . base64_decode('IA==') . $g35;
$zb0 = base64_decode('PGI+') . translate(base64_decode('VXBkYXRlcw==')) . base64_decode('PGJyPjxicj4=') . $b357;
logActivity($g35, $k17, $d6a, $zb0, "javascript:javascript:viewITSM('$g35','$k17','1','modal');");
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlQ0k=')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$k301 = generateRandomString(15);
$j4f = "cmdb_ci_$k301";
$q2e = $_GET[base64_decode('Q0lOYW1l')];
$r36d = $_GET[base64_decode('Q0lEZXNjcmlwdGlvbg==')];
$oa = base64_decode('SU5TRVJUIElOVE8gY21kYl9jaXMgKE5hbWUsIFRhYmxlTmFtZSwgRGVzY3JpcHRpb24sIEdyb3VwSUQsIENyZWF0ZWRCeSwgTGFzdEVkaXRlZEJ5KSBWQUxVRVMgKD8sPyw/LCcxMDAwMTQnLD8sPyk7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3NzaWk='), $q2e, $j4f, $r36d, $p8a, $p8a);
$sb->execute();
$d13 = $sb->get_result();
$w304 = mysqli_insert_id($zc);
$q36e = "ciid=$w304";
$n2db = "CREATE TABLE IF NOT EXISTS $j4f (
ID INT AUTO_INCREMENT,
PRIMARY KEY (ID));";
$p2dc = mysqli_query($zc, $n2db) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$k306 = "ALTER TABLE $j4f COMMENT = '$q36e';";
$p36f = mysqli_query($zc, $k306) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$w370 = getDefaultCMDBCIFields();
foreach ($w370 as $z5c => $r2a) {
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$p371 = $r2a[base64_decode('REJGaWVsZFR5cGU=')];
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$d299 = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$r372 = $r2a[base64_decode('UmVsYXRpb25TaG93RmllbGQ=')];
$h373 = $r2a[base64_decode('RmllbGRPcmRlcg==')];
$p374 = $r2a[base64_decode('RmllbGREZWZhdWx0VmFsdWU=')];
$u29c = $r2a[base64_decode('RGVmYXVsdEZpZWxk')];
$h375 = $r2a[base64_decode('RmllbGRXaWR0aA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$y2ed = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$v2ee = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3')];
$h56 = $r2a[base64_decode('U2VsZWN0RmllbGRPcHRpb25z')];
$h376 = $r2a[base64_decode('UmVzdWx0RmllbGRz')];
$g7c = $r2a[base64_decode('VXNlckZ1bGxOYW1l')];
$c377 = $r2a[base64_decode('SGlkZUZvcm1z')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
$f378 = $r2a[base64_decode('UmVxdWlyZWQ=')];
$z379 = $r2a[base64_decode('TG9ja2Vk')];
$q37a = $r2a[base64_decode('QWRkb24=')];
$a37b = $r2a[base64_decode('QWRkRW1wdHk=')];
$m37c = $r2a[base64_decode('RnVsbEhlaWdodA==')];
$t37d = $r2a[base64_decode('UmlnaHRDb2x1bW4=')];
$l37e = $r2a[base64_decode('TGFiZWxUeXBl')];
if ($h56 == base64_decode('ZmFsc2U=')) {
$h56 = '';
} else {
$h56 = $h56;
}
if ($m1a == base64_decode('TmFtZQ==')) {
$u29c = base64_decode('MA==');
}
alterTableAddColumn($j4f, $m1a, $p371);
insertCMDBFieldToFieldListTable($w304, $m1a, $d299, $r372, $p298, $h373, $p374, $h375, $u29c, $h56, $f29a, $g29b, $y2ed, $v2ee, $h376, $g7c, $c377, $t29e, $f378, $z379, $q37a, $a37b, $m37c, $t37d, $l37e);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTQ==')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$k301 = generateRandomString(15);
$j4f = "itsm_$k301";
$i333 = $_GET[base64_decode('SVRTTU5hbWU=')];
$i37f = $_GET[base64_decode('SVRTTURlc2NyaXB0aW9u')];
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV9tb2R1bGVzIChOYW1lLCBTaG9ydEVsZW1lbnROYW1lLCBUYWJsZU5hbWUsIERlc2NyaXB0aW9uLCBDcmVhdGVkQnksIExhc3RFZGl0ZWRCeSwgVHlwZUljb24sIERvbmVTdGF0dXMsIFR5cGUsIFNMQSwgQWN0aXZlLCBHcm91cElELCBNZW51UGFnZSkgVkFMVUVTICg/LD8sPyw/LD8sPywnZmEgZmEtcmV0d2VldCcsJzUnLCcxJywnMCcsJzEnLCcxMDAwMTQnLCdpdHNtX3RhYmxldmlldy5waHA/aWQ9Jyk=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc2lp'), $i333, $i333, $j4f, $i37f, $p8a, $p8a);
$sb->execute();
$d13 = $sb->get_result();
$w304 = mysqli_insert_id($zc);
$n2db = "CREATE TABLE IF NOT EXISTS $j4f (
ID INT AUTO_INCREMENT,
PRIMARY KEY (ID));";
$p2dc = mysqli_query($zc, $n2db);
$k306 = "ALTER TABLE $j4f COMMENT = '$mac';";
$p36f = mysqli_query($zc, $k306);
$w370 = getDefaultITSMFields();
foreach ($w370 as $z5c => $r2a) {
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$p371 = $r2a[base64_decode('REJGaWVsZFR5cGU=')];
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$d299 = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$r372 = $r2a[base64_decode('UmVsYXRpb25TaG93RmllbGQ=')];
$h373 = $r2a[base64_decode('RmllbGRPcmRlcg==')];
$r380 = $r2a[base64_decode('RmllbGRUaXRsZQ==')];
$p374 = $r2a[base64_decode('RmllbGREZWZhdWx0VmFsdWU=')];
$h375 = $r2a[base64_decode('RmllbGRXaWR0aA==')];
$u29c = base64_decode('MQ==');
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$y2ed = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$v2ee = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3')];
$h56 = $r2a[base64_decode('U2VsZWN0RmllbGRPcHRpb25z')];
$h376 = $r2a[base64_decode('UmVzdWx0RmllbGRz')];
$g7c = $r2a[base64_decode('VXNlckZ1bGxOYW1l')];
$c377 = $r2a[base64_decode('SGlkZUZvcm1z')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
$f378 = $r2a[base64_decode('UmVxdWlyZWQ=')];
$z379 = $r2a[base64_decode('TG9ja2Vk')];
$q37a = $r2a[base64_decode('QWRkb24=')];
$a37b = $r2a[base64_decode('QWRkRW1wdHk=')];
$m37c = $r2a[base64_decode('RnVsbEhlaWdodA==')];
$t37d = $r2a[base64_decode('UmlnaHRDb2x1bW4=')];
$l37e = $r2a[base64_decode('TGFiZWxUeXBl')];
$a381 = $r2a[base64_decode('SW1wb3J0U291cmNlRmllbGQ=')];
$z382 = $r2a[base64_decode('U3luY1NvdXJjZUZpZWxk')];
$j4b = $r2a[base64_decode('UmVsYXRpb25zTG9va3Vw')];
$m383 = $r2a[base64_decode('SW5kZXhlZA==')];
alterTableAddColumn($j4f, $m1a, $p371);
insertITSMFieldToFieldListTable($w304, $m1a, $d299, $r372, $p298, $h373, $r380, $p374, $h375, $u29c, $h56, $f29a, $g29b, $y2ed, $v2ee, $h376, $g7c, $c377, $t29e, $f378, $z379, $q37a, $a37b, $m37c, $t37d, $l37e, $a381, $z382, $j4b, $m383);
}
}
if (isset($_GET[base64_decode('Y3JlYXRlRm9ybXNGaWVsZA==')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$q1d = $_POST[base64_decode('Rm9ybUlE')];
$h373 = $_POST[base64_decode('RmllbGRPcmRlcg==')];
$j4f = getFormTableName($q1d);
$z2e6 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$o49 = generateRandomNumber(8);
$m1a = base64_decode('Rm9ybUZpZWxk') . $o49;
array_push($z2e6, [base64_decode('bmFtZQ==') => base64_decode('UmVsYXRlZEZvcm1JRA=='), base64_decode('dmFsdWU=') => "$q1d"]);
array_push($z2e6, [base64_decode('bmFtZQ==') => base64_decode('RmllbGROYW1l'), base64_decode('dmFsdWU=') => "$m1a"]);
if ($h373 == '') {
$h373 = 1;
}
incrementExistingFormFieldOrder($q1d, $h373);
$oa = base64_decode('SU5TRVJUIElOVE8gZm9ybXNfZmllbGRzbGlzdCAo');
foreach ($z2e6 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
if ($y2c4 === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $y2c4 === base64_decode('TG9va3VwVGFibGUy') || $y2c4 === base64_decode('TG9va3VwRmllbGQy') || $j66 === base64_decode('UmVzdWx0RmllbGRz')) {
continue;
}
$oa .= "$y2c4,";
}
$oa .= base64_decode('KSBWQUxVRVMgKA==');
foreach ($z2e6 as $z5c => $r2a) {
$j66 = $r2a[base64_decode('bmFtZQ==')];
if ($j66 === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $j66 === base64_decode('TG9va3VwVGFibGUy') || $j66 === base64_decode('TG9va3VwRmllbGQy') || $j66 === base64_decode('UmVzdWx0RmllbGRz')) {
continue;
}
$q335 = mysqli_real_escape_string($zc, $r2a[base64_decode('dmFsdWU=')]);
switch ($j66) {
case base64_decode('RmllbGRUaXRsZQ=='):
$q335 = strip_tags($q335);
break;
default:
$q335 = mysqli_real_escape_string($zc, $r2a[base64_decode('dmFsdWU=')]);
}
if ($q335 == '') {
$oa .= base64_decode('TlVMTCw=');
} else {
$oa .= "'$q335',";
}
}
$oa .= base64_decode('KTs=');
$oa = str_replace(base64_decode('LCk='), base64_decode('KQ=='), $oa);
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$k306 = "ALTER TABLE $j4f ADD $m1a TEXT;";
$p36f = mysqli_query($zc, $k306);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlQ0lGaWVsZA==')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$h373 = $_POST[base64_decode('RmllbGRPcmRlcg==')];
$j4f = getCITableName($m10);
$z2e6 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$o49 = generateRandomNumber(8);
$m1a = base64_decode('Q0lGaWVsZA==') . $o49;
array_push($z2e6, [base64_decode('bmFtZQ==') => base64_decode('UmVsYXRlZENJVHlwZUlE'), base64_decode('dmFsdWU=') => "$m10"]);
array_push($z2e6, [base64_decode('bmFtZQ==') => base64_decode('RmllbGROYW1l'), base64_decode('dmFsdWU=') => "$m1a"]);
if ($h373 == '') {
$h373 = 1;
}
incrementExistingCIFieldOrder($m10, $h373);
$oa = base64_decode('SU5TRVJUIElOVE8gY21kYl9jaV9maWVsZHNsaXN0ICg=');
foreach ($z2e6 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
if ($y2c4 === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $y2c4 === base64_decode('TG9va3VwVGFibGUy') || $y2c4 === base64_decode('TG9va3VwRmllbGQy') || $j66 === base64_decode('UmVzdWx0RmllbGRz')) {
continue;
}
$oa .= "$y2c4,";
}
$oa .= base64_decode('KSBWQUxVRVMgKA==');
foreach ($z2e6 as $z5c => $r2a) {
$j66 = $r2a[base64_decode('bmFtZQ==')];
if ($j66 === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $j66 === base64_decode('TG9va3VwVGFibGUy') || $j66 === base64_decode('TG9va3VwRmllbGQy') || $j66 === base64_decode('UmVzdWx0RmllbGRz')) {
continue;
}
if ($j66 === base64_decode('SW5kZXhlZA==')) {
$m383 = 1;
}
$q335 = mysqli_real_escape_string($zc, $r2a[base64_decode('dmFsdWU=')]);
switch ($j66) {
case base64_decode('RmllbGRUaXRsZQ=='):
$q335 = strip_tags($q335);
break;
default:
$q335 = mysqli_real_escape_string($zc, $r2a[base64_decode('dmFsdWU=')]);
}
if ($q335 === base64_decode('b24=')) {
$q335 = base64_decode('MQ==');
}
if ($q335 == '') {
$oa .= base64_decode('TlVMTCw=');
} else {
$oa .= "'$q335',";
}
}
$oa .= base64_decode('KTs=');
$oa = str_replace(base64_decode('LCk='), base64_decode('KQ=='), $oa);
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$k306 = "ALTER TABLE $j4f ADD $m1a TEXT;";
$p36f = mysqli_query($zc, $k306);
if ($m383 === 1) {
alterTableAddFullTextToColumn($j4f, $m1a);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTUZpZWxk')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$h373 = $_POST[base64_decode('RmllbGRPcmRlcg==')];
$z2e6 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$j4f = getITSMTableName($k17);
$o49 = generateRandomNumber(8);
$m1a = base64_decode('SVRTTUZpZWxk') . $o49;
array_push($z2e6, [base64_decode('bmFtZQ==') => base64_decode('UmVsYXRlZFR5cGVJRA=='), base64_decode('dmFsdWU=') => "$k17"]);
array_push($z2e6, [base64_decode('bmFtZQ==') => base64_decode('RmllbGROYW1l'), base64_decode('dmFsdWU=') => "$m1a"]);
if ($h373 == '') {
$h373 = 1;
}
if ($h373 == '') {
$h373 = 1;
}
incrementExistingFieldOrder($k17, $h373);
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV9maWVsZHNsaXN0ICg=');
foreach ($z2e6 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
if ($y2c4 === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $y2c4 === base64_decode('TG9va3VwVGFibGUy') || $y2c4 === base64_decode('TG9va3VwRmllbGQy') || $j66 === base64_decode('UmVzdWx0RmllbGRz')) {
continue;
}
$oa .= "$y2c4,";
}
$oa .= base64_decode('KSBWQUxVRVMgKA==');
foreach ($z2e6 as $z5c => $r2a) {
$j66 = $r2a[base64_decode('bmFtZQ==')];
if ($j66 === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $j66 === base64_decode('TG9va3VwVGFibGUy') || $j66 === base64_decode('TG9va3VwRmllbGQy') || $j66 === base64_decode('UmVzdWx0RmllbGRz')) {
continue;
}
if ($j66 === base64_decode('SW5kZXhlZA==')) {
$m383 = 1;
}
$q335 = mysqli_real_escape_string($zc, $r2a[base64_decode('dmFsdWU=')]);
switch ($j66) {
case base64_decode('RmllbGRUaXRsZQ=='):
$q335 = strip_tags($q335);
break;
default:
$q335 = mysqli_real_escape_string($zc, $r2a[base64_decode('dmFsdWU=')]);
}
if ($q335 === base64_decode('b24=')) {
$q335 = base64_decode('MQ==');
}
if ($q335 == '') {
$oa .= base64_decode('TlVMTCw=');
} else {
$oa .= "'$q335',";
}
}
$oa .= base64_decode('KTs=');
$oa = str_replace(base64_decode('LCk='), base64_decode('KQ=='), $oa);
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$k306 = "ALTER TABLE $j4f ADD $m1a TEXT;";
$p36f = mysqli_query($zc, $k306);
if ($m383 === 1) {
alterTableAddFullTextToColumn($j4f, $m1a);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTVN0YXR1cw==')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
}
$i279 = base64_decode('MA==');
$p8a = $_SESSION[base64_decode('aWQ=')];
$g35 = $_GET[base64_decode('SVRTTUlE')];
$y2f8 = $_GET[base64_decode('U3RhdHVzQ29kZQ==')];
$v78 = $_GET[base64_decode('U3RhdHVzTmFtZQ==')];
$i279 = $_GET[base64_decode('U0xBU3VwcG9ydGVk')];
$z1ed = $_GET[base64_decode('Q2xvc2VkU3RhdHVz')];
if ($i279 == base64_decode('b24=')) {
$i279 = base64_decode('MQ==');
}
if ($z1ed == base64_decode('b24=')) {
$z1ed = base64_decode('MQ==');
}
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV9zdGF0dXNjb2RlcyAoTW9kdWxlSUQsIFN0YXR1c0NvZGUsCVN0YXR1c05hbWUsIFNMQSkgDQogICAgICAgICAgVkFMVUVTICg/LD8sPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $g35, $y2f8, $v78, $i279);
$sb->execute();
$d13 = $sb->get_result();
if ($i279 == base64_decode('MQ==')) {
$a384 = $g35;
$hff = $y2f8;
$p385 = array(base64_decode('MQ==') => array(base64_decode('bWludXRlcw==') => array(15, 20, 30, 60)), base64_decode('Mg==') => array(base64_decode('bWludXRlcw==') => array(15, 30, 60, 120)), base64_decode('Mw==') => array(base64_decode('bWludXRlcw==') => array(30, 60, 120, 240)));
$u386 = base64_decode('SU5TRVJUIElOVE8gaXRzbV9zbGFfbWF0cml4IChSZWxhdGVkTW9kdWxlSUQsIFN0YXR1cywgU0xBLCBQMSwgUDIsIFAzLCBQNCkgVkFMVUVTICg/LCA/LCA/LCA/LCA/LCA/LCA/KQ==');
$b387 = mysqli_prepare($zc, $u386);
mysqli_stmt_bind_param($b387, base64_decode('aWlpaWlpaQ=='), $a384, $hff, $s388, $j389, $w38a, $u38b, $g38c);
foreach ($p385 as $s388 => $h354) {
$c38d = $h354[base64_decode('bWludXRlcw==')];
list($j389, $w38a, $u38b, $g38c) = $c38d;
$s388 = intval($s388);
mysqli_stmt_execute($b387);
}
}
$b387->close();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTVNMQQ==')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$g35 = $_GET[base64_decode('SVRTTUlE')];
$i38e = $_GET[base64_decode('UHJpb3JpdHkx')];
$w38f = $_GET[base64_decode('UHJpb3JpdHky')];
$b390 = $_GET[base64_decode('UHJpb3JpdHkz')];
$o391 = $_GET[base64_decode('UHJpb3JpdHk0')];
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV9zbGFfbWF0cml4IChSZWxhdGVkTW9kdWxlSUQsIFByaW9yaXR5MSwgUHJpb3JpdHkyLCBQcmlvcml0eTMsIFByaW9yaXR5NCkgDQogICAgICAgICAgVkFMVUVTICg/LD8sPyw/LD8pOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $g35, $i38e, $w38f, $b390, $o391);
$sb->execute();
$d13 = $sb->get_result();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTUVtYWls')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$g35 = $_GET[base64_decode('SVRTTUlE')];
$g2fe = $_GET[base64_decode('SVRTTUVtYWls')];
$q2ff = $_GET[base64_decode('RGVmYXVsdEVtYWls')];
if ($q2ff == base64_decode('Mg==')) {
$q2ff = base64_decode('MA==');
}
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV9lbWFpbHMgKEVtYWlsLCBEZWZhdWx0RW1haWwsIFJlbGF0ZWRJVFNNVHlwZUlEKSANCiAgICAgICAgICBWQUxVRVMgKD8sPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nz'), $g2fe, $q2ff, $g35);
$sb->execute();
$d13 = $sb->get_result();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0SVRTTUVtYWlscw==')])) {
if (!in_array(base64_decode('MTAwMDMx'), $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$u2e0 = array(base64_decode('ZXJyb3I=') => "You need to be a member of $rd");
echo json_encode($u2e0);
return;
}
$g35 = $_POST[base64_decode('SVRTTUlE')];
$oa = base64_decode('U0VMRUNUIEVtYWlsDQogICAgICAgICAgRlJPTSBpdHNtX2VtYWlscw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRJVFNNVHlwZUlEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
$sb->bind_param(base64_decode('aQ=='), $g35);
$sb->execute();
$d13 = $sb->get_result();
$m244 = array();
while ($l14 = $d13->fetch_assoc()) {
$m244[] = array(base64_decode('RW1haWw=') => $l14[base64_decode('RW1haWw=')]);
}
$u2e0 = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('RW1haWxz') => $m244);
echo json_encode($u2e0);
} else {
$u2e0 = array(base64_decode('ZXJyb3I=') => base64_decode('RXJyb3IgaW4gcHJlcGFyaW5nIFNRTCBzdGF0ZW1lbnQ='));
echo json_encode($u2e0);
}
}
if (isset($_GET[base64_decode('dXBkYXRlRm9ybXNOYW1l')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$c302 = mysqli_real_escape_string($zc, $_GET[base64_decode('Rm9ybXNOYW1l')]);
$q1d = $_GET[base64_decode('Zm9ybWlk')];
$n392 = $_GET[base64_decode('cHJldmFsdWU=')];
if (!empty($l393)) {
echo base64_decode('PHNjcmlwdD5hbGVydCgnTmF2biBla3Npc3RlcmVyIGFsbGVyZWRlJyk7PC9zY3JpcHQ+');
exit;
}
$oa = base64_decode('VVBEQVRFIGZvcm1zIFNFVCBGb3Jtc05hbWUgPSA/LCBMYXN0RWRpdGVkQnkgPSA/LCBMYXN0RWRpdGVkID0gTm93KCkgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nz'), $c302, $p8a, $q1d);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlRm9ybXNEZXNjcmlwdGlvbg==')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1d = $_GET[base64_decode('Zm9ybWlk')];
$f1e = mysqli_real_escape_string($zc, $_GET[base64_decode('RGVzY3JpcHRpb24=')]);
$oa = base64_decode('VVBEQVRFIGZvcm1zIFNFVCBEZXNjcmlwdGlvbiA9ID8gV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $f1e, $q1d);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlRm9ybXNSZWxhdGVkV29ya0Zsb3c=')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1d = $_GET[base64_decode('Zm9ybWlk')];
$hb3 = $_GET[base64_decode('V29ya0Zsb3dJRA==')];
$oa = base64_decode('VVBEQVRFIGZvcm1zIFNFVCBSZWxhdGVkV29ya0Zsb3cgPSA/IFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $hb3, $q1d);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlQ0lEZXNjcmlwdGlvbg==')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1f = $_GET[base64_decode('Y2lpZA==')];
$f1e = mysqli_real_escape_string($zc, $_GET[base64_decode('RGVzY3JpcHRpb24=')]);
$oa = base64_decode('VVBEQVRFIGNtZGJfY2lzIFNFVCBEZXNjcmlwdGlvbiA9ID8gV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $f1e, $q1f);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlRm9ybXNNb2R1bGU=')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1d = $_GET[base64_decode('Zm9ybWlk')];
$m116 = $_GET[base64_decode('UmVsYXRlZE1vZHVsZQ==')];
$oa = base64_decode('VVBEQVRFIGZvcm1zIFNFVCBSZWxhdGVkTW9kdWxlSUQgPSA/IFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $m116, $q1d);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlRm9ybVN0YXR1cw==')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1d = $_GET[base64_decode('Zm9ybWlk')];
$l7 = $_GET[base64_decode('QWN0aXZl')];
$oa = base64_decode('VVBEQVRFIGZvcm1zIFNFVCBBY3RpdmUgPSA/IFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $l7, $q1d);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlQ0lTdGF0dXM=')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1f = $_GET[base64_decode('Y2lpZA==')];
$l7 = $_GET[base64_decode('QWN0aXZl')];
$oa = "UPDATE cmdb_cis SET Active = '$l7' WHERE ID = $q1f;";
mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
}
if (isset($_GET[base64_decode('dXBkYXRlQ0lOYW1l')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1f = $_GET[base64_decode('Y2lpZA==')];
$j66 = $_GET[base64_decode('TmFtZQ==')];
$oa = base64_decode('VVBEQVRFIGNtZGJfY2lzIFNFVCBOYW1lID0gPyBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $j66, $q1f);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('ZHVwbGljYXRlRm9ybQ==')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$m2f5 = 0;
$q1d = $_GET[base64_decode('Rm9ybUlE')];
$g394 = strtolower($_GET[base64_decode('VGFibGVOYW1l')]);
$k301 = generateRandomString(15);
$s395 = "formstable_$k301";
$l393 = checkIfFormsTableNameExists($s395);
while (!empty($l393)) {
$s395 = $s395 . $m2f5;
$l393 = checkIfFormsTableNameExists($s395);
$m2f5 = $m2f5 + 1;
}
$oa = "INSERT INTO Forms(FormsName, TableName, Description, CreatedBy, Created, LastEditedBy, LastEdited, Active, Forms.Status)
SELECT FormsName, '$s395' AS TableName, Description, CreatedBy, Created, LastEditedBy, LastEdited, Active, Forms.Status
FROM Forms
WHERE ID = ?;";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aQ=='), $q1d);
$sb->execute();
$d13 = $sb->get_result();
$w304 = mysqli_insert_id($zc);
$e305 = "formid=$w304";
$oa = "INSERT INTO forms_fieldslist(RelatedFormID, FieldName, FieldLabel, FieldType, FieldOrder, FieldDefaultValue, FieldTitle, SelectFieldOptions)
SELECT '$w304', FieldName, FieldLabel, FieldType, FieldOrder, FieldDefaultValue, FieldTitle, SelectFieldOptions
FROM forms_fieldslist
WHERE RelatedFormID = ?;";
$k185 = mysqli_prepare($zc, $oa);
$k185->bind_param(base64_decode('aQ=='), $q1d);
$k185->execute();
$d13 = $k185->get_result();
mysqli_stmt_close($k185);
createDuplicateFormsFieldTable($g394, $s395);
$k306 = "ALTER TABLE $s395 COMMENT = '$e305';";
$p36f = mysqli_query($zc, $k306) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZHVwbGljYXRlV29ya0Zsb3c=')])) {
if (in_array(base64_decode('MTAwMDIz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$m2f5 = 0;
$i1d0 = $_GET[base64_decode('V0ZJRA==')];
$oa = base64_decode('SU5TRVJUIElOVE8gd29ya2Zsb3dzX3RlbXBsYXRlKFdvcmtmbG93TmFtZSwgRGVzY3JpcHRpb24sIFJlc3BvbnNpYmxlLCBSZWxhdGVkTW9kdWxlSUQsIEFjdGl2ZSkNCiAgICAgICAgICBTRUxFQ1QgV29ya2Zsb3dOYW1lLCBEZXNjcmlwdGlvbiwgUmVzcG9uc2libGUsIFJlbGF0ZWRNb2R1bGVJRCwgQWN0aXZlDQogICAgICAgICAgRlJPTSB3b3JrZmxvd3NfdGVtcGxhdGUNCiAgICAgICAgICBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $i1d0);
$sb->execute();
$w304 = mysqli_insert_id($zc);
$oa = "INSERT INTO workflowsteps_template(RelatedWorkFlowID, StepOrder, StepName, Description, RelatedUserID)
SELECT $w304, StepOrder, StepName, Description, RelatedUserID
FROM workflowsteps_template
WHERE RelatedWorkFlowID = ?;";
$k185 = mysqli_prepare($zc, $oa);
$k185->bind_param(base64_decode('cw=='), $i1d0);
$k185->execute();
$fe[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($fe);
}
if (isset($_GET[base64_decode('ZHVwbGljYXRlV29ya0Zsb3dUYXNr')])) {
if (in_array(base64_decode('MTAwMDIz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$m2f5 = 0;
$f1cf = $_GET[base64_decode('V0ZUQVNLSUQ=')];
$oa = base64_decode('SU5TRVJUIElOVE8gd29ya2Zsb3dzdGVwc190ZW1wbGF0ZShSZWxhdGVkV29ya0Zsb3dJRCwgU3RlcE9yZGVyLCBTdGVwTmFtZSwgRGVzY3JpcHRpb24sIFJlbGF0ZWRVc2VySUQpDQogICAgICAgICAgU0VMRUNUIFJlbGF0ZWRXb3JrRmxvd0lELCBTdGVwT3JkZXIsIFN0ZXBOYW1lLCBEZXNjcmlwdGlvbiwgUmVsYXRlZFVzZXJJRA0KICAgICAgICAgIEZST00gd29ya2Zsb3dzdGVwc190ZW1wbGF0ZQ0KICAgICAgICAgIFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $f1cf);
$sb->execute();
$fe[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($fe);
}
if (isset($_GET[base64_decode('ZHVwbGljYXRlQ0k=')])) {
$fe = [];
if (!in_array(base64_decode('MTAwMDE1'), $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = [base64_decode('ZXJyb3I=') => "You need to be a member of $rd"];
echo json_encode($fe);
return;
}
$m2f5 = 0;
$q1f = $_GET[base64_decode('Q0lJRA==')];
$g394 = strtolower($_GET[base64_decode('VGFibGVOYW1l')]);
$k301 = generateRandomString(15);
$s395 = "cmdb_ci_$k301";
$l393 = checkIfFormsTableNameExists($s395);
while (!empty($l393)) {
$s395 = $s395 . $m2f5;
$l393 = checkIfFormsTableNameExists($s395);
$m2f5++;
}
$l2da = "INSERT INTO cmdb_cis(Name, TableName, Description, CreatedBy, Created, LastEditedBy, LastEdited, Active, GroupID)
SELECT Name, '$s395' AS TableName, Description, CreatedBy, Created, LastEditedBy, LastEdited, Active, GroupID
FROM cmdb_cis
WHERE ID = ?";
if ($c183 = mysqli_prepare($zc, $l2da)) {
$c183->bind_param(base64_decode('cw=='), $q1f);
$c183->execute();
} else {
die(base64_decode('RmFpbGVkIHRvIHByZXBhcmUgc3RhdGVtZW50OiA=') . mysqli_error($zc));
}
$w304 = mysqli_insert_id($zc);
$q36e = "ciid=$w304";
$n2db = base64_decode('SU5TRVJUIElOVE8gY21kYl9jaV9maWVsZHNsaXN0KFJlbGF0ZWRDSVR5cGVJRCwgRmllbGROYW1lLCBGaWVsZExhYmVsLCBGaWVsZFR5cGUsIEZpZWxkT3JkZXIsIEZpZWxkRGVmYXVsdFZhbHVlLCBGaWVsZFRpdGxlLCBGaWVsZFdpZHRoLCBTZWxlY3RGaWVsZE9wdGlvbnMsIFJlbGF0aW9uU2hvd0ZpZWxkLCBJbXBvcnRTb3VyY2VGaWVsZCwgU3luY1NvdXJjZUZpZWxkLCBSZWxhdGlvbnNMb29rdXAsIEhpZGVGb3JtcywgSGlkZVRhYmxlcywgUmVxdWlyZWQsIExvY2tlZCwgQWRkb24pDQogICAgICAgICAgU0VMRUNUID8sIEZpZWxkTmFtZSwgRmllbGRMYWJlbCwgRmllbGRUeXBlLCBGaWVsZE9yZGVyLCBGaWVsZERlZmF1bHRWYWx1ZSwgRmllbGRUaXRsZSwgRmllbGRXaWR0aCwgU2VsZWN0RmllbGRPcHRpb25zLCBSZWxhdGlvblNob3dGaWVsZCwgSW1wb3J0U291cmNlRmllbGQsIFN5bmNTb3VyY2VGaWVsZCwgUmVsYXRpb25zTG9va3VwLCBIaWRlRm9ybXMsIEhpZGVUYWJsZXMsIFJlcXVpcmVkLCBMb2NrZWQsIEFkZG9uDQogICAgICAgICAgRlJPTSBjbWRiX2NpX2ZpZWxkc2xpc3QNCiAgICAgICAgICBXSEVSRSBSZWxhdGVkQ0lUeXBlSUQgPSA/');
if ($k185 = mysqli_prepare($zc, $n2db)) {
$k185->bind_param(base64_decode('c3M='), $w304, $q1f);
$k185->execute();
} else {
die(base64_decode('RmFpbGVkIHRvIHByZXBhcmUgc3RhdGVtZW50OiA=') . mysqli_error($zc));
}
createDuplicateFormsFieldTable($g394, $s395);
$k306 = "ALTER TABLE $s395 COMMENT = '$q36e'";
if (!mysqli_query($zc, $k306)) {
die(base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc));
}
}
if (isset($_GET[base64_decode('ZHVwbGljYXRlSVRTTQ==')])) {
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
duplicateITSM($i16, $k17);
}
if (isset($_GET[base64_decode('Z2V0UmVxdWVzdHM=')])) {
$k17 = $_GET[base64_decode('Z2V0UmVxdWVzdHM=')];
$oa = base64_decode('U0VMRUNUIGZvcm1zLklEIEFTIEZvcm1JRCwgZm9ybXMuRm9ybXNOYW1lLCBmb3Jtcy5EZXNjcmlwdGlvbg0KICAgICAgICAgIEZST00gZm9ybXMNCiAgICAgICAgICBXSEVSRSBBY3RpdmUgPSAxIEFORCBTdGF0dXMgPSAxIEFORCBmb3Jtcy5SZWxhdGVkTW9kdWxlSUQgPSA/DQogICAgICAgICAgT1JERVIgQlkgZm9ybXMuRm9ybXNOYW1lIEFTQw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$q1d = $l14[base64_decode('Rm9ybUlE')];
$c302 = $l14[base64_decode('Rm9ybXNOYW1l')];
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$j396 = "<a href=\"javascript:getRequestDefinition($q1d,'');\" title=\"$f1e\">$c302</a>";
$fe[] = array(base64_decode('UmVxdWVzdExpbms=') => $j396);
}
echo json_encode($fe);
}
if (isset($_GET[base64_decode('Z2V0UmVxdWVzdERlZmluaXRpb24=')])) {
$q1d = $_GET[base64_decode('Rm9ybUlE')];
$m397 = base64_decode('PGRpdiBjbGFzcz0iY2FyZCI+PGRpdiBjbGFzcz0iY2FyZC1ib2R5Ij48ZGl2IGNsYXNzPSJyb3ciPjxoNiBpZD0iY3JlYXRlRm9ybXNOYW1lIj48L2g2Pg==');
$c302 = getFormsName($q1d);
$oa = base64_decode('U0VMRUNUIEZvcm1zX2ZpZWxkc2xpc3QuRmllbGROYW1lLCBGb3Jtc19maWVsZHNsaXN0LkZpZWxkTGFiZWwsIEZvcm1zX2ZpZWxkc2xpc3RfdHlwZXMuRGVmaW5pdGlvbiwgRm9ybXNfZmllbGRzbGlzdC5GaWVsZERlZmF1bHRWYWx1ZSwgRm9ybXNfZmllbGRzbGlzdC5maWVsZHRpdGxlLCANCiAgICAgICAgICBGb3Jtc19maWVsZHNsaXN0LlNlbGVjdEZpZWxkT3B0aW9ucywgRm9ybXNfZmllbGRzbGlzdC5GaWVsZFdpZHRoLCBmb3Jtc19maWVsZHNsaXN0Lkxvb2t1cFRhYmxlLCBmb3Jtc19maWVsZHNsaXN0Lkxvb2t1cEZpZWxkLCBmb3Jtc19maWVsZHNsaXN0Lkxvb2t1cEZpZWxkUmVzdWx0Vmlldyxmb3Jtc19maWVsZHNsaXN0LkhpZGVGb3Jtcyxmb3Jtc19maWVsZHNsaXN0LlJlcXVpcmVkLGZvcm1zX2ZpZWxkc2xpc3QuTG9ja2VkLCBmb3Jtc19maWVsZHNsaXN0LkFkZG9uLCBmb3Jtc19maWVsZHNsaXN0LkFkZEVtcHR5LCBmb3Jtc19maWVsZHNsaXN0LkZ1bGxIZWlnaHQNCiAgICAgICAgICBGUk9NIEZvcm1zDQogICAgICAgICAgTEVGVCBKT0lOIEZvcm1zX2ZpZWxkc2xpc3QgT04gRm9ybXMuSUQgPSBGb3Jtc19maWVsZHNsaXN0LlJlbGF0ZWRGb3JtSUQNCiAgICAgICAgICBMRUZUIEpPSU4gRm9ybXNfZmllbGRzbGlzdF90eXBlcyBPTiBGb3Jtc19maWVsZHNsaXN0LkZpZWxkVHlwZSA9IEZvcm1zX2ZpZWxkc2xpc3RfdHlwZXMuSUQNCiAgICAgICAgICBXSEVSRSBGb3Jtcy5JRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBGb3Jtc19maWVsZHNsaXN0LkZpZWxkT3JkZXIgQVND');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $q1d);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$f29a = $l14[base64_decode('TG9va3VwVGFibGU=')];
$g29b = base64_decode('SUQ=');
$j29d = $l14[base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3')];
$g28e = $l14[base64_decode('RmllbGRMYWJlbA==')];
$m1a = $l14[base64_decode('RmllbGROYW1l')];
$p374 = $l14[base64_decode('RmllbGREZWZhdWx0VmFsdWU=')];
$r380 = $l14[base64_decode('ZmllbGR0aXRsZQ==')];
$a37b = $l14[base64_decode('QWRkRW1wdHk=')];
$m37c = $l14[base64_decode('RnVsbEhlaWdodA==')];
$h56 = $l14[base64_decode('U2VsZWN0RmllbGRPcHRpb25z')];
$h375 = $l14[base64_decode('RmllbGRXaWR0aA==')];
$c377 = $l14[base64_decode('SGlkZUZvcm1z')];
$q37a = $l14[base64_decode('QWRkb24=')];
if ($q37a) {
$x398 = getModuleFieldAddonBtn($q37a);
$x398 = str_replace(base64_decode('PDpGaWVsZE5hbWU6Pg=='), $m1a, $x398);
} else {
$x398 = '';
}
if ($c377 == base64_decode('MQ==')) {
continue;
}
if ($m37c == base64_decode('MQ==')) {
$n399 = base64_decode('MTAwJQ==');
} else {
$n399 = base64_decode('MjUwcHg=');
}
$f378 = $l14[base64_decode('UmVxdWlyZWQ=')];
if ($f378 == base64_decode('MQ==')) {
$f378 = base64_decode('cmVxdWlyZWQ=');
$o39a = base64_decode('PGNvZGU+KjwvY29kZT4=');
} else {
$f378 = '';
$o39a = '';
}
$m397 .= $l14[base64_decode('RGVmaW5pdGlvbg==')];
$m397 = str_replace(base64_decode('PDpmaWVsZG5hbWU6Pg=='), $m1a, $m397);
$m397 = str_replace(base64_decode('PDpmaWVsZHZhbHVlOj4='), $p374, $m397);
$m397 = str_replace(base64_decode('PDpmaWVsZGlkOj4='), $m1a, $m397);
$m397 = str_replace(base64_decode('PDpsYWJlbDo+'), $g28e, $m397);
$m397 = str_replace(base64_decode('PDpmaWVsZHRpdGxlOj4='), $r380, $m397);
$m397 = str_replace(base64_decode('PDpyZXF1aXJlZDo+'), $f378, $m397);
$m397 = str_replace(base64_decode('PDpyZXF1aXJlZGxhYmVsOj4='), $o39a, $m397);
$m397 = str_replace(base64_decode('PDpMb2NrZWQ6Pg=='), $z379, $m397);
$m397 = str_replace(base64_decode('PDphZGRvbkJ0bjo+'), base64_decode('IA==') . $x398, $m397);
$m397 = str_replace(base64_decode('PDpmaWVsZHdpZHRoOj4='), $h375, $m397);
$m397 = str_replace(base64_decode('PDpoZWlnaHQ6Pg=='), $n399, $m397);
if (!empty($f29a)) {
$h56 = '';
$h56 = getFormsLookupTableSelectOptions($f29a, $g29b, $j29d, $q1d, $m1a, $a37b);
}
$m397 = str_replace(base64_decode('PDpzZWxlY3RvcHRpb25zOj4='), $h56, $m397);
}
$m397 .= base64_decode('PC9kaXY+PC9kaXY+PC9kaXY+PGRpdiBjbGFzcz0icm93Ij48YnI+PC9kaXY+');
$fe[] = array(base64_decode('RGVmaW5pdGlvbg==') => $m397, base64_decode('Rm9ybUlE') => $q1d, base64_decode('Rm9ybXNOYW1l') => $c302);
mysqli_free_result($d13);
echo json_encode($fe);
}
if (isset($_GET[base64_decode('dXBkYXRlRm9ybUZpZWxkVmFsdWU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$q1d = $_GET[base64_decode('Zm9ybWlk')];
$u39b = getFormModuleID($q1d);
$s119 = json_decode($_GET[base64_decode('anNvblN0cmluZw==')], true);
$d39c = $_GET[base64_decode('UmVxdWVzdGVy')];
$t39d = $_GET[base64_decode('QnVzaW5lc3NTZXJ2aWNl')];
$v24b = $_GET[base64_decode('UHJpb3JpdHk=')];
$s39e = $_GET[base64_decode('UmVzcG9uc2libGVUZWFt')];
$h39f = $_GET[base64_decode('UmVzcG9uc2libGU=')];
$c3a0 = $_GET[base64_decode('UmVxdWVzdElE')];
$z3a1 = $_GET[base64_decode('aW1nRGF0YQ==')];
$u8c = 0;
$j4f = getTableNameFromFormID($q1d);
foreach ($s119 as $l14) {
$l202 = $l14[base64_decode('ZmllbGRuYW1l')];
$i3a2 = $l14[base64_decode('dmFsdWU=')];
if (empty($i3a2)) {
$i3a2 = '';
}
if ($u8c == 0) {
$oa = "INSERT INTO $j4f ($l202) VALUES ('$i3a2');";
$d13 = mysqli_query($zc, $oa);
$w3a3 = mysqli_insert_id($zc);
$u8c = $u8c + 1;
} else {
$oa = "UPDATE $j4f SET $l202 = '$i3a2' WHERE ID = $w3a3;";
$d13 = mysqli_query($zc, $oa);
}
}
if ($u39b == base64_decode('MTY=')) {
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('bm90YXJlcXVlc3Q='));
echo json_encode($t1b9);
exit;
}
$q4 = $p8a;
if (empty($d39c)) {
$d39c = $p8a;
}
if (empty($t39d)) {
$t39d = base64_decode('LTE=');
}
if (empty($v24b)) {
$v24b = base64_decode('Mg==');
}
if (empty($s39e)) {
$s39e = base64_decode('LTE=');
}
if (empty($h39f)) {
$h39f = base64_decode('LTE=');
}
if (empty($s39e)) {
$s39e = base64_decode('LTE=');
}
if (empty($c3a0)) {
$c3a0 = base64_decode('MA==');
}
$s3a4 = getFormNameFromFormID($q1d);
$o3a5 = '';
$r3a6 = '';
$c3a0 = createNewRequestFromFormView($c3a0, $q1d, $w3a3, $q4, $d39c, $t39d, $s3a4, $o3a5, $v24b, $s39e, $h39f, $r3a6);
updateRelatedRequestOnFormFieldRecord($j4f, $w3a3, $c3a0);
if (empty($c3a0)) {
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='));
echo json_encode($t1b9);
exit;
} else {
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
exit;
}
}
if (isset($_GET[base64_decode('Z2V0UmVxdWVzdEluZm9ybWF0aW9u')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$c3a0 = $_GET[base64_decode('UmVxdWVzdElE')];
$oa = base64_decode('U0VMRUNUIFJlcXVlc3RzLklEIEFTIFJlcXVlc3RJRCwgRGF0ZUNyZWF0ZWQsIFN1YmplY3QsIFJlbGF0ZWRDb21wYW55SUQsIGNvbXBhbmllcy5Db21wYW55bmFtZSBBUyBDb21wYW55bmFtZSwgUmVxdWVzdHMuVHlwZSwgUHJvYmxlbVRleHQsIFJlc3BvbnNpYmxlVGVhbSwgUmVxdWVzdHMuU29sdXRpb25UZXh0LCBSZXF1ZXN0cy5SZWxhdGVkRm9ybUlELCBSZXF1ZXN0cy5SZWxhdGVkRm9ybVRhYmxlUm93SUQsDQogICAgICAgIFJlc3BvbnNpYmxlLCBQcmlvcml0eSwgU3RhdHVzLCBDT05DQVQodXNlcnMuRmlyc3RuYW1lLCcgJyx1c2Vycy5MYXN0bmFtZSkgQVMgQ3VzdG9tZXJOYW1lLCBSZXF1ZXN0cy5SZWxhdGVkQ3VzdG9tZXJJRCBhcyBDdXN0b21lcklELCANCiAgICAgICAgdXNlcnMuQ29tcGFueUlEIGFzIEN1c3RvbWVyQ29tcGFueUlELCB1c2Vycy5QaG9uZSBBUyBDdXN0b21lclBob25lLCBSZXF1ZXN0c3RhdHVzY29kZXMuU3RhdHVzTmFtZSBBUyBTdGF0dXNOYW1lLCBDb21wYW5pZXMuUGhvbmUgQVMgQ29tcGFueVBob25lLCBSZXF1ZXN0cy5SZWxhdGVkQnVzaW5lc3NTZXJ2aWNlDQogICAgICAgIEZST00gUmVxdWVzdHMgDQogICAgICAgIExFRlQgSk9JTiBDb21wYW5pZXMgT04gUmVxdWVzdHMuUmVsYXRlZENvbXBhbnlJRCA9IENvbXBhbmllcy5JRA0KICAgICAgICBMRUZUIEpPSU4gdXNlcnMgT04gUmVxdWVzdHMuUmVsYXRlZEN1c3RvbWVySUQgPSB1c2Vycy5JRA0KICAgICAgICBMRUZUIEpPSU4gUmVxdWVzdHN0YXR1c2NvZGVzIE9OIFJlcXVlc3RzLlN0YXR1cyA9IFJlcXVlc3RzdGF0dXNjb2Rlcy5JRA0KICAgICAgICBXSEVSRSBSZXF1ZXN0cy5JRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $c3a0);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$l3a7 = $l14[base64_decode('RGF0ZUNyZWF0ZWQ=')];
$r3a8 = $l14[base64_decode('U3ViamVjdA==')];
$g3a9 = $l14[base64_decode('UmVsYXRlZENvbXBhbnlJRA==')];
$h3aa = $l14[base64_decode('Q29tcGFueW5hbWU=')];
$a3ab = $l14[base64_decode('VHlwZQ==')];
$e3ac = $l14[base64_decode('UHJvYmxlbVRleHQ=')];
$o3ad = $l14[base64_decode('UmVzcG9uc2libGVUZWFt')];
$u3ae = $l14[base64_decode('UmVzcG9uc2libGU=')];
$r3af = $l14[base64_decode('UmVzcG9uc2libGU=')];
$o3b0 = $l14[base64_decode('UHJpb3JpdHk=')];
$e3b1 = $l14[base64_decode('U3RhdHVz')];
$k3b2 = $l14[base64_decode('U3RhdHVzTmFtZQ==')];
$v3b3 = $l14[base64_decode('Q3VzdG9tZXJOYW1l')];
$b3b4 = $l14[base64_decode('Q3VzdG9tZXJJRA==')];
$b3b5 = $l14[base64_decode('Q3VzdG9tZXJQaG9uZQ==')];
$w3b6 = $l14[base64_decode('Q3VzdG9tZXJDb21wYW55SUQ=')];
$p3b7 = $l14[base64_decode('Q29tcGFueVBob25l')];
$x3b8 = $l14[base64_decode('U29sdXRpb25UZXh0')];
$q3b9 = $l14[base64_decode('UmVsYXRlZEJ1c2luZXNzU2VydmljZQ==')];
$h3ba = $l14[base64_decode('UmVsYXRlZEZvcm1JRA==')];
$p3bb = $l14[base64_decode('UmVsYXRlZEZvcm1UYWJsZVJvd0lE')];
}
$m397 .= base64_decode('PGRpdiBjbGFzcz0iY29sLWxnLTYgY29sLW1kLTYgY29sLXNtLTEyIGNvbC14cy0xMiI+DQogICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9ImlucHV0LWdyb3VwIGlucHV0LWdyb3VwLXN0YXRpYyBtYi00Ij4NCiAgICAgICAgICAgICAgICAgICAgICA8bGFiZWwgZm9yPSJSZXF1ZXN0Q29tcGFueSI+') . _(base64_decode('Q29tcGFueQ==')) . "</label>
<input type=\"text\" class=\"form-control\" id=\"RequestCompany\" value=\"$h3aa\" readonly=\"readonly\">
</div>
</div>";
$m397 .= base64_decode('PGRpdiBjbGFzcz0iY29sLWxnLTYgY29sLW1kLTYgY29sLXNtLTEyIGNvbC14cy0xMiI+DQogICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9ImlucHV0LWdyb3VwIGlucHV0LWdyb3VwLXN0YXRpYyBtYi00Ij4NCiAgICAgICAgICAgICAgICAgICAgICA8bGFiZWwgZm9yPSJSZXF1ZXN0Q3VzdG9tZXIiPg==') . _(base64_decode('Q3VzdG9tZXI=')) . "</label>
<input type=\"text\" class=\"form-control\" id=\"RequestCustomer\" value=\"$v3b3\" readonly=\"readonly\">
</div>
</div>";
$w28d = getTableNameFromFormID($h3ba);
$oa = base64_decode('U0VMRUNUIGZvcm1zX2ZpZWxkc2xpc3QuRmllbGROYW1lLCBmb3Jtc19maWVsZHNsaXN0LkxhYmVsLCBmb3Jtc19maWVsZHNsaXN0X3R5cGVzLkRlZmluaXRpb24sIGZvcm1zX2ZpZWxkc2xpc3QuRmllbGRUeXBlLCBGb3Jtc19maWVsZHNsaXN0LkZpZWxkRGVmYXVsdFZhbHVlLCBGb3Jtc19maWVsZHNsaXN0LmZpZWxkdGl0bGUsIEZvcm1zX2ZpZWxkc2xpc3QuU2VsZWN0RmllbGRPcHRpb25zLCBGb3Jtc19maWVsZHNsaXN0LkZpZWxkV2lkdGgNCiAgICAgICAgICBGUk9NIGZvcm1zDQogICAgICAgICAgTEVGVCBKT0lOIGZvcm1zX2ZpZWxkc2xpc3QgT04gZm9ybXMuSUQgPSBmb3Jtc19maWVsZHNsaXN0LlJlbGF0ZWRGb3JtSUQNCiAgICAgICAgICBMRUZUIEpPSU4gZm9ybXNfZmllbGRzbGlzdF90eXBlcyBPTiBmb3Jtc19maWVsZHNsaXN0LkZpZWxkVHlwZSA9IGZvcm1zX2ZpZWxkc2xpc3RfdHlwZXMuSUQNCiAgICAgICAgICBXSEVSRSBGb3Jtcy5JRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBGaWVsZE9yZGVyIEFTQw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $h3ba);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$p298 = $l14[base64_decode('RmllbGRUeXBl')];
$u3bc = $l14[base64_decode('RmllbGROYW1l')];
$r3bd = getRequestFormFieldValue($w28d, $u3bc, $p3bb);
if ($r3bd == base64_decode('TlVMTA==')) {
$r3bd = '';
}
$p374 = $l14[base64_decode('RmllbGREZWZhdWx0VmFsdWU=')];
$r380 = $l14[base64_decode('ZmllbGR0aXRsZQ==')];
$h56 = $l14[base64_decode('U2VsZWN0RmllbGRPcHRpb25z')];
$h375 = $l14[base64_decode('RmllbGRXaWR0aA==')];
$g28e = $l14[base64_decode('TGFiZWw=')];
switch ($p298) {
case 2:
$m397 .= "<div class=\"col-lg-$h375 col-md-$h375 col-sm-12 col-xs-12\">
<div class=\"input-group input-group-static mb-4\"><label for=\"$u3bc\" title=\"$r380\">$g28e</label>
<textarea class=\"resizable_textarea form-control\" id=\"$u3bc\" name=\"$u3bc\" title=\"$r380\" rows=\"5\" autocomplete=\"off\" readonly=\"readonly\">$r3bd</textarea>
</div>
</div>";
break;
case 3:
$m397 .= "<div class=\"col-lg-$h375 col-md-$h375 col-sm-12 col-xs-12\">
<div class=\"input-group input-group-static mb-4\">
<label for=\"$u3bc\">$g28e</label>
<input type=\"checkbox\" name=\"$u3bc\" id=\"$u3bc\" onclick=\"return false;\"></input>
</div>
</div>";
break;
case 5:
$m397 .= "<div class=\"col-lg-$h375 col-md-$h375 col-sm-12 col-xs-12\">
<div class=\"input-group input-group-static mb-4\">
<label for=\"$u3bc\" title=\"$r380\">$g28e</label>
<input type=\"datetime-local\" class=\"form-control\" id=\"$u3bc\" value=\"$r3bd\" readonly=\"readonly\">
</div>
</div>";
break;
default:
$m397 .= "<div class=\"col-lg-$h375 col-md-$h375 col-sm-12 col-xs-12\">
<div class=\"input-group input-group-static mb-4\">
<label for=\"$u3bc\" title=\"$r380\">$g28e</label>
<input type=\"text\" class=\"form-control\" id=\"$u3bc\" value=\"$r3bd\" readonly=\"readonly\">
</div>
</div>";
}
}
if (empty($c3a0)) {
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='));
} else {
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('RGVmaW5pdGlvbg==') => $m397, base64_decode('UmVxdWVzdElE') => $c3a0);
}
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('dXBkYXRlQmFzZURCVmVyc2lvbg==')])) {
if (!in_array(base64_decode('MTAwMDAw'), $p0)) {
echo base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE=');
return;
}
$w3be = $_GET[base64_decode('ZmlsZQ==')];
$l2da = base64_decode('RFJPUCBEQVRBQkFTRSBJRiBFWElTVFMgcHJhY3RpY2xlX2Jhc2U7');
$d13 = mysqli_query($zc, $l2da);
$n2db = base64_decode('Q1JFQVRFIERBVEFCQVNFIElGIE5PVCBFWElTVFMgcHJhY3RpY2xlX2Jhc2UgQ09MTEFURSB1dGY4bWIzX2RhbmlzaF9jaTs=');
$d13 = mysqli_query($zc, $n2db);
$m3bf = base64_decode('cHJhY3RpY2xlX2Jhc2U=');
$d3c0 = mysqli_connect($n3c1, $l3c2, $o3c3, $m3bf);
$n3c4 = '';
$x3c5 = file_get_contents($w3be);
$s3c6 = preg_split(base64_decode('Lztccypccj9cbi8='), $x3c5);
$t3c7 = true;
try {
foreach ($s3c6 as $oa) {
$oa = trim($oa, base64_decode('Ow0K'));
if ($oa === '') {
continue;
}
if (strpos($oa, base64_decode('Q1JFQVRFIFRBQkxF')) !== false) {
$t3c7 = false;
}
if ($t3c7) {
continue;
}
if (strpos($oa, base64_decode('Q09NTUlU')) !== false || strpos($oa, base64_decode('U0VUIENPTExBVElPTl9DT05ORUNUSU9OPUBPTERfQ09MTEFUSU9OX0NPTk5FQ1RJT04=')) !== false || strpos($oa, base64_decode('U0VUIENIQVJBQ1RFUl9TRVRfQ0xJRU5UPUBPTERfQ0hBUkFDVEVSX1NFVF9DTElFTlQ=')) !== false) {
continue;
}
$d13 = mysqli_query($d3c0, $oa);
if (!$d13) {
$m1b = mysqli_error($d3c0);
throw new Exception($m1b);
}
}
mysqli_close($d3c0);
$t1b9[] = array(base64_decode('cmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
} catch (Exception $s15) {
$m1b = $s15->getMessage();
$g3c8 = isset($oa) ? $oa : '';
errorlog(base64_decode('RXJyb3I6IA==') . $m1b . base64_decode('IHwgUXVlcnk6IA==') . $g3c8, base64_decode('dXBkYXRlQmFzZURCVmVyc2lvbg=='));
$t1b9[] = array(base64_decode('cmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('bWVzc2FnZQ==') => $m1b, base64_decode('cXVlcnk=') => $g3c8);
echo json_encode($t1b9);
}
}
if (isset($_GET[base64_decode('ZWRpdFdvcmtGbG93VGFzaw==')])) {
$i3c9 = $_GET[base64_decode('V0ZUSUQ=')];
$oa = base64_decode('U0VMRUNUIHdvcmtmbG93c3RlcHMuYElEYCwgd29ya2Zsb3dzdGVwcy5gUmVsYXRlZFdvcmtGbG93SURgLCB3b3JrZmxvd3N0ZXBzLmBTdGVwT3JkZXJgLCB3b3JrZmxvd3N0ZXBzLmBTdGVwTmFtZWAsIHdvcmtmbG93c3RlcHMuYERlc2NyaXB0aW9uYCwgd29ya2Zsb3dzdGVwcy5gUmVsYXRlZFN0YXR1c0lEYCwgd29ya2Zsb3dzdGVwcy4NCiAgICAgICAgICAgICAgICBgUmVsYXRlZFVzZXJJRGAsIHRhc2tzbGlzdC5EZWFkbGluZQ0KICAgICAgICAgIEZST00gd29ya2Zsb3dzdGVwcw0KICAgICAgICAgIExFRlQgSk9JTiB0YXNrc2xpc3QgT04gd29ya2Zsb3dzdGVwcy5SZWxhdGVkVGFza0lEID0gdGFza3NsaXN0LklEDQogICAgICAgICAgV0hFUkUgd29ya2Zsb3dzdGVwcy5JRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aQ=='), $i3c9);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$t287 = $l14[base64_decode('UmVsYXRlZFdvcmtGbG93SUQ=')];
$l237 = $l14[base64_decode('U3RlcE9yZGVy')];
$o77 = $l14[base64_decode('U3RlcE5hbWU=')];
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$b12a = $l14[base64_decode('UmVsYXRlZFN0YXR1c0lE')];
$p7a = $l14[base64_decode('UmVsYXRlZFVzZXJJRA==')];
$j7e = convertToDanishDateTimeFormat($l14[base64_decode('RGVhZGxpbmU=')]);
$b3ca = $m3cb . $s3cc . $p3cd . $x3ce . $l3cf;
$t1b9[] = array(base64_decode('SUQ=') => $r46, base64_decode('UmVsYXRlZFdvcmtGbG93SUQ=') => $t287, base64_decode('U3RlcE9yZGVy') => $l237, base64_decode('U3RlcE5hbWU=') => $o77, base64_decode('RGVzY3JpcHRpb24=') => $f1e, base64_decode('UmVsYXRlZFN0YXR1c0lE') => $b12a, base64_decode('UmVsYXRlZFVzZXJJRA==') => $p7a, base64_decode('RGVhZGxpbmU=') => $j7e);
}
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('dXBkYXRlV29ya0Zsb3dUYXNr')])) {
$i3c9 = $_POST[base64_decode('V0ZUSUQ=')];
$o2f4 = $_POST[base64_decode('cXVlcnlTdHJpbmc=')];
$g35 = getWFTElementID($i3c9);
$k17 = getWFTElementTypeID($i3c9);
foreach ($o2f4 as $r2a) {
$y2c4 = trim($r2a[base64_decode('bmFtZQ==')]);
$y2c4 = str_replace(base64_decode('RWRpdFdGVA=='), '', $y2c4);
$q335 = mysqli_real_escape_string($zc, $r2a[base64_decode('dmFsdWU=')]);
if ($y2c4 == base64_decode('RGVhZGxpbmU=')) {
$q335 = convertFromDanishTimeFormat($q335);
$oa = "UPDATE taskslist SET $y2c4 = '$q335'
WHERE wftid = $i3c9";
mysqli_query($zc, $oa);
} else if ($y2c4 == base64_decode('UmVsYXRlZFN0YXR1c0lE')) {
$oa = "UPDATE taskslist SET Status = '$q335'
WHERE wftid = $i3c9";
mysqli_query($zc, $oa);
$oa = "UPDATE workflowsteps SET $y2c4 = '$q335'
WHERE ID = $i3c9";
mysqli_query($zc, $oa);
} else {
$oa = "UPDATE workflowsteps SET $y2c4 = '$q335'
WHERE ID = $i3c9";
mysqli_query($zc, $oa);
}
}
$t1b9[] = array(base64_decode('SVRTTVR5cGVJRA==') => $k17, base64_decode('SVRTTUlE') => $g35, base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('ZGVsZXRlV29ya0Zsb3dUYXNr')])) {
$i3c9 = $_POST[base64_decode('V0ZUSUQ=')];
$oa = "DELETE FROM taskslist
WHERE wftid = $i3c9";
mysqli_query($zc, $oa);
$oa = "DELETE FROM workflowsteps
WHERE ID = $i3c9";
mysqli_query($zc, $oa);
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('ZGVsZXRlVGVtcFBpY3R1cmU=')])) {
$jba = $_POST[base64_decode('RmlsZU5hbWU=')];
$p8a = $_POST[base64_decode('VXNlcklE')];
$oa = base64_decode('REVMRVRFIEZST00gZmlsZXNfdGVtcA0KICAgICAgICAgIFdIRVJFIEZpbGVOYW1lID0gPyBBTkQgUmVsYXRlZFVzZXJJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $jba, $p8a);
$sb->execute();
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('Y3JlYXRlU3RvcFdvcmRz')])) {
createStopWords();
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('Z2V0VGVhbXNJVFNN')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$oa = "SELECT $i16.ID, Customer, Subject, $i16.Description, itsm_statuscodes.StatusName, itsm_priorities.PriorityName, Responsible, BusinessService, $i16.SLA, Created, CreatedBy, LastUpdated, teams.Teamname, companies.Companyname
FROM $i16
LEFT JOIN teams ON $i16.Team = teams.ID
LEFT JOIN companies ON $i16.RelatedCompanyID = companies.ID
LEFT JOIN itsm_statuscodes ON $i16.Status = itsm_statuscodes.StatusCode
LEFT JOIN itsm_priorities ON $i16.Priority = itsm_priorities.ID
WHERE itsm_statuscodes.ModuleID = $k17;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$v78 = $l14[base64_decode('U3RhdHVzTmFtZQ==')];
$u3d0 = $l14[base64_decode('UHJpb3JpdHlOYW1l')];
$n3d1 = $l14[base64_decode('VGVhbW5hbWU=')];
if ($n3d1 == '') {
$n3d1 = base64_decode('bm9uZQ==');
}
$i3d2 = $l14[base64_decode('Q29tcGFueW5hbWU=')];
$i29[] = array(base64_decode('U3RhdHVz') => "$v78", base64_decode('UHJpb3JpdHk=') => "$u3d0", base64_decode('VGVhbQ==') => $n3d1, base64_decode('Q29tcGFueQ==') => $i3d2);
}
echo json_encode($i29);
}
if (isset($_GET[base64_decode('Z2V0VGVhbXNPcGVuSVRTTQ==')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$i29[] = array();
$oa = "SELECT teams.Teamname, COUNT($i16.ID) AS Antal
FROM $i16
LEFT JOIN teams ON $i16.Team = teams.ID
WHERE $i16.Team IS NOT NULL AND $i16.Status NOT IN (6,7)
GROUP BY teams.Teamname;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$ybf = $l14[1];
$n3d1 = $l14[0];
if ($n3d1 == '') {
$n3d1 = base64_decode('Tm90IGFzc2lnbmVkIHRvIFRlYW0=');
}
$i29[] = array(base64_decode('QW50YWw=') => $ybf, base64_decode('VGVhbQ==') => $n3d1);
}
echo json_encode($i29);
}
if (isset($_GET[base64_decode('Z2V0VGVhbXNDbG9zZWRJVFNN')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$i29[] = array();
$oa = "SELECT teams.Teamname, COUNT($i16.ID) AS Antal
FROM $i16
LEFT JOIN teams ON $i16.Team = teams.ID
WHERE $i16.Team IS NOT NULL AND $i16.Status IN (6,7)
GROUP BY teams.Teamname;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$ybf = $l14[1];
$n3d1 = $l14[0];
$i29[] = array(base64_decode('QW50YWw=') => $ybf, base64_decode('VGVhbQ==') => $n3d1);
}
echo json_encode($i29);
}
if (isset($_GET[base64_decode('Z2V0Q29tcGFuaWVzT3BlbklUU00=')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$i29[] = array();
$oa = "SELECT companies.Companyname, COUNT($i16.ID) AS Antal
FROM $i16
LEFT JOIN companies ON $i16.RelatedCompanyID = companies.ID
WHERE $i16.Status NOT IN (6,7)
GROUP BY companies.Companyname;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$ybf = $l14[base64_decode('QW50YWw=')];
$i3d2 = $l14[base64_decode('Q29tcGFueW5hbWU=')];
if ($i3d2 == '') {
$i3d2 = base64_decode('bm9uZQ==');
}
$i29[] = array(base64_decode('QW50YWw=') => $ybf, base64_decode('Q29tcGFueQ==') => $i3d2);
}
if (empty($i29)) {
echo json_encode([]);
} else {
echo json_encode($i29);
}
}
if (isset($_GET[base64_decode('Z2V0Q29tcGFuaWVzQ2xvc2VkSVRTTQ==')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$i29[] = array();
$oa = "SELECT companies.Companyname, COUNT($i16.ID) AS Antal
FROM $i16
LEFT JOIN companies ON $i16.RelatedCompanyID = companies.ID
WHERE $i16.Status IN (6,7)
GROUP BY companies.Companyname;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$ybf = $l14[1];
$i3d2 = $l14[0];
if ($i3d2 == '') {
$i3d2 = base64_decode('bm9uZQ==');
}
$i29[] = array(base64_decode('QW50YWw=') => $ybf, base64_decode('Q29tcGFueQ==') => $i3d2);
}
echo json_encode($i29);
}
if (isset($_GET[base64_decode('Z2V0UmVzcG9uc2libGVzT3BlbklUU00=')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$oa = "SELECT $i16.Responsible, COUNT($i16.ID) AS Antal
FROM $i16
WHERE $i16.Responsible IS NOT NULL AND $i16.Status NOT IN (6,7)
GROUP BY $i16.Responsible;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$ybf = $l14[base64_decode('QW50YWw=')];
$z190 = $l14[base64_decode('UmVzcG9uc2libGU=')];
$b264 = getFullNameFromID($z190);
$i29[] = array(base64_decode('QW50YWw=') => $ybf, base64_decode('UmVzcG9uc2libGU=') => "$b264");
}
echo json_encode($i29);
}
if (isset($_GET[base64_decode('Z2V0UmVzcG9uc2libGVzQ2xvc2VkSVRTTQ==')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$oa = "SELECT $i16.Responsible, COUNT($i16.ID) AS Antal
FROM $i16
WHERE $i16.Responsible IS NOT NULL AND $i16.Status IN (6,7)
GROUP BY $i16.Responsible;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$ybf = $l14[base64_decode('QW50YWw=')];
$z190 = $l14[base64_decode('UmVzcG9uc2libGU=')];
$b264 = getFullNameFromID($z190);
$i29[] = array(base64_decode('QW50YWw=') => $ybf, base64_decode('UmVzcG9uc2libGU=') => $b264);
}
echo json_encode($i29);
}
if (isset($_GET[base64_decode('Y3JlYXRlVXNlcg==')])) {
if (in_array(base64_decode('MTAwMDI2'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$q113 = [];
foreach ($_POST[base64_decode('ZGF0YQ==')] as $u52) {
$q113[$u52[base64_decode('bmFtZQ==')]] = $u52[base64_decode('dmFsdWU=')];
}
$p3d3 = $q113[base64_decode('ZW1haWxVc2Vy')];
$r3d4 = $q113[base64_decode('Q29tcGFueUlE')];
if ($r3d4 == '') {
$e3d5 = _(base64_decode('Q29tcGFueQ==')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$u16c = $q113[base64_decode('Rmlyc3RuYW1l')];
if ($u16c == '') {
$e3d5 = _(base64_decode('Rmlyc3RuYW1l')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$r16d = $q113[base64_decode('TGFzdG5hbWU=')];
if ($r16d == '') {
$e3d5 = _(base64_decode('TGFzdG5hbWU=')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$c247 = $q113[base64_decode('UmVsYXRlZFVzZXJUeXBlSUQ=')];
if ($c247 == '') {
$e3d5 = _(base64_decode('VXNlcnR5cGU=')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$z187 = strtolower($q113[base64_decode('RW1haWw=')]);
if ($z187 == '') {
$e3d5 = _(base64_decode('RW1haWw=')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$j66 = doesEmailExists($z187);
if ($j66 != '') {
$s119[] = array(base64_decode('UmVzdWx0') => "Email owned by $j66");
echo json_encode($s119);
return;
}
$e7b = strtolower($q113[base64_decode('VXNlcm5hbWU=')]);
if ($e7b == '') {
$e3d5 = _(base64_decode('VXNlcm5hbWU=')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$j66 = doesUsernameExists($e7b);
if ($j66 != '') {
$s119[] = array(base64_decode('UmVzdWx0') => "Username owned by $j66");
echo json_encode($s119);
return;
}
$j3d6 = $q113[base64_decode('UGFzc3dvcmQ=')];
if ($j3d6 == '') {
$e3d5 = _(base64_decode('UGFzc3dvcmQ=')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$r170 = $q113[base64_decode('Sm9iVGl0ZWw=')];
$kd0 = $q113[base64_decode('U3RhcnREYXRl')];
$n248 = $q113[base64_decode('UmVsYXRlZE1hbmFnZXJJRA==')];
$c24a = rand(0, 9) . rand(0, 9) . rand(0, 9) . rand(0, 9);
$h249 = SaltAndHashPasswordForCompare($j3d6);
$n3d7 = getNumberOfAllowedEmployees();
$e3d8 = getNumberOfEmployees();
if ($c247 == 1 and $e3d8 >= $n3d7) {
echo "<script>alert('Number of employees/technicians($e3d8), cant exceed the licensed($n3d7)');</script>";
} else {
$i3d9 = createNewUser($u16c, $r16d, $z187, $e7b, $h249, $r3d4, $r170, $c247, $n248, $kd0, $c24a);
}
if ($p3d3 == base64_decode('MQ==')) {
$z187 = getUserEmailFromID($i3d9);
$u20d = getSettingValue(17);
$d20a = getSettingValue(13);
$t3da = getUserFirstName($i3d9);
$u3db = getUserLastName($i3d9);
$m3dc = getMailTemplateSubject(8);
$g3dd = getMailTemplateContent(8);
$m3dc = str_replace(base64_decode('PDpzeXN0ZW1uYW1lOj4='), $d20a, $m3dc);
$g3dd = str_replace(base64_decode('PDpmaXJzdG5hbWU6Pg=='), $t3da, $g3dd);
$g3dd = str_replace(base64_decode('PDpsYXN0bmFtZTo+'), $u3db, $g3dd);
$g3dd = str_replace(base64_decode('PDpzeXN0ZW1uYW1lOj4='), $d20a, $g3dd);
$g3dd = str_replace(base64_decode('PDpzeXN0ZW11cmw6Pg=='), $u20d, $g3dd);
sendMailToSinglePerson($z187, $ac4, $m3dc, $g3dd);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlQ29tcGFueQ==')])) {
if (in_array(base64_decode('MTAwMDI1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q4 = $_SESSION[base64_decode('aWQ=')];
$y21b = $_POST[base64_decode('Q29tcGFueU5hbWU=')];
if ($y21b == '') {
$e3d5 = _(base64_decode('Q29tcGFueSBOYW1l')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$y2af = doesCompanyNameExists($y21b);
if ($y2af != '') {
$s119[] = array(base64_decode('UmVzdWx0') => "Company name: $y2af exists");
echo json_encode($s119);
return;
}
$k3de = $_POST[base64_decode('QWRkcmVzcw==')];
$m3df = $_POST[base64_decode('WmlwQ29kZQ==')];
$j3e0 = $_POST[base64_decode('Q2l0eQ==')];
$a3e1 = $_POST[base64_decode('Q291bnRyeQ==')];
if ($a3e1 == '') {
$e3d5 = _(base64_decode('Q291bnRyeQ==')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$z187 = strtolower($_POST[base64_decode('RW1haWw=')]);
if ($z187 == '') {
$e3d5 = _(base64_decode('RW1haWw=')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$y2af = doesCompanyEmailExistsBeforeCreate($z187, $y21b);
if ($y2af !== '') {
$s119[] = array(base64_decode('UmVzdWx0') => "Email owned by $y2af");
echo json_encode($s119);
return;
}
$y16e = $_POST[base64_decode('UGhvbmU=')];
$u3e2 = $_POST[base64_decode('Q0JS')];
$wcc = $_POST[base64_decode('V2ViUGFnZQ==')];
$v3e3 = $_POST[base64_decode('Q3VzdG9tZXJBY2NvdW50TnVtYmVy')];
$g3e4 = $_POST[base64_decode('UmVsYXRlZFNMQUlE')];
$u3e5 = getNumberOfAllowedCompanies();
$x3e6 = getNumberOfCompanies();
if ($x3e6 >= $u3e5) {
echo "<script>alert('Number of companies($x3e6), cant exceed the licensed($u3e5)');</script>";
} else {
createNewCompany($q4, $y21b, $wcc, $k3de, $m3df, $a3e1, $z187, $j3e0, $u3e2, $y16e, $v3e3, $g3e4);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dXBkYXRlQ29tcGFueQ==')])) {
if (in_array(base64_decode('MTAwMDI1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q4 = $_SESSION[base64_decode('aWQ=')];
$n3e7 = translate(base64_decode('Q29tcGFueQ=='));
$x3e8 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$h2 = $_POST[base64_decode('Q29tcGFueUlE')];
$n3e9 = [];
$i3ea = [];
foreach ($x3e8 as $k349) {
$i2f1 = $k349[base64_decode('bmFtZQ==')];
$y2d1 = $k349[base64_decode('dmFsdWU=')];
$b3eb = getOldValueOfCompany($h2, $i2f1);
if ($b3eb !== $y2d1) {
$i3ea[] = [base64_decode('ZmllbGQ=') => $i2f1, base64_decode('b2xk') => $b3eb, base64_decode('bmV3') => $y2d1];
}
if ($i2f1 === base64_decode('RW1haWw=')) {
if (empty($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('RW1haWwgY2Fubm90IGJlIGVtcHR5'))]);
return;
} elseif (doesCompanyEmailExists($y2d1, $h2)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VGhpcyBlbWFpbCBhbHJlYWR5IGV4aXN0cw=='))]);
return;
}
}
if ($i2f1 === base64_decode('UmVsYXRlZFNMQUlE')) {
if (empty($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('U0xBIGlzIHJlcXVpcmVk'))]);
return;
}
}
if ($i2f1 === base64_decode('Q29tcGFueU5hbWU=')) {
if (empty($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('Q29tcGFueSBuYW1lIGlzIHJlcXVpcmVk'))]);
return;
}
}
if (empty($y2d1)) {
$n3e9[] = "$i2f1 = NULL";
} else {
$n3e9[] = "$i2f1 = '" . $y2d1 . base64_decode('Jw==');
}
}
if (!empty($n3e9)) {
$c2e9 = [];
$m3ec = [];
$b3ed = [];
foreach ($x3e8 as $k349) {
$i2f1 = $k349[base64_decode('bmFtZQ==')];
$y2d1 = $k349[base64_decode('dmFsdWU=')];
$c2e9[] = $i2f1;
$m3ec[] = $y2d1;
if (is_null($y2d1)) {
$b3ed[] = "$i2f1 = NULL";
} else {
$b3ed[] = "$i2f1 = ?";
}
}
$q3ee = implode(base64_decode('LCA='), $b3ed);
$oa = "UPDATE Companies SET $q3ee WHERE ID = ?";
$sb = mysqli_prepare($zc, $oa);
$n2e8 = str_repeat(base64_decode('cw=='), count($m3ec));
$m3ec[] = $h2;
$sb->bind_param($n2e8 . base64_decode('aQ=='), ...$m3ec);
$d13 = $sb->execute();
if ($d13) {
foreach ($i3ea as $h3ef) {
$ra3 = "{$h3ef[base64_decode('ZmllbGQ=')]} changed from {$h3ef[base64_decode('b2xk')]} to {$h3ef[base64_decode('bmV3')]}";
createCompanyLogEntry($h2, $q4, base64_decode('MQ=='), $ra3);
}
$f3f0 = translate($n3e7);
$k3f1 = $f3f0 . base64_decode('IA==') . translate(base64_decode('dXBkYXRlZA=='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('TWVzc2FnZQ==') => $k3f1]);
} else {
$w3f2 = mysqli_error($zc);
errorlog("$f3f0 could not be updated. Error: $w3f2", base64_decode('dXBkYXRlQ29tcGFueQ=='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => $w3f2]);
}
}
}
if (isset($_GET[base64_decode('dXBkYXRlVXNlcg==')])) {
if (in_array(base64_decode('MTAwMDI1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q4 = $_SESSION[base64_decode('aWQ=')];
$n3e7 = translate(base64_decode('VXNlcg=='));
$x3e8 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$p8a = $_POST[base64_decode('VXNlcklE')];
$n3e9 = [];
$i3ea = [];
foreach ($x3e8 as $k349) {
$i2f1 = $k349[base64_decode('bmFtZQ==')];
$y2d1 = $k349[base64_decode('dmFsdWU=')];
$b3eb = getOldValueOfUser($p8a, $i2f1);
if ($b3eb === NULL && $y2d1 === '') {
continue;
}
if ($b3eb !== $y2d1) {
$i3ea[] = [base64_decode('ZmllbGQ=') => $i2f1, base64_decode('b2xk') => $b3eb, base64_decode('bmV3') => $y2d1];
}
if ($i2f1 === base64_decode('RW1haWw=')) {
if (empty($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('RW1haWwgY2Fubm90IGJlIGVtcHR5'))]);
return;
} elseif ($j66 = doesEmailExists($y2d1, $p8a)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VGhpcyBlbWFpbCBhbHJlYWR5IGV4aXN0cyBmb3I=')) . base64_decode('PGJyPg==') . $j66]);
return;
}
}
if ($i2f1 === base64_decode('Rmlyc3RuYW1l')) {
if (empty($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('Rmlyc3RuYW1lIGlzIHJlcXVpcmVk'))]);
return;
}
}
if ($i2f1 === base64_decode('VXNlcm5hbWU=')) {
if (empty($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VXNlcm5hbWUgY2Fubm90IGJlIGVtcHR5'))]);
return;
} elseif ($j66 = doesUsernameExists($y2d1, $p8a)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VGhpcyB1c2VybmFtZSBhbHJlYWR5IGV4aXN0cyBmb3I=')) . base64_decode('PGJyPg==') . $j66]);
return;
}
}
if (empty($y2d1)) {
$n3e9[] = "$i2f1 = NULL";
} else {
$n3e9[] = "$i2f1 = '" . $y2d1 . base64_decode('Jw==');
}
}
if (!empty($n3e9)) {
$c2e9 = [];
$m3ec = [];
$b3ed = [];
foreach ($x3e8 as $k349) {
$i2f1 = $k349[base64_decode('bmFtZQ==')];
$y2d1 = $k349[base64_decode('dmFsdWU=')];
$c2e9[] = $i2f1;
if (empty($y2d1)) {
$b3ed[] = "$i2f1 = NULL";
} else {
$b3ed[] = "$i2f1 = ?";
$m3ec[] = $y2d1;
}
}
$q3ee = implode(base64_decode('LCA='), $b3ed);
$oa = "UPDATE Users SET $q3ee WHERE ID = ?";
$sb = mysqli_prepare($zc, $oa);
if (!$sb) {
die(base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_stmt_error($sb));
}
$m3ec[] = $p8a;
$n2e8 = str_repeat(base64_decode('cw=='), count($m3ec) - 1) . base64_decode('aQ==');
$sb->bind_param($n2e8, ...$m3ec);
$d13 = $sb->execute();
if (!$d13) {
die(base64_decode('U3RhdGVtZW50IGV4ZWN1dGlvbiBmYWlsZWQ6IA==') . mysqli_stmt_error($sb));
}
if (!mysqli_stmt_error($sb)) {
foreach ($i3ea as $h3ef) {
$ra3 = "{$h3ef[base64_decode('ZmllbGQ=')]} changed from {$h3ef[base64_decode('b2xk')]} to {$h3ef[base64_decode('bmV3')]}";
createUserLogEntry($p8a, $q4, base64_decode('MQ=='), $ra3);
}
$f3f0 = translate($n3e7);
$k3f1 = $f3f0 . base64_decode('IA==') . translate(base64_decode('dXBkYXRlZA=='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('TWVzc2FnZQ==') => $k3f1]);
} else {
$w3f2 = mysqli_stmt_error($zc);
errorlog("$f3f0 could not be updated. Error: $w3f2", base64_decode('dXBkYXRlVXNlcg=='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => $w3f2]);
}
}
}
if (isset($_GET[base64_decode('cmVtb3ZlQ29tcGFueQ==')])) {
if (in_array(base64_decode('MTAwMDI1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q4 = $_SESSION[base64_decode('aWQ=')];
$h2 = $_POST[base64_decode('Q29tcGFueUlE')];
$b3f3 = generateRandomString(12) . base64_decode('QGFub255bWl6ZWQ=');
$oa = "UPDATE companies
SET CompanyName = 'Anonymized', WebPage = 'Anonymized', Phone = 'Anonymized', CustomerAccountNumber = 'Anonymized', Address = 'Anonymized', Email = '$b3f3', CBR = 'Anonymized', Notes = 'Anonymized', Active = 3
WHERE ID = $h2";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
deleteCompanyLogs($h2);
deleteCompanyFiles($h2);
$ra3 = base64_decode('UmVtb3ZlZA==');
createCompanyLogEntry($h2, $q4, base64_decode('Mg=='), $ra3);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('cmVtb3ZlVXNlcg==')])) {
if (in_array(base64_decode('MTAwMDI2'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q4 = $_SESSION[base64_decode('aWQ=')];
$baa = $_POST[base64_decode('VXNlcklE')];
$b3f3 = generateRandomString(12) . base64_decode('QGFub255bWl6ZWQ=');
$i3f4 = generateRandomString(10) . base64_decode('QGFub255bWl6ZWQ=');
$m3f5 = SaltAndHashPasswordForCompare(generateRandomString(26));
$o3f6 = generateRandomString(6);
$o3f7 = getProfilePicture($baa);
if ($o3f7 !== base64_decode('Li91cGxvYWRzL2ltYWdlcy9wcm9maWxlcGljdHVyZXMvZGVmYXVsdF91c2VyLnBuZw==')) {
unlink($o3f7);
}
$oa = "UPDATE users
SET Firstname = 'Anonymized', Lastname = '$o3f6', google_secret_code = '0Km#9kQyfI1CLkthWhDb#F', QRUrl = NULL, ZoomPersRoom = NULL, Username = '$i3f4', Password = '$m3f5', Birthday = NULL, ADUUID = NULL, Email = '$b3f3', ProfilePicture = 'default_user.png', Phone = NULL, JobTitel = NULL, LinkedIn = NULL, Notes = NULL, Active = 3
WHERE ID = $baa";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
deleteUserLogs($baa);
deleteUserFiles($baa);
$ra3 = base64_decode('UmVtb3ZlZA==');
createUserLogEntry($baa, $q4, base64_decode('Mg=='), $ra3);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('cmVzb2x2ZUlUU00=')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$h34e = $_POST[base64_decode('U29sdXRpb24=')];
$i16 = getITSMTableName($k17);
if (empty($j3f8)) {
$d3f9 = getITSMClosedStatus($k17);
$j3f8 = $d3f9[0];
}
$oa = "UPDATE $i16 SET Status = ?, Solution = ? WHERE ID = ?";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aXNp'), $j3f8, $h34e, $g35);
mysqli_stmt_execute($sb);
if (mysqli_stmt_errno($sb)) {
die(base64_decode('UXVlcnkgZXhlY3V0aW9uIGZhaWxlZDog') . mysqli_stmt_error($sb));
}
mysqli_stmt_close($sb);
} else {
die(base64_decode('UHJlcGFyZWQgc3RhdGVtZW50IGZhaWxlZDog') . mysqli_error($zc));
}
$j3f8 = getITSMFinishedStatus($k17);
$e3fa = getITSMStatusCodesBelowFinishedStatus($k17, $j3f8);
$c3fb = getITSMStatusCodesAllreadyUpdated($k17, $g35);
$e3fa = array_diff($e3fa, $c3fb);
foreach ($e3fa as $k349) {
updateTimelineUpdatedDate($g35, $k17, $k349);
}
updateTimelineUpdatedDate($g35, $k17, $j3f8);
$u362 = base64_decode('Mg==');
$f1e = '';
$q335 = $h34e;
$y2c4 = '';
$n2c5 = '';
closeAllTasksAssociatedWithITSM($k17, $g35);
sendITSMNotificationMailToUsers($u362, $k17, $g35, $f1e, $y2c4, $n2c5, $q335);
$t18 = getITSMTypeName($k17);
$d6a = translate(base64_decode('U29sdmVk')) . base64_decode('IA==') . strtolower($t18) . base64_decode('IA==') . $g35;
$zb0 = base64_decode('PGI+') . translate(base64_decode('U29sdmVkIHdpdGggc29sdXRpb24=')) . base64_decode('PGJyPjxicj4=') . $h34e;
logActivity($g35, $k17, $d6a, $zb0, "javascript:javascript:viewITSM('$g35','$k17','1','modal');");
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('cmVzZXRGb3Jtc0RhdGE=')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$q1d = $_GET[base64_decode('Rm9ybUlE')];
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
$b3fc = getFormsTableName($q1d);
$oa = "DELETE FROM $b3fc;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$oa = "ALTER TABLE $b3fc AUTO_INCREMENT = 1";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlRm9ybUZyb21UZW1wbGF0ZQ==')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$faf = $_GET[base64_decode('VGVtcGxhdGVJRA==')];
$b3fc = base64_decode('Zm9ybXN0YWJsZV8=') . generateRandomString(15);
$h3fd = getModuleTemplateSQL($faf, base64_decode('TW9kdWxl'));
$h3fd = str_replace(base64_decode('PDpUYWJsZU5hbWU6Pg=='), $b3fc, $h3fd);
$d13 = mysqli_query($zc, $h3fd) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$w304 = $zc->$a10f;
$c3fe = getModuleTemplateSQL($faf, base64_decode('VGFibGU='));
$c3fe = str_replace(base64_decode('PDpUYWJsZU5hbWU6Pg=='), $b3fc, $c3fe);
$d13 = mysqli_query($zc, $c3fe) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$b3ff = getModuleTemplateSQL($faf, base64_decode('RmllbGRz'));
$b3ff = str_replace(base64_decode('PDpGb3JtSUQ6Pg=='), "$w304", $b3ff);
$d13 = mysqli_query($zc, $b3ff) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0Q2VydGlmaWNhdGVFeHBpcmVEYXRl')])) {
$cce = $_GET[base64_decode('VVJM')];
$y400 = getCertificateExpireDate($cce);
$s119[] = array(base64_decode('UmVzdWx0') => "$y400");
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dXBkYXRlQ2VydGlmaWNhdGVFbmREYXRl')])) {
$t401 = $_GET[base64_decode('Y2lUeXBlSWQ=')];
$e402 = $_GET[base64_decode('Y2lJZA==')];
$y403 = $_GET[base64_decode('ZW5kRGF0ZQ==')];
updateCertificateEndDate($t401, $e402, $y403);
$s119[] = array(base64_decode('UmVzdWx0') => "End Date updated to: $y403");
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZXhlY3V0ZVF1ZXJ5')])) {
if (!in_array(base64_decode('MTAwMDAw'), $p0)) {
echo base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE=');
return;
}
$g3c8 = $_POST[base64_decode('cXVlcnk=')];
$r404 = $_POST[base64_decode('RGVzdGluYXRpb25EYXRhYmFzZQ==')];
$a405 = new mysqli("$n3c1", "$l3c2", "$o3c3", "$r404");
$a405->multi_query($g3c8);
if ($a405->$q406) {
die(base64_decode('UXVlcnkgZmFpbDog') . $a405->$o294);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y2xvc2VBbGxUYXNrc0Fzc29jaWF0ZWRXaXRoSVRTTQ==')])) {
if (!in_array(base64_decode('MTAwMDAw'), $p0)) {
echo base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE=');
return;
}
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$oa = base64_decode('VVBEQVRFIHRhc2tzbGlzdCBTRVQgU3RhdHVzID0gJzQnDQogICAgICAgIFdIRVJFIFJlbGF0ZWRFbGVtZW50VHlwZUlEID0gPyBBTkQgUmVsYXRlZEVsZW1lbnRJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $k17, $g35);
mysqli_stmt_execute($sb);
if (mysqli_stmt_affected_rows($sb) > 0) {
$u2e0 = base64_decode('VGFza3MgY2xvc2VkIHN1Y2Nlc3NmdWxseS4=');
} else {
$u2e0 = base64_decode('Tm8gdGFza3MgZm91bmQgb3IgZXJyb3Igb2NjdXJyZWQu');
}
mysqli_stmt_close($sb);
echo $u2e0;
}
if (isset($_GET[base64_decode('dHJhbnNsYXRl')])) {
$z44 = $_POST[base64_decode('dGV4dA==')];
$m407 = translate($z44);
echo json_encode($m407);
}
if (isset($_GET[base64_decode('Y2hlY2tGb3Jtc1RhYmxlQ29uc2lzdGVuY3k=')])) {
if (!in_array(base64_decode('MTAwMDAx'), $p0) || !in_array(base64_decode('MTAwMDI5'), $p0)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE='));
echo json_encode($s119);
return;
}
$dc6 = '';
$z35c = $_GET[base64_decode('Rm9ybUlE')];
$c35d = getFormsTableName($z35c);
$oa = "SELECT FieldName
FROM forms_fieldslist
WHERE RelatedFormID = '$z35c';";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $l14[base64_decode('RmllbGROYW1l')];
$h408 = "SELECT COUNT(*)
FROM information_schema.columns
WHERE table_schema = '$d2c2'
AND table_name = '$c35d'
AND column_name = '$m1a';";
$t409 = mysqli_query($zc, $h408) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
if (mysqli_num_rows($t409) == 0) {
$dc6 .= "<br><details><summary>$m1a was not found in $c35d</summary>";
$dc6 .= base64_decode('PHByZSBvbmNsaWNrPSJjb3B5VG9DbGlwYm9hcmQodGhpcykiPg==');
$dc6 .= "ALTER TABLE $c35d
ADD $m1a TEXT CHARACTER SET utf8mb3 COLLATE utf8mb3_danish_ci DEFAULT NULL;";
$dc6 .= base64_decode('PC9wcmU+');
$dc6 .= "<button onclick=\"executeQuery(this, '$d2c2')\">Execute</button>";
$dc6 .= base64_decode('PC9kZXRhaWxzPjxicj4=');
} else {
$dc6 .= "$m1a was found in $c35d<br>";
}
}
$dc6 .= base64_decode('PGJyPg==');
$oa = "SHOW COLUMNS FROM $c35d WHERE Field LIKE 'FormField%';";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $l14[0];
$h408 = "SELECT FieldName
FROM forms_fieldslist
WHERE RelatedFormID = $z35c AND FieldName = '$m1a';";
$t409 = mysqli_query($zc, $h408) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
if (mysqli_num_rows($t409) == 0) {
$dc6 .= "<br><details><summary>$m1a is not relevant</summary>";
$dc6 .= base64_decode('PHByZSBvbmNsaWNrPSJjb3B5VG9DbGlwYm9hcmQodGhpcykiPg==');
$dc6 .= "ALTER TABLE $c35d
DROP COLUMN $m1a;";
$dc6 .= base64_decode('PC9wcmU+');
$dc6 .= "<button onclick=\"executeQuery(this, '$d2c2')\">Execute</button>";
$dc6 .= base64_decode('PC9kZXRhaWxzPjxicj4=');
} else {
$dc6 .= "$m1a in $c35d is relevant<br>";
}
}
mysqli_free_result($d13);
$s119[] = array(base64_decode('UmVzdWx0') => "$dc6");
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y2hlY2tJVFNNVGFibGVDb25zaXN0ZW5jeQ==')])) {
if (!in_array(base64_decode('MTAwMDAx'), $p0) || !in_array(base64_decode('MTAwMDMx'), $p0)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE='));
echo json_encode($s119);
return;
}
$dc6 = '';
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$oa = "SELECT FieldName
FROM itsm_fieldslist
WHERE RelatedTypeID = '$k17';";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $l14[base64_decode('RmllbGROYW1l')];
$h408 = "SELECT COUNT(*)
FROM information_schema.columns
WHERE table_schema = '$d2c2'
AND table_name = '$i16'
AND column_name = '$m1a';";
$t409 = mysqli_query($zc, $h408) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
if (mysqli_num_rows($t409) == 0) {
$dc6 .= "<br><details><summary>$m1a was not found in $i16</summary>";
$dc6 .= base64_decode('PHByZSBvbmNsaWNrPSJjb3B5VG9DbGlwYm9hcmQodGhpcykiPg==');
$dc6 .= "ALTER TABLE $i16
ADD $m1a TEXT CHARACTER SET utf8mb3 COLLATE utf8mb3_danish_ci DEFAULT NULL;";
$dc6 .= base64_decode('PC9wcmU+');
$dc6 .= "<button onclick=\"executeQuery(this, '$d2c2')\">Execute</button>";
$dc6 .= base64_decode('PC9kZXRhaWxzPjxicj4=');
} else {
$dc6 .= "<small>$m1a was found in $i16</small><br>";
}
}
$dc6 .= base64_decode('PGJyPg==');
$oa = "SHOW COLUMNS FROM $i16 WHERE Field NOT LIKE 'ID';";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $l14[0];
$h408 = "SELECT FieldName
FROM itsm_fieldslist
WHERE RelatedTypeID = $k17 AND FieldName = '$m1a';";
$t409 = mysqli_query($zc, $h408) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
if (mysqli_num_rows($t409) == 0) {
$dc6 .= "<br><details><summary>$m1a is not relevant</summary>";
$dc6 .= base64_decode('PHByZSBvbmNsaWNrPSJjb3B5VG9DbGlwYm9hcmQodGhpcykiPg==');
$dc6 .= "ALTER TABLE $i16
DROP COLUMN $m1a;";
$dc6 .= base64_decode('PC9wcmU+');
$dc6 .= "<button onclick=\"executeQuery(this, '$d2c2')\">Execute</button>";
$dc6 .= base64_decode('PC9kZXRhaWxzPjxicj4=');
} else {
$dc6 .= "<small>$m1a: relevant</small><br>";
}
}
mysqli_free_result($d13);
$s119[] = array(base64_decode('UmVzdWx0') => "$dc6");
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y2hlY2tDTURCVGFibGVDb25zaXN0ZW5jeQ==')])) {
if (!in_array(base64_decode('MTAwMDAx'), $p0) || !in_array(base64_decode('MTAwMDMx'), $p0)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE='));
echo json_encode($s119);
return;
}
$dc6 = '';
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$oa = "SELECT FieldName
FROM cmdb_ci_fieldslist
WHERE RelatedCITypeID = '$m10';";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $l14[base64_decode('RmllbGROYW1l')];
$h408 = "SELECT COUNT(*)
FROM information_schema.columns
WHERE table_schema = '$d2c2'
AND table_name = '$df'
AND column_name = '$m1a';";
$t409 = mysqli_query($zc, $h408) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
if (mysqli_num_rows($t409) == 0) {
$dc6 .= "<br><details><summary>$m1a was not found in $df</summary>";
$dc6 .= base64_decode('PHByZSBvbmNsaWNrPSJjb3B5VG9DbGlwYm9hcmQodGhpcykiPg==');
$dc6 .= "ALTER TABLE $df
ADD $m1a TEXT CHARACTER SET utf8mb3 COLLATE utf8mb3_danish_ci DEFAULT NULL;";
$dc6 .= base64_decode('PC9wcmU+');
$dc6 .= "<button onclick=\"executeQuery(this, '$d2c2')\">Execute</button>";
$dc6 .= base64_decode('PC9kZXRhaWxzPjxicj4=');
} else {
$dc6 .= "<small>$m1a was found in $df</small><br>";
}
}
$dc6 .= base64_decode('PGJyPg==');
$oa = "SHOW COLUMNS FROM $df WHERE Field NOT LIKE 'ID';";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $l14[0];
$h408 = "SELECT FieldName
FROM cmdb_ci_fieldslist
WHERE RelatedCITypeID = $m10 AND FieldName = '$m1a';";
$t409 = mysqli_query($zc, $h408) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
if (mysqli_num_rows($t409) == 0) {
$dc6 .= "<br><details><summary>$m1a is not relevant</summary>";
$dc6 .= base64_decode('PHByZSBvbmNsaWNrPSJjb3B5VG9DbGlwYm9hcmQodGhpcykiPg==');
$dc6 .= "ALTER TABLE $df
DROP COLUMN $m1a;";
$dc6 .= base64_decode('PC9wcmU+');
$dc6 .= "<button onclick=\"executeQuery(this, '$d2c2')\">Execute</button>";
$dc6 .= base64_decode('PC9kZXRhaWxzPjxicj4=');
} else {
$dc6 .= "<small>$m1a: relevant</small><br>";
}
}
mysqli_free_result($d13);
$s119[] = array(base64_decode('UmVzdWx0') => "$dc6");
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0TGFuZ3VhZ2VFbnRyaWVz')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$oa = base64_decode('U0VMRUNUIElELCBNYWluTGFuZ3VhZ2UsIGRhX0RLLCBlc19FUywgZGVfREUsIGZyX0ZSLCBmaV9GSSwgaXRfSVQsIHRyX1RSLCB6aF9DTiwgcnVfUlUsIGphX0pQLCBwdF9QVA0KICAgICAgICBGUk9NIGxhbmd1YWdlczs=');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$x40a = "<a href=\"javascript:editLanguageEntry($r46);\"><span class='badge badge-pill bg-gradient-secondary'><i class='fas fa-pencil-alt'></i></span></a>";
$q40b = "<a href=\"javascript:deleteLanguageEntry($r46);\"><span class='badge badge-pill bg-gradient-danger'><i class=\"fa-solid fa-trash\"></i></span></a>";
$ff1 = $l14[base64_decode('TWFpbkxhbmd1YWdl')];
$m40c = $l14[base64_decode('ZGFfREs=')];
$s119[] = array(base64_decode('SUQ=') => $r46, base64_decode('RWRpdA==') => $x40a, base64_decode('RGVsZXRl') => $q40b, base64_decode('TWFpbkxhbmd1YWdl') => $ff1, base64_decode('ZGFuaXNo') => $m40c);
}
if ($s119) {
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2VuZXJhdGVMYW5ndWFnZUZpbGVz')])) {
$d40d = [base64_decode('ZGFfREs='), base64_decode('ZGVfREU='), base64_decode('ZXNfRVM='), base64_decode('ZnJfRlI='), base64_decode('ZmlfRkk='), base64_decode('aXRfSVQ='), base64_decode('dHJfVFI='), base64_decode('emhfQ04='), base64_decode('cnVfUlU='), base64_decode('amFfSlA='), base64_decode('cHRfUFQ=')];
foreach ($d40d as $m40e) {
$oa = "SELECT MainLanguage, $m40e
FROM languages";
$d40f = base64_decode('bXNnaWQgIiINCm1zZ3N0ciAiIg==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('UHJvamVjdC1JZC1WZXJzaW9uOiBQcmFjdGljbGU=') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('UE9ULUNyZWF0aW9uLURhdGU6IDIwMTktMDUtMTYgMTE6MjUrMDIwMA==') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('UE8tUmV2aXNpb24tRGF0ZTogMjAxOS0wNy0xMSAxMzowMCswMjAw') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('TGFzdC1UcmFuc2xhdG9yOiA=') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('TGFuZ3VhZ2UtVGVhbTog') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('TUlNRS1WZXJzaW9uOiAxLjA=') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('Q29udGVudC1UeXBlOiB0ZXh0L3BsYWluOyBjaGFyc2V0PVVURi04') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('Q29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogOGJpdA==') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('WC1HZW5lcmF0b3I6IFBvZWRpdCAyLjIuMw==') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('WC1Qb2VkaXQtQmFzZXBhdGg6IC4=') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('UGx1cmFsLUZvcm1zOiBucGx1cmFscz0yOyBwbHVyYWw9KG4gIT0gMSk7') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . "Language: $m40e" . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('WC1Qb2VkaXQtU291cmNlQ2hhcnNldDogVVRGLTg=') . base64_decode('XG4=') . base64_decode('Ig==');
$e410 = '';
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$j411 = trim($l14[base64_decode('TWFpbkxhbmd1YWdl')]);
$a3e1 = trim($l14[$m40e]);
$y2af = base64_decode('bXNnaWQg') . base64_decode('Ig==') . $j411 . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('bXNnc3RyIA==') . base64_decode('Ig==') . $a3e1 . base64_decode('Ig==') . base64_decode('Cgo=');
$e410 .= base64_decode('bXNnaWQg') . base64_decode('Ig==') . $j411 . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('bXNnc3RyIA==') . base64_decode('Ig==') . $a3e1 . base64_decode('Ig==') . base64_decode('Cgo=');
}
$c412 = $d40f . base64_decode('Cgo=') . $e410;
$q413 = dirname(__FILE__);
$q413 = $q413 . base64_decode('L2xvY2FsZXMv') . $m40e . base64_decode('L0xDX01FU1NBR0VTLw==');
$m414 = base64_decode('bWFpbi5wbw==');
$q413 = dirname(__FILE__) . base64_decode('L2xvY2FsZXMv') . $m40e . base64_decode('L0xDX01FU1NBR0VTLw==');
if (!file_exists($q413)) {
mkdir($q413, 0777, true);
}
unlink($q413 . $m414);
unlink($q413 . base64_decode('bWFpbi5tbw=='));
file_put_contents($q413 . $m414, $c412);
$m415 = base64_decode('bXNnZm10IA==') . $q413 . base64_decode('bWFpbi5wbyAtLW91dHB1dC1maWxlPQ==') . $q413 . base64_decode('bWFpbi5tbw==');
exec("$m415");
}
echo base64_decode('PHNjcmlwdCB0eXBlPSd0ZXh0L2phdmFzY3JpcHQnPg0KCSQoZG9jdW1lbnQpLnJlYWR5KGZ1bmN0aW9uKGUpIHsNCgkJcG5vdGlmeSgnTGFuZ3VhZ2UgZmlsZXMgZ2VuZXJhdGVkJywnc3VjY2VzcycpOw0KCX0pOw0KCTwvc2NyaXB0Pg==');
if ($d2c2 == base64_decode('cHJhY3RpY2xlX3ByYWN0aWNsZQ==')) {
$oa = base64_decode('VFJVTkNBVEUgVEFCTEUgcHJhY3RpY2xlX2Jhc2UubGFuZ3VhZ2VzOw==');
mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$oa = base64_decode('SU5TRVJUIElOVE8gcHJhY3RpY2xlX2Jhc2UubGFuZ3VhZ2VzDQogICAgICAgICAgU0VMRUNUICoNCiAgICAgICAgICBGUk9NIGxhbmd1YWdlczs=');
mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
}
sleep(2);
$w416 = base64_decode('c3lzdGVtY3RsIHJlc3RhcnQgYXBhY2hlMi5zZXJ2aWNl');
exec("$w416");
errorlog("LanguageFiles did not generate, tried $m415", base64_decode('Z2VuZXJhdGVMYW5ndWFnZUZpbGVz'));
}
if (isset($_GET[base64_decode('Z2V0Rm9ybUZpZWxkcw==')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
$q1d = $_POST[base64_decode('Rm9ybUlE')];
$j4f = base64_decode('Zm9ybXNfZmllbGRzbGlzdA==');
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$oa = "SELECT forms_fieldslist.ID, forms_fieldslist.FieldName, forms_fieldslist.RelatedFormID, forms_fieldslist_types.TypeName,
forms_fieldslist.FieldOrder, forms_fieldslist.FieldLabel
FROM forms_fieldslist
LEFT JOIN forms_fieldslist_types ON forms_fieldslist.FieldType = forms_fieldslist_types.ID
WHERE RelatedFormID = $q1d
ORDER BY FieldOrder ASC";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$o49 = $l14[base64_decode('SUQ=')];
$m1a = $l14[base64_decode('RmllbGROYW1l')];
$p298 = $l14[base64_decode('VHlwZU5hbWU=')];
$h3ba = $l14[base64_decode('UmVsYXRlZEZvcm1JRA==')];
$h373 = $l14[base64_decode('RmllbGRPcmRlcg==')];
$d299 = $l14[base64_decode('RmllbGRMYWJlbA==')];
$h417 = "<a href=\"javascript:setFormFieldOrderUp('$j4f','$q1d','$h373','$j6');\"><i class=\"fa-solid fa-arrow-down\"></i></i></a>
<a href=\"javascript:setFormFieldOrderDown('$j4f','$q1d','$h373','$j6');\"><i class=\"fa-solid fa-arrow-up\"></i></a>  <a href=\"javascript:editFormFieldEntry('$o49');\"><span class=\"badge bg-gradient-info\"><i class=\"fa fa-pencil-alt\"></i></span></a>";
$n418 = "<a href=\"javascript:deleteFormField('$o49','$q1d','$j6');\"><span class=\"badge bg-gradient-danger\"><i class=\"fa fa-trash\"></i></span></a>";
$h417 = $h417 . $n418;
$s119[] = array('' => $h417, translate(base64_decode('RmllbGQgTmFtZQ==')) => "$m1a", translate(base64_decode('RmllbGQgTGFiZWw=')) => $d299, translate(base64_decode('VHlwZQ==')) => $p298);
}
if ($s119) {
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTUZpZWxkcw==')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$j4f = base64_decode('aXRzbV9maWVsZHNsaXN0');
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$oa = "SELECT itsm_fieldslist.ID, itsm_fieldslist.FieldName, itsm_fieldslist.RelatedTypeID, itsm_fieldslist_types.TypeName,
itsm_fieldslist.FieldOrder, itsm_fieldslist.FieldLabel, itsm_fieldslist.DefaultField, itsm_fieldslist.RelationShowField
FROM itsm_fieldslist
LEFT JOIN itsm_fieldslist_types ON itsm_fieldslist.FieldType = itsm_fieldslist_types.ID
WHERE RelatedTypeID = $k17
ORDER BY FieldOrder ASC";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$o49 = $l14[base64_decode('SUQ=')];
$m1a = $l14[base64_decode('RmllbGROYW1l')];
$p298 = $l14[base64_decode('VHlwZU5hbWU=')];
$l419 = $l14[base64_decode('UmVsYXRlZFR5cGVJRA==')];
$h373 = $l14[base64_decode('RmllbGRPcmRlcg==')];
$d299 = $l14[base64_decode('RmllbGRMYWJlbA==')];
$u29c = $l14[base64_decode('RGVmYXVsdEZpZWxk')];
$r372 = $l14[base64_decode('UmVsYXRpb25TaG93RmllbGQ=')];
$h417 = "<a href=\"javascript:setITSMieldOrderUp('$j4f','$k17','$h373');\"><i class=\"fa-solid fa-arrow-down\"></i></i></a>
<a href=\"javascript:setITSMieldOrderDown('$j4f','$k17','$h373');\"><i class=\"fa-solid fa-arrow-up\"></i></a>  <a href=\"javascript:editITSMFieldEntry('$o49');\"><span class=\"badge bg-gradient-info\"><i class=\"fa fa-pencil-alt\"></i></span></a>";
if ($u29c == base64_decode('MA==')) {
$n418 = "<a href=\"javascript:deleteITSMField('$o49','$j6');\"><span class=\"badge bg-gradient-danger\"><i class=\"fa fa-trash\"></i></span></a>";
} else {
$n418 = '';
}
$h417 = $h417 . $n418;
$s119[] = array('' => $h417, translate(base64_decode('RmllbGQgTmFtZQ==')) => "$m1a", translate(base64_decode('RmllbGQgTGFiZWw=')) => $d299, translate(base64_decode('VHlwZQ==')) => $p298, translate(base64_decode('UHJpbWFyeQ==')) => $r372);
}
if ($s119) {
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lGaWVsZHM=')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$j4f = base64_decode('Y21kYl9jaV9maWVsZHNsaXN0');
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$oa = "SELECT cmdb_ci_fieldslist.ID, cmdb_ci_fieldslist.FieldName, cmdb_ci_fieldslist.RelatedCITypeID, cmdb_fieldslist_types.TypeName,
cmdb_ci_fieldslist.FieldOrder, cmdb_ci_fieldslist.FieldLabel, cmdb_ci_fieldslist.DefaultField, cmdb_ci_fieldslist.RelationShowField, cmdb_ci_fieldslist.Addon
FROM cmdb_ci_fieldslist
LEFT JOIN cmdb_fieldslist_types ON cmdb_ci_fieldslist.FieldType = cmdb_fieldslist_types.ID
WHERE RelatedCITypeID = $m10
ORDER BY FieldOrder ASC";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$o49 = $l14[base64_decode('SUQ=')];
$m1a = $l14[base64_decode('RmllbGROYW1l')];
$p298 = $l14[base64_decode('VHlwZU5hbWU=')];
$n41a = $l14[base64_decode('UmVsYXRlZFR5cGVJRA==')];
$h373 = $l14[base64_decode('RmllbGRPcmRlcg==')];
$d299 = $l14[base64_decode('RmllbGRMYWJlbA==')];
$u29c = $l14[base64_decode('RGVmYXVsdEZpZWxk')];
$r372 = $l14[base64_decode('UmVsYXRpb25TaG93RmllbGQ=')];
$h417 = "<a href=\"javascript:setCMDBFieldOrderUp('$j4f','$m10','$h373');\"><i class=\"fa-solid fa-arrow-down\"></i></i></a>
<a href=\"javascript:setCMDBFieldOrderDown('$j4f','$m10','$h373');\"><i class=\"fa-solid fa-arrow-up\"></i></a>  <a href=\"javascript:editCMDBFieldEntry('$o49');\"><span class=\"badge bg-gradient-info\"><i class=\"fa fa-pencil-alt\"></i></span></a>";
if ($u29c == base64_decode('MA==')) {
$n418 = "<a href=\"javascript:deleteCIField('$o49','$m1a','$j6');\"><span class=\"badge bg-gradient-danger\"><i class=\"fa fa-trash\"></i></span></a>";
} else {
$n418 = '';
}
$h417 = $h417 . $n418;
$s119[] = array('' => $h417, translate(base64_decode('RmllbGQgTmFtZQ==')) => "$m1a", translate(base64_decode('RmllbGQgTGFiZWw=')) => $d299, translate(base64_decode('VHlwZQ==')) => $p298, translate(base64_decode('UHJpbWFyeQ==')) => $r372);
}
if ($s119) {
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('c2V0SVRTTWllbGRPcmRlclVw')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$h373 = intval($_POST[base64_decode('RmllbGRPcmRlcg==')]);
$o49 = getFieldIDFromFieldOrder($j4f, $k17, $h373);
$n41b = intval($h373 + 1);
$l41c = getFieldIDFromFieldOrder($j4f, $k17, $n41b);
updateFieldOrder($j4f, $o49, $n41b);
updateFieldOrder($j4f, $l41c, $h373);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('c2V0SVRTTWllbGRPcmRlckRvd24=')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$h373 = intval($_POST[base64_decode('RmllbGRPcmRlcg==')]);
if ($h373 == 1) {
return;
}
$o49 = getFieldIDFromFieldOrder($j4f, $k17, $h373);
$n41b = intval($h373 - 1);
$l41c = getFieldIDFromFieldOrder($j4f, $k17, $n41b);
updateFieldOrder($j4f, $o49, $n41b);
updateFieldOrder($j4f, $l41c, $h373);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('c2V0Rm9ybUZpZWxkT3JkZXJVcA==')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$q1d = $_POST[base64_decode('Rm9ybUlE')];
$h373 = intval($_POST[base64_decode('RmllbGRPcmRlcg==')]);
$o49 = getFormFieldIDFromFieldOrder($j4f, $q1d, $h373);
$n41b = intval($h373 + 1);
$l41c = getFormFieldIDFromFieldOrder($j4f, $q1d, $n41b);
updateFieldOrder($j4f, $o49, $n41b);
updateFieldOrder($j4f, $l41c, $h373);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('c2V0Rm9ybUZpZWxkT3JkZXJEb3du')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$q1d = $_POST[base64_decode('Rm9ybUlE')];
$h373 = intval($_POST[base64_decode('RmllbGRPcmRlcg==')]);
if ($h373 == 1) {
return;
}
$o49 = getFormFieldIDFromFieldOrder($j4f, $q1d, $h373);
$n41b = intval($h373 - 1);
$l41c = getFormFieldIDFromFieldOrder($j4f, $q1d, $n41b);
updateFieldOrder($j4f, $o49, $n41b);
updateFieldOrder($j4f, $l41c, $h373);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('c2V0Q01EQkZpZWxkT3JkZXJVcA==')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$h373 = intval($_POST[base64_decode('RmllbGRPcmRlcg==')]);
$o49 = getCIFieldIDFromFieldOrder($j4f, $m10, $h373);
$n41b = intval($h373 + 1);
$l41c = getCIFieldIDFromFieldOrder($j4f, $m10, $n41b);
updateFieldOrder($j4f, $o49, $n41b);
updateFieldOrder($j4f, $l41c, $h373);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('c2V0Q01EQkZpZWxkT3JkZXJEb3du')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$h373 = intval($_POST[base64_decode('RmllbGRPcmRlcg==')]);
if ($h373 == 1) {
return;
}
$o49 = getCIFieldIDFromFieldOrder($j4f, $m10, $h373);
$n41b = intval($h373 - 1);
$l41c = getCIFieldIDFromFieldOrder($j4f, $m10, $n41b);
updateFieldOrder($j4f, $o49, $n41b);
updateFieldOrder($j4f, $l41c, $h373);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('c2V0UGFyZW50VGFza0lkT25UYXNr')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$w41d = $_POST[base64_decode('dGFza0lk')];
$q41e = $_POST[base64_decode('cGFyZW50VGFza0lk')];
updateParentTaskIDOnTask($w41d, $q41e);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Y3JlYXRlVGVzdENNREI=')])) {
if (!in_array(base64_decode('MTAwMDAw'), $p0)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE='));
echo json_encode($s119);
return;
}
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
createTestCMDB();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0Q1ZFRW50cmllcw==')])) {
if (in_array(base64_decode('MTAwMDIw'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIw'));
$fe[] = array(base64_decode('UmVzdWx0') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$o41f = isset($_POST[base64_decode('ZGF5cw==')]) ? (string)$_POST[base64_decode('ZGF5cw==')] : '';
getCVEEntries($o41f);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cmVtb3ZlQWxsQ1ZFRW50cmllcw==')])) {
if (in_array(base64_decode('MTAwMDIw'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIw'));
$fe[] = array(base64_decode('UmVzdWx0') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
removeAllCVEEntries();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cmVzZXRDTURC')])) {
if (!in_array(base64_decode('MTAwMDAw'), $p0)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE='));
echo json_encode($s119);
return;
}
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$r195 = resetCMDB();
if ($r195 == base64_decode('Q29tcGxldGVk')) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbGVk'));
}
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('c3VibWl0V2l6emFyZA==')])) {
$r420[] = array();
if (!in_array(base64_decode('MTAwMDAx'), $p0)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE='));
echo json_encode($s119);
return;
}
$n421 = $_POST[base64_decode('V2l6emFyZEZvcm0=')];
foreach ($n421 as $u52) {
$i2f1 = $u52[base64_decode('bmFtZQ==')];
$y2d1 = $u52[base64_decode('dmFsdWU=')];
switch ($i2f1) {
case base64_decode('U3lzdGVtTmFtZQ=='):
$r420[] = array(base64_decode('SUQ=') => base64_decode('MTM='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('RGVmYXVsdERlc2lnbg=='):
$r420[] = array(base64_decode('SUQ=') => base64_decode('MjA='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('R29vZ2xlQXV0aA=='):
$r420[] = array(base64_decode('SUQ=') => base64_decode('MzE='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('c210cFBvcnQ='):
$r420[] = array(base64_decode('SUQ=') => base64_decode('MjY='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('U01UUEhvc3Q='):
$r420[] = array(base64_decode('SUQ=') => base64_decode('Mjg='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('U01UUFVzZXJuYW1l'):
$r420[] = array(base64_decode('SUQ=') => base64_decode('Mjk='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('U01UUFBhc3N3b3Jk'):
$r420[] = array(base64_decode('SUQ=') => base64_decode('MzA='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('SU1BUEhvc3Q='):
$r420[] = array(base64_decode('SUQ=') => base64_decode('Mzg='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('SU1BUFVzZXJuYW1l'):
$r420[] = array(base64_decode('SUQ=') => base64_decode('Mzk='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('SU1BUFBhc3N3b3Jk'):
$r420[] = array(base64_decode('SUQ=') => base64_decode('NDA='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('QVBJVG9rZW4='):
$r420[] = array(base64_decode('SUQ=') => base64_decode('MzY='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('RkJMaW5r'):
$r420[] = array(base64_decode('SUQ=') => base64_decode('NDU='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('Q1BMaW5r'):
$r420[] = array(base64_decode('SUQ=') => base64_decode('NDY='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('TGlua2VkSW5MaW5r'):
$r420[] = array(base64_decode('SUQ=') => base64_decode('NDc='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('VXNlclZpYUVtYWls'):
$r420[] = array(base64_decode('SUQ=') => base64_decode('NDk='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('ZGVmYXVsdENvbXBhbnk='):
$r420[] = array(base64_decode('SUQ=') => base64_decode('NDg='), base64_decode('VmFsdWU=') => "$y2d1");
break;
default:
break;
}
}
$j422 = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBTZXR0aW5nVmFsdWUgPSA/IFdIRVJFIElEID0gPw==');
$sb = $zc->prepare($j422);
foreach ($r420 as $i423) {
$l424 = $i423[base64_decode('SUQ=')];
$q425 = $i423[base64_decode('VmFsdWU=')];
$sb = $zc->prepare($j422);
$sb->bind_param(base64_decode('c2k='), $q425, $l424);
$sb->execute();
$sb->close();
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2VuZXJhdGVSYW5kb21Sb3dz')])) {
if (!in_array(base64_decode('MTAwMDAw'), $p0)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE='));
echo json_encode($s119);
return;
}
$z426 = $_GET[base64_decode('dGFibGVOYW1l')];
$h427 = $_GET[base64_decode('bnVtYmVyT2ZSb3dz')];
insertRandomRows($z426, $h427);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0QWN0aXZpdGllcw==')])) {
$n428 = $_POST[base64_decode('c3RhcnQ=')] ?? 0;
$c429 = $_POST[base64_decode('bGVuZ3Ro')] ?? 25;
$oa = "SELECT activitystream.ID, Headline, Text, Date, CONCAT(users.Firstname,' ',users.Lastname,' (',users.Username,')') AS FullName, Url
FROM activitystream
LEFT JOIN users ON activitystream.UserID = users.ID
ORDER BY Date DESC
LIMIT $n428, $c429";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$u2e0 = array(base64_decode('ZHJhdw==') => $_POST[base64_decode('ZHJhdw==')], base64_decode('cmVjb3Jkc1RvdGFs') => $v42a, base64_decode('cmVjb3Jkc0ZpbHRlcmVk') => $v42a, base64_decode('ZGF0YQ==') => array());
while ($l14 = mysqli_fetch_assoc($d13)) {
$u2e0[base64_decode('ZGF0YQ==')][] = $l14;
}
echo json_encode($u2e0);
}
if (isset($_GET[base64_decode('Z2V0QWxsVGltZVJlZ2lzdHJhdGlvbnM=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$s42b = isset($_GET[base64_decode('d2Vla09mZnNldA==')]) ? intval($_GET[base64_decode('d2Vla09mZnNldA==')]) : 0;
$sd1 = new DateTime();
$z42c = new DateTime();
$z42c->setISODate($sd1->format(base64_decode('WQ==')), $sd1->format(base64_decode('Vw==')));
$z42c->modify("+$s42b week");
$e42d = getAllTimeRegistrations($s42b);
$z42e = [base64_decode('TW9uZGF5'), base64_decode('VHVlc2RheQ=='), base64_decode('V2VkbmVzZGF5'), base64_decode('VGh1cnNkYXk='), base64_decode('RnJpZGF5'), base64_decode('U2F0dXJkYXk='), base64_decode('U3VuZGF5')];
$c42f = array();
foreach ($e42d as $l14) {
$y430 = $l14[base64_decode('VXNlck5hbWU=')];
$e431 = $l14[base64_decode('UHJvZmlsZVBvcE92ZXI=')];
$x432 = array($e431 . base64_decode('ICg=') . $y430 . base64_decode('KQ=='));
foreach ($z42e as $f1be) {
$b433 = $l14[$f1be] ?? '';
$x432[] = $b433;
}
$c42f[] = $x432;
}
echo json_encode($c42f);
}
if (isset($_GET[base64_decode('Z2V0V2Vla051bWJlcg==')])) {
$s42b = $_GET[base64_decode('d2Vla09mZnNldA==')];
$sd1 = new DateTime();
$z42c = new DateTime();
$z42c->setISODate($sd1->format(base64_decode('WQ==')), $sd1->format(base64_decode('Vw==')));
$z42c->modify("-$s42b week");
$s434 = $z42c->format(base64_decode('Vw=='));
echo $s434;
exit;
}
if (isset($_GET[base64_decode('cmVzdG9yZVNlbGVjdGVkQmFja3Vw')])) {
$v435 = $_GET[base64_decode('YmFja3VwVG9SZXN0b3Jl')];
$r195 = restoreBackup($v435);
if ($r195 == true) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$r42[] = array(base64_decode('UmVzdWx0') => $r195);
echo json_encode($r42);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlU2VsZWN0ZWRCYWNrdXA=')])) {
$m436 = $_GET[base64_decode('YmFja3VwVG9EZWxldGU=')];
$r195 = deleteBackup($m436);
if ($r195 == true) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$r42[] = array(base64_decode('UmVzdWx0') => $r195);
echo json_encode($r42);
}
}
if (isset($_GET[base64_decode('c3VibWl0UHJvYmxlbVJlcG9ydEZvcm0=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q437 = $_POST[base64_decode('ZW1haWxDb250ZW50')];
$d20a = getSettingValue(base64_decode('MTM='));
$u20d = getSettingValue(base64_decode('MTc='));
$p8a = $_SESSION[base64_decode('aWQ=')];
$f438 = $_SESSION[base64_decode('ZW1haWw=')];
$g7c = $_SESSION[base64_decode('ZnVsbG5hbWU=')];
$eca = "[Practicle Problem report] from $d20a";
$b6b = "($u20d).<br><br>Reporter:<br>$g7c ($f438)<br><br>Problem:<br>$q437";
$i439 = "This is a problem sent via system:<br>$d20a ($u20d).<br><br>Reporter:<br>$g7c ($f438)<br><br>Problem:<br>$q437";
sendMailToSinglePerson(base64_decode('c3VwcG9ydEBwcmFjdGljbGUuZGs='), base64_decode('UHJhY3RpY2xlIFN1cHBvcnQ='), $eca, $b6b);
sendMailToSinglePerson($f438, $g7c, $eca, $i439);
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
}
if (isset($_GET[base64_decode('Y3JlYXRlTmV3c0FydGljbGU=')])) {
if (!in_array(base64_decode('MTAwMDE0'), $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$d43a = $_POST[base64_decode('TW9kYWxOZXdzQ2F0ZWdvcnk=')];
$t43b = $_POST[base64_decode('TW9kYWxOZXdzV3JpdGVy')];
$n43c = date(base64_decode('WS1tLWQgSDppOnM='), strtotime($_POST[base64_decode('TW9kYWxEYXRlQ3JlYXRlZA==')]));
$d43d = $_POST[base64_decode('TW9kYWxOZXdzSGVhZGxpbmU=')];
$d43e = $_POST[base64_decode('TW9kYWxOZXdzQ29udGVudA==')];
$q43f = $_POST[base64_decode('TW9kYWxBY3RpdmU=')];
$q6f = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('SU5TRVJUIElOVE8gbmV3cyAoSGVhZGxpbmUsIENvbnRlbnQsIENyZWF0ZWRCeVVzZXJJRCwgTmV3c1dyaXRlciwgRGF0ZUNyZWF0ZWQsIFJlbGF0ZWRDYXRlZ29yeSwgQWN0aXZlKSBWQUxVRVMgKD8sID8sID8sID8sID8sID8sID8p');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('c3NpaXNzaQ=='), $d43d, $d43e, $q6f, $t43b, $n43c, $d43a, $q43f);
if ($sb->execute()) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$fe[] = array(base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQgd2hpbGUgaW5zZXJ0aW5nIHRoZSBuZXdzIGFydGljbGUu'));
echo json_encode($fe);
}
}
if (isset($_GET[base64_decode('Y3JlYXRlTmV3c0NhdGVnb3J5')])) {
if (!in_array(base64_decode('MTAwMDE0'), $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$s440 = $_POST[base64_decode('bmV3Q2F0ZWdvcnlOYW1l')];
$m441 = $_POST[base64_decode('VXNlck5ld3NVc2VyR3JvdXA=')];
$n442 = $_POST[base64_decode('VXNlck5ld3NDYXRlZ29yeVJvbGU=')];
$q6f = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('SU5TRVJUIElOVE8gYG5ld3NfY2F0ZWdvcmllc2AoYE5hbWVgLCBgUmVsYXRlZEdyb3VwSURgLCBgUmVsYXRlZFJvbGVgLCBgQWN0aXZlYCkgVkFMVUVTICg/LD8sPywxKQ==');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('c2lp'), $s440, $m441, $n442);
if ($sb->execute()) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$fe[] = array(base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQgd2hpbGUgaW5zZXJ0aW5nIHRoZSBuZXdzIGFydGljbGUu'));
echo json_encode($fe);
}
}
if (isset($_GET[base64_decode('YWRkTmV3c0NWRUZpbHRlcg==')])) {
if (!in_array(base64_decode('MTAwMDE0'), $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$o443 = $_POST[base64_decode('bmV3Q1ZFRmlsdGVy')];
$oa = base64_decode('SU5TRVJUIElOVE8gYG5ld3NfY3ZlX2ZpbHRlcnNgKGBQcm9kdWN0YCkgVkFMVUVTICg/KQ==');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('cw=='), $o443);
if ($sb->execute()) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$fe[] = array(base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQgd2hpbGUgaW5zZXJ0aW5nIHRoZSBuZXdzIGFydGljbGUu'));
echo json_encode($fe);
}
}
if (isset($_GET[base64_decode('dXBkYXRlTmV3c0FydGljbGU=')])) {
if (!in_array(base64_decode('MTAwMDE0'), $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$g6d = $_POST[base64_decode('TmV3c0lE')];
$d43a = $_POST[base64_decode('TW9kYWxOZXdzQ2F0ZWdvcnk=')];
$t43b = $_POST[base64_decode('TW9kYWxOZXdzV3JpdGVy')];
$n43c = date(base64_decode('WS1tLWQgSDppOnM='), strtotime($_POST[base64_decode('TW9kYWxEYXRlQ3JlYXRlZA==')]));
$d43d = $_POST[base64_decode('TW9kYWxOZXdzSGVhZGxpbmU=')];
$d43e = $_POST[base64_decode('TW9kYWxOZXdzQ29udGVudA==')];
$q43f = $_POST[base64_decode('TW9kYWxBY3RpdmU=')];
$q6f = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIG5ld3MgU0VUIEhlYWRsaW5lID0gPywgQ29udGVudCA9ID8sIENyZWF0ZWRCeVVzZXJJRCA9ID8sIE5ld3NXcml0ZXIgPSA/LCBEYXRlQ3JlYXRlZCA9ID8sIFJlbGF0ZWRDYXRlZ29yeSA9ID8sIEFjdGl2ZSA9ID8gV0hFUkUgSUQgPSA/');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('c3NpaXNzaWk='), $d43d, $d43e, $q6f, $t43b, $n43c, $d43a, $q43f, $g6d);
if ($sb->execute()) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$fe[] = array(base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQgd2hpbGUgdXBkYXRpbmcgdGhlIG5ld3MgYXJ0aWNsZS4='));
echo json_encode($fe);
}
}
if (isset($_GET[base64_decode('dXBkYXRlTmV3c0NhdGVnb3J5')])) {
if (!in_array(base64_decode('MTAwMDE0'), $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$r444 = $_POST[base64_decode('TmV3c0NhdElE')];
$p445 = $_POST[base64_decode('TW9kYWxOZXdzQ2F0ZWdvcnlHcm91cHM=')];
$b446 = $_POST[base64_decode('TW9kYWxOZXdzQ2F0ZWdvcnlSb2xl')];
$g447 = $_POST[base64_decode('TW9kYWxOZXdzQ2F0ZWdvcnlBY3RpdmU=')];
$g448 = $_POST[base64_decode('TW9kYWxOZXdzQ2F0ZWdvcnlOYW1l')];
$q6f = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGBuZXdzX2NhdGVnb3JpZXNgIFNFVCBgTmFtZWA9PyxgUmVsYXRlZEdyb3VwSURgPT8sYFJlbGF0ZWRSb2xlYD0/LGBBY3RpdmVgPT8gV0hFUkUgSUQgPSA/');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('c2lpaWk='), $g448, $p445, $b446, $g447, $r444);
if ($sb->execute()) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$fe[] = array(base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQgd2hpbGUgdXBkYXRpbmcgdGhlIG5ld3MgYXJ0aWNsZS4='));
echo json_encode($fe);
}
}
if (isset($_GET[base64_decode('Z2V0TmV3c0FydGljbGVz')])) {
$oa = base64_decode('U0VMRUNUIG5ld3MuSUQsIG5ld3MuSGVhZGxpbmUsIG5ld3MuQ29udGVudCwgQ09OQ0FUKHVzZXJzLkZpcnN0bmFtZSwnICcsdXNlcnMuTGFzdG5hbWUpIEFTIENyZWF0ZWRCeSwgbmV3cy5EYXRlQ3JlYXRlZCwgbmV3c19jYXRlZ29yaWVzLk5hbWUgQVMgQ2F0ZWdvcnlOYW1lLCBuZXdzLkNvbW1lbnRzQWxsb3dlZCwgbmV3cy5BY3RpdmUgDQogICAgICAgICAgRlJPTSBuZXdzIA0KICAgICAgICAgIExFRlQgSk9JTiBuZXdzX2NhdGVnb3JpZXMgT04gbmV3cy5SZWxhdGVkQ2F0ZWdvcnkgPSBuZXdzX2NhdGVnb3JpZXMuSUQNCiAgICAgICAgICBMRUZUIEpPSU4gdXNlcnMgT04gbmV3cy5DcmVhdGVkQnlVc2VySUQgPSB1c2Vycy5JRA0KICAgICAgICAgIE9SREVSIEJZIERhdGVDcmVhdGVkIERFU0M7');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$s65 = "<a href=\"javascript:void(0);\"><span class=\"badge bg-gradient-success\" onclick=\"viewNews($r46);\" title=\"" . translate(base64_decode('RWRpdA==')) . base64_decode('Ij48aSBjbGFzcz0iZmEgZmEtcGVuLXRvLXNxdWFyZSI+PC9pPjwvc3Bhbj48L2E+');
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDMy'), $p0)) {
$g32 = base64_decode('PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRl')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteNewsArticle($r46);\"><i class=\"fa fa-trash\"></i></span></a>";
} else {
$g32 = '';
}
$d6a = $l14[base64_decode('SGVhZGxpbmU=')];
$t338 = $l14[base64_decode('Q3JlYXRlZEJ5')];
$i71 = convertToDanishDateTimeFormat($l14[base64_decode('RGF0ZUNyZWF0ZWQ=')]);
$b198 = $l14[base64_decode('Q2F0ZWdvcnlOYW1l')];
$r42[] = array(translate(base64_decode('SGVhZGxpbmU=')) => $d6a, translate(base64_decode('Q3JlYXRlZCBieQ==')) => $t338, translate(base64_decode('Q3JlYXRlZA==')) => $i71, translate(base64_decode('Q2F0ZWdvcnk=')) => $b198, '' => "$s65 $g32");
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0TmV3c0FydGljbGVz'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0TmV3c0FydGljbGVz'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0VGVhbU1lbWJlcnM=')])) {
$r1a6 = $_POST[base64_decode('dGVhbUlk')];
$oa = "SELECT usersteams.UserID
FROM usersteams
LEFT JOIN users ON usersteams.UserID = users.ID
WHERE usersteams.TeamID = $r1a6 AND users.Active = 1;";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$k449 = $l14[base64_decode('VXNlcklE')];
$z187 = getUserEmailFromID($k449);
$x9d = $_SESSION[base64_decode('aWQ=')];
$g7c = getUserFullNameWithUsername($k449);
$h27a = getUserProfilePicture($k449);
$x44a = "<a href=\"javascript:runModalViewUnit('User',$k449);\" data-bs-toggle='popover' data-bs-html='true' data-bs-trigger='hover' data-bs-content='
<p class=\"text-center\"><b>$g7c</b><br>$z187<br><br>
<img class=\"rounded-circle img-fluid\" style=\"width: 100px;\" src=\"$h27a\">
<p class=\"text-sm text-secondary mb-0 text-wrap\">$g7c</p>
'>$g7c</a>";
$r42[] = array(translate(base64_decode('TmFtZQ==')) => $x44a);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([base64_decode('bWVzc2FnZQ==') => base64_decode('VGVhbSBoYXMgbm8gbWVtYmVycw==')]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VGVhbU1lbWJlcnM='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VGVhbU1lbWJlcnM='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0QWN0aXZlQXBpS2V5cw==')])) {
$oa = base64_decode('U0VMRUNUIGBpZGAsIGBhcGlfa2V5YCwgYGNvbXBhbnlfaWRgLCBgZXhwaXJ5X2RhdGVgLCBgc3RhdHVzYCwgYGNyZWF0ZWRgLCBjcmVhdGVkX2J5DQogICAgICAgICAgRlJPTSBgYXBpX2tleXNgDQogICAgICAgICAgV0hFUkUgU3RhdHVzID0gMTs=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$u1bc = $l14[base64_decode('aWQ=')];
$o44b = $l14[base64_decode('YXBpX2tleQ==')];
$k44c = $l14[base64_decode('Y29tcGFueV9pZA==')];
$k44d = getCompanyName($k44c);
$s44e = $l14[base64_decode('Y3JlYXRlZF9ieQ==')];
$o44f = getUserFullNameWithUsername($s44e);
$o450 = convertToDanishDateTimeFormat($l14[base64_decode('ZXhwaXJ5X2RhdGU=')]);
$hff = $l14[base64_decode('c3RhdHVz')];
$b451 = convertToDanishDateTimeFormat($l14[base64_decode('Y3JlYXRlZA==')]);
$i87 = base64_decode('PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRl')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteApiKey($u1bc);\"><i class=\"fa fa-trash\"></i></span></a>";
$r42[] = array('' => $i87, translate(base64_decode('S2V5')) => $o44b, translate(base64_decode('Q29tcGFueQ==')) => $k44d, translate(base64_decode('RXhwaXJlcw==')) => $o450, translate(base64_decode('Q3JlYXRlZA==')) => $b451, translate(base64_decode('Q3JlYXRlZCBieQ==')) => $o44f);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([base64_decode('bWVzc2FnZQ==') => base64_decode('Tm8gYWN0aXZlIEFQSSBrZXlz')]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0QWN0aXZlQXBpS2V5cw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0QWN0aXZlQXBpS2V5cw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlQXBpS2V5')])) {
$z5c = $_POST[base64_decode('a2V5')];
$oa = base64_decode('REVMRVRFIEZST00gYGFwaV9rZXlzYCBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aQ=='), $z5c);
if (mysqli_stmt_execute($sb)) {
if (mysqli_stmt_affected_rows($sb) > 0) {
echo json_encode([base64_decode('bWVzc2FnZQ==') => base64_decode('QVBJIGtleSBkZWxldGVkIHN1Y2Nlc3NmdWxseS4=')]);
} else {
echo json_encode([base64_decode('bWVzc2FnZQ==') => base64_decode('Tm8gQVBJIGtleSBmb3VuZCB3aXRoIHRoZSBzcGVjaWZpZWQgSUQu')]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlQXBpS2V5'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
mysqli_stmt_close($sb);
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlQXBpS2V5'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0QWN0aXZlQ29tcGFuaWVz')])) {
$oa = base64_decode('U0VMRUNUIGBpZGAsIGBDb21wYW55TmFtZWANCiAgICAgICAgICBGUk9NIGBjb21wYW5pZXNgDQogICAgICAgICAgV0hFUkUgQWN0aXZlID0gMTs=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$u1bc = $l14[base64_decode('aWQ=')];
$y21b = $l14[base64_decode('Q29tcGFueU5hbWU=')];
$r42[] = array(base64_decode('aWQ=') => $u1bc, base64_decode('Q29tcGFueQ==') => $y21b);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([base64_decode('bWVzc2FnZQ==') => base64_decode('Tm8gYWN0aXZlIENvbXBhbmllcw==')]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0QWN0aXZlQ29tcGFuaWVz'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0QWN0aXZlQ29tcGFuaWVz'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlTmV3c0FydGljbGU=')])) {
$r46 = $_POST[base64_decode('bmV3c0FydGljbGVJRA==')];
$oa = "DELETE FROM news
WHERE ID = $r46;";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlTmV3c0FydGljbGU='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
errorlog($m1b, base64_decode('ZGVsZXRlTmV3c0FydGljbGU='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlTmV3c0NhdGVnb3J5')])) {
$r46 = $_POST[base64_decode('Q2F0ZWdvcnlJRA==')];
$oa = "DELETE FROM news_categories
WHERE ID = $r46;";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlTmV3c0NhdGVnb3J5'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
errorlog($m1b, base64_decode('ZGVsZXRlTmV3c0NhdGVnb3J5'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlTmV3c0NWRUZpbHRlcg==')])) {
$r46 = $_POST[base64_decode('RmlsdGVySUQ=')];
$oa = "DELETE FROM news_cve_filters
WHERE ID = $r46;";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlTmV3c0NWRUZpbHRlcg=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
errorlog($m1b, base64_decode('ZGVsZXRlTmV3c0NWRUZpbHRlcg=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('dXBkYXRlTmV3c1JlYWRTdGF0dXM=')])) {
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$d452 = $_POST[base64_decode('bmV3c0lk')];
$j10a = $_SESSION[base64_decode('aWQ=')];
$j1a2 = $_SESSION[base64_decode('aWQ=')];
$d452 = $_POST[base64_decode('bmV3c0lk')];
$sb = $zc->prepare(base64_decode('SU5TRVJUIElOVE8gbmV3c19yZWFkcyAoTmV3c0lELCBVc2VySUQpIFZBTFVFUyAoPywgPykgT04gRFVQTElDQVRFIEtFWSBVUERBVEUgTmV3c0lEPU5ld3NJRA=='));
$sb->bind_param(base64_decode('aWk='), $d452, $j1a2);
$sb->execute();
$s119[] = array();
if ($sb->$o294) {
$s119[] = array(base64_decode('UmVzdWx0') => $sb->$o294);
errorlog(base64_decode('RXJyb3I6IA==') . $sb->$o294, base64_decode('dXBkYXRlTmV3c1JlYWRTdGF0dXM='));
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
}
$sb->close();
$zc->close();
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Y3JlYXRlQVBJS2V5')])) {
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$b453 = $_POST[base64_decode('YXBpS2V5RGVzY3JpcHRpb24=')];
$a454 = $_POST[base64_decode('QVBJS2V5Q29tcGFuaWVz')];
$j455 = convertFromDanishTimeFormat($_POST[base64_decode('YXBpRXhwaXJlRGF0ZQ==')]);
$e456 = generateRandomString(64);
$j1a2 = $_SESSION[base64_decode('aWQ=')];
$sb = $zc->prepare(base64_decode('SU5TRVJUIElOVE8gYGFwaV9rZXlzYChgYXBpX2tleWAsIGBjb21wYW55X2lkYCwgYGV4cGlyeV9kYXRlYCxgY3JlYXRlZF9ieWApIA0KICAgICAgICAgICAgICAgICAgICAgICAgICBWQUxVRVMgKD8sPyw/LD8p'));
$sb->bind_param(base64_decode('c2lzaQ=='), $e456, $a454, $j455, $j1a2);
$sb->execute();
$s119[] = array();
if ($sb->$o294) {
$s119[] = array(base64_decode('UmVzdWx0') => $sb->$o294);
errorlog(base64_decode('RXJyb3I6IA==') . $sb->$o294, base64_decode('Y3JlYXRlQVBJS2V5'));
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
}
$sb->close();
$zc->close();
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0Q2hhbmdlbG9nSW5mbw==')])) {
$k457 = $_GET[base64_decode('Q2hhbmdlTG9nSUQ=')];
$oa = "SELECT `ID`, `Date`, `Version`, `Description`, `Type`
FROM `changelog`
WHERE ID = '$k457';";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$g9c = $l14[base64_decode('RGF0ZQ==')];
$qa0 = $l14[base64_decode('VmVyc2lvbg==')];
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$q54 = $l14[base64_decode('VHlwZQ==')];
$r42[] = array(base64_decode('SUQ=') => $r46, base64_decode('RGF0ZQ==') => $g9c, base64_decode('VmVyc2lvbg==') => $qa0, base64_decode('RGVzY3JpcHRpb24=') => $f1e, base64_decode('VHlwZQ==') => $q54);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([base64_decode('bWVzc2FnZQ==') => base64_decode('RXJyb3I=')]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q2hhbmdlbG9nSW5mbw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q2hhbmdlbG9nSW5mbw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('dXBkYXRlQ2hhbmdlbG9n')])) {
$k457 = $_GET[base64_decode('Q2hhbmdlTG9nSUQ=')];
$qa0 = $_GET[base64_decode('VmVyc2lvbg==')];
$f1e = $_GET[base64_decode('RGVzY3JpcHRpb24=')];
$a458 = $_GET[base64_decode('Q2hhbmdlbG9nRGF0ZQ==')];
$q54 = $_GET[base64_decode('VHlwZQ==')];
$oa = base64_decode('VVBEQVRFIGBjaGFuZ2Vsb2dgIA0KICAgICAgICAgIFNFVCBgVmVyc2lvbmAgPSA/LCBgRGVzY3JpcHRpb25gID0gPywgYFR5cGVgID0gPywgYERhdGVgID0gPw0KICAgICAgICAgIFdIRVJFIGBJRGAgPSA/');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3Npc3M='), $qa0, $f1e, $q54, $a458, $k457);
if (mysqli_stmt_execute($sb)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('VXBkYXRlIHN1Y2Nlc3NmdWw=')]);
} else {
$m1b = base64_decode('VXBkYXRlIGZhaWxlZDog') . mysqli_stmt_error($sb);
errorlog($m1b, base64_decode('dXBkYXRlQ2hhbmdlbG9n'));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
mysqli_stmt_close($sb);
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('dXBkYXRlQ2hhbmdlbG9n'));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0VGltZVJlZ2lzdHJhdGlvbkluZm9ybWF0aW9u')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$f459 = $_POST[base64_decode('dGltZXJlZ2lk')];
$oa = base64_decode('U0VMRUNUIHRpbWVfcmVnaXN0cmF0aW9ucy5JRCwgdGltZV9yZWdpc3RyYXRpb25zLkRhdGVXb3JrZWQsIFRpbWVSZWdpc3RlcmVkLCB0aW1lX3JlZ2lzdHJhdGlvbnMuRGVzY3JpcHRpb24sIFJlbGF0ZWRUYXNrSUQsIERhdGVSZWdpc3RlcmVkLCB0YXNrc2xpc3QuSGVhZGxpbmUsIHRhc2tzbGlzdC5Vc2VyTm90ZSwgdGFza3NsaXN0LkRlYWRsaW5lLCB0YXNrc2xpc3QuR29Ub0xpbmssIA0KICAgICAgICAgIHRhc2tzbGlzdC5SZWxhdGVkRWxlbWVudElELCB0YXNrc2xpc3QuUmVsYXRlZEVsZW1lbnRUeXBlSUQsIHRpbWVfcmVnaXN0cmF0aW9ucy5CaWxsYWJsZQ0KICAgICAgICAgIEZST00gdGltZV9yZWdpc3RyYXRpb25zDQogICAgICAgICAgTEVGVCBKT0lOIHRhc2tzbGlzdCBPTiB0aW1lX3JlZ2lzdHJhdGlvbnMuUmVsYXRlZFRhc2tJRCA9IHRhc2tzbGlzdC5JRA0KICAgICAgICAgIFdIRVJFIHRpbWVfcmVnaXN0cmF0aW9ucy5JRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBEYXRlV29ya2VkIERFU0MsIERhdGVSZWdpc3RlcmVkIERFU0M7');
$sb = mysqli_prepare($zc, $oa);
mysqli_stmt_bind_param($sb, base64_decode('aQ=='), $f459);
if (mysqli_stmt_execute($sb)) {
$d13 = mysqli_stmt_get_result($sb);
$c42f = [];
while ($l14 = mysqli_fetch_assoc($d13)) {
$c42f[] = $l14;
}
echo json_encode($c42f);
} else {
$m1b = base64_decode('VXBkYXRlIGZhaWxlZDog') . mysqli_stmt_error($sb);
errorlog($m1b, base64_decode('Z2V0VGltZVJlZ2lzdHJhdGlvbkluZm9ybWF0aW9u'));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
mysqli_stmt_close($sb);
}
if (isset($_GET[base64_decode('cmVzZXRJbnN0YWxsYXRpb24=')])) {
if (in_array(base64_decode('MTAwMDAw'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAw'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
resetInstallation();
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('dXBkYXRlQWxsVGFibGVDb21tZW50cw==')])) {
if (in_array(base64_decode('MTAwMDAw'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAw'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
updateAllTableComments();
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('dXBncmFkZUxhdGVzdFByYWN0aWNsZUJhc2VEYg==')])) {
if (in_array(base64_decode('MTAwMDAw'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAw'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$r195 = upgradeLatestPracticleBaseDb();
if ($r195 = true) {
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
} else {
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbA=='));
}
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('Z2V0VW5pdENyZWF0ZUZpZWxkRGVmaW5pdGlvbnM=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$m45a = $_POST[base64_decode('VW5pdFR5cGU=')];
$h45b = translate(base64_decode('Q3JlYXRl'));
$o45c = "<button class=\"btn btn-sm btn-success float-end\" onclick=\"createUnit('$m45a')\">$h45b</button>";
$d290 = array();
if ($m45a == base64_decode('VXNlcg==')) {
$d290 = getUnitCreateFieldsUsers();
} else if ($m45a == base64_decode('R3JvdXA=')) {
$d290 = getUnitFieldsGroups();
} else if ($m45a == base64_decode('Um9sZQ==')) {
$d290 = getUnitFieldsRoles();
} else if ($m45a == base64_decode('VGVhbQ==')) {
$d290 = getUnitFieldsTeams();
} else if ($m45a == base64_decode('Q29tcGFueQ==')) {
$d290 = getUnitFieldsCompanies();
}
$t1b9[] = array(base64_decode('RmllbGRzQXJyYXk=') => $d290, base64_decode('Q3JlYXRlQnRu') => $o45c);
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('dXBkYXRlTG9va3VwRmllbGQ=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$z426 = $_POST[base64_decode('dGFibGVOYW1l')];
$oa = "DESCRIBE $z426;";
$d13 = mysqli_query($zc, $oa);
while ($l14 = mysqli_fetch_array($d13)) {
$t1b9[] = array(base64_decode('RmllbGROYW1l') => $l14[base64_decode('RmllbGQ=')]);
}
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('Z2V0VW5pdFZpZXdGaWVsZERlZmluaXRpb25z')])) {
$m45a = $_POST[base64_decode('VW5pdFR5cGU=')];
$h45b = translate(base64_decode('Q3JlYXRl'));
$d290 = array();
if ($m45a == base64_decode('VXNlcg==')) {
$d290 = getUnitViewFieldsUsers();
} else if ($m45a == base64_decode('R3JvdXA=')) {
$d290 = getUnitFieldsGroups();
} else if ($m45a == base64_decode('Um9sZQ==')) {
$d290 = getUnitFieldsRoles();
} else if ($m45a == base64_decode('VGVhbQ==')) {
$d290 = getUnitFieldsTeams();
} else if ($m45a == base64_decode('Q29tcGFueQ==')) {
$d290 = getUnitFieldsCompanies();
}
$t1b9[] = array(base64_decode('RmllbGRzQXJyYXk=') => $d290);
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('Z2V0VW5pdEVkaXRGaWVsZERlZmluaXRpb25z')])) {
$m45a = $_POST[base64_decode('VW5pdFR5cGU=')];
$h45b = translate(base64_decode('Q3JlYXRl'));
$d290 = array();
if ($m45a == base64_decode('VXNlcg==')) {
$d290 = getUnitFieldsUsers();
} else if ($m45a == base64_decode('R3JvdXA=')) {
$d290 = getUnitFieldsGroups();
} else if ($m45a == base64_decode('Um9sZQ==')) {
$d290 = getUnitFieldsRoles();
} else if ($m45a == base64_decode('VGVhbQ==')) {
$d290 = getUnitFieldsTeams();
} else if ($m45a == base64_decode('Q29tcGFueQ==')) {
$d290 = getUnitFieldsCompanies();
}
$t1b9[] = array(base64_decode('RmllbGRzQXJyYXk=') => $d290);
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('Y3JlYXRlVW5pdA==')])) {
$n3e7 = $_POST[base64_decode('VW5pdFR5cGU=')];
switch ($n3e7) {
case base64_decode('VXNlcg=='):
$c45d = base64_decode('VXNlcnM=');
$e45e = base64_decode('VGFibGVVc2Vycw==');
break;
case base64_decode('R3JvdXA='):
$c45d = base64_decode('dXNlcmdyb3Vwcw==');
$e45e = base64_decode('dGFibGVHcm91cHM=');
break;
case base64_decode('Um9sZQ=='):
$c45d = base64_decode('cm9sZXM=');
$e45e = base64_decode('VGFibGVSb2xlcw==');
break;
case base64_decode('VGVhbQ=='):
$c45d = base64_decode('VGVhbXM=');
$e45e = base64_decode('dGFibGVUZWFtcw==');
break;
case base64_decode('Q29tcGFueQ=='):
$c45d = base64_decode('Q29tcGFuaWVz');
$e45e = base64_decode('VGFibGVDb21wYW5pZXM=');
break;
default:
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('RXJyb3I=')]);
}
$x3e8 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$d45f = [];
$h354 = [];
foreach ($x3e8 as $k349) {
$i2f1 = $k349[base64_decode('bmFtZQ==')];
$y2d1 = $k349[base64_decode('dmFsdWU=')];
$i460 = isset($k349[base64_decode('dHlwZQ==')]) ? $k349[base64_decode('dHlwZQ==')] : '';
if ($c45d === base64_decode('VXNlcnM=')) {
if ($i460 === base64_decode('ZW1haWw=') && doesEmailExistSimple($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VGhpcyBlbWFpbCBhbGxyZWFkeSBleGlzdHM='))]);
return;
}
if ($i2f1 === base64_decode('VXNlcm5hbWU=') && doesUsernameExistSimple($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VXNlcm5hbWUgYWxyZWFkeSBleGlzdHM='))]);
return;
}
if ($i460 === base64_decode('ZGF0ZQ==')) {
if (!empty($y2d1)) {
$y2d1 = convertFromDanishDateFormat($y2d1);
}
}
}
if ($c45d === base64_decode('Q29tcGFuaWVz')) {
if ($i460 === base64_decode('ZW1haWw=') && doesCompanyEmailExistSimple($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VGhpcyBlbWFpbCBhbGxyZWFkeSBleGlzdHM='))]);
return;
}
if ($i2f1 === base64_decode('VXNlcm5hbWU=') && doesUsernameExistSimple($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VXNlcm5hbWUgYWxyZWFkeSBleGlzdHM='))]);
return;
}
}
$d45f[] = $i2f1;
if (empty($y2d1)) {
$h354[] = base64_decode('TlVMTA==');
} else {
$h354[] = base64_decode('Jw==') . mysqli_real_escape_string($zc, $y2d1) . base64_decode('Jw==');
}
}
$d45f[] = base64_decode('QWN0aXZl');
$h354[] = base64_decode('MQ==');
if (!empty($d45f) && !empty($h354)) {
$n461 = implode(base64_decode('LCA='), $d45f);
$v462 = implode(base64_decode('LCA='), $h354);
$oa = "INSERT INTO $c45d ($n461) VALUES ($v462)";
$d13 = mysqli_query($zc, $oa);
$w3f2 = mysqli_error($zc);
if ($w3f2 == '') {
$f3f0 = translate($n3e7);
$k3f1 = $f3f0 . base64_decode('IA==') . translate(base64_decode('Y3JlYXRlZA=='));
if ($n3e7 == base64_decode('VXNlcg==')) {
$w304 = $zc->$a10f;
$faf = base64_decode('OA==');
sendSystemMailUserCreated($w304, $faf);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('TWVzc2FnZQ==') => $k3f1, base64_decode('RGF0YVRhYmxl') => $e45e]);
} else {
$w3f2 = mysqli_error($zc);
errorlog("$f3f0 could not be created. Error: $w3f2", base64_decode('Y3JlYXRlVW5pdA=='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => $w3f2]);
}
}
}
if (isset($_GET[base64_decode('Z2V0R3JvdXBzVGFibGU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
try {
$oa = base64_decode('U0VMRUNUIHVzZXJncm91cHMuSUQgQVMgSUQsIHVzZXJncm91cHMuR3JvdXBOYW1lIEFTIEdyb3VwTmFtZSwgdXNlcmdyb3Vwcy5BY3RpdmUgQVMgQWN0aXZlLCAnUGVyc29uYWwnIEFTIFR5cGUNCiAgICAgICAgICAgIEZST00gdXNlcmdyb3Vwcw0KICAgICAgICAgICAgVU5JT04NCiAgICAgICAgICAgIFNFTEVDVCBzeXN0ZW1fZ3JvdXBzLklEIEFTIElELCBzeXN0ZW1fZ3JvdXBzLkdyb3VwTmFtZSBBUyBHcm91cE5hbWUsIHN5c3RlbV9ncm91cHMuQWN0aXZlIEFTIEFjdGl2ZSwgJ1N5c3RlbScgQVMgVHlwZQ0KICAgICAgICAgICAgRlJPTSBzeXN0ZW1fZ3JvdXBzDQogICAgICAgICAgICBXSEVSRSBzeXN0ZW1fZ3JvdXBzLklEICE9JzEwMDAwMCcNCiAgICAgICAgICAgIE9SREVSIEJZIEFjdGl2ZSBERVNDLCBHcm91cE5hbWUgQVNDOw==');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$s119 = array();
while ($l14 = mysqli_fetch_array($d13)) {
$j114 = $l14[base64_decode('SUQ=')];
$q54 = $l14[base64_decode('VHlwZQ==')];
$rd = $l14[base64_decode('R3JvdXBOYW1l')];
$f260 = $l14[base64_decode('TW9kdWxlTmFtZQ==')];
$l7 = $l14[base64_decode('QWN0aXZl')] == base64_decode('MQ==') ? _(base64_decode('QWN0aXZl')) : _(base64_decode('SW5hY3RpdmU='));
$o463 = "<a href='administration_groups_edit.php?groupid=$j114' title=\"" . translate(base64_decode('RWRpdA==')) . base64_decode('Ij48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1zdWNjZXNzJz48aSBjbGFzcz0nZmEgZmEtcGVuLXRvLXNxdWFyZSc+PC9pPjwvc3Bhbj48L2E+');
$h464 = "<a href=\"javascript:getUsersInGroup('$j114');\" title=\"" . translate(base64_decode('UHJldmlldyBncm91cCBtZW1iZXJz')) . base64_decode('Ij48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1pbmZvJz48aSBjbGFzcz0nZmFyIGZhLWV5ZSc+PC9pPjwvc3Bhbj48L2E+');
if ($q54 == base64_decode('UGVyc29uYWw=')) {
$c465 = "<a href=\"javascript:deleteGroup($j114);\" title=\"" . translate(base64_decode('RGVsZXRl')) . base64_decode('Ij48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1kYW5nZXInPjxpIGNsYXNzPSdmYS1zb2xpZCBmYS10cmFzaCc+PC9pPjwvc3Bhbj48L2E+');
} else {
$c465 = '';
}
$s119[] = array(translate(base64_decode('TmFtZQ==')) => translate("$rd"), '' => $o463 . $h464 . $c465, translate(base64_decode('TW9kdWxl')) => translate("$f260"), translate(base64_decode('VHlwZQ==')) => translate("$q54"), translate(base64_decode('U3RhdHVz')) => translate("$l7"));
}
if ($s119) {
usort($s119, function ($x13f, $a140) {
return strcmp($x13f[translate(base64_decode('TmFtZQ=='))], $a140[translate(base64_decode('TmFtZQ=='))]);
});
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} catch (Exception $s15) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0VXNlcnNUYWJsZQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
try {
$oa = base64_decode('U0VMRUNUIERJU1RJTkNUIHVzZXJzLklEIEFTIFVzZXJJRCwgQ09OQ0FUKHVzZXJzLkZpcnN0bmFtZSwnICcsdXNlcnMuTGFzdG5hbWUpIEFTIGZ1bGxOYW1lLCB1c2Vycy5Vc2VybmFtZSwgdXNlcnR5cGVzLlR5cGVOYW1lIEFTIFVzZXJUeXBlLCB1c2Vycy5FbWFpbCwgdXNlcnMuQ3JlYXRlZF9EYXRlIEFTIENyZWF0ZWREYXRlLCANCiAgICAgICAgICAgIGNvbXBhbmllcy5Db21wYW55bmFtZSBBUyBDb21wYW55bmFtZSwgdXNlcnMuUmVsYXRlZFVzZXJUeXBlSUQsIHVzZXJzLkFjdGl2ZSBBUyBBY3RpdmUsIHVzZXJzLlJlbGF0ZWRNYW5hZ2VyLCB1c2Vycy5MYXN0TG9nb24sIHVzZXJzLlBob25lDQogICAgICAgICAgICBGUk9NIFVzZXJzIA0KICAgICAgICAgICAgTEVGVCBKT0lOIGNvbXBhbmllcyBPTiB1c2Vycy5Db21wYW55SUQgPSBjb21wYW5pZXMuSUQNCiAgICAgICAgICAgIExFRlQgSk9JTiB1c2VydHlwZXMgT04gdXNlcnMuUmVsYXRlZFVzZXJUeXBlSUQgPSB1c2VydHlwZXMuSUQNCiAgICAgICAgICAgIFdIRVJFIFVzZXJzLkFjdGl2ZSBJTiAoMCwxKQ0KICAgICAgICAgICAgT1JERVIgQlkgZnVsbE5hbWUgQVNDLCBBY3RpdmUgREVTQzs=');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$w466 = array();
while ($l14 = mysqli_fetch_array($d13)) {
$y430 = $l14[base64_decode('VXNlcm5hbWU=')];
$j467 = $l14[base64_decode('UmVsYXRlZE1hbmFnZXI=')];
$baa = $l14[base64_decode('VXNlcklE')];
$t468 = $l14[base64_decode('ZnVsbE5hbWU=')];
$e7b = $l14[base64_decode('VXNlcm5hbWU=')];
$y16e = $l14[base64_decode('UGhvbmU=')];
$d469 = $l14[base64_decode('VXNlclR5cGU=')];
$i3d2 = $l14[base64_decode('Q29tcGFueW5hbWU=')];
$z187 = $l14[base64_decode('RW1haWw=')];
if (empty($l14[base64_decode('TGFzdExvZ29u')])) {
$p46a = '';
} else {
$p46a = convertToDanishTimeFormat($l14[base64_decode('TGFzdExvZ29u')]);
}
if ($j467 == '') {
} else {
$j467 = getUserFullNameWithUsername($l14[base64_decode('UmVsYXRlZE1hbmFnZXI=')]);
}
$a1df = $l14[base64_decode('QWN0aXZl')];
if ($a1df == base64_decode('MQ==')) {
$a1df = translate(base64_decode('QWN0aXZl'));
} else {
$a1df = translate(base64_decode('SW5hY3RpdmU='));
}
$s46b = "<a href='administration_users_edit.php?usersid=$baa' title=\"" . translate(base64_decode('RWRpdA==')) . base64_decode('Ij48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1pbmZvJz48aSBjbGFzcz0nZmEgZmEtZm9sZGVyLW9wZW4nPjwvaT48L3NwYW4+PC9hPg==');
$o463 = "<a href=\"javascript:runModalViewUnit('User', $baa);\" title=\"" . translate(base64_decode('Vmlldw==')) . base64_decode('Ij48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1zdWNjZXNzJz48aSBjbGFzcz0nZmEgZmEtcGVuLXRvLXNxdWFyZSc+PC9pPjwvc3Bhbj48L2E+');
$s119[] = array(translate(base64_decode('TmFtZQ==')) => $t468, '' => $o463 . $s46b, translate(base64_decode('VXNlcm5hbWU=')) => $e7b, translate(base64_decode('VHlwZQ==')) => translate("$d469"), translate(base64_decode('RW1haWw=')) => $z187, translate(base64_decode('UGhvbmU=')) => $y16e, translate(base64_decode('Q29tcGFueQ==')) => $i3d2, translate(base64_decode('TGFzdCBsb2dvbg==')) => $p46a, translate(base64_decode('VGVhbSBMZWFkZXI=')) => $j467, translate(base64_decode('U3RhdHVz')) => $a1df,);
}
if ($s119) {
usort($s119, function ($x13f, $a140) {
return strcmp($x13f[translate(base64_decode('TmFtZQ=='))], $a140[translate(base64_decode('TmFtZQ=='))]);
});
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} catch (Exception $s15) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0Um9sZXNUYWJsZQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
try {
$oa = base64_decode('U0VMRUNUIHJvbGVzLklEIEFTIFJvbGVJRCwgcm9sZXMuUm9sZU5hbWUsIHJvbGVzLkRlc2NyaXB0aW9uLCByb2xlcy5BY3RpdmUNCiAgICAgICAgICAgIEZST00gcm9sZXMNCiAgICAgICAgICAgIFdIRVJFIHJvbGVzLklEID4gMA0KICAgICAgICAgICAgT1JERVIgQlkgUm9sZU5hbWUgQVNDOw==');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$s119 = array();
while ($l14 = mysqli_fetch_array($d13)) {
$m11e = $l14[base64_decode('Um9sZUlE')];
$r67 = $l14[base64_decode('Um9sZU5hbWU=')];
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$a1df = $l14[base64_decode('QWN0aXZl')];
if ($a1df == base64_decode('MQ==')) {
$a1df = translate(base64_decode('QWN0aXZl'));
} else {
$a1df = translate(base64_decode('SW5hY3RpdmU='));
}
$o463 = "<a href='administration_roles_edit.php?roleid=$m11e' title='" . translate(base64_decode('RWRpdA==')) . base64_decode('Jz48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1zdWNjZXNzJz48aSBjbGFzcz0nZmEgZmEtcGVuLXRvLXNxdWFyZSc+PC9pPjwvc3Bhbj48L2E+');
$h464 = "<a href=\"javascript:getGroupsInRole('$m11e');\" title='" . translate(base64_decode('UHJldmlldyBHcm91cHMgaW4gdGhlIHJvbGU=')) . base64_decode('Jz48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1pbmZvJz48aSBjbGFzcz0nZmFyIGZhLWV5ZSc+PC9pPjwvc3Bhbj48L2E+');
$c465 = "<a href=\"javascript:deleteRole($m11e);\" title='" . translate(base64_decode('RGVsZXRl')) . base64_decode('Jz48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1kYW5nZXInPjxpIGNsYXNzPSdmYS1zb2xpZCBmYS10cmFzaCc+PC9pPjwvc3Bhbj48L2E+');
$s119[] = array(translate(base64_decode('TmFtZQ==')) => $r67, '' => $o463 . $h464 . $c465, translate(base64_decode('RGVzY3JpcHRpb24=')) => $f1e, translate(base64_decode('U3RhdHVz')) => $a1df,);
}
if ($s119) {
usort($s119, function ($x13f, $a140) {
return strcmp($x13f[translate(base64_decode('TmFtZQ=='))], $a140[translate(base64_decode('TmFtZQ=='))]);
});
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} catch (Exception $s15) {
errorlog($s15->getMessage(), base64_decode('Z2V0Um9sZXNUYWJsZQ=='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0VGVhbXNUYWJsZQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
try {
$oa = base64_decode('U0VMRUNUIHRlYW1zLklELCB0ZWFtcy5UZWFtbmFtZSwgdGVhbXMuRGVzY3JpcHRpb24sIHRlYW1zLkFjdGl2ZSANCiAgICAgICAgICAgIEZST00gdGVhbXMNCiAgICAgICAgICAgIE9SREVSIEJZIHRlYW1zLkFjdGl2ZSBERVNDLCB0ZWFtcy5UZWFtbmFtZSBBU0M7');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$s119 = array();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$n3d1 = $l14[base64_decode('VGVhbW5hbWU=')];
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$a1df = $l14[base64_decode('QWN0aXZl')];
if ($a1df == base64_decode('MQ==')) {
$a1df = translate(base64_decode('QWN0aXZl'));
} else {
$a1df = translate(base64_decode('SW5hY3RpdmU='));
}
$o463 = "<a href='administration_teams_edit.php?teamid=$r46' title='" . translate(base64_decode('RWRpdA==')) . base64_decode('Jz48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1zdWNjZXNzJz48aSBjbGFzcz0nZmEgZmEtcGVuLXRvLXNxdWFyZSc+PC9pPjwvc3Bhbj48L2E+');
$h464 = "<a href=\"javascript:getUsersInTeam('$r46');\" title='" . translate(base64_decode('UHJldmlldyBHcm91cHMgaW4gdGhlIHJvbGU=')) . base64_decode('Jz48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1pbmZvJz48aSBjbGFzcz0nZmFyIGZhLWV5ZSc+PC9pPjwvc3Bhbj48L2E+');
$c465 = "<a href=\"javascript:deleteTeam($r46);\" title='" . translate(base64_decode('RGVsZXRl')) . base64_decode('Jz48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1kYW5nZXInPjxpIGNsYXNzPSdmYS1zb2xpZCBmYS10cmFzaCc+PC9pPjwvc3Bhbj48L2E+');
$s119[] = array(translate(base64_decode('TmFtZQ==')) => $n3d1, '' => $o463 . $h464 . $c465, translate(base64_decode('RGVzY3JpcHRpb24=')) => $f1e, translate(base64_decode('U3RhdHVz')) => $a1df,);
}
if ($s119) {
usort($s119, function ($x13f, $a140) {
return strcmp($x13f[translate(base64_decode('TmFtZQ=='))], $a140[translate(base64_decode('TmFtZQ=='))]);
});
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} catch (Exception $s15) {
errorlog($s15->getMessage(), base64_decode('Z2V0VGVhbXNUYWJsZQ=='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0Q29tcGFuaWVzVGFibGU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
try {
$oa = base64_decode('U0VMRUNUIElELCBDb21wYW55bmFtZSwgQWN0aXZlLCBXZWJQYWdlLCBQaG9uZSwgUmVsYXRlZFNMQUlELCBDdXN0b21lckFjY291bnROdW1iZXIsIEFkZHJlc3MsIFppcENvZGUsIENpdHksIGNvdW50cmllcy5uYW1lIEFTIENvdW50cnksIEVtYWlsLCBDQlIgDQogICAgICAgICAgICBGUk9NIGNvbXBhbmllcw0KICAgICAgICAgICAgTEVGVCBKT0lOIGNvdW50cmllcyBPTiBjb21wYW5pZXMuQ291bnRyeSA9IGNvdW50cmllcy5hYnYNCiAgICAgICAgICAgIFdIRVJFIEFjdGl2ZSBJTiAoMCwxKQ0KICAgICAgICAgICAgT1JERVIgQlkgQ29tcGFueW5hbWUgQVNDOw==');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$s119 = array();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$i3d2 = $l14[base64_decode('Q29tcGFueW5hbWU=')];
$y16e = $l14[base64_decode('UGhvbmU=')];
$wcc = $l14[base64_decode('V2ViUGFnZQ==')];
$a3e1 = $l14[base64_decode('Q291bnRyeQ==')];
$j3e0 = $l14[base64_decode('Q2l0eQ==')];
$z187 = $l14[base64_decode('RW1haWw=')];
$u3e2 = $l14[base64_decode('Q0JS')];
$a1df = $l14[base64_decode('QWN0aXZl')];
if ($a1df == base64_decode('MQ==')) {
$a1df = translate(base64_decode('QWN0aXZl'));
} else {
$a1df = translate(base64_decode('SW5hY3RpdmU='));
}
$o463 = "<a href='administration_companies_edit.php?companyid=$r46' title='" . translate(base64_decode('RWRpdA==')) . base64_decode('Jz48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1zdWNjZXNzJz48aSBjbGFzcz0nZmEgZmEtcGVuLXRvLXNxdWFyZSc+PC9pPjwvc3Bhbj48L2E+');
$s119[] = array(translate(base64_decode('TmFtZQ==')) => $i3d2, '' => $o463, translate(base64_decode('UGhvbmU=')) => $y16e, translate(base64_decode('V2ViUGFnZQ==')) => $wcc, translate(base64_decode('Q291bnRyeQ==')) => $a3e1, translate(base64_decode('Q2l0eQ==')) => $j3e0, translate(base64_decode('RW1haWw=')) => $z187, translate(base64_decode('Q0JS')) => $u3e2, translate(base64_decode('U3RhdHVz')) => $a1df,);
}
if ($s119) {
usort($s119, function ($x13f, $a140) {
return strcmp($x13f[translate(base64_decode('TmFtZQ=='))], $a140[translate(base64_decode('TmFtZQ=='))]);
});
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} catch (Exception $s15) {
errorlog($s15->getMessage(), base64_decode('Z2V0Q29tcGFuaWVzVGFibGU='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0VXNlclByb2plY3Rz')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$s119 = array();
try {
$oa = "SELECT projects.ID, projects.Name, projects.Start, projects.Progress, projects_statuscodes.StatusName, projects.Deadline, projects.EstimatedBudget, projects.RelatedCompanyID,
(SELECT CONCAT(users.firstname,' ', users.lastname) FROM users WHERE users.ID = projects.ProjectResponsible) AS ProjectResponsible, (SELECT CONCAT(users.firstname,' ', users.lastname) FROM users WHERE users.ID = projects.ProjectManager) AS ProjectManager,EstimatedHours, HoursSpend,
(SELECT SUM(project_tasks.progress) FROM project_tasks WHERE project_tasks.RelatedProject = projects.ID)/(SELECT COUNT(*) FROM project_tasks WHERE project_tasks.RelatedProject = projects.ID) AS ProjectProgress
FROM projects
LEFT JOIN projects_statuscodes ON projects.Status = projects_statuscodes.ID
LEFT JOIN users ON projects.ProjectManager = users.ID
WHERE (Status NOT IN ('7','8') AND projects.ID IN (SELECT project_users.ProjectID
FROM project_users
WHERE project_users.UserID = $p8a) OR (Status NOT IN ('7','8') AND projects.ProjectResponsible = $p8a) OR (Status NOT IN ('7','8') AND projects.ProjectManager = $p8a))
ORDER BY projects.Deadline ASC;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('UHJvamVjdA==') => $l14[base64_decode('TmFtZQ==')], base64_decode('VXNlcklE') => $p8a);
}
if ($s119) {
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} catch (Exception $s15) {
errorlog($s15->getMessage(), base64_decode('Z2V0VXNlclByb2plY3Rz'));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0VW5pdFZpZXdGaWVsZFZhbHVlcw==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$m45a = $_POST[base64_decode('VW5pdFR5cGU=')];
$z46c = $_POST[base64_decode('VW5pdElE')];
$k46d = $_POST[base64_decode('cmVzcG9uc2VEYXRh')];
$f46e = getUnitTableName($m45a);
try {
$x46f = $k46d[0][base64_decode('RmllbGRzQXJyYXk=')];
$u2e0 = [];
foreach ($x46f as $i2f1 => $u52) {
$p298 = $u52[base64_decode('RmllbGRUeXBl')];
if ($p298 === base64_decode('U2VsZWN0')) {
if ($i2f1 == base64_decode('Q29tcGFueUlE')) {
$f31 = getITSMFieldValue($z46c, $i2f1, $f46e);
if ($f31) {
$f31 = getCompanyIDFromUserID($z46c);
$f31 = getCompanyName($h2);
}
} else if ($i2f1 == base64_decode('UmVsYXRlZFVzZXJUeXBlSUQ=')) {
$f31 = getITSMFieldValue($z46c, $i2f1, $f46e);
if ($f31) {
$f31 = getUserTypeName($f31);
}
} else if ($i2f1 == base64_decode('UmVsYXRlZE1hbmFnZXI=')) {
$f31 = getITSMFieldValue($z46c, $i2f1, $f46e);
if ($f31) {
$f31 = getUserFullName($f31);
}
} else if ($i2f1 == base64_decode('VGVhbUxlYWRlcg==')) {
$f31 = getITSMFieldValue($z46c, $i2f1, $f46e);
if ($f31) {
$f31 = getUserFullName($f31);
}
} else if ($i2f1 == base64_decode('UmVsYXRlZFNMQUlE')) {
$f31 = getITSMFieldValue($z46c, $i2f1, $f46e);
if ($f31) {
$f31 = getSLANameFromID($f31);
}
} else {
$f31 = getITSMFieldValue($z46c, $i2f1, $f46e);
}
} else if ($p298 === base64_decode('RGF0ZQ==')) {
$f31 = getITSMFieldValue($z46c, $i2f1, $f46e);
} else {
$f31 = getITSMFieldValue($z46c, $i2f1, $f46e);
}
$u2e0[$i2f1] = isset($f31) ? $f31 : null;
}
if ($u2e0) {
echo json_encode($u2e0, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} catch (Exception $s15) {
errorlog($s15->getMessage(), base64_decode('Z2V0VW5pdFZpZXdGaWVsZFZhbHVlcw=='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('ZmV0Y2hRdWVyeVRpbWVz')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$j470 = [];
if ($zc->$f471) {
die(base64_decode('Q29ubmVjdGlvbiBmYWlsZWQ6IA==') . $zc->$f471);
}
$k472 = 0.010;
for ($m2f5 = 1; $m2f5 <= 5; $m2f5++) {
$d473 = microtime(true);
$oa = base64_decode('U0VMRUNUICogRlJPTSBzdG9wd29yZHM7');
$d13 = $zc->query($oa);
$u474 = microtime(true);
$h475 = $u474 - $d473;
if ($h475 > $k472) {
$r160 = base64_decode('c2xvdw==');
} else {
$r160 = base64_decode('ZmFzdA==');
}
$j470[] = [base64_decode('dGltZQ==') => $h475, base64_decode('bWVzc2FnZQ==') => $r160];
}
$zc->close();
echo json_encode($j470);
}
if (isset($_GET[base64_decode('Y3JlYXRlUHJvamVjdEFjdGl2aXR5')])) {
$b6b = $_POST[base64_decode('Q29udGVudA==')];
$l147 = $_POST[base64_decode('UHJvamVjdFRhc2tJRA==')];
createNewProjectActivity($b6b, $l147);
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
}
if (isset($_GET[base64_decode('ZGVhY3RpdmF0ZTJGQQ==')])) {
$j1a2 = $_POST[base64_decode('dXNlcklk')];
deactivate2FA($j1a2);
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
}
if (isset($_GET[base64_decode('Zml4QmFzZTY0U2VsZWN0RmllbGQ=')])) {
$l476 = [base64_decode('Y21kYl9jaV9maWVsZHNsaXN0') => processSelectFieldOptions(base64_decode('Y21kYl9jaV9maWVsZHNsaXN0')), base64_decode('Zm9ybXNfZmllbGRzbGlzdA==') => processSelectFieldOptions(base64_decode('Zm9ybXNfZmllbGRzbGlzdA==')), base64_decode('aXRzbV9maWVsZHNsaXN0') => processSelectFieldOptions(base64_decode('aXRzbV9maWVsZHNsaXN0'))];
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('Q291bnRz') => $l476]);
}
if (isset($_GET[base64_decode('ZmV0Y2hDTURCVGltZWxpbmVEYXRh')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$y2c4 = getRelationShowField($m10);
$e477 = getSettingValue(17);
$e478 = date(base64_decode('WQ=='));
if ($df && $y2c4) {
$oa = "SELECT `ID`, `EndDate`, `$y2c4`
FROM `$df`
WHERE YEAR(`EndDate`) = ? AND Active = 1";
$sb = mysqli_prepare($zc, $oa);
mysqli_stmt_bind_param($sb, base64_decode('aQ=='), $e478);
if (mysqli_stmt_execute($sb)) {
$d13 = mysqli_stmt_get_result($sb);
$g479 = [];
while ($l14 = mysqli_fetch_assoc($d13)) {
$y403 = new DateTime($l14[base64_decode('RW5kRGF0ZQ==')]);
$r46 = $l14[base64_decode('SUQ=')];
$j66 = $l14[$y2c4];
$b33 = "<a href=\"javascript:runModalViewCI('$r46','$m10','0');\">$j66</a>";
$g479[] = [base64_decode('aWQ=') => $r46, base64_decode('ZW5kRGF0ZQ==') => $l14[base64_decode('RW5kRGF0ZQ==')], base64_decode('ZW5kRGF0ZVNob3J0') => $y403->format(base64_decode('ZC1tLVk=')), base64_decode('Q0lUeXBlSUQ=') => $m10, base64_decode('dXJs') => $e477, base64_decode('bmFtZQ==') => $j66];
}
echo json_encode($g479);
} else {
$m1b = base64_decode('UXVlcnkgZXhlY3V0aW9uIGZhaWxlZDog') . mysqli_stmt_error($sb);
errorlog($m1b, base64_decode('ZmV0Y2hDTURCVGltZWxpbmVEYXRh'));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
mysqli_stmt_close($sb);
} else {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('SW52YWxpZCBDSVR5cGVJRCBvciBmaWVsZC4=')]);
}
}
if (isset($_GET[base64_decode('Z2V0VHJhbnNlclVzZXJPYmplY3RzQ01EQg==')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$p8a = $_POST[base64_decode('VXNlcklE')];
$y47a = getUserTransferObjectsCMDB($p8a);
echo json_encode($y47a);
}
if (isset($_GET[base64_decode('Z2V0VHJhbnNlclVzZXJPYmplY3RzSVRTTQ==')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$p8a = $_POST[base64_decode('VXNlcklE')];
$c47b = getUserTransferObjectsITSM($p8a);
echo json_encode($c47b);
}
if (isset($_GET[base64_decode('Z2V0VXNlclRyYW5zZmVyT2JqZWN0c090aGVy')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$p8a = $_POST[base64_decode('VXNlcklE')];
$u47c = getUserTransferObjectsOther($p8a);
echo json_encode($u47c);
}
if (isset($_GET[base64_decode('Z2V0VXNlclRyYW5zZmVyT2JqZWN0c01lbWJlclNoaXBz')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$p8a = $_POST[base64_decode('VXNlcklE')];
$u47c = getUserTransferObjectsMemberShips($p8a);
echo json_encode($u47c);
}
if (isset($_GET[base64_decode('Z2V0VXNlcnNBcnJheQ==')])) {
$f47d = getUsersArray();
echo json_encode($f47d);
}
if (isset($_GET[base64_decode('dHJhbnNmZXJPYmplY3RzVG9Vc2Vy')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
ob_implicit_flush(true);
ob_end_clean();
$f47e = array();
$t47f = array();
$j480 = array();
$l481 = array();
$i482 = $_POST[base64_decode('VXNlcklEVG9Nb3ZlRnJvbQ==')];
$k483 = $_POST[base64_decode('VXNlclRvTW92ZVRv')];
$p484 = $_POST[base64_decode('T2JqZWN0c0Zvcm0=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0) || ($i482 == $q4)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
foreach ($p484 as $z5c => $r2a) {
$l202 = $r2a[base64_decode('bmFtZQ==')];
$i3a2 = $r2a[base64_decode('dmFsdWU=')];
if (strpos($l202, base64_decode('Y2lUeXBl')) !== false) {
$f47e[] = array(base64_decode('bmFtZQ==') => $l202, base64_decode('ZmllbGR2YWx1ZQ==') => $i3a2);
}
if (strpos($l202, base64_decode('aXRzbVR5cGU=')) !== false) {
$t47f[] = array(base64_decode('bmFtZQ==') => $l202, base64_decode('ZmllbGR2YWx1ZQ==') => $i3a2);
}
if (strpos($l202, base64_decode('b3RoZXJUeXBl')) !== false) {
$j480[] = array(base64_decode('bmFtZQ==') => $l202, base64_decode('ZmllbGR2YWx1ZQ==') => $i3a2);
}
if (strpos($l202, base64_decode('bXNUeXBl')) !== false) {
$l481[] = array(base64_decode('bmFtZQ==') => $l202, base64_decode('ZmllbGR2YWx1ZQ==') => $i3a2);
}
}
$u485 = count($f47e) + count($t47f) + count($j480) + count($l481);
$y486 = 0;
function sendProgress($y486, $u485)
{
$e487 = round(($y486 / $u485) * 100);
echo json_encode([base64_decode('cHJvZ3Jlc3M=') => $e487]) . PHP_EOL;
}
foreach ($f47e as $k349) {
transferCMDBItems($k349, $i482, $k483, $q4);
$y486++;
sendProgress($y486, $u485);
}
foreach ($t47f as $k349) {
transferITSMItems($k349, $i482, $k483, $q4);
$y486++;
sendProgress($y486, $u485);
}
foreach ($j480 as $k349) {
transferOthersItems($k349, $i482, $k483, $q4);
$y486++;
sendProgress($y486, $u485);
}
foreach ($l481 as $k349) {
transferMS($k349, $i482, $k483, $q4);
$y486++;
sendProgress($y486, $u485);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]) . PHP_EOL;
}
if (isset($_GET[base64_decode('cmVhZElUU01Db21tZW50cw==')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$o90 = $_POST[base64_decode('Y29tbWVudElE')];
readITSMComments($k17, $g35, $q4);
}
if (isset($_GET[base64_decode('ZGVsZXRlSVRTTUNvbW1lbnQ=')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$o90 = $_POST[base64_decode('Y29tbWVudElE')];
deleteITSMComment($o90);
}
if (isset($_GET[base64_decode('c2F2ZUlUU01Db21tZW50')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$o90 = $_POST[base64_decode('Y29tbWVudElE')];
$f488 = $_POST[base64_decode('aXRzbUNvbW1lbnQ=')];
updateITSMCOmment($o90, $f488);
} ?>
Did this file decode correctly?
Original Code
<?php if (session_status() == PHP_SESSION_NONE) {
session_start();
}
require_once(base64_decode('Li9mdW5jdGlvbnMvZnVuY3Rpb25zLnBocA=='));
require_once(base64_decode('Li9pbmMvZGJjb25uZWN0aW9uLnBocA=='));
include_once base64_decode('Li92ZW5kb3IvYXV0b2xvYWQucGhw'); ?>
<?php $p0 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
$h2 = $_SESSION[base64_decode('Y29tcGFueWlk')];
$z3 = $_SESSION[base64_decode('dGVhbWlk')];
$q4 = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($q4);
$j6 = getLanguageCode($y5);
if (isset($_SESSION[base64_decode('QWN0aXZl')])) {
$l7 = $_SESSION[base64_decode('QWN0aXZl')];
if ($l7 == base64_decode('MA==')) {
$_SESSION[base64_decode('bG9nZ2VkaW4=')] = false;
header(base64_decode('bG9jYXRpb246IGxvZ2luLnBocA=='));
exit;
}
} else {
$_SESSION[base64_decode('bG9nZ2VkaW4=')] = false;
header(base64_decode('bG9jYXRpb246IGxvZ2luLnBocA=='));
exit;
} ?>
<?php if (isset($_POST[base64_decode('dGFza2lk')])) {
$l8 = $_POST[base64_decode('dGFza2lk')];
$r9 = date(base64_decode('WS1tLWQgSDppOnM='));
$oa = base64_decode('VVBEQVRFIHRhc2tzbGlzdA0KICAgICAgICAgIFNFVCB0b2RvID0gJ25vJywgZG9pbmcgPSAnbm8nLCBkb25lID0gJ25vJywgQmFza2V0ID0gJ3llcycsIERhdGVTb2x2ZWQgPSA/DQogICAgICAgICAgV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c2k='), $r9, $l8);
mysqli_stmt_execute($sb);
mysqli_stmt_close($sb);
} else {
errorlog(base64_decode('UHJlcGFyZSBzdGF0ZW1lbnQgZXJyb3I6IA==') . mysqli_error($zc), base64_decode('dGFza2lk'));
}
}
if (isset($_GET[base64_decode('Z2V0Q0lTSW5DSVRhYmxl')])) {
if (in_array(base64_decode('MTAwMDE0'), $p0) || in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$df = $_GET[base64_decode('Q0lUYWJsZU5hbWU=')];
$m10 = getCITypeIDFromTableName($df);
$r11 = getShowInRelationFields($m10);
$h12 = implode(base64_decode('LA=='), $r11);
$oa = "SELECT $df.ID, $df.$h12
FROM $df
WHERE Active = 1";
try {
$d13 = mysqli_query($zc, $oa);
if ($d13 === FALSE) {
throw new Exception(base64_decode('VGhlIHF1ZXJ5IGZvciBnZXR0aW5nIENJcyBkaWQgbm90IHN1Y2NlZWQ='));
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$fe[] = array(base64_decode('SUQ=') => $l14[0], base64_decode('RmllbGROYW1l') => "$l14[1]");
}
echo json_encode($fe, JSON_PRETTY_PRINT);
}
} catch (Exception $s15) {
$fe[] = array(base64_decode('ZXJyb3I=') => "$s15");
echo json_encode($fe, JSON_PRETTY_PRINT);
return;
}
}
if (isset($_GET[base64_decode('Z2V0RWxlbWVudHNJbklUU01UYWJsZQ==')])) {
$i16 = $_GET[base64_decode('SVRTTVRhYmxlTmFtZQ==')];
$k17 = getITSMTypeIDFromTableName($i16);
$t18 = getITSMTypeName($k17);
$r11 = getITSMShowInRelationFields($k17);
$h12 = implode(base64_decode('LA=='), $r11);
$h19 = getITSMActiveStatusCodes($k17);
$h19 = implode(base64_decode('LA=='), $h19);
$oa = "SELECT $i16.ID, $i16.$h12
FROM $i16
WHERE Status IN ($h19)
ORDER BY ID ASC";
$d13 = mysqli_query($zc, $oa);
if ($d13) {
$fe = [];
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $t18 . base64_decode('IA==') . $l14[0] . base64_decode('OiA=') . $l14[1];
$fe[] = array(base64_decode('SUQ=') => $l14[0], base64_decode('RmllbGROYW1l') => $m1a);
}
mysqli_free_result($d13);
echo json_encode($fe, JSON_PRETTY_PRINT);
} else {
error_log(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
echo json_encode([], JSON_PRETTY_PRINT);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTVRlbXBsYXRlcw==')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$k17 = $_GET[base64_decode('aXRzbXR5cGVpZA==')];
$fe = [];
$m1b = '';
$oa = base64_decode('U0VMRUNUIGl0c21fdGVtcGxhdGVzLklELCBpdHNtX3RlbXBsYXRlcy5EZXNjcmlwdGlvbiwgaXRzbV90ZW1wbGF0ZXMuUHVibGljLCBpdHNtX3RlbXBsYXRlcy5SZWxhdGVkRm9ybUlEDQogICAgICAgICAgRlJPTSBpdHNtX3RlbXBsYXRlcw0KICAgICAgICAgIFdIRVJFIChPd25lciA9ID8gT1IgUHVibGljID0gMSkgQU5EIGl0c21fdGVtcGxhdGVzLlJlbGF0ZWRNb2R1bGUgPSA/DQogICAgICAgICAgT1JERVIgQlkgRGVzY3JpcHRpb24gQVND');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $q4, $k17);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
while ($l14 = mysqli_fetch_array($d13)) {
$s1c = $l14[base64_decode('UHVibGlj')];
$q1d = $l14[base64_decode('UmVsYXRlZEZvcm1JRA==')];
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')] . ($s1c == base64_decode('MQ==') ? base64_decode('IChQdWJsaWMp') : base64_decode('IChQcml2YXRlKQ=='));
$fe[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('RGVzY3JpcHRpb24=') => $f1e, base64_decode('Rm9ybUlE') => $q1d);
}
mysqli_free_result($d13);
if (empty($fe)) {
echo json_encode([]);
} else {
echo json_encode($fe, JSON_PRETTY_PRINT);
}
} else {
$m1b = base64_decode('UXVlcnkgZXhlY3V0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTVRlbXBsYXRlcw=='));
echo json_encode([base64_decode('ZXJyb3I=') => $m1b]);
}
mysqli_stmt_close($sb);
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTVRlbXBsYXRlcw=='));
echo json_encode([base64_decode('ZXJyb3I=') => $m1b]);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lQYXJlbnRSZWxhdGlvbnM=')])) {
if (in_array(base64_decode('MTAwMDE0'), $p0) || in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1f = $_POST[base64_decode('Q0lJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
$v20 = base64_decode('MQ==');
}
$oa = base64_decode('U0VMRUNUIElELCBDSVRhYmxlMSwgQ0lUYWJsZTIsIENJMUlELCBDSTJJRA0KICAgICAgICAgIEZST00gY21kYl9jaV9yZWxhdGlvbnMNCiAgICAgICAgICBXSEVSRSBDSVRhYmxlMiA9ID8gQU5EIENJMklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c2k='), $df, $q1f);
$sb->execute();
$d13 = $sb->get_result();
$w21 = 1;
while ($l14 = mysqli_fetch_array($d13)) {
$d22 = $l14[base64_decode('SUQ=')];
$d23 = $l14[base64_decode('Q0lUYWJsZTE=')];
$a24 = $l14[base64_decode('Q0kxSUQ=')];
$t25 = $l14[base64_decode('Q0lUYWJsZTI=')];
$i26 = $l14[base64_decode('Q0kySUQ=')];
$t27 = getStatusOfCI($d23, $a24);
$j28 = getStatusOfCI($t25, $i26);
if ($t27 == base64_decode('MA==') || $j28 == base64_decode('MA==')) {
} else {
$i29[] = array(base64_decode('UmVsYXRpb25JRA==') => $d22, base64_decode('Q0lUYWJsZTE=') => $d23, base64_decode('Q0kxSUQ=') => $a24, base64_decode('Q0lUYWJsZTI=') => $t25, base64_decode('Q0kySUQ=') => $i26);
}
}
foreach ($i29 as $r2a) {
$d22 = $r2a[base64_decode('UmVsYXRpb25JRA==')];
$y2b = $r2a[base64_decode('Q0lUYWJsZTE=')];
$a24 = $r2a[base64_decode('Q0kxSUQ=')];
$j2c = $r2a[base64_decode('Q0lUYWJsZTI=')];
$n2d = $r2a[base64_decode('Q0kySUQ=')];
$q2e = getCINameFromTableName($y2b);
$h2f = getCITypeIDFromTableName($y2b);
$m1a = getShowInRelationFields($h2f);
$l30 = implode('', $m1a);
$f31 = getCIFieldValue($a24, $l30, $y2b);
if ($v20 == base64_decode('MQ==')) {
$g32 = base64_decode('Jm5ic3A7Jm5ic3A7Jm5ic3A7PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRlIHJlbGF0aW9u')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteRelCIRel($d22);\"><i class=\"fa fa-trash\"></i></span></a>";
} else {
$g32 = '';
}
$b33 = "<a href=\"javascript:runModalViewCI('$a24','$h2f','0');\">$f31</a>$g32<br>";
$q34[] = array(base64_decode('SUQ=') => $w21, base64_decode('VHlwZQ==') => $q2e, '' => $b33);
$w21 = ($w21 + 1);
}
if (!empty($q34)) {
asort($q34);
echo json_encode($q34, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lDaGlsZFJlbGF0aW9ucw==')])) {
if (in_array(base64_decode('MTAwMDE0'), $p0) || in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1f = $_POST[base64_decode('Q0lJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
$v20 = base64_decode('MQ==');
}
$oa = base64_decode('U0VMRUNUIElELCBDSVRhYmxlMSwgQ0lUYWJsZTIsIENJMUlELCBDSTJJRA0KICAgICAgICAgIEZST00gY21kYl9jaV9yZWxhdGlvbnMNCiAgICAgICAgICBXSEVSRSBDSVRhYmxlMSA9ID8gQU5EIENJMUlEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c2k='), $df, $q1f);
$sb->execute();
$d13 = $sb->get_result();
$w21 = 1;
while ($l14 = mysqli_fetch_array($d13)) {
$d22 = $l14[base64_decode('SUQ=')];
$d23 = $l14[base64_decode('Q0lUYWJsZTE=')];
$a24 = $l14[base64_decode('Q0kxSUQ=')];
$t25 = $l14[base64_decode('Q0lUYWJsZTI=')];
$i26 = $l14[base64_decode('Q0kySUQ=')];
$t27 = getStatusOfCI($d23, $a24);
$j28 = getStatusOfCI($t25, $i26);
if ($t27 == base64_decode('MA==') || $j28 == base64_decode('MA==')) {
} else {
$i29[] = array(base64_decode('UmVsYXRpb25JRA==') => $d22, base64_decode('Q0lUYWJsZTE=') => $d23, base64_decode('Q0kxSUQ=') => $a24, base64_decode('Q0lUYWJsZTI=') => $t25, base64_decode('Q0kySUQ=') => $i26);
}
}
foreach ($i29 as $r2a) {
$d22 = $r2a[base64_decode('UmVsYXRpb25JRA==')];
$y2b = $r2a[base64_decode('Q0lUYWJsZTE=')];
$a24 = $r2a[base64_decode('Q0kxSUQ=')];
$j2c = $r2a[base64_decode('Q0lUYWJsZTI=')];
$i26 = $r2a[base64_decode('Q0kySUQ=')];
$q2e = getCINameFromTableName($j2c);
$h2f = getCITypeIDFromTableName($j2c);
$m1a = getShowInRelationFields($h2f);
$l30 = implode('', $m1a);
$f31 = getCIFieldValue($i26, $l30, $j2c);
if ($v20 == base64_decode('MQ==')) {
$g32 = base64_decode('Jm5ic3A7Jm5ic3A7Jm5ic3A7PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRlIHJlbGF0aW9u')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteRelCIRel($d22);\"><i class=\"fa fa-trash\"></i></span></a>";
} else {
$g32 = '';
}
$b33 = "<a href=\"javascript:runModalViewCI('$i26','$h2f','0');\">$f31</a>$g32<br>";
$q34[] = array(base64_decode('SUQ=') => $w21, base64_decode('VHlwZQ==') => $q2e, '' => $b33);
$w21 = ($w21 + 1);
}
if (!empty($q34)) {
asort($q34);
echo json_encode($q34, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTVJlbGF0aW9uc0lUU00=')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$h19 = implode(base64_decode('LA=='), getITSMActiveStatusCodes($k17));
$oa = "SELECT itsm_relations.ID, itsm_relations.Table1, itsm_relations.Table2, itsm_relations.ID1, itsm_relations.ID2
FROM itsm_relations
LEFT JOIN $i16 AS passwords1 ON passwords1.ID = itsm_relations.ID1
LEFT JOIN $i16 AS passwords2 ON passwords2.ID = itsm_relations.ID2
WHERE (itsm_relations.Table1 = '$i16' AND itsm_relations.ID1 = ?)
OR (itsm_relations.Table2 = '$i16' AND itsm_relations.ID2 = ?)
AND (passwords1.Status IN ($h19) OR passwords2.Status IN ($h19));";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aWk='), $g35, $g35);
$sb->execute();
$d13 = $sb->get_result();
$w21 = 1;
while ($l14 = mysqli_fetch_array($d13)) {
$d22 = $l14[base64_decode('SUQ=')];
$y2b = $l14[base64_decode('VGFibGUx')];
$p36 = $l14[base64_decode('SUQx')];
$j2c = $l14[base64_decode('VGFibGUy')];
$y37 = $l14[base64_decode('SUQy')];
if ($v20 == 1) {
$g32 = base64_decode('Jm5ic3A7Jm5ic3A7Jm5ic3A7PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . _(base64_decode('RGVsZXRlIHJlbGF0aW9u')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteRelITSMRel('$d22');\"><i class=\"fa fa-trash\"></i></span></a>";
} else {
$g32 = '';
}
$b33 = '';
if ($i16 == $y2b && $g35 == $p36) {
$b38 = getITSMTypeIDFromTableName($j2c);
$p39 = getITSMTypeName($b38);
$w3a = getITSMShowInRelationFields($b38);
$w3a = implode('', $w3a);
$o3b = getITSMFieldValue($y37, $w3a, $j2c);
$b33 = "<a href=\"javascript:viewITSM('$y37','$b38','1','modal');\">$y37: $o3b</a>$g32<br>";
$q34[] = array(base64_decode('SUQ=') => $w21, base64_decode('VHlwZQ==') => $p39, '' => $b33);
$w21 = ($w21 + 1);
} else {
$e3c = getITSMTypeIDFromTableName($y2b);
$q3d = getITSMTypeName($e3c);
$l3e = getITSMShowInRelationFields($e3c);
$l3e = implode('', $l3e);
$i3f = getITSMFieldValue($p36, $l3e, $y2b);
$b33 = "<a href=\"javascript:viewITSM('$p36','$e3c','1','modal');\">$p36: $i3f</a>$g32<br>";
$q34[] = array(base64_decode('SUQ=') => $w21, base64_decode('VHlwZQ==') => $q3d, '' => $b33);
$w21 = ($w21 + 1);
}
}
if ($q34) {
asort($q34);
echo json_encode($q34, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTVJlbGF0aW9uc0NJ')])) {
$i29 = array();
$d13 = '';
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$h19 = implode(base64_decode('LA=='), getITSMActiveStatusCodes($k17));
$oa = "SELECT cmdb_ci_itsm_relations.ID, ITSMTable, CITable, ITSMID, CIID
FROM cmdb_ci_itsm_relations
LEFT JOIN $i16 ON $i16.ID = cmdb_ci_itsm_relations.ITSMID
WHERE (ITSMTable = ? AND ITSMID = ?) AND $i16.Status IN ($h19);";
$w40 = mysqli_prepare($zc, $oa);
$w40->bind_param(base64_decode('c2k='), $i16, $g35);
$w40->execute();
$d13 = $w40->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$d22 = $l14[base64_decode('SUQ=')];
$y2b = $l14[base64_decode('SVRTTVRhYmxl')];
$p36 = $l14[base64_decode('SVRTTUlE')];
$j2c = $l14[base64_decode('Q0lUYWJsZQ==')];
$y37 = $l14[base64_decode('Q0lJRA==')];
$i29[] = array(base64_decode('UmVsYXRpb25JRA==') => $d22, base64_decode('VGFibGUx') => $y2b, base64_decode('SUQx') => $p36, base64_decode('VGFibGUy') => $j2c, base64_decode('SUQy') => $y37);
}
foreach ($i29 as $r2a) {
$d22 = $r2a[base64_decode('UmVsYXRpb25JRA==')];
$y2b = $r2a[base64_decode('VGFibGUx')];
$p36 = $r2a[base64_decode('SUQx')];
$j2c = $r2a[base64_decode('VGFibGUy')];
$y37 = $r2a[base64_decode('SUQy')];
$q41 = getCITypeIDFromTableName($j2c);
$p39 = getCITypeName($q41);
$m1a = getShowInRelationFields($q41);
$w3a = implode('', $m1a);
$f31 = getCIFieldValue($y37, $w3a, $j2c);
if ($v20 == 1) {
$g32 = base64_decode('Jm5ic3A7Jm5ic3A7Jm5ic3A7PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . _(base64_decode('RGVsZXRlIHJlbGF0aW9u')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteITSMToElementRelation($d22, $q41, $k17, $g35);\"><i class=\"fa fa-trash\"></i></span></a>";
} else {
$g32 = '';
}
$b33 = "<a href=\"javascript:runModalViewCI('$y37','$q41','0');\">$y37: $f31</a>$g32<br>";
$q34[] = array(base64_decode('SUQ=') => $w21, base64_decode('VHlwZQ==') => $p39, '' => $b33);
$w21 = ($w21 + 1);
}
if ($q34) {
asort($q34);
echo json_encode($q34, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lMb2c=')])) {
$q1f = $_POST[base64_decode('Q0lJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$oa = base64_decode('U0VMRUNUIExvZ0FjdGlvbkRhdGUsIExvZ0FjdGlvblRleHQsIENPTkNBVCh1c2Vycy5GaXJzdG5hbWUsJyAnLHVzZXJzLkxhc3RuYW1lLCcgKCcsdXNlcnMuVXNlcm5hbWUsJyknKSBBUyBGdWxsTmFtZSwgdXNlcnMuSUQgQVMgVXNlcklEDQogICAgICAgICAgRlJPTSBsb2dfY2lzDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIGxvZ19jaXMuUmVsYXRlZFVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgV0hFUkUgbG9nX2Npcy5SZWxhdGVkRWxlbWVudElEID0gPyBBTkQgbG9nX2Npcy5SZWxhdGVkVHlwZSA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBMb2dBY3Rpb25EYXRlIERFU0M=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $q1f, $m10);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$l43 = convertToDanishTimeFormat($l14[base64_decode('TG9nQWN0aW9uRGF0ZQ==')]);
$z44 = $l14[base64_decode('TG9nQWN0aW9uVGV4dA==')];
$k45 = $l14[base64_decode('RnVsbE5hbWU=')];
$r42[] = array(base64_decode('RGF0ZQ==') => $l43, base64_decode('QWN0aW9u') => $z44, base64_decode('VXNlcg==') => $k45);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q0lMb2c='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q0lMb2c='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lMb2dCb29r')])) {
$q1f = $_POST[base64_decode('Q0lJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$oa = base64_decode('U0VMRUNUIGNtZGJfbG9nYm9vay5JRCwgY21kYl9sb2dib29rLlJlbGF0ZWRDSVR5cGUsIGNtZGJfbG9nYm9vay5SZWxhdGVkQ0ksIGNtZGJfbG9nYm9vay5Mb2dDb250ZW50LCBjbWRiX2xvZ2Jvb2suUmVsYXRpb24sIGNtZGJfbG9nYm9vay5EYXRlLCBDT05DQVQodXNlcnMuRmlyc3RuYW1lLCcgJyx1c2Vycy5MYXN0bmFtZSwnICgnLHVzZXJzLlVzZXJuYW1lLCcpJykgQVMgRnVsbE5hbWUNCiAgICAgICAgICBGUk9NIGNtZGJfbG9nYm9vaw0KICAgICAgICAgIExFRlQgSk9JTiB1c2VycyBPTiBjbWRiX2xvZ2Jvb2suUmVsYXRlZFVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgV0hFUkUgUmVsYXRlZENJVHlwZSA9ID8gQU5EIFJlbGF0ZWRDSSA9ID8gQU5EIFN0YXR1cyA9IDENCiAgICAgICAgICBPUkRFUiBCWSBjbWRiX2xvZ2Jvb2suRGF0ZSBERVND');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $m10, $q1f);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$l43 = convertToDanishTimeFormat($l14[base64_decode('RGF0ZQ==')]);
$r46 = $l14[base64_decode('SUQ=')];
$u47 = $l14[base64_decode('TG9nQ29udGVudA==')];
$k45 = $l14[base64_decode('RnVsbE5hbWU=')];
$g32 = base64_decode('Jm5ic3A7Jm5ic3A7Jm5ic3A7PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRlIHJlbGF0aW9u')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteCILogBookEntry($r46);\"><i class=\"fa fa-trash\"></i></span></a>";
$y48 = $l14[base64_decode('UmVsYXRpb24=')];
$r42[] = array(translate(base64_decode('RGF0ZQ==')) => $l43, translate(base64_decode('RGVzY3JpcHRpb24=')) => $u47, translate(base64_decode('UmVsYXRpb24=')) => $y48, translate(base64_decode('VXNlcg==')) => $k45, '' => $g32);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q0lMb2dCb29r'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q0lMb2dCb29r'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lUYWJsZVJlbGF0aW9uRGVmaW5pdGlvbnM=')])) {
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$e4a = [];
$r42 = [];
$oa = base64_decode('U0VMRUNUIFJlbGF0aW9uc0xvb2t1cCBGUk9NIGNtZGJfY2lfZmllbGRzbGlzdCBXSEVSRSBJRCA9ID8gQU5EIFJlbGF0ZWRDSVR5cGVJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $o49, $m10);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
mysqli_stmt_close($sb);
if ($d13) {
$l14 = mysqli_fetch_array($d13);
if ($l14) {
$j4b = $l14[base64_decode('UmVsYXRpb25zTG9va3Vw')];
if (!empty($j4b)) {
$j4c = explode(base64_decode('Iw=='), $j4b);
foreach ($j4c as $h4d) {
$w4e = explode(base64_decode('LA=='), $h4d);
$r42[] = [base64_decode('dGFibGVuYW1l') => $w4e[0], base64_decode('ZmllbGRuYW1l') => $w4e[1]];
}
foreach ($r42 as $w4e) {
$j4f = $w4e[base64_decode('dGFibGVuYW1l')];
$p50 = getCMDBNameFromTableName($j4f);
$k51 = getCITypeFromTableName($j4f);
$m1a = $w4e[base64_decode('ZmllbGRuYW1l')];
$u52 = getCMDBFieldLabelFromFieldName($m1a, $k51);
$g32 = base64_decode('PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRl')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteCIFieldRelation('$j4f','$m1a','$o49','$m10');\"><i class=\"fa fa-trash\"></i></span></a>";
$y48 = $p50 . base64_decode('IC8g') . "$u52 $g32";
$e4a[] = array(translate(base64_decode('UmVsYXRpb25z')) => $y48);
}
}
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q0lUYWJsZVJlbGF0aW9uRGVmaW5pdGlvbnM='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
exit;
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q0lUYWJsZVJlbGF0aW9uRGVmaW5pdGlvbnM='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
exit;
}
echo json_encode($e4a, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0VGFibGVTZWxlY3RPcHRpb25z')])) {
$t53 = $_POST[base64_decode('VHlwZUlE')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$q54 = $_POST[base64_decode('VHlwZQ==')];
switch ($q54) {
case base64_decode('Y2k='):
$j4f = base64_decode('Y21kYl9jaV9maWVsZHNsaXN0');
$i55 = base64_decode('UmVsYXRlZENJVHlwZUlE');
break;
case base64_decode('aXRzbQ=='):
$j4f = base64_decode('aXRzbV9maWVsZHNsaXN0');
$i55 = base64_decode('UmVsYXRlZFR5cGVJRA==');
break;
case base64_decode('Zm9ybQ=='):
$j4f = base64_decode('Zm9ybXNfZmllbGRzbGlzdA==');
$i55 = base64_decode('UmVsYXRlZEZvcm1JRA==');
break;
default:
break;
}
$oa = "SELECT SelectFieldOptions
FROM $j4f
WHERE ID = ? AND $i55 = ?";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $o49, $t53);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$h56 = $l14[base64_decode('U2VsZWN0RmllbGRPcHRpb25z')];
}
$r42 = [];
$r42 = explode(base64_decode('Iw=='), $h56);
$m57 = array();
foreach ($r42 as $x58) {
preg_match(base64_decode('L3ZhbHVlPSIoW14iXSspIi8='), $x58, $z59);
if (isset($z59[1])) {
$m57[] = $z59[1];
}
}
foreach ($m57 as $w4e) {
$g5a = $w4e;
$g32 = base64_decode('PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRl')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteFieldSelectOption('$w4e','$o49','$t53','$q54');\"><i class=\"fa fa-trash\"></i></span></a>";
$y48 = $g5a . base64_decode('IA==') . "$g32";
$e4a[] = array(translate(base64_decode('T3B0aW9ucw==')) => $y48);
}
if (!empty($e4a)) {
echo json_encode($e4a, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q0lMb2dCb29r'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q0lMb2dCb29r'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlQ0lGaWVsZFJlbGF0aW9u')])) {
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$m1a = $_POST[base64_decode('RmllbGROYW1l')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$f5b = "$j4f,$m1a";
$j4c = [];
$d13 = '';
$oa = base64_decode('U0VMRUNUIFJlbGF0aW9uc0xvb2t1cA0KICAgICAgICAgIEZST00gY21kYl9jaV9maWVsZHNsaXN0DQogICAgICAgICAgV0hFUkUgSUQgPSA/IEFORCBSZWxhdGVkQ0lUeXBlSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $o49, $m10);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
mysqli_stmt_close($sb);
if ($d13) {
while ($l14 = mysqli_fetch_array($d13)) {
$j4b = $l14[base64_decode('UmVsYXRpb25zTG9va3Vw')];
}
if (!empty($j4b)) {
$j4b = trim($j4b, base64_decode('Iw=='));
$j4c = explode(base64_decode('Iw=='), $j4b);
} else {
$j4c = [];
}
foreach ($j4c as $z5c => $w4e) {
if ($w4e == $f5b) {
unset($j4c[$z5c]);
}
}
$z5d = implode(base64_decode('Iw=='), $j4c);
$z5d = trim($z5d, base64_decode('Iw=='));
updateCIRelationLookup($o49, $z5d);
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlQ0lGaWVsZFJlbGF0aW9u'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
echo json_encode([base64_decode('UmVzdWx0') => translate(base64_decode('c3VjY2Vzcw=='))]);
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlQ0lGaWVsZFJlbGF0aW9u'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlRmllbGRTZWxlY3RPcHRpb24=')])) {
$f5e = $_POST[base64_decode('T3B0aW9u')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$t53 = $_POST[base64_decode('VHlwZUlE')];
$q54 = $_POST[base64_decode('VHlwZQ==')];
switch ($q54) {
case base64_decode('Y2k='):
$j4f = base64_decode('Y21kYl9jaV9maWVsZHNsaXN0');
$i55 = base64_decode('UmVsYXRlZENJVHlwZUlE');
break;
case base64_decode('aXRzbQ=='):
$j4f = base64_decode('aXRzbV9maWVsZHNsaXN0');
$i55 = base64_decode('UmVsYXRlZFR5cGVJRA==');
break;
case base64_decode('Zm9ybQ=='):
$j4f = base64_decode('Zm9ybXNfZmllbGRzbGlzdA==');
$i55 = base64_decode('UmVsYXRlZEZvcm1JRA==');
break;
default:
break;
}
$oa = "SELECT SelectFieldOptions
FROM $j4f
WHERE ID = ? AND $i55 = ?";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $o49, $t53);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
while ($l14 = mysqli_fetch_array($d13)) {
$h56 = $l14[base64_decode('U2VsZWN0RmllbGRPcHRpb25z')];
}
if (!empty($h56)) {
$h56 = trim($h56, base64_decode('Iw=='));
$g5f = explode(base64_decode('Iw=='), $h56);
} else {
$g5f = [];
}
foreach ($g5f as $z5c => $x58) {
preg_match(base64_decode('L3ZhbHVlPSIoLio/KSIv'), $x58, $z59);
if (isset($z59[1]) && $z59[1] == $f5e) {
unset($g5f[$z5c]);
}
}
sort($g5f);
$z5d = implode(base64_decode('Iw=='), $g5f);
$z5d = trim($z5d, base64_decode('Iw=='));
updateSelectOptions($o49, $z5d, $j4f);
echo json_encode([base64_decode('UmVzdWx0') => translate(base64_decode('c3VjY2Vzcw=='))]);
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlRmllbGRTZWxlY3RPcHRpb24='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlRmllbGRTZWxlY3RPcHRpb24='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Y3JlYXRlUmVsYXRpb25Mb29rdXA=')])) {
$j4f = $_POST[base64_decode('TG9va3VwVGFibGU=')];
$m1a = $_POST[base64_decode('TG9va3VwRmllbGQ=')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$h60 = "$j4f,$m1a";
$oa = base64_decode('U0VMRUNUIFJlbGF0aW9uc0xvb2t1cA0KICAgICAgICAgIEZST00gY21kYl9jaV9maWVsZHNsaXN0DQogICAgICAgICAgV0hFUkUgSUQgPSA/IEFORCBSZWxhdGVkQ0lUeXBlSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $o49, $m10);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$j4b = $l14[base64_decode('UmVsYXRpb25zTG9va3Vw')];
}
if (!empty($j4b)) {
$j4b = trim($j4b, base64_decode('Iw=='));
$j4c = explode(base64_decode('Iw=='), $j4b);
} else {
$j4c = [];
}
$j4c[] = $h60;
$z5d = implode(base64_decode('Iw=='), $j4c);
$z5d = trim($z5d, base64_decode('Iw=='));
updateCIRelationLookup($o49, $z5d);
echo json_encode([base64_decode('UmVzdWx0') => translate(base64_decode('c3VjY2Vzcw=='))]);
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Y3JlYXRlUmVsYXRpb25Mb29rdXA='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Y3JlYXRlUmVsYXRpb25Mb29rdXA='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Y3JlYXRlU2VsZWN0T3B0aW9u')])) {
$y61 = $_POST[base64_decode('U2VsZWN0RmllbGRPcHRpb24=')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$t53 = $_POST[base64_decode('VHlwZUlE')];
$q54 = $_POST[base64_decode('VHlwZQ==')];
switch ($q54) {
case base64_decode('Y2k='):
$j4f = base64_decode('Y21kYl9jaV9maWVsZHNsaXN0');
$i55 = base64_decode('UmVsYXRlZENJVHlwZUlE');
break;
case base64_decode('aXRzbQ=='):
$j4f = base64_decode('aXRzbV9maWVsZHNsaXN0');
$i55 = base64_decode('UmVsYXRlZFR5cGVJRA==');
break;
case base64_decode('Zm9ybQ=='):
$j4f = base64_decode('Zm9ybXNfZmllbGRzbGlzdA==');
$i55 = base64_decode('UmVsYXRlZEZvcm1JRA==');
break;
default:
break;
}
$h60 = "<option value=\"$y61\">$y61</option>";
$oa = "SELECT SelectFieldOptions
FROM $j4f
WHERE ID = ? AND $i55 = ?";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $o49, $t53);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$h56 = $l14[base64_decode('U2VsZWN0RmllbGRPcHRpb25z')];
}
if (!empty($h56)) {
$h56 = trim($h56, base64_decode('Iw=='));
$j4c = explode(base64_decode('Iw=='), $h56);
} else {
$j4c = [];
}
$j4c[] = $h60;
sort($j4c);
$z5d = implode(base64_decode('Iw=='), $j4c);
$z5d = trim($z5d, base64_decode('Iw=='));
updateSelectOptions($o49, $z5d, $j4f);
echo json_encode([base64_decode('UmVzdWx0') => translate(base64_decode('c3VjY2Vzcw=='))]);
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Y3JlYXRlUmVsYXRpb25Mb29rdXA='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Y3JlYXRlUmVsYXRpb25Mb29rdXA='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTUxvZw==')])) {
$y62 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($y62 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$g63 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$oa = base64_decode('U0VMRUNUIExvZ0FjdGlvbkRhdGUsIExvZ0FjdGlvblRleHQsIENPTkNBVCh1c2Vycy5GaXJzdG5hbWUsJyAnLHVzZXJzLkxhc3RuYW1lLCcgKCcsdXNlcnMuVXNlcm5hbWUsJyknKSBBUyBGdWxsTmFtZSwgdXNlcnMuSUQgQVMgVXNlcklELCB1c2Vycy5Vc2VybmFtZQ0KICAgICAgICAgIEZST00gaXRzbV9sb2cNCiAgICAgICAgICBMRUZUIEpPSU4gdXNlcnMgT04gaXRzbV9sb2cuUmVsYXRlZFVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgV0hFUkUgaXRzbV9sb2cuUmVsYXRlZEVsZW1lbnRJRCA9ID8gQU5EIGl0c21fbG9nLlJlbGF0ZWRUeXBlID0gPw0KICAgICAgICAgIE9SREVSIEJZIExvZ0FjdGlvbkRhdGUgREVTQw==');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $g35, $k17);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$l43 = convertToDanishTimeFormat($l14[base64_decode('TG9nQWN0aW9uRGF0ZQ==')]);
$l43 = "<p>$l43</p>";
$z44 = $l14[base64_decode('TG9nQWN0aW9uVGV4dA==')];
$z44 = "<p>$z44</p>";
$k45 = $l14[base64_decode('RnVsbE5hbWU=')];
$l64 = $l14[base64_decode('VXNlcm5hbWU=')];
$k45 = "<p title=\"$k45\">$l64</p>";
$r42[] = array(translate(base64_decode('RGF0ZQ==')) => $l43, translate(base64_decode('QWN0aW9ucw==')) => $z44, translate(base64_decode('VXNlcg==')) => $k45);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTUxvZw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTUxvZw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0TmV3c0NhdGVnb3JpZXM=')])) {
if (in_array(base64_decode('MTAwMDIw'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIw'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$oa = base64_decode('U0VMRUNUIG5ld3NfY2F0ZWdvcmllcy5JRCwgbmV3c19jYXRlZ29yaWVzLk5hbWUsIFVzZXJHcm91cHMuR3JvdXBOYW1lIEFTIEdyb3VwTmFtZSwgcm9sZXMuUm9sZU5hbWUgQVMgUm9sZU5hbWUNCiAgICAgICAgICBGUk9NIG5ld3NfY2F0ZWdvcmllcw0KICAgICAgICAgIExFRlQgSk9JTiByb2xlcyBPTiBuZXdzX2NhdGVnb3JpZXMuUmVsYXRlZFJvbGUgPSByb2xlcy5JRA0KICAgICAgICAgIExFRlQgSk9JTiAoDQogICAgICAgICAgU0VMRUNUIElEIEFTIElELCBHcm91cE5hbWUgQVMgR3JvdXBOYW1lLCBEZXNjcmlwdGlvbiBBUyBEZXNjcmlwdGlvbiwgUmVsYXRlZE1vZHVsZUlEIEFTIFJlbGF0ZWRNb2R1bGVJRCwgQWN0aXZlIEFTIEFjdGl2ZSwgJ1N0YW5kYXJkJyBBUyBUeXBlDQogICAgICAgICAgRlJPTSB1c2VyZ3JvdXBzDQogICAgICAgICAgVU5JT04NCiAgICAgICAgICBTRUxFQ1QgSUQgQVMgSUQsIEdyb3VwTmFtZSBBUyBHcm91cE5hbWUsIERlc2NyaXB0aW9uIEFTIERlc2NyaXB0aW9uLCBSZWxhdGVkTW9kdWxlSUQgQVMgUmVsYXRlZE1vZHVsZUlELCBBY3RpdmUgQVMgQWN0aXZlLCAnU3lzdGVtJyBBUyBUeXBlDQogICAgICAgICAgRlJPTSBzeXN0ZW1fZ3JvdXBzKSBBUyBVc2VyR3JvdXBzIE9OIG5ld3NfY2F0ZWdvcmllcy5SZWxhdGVkR3JvdXBJRCA9IFVzZXJHcm91cHMuSUQNCiAgICAgICAgICBPUkRFUiBCWSBOYW1lIEFTQw==');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$s65 = "<a href=\"javascript:void(0);\"><span class=\"badge bg-gradient-success\" onclick=\"viewNewsCategory($r46);\" title=\"" . translate(base64_decode('RWRpdA==')) . base64_decode('Ij48aSBjbGFzcz0iZmEgZmEtcGVuLXRvLXNxdWFyZSI+PC9pPjwvc3Bhbj48L2E+');
$g32 = base64_decode('PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRl')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteNewsCategory($r46);\"><i class=\"fa fa-trash\"></i></span></a>";
$j66 = $l14[base64_decode('TmFtZQ==')];
$rd = $l14[base64_decode('R3JvdXBOYW1l')];
$r67 = $l14[base64_decode('Um9sZU5hbWU=')];
$r42[] = array(translate(base64_decode('QWN0aW9ucw==')) => "$s65 $g32", translate(base64_decode('TmFtZQ==')) => $j66, translate(base64_decode('R3JvdXA=')) => $rd, translate(base64_decode('Um9sZQ==')) => $r67);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0TmV3c0NhdGVnb3JpZXM='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0TmV3c0NhdGVnb3JpZXM='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0TmV3c0ZpbHRlcnM=')])) {
if (in_array(base64_decode('MTAwMDIw'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIw'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$oa = base64_decode('U0VMRUNUIG5ld3NfY3ZlX2ZpbHRlcnMuSUQsIG5ld3NfY3ZlX2ZpbHRlcnMuUHJvZHVjdA0KICAgICAgICAgIEZST00gbmV3c19jdmVfZmlsdGVycw0KICAgICAgICAgIE9SREVSIEJZIFByb2R1Y3QgQVND');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$g32 = base64_decode('PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRl')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteNewsCVEFilter($r46);\"><i class=\"fa fa-trash\"></i></span></a>";
$n68 = $l14[base64_decode('UHJvZHVjdA==')];
$r42[] = array(translate(base64_decode('RmlsdGVy')) => $n68, '' => "$g32");
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0TmV3c0NhdGVnb3JpZXM='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0TmV3c0NhdGVnb3JpZXM='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0VXNlck5ld3NVc2VyR3JvdXBz')])) {
$oa = base64_decode('U0VMRUNUIElELCBHcm91cE5hbWUgQVMgR3JvdXBOYW1lDQogICAgICAgICAgRlJPTSB1c2VyZ3JvdXBzDQogICAgICAgICAgVU5JT04NCiAgICAgICAgICBTRUxFQ1QgSUQsIEdyb3VwTmFtZSBBUyBHcm91cE5hbWUNCiAgICAgICAgICBGUk9NIHN5c3RlbV9ncm91cHMNCiAgICAgICAgICBPUkRFUiBCWSBHcm91cE5hbWUgQVND');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$rd = $l14[base64_decode('R3JvdXBOYW1l')];
$r42[] = array(base64_decode('SUQ=') => "$r46", base64_decode('R3JvdXBOYW1l') => $rd);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VXNlckdyb3Vwcw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VXNlckdyb3Vwcw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0Q1ZFRGV0YWlscw==')])) {
$j69 = $_POST[base64_decode('Q1ZFSUQ=')];
$r46 = '';
$d6a = '';
$b6b = '';
$r42 = [];
$d13 = '';
$oa = base64_decode('U0VMRUNUIElELCBIZWFkbGluZSwgQ29udGVudCwgQ1ZFSUQNCiAgICAgICAgICBGUk9NIG5ld3MNCiAgICAgICAgICBXSEVSRSBDVkVJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('cw=='), $j69);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$d6a = $l14[base64_decode('SGVhZGxpbmU=')];
$b6b = $l14[base64_decode('Q29udGVudA==')];
$d6c = base64_decode('Lzxicj48YnI+PGJ1dHRvbiBpZD0iY3JlYXRlQ2hhbmdlRnJvbUNWRSIgY2xhc3M9ImJ0biBidG4tc20gYnRuLWluZm8iIG9uY2xpY2s9IlwoYXN5bmMgZnVuY3Rpb25cKFwpIFx7IGV2ZW50XC5zdG9wUHJvcGFnYXRpb25cKFwpOyBhd2FpdCBydW5Nb2RhbENyZWF0ZUlUU01cKDNcKTsgZmlsbENyZWF0ZUNoYW5nZUZyb21DVkVcKFwnW15cJ10rXCdcKTsgXH1cKVwoXCk7Ij5DcmVhdGUgQ2hhbmdlPFwvYnV0dG9uPi8=');
$b6b = preg_replace($d6c, '', $b6b);
$r42[] = array(base64_decode('SUQ=') => "$r46", base64_decode('SGVhZGxpbmU=') => $d6a, base64_decode('Q29udGVudA==') => $b6b);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q1ZFRGV0YWlscw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q1ZFRGV0YWlscw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0VXNlck5ld3NDYXRlZ29yeVJvbGVz')])) {
$oa = base64_decode('U0VMRUNUIGBJRGAsIGBSb2xlTmFtZWAsIGBEZXNjcmlwdGlvbmAsIGBBY3RpdmVgDQogICAgICAgICAgRlJPTSBgcm9sZXNgDQogICAgICAgICAgV0hFUkUgQWN0aXZlID0gMQ0KICAgICAgICAgIE9SREVSIEJZIFJvbGVOYW1lIEFTQw==');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$r67 = $l14[base64_decode('Um9sZU5hbWU=')];
$r42[] = array(base64_decode('SUQ=') => "$r46", base64_decode('Um9sZU5hbWU=') => $r67);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VXNlck5ld3NDYXRlZ29yeVJvbGVz'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VXNlck5ld3NDYXRlZ29yeVJvbGVz'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0TmV3c0FydGljbGU=')])) {
$g6d = $_POST[base64_decode('TmV3c0lE')];
$oa = "SELECT `ID`, `Headline`, `Content`, `CreatedByUserID`, `NewsWriter`, `DateCreated`, `RelatedCategory`, `CommentsAllowed`, `Active`
FROM `news`
WHERE ID = $g6d;";
$sb = mysqli_prepare($zc, $oa);
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDMy'), $p0)) {
$t6e = base64_decode('MA==');
} else {
$t6e = base64_decode('MQ==');
}
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$d6a = $l14[base64_decode('SGVhZGxpbmU=')];
$b6b = $l14[base64_decode('Q29udGVudA==')];
$q6f = $l14[base64_decode('Q3JlYXRlZEJ5VXNlcklE')];
$m70 = $l14[base64_decode('TmV3c1dyaXRlcg==')];
$i71 = $l14[base64_decode('RGF0ZUNyZWF0ZWQ=')];
$m72 = $l14[base64_decode('UmVsYXRlZENhdGVnb3J5')];
$x73 = $l14[base64_decode('Q29tbWVudHNBbGxvd2Vk')];
$l7 = $l14[base64_decode('QWN0aXZl')];
$r42[] = array(base64_decode('SUQ=') => $r46, base64_decode('SGVhZGxpbmU=') => $d6a, base64_decode('Q29udGVudA==') => $b6b, base64_decode('Q3JlYXRlZEJ5VXNlcklE') => $q6f, base64_decode('TmV3c1dyaXRlcg==') => $m70, base64_decode('RGF0ZUNyZWF0ZWQ=') => $i71, base64_decode('UmVsYXRlZENhdGVnb3J5') => $m72, base64_decode('Q29tbWVudHNBbGxvd2Vk') => $x73, base64_decode('QWN0aXZl') => $l7, base64_decode('RGlzYWJsZWQ=') => $t6e);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VXNlckdyb3Vwcw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VXNlckdyb3Vwcw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0TmV3c0NhdGVnb3J5')])) {
$o74 = $_POST[base64_decode('Q2F0ZWdvcnlJRA==')];
$oa = base64_decode('U0VMRUNUIGBJRGAsIGBOYW1lYCwgYFJlbGF0ZWRHcm91cElEYCwgYFJlbGF0ZWRSb2xlYCwgYEFjdGl2ZWAgDQogICAgICAgICAgRlJPTSBgbmV3c19jYXRlZ29yaWVzYA0KICAgICAgICAgIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aQ=='), $o74);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_assoc($d13)) {
$r42[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('TmFtZQ==') => $l14[base64_decode('TmFtZQ==')], base64_decode('UmVsYXRlZEdyb3VwSUQ=') => $l14[base64_decode('UmVsYXRlZEdyb3VwSUQ=')], base64_decode('UmVsYXRlZFJvbGU=') => $l14[base64_decode('UmVsYXRlZFJvbGU=')], base64_decode('QWN0aXZl') => $l14[base64_decode('QWN0aXZl')]);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VXNlckdyb3Vwcw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VXNlckdyb3Vwcw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTVdvcmtGbG93cw==')])) {
$y62 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($y62 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$oa = base64_decode('U0VMRUNUIElELCBXb3JrRmxvd05hbWUNCiAgICAgICAgICBGUk9NIHdvcmtmbG93c190ZW1wbGF0ZQ0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRNb2R1bGVJRCA9ID8gQU5EIEFjdGl2ZSA9IDE=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('cw=='), $k17);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$s75 = $l14[base64_decode('V29ya0Zsb3dOYW1l')];
$r42[] = array(base64_decode('SUQ=') => $r46, base64_decode('V29ya0Zsb3dOYW1l') => $s75);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTVdvcmtGbG93cw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTVdvcmtGbG93cw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0QWN0aXZlTW9kdWxlV29ya0Zsb3c=')])) {
$y62 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($y62 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$oa = base64_decode('U0VMRUNUIHdvcmtmbG93c3RlcHMuSUQgQVMgU3RlcElELCBTdGVwT3JkZXIsIFN0ZXBOYW1lLCB3b3JrZmxvd3N0ZXBzLkRlc2NyaXB0aW9uLCB3b3JrZmxvd3N0YXR1cy5OYW1lIEFTIFN0YXR1c05hbWUsd29ya2Zsb3dzdGVwcy5SZWxhdGVkU3RhdHVzSUQgQVMgU3RhdHVzSUQsIHdvcmtmbG93c3RlcHMuUmVsYXRlZFVzZXJJRCwgdXNlcnMuVXNlcm5hbWUgQVMgUmVzcG9uc2libGUsIHRhc2tzbGlzdC5EZWFkbGluZQ0KICAgICAgICAgIEZST00gd29ya2Zsb3dzdGVwcw0KICAgICAgICAgIExFRlQgSk9JTiB3b3JrZmxvd3MgT04gd29ya2Zsb3dzLklEID0gd29ya2Zsb3dzdGVwcy5SZWxhdGVkV29ya0Zsb3dJRA0KICAgICAgICAgIExFRlQgSk9JTiB3b3JrZmxvd3N0YXR1cyBPTiB3b3JrZmxvd3N0ZXBzLlJlbGF0ZWRTdGF0dXNJRCA9IHdvcmtmbG93c3RhdHVzLklEDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIHdvcmtmbG93c3RlcHMuUmVsYXRlZFVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgTEVGVCBKT0lOIHRhc2tzbGlzdCBPTiB3b3JrZmxvd3N0ZXBzLlJlbGF0ZWRUYXNrSUQgPSB0YXNrc2xpc3QuSUQNCiAgICAgICAgICBXSEVSRSB3b3JrZmxvd3MuSUQgPSB3b3JrZmxvd3N0ZXBzLlJlbGF0ZWRXb3JrRmxvd0lEIEFORCB3b3JrZmxvd3MuUmVsYXRlZEVsZW1lbnRJRCA9ID8gQU5EIHdvcmtmbG93cy5SZWxhdGVkRWxlbWVudFR5cGVJRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSB3b3JrZmxvd3MuSUQsIFN0ZXBPcmRlciBBU0M=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $g35, $k17);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$d76 = $l14[base64_decode('U3RlcElE')];
$o77 = $l14[base64_decode('U3RlcE5hbWU=')];
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$v78 = $l14[base64_decode('U3RhdHVzTmFtZQ==')];
$w79 = "<small title='$f1e'>$o77</small>";
$p7a = $l14[base64_decode('UmVsYXRlZFVzZXJJRA==')];
$e7b = getUserName($p7a);
$g7c = getUserFullName($p7a);
$q7d = "<small title='$g7c'>$e7b</small>";
$j7e = convertToDanishDateTimeFormat($l14[base64_decode('RGVhZGxpbmU=')]);
$j7e = "<small>$j7e</small>";
$v78 = "<small>$v78</small>";
$c7f = "<a href=\"javascript:editWorkFlowTask($d76);\"><span class=\"badge bg-gradient-success\" title=\"" . _(base64_decode('RWRpdA==')) . base64_decode('Ij48aSBjbGFzcz0iZmEgZmEtcGVuLXRvLXNxdWFyZSI+PC9pPjwvc3Bhbj48L2E+');
$l80 = "<a href=\"javascript:deleteWorkFlowTask($d76);\"><span class=\"badge bg-gradient-danger\" title=\"" . _(base64_decode('RGVsZXRl')) . base64_decode('Ij48aSBjbGFzcz0iZmEgZmEtdHJhc2giPjwvaT48L3NwYW4+PC9hPg==');
$b33 = $c7f . $l80;
$r42[] = array(base64_decode('SUQ=') => $d76, '' => $b33, translate(base64_decode('VGFzaw==')) => "$w79", base64_decode('U3RhdHVz') => $v78, translate(base64_decode('VXNlcg==')) => $q7d, translate(base64_decode('RGVhZGxpbmU=')) => "$j7e");
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0QWN0aXZlTW9kdWxlV29ya0Zsb3c='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0QWN0aXZlTW9kdWxlV29ya0Zsb3c='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTVBhcnRpY2lwYW50cw==')])) {
$y62 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$q54 = $_POST[base64_decode('VHlwZQ==')];
$s81 = [];
$b82 = base64_decode('PHNtYWxsPg==');
if ($y62 == base64_decode('Mg==')) {
echo json_encode([]);
return;
} else {
$oa = base64_decode('U0VMRUNUIGl0c21fcGFydGljaXBhbnRzLlVzZXJJRCwgdXNlcnMuVXNlcm5hbWUsIGl0c21fcGFydGljaXBhbnRzLk1vZHVsZUlELCBpdHNtX3BhcnRpY2lwYW50cy5FbGVtZW50SUQNCiAgICAgICAgICAgIEZST00gaXRzbV9wYXJ0aWNpcGFudHMNCiAgICAgICAgICAgIExFRlQgSk9JTiB1c2VycyBPTiBpdHNtX3BhcnRpY2lwYW50cy5Vc2VySUQgPSB1c2Vycy5JRA0KICAgICAgICAgICAgV0hFUkUgaXRzbV9wYXJ0aWNpcGFudHMuTW9kdWxlSUQgPSA/IEFORCBFbGVtZW50SUQgPSA/');
}
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $k17, $g35);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
while ($l14 = mysqli_fetch_array($d13)) {
$y83 = $l14[base64_decode('VXNlcklE')];
$l64 = $l14[base64_decode('VXNlcm5hbWU=')];
$w84 = $l14[base64_decode('TW9kdWxlSUQ=')];
$g85 = $l14[base64_decode('RWxlbWVudElE')];
$p86 = getUserFullName($y83) . base64_decode('ICg=') . $l64 . base64_decode('KQ==');
$i87 = "<a href=\"javascript:removeITSMParticipant('$y83','$w84','$g85','$q54');\"><i class=\"fas fa-trash\"></i></a>";
$p86 = "$p86 $i87";
array_push($s81, $p86);
}
mysqli_free_result($d13);
$d88 = translate(base64_decode('QWRk'));
$g89 = "<button class=\"btn btn-sm btn-success\" type=\"button\" onclick=\"addITSMParticipant('$k17','$g35','$q54');\">$d88</button>";
$b82 .= implode(base64_decode('LCA='), $s81);
$b82 .= base64_decode('PC9zbWFsbD4=');
$r42[] = array(base64_decode('UGFydGljaXBhbnRz') => $b82, base64_decode('QnRuQWRkUGFydGljaXBhbnQ=') => $g89);
if (!empty($r42)) {
echo json_encode($r42);
} else {
$r42[] = array(base64_decode('UGFydGljaXBhbnRz') => base64_decode('bm9uZQ=='), base64_decode('QnRuQWRkUGFydGljaXBhbnQ=') => $g89);
echo json_encode($r42);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTVBhcnRpY2lwYW50cw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTVBhcnRpY2lwYW50cw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTUNvbW1lbnRz')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($p8a);
$j6 = getLanguageCode($y5);
$y62 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$o8b = $_SESSION[base64_decode('dXNlcklE')];
$u8c = 0;
$q54 = base64_decode('bW9kYWw=');
$d88 = translate(base64_decode('QWRk'));
$u8d = "<button class=\"btn btn-sm btn-success float-end\" type=\"button\" onclick=\"addITSMComment('$k17','$g35','$q54');\">$d88</button>";
if ($y62 == base64_decode('Mg==')) {
$oa = base64_decode('U0VMRUNUIGl0c21fY29tbWVudHMuSUQsIGl0c21fY29tbWVudHMuUmVsYXRlZEVsZW1lbnRJRCwgaXRzbV9jb21tZW50cy5JVFNNVHlwZSwgaXRzbV9jb21tZW50cy5Vc2VySUQsIGl0c21fY29tbWVudHMuVGV4dCwgaXRzbV9jb21tZW50cy5EYXRlLCBpdHNtX2NvbW1lbnRzLkludGVybmFsDQogICAgICAgICAgICAgICAgRlJPTSBpdHNtX2NvbW1lbnRzDQogICAgICAgICAgICAgICAgV0hFUkUgaXRzbV9jb21tZW50cy5SZWxhdGVkRWxlbWVudElEID0gPyBBTkQgSVRTTVR5cGUgPSA/IEFORCBJbnRlcm5hbCAhPSAnMScNCiAgICAgICAgICAgICAgICBPUkRFUiBCWSBpdHNtX2NvbW1lbnRzLkRhdGUgREVTQw==');
} else {
$oa = base64_decode('U0VMRUNUIGl0c21fY29tbWVudHMuSUQsIGl0c21fY29tbWVudHMuUmVsYXRlZEVsZW1lbnRJRCwgaXRzbV9jb21tZW50cy5JVFNNVHlwZSwgaXRzbV9jb21tZW50cy5Vc2VySUQsIGl0c21fY29tbWVudHMuVGV4dCwgaXRzbV9jb21tZW50cy5EYXRlLCBpdHNtX2NvbW1lbnRzLkludGVybmFsDQogICAgICAgICAgICAgICAgRlJPTSBpdHNtX2NvbW1lbnRzDQogICAgICAgICAgICAgICAgV0hFUkUgaXRzbV9jb21tZW50cy5SZWxhdGVkRWxlbWVudElEID0gPyBBTkQgSVRTTVR5cGUgPSA/DQogICAgICAgICAgICAgICAgT1JERVIgQlkgaXRzbV9jb21tZW50cy5EYXRlIERFU0M=');
}
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $g35, $k17);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
while ($l14 = mysqli_fetch_array($d13)) {
$u8c++;
$q8e = ($u8c <= 1) ? base64_decode('dHJ1ZQ==') : base64_decode('ZmFsc2U=');
$i8f = ($u8c <= 0) ? base64_decode('c2hvdw==') : '';
$o90 = $l14[base64_decode('SUQ=')];
$d91 = $l14[base64_decode('VXNlcklE')];
$p92 = getUserFullName($d91);
$l64 = getUserName($d91);
$p92 = "$p92 ($l64)";
$c93 = $l14[base64_decode('VGV4dA==')];
$b94 = convertToDanishTimeFormat($l14[base64_decode('RGF0ZQ==')]);
$t95 = $l14[base64_decode('SW50ZXJuYWw=')];
$c96 = ($t95 == base64_decode('MA==')) ? base64_decode('PHNwYW4gY2xhc3M9J2JhZGdlIGJnLWdyYWRpZW50LWluZm8nPg==') . _(base64_decode('RXh0ZXJuYWw=')) . base64_decode('PC9zcGFuPg==') : base64_decode('PHNwYW4gY2xhc3M9J2JhZGdlIGJnLWdyYWRpZW50LWRhbmdlcic+') . _(base64_decode('SW50ZXJuYWw=')) . base64_decode('PC9zcGFuPg==');
$i87 = "<a href=\"javascript:deleteITSMComment($o90,$k17,$g35,'modal','$j6');\"><i class=\"fas fa-trash\"></i></a>";
$a97 = checkReadStatus($o90, $o8b);
$n98 = getNumberOfUnreadITSMComments($k17, $g35, $d91);
if ($a97 === 1) {
$a97 = base64_decode('PHNwYW4gY2xhc3M9ImJhZGdlIGJhZGdlLXBpbGwgYmctZ3JhZGllbnQtd2FybmluZyIgdGl0bGU9Ig==') . translate(base64_decode('TmV3')) . base64_decode('Ij48aSBjbGFzcz0iZmEtcmVndWxhciBmYS1lbnZlbG9wZSI+PC9pPjwvc3Bhbj4=');
} else {
$a97 = '';
}
$k99 = "<div class=\"accordion-item\">
<small class=\"accordion-header float-left\" id=\"heading$o90\">
<a href=\"javascript:void(0);\" data-bs-toggle=\"collapse\" data-bs-target=\"#collapse$o90\" aria-expanded=\"$q8e\" aria-controls=\"collapse$o90\">
$p92 ($b94) $c96 $a97
</a>
</small>
<div id=\"collapse$o90\" class=\"accordion-collapse collapse $i8f\" aria-labelledby=\"heading$o90\">
<div class=\"accordion-body text-wrap\">
<div class=\"col-lg-12 col-sm-12 col-xs-12\">
<div style=\"word-wrap: break-word; overflow-y: auto; overflow-x: auto;\" class=\"resizable_textarea form-control\" id=\"commentField$o90\" name=\"commentField$o90\" title=\"Double click to edit\" autocomplete=\"off\" ondblclick=\"toggleCKEditor('commentField$o90','50');toggleShowSaveBtn('saveLink$o90');\">$c93
</div>
<div style=\"display: flex; align-items: center; gap: 10px;\">
<a href=\"javascript:toggleCKEditor('commentField$o90','50');toggleShowSaveBtn('saveLink$o90');\"><i class=\"fa-solid fa-pen fa-sm\" title=\"Double click on field to edit\"></i></a>
$i87
<a href=\"javascript:saveITSMComment($o90,'commentField$o90',$k17,$g35,'modal','$j6');\" id=\"saveLink$o90\" class=\"save-link float-end\" style=\"display: none;\">Save</a>
</div>
</div>
</div>
</div>";
$r42[] = array(base64_decode('Q29tbWVudHM=') => $k99);
}
mysqli_free_result($d13);
$r42[] = array(base64_decode('VW5yZWFk') => $n98);
$r42[] = array(base64_decode('QnRuQWRkQ29tbWVudA==') => $u8d);
if (!empty($r42)) {
echo json_encode($r42);
} else {
$r42[] = array(base64_decode('Q29tbWVudHM=') => '', base64_decode('VW5yZWFk') => 0, base64_decode('QnRuQWRkQ29tbWVudA==') => $u8d);
echo json_encode($r42);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTUNvbW1lbnRz'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTUNvbW1lbnRz'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTUFyY2hpdmU=')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$t9a = '';
$oa = base64_decode('U0VMRUNUIElELCBSZWxhdGVkRG9jdW1lbnRJRCwgUmVsYXRlZE1vZHVsZUlELCBEb2N1bWVudFZlcnNpb24sIFJlbGF0ZWRVc2VyLCBDb250ZW50LCBDb250ZW50RnVsbHRleHQsIERhdGUNCiAgICAgICAgICBGUk9NIGl0c21fa25vd2xlZGdlX2FyY2hpdmUNCiAgICAgICAgICBXSEVSRSBSZWxhdGVkRG9jdW1lbnRJRCA9ID8gQU5EIFJlbGF0ZWRNb2R1bGVJRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBEb2N1bWVudFZlcnNpb24gREVTQw==');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $g35, $k17);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$b6b = $l14[base64_decode('Q29udGVudA==')];
if ($b6b) {
$t9a = base64_decode('Li4u');
} else {
$t9a = '';
}
$b6b = mb_substr($b6b, 0, 75) . base64_decode('Li4u');
$d9b = $l14[base64_decode('RG9jdW1lbnRWZXJzaW9u')];
$g9c = convertToDanishDateTimeFormat($l14[base64_decode('RGF0ZQ==')]);
$u47 = translate(base64_decode('UmVzdG9yZQ=='));
$s65 = "<a href=\"javascript:letsrunModalViewArchiveDoc($r46);\" class=\"badge badge-pill bg-gradient-success\" title=\"" . translate(base64_decode('Vmlldw==')) . base64_decode('Ij48aSBjbGFzcz0iZmEgZmEtcGVuLXRvLXNxdWFyZSI+PC9pPjwvYT4=');
$r42[] = array(base64_decode('UmVzdG9yZQ==') => $s65, translate(base64_decode('VmVyc2lvbg==')) => $d9b, translate(base64_decode('Q29udGVudA==')) => $b6b, translate(base64_decode('RGF0ZQ==')) => $g9c);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42);
} else {
$r42[] = array(base64_decode('VmVyc2lvbg==') => base64_decode('bm9uZQ=='));
echo json_encode($r42);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTUFyY2hpdmU='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0SVRTTUFyY2hpdmU='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('cmVzdG9yZUlUU01BcmNoaXZl')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$n9e = $_POST[base64_decode('QXJjaGl2ZUlE')];
$j9f = getITSMModuleIDFromArchive($n9e);
$g35 = getITSMIDFromArchive($n9e);
$qa0 = getITSMVersionFromArchive($n9e);
$i16 = getITSMTableName($j9f);
$oa = "UPDATE $i16 AS ik
INNER JOIN itsm_knowledge_archive AS ika ON ik.ID = ika.RelatedDocumentID
SET ik.Content = ika.Content
WHERE ika.ID = ?";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aQ=='), $n9e);
$fa1 = mysqli_stmt_execute($sb);
$ba2 = mysqli_stmt_affected_rows($sb);
if ($fa1 && $ba2 > 0) {
$ra3 = "User restored the document from version $qa0";
createITSMLogEntry($g35, $j9f, $x9d, $ra3);
echo json_encode([base64_decode('UmVzdWx0') => true]);
} else {
echo json_encode([base64_decode('UmVzdWx0') => false]);
}
} else {
echo json_encode([base64_decode('UmVzdWx0') => false]);
}
}
if (isset($_GET[base64_decode('c2VhcmNoSVRTTQ==')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$ja4 = $_POST[base64_decode('U2VhcmNoVGVybQ==')];
$wa5 = $_POST[base64_decode('SW5hY3RpdmU=')];
$ua6 = getITSMModuleType($k17);
$va7 = array();
switch ($ua6) {
case 1:
if ($wa5 == base64_decode('Mg==')) {
$va7 = getITSMClosedStatus($k17);
} else {
$va7 = getITSMOpenStatus($k17);
}
break;
case 2:
if ($wa5 == base64_decode('Mg==')) {
$va7[] = base64_decode('Nw==');
} else {
$va7 = array(base64_decode('MQ=='), base64_decode('Mg=='), base64_decode('Mw=='), base64_decode('NA=='), base64_decode('NQ=='), base64_decode('Ng=='));
}
break;
case 3:
if ($wa5 == base64_decode('Mg==')) {
$va7[] = base64_decode('MA==');
} else {
$va7[] = base64_decode('NA==');
}
break;
case 4:
if ($wa5 == base64_decode('Mg==')) {
$va7 = getITSMClosedStatus($k17);
} else {
$va7 = getITSMOpenStatus($k17);
}
break;
default:
if ($wa5 == base64_decode('Mg==')) {
$va7 = getITSMClosedStatus($k17);
} else {
$va7 = getITSMOpenStatus($k17);
}
break;
}
$ma8 = SearchITSM($k17, $ja4, $va7);
if (!empty($ma8)) {
echo json_encode($ma8);
} else {
$ma8[] = array(base64_decode('UmVzdWx0') => base64_decode('bm9uZQ=='));
echo json_encode($ma8);
}
}
if (isset($_GET[base64_decode('SGVscGRlc2tTZWFyY2g=')])) {
$ia9 = $_POST[base64_decode('U2VhcmNoVmFsdWU=')];
$u8c = 0;
$ma8 = HelpdeskSearch($ia9);
if (!empty($ma8)) {
echo json_encode($ma8);
} else {
$ma8[] = array(base64_decode('UmVzdWx0') => base64_decode('bm9uZQ=='));
echo json_encode($ma8);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTVBhcnRpY2lwYW50VXNlcnM=')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
$q34[] = array([]);
echo json_encode($q34);
return;
}
$oa = base64_decode('U0VMRUNUIHVzZXJzLklELCB1c2Vycy5Vc2VybmFtZQ0KICAgICAgICAgIEZST00gdXNlcnMNCiAgICAgICAgICBXSEVSRSB1c2Vycy5JRCBOT1QgSU4gKFNFTEVDVCBpdHNtX3BhcnRpY2lwYW50cy5Vc2VySUQNCiAgICAgICAgICBGUk9NIGl0c21fcGFydGljaXBhbnRzDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIGl0c21fcGFydGljaXBhbnRzLlVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgV0hFUkUgaXRzbV9wYXJ0aWNpcGFudHMuTW9kdWxlSUQgPSA/IEFORCBFbGVtZW50SUQgPSA/KSBBTkQgQWN0aXZlID0gMQ0KICAgICAgICAgIE9SREVSIEJZIHVzZXJzLkZpcnN0bmFtZSBBU0MsIHVzZXJzLkxhc3RuYW1lIEFTQzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $k17, $g35);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$baa = $l14[base64_decode('SUQ=')];
$e7b = $l14[base64_decode('VXNlcm5hbWU=')];
$g7c = getUserFullName($baa) . base64_decode('ICg=') . $e7b . base64_decode('KQ==');
$q34[] = array(base64_decode('VXNlcklE') => $baa, base64_decode('RnVsbE5hbWU=') => $g7c);
}
if (!empty($q34)) {
echo json_encode($q34);
} else {
$q34[] = array([]);
echo json_encode($q34);
}
}
if (isset($_GET[base64_decode('YWRkSVRTTVBhcnRpY2lwYW50')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$qab = $_POST[base64_decode('TmV3UGFydGljaXBhbnQ=')];
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV9wYXJ0aWNpcGFudHMoTW9kdWxlSUQsIEVsZW1lbnRJRCwgVXNlcklEKSBWQUxVRVMgKD8sID8sID8p');
$sb = mysqli_prepare($zc, $oa);
if (!$sb) {
$m1b = mysqli_error($zc);
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => "Failed to prepare the statement: $m1b");
echo json_encode($q34);
exit;
}
mysqli_stmt_bind_param($sb, base64_decode('c3Nz'), $k17, $g35, $qab);
if (!mysqli_stmt_execute($sb)) {
$m1b = mysqli_stmt_error($sb);
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => "Failed to execute the statement: $m1b");
echo json_encode($q34);
exit;
}
mysqli_stmt_close($sb);
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($q34);
}
if (isset($_GET[base64_decode('YWRkSVRTTUNvbW1lbnQ=')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$mac = $_POST[base64_decode('Q29tbWVudA==')];
$jad = $_POST[base64_decode('Q3VzdG9tZXI=')];
$iae = $_POST[base64_decode('SW50ZXJuYWw=')];
if ($iae == base64_decode('Mg==')) {
$iae = base64_decode('MA==');
}
if ($mac !== '') {
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV9jb21tZW50cyAoUmVsYXRlZEVsZW1lbnRJRCwgSVRTTVR5cGUsIFVzZXJJRCwgVGV4dCwgSW50ZXJuYWwpIFZBTFVFUyAoPyw/LD8sPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $g35, $k17, $x9d, $mac, $iae);
$sb->execute();
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
if ($jad !== base64_decode('MA==')) {
if ($iae == base64_decode('MA==')) {
$faf = base64_decode('MQ==');
sendITSMMailTemplate($k17, $g35, $jad, $mac, $faf);
}
}
$t18 = getITSMTypeName($k17);
$d6a = translate(base64_decode('Q29tbWVudGVk')) . base64_decode('IA==') . strtolower($t18) . base64_decode('IA==') . $g35;
$zb0 = base64_decode('PGI+') . translate(base64_decode('Q29tbWVudGVk')) . base64_decode('PGJyPjxicj4=') . $yb1;
logActivity($g35, $k17, $d6a, $zb0, "javascript:javascript:viewITSM('$g35','$k17','1','modal');");
} else {
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbA=='));
}
echo json_encode($q34);
}
if (isset($_GET[base64_decode('cmVtb3ZlSVRTTVBhcnRpY2lwYW50')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$vb2 = $_POST[base64_decode('UGFydGljaXBhbnQ=')];
$oa = base64_decode('REVMRVRFIEZST00gaXRzbV9wYXJ0aWNpcGFudHMgV0hFUkUgTW9kdWxlSUQgPSA/IEFORCBFbGVtZW50SUQgPSA/IEFORCBVc2VySUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nz'), $k17, $g35, $vb2);
$sb->execute();
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($q34);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTVdvcmtGbG93')])) {
$p8a = ($_SESSION[base64_decode('aWQ=')]);
$hb3 = $_GET[base64_decode('V29ya0Zsb3dJRA==')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_GET[base64_decode('SVRTTUlE')];
if ($k17 == base64_decode('Ng==')) {
$yb4 = "projects_view.php?projectid=$g35";
} elseif ($k17 == base64_decode('MTM=')) {
$yb4 = "projects_tasks_view.php?projecttaskid=$g35";
} else {
$yb4 = "javascript:viewITSM('$g35','$k17','1','modal');";
}
try {
$hb3 = createWorkFlow($g35, $hb3, $p8a, $yb4, $k17);
} catch (Exception $s15) {
$fb5 = $s15->getMessage();
errorLog($fb5, base64_decode('Y3JlYXRlV29ya0Zsb3c='));
$q34[] = array(base64_decode('UmVzdWx0') => "$fb5");
echo json_encode($q34);
return;
}
$ra3 = "Added Workflow: $hb3";
createITSMLogEntry($g35, $k17, $p8a, $ra3);
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($q34);
}
if (isset($_GET[base64_decode('cmVtb3ZlSVRTTVdvcmtGbG93')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$e7b = getUserName($p8a);
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_GET[base64_decode('SVRTTUlE')];
$hb3 = getWorkFlowID($g35, $k17);
$q34 = array();
$oa = base64_decode('REVMRVRFIEZST00gd29ya2Zsb3dzIFdIRVJFIFJlbGF0ZWRFbGVtZW50SUQgPSA/IEFORCBSZWxhdGVkRWxlbWVudFR5cGVJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $g35, $k17);
$sb->execute();
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
} else {
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => base64_decode('RmFpbGVkIHRvIHByZXBhcmUgc3RhdGVtZW50IGZvciBkZWxldGluZyB3b3JrZmxvd3Mu'));
errorlog(base64_decode('UHJlcGFyZSBzdGF0ZW1lbnQgZXJyb3I6IA==') . mysqli_error($zc), base64_decode('cmVtb3ZlSVRTTVdvcmtGbG93'));
}
$oa = base64_decode('REVMRVRFIEZST00gd29ya2Zsb3dzdGVwcyBXSEVSRSBSZWxhdGVkV29ya0Zsb3dJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('cw=='), $hb3);
$sb->execute();
} else {
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => base64_decode('RmFpbGVkIHRvIHByZXBhcmUgc3RhdGVtZW50IGZvciBkZWxldGluZyB3b3JrZmxvdyBzdGVwcy4='));
errorlog(base64_decode('UHJlcGFyZSBzdGF0ZW1lbnQgZXJyb3I6IA==') . mysqli_error($zc), base64_decode('cmVtb3ZlSVRTTVdvcmtGbG93'));
}
$oa = base64_decode('REVMRVRFIEZST00gdGFza3NsaXN0IFdIRVJFIFJlbGF0ZWRFbGVtZW50VHlwZUlEID0gPyBBTkQgUmVsYXRlZEVsZW1lbnRJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $k17, $g35);
$sb->execute();
} else {
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => base64_decode('RmFpbGVkIHRvIHByZXBhcmUgc3RhdGVtZW50IGZvciBkZWxldGluZyB0YXNrc2xpc3Qu'));
errorlog(base64_decode('UHJlcGFyZSBzdGF0ZW1lbnQgZXJyb3I6IA==') . mysqli_error($zc), base64_decode('cmVtb3ZlSVRTTVdvcmtGbG93'));
}
$ra3 = "Removed Workflow: $hb3";
if (!createITSMLogEntry($g35, $k17, $p8a, $ra3)) {
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => base64_decode('RmFpbGVkIHRvIGNyZWF0ZSBJVFNNIGxvZyBlbnRyeS4='));
}
echo json_encode($q34);
}
if (isset($_GET[base64_decode('Z2V0Q0lGaWxlcw==')])) {
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$q1f = $_POST[base64_decode('Q0lJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$oa = base64_decode('U0VMRUNUIGZpbGVzX2Npcy5JRCwgRmlsZU5hbWUsIEZpbGVOYW1lT3JpZ2luYWwsIERhdGUsIENPTkNBVCh1c2Vycy5GaXJzdG5hbWUsJyAnLHVzZXJzLkxhc3RuYW1lLCcgKCcsdXNlcnMuVXNlcm5hbWUsJyknKSBBUyBGdWxsTmFtZQ0KICAgICAgICAgICAgRlJPTSBmaWxlc19jaXMNCiAgICAgICAgICAgIExFRlQgSk9JTiB1c2VycyBPTiBmaWxlc19jaXMuUmVsYXRlZFVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgICBXSEVSRSBSZWxhdGVkRWxlbWVudElEID0gPyBBTkQgUmVsYXRlZFR5cGUgPSA/DQogICAgICAgICAgICBPUkRFUiBCWSBEYXRlIERFU0M=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $q1f, $m10);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$vb7 = array();
while ($l14 = mysqli_fetch_array($d13)) {
$bb8 = $l14[base64_decode('SUQ=')];
$tb9 = $l14[base64_decode('RmlsZU5hbWVPcmlnaW5hbA==')];
$jba = $l14[base64_decode('RmlsZU5hbWU=')];
$xbb = strtolower(pathinfo($jba, PATHINFO_EXTENSION));
$ibc = strtolower(pathinfo($jba, PATHINFO_FILENAME));
$pbd = array(base64_decode('Ym1w'), base64_decode('Z2lm'), base64_decode('anBn'), base64_decode('cG5n'));
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDE1'), $mb6)) {
$g32 = "<a href=\"javascript:deleteCMDBFile($bb8,$q1f,'$df','$m10');\"><i class=\"fas fa-trash\"></i></a>";
} else {
$g32 = '';
}
if (in_array($xbb, $pbd)) {
$hbe = "<a class=\"spotlight\" href=\"./uploads/files_cis/$jba\"><img src=\"./uploads/files_cis/$jba\" style=\"width:100%;max-width:150px\"></a> $g32";
} elseif ($xbb == base64_decode('cGRm')) {
$hbe = "<a href=\"./uploads/files_cis/$jba\" target='_blank'>$tb9</a> $g32";
} else {
$hbe = "<a href='./uploads/files_cis/$jba' download='$tb9' target='_blank'>$tb9</a> $g32";
}
$g9c = convertToDanishTimeFormat($l14[base64_decode('RGF0ZQ==')]);
$vb7[] = array(base64_decode('RGF0ZQ==') => $g9c, base64_decode('RmlsZQ==') => $hbe);
}
if ($vb7) {
echo json_encode($vb7, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
errorlog(base64_decode('UXVlcnkgZXhlY3V0aW9uIGVycm9yOiA=') . mysqli_error($zc), base64_decode('Z2V0Q0lGaWxlcw=='));
echo json_encode([]);
}
} else {
errorlog(base64_decode('UHJlcGFyZSBzdGF0ZW1lbnQgZXJyb3I6IA==') . mysqli_error($zc), base64_decode('Z2V0Q0lGaWxlcw=='));
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lGaWxlc1N1bQ==')])) {
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$df = $_POST[base64_decode('Q0lUYWJsZU5hbWU=')];
$q1f = $_POST[base64_decode('Q0lJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$oa = base64_decode('U0VMRUNUIENPVU5UKGZpbGVzX2Npcy5JRCkgQVMgQW50YWwNCiAgICAgICAgICAgIEZST00gZmlsZXNfY2lzDQogICAgICAgICAgICBMRUZUIEpPSU4gdXNlcnMgT04gZmlsZXNfY2lzLlJlbGF0ZWRVc2VySUQgPSB1c2Vycy5JRA0KICAgICAgICAgICAgV0hFUkUgUmVsYXRlZEVsZW1lbnRJRCA9ID8gQU5EIFJlbGF0ZWRUeXBlID0gPw0KICAgICAgICAgICAgT1JERVIgQlkgRGF0ZSBERVND');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $q1f, $m10);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$vb7 = array();
while ($l14 = mysqli_fetch_array($d13)) {
$ybf = $l14[base64_decode('QW50YWw=')];
$vb7[] = array(base64_decode('QW50YWw=') => $ybf);
}
if ($vb7) {
echo json_encode($vb7, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
errorlog(base64_decode('UXVlcnkgZXhlY3V0aW9uIGVycm9yOiA=') . mysqli_error($zc), base64_decode('Z2V0Q0lGaWxlc1N1bQ=='));
echo json_encode([]);
}
} else {
errorlog(base64_decode('UHJlcGFyZSBzdGF0ZW1lbnQgZXJyb3I6IA==') . mysqli_error($zc), base64_decode('Z2V0Q0lGaWxlc1N1bQ=='));
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTUZpbGVz')])) {
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$oa = base64_decode('U0VMRUNUIGZpbGVzX2l0c20uSUQsIEZpbGVOYW1lLCBGaWxlTmFtZU9yaWdpbmFsLCBEYXRlLCBDT05DQVQodXNlcnMuRmlyc3RuYW1lLCcgJyx1c2Vycy5MYXN0bmFtZSwnICgnLHVzZXJzLlVzZXJuYW1lLCcpJykgQVMgRnVsbE5hbWUNCiAgICAgICAgICBGUk9NIGZpbGVzX2l0c20NCiAgICAgICAgICBMRUZUIEpPSU4gdXNlcnMgT04gZmlsZXNfaXRzbS5SZWxhdGVkVXNlcklEID0gdXNlcnMuSUQNCiAgICAgICAgICBXSEVSRSBSZWxhdGVkRWxlbWVudElEID0gPyBBTkQgUmVsYXRlZFR5cGUgPSA/DQogICAgICAgICAgT1JERVIgQlkgRGF0ZSBERVND');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $g35, $k17);
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$sc0 = base64_decode('PGRpdiBjbGFzcz0ic3BvdGxpZ2h0LWdyb3VwIj4=');
$vb7 = array();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$tb9 = $l14[base64_decode('RmlsZU5hbWVPcmlnaW5hbA==')];
$jba = $l14[base64_decode('RmlsZU5hbWU=')];
$xbb = strtolower(pathinfo($jba, PATHINFO_EXTENSION));
$ibc = strtolower(pathinfo($jba, PATHINFO_FILENAME));
$pbd = array(base64_decode('Ym1w'), base64_decode('Z2lm'), base64_decode('anBn'), base64_decode('cG5n'));
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$g32 = "<a href=\"javascript:deleteDocument('$jba','itsm');\"><i class=\"fas fa-trash\"></i></a>";
} else {
$g32 = '';
}
if (in_array($xbb, $pbd)) {
$hbe = "<a class=\"spotlight\" href=\"./uploads/files_itsm/$jba\"><img src=\"./uploads/files_itsm/$jba\" style=\"width:100%;max-width:150px\"></a> $g32";
} elseif ($xbb == base64_decode('cGRm')) {
$hbe = "<a href=\"./uploads/files_itsm/$jba\" target='_blank'>$tb9</a> $g32";
} else {
$hbe = "<a href='./uploads/files_itsm/$jba' download='$tb9' target='_blank'>$tb9</a> $g32";
}
$g9c = convertToDanishTimeFormat($l14[base64_decode('RGF0ZQ==')]);
$vb7[] = array(base64_decode('RGF0ZQ==') => $g9c, base64_decode('RmlsZQ==') => $hbe);
}
$lc1 = base64_decode('PC9kaXY+');
echo json_encode($vb7, JSON_PRETTY_PRINT);
} else {
errorlog(base64_decode('UXVlcnkgZXhlY3V0aW9uIGVycm9yOiA=') . mysqli_error($zc), base64_decode('Z2Q6Z2V0SVRTTUZpbGVz'));
echo json_encode([]);
}
} else {
errorlog(base64_decode('UXVlcnkgZXhlY3V0aW9uIGVycm9yOiA=') . mysqli_error($zc), base64_decode('Z2Q6Z2V0SVRTTUZpbGVz'));
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0RmlsZXM=')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$cc2 = $_POST[base64_decode('RWxlbWVudElE')];
$j9f = $_POST[base64_decode('TW9kdWxlSUQ=')];
switch ($j9f) {
case base64_decode('dXNlcnM='):
$oc3 = base64_decode('ZmlsZXNfdXNlcnM=');
break;
case base64_decode('Y29tcGFuaWVz'):
$oc3 = base64_decode('ZmlsZXNfY29tcGFuaWVz');
break;
default:
$oc3 = getFilesPath($j9f);
break;
}
$oa = "SELECT $oc3.ID, FileName, FileNameOriginal, Date, CONCAT(users.Firstname,' ',users.Lastname,' (',users.Username,')') AS FullName
FROM $oc3
LEFT JOIN users ON $oc3.RelatedUserID = users.ID
WHERE RelatedElementID = ?
ORDER BY Date DESC";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $cc2);
$sb->execute();
$d13 = $sb->get_result();
$r42 = [];
while ($l14 = mysqli_fetch_assoc($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$tb9 = $l14[base64_decode('RmlsZU5hbWVPcmlnaW5hbA==')];
$jba = $l14[base64_decode('RmlsZU5hbWU=')];
$ac4 = $l14[base64_decode('RnVsbE5hbWU=')];
$xbb = strtolower(pathinfo($jba, PATHINFO_EXTENSION));
$ibc = strtolower(pathinfo($jba, PATHINFO_FILENAME));
$tc5 = array(base64_decode('Ym1w'), base64_decode('Z2lm'), base64_decode('anBn'), base64_decode('cG5n'));
$g32 = "<a href=\"javascript:deleteDocument('$jba','$j9f');\"><i class=\"fas fa-trash\"></i></a>";
if ($j9f == base64_decode('Nw==')) {
$dc6 = showFileDeleteLink($j9f, $r46);
if ($dc6 == 0) {
$g32 = '';
}
}
if (in_array($xbb, $tc5)) {
$hbe = "<a class=\"spotlight\" href=\"./uploads/$oc3/$jba\"><img src=\"./uploads/$oc3/$jba\" style=\"width:100%;max-width:150px\"></a> $g32";
} elseif ($xbb == base64_decode('cGRm')) {
$hbe = "<a href=\"./uploads/$oc3/$jba\" target='_blank'>$tb9</a> $g32";
} else {
$hbe = "<a href='./uploads/$oc3/$jba' download='$tb9' target='_blank'>$tb9</a> $g32";
}
$g9c = convertToDanishTimeFormat($l14[base64_decode('RGF0ZQ==')]);
$hc7 = array(translate(base64_decode('RGF0ZQ==')) => $g9c, translate(base64_decode('VXNlcg==')) => $ac4, translate(base64_decode('RmlsZQ==')) => $hbe);
$r42[] = $hc7;
}
if (empty($r42)) {
echo json_encode([]);
} else {
echo json_encode($r42);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTVN1bXM=')])) {
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$oa = base64_decode('U0VMRUNUIENPVU5UKGZpbGVzX2l0c20uSUQpIEFTIEFudGFsDQogICAgICAgICAgRlJPTSBmaWxlc19pdHNtDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIGZpbGVzX2l0c20uUmVsYXRlZFVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgV0hFUkUgUmVsYXRlZEVsZW1lbnRJRCA9ID8gQU5EIFJlbGF0ZWRUeXBlID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $g35, $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$tc8 = $l14[base64_decode('QW50YWw=')];
}
$oa = "SELECT COUNT(workflowsteps.ID) AS Antal
FROM workflows
LEFT JOIN workflowsteps ON workflows.ID = workflowsteps.RelatedWorkFlowID
WHERE RelatedElementID = $g35 AND RelatedElementTypeID = '$k17' AND RelatedStatusID IN(1,2)";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$ic9 = $l14[base64_decode('QW50YWw=')];
}
$vb7[] = array(base64_decode('U3VtRmlsZXM=') => $tc8, base64_decode('U3VtV0ZU') => $ic9);
if ($vb7) {
echo json_encode($vb7, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lJVFNNUmVsYXRpb25z')])) {
$q1f = $_POST[base64_decode('Q0lJRA==')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$v20 = $_POST[base64_decode('QWxsb3dEZWxldGU=')];
$oa = base64_decode('U0VMRUNUIElELCBJVFNNVGFibGUsIElUU01JRA0KICAgICAgICAgIEZST00gY21kYl9jaV9pdHNtX3JlbGF0aW9ucw0KICAgICAgICAgIFdIRVJFIENJVGFibGUgPSA/IEFORCBDSUlEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $df, $q1f);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$g35 = $l14[base64_decode('SVRTTUlE')];
$i16 = $l14[base64_decode('SVRTTVRhYmxl')];
$k17 = getITSMTypeIDFromTableName($i16);
$eca = getElementSubject2($g35, $i16);
$g9c = getElementDate2($g35, $i16, base64_decode('Q3JlYXRlZA=='));
if ($v20 == 1) {
$g32 = base64_decode('Jm5ic3A7Jm5ic3A7Jm5ic3A7PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . _(base64_decode('RGVsZXRlIHJlbGF0aW9u')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteITSMToElementRelation($r46, $m10, $k17, $g35);\"><i class=\"fa fa-trash\"></i></span></a>";
} else {
$g32 = '';
}
$b33 = "<a href=\"javascript:viewITSM('$g35','$k17','1','modal');\">$eca</a>$g32";
$q34[] = array(base64_decode('VHlwZQ==') => _("$i16"), _(base64_decode('RWxlbWVudHM=')) => $b33, _(base64_decode('RGF0ZQ==')) => $g9c);
}
if (!empty($q34)) {
echo json_encode($q34);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Y3JlYXRlSUNTRnJvbVByb2plY3Q=')])) {
$mcb = $_GET[base64_decode('UHJvamVjdElE')];
$wcc = getSettingValue(17);
$lcd = base64_decode('QkVHSU46VkNBTEVOREFSDQpQUk9ESUQ6LS8vR29vZ2xlIEluYy8vR29vZ2xlIENhbGVuZGFyIDcwLjkwNTQvL0VODQpWRVJTSU9OOjIuMA0KQ0FMU0NBTEU6R1JFR09SSUFODQpNRVRIT0Q6UFVCTElTSA0KWC1XUi1USU1FWk9ORTpFdXJvcGUvQ29wZW5oYWdlbg0K');
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdGFza3MuSUQgQVMgSUQsIHByb2plY3RfdGFza3MuVGFza05hbWUsIHByb2plY3RfdGFza3MuRGVzY3JpcHRpb24gQVMgRGVzY3JpcHRpb24sIHByb2plY3RfdGFza3MuU3RhcnQgQVMgU3RhcnREYXRlLCBwcm9qZWN0X3Rhc2tzLkRlYWRsaW5lIEFTIERlYWRsaW5lLCAnUFQnIEFTIFR5cGUNCiAgICAgICAgICBGUk9NIHByb2plY3RfdGFza3MNCiAgICAgICAgICBXSEVSRSBwcm9qZWN0X3Rhc2tzLlJlbGF0ZWRQcm9qZWN0ID0gPw0KICAgICAgICAgIFVOSU9OIA0KICAgICAgICAgIFNFTEVDVCBwcm9qZWN0c19zcHJpbnRzLklEIEFTIElELCBwcm9qZWN0c19zcHJpbnRzLlNob3J0TmFtZSBBUyBUYXNrTmFtZSwgcHJvamVjdHNfc3ByaW50cy5EZXNjcmlwdGlvbiBBUyBEZXNjcmlwdGlvbiwgcHJvamVjdHNfc3ByaW50cy5TdGFydCBBUyBTdGFydERhdGUsIHByb2plY3RzX3NwcmludHMuRGVhZGxpbmUgQVMgRGVhZGxpbmUsICdTcHJpbnQnIEFTIFR5cGUNCiAgICAgICAgICBGUk9NIHByb2plY3RzX3NwcmludHMNCiAgICAgICAgICBXSEVSRSBwcm9qZWN0c19zcHJpbnRzLlJlbGF0ZWRQcm9qZWN0SUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $mcb, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$w21 = base64_decode('MQ==');
while ($l14 = mysqli_fetch_array($d13)) {
$l8 = $l14[base64_decode('SUQ=')];
$q54 = $l14[base64_decode('VHlwZQ==')];
if ($q54 == base64_decode('UFQ=')) {
$cce = $wcc . "/projects_tasks_view.php?projecttaskid=$l8";
$scf = _("$q54: ") . $l8 . base64_decode('IC0g') . $l14[base64_decode('VGFza05hbWU=')];
$scf = mb_convert_encoding($scf, base64_decode('VVRGLTg='), base64_decode('VVRGLTg='));
$scf = strip_tags(htmlspecialchars_decode($scf));
} else {
$cce = $wcc . "/projects_view.php?projectid=$mcb";
$scf = _("$q54: ") . $l14[base64_decode('VGFza05hbWU=')];
$scf = mb_convert_encoding($scf, base64_decode('VVRGLTg='), base64_decode('VVRGLTg='));
$scf = strip_tags(htmlspecialchars_decode($scf));
}
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$f1e = mb_convert_encoding($f1e, base64_decode('VVRGLTg='), base64_decode('VVRGLTg='));
$f1e = strip_tags(htmlspecialchars_decode($f1e));
$f1e = $f1e . "\\nCreated from <a href=\"$cce\">$wcc</a>";
$kd0 = $l14[base64_decode('U3RhcnREYXRl')];
$kd0 = strtotime($kd0);
$kd0 = date(base64_decode('WW1kXFRIaXM='), $kd0);
$j7e = $l14[base64_decode('RGVhZGxpbmU=')];
$j7e = strtotime($j7e);
$j7e = date(base64_decode('WW1kXFRIaXM='), $j7e);
$sd1 = strtotime(date(base64_decode('RCBNIGQsIFkgRzpp')));
$ld2 = date(base64_decode('WW1kXFRIaXM='), $sd1);
$td3 .= "BEGIN:VEVENT
DTSTART:$kd0
DTEND:$j7e
DTSTAMP:$ld2
UID:$q54-$l8@$wcc
CLASS:PUBLIC
CREATED:$ld2
DESCRIPTION:$f1e
URL:$cce
LAST-MODIFIED:$ld2
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:$scf
TRANSP:OPAQUE
END:VEVENT
";
}
$lcd .= $td3;
$lcd .= base64_decode('RU5EOlZDQUxFTkRBUg==');
$fe[] = array(base64_decode('ZmlsZWNvbnRlbnQ=') => $lcd);
mysqli_free_result($d13);
echo json_encode($fe, JSON_PRETTY_PRINT);
}
if (isset($_POST[base64_decode('bWVzc2FnZQ==')])) {
$jd4 = $_POST[base64_decode('bWVzc2FnZQ==')];
$r9 = date(base64_decode('WS1tLWQgSDppOnM='));
$oa = base64_decode('U0VMRUNUIFJlYWREYXRlIA0KICAgICAgICAgIEZST00gbWVzc2FnZXMgDQogICAgICAgICAgV0hFUkUgbWVzc2FnZXMuSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $jd4);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$pd5 = $l14[base64_decode('UmVhZERhdGU=')];
if (empty($pd5)) {
$oa = base64_decode('VVBEQVRFIG1lc3NhZ2VzIA0KICAgICAgICAgICAgICBTRVQgUmVhZERhdGUgPSA/DQogICAgICAgICAgICAgIFdIRVJFIG1lc3NhZ2VzLklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r9, $jd4);
$sb->execute();
}
}
}
if (isset($_POST[base64_decode('bWFya21lc3NhZ2VzcmVhZGZvcnVzZXJpZA==')])) {
$p8a = ($_SESSION[base64_decode('aWQ=')]);
$r9 = date(base64_decode('WS1tLWQgSDppOnM='));
$oa = '';
$oa = base64_decode('VVBEQVRFIG1lc3NhZ2VzIFNFVCBtZXNzYWdlcy5SZWFkRGF0ZSA9ID8gV0hFUkUgVG9Vc2VySUQgPSA/IEFORCBSZWFkRGF0ZSBJUyBOVUxMOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r9, $p8a);
$sb->execute();
}
if (isset($_GET[base64_decode('cG9wTW9kYWxFZGl0VXNlcnM=')])) {
$p8a = $_GET[base64_decode('cG9wTW9kYWxFZGl0VXNlcnM=')];
$oa = base64_decode('U0VMRUNUIEZpcnN0bmFtZSwgTGFzdG5hbWUsIEVtYWlsLCBVc2VybmFtZSwgUmVsYXRlZFVzZXJUeXBlSUQsIENvbXBhbnlJRCwgSm9iVGl0ZWwsIFBob25lLCBBY3RpdmUsIFJlbGF0ZWRNYW5hZ2VyLCBTdGFydERhdGUNCiAgICAgICAgICBGUk9NIFVzZXJzDQogICAgICAgICAgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$dd6 = mysqli_fetch_all($d13, MYSQLI_ASSOC);
foreach ($dd6 as &$k45) {
$k45[base64_decode('U3RhcnREYXRl')] = convertToDanishDateFormat($k45[base64_decode('U3RhcnREYXRl')]);
}
mysqli_free_result($d13);
echo json_encode($dd6, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cG9wTW9kYWxFZGl0UGFzc3dvcmRz')])) {
$yd7 = $_GET[base64_decode('cG9wTW9kYWxFZGl0UGFzc3dvcmRz')];
$oa = base64_decode('U0VMRUNUIElELCBSZWxhdGVkQ29tcGFueUlELCBTZXJ2ZXJEZXN0aW5hdGlvbiwgRG9tYWluLCBVc2VybmFtZSwgUGFzc3dvcmQsIERlc3RpbmF0aW9uVHlwZUlELCBEZXNjcmlwdGlvbiwgUmVsYXRlZEdyb3VwSUQNCiAgICAgICAgICBGUk9NIHBhc3N3b3JkbWFuYWdlcl9wYXNzd29yZHMNCiAgICAgICAgICBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $yd7);
$sb->execute();
$d13 = $sb->get_result();
$dd6 = mysqli_fetch_all($d13, MYSQLI_ASSOC);
mysqli_free_result($d13);
echo json_encode($dd6, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cG9wTW9kYWxFZGl0U2V0dGluZ3M=')])) {
$md8 = $_GET[base64_decode('cG9wTW9kYWxFZGl0U2V0dGluZ3M=')];
$oa = base64_decode('U0VMRUNUIElELCBTZXR0aW5nc1R5cGVJRCwgU2V0dGluZ05hbWUsIFNldHRpbmdEZXNjcmlwdGlvbiwgU2V0dGluZ1ZhbHVlLCBBY3RpdmUNCiAgICAgICAgICBGUk9NIHNldHRpbmdzDQogICAgICAgICAgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $md8);
$sb->execute();
$d13 = $sb->get_result();
$dd6 = mysqli_fetch_all($d13, MYSQLI_ASSOC);
mysqli_free_result($d13);
echo json_encode($dd6, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cG9wTW9kYWxlZGl0TWFpbFRlbXBsYXRlcw==')])) {
$r46 = $_GET[base64_decode('cG9wTW9kYWxlZGl0TWFpbFRlbXBsYXRlcw==')];
$oa = base64_decode('U0VMRUNUIElELCBTdWJqZWN0LCBDb250ZW50LCBVcGRhdGVkLCBVcGRhdGVkQnkNCiAgICAgICAgICBGUk9NIG1haWxfdGVtcGxhdGVzDQogICAgICAgICAgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $r46);
$sb->execute();
$d13 = $sb->get_result();
$xd9 = mysqli_fetch_all($d13, MYSQLI_ASSOC);
mysqli_free_result($d13);
echo json_encode($xd9, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cG9wTW9kYWxlZGl0TGFuZ3VhZ2Vz')])) {
$mda = $_GET[base64_decode('cG9wTW9kYWxlZGl0TGFuZ3VhZ2Vz')];
$oa = base64_decode('U0VMRUNUIElELCBNYWluTGFuZ3VhZ2UsIGRhX0RLLCBkZV9ERSwgZXNfRVMsIGZyX0ZSLCBmaV9GSSwgaXRfSVQsIHRyX1RSLCB6aF9DTiwgcnVfUlUsIGphX0pQLCBwdF9QVA0KICAgICAgICAgIEZST00gbGFuZ3VhZ2VzDQogICAgICAgICAgV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mda);
$sb->execute();
$d13 = $sb->get_result();
$rdb = mysqli_fetch_all($d13, MYSQLI_ASSOC);
mysqli_free_result($d13);
echo json_encode($rdb, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('ZGVsZXRlTGFuZ3VhZ2VFbnRyeQ==')])) {
$mda = $_POST[base64_decode('TGFuZ3VhZ2VJRA==')];
$oa = base64_decode('REVMRVRFIEZST00gbGFuZ3VhZ2VzDQogICAgICAgICAgV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mda);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('ZWRpdE1vZHVsZXNNb2RhbA==')])) {
$gdc = $_GET[base64_decode('ZWRpdE1vZHVsZXNNb2RhbA==')];
$oa = base64_decode('U0VMRUNUIElELCBNb2R1bGVOYW1lLCBMaWNlbnNlS2V5LCBNb2R1bGVBY3RpdmUsIERlc2NyaXB0aW9uLCBIZWxwVGV4dCANCiAgICAgICAgICBGUk9NIG1vZHVsZXMNCiAgICAgICAgICBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $gdc);
$sb->execute();
$d13 = $sb->get_result();
$rdd = mysqli_fetch_all($d13, MYSQLI_ASSOC);
mysqli_free_result($d13);
echo json_encode($rdd, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0ZG9jdW1lbnRpbmZv')])) {
$pde = $_GET[base64_decode('Z2V0ZG9jdW1lbnRpbmZv')];
$oa = base64_decode('U0VMRUNUIGtub3dsZWRnZV9kb2N1bWVudHMuSUQgQVMgRG9jSUQsIGtub3dsZWRnZV9kb2N1bWVudHMuUmVsYXRlZFN0YXR1c0lEIEFTIFN0YXR1c0lELCBrbm93bGVkZ2VfZG9jdW1lbnRzLk5hbWUgQVMgRG9jTmFtZSwgVmVyc2lvbiBBUyBEb2NWZXJzaW9uLCBSZWxhdGVkR3JvdXBJRCwgUmVsYXRlZEFwcHJvdmVySUQsIFJlbGF0ZWRPd25lcklELCBDb250ZW50LCBSZWxhdGVkQ2F0ZWdvcnksIFB1YmxpYywgUmVsYXRlZFB1YmxpY0NhdGVnb3J5SUQNCiAgICAgICAgICBGUk9NIGtub3dsZWRnZV9kb2N1bWVudHMgDQogICAgICAgICAgV0hFUkUga25vd2xlZGdlX2RvY3VtZW50cy5JRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $pde);
$sb->execute();
$d13 = $sb->get_result();
$ydf = mysqli_fetch_all($d13, MYSQLI_ASSOC);
mysqli_free_result($d13);
echo json_encode($ydf, JSON_PRETTY_PRINT);
}
if (isset($_POST[base64_decode('Y2hhbmdlU2V0dGluZ0RldGFpbHM=')]) && !empty($_POST[base64_decode('c2V0dGluZ2lk')]) && !empty($_POST[base64_decode('c2V0dGluZ25hbWU=')])) {
$md8 = $_POST[base64_decode('c2V0dGluZ2lk')];
$oe0 = $_POST[base64_decode('c2V0dGluZ25hbWU=')];
$oe1 = $_POST[base64_decode('c2V0dGluZ2Rlc2NyaXB0aW9u')];
$le2 = $_POST[base64_decode('c2V0dGluZ3ZhbHVl')];
$ze3 = $_POST[base64_decode('c2V0dGluZ3R5cGU=')];
$ye4 = $_POST[base64_decode('YWN0aXZl')];
$oa = "UPDATE settings
SET SettingName = ?, SettingDescription = ?, SettingValue = ?, SettingsTypeID = ?, Active = ?
WHERE ID=$md8";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $oe0, $oe1, $le2, $ze3, $ye4);
$sb->execute();
if ($md8 == base64_decode('MTM=')) {
updateManifestFile($le2);
}
}
if (isset($_GET[base64_decode('Y2hhbmdlTWFpbFRlbXBsYXRl')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$he5 = $_POST[base64_decode('bWFpbHRlbXBsYXRlaWQ=')];
$se6 = $_POST[base64_decode('bWFpbHRlbXBsYXRlc3ViamVjdA==')];
$ae7 = $_POST[base64_decode('bWFpbHRlbXBsYXRlQ29udGVudA==')];
$ie8 = $_POST[base64_decode('bWFpbHRlbXBsYXRlVXBkYXRlZEJ5')];
$oa = base64_decode('VVBEQVRFIG1haWxfdGVtcGxhdGVzIA0KICAgICAgICAgIFNFVCBtYWlsX3RlbXBsYXRlcy5TdWJqZWN0ID0gPywgbWFpbF90ZW1wbGF0ZXMuQ29udGVudCA9ID8sIG1haWxfdGVtcGxhdGVzLlVwZGF0ZWQgPSBOT1coKSwgbWFpbF90ZW1wbGF0ZXMuVXBkYXRlZEJ5ID0gPw0KICAgICAgICAgIFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $se6, $ae7, $p8a, $he5);
$sb->execute();
}
if (isset($_POST[base64_decode('dXBkYXRlU0xB')])) {
$le9 = $_POST[base64_decode('U0xBaWQ=')];
$jea = $_POST[base64_decode('U0xBTmFtZQ==')];
$oeb = $_POST[base64_decode('U0xBUHJpb3JpdHk=')];
$iec = $_POST[base64_decode('UmVjZWl2ZWRNaW51dGVz')];
$ned = $_POST[base64_decode('QXNzaWduZWRUb1RlYW1NaW51dGVz')];
$lee = $_POST[base64_decode('QXNzaWduZWRUb1RlY2huaWNpYW5NaW51dGVz')];
$bef = $_POST[base64_decode('SW5SZXNvbHV0aW9uUHJvY2Vzc01pbnV0ZXM=')];
$tf0 = $_POST[base64_decode('UmVzb2x2ZWRNaW51dGVz')];
$oa = base64_decode('VVBEQVRFIHNsYV9yZWFjdGlvbl90aW1lX21hdHJpeCBTRVQgUmVjZWl2ZWRNaW51dGVzID0gPywgQXNzaWduZWRUb1RlYW1NaW51dGVzID0gPywgQXNzaWduZWRUb1RlY2huaWNpYW5NaW51dGVzID0gPywgSW5SZXNvbHV0aW9uUHJvY2Vzc01pbnV0ZXMgPSA/LCBSZXNvbHZlZE1pbnV0ZXMgPSA/DQogICAgICAgICAgV0hFUkUgc2xhX3JlYWN0aW9uX3RpbWVfbWF0cml4LklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nzcw=='), $iec, $ned, $lee, $he5, $bef, $tf0, $le9);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRlTGFuZ3VhZ2VFbnRyeQ==')])) {
if (in_array(base64_decode('MTAwMDI0'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$mda = $_POST[base64_decode('bW9kYWxMYW5ndWFnZUlE')];
$ff1 = trim($_POST[base64_decode('TWFpbkxhbmd1YWdl')]);
$kf2 = trim($_POST[base64_decode('ZGFESw==')]);
$uf3 = trim($_POST[base64_decode('ZGVERQ==')]);
$rf4 = trim($_POST[base64_decode('ZXNFUw==')]);
$ef5 = trim($_POST[base64_decode('ZnJGUg==')]);
$af6 = trim($_POST[base64_decode('ZmlGSQ==')]);
$gf7 = trim($_POST[base64_decode('aXRJVA==')]);
$df8 = trim($_POST[base64_decode('dHJUUg==')]);
$pf9 = trim($_POST[base64_decode('emhDTg==')]);
$jfa = trim($_POST[base64_decode('cnVSVQ==')]);
$bfb = trim($_POST[base64_decode('amFKUA==')]);
$kfc = trim($_POST[base64_decode('cHRQVA==')]);
$oa = base64_decode('VVBEQVRFIGxhbmd1YWdlcyBTRVQgTWFpbkxhbmd1YWdlID0gPywgZGFfREsgPSA/LCBkZV9ERSA9ID8sIGVzX0VTID0gPywgZnJfRlIgPSA/LCBmaV9GSSA9ID8sIGl0X0lUID0gPywgdHJfVFIgPSA/LCB6aF9DTiA9ID8sIHJ1X1JVID0gPywgamFfSlAgPSA/LCBwdF9QVCA9ID8NCiAgICAgICAgICBXSEVSRSBsYW5ndWFnZXMuSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nzc3Nzc3Nzcw=='), $ff1, $kf2, $uf3, $rf4, $ef5, $af6, $gf7, $df8, $pf9, $jfa, $bfb, $kfc, $mda);
$sb->execute();
}
if (isset($_POST[base64_decode('YWRkTGFuZ3VhZ2VFbnRyeQ==')])) {
$ff1 = trim($_POST[base64_decode('TWFpbkxhbmd1YWdl')]);
$nfd = checkForExistingMainLanguage($yfe);
if ($ff1 == $nfd) {
return;
}
$kf2 = trim($_POST[base64_decode('ZGFESw==')]);
$uf3 = trim($_POST[base64_decode('ZGVERQ==')]);
$rf4 = trim($_POST[base64_decode('ZXNFUw==')]);
$ef5 = trim($_POST[base64_decode('ZnJGUg==')]);
$af6 = trim($_POST[base64_decode('ZmlGSQ==')]);
$oa = base64_decode('SU5TRVJUIElOVE8gbGFuZ3VhZ2VzKE1haW5MYW5ndWFnZSwgZGFfREssIGRlX0RFLCBlc19FUywgZnJfRlIsIGZpX0ZJKSBWQUxVRVMgKD8sPyw/LD8sPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nz'), $ff1, $kf2, $uf3, $rf4, $ef5, $af6);
$sb->execute();
}
if (isset($_POST[base64_decode('Y2hhbmdlRG9jdW1lbnREZXRhaWxz')]) && !empty($_POST[base64_decode('ZG9jaWQ=')]) && !empty($_POST[base64_decode('ZG9jbmFtZQ==')])) {
$pde = $_POST[base64_decode('ZG9jaWQ=')];
$hff = $_POST[base64_decode('c3RhdHVz')];
$d100 = mysqli_real_escape_string($zc, $_POST[base64_decode('ZG9jbmFtZQ==')]);
$x101 = $_POST[base64_decode('dmVyc2lvbg==')];
$j102 = $_POST[base64_decode('Z3JvdXA=')];
$p103 = $_POST[base64_decode('YXBwcm92ZXI=')];
$y104 = $_POST[base64_decode('b3duZXI=')];
$t105 = mysqli_real_escape_string($zc, $_POST[base64_decode('Y29udGVudA==')]);
$u106 = $_POST[base64_decode('Y2F0ZWdvcnk=')];
$i107 = $_POST[base64_decode('cHVibGlj')];
$v108 = $_POST[base64_decode('cHVibGljQ2F0ZWdvcnk=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$r9 = date(base64_decode('WS1tLWQgSDppOnM='));
if (empty($p103)) {
$p103 = base64_decode('TlVMTA==');
}
if (empty($j102)) {
$j102 = base64_decode('TlVMTA==');
}
if (empty($v108)) {
$v108 = base64_decode('MA==');
}
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIE5hbWUgPSA/LCBWZXJzaW9uID0gPywgUmVsYXRlZEdyb3VwSUQgPSA/LCBSZWxhdGVkQXBwcm92ZXJJRCA9ID8sIFJlbGF0ZWRPd25lcklEID0gPywgQ29udGVudCA9ID8sIFJlbGF0ZWRTdGF0dXNJRCA9ID8sIFJlbGF0ZWRDYXRlZ29yeSA9ID8sIA0KICAgICAgICAgIExhc3RDaGFuZ2VkID0gPywgTGFzdENoYW5nZWRCeSA9ID8sIFB1YmxpYyA9ID8sIFJlbGF0ZWRQdWJsaWNDYXRlZ29yeUlEID0gPw0KICAgICAgICAgIFdIRVJFIElEPSc=') . $pde . base64_decode('Jzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nzc3Nzc3Nzcw=='), $d100, $x101, $j102, $p103, $y104, $t105, $hff, $u106, $r9, $p8a, $i107, $v108, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgY2hhbmdlZCBieSA=') . $p8a;
createDocLogEntry($pde, $p8a, $j109, $ra3);
incrementDocVersion($pde, $x101);
}
if (isset($_GET[base64_decode('Y3JlYXRlRG9jdW1lbnQ=')])) {
$j10a = $_SESSION[base64_decode('aWQ=')];
$hff = $_POST[base64_decode('c3RhdHVz')];
$g10b = mysqli_real_escape_string($zc, $_POST[base64_decode('ZG9jbmFtZQ==')]);
$j102 = $_POST[base64_decode('Z3JvdXA=')];
$p103 = $_POST[base64_decode('YXBwcm92ZXI=')];
$c10c = $_POST[base64_decode('cmV2aWV3ZXI=')];
$y104 = $_POST[base64_decode('b3duZXI=')];
$u106 = $_POST[base64_decode('Y2F0ZWdvcnk=')];
$t105 = trim(htmlspecialchars_decode($_POST[base64_decode('Y29udGVudA==')]));
$t105 = stripStringFromScrollbarTags($t105);
$y10d = strip_tags(str_replace(base64_decode('PA=='), base64_decode('IDw='), $y10d));
$y10d = filterStopWords($y10d, $j10a);
if (empty($p103)) {
$p103 = null;
}
if (empty($c10c)) {
$c10c = null;
}
if (empty($j102)) {
$j102 = null;
}
$oa = base64_decode('SU5TRVJUIElOVE8ga25vd2xlZGdlX2RvY3VtZW50cyAoUmVsYXRlZENhdGVnb3J5LCBDcmVhdGVkQnksIE5hbWUsIFZlcnNpb24sIFJlbGF0ZWRHcm91cElELCBSZWxhdGVkUmV2aWV3ZXJJRCwgUmVsYXRlZEFwcHJvdmVySUQsIFJlbGF0ZWRPd25lcklELCBDb250ZW50LCBDb250ZW50RnVsbFRleHQsIFJlbGF0ZWRTdGF0dXNJRCwgTGFzdENoYW5nZWQsIExhc3RDaGFuZ2VkQnkpIA0KICAgICAgICAgIFZBTFVFUyAoPywgPywgPywgMCwgPywgPywgPywgPywgPywgPywgPywgTk9XKCksID8p');
$sb = mysqli_prepare($zc, $oa);
if ($sb === false) {
errorlog(base64_decode('RXJyb3I6IEZhaWxlZCB0byBwcmVwYXJlIHN0YXRlbWVudC4='), base64_decode('Y3JlYXRlRG9jdW1lbnQ='));
}
$sb->bind_param(base64_decode('c3Nzc3Nzc3Nzc3M='), $u106, $j10a, $g10b, $j102, $c10c, $p103, $y104, $t105, $y10d, $hff, $j10a);
if (!$sb->execute()) {
errorlog(base64_decode('RXJyb3I6IEZhaWxlZCB0byBleGVjdXRlIHN0YXRlbWVudC4='), base64_decode('Y3JlYXRlRG9jdW1lbnQ='));
}
$d13 = $sb->get_result();
$j10e = $zc->$a10f;
if ($j10e === 0) {
errorlog(base64_decode('RXJyb3I6IEZhaWxlZCB0byByZXRyaWV2ZSBpbnNlcnQgSUQu'), base64_decode('Y3JlYXRlRG9jdW1lbnQ='));
}
$d110 = 2;
$y111 = base64_decode('RG9jdW1lbnQgQ3JlYXRlZA==');
createDocLogEntry($j10e, $j10a, $d110, $y111);
$fe[] = array(base64_decode('ZG9jdW1lbnRJZA==') => $j10e);
echo json_encode($fe, JSON_PRETTY_PRINT);
}
if (isset($_POST[base64_decode('ZGVsZXRlY2F0ZWdvcnk=')])) {
$l112 = $_POST[base64_decode('ZGVsZXRlY2F0ZWdvcnk=')];
$oa = base64_decode('REVMRVRFIEZST00ga25vd2xlZGdlX2NhdGVnb3JpZXMgV0hFUkUgRml4ZWQgISA9IDEgQU5EIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $l112);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlR3JvdXBJbmZvcm1hdGlvbg==')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q113 = [];
foreach ($_POST[base64_decode('ZGF0YQ==')] as $u52) {
$q113[$u52[base64_decode('bmFtZQ==')]] = $u52[base64_decode('dmFsdWU=')];
}
$x9d = $_SESSION[base64_decode('aWQ=')];
$j114 = $q113[base64_decode('R3JvdXBJRA==')];
$f115 = $q113[base64_decode('R3JvdXBUeXBl')];
$rd = $q113[base64_decode('R3JvdXBOYW1l')];
$f1e = $q113[base64_decode('RGVzY3JpcHRpb24=')];
$m116 = $q113[base64_decode('UmVsYXRlZE1vZHVsZUlE')];
$l7 = $q113[base64_decode('QWN0aXZl')];
if ($f115 === base64_decode('UGVyc29uYWw=')) {
$oa = base64_decode('VVBEQVRFIHVzZXJncm91cHMgDQogICAgICAgICAgICBTRVQgR3JvdXBOYW1lID0gPywgRGVzY3JpcHRpb24gPSA/LCBSZWxhdGVkTW9kdWxlSUQgPSA/LCBBY3RpdmUgPSA/DQogICAgICAgICAgICBXSEVSRSBJRCA9ID87');
} else {
if (in_array(base64_decode('MTAwMDAw'), $p0)) {
$oa = base64_decode('VVBEQVRFIHN5c3RlbV9ncm91cHMgDQogICAgICAgICAgICAgIFNFVCBHcm91cE5hbWUgPSA/LCBEZXNjcmlwdGlvbiA9ID8sIFJlbGF0ZWRNb2R1bGVJRCA9ID8sIEFjdGl2ZSA9ID8NCiAgICAgICAgICAgICAgV0hFUkUgSUQgPSA/Ow==');
} else {
return;
}
}
$u117 = mysqli_prepare($zc, $oa);
$u117->bind_param(base64_decode('c3NpaWk='), $rd, $f1e, $m116, $l7, $j114);
$u117->execute();
$j109 = base64_decode('Mg==');
$ra3 = "Group updated to: $f31";
createGroupLogEntry($j114, $x9d, $j109, $ra3);
$m118 = translate(base64_decode('R3JvdXAgdXBkYXRlZA=='));
$s119[] = array(base64_decode('UmVzdWx0') => $m118);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dXBkYXRlVGVhbUluZm9ybWF0aW9u')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q113 = [];
foreach ($_POST[base64_decode('ZGF0YQ==')] as $u52) {
$q113[$u52[base64_decode('bmFtZQ==')]] = $u52[base64_decode('dmFsdWU=')];
}
$x9d = $_SESSION[base64_decode('aWQ=')];
$z3 = $q113[base64_decode('VGVhbUlE')];
$h11a = $q113[base64_decode('VGVhbU5hbWU=')];
$e11b = $q113[base64_decode('VGVhbUxlYWRlcg==')];
$t11c = $q113[base64_decode('VGVhbVN0YXR1cw==')];
$v11d = $q113[base64_decode('VGVhbURlc2NyaXB0aW9u')];
$oa = base64_decode('VVBEQVRFIHRlYW1zIA0KICAgICAgICAgIFNFVCBUZWFtbmFtZSA9ID8sIFRlYW1MZWFkZXIgPSA/LCBBY3RpdmUgPSA/LCBEZXNjcmlwdGlvbiA9ID8NCiAgICAgICAgICBXSEVSRSBJRCA9ID87');
$u117 = mysqli_prepare($zc, $oa);
$u117->bind_param(base64_decode('c2lpc2k='), $h11a, $e11b, $t11c, $v11d, $z3);
$u117->execute();
$m118 = translate(base64_decode('VGVhbSB1cGRhdGVk'));
$s119[] = array(base64_decode('UmVzdWx0') => $m118);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dXBkYXRlUm9sZUluZm9ybWF0aW9u')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q113 = [];
foreach ($_POST[base64_decode('ZGF0YQ==')] as $u52) {
$q113[$u52[base64_decode('bmFtZQ==')]] = $u52[base64_decode('dmFsdWU=')];
}
$x9d = $_SESSION[base64_decode('aWQ=')];
$m11e = $q113[base64_decode('Um9sZUlE')];
$r67 = $q113[base64_decode('Um9sZU5hbWU=')];
$l11f = $q113[base64_decode('Um9sZVN0YXR1cw==')];
$w120 = $q113[base64_decode('Um9sZURlc2NyaXB0aW9u')];
$oa = base64_decode('VVBEQVRFIHJvbGVzIA0KICAgICAgICAgIFNFVCBSb2xlTmFtZSA9ID8sIERlc2NyaXB0aW9uID0gPywgQWN0aXZlID0gPw0KICAgICAgICAgIFdIRVJFIElEID0gPzs=');
$u117 = mysqli_prepare($zc, $oa);
$u117->bind_param(base64_decode('c3NpaQ=='), $r67, $w120, $l11f, $m11e);
$u117->execute();
$m118 = translate(base64_decode('Um9sZSB1cGRhdGVk'));
$s119[] = array(base64_decode('UmVzdWx0') => $m118);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlR3JvdXA=')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$j114 = $_POST[base64_decode('R3JvdXBJRA==')];
$x9d = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcmdyb3Vwcw0KICAgICAgICAgIFdIRVJFIElEID0gPzs=');
$u117 = mysqli_prepare($zc, $oa);
$u117->bind_param(base64_decode('aQ=='), $j114);
$u117->execute();
removeUserGroupsRoles($j114);
$j109 = base64_decode('Mg==');
$j121 = getUserFullName($x9d);
$ra3 = "Group deleted by $j121";
createGroupLogEntry($j114, $x9d, $j109, $ra3);
$m118 = translate(base64_decode('R3JvdXAgZGVsZXRlZA=='));
$s119[] = array(base64_decode('UmVzdWx0') => $m118);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlUm9sZQ==')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$m11e = $_POST[base64_decode('Um9sZUlE')];
$x9d = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('REVMRVRFIEZST00gcm9sZXMNCiAgICAgICAgICBXSEVSRSBJRCA9ID87');
$r122 = mysqli_prepare($zc, $oa);
$r122->bind_param(base64_decode('aQ=='), $m11e);
$r122->execute();
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnNyb2xlcw0KICAgICAgICAgIFdIRVJFIFJvbGVJRCA9ID87');
$l123 = mysqli_prepare($zc, $oa);
$l123->bind_param(base64_decode('aQ=='), $m11e);
$l123->execute();
$m118 = translate(base64_decode('Um9sZSBkZWxldGVk'));
$s119[] = array(base64_decode('UmVzdWx0') => $m118);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlVGVhbQ==')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$z3 = $_POST[base64_decode('VGVhbUlE')];
$x9d = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('REVMRVRFIEZST00gdGVhbXMNCiAgICAgICAgICBXSEVSRSBJRCA9ID87');
$r122 = mysqli_prepare($zc, $oa);
$r122->bind_param(base64_decode('aQ=='), $z3);
$r122->execute();
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnN0ZWFtcw0KICAgICAgICAgIFdIRVJFIFRlYW1JRCA9ID87');
$l123 = mysqli_prepare($zc, $oa);
$l123->bind_param(base64_decode('aQ=='), $z3);
$l123->execute();
$m118 = translate(base64_decode('VGVhbSBkZWxldGVk'));
$s119[] = array(base64_decode('UmVzdWx0') => $m118);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlTmV3VXNlckdyb3Vw')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q113 = [];
foreach ($_POST[base64_decode('ZGF0YQ==')] as $u52) {
$q113[$u52[base64_decode('bmFtZQ==')]] = $u52[base64_decode('dmFsdWU=')];
}
$x9d = $_SESSION[base64_decode('aWQ=')];
$rd = $q113[base64_decode('R3JvdXBOYW1l')];
$l124 = $q113[base64_decode('R3JvdXBEZXNjcmlwdGlvbg==')];
$y125 = $q113[base64_decode('UmVsYXRlZE1vZHVsZQ==')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcmdyb3VwcyAoR3JvdXBOYW1lLCBSZWxhdGVkTW9kdWxlSUQsIEFjdGl2ZSwgRGVzY3JpcHRpb24pIFZBTFVFUyAoPyw/LDEsPyk7');
$u117 = mysqli_prepare($zc, $oa);
$u117->bind_param(base64_decode('c2lz'), $rd, $y125, $l124);
$u117->execute();
$s119[] = array(base64_decode('UmVzdWx0') => translate(base64_decode('R3JvdXAgY3JlYXRlZA==')));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlTmV3VGVhbQ==')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q113 = [];
foreach ($_POST[base64_decode('ZGF0YQ==')] as $u52) {
$q113[$u52[base64_decode('bmFtZQ==')]] = $u52[base64_decode('dmFsdWU=')];
}
$x9d = $_SESSION[base64_decode('aWQ=')];
$h11a = $q113[base64_decode('VGVhbU5hbWU=')];
$e11b = $q113[base64_decode('VGVhbUxlYWRlcg==')];
$f1e = $q113[base64_decode('VGVhbURlc2NyaXB0aW9u')];
$oa = base64_decode('SU5TRVJUIElOVE8gdGVhbXMgKFRlYW1uYW1lLCBDb2xvdXIsIEFjdGl2ZSwgVGVhbUxlYWRlciwgRGVzY3JpcHRpb24pIFZBTFVFUyAoPywxLDEsPyw/KTs=');
$u117 = mysqli_prepare($zc, $oa);
$u117->bind_param(base64_decode('c2lz'), $h11a, $e11b, $f1e);
$u117->execute();
$s119[] = array(base64_decode('UmVzdWx0') => translate(base64_decode('R3JvdXAgY3JlYXRlZA==')));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlTmV3Um9sZQ==')])) {
if (in_array(base64_decode('MTAwMDMz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q113 = [];
foreach ($_POST[base64_decode('ZGF0YQ==')] as $u52) {
$q113[$u52[base64_decode('bmFtZQ==')]] = $u52[base64_decode('dmFsdWU=')];
}
$x9d = $_SESSION[base64_decode('aWQ=')];
$r67 = $q113[base64_decode('Um9sZU5hbWU=')];
$w120 = $q113[base64_decode('Um9sZURlc2NyaXB0aW9u')];
$oa = base64_decode('SU5TRVJUIElOVE8gcm9sZXMgKFJvbGVOYW1lLCBEZXNjcmlwdGlvbiwgQWN0aXZlKSBWQUxVRVMgKD8sPywxKTs=');
$u117 = mysqli_prepare($zc, $oa);
$u117->bind_param(base64_decode('c3M='), $r67, $w120);
$u117->execute();
$s119[] = array(base64_decode('UmVzdWx0') => translate(base64_decode('Um9sZSBjcmVhdGVk')));
echo json_encode($s119);
}
if (isset($_POST[base64_decode('Y3JlYXRlY2F0ZWdvcnk=')])) {
$y126 = $_POST[base64_decode('Y3JlYXRlY2F0ZWdvcnk=')];
$oa = base64_decode('SU5TRVJUIElOVE8ga25vd2xlZGdlX2NhdGVnb3JpZXMgKE5hbWUpIFZBTFVFUyg/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $y126);
$sb->execute();
}
if (isset($_POST[base64_decode('dXBkYXRlZG9jY2F0dXNlcmdyb3Vw')])) {
$s127 = $_POST[base64_decode('dXNlcmdyb3Vw')];
$u106 = $_POST[base64_decode('bW9kYWxjYXRlZ29yaWVz')];
if ($u106 != 4) {
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9jYXRlZ29yaWVzIFNFVCBSZWxhdGVkR3JvdXBBY2Nlc3NPbmx5ID0gPyANCiAgICAgICAgICAgIFdIRVJFIGtub3dsZWRnZV9jYXRlZ29yaWVzLklEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $s127, $u106);
$sb->execute();
}
}
if (isset($_POST[base64_decode('YWRkRG9jQXNGYXZvcml0ZQ==')]) && !empty($_POST[base64_decode('ZG9jaWQ=')]) && !empty($_POST[base64_decode('ZG9jbmFtZQ==')])) {
$pde = $_POST[base64_decode('ZG9jaWQ=')];
$d100 = $_POST[base64_decode('ZG9jbmFtZQ==')];
$d100 = mysqli_real_escape_string($zc, $d100);
$p8a = $_SESSION[base64_decode('aWQ=')];
$j9f = base64_decode('Mw==');
$oa = "INSERT INTO favorites (RelatedModuleID, Name, URL, RelatedUserID) VALUES (?,?,'knowledge_view.php?docid=$pde',?);";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nz'), $j9f, $d100, $p8a);
$sb->execute();
}
if (isset($_POST[base64_decode('YWRkRG9jQXNUYXNr')]) && !empty($_POST[base64_decode('ZG9jaWQ=')]) && !empty($_POST[base64_decode('ZG9jbmFtZQ==')])) {
$d128 = $_POST[base64_decode('ZG9jaWQ=')];
$d129 = $_POST[base64_decode('ZG9jbmFtZQ==')];
$b12a = $_POST[base64_decode('c3RhdHVz')];
$qa0 = $_POST[base64_decode('dmVyc2lvbg==')];
$y12b = $_POST[base64_decode('b3duZXI=')];
$m72 = $_POST[base64_decode('Y2F0ZWdvcnk=')];
$p8a = ($_SESSION[base64_decode('aWQ=')]);
$r9 = date(base64_decode('WS1tLWQgSDppOnM='));
$x12c = convertFromDanishTimeFormat($x12c);
$j9f = 3;
$t12d = getModuleTypeIconName($j9f);
$h12e = base64_decode('PGEgaHJlZj0na25vd2xlZGdlX3ZpZXcucGhwP2RvY2lkPQ==') . $d128 . base64_decode('JyBjbGFzcz0nYnRuIGJ0bi1zbSBidG4tZGFyaycgcm9sZT0nYnV0dG9uJz5HbyBUbyBEb2N1bWVudDwvYT4=');
$h12e = mysqli_real_escape_string($zc, $h12e);
$y12f = $h12e . base64_decode('IDxicj48YnI+PGI+RG9jdW1lbnQ6PC9iPiA=') . $d128 . base64_decode('PGJyPjxiPk5hbWU6PC9iPiA=') . $d129 . base64_decode('PGJyPjxiPlZlcnNpb246PC9iPiA=') . $qa0 . base64_decode('PGJyPjxiPkNhdGVnb3J5OjwvYj4g') . $m72 . base64_decode('PGJyPjxiPk93bmVyOjwvYj4g') . $y12b . base64_decode('PGJyPjxiPlN0YXR1czo8L2I+IA==') . $b12a;
$eca = "<i class=\"fa $t12d\"></i> Document " . $d128;
$oa = base64_decode('SU5TRVJUIElOVE8gdGFza3NsaXN0IChOb3RlLCBTdWJqZWN0LCBSZWxhdGVkVXNlcklELCBEYXRlQWRkZWQsIFJlbGF0ZWRUaWNrZXRJRCwgRGVhZGxpbmUsIHRvZG8pIFZBTFVFUyAoJw==') . $y12f . base64_decode('Jywn') . $eca . base64_decode('Jywn') . $p8a . base64_decode('Jywn') . $r9 . base64_decode('Jywn') . $d128 . base64_decode('Jywn') . $r9 . base64_decode('JywneWVzJyk7');
mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
echo $hff;
die;
}
if (isset($_GET[base64_decode('VGVhbUlE')])) {
$b130 = $_GET[base64_decode('VGVhbUlE')];
$oa = base64_decode('U0VMRUNUIHVzZXJzLklEIEFTIFVzZXJJRCwgQ09OQ0FUKHVzZXJzLmZpcnN0bmFtZSwnICcsdXNlcnMubGFzdG5hbWUsJyAoJyx1c2Vycy51c2VybmFtZSwnKScpIEFTIEZ1bGxOYW1lDQogICAgICAgICAgRlJPTSB1c2VycyANCiAgICAgICAgICBMRUZUIEpPSU4gdXNlcnN0ZWFtcyBPTiB1c2Vyc3RlYW1zLlVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgTEVGVCBKT0lOIHRlYW1zIE9OIHVzZXJzdGVhbXMuVGVhbUlEID0gdGVhbXMuSUQNCiAgICAgICAgICBXSEVSRSB1c2Vycy5BY3RpdmU9VFJVRSBBTkQgdXNlcnMuUmVsYXRlZFVzZXJUeXBlSUQgPSAxIEFORCB0ZWFtcy5JRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $b130);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$a131[] = array(base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')]);
}
mysqli_free_result($d13);
echo json_encode($a131, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('ZGVsZXRlRmF2b3JpdGVFbnRyeQ==')])) {
$c132 = $_GET[base64_decode('RmF2b3JpdGVJRA==')];
$oa = base64_decode('REVMRVRFIEZST00gZmF2b3JpdGVzIFdIRVJFIGZhdm9yaXRlcy5JRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $c132);
$sb->execute();
}
if (isset($_GET[base64_decode('ZGVsZXRlV2F0Y2hsaXN0RW50cnk=')])) {
$z133 = $_GET[base64_decode('V0xJRA==')];
$oa = base64_decode('REVMRVRFIEZST00gd2F0Y2hsaXN0IFdIRVJFIHdhdGNobGlzdC5JRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $z133);
$sb->execute();
}
if (isset($_GET[base64_decode('YWRkdGltZXJlZ2lzdHJhdGlvbg==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$k134 = $_GET[base64_decode('cmVsYXRlZHRhc2s=')];
$s135 = $_GET[base64_decode('ZGVzY3JpcHRpb24=')];
$l136 = $_GET[base64_decode('dGltZXNwZW5k')];
$i137 = $_GET[base64_decode('YmlsbGFibGU=')];
$j138 = convertFromDanishTimeFormat($_GET[base64_decode('ZGF0ZXBlcmZvcm1lZA==')]);
$oa = base64_decode('SU5TRVJUIElOVE8gdGltZV9yZWdpc3RyYXRpb25zIChSZWxhdGVkVGFza0lELCBSZWxhdGVkVXNlcklELCBEZXNjcmlwdGlvbiwgVGltZVJlZ2lzdGVyZWQsIERhdGVXb3JrZWQsIERhdGVSZWdpc3RlcmVkLEJpbGxhYmxlKQ0KICAgICAgICAgIFZBTFVFUyAoPyw/LD8sPyw/LCBOT1coKSw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nz'), $k134, $p8a, $s135, $l136, $j138, $i137);
$sb->execute();
}
if (isset($_GET[base64_decode('Y2hhbmdldGltZXJlZ2lzdHJhdGlvbg==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$g139 = $_POST[base64_decode('cmVnaXN0cmF0aW9uaWQ=')];
$k134 = $_POST[base64_decode('cmVsYXRlZHRhc2s=')];
$s135 = $_POST[base64_decode('ZGVzY3JpcHRpb24=')];
$i137 = $_POST[base64_decode('YmlsbGFibGU=')];
$l136 = $_POST[base64_decode('dGltZXNwZW5k')];
$j138 = convertFromDanishTimeFormat($_POST[base64_decode('ZGF0ZXBlcmZvcm1lZA==')]);
$oa = base64_decode('VVBEQVRFIHRpbWVfcmVnaXN0cmF0aW9ucyBTRVQgUmVsYXRlZFRhc2tJRCA9ID8sIERlc2NyaXB0aW9uID0gPywgQmlsbGFibGUgPSA/LCBUaW1lUmVnaXN0ZXJlZCA9ID8sIERhdGVXb3JrZWQgPSA/DQogICAgICAgICAgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aXNpaXNp'), $k134, $s135, $i137, $l136, $j138, $g139);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRldGFza2Zyb21tb2RhbA==')])) {
$l8 = $_GET[base64_decode('dGFza2lk')];
$j7e = convertFromDanishTimeFormat($_GET[base64_decode('ZGVhZGxpbmU=')]);
$oa = base64_decode('VVBEQVRFIHRhc2tzbGlzdCBTRVQgRGVhZGxpbmUgPSA/DQogICAgICAgICAgV0hFUkUgdGFza3NsaXN0LklEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $j7e, $l8);
$sb->execute();
}
if (isset($_GET[base64_decode('Z2V0VXNlcnNJblRlYW0=')])) {
$z3 = $_POST[base64_decode('VGVhbUlE')];
$oa = base64_decode('U0VMRUNUIHVzZXJzLklEIEFTIFVzZXJJRCwgQ09OQ0FUKHVzZXJzLkZpcnN0bmFtZSwnICcsdXNlcnMuTGFzdG5hbWUsJyAoJyxVc2VybmFtZSwnKScpIEFTIFVzZXJGdWxsTmFtZQ0KICAgICAgICAgIEZST00gdXNlcnN0ZWFtcw0KICAgICAgICAgIExFRlQgSk9JTiB1c2VycyBPTiB1c2Vyc3RlYW1zLlVzZXJJRCA9IHVzZXJzLklEIA0KICAgICAgICAgIExFRlQgSk9JTiB0ZWFtcyBPTiB1c2Vyc3RlYW1zLlRlYW1JRCA9IHRlYW1zLklEDQogICAgICAgICAgV0hFUkUgdXNlcnN0ZWFtcy5UZWFtSUQgPSA/IEFORCB1c2Vycy5BY3RpdmUgSU4gKDAsMSwyKTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $z3);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$h13a[] = array(base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('VXNlckZ1bGxOYW1l') => $l14[base64_decode('VXNlckZ1bGxOYW1l')]);
}
if (empty($h13a)) {
echo json_encode([]);
} else {
echo json_encode($h13a, JSON_PRETTY_PRINT);
}
}
if (isset($_GET[base64_decode('Z2V0dXNlcnNpbkNBQg==')])) {
$s13b = $_GET[base64_decode('Z2V0dXNlcnNpbkNBQg==')];
$oa = base64_decode('U0VMRUNUIHVzZXJzLklEIEFTIFVzZXJJRCwgQ09OQ0FUKHVzZXJzLkZpcnN0bmFtZSwnICcsdXNlcnMuTGFzdG5hbWUsJyAoJyxVc2VybmFtZSwnKScpIEFTIFVzZXJGdWxsTmFtZQ0KICAgICAgICAgIEZST00gY2FiX3VzZXJzDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIGNhYl91c2Vycy5Vc2VySUQgPSB1c2Vycy5JRCANCiAgICAgICAgICBXSEVSRSBjYWJfdXNlcnMuQ0FCSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $s13b);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$h13a[] = array(base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('VXNlckZ1bGxOYW1l') => $l14[base64_decode('VXNlckZ1bGxOYW1l')]);
}
if (empty($h13a)) {
$h13a[] = array(base64_decode('VXNlcklE') => base64_decode('MA=='), base64_decode('VXNlckZ1bGxOYW1l') => base64_decode('ZW1wdHk='));
}
mysqli_free_result($d13);
echo json_encode($h13a, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0RmF2b3JpdGVz')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIGZhdm9yaXRlcy5JRCwgZmF2b3JpdGVzLk5hbWUsIGZhdm9yaXRlcy5VUkwNCiAgICAgICAgICBGUk9NIGZhdm9yaXRlcw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$j66 = $l14[base64_decode('TmFtZQ==')];
$cce = $l14[base64_decode('VVJM')];
$b33 = "<a href='$cce'>$j66</a>";
$g32 = "<a href='javascript:(deleteFavoriteListEntry($r46));' title='" . _(base64_decode('RGVsZXRl')) . base64_decode('Jz48aSBjbGFzcz0iZmEtc29saWQgZmEtdHJhc2giPjwvaT48L2E+');
$s119[] = array(base64_decode('SUQ=') => $r46, base64_decode('TGluaw==') => $b33, base64_decode('RGVsZXRlTGluaw==') => $g32);
}
mysqli_free_result($d13);
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Z2V0V2F0Y2hsaXN0')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIHdhdGNobGlzdC5JRCwgd2F0Y2hsaXN0LkVsZW1lbnROYW1lLCB3YXRjaGxpc3QuVVJMLCB3YXRjaGxpc3QuRWxlbWVudElEDQogICAgICAgICAgRlJPTSB3YXRjaGxpc3QNCiAgICAgICAgICBXSEVSRSBSZWxhdGVkVXNlcklEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$cc2 = $l14[base64_decode('RWxlbWVudElE')];
$g13c = $l14[base64_decode('RWxlbWVudE5hbWU=')];
$cce = $l14[base64_decode('VVJM')];
$b33 = "<a href='$cce'>" . $g13c . base64_decode('IA==') . $cc2 . base64_decode('PC9hPg==');
$g32 = "<a href='javascript:(deleteWatchlistEntry($r46));' title='" . _(base64_decode('RGVsZXRl')) . base64_decode('Jz48aSBjbGFzcz0iZmEtc29saWQgZmEtdHJhc2giPjwvaT48L2E+');
$s119[] = array(base64_decode('SUQ=') => $r46, base64_decode('TGluaw==') => $b33, base64_decode('RGVsZXRlTGluaw==') => $g32);
}
mysqli_free_result($d13);
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Z2V0U2hvcnRjdXRz')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIHVzZXJzX3F1aWNrbWVudS5JRCwgdXNlcnNfcXVpY2ttZW51X2Nob2ljZXMuTmFtZSwgdXNlcnNfcXVpY2ttZW51X2Nob2ljZXMuVVJMDQogICAgICAgICAgRlJPTSB1c2Vyc19xdWlja21lbnVfY2hvaWNlcw0KICAgICAgICAgIExFRlQgSk9JTiB1c2Vyc19xdWlja21lbnUgT04gdXNlcnNfcXVpY2ttZW51X2Nob2ljZXMuSUQgPSB1c2Vyc19xdWlja21lbnUuUmVsYXRlZENob2ljZUlEDQogICAgICAgICAgV0hFUkUgdXNlcnNfcXVpY2ttZW51LlJlbGF0ZWRVc2VySUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$m13d = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$j66 = translate($l14[base64_decode('TmFtZQ==')]);
$cce = $l14[base64_decode('VVJM')];
$u13e = "<a href='$cce'>$j66</a>";
$m13d[] = [base64_decode('SUQ=') => $r46, base64_decode('TmFtZQ==') => $j66, base64_decode('VVJM') => $cce, base64_decode('TGluaw==') => $u13e];
}
usort($m13d, function ($x13f, $a140) {
return strcmp($x13f[base64_decode('TmFtZQ==')], $a140[base64_decode('TmFtZQ==')]);
});
foreach ($m13d as $f141) {
$s119[] = array(base64_decode('SUQ=') => $f141[base64_decode('SUQ=')], base64_decode('TGluaw==') => $f141[base64_decode('TGluaw==')]);
}
if (empty($s119)) {
echo json_encode([], JSON_PRETTY_PRINT);
} else {
echo json_encode($s119, JSON_PRETTY_PRINT);
}
mysqli_free_result($d13);
}
if (isset($_GET[base64_decode('Z2V0R2VuZXJpY0Zvcm1z')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y125 = base64_decode('MTY=');
$oa = base64_decode('U0VMRUNUIElELCBGb3Jtc05hbWUNCiAgICAgICAgICBGUk9NIGZvcm1zDQogICAgICAgICAgV0hFUkUgZm9ybXMuQWN0aXZlID0gJzEnIEFORCBSZWxhdGVkTW9kdWxlSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $y125);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$j66 = $l14[base64_decode('Rm9ybXNOYW1l')];
$cce = "./administration_formview.php?formid=$r46";
$b33 = "<a href='$cce'>$j66</a>";
$s119[] = array(base64_decode('SUQ=') => $r46, base64_decode('TGluaw==') => $b33);
}
if (empty($s119)) {
echo json_encode([], JSON_PRETTY_PRINT);
} else {
echo json_encode($s119, JSON_PRETTY_PRINT);
}
mysqli_free_result($d13);
}
if (isset($_GET[base64_decode('Z2V0VGV4dFRlbXBsYXRlQ29kZXM=')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIENvZGUNCiAgICAgICAgICBGUk9NIHRleHRfdGVtcGxhdGVzDQogICAgICAgICAgV0hFUkUgVXNlcklEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $x9d);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$h142 = $l14[base64_decode('Q29kZQ==')];
$s119[] = array(base64_decode('Q29kZQ==') => $h142);
}
mysqli_free_result($d13);
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Z2V0VGV4dFRlbXBsYXRlQ29udGVudEZyb21Db2Rl')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$h142 = $_GET[base64_decode('Q29kZQ==')];
$oa = base64_decode('U0VMRUNUIENvbnRlbnQNCiAgICAgICAgICBGUk9NIHRleHRfdGVtcGxhdGVzDQogICAgICAgICAgV0hFUkUgVXNlcklEID0gPyBBTkQgQ29kZSA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $x9d, $h142);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$b6b = $l14[base64_decode('Q29udGVudA==')];
$s119[] = array(base64_decode('Q29udGVudA==') => $b6b);
}
mysqli_free_result($d13);
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Z2V0VGV4dFRlbXBsYXRlQ29udGVudA==')])) {
$m143 = $_GET[base64_decode('dGVtcGxhdGVpZA==')];
if (empty($m143)) {
echo json_encode([]);
exit;
}
$oa = base64_decode('U0VMRUNUIElELCBOYW1lLCBDb2RlLCBDb250ZW50DQogICAgICAgICAgRlJPTSB0ZXh0X3RlbXBsYXRlcw0KICAgICAgICAgIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $m143);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$j66 = $l14[base64_decode('TmFtZQ==')];
$h142 = $l14[base64_decode('Q29kZQ==')];
$b6b = $l14[base64_decode('Q29udGVudA==')];
$s119[] = array(base64_decode('SUQ=') => $r46, base64_decode('TmFtZQ==') => $j66, base64_decode('Q29kZQ==') => $h142, base64_decode('Q29udGVudA==') => $b6b);
}
mysqli_free_result($d13);
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('dXBkYXRlVGV4dFRlbXBsYXRl')])) {
$faf = $_GET[base64_decode('VGVtcGxhdGVJRA==')];
$q144 = $_GET[base64_decode('VGVtcGxhdGVOYW1l')];
$j145 = $_GET[base64_decode('VGVtcGxhdGVDb2Rl')];
$u146 = $_GET[base64_decode('VGVtcGxhdGVUZXh0')];
if (empty($faf)) {
exit;
}
$oa = base64_decode('VVBEQVRFIHRleHRfdGVtcGxhdGVzIFNFVCBOYW1lID0gPywgQ29kZSA9ID8sIENvbnRlbnQgPSA/DQogICAgICAgICAgV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $q144, $j145, $u146, $faf);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('ZGVsZXRlVGV4dFRlbXBsYXRl')])) {
$m143 = $_GET[base64_decode('dGVtcGxhdGVpZA==')];
$oa = base64_decode('REVMRVRFIEZST00gdGV4dF90ZW1wbGF0ZXMgV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $m143);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('Y3JlYXRlVGV4dFRlbXBsYXRl')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$q144 = $_GET[base64_decode('VGVtcGxhdGVOYW1l')];
$j145 = $_GET[base64_decode('VGVtcGxhdGVDb2Rl')];
$u146 = $_GET[base64_decode('VGVtcGxhdGVUZXh0')];
$oa = base64_decode('SU5TRVJUIElOVE8gdGV4dF90ZW1wbGF0ZXMoTmFtZSxDb2RlLENvbnRlbnQsVXNlcklEKSBWQUxVRVMgKD8sPyw/LD8pOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $q144, $j145, $u146, $x9d);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('Z2V0dXNlcnNpbnByb2plY3Q=')])) {
$mcb = $_GET[base64_decode('Z2V0dXNlcnNpbnByb2plY3Q=')];
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdXNlcnMuVXNlcklELCBDT05DQVQodXNlcnMuZmlyc3RuYW1lLCcgJyx1c2Vycy5sYXN0bmFtZSwnICgnLHVzZXJzLnVzZXJuYW1lLCcpJykgQVMgRnVsbE5hbWUNCiAgICAgICAgICBGUk9NIHByb2plY3RzIA0KICAgICAgICAgIExFRlQgSk9JTiBwcm9qZWN0X3VzZXJzIE9OIHByb2plY3RzLklEID0gcHJvamVjdF91c2Vycy5Qcm9qZWN0SUQNCiAgICAgICAgICBMRUZUIEpPSU4gdXNlcnMgT04gcHJvamVjdF91c2Vycy5Vc2VySUQgPSB1c2Vycy5JRA0KICAgICAgICAgIFdIRVJFIFByb2plY3RJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$h13a[] = array(base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')]);
}
mysqli_free_result($d13);
echo json_encode($h13a, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0dXNlcnNpbnByb2plY3R0YXNr')])) {
$l147 = $_GET[base64_decode('Z2V0dXNlcnNpbnByb2plY3R0YXNr')];
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdGFza3NfdXNlcnMuVXNlcklEIEFTIFVzZXJJRCwgQ09OQ0FUKHVzZXJzLmZpcnN0bmFtZSwnICcsdXNlcnMubGFzdG5hbWUsJyAoJyx1c2Vycy51c2VybmFtZSwnKScpIEFTIEZ1bGxOYW1lDQogICAgICAgICAgRlJPTSBwcm9qZWN0X3Rhc2tzDQogICAgICAgICAgTEVGVCBKT0lOIHByb2plY3RfdGFza3NfdXNlcnMgT04gcHJvamVjdF90YXNrcy5JRCA9IHByb2plY3RfdGFza3NfdXNlcnMuUHJvamVjdFRhc2tJRA0KICAgICAgICAgIExFRlQgSk9JTiB1c2VycyBPTiBwcm9qZWN0X3Rhc2tzX3VzZXJzLlVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgV0hFUkUgcHJvamVjdF90YXNrcy5JRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $l147);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$h13a[] = array(base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')]);
}
mysqli_free_result($d13);
echo json_encode($h13a, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cmVtb3ZldXNlcmZyb210ZWFt')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$z3 = $_GET[base64_decode('cmVtb3ZldXNlcmZyb210ZWFt')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnN0ZWFtcyBXSEVSRSBVc2VySUQgPSA/IEFORCBUZWFtSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $z3);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('cmVtb3ZldXNlcmZyb21jb21wYW55')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$h2 = $_GET[base64_decode('cmVtb3ZldXNlcmZyb21jb21wYW55')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBDb21wYW55SUQgPSBOVUxMIFdIRVJFIHVzZXJzLklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('cmVtb3ZldXNlcmZyb21wcm9qZWN0')])) {
$k148 = $_GET[base64_decode('dXNlcmlk')];
$mcb = $_GET[base64_decode('cmVtb3ZldXNlcmZyb21wcm9qZWN0')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdF91c2VycyBXSEVSRSBVc2VySUQgPSA/IEFORCBQcm9qZWN0SUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $k148, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('VXNlcjog') . $k148 . base64_decode('IHJlbW92ZWQgZnJvbSBwcm9qZWN0');
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdE1hbmFnZXI=')])) {
$t149 = $_GET[base64_decode('dXBkYXRlUHJvamVjdE1hbmFnZXI=')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBQcm9qZWN0TWFuYWdlciA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $t149, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('VXNlcjog') . $t149 . base64_decode('IHNldCBhcyBwcm9qZWN0IG1hbmFnZXI=');
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFJlc3BvbnNpYmxl')])) {
$s14a = $_GET[base64_decode('dXBkYXRlUHJvamVjdFJlc3BvbnNpYmxl')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBQcm9qZWN0UmVzcG9uc2libGUgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $s14a, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('VXNlcjog') . $s14a . base64_decode('IHNldCBhcyBwcm9qZWN0IHJlc3BvbnNpYmxl');
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdEN1c3RvbWVy')])) {
$k14b = $_GET[base64_decode('dXBkYXRlUHJvamVjdEN1c3RvbWVy')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBSZWxhdGVkQ29tcGFueUlEID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $k14b, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('Q3VzdG9tZXIgSUQ6IA==') . $k14b . base64_decode('IGNob3Nlbg==');
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFN0YXR1cw==')])) {
$b14c = $_GET[base64_decode('dXBkYXRlUHJvamVjdFN0YXR1cw==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBTdGF0dXMgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $b14c, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('U3RhdHVzOiA=') . $b14c . base64_decode('IGNob3Nlbg==');
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdERlYWRsaW5l')])) {
$e14d = convertFromDanishTimeFormat($_GET[base64_decode('dXBkYXRlUHJvamVjdERlYWRsaW5l')]);
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBEZWFkbGluZSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $e14d, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RGVhZGxpbmUgY2hhbmdlZCB0bzog') . $e14d;
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdEVzdEJ1ZGdldA==')])) {
$b14e = $_GET[base64_decode('dXBkYXRlUHJvamVjdEVzdEJ1ZGdldA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBFc3RpbWF0ZWRCdWRnZXQgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $b14e, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RXN0aW1hdGVkIEJ1ZGdldCBjaGFuZ2VkIHRvOiA=') . $b14e;
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdEVzdGhvdXJz')])) {
$d14f = $_GET[base64_decode('dXBkYXRlUHJvamVjdEVzdGhvdXJz')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBFc3RpbWF0ZWRIb3VycyA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $d14f, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RXN0aW1hdGVkIEhvdXJzIGNoYW5nZWQgdG86IA==') . $d14f;
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdE5hbWU=')])) {
$h150 = $_GET[base64_decode('dXBkYXRlUHJvamVjdE5hbWU=')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBOYW1lID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $h150, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBOYW1lIGNoYW5nZWQgdG86IA==') . $h150;
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdERlc2NyaXB0aW9u')])) {
$v151 = $_GET[base64_decode('dXBkYXRlUHJvamVjdERlc2NyaXB0aW9u')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBEZXNjcmlwdGlvbiA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $v151, $mcb);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBkZXNjcmlwdGlvbiBjaGFuZ2VkIHRvOiA=') . $v151;
createProjectLogEntry($mcb, '', $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tSZXNwb25zaWJsZQ==')])) {
$q152 = $_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tSZXNwb25zaWJsZQ==')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIFJlc3BvbnNpYmxlID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $q152, $l147);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBUYXNrIFJlc3BvbnNpYmxlIGNoYW5nZWQgdG86IA==') . $q152;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tTdGF0dXM=')])) {
$oa = '';
$v153 = $_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tTdGF0dXM=')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if ($v153 == 7) {
$g154 = 100;
$k155 = $r9 = date(base64_decode('WS1tLWQgSDppOnM='));
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIFN0YXR1cyA9ID8sIFByb2dyZXNzID0gPywgQ29tcGxldGVkRGF0ZSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $v153, $g154, $k155, $l147);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIFN0YXR1cyA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $v153, $l147);
$sb->execute();
$d13 = $sb->get_result();
}
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBTdGF0dXMgY2hhbmdlZCB0bzog') . $v153;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tEZWFkbGluZQ==')])) {
$k156 = convertFromDanishTimeFormat($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tEZWFkbGluZQ==')]);
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$v157 = getProjectTaskStartDate($l147);
$p158 = strtotime($v157);
$p159 = strtotime($k156);
if ($p159 < $p158) {
echo json_encode([base64_decode('ZXJyb3I=') => translate(base64_decode('RW5kIGRhdGUgY2Fubm90IGJlIGJlZm9yZSBzdGFydCBkYXRl'))]);
exit;
}
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIERlYWRsaW5lID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $k156, $l147);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBkZWFkbGluZSBjaGFuZ2VkIHRvOiA=') . $k156;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo json_encode([base64_decode('c3VjY2Vzcw==') => translate(base64_decode('VXBkYXRlZA=='))]);
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tQcm9ncmVzcw==')])) {
$g154 = $_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tQcm9ncmVzcw==')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = getProjectIDFromTaskID($l147);
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIFByb2dyZXNzID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $g154, $l147);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBQcm9ncmVzcyBjaGFuZ2VkIHRvOiA=') . $g154;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tFc3RidWRnZXQ=')])) {
$a15a = $_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tFc3RidWRnZXQ=')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIEVzdGltYXRlZEJ1ZGdldCA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $a15a, $l147);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBFc3RpbWF0ZWQgYnVkZ2V0IGNoYW5nZWQgdG86IA==') . $a15a;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2s=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
if ($_SESSION[base64_decode('aWQ=')] == '') {
return;
}
$j9f = base64_decode('MTM=');
$mcb = $_POST[base64_decode('UHJvamVjdElE')];
$l147 = $_POST[base64_decode('UHJvamVjdFRhc2tJRA==')];
if (!$mcb) {
$mcb = getRelatedProjectFromProjectTask($l147);
}
$n15b = $_POST[base64_decode('VGFza1Jlc3BvbnNpYmxl')];
$v153 = $_POST[base64_decode('UHJvamVjdFRhc2tTdGF0dXM=')];
$n15c = $_POST[base64_decode('UHJvamVjdFRhc2tQYXJlbnQ=')];
$s15d = $_POST[base64_decode('UHJvamVjdFRhc2tTdGFydA==')];
$k156 = $_POST[base64_decode('UHJvamVjdFRhc2tEZWFkbGluZQ==')];
$t15e = convertFromDanishTimeFormat($s15d);
$l15f = convertFromDanishTimeFormat($k156);
$p158 = strtotime($t15e);
$p159 = strtotime($l15f);
if ($p159 <= $p158) {
$r160 = translate(base64_decode('RW5kIGRhdGUgY2Fubm90IGJlIGJlZm9yZSBvciB0aGUgc2FtZSBhcyB0aGUgc3RhcnQgZGF0ZQ=='));
$q34[] = array(base64_decode('UmVzdWx0') => $r160);
echo json_encode($q34);
return;
}
$s161 = $_POST[base64_decode('UHJvamVjdFRhc2tFc3RpbWF0ZWRCdWRnZXQ=')];
$k162 = $_POST[base64_decode('UHJvamVjdFRhc2tCdWRnZXRTcGVuZA==')];
$z163 = $_POST[base64_decode('UHJvamVjdFRhc2tFc3RpbWF0ZWRIb3Vycw==')];
$i164 = $_POST[base64_decode('UHJvamVjdFRhc2tIb3Vyc1NwZW5k')];
$l165 = $_POST[base64_decode('UHJvamVjdFJlbGF0ZWRDYXRlZ29yeQ==')];
$g154 = $_POST[base64_decode('UHJvamVjdFRhc2tQcm9ncmVzcw==')];
$a166 = $_POST[base64_decode('UHJvamVjdFRhc2tOYW1l')];
$k167 = $_POST[base64_decode('UHJvamVjdFByaXZhdGU=')];
$r168 = $_POST[base64_decode('UHJvamVjdFRhc2tEZXNjcmlwdGlvbg==')];
$r168 = sanitizeTextAndBase64($r168, $l147, $j9f);
if ($g154 == '') {
$g154 = base64_decode('MA==');
}
if ($s161 == '') {
$s161 = base64_decode('MA==');
}
if ($k162 == '') {
$k162 = base64_decode('MA==');
}
if ($z163 == '') {
$z163 = base64_decode('MA==');
}
if ($i164 == '') {
$i164 = base64_decode('MA==');
}
if ($v153 == base64_decode('Nw==')) {
$g154 = base64_decode('MTAw');
}
if ($v153 == base64_decode('MQ==')) {
$g154 = base64_decode('MA==');
}
updateProjectTask($mcb, $l147, $n15b, $v153, $n15c, $s15d, $k156, $s161, $k162, $z163, $i164, $l165, $g154, $a166, $r168, $k167);
updateKanbanTaskFromElement($l147, base64_decode('MTM='), $v153);
$j109 = 2;
$ra3 = "Projekt task: $l147 updated";
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
$q34[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($q34);
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tCdWRnZXRzcGVuZA==')])) {
$k162 = $_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tCdWRnZXRzcGVuZA==')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIEJ1ZGdldFNwZW5kID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $k162, $l147);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBidWRnZXQgc3BlbmQgY2hhbmdlZCB0bzog') . $k162;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tFc3RIb3Vycw==')])) {
$d169 = $_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tFc3RIb3Vycw==')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIEVzdGltYXRlZEhvdXJzID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $d169, $l147);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBlc3RpbWF0ZWQgaG91cnMgY2hhbmdlZCB0bzog') . $d169;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFJlbFNwcmludA==')])) {
$v16a = $_GET[base64_decode('dXBkYXRlUHJvamVjdFJlbFNwcmludA==')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIFJlbGF0ZWRDYXRlZ29yeSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $v16a, $l147);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBUYXNrIFNwcmludCBJRCBjaGFuZ2VkIHRvOiA=') . $v16a;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tOYW1l')])) {
$a166 = $_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tOYW1l')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIFRhc2tOYW1lID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $a166, $l147);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBUYXNrIE5hbWUgY2hhbmdlZCB0bzog') . $a166;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlVXNlckVtYWlsQWRkcmVzcw==')])) {
$g16b = $_GET[base64_decode('dXBkYXRlVXNlckVtYWlsQWRkcmVzcw==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBFbWFpbCA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $g16b, $p8a);
$sb->execute();
$d13 = $sb->get_result();
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlVXNlckZpcnN0bmFtZQ==')])) {
$u16c = $_GET[base64_decode('dXBkYXRlVXNlckZpcnN0bmFtZQ==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBGaXJzdG5hbWUgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $u16c, $p8a);
$sb->execute();
$d13 = $sb->get_result();
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlVXNlckxhc3RuYW1l')])) {
$r16d = $_GET[base64_decode('dXBkYXRlVXNlckxhc3RuYW1l')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBMYXN0bmFtZSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r16d, $p8a);
$sb->execute();
$d13 = $sb->get_result();
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlVXNlclBob25l')])) {
$y16e = $_GET[base64_decode('dXBkYXRlVXNlclBob25l')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBQaG9uZSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $y16e, $p8a);
$sb->execute();
$d13 = $sb->get_result();
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlVXNlckJpcnRoZGF5')])) {
$j16f = convertFromDanishDateFormat($_GET[base64_decode('dXBkYXRlVXNlckJpcnRoZGF5')]);
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBCaXJ0aGRheSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $j16f, $p8a);
$sb->execute();
$d13 = $sb->get_result();
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlVXNlckpvYlRpdGVs')])) {
$r170 = $_POST[base64_decode('am9idGl0ZWw=')];
$r170 = mysqli_real_escape_string($zc, $r170);
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBKb2JUaXRlbCA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r170, $p8a);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRlVXNlckxpbmtlZElu')])) {
$x171 = $_GET[base64_decode('dXBkYXRlVXNlckxpbmtlZElu')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBMaW5rZWRpbiA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $x171, $p8a);
$sb->execute();
$d13 = $sb->get_result();
echo base64_decode('PHNjcmlwdD5sb2NhdGlvbi5yZWxvYWQodHJ1ZSk7PC9zY3JpcHQ+');
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRTdGF0dXM=')])) {
$o172 = $_POST[base64_decode('c3RhdHVz')];
$z173 = $_POST[base64_decode('cHJldmlvdXM=')];
$o174 = $_POST[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if ($o172 == 5) {
$qa0 = incrementDocVersion($o174);
CreateDocArchive($o174, $qa0, $p8a);
}
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIFJlbGF0ZWRTdGF0dXNJRCA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $o172, $o174);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgU3RhdHVzIGNoYW5nZWQgZnJvbTog') . $z173 . base64_decode('IHRvOiA=') . $o172;
createDocLogEntry($o174, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRPd25lcg==')])) {
$x175 = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnRPd25lcg==')];
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIFJlbGF0ZWRPd25lcklEID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $x175, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgT3duZXIgY2hhbmdlZCBmcm9tOiA=') . $z173 . base64_decode('IHRvOiA=') . $x175;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRBcHByb3Zlcg==')])) {
$t176 = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnRBcHByb3Zlcg==')];
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIFJlbGF0ZWRBcHByb3ZlcklEID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $t176, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgQXBwcm92ZXIgY2hhbmdlZCBmcm9tOiA=') . $z173 . base64_decode('IHRvOiA=') . $t176;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRSZXZpZXdlcg==')])) {
$e177 = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnRSZXZpZXdlcg==')];
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIFJlbGF0ZWRSZXZpZXdlcklEID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $e177, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgUmV2aWV3ZXIgY2hhbmdlZCBmcm9tOiA=') . $z173 . base64_decode('IHRvOiA=') . $e177;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRHcm91cA==')])) {
$v178 = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnRHcm91cA==')];
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIFJlbGF0ZWRHcm91cElEID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $v178, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgR3JvdXAgY2hhbmdlZCBmcm9tOiA=') . $z173 . base64_decode('IHRvOiA=') . $v178;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRDYXRlZ29yeQ==')])) {
$t179 = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnRDYXRlZ29yeQ==')];
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIFJlbGF0ZWRDYXRlZ29yeSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $t179, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgQ2F0ZWdvcnkgY2hhbmdlZCBmcm9tOiA=') . $z173 . base64_decode('IHRvOiA=') . $t179;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRSZWxhdGVkQ29tcGFueQ==')])) {
$u17a = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnRSZWxhdGVkQ29tcGFueQ==')];
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIFJlbGF0ZWRDb21wYW55ID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $u17a, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgUHVibGljIGNoYW5nZWQgZnJvbTog') . $z173 . base64_decode('IHRvOiA=') . $q17b;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRQdWJsaWNDYXQ=')])) {
$z17c = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnRQdWJsaWNDYXQ=')];
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIFJlbGF0ZWRQdWJsaWNDYXRlZ29yeUlEID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $z17c, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgUHVibGljIENhdGVnb3J5IGNoYW5nZWQgZnJvbTog') . $z173 . base64_decode('IHRvOiA=') . $z17c;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnRFeHBpcmF0aW9uRGF0ZQ==')])) {
$a17d = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnRFeHBpcmF0aW9uRGF0ZQ==')];
$t17e = convertFromDanishTimeFormat($a17d);
$q17f = convertToDanishTimeFormat($_GET[base64_decode('cHJldmlvdXM=')]);
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIEV4cGlyYXRpb25EYXRlID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $t17e, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgRXhwaXJhdGlvbiBEYXRlIGNoYW5nZWQgZnJvbTog') . $q17f . base64_decode('IHRvOiA=') . $a17d;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jdW1lbnREb2NuYW1l')])) {
$y180 = $_GET[base64_decode('dXBkYXRlRG9jdW1lbnREb2NuYW1l')];
$z173 = $_GET[base64_decode('cHJldmlvdXM=')];
$pde = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIE5hbWUgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $y180, $pde);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgTmFtZSBjaGFuZ2VkIGZyb206IA==') . $z173 . base64_decode('IHRvOiA=') . $y180;
createDocLogEntry($pde, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nRG9jQ29udGVudA==')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$h181 = htmlspecialchars_decode($_POST[base64_decode('Y29udGVudA==')]);
$h181 = stripStringFromScrollbarTags($h181);
$c182 = strip_tags(str_replace(base64_decode('PA=='), base64_decode('IDw='), $h181));
$c182 = filterStopWords($c182, $q4);
$pde = $_POST[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIGNvbnRlbnQgRlJPTSBrbm93bGVkZ2VfZG9jdW1lbnRzIFdIRVJFIElEID0gPw==');
$c183 = mysqli_prepare($zc, $oa);
$c183->bind_param(base64_decode('cw=='), $pde);
$c183->execute();
$d13 = $c183->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$p184 = $l14[base64_decode('Y29udGVudA==')];
}
$oa = base64_decode('VVBEQVRFIGtub3dsZWRnZV9kb2N1bWVudHMgU0VUIENvbnRlbnQgPSA/LCBDb250ZW50RnVsbFRleHQgPSA/IFdIRVJFIElEID0gPw==');
$k185 = mysqli_prepare($zc, $oa);
$k185->bind_param(base64_decode('c3Nz'), $h181, $c182, $pde);
$k185->execute();
$d13 = $k185->get_result();
$j109 = 2;
$ra3 = base64_decode('RG9jdW1lbnQgQ29udGVudCBjaGFuZ2Vk');
createDocLogEntry($pde, $q4, $j109, $ra3);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('c2VuZFBpblRvVXNlcg==')])) {
$baa = $_GET[base64_decode('c2VuZFBpblRvVXNlcg==')];
$oa = base64_decode('U0VMRUNUIFBpbiwgRW1haWwsIENPTkNBVChmaXJzdG5hbWUsJyAnLGxhc3RuYW1lKSBBUyBGdWxsTmFtZSBGUk9NIHVzZXJzIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $baa);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$v186 = $l14[base64_decode('UGlu')];
$z187 = $l14[base64_decode('RW1haWw=')];
$ac4 = $l14[base64_decode('RnVsbE5hbWU=')];
}
$eca = base64_decode('WW91ciBQaW4=');
$b6b = "Your Pin is: $v186<br><br>You can change you pin in user settings, we invite you to change it as it now has been emailed to your account and now has been exposed.";
sendMailToSinglePerson($z187, $g188, $eca, $b6b);
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jQ29tcGFueVJlbGF0aW9u')])) {
$h2 = $_GET[base64_decode('Y29tcGFueWlk')];
$r189 = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = "INSERT INTO knowledge_companies(DocID, CompanyID)
VALUES ($r189,$h2)";
mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
}
if (isset($_GET[base64_decode('dXBkYXRlRG9jVXNlclJlbGF0aW9u')])) {
$baa = $_GET[base64_decode('dXNlcmlk')];
$r189 = $_GET[base64_decode('ZG9jaWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('SU5TRVJUIElOVE8ga25vd2xlZGdlX3VzZXJzKERvY0lELCBVc2VySUQpIA0KICAgICAgICAgIFZBTFVFUyAoPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r189, $baa);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('Y3JlYXRlSW52b2ljZVRpY2tldA==')])) {
$o18a = $_GET[base64_decode('dGlja2V0aWQ=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = "SELECT SUM(time_registrations.TimeRegistered) AS TimeRegistered, users.Username
FROM time_registrations
LEFT JOIN taskslist ON taskslist.ID = time_registrations.RelatedTaskID
LEFT JOIN tickets ON taskslist.RelatedElementID = tickets.ID
LEFT JOIN users ON time_registrations.RelatedUserID = users.ID
WHERE tickets.ID = $o18a";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$a18b = [base64_decode('VGltZVJlZ2lzdGVyZWQ=') => $l14[base64_decode('VGltZVJlZ2lzdGVyZWQ=')], base64_decode('VXNlcm5hbWU=') => $l14[base64_decode('VXNlcm5hbWU=')], base64_decode('VGlja2V0aWQ=') => $o18a];
}
mysqli_free_result($d13);
echo json_encode($a18b, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Y3JlYXRlUHJvamVjdFRhc2s=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$mcb = $_POST[base64_decode('UHJvamVjdElE')];
$n15b = $_POST[base64_decode('VGFza1Jlc3BvbnNpYmxl')];
$v153 = $_POST[base64_decode('UHJvamVjdFRhc2tTdGF0dXM=')];
$n15c = $_POST[base64_decode('UHJvamVjdFRhc2tQYXJlbnQ=')];
$s15d = $_POST[base64_decode('UHJvamVjdFRhc2tTdGFydA==')];
$k156 = $_POST[base64_decode('UHJvamVjdFRhc2tEZWFkbGluZQ==')];
$s161 = $_POST[base64_decode('UHJvamVjdFRhc2tFc3RpbWF0ZWRCdWRnZXQ=')];
$z163 = $_POST[base64_decode('UHJvamVjdFRhc2tFc3RpbWF0ZWRIb3Vycw==')];
$k162 = $_POST[base64_decode('UHJvamVjdFRhc2tCdWRnZXRTcGVuZA==')];
$l165 = $_POST[base64_decode('UHJvamVjdFJlbGF0ZWRDYXRlZ29yeQ==')];
$g154 = $_POST[base64_decode('UHJvamVjdFRhc2tQcm9ncmVzcw==')];
$a166 = $_POST[base64_decode('UHJvamVjdFRhc2tOYW1l')];
$k167 = $_POST[base64_decode('UHJvamVjdFByaXZhdGU=')];
$r168 = $_POST[base64_decode('UHJvamVjdFRhc2tEZXNjcmlwdGlvbg==')];
if ($g154 == '') {
$g154 = base64_decode('MA==');
}
if ($s161 == '') {
$s161 = base64_decode('MA==');
}
if ($k162 == '') {
$k162 = base64_decode('MA==');
}
if ($v153 == base64_decode('MQ==')) {
$g154 = base64_decode('MA==');
}
$l147 = createNewProjectTask($z163, $n15b, $v153, $n15c, $s15d, $k156, $s161, $k162, $a166, $r168, $mcb, $l165, $g154, $k167);
$j109 = 2;
$ra3 = "Projekt task: $l147 created";
createProjectLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo json_encode($i18c, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Y3JlYXRlTmV3UHJvamVjdA==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$t149 = $_GET[base64_decode('UHJvamVjdE1hbmFnZXI=')];
$s14a = $_GET[base64_decode('UHJvamVjdFJlc3BvbnNpYmxl')];
$b14c = $_GET[base64_decode('UHJvamVjdFN0YXR1cw==')];
$p18d = $_GET[base64_decode('UHJvamVjdFJlbEN1c3RvbWVy')];
$h18e = $_GET[base64_decode('UHJvamVjdFN0YXJ0')];
$e14d = $_GET[base64_decode('UHJvamVjdERlYWRsaW5l')];
$h150 = $_GET[base64_decode('UHJvamVjdE5hbWU=')];
$v151 = $_GET[base64_decode('UHJvamVjdERlc2NyaXB0aW9u')];
$mcb = createNewProject($t149, $b14c, $h18e, $e14d, $h150, $v151, $p18d, $s14a);
$t18f[] = array(base64_decode('UHJvamVjdElEQ3JlYXRlZA==') => $mcb);
$j109 = 2;
$ra3 = "Projekt: $mcb created";
createProjectLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo json_encode($t18f, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Y3JlYXRlTmV3UHJvamVjdFNwcmludA==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$mcb = $_GET[base64_decode('UHJvamVjdElE')];
$kd0 = $_GET[base64_decode('U3RhcnREYXRl')];
$j7e = $_GET[base64_decode('RGVhZGxpbmU=')];
$z190 = $_GET[base64_decode('UmVzcG9uc2libGU=')];
$i191 = $_GET[base64_decode('U3ByaW50RXN0aW1hdGVkQnVkZ2V0')];
$t192 = $_GET[base64_decode('U3ByaW50TmFtZQ==')];
$u193 = $_GET[base64_decode('U3ByaW50RGVzY3JpcHRpb24=')];
$b33 = $_GET[base64_decode('TGluaw==')];
$qa0 = $_GET[base64_decode('VmVyc2lvbg==')];
$u194[] = array();
$r195 = '';
$m118 = '';
$q196 = checkProjectSprintDateIntervals($kd0, $j7e, $mcb);
if (empty($q196)) {
$w197 = createNewProjectSprint($t192, $kd0, $j7e, $z190, $i191, $u193, $mcb, $b33, $qa0);
$r195 = base64_decode('c3VjY2Vzcw==');
$m118 = $w197;
}
if (!empty($q196)) {
$r195 = base64_decode('ZmFpbA==');
$m118 = "The sprint overlaps sprint: $q196";
}
$u194[] = array(base64_decode('UmVzdWx0') => $r195, base64_decode('TWVzc2FnZQ==') => $m118);
echo json_encode($u194, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Y3JlYXRlTmV3UHJvamVjdFRhc2tDYXRlZ29yeQ==')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$b198 = $_GET[base64_decode('Q2F0ZWdvcnlOYW1l')];
$a199 = $_GET[base64_decode('Q2F0ZWdvcnlEZXNjcmlwdGlvbg==')];
$oa = base64_decode('SU5TRVJUIElOVE8gcHJvamVjdHNfdGFza3NfY2F0ZWdvcmllcyhTaG9ydE5hbWUsRGVzY3JpcHRpb24pIFZBTFVFUyAoPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $b198, $a199);
$sb->execute();
}
if (isset($_GET[base64_decode('ZWRpdFByb2plY3RTcHJpbnQ=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$r19a = $_GET[base64_decode('U3ByaW50SUQ=')];
$l147 = '';
$oa = base64_decode('U0VMRUNUICogRlJPTSBwcm9qZWN0c19zcHJpbnRzIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $r19a);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
if (!empty($l14[base64_decode('SUQ=')])) {
$d19b[] = array(base64_decode('TGluaw==') => $l14[base64_decode('TGluaw==')], base64_decode('VmVyc2lvbg==') => $l14[base64_decode('VmVyc2lvbg==')], base64_decode('U2hvcnROYW1l') => $l14[base64_decode('U2hvcnROYW1l')], base64_decode('U3RhcnREYXRl') => convertToDanishDateTimeFormat($l14[base64_decode('U3RhcnQ=')]), base64_decode('RGVhZGxpbmU=') => convertToDanishDateTimeFormat($l14[base64_decode('RGVhZGxpbmU=')]), base64_decode('RXN0aW1hdGVkQnVkZ2V0') => $l14[base64_decode('RXN0aW1hdGVkQnVkZ2V0')], base64_decode('UmVzcG9uc2libGU=') => $l14[base64_decode('UmVzcG9uc2libGU=')], base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('RGVzY3JpcHRpb24=')]);
}
}
echo json_encode($d19b, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('ZWRpdFByb2plY3RUYXNrQ2F0ZWdvcnk=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$o74 = $_GET[base64_decode('Q2F0ZWdvcnlJRA==')];
$oa = base64_decode('U0VMRUNUICogRlJPTSBwcm9qZWN0c190YXNrc19jYXRlZ29yaWVzIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $o74);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
if (!empty($l14[base64_decode('SUQ=')])) {
$j19c[] = array(base64_decode('U2hvcnROYW1l') => $l14[base64_decode('U2hvcnROYW1l')], base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('RGVzY3JpcHRpb24=')]);
}
}
echo json_encode($j19c, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('ZGVsZXRlUHJvamVjdFNwcmludA==')])) {
$r19a = $_GET[base64_decode('U3ByaW50SUQ=')];
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdHNfc3ByaW50cyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $r19a);
$sb->execute();
}
if (isset($_GET[base64_decode('ZGVsZXRlUHJvamVjdFRhc2tDYXRlZ29yeQ==')])) {
$o74 = $_GET[base64_decode('Q2F0ZWdvcnlJRA==')];
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdHNfdGFza3NfY2F0ZWdvcmllcyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $o74);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFNwcmludA==')])) {
$u194 = array();
$r19a = $_GET[base64_decode('U3ByaW50SUQ=')];
$kd0 = $_GET[base64_decode('U3RhcnREYXRl')];
$j7e = $_GET[base64_decode('RGVhZGxpbmU=')];
$z190 = $_GET[base64_decode('UmVzcG9uc2libGU=')];
$i191 = $_GET[base64_decode('U3ByaW50RXN0aW1hdGVkQnVkZ2V0')];
$t192 = $_GET[base64_decode('U3ByaW50TmFtZQ==')];
$u193 = $_GET[base64_decode('U3ByaW50RGVzY3JpcHRpb24=')];
$b33 = $_GET[base64_decode('TGluaw==')];
$qa0 = $_GET[base64_decode('VmVyc2lvbg==')];
$l147 = '';
$mcb = getProjectIDFromSprint($r19a);
$kd0 = convertFromDanishTimeFormat($kd0);
$j7e = convertFromDanishTimeFormat($j7e);
$q196 = checkProjectSprintDateIntervalsForUpdateSprint($kd0, $j7e, $mcb, $r19a);
if (empty($q196)) {
updateProjectSprint($t192, $kd0, $j7e, $z190, $i191, $u193, $r19a, $b33, $qa0);
$r195 = base64_decode('c3VjY2Vzcw==');
$m118 = "$t192";
}
if (!empty($q196)) {
$r195 = base64_decode('ZmFpbA==');
$m118 = "The sprint overlaps sprint: $q196";
}
$u194[] = array(base64_decode('UmVzdWx0') => $r195, base64_decode('TWVzc2FnZQ==') => $m118);
echo json_encode($u194, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tDYXRlZ29yeQ==')])) {
$o74 = $_GET[base64_decode('Q2F0ZWdvcnlJRA==')];
$b198 = $_GET[base64_decode('Q2F0ZWdvcnlOYW1l')];
$a199 = $_GET[base64_decode('Q2F0ZWdvcnlEZXNjcmlwdGlvbg==')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RzX3Rhc2tzX2NhdGVnb3JpZXMgU0VUIFNob3J0TmFtZSA9ID8sIERlc2NyaXB0aW9uID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nz'), $b198, $a199, $o74);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdA==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$mcb = $_GET[base64_decode('UHJvamVjdElE')];
$t149 = $_GET[base64_decode('UHJvamVjdE1hbmFnZXI=')];
$s14a = $_GET[base64_decode('UHJvamVjdFJlc3BvbnNpYmxl')];
$b14c = $_GET[base64_decode('UHJvamVjdFN0YXR1cw==')];
$p18d = $_GET[base64_decode('UHJvamVjdFJlbEN1c3RvbWVy')];
$h18e = $_GET[base64_decode('UHJvamVjdFN0YXJ0')];
$e14d = $_GET[base64_decode('UHJvamVjdERlYWRsaW5l')];
$h150 = $_GET[base64_decode('UHJvamVjdE5hbWU=')];
$v151 = $_GET[base64_decode('UHJvamVjdERlc2NyaXB0aW9u')];
$l147 = '';
updateProject($h150, $b14c, $p18d, $v151, $h18e, $e14d, $t149, $s14a, $mcb);
updateKanbanTaskFromElement($mcb, base64_decode('Ng=='), $b14c);
}
if (isset($_GET[base64_decode('ZWRpdFByb2plY3Q=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$mcb = $_GET[base64_decode('UHJvamVjdElE')];
$oa = base64_decode('U0VMRUNUICogRlJPTSBQcm9qZWN0cyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
if (!empty($l14[base64_decode('SUQ=')])) {
$d19b[] = array(base64_decode('TmFtZQ==') => $l14[base64_decode('TmFtZQ==')], base64_decode('U3RhcnQ=') => convertToDanishDateTimeFormat($l14[base64_decode('U3RhcnQ=')]), base64_decode('U3RhdHVz') => $l14[base64_decode('U3RhdHVz')], base64_decode('RGVhZGxpbmU=') => convertToDanishDateTimeFormat($l14[base64_decode('RGVhZGxpbmU=')]), base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('RGVzY3JpcHRpb24=')], base64_decode('RXN0aW1hdGVkQnVkZ2V0') => $l14[base64_decode('RXN0aW1hdGVkQnVkZ2V0')], base64_decode('RXN0aW1hdGVkSG91cnM=') => $l14[base64_decode('RXN0aW1hdGVkSG91cnM=')], base64_decode('UHJvamVjdE1hbmFnZXI=') => $l14[base64_decode('UHJvamVjdE1hbmFnZXI=')], base64_decode('UmVsYXRlZENvbXBhbnlJRA==') => $l14[base64_decode('UmVsYXRlZENvbXBhbnlJRA==')], base64_decode('UmVsYXRlZEdyb3VwQWNjZXNzSUQ=') => $l14[base64_decode('UmVsYXRlZEdyb3VwQWNjZXNzSUQ=')], base64_decode('UmVsYXRlZEdyb3VwTWFuYWdlSUQ=') => $l14[base64_decode('UmVsYXRlZEdyb3VwTWFuYWdlSUQ=')], base64_decode('UHJvamVjdFJlc3BvbnNpYmxl') => $l14[base64_decode('UHJvamVjdFJlc3BvbnNpYmxl')]);
}
}
mysqli_free_result($d13);
echo json_encode($d19b, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('ZWRpdFByb2plY3RUYXNr')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$l147 = $_GET[base64_decode('UHJvamVjdFRhc2tJRA==')];
$oa = base64_decode('U0VMRUNUICogRlJPTSBwcm9qZWN0X3Rhc2tzIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $l147);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
if (!empty($l14[base64_decode('SUQ=')])) {
$b19d[] = array(base64_decode('UGFyZW50VGFzaw==') => $l14[base64_decode('UGFyZW50VGFzaw==')], base64_decode('VGFza05hbWU=') => $l14[base64_decode('VGFza05hbWU=')], base64_decode('U3RhcnQ=') => convertToDanishDateTimeFormat($l14[base64_decode('U3RhcnQ=')]), base64_decode('U3RhdHVz') => $l14[base64_decode('U3RhdHVz')], base64_decode('RGVhZGxpbmU=') => convertToDanishDateTimeFormat($l14[base64_decode('RGVhZGxpbmU=')]), base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('RGVzY3JpcHRpb24=')], base64_decode('UmVzcG9uc2libGU=') => $l14[base64_decode('UmVzcG9uc2libGU=')], base64_decode('RXN0aW1hdGVkQnVkZ2V0') => $l14[base64_decode('RXN0aW1hdGVkQnVkZ2V0')], base64_decode('QnVkZ2V0U3BlbmQ=') => $l14[base64_decode('QnVkZ2V0U3BlbmQ=')], base64_decode('RXN0aW1hdGVkSG91cnM=') => $l14[base64_decode('RXN0aW1hdGVkSG91cnM=')], base64_decode('SG91cnNTcGVuZA==') => $l14[base64_decode('SG91cnNTcGVuZA==')], base64_decode('UHJvZ3Jlc3M=') => $l14[base64_decode('UHJvZ3Jlc3M=')], base64_decode('Q29tcGxldGVkRGF0ZQ==') => $l14[base64_decode('Q29tcGxldGVkRGF0ZQ==')], base64_decode('UmVsYXRlZENhdGVnb3J5') => $l14[base64_decode('UmVsYXRlZENhdGVnb3J5')], base64_decode('UHJpdmF0ZQ==') => $l14[base64_decode('UHJpdmF0ZQ==')]);
}
}
mysqli_free_result($d13);
echo json_encode($b19d, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tEZXNjcmlwdGlvbg==')])) {
$r168 = $_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tEZXNjcmlwdGlvbg==')];
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIERlc2NyaXB0aW9uID0gPyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r168, $l147);
$sb->execute();
$d13 = $sb->get_result();
$j109 = 2;
$ra3 = base64_decode('UHJvamVjdCBUYXNrIERlc2NyaXB0aW9uIGNoYW5nZWQgdG86IA==') . $r168;
createProjectTaskLogEntry($mcb, $l147, $p8a, $j109, $ra3);
}
if (isset($_GET[base64_decode('ZGVsZXRlUHJvamVjdFRhc2s=')])) {
$l147 = $_GET[base64_decode('UHJvamVjdFRhc2tJRA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$mcb = getRelatedProjectFromProjectTask($l147);
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdF90YXNrcyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $l147);
$sb->execute();
$w19e = getRelatedTaskToProjectTask(base64_decode('MTM='), $l147);
foreach ($w19e as $m19f) {
deleteRelatedTimeRegEntry($m19f);
deleteRelatedTasks($m19f);
}
$j109 = 2;
$ra3 = "Projekt task: $l147 deleted";
createProjectLogEntry($mcb, $l147, $p8a, $j109, $ra3);
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
}
if (isset($_GET[base64_decode('cmVtb3ZlVXNlckZyb21Qcm9qZWN0VGFzaw==')])) {
$k148 = $_GET[base64_decode('VXNlcklE')];
$l147 = $_GET[base64_decode('UHJvamVjdFRhc2tJRA==')];
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdF90YXNrc191c2VycyBXSEVSRSBVc2VySUQgPSA/IEFORCBQcm9qZWN0VGFza0lEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $k148, $l147);
$sb->execute();
}
if (isset($_GET[base64_decode('YWRkdXNlcnRvdGVhbQ==')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$z3 = $_GET[base64_decode('YWRkdXNlcnRvdGVhbQ==')];
$oa = "SELECT UserID, TeamID
FROM usersteams
WHERE UserID = $p8a AND TeamID = $z3;";
$d13 = mysqli_query($zc, $oa);
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnN0ZWFtcyhVc2VySUQsIFRlYW1JRCkgVkFMVUVTICg/LD8pOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $z3);
$sb->execute();
}
}
if (isset($_GET[base64_decode('YWRkVXNlclRvQ29tcGFueQ==')])) {
if (!in_array(base64_decode('MTAwMDI2'), $p0) || !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_GET[base64_decode('dXNlcmlk')];
$h2 = $_GET[base64_decode('YWRkVXNlclRvQ29tcGFueQ==')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBDb21wYW55SUQgPSA/IFdIRVJFIHVzZXJzLklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $h2, $p8a);
$sb->execute();
}
if (isset($_GET[base64_decode('YWRkR3JvdXBzVG9Vc2Vy')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$j1a2 = $_GET[base64_decode('dXNlcklk')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnNncm91cHMgKFVzZXJJRCwgR3JvdXBJRCkgVkFMVUVTICg/LCA/KQ==');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $q1a3) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $j1a2, $q1a3);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('cmVtb3ZlR3JvdXBzRnJvbVVzZXI=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$j1a2 = $_GET[base64_decode('dXNlcklk')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnNncm91cHMgV0hFUkUgVXNlcklEID0gPyBBTkQgR3JvdXBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $q1a3) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $j1a2, $q1a3);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('YWRkUm9sZXNUb1VzZXI=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$j1a2 = $_GET[base64_decode('dXNlcklk')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnNyb2xlcyAoVXNlcklELCBSb2xlSUQpIFZBTFVFUyAoPywgPyk=');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $a1a5) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $j1a2, $a1a5);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('cmVtb3ZlUm9sZXNGcm9tVXNlcg==')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$j1a2 = $_GET[base64_decode('dXNlcklk')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnNyb2xlcyBXSEVSRSBVc2VySUQgPSA/IEFORCBSb2xlSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $a1a5) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $j1a2, $a1a5);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('YWRkVGVhbXNUb1VzZXI=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$j1a2 = $_GET[base64_decode('dXNlcklk')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnN0ZWFtcyAoVXNlcklELCBUZWFtSUQpIFZBTFVFUyAoPywgPyk=');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $r1a6) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $j1a2, $r1a6);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('cmVtb3ZlVGVhbXNGcm9tVXNlcg==')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$j1a2 = $_GET[base64_decode('dXNlcklk')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnN0ZWFtcyBXSEVSRSBVc2VySUQgPSA/IEFORCBUZWFtSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $r1a6) {
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $j1a2, $r1a6);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('YWRkVXNlcnNUb1JvbGU=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$a1a5 = $_GET[base64_decode('cm9sZUlk')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnNyb2xlcyAoUm9sZUlELCBVc2VySUQpIFZBTFVFUyAoPywgPyk=');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $j1a2) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $a1a5, $j1a2);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('cmVtb3ZlVXNlcnNGcm9tUm9sZQ==')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$a1a5 = $_GET[base64_decode('cm9sZUlk')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnNyb2xlcyBXSEVSRSBSb2xlSUQgPSA/IEFORCBVc2VySUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $j1a2) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $a1a5, $j1a2);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('YWRkR3JvdXBzVG9Sb2xl')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$a1a5 = $_GET[base64_decode('cm9sZUlk')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcmdyb3Vwc3JvbGVzIChHcm91cElELCBSb2xlSUQpIFZBTFVFUyAoPywgPyk=');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $q1a3) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $q1a3, $a1a5);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('cmVtb3ZlR3JvdXBzRnJvbVJvbGU=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$a1a5 = $_GET[base64_decode('cm9sZUlk')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcmdyb3Vwc3JvbGVzIFdIRVJFIEdyb3VwSUQgPSA/IEFORCBSb2xlSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
foreach ($k1a1 as $q1a3) {
mysqli_stmt_bind_param($sb, base64_decode('aWk='), $q1a3, $a1a5);
mysqli_stmt_execute($sb);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('Z2V0TWVzc2FnZUluZm9ybWF0aW9ucw==')])) {
$g1a7 = $_GET[base64_decode('bWVzc2FnZWlk')];
$oa = base64_decode('U0VMRUNUIElELCBUb1VzZXJJRCwgRnJvbVVzZXJJRCwgTWVzc2FnZSwgU2VuZERhdGUsIFJlYWREYXRlDQogICAgICAgICAgRlJPTSBtZXNzYWdlcw0KICAgICAgICAgIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $g1a7);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$g1a8 = getFullNameFromID($l14[base64_decode('RnJvbVVzZXJJRA==')]);
$g1a9 = convertToDanishDateTimeFormat($l14[base64_decode('U2VuZERhdGU=')]);
$s119[] = array(base64_decode('TWVzc2FnZUlE') => $g1a7, base64_decode('RnJvbVVzZXJJRA==') => $l14[base64_decode('RnJvbVVzZXJJRA==')], base64_decode('RnJvbVVzZXJGdWxsTmFtZQ==') => $g1a8, base64_decode('TWVzc2FnZQ==') => $l14[base64_decode('TWVzc2FnZQ==')], base64_decode('U2VuZERhdGU=') => $g1a9);
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('c2VuZE1lc3NhZ2VGcm9tTW9kYWw=')])) {
$m1aa = $_POST[base64_decode('ZnJvbQ==')];
$n1ab = $_POST[base64_decode('dG8=')];
$r160 = $_POST[base64_decode('bWVzc2FnZQ==')];
$r160 = mysqli_real_escape_string($zc, $r160);
$oa = base64_decode('SU5TRVJUIElOVE8gbWVzc2FnZXMoVG9Vc2VySUQsIEZyb21Vc2VySUQsIE1lc3NhZ2UsIFNlbmREYXRlKSANCiAgICAgICAgICBWQUxVRVMgKD8sPyw/LE5PVygpKQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nz'), $n1ab, $m1aa, $r160);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('c2VuZEdyb3VwTWVzc2FnZUZyb21Nb2RhbA==')])) {
$h1ac = $_POST[base64_decode('R3JvdXA=')];
$m118 = $_POST[base64_decode('TWVzc2FnZQ==')];
$n1ad = $_POST[base64_decode('RnJvbQ==')];
$m118 = mysqli_real_escape_string($zc, $m118);
$oa = base64_decode('U0VMRUNUIFVzZXJJRA0KICAgICAgICAgIEZST00gdXNlcnNncm91cHMNCiAgICAgICAgICBXSEVSRSBHcm91cElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $h1ac);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$w1ae = $l14[base64_decode('VXNlcklE')];
sendInternalMessage($w1ae, $n1ad, $m118);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlTWVzc2FnZQ==')])) {
$q1af = $_GET[base64_decode('bW9kYWxNZXNzYWdlSUQ=')];
$oa = base64_decode('REVMRVRFIEZST00gbWVzc2FnZXMgV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $q1af);
$sb->execute();
}
if (isset($_GET[base64_decode('YWRkQlNUb0NvbXBhbnk=')])) {
$t1b0 = $_GET[base64_decode('QlNJRA==')];
$h2 = $_GET[base64_decode('YWRkQlNUb0NvbXBhbnk=')];
$oa = base64_decode('SU5TRVJUIElOVE8gYnVzaW5lc3NzZXJ2aWNlc19jb21wYW5pZXMgKEJ1c2luZXNzU2VydmljZUlELCAJQ29tcGFueUlEKSBWQUxVRVMgKD8sPyk=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $t1b0, $h2);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('YWRkdXNlcnN0b2NhYg==')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$s13b = $_GET[base64_decode('YWRkdXNlcnN0b2NhYg==')];
$oa = base64_decode('SU5TRVJUIElOVE8gY2FiX3VzZXJzIChDQUJJRCwgVXNlcklEKSBWQUxVRVMgKD8sPyk7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $s13b, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('cmVtb3ZldXNlcnNmcm9tY2Fi')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$s13b = $_GET[base64_decode('cmVtb3ZldXNlcnNmcm9tY2Fi')];
$oa = base64_decode('REVMRVRFIEZST00gY2FiX3VzZXJzIFdIRVJFIENBQklEID0gPyBBTkQgVXNlcklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $s13b, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('YWRkVXNlclRvUHJvamVjdA==')])) {
$p8a = $_GET[base64_decode('VXNlcklE')];
$mcb = $_GET[base64_decode('UHJvamVjdElE')];
$oa = base64_decode('SU5TRVJUIElOVE8gcHJvamVjdF91c2VycyhQcm9qZWN0SUQsIFVzZXJJRCkgVkFMVUVTICg/LD8pOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $mcb, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('cmVtb3ZlVXNlckZyb21Qcm9qZWN0')])) {
$p8a = $_GET[base64_decode('VXNlcklE')];
$mcb = $_GET[base64_decode('UHJvamVjdElE')];
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdF91c2VycyBXSEVSRSBQcm9qZWN0SUQgPSA/IEFORCBVc2VySUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $mcb, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('YWRkVXNlclRvUHJvamVjdFRhc2s=')])) {
$p8a = $_GET[base64_decode('VXNlcklE')];
$l147 = $_GET[base64_decode('UHJvamVjdFRhc2tJRA==')];
$oa = base64_decode('SU5TRVJUIElOVE8gcHJvamVjdF90YXNrc191c2VycyhVc2VySUQsIFByb2plY3RUYXNrSUQpIFZBTFVFUyAoPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $l147);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('cmVtb3ZlVXNlcnNGcm9tVGVhbQ==')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$r1a6 = $_GET[base64_decode('dGVhbUlk')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnN0ZWFtcyBXSEVSRSBVc2VySUQgPSA/IEFORCBUZWFtSUQgPSA/Ow==');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('c3M='), $j1a2, $r1a6);
foreach ($k1a1 as $j1a2) {
$sb->execute();
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('YWRkVXNlcnNUb1RlYW0=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$r1a6 = $_GET[base64_decode('dGVhbUlk')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnN0ZWFtcyAoVXNlcklELCBUZWFtSUQpIFZBTFVFUyAoPywgPyk7');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('c3M='), $j1a2, $r1a6);
foreach ($k1a1 as $j1a2) {
$sb->execute();
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$j1a4 = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $j1a4");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('YWRkVXNlcnNUb0dyb3Vw')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0) || in_array(base64_decode('MTAwMDMz'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$q1a3 = $_GET[base64_decode('Z3JvdXBJZA==')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnNncm91cHMgKEdyb3VwSUQsIFVzZXJJRCkgVkFMVUVTICg/LCA/KTs=');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('c3M='), $q1a3, $j1a2);
foreach ($k1a1 as $j1a2) {
$sb->execute();
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$a1b1 = getUserGroupName(base64_decode('MTAwMDI2'));
$t1b2 = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $a1b1 or $t1b2");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('cmVtb3ZlVXNlcnNGcm9tR3JvdXA=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0) || in_array(base64_decode('MTAwMDMz'), $p0)) {
$k1a1 = $_GET[base64_decode('c2VsZWN0ZWRWYWx1ZXM=')];
$q1a3 = $_GET[base64_decode('Z3JvdXBJZA==')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnNncm91cHMgV0hFUkUgR3JvdXBJRCA9ID8gQU5EIFVzZXJJRCA9ID87');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('c3M='), $q1a3, $j1a2);
foreach ($k1a1 as $j1a2) {
$sb->execute();
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
} else {
$a1b1 = getUserGroupName(base64_decode('MTAwMDI2'));
$t1b2 = getUserGroupName(base64_decode('MTAwMDMz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $a1b1 or $t1b2");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('Z2V0dXNlcnNpbmdyb3Vw')])) {
$j114 = $_GET[base64_decode('Z2V0dXNlcnNpbmdyb3Vw')];
$oa = base64_decode('U0VMRUNUIHVzZXJzLklEIEFTIFVzZXJJRCwgQ09OQ0FUKHVzZXJzLkZpcnN0bmFtZSwnICcsdXNlcnMuTGFzdG5hbWUsJyAoJyxVc2VybmFtZSwnKScpIEFTIFVzZXJGdWxsTmFtZQ0KICAgICAgICAgIEZST00gdXNlcnNncm91cHMNCiAgICAgICAgICBMRUZUIEpPSU4gdXNlcnMgT04gdXNlcnNncm91cHMuVXNlcklEID0gdXNlcnMuSUQgDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJncm91cHMgT04gdXNlcnNncm91cHMuR3JvdXBJRCA9IHVzZXJncm91cHMuSUQNCiAgICAgICAgICBXSEVSRSB1c2Vyc2dyb3Vwcy5Hcm91cElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aQ=='), $j114);
$sb->execute();
$d13 = $sb->get_result();
$h13a = [];
while ($l14 = mysqli_fetch_array($d13)) {
$h13a[] = array(base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('VXNlckZ1bGxOYW1l') => $l14[base64_decode('VXNlckZ1bGxOYW1l')]);
}
if (empty($h13a)) {
echo json_encode([base64_decode('ZW1wdHk=') => true]);
} else {
echo json_encode($h13a);
}
}
if (isset($_GET[base64_decode('Z2V0R3JvdXBzSW5Sb2xl')])) {
$m11e = $_POST[base64_decode('Um9sZUlE')];
$oa = base64_decode('DQogICAgU0VMRUNUIA0KICAgICAgICB1c2VyZ3JvdXBzLklEIEFTIElELCANCiAgICAgICAgdXNlcmdyb3Vwcy5Hcm91cE5hbWUgQVMgR3JvdXBOYW1lLCANCiAgICAgICAgbW9kdWxlcy5OYW1lIEFTIE1vZHVsZU5hbWUsIA0KICAgICAgICB1c2VyZ3JvdXBzLkFjdGl2ZSBBUyBBY3RpdmUsIA0KICAgICAgICAnUGVyc29uYWwnIEFTIFR5cGUNCiAgICBGUk9NIA0KICAgICAgICB1c2VyZ3JvdXBzDQogICAgSk9JTiANCiAgICAgICAgdXNlcmdyb3Vwc3JvbGVzIE9OIHVzZXJncm91cHMuSUQgPSB1c2VyZ3JvdXBzcm9sZXMuR3JvdXBJRA0KICAgIExFRlQgSk9JTiANCiAgICAgICAgbW9kdWxlcyBPTiB1c2VyZ3JvdXBzLlJlbGF0ZWRNb2R1bGVJRCA9IG1vZHVsZXMuSUQNCiAgICBXSEVSRSANCiAgICAgICAgbW9kdWxlcy5BY3RpdmU9JzEnIEFORCB1c2VyZ3JvdXBzcm9sZXMuUm9sZUlEID0gPw0KDQogICAgVU5JT04NCg0KICAgIFNFTEVDVCANCiAgICAgICAgc3lzdGVtX2dyb3Vwcy5JRCBBUyBJRCwgDQogICAgICAgIHN5c3RlbV9ncm91cHMuR3JvdXBOYW1lIEFTIEdyb3VwTmFtZSwgDQogICAgICAgIG1vZHVsZXMuTmFtZSBBUyBNb2R1bGVOYW1lLCANCiAgICAgICAgc3lzdGVtX2dyb3Vwcy5BY3RpdmUgQVMgQWN0aXZlLCANCiAgICAgICAgJ1N5c3RlbScgQVMgVHlwZQ0KICAgIEZST00gDQogICAgICAgIHN5c3RlbV9ncm91cHMNCiAgICBKT0lOIA0KICAgICAgICB1c2VyZ3JvdXBzcm9sZXMgT04gc3lzdGVtX2dyb3Vwcy5JRCA9IHVzZXJncm91cHNyb2xlcy5Hcm91cElEDQogICAgTEVGVCBKT0lOIA0KICAgICAgICBtb2R1bGVzIE9OIHN5c3RlbV9ncm91cHMuUmVsYXRlZE1vZHVsZUlEID0gbW9kdWxlcy5JRA0KICAgIFdIRVJFIA0KICAgICAgICBzeXN0ZW1fZ3JvdXBzLklEICE9JzEwMDAwMCcgQU5EIG1vZHVsZXMuQWN0aXZlPScxJyBBTkQgdXNlcmdyb3Vwc3JvbGVzLlJvbGVJRCA9ID8NCiAgICBPUkRFUiBCWSANCiAgICAgICAgQWN0aXZlIERFU0MsIEdyb3VwTmFtZSBBU0M7DQo=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aWk='), $m11e, $m11e);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$q54 = $l14[base64_decode('VHlwZQ==')];
$rd = $l14[base64_decode('R3JvdXBOYW1l')];
if ($q54 == base64_decode('U3lzdGVt')) {
$rd = translate($rd);
}
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('R3JvdXBOYW1l') => $rd);
}
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Z2V0dXNlcnNncm91cHM=')])) {
$p8a = $_GET[base64_decode('Z2V0dXNlcnNncm91cHM=')];
$oa = base64_decode('U0VMRUNUIHVzZXJzZ3JvdXBzLkdyb3VwSUQgQVMgR3JvdXBJRCwgdXNlcmdyb3Vwcy5Hcm91cE5hbWUgQVMgR3JvdXBOYW1lDQogICAgICAgICAgRlJPTSB1c2Vyc2dyb3Vwcw0KICAgICAgICAgIExFRlQgSk9JTiAoU0VMRUNUIHVzZXJncm91cHMuSUQgQVMgSUQsIHVzZXJncm91cHMuR3JvdXBOYW1lIEFTIEdyb3VwTmFtZQ0KICAgICAgICAgIEZST00gdXNlcmdyb3Vwcw0KICAgICAgICAgIFVOSU9ODQogICAgICAgICAgU0VMRUNUIHN5c3RlbV9ncm91cHMuSUQgQVMgSUQsIHN5c3RlbV9ncm91cHMuR3JvdXBOYW1lIEFTIEdyb3VwTmFtZQ0KICAgICAgICAgIEZST00gc3lzdGVtX2dyb3VwcykgQVMgdXNlcmdyb3VwcyBPTiB1c2Vyc2dyb3Vwcy5Hcm91cElEID0gdXNlcmdyb3Vwcy5JRA0KICAgICAgICAgIFdIRVJFIHVzZXJzZ3JvdXBzLlVzZXJJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == 0) {
$d1b3[] = base64_decode('aWFtanVzdHNvZW1wdHk=');
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$d1b3[] = array(base64_decode('R3JvdXBJRA==') => $l14[base64_decode('R3JvdXBJRA==')], base64_decode('R3JvdXBOYW1l') => $l14[base64_decode('R3JvdXBOYW1l')]);
}
}
mysqli_free_result($d13);
echo json_encode($d1b3, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0dXNlcnNyb2xlcw==')])) {
$p8a = $_GET[base64_decode('Z2V0dXNlcnNyb2xlcw==')];
$oa = base64_decode('U0VMRUNUIHJvbGVzLklEIEFTIFJvbGVJRCwgcm9sZXMuUm9sZU5hbWUNCiAgICAgICAgICBGUk9NIHVzZXJzcm9sZXMNCiAgICAgICAgICBJTk5FUiBKT0lOIHJvbGVzIE9OIHJvbGVzLklEID0gdXNlcnNyb2xlcy5Sb2xlSUQNCiAgICAgICAgICBXSEVSRSB1c2Vyc3JvbGVzLlVzZXJJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == 0) {
$t1b4[] = base64_decode('aWFtanVzdHNvZW1wdHk=');
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$t1b4[] = array(base64_decode('Um9sZUlE') => $l14[base64_decode('Um9sZUlE')], base64_decode('Um9sZU5hbWU=') => $l14[base64_decode('Um9sZU5hbWU=')]);
}
}
mysqli_free_result($d13);
echo json_encode($t1b4, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0dXNlcnN0ZWFtcw==')])) {
$p8a = $_GET[base64_decode('Z2V0dXNlcnN0ZWFtcw==')];
$oa = base64_decode('U0VMRUNUIHRlYW1zLklEIEFTIFRlYW1JRCwgdGVhbXMuVGVhbW5hbWUNCiAgICAgICAgICBGUk9NIHVzZXJzdGVhbXMNCiAgICAgICAgICBJTk5FUiBKT0lOIHRlYW1zIE9OIHRlYW1zLklEID0gdXNlcnN0ZWFtcy5UZWFtSUQNCiAgICAgICAgICBXSEVSRSB1c2Vyc3RlYW1zLlVzZXJJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == 0) {
$t1b4[] = base64_decode('aWFtanVzdHNvZW1wdHk=');
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$t1b4[] = array(base64_decode('VGVhbUlE') => $l14[base64_decode('VGVhbUlE')], base64_decode('VGVhbW5hbWU=') => $l14[base64_decode('VGVhbW5hbWU=')]);
}
}
mysqli_free_result($d13);
echo json_encode($t1b4, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0dXNlcnNpbmNvbXBhbnk=')])) {
$h2 = $_GET[base64_decode('Z2V0dXNlcnNpbmNvbXBhbnk=')];
$oa = base64_decode('U0VMRUNUIHVzZXJzLklEIEFTIFVzZXJJRCwgQ09OQ0FUKHVzZXJzLkZpcnN0bmFtZSwnICcsdXNlcnMuTGFzdG5hbWUsJyAoJyxVc2VybmFtZSwnKScpIEFTIFVzZXJGdWxsTmFtZQ0KICAgICAgICAgIEZST00gdXNlcnMNCiAgICAgICAgICBXSEVSRSB1c2Vycy5Db21wYW55SUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $h2);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$h13a[] = array(base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('VXNlckZ1bGxOYW1l') => $l14[base64_decode('VXNlckZ1bGxOYW1l')]);
}
mysqli_free_result($d13);
echo json_encode($h13a, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cmVtb3ZldXNlcmZyb21ncm91cA==')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$j114 = $_GET[base64_decode('cmVtb3ZldXNlcmZyb21ncm91cA==')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnNncm91cHMgV0hFUkUgVXNlcklEID0gPyBBTkQgR3JvdXBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $j114);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('cHVzaFByb2plY3RUYXNrc0ZvcndhcmRYRGF5cw==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$l147 = $_GET[base64_decode('UHJvamVjdFRhc2tJRA==')];
$z1b5 = $_GET[base64_decode('RGF5c1RvUHVzaA==')];
$mcb = getProjectIDFromTaskID($l147);
$p1b6 = getProjectTaskStartDate($l147);
if (preg_match(base64_decode('L1thLXpdL2k='), $z1b5)) {
echo base64_decode('PHNjcmlwdD5hbGVydCgnWW91ciBkYXlzIGNhbiBvbmx5IGNvbnRhaW4gYSBudW1iZXInKTwvc2NyaXB0Pg==');
exit;
} else {
$oa = "UPDATE project_tasks SET Start = DATE_ADD(`Start` , INTERVAL $z1b5 DAY), Deadline = DATE_ADD(`Deadline` , INTERVAL $z1b5 DAY), updated_by = ? WHERE project_tasks.Start >= ? AND Status NOT IN (6,7) AND RelatedProject = ?;";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nz'), $p8a, $p1b6, $mcb);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('cmVtb3ZldXNlcmZyb210ZWFt')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$z3 = $_GET[base64_decode('cmVtb3ZldXNlcmZyb210ZWFt')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnN0ZWFtcyBXSEVSRSBVc2VySUQgPSA/IEFORCBUZWFtSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $z3);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('YWRkdXNlcnRvZ3JvdXA=')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$j114 = $_GET[base64_decode('YWRkdXNlcnRvZ3JvdXA=')];
$oa = base64_decode('U0VMRUNUIFVzZXJJRCwgR3JvdXBJRA0KICAgICAgICAgIEZST00gdXNlcnNncm91cHMNCiAgICAgICAgICBXSEVSRSBVc2VySUQgPSA/IEFORCBHcm91cElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $j114);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnNncm91cHMoVXNlcklELCBHcm91cElEKSBWQUxVRVMgKD8sPyk7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $j114);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('YWRkdXNlcnRvdGVhbQ==')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$z3 = $_GET[base64_decode('YWRkdXNlcnRvZ3JvdXA=')];
$oa = base64_decode('U0VMRUNUIFVzZXJJRCwgVGVhbUlEDQogICAgICAgICAgRlJPTSB1c2Vyc3RlYW1zDQogICAgICAgICAgV0hFUkUgVXNlcklEID0gPyBBTkQgR3JvdXBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $z3);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnN0ZWFtcyhVc2VySUQsIFRlYW1JRCkgVkFMVUVTICg/LD8pOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $z3);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('cmVtb3ZlV2lkZ2V0')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$l1b7 = $_GET[base64_decode('cmVtb3ZlV2lkZ2V0')];
$oa = base64_decode('REVMRVRFIEZST00gd2lkZ2V0c191c2VycyBXSEVSRSBXaWRnZXRJRCA9ID8gQU5EIFVzZXJJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $l1b7, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('YWRkV2lkZ2V0')])) {
$l1b7 = $_GET[base64_decode('YWRkV2lkZ2V0')];
$p8a = $_GET[base64_decode('dXNlcmlk')];
$oa = base64_decode('SU5TRVJUIElOVE8gd2lkZ2V0c191c2VycyhVc2VySUQsIFdpZGdldElEKSBWQUxVRVMgKD8sPyk7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $l1b7);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('cmVtb3ZlUXVpY2tMYXVuY2hFbnRyeQ==')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$w1b8 = $_GET[base64_decode('cmVtb3ZlUXVpY2tMYXVuY2hFbnRyeQ==')];
$oa = base64_decode('REVMRVRFIEZST00gdXNlcnNfcXVpY2ttZW51IFdIRVJFIFJlbGF0ZWRDaG9pY2VJRCA9ID8gQU5EIFJlbGF0ZWRVc2VySUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $w1b8, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('YWRkUXVpY2tMYXVuY2hFbnRyeQ==')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$w1b8 = $_GET[base64_decode('YWRkUXVpY2tMYXVuY2hFbnRyeQ==')];
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnNfcXVpY2ttZW51KFJlbGF0ZWRDaG9pY2VJRCwgUmVsYXRlZFVzZXJJRCkgVkFMVUVTICg/LD8pOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $w1b8, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('Z2V0dXNlcnNpbnJvbGVz')])) {
$m11e = $_GET[base64_decode('Z2V0dXNlcnNpbnJvbGVz')];
$t1b9[] = array();
$oa = base64_decode('U0VMRUNUIHVzZXJzcm9sZXMuVXNlcklEIEFTIFVzZXJJRCwgQ09OQ0FUKFVzZXJzLkZpcnN0TmFtZSwnICcsIFVzZXJzLkxhc3ROYW1lLCcgKCcsIFVzZXJzLlVzZXJuYW1lLCcpJykgQVMgRnVsbE5hbWUNCiAgICAgICAgICBGUk9NIHJvbGVzDQogICAgICAgICAgSU5ORVIgSk9JTiB1c2Vyc3JvbGVzIE9OIHJvbGVzLklEID0gdXNlcnNyb2xlcy5Sb2xlSUQNCiAgICAgICAgICBJTk5FUiBKT0lOIHVzZXJzIE9OIHVzZXJzcm9sZXMuVXNlcklEID0gdXNlcnMuSUQNCiAgICAgICAgICBXSEVSRSB1c2Vyc3JvbGVzLlJvbGVJRCA9ID8gQU5EIHJvbGVzLkFjdGl2ZSA9IDE7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $m11e);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$t1b9[] = array(base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')]);
}
echo json_encode($t1b9, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0Z3JvdXBzaW5yb2xlcw==')])) {
$m11e = $_GET[base64_decode('Z2V0Z3JvdXBzaW5yb2xlcw==')];
$oa = base64_decode('U0VMRUNUIHVzZXJncm91cHMuSUQgQVMgR3JvdXBJRCwgdXNlcmdyb3Vwcy5Hcm91cE5hbWUgQVMgR3JvdXBOYW1lDQogICAgICAgICAgRlJPTSByb2xlcw0KICAgICAgICAgIElOTkVSIEpPSU4gdXNlcmdyb3Vwc3JvbGVzIE9OIHJvbGVzLklEID0gdXNlcmdyb3Vwc3JvbGVzLlJvbGVJRA0KICAgICAgICAgIElOTkVSIEpPSU4gdXNlcmdyb3VwcyBPTiB1c2VyZ3JvdXBzcm9sZXMuR3JvdXBJRCA9IHVzZXJncm91cHMuSUQNCiAgICAgICAgICBXSEVSRSByb2xlcy5JRCA9ID8gQU5EIHJvbGVzLkFjdGl2ZSA9IDENCiAgICAgICAgICBVTklPTg0KICAgICAgICAgIFNFTEVDVCBzeXN0ZW1fZ3JvdXBzLklEIEFTIEdyb3VwSUQsIHN5c3RlbV9ncm91cHMuR3JvdXBOYW1lIEFTIEdyb3VwTmFtZQ0KICAgICAgICAgIEZST00gcm9sZXMNCiAgICAgICAgICBJTk5FUiBKT0lOIHVzZXJncm91cHNyb2xlcyBPTiByb2xlcy5JRCA9IHVzZXJncm91cHNyb2xlcy5Sb2xlSUQNCiAgICAgICAgICBJTk5FUiBKT0lOIHN5c3RlbV9ncm91cHMgT04gdXNlcmdyb3Vwc3JvbGVzLkdyb3VwSUQgPSBzeXN0ZW1fZ3JvdXBzLklEDQogICAgICAgICAgV0hFUkUgcm9sZXMuSUQgPSA/IEFORCByb2xlcy5BY3RpdmUgPSAxIEFORCBzeXN0ZW1fZ3JvdXBzLklEICE9ICcxMDAwMDAnOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $m11e, $m11e);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$v1ba[] = array(base64_decode('R3JvdXBJRA==') => $l14[base64_decode('R3JvdXBJRA==')], base64_decode('R3JvdXBOYW1l') => $l14[base64_decode('R3JvdXBOYW1l')]);
}
mysqli_free_result($d13);
echo json_encode($v1ba, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cG9wTW9kYWxlZGl0V29ya2RheXM=')])) {
$b1bb = $_GET[base64_decode('cG9wTW9kYWxlZGl0V29ya2RheXM=')];
$oa = base64_decode('U0VMRUNUIGlkLCBkYXRlcywgZGF5LCB0aW1lc3RhcnQsIHRpbWVlbmQsIHJlYXNvbiwgbG9ja2VkIA0KICAgICAgICAgIEZST00gd29ya2RheXMNCiAgICAgICAgICBXSEVSRSB3b3JrZGF5cy5pZCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $b1bb);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('aWQ=') => $l14[base64_decode('aWQ=')], base64_decode('ZGF0ZXM=') => $l14[base64_decode('ZGF0ZXM=')], base64_decode('ZGF5') => $l14[base64_decode('ZGF5')], base64_decode('dGltZXN0YXJ0') => $l14[base64_decode('dGltZXN0YXJ0')], base64_decode('dGltZWVuZA==') => $l14[base64_decode('dGltZWVuZA==')], base64_decode('cmVhc29u') => $l14[base64_decode('cmVhc29u')], base64_decode('bG9ja2Vk') => $l14[base64_decode('bG9ja2Vk')]);
}
mysqli_free_result($d13);
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_POST[base64_decode('dXBkYXRlV29ya2RheQ==')])) {
$u1bc = $_POST[base64_decode('aWQ=')];
$n1bd = $_POST[base64_decode('ZGF0ZXM=')];
$f1be = $_POST[base64_decode('ZGF5')];
$y1bf = $_POST[base64_decode('dGltZXN0YXJ0')];
$s1c0 = $_POST[base64_decode('dGltZWVuZA==')];
$d1c1 = $_POST[base64_decode('cmVhc29u')];
$oa = base64_decode('VVBEQVRFIHdvcmtkYXlzIFNFVCBkYXRlcz0/LGRheT0/LHRpbWVzdGFydD0/LHRpbWVlbmQ9PyxyZWFzb249Pw0KICAgICAgICAgIFdIRVJFIHdvcmtkYXlzLmlkID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nz'), $n1bd, $f1be, $y1bf, $s1c0, $d1c1, $u1bc);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('Z2V0d29ya2Zsb3dz')])) {
$z1c2 = $_GET[base64_decode('Z2V0d29ya2Zsb3dz')];
$oa = "SELECT ID, RelatedWorkFlowID, StepOrder, StepName, Description
FROM workflowsteps_template
WHERE RelatedWorkFlowID = $z1c2;";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $z1c2);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('UmVsYXRlZFdvcmtGbG93SUQ=') => $l14[base64_decode('UmVsYXRlZFdvcmtGbG93SUQ=')], base64_decode('U3RlcE9yZGVy') => $l14[base64_decode('U3RlcE9yZGVy')], base64_decode('U3RlcE5hbWU=') => $l14[base64_decode('U3RlcE5hbWU=')], base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('dGltRGVzY3JpcHRpb25lZW5k')]);
}
mysqli_free_result($d13);
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0d29ya2Zsb3dzVGFibGU=')])) {
$z1c2 = $_GET[base64_decode('Z2V0d29ya2Zsb3dz')];
$oa = "SELECT workflowsteps_template.ID, RelatedWorkFlowID, StepOrder, StepName, Description, users.ID AS UserID
FROM workflowsteps_template
LEFT JOIN users ON workflowsteps_template.RelatedUserID = users.ID
WHERE RelatedWorkFlowID = $z1c2
ORDER BY StepOrder ASC;";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $z1c2);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('UmVsYXRlZFdvcmtGbG93SUQ=') => $l14[base64_decode('UmVsYXRlZFdvcmtGbG93SUQ=')], base64_decode('U3RlcE9yZGVy') => $l14[base64_decode('U3RlcE9yZGVy')], base64_decode('U3RlcE5hbWU=') => $l14[base64_decode('U3RlcE5hbWU=')], base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('dGltRGVzY3JpcHRpb25lZW5k')]);
}
mysqli_free_result($d13);
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cG9wTW9kYWxlZGl0V29ya2Zsb3dzdGVw')])) {
$d76 = $_GET[base64_decode('cG9wTW9kYWxlZGl0V29ya2Zsb3dzdGVw')];
$oa = base64_decode('U0VMRUNUIGlkLCBzdGVwb3JkZXIsIHN0ZXBuYW1lLCBkZXNjcmlwdGlvbiwgcmVsYXRlZHVzZXJpZA0KICAgICAgICAgIEZST00gd29ya2Zsb3dzdGVwc190ZW1wbGF0ZSANCiAgICAgICAgICBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $d76);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('aWQ=') => $l14[base64_decode('aWQ=')], base64_decode('c3RlcG9yZGVy') => $l14[base64_decode('c3RlcG9yZGVy')], base64_decode('c3RlcG5hbWU=') => $l14[base64_decode('c3RlcG5hbWU=')], base64_decode('ZGVzY3JpcHRpb24=') => $l14[base64_decode('ZGVzY3JpcHRpb24=')], base64_decode('cmVsYXRlZHVzZXJpZA==') => $l14[base64_decode('cmVsYXRlZHVzZXJpZA==')]);
}
mysqli_free_result($d13);
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cG9wTW9kYWxlZGl0U3RhbnNkYXJkQW5zd2Vy')])) {
$l1c3 = $_GET[base64_decode('cG9wTW9kYWxlZGl0U3RhbnNkYXJkQW5zd2Vy')];
$oa = base64_decode('U0VMRUNUIHN0YW5kYXJkYW5zd2Vycy5JRCwgTmFtZSwgQW5zd2VyLCBSZWxhdGVkTW9kdWxlSUQNCiAgICAgICAgICBGUk9NIHN0YW5kYXJkYW5zd2Vycw0KICAgICAgICAgIFdIRVJFIHN0YW5kYXJkYW5zd2Vycy5JRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $l1c3);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('TmFtZQ==') => $l14[base64_decode('TmFtZQ==')], base64_decode('QW5zd2Vy') => $l14[base64_decode('QW5zd2Vy')], base64_decode('UmVsYXRlZE1vZHVsZUlE') => $l14[base64_decode('UmVsYXRlZE1vZHVsZUlE')]);
}
mysqli_free_result($d13);
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('ZWRpdFdvcmtGbG93TW9kYWw=')])) {
$hb3 = $_POST[base64_decode('d29ya2Zsb3dpZA==')];
$oa = base64_decode('U0VMRUNUIElELCBXb3JrZmxvd05hbWUsIERlc2NyaXB0aW9uLCBSZXNwb25zaWJsZSwgUmVsYXRlZE1vZHVsZUlELCBBY3RpdmUNCiAgICAgICAgICBGUk9NIHdvcmtmbG93c190ZW1wbGF0ZQ0KICAgICAgICAgIFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $hb3);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('V29ya0Zsb3dOYW1l') => $l14[base64_decode('V29ya2Zsb3dOYW1l')], base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('RGVzY3JpcHRpb24=')], base64_decode('UmVzcG9uc2libGU=') => $l14[base64_decode('UmVzcG9uc2libGU=')], base64_decode('QWN0aXZl') => $l14[base64_decode('QWN0aXZl')], base64_decode('UmVsYXRlZE1vZHVsZUlE') => $l14[base64_decode('UmVsYXRlZE1vZHVsZUlE')]);
}
echo json_encode($s119);
}
if (isset($_POST[base64_decode('dXBkYXRlV29ya0Zsb3dTdGVw')])) {
if (in_array(base64_decode('MTAwMDIz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$t1c4 = $_POST[base64_decode('c3RlcGlk')];
$j1c5 = $_POST[base64_decode('c3RlcG9yZGVy')];
$t1c6 = $_POST[base64_decode('c3RlcG5hbWU=')];
$t1c6 = mysqli_real_escape_string($zc, $t1c6);
$s135 = $_POST[base64_decode('ZGVzY3JpcHRpb24=')];
$s135 = mysqli_real_escape_string($zc, $s135);
$j1c7 = $_POST[base64_decode('cmVzcG9uc2libGU=')];
if ($j1c7 == -1) {
$j1c7 = base64_decode('TlVMTA==');
}
$oa = base64_decode('VVBEQVRFIHdvcmtmbG93c3RlcHNfdGVtcGxhdGUgU0VUIFN0ZXBPcmRlcj0/LFN0ZXBOYW1lPT8sRGVzY3JpcHRpb249PyxSZWxhdGVkVXNlcklEPT8NCiAgICAgICAgICBXSEVSRSB3b3JrZmxvd3N0ZXBzX3RlbXBsYXRlLklEPT87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $j1c5, $t1c6, $s135, $j1c7, $t1c4);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlV29ya0Zsb3c=')])) {
if (in_array(base64_decode('MTAwMDIz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$l1c8 = $_POST[base64_decode('d29ya2Zsb3dpZA==')];
$d1c9 = $_POST[base64_decode('d29ya2Zsb3duYW1l')];
$d1c9 = mysqli_real_escape_string($zc, $d1c9);
$d1ca = $_POST[base64_decode('d29ya2Zsb3dkZXNjcmlwdGlvbg==')];
$d1ca = mysqli_real_escape_string($zc, $d1ca);
$c1cb = $_POST[base64_decode('d29ya2Zsb3dyZXNwb25zaWJsZQ==')];
$g1cc = $_POST[base64_decode('d29ya2Zsb3dyZWxhdGVkbW9kdWxl')];
$s1cd = $_POST[base64_decode('bW9kYWxFZGl0V29ya0Zsb3dBY3RpdmU=')];
if ($c1cb == -1) {
$c1cb = base64_decode('TlVMTA==');
}
$oa = base64_decode('VVBEQVRFIHdvcmtmbG93c190ZW1wbGF0ZSANCiAgICAgICAgICBTRVQgV29ya2Zsb3dOYW1lPT8sIERlc2NyaXB0aW9uPT8sIFJlc3BvbnNpYmxlPT8sIFJlbGF0ZWRNb2R1bGVJRD0/LCBBY3RpdmU9Pw0KICAgICAgICAgIFdIRVJFIHdvcmtmbG93c190ZW1wbGF0ZS5JRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nz'), $d1c9, $d1ca, $c1cb, $g1cc, $s1cd, $l1c8);
$sb->execute();
}
if (isset($_POST[base64_decode('Y3JlYXRlV29ya0Zsb3dTdGVw')])) {
$l1c8 = $_POST[base64_decode('d29ya2Zsb3dpZA==')];
$j1c5 = $_POST[base64_decode('c3RlcG9yZGVy')];
$t1c6 = $_POST[base64_decode('c3RlcG5hbWU=')];
$t1c6 = mysqli_real_escape_string($zc, $t1c6);
$s135 = $_POST[base64_decode('ZGVzY3JpcHRpb24=')];
$s135 = mysqli_real_escape_string($zc, $s135);
$j1c7 = $_POST[base64_decode('cmVzcG9uc2libGU=')];
if ($j1c7 == -1) {
$j1c7 = base64_decode('TlVMTA==');
}
$oa = base64_decode('SU5TRVJUIElOVE8gd29ya2Zsb3dzdGVwc190ZW1wbGF0ZShSZWxhdGVkV29ya0Zsb3dJRCwgU3RlcE9yZGVyLCBTdGVwTmFtZSwgRGVzY3JpcHRpb24sIFJlbGF0ZWRVc2VySUQpIA0KICAgICAgICAgIFZBTFVFUyAoPyw/LD8sPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $l1c8, $j1c5, $t1c6, $s135, $j1c7);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_POST[base64_decode('dXBkYXRlU3RhbmRhcmRBbnN3ZXI=')])) {
$u1bc = $_POST[base64_decode('aWQ=')];
$p50 = $_POST[base64_decode('bmFtZQ==')];
$p1ce = mysqli_real_escape_string($zc, urldecode($_POST[base64_decode('YW5zd2Vy')]));
$gdc = $_POST[base64_decode('bW9kdWxlaWQ=')];
$oa = base64_decode('VVBEQVRFIHN0YW5kYXJkYW5zd2VycyANCiAgICAgICAgICBTRVQgTmFtZT0/LFJlbGF0ZWRNb2R1bGVJRD0/LEFuc3dlcj0/DQogICAgICAgICAgV0hFUkUgc3RhbmRhcmRhbnN3ZXJzLklEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $p50, $gdc, $p1ce, $u1bc);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('Y3JlYXRlV29ya0Zsb3c=')])) {
$d1c9 = $_POST[base64_decode('d29ya2Zsb3duYW1l')];
$d1c9 = mysqli_real_escape_string($zc, $d1c9);
$d1ca = $_POST[base64_decode('d29ya2Zsb3dkZXNjcmlwdGlvbg==')];
$d1ca = mysqli_real_escape_string($zc, $d1ca);
$c1cb = $_POST[base64_decode('d29ya2Zsb3dyZXNwb25zaWJsZQ==')];
$g1cc = $_POST[base64_decode('d29ya2Zsb3dyZWxhdGVkbW9kdWxl')];
if ($c1cb == -1) {
$c1cb = base64_decode('TlVMTA==');
}
$oa = base64_decode('SU5TRVJUIElOVE8gd29ya2Zsb3dzX3RlbXBsYXRlKFdvcmtmbG93TmFtZSwgRGVzY3JpcHRpb24sIFJlc3BvbnNpYmxlLCBSZWxhdGVkTW9kdWxlSUQpIA0KICAgICAgICAgIFZBTFVFUyAoPyw/LD8sPyk7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $d1c9, $d1ca, $c1cb, $g1cc);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('ZGVsZXRlV29ya0Zsb3dUZW1wbGF0ZVRhc2s=')])) {
$f1cf = $_POST[base64_decode('V0ZUQVNLSUQ=')];
$oa = base64_decode('REVMRVRFIEZST00gd29ya2Zsb3dzdGVwc190ZW1wbGF0ZQ0KICAgICAgICAgIFdIRVJFIHdvcmtmbG93c3RlcHNfdGVtcGxhdGUuSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $f1cf);
$sb->execute();
}
if (isset($_GET[base64_decode('ZGVsZXRlV29ya0Zsb3c=')])) {
if (in_array(base64_decode('MTAwMDIz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$i1d0 = $_GET[base64_decode('V0ZJRA==')];
$oa = base64_decode('REVMRVRFIEZST00gd29ya2Zsb3dzX3RlbXBsYXRlDQogICAgICAgICAgV0hFUkUgd29ya2Zsb3dzX3RlbXBsYXRlLklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $i1d0);
$sb->execute();
$fe[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($fe);
}
if (isset($_GET[base64_decode('Z2V0T25saW5lVXNlcnM=')])) {
$oa = base64_decode('U0VMRUNUIHVzZXJpZCwgc2Vzc2lvbmNyZWF0ZWQsIHNlc3Npb25yZW5ld2VkLCBDT05DQVQodXNlcnMuZmlyc3RuYW1lLCcgJyx1c2Vycy5sYXN0bmFtZSwnICgnLHVzZXJzLnVzZXJuYW1lLCcpJykgQVMgRnVsbE5hbWUNCiAgICAgICAgICBGUk9NIHNlc3Npb25zDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIHNlc3Npb25zLnVzZXJpZCA9IHVzZXJzLklEIA0KICAgICAgICAgIFdIRVJFIHNlc3Npb25yZW5ld2VkID4gKE5PVygpIC0gSU5URVJWQUwgMTUgTUlOVVRFKQ0KICAgICAgICAgIE9SREVSIEJZIHNlc3Npb25jcmVhdGVkIERFU0M7');
$sb = mysqli_prepare($zc, $oa);
$sb->execute();
$d13 = $sb->get_result();
if ($d13->$y1d1 === 0) exit(base64_decode('Tm8gcm93cw=='));
while ($l14 = $d13->fetch_assoc()) {
$s119[] = array(base64_decode('dXNlcmlk') => $l14[base64_decode('dXNlcmlk')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')]);
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('cHJlcGFyZUltcG9ydEFEVXNlcnM=')])) {
$x1d2 = getSettingValue(51);
$g1d3 = getSettingValue(52);
$z1d4 = getSettingValue(53);
$b1d5 = getSettingValue(57);
$z1d4 = base64_decode('bGRhcDovLw==') . $z1d4 . base64_decode('Lg==') . $b1d5 . base64_decode('OjM4OQ==');
$q1d6 = getSettingValue(54);
$z1d7 = getSettingValue(55);
$t1d8 = getSettingValue(58);
$r1d9 = $g1d3 . base64_decode('QA==') . $b1d5;
$l1da = ldap_connect($z1d4);
ldap_set_option($l1da, LDAP_OPT_PROTOCOL_VERSION, $z1d7) or die(base64_decode('VW5hYmxlIHRvIHNldCBMREFQIHByb3RvY29sIHZlcnNpb24='));
ldap_set_option($l1da, LDAP_OPT_REFERRALS, 0);
if (TRUE === ldap_bind($l1da, "$r1d9", $x1d2)) {
$e1db = base64_decode('KCYob2JqZWN0Q2F0ZWdvcnk9cGVyc29uKShzYW1hY2NvdW50bmFtZT0qKSk=');
$e1dc = array();
$e1dc[] = base64_decode('Z2l2ZW5uYW1l');
$e1dc[] = base64_decode('bWFpbA==');
$e1dc[] = base64_decode('c2FtYWNjb3VudG5hbWU=');
$e1dc[] = base64_decode('c24=');
$e1dc[] = base64_decode('ZGlzcGxheW5hbWU=');
$e1dc[] = base64_decode('dXNlcmFjY291bnRjb250cm9s');
$e1dc[] = base64_decode('bW9kaWZ5dGltZXN0YW1w');
$d13 = ldap_search($l1da, $q1d6, $e1db, $e1dc);
if (FALSE !== $d13) {
$w1dd = ldap_get_entries($l1da, $d13);
for ($a1de = 0; $a1de < $w1dd[base64_decode('Y291bnQ=')]; $a1de++) {
if (!empty($w1dd[$a1de][base64_decode('c2FtYWNjb3VudG5hbWU=')][0])) {
$a1df = 1;
$x1e0 = false;
$e7b = strtolower(trim($w1dd[$a1de][base64_decode('c2FtYWNjb3VudG5hbWU=')][0]));
$z187 = strtolower(trim($w1dd[$a1de][base64_decode('bWFpbA==')][0]));
$h1e1 = trim($w1dd[$a1de][base64_decode('ZGlzcGxheW5hbWU=')][0]);
$u16c = trim($w1dd[$a1de][base64_decode('Z2l2ZW5uYW1l')][0]);
$r16d = trim($w1dd[$a1de][base64_decode('c24=')][0]);
$l1e2 = trim($w1dd[$a1de][base64_decode('dXNlcmFjY291bnRjb250cm9s')][0]);
if ($l1e2 == base64_decode('NTEy')) {
$a1df = 1;
}
if ($l1e2 == base64_decode('NTE0')) {
$a1df = 0;
}
$x1e0 = doesUsernameExist($e7b, $z187);
if ($x1e0 == true) {
$x1e3 = base64_decode('VXBkYXRl');
}
if ($x1e0 == false && $a1df == 1) {
$x1e3 = base64_decode('SW1wb3J0');
}
$s119[] = array(base64_decode('VXNlcm5hbWU=') => $e7b, base64_decode('RW1haWw=') => $z187, base64_decode('Rmlyc3RuYW1l') => $u16c, base64_decode('TGFzdG5hbWU=') => $r16d, base64_decode('RnVsbG5hbWU=') => $h1e1, base64_decode('QWN0aW9u') => $x1e3, base64_decode('U3RhdHVz') => $a1df);
}
}
ldap_unbind($l1da);
}
$ybf = count($s119);
$r160 .= "Retrieved $ybf Active Directory users\n";
}
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('dXBkYXRlQWRtaW5pc3RyYXRvcnNGcm9tTERBUA==')])) {
$ybf = syncAdministrators();
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('aW1wb3J0QURVc2Vycw==')])) {
$ybf = syncADUsers();
$m1e4[] = array(base64_decode('QW50YWw=') => $ybf);
if (empty($m1e4)) {
echo json_encode([]);
} else {
echo json_encode($m1e4);
}
}
if (isset($_GET[base64_decode('aW1wb3J0QURUZWFtcw==')])) {
$ybf = syncADTeams();
$m1e4[] = array(base64_decode('QW50YWw=') => $ybf);
if (empty($m1e4)) {
echo json_encode([]);
} else {
echo json_encode($m1e4);
}
}
if (isset($_GET[base64_decode('Z2V0UHJvamVjdFRhc2tz')])) {
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$q4 = $_SESSION[base64_decode('aWQ=')];
$a1e5 = '';
$s119 = array();
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdGFza3MuSUQgQVMgVGFza0lELCBUYXNrTmFtZSwgcHJvamVjdF90YXNrcy5EZXNjcmlwdGlvbiwgcHJvamVjdF90YXNrcy5TdGFydCwgcHJvamVjdF90YXNrcy5EZWFkbGluZSwgQ09OQ0FUKHVzZXJzLmZpcnN0bmFtZSwnICcsIHVzZXJzLmxhc3RuYW1lKSBBUyBGdWxsTmFtZSwgcHJvamVjdF90YXNrcy5TdGF0dXMsIHByb2plY3RzX3N0YXR1c2NvZGVzLlN0YXR1c05hbWUsIA0KICAgICAgICAgICAgICAgIHByb2plY3RfdGFza3MuUGFyZW50VGFzayBBUyBQYXJlbnRUYXNrLHByb2plY3RfdGFza3MuUHJvZ3Jlc3MgQVMgVGFza1Byb2dyZXNzLCBwcm9qZWN0c19zcHJpbnRzLlN0YXJ0IEFTIFNwcmludFN0YXJ0RGF0ZSwgcHJvamVjdHNfc3ByaW50cy5EZWFkbGluZSBBUyBTcHJpbnRFbmREYXRlLCBwcm9qZWN0c19zcHJpbnRzLlNob3J0TmFtZSwgcHJvamVjdHNfc3ByaW50cy5JRCBBUyBTcHJpbnRJRCwgDQogICAgICAgICAgICAgICAgcHJvamVjdF90YXNrcy5Qcml2YXRlIEFTIFRhc2tQcml2YXRlLCBwcm9qZWN0cy5Qcm9qZWN0TWFuYWdlcixwcm9qZWN0c190YXNrc19jYXRlZ29yaWVzLlNob3J0TmFtZSBBUyBSZWxhdGVkVGFza0NhdGVnb3J5TmFtZSwgcHJvamVjdHNfdGFza3NfY2F0ZWdvcmllcy5EZXNjcmlwdGlvbiBBUyBSZWxhdGVkVGFza0NhdGVnb3J5RGVzY3JpcHRpb24NCiAgICAgICAgICBGUk9NIHByb2plY3RfdGFza3MNCiAgICAgICAgICBMRUZUIEpPSU4gcHJvamVjdHMgT04gcHJvamVjdF90YXNrcy5SZWxhdGVkUHJvamVjdCA9IHByb2plY3RzLklEDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIHByb2plY3RfdGFza3MuUmVzcG9uc2libGUgPSB1c2Vycy5JRA0KICAgICAgICAgIExFRlQgSk9JTiBwcm9qZWN0c19zdGF0dXNjb2RlcyBPTiBwcm9qZWN0X3Rhc2tzLlN0YXR1cyA9IHByb2plY3RzX3N0YXR1c2NvZGVzLklEDQogICAgICAgICAgTEVGVCBKT0lOIHByb2plY3RzX3Rhc2tzX2NhdGVnb3JpZXMgT04gcHJvamVjdF90YXNrcy5SZWxhdGVkQ2F0ZWdvcnkgPSBwcm9qZWN0c190YXNrc19jYXRlZ29yaWVzLklEDQogICAgICAgICAgTEVGVCBPVVRFUiBKT0lOIHByb2plY3RzX3NwcmludHMgT04gcHJvamVjdHNfc3ByaW50cy5SZWxhdGVkUHJvamVjdElEID0gPyBBTkQgcHJvamVjdF90YXNrcy5TdGFydCA+PSBwcm9qZWN0c19zcHJpbnRzLlN0YXJ0IEFORCBwcm9qZWN0X3Rhc2tzLkRlYWRsaW5lIDw9IHByb2plY3RzX3NwcmludHMuRGVhZGxpbmUNCiAgICAgICAgICBXSEVSRSBwcm9qZWN0cy5JRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBwcm9qZWN0c19zcHJpbnRzLkRlYWRsaW5lIEFTQywgcHJvamVjdF90YXNrcy5EZWFkbGluZSBBU0M7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $mcb, $mcb);
$sb->execute();
$d13 = $sb->get_result();
if ($d13->$y1d1 === 0) exit(base64_decode('Tm8gcm93cw=='));
while ($l14 = $d13->fetch_assoc()) {
if (empty($l14[base64_decode('U2hvcnROYW1l')])) {
$a1e5 = translate(base64_decode('Tm8gU3ByaW50'));
} else {
$a1e5 = $l14[base64_decode('U2hvcnROYW1l')];
}
$d1e6 = base64_decode('MA==');
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$v78 = translate($l14[base64_decode('U3RhdHVzTmFtZQ==')]);
$a1df = $l14[base64_decode('U3RhdHVz')];
$p1e7 = $l14[base64_decode('UGFyZW50VGFzaw==')];
if ($p1e7 == base64_decode('LTE=')) {
$p1e7 = '';
}
$t1e8 = $l14[base64_decode('VGFza1Byb2dyZXNz')];
$u1e9 = $l14[base64_decode('VGFza1ByaXZhdGU=')];
$v78 = sprintf(_("$v78"));
$l147 = $l14[base64_decode('VGFza0lE')];
$r19a = $l14[base64_decode('U3ByaW50SUQ=')];
$g1ea = $l14[base64_decode('U3ByaW50RW5kRGF0ZQ==')];
$t149 = $l14[base64_decode('UHJvamVjdE1hbmFnZXI=')];
$a1eb = $l14[base64_decode('UmVsYXRlZFRhc2tDYXRlZ29yeU5hbWU=')];
$y1ec = $l14[base64_decode('UmVsYXRlZFRhc2tDYXRlZ29yeURlc2NyaXB0aW9u')];
$z1ed = base64_decode('MA==');
if ($u1e9 == base64_decode('MQ==') && $t149 <> $q4) {
$i1ee = getProjectTaskParticipantsForPrivate($l147, $q4);
if (empty($i1ee)) {
$z1ed = base64_decode('MQ==');
}
}
if ($a1df <> base64_decode('Nw==')) {
$y1ef = date(base64_decode('WS1tLWQgSDpt'), strtotime($l14[base64_decode('RGVhZGxpbmU=')]));
$q1f0 = date(base64_decode('WS1tLWQgSDpt'));
if ($y1ef < $q1f0) {
$d1e6 = base64_decode('MQ==');
}
if ($y1ef < $q1f0) {
$d1e6 = base64_decode('MQ==');
}
}
if (!empty($p1e7)) {
$w1f1 = getParentTaskName($p1e7);
} else {
$w1f1 = '';
}
$s119[] = array(base64_decode('UHJvZ3Jlc3M=') => $t1e8, base64_decode('UGFyZW50VGFzaw==') => $p1e7, base64_decode('UGFyZW50VGFza05hbWU=') => $w1f1, base64_decode('UHJvamVjdElE') => $mcb, base64_decode('VGFza0lE') => $l147, base64_decode('Q2FsU3RhcnQ=') => $l14[base64_decode('U3RhcnQ=')], base64_decode('U3RhcnQ=') => convertToDanishTimeFormat($l14[base64_decode('U3RhcnQ=')]), base64_decode('Q2FsRW5k') => $l14[base64_decode('RGVhZGxpbmU=')], base64_decode('RGVhZGxpbmU=') => convertToDanishTimeFormat($l14[base64_decode('RGVhZGxpbmU=')]), base64_decode('VGFza05hbWU=') => $l14[base64_decode('VGFza05hbWU=')], base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('RGVzY3JpcHRpb24=')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')], base64_decode('U3RhdHVzTmFtZQ==') => $v78, base64_decode('VGFza1Byb2dyZXNz') => $l14[base64_decode('VGFza1Byb2dyZXNz')], base64_decode('U3ByaW50TmFtZQ==') => $a1e5, base64_decode('U3ByaW50SUQ=') => $l14[base64_decode('U3ByaW50SUQ=')], base64_decode('U3ByaW50RGVhZGxpbmU=') => $g1ea, base64_decode('UmVsYXRlZFRhc2tDYXRlZ29yeU5hbWU=') => $a1eb, base64_decode('UmVsYXRlZFRhc2tDYXRlZ29yeURlc2NyaXB0aW9u') => $y1ec, base64_decode('UHJpdmF0ZQ==') => $u1e9, base64_decode('Q2xvc2VkU3RhdHVz') => $z1ed, base64_decode('VGFza0RlbGF5ZWQ=') => $d1e6, base64_decode('U3ByaW50SUQ=') => $r19a);
}
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Z2V0UHJvamVjdFRhc2tzU3ByaW50')])) {
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$r19a = $_GET[base64_decode('c3ByaW50aWQ=')];
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdGFza3MuSUQgQVMgSUQsIFRhc2tOYW1lLCBwcm9qZWN0X3Rhc2tzLkRlc2NyaXB0aW9uLCBwcm9qZWN0X3Rhc2tzLkRlYWRsaW5lLCBDT05DQVQodXNlcnMuZmlyc3RuYW1lLCcgJywgdXNlcnMubGFzdG5hbWUpIEFTIEZ1bGxOYW1lLCBwcm9qZWN0c19zdGF0dXNjb2Rlcy5TdGF0dXNOYW1lLCBwcm9qZWN0X3Rhc2tzLlByb2dyZXNzIEFTIFRhc2tQcm9ncmVzcywgcHJvamVjdHNfc3ByaW50cy5TaG9ydE5hbWUNCiAgICAgICAgICBGUk9NIHByb2plY3RfdGFza3MNCiAgICAgICAgICBMRUZUIEpPSU4gcHJvamVjdHMgT04gcHJvamVjdF90YXNrcy5SZWxhdGVkUHJvamVjdCA9IHByb2plY3RzLklEDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIHByb2plY3RfdGFza3MuUmVzcG9uc2libGUgPSB1c2Vycy5JRA0KICAgICAgICAgIExFRlQgSk9JTiBwcm9qZWN0c19zdGF0dXNjb2RlcyBPTiBwcm9qZWN0X3Rhc2tzLlN0YXR1cyA9IHByb2plY3RzX3N0YXR1c2NvZGVzLklEDQogICAgICAgICAgTEVGVCBKT0lOIHByb2plY3RzX3NwcmludHMgT04gcHJvamVjdHNfc3ByaW50cy5JRCA9IHByb2plY3RfdGFza3MuUmVsYXRlZENhdGVnb3J5DQogICAgICAgICAgV0hFUkUgcHJvamVjdHMuSUQgPSA/IEFORCBwcm9qZWN0X3Rhc2tzLlJlbGF0ZWRDYXRlZ29yeSA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBwcm9qZWN0X3Rhc2tzLkRlYWRsaW5lIEFTQzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $mcb, $r19a);
$sb->execute();
$d13 = $sb->get_result();
if ($d13->$y1d1 === 0) exit(base64_decode('Tm8gcm93cw=='));
while ($l14 = $d13->fetch_assoc()) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('RGVhZGxpbmU=') => convertToDanishTimeFormat($l14[base64_decode('RGVhZGxpbmU=')]), base64_decode('VGFza05hbWU=') => $l14[base64_decode('VGFza05hbWU=')], base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('RGVzY3JpcHRpb24=')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')], base64_decode('U3RhdHVzTmFtZQ==') => _($l14[base64_decode('U3RhdHVzTmFtZQ==')]), base64_decode('VGFza1Byb2dyZXNz') => $l14[base64_decode('VGFza1Byb2dyZXNz')], base64_decode('U3ByaW50TmFtZQ==') => $l14[base64_decode('U2hvcnROYW1l')]);
}
mysqli_free_result($d13);
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('dXBkYXRlUHJvamVjdFRhc2tEYXRl')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$a1f2 = $_GET[base64_decode('dGFza2lk')];
$i1f3 = $_GET[base64_decode('c3RhcnRkYXRl')];
$t1f4 = $_GET[base64_decode('ZW5kZGF0ZQ==')];
$j9f = base64_decode('MTM=');
$oa = base64_decode('VVBEQVRFIHByb2plY3RfdGFza3MgU0VUIFN0YXJ0ID0gPywgRGVhZGxpbmUgPSA/LCB1cGRhdGVkX2J5ID0gPyBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $i1f3, $t1f4, $p8a, $a1f2);
$sb->execute();
$d13 = $sb->get_result();
updateKanbanTaskDeadline($t1f4, $a1f2, $j9f);
echo json_encode([]);
}
if (isset($_GET[base64_decode('Z2V0U3ByaW50SURGcm9tTmFtZQ==')])) {
$o1f5 = $_GET[base64_decode('c3ByaW50bmFtZQ==')];
$oa = base64_decode('U0VMRUNUIElEDQogICAgICAgICAgRlJPTSBwcm9qZWN0c19zcHJpbnRzDQogICAgICAgICAgV0hFUkUgU2hvcnROYW1lID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $o1f5);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('U3ByaW50SUQ=') => $l14[base64_decode('SUQ=')]);
}
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Z2V0UHJvamVjdFRhc2tzQnVkZ2V0Vmlldw==')])) {
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdGFza3MuSUQgQVMgSUQsIFRhc2tOYW1lLCBwcm9qZWN0X3Rhc2tzLlByb2dyZXNzIEFTIFRhc2tQcm9ncmVzcywgcHJvamVjdF90YXNrcy5Fc3RpbWF0ZWRCdWRnZXQsIHByb2plY3RfdGFza3MuQnVkZ2V0U3BlbmQsIHByb2plY3RfdGFza3MuRXN0aW1hdGVkSG91cnMNCiAgICAgICAgICBGUk9NIHByb2plY3RfdGFza3MNCiAgICAgICAgICBMRUZUIEpPSU4gcHJvamVjdHMgT04gcHJvamVjdF90YXNrcy5SZWxhdGVkUHJvamVjdCA9IHByb2plY3RzLklEDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIHByb2plY3RfdGFza3MuUmVzcG9uc2libGUgPSB1c2Vycy5JRA0KICAgICAgICAgIExFRlQgSk9JTiBwcm9qZWN0c19zdGF0dXNjb2RlcyBPTiBwcm9qZWN0X3Rhc2tzLlN0YXR1cyA9IHByb2plY3RzX3N0YXR1c2NvZGVzLklEIA0KICAgICAgICAgIFdIRVJFIHByb2plY3RzLklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('VGFza05hbWU=') => $l14[base64_decode('VGFza05hbWU=')], base64_decode('VGFza1Byb2dyZXNz') => $l14[base64_decode('VGFza1Byb2dyZXNz')], base64_decode('RXN0aW1hdGVkQnVkZ2V0') => $l14[base64_decode('RXN0aW1hdGVkQnVkZ2V0')], base64_decode('QnVkZ2V0U3BlbmQ=') => $l14[base64_decode('QnVkZ2V0U3BlbmQ=')], base64_decode('RXN0aW1hdGVkSG91cnM=') => $l14[base64_decode('RXN0aW1hdGVkSG91cnM=')], base64_decode('SG91cnNTcGVuZA==') => getProjectTaskTotalHoursSpend($l14[base64_decode('SUQ=')]));
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0UHJvamVjdFRlYW1NZW1iZXJz')])) {
$mcb = $_GET[base64_decode('cHJvamVjdGlk')];
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdXNlcnMuUHJvamVjdElELCBwcm9qZWN0X3VzZXJzLlVzZXJJRCwgQ09OQ0FUKHVzZXJzLkZpcnN0bmFtZSwnICcsdXNlcnMuTGFzdG5hbWUpIEFTIEZ1bGxOYW1lLCB1c2Vycy5Qcm9maWxlUGljdHVyZSx1c2Vycy5FbWFpbA0KICAgICAgICAgIEZST00gcHJvamVjdF91c2Vycw0KICAgICAgICAgIExFRlQgSk9JTiB1c2VycyBPTiBwcm9qZWN0X3VzZXJzLlVzZXJJRCA9IHVzZXJzLklEDQogICAgICAgICAgV0hFUkUgcHJvamVjdF91c2Vycy5Qcm9qZWN0SUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('UHJvamVjdElE') => $l14[base64_decode('UHJvamVjdElE')], base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')], base64_decode('RW1haWw=') => $l14[base64_decode('RW1haWw=')], base64_decode('UHJvZmlsZVBpY3R1cmU=') => $l14[base64_decode('UHJvZmlsZVBpY3R1cmU=')]);
}
if (empty($s119)) {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array();
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0UHJvamVjdFRhc2tUZWFtTWVtYmVycw==')])) {
$l147 = $_GET[base64_decode('cHJvamVjdHRhc2tpZA==')];
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdGFza3NfdXNlcnMuUHJvamVjdFRhc2tJRCAsIHByb2plY3RfdGFza3NfdXNlcnMuVXNlcklELCBDT05DQVQodXNlcnMuRmlyc3RuYW1lLCcgJyx1c2Vycy5MYXN0bmFtZSkgQVMgRnVsbE5hbWUsIHVzZXJzLlByb2ZpbGVQaWN0dXJlLHVzZXJzLkVtYWlsDQogICAgICAgICAgRlJPTSBwcm9qZWN0X3Rhc2tzX3VzZXJzDQogICAgICAgICAgTEVGVCBKT0lOIHVzZXJzIE9OIHByb2plY3RfdGFza3NfdXNlcnMuVXNlcklEID0gdXNlcnMuSUQNCiAgICAgICAgICBXSEVSRSBwcm9qZWN0X3Rhc2tzX3VzZXJzLlByb2plY3RUYXNrSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $l147);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('UHJvamVjdFRhc2tJRA==') => $l14[base64_decode('UHJvamVjdFRhc2tJRA==')], base64_decode('VXNlcklE') => $l14[base64_decode('VXNlcklE')], base64_decode('RnVsbE5hbWU=') => $l14[base64_decode('RnVsbE5hbWU=')], base64_decode('RW1haWw=') => $l14[base64_decode('RW1haWw=')], base64_decode('UHJvZmlsZVBpY3R1cmU=') => $l14[base64_decode('UHJvZmlsZVBpY3R1cmU=')]);
}
if (empty($s119)) {
$s119[] = array();
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0TGFuZ3VhZ2Vz')])) {
$oa = base64_decode('U0VMRUNUIElELCBNYWluTGFuZ3VhZ2UsIGRhX0RLLCBkZV9ERSwgZXNfRVMsIGZyX0ZSLCBmaV9GSSANCiAgICAgICAgICBGUk9NIGxhbmd1YWdlcw==');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('TWFpbkxhbmd1YWdl') => $l14[base64_decode('TWFpbkxhbmd1YWdl')], base64_decode('ZGFfREs=') => $l14[base64_decode('ZGFfREs=')], base64_decode('ZGVfREU=') => $l14[base64_decode('ZGVfREU=')], base64_decode('ZXNfRVM=') => $l14[base64_decode('ZXNfRVM=')], base64_decode('ZnJfRlI=') => $l14[base64_decode('ZnJfRlI=')], base64_decode('ZmlfRkk=') => $l14[base64_decode('ZmlfRkk=')]);
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('YWRkdXNlcnRvdGVhbQ==')])) {
$p8a = $_GET[base64_decode('dXNlcmlk')];
$z3 = $_GET[base64_decode('YWRkdXNlcnRvdGVhbQ==')];
$oa = base64_decode('U0VMRUNUIFVzZXJJRCwgVGVhbUlEDQogICAgICAgICAgRlJPTSB1c2Vyc3RlYW1zDQogICAgICAgICAgV0hFUkUgVXNlcklEID0gPyBBTkQgVGVhbUlEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $z3);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcnN0ZWFtcyhVc2VySUQsIFRlYW1JRCkgVkFMVUVTICg/LD8pOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $p8a, $z3);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('dG9nZ2xlc2lkZWJhcg==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$j1f6 = $_GET[base64_decode('dG9nZ2xlc2lkZWJhcg==')];
if ($j1f6 == 1) {
$j1f6 = base64_decode('c2lkZWJhci1taW5p');
} else {
$j1f6 = '';
}
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZQ0KICAgICAgICAgIEZST00gdXNlcl9zZXR0aW5ncw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/IEFORCBSZWxhdGVkU2V0dGluZ0lEID0gMTI=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = base64_decode('VVBEQVRFIHVzZXJfc2V0dGluZ3MgU0VUIFNldHRpbmdWYWx1ZSA9ID8gV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAxMg==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $j1f6, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMTIsPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $j1f6, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('Z2V0c2lkZWJhcnZhbHVl')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZSBGUk9NIHVzZXJfc2V0dGluZ3MgDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAxMg==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == 0) {
$s119 = array(base64_decode('c2lkZWJhcnZhbHVl') => '');
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('c2lkZWJhcnZhbHVl') => $l14[base64_decode('U2V0dGluZ1ZhbHVl')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dG9nZ2xlc2lkZWJhcmNvbG9y')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$b1f7 = $_GET[base64_decode('dG9nZ2xlc2lkZWJhcmNvbG9y')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZQ0KICAgICAgICAgIEZST00gdXNlcl9zZXR0aW5ncw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/IEFORCBSZWxhdGVkU2V0dGluZ0lEID0gMTg=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = base64_decode('VVBEQVRFIHVzZXJfc2V0dGluZ3MgU0VUIFNldHRpbmdWYWx1ZSA9ID8gV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAxOA==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $b1f7, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMTgsPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $b1f7, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('dG9nZ2xlY2FyZGhlYWRlcnNjb2xvcg==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$a1f8 = $_GET[base64_decode('dG9nZ2xlY2FyZGhlYWRlcnNjb2xvcg==')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZQ0KICAgICAgICAgIEZST00gdXNlcl9zZXR0aW5ncw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/IEFORCBSZWxhdGVkU2V0dGluZ0lEID0gMjE=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = base64_decode('VVBEQVRFIHVzZXJfc2V0dGluZ3MgU0VUIFNldHRpbmdWYWx1ZSA9ID8gV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAyMQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $a1f8, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMjEsPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $a1f8, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('Z2V0YmFja2dyb3VuZHZhbHVl')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZSBGUk9NIHVzZXJfc2V0dGluZ3MgDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAyMg==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == 0) {
$s119 = array(base64_decode('YmFja2dyb3VuZHZhbHVl') => '');
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('YmFja2dyb3VuZHZhbHVl') => $l14[base64_decode('U2V0dGluZ1ZhbHVl')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dG9nZ2xlYmFja2dyb3VuZA==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$l1f9 = $_GET[base64_decode('dG9nZ2xlYmFja2dyb3VuZA==')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZQ0KICAgICAgICAgIEZST00gdXNlcl9zZXR0aW5ncw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/QU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAyMg==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = base64_decode('VVBEQVRFIHVzZXJfc2V0dGluZ3MgU0VUIFNldHRpbmdWYWx1ZSA9ID8gV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAyMg==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $l1f9, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMjIsPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $l1f9, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('Z2V0VGhlbWVTdHlsZQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZSBGUk9NIHVzZXJfc2V0dGluZ3MgDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAyMA==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == base64_decode('MA==')) {
$s119 = array(base64_decode('dGhlbWVzdHlsZXZhbHVldmFsdWU=') => base64_decode('bGlnaHQ='));
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('dGhlbWVzdHlsZXZhbHVldmFsdWU=') => $l14[base64_decode('U2V0dGluZ1ZhbHVl')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0TmF2YmFyc3R5bGU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZSBGUk9NIHVzZXJfc2V0dGluZ3MgDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAxMg==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == base64_decode('MA==')) {
$s119 = array(base64_decode('dGhlbWVzdHlsZXZhbHVldmFsdWU=') => base64_decode('aGlkZGVu'));
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('dGhlbWVzdHlsZXZhbHVldmFsdWU=') => $l14[base64_decode('U2V0dGluZ1ZhbHVl')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0c2lkZWJhcmltYWdldmFsdWU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZSBGUk9NIHVzZXJfc2V0dGluZ3MgDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAxOQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == 0) {
$s119 = array(base64_decode('c2lkZWJhcmltYWdldmFsdWU=') => '');
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('c2lkZWJhcmltYWdldmFsdWU=') => $l14[base64_decode('U2V0dGluZ1ZhbHVl')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dG9nZ2xldGhlbWVzdHlsZXZhbHVl')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y1fa = $_GET[base64_decode('dG9nZ2xldGhlbWVzdHlsZXZhbHVl')];
$s119 = array(base64_decode('dG9nZ2xldGhlbWVzdHlsZXZhbHVl') => $y1fa);
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZQ0KICAgICAgICAgIEZST00gdXNlcl9zZXR0aW5ncw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/IEFORCBSZWxhdGVkU2V0dGluZ0lEID0gMjA=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = base64_decode('VVBEQVRFIHVzZXJfc2V0dGluZ3MgU0VUIFNldHRpbmdWYWx1ZSA9ID8gV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAyMA==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $y1fa, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMjAsPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $y1fa, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dG9nZ2xlbmF2YmFyc3R5bGV2YWx1ZQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$a1fb = $_GET[base64_decode('dG9nZ2xlbmF2YmFyc3R5bGV2YWx1ZQ==')];
$s119 = array(base64_decode('dG9nZ2xlbmF2YmFyc3R5bGV2YWx1ZQ==') => $a1fb);
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZQ0KICAgICAgICAgIEZST00gdXNlcl9zZXR0aW5ncw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/IEFORCBSZWxhdGVkU2V0dGluZ0lEID0gMTI=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = base64_decode('VVBEQVRFIHVzZXJfc2V0dGluZ3MgU0VUIFNldHRpbmdWYWx1ZSA9ID8gV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAxMg==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $a1fb, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMTIsPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $a1fb, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dG9nZ2xlc2lkZWJhcmltYWdldmFsdWU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$i1fc = $_GET[base64_decode('dG9nZ2xlc2lkZWJhcmltYWdldmFsdWU=')];
if ($i1fc == true) {
$i1fc = base64_decode('MQ==');
} else {
$i1fc = base64_decode('MA==');
}
$oa = "SELECT SettingValue
FROM user_settings
WHERE RelatedUserID = $p8a AND RelatedSettingID = 19";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = base64_decode('VVBEQVRFIHVzZXJfc2V0dGluZ3MgU0VUIFNldHRpbmdWYWx1ZSA9ID8gV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAxOQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $i1fc, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMTksPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $i1fc, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('dG9nZ2xlYmFja2dyb3VuZA==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$r1fd = $_GET[base64_decode('dG9nZ2xlYmFja2dyb3VuZA==')];
if ($r1fd == base64_decode('MQ==')) {
$r1fd = base64_decode('MQ==');
} else {
$r1fd = base64_decode('MA==');
}
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZQ0KICAgICAgICAgIEZST00gdXNlcl9zZXR0aW5ncw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/IEFORCBSZWxhdGVkU2V0dGluZ0lEID0gMjI=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = "UPDATE user_settings SET SettingValue = '$r1fd' WHERE RelatedUserID = $p8a AND RelatedSettingID = 22";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r1fd, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMjIsPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r1fd, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('Z2V0bGF0ZXN0bm9maWNhdGlvbg==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIE1BWChJRCkgQVMgSUQNCiAgICAgICAgICBGUk9NIG5vdGlmaWNhdGlvbnMNCiAgICAgICAgICBXSEVSRSBSZWxhdGVkVXNlcklEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == 0) {
echo base64_decode('PHNjcmlwdD5hbGVydCgnWW91IGRvIG5vdCBoYXZlIGFueSBub3RpZmljYXRpb25zIHlldCcpPC9zY3JpcHQ+');
return;
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0bGF0ZXN0bWVzc2FnZQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('U0VMRUNUIE1BWChJRCkgQVMgSUQNCiAgICAgICAgICBGUk9NIG1lc3NhZ2VzDQogICAgICAgICAgV0hFUkUgVG9Vc2VySUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == 0) {
echo base64_decode('PHNjcmlwdD5hbGVydCgnWW91IGRvIG5vdCBoYXZlIGFueSBtZXNzYWdlcyB5ZXQnKTwvc2NyaXB0Pg==');
return;
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_POST[base64_decode('c2VhcmNoZnVuY3Rpb24=')])) {
$c1fe = $_POST[base64_decode('c2VhcmNodHlwZQ==')];
$q1ff = $_POST[base64_decode('c2VhcmNoc3RyaW5n')];
$oa = base64_decode('U0VMRUNUIFNldHRpbmdWYWx1ZQ0KICAgICAgICAgIEZST00gdXNlcl9zZXR0aW5ncw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRVc2VySUQgPSA/IEFORCBSZWxhdGVkU2V0dGluZ0lEID0gMTk=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
$v1a0 = mysqli_num_rows($d13);
if ($v1a0 > 0) {
$oa = base64_decode('VVBEQVRFIHVzZXJfc2V0dGluZ3MgU0VUIFNldHRpbmdWYWx1ZSA9ID8gV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8gQU5EIFJlbGF0ZWRTZXR0aW5nSUQgPSAxOQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $i1fc, $p8a);
$sb->execute();
$d13 = $sb->get_result();
} else {
$oa = base64_decode('SU5TRVJUIElOVE8gdXNlcl9zZXR0aW5ncyhSZWxhdGVkU2V0dGluZ0lELCBTZXR0aW5nVmFsdWUsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoMTksPyw/KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $i1fc, $p8a);
$sb->execute();
$d13 = $sb->get_result();
}
}
if (isset($_GET[base64_decode('ZGVsZXRlRm9ybXNUYWJsZQ==')])) {
$x200 = $_GET[base64_decode('ZGVsZXRlRm9ybXNUYWJsZQ==')];
$j4f = $_GET[base64_decode('dGFibGVuYW1l')];
deleteFormsTable($x200);
deleteDatabaseTable($j4f);
}
if (isset($_GET[base64_decode('Y3JlYXRlRm9ybXNUYWJsZQ==')])) {
$j4f = $_GET[base64_decode('Y3JlYXRlRm9ybXNUYWJsZQ==')];
$q1d = $_GET[base64_decode('Zm9ybWlk')];
createFormsTable($q1d, $j4f);
createDatabaseTable($j4f);
}
if (isset($_GET[base64_decode('Y3JlYXRlRm9ybXNUYWJsZUZpZWxk')])) {
$g201 = $_GET[base64_decode('Y3JlYXRlRm9ybXNUYWJsZUZpZWxk')];
$l202 = $_GET[base64_decode('ZmllbGRuYW1l')];
$g203 = $_GET[base64_decode('ZmllbGR0eXBl')];
$b204 = $_GET[base64_decode('ZmllbGRsZW5ndGg=')];
$u205 = $_GET[base64_decode('ZmllbGR3aWR0aA==')];
$b206 = $_GET[base64_decode('dGFibGVpZA==')];
createFormsTableField($g201, $l202, $g203, $b206, $b204, $u205);
createDatabaseTableField($g201, $l202, $g203, $b206, $b204, $u205);
}
if (isset($_GET[base64_decode('ZGVsZXRlRm9ybXNUYWJsZUZpZWxk')])) {
$o49 = $_GET[base64_decode('ZGVsZXRlRm9ybXNUYWJsZUZpZWxk')];
$m1a = $_GET[base64_decode('ZmllbGRuYW1l')];
$x200 = $_GET[base64_decode('Zm9ybXRhYmxlaWQ=')];
deleteFormsTableField($o49);
deleteDatabaseTableField($x200, $m1a);
}
if (isset($_GET[base64_decode('ZGVsZXRlUmVsQ29tcGFueQ==')])) {
$c207 = $_GET[base64_decode('ZGVsZXRlUmVsQ29tcGFueQ==')];
$oa = base64_decode('REVMRVRFIEZST00ga25vd2xlZGdlX2NvbXBhbmllcyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $c207);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('ZGVsZXRlUmVsVXNlcg==')])) {
$c207 = $_GET[base64_decode('ZGVsZXRlUmVsVXNlcg==')];
$oa = base64_decode('REVMRVRFIEZST00ga25vd2xlZGdlX3VzZXJzIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $c207);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('ZGVsZXRlbmV3c2l0ZW0=')])) {
$g6d = $_GET[base64_decode('ZGVsZXRlbmV3c2l0ZW0=')];
$oa = base64_decode('REVMRVRFIEZST00gTmV3cyBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $g6d);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('ZGVsZXRlRG9jdW1lbnQ=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($p8a);
$j6 = getLanguageCode($y5);
$d129 = $_GET[base64_decode('ZGVsZXRlRG9jdW1lbnQ=')];
$j9f = $_GET[base64_decode('bW9kdWxlaWQ=')];
$q1f = getCIIDFromDocName($d129);
$g35 = getITSMIDFromDocName($d129);
switch ($j9f) {
case 1:
$j4f = base64_decode('ZmlsZXNfdGlja2V0cw==');
break;
case 2:
$j4f = base64_decode('ZmlsZXNfY2hhbmdlcw==');
break;
case 3:
$j4f = base64_decode('ZmlsZXNfZG9jdW1lbnRz');
break;
case 4:
$j4f = base64_decode('ZmlsZXNfY2lz');
$m10 = getCITypeFromDocName($d129);
$o208 = getCIOriginalDocName($d129);
$ra3 = "Deleted file $o208";
createCILogEntry($q1f, $m10, $p8a, $ra3);
break;
case 5:
$j4f = base64_decode('ZmlsZXNfcHJvYmxlbXM=');
break;
case 6:
$j4f = base64_decode('ZmlsZXNfcHJvamVjdHM=');
break;
case 7:
$j4f = base64_decode('ZmlsZXNfZG9jdW1lbnRz');
break;
case 13:
$j4f = base64_decode('ZmlsZXNfcHJvamVjdHRhc2tz');
break;
case base64_decode('Y29tcGFuaWVz'):
$j4f = base64_decode('ZmlsZXNfY29tcGFuaWVz');
break;
case base64_decode('YnVzaW5lc3NTZXJ2aWNlZmlsZQ=='):
$j4f = base64_decode('ZmlsZXNfYnVzaW5lc3NzZXJ2aWNlcw==');
break;
case base64_decode('dXNlcnM='):
$j4f = base64_decode('ZmlsZXNfdXNlcnM=');
break;
case base64_decode('aXRzbQ=='):
$j4f = base64_decode('ZmlsZXNfaXRzbQ==');
$k17 = getITSMTypeFromDocName($d129);
$o208 = getITSMOriginalDocName($d129);
$ra3 = "Deleted file $o208";
createITSMLogEntry($g35, $k17, $p8a, $ra3);
$q34[] = array(base64_decode('SVRTTVR5cGVJRA==') => $k17, base64_decode('SVRTTUlE') => $g35, base64_decode('VXNlckxhbmd1YWdlQ29kZQ==') => $j6);
break;
}
$n209 = "./uploads/$j4f/$d129";
unlink($n209);
$oa = "DELETE FROM $j4f WHERE FileName = ?";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $d129);
$sb->execute();
if ($q34) {
echo json_encode($q34, JSON_PRETTY_PRINT);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlQ01EQkZpbGU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$bb8 = $_POST[base64_decode('RmlsZUlE')];
$j4f = base64_decode('ZmlsZXNfY2lz');
$m10 = getCITypeFromFileID($bb8);
$jba = getCIFileNameFromFileID($bb8);
$o208 = getCIOriginalFileID($bb8);
$q1f = getCIIDFromFileID($bb8);
$ra3 = "Deleted file $o208";
createCILogEntry($q1f, $m10, $p8a, $ra3);
$n209 = "./uploads/$j4f/$jba";
if (!unlink($n209)) {
errorlog("Could not delete $n209", base64_decode('ZGVsZXRlQ01EQkZpbGU='));
}
$oa = "DELETE FROM $j4f WHERE ID = ?";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $bb8);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlc3lzdGVtaW5mb3JtYXRpb24=')])) {
$d20a = $_GET[base64_decode('dXBkYXRlc3lzdGVtaW5mb3JtYXRpb24=')];
$k20b = $_GET[base64_decode('ZGVmYXVsdGxhbmd1YWdl')];
$b20c = $_GET[base64_decode('ZGVmYXVsdHRpbWV6b25l')];
$u20d = $_GET[base64_decode('c3lzdGVtdXJs')];
$m20e = $_GET[base64_decode('ZGVmYXVsdGRlc2lnbg==')];
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMTM7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $d20a);
$sb->execute();
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMTA7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k20b);
$sb->execute();
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMTE7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $b20c);
$sb->execute();
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMTc7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $u20d);
$sb->execute();
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMjA7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $m20e);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRlTWFpbFNldHRpbmdz')])) {
$y20f = $_GET[base64_decode('dXBkYXRlTWFpbFNldHRpbmdz')];
$f210 = $_GET[base64_decode('U01UUFNlY3VyZQ==')];
$j211 = $_GET[base64_decode('U01UUEhvc3Q=')];
$m212 = $_GET[base64_decode('U01UUFVzZXJuYW1l')];
$j213 = $_GET[base64_decode('U01UUFBhc3N3b3Jk')];
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMjY7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $y20f);
$sb->execute();
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMjc7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $f210);
$sb->execute();
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMjg7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $j211);
$sb->execute();
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMjk7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $m212);
$sb->execute();
$oa = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBzZXR0aW5ndmFsdWUgPSA/IFdIRVJFIElEID0gMzA7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $j213);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlclVzZXJuYW1l')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$e7b = $_POST[base64_decode('dXNlcm5hbWU=')];
$e7b = mysqli_real_escape_string($zc, $e7b);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBVc2VybmFtZSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $e7b, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('VXNlcm5hbWUgY2hhbmdlZCB0bzog') . $e7b;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlckJpcnRoZGF5')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$j16f = convertFromDanishDateFormat($_POST[base64_decode('YmlydGhkYXk=')]);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBCaXJ0aGRheSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $j16f, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('QmlydGhkYXkgY2hhbmdlZCB0bzog') . $j16f;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlclBob25l')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$r214 = $_POST[base64_decode('cGhvbmU=')];
$r214 = mysqli_real_escape_string($zc, $r214);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBQaG9uZSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r214, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('UGhvbmUgY2hhbmdlZCB0bzog') . $r214;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlckVtYWls')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$z215 = $_POST[base64_decode('ZW1haWw=')];
$z215 = mysqli_real_escape_string($zc, $z215);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBFbWFpbCA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $z215, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('RW1haWwgY2hhbmdlZCB0bzog') . $z215;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlckZpcnN0bmFtZQ==')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q216 = $_POST[base64_decode('Zmlyc3RuYW1l')];
$q216 = mysqli_real_escape_string($zc, $q216);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBGaXJzdG5hbWUgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $q216, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('Rmlyc3RuYW1lIGNoYW5nZWQgdG86IA==') . $q216;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlckxhc3RuYW1l')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$s217 = $_POST[base64_decode('bGFzdG5hbWU=')];
$s217 = mysqli_real_escape_string($zc, $s217);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBMYXN0bmFtZSA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $s217, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('TGFzdG5hbWUgY2hhbmdlZCB0bzog') . $s217;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlckpvYlRpdGVs')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$r170 = $_POST[base64_decode('am9idGl0ZWw=')];
$r170 = mysqli_real_escape_string($zc, $r170);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBKb2JUaXRlbCA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r170, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('Sm9iVGl0ZWwgY2hhbmdlZCB0bzog') . $r170;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlckxpbmtlZElu')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$k218 = $_POST[base64_decode('bGlua2VkaW4=')];
$k218 = mysqli_real_escape_string($zc, $k218);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBMaW5rZWRJbiA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $k218, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('TGlua2VkSW4gY2hhbmdlZCB0bzog') . $k218;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlclpvb21QZXJzUm9vbQ==')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$r219 = $_POST[base64_decode('dXBkYXRlQW5kTG9nVXNlclpvb21QZXJzUm9vbQ==')];
$r219 = mysqli_real_escape_string($zc, $r219);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBab29tUGVyc1Jvb20gPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $r219, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('Wm9vbSBQZXJzb25hbCBNZWV0aW5nIFJvb20gY2hhbmdlZCB0bzog') . $r219;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlckNvbXBhbnk=')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$e21a = $_POST[base64_decode('Y29tcGFueQ==')];
$e21a = mysqli_real_escape_string($zc, $e21a);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBDb21wYW55SUQgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $e21a, $baa);
$sb->execute();
$y21b = getCompanyName($e21a);
$j109 = 2;
$ra3 = base64_decode('Q29tcGFueSBjaGFuZ2VkIHRvOiA=') . $y21b;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlclVzZXJUeXBl')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$a1 = $_POST[base64_decode('dXNlcnR5cGU=')];
$a1 = mysqli_real_escape_string($zc, $a1);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBSZWxhdGVkVXNlclR5cGVJRCA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $a1, $baa);
$sb->execute();
$u21c = getUserTypeName($a1);
$j109 = 2;
$ra3 = base64_decode('VXNlclR5cGUgY2hhbmdlZCB0bzog') . $u21c;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlck1hbmFnZXI=')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$o21d = $_POST[base64_decode('VXNlck1hbmFnZXI=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBSZWxhdGVkTWFuYWdlciA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aWk='), $o21d, $baa);
$sb->execute();
$ra3 = '';
if ($o21d) {
$s21e = getUserFullNameWithUsername($o21d);
$ra3 = "Manager changed to: $s21e";
} else {
$s21e = base64_decode('aW5nZW4=');
$ra3 = base64_decode('TWFuYWdlciByZW1vdmVk');
}
$j109 = 2;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlckFjdGl2ZQ==')])) {
$baa = $_POST[base64_decode('dXNlcnNpZA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($p8a == $baa) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$ye4 = $_POST[base64_decode('YWN0aXZl')];
$ye4 = mysqli_real_escape_string($zc, $ye4);
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBBY3RpdmUgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $ye4, $baa);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('QWN0aXZlIHN0YXR1cyBjaGFuZ2VkIHRvOiA=') . $ye4;
createUserLogEntry($p8a, $baa, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nVXNlck5vdGVz')])) {
$$a21f = $_POST[base64_decode('VXNlcklE')];
$q4 = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || ($$a21f == $q4) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$t220 = $_POST[base64_decode('dXNlcm5vdGVz')];
$oa = base64_decode('VVBEQVRFIHVzZXJzIFNFVCBOb3RlcyA9ID8gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c2k='), $t220, $$a21f);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('Tm90ZXMgY2hhbmdlZCB0bzog') . $t220;
createUserLogEntry($$a21f, $q4, $j109, $ra3);
}
if (isset($_GET[base64_decode('dXBkYXRlQW5kTG9nQ29tcGFueU5vdGVz')])) {
$$h2 = $_POST[base64_decode('Q29tcGFueUlE')];
$q4 = $_SESSION[base64_decode('aWQ=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$f221 = $_POST[base64_decode('Y29tcGFueW5vdGVz')];
$oa = base64_decode('VVBEQVRFIGNvbXBhbmllcyBTRVQgTm90ZXMgPSA/IFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c2k='), $f221, $$h2);
$sb->execute();
$j109 = 2;
$ra3 = base64_decode('Tm90ZXMgY2hhbmdlZA==');
createCompanyLogEntry($h2, $q4, $j109, $ra3);
}
if (isset($_GET[base64_decode('Z2V0Q29tcGFueUlERnJvbU5hbWU=')])) {
$y21b = $_GET[base64_decode('Q29tcGFueW5hbWU=')];
$oa = base64_decode('U0VMRUNUIElEIEFTIENvbXBhbnlJRA0KICAgICAgICAgIEZST00gY29tcGFuaWVzDQogICAgICAgICAgV0hFUkUgQ29tcGFueW5hbWUgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $y21b);
$sb->execute();
while ($l14 = mysqli_fetch_array($d13)) {
$a222[] = array(base64_decode('Q29tcGFueUlE') => $l14[base64_decode('Q29tcGFueUlE')]);
}
mysqli_free_result($d13);
echo json_encode($a222, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0U2Vzc2lvbkFjdGl2ZVN0YXR1cw==')])) {
$m223 = (($_SESSION[base64_decode('dGltZW91dF9kdXJhdGlvbg==')] - 1) * 60);
if (isset($_SESSION[base64_decode('TEFTVF9BQ1RJVklUWQ==')]) && (time() - $_SESSION[base64_decode('TEFTVF9BQ1RJVklUWQ==')] > $m223)) {
session_unset();
session_destroy();
echo json_encode([base64_decode('c3RhdHVz') => base64_decode('dGltZW91dA==')]);
} else {
$z224 = $m223 - (time() - $_SESSION[base64_decode('TEFTVF9BQ1RJVklUWQ==')]);
$a225 = floor($z224 / 60);
echo json_encode([base64_decode('c3RhdHVz') => base64_decode('YWN0aXZl'), base64_decode('dGltZV9sZWZ0') => $a225]);
}
exit();
}
if (isset($_GET[base64_decode('dXBkYXRlU2Vzc2lvbkFjdGl2ZQ==')])) {
$p8a = $_GET[base64_decode('dXBkYXRlU2Vzc2lvbkFjdGl2ZQ==')];
$a1df = $_GET[base64_decode('c3RhdHVz')];
$oa = base64_decode('VVBEQVRFIFNlc3Npb25zIFNFVCBhY3RpdmUgPSA/IFdIRVJFIHVzZXJpZCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $a1df, $p8a);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRlQ2xpZW50U2Vzc2lvbklQ')])) {
$p8a = $_GET[base64_decode('dXBkYXRlQ2xpZW50U2Vzc2lvbklQ')];
$j226 = $_GET[base64_decode('aXA=')];
$oa = base64_decode('VVBEQVRFIFNlc3Npb25zIFNFVCBpcCA9ID8gV0hFUkUgdXNlcmlkID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $j226, $p8a);
$sb->execute();
}
if (isset($_GET[base64_decode('dXBkYXRlU2V0dGluZ0FjdGl2ZQ==')])) {
$baa = $_GET[base64_decode('dXNlcmlk')];
$l7 = base64_decode('TG9nb3V0');
$s227 = getSettingValue(63);
$oa = "SELECT Active
FROM Sessions
WHERE userid = ? AND (sessionrenewed > DATE_SUB(NOW(), INTERVAL $s227 MINUTE))";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $baa);
$sb->execute();
while ($l14 = mysqli_fetch_array($d13)) {
$l7 = $l14[base64_decode('QWN0aXZl')];
}
$fe[] = array(base64_decode('QWN0aXZl') => $l7);
echo json_encode($fe);
}
if (isset($_GET[base64_decode('Z2V0U2Vzc2lvbkFjdGl2ZQ==')])) {
$s228 = $_GET[base64_decode('Z2V0U2Vzc2lvbkFjdGl2ZQ==')];
$oa = base64_decode('U0VMRUNUIEFjdGl2ZSANCiAgICAgICAgICBGUk9NIFNlc3Npb25zDQogICAgICAgICAgV0hFUkUgdXNlcmlkID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $s228);
$sb->execute();
while ($l14 = mysqli_fetch_array($d13)) {
$a222[] = array(base64_decode('QWN0aXZl') => $l14[base64_decode('QWN0aXZl')]);
}
mysqli_free_result($d13);
echo json_encode($a222, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Y2hlY2tVc2VyU2Vzc2lvbg==')])) {
$baa = $_GET[base64_decode('dXNlcmlk')];
$l7 = base64_decode('TG9nb3V0');
$s227 = getSettingValue(63);
$oa = "SELECT Active
FROM Sessions
WHERE userid = ? AND (sessionrenewed > DATE_SUB(NOW(), INTERVAL $s227 MINUTE))";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $baa);
$sb->execute();
while ($l14 = mysqli_fetch_array($d13)) {
$l7 = $l14[base64_decode('QWN0aXZl')];
}
$fe[] = array(base64_decode('QWN0aXZl') => $l7);
echo json_encode($fe);
}
if (isset($_GET[base64_decode('bG9ja1Nlc3Npb24=')])) {
$p8a = $_GET[base64_decode('bG9ja1Nlc3Npb24=')];
$oa = base64_decode('VVBEQVRFIFNlc3Npb25zIFNFVCBsb2NrZWQ9MSBXSEVSRSB1c2VyaWQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
}
if (isset($_GET[base64_decode('Y2hhbmdldGltZXJlZ2lzdHJhdGlvbg==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$g139 = $_GET[base64_decode('cmVnaXN0cmF0aW9uaWQ=')];
$k134 = $_GET[base64_decode('cmVsYXRlZHRhc2s=')];
$s135 = $_GET[base64_decode('ZGVzY3JpcHRpb24=')];
$i137 = $_GET[base64_decode('YmlsbGFibGU=')];
$l136 = $_GET[base64_decode('dGltZXNwZW5k')];
$j138 = convertFromDanishTimeFormat($_GET[base64_decode('ZGF0ZXBlcmZvcm1lZA==')]);
$oa = base64_decode('VVBEQVRFIHRpbWVfcmVnaXN0cmF0aW9ucyBTRVQgUmVsYXRlZFRhc2tJRD0/LCBEZXNjcmlwdGlvbj0/LCBCaWxsYWJsZT0/LCBUaW1lUmVnaXN0ZXJlZD0/LCBEYXRlV29ya2VkPT8NCiAgICAgICAgICBXSEVSRSBJRD0/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nz'), $k134, $s135, $i137, $l136, $j138, $g139);
$sb->execute();
}
if (isset($_GET[base64_decode('Y2hhbmdlV29ya0Zsb3dTdGVw')])) {
$p229 = $_GET[base64_decode('bW9kYWxzdGVwaWQ=')];
$s22a = $_GET[base64_decode('bW9kYWxzdGVwbmFtZQ==')];
$p22b = $_GET[base64_decode('bW9kYWxkZXNjcmlwdGlvbg==')];
$d22c = $_GET[base64_decode('bW9kYWxzdGF0dXM=')];
$r22d = $_GET[base64_decode('bW9kYWxyZXNwb25zaWJsZQ==')];
$p22e = convertFromDanishTimeFormat($_GET[base64_decode('bW9kYWxkZWFkbGluZQ==')]);
$oa = "UPDATE workflowsteps SET StepName='$s22a',Description='$p22b',RelatedStatusID='$d22c',RelatedUserID='$r22d'
WHERE workflowsteps.ID = $p229";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $s22a, $p22b, $d22c, $r22d, $p229);
$sb->execute();
$l22f = getRelatedTaskIDFromWorkFlowStep($p229);
updateTaskFromWorkflowStep($l22f, $r22d, $p22e, $d22c);
}
if (isset($_GET[base64_decode('YWRkV29ya0Zsb3dTdGVw')])) {
$p229 = $_GET[base64_decode('bW9kYWxzdGVwaWQ=')];
$s22a = $_GET[base64_decode('bW9kYWxzdGVwbmFtZQ==')];
$p22b = $_GET[base64_decode('bW9kYWxkZXNjcmlwdGlvbg==')];
$d22c = $_GET[base64_decode('bW9kYWxzdGF0dXM=')];
$r22d = $_GET[base64_decode('bW9kYWxyZXNwb25zaWJsZQ==')];
$p22e = convertFromDanishTimeFormat($_GET[base64_decode('bW9kYWxkZWFkbGluZQ==')]);
$cc2 = $_GET[base64_decode('ZWxlbWVudGlk')];
$w230 = $_GET[base64_decode('ZWxlbWVudHR5cGU=')];
$t231 = getElementSubject($cc2, $w230);
$yb4 = getElementRedirectPage($w230) . $cc2;
$h2 = getElementCompanyID($cc2, $w230);
$o232 = getFullNameFromID(getElementCustomerID($cc2, $w230));
$z233 = getElementCreatedDate($cc2, $w230);
$j7e = getElementDeadlineDate($cc2, $w230);
$v234 = getElementShortName($w230);
$q235 = getElementSubject($cc2, $w230);
$j236 = getRelatedWorkFlowIDFromWorkFlowStep($p229);
$l237 = getNextStepOrder($j236);
$oa = base64_decode('SU5TRVJUIElOVE8gd29ya2Zsb3dzdGVwcyAoUmVsYXRlZFdvcmtGbG93SUQsIFN0ZXBPcmRlciwgU3RlcE5hbWUsIERlc2NyaXB0aW9uLCBSZWxhdGVkU3RhdHVzSUQsIFJlbGF0ZWRVc2VySUQpIFZBTFVFUyAoPyw/LD8sPywnMScsPyk7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $j236, $l237, $s22a, $p22b, $r22d);
$sb->execute();
$l238 = getNewlyCreatedStepID($j236, $r22d);
addworkflowtotaskslist($cc2, $w230, $r22d, $s22a, $yb4, $h2, $o232, $z233, $j7e, base64_decode('d2Z0'), $l237, $q235);
$p239 = getNewlyCreatedTaskID($r22d);
updateWorkFlowStepWithTaskID($l238, $p239);
$l22f = getRelatedTaskIDFromWorkFlowStep($p229);
updateTaskFromWorkflowStep($l22f, $r22d, $p22e, $d22c);
}
if (isset($_GET[base64_decode('ZGVsZXRlV29ya0Zsb3dTdGVw')])) {
$p229 = $_GET[base64_decode('bW9kYWxzdGVwaWQ=')];
$l22f = getRelatedTaskIDFromWorkFlowStep($p229);
deleteWorkFlowStepID($p229);
deleteTask($l22f);
}
if (isset($_GET[base64_decode('ZGVsZXRpbWFwZW1haWw=')])) {
$y23a = $_GET[base64_decode('dWlk')];
removeIMAPEmail($y23a);
}
if (isset($_GET[base64_decode('Z2V0SW1hcEZvbGRlcnM=')])) {
$c23b = '';
$l23c = '';
$e23d = '';
$oa = base64_decode('U0VMRUNUIElELCBTZXR0aW5nVmFsdWUNCiAgICAgICAgICBGUk9NIHNldHRpbmdzDQogICAgICAgICAgV0hFUkUgSUQgSU4gKDM4LDM5LDQwKQ==');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
if ($l14[base64_decode('SUQ=')] == base64_decode('Mzg=')) {
$c23b = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
if ($l14[base64_decode('SUQ=')] == base64_decode('Mzk=')) {
$l23c = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
if ($l14[base64_decode('SUQ=')] == base64_decode('NDA=')) {
$e23d = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
}
$y23a = $_GET[base64_decode('dWlk')];
$f23e = imap_open("$c23b", "$l23c", "$e23d");
$k23f = imap_list($f23e, base64_decode('e2ltYXAub25lLmNvbTo5OTMvaW1hcC9zc2wvbm92YWxpZGF0ZS1jZXJ0fQ=='), base64_decode('Kg=='));
if (is_array($k23f)) {
foreach ($k23f as $j240) {
$t241 = imap_utf7_decode($j240) . base64_decode('Cg==');
}
} else {
echo base64_decode('aW1hcF9saXN0IGZhaWxlZDog') . imap_last_error() . base64_decode('Cg==');
}
imap_close($f23e);
}
if (isset($_GET[base64_decode('Y3JlYXRldGlja2V0ZnJvbWltYXA=')])) {
getMailsAndCreateTickets();
}
if (isset($_GET[base64_decode('Y3JlYXRldGlja2V0ZnJvbWltYXBfb2xk')])) {
$y23a = $_GET[base64_decode('VUlE')];
include_once(base64_decode('Li92ZW5kb3IvYXV0b2xvYWQucGhw'));
include_once(base64_decode('Li9jbGFzc2VzL2ltYXAvY2xhc3MuaW1hcC5waHA='));
$f242 = '';
$c23b = '';
$l23c = '';
$e23d = '';
$m118 = '';
$oa = base64_decode('U0VMRUNUIElELCBTZXR0aW5nVmFsdWUNCiAgICAgICAgICBGUk9NIHNldHRpbmdzDQogICAgICAgICAgV0hFUkUgSUQgSU4gKDM4LDM5LDQwKQ==');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
if ($l14[base64_decode('SUQ=')] == base64_decode('Mzg=')) {
$c23b = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
if ($l14[base64_decode('SUQ=')] == base64_decode('Mzk=')) {
$l23c = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
if ($l14[base64_decode('SUQ=')] == base64_decode('NDA=')) {
$e23d = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
}
$z215 = new Imap();
$m243 = null;
if ($z215->connect("$c23b", "$l23c", "$e23d")) {
$m243 = $z215->getMessages(base64_decode('aHRtbA=='));
}
foreach ($m243[base64_decode('ZGF0YQ==')] as $m244) {
if ($y23a == $m244[base64_decode('dWlk')]) {
$f242 = base64_decode('MQ==');
$j245 = $m244[base64_decode('ZnJvbQ==')][base64_decode('YWRkcmVzcw==')];
$eca = $m244[base64_decode('c3ViamVjdA==')];
$j66 = $m244[base64_decode('ZnJvbQ==')][base64_decode('bmFtZQ==')];
$m118 = $m244[base64_decode('bWVzc2FnZQ==')];
$k246 = $m244[base64_decode('ZGF0ZQ==')];
$h2 = '';
$r170 = '';
$c247 = base64_decode('Mg==');
$n248 = '';
$h249 = $h249 = SaltAndHashPasswordForCompare(base64_decode('eFVHMTJHdDY0'));
$kd0 = date(base64_decode('WS1tLWQgSDppOnM='));
$c24a = rand(0, 9) . rand(0, 9) . rand(0, 9) . rand(0, 9);
$q54 = base64_decode('MQ==');
$a1df = base64_decode('MQ==');
$v24b = base64_decode('Mw==');
$v24c = new HTMLPurifier();
$m118 = $v24c->purify($m118);
if ($f242 == base64_decode('MQ==')) {
$z24d = strip_tags($m118);
$d24e = checkIfUserExists($j245);
$h2 = checkEmailForValidSubdomain($j245);
if (!empty($d24e)) {
createNewTicketFromEmail($eca, $q54, $a1df, $v24b, $m118, $z24d, $h2, $d24e);
removeIMAPEmail($y23a);
} else {
$h2 = checkEmailForValidSubdomain($j245);
if (empty($h2)) {
exit;
} else {
$c24f = explode(base64_decode('IA=='), $j66);
if (count($c24f) === 2) {
list($q216, $s217) = $c24f;
} else if (count($c24f) === 3) {
list($q216, $h250, $s217) = $c24f;
if (!empty($h250)) {
$s217 = $h250 . base64_decode('IA==') . $s217;
}
}
$d24e = createNewUser($q216, $s217, $j245, $j245, $h249, $h2, $r170, $c247, $n248, $kd0, $c24a);
createNewTicketFromEmail($eca, $q54, $a1df, $v24b, $m118, $z24d, $h2, $d24e);
removeIMAPEmail($y23a);
}
}
}
}
}
}
if (isset($_GET[base64_decode('Z2V0TWFpbHNBbmRDcmVhdGVUaWNrZXRz')])) {
include_once(base64_decode('Li92ZW5kb3IvYXV0b2xvYWQucGhw'));
include_once(base64_decode('Li9jbGFzc2VzL2ltYXAvY2xhc3MuaW1hcC5waHA='));
$f242 = '';
$c23b = '';
$l23c = '';
$e23d = '';
$m118 = '';
$oa = base64_decode('U0VMRUNUIElELCBTZXR0aW5nVmFsdWUNCiAgICAgICAgICBGUk9NIHNldHRpbmdzDQogICAgICAgICAgV0hFUkUgSUQgSU4gKDM4LDM5LDQwKQ==');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
if ($l14[base64_decode('SUQ=')] == base64_decode('Mzg=')) {
$c23b = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
if ($l14[base64_decode('SUQ=')] == base64_decode('Mzk=')) {
$l23c = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
if ($l14[base64_decode('SUQ=')] == base64_decode('NDA=')) {
$e23d = $l14[base64_decode('U2V0dGluZ1ZhbHVl')];
}
}
$z215 = new Imap();
$m243 = null;
if ($z215->connect("$c23b", "$l23c", "$e23d")) {
$m243 = $z215->getMessages(base64_decode('aHRtbA=='));
}
foreach ($m243[base64_decode('ZGF0YQ==')] as $m244) {
$y23a == $m244[base64_decode('dWlk')];
if (!empty($y23a)) {
$f242 = base64_decode('MQ==');
$j245 = $m244[base64_decode('ZnJvbQ==')][base64_decode('YWRkcmVzcw==')];
$eca = $m244[base64_decode('c3ViamVjdA==')];
$j66 = $m244[base64_decode('ZnJvbQ==')][base64_decode('bmFtZQ==')];
$m118 = $m244[base64_decode('bWVzc2FnZQ==')];
$k246 = $m244[base64_decode('ZGF0ZQ==')];
$h2 = '';
$r170 = '';
$c247 = base64_decode('Mg==');
$n248 = '';
$h249 = $h249 = SaltAndHashPasswordForCompare(base64_decode('eFVHMTJHdDY0'));
$kd0 = date(base64_decode('WS1tLWQgSDppOnM='));
$c24a = rand(0, 9) . rand(0, 9) . rand(0, 9) . rand(0, 9);
$q54 = base64_decode('MQ==');
$a1df = base64_decode('MQ==');
$v24b = base64_decode('Mw==');
$v24c = new HTMLPurifier();
$m118 = $v24c->purify($m118);
if ($f242 == base64_decode('MQ==')) {
$z24d = strip_tags($m118);
$d24e = checkIfUserExists($j245);
$h2 = checkEmailForValidSubdomain($j245);
if (!empty($d24e)) {
createNewTicketFromEmail($eca, $q54, $a1df, $v24b, $m118, $z24d, $h2, $d24e);
removeIMAPEmail($y23a);
} else {
$h2 = checkEmailForValidSubdomain($j245);
if (empty($h2)) {
exit;
} else {
$c24f = explode(base64_decode('IA=='), $j66);
if (count($c24f) === 2) {
list($q216, $s217) = $c24f;
} else if (count($c24f) === 3) {
list($q216, $h250, $s217) = $c24f;
if (!empty($h250)) {
$s217 = $h250 . base64_decode('IA==') . $s217;
}
}
$d24e = createNewUser($q216, $s217, $j245, $j245, $h249, $h2, $r170, $c247, $n248, $kd0, $c24a);
createNewTicketFromEmail($eca, $q54, $a1df, $v24b, $m118, $z24d, $h2, $d24e);
removeIMAPEmail($y23a);
}
}
}
}
}
}
if (isset($_GET[base64_decode('cG9wTW9kYWxEZW1vQm9va2luZw==')])) {
$a251 = $_GET[base64_decode('cG9wTW9kYWxEZW1vQm9va2luZw==')];
$oa = base64_decode('U0VMRUNUIElEIEFTIEJvb2tpbmdJRCwgSW5zdGFuY2VOYW1lLCBJbnN0YW5jZVBhdGgsIEluc3RhbmNlVVJMLCBDdXN0b21lck5hbWUsIEN1c3RvbWVyRW1haWwsIERlc2NyaXB0aW9uLCBEYXRlU3RhcnQsIERhdGVFbmQsIFN0YXR1cyANCiAgICAgICAgICBGUk9NIGJwYWdlLmRlbW9fYm9va2luZ2VyX2luc3RhbmNlcw0KICAgICAgICAgIFdIRVJFIGRlbW9fYm9va2luZ2VyX2luc3RhbmNlcy5JRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $a251);
$sb->execute();
while ($l14 = mysqli_fetch_array($d13)) {
$g252 = $l14[base64_decode('RGF0ZVN0YXJ0')];
if (!empty($g252)) {
$g252 = convertToDanishDateTimeFormat($g252);
} else {
$g252 = date(base64_decode('ZC1tLVkgaDpp'));
}
$y253 = $l14[base64_decode('RGF0ZUVuZA==')];
if (!empty($y253)) {
$y253 = convertToDanishDateTimeFormat($y253);
} else {
$y253 = date(base64_decode('ZC1tLVkgaDpp'), strtotime(base64_decode('KzMwIGRheXM=')));
}
$dd6[] = array(base64_decode('Qm9va2luZ0lE') => $l14[base64_decode('Qm9va2luZ0lE')], base64_decode('SW5zdGFuY2VOYW1l') => $l14[base64_decode('SW5zdGFuY2VOYW1l')], base64_decode('Q3VzdG9tZXJOYW1l') => $l14[base64_decode('Q3VzdG9tZXJOYW1l')], base64_decode('Q3VzdG9tZXJFbWFpbA==') => $l14[base64_decode('Q3VzdG9tZXJFbWFpbA==')], base64_decode('RGVzY3JpcHRpb24=') => $l14[base64_decode('RGVzY3JpcHRpb24=')], base64_decode('RGF0ZVN0YXJ0') => $g252, base64_decode('RGF0ZUVuZA==') => $y253);
}
mysqli_free_result($d13);
echo json_encode($dd6, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('c3VibWl0RGVsZXRlRGVtb0Jvb2tpbmc=')])) {
$a251 = $_GET[base64_decode('c3VibWl0RGVsZXRlRGVtb0Jvb2tpbmc=')];
$oa = base64_decode('VVBEQVRFIGJwYWdlLmRlbW9fYm9va2luZ2VyX2luc3RhbmNlcyBTRVQgQ3VzdG9tZXJOYW1lID0gbnVsbCwgQ3VzdG9tZXJFbWFpbCA9IG51bGwsIERlc2NyaXB0aW9uID0gbnVsbCwgRGF0ZVN0YXJ0ID0gbnVsbCwgRGF0ZUVuZCA9IG51bGwsIFN0YXR1cyA9ICcyJw0KICAgICAgICAgIFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $a251);
$sb->execute();
}
if (isset($_GET[base64_decode('c3VibWl0Q3JlYXRlRGVtb0Jvb2tpbmc=')])) {
$a251 = $_GET[base64_decode('RGVtb0Jvb2tpbmdJRA==')];
$o232 = $_GET[base64_decode('Q3VzdG9tZXJOYW1l')];
$g254 = $_GET[base64_decode('Q3VzdG9tZXJFbWFpbA==')];
$f1e = $_GET[base64_decode('RGVzY3JpcHRpb24=')];
$g252 = convertFromDanishTimeFormat($_GET[base64_decode('U3RhcnQ=')]);
$y253 = convertFromDanishTimeFormat($_GET[base64_decode('RW5k')]);
$oa = "UPDATE bpage.demo_bookinger_instances SET CustomerName = '$o232', CustomerEmail = '$g254', Description = '$f1e', DateStart = '$g252', DateEnd = '$y253', Status = '3'
WHERE ID = ?;";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $a251);
$sb->execute();
}
if (isset($_GET[base64_decode('c3VibWl0VXBkYXRlRGVtb0Jvb2tpbmc=')])) {
$a251 = $_GET[base64_decode('RGVtb0Jvb2tpbmdJRA==')];
$o232 = $_GET[base64_decode('Q3VzdG9tZXJOYW1l')];
$g254 = $_GET[base64_decode('Q3VzdG9tZXJFbWFpbA==')];
$f1e = $_GET[base64_decode('RGVzY3JpcHRpb24=')];
$g252 = convertFromDanishTimeFormat($_GET[base64_decode('U3RhcnQ=')]);
$y253 = convertFromDanishTimeFormat($_GET[base64_decode('RW5k')]);
$oa = "UPDATE bpage.demo_bookinger_instances SET CustomerName = '$o232', CustomerEmail = '$g254', Description = '$f1e', DateStart = '$g252', DateEnd = '$y253', Status = '1'
WHERE ID = ?;";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $a251);
$sb->execute();
}
if (isset($_GET[base64_decode('b3JkZXJOZXdTaXRlSW5zdGFsbA==')])) {
$u255 = strtolower($_GET[base64_decode('U2l0ZU5hbWU=')]);
$u255 = str_replace(base64_decode('IA=='), '', $u255);
$u255 = preg_replace(base64_decode('L1teQS1aYS16MC05XC1dLw=='), '', $u255);
$a256 = doesORSiteExist($u255);
$y257 = doesSiteInstallExist($u255);
if (empty($y257) && empty($a256)) {
$oa = base64_decode('SU5TRVJUIElOVE8gYnBhZ2Uuc2l0ZV9pbnN0YWxsYXRpb24gKFNpdGVOYW1lLCBTdGF0dXMpIFZBTFVFUyAoPywnMScp');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $u255);
$sb->execute();
} else {
echo base64_decode('PHNjcmlwdD5hbGVydCgnU2l0ZSBla3Npc3RlcmVyIGFsbGVyZWRlIScpOzwvc2NyaXB0Pg==');
}
}
if (isset($_GET[base64_decode('b3JkZXJTaXRlVG9CZURlbGV0ZWQ=')])) {
$u255 = $_GET[base64_decode('U2l0ZU5hbWU=')];
$a256 = doesSiteInstallExist($u255);
if (empty($a256)) {
$oa = base64_decode('SU5TRVJUIElOVE8gYnBhZ2Uuc2l0ZV9pbnN0YWxsYXRpb24gKFNpdGVOYW1lLCBTdGF0dXMpIFZBTFVFUyAoPywnMicp');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $u255);
$sb->execute();
}
}
if (isset($_GET[base64_decode('YXBwcm92ZVNpdGVEcm9w')])) {
$r46 = $_GET[base64_decode('SUQ=')];
$oa = base64_decode('VVBEQVRFIGJwYWdlLnNpdGVfaW5zdGFsbGF0aW9uIFNFVCBTdGF0dXMgPSAzIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $r46);
$sb->execute();
}
if (isset($_GET[base64_decode('ZGVueVNpdGVEcm9w')])) {
$r46 = $_GET[base64_decode('SUQ=')];
$oa = base64_decode('REVMRVRFIEZST00gYnBhZ2Uuc2l0ZV9pbnN0YWxsYXRpb24gV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $r46);
$sb->execute();
}
if (isset($_GET[base64_decode('YXJjaGl2ZVByb2plY3Q=')])) {
$mcb = $_GET[base64_decode('YXJjaGl2ZVByb2plY3Q=')];
$oa = base64_decode('VVBEQVRFIFByb2plY3RzIFNFVCBzdGF0dXMgPSAnOCcgV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
}
if (isset($_GET[base64_decode('ZGVsZXRlUHJvamVjdA==')])) {
$mcb = $_GET[base64_decode('ZGVsZXRlUHJvamVjdA==')];
$w19e = array();
regenerateUUIDOnProject($mcb);
$i18c = getRelatedProjectTaskFromProject($mcb);
foreach ($i18c as $x258) {
$l259 = array();
$l259 = getRelatedTaskToProjectTask(base64_decode('MTM='), $x258);
foreach ($l259 as $m19f) {
array_push($w19e, $m19f);
}
}
foreach ($w19e as $m19f) {
deleteRelatedTimeRegEntry($m19f);
deleteRelatedTasks($m19f);
}
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdHMgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
deleteRelatedTasksToProject(base64_decode('Ng=='), $mcb);
}
if (isset($_GET[base64_decode('cmVzdG9yZVByb2plY3RCYXNlbGluZQ==')])) {
$mcb = $_GET[base64_decode('cmVzdG9yZVByb2plY3RCYXNlbGluZQ==')];
$i25a = $_GET[base64_decode('VVVJRA==')];
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdHMgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
$oa = base64_decode('SU5TRVJUIElOVE8gcHJvamVjdHMgU0VMRUNUICogRlJPTSBwcm9qZWN0c19iYXNlbGluZXMgV0hFUkUgVVVJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $i25a);
$sb->execute();
$oa = base64_decode('REVMRVRFIEZST00gcHJvamVjdF90YXNrcyBXSEVSRSBSZWxhdGVkUHJvamVjdCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
$oa = base64_decode('SU5TRVJUIElOVE8gcHJvamVjdF90YXNrcyBTRUxFQ1QgKiBGUk9NIHByb2plY3RfdGFza3NfYmFzZWxpbmVzIFdIRVJFIFVVSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $i25a);
$sb->execute();
}
if (isset($_GET[base64_decode('Y3JlYXRlUHJvamV0QmFzZWxpbmU=')])) {
$mcb = $_GET[base64_decode('Y3JlYXRlUHJvamV0QmFzZWxpbmU=')];
regenerateUUIDOnProject($mcb);
createProjectBaseline($mcb);
}
if (isset($_GET[base64_decode('Z2V0S2FuQmFuVGFza3M=')])) {
$q4 = $_GET[base64_decode('dXNlcmlk')];
$p25b = $_GET[base64_decode('dGFza3N0YXR1cw==')];
$j4f = $_GET[base64_decode('dGFibGVuYW1l')];
$l25c = $p25b + 1;
$oa = base64_decode('U0VMRUNUIHRhc2tzbGlzdC5JRCBBUyBUYXNrSUQsIHRhc2tzbGlzdC5Nb2R1bGVOYW1lLCBIZWFkbGluZSwgRGF0ZUFkZGVkLCBSZXNwb25zaWJsZSwgRGVhZGxpbmUsIENPTkNBVCh1c2Vycy5GaXJzdE5hbWUsJyAnLCB1c2Vycy5MYXN0TmFtZSkgQVMgVXNlcnNOYW1lLCANCiAgICAgICAgICBSZWxhdGVkRWxlbWVudElELCBSZWxhdGVkRWxlbWVudFR5cGVJRCwgR29Ub0xpbmssIFN0YXR1cywgd2Z0aWQsIG1vZHVsZXMuU2hvcnRFbGVtZW50TmFtZQ0KICAgICAgICAgIEZST00gdGFza3NsaXN0IA0KICAgICAgICAgIElOTkVSIEpPSU4gdXNlcnMgT04gdGFza3NsaXN0LlJlbGF0ZWRVc2VySUQgPSB1c2Vycy5pZA0KICAgICAgICAgIElOTkVSIEpPSU4gbW9kdWxlcyBPTiB0YXNrc2xpc3QuUmVsYXRlZEVsZW1lbnRUeXBlSUQgPSBtb2R1bGVzLklEDQogICAgICAgICAgV0hFUkUgdGFza3NsaXN0LlJlbGF0ZWRVc2VySUQgPSA/IEFORCB0YXNrc2xpc3QuU3RhdHVzID0gPw0KICAgICAgICAgIE9SREVSIEJZIERlYWRsaW5lIEFTQzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aWk='), $q4, $p25b);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$j9f = $l14[base64_decode('UmVsYXRlZEVsZW1lbnRUeXBlSUQ=')];
$b25d = getModuleIcon($j9f);
$l8 = $l14[base64_decode('VGFza0lE')];
$f25e = $l14[base64_decode('UmVsYXRlZEVsZW1lbnRJRA==')];
$z25f = convertToDanishTimeFormat($l14[base64_decode('RGF0ZUFkZGVk')]);
$f260 = $l14[base64_decode('TW9kdWxlTmFtZQ==')];
$n261 = $l14[base64_decode('R29Ub0xpbms=')];
$a1df = $l14[base64_decode('U3RhdHVz')];
$j262 = convertToDanishTimeFormat($l14[base64_decode('RGVhZGxpbmU=')]);
$z190 = $l14[base64_decode('UmVzcG9uc2libGU=')];
$g263 = $l14[base64_decode('d2Z0aWQ=')];
$d6a = $l14[base64_decode('SGVhZGxpbmU=')];
$b264 = getUserFullName($z190);
$y265 = getUserName($z190);
$o266 = getSubjectColumnFromModuleID($j9f);
$o266 = base64_decode('U3ViamVjdA==');
$k267 = getMainTableNameFromModuleID($j9f);
$k267 = getITSMTableName($j9f);
$i268 = getITSMModuleType($j9f);
$t269 = '';
if (!empty($g263)) {
$z26a = $d6a;
$i26b = getSubjectFromModuleElementID($f25e, $o266, $k267);
$z26c = getSubjectFromModuleElementID($f25e, $o266, $k267);
$h26d = "<a href=\"javascript:editWorkFlowTask($g263);\" class=\"text-sm text-secondary mb-0 text-wrap\" title=\"$i26b\">" . _("$f260") . " $f25e</a>";
$r26e = "<a href=\"javascript:editWorkFlowTask($g263);\" id=\"$l8\" class=\"badge badge-pill bg-gradient-success\" title=\"" . translate(base64_decode('RWRpdA==')) . base64_decode('Ij48aSBjbGFzcz0iZmEgZmEtcGVuLXRvLXNxdWFyZSI+PC9pPjwvYT4=');
$t269 = base64_decode('PHAgY2xhc3M9InRleHQtc20gdGV4dC1zZWNvbmRhcnkgbWItMCI+PGI+') . translate(base64_decode('UGFyZW50IFRhc2s=')) . ": <a href=\"$n261\">$z26c</a></p>";
} else {
$r26e = "<a href=\"$n261\" id=\"$l8\" class=\"badge badge-pill bg-gradient-success\" title=\"" . translate(base64_decode('RWRpdA==')) . base64_decode('Ij48aSBjbGFzcz0iZmEgZmEtcGVuLXRvLXNxdWFyZSI+PC9pPjwvYT4=');
if ($j9f == base64_decode('Ng==')) {
$z26a = getProjectName($f25e);
$i26b = $z26a;
} else if ($j9f == base64_decode('MTM=')) {
$z26a = getProjectTaskName($f25e);
$i26b = $z26a;
} else {
$o266 = getSubjectColumnFromModuleID($j9f);
$k267 = getMainTableNameFromModuleID($j9f);
$z26a = getSubjectFromModuleElementID($f25e, $o266, $k267);
$i26b = $z26a;
}
$z26c = $i26b;
$h26d = "<a href=\"$n261\" class=\"text-sm text-secondary mb-0 text-wrap\" title=\"$i26b\">" . _("$f260") . " $f25e</a>";
}
if (empty($z26a)) {
$z26a = base64_decode('RWxlbWVudCBpcyByZW1vdmVkIC0gZGVsZXRpbmcgdGFzaw==');
updateKanBanTaskStatus($l8, base64_decode('NA=='));
continue;
}
if (strtotime($l14[base64_decode('RGVhZGxpbmU=')]) < strtotime(base64_decode('LTcgZGF5cw==')) && $a1df == base64_decode('Mw==')) {
updateKanBanTaskStatus($l8, base64_decode('NA=='));
continue;
}
$v26f = strtotime($j262);
$p270 = time();
$f271 = $v26f - $p270;
$a272 = floor($f271 / 3600);
$x273 = floor(($f271 % 3600) / 60);
$f274 = ($a272 < 0) ? base64_decode('LQ==') . abs($a272) : $a272;
$v275 = ($x273 < 0) ? base64_decode('LQ==') . abs($x273) : $x273;
$q276 = '';
if ($a272 !== 0) {
$q276 .= $f274 . base64_decode('IGhvdXI=') . (($f274 != 1) ? base64_decode('cw==') : '') . base64_decode('IA==');
}
if ($x273 !== 0) {
$q276 .= $v275 . base64_decode('IG1pbnV0ZQ==') . (($v275 != 1) ? base64_decode('cw==') : '');
}
$d277 = [];
if ($i268 != base64_decode('MQ==')) {
$d277[] = "$j9f";
}
$d277[] = base64_decode('Ng==');
$d277[] = base64_decode('MTM=');
if (in_array($j9f, $d277)) {
if ($j9f == base64_decode('Ng==')) {
$k278 = convertToDanishDateTimeFormat(getProjectDeadlineDate($f25e));
} else if ($j9f == base64_decode('MTM=')) {
$k278 = convertToDanishDateTimeFormat(getProjectTaskDeadlineDate($f25e));
} else {
$k278 = $j262;
}
} else {
if ($i279 == base64_decode('MQ==')) {
$k278 = convertToDanishDateTimeFormat(getDeadlineForSLAElementID($f25e, $j9f));
} else {
$k278 = $j262;
}
}
$h27a = getUserProfilePicture($z190);
$z187 = getUserEmailFromID($z190);
$z27b = "<a href=\"javascript:void(0);\" id=\"1\" name=\"$l8\" class=\"badge badge-pill bg-gradient-secondary float-end\" title=\"" . translate(base64_decode('VG9kbw==')) . "\" onclick=\"updateTaskStatus(this.name, this.id,'$j4f')\"><i class=\"fa fa-circle-left\"></i></a>";
$f27c = "<a href=\"javascript:void(0);\" id=\"2\" name=\"$l8\" class=\"badge badge-pill bg-gradient-secondary float-end\" title=\"" . translate(base64_decode('RG9pbmc=')) . "\" onclick=\"updateTaskStatus(this.name, this.id,'$j4f')\"><i class=\"fa fa-circle-up\"></i></a>";
$d27d = "<a href=\"javascript:void(0);\" id=\"3\" name=\"$l8\" class=\"badge badge-pill bg-gradient-secondary float-end\" title=\"" . translate(base64_decode('RG9uZQ==')) . "\" onclick=\"updateTaskStatus(this.name, this.id,'$j4f')\"><i class=\"fa fa-circle-right\"></i></a>";
$g27e = "<a href=\"javascript:void(0);\" id=\"4\" name=\"$l8\" class=\"badge badge-pill bg-gradient-secondary float-end\" title=\"" . translate(base64_decode('Q2xvc2U=')) . "\" onclick=\"updateTaskStatus(this.name, this.id,'$j4f')\"><i class=\"fa fa-trash\"></i></a>";
if ($p25b == base64_decode('Mw==')) {
$v27f = $g27e;
} else {
$v27f = '';
}
$f280 = '';
if (strtotime($k278) < time()) {
$f280 = base64_decode('PGkgY2xhc3M9ImZhLXNvbGlkIGZhLWNpcmNsZSBkb3QtaWNvbiBkb3QtaWNvbi1yZWQiIHRpdGxlPSI=') . _(base64_decode('RGVhZGxpbmUgaGFzIHBhc3NlZA==')) . base64_decode('Ij48L2k+');
} elseif (strtotime($k278) - time() <= 5 * 3600) {
$f280 = base64_decode('PGkgY2xhc3M9ImZhLXNvbGlkIGZhLWNpcmNsZSBkb3QtaWNvbiBkb3QtaWNvbi1vcmFuZ2UiIHRpdGxlPSI=') . _(base64_decode('RGVhZGxpbmUgaXMgd2l0aGluIDUgaG91cnMh')) . base64_decode('Ij48L2k+');
}
$g281 = translate(base64_decode('WW91IGNhbiBkcmFnIHRhc2tzIHRvIGJvYXJkIGhlYWRlciB0byBjaGFuZ2UgaXRzIHN0YXRl'));
$o282 = "<div class=\"card card-body-dropdown text-wrap\" title=\"$g281\" id=\"$l8\" draggable=\"true\" ondragstart=\"drag(event)\">
<a class=\"collapsed\" data-bs-toggle=\"collapse\" href=\"#collapse$l8\" aria-expanded=\"false\" aria-controls=\"collapse$l8\" id=\"$l8\" draggable=\"true\" ondragstart=\"drag(event)\">
<div class=\"d-flex justify-content-between align-items-center\">
<p class=\"text-sm text-secondary mb-0 text-wrap\">$f280 <i class=\"$b25d\"></i> $f260: $z26a</p>
<div class=\"text-right\">
$v27f
</div>
</div>
</a>
<div id=\"collapse$l8\" class=\"accordion-collapse collapse\" role=\"tabpanel\" aria-labelledby=\"heading$l8\" data-parent=\"#accordionTabToDo\">
<br>
<p class=\"text-sm text-secondary mb-0\"><b>" . translate(base64_decode('VGFzaw==')) . ": $h26d</p>
$t269
<p class=\"text-sm text-secondary mb-0\"><b>" . translate(base64_decode('UmVzcG9uc2libGU=')) . ":</b> <a href=\"javascript:runModalViewUnit('User',$z190);\">$b264 ($y265)</a></p>
<p class=\"text-sm text-secondary mb-0\"><b>" . translate(base64_decode('RGVhZGxpbmU=')) . ":</b> $k278</p>
<p class=\"text-sm text-secondary mb-0\"><b>" . translate(base64_decode('UmVtYWluaW5n')) . ":</b> $q276</p>
<p class=\"text-sm text-secondary mb-0\"><b>" . translate(base64_decode('VGFzayBjcmVhdGVk')) . ":</b> $z25f</p>
<br>
<div class=\"row\">
<div class=\"col-md-12 col-sm-12 col-xs-12\">
$r26e
<a href=\"javascript:void(0);\" class=\"badge badge-pill bg-gradient-info\" title=\"" . translate(base64_decode('VGltZXJlZ2lzdHJhdGlvbg==')) . "\" onclick=\"javascript:runModalCreateTimeRegistration($l8);\"><i class=\"fa fa-clock\"></i></a>
$e283
$g27e
$d27d
$f27c
$z27b
</div>
</div>
</div>
</div>";
$s119[] = array(base64_decode('VGFza0lE') => $l8, base64_decode('VGFza0NvbnRlbnQ=') => $o282);
}
mysqli_free_result($d13);
if (empty($s119)) {
echo json_encode([]);
} else {
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('c2VuZFBhc3N3b3JkQ2hhbmdlUmVxdWVzdA==')])) {
$z187 = $_GET[base64_decode('ZW1haWxhZGRyZXNz')];
$baa = getUserIDFromEmail($z187);
changePasswordSubmit($baa);
}
if (isset($_GET[base64_decode('dXBkYXRlS2FuYmFuVGFzaw==')])) {
$v284 = $_GET[base64_decode('dGFza2lk')];
$z285 = $_GET[base64_decode('c3RhdHVz')];
updateKanBanTaskStatus($v284, $z285);
}
if (isset($_GET[base64_decode('Z2V0V29ya2Zsb3dJbmZvcm1hdGlvbg==')])) {
$k286 = $_GET[base64_decode('d29ya2Zsb3dzdGVwaWQ=')];
$oa = base64_decode('U0VMRUNUIHdvcmtmbG93c3RlcHMuSUQsIHdvcmtmbG93c3RlcHMuUmVsYXRlZFdvcmtGbG93SUQsIHdvcmtmbG93c3RlcHMuU3RlcE9yZGVyLCB3b3JrZmxvd3N0ZXBzLlN0ZXBOYW1lLCB3b3JrZmxvd3N0ZXBzLkRlc2NyaXB0aW9uLCB3b3JrZmxvd3N0ZXBzLlJlbGF0ZWRTdGF0dXNJRCwgd29ya2Zsb3dzdGVwcy5SZWxhdGVkVXNlcklELCB3b3JrZmxvd3N0ZXBzLlJlbGF0ZWRUYXNrSUQsIHRhc2tzbGlzdC5EZWFkbGluZQ0KICAgICAgICAgIEZST00gd29ya2Zsb3dzdGVwcw0KICAgICAgICAgIElOTkVSIEpPSU4gdGFza3NsaXN0IE9OIHdvcmtmbG93c3RlcHMuUmVsYXRlZFRhc2tJRCA9IHRhc2tzbGlzdC5JRA0KICAgICAgICAgIFdIRVJFIHdvcmtmbG93c3RlcHMuSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k286);
$sb->execute();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$t287 = $l14[base64_decode('UmVsYXRlZFdvcmtGbG93SUQ=')];
$l237 = $l14[base64_decode('U3RlcE9yZGVy')];
$o77 = $l14[base64_decode('U3RlcE5hbWU=')];
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$b12a = $l14[base64_decode('UmVsYXRlZFN0YXR1c0lE')];
$p7a = $l14[base64_decode('UmVsYXRlZFVzZXJJRA==')];
$l22f = $l14[base64_decode('UmVsYXRlZFRhc2tJRA==')];
$j7e = $l14[base64_decode('RGVhZGxpbmU=')];
$j7e = convertToDanishTimeFormat($j7e);
$v288[] = array(base64_decode('SUQ=') => $r46, base64_decode('UmVsYXRlZFdvcmtGbG93SUQ=') => $t287, base64_decode('U3RlcE9yZGVy') => $l237, base64_decode('U3RlcE5hbWU=') => $o77, base64_decode('RGVzY3JpcHRpb24=') => $f1e, base64_decode('UmVsYXRlZFN0YXR1c0lE') => $b12a, base64_decode('UmVsYXRlZFVzZXJJRA==') => $p7a, base64_decode('UmVsYXRlZFRhc2tJRA==') => $l22f, base64_decode('RGVhZGxpbmU=') => $j7e);
}
mysqli_free_result($d13);
echo json_encode($v288, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0QXJjaGl2ZWREb2N1bWVudA==')])) {
$o289 = $_GET[base64_decode('QXJjaGl2ZURvY0lE')];
$oa = base64_decode('U0VMRUNUIGl0c21fa25vd2xlZGdlX2FyY2hpdmUuQ29udGVudCwgaXRzbV9rbm93bGVkZ2VfYXJjaGl2ZS5Eb2N1bWVudFZlcnNpb24saXRzbV9rbm93bGVkZ2VfYXJjaGl2ZS5EYXRlLENPTkNBVCh1c2Vycy5GaXJzdG5hbWUsJyAnLHVzZXJzLkxhc3RuYW1lLCcgKCcsdXNlcnMuVXNlcm5hbWUsJyknKSBBUyBGdWxsTmFtZQ0KICAgICAgICAgIEZST00gaXRzbV9rbm93bGVkZ2VfYXJjaGl2ZQ0KICAgICAgICAgIExFRlQgSk9JTiB1c2VycyBPTiBpdHNtX2tub3dsZWRnZV9hcmNoaXZlLlJlbGF0ZWRVc2VyID0gdXNlcnMuSUQNCiAgICAgICAgICBXSEVSRSBpdHNtX2tub3dsZWRnZV9hcmNoaXZlLklEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aQ=='), $o289);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$b6b = $l14[base64_decode('Q29udGVudA==')];
$d9b = $l14[base64_decode('RG9jdW1lbnRWZXJzaW9u')];
$ac4 = $l14[base64_decode('RnVsbE5hbWU=')];
$g9c = $l14[base64_decode('RGF0ZQ==')];
$g9c = convertToDanishDateTimeFormat($g9c);
$r28a[] = array(base64_decode('Q29udGVudA==') => $b6b, base64_decode('RG9jdW1lbnRWZXJzaW9u') => $d9b, base64_decode('RnVsbE5hbWU=') => $ac4, base64_decode('RGF0ZQ==') => $g9c);
}
mysqli_free_result($d13);
echo json_encode($r28a, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('dGVzdENyZWF0ZU5ld1RpY2tldA==')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$j9f = base64_decode('MQ==');
$cc2 = base64_decode('MQ==');
$j28b = $_POST[base64_decode('UHJvYmxlbVRleHQ=')];
$n28c = sanitizeTextAndBase64($j28b, $cc2, $j9f);
}
if (isset($_GET[base64_decode('Z2V0Rm9ybURhdGFyb3dz')])) {
$q1d = $_POST[base64_decode('Rm9ybUlE')];
$w28d = getTableNameFromFormID($q1d);
$oa = "SHOW COLUMNS FROM $w28d WHERE Field != 'ID' AND Field != 'RelatedRequestID'";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $l14[base64_decode('RmllbGQ=')];
$g28e = getFormColumnNameForTableView($q1d, $m1a);
$l28f[] = "$m1a AS `$g28e`";
}
$d290 = implode(base64_decode('LA=='), $l28f);
$oa = "SELECT $d290
FROM $w28d;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$q291[] = $l14;
}
if (empty($q291)) {
echo json_encode([]);
} else {
echo json_encode($q291);
}
}
if (isset($_GET[base64_decode('Z2V0U2l0ZUNyZWF0aW9u')])) {
$oa = base64_decode('U0VMRUNUIFNpdGVOYW1lLCBTdGF0dXMsIENyZWF0ZWQsIFByb2dyZXNzDQogICAgICAgICAgRlJPTSBicGFnZS5zaXRlX2luc3RhbGxhdGlvbg0KICAgICAgICAgIFdIRVJFIFN0YXR1cyBJTiAoMSw0KTs=');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
if (empty($l259)) {
echo json_encode([]);
} else {
echo json_encode($l259);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lEYXRhcm93cw==')])) {
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$l7 = $_POST[base64_decode('QWN0aXZl')];
$df = getCITableName($m10);
$k292 = array();
$l259 = array();
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$l293 = array();
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDE1'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDE0'), $mb6) || in_array(base64_decode('MTAwMDE1'), $mb6)) {
} else {
exit;
}
$oa = base64_decode('U0VMRUNUIGNtZGJfY2lfZmllbGRzbGlzdC5EZWZhdWx0RmllbGQsRmllbGRUeXBlLEZpZWxkTmFtZSxGaWVsZExhYmVsLExvb2t1cFRhYmxlLExvb2t1cEZpZWxkLExvb2t1cEZpZWxkUmVzdWx0VGFibGUsY21kYl9jaXMuVGFibGVOYW1lLGNtZGJfY2lfZmllbGRzbGlzdC5IaWRlVGFibGVzLGNtZGJfY2lfZmllbGRzbGlzdC5IaWRlRm9ybXMNCiAgICAgICAgICBGUk9NIGNtZGJfY2lfZmllbGRzbGlzdA0KICAgICAgICAgIExFRlQgSk9JTiBjbWRiX2NpcyBPTiBjbWRiX2NpX2ZpZWxkc2xpc3QuUmVsYXRlZENJVHlwZUlEID0gY21kYl9jaXMuSUQNCiAgICAgICAgICBXSEVSRSBSZWxhdGVkQ0lUeXBlSUQgPSA/IEFORCBjbWRiX2Npcy5BY3RpdmUgPSAxDQogICAgICAgICAgT1JERVIgQlkgY21kYl9jaV9maWVsZHNsaXN0LkZpZWxkT3JkZXIgQVNDOw==');
$sb = mysqli_prepare($zc, $oa);
if (!$sb) {
errorlog(base64_decode('RmFpbGVkIHRvIHByZXBhcmUgc3RhdGVtZW50OiA=') . mysqli_error($zc), base64_decode('Z2V0Q0lEYXRhcm93cw=='));
exit;
}
$sb->bind_param(base64_decode('aQ=='), $m10);
if (!$sb->execute()) {
errorlog(base64_decode('RmFpbGVkIHRvIGV4ZWN1dGUgc3RhdGVtZW50OiA=') . $sb->$o294, base64_decode('Z2V0Q0lEYXRhcm93cw=='));
exit;
}
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = base64_decode('QWN0aW9ucw==');
$z296 = "SELECT $df.ID,'' AS $s295,";
$z297 = '';
$r11 = getCIFieldToWorkAsID($m10);
if (!$r11) {
$u47 = translate(base64_decode('V2UgYXJlIG1pc3NpbmcgYSBwcmltYXJ5IGZpZWxkIGZvciB0aGlzIHR5cGU='));
$l293[] = array('' => "Error: $u47");
echo json_encode($l293);
return;
}
foreach ($l259 as $z5c => $r2a) {
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$d299 = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$u29c = $r2a[base64_decode('RGVmYXVsdEZpZWxk')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $d299 . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.StatusCode AND $f29a.ModuleID = '$k17'";
} else {
if (strpos($j29d, base64_decode('Q09OQ0FU')) !== false) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $d299 . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $d299 . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.ID";
}
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $d299 . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $df ";
$z296 .= $z297;
$z296 .= " WHERE $df.Active = $l7 ORDER BY $r11 ASC;";
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$q1f = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:runModalViewCI('$q1f','$m10','$v20');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
$l2a2 = array();
foreach ($l14 as $z5c => $r2a) {
if ($z5c == base64_decode('QWN0aW9ucw==')) {
$g2a3 = base64_decode('LQ==');
$o2a4 = $r2a;
} else {
$g2a3 = $z5c;
$o2a4 = $r2a;
}
foreach ($l259 as $h2a5) {
if ($h2a5[base64_decode('RmllbGRMYWJlbA==')] == $z5c) {
if ($h2a5[base64_decode('RmllbGRUeXBl')] == 5) {
if ($o2a4 == '') {
continue;
} else {
$f2a6 = strtotime($o2a4);
$o2a4 = convertToDanishDateTimeFormat($o2a4);
$o2a4 = "<span style=\"display:none;\">$f2a6</span>$o2a4";
}
}
if ($h2a5[base64_decode('RmllbGROYW1l')] == base64_decode('U3RhdHVz')) {
$o2a4 = translate($o2a4);
}
}
}
$l2a2[$g2a3] = $o2a4;
}
$l293[] = $l2a2;
}
if (empty($l293)) {
echo json_encode([]);
} else {
echo json_encode($l293);
}
}
if (isset($_GET[base64_decode('Z2V0UGFzc3dvcmRz')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$k292 = array();
$l259 = array();
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$s2a7 = implode(base64_decode('Jywn'), $mb6);
$p0 = $mb6;
$z3 = $_SESSION[base64_decode('dGVhbWlk')];
if ($z3 == '') {
$z3 = base64_decode('MA==');
}
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
}
$a2a8 = getITSMClosedStatus($k17);
$oa = base64_decode('U0VMRUNUIEZpZWxkVHlwZSxGaWVsZE5hbWUsRmllbGRMYWJlbCxMb29rdXBUYWJsZSxMb29rdXBGaWVsZCxMb29rdXBGaWVsZFJlc3VsdFRhYmxlLGl0c21fbW9kdWxlcy5UYWJsZU5hbWUsaXRzbV9maWVsZHNsaXN0LkhpZGVUYWJsZXMsaXRzbV9maWVsZHNsaXN0LkhpZGVGb3Jtcw0KICAgICAgICAgICAgRlJPTSBpdHNtX2ZpZWxkc2xpc3QNCiAgICAgICAgICAgIExFRlQgSk9JTiBpdHNtX21vZHVsZXMgT04gaXRzbV9maWVsZHNsaXN0LlJlbGF0ZWRUeXBlSUQgPSBpdHNtX21vZHVsZXMuSUQNCiAgICAgICAgICAgIFdIRVJFIFJlbGF0ZWRUeXBlSUQgPSA/DQogICAgICAgICAgICBPUkRFUiBCWSBpdHNtX2ZpZWxkc2xpc3QuRmllbGRPcmRlciBBU0M7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$r11 = getITSMFieldToWorkAsID($k17);
if (!empty($r11)) {
$r11 = "ORDER BY $i16.$r11 ASC";
}
foreach ($l259 as $r2a) {
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.StatusCode AND $f29a.ModuleID = '$k17'";
} else {
if (strpos($j29d, base64_decode('Q09OQ0FU')) !== false) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.ID";
}
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . base64_decode('Jykg');
$z296 .= base64_decode('IEFORCAo');
$z296 .= base64_decode('IChpdHNtX3Bhc3N3b3Jkcy5Qcml2YXRlID0gMCBBTkQgKA==');
$z296 .= " itsm_passwords.RelatedGroup IN ('$s2a7') OR ";
$z296 .= base64_decode('ICgoaXRzbV9wYXNzd29yZHMuUmVsYXRlZEdyb3VwID0gJycgT1IgaXRzbV9wYXNzd29yZHMuUmVsYXRlZEdyb3VwIElTIE5VTEwpIEFORCAoaXRzbV9wYXNzd29yZHMuUmVsYXRlZFRlYW0gPSAnJyBPUiBpdHNtX3Bhc3N3b3Jkcy5SZWxhdGVkVGVhbSBJUyBOVUxMKSkgT1Ig');
$z296 .= " itsm_passwords.RelatedTeam = '$z3'";
$z296 .= base64_decode('ICkp');
$z296 .= base64_decode('IE9SIA==');
$z296 .= " (itsm_passwords.Private = 1 AND itsm_passwords.Responsible = '$x9d')";
$z296 .= " OR itsm_passwords.Responsible = '$x9d'";
$z296 .= base64_decode('ICk=');
if (!empty($r11)) {
$z296 .= " $r11";
}
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$z2a9 = [];
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
$l2a2 = array();
foreach ($l14 as $z5c => $r2a) {
if ($z5c !== '') {
$g2a3 = translate($z5c);
$o2a4 = $r2a;
} else {
$g2a3 = $z5c;
$o2a4 = $r2a;
}
foreach ($l259 as $h2a5) {
if ($h2a5[base64_decode('RmllbGRMYWJlbA==')] == $z5c) {
if ($h2a5[base64_decode('RmllbGRUeXBl')] == 5) {
if ($o2a4 == '') {
$o2a4 = '';
} else {
$o2a4 = convertToDanishDateTimeFormat($o2a4);
}
}
if ($h2a5[base64_decode('RmllbGROYW1l')] == base64_decode('U3RhdHVz')) {
$o2a4 = translate($o2a4);
}
}
}
$l2a2[$g2a3] = $o2a4;
}
$z2a9[] = $l2a2;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0RG9jdW1lbnREYXRhcm93cw==')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$k292 = array();
$l259 = array();
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$s2a7 = implode(base64_decode('LA=='), $mb6);
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$z1ed = getITSMClosedStatus($k17);
$z1ed = implode(base64_decode('LCA='), $z1ed);
$oa = base64_decode('U0VMRUNUIEZpZWxkVHlwZSxGaWVsZE5hbWUsRmllbGRMYWJlbCxMb29rdXBUYWJsZSxMb29rdXBGaWVsZCxMb29rdXBGaWVsZFJlc3VsdFRhYmxlLGl0c21fbW9kdWxlcy5UYWJsZU5hbWUsaXRzbV9maWVsZHNsaXN0LkhpZGVUYWJsZXMsaXRzbV9maWVsZHNsaXN0LkhpZGVGb3Jtcw0KICAgICAgICAgIEZST00gaXRzbV9maWVsZHNsaXN0DQogICAgICAgICAgTEVGVCBKT0lOIGl0c21fbW9kdWxlcyBPTiBpdHNtX2ZpZWxkc2xpc3QuUmVsYXRlZFR5cGVJRCA9IGl0c21fbW9kdWxlcy5JRA0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRUeXBlSUQgPSA/DQogICAgICAgICAgT1JERVIgQlkgaXRzbV9maWVsZHNsaXN0LkZpZWxkT3JkZXIgQVNDOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$r11 = getITSMFieldToWorkAsID($k17);
if (!empty($r11)) {
$r11 = "ORDER BY $i16.$r11 ASC";
}
foreach ($l259 as $z5c => $r2a) {
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.StatusCode AND $f29a.ModuleID = '$k17'";
} else {
if (strpos($j29d, base64_decode('Q09OQ0FU')) !== false) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.ID";
}
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status NOT IN ($z1ed) $r11;";
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
$l2a2 = array();
foreach ($l14 as $z5c => $r2a) {
if ($z5c !== '') {
$g2a3 = translate($z5c);
$o2a4 = $r2a;
} else {
$g2a3 = $z5c;
$o2a4 = $r2a;
}
foreach ($l259 as $h2a5) {
if ($h2a5[base64_decode('RmllbGRMYWJlbA==')] == $z5c) {
if ($h2a5[base64_decode('RmllbGRUeXBl')] == 5) {
if ($o2a4 == '') {
$o2a4 = '';
} else {
$o2a4 = convertToDanishDateTimeFormat($o2a4);
}
}
if ($h2a5[base64_decode('RmllbGROYW1l')] == base64_decode('U3RhdHVz')) {
$o2a4 = translate($o2a4);
}
}
}
$l2a2[$g2a3] = $o2a4;
}
$z2a9[] = $l2a2;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTURhdGFyb3dzQWxsQWN0aXZl')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$v2aa = $_POST[base64_decode('c2NyZWVuc2l6ZQ==')];
$i16 = getITSMTableName($k17);
$k292 = array();
$l259 = array();
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$a2a8 = getITSMClosedStatus($k17);
$oa = base64_decode('U0VMRUNUIEZpZWxkVHlwZSxGaWVsZE5hbWUsRmllbGRMYWJlbCxMb29rdXBUYWJsZSxMb29rdXBGaWVsZCxMb29rdXBGaWVsZFJlc3VsdFRhYmxlLGl0c21fbW9kdWxlcy5UYWJsZU5hbWUsaXRzbV9maWVsZHNsaXN0LkhpZGVUYWJsZXMsaXRzbV9maWVsZHNsaXN0LkhpZGVGb3Jtcw0KICAgICAgICAgIEZST00gaXRzbV9maWVsZHNsaXN0DQogICAgICAgICAgTEVGVCBKT0lOIGl0c21fbW9kdWxlcyBPTiBpdHNtX2ZpZWxkc2xpc3QuUmVsYXRlZFR5cGVJRCA9IGl0c21fbW9kdWxlcy5JRA0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRUeXBlSUQgPSA/DQogICAgICAgICAgT1JERVIgQlkgaXRzbV9maWVsZHNsaXN0LkZpZWxkT3JkZXIgQVNDOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$l2ab = '';
$r11 = getITSMFieldToWorkAsID($k17);
$n2ac = $r11;
if (!empty($r11)) {
$r11 = "ORDER BY $i16.$r11 ASC";
}
foreach ($l259 as $z5c => $r2a) {
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
$l2ab = '';
if ($p298 == base64_decode('MTE=')) {
$d2ad = " AND $i16.$m1a IN ('" . implode(base64_decode('Jywn'), $p0) . base64_decode('Jyk=');
$l2ab .= $d2ad;
} else {
$d2ad = '';
}
if ($p298 == base64_decode('MTI=')) {
$c2ae = " OR $i16.$m1a = '$z3'";
$l2ab .= $c2ae;
} else {
$c2ae = '';
}
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.StatusCode AND $f29a.ModuleID = '$k17'";
} else {
if (strpos($j29d, base64_decode('Q09OQ0FU')) !== false) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.ID";
}
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . "') $l2ab $r11;";
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
if ($v2aa == base64_decode('c20=')) {
$y2af = $l14["$n2ac"];
if (strlen($y2af) > 20) {
$y2af = substr($y2af, 0, 20) . base64_decode('Li4u');
}
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\">$y2af</a>";
$l14["$n2ac"] = $w2a1;
} else {
$y2af = $l14["$n2ac"];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\">$y2af</a>";
$l14["$n2ac"] = $w2a1;
}
$l2a2 = array();
foreach ($l14 as $z5c => $r2a) {
if ($z5c == base64_decode('SUQ=')) {
continue;
}
if ($z5c == base64_decode('QWN0aW9ucw==')) {
continue;
}
if ($z5c !== '') {
$g2a3 = translate($z5c);
$o2a4 = $r2a;
} else {
$g2a3 = $z5c;
$o2a4 = $r2a;
}
if ($z5c == base64_decode('QWN0aW9ucw==')) {
$g2a3 = '';
$o2a4 = $r2a;
}
foreach ($l259 as $h2a5) {
if ($h2a5[base64_decode('RmllbGRMYWJlbA==')] == $z5c) {
if ($h2a5[base64_decode('RmllbGRUeXBl')] == 5) {
if ($o2a4 == '') {
$t2b0 = '';
} else {
$f2a6 = strtotime($o2a4);
$o2a4 = convertToDanishDateTimeFormat($o2a4);
$o2a4 = "<span style=\"display:none;\">$f2a6</span>$o2a4";
}
}
if ($h2a5[base64_decode('RmllbGROYW1l')] == base64_decode('U3RhdHVz')) {
$o2a4 = translate($o2a4);
}
}
}
$l2a2[$g2a3] = $o2a4;
}
$z2a9[] = $l2a2;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTURhdGFyb3dzTXk=')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$q54 = $_POST[base64_decode('VHlwZQ==')];
$v2aa = $_POST[base64_decode('c2NyZWVuc2l6ZQ==')];
$i16 = getITSMTableName($k17);
$a2a8 = getITSMClosedStatus($k17);
$k292 = array();
$l259 = array();
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$oa = base64_decode('U0VMRUNUIEZpZWxkVHlwZSxGaWVsZE5hbWUsRmllbGRMYWJlbCxMb29rdXBUYWJsZSxMb29rdXBGaWVsZCxMb29rdXBGaWVsZFJlc3VsdFRhYmxlLGl0c21fbW9kdWxlcy5UYWJsZU5hbWUsaXRzbV9maWVsZHNsaXN0LkhpZGVUYWJsZXMsaXRzbV9maWVsZHNsaXN0LkhpZGVGb3Jtcw0KICAgICAgICAgIEZST00gaXRzbV9maWVsZHNsaXN0DQogICAgICAgICAgTEVGVCBKT0lOIGl0c21fbW9kdWxlcyBPTiBpdHNtX2ZpZWxkc2xpc3QuUmVsYXRlZFR5cGVJRCA9IGl0c21fbW9kdWxlcy5JRA0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRUeXBlSUQgPSA/DQogICAgICAgICAgT1JERVIgQlkgaXRzbV9maWVsZHNsaXN0LkZpZWxkT3JkZXIgQVNDOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$l2ab = '';
$r11 = getITSMFieldToWorkAsID($k17);
$n2ac = $r11;
if (!empty($r11)) {
$r11 = "ORDER BY $i16.$r11 ASC";
} else {
$u47 = translate(base64_decode('V2UgYXJlIG1pc3NpbmcgYSBwcmltYXJ5IGZpZWxkIGZvciB0aGlzIHR5cGU='));
$z2a9[] = array('' => "Error: $u47");
echo json_encode($z2a9);
return;
}
foreach ($l259 as $z5c => $r2a) {
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
$l2ab = '';
if ($p298 == base64_decode('MTE=')) {
$d2ad = " AND $i16.$m1a IN ('" . implode(base64_decode('Jywn'), $p0) . base64_decode('Jyk=');
$l2ab .= $d2ad;
} else {
$d2ad = '';
}
if ($p298 == base64_decode('MTI=')) {
$c2ae = " OR $i16.$m1a = '$z3'";
$l2ab .= $c2ae;
} else {
$c2ae = '';
}
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.StatusCode AND $f29a.ModuleID = '$k17'";
} else {
if (strpos($j29d, base64_decode('Q09OQ0FU')) !== false) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.ID";
}
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
switch ($q54) {
case base64_decode('bXk='):
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . "') AND $i16.Responsible = $x9d $l2ab $r11;";
break;
case base64_decode('bXl0ZWFtcw=='):
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . "') AND $i16.Team = $z3 AND (($i16.Responsible != $x9d) OR ($i16.Responsible IS NULL)) $l2ab $r11;";
break;
case base64_decode('bWVwYXJ0aWNpcGF0aW5n'):
$z297 .= " LEFT JOIN itsm_participants ON $j4f.ID = itsm_participants.ElementID";
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE itsm_participants.ModuleID = $k17 AND $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . "') AND itsm_participants.UserID = $x9d AND (($i16.Responsible != $x9d) OR ($i16.Responsible IS NULL)) $l2ab $r11;";
break;
default:
$z296 .= " WHERE $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . "') AND $i16.Responsible = $x9d $l2ab $r11;";
}
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$n98 = getNumberOfUnreadITSMComments($k17, $g35, $x9d);
$w2b1 = '';
if ($n98 > 0) {
$w2b1 = base64_decode('PHNwYW4gY2xhc3M9ImJhZGdlIGJhZGdlLWNpcmNsZSBiYWRnZS1pbmZvIiB0aXRsZT0i') . translate(base64_decode('VW5yZWFkIGNvbW1lbnRz')) . "\">$n98</span>";
}
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
if ($v2aa == base64_decode('c20=')) {
$y2af = $l14["$n2ac"];
if (strlen($y2af) > 22) {
$y2af = substr($y2af, 0, 22) . base64_decode('Li4u');
}
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\">$y2af</a>" . base64_decode('IA==') . $w2b1;
$l14["$n2ac"] = $w2a1;
} else {
$y2af = $l14["$n2ac"];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\">$y2af</a>" . base64_decode('IA==') . $w2b1;
$l14["$n2ac"] = $w2a1;
}
$l2a2 = [];
foreach ($l14 as $z5c => $r2a) {
if ($z5c == base64_decode('QWN0aW9ucw==') && $v2aa == base64_decode('c20=')) {
continue;
}
if ($z5c !== '') {
$g2a3 = translate($z5c);
$o2a4 = $r2a;
} else {
$g2a3 = $z5c;
$o2a4 = $r2a;
}
if ($z5c == base64_decode('QWN0aW9ucw==')) {
$g2a3 = '';
$o2a4 = $r2a;
}
foreach ($l259 as $h2a5) {
if ($h2a5[base64_decode('RmllbGRMYWJlbA==')] == $z5c) {
if ($h2a5[base64_decode('RmllbGRUeXBl')] == 5) {
if ($o2a4 == '') {
$t2b0 = '';
} else {
$f2a6 = strtotime($o2a4);
$o2a4 = convertToDanishDateTimeFormat($o2a4);
$o2a4 = "<span style=\"display:none;\">$f2a6</span>$o2a4";
}
}
if ($h2a5[base64_decode('RmllbGROYW1l')] == base64_decode('U3RhdHVz')) {
$o2a4 = translate($o2a4);
}
}
}
$l2a2[$g2a3] = $o2a4;
}
$z2a9[] = $l2a2;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTURhdGFyb3dzUXVpY2tWaWV3')])) {
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$m2b2 = $_GET[base64_decode('RmlsdGVyVmFsdWU=')];
$x9d = $_SESSION[base64_decode('aWQ=')];
$d2b3 = $_SESSION[base64_decode('dGVhbWlk')];
$t18 = getITSMTypeName($k17);
$i16 = getITSMTableName($k17);
$k292 = array();
$l259[] = array(base64_decode('RmllbGROYW1l') => base64_decode('SUQ='), base64_decode('TGFiZWw=') => base64_decode('SUQ='), base64_decode('TG9va3VwVGFibGU=') => '', base64_decode('TG9va3VwRmllbGQ=') => '', base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==') => '', base64_decode('VGFibGVOYW1l') => "$i16");
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$z1ed = getITSMClosedStatus($k17);
$oa = base64_decode('U0VMRUNUIEZpZWxkTmFtZSxGaWVsZExhYmVsLExvb2t1cFRhYmxlLExvb2t1cEZpZWxkLExvb2t1cEZpZWxkUmVzdWx0VGFibGUsaXRzbV9tb2R1bGVzLlRhYmxlTmFtZSxpdHNtX2ZpZWxkc2xpc3QuSGlkZVRhYmxlcyxpdHNtX2ZpZWxkc2xpc3QuSGlkZUZvcm1zDQogICAgICAgICAgRlJPTSBpdHNtX2ZpZWxkc2xpc3QNCiAgICAgICAgICBMRUZUIEpPSU4gaXRzbV9tb2R1bGVzIE9OIGl0c21fZmllbGRzbGlzdC5SZWxhdGVkVHlwZUlEID0gaXRzbV9tb2R1bGVzLklEDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFR5cGVJRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBpdHNtX2ZpZWxkc2xpc3QuRmllbGRPcmRlciBBU0M7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$r11 = getITSMFieldToWorkAsID($k17);
if (!empty($r11)) {
$r11 = "ORDER BY $i16.$r11 ASC";
}
foreach ($l259 as $z5c => $r2a) {
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID AND $m1a.ModuleID = $k17";
} else {
if (strpos($j29d, base64_decode('Q09OQ0FU')) !== false) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $m1a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
}
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $i16 ";
$z296 .= $z297;
switch ($m2b2) {
case base64_decode('MQ=='):
$z296 .= " WHERE $i16.Status != '$z1ed' AND $i16.Responsible = $x9d $r11;";
break;
case base64_decode('Mg=='):
$z296 .= " WHERE $i16.Status != '$z1ed' AND $i16.Responsible != $x9d AND $i16.Team = '$d2b3' $r11;";
break;
case base64_decode('Mw=='):
$z296 .= " LEFT JOIN itsm_participants ON $i16.ID = itsm_participants.ElementID AND itsm_participants.ModuleID = '$k17' AND itsm_participants.UserID = '$x9d'";
$z296 .= " WHERE $i16.Status != '$z1ed' AND $i16.Responsible != $x9d $r11;";
break;
case base64_decode('NA=='):
$z296 .= " WHERE $i16.Status != '$z1ed' $r11;";
break;
case base64_decode('NQ=='):
$z296 .= " WHERE $i16.Status = '$z1ed' $r11;";
break;
default:
$z296 .= " WHERE $i16.Status != '$z1ed' AND $i16.Responsible = $x9d $r11;";
}
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$z2a9 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$eca = $l14[base64_decode('U3ViamVjdA==')];
$z2a9[] = array(translate(base64_decode('SUQ=')) => "$g35", translate(base64_decode('U3ViamVjdA==')) => "<a href=\"javascript:viewITSM('$g35','$k17','$v20','quickview');\">$eca</a>");
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTURhdGFyb3dzTXlUZWFtcw==')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$z3 = $_SESSION[base64_decode('dGVhbWlk')];
if ($z3 == '') {
echo json_encode([]);
return;
}
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$k292 = array();
$l259 = array();
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$a2a8 = getITSMClosedStatus($k17);
$oa = base64_decode('U0VMRUNUIEZpZWxkVHlwZSxGaWVsZE5hbWUsRmllbGRMYWJlbCxMb29rdXBUYWJsZSxMb29rdXBGaWVsZCxMb29rdXBGaWVsZFJlc3VsdFRhYmxlLGl0c21fbW9kdWxlcy5UYWJsZU5hbWUsaXRzbV9maWVsZHNsaXN0LkhpZGVUYWJsZXMsaXRzbV9maWVsZHNsaXN0LkhpZGVGb3Jtcw0KICAgICAgICAgIEZST00gaXRzbV9maWVsZHNsaXN0DQogICAgICAgICAgTEVGVCBKT0lOIGl0c21fbW9kdWxlcyBPTiBpdHNtX2ZpZWxkc2xpc3QuUmVsYXRlZFR5cGVJRCA9IGl0c21fbW9kdWxlcy5JRA0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRUeXBlSUQgPSA/DQogICAgICAgICAgT1JERVIgQlkgaXRzbV9maWVsZHNsaXN0LkZpZWxkT3JkZXIgQVNDOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$l2ab = '';
$r11 = getITSMFieldToWorkAsID($k17);
if (!empty($r11)) {
$r11 = "ORDER BY $i16.$r11 ASC";
}
foreach ($l259 as $z5c => $r2a) {
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($p298 == base64_decode('MTE=')) {
$d2ad = " AND $i16.$m1a IN ('" . implode(base64_decode('Jywn'), $p0) . base64_decode('Jyk=');
$l2ab .= $d2ad;
} else {
$d2ad = '';
}
if ($p298 == base64_decode('MTI=')) {
$c2ae = " OR $i16.$m1a = '$z3'";
$l2ab .= $c2ae;
} else {
$c2ae = '';
}
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.StatusCode AND $f29a.ModuleID = '$k17'";
} else {
if (strpos($j29d, base64_decode('Q09OQ0FU')) !== false) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $m1a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
}
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . "') AND $i16.Team = $z3 AND (($i16.Responsible != $x9d) OR ($i16.Responsible IS NULL)) $l2ab $r11;";
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
$l2a2 = array();
foreach ($l14 as $z5c => $r2a) {
if ($z5c !== '') {
$g2a3 = translate($z5c);
$o2a4 = $r2a;
} else {
$g2a3 = $z5c;
$o2a4 = $r2a;
}
foreach ($l259 as $h2a5) {
if ($h2a5[base64_decode('RmllbGRMYWJlbA==')] == $z5c) {
if ($h2a5[base64_decode('RmllbGRUeXBl')] == 5) {
if ($o2a4 == '') {
$o2a4 = '';
} else {
$f2a6 = strtotime($o2a4);
$o2a4 = convertToDanishDateTimeFormat($o2a4);
$o2a4 = "<span style=\"display:none;\">$f2a6</span>$o2a4";
}
}
if ($h2a5[base64_decode('RmllbGROYW1l')] == base64_decode('U3RhdHVz')) {
$o2a4 = translate($o2a4);
}
}
}
$l2a2[$g2a3] = $o2a4;
}
$z2a9[] = $l2a2;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTURhdGFyb3dzTWVQYXJ0aWNpcGF0aW5n')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$z3 = $_SESSION[base64_decode('dGVhbWlk')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$k292 = array();
$l259 = array();
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$a2a8 = getITSMClosedStatus($k17);
$oa = base64_decode('U0VMRUNUIEZpZWxkVHlwZSxGaWVsZE5hbWUsRmllbGRMYWJlbCxMb29rdXBUYWJsZSxMb29rdXBGaWVsZCxMb29rdXBGaWVsZFJlc3VsdFRhYmxlLGl0c21fbW9kdWxlcy5UYWJsZU5hbWUsaXRzbV9maWVsZHNsaXN0LkhpZGVUYWJsZXMsaXRzbV9maWVsZHNsaXN0LkhpZGVGb3Jtcw0KICAgICAgICAgIEZST00gaXRzbV9maWVsZHNsaXN0DQogICAgICAgICAgTEVGVCBKT0lOIGl0c21fbW9kdWxlcyBPTiBpdHNtX2ZpZWxkc2xpc3QuUmVsYXRlZFR5cGVJRCA9IGl0c21fbW9kdWxlcy5JRA0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRUeXBlSUQgPSA/DQogICAgICAgICAgT1JERVIgQlkgaXRzbV9maWVsZHNsaXN0LkZpZWxkT3JkZXIgQVNDOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$l2ab = '';
$r11 = getITSMFieldToWorkAsID($k17);
if (!empty($r11)) {
$r11 = "ORDER BY $i16.$r11 ASC";
}
foreach ($l259 as $z5c => $r2a) {
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($p298 == base64_decode('MTE=')) {
$d2ad = " AND $i16.$m1a IN ('" . implode(base64_decode('Jywn'), $p0) . base64_decode('Jyk=');
$l2ab .= $d2ad;
} else {
$d2ad = '';
}
if ($p298 == base64_decode('MTI=')) {
$c2ae = " OR $i16.$m1a = '$z3'";
$l2ab .= $c2ae;
} else {
$c2ae = '';
}
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = $f29a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a ON $j4f.$m1a = $f29a.StatusCode AND $f29a.ModuleID = '$k17'";
} else {
if (strpos($j29d, base64_decode('Q09OQ0FU')) !== false) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $m1a . base64_decode('Lg==') . $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
}
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z297 .= " LEFT JOIN itsm_participants ON $j4f.ID = itsm_participants.ElementID";
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE itsm_participants.ModuleID = $k17 AND $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . "') AND itsm_participants.UserID = $x9d AND (($i16.Responsible != $x9d) OR ($i16.Responsible IS NULL)) $l2ab $r11;";
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
$l2a2 = array();
foreach ($l14 as $z5c => $r2a) {
if ($z5c !== '') {
$g2a3 = translate($z5c);
$o2a4 = $r2a;
} else {
$g2a3 = $z5c;
$o2a4 = $r2a;
}
foreach ($l259 as $h2a5) {
if ($h2a5[base64_decode('RmllbGRMYWJlbA==')] == $z5c) {
if ($h2a5[base64_decode('RmllbGRUeXBl')] == 5) {
if ($o2a4 == '') {
$o2a4 = '';
} else {
$f2a6 = strtotime($o2a4);
$o2a4 = convertToDanishDateTimeFormat($o2a4);
$o2a4 = "<span style=\"display:none;\">$f2a6</span>$o2a4";
}
}
if ($h2a5[base64_decode('RmllbGROYW1l')] == base64_decode('U3RhdHVz')) {
$o2a4 = translate($o2a4);
}
}
}
$l2a2[$g2a3] = $o2a4;
}
$z2a9[] = $l2a2;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTURhdGFyb3dzQWxsT3Blbg==')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$k292 = array();
$l259[] = array(base64_decode('RmllbGROYW1l') => base64_decode('SUQ='), base64_decode('TGFiZWw=') => base64_decode('SUQ='), base64_decode('TG9va3VwVGFibGU=') => '', base64_decode('TG9va3VwRmllbGQ=') => '', base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==') => '', base64_decode('VGFibGVOYW1l') => "$i16");
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$a2a8 = getITSMClosedStatus($k17);
$oa = base64_decode('U0VMRUNUIEZpZWxkTmFtZSxGaWVsZExhYmVsLExvb2t1cFRhYmxlLExvb2t1cEZpZWxkLExvb2t1cEZpZWxkUmVzdWx0VGFibGUsaXRzbV9tb2R1bGVzLlRhYmxlTmFtZSxpdHNtX2ZpZWxkc2xpc3QuSGlkZVRhYmxlcyxpdHNtX2ZpZWxkc2xpc3QuSGlkZUZvcm1zDQogICAgICAgICAgRlJPTSBpdHNtX2ZpZWxkc2xpc3QNCiAgICAgICAgICBMRUZUIEpPSU4gaXRzbV9tb2R1bGVzIE9OIGl0c21fZmllbGRzbGlzdC5SZWxhdGVkVHlwZUlEID0gaXRzbV9tb2R1bGVzLklEDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFR5cGVJRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBpdHNtX2ZpZWxkc2xpc3QuRmllbGRPcmRlciBBU0M7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$r11 = getITSMFieldToWorkAsID($k17);
if (!empty($r11)) {
$r11 = "ORDER BY $r11 ASC";
}
foreach ($l259 as $z5c => $r2a) {
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = base64_decode('SVRTTVN0YXR1cy5TdGF0dXNOYW1lLA==');
$z297 .= " LEFT JOIN itsm_statuscodes AS ITSMStatus ON $i16.Status = ITSMStatus.StatusCode AND ITSMStatus.ModuleID = $k17";
} else {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status NOT IN ('" . implode(base64_decode('Jywn'), $a2a8) . base64_decode('Jyk7');
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
$z2a9[] = $l14;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTURhdGFyb3dzQWxsQ2xvc2Vk')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$k292 = array();
$l259[] = array(base64_decode('RmllbGROYW1l') => base64_decode('SUQ='), base64_decode('TGFiZWw=') => base64_decode('SUQ='), base64_decode('TG9va3VwVGFibGU=') => '', base64_decode('TG9va3VwRmllbGQ=') => '', base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==') => '', base64_decode('VGFibGVOYW1l') => "$i16");
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$a2a8 = getITSMClosedStatus($k17);
$oa = base64_decode('U0VMRUNUIEZpZWxkTmFtZSxGaWVsZExhYmVsLExvb2t1cFRhYmxlLExvb2t1cEZpZWxkLExvb2t1cEZpZWxkUmVzdWx0VGFibGUsaXRzbV9tb2R1bGVzLlRhYmxlTmFtZSxpdHNtX2ZpZWxkc2xpc3QuSGlkZVRhYmxlcyxpdHNtX2ZpZWxkc2xpc3QuSGlkZUZvcm1zDQogICAgICAgICAgRlJPTSBpdHNtX2ZpZWxkc2xpc3QNCiAgICAgICAgICBMRUZUIEpPSU4gaXRzbV9tb2R1bGVzIE9OIGl0c21fZmllbGRzbGlzdC5SZWxhdGVkVHlwZUlEID0gaXRzbV9tb2R1bGVzLklEDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFR5cGVJRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBpdHNtX2ZpZWxkc2xpc3QuRmllbGRPcmRlciBBU0M7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$r11 = getITSMFieldToWorkAsID($k17);
if (!empty($r11)) {
$r11 = "ORDER BY $r11 ASC";
}
foreach ($l259 as $z5c => $r2a) {
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
if ($m1a == base64_decode('U3RhdHVz')) {
$y29f = base64_decode('SVRTTVN0YXR1cy5TdGF0dXNOYW1lLA==');
$z297 .= " LEFT JOIN itsm_statuscodes AS ITSMStatus ON $i16.Status = ITSMStatus.StatusCode AND ITSMStatus.ModuleID = $k17";
} else {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
}
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status IN ('" . implode(base64_decode('Jywn'), $a2a8) . base64_decode('Jyk7');
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
$z2a9[] = $l14;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0VGVtcEZpbGVz')])) {
$w230 = $_POST[base64_decode('RWxlbWVudFR5cGU=')];
$p8a = $_POST[base64_decode('VXNlcklE')];
$b6b = '';
$oa = base64_decode('U0VMRUNUIGZpbGVzX3RlbXAuRmlsZU5hbWUsZmlsZXNfdGVtcC5GaWxlTmFtZU9yaWdpbmFsDQogICAgICAgICAgRlJPTSBmaWxlc190ZW1wDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFVzZXJJRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBmaWxlc190ZW1wLkRhdGUgREVTQzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p8a);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$jba = $l14[base64_decode('RmlsZU5hbWU=')];
$o208 = $l14[base64_decode('RmlsZU5hbWVPcmlnaW5hbA==')];
$g32 = "<a href=\"javascript:deleteTempPicture('$jba',$p8a);\"><i class=\"fa-solid fa-trash\"></i></a>";
$b6b .= "$o208 $g32<br>";
}
$l259[] = array(base64_decode('Q29udGVudA==') => $b6b);
if (empty($b6b)) {
echo json_encode([base64_decode('Q29udGVudA==') => '']);
} else {
echo json_encode($l259);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTURhdGFSb3dz')])) {
$h2 = $_POST[base64_decode('Q29tcGFueUlE')];
$h19 = $_POST[base64_decode('U3RhdHVzQ29kZXM=')];
$b2b4 = $_POST[base64_decode('VVNFUklE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$k292 = array();
$l259[] = array(base64_decode('RmllbGROYW1l') => base64_decode('SUQ='), base64_decode('TGFiZWw=') => base64_decode('SUQ='), base64_decode('TG9va3VwVGFibGU=') => '', base64_decode('TG9va3VwRmllbGQ=') => '', base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==') => '', base64_decode('VGFibGVOYW1l') => "$i16");
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$v20 = 1;
} else {
$v20 = 0;
};
$oa = base64_decode('U0VMRUNUIEZpZWxkTmFtZSxGaWVsZExhYmVsLExvb2t1cFRhYmxlLExvb2t1cEZpZWxkLExvb2t1cEZpZWxkUmVzdWx0VGFibGUsaXRzbV9tb2R1bGVzLlRhYmxlTmFtZSxpdHNtX2ZpZWxkc2xpc3QuSGlkZVRhYmxlcyxpdHNtX2ZpZWxkc2xpc3QuSGlkZUZvcm1zDQogICAgICAgICAgRlJPTSBpdHNtX2ZpZWxkc2xpc3QNCiAgICAgICAgICBMRUZUIEpPSU4gaXRzbV9tb2R1bGVzIE9OIGl0c21fZmllbGRzbGlzdC5SZWxhdGVkVHlwZUlEID0gaXRzbV9tb2R1bGVzLklEDQogICAgICAgICAgV0hFUkUgUmVsYXRlZFR5cGVJRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBpdHNtX2ZpZWxkc2xpc3QuRmllbGRPcmRlciBBU0M7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_assoc($d13)) {
$l259[] = $l14;
}
$s295 = _(base64_decode('QWN0aW9ucw=='));
$z296 = "SELECT $i16.ID,'' AS $s295,";
$z297 = '';
$r11 = getITSMFieldToWorkAsID($k17);
if (!empty($r11)) {
$r11 = "ORDER BY $r11 ASC";
}
foreach ($l259 as $z5c => $r2a) {
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$g28e = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$j29d = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$j4f = $r2a[base64_decode('VGFibGVOYW1l')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
if ($t29e == base64_decode('MQ==')) {
continue;
}
if (!empty($f29a)) {
$y29f = $j29d . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
$z297 .= " LEFT JOIN $f29a AS $m1a ON $j4f.$m1a = $m1a.ID";
} else {
$y29f = $j4f . base64_decode('Lg==') . $m1a . base64_decode('IEFTIGA=') . $g28e . base64_decode('YCw=');
}
$z296 .= $y29f;
}
$z296 .= "FROM $i16 ";
$z296 .= $z297;
$z296 .= " WHERE $i16.Status IN ($h19) AND $i16.RelatedCompanyID = $h2";
if ($b2b4 !== base64_decode('bm9uZQ==')) {
$z296 .= " AND Customer = $b2b4;";
} else {
$z296 .= base64_decode('Ow==');
}
$h2a0 = str_replace(base64_decode('LEZST00='), base64_decode('IEZST00='), $z296);
$d13 = mysqli_query($zc, $h2a0) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_assoc($d13)) {
$g35 = $l14[base64_decode('SUQ=')];
$w2a1 = "<a href=\"javascript:viewITSM('$g35','$k17','$v20','modal');\"><span class=\"badge bg-gradient-success\"><i class=\"fa fa-pen-to-square\"></i></span></a>";
$l14[base64_decode('QWN0aW9ucw==')] = $w2a1;
$z2a9[] = $l14;
}
if (empty($z2a9)) {
echo json_encode([]);
} else {
echo json_encode($z2a9);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lGaWVsZHNWYWx1ZXM=')])) {
$q1f = $_GET[base64_decode('Q0lJRA==')];
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$e2b5 = getRelationShowField($m10);
$b2b6 = getCITypeName($m10);
$k292 = (array)null;
$oa = "SHOW COLUMNS FROM $df";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $l14[base64_decode('RmllbGQ=')];
$f31 = getCIFieldValue($q1f, $m1a, $df);
$p298 = getCMDBFieldTypeID($m10, $m1a);
if ($p298 == base64_decode('NQ==') && !empty($f31)) {
$f31 = convertToDanishDateTimeFormat($f31);
}
$q2b7 = getCMDBFieldHideFormsState($m10, $m1a);
if ($q2b7 == base64_decode('MQ==')) {
continue;
}
if ($m1a == $e2b5) {
$f2b8 = base64_decode('MQ==');
} else {
$f2b8 = base64_decode('MA==');
}
$k292[] = array(base64_decode('RmllbGRUeXBl') => $p298, base64_decode('RmllbGROYW1l') => $m1a, base64_decode('RmllbGRWYWx1ZQ==') => $f31, base64_decode('UmVsYXRpb25GSWVsZA==') => $f2b8, base64_decode('Q0lUeXBlTmFtZQ==') => $b2b6);
}
if (empty($k292)) {
echo json_encode([]);
} else {
echo json_encode($k292);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTUZpZWxkc1ZhbHVlcw==')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($x9d);
$j6 = getLanguageCode($y5);
$g35 = $_GET[base64_decode('SVRTTUlE')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$q54 = $_GET[base64_decode('VHlwZQ==')];
$j114 = getITSMTypeUserGroup($k17);
$i268 = getModuleType($k17);
$i2b9 = false;
if (!in_array($j114, $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
if ($a1 == 2) {
} else {
$rd = getUserGroupName($n2ba);
$m118 = _(base64_decode('WW91IG5lZWQgdG8gYmUgbWVtYmVyIG9mIHVzZXIgZ3JvdXAg')) . $rd;
$q2bb[] = array(base64_decode('ZXJyb3I=') => $m118);
$i2b9 = true;
}
}
if ($i2b9 == true) {
echo json_encode($q2bb);
return;
}
$f2bc = base64_decode('MA==');
$k292 = getITSMFieldsValues($k17, $g35, $i268, $j6, $q54, $mb6, $f2bc);
if (empty($k292)) {
echo json_encode([]);
} else {
echo json_encode($k292);
}
}
if (isset($_GET[base64_decode('Z2V0UmVxdWVzdEZvcm1GaWVsZFZhbHVlcw==')])) {
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$f2bc = base64_decode('MA==');
$k292 = getRequestFormFieldValues($k17, $g35, $f2bc);
if (empty($k292)) {
echo json_encode([]);
} else {
echo json_encode($k292);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lGaWVsZERlZmluaXRpb25z')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$q1f = $_POST[base64_decode('Q0lJRA==')];
$df = getCITableName($m10);
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$k292 = getCIFieldDefinitions($x9d, $m10, $q1f, $df, $mb6, $c2bd, $f2be);
if (empty($k292)) {
echo json_encode([]);
} else {
echo json_encode($k292);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTUZpZWxkRGVmaW5pdGlvbnM=')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$c2bd = $_POST[base64_decode('Rm9ybVR5cGU=')];
$n2ba = getITSMTypeUserGroup($k17);
$n2bf = implode(base64_decode('LA=='), $p0);
$q2bb[] = array();
$i2b9 = false;
if (!in_array($n2ba, $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
if ($a1 == 2) {
} else {
$rd = getUserGroupName($n2ba);
$m118 = _(base64_decode('WW91IG5lZWQgdG8gYmUgbWVtYmVyIG9mIHVzZXIgZ3JvdXAg')) . $rd;
$q2bb[] = array(base64_decode('ZXJyb3I=') => $m118);
$i2b9 = true;
}
}
if ($i2b9 == true) {
echo json_encode($q2bb);
return;
}
$k292 = getITSMFieldDefinitions($x9d, $k17, $g35, $c2bd, $p0, $f2be);
if (empty($k292)) {
echo json_encode([]);
} else {
echo json_encode($k292);
}
}
if (isset($_GET[base64_decode('Z2V0UmVxdWVzdEZvcm1WaWV3')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$q1d = $_POST[base64_decode('Rm9ybUlE')];
debuglog($q1d);
$k292 = getRequestFormView($x9d, $k17, $g35, $q1d, $f2be);
if (empty($k292)) {
echo json_encode([]);
} else {
echo json_encode($k292);
}
}
if (isset($_GET[base64_decode('YWRkVG9LYW5CYW5UYXNrTGlzdA==')])) {
$fe[] = array();
$p8a = $_SESSION[base64_decode('aWQ=')];
$cc2 = $_POST[base64_decode('ZWxlbWVudGlk')];
$j9f = $_POST[base64_decode('bW9kdWxlaWQ=')];
$yb4 = $_POST[base64_decode('cmVkaXJlY3RwYWdl')];
if ($yb4 == base64_decode('bm9uZQ==')) {
$i16 = getITSMTableName($j9f);
$yb4 = "javascript:viewITSM('$cc2','$j9f','1','modal');";
}
$t2c0 = addtotaskslist($cc2, $p8a, $j9f, $yb4);
$fe[] = array(base64_decode('RXhpc3Rz') => $t2c0);
echo json_encode($fe, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Y2xvbmVJVFNN')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$g35 = $_POST[base64_decode('SVRTTUlE')];
$ua6 = getITSMModuleType($k17);
$v2c1 = getITSMModuleSLA($k17);
$d290 = array();
$oa = base64_decode('U0VMRUNUIENPTFVNTl9OQU1FDQogICAgICAgICAgRlJPTSBJTkZPUk1BVElPTl9TQ0hFTUEuQ09MVU1OUyBXSEVSRSBUQUJMRV9OQU1FID0gPw0KICAgICAgICAgIEFORCBUQUJMRV9TQ0hFTUEgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $i16, $d2c2);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
array_push($d290, $l14[0]);
}
$oa = "INSERT INTO $i16 (";
$h2c3 = end($d290);
foreach ($d290 as $y2c4) {
if ($y2c4 == $h2c3) {
$oa .= $y2c4;
} else {
$oa .= $y2c4 . base64_decode('LA==');
}
}
$oa .= base64_decode('KSBWQUxVRVMgKA==');
$h2c3 = end($d290);
foreach ($d290 as $y2c4) {
$n2c5 = getITSMFieldPreValue($g35, $i16, $y2c4);
if ($y2c4 == $h2c3) {
if ($y2c4 == base64_decode('SUQ=') || $n2c5 == '') {
$oa .= base64_decode('TlVMTA==');
} elseif ($y2c4 == base64_decode('Q3JlYXRlZEJ5')) {
$oa .= "'$p8a'";
} elseif ($y2c4 == base64_decode('TGFzdFVwZGF0ZWQ=') || $y2c4 == base64_decode('Q3JlYXRlZA==')) {
$oa .= base64_decode('Tk9XKCk=');
} elseif ($y2c4 == base64_decode('UmVsYXRlZENvbXBhbnlJRA==')) {
$h2 = $n2c5;
$oa .= "'$n2c5',";
} elseif ($y2c4 == base64_decode('QnVzaW5lc3NTZXJ2aWNl')) {
$y2c6 = $n2c5;
$oa .= "'$n2c5',";
} elseif ($y2c4 == base64_decode('UHJpb3JpdHk=')) {
$v24b = $n2c5;
$oa .= "'$n2c5',";
} else {
$oa .= "'$n2c5'";
}
} else {
if ($y2c4 == base64_decode('SUQ=') || $n2c5 == '') {
$oa .= base64_decode('TlVMTCw=');
} elseif ($y2c4 == base64_decode('Q3JlYXRlZEJ5')) {
$oa .= "'$p8a',";
} elseif ($y2c4 == base64_decode('TGFzdFVwZGF0ZWQ=') || $y2c4 == base64_decode('Q3JlYXRlZA==')) {
$oa .= base64_decode('Tk9XKCks');
} elseif ($y2c4 == base64_decode('UmVsYXRlZENvbXBhbnlJRA==')) {
$h2 = $n2c5;
$oa .= "'$n2c5',";
} elseif ($y2c4 == base64_decode('QnVzaW5lc3NTZXJ2aWNl')) {
$y2c6 = $n2c5;
$oa .= "'$n2c5',";
} elseif ($y2c4 == base64_decode('UHJpb3JpdHk=')) {
$v24b = $n2c5;
$oa .= "'$n2c5',";
} else {
$oa .= "'$n2c5',";
}
}
}
$oa .= base64_decode('KQ==');
$d13 = mysqli_query($zc, $oa);
$g2c7 = $zc->$a10f;
$u47 = "Cloned from $g35";
createITSMLogEntry($g2c7, $k17, $p8a, $u47);
if ($k17 == base64_decode('Mg==')) {
$q1d = getRequestFormID($g35);
$w28d = getFormTableName($q1d);
duplicateFormEntry($g35, $g2c7, $w28d);
}
if ($v2c1 == base64_decode('MQ==') && $ua6 == base64_decode('MQ==')) {
if (empty($y2c6)) {
$x2c8 = getRelatedSLAID($h2);
updateITSMFieldValue($g2c7, $x2c8, base64_decode('U0xB'), $k17);
} else {
$x2c8 = getSLAFromBS($y2c6);
updateITSMFieldValue($g2c7, $x2c8, base64_decode('U0xB'), $k17);
}
if ($v24b !== '' && $x2c8 !== '') {
$n2c9[] = array();
$n2c9 = getSLAStatusCores($k17, $x2c8, $v24b);
$r2ca = date(base64_decode('WS1tLWQgSDppOnM='));
foreach ($n2c9 as $g2cb) {
$a1df = $g2cb[base64_decode('U3RhdHVz')];
$g2cc = $g2cb[base64_decode('TWludXRlcw==')];
$l2cd = getDateTimeViolated($r2ca, $g2cc);
createTimelineSLAViolationDates($g2c7, $k17, $a1df, $l2cd);
}
}
}
if ($g2c7 !== '') {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('SVRTTUlE') => $g2c7, base64_decode('SVRTTVR5cGVJRA==') => $k17);
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('RmFpbA=='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('c2VuZElUU01Bc01haWxXaXRoUERG')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_GET[base64_decode('SVRTTUlE')];
$q54 = $_GET[base64_decode('VHlwZQ==')];
$u2ce = $_GET[base64_decode('c2VsZWN0ZWRFbWFpbA==')];
$i16 = getITSMTableName($k17);
$i268 = getModuleType($k17);
$y5 = getUserLanguage($x9d);
$j6 = getLanguageCode($y5);
$t18 = getITSMTypeName($k17);
$r195 = sendITSMAsMailWithPDF($k17, $g35, $p8a, $i268, $j6, $q54, $mb6);
$s2cf = new \Mpdf\Mpdf();
$s2cf->SetTitle("Form $t18: $g35");
$r2d0 = "<br><br><br><br><h1>$t18: $g35</h1>";
foreach ($r195 as $u52) {
if (!empty($u52[base64_decode('RmllbGRMYWJlbA==')])) {
if ($u52[base64_decode('RmllbGRMYWJlbA==')] == base64_decode('L24=')) {
$r2d0 .= base64_decode('PGJyPg==');
} else {
$y2d1 = translate(convertOnClickToHref($u52[base64_decode('RmllbGRWYWx1ZQ==')]));
$w2d2 = translate($u52[base64_decode('RmllbGRMYWJlbA==')]);
$r2d0 .= base64_decode('PGI+') . htmlspecialchars($w2d2, ENT_QUOTES) . base64_decode('OiA8L2I+') . $y2d1 . base64_decode('PGJyPg==');
}
}
}
$s2cf->WriteHTML($r2d0);
$d2d3 = __DIR__ . base64_decode('L3VwbG9hZHMvZmlsZXNfaXRzbQ==');
$k2d4 = "form_$k17" . base64_decode('Xw==') . $g35 . time() . base64_decode('LnBkZg==');
$z2d5 = "$d2d3/$k2d4";
$s2cf->Output($z2d5, base64_decode('Rg=='));
$oa = "INSERT INTO files_itsm (FileName, FileNameOriginal, RelatedElementID, Date, RelatedUserID, RelatedType, FileContent)
VALUES ('$k2d4','$k2d4','$g35',NOW(),'$x9d','$k17',NULL);";
mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
if (!empty($u2ce)) {
$g2d6 = "$t18: $g35";
$z2d7 = sendMailToSinglePerson($u2ce, $u2ce, $g2d6, $r2d0, $z2d5, $k2d4);
if ($z2d7) {
$p2d8 = "Email sent successfully to $u2ce";
} else {
$p2d8 = "Failed to send email to $u2ce";
}
}
if (file_exists($z2d5)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('SVRTTUlE') => $g35, base64_decode('SVRTTVR5cGVJRA==') => $k17);
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('RmFpbA=='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTUZyb21JVFNN')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$g35 = $_POST[base64_decode('SVRTTUlE')];
$d290 = array();
$oa = base64_decode('U0VMRUNUIEZpZWxkTmFtZQ0KICAgICAgICAgIEZST00gaXRzbV9maWVsZHNsaXN0DQogICAgICAgICAgV0hFUkUgRmllbGROYW1lICE9ICdJRCcgQU5EIFJlbGF0ZWRUeXBlSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
array_push($d290, $l14[0]);
}
foreach ($d290 as $r2a) {
$n2c5 = getITSMFieldPreValue($g35, $i16, $r2a);
$v2d9[] = array(base64_decode('RmllbGQ=') => $r2a, base64_decode('VmFsdWU=') => $n2c5);
}
if (!empty($v2d9)) {
echo json_encode($v2d9);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('YWRkYWxscHJvamVjdHRhc2tzdG90YXNrc2xpc3Rz')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$mcb = $_POST[base64_decode('UHJvamVjdElE')];
$j9f = base64_decode('MTM=');
$oa = base64_decode('U0VMRUNUIHByb2plY3RfdGFza3MuSUQgQVMgUHJvamVjdFRhc2tJRA0KICAgICAgICAgIEZST00gcHJvamVjdF90YXNrcw0KICAgICAgICAgIElOTkVSIEpPSU4gcHJvamVjdHMgT04gcHJvamVjdF90YXNrcy5SZWxhdGVkUHJvamVjdCA9IHByb2plY3RzLklEDQogICAgICAgICAgV0hFUkUgcHJvamVjdF90YXNrcy5SZWxhdGVkUHJvamVjdCA9ID8gQU5EIHByb2plY3RfdGFza3MuU3RhdHVzIE5PVCBJTiAoNiw3KQ==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $mcb);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$l147 = $l14[base64_decode('UHJvamVjdFRhc2tJRA==')];
$yb4 = "projects_tasks_view.php?projecttaskid=$l147";
$t2c0 = addtotaskslist($l147, $p8a, $j9f, $yb4);
$fe[] = array(base64_decode('UHJvamVjdFRhc2tJRA==') => $l147, base64_decode('RXhpc3Rz') => $t2c0);
}
echo json_encode($fe, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('ZGVsZXRlRm9ybUZpZWxk')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$m1a = getRelatedFormFieldName($o49);
$q1d = getRelatedFormID($o49);
$j4f = getRelatedFormTableName($q1d);
$l2da = "DELETE FROM forms_fieldslist WHERE ID = $o49;";
mysqli_query($zc, $l2da);
$n2db = "ALTER TABLE $j4f DROP COLUMN $m1a;";
mysqli_query($zc, $n2db);
}
if (isset($_GET[base64_decode('ZGVsZXRlQ0lGaWVsZA==')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$m1a = $_POST[base64_decode('RmllbGROYW1l')];
$m10 = getCITypeFromFieldID($o49);
$j4f = getCITableName($m10);
$oa = base64_decode('REVMRVRFIEZST00gY21kYl9jaV9maWVsZHNsaXN0IFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $o49);
$sb->execute();
$n2db = "ALTER TABLE $j4f DROP COLUMN $m1a;";
$p2dc = mysqli_query($zc, $n2db);
$s119 = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('Q0lUeXBlSUQ=') => $m10);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlSVRTTUZpZWxk')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$m1a = getITSMFieldNameFromFieldID($o49);
$k17 = getITSMTypeFromFieldID($o49);
$j4f = getITSMTableName($k17);
$oa = base64_decode('REVMRVRFIEZST00gaXRzbV9maWVsZHNsaXN0IFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $o49);
$sb->execute();
$n2db = "ALTER TABLE $j4f DROP COLUMN $m1a;";
$p2dc = mysqli_query($zc, $n2db);
$s119 = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('SVRTTVR5cGVJRA==') => $k17);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlSVRTTVN0YXR1cw==')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$a2dd = $_GET[base64_decode('U3RhdHVzSUQ=')];
deleteRelatedSLAMatrixEntries($a2dd);
$oa = base64_decode('REVMRVRFIEZST00gaXRzbV9zdGF0dXNjb2RlcyBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $a2dd);
$sb->execute();
$d13 = $sb->get_result();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlSVRTTVNMQQ==')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p2de = $_GET[base64_decode('U0xBSUQ=')];
$oa = base64_decode('REVMRVRFIEZST00gaXRzbV9zbGFfbWF0cml4IFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p2de);
$sb->execute();
$d13 = $sb->get_result();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlSVRTTUVtYWls')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$z2df = $_GET[base64_decode('RW1haWxJRA==')];
$oa = base64_decode('REVMRVRFIEZST00gaXRzbV9lbWFpbHMgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $z2df);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('Z2V0Rm9ybUZpZWxkVmFsdWU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$q1d = getFormTypeIDFromFieldID($o49);
$oa = base64_decode('U0VMRUNUICoNCiAgICAgICAgICBGUk9NIGZvcm1zX2ZpZWxkc2xpc3QNCiAgICAgICAgICBXSEVSRSBJRCA9ID8=');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('aQ=='), $o49);
$sb->execute();
$d13 = $sb->get_result();
$l14 = $d13->fetch_assoc();
$u2e0 = array();
foreach ($l14 as $z5c => $r2a) {
$u52 = array(base64_decode('ZmllbGROYW1l') => $z5c, base64_decode('ZmllbGRWYWx1ZQ==') => $r2a, base64_decode('Rm9ybUlE') => $q1d,);
$u2e0[] = $u52;
}
if (isset($l14[base64_decode('RGVmYXVsdEZpZWxk')])) {
$u2e0[] = array(base64_decode('ZmllbGROYW1l') => base64_decode('RGVmYXVsdEZpZWxk'), base64_decode('ZmllbGRWYWx1ZQ==') => $l14[base64_decode('RGVmYXVsdEZpZWxk')],);
}
mysqli_free_result($d13);
echo json_encode($u2e0);
}
if (isset($_GET[base64_decode('Z2V0Q0lGaWVsZFZhbHVl')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$m10 = getCITypeIDFromFieldID($o49);
$oa = base64_decode('U0VMRUNUICoNCiAgICAgICAgICBGUk9NIGNtZGJfY2lfZmllbGRzbGlzdA0KICAgICAgICAgIFdIRVJFIElEID0gPw==');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('aQ=='), $o49);
$sb->execute();
$d13 = $sb->get_result();
$l14 = $d13->fetch_assoc();
$u2e0 = array();
foreach ($l14 as $z5c => $r2a) {
$u52 = array(base64_decode('ZmllbGROYW1l') => $z5c, base64_decode('ZmllbGRWYWx1ZQ==') => $r2a,);
$u2e0[] = $u52;
}
if (isset($l14[base64_decode('RGVmYXVsdEZpZWxk')])) {
$u2e0[] = array(base64_decode('ZmllbGROYW1l') => base64_decode('RGVmYXVsdEZpZWxk'), base64_decode('ZmllbGRWYWx1ZQ==') => $l14[base64_decode('RGVmYXVsdEZpZWxk')], base64_decode('Q0lUeXBlSUQ=') => $m10,);
}
mysqli_free_result($d13);
echo json_encode($u2e0);
}
if (isset($_GET[base64_decode('Z2V0SVRTTUZpZWxkVmFsdWU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$k17 = getITSMTypeIDFromFieldID($o49);
$oa = base64_decode('U0VMRUNUICoNCiAgICAgICAgICBGUk9NIGl0c21fZmllbGRzbGlzdA0KICAgICAgICAgIFdIRVJFIElEID0gPw==');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('aQ=='), $o49);
$sb->execute();
$d13 = $sb->get_result();
$l14 = $d13->fetch_assoc();
$u2e0 = array();
foreach ($l14 as $z5c => $r2a) {
$u52 = array(base64_decode('ZmllbGROYW1l') => $z5c, base64_decode('ZmllbGRWYWx1ZQ==') => $r2a,);
$u2e0[] = $u52;
}
if (isset($l14[base64_decode('RGVmYXVsdEZpZWxk')])) {
$u2e0[] = array(base64_decode('ZmllbGROYW1l') => base64_decode('RGVmYXVsdEZpZWxk'), base64_decode('ZmllbGRWYWx1ZQ==') => $l14[base64_decode('RGVmYXVsdEZpZWxk')], base64_decode('SVRTTVR5cGVJRA==') => $k17,);
}
mysqli_free_result($d13);
echo json_encode($u2e0);
}
if (isset($_GET[base64_decode('Z2V0SVRTTVN0YXR1c1ZhbHVl')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$a2dd = $_POST[base64_decode('U3RhdHVzSUQ=')];
$oa = base64_decode('U0VMRUNUIElELCBTdGF0dXNDb2RlLCBTdGF0dXNOYW1lLCBTTEEsIENsb3NlZFN0YXR1cw0KICAgICAgICAgIEZST00gaXRzbV9zdGF0dXNjb2Rlcw0KICAgICAgICAgIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $a2dd);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == base64_decode('MA==')) {
$s119 = array(base64_decode('U3RhdHVzQ29kZQ==') => '', base64_decode('U3RhdHVzTmFtZQ==') => '');
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('Q2xvc2VkU3RhdHVz') => $l14[base64_decode('Q2xvc2VkU3RhdHVz')], base64_decode('U3RhdHVzSUQ=') => $l14[base64_decode('SUQ=')], base64_decode('U3RhdHVzQ29kZQ==') => $l14[base64_decode('U3RhdHVzQ29kZQ==')], base64_decode('U3RhdHVzTmFtZQ==') => $l14[base64_decode('U3RhdHVzTmFtZQ==')], base64_decode('U0xB') => $l14[base64_decode('U0xB')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0U0xBVmFsdWVz')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$p2de = $_POST[base64_decode('U0xBSUQ=')];
$oa = base64_decode('U0VMRUNUIElELFAxLFAyLFAzLFA0DQogICAgICAgICAgRlJPTSBpdHNtX3NsYV9tYXRyaXgNCiAgICAgICAgICBXSEVSRSBJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $p2de);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == base64_decode('MA==')) {
$s119 = array([]);
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('UDE=') => $l14[base64_decode('UDE=')], base64_decode('UDI=') => $l14[base64_decode('UDI=')], base64_decode('UDM=') => $l14[base64_decode('UDM=')], base64_decode('UDQ=') => $l14[base64_decode('UDQ=')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0RW1haWxWYWx1ZXM=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$z2df = $_POST[base64_decode('RW1haWxJRA==')];
$oa = base64_decode('U0VMRUNUIElELCBFbWFpbCwgRGVmYXVsdEVtYWlsDQogICAgICAgICAgRlJPTSBpdHNtX2VtYWlscw0KICAgICAgICAgIFdIRVJFIElEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aQ=='), $z2df);
$sb->execute();
$d13 = $sb->get_result();
if (mysqli_num_rows($d13) == base64_decode('MA==')) {
$s119 = array([]);
} else {
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('RW1haWw=') => $l14[base64_decode('RW1haWw=')], base64_decode('RGVmYXVsdEVtYWls') => $l14[base64_decode('RGVmYXVsdEVtYWls')]);
}
}
mysqli_free_result($d13);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('c3luY0NJ')])) {
$t1b9 = array();
$s2e1 = '';
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$s2e1 = syncCI($m10);
if ($s2e1 == base64_decode('c3VjY2Vzcw==')) {
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
} else {
$t1b9[] = array(base64_decode('UmVzdWx0') => "$s2e1");
echo json_encode($t1b9);
$b2b6 = getCITypeName($m10);
$g2d6 = "Practicle Syncronization of $b2b6 failed";
$b6b = "Error: $s2e1";
$k2e2 = getAllAdministratorsEmail();
foreach ($k2e2 as $l2e3) {
$z187 = $l2e3[base64_decode('RW1haWw=')];
$j66 = $l2e3[base64_decode('TmFtZQ==')];
sendMailToSinglePerson($z187, $j66, $g2d6, $b6b);
}
}
}
if (isset($_GET[base64_decode('cmVzZXRDSVNvcnRPcmRlcg==')])) {
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$d13 = resetCISortOrder($m10);
if ($d13 == false) {
$n2e4[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbA=='));
echo json_encode($n2e4);
} else {
$n2e4[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($n2e4);
}
}
if (isset($_GET[base64_decode('cmVzZXRJVFNNU29ydE9yZGVy')])) {
$g35 = $_POST[base64_decode('SVRTTUlE')];
$d13 = resetITSMSortOrder($g35);
if ($d13 == false) {
$n2e4[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbA=='));
echo json_encode($n2e4);
} else {
$n2e4[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($n2e4);
}
}
if (isset($_GET[base64_decode('Q3JlYXRlQ0lSZWxhdGlvbnM=')])) {
$x9d = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($x9d);
$j6 = getLanguageCode($y5);
$j2e5 = CreateCIRelations();
if (empty($j2e5)) {
$n2e4[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbA=='));
echo json_encode($n2e4);
} else {
$n2e4[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('VXNlckxhbmd1YWdlQ29kZQ==') => $j6);
echo json_encode($n2e4);
}
}
if (isset($_GET[base64_decode('dXBkYXRlRm9ybWZpZWxk')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$u2e0 = array();
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$z2e6 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$m1a = getFormFieldNameFromFieldID($o49);
$oa = base64_decode('VVBEQVRFIGZvcm1zX2ZpZWxkc2xpc3QgU0VUIA==');
$n2db = base64_decode('VVBEQVRFIGZvcm1zX2ZpZWxkc2xpc3QgU0VUIA==');
$g2e7 = array();
$n2e8 = '';
$c2e9 = array();
$e2ea = array(base64_decode('SW5kZXhlZA=='), base64_decode('SGlkZVRhYmxlcw=='), base64_decode('SGlkZUZvcm1z'), base64_decode('TG9ja2Vk'), base64_decode('UmVxdWlyZWQ='), base64_decode('QWRkRW1wdHk='), base64_decode('RnVsbEhlaWdodA=='), base64_decode('VXNlckZ1bGxOYW1l'));
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('UmVzdWx0RmllbGRz')) {
$h2ec = $c2eb[base64_decode('dmFsdWU=')];
}
}
$g7c = false;
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('VXNlckZ1bGxOYW1l')) {
if ($c2eb[base64_decode('dmFsdWU=')] == base64_decode('b24=')) {
$y2ed = makeLookupFieldResultTable($o49, base64_decode('Zm9ybQ=='));
$v2ee = makeLookupFieldResultView($o49, base64_decode('Zm9ybQ=='));
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ=='), base64_decode('dmFsdWU=') => $y2ed);
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3'), base64_decode('dmFsdWU=') => $v2ee);
$g7c = true;
}
}
}
if (!$g7c && $h2ec) {
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ=='), base64_decode('dmFsdWU=') => "$h2ec");
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3'), base64_decode('dmFsdWU=') => "$h2ec");
}
foreach ($e2ea as $b2ef) {
$a2f0 = false;
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === $b2ef) {
$a2f0 = true;
break;
}
}
if (!$a2f0) {
$z2e6[] = array(base64_decode('bmFtZQ==') => $b2ef, base64_decode('dmFsdWU=') => 0);
}
}
foreach ($z2e6 as $c2eb) {
$i2f1 = $c2eb[base64_decode('bmFtZQ==')];
$y2d1 = $c2eb[base64_decode('dmFsdWU=')];
if ($i2f1 === base64_decode('TG9va3VwVGFibGU=') && !empty($y2d1)) {
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGQ='), base64_decode('dmFsdWU=') => base64_decode('SUQ='));
}
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $c2eb[base64_decode('bmFtZQ==')] === base64_decode('TG9va3VwVGFibGUy') || $c2eb[base64_decode('bmFtZQ==')] === base64_decode('TG9va3VwRmllbGQy')) {
continue;
}
if (in_array($i2f1, $e2ea)) {
if ($y2d1 === base64_decode('b24=')) {
$y2d1 = 1;
if ($i2f1 === base64_decode('SW5kZXhlZA==')) {
alterTableAddFullTextToColumn($j4f, $m1a);
}
} elseif ($y2d1 === 0) {
if ($i2f1 === base64_decode('SW5kZXhlZA==')) {
alterTableRemoveFullTextOnColumn($j4f, $m1a);
}
}
} elseif ($i2f1 === base64_decode('QWRkb24=')) {
if ($y2d1 === '') {
$y2d1 = NULL;
}
}
$oa .= "$i2f1 = ?, ";
if ($y2d1 === '') {
$n2db .= "$i2f1 = NULL, ";
} else {
$n2db .= "$i2f1 = '$y2d1', ";
}
$g2e7[] = $y2d1;
$n2e8 .= base64_decode('cw==');
$c2e9[] = $i2f1;
}
$oa = rtrim($oa, base64_decode('LCA='));
$n2db = rtrim($n2db, base64_decode('LCA='));
$oa .= base64_decode('IFdIRVJFIElEID0gPw==');
$n2db .= " WHERE ID = $o49";
$g2e7[] = $o49;
$n2e8 .= base64_decode('cw==');
$sb = $zc->prepare($oa);
if (!$sb) {
errorlog(base64_decode('UHJlcGFyZSBmYWlsZWQ6IA==') . $zc->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('UHJlcGFyZSBmYWlsZWQ6IA==') . $zc->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
echo json_encode($u2e0);
exit;
}
if (!$sb->bind_param($n2e8, ...$g2e7)) {
errorlog(base64_decode('QmluZGluZyBwYXJhbWV0ZXJzIGZhaWxlZDog') . $sb->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('QmluZGluZyBwYXJhbWV0ZXJzIGZhaWxlZDog') . $sb->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
echo json_encode($u2e0);
exit;
}
$g2f2 = $sb->$b2f3;
$o2f4 = $oa . base64_decode('IFtQYXJhbXM6IA==');
for ($m2f5 = 0; $m2f5 < $g2f2; $m2f5++) {
$o2f4 .= $n2e8[$m2f5] . base64_decode('OiA=') . $g2e7[$m2f5] . base64_decode('LCA=');
}
$o2f4 = rtrim($o2f4, base64_decode('LCA='));
$o2f4 .= base64_decode('XQ==');
if (!$sb->execute()) {
errorlog(base64_decode('RXhlY3V0ZSBmYWlsZWQ6IA==') . $sb->$o294, base64_decode('dXBkYXRlRm9ybUZpZWxk'));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('RXhlY3V0ZSBmYWlsZWQ6IA==') . $sb->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
echo json_encode($u2e0);
exit;
} else {
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($u2e0);
}
}
if (isset($_GET[base64_decode('dXBkYXRlQ0lGaWVsZA==')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('UmVzdWx0') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$m10 = getCITypeIDFromTableName($j4f);
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$z2e6 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$m1a = getCIFieldNameFromFieldID($o49);
$oa = base64_decode('VVBEQVRFIGNtZGJfY2lfZmllbGRzbGlzdCBTRVQg');
$n2db = base64_decode('VVBEQVRFIGNtZGJfY2lfZmllbGRzbGlzdCBTRVQg');
$g2e7 = array();
$n2e8 = '';
$c2e9 = array();
$e2ea = array(base64_decode('SW5kZXhlZA=='), base64_decode('SGlkZVRhYmxlcw=='), base64_decode('SGlkZUZvcm1z'), base64_decode('TG9ja2Vk'), base64_decode('UmVxdWlyZWQ='), base64_decode('QWRkRW1wdHk='), base64_decode('RnVsbEhlaWdodA=='), base64_decode('UmVsYXRpb25TaG93RmllbGQ='), base64_decode('VXNlckZ1bGxOYW1l'), base64_decode('UmlnaHRDb2x1bW4='), base64_decode('TGFiZWxUeXBl'));
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('UmVzdWx0RmllbGRz')) {
$h2ec = $c2eb[base64_decode('dmFsdWU=')];
}
}
$g7c = false;
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('VXNlckZ1bGxOYW1l')) {
$y2ed = makeLookupFieldResultTable($o49, base64_decode('Y2k='));
$v2ee = makeLookupFieldResultView($o49, base64_decode('Y2k='));
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ=='), base64_decode('dmFsdWU=') => $y2ed);
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3'), base64_decode('dmFsdWU=') => $v2ee);
$g7c = true;
}
}
if (!$g7c && $h2ec) {
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ=='), base64_decode('dmFsdWU=') => "$h2ec");
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3'), base64_decode('dmFsdWU=') => "$h2ec");
}
foreach ($e2ea as $b2ef) {
$a2f0 = false;
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === $b2ef) {
$a2f0 = true;
break;
}
}
if (!$a2f0) {
$z2e6[] = array(base64_decode('bmFtZQ==') => $b2ef, base64_decode('dmFsdWU=') => 0);
}
}
foreach ($z2e6 as $c2eb) {
$i2f1 = $c2eb[base64_decode('bmFtZQ==')];
$y2d1 = $c2eb[base64_decode('dmFsdWU=')];
if ($i2f1 === base64_decode('TG9va3VwVGFibGU=') && !empty($y2d1)) {
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGQ='), base64_decode('dmFsdWU=') => base64_decode('SUQ='));
}
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $c2eb[base64_decode('bmFtZQ==')] === base64_decode('TG9va3VwVGFibGUy') || $c2eb[base64_decode('bmFtZQ==')] === base64_decode('TG9va3VwRmllbGQy')) {
continue;
}
if (in_array($i2f1, $e2ea)) {
if ($y2d1 === base64_decode('b24=')) {
$y2d1 = 1;
if ($i2f1 === base64_decode('SW5kZXhlZA==')) {
alterTableAddFullTextToColumn($j4f, $m1a);
}
} elseif ($y2d1 === 0) {
if ($i2f1 === base64_decode('SW5kZXhlZA==')) {
alterTableRemoveFullTextOnColumn($j4f, $m1a);
}
}
if ($i2f1 == base64_decode('UmVsYXRpb25TaG93RmllbGQ=')) {
if ($y2d1 == 0) {
$h2f6 = getCurrentRelationShowField($o49, base64_decode('Y2k='));
$s2f7 = checkRelationShowField($m10, base64_decode('Y2k='));
if ($y2d1 == 0 && $h2f6 == 1) {
if ($s2f7 <= base64_decode('MQ==')) {
$u2e0[] = array(base64_decode('UmVzdWx0') => translate(base64_decode('VGhlcmUgbXVzdCBiZSBhIHByaW1hcnkgZmllbGQ=')));
echo json_encode($u2e0);
return;
}
}
} else {
removeOtherRelationShowField(base64_decode('Y2k='), $m10);
}
}
} elseif ($i2f1 === base64_decode('QWRkb24=')) {
if ($y2d1 === '') {
$y2d1 = NULL;
}
}
$oa .= "$i2f1 = ?, ";
if ($y2d1 === '') {
$n2db .= "$i2f1 = NULL, ";
} else {
$n2db .= "$i2f1 = '$y2d1', ";
}
$g2e7[] = $y2d1;
$n2e8 .= base64_decode('cw==');
$c2e9[] = $i2f1;
}
$oa = rtrim($oa, base64_decode('LCA='));
$n2db = rtrim($n2db, base64_decode('LCA='));
$oa .= base64_decode('IFdIRVJFIElEID0gPw==');
$n2db .= " WHERE ID = $o49";
$g2e7[] = $o49;
$n2e8 .= base64_decode('cw==');
$sb = $zc->prepare($oa);
if (!$sb) {
errorlog(base64_decode('UHJlcGFyZSBmYWlsZWQ6IA==') . $zc->$o294, base64_decode('dXBkYXRlQ0lGaWVsZA=='));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('UHJlcGFyZSBmYWlsZWQ6IA==') . $zc->$o294, base64_decode('dXBkYXRlQ0lGaWVsZA=='));
echo json_encode($u2e0);
exit;
}
if (!$sb->bind_param($n2e8, ...$g2e7)) {
errorlog(base64_decode('QmluZGluZyBwYXJhbWV0ZXJzIGZhaWxlZDog') . $sb->$o294, base64_decode('dXBkYXRlQ0lGaWVsZA=='));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('QmluZGluZyBwYXJhbWV0ZXJzIGZhaWxlZDog') . $sb->$o294, base64_decode('dXBkYXRlQ0lGaWVsZA=='));
echo json_encode($u2e0);
exit;
}
$g2f2 = $sb->$b2f3;
$o2f4 = $oa . base64_decode('IFtQYXJhbXM6IA==');
for ($m2f5 = 0; $m2f5 < $g2f2; $m2f5++) {
$o2f4 .= $n2e8[$m2f5] . base64_decode('OiA=') . $g2e7[$m2f5] . base64_decode('LCA=');
}
$o2f4 = rtrim($o2f4, base64_decode('LCA='));
$o2f4 .= base64_decode('XQ==');
if (!$sb->execute()) {
errorlog(base64_decode('RXhlY3V0ZSBmYWlsZWQ6IA==') . $sb->$o294, base64_decode('dXBkYXRlQ0lGaWVsZA=='));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('RXhlY3V0ZSBmYWlsZWQ6IA==') . $sb->$o294, base64_decode('dXBkYXRlQ0lGaWVsZA=='));
echo json_encode($u2e0);
exit;
}
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($u2e0);
}
if (isset($_GET[base64_decode('dXBkYXRlSVRTTUZpZWxk')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$u2e0 = array();
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$o49 = $_POST[base64_decode('RmllbGRJRA==')];
$k17 = getITSMTypeFromFieldID($o49);
$z2e6 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$m1a = getITSMFieldNameFromFieldID($o49);
$oa = base64_decode('VVBEQVRFIGl0c21fZmllbGRzbGlzdCBTRVQg');
$n2db = base64_decode('VVBEQVRFIGl0c21fZmllbGRzbGlzdCBTRVQg');
$g2e7 = array();
$n2e8 = '';
$c2e9 = array();
$e2ea = array(base64_decode('SW5kZXhlZA=='), base64_decode('SGlkZVRhYmxlcw=='), base64_decode('SGlkZUZvcm1z'), base64_decode('TG9ja2Vk'), base64_decode('UmVxdWlyZWQ='), base64_decode('QWRkRW1wdHk='), base64_decode('RnVsbEhlaWdodA=='), base64_decode('UmVsYXRpb25TaG93RmllbGQ='), base64_decode('VXNlckZ1bGxOYW1l'), base64_decode('UmlnaHRDb2x1bW4='), base64_decode('TGFiZWxUeXBl'));
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('UmVzdWx0RmllbGRz')) {
$h2ec = $c2eb[base64_decode('dmFsdWU=')];
}
}
$g7c = false;
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('VXNlckZ1bGxOYW1l')) {
if ($c2eb[base64_decode('dmFsdWU=')] == base64_decode('b24=')) {
$y2ed = makeLookupFieldResultTable($o49, base64_decode('aXRzbQ=='));
$v2ee = makeLookupFieldResultView($o49, base64_decode('aXRzbQ=='));
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ=='), base64_decode('dmFsdWU=') => $y2ed);
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3'), base64_decode('dmFsdWU=') => $v2ee);
$g7c = true;
}
}
}
if (!$g7c && $h2ec) {
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ=='), base64_decode('dmFsdWU=') => "$h2ec");
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3'), base64_decode('dmFsdWU=') => "$h2ec");
}
foreach ($e2ea as $b2ef) {
$a2f0 = false;
foreach ($z2e6 as $c2eb) {
if ($c2eb[base64_decode('bmFtZQ==')] === $b2ef) {
$a2f0 = true;
break;
}
}
if (!$a2f0) {
$z2e6[] = array(base64_decode('bmFtZQ==') => $b2ef, base64_decode('dmFsdWU=') => 0);
}
}
foreach ($z2e6 as $c2eb) {
$i2f1 = $c2eb[base64_decode('bmFtZQ==')];
$y2d1 = $c2eb[base64_decode('dmFsdWU=')];
if ($i2f1 === base64_decode('TG9va3VwVGFibGU=') && !empty($y2d1)) {
$z2e6[] = array(base64_decode('bmFtZQ==') => base64_decode('TG9va3VwRmllbGQ='), base64_decode('dmFsdWU=') => base64_decode('SUQ='));
}
if ($c2eb[base64_decode('bmFtZQ==')] === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $c2eb[base64_decode('bmFtZQ==')] === base64_decode('TG9va3VwVGFibGUy') || $c2eb[base64_decode('bmFtZQ==')] === base64_decode('TG9va3VwRmllbGQy')) {
continue;
}
if (in_array($i2f1, $e2ea)) {
if ($y2d1 === base64_decode('b24=')) {
$y2d1 = 1;
if ($i2f1 === base64_decode('SW5kZXhlZA==')) {
alterTableAddFullTextToColumn($j4f, $m1a);
}
} elseif ($y2d1 === 0) {
if ($i2f1 === base64_decode('SW5kZXhlZA==')) {
alterTableRemoveFullTextOnColumn($j4f, $m1a);
}
}
}
if ($i2f1 == base64_decode('UmVsYXRpb25TaG93RmllbGQ=')) {
if ($y2d1 == 0) {
$h2f6 = getCurrentRelationShowField($o49, base64_decode('aXRzbQ=='));
$s2f7 = checkRelationShowField($k17, base64_decode('aXRzbQ=='));
if ($y2d1 == 0 && $h2f6 == 1) {
if ($s2f7 <= base64_decode('MQ==')) {
$u2e0[] = array(base64_decode('UmVzdWx0') => translate(base64_decode('VGhlcmUgbXVzdCBiZSBhIHByaW1hcnkgZmllbGQ=')));
echo json_encode($u2e0);
return;
}
}
} else {
removeOtherRelationShowField(base64_decode('aXRzbQ=='), $k17);
}
} elseif ($i2f1 === base64_decode('QWRkb24=')) {
if ($y2d1 === '') {
$y2d1 = NULL;
}
}
$oa .= "$i2f1 = ?, ";
if ($y2d1 === '') {
$n2db .= "$i2f1 = NULL, ";
} else {
$n2db .= "$i2f1 = '$y2d1', ";
}
$g2e7[] = $y2d1;
$n2e8 .= base64_decode('cw==');
$c2e9[] = $i2f1;
}
$oa = rtrim($oa, base64_decode('LCA='));
$n2db = rtrim($n2db, base64_decode('LCA='));
$oa .= base64_decode('IFdIRVJFIElEID0gPw==');
$n2db .= " WHERE ID = $o49";
$g2e7[] = $o49;
$n2e8 .= base64_decode('cw==');
$sb = $zc->prepare($oa);
if (!$sb) {
errorlog(base64_decode('UHJlcGFyZSBmYWlsZWQ6IA==') . $zc->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('UHJlcGFyZSBmYWlsZWQ6IA==') . $zc->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
echo json_encode($u2e0);
exit;
}
if (!$sb->bind_param($n2e8, ...$g2e7)) {
errorlog(base64_decode('QmluZGluZyBwYXJhbWV0ZXJzIGZhaWxlZDog') . $sb->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('QmluZGluZyBwYXJhbWV0ZXJzIGZhaWxlZDog') . $sb->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
echo json_encode($u2e0);
exit;
}
$g2f2 = $sb->$b2f3;
$o2f4 = $oa . base64_decode('IFtQYXJhbXM6IA==');
for ($m2f5 = 0; $m2f5 < $g2f2; $m2f5++) {
$o2f4 .= $n2e8[$m2f5] . base64_decode('OiA=') . $g2e7[$m2f5] . base64_decode('LCA=');
}
$o2f4 = rtrim($o2f4, base64_decode('LCA='));
$o2f4 .= base64_decode('XQ==');
if (!$sb->execute()) {
errorlog(base64_decode('RXhlY3V0ZSBmYWlsZWQ6IA==') . $sb->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('RXhlY3V0ZSBmYWlsZWQ6IA==') . $sb->$o294, base64_decode('dXBkYXRlSVRTTUZpZWxk'));
echo json_encode($u2e0);
exit;
} else {
$u2e0[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($u2e0);
}
}
if (isset($_GET[base64_decode('dXBkYXRlSVRTTVN0YXR1cw==')])) {
$a2dd = $_GET[base64_decode('U3RhdHVzSUQ=')];
$y2f8 = $_GET[base64_decode('U3RhdHVzQ29kZQ==')];
$v78 = $_GET[base64_decode('U3RhdHVzTmFtZQ==')];
$x2c8 = $_GET[base64_decode('U0xB')];
$z1ed = $_GET[base64_decode('Q2xvc2VkU3RhdA==')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$j2f9 = getPreSLA($a2dd);
if ($x2c8 == base64_decode('Mg==')) {
$x2c8 = base64_decode('MA==');
}
if ($j2f9 !== $x2c8) {
if ($x2c8 == base64_decode('MA==')) {
deleteStatusSLAEntries($k17, $y2f8);
} else {
createStatusSLAEntries($k17, $y2f8);
}
}
if ($z1ed == base64_decode('Mg==')) {
$z1ed = base64_decode('MA==');
}
$oa = base64_decode('VVBEQVRFIGl0c21fc3RhdHVzY29kZXMgU0VUIFN0YXR1c0NvZGUgPSA/LCBTdGF0dXNOYW1lID0gPywgU0xBID0gPywgQ2xvc2VkU3RhdHVzID0gPw0KICAgICAgICAgIFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $y2f8, $v78, $x2c8, $z1ed, $a2dd);
$sb->execute();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dXBkYXRlU0xBVmFsdWVz')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p2de = $_POST[base64_decode('U0xBSUQ=')];
$h2fa = $_POST[base64_decode('UDE=')];
$k2fb = $_POST[base64_decode('UDI=')];
$r2fc = $_POST[base64_decode('UDM=')];
$p2fd = $_POST[base64_decode('UDQ=')];
$oa = base64_decode('VVBEQVRFIGl0c21fc2xhX21hdHJpeCBTRVQgUDEgPSA/LCBQMiA9ID8sIFAzID0gPywgUDQgPSA/IA0KICAgICAgICAgIFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $h2fa, $k2fb, $r2fc, $p2fd, $p2de);
$sb->execute();
$d13 = $sb->get_result();
$s119[] = array(base64_decode('UmVzdWx0SXM=') => base64_decode('c3VjY2Vz'));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dXBkYXRlSVRTTUVtYWls')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$z2df = $_POST[base64_decode('RW1haWxJRA==')];
$g2fe = $_POST[base64_decode('SVRTTUVtYWls')];
$q2ff = $_POST[base64_decode('RGVmYXVsdEVtYWls')];
if ($q2ff == base64_decode('Mg==')) {
$q2ff = base64_decode('MA==');
}
$oa = base64_decode('VVBEQVRFIGl0c21fZW1haWxzIFNFVCBFbWFpbCA9ID8sIERlZmF1bHRFbWFpbCA9ID8gDQogICAgICAgICAgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Np'), $g2fe, $q2ff, $z2df);
$sb->execute();
$d13 = $sb->get_result();
$s119[] = array(base64_decode('UmVzdWx0SXM=') => base64_decode('c3VjY2Vz'));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlRm9ybQ==')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1d = $_GET[base64_decode('Rm9ybUlE')];
$oa = base64_decode('VVBEQVRFIGZvcm1zIFNFVCBTdGF0dXMgPSAwLCBBY3RpdmUgPSAwIFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $q1d);
$sb->execute();
$sb->get_result();
mysqli_stmt_close($sb);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlQ0k=')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1f = $_GET[base64_decode('Q0lJRA==')];
$df = getCITableName($q1f);
$m10 = getCITypeIDFromTableName($df);
dropCITable($df);
deleteCIFromCMDBCITable($q1f);
deleteCIFields($q1f);
deleteCIRelations($df);
deleteCILogs($m10);
deleteCIFiles($m10);
}
if (isset($_GET[base64_decode('ZGVsZXRlSVRTTQ==')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$k17 = $_GET[base64_decode('SVRTTUlE')];
$i16 = getITSMTableName($k17);
dropITSMTable($i16);
deleteITSMFromITSMTable($k17);
deleteITSMFields($k17);
deleteITSMRelations($i16);
deleteITSMFiles($k17);
deleteITSMLogs($k17);
deleteITSMStatusCodes($k17);
deleteITSMSLAMatrix($k17);
deleteITSMSLATimelines($k17);
deleteITSMParticipants($k17);
deleteITSMTasks($k17);
}
if (isset($_GET[base64_decode('cmVzZXRJVFNNTW9kdWxl')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
deleteITSMs($i16);
deleteITSMRelations($i16);
deleteITSMFiles($k17);
deleteITSMLogs($k17);
deleteITSMSLATimelines($k17);
deleteITSMParticipants($k17);
deleteITSMTasks($k17);
deleteITSMWorkFlows($k17);
$s119 = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('cmVzZXRBbGxJVFNNTW9kdWxlcw==')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$j300 = getActiveITSMModules();
foreach ($j300 as $l14) {
$k17 = $l14[base64_decode('SUQ=')];
$i16 = getITSMTableName($k17);
deleteITSMs($i16);
deleteITSMRelations($i16);
deleteITSMFiles($k17);
deleteITSMLogs($k17);
deleteITSMSLATimelines($k17);
deleteITSMParticipants($k17);
deleteITSMTasks($k17);
deleteITSMWorkFlows($k17);
}
$s119 = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('cmVzZXRDSQ==')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
truncateCITable($df);
deleteCIRelations($df);
deleteCILogs($m10);
deleteCIFiles($m10);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlRm9ybQ==')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$k301 = generateRandomString(15);
$j4f = "formstable_$k301";
$c302 = $_GET[base64_decode('Rm9ybXNOYW1l')];
$u303 = $_GET[base64_decode('Rm9ybURlc2NyaXB0aW9u')];
$oa = base64_decode('SU5TRVJUIElOVE8gZm9ybXMgKEZvcm1zTmFtZSwgVGFibGVOYW1lLCBEZXNjcmlwdGlvbiwgQ3JlYXRlZEJ5KSBWQUxVRVMgKD8sPyw/LD8p');
$sb = mysqli_prepare($zc, $oa);
if (!$sb) {
$m1b = mysqli_error($zc);
$fe[] = array(base64_decode('ZXJyb3I=') => "Failed to prepare the SQL statement: $m1b");
echo json_encode($fe);
return;
}
$sb->bind_param(base64_decode('c3Nzcw=='), $c302, $j4f, $u303, $p8a);
if (!$sb->execute()) {
$m1b = $sb->$o294;
$fe[] = array(base64_decode('ZXJyb3I=') => "Failed to execute the SQL statement: $m1b");
echo json_encode($fe);
return;
}
$w304 = mysqli_insert_id($zc);
$e305 = "formid=$w304";
$n2db = "CREATE TABLE IF NOT EXISTS $j4f (
ID INT AUTO_INCREMENT,
RelatedRequestID INT NULL,
PRIMARY KEY (ID))";
if (!mysqli_query($zc, $n2db)) {
$m1b = mysqli_error($zc);
$fe[] = array(base64_decode('ZXJyb3I=') => "Failed to create the table: $m1b");
echo json_encode($fe);
return;
}
$k306 = "ALTER TABLE $j4f COMMENT = '$e305'";
if (!mysqli_query($zc, $k306)) {
$m1b = mysqli_error($zc);
$fe[] = array(base64_decode('ZXJyb3I=') => "Failed to set table comment: $m1b");
echo json_encode($fe);
return;
}
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be a member of $rd");
echo json_encode($fe);
return;
}
}
if (isset($_GET[base64_decode('Y3JlYXRlQ0lSZWxhdGlvbg==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
if ($p8a == '') {
$p8a = base64_decode('MQ==');
}
$n307 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$d308 = getCITableName($n307);
$m309 = $_GET[base64_decode('Q0lJRA==')];
$t30a = $_GET[base64_decode('Q0lUYWJsZU5hbWUy')];
$p30b = getCITypeIDFromTableName($t30a);
$n2d = $_GET[base64_decode('Q0lJRDI=')];
$t2c0 = checkifCIRelationExists($d308, $t30a, $m309, $n2d);
if ($t2c0 == base64_decode('MQ==')) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('UmVsYXRpb24gZXhpc3RzIQ=='), base64_decode('Q0lUeXBlSUQ=') => $m10);
echo json_encode($s119);
return;
}
$c30c = $_GET[base64_decode('UmVsYXRpb25UeXBl')];
if ($c30c === base64_decode('cGFyZW50')) {
$oa = base64_decode('SU5TRVJUIElOVE8gY21kYl9jaV9yZWxhdGlvbnMoQ0lUYWJsZTEsIENJVGFibGUyLCBDSTFJRCwgQ0kySUQsIGF1dG8pIFZBTFVFUyAoPyw/LD8sPywnMCcpOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3NpaQ=='), $t30a, $d308, $n2d, $m309);
$sb->execute();
$d13 = $sb->get_result();
$t30d = getCINameFromTableName($t30a);
$d30e = getCILookupField($p30b);
$l30f = getCIFieldValue($n2d, $d30e, $t30a);
$ra3 = "Relation created to child $t30d $l30f";
createCILogEntry($m309, $n307, $p8a, $ra3);
}
if ($c30c === base64_decode('Y2hpbGQ=')) {
$oa = base64_decode('SU5TRVJUIElOVE8gY21kYl9jaV9yZWxhdGlvbnMoQ0lUYWJsZTEsIENJVGFibGUyLCBDSTFJRCwgQ0kySUQpIFZBTFVFUyAoPyw/LD8sPyk7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3NpaQ=='), $d308, $t30a, $m309, $n2d);
$sb->execute();
$d13 = $sb->get_result();
$f310 = getCINameFromTableName($d308);
$v311 = getCILookupField($n307);
$s312 = getCIFieldValue($m309, $v311, $d308);
$ra3 = "Relation created to parent $f310 $s312";
createCILogEntry($n2d, $p30b, $p8a, $ra3);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('Q0lUeXBlSUQ=') => $m10);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlQ0lSZWxhdGlvbklUU00=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($p8a);
$j6 = getLanguageCode($y5);
if ($p8a == '') {
$p8a = base64_decode('MQ==');
}
$i16 = $_GET[base64_decode('SVRTTVRhYmxlTmFtZQ==')];
$k17 = getITSMTypeIDFromTableName($i16);
$t18 = getITSMTypeName($k17);
$g35 = $_GET[base64_decode('SVRTTUlE')];
$v313 = $_GET[base64_decode('Q0lUYWJsZQ==')];
$q1f = $_GET[base64_decode('Q0lJRA==')];
$b2b6 = getCINameFromTableName($v313);
$m10 = getCITypeIDFromTableName($v313);
$y314 = getCIFieldToWorkAsID($m10);
$i315 = getCIFieldValue($q1f, $y314, $v313);
if ($q1f !== '') {
$oa = base64_decode('SU5TRVJUIElOVE8gY21kYl9jaV9pdHNtX3JlbGF0aW9ucyhJVFNNVGFibGUsIENJVGFibGUsIElUU01JRCwgQ0lJRCkgVkFMVUVTICg/LD8sPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $i16, $v313, $g35, $q1f);
$sb->execute();
$d13 = $sb->get_result();
$v316 = "Relation created to $t18: $g35";
createCILogEntry($q1f, $m10, $p8a, $v316);
$c317 = "Relation created to $b2b6 $i315";
createITSMLogEntry($g35, $k17, $p8a, $c317);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('SVRTTVR5cGVJRA==') => $k17, base64_decode('Q0lUeXBlSUQ=') => $m10, base64_decode('VXNlckxhbmd1YWdlQ29kZQ==') => $j6);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTVJlbGF0aW9uQ0k=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($p8a);
$j6 = getLanguageCode($y5);
if ($p8a == '') {
$p8a = base64_decode('MQ==');
}
$i16 = $_GET[base64_decode('SVRTTVRhYmxlTmFtZQ==')];
$k17 = getITSMTypeIDFromTableName($i16);
$t18 = getITSMTypeName($k17);
$g35 = $_GET[base64_decode('SVRTTUlE')];
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$q1f = $_GET[base64_decode('Q0lJRA==')];
$b2b6 = getCINameFromTypeID($m10);
$df = getCITableName($m10);
$y314 = getCIFieldToWorkAsID($m10);
$i315 = getCIFieldValue($q1f, $y314, $df);
if ($q1f !== '') {
$oa = base64_decode('SU5TRVJUIElOVE8gY21kYl9jaV9pdHNtX3JlbGF0aW9ucyhJVFNNVGFibGUsIENJVGFibGUsIElUU01JRCwgQ0lJRCkgVkFMVUVTICg/LD8sPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $i16, $df, $g35, $q1f);
$sb->execute();
$d13 = $sb->get_result();
$v316 = "Relation created to $t18: $g35";
createCILogEntry($q1f, $m10, $p8a, $v316);
$c317 = "Relation created to $b2b6 $i315";
createITSMLogEntry($g35, $k17, $p8a, $c317);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('SVRTTVR5cGVJRA==') => $k17, base64_decode('VXNlckxhbmd1YWdlQ29kZQ==') => $j6, base64_decode('TWVzc2FnZQ==') => translate(base64_decode('UmVsYXRpb24gY3JlYXRlZA==')));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTVJlbGF0aW9uSVRTTQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($p8a);
$j6 = getLanguageCode($y5);
if ($p8a == '') {
$p8a = base64_decode('MQ==');
}
$w318 = $_GET[base64_decode('SVRTTVRhYmxlTmFtZTE=')];
$f319 = $_GET[base64_decode('SVRTTUlEMQ==')];
$e31a = $_GET[base64_decode('SVRTTVRhYmxlTmFtZTI=')];
$f31b = $_GET[base64_decode('SVRTTUlEMg==')];
$u31c = getITSMTypeIDFromTableName($w318);
$s31d = getITSMTypeName($u31c);
$q41 = getITSMTypeIDFromTableName($e31a);
$f31e = getITSMTypeName($q41);
$u31f = getITSMFieldToWorkAsID($u31c);
$m320 = getITSMFieldToWorkAsID($q41);
$x321 = getITSMFieldValue($f319, $u31f, $w318);
$m322 = getITSMFieldValue($f31b, $m320, $e31a);
if ($f319 !== '') {
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV9yZWxhdGlvbnMoVGFibGUxLCBUYWJsZTIsIElEMSwgSUQyKSBWQUxVRVMgKD8sPyw/LD8pOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $w318, $e31a, $f319, $f31b);
$sb->execute();
$d13 = $sb->get_result();
$v316 = "Relation created to $f31e $f31b: $m322";
createITSMLogEntry($f319, $u31c, $p8a, $v316);
$c317 = "Relation created to $s31d $f319: $x321";
createITSMLogEntry($f31b, $q41, $p8a, $c317);;
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('SVRTTVR5cGVJRA==') => $u31c, base64_decode('VXNlckxhbmd1YWdlQ29kZQ==') => $j6);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlUmVsQ0lSZWw=')])) {
$d22 = $_GET[base64_decode('UmVsYXRpb25JRA==')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$x323 = getCIRelationTableName($d22, base64_decode('Q0lUYWJsZTE='));
$s324 = getCIRelationTableName($d22, base64_decode('Q0lUYWJsZTI='));
$y325 = getCIRelationCIID($d22, base64_decode('Q0kxSUQ='));
$c326 = getCIRelationCIID($d22, base64_decode('Q0kySUQ='));
$p327 = getCITypeIDFromTableName($x323);
$b328 = getCITypeIDFromTableName($s324);
$p329 = getCINameFromTableName($x323);
$d32a = getCINameFromTableName($s324);
$l32b = getCILookupField($p327);
$g32c = getCILookupField($b328);
$f32d = getCIFieldValue($y325, $l32b, $x323);
$b32e = getCIFieldValue($c326, $g32c, $s324);
$q32f = "Relation deleted to child $d32a $b32e";
createCILogEntry($y325, $p327, $p8a, $q32f);
$c330 = "Relation deleted to parent $p329 $f32d";
createCILogEntry($c326, $b328, $p8a, $c330);
$oa = base64_decode('REVMRVRFIEZST00gY21kYl9jaV9yZWxhdGlvbnMgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aQ=='), $d22);
$sb->execute();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlUmVsSVRTTVJlbA==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($p8a);
$j6 = getLanguageCode($y5);
$d22 = $_GET[base64_decode('UmVsYXRpb25JRA==')];
$t1b9 = getITSMRelationInfo($d22);
foreach ($t1b9 as $l14) {
$y2b = $l14[base64_decode('VGFibGUx')];
$j2c = $l14[base64_decode('VGFibGUy')];
$p36 = $l14[base64_decode('SUQx')];
$y37 = $l14[base64_decode('SUQy')];
$u31c = getITSMTypeIDFromTableName($y2b);
$q41 = getITSMTypeIDFromTableName($j2c);
$s31d = getITSMNameFromTableName($y2b);
$f31e = getITSMNameFromTableName($j2c);
$l331 = getITSMFieldToWorkAsID($u31c);
$n332 = getITSMFieldToWorkAsID($q41);
$i3f = getITSMFieldValue($p36, $l331, $y2b);
$o3b = getITSMFieldValue($y37, $n332, $j2c);
$v316 = "Relation deleted to $s31d $p36: $i3f";
$c317 = "Relation deleted to $f31e $y37: $o3b";
createITSMLogEntry($p36, $u31c, $p8a, $c317);
createITSMLogEntry($y37, $q41, $p8a, $v316);
}
deleteITSMRelation($d22);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('SVRTTVR5cGVJRA==') => $u31c, base64_decode('VXNlckxhbmd1YWdlQ29kZQ==') => $j6);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlQ0lUb0VsZW1lbnRSZWxhdGlvbg==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$y5 = getUserLanguage($p8a);
$j6 = getLanguageCode($y5);
$d22 = $_GET[base64_decode('UmVsYXRpb25JRA==')];
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_GET[base64_decode('SVRTTUlE')];
$q1f = getCIIDFromElementRelationID($d22);
$q2e = getCINameFromTypeID($m10);
$i333 = getITSMNameFromITSMType($k17);
$oa = base64_decode('REVMRVRFDQogICAgICAgICAgRlJPTSBjbWRiX2NpX2l0c21fcmVsYXRpb25zDQogICAgICAgICAgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aQ=='), $d22);
$sb->execute();
$ra3 = "Relation deleted for $i333: $g35";
createCILogEntry($q1f, $m10, $p8a, $ra3);
$v316 = "Relation deleted for $q2e: $q1f";
createITSMLogEntry($g35, $k17, $p8a, $v316);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('SVRTTVR5cGVJRA==') => $k17, base64_decode('SVRTTUlE') => $g35, base64_decode('Q0lJRA==') => $q1f, base64_decode('VXNlckxhbmd1YWdlQ29kZQ==') => $j6);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlRGF0YWJhc2VCYWNrdXA=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$k17 = $_GET[base64_decode('aXRzbXR5cGVpZA==')];
$d13 = createDatabaseBackup($k17, $p8a);
if ($d13 == base64_decode('Q29tcGxldGVk')) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => "$d13");
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlRGF0YWJhc2VCYWNrdXA=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$n334 = $_GET[base64_decode('cmVzdG9yZXBvaW50aWQ=')];
$d13 = deleteDatabaseBackup($n334);
if ($d13 == base64_decode('Q29tcGxldGVk')) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('RXJyb3I='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('cmVzdG9yZURhdGFiYXNlQmFja3Vw')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$n334 = $_GET[base64_decode('cmVzdG9yZXBvaW50aWQ=')];
$d13 = restoreDatabaseBackup($n334);
if ($d13 == base64_decode('Q29tcGxldGVk')) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('RXJyb3I='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('b3B0aW1pemVEYXRhYmFzZQ==')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$d13 = optimizeDatabase($p8a);
if ($d13 == base64_decode('Q29tcGxldGVk')) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('RXJyb3I='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('c2NhbkZvckNWUkluV2lraQ==')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0)) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$d13 = scanForCVR(base64_decode('a25vd2xlZGdlX2RvY3VtZW50cw=='), base64_decode('Q29udGVudEZ1bGxUZXh0'), base64_decode('TmFtZQ=='), base64_decode('Nw=='));
if (!empty($d13)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('UmVzdWx0RnJvbVF1ZXJ5') => $d13);
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('RXJyb3I='), base64_decode('UmVzdWx0RnJvbVF1ZXJ5') => base64_decode('Tm8gQ1ZSIG51bWJlcnMgZm91bmQ='));
echo json_encode($s119);
}
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAx'));
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('RXJyb3I='), base64_decode('UmVzdWx0RnJvbVF1ZXJ5') => "You need to be a member of $rd");
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('cmVzZXRJVFNNTW9kdWxlcw==')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$d13 = resetITSMModules();
if ($d13 == base64_decode('Q29tcGxldGVk')) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('RXJyb3I='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Y3JlYXRlQ0lOZXc=')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$k292 = $_GET[base64_decode('cmVzdWx0')];
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$oa = "INSERT INTO $df (";
foreach ($k292 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
$oa .= "$y2c4,";
}
$oa .= base64_decode('KSBWQUxVRVMgKA==');
foreach ($k292 as $z5c => $r2a) {
$j66 = $r2a[base64_decode('bmFtZQ==')];
$p298 = getCIFieldType($m10, $j66);
switch ($j66) {
case base64_decode('Q3JlYXRlZA=='):
$q335 = date(base64_decode('WS1tLWQgSDppOnM='));
break;
case base64_decode('U3RhcnREYXRl'):
$q335 = date(base64_decode('WS1tLWQgSDppOnM='));
break;
case base64_decode('Q3JlYXRlZEJ5'):
$q335 = $p8a;
break;
case base64_decode('QWN0aXZl'):
$q335 = 1;
break;
case base64_decode('UmVtb3ZlZA=='):
$q335 = 0;
break;
default:
$q335 = $r2a[base64_decode('dmFsdWU=')];
}
if ($p298 == 5) {
$q335 = convertFromDanishTimeFormat($q335);
}
if ($q335 == '') {
$oa .= base64_decode('TlVMTCw=');
} else {
$oa .= base64_decode('Jw==') . $q335 . base64_decode('Jyw=');
}
}
$oa .= base64_decode('KTs=');
$oa = str_replace(base64_decode('LCk='), base64_decode('KQ=='), $oa);
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$w304 = mysqli_insert_id($zc);
$ra3 = base64_decode('Q0kgQ3JlYXRlZA==');
createCILogEntry($w304, $m10, $p8a, $ra3);
if (!$d13) {
$s119[] = array(base64_decode('UmVzdWx0') => mysqli_error($zc));
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTUVudHJ5')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$g336 = $_POST[base64_decode('SVRTTUZvcm0=')];
$q1d = $_POST[base64_decode('Rm9ybUlE')];
$y5 = getUserLanguage($q4);
$j6 = getLanguageCode($y5);
$k337 = $_POST[base64_decode('UmVxdWVzdEZvcm0=')];
$i16 = $_POST[base64_decode('SVRTTVRhYmxlTmFtZQ==')];
$r2ca = date(base64_decode('WS1tLWQgSDppOnM='));
$k17 = getITSMTypeIDFromTableName($i16);
$i268 = getModuleType($k17);
$i279 = getITSMSLASupport($k17);
$s31d = getITSMTypeName($k17);
$f31b = $_POST[base64_decode('SVRTTUNyZWF0ZWRGcm9tSVRTTUlE')];
$q41 = $_POST[base64_decode('SVRTTUNyZWF0ZWRGcm9tSVRTTVR5cGVJRA==')];
$r42 = createITSMEntry($q4, $g336, $q1d, $k337, $i16, $r2ca, $k17, $i268, $i279, $s31d, $f31b, $q41);
if (!empty($r42)) {
list($g35, $i16, $k17, $a1e5, $i268) = $r42;
$cce = getSystemURL();
$b33 = "$cce/itsm-$k17-$g35";
$t338 = getITSMCreatedByName($g35, $k17);
$h339 = translate(base64_decode('Y3JlYXRlZA=='));
$i33a = translate(base64_decode('Ynk='));
$m118 = "$s31d: $g35 $h339 $i33a $t338: $b33";
sendMessageToSlack($m118);
} else {
echo base64_decode('VGhlIHJlc3VsdCBpcyBlbXB0eS4=');
}
$s119[] = array(base64_decode('TGFuZ3VhZ2VDb2Rl') => $j6, base64_decode('SVRTTUlE') => $g35, base64_decode('SVRTTVRhYmxlTmFtZQ==') => $i16, base64_decode('SVRTTVR5cGVJRA==') => $k17, base64_decode('QWxsb3dEZWxldGU=') => base64_decode('MA=='), base64_decode('U2hvcnROYW1l') => $a1e5, base64_decode('TW9kdWxlVHlwZQ==') => $i268);
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlQ0lMb2dCb29rRW50cnk=')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$q1f = $_GET[base64_decode('Q0lJRA==')];
$b6b = $_GET[base64_decode('Q29udGVudA==')];
$t33b = $_GET[base64_decode('TG9nQm9va1JlbGF0aW9u')];
$d13 = createCILogBookEntry($q1f, $m10, $q4, $b6b, $t33b);
if ($d13 = true) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
$ra3 = "Log Book entry created: $b6b ($t33b)";
createCILogEntry($q1f, $m10, $q4, $ra3);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbGVk'));
}
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZGVsZXRlQ0lMb2dCb29rRW50cnk=')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$q1f = $_GET[base64_decode('Q0lJRA==')];
$b33c = $_GET[base64_decode('TG9nQm9va0lE')];
$d13 = deleteCILogBookEntry($b33c);
if ($d13 = true) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
$ra3 = "Log Book entry deleted: $b33c";
createCILogEntry($q1f, $m10, $q4, $ra3);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbGVk'));
}
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTVRlbXBsYXRl')])) {
$s1c = $_GET[base64_decode('cHVibGlj')];
$f33d = [];
$p8a = $_SESSION[base64_decode('aWQ=')];
$g336 = $_GET[base64_decode('SVRTTUZvcm0=')];
$q1d = $_GET[base64_decode('Rm9ybUlE')];
if (empty($q1d)) {
$q1d = 0;
}
$k337 = $_GET[base64_decode('UmVxdWVzdEZvcm0=')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
if ($s1c == '') {
$s1c = base64_decode('MA==');
}
$f1e = '';
$q335 = '';
$f31 = '';
if (!in_array(base64_decode('MTAwMDMx'), $p0) && ($s1c == base64_decode('MQ=='))) {
if (!in_array(base64_decode('MTAwMDAx'), $p0) && ($s1c == base64_decode('MQ=='))) {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
}
foreach ($g336 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
if ($y2c4 == base64_decode('Q3JlYXRlRm9ybVN1YmplY3Q=')) {
$f1e = $r2a[base64_decode('dmFsdWU=')];
}
$q335 = $r2a[base64_decode('dmFsdWU=')];
$f31 = $y2c4 . base64_decode('PDs+') . $q335;
array_push($f33d, $f31);
}
foreach ($k337 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
if ($y2c4 == base64_decode('Q3JlYXRlRm9ybVN1YmplY3Q=')) {
$f1e = $r2a[base64_decode('dmFsdWU=')];
}
$q335 = $r2a[base64_decode('dmFsdWU=')];
$f31 = $y2c4 . base64_decode('PDs+') . $q335;
array_push($f33d, $f31);
}
$d33e = mysqli_real_escape_string($zc, implode(base64_decode('PCM+'), $f33d));
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV90ZW1wbGF0ZXMgKERlc2NyaXB0aW9uLE93bmVyLFB1YmxpYyxGaWVsZHNWYWx1ZXMsUmVsYXRlZE1vZHVsZSxSZWxhdGVkRm9ybUlEKSANCiAgICAgICAgICBWQUxVRVMgKD8sPyw/LD8sPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3Nz'), $f1e, $p8a, $s1c, $d33e, $k17, $q1d);
$sb->execute();
$d13 = $sb->get_result();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('bG9hZElUU01UZW1wbGF0ZXM=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$faf = $_GET[base64_decode('VGVtcGxhdGVJRA==')];
$oa = base64_decode('U0VMRUNUIGl0c21fdGVtcGxhdGVzLkZpZWxkc1ZhbHVlcywgUmVsYXRlZEZvcm1JRA0KICAgICAgICAgIEZST00gaXRzbV90ZW1wbGF0ZXMNCiAgICAgICAgICBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $faf);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$d33e = $l14[base64_decode('RmllbGRzVmFsdWVz')];
$q1d = $l14[base64_decode('UmVsYXRlZEZvcm1JRA==')];
}
$x33f = explode(base64_decode('PCM+'), $d33e);
$f340 = implode($x33f);
$l259 = explode(base64_decode('PDs+'), $f340);
foreach ($x33f as $z5c => $r2a) {
$l259 = explode(base64_decode('PDs+'), $r2a);
$m1a = $l259[0];
$k341 = str_replace(base64_decode('Q3JlYXRlRm9ybQ=='), '', $m1a);
if (strpos($k341, base64_decode('Rm9ybUZpZWxk')) !== false) {
$p298 = getElementFieldTypeForms($k341);
} else {
$p298 = getElementFieldType($k17, $k341);
}
$z342[] = array(base64_decode('RmllbGROYW1l') => $l259[0], base64_decode('RmllbGRWYWx1ZQ==') => $l259[1], base64_decode('RmllbGRUeXBl') => $p298, base64_decode('Rm9ybUlE') => $q1d);
}
echo json_encode($z342);
}
if (isset($_GET[base64_decode('Z2V0SVRTTVNMQQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$oa = base64_decode('U0VMRUNUIGl0c21fc2xhdGltZWxpbmVzLlNMQVZpb2xhdGlvbkRhdGUsIGl0c21fc2xhdGltZWxpbmVzLlJlbGF0ZWRTdGF0dXNDb2RlSUQsIGl0c21fc2xhdGltZWxpbmVzLlRpbWVsaW5lVXBkYXRlZERhdGUNCiAgICAgICAgICBGUk9NIGl0c21fc2xhdGltZWxpbmVzDQogICAgICAgICAgV0hFUkUgUmVsYXRlZEVsZW1lbnRJRCA9ID8gQU5EIFJlbGF0ZWRFbGVtZW50VHlwZUlEID0gPw0KICAgICAgICAgIE9SREVSIEJZIFNMQVZpb2xhdGlvbkRhdGUgREVTQzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $g35, $k17);
$sb->execute();
$d13 = $sb->get_result();
$z343 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$k344 = $l14[base64_decode('U0xBVmlvbGF0aW9uRGF0ZQ==')];
$n345 = $l14[base64_decode('VGltZWxpbmVVcGRhdGVkRGF0ZQ==')];
$p346 = $l14[base64_decode('UmVsYXRlZFN0YXR1c0NvZGVJRA==')];
$v78 = getITSMStatusName($p346, $k17);
$v78 = _($v78);
$z343[] = [base64_decode('c3RhdHVz') => $v78, base64_decode('ZGF0ZQ==') => $k344, base64_decode('dXBkYXRlZERhdGU=') => $n345,];
}
if (!empty($z343)) {
$y347 = '';
$b348 = '';
foreach ($z343 as $k349) {
$h34a = '';
$hff = htmlspecialchars($k349[base64_decode('c3RhdHVz')]);
$k246 = htmlspecialchars($k349[base64_decode('ZGF0ZQ==')]);
$e34b = htmlspecialchars($k349[base64_decode('dXBkYXRlZERhdGU=')]);
$m34c = convertToDanishTimeFormat($e34b);
$f280 = base64_decode('PGkgY2xhc3M9ImZhLXNvbGlkIGZhLWNpcmNsZSBkb3QtaWNvbiBkb3QtaWNvbi1ncmVlbiIgdGl0bGU9Ig==') . _(base64_decode('RGVhZGxpbmUgbm90IHN1cnBhc3NlZA==')) . base64_decode('Ij48L2k+');
if (strtotime($k246) < time()) {
$f280 = base64_decode('PGkgY2xhc3M9ImZhLXNvbGlkIGZhLWNpcmNsZSBkb3QtaWNvbiBkb3QtaWNvbi1yZWQiIHRpdGxlPSI=') . _(base64_decode('RGVhZGxpbmUgaGFzIHBhc3NlZA==')) . base64_decode('Ij48L2k+');
} elseif (strtotime($k246) - time() <= 5 * 3600) {
$f280 = base64_decode('PGkgY2xhc3M9ImZhLXNvbGlkIGZhLWNpcmNsZSBkb3QtaWNvbiBkb3QtaWNvbi1vcmFuZ2UiIHRpdGxlPSI=') . _(base64_decode('RGVhZGxpbmUgaXMgd2l0aGluIDUgaG91cnM=')) . base64_decode('Ij48L2k+');
}
if (!empty($e34b) && strtotime($e34b) > strtotime($k246)) {
$h34a = base64_decode('Jm5ic3A7PHNwYW4gY2xhc3M9ImJhZGdlIGJnLWdyYWRpZW50LWRhbmdlciI+') . _(base64_decode('dmlvbGF0ZWQ=')) . base64_decode('PC9zcGFuPg==');
$f280 = '';
$b348 = base64_decode('IHRpdGxlPSI=') . _("completed: $m34c") . base64_decode('Ig==');
} elseif (!empty($e34b) && strtotime($e34b) <= strtotime($k246)) {
$h34a = '';
$f280 = '';
$b348 = base64_decode('IHRpdGxlPSI=') . _("completed: $m34c") . base64_decode('Ig==');
}
$y347 .= "<div class=\"container\"$b348>
<div class=\"content\">$f280
<small><b>$hff</b></small>:
<small>" . convertToDanishTimeFormat($k246) . "</small>
$h34a
</div>
</div>";
}
$y347 .= '';
$e34d[] = [base64_decode('U0xB') => $y347];
} else {
$e34d[] = [base64_decode('U0xB') => ''];
}
echo json_encode($e34d);
}
if (isset($_GET[base64_decode('Z2V0SVRTTVNvbHV0aW9u')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$q54 = $_POST[base64_decode('VHlwZQ==')];
$i16 = getITSMTableName($k17);
$oa = "SELECT $i16.Solution
FROM $i16
WHERE ID = ?;";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $g35);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$h34e = $l14[base64_decode('U29sdXRpb24=')];
if ($q54 == base64_decode('bW9kYWw=')) {
$u34f = base64_decode('PGRpdiBjbGFzcz0iaW5wdXQtZ3JvdXAgaW5wdXQtZ3JvdXAtc3RhdGljIG1iLTQiPjxsYWJlbCBmb3I9IklUU01Tb2x1dGlvbiIgdGl0bGU9Ig==') . translate(base64_decode('U29sdXRpb24gdG8gdGhlIHByb2JsZW0=')) . base64_decode('Ij4=');
$u34f .= translate(base64_decode('U29sdXRpb24=')) . base64_decode('JmVuc3A7PGEgaHJlZj0iamF2YXNjcmlwdDp0b2dnbGVDS0VkaXRvcihcJ0lUU01Tb2x1dGlvblwnLFwnMjUwcHhcJyk7Ij48aSBjbGFzcz0iZmEtc29saWQgZmEtcGVuIGZhLXNtIiB0aXRsZT0iRG91YmxlIGNsaWNrIG9uIGZpZWxkIHRvIGVkaXQiPjwvaT48L2E+');
$u34f .= base64_decode('PC9sYWJlbD48L2Rpdj4=');
$u34f .= base64_decode('PGRpdiBzdHlsZT0iaGVpZ2h0OiAxNTBweDsgd29yZC13cmFwOiBicmVhay13b3JkOyBvdmVyZmxvdy15OiBhdXRvOyBvdmVyZmxvdy14OiBhdXRvOyIgY2xhc3M9InJlc2l6YWJsZV90ZXh0YXJlYSBmb3JtLWNvbnRyb2wiIGlkPSJJVFNNU29sdXRpb24iIG5hbWU9IklUU01Tb2x1dGlvbiIgdGl0bGU9IkRvdWJsZSBjbGljayB0byBlZGl0IiByb3dzPSI1IiBhdXRvY29tcGxldGU9Im9mZiIgb25kYmxjbGljaz0idG9nZ2xlQ0tFZGl0b3IoXCdJVFNNU29sdXRpb25cJyxcJzI1MHB4XCcpOyI+');
$u34f .= base64_decode('PC9kaXY+');
} else {
$u34f = base64_decode('PGRpdiBjbGFzcz0iaW5wdXQtZ3JvdXAgaW5wdXQtZ3JvdXAtc3RhdGljIG1iLTQiPjxsYWJlbCBmb3I9IklUU01RV1NvbHV0aW9uIiB0aXRsZT0i') . translate(base64_decode('U29sdXRpb24gdG8gdGhlIHByb2JsZW0=')) . base64_decode('Ij4=');
$u34f .= translate(base64_decode('U29sdXRpb24=')) . base64_decode('JmVuc3A7PGEgaHJlZj0iamF2YXNjcmlwdDp0b2dnbGVDS0VkaXRvcihcJ0lUU01RV1NvbHV0aW9uXCcsXCcyNTBweFwnKTsiPjxpIGNsYXNzPSJmYS1zb2xpZCBmYS1wZW4gZmEtc20iIHRpdGxlPSJEb3VibGUgY2xpY2sgb24gZmllbGQgdG8gZWRpdCI+PC9pPjwvYT4=');
$u34f .= base64_decode('PC9sYWJlbD48L2Rpdj4=');
$u34f .= base64_decode('PGRpdiBzdHlsZT0iaGVpZ2h0OiAxNTBweDsgd29yZC13cmFwOiBicmVhay13b3JkOyBvdmVyZmxvdy15OiBhdXRvOyBvdmVyZmxvdy14OiBhdXRvOyIgY2xhc3M9InJlc2l6YWJsZV90ZXh0YXJlYSBmb3JtLWNvbnRyb2wiIGlkPSJJVFNNUVdTb2x1dGlvbiIgbmFtZT0iSVRTTVFXU29sdXRpb24iIHRpdGxlPSJEb3VibGUgY2xpY2sgdG8gZWRpdCIgcm93cz0iNSIgYXV0b2NvbXBsZXRlPSJvZmYiIG9uZGJsY2xpY2s9InRvZ2dsZUNLRWRpdG9yKFwnSVRTTVFXU29sdXRpb25cJyxcJzI1MHB4XCcpOyI+');
$u34f .= base64_decode('PC9kaXY+');
}
}
if ($h34e !== '') {
$s119[] = array(base64_decode('QnRu') => $u34f, base64_decode('U29sdXRpb24=') => $h34e);
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('QnRu') => $u34f, base64_decode('U29sdXRpb24=') => '');
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('Z2V0VGVtcGxhdGVGb3JtSUQ=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$faf = $_GET[base64_decode('VGVtcGxhdGVJRA==')];
$oa = base64_decode('U0VMRUNUIFJlbGF0ZWRGb3JtSUQNCiAgICAgICAgICBGUk9NIGl0c21fdGVtcGxhdGVzDQogICAgICAgICAgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $faf);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$q1d = $l14[base64_decode('UmVsYXRlZEZvcm1JRA==')];
}
$e34d[] = array(base64_decode('Rm9ybUlE') => $q1d);
echo json_encode($e34d);
}
if (isset($_GET[base64_decode('ZGVsZXRlVFNNVGVtcGxhdGU=')])) {
$mb6 = $_SESSION[base64_decode('bWVtYmVyb2Zncm91cHM=')];
$p8a = $_SESSION[base64_decode('aWQ=')];
$faf = $_GET[base64_decode('VGVtcGxhdGVJRA==')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$u350 = true;
$j351 = getTemplatePublicStatus($faf);
if ($j351 == base64_decode('MQ==')) {
if (in_array(base64_decode('MTAwMDAx'), $mb6) || in_array(base64_decode('MTAwMDMx'), $mb6)) {
$u350 = true;
} else {
$u350 = false;
}
}
if ($u350 == true) {
$oa = base64_decode('REVMRVRFIEZST00gaXRzbV90ZW1wbGF0ZXMgV0hFUkUgSUQgPSA/');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $faf);
$sb->execute();
$d13 = $sb->get_result();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbA=='));
}
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dXBkYXRlQ0lWYWx1ZXM=')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$m1a = $_GET[base64_decode('RmllbGROYW1l')];
$f31 = $_GET[base64_decode('RmllbGRWYWx1ZQ==')];
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$oa = "UPDATE cmdb_cis SET $m1a = ? WHERE ID = ?";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $f31, $m10);
$sb->execute();
$d13 = $sb->get_result();
if (!$d13) {
$s119[] = array(base64_decode('UmVzdWx0') => mysqli_error($zc));
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('dXBkYXRlSVRTTVZhbHVlcw==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$m1a = $_GET[base64_decode('RmllbGROYW1l')];
$f31 = $_GET[base64_decode('RmllbGRWYWx1ZQ==')];
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$oa = "UPDATE itsm_modules SET $m1a = ? WHERE ID = ?";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $f31, $k17);
$sb->execute();
$d13 = $sb->get_result();
if (!$d13) {
$s119[] = array(base64_decode('UmVzdWx0') => mysqli_error($zc));
echo json_encode($s119);
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
}
if (isset($_GET[base64_decode('dXBkYXRlQ0k=')])) {
if (!in_array(base64_decode('MTAwMDE1'), $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
echo json_encode([[base64_decode('ZXJyb3I=') => "You need to be member of $rd"]]);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$k292 = $_POST[base64_decode('UmVzdWx0')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$q1f = $_POST[base64_decode('Q0lJRA==')];
$e352 = [];
$oa = "UPDATE $df SET ";
$k353 = "UPDATE $df SET ";
$n2e8 = '';
$h354 = [];
foreach ($k292 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
$q335 = $r2a[base64_decode('dmFsdWU=')];
$n2c5 = getCIFieldPreValue($q1f, $df, $y2c4);
$d299 = getCIFieldLabelFromFieldName($m10, $y2c4);
$p298 = getCIFieldType($m10, $y2c4);
if ($q335 == $n2c5) {
continue;
}
if ($p298 == base64_decode('NQ==') && $q335 !== '') {
$q335 = convertFromDanishTimeFormat($q335);
}
if ($p298 == base64_decode('NQ==') && $q335 === '') {
$q335 = NULL;
}
$n2c5 = $n2c5 === NULL ? '' : $n2c5;
$n355 = normalizeValue($n2c5);
$t356 = normalizeValue($q335);
if ($n355 !== $t356) {
array_push($e352, "$d299: changed from $n2c5 to $q335");
}
$oa .= "$y2c4 = ?,";
$k353 .= "$y2c4 = '" . ($q335 !== NULL ? $q335 : base64_decode('TlVMTA==')) . base64_decode('Jyw=');
$n2e8 .= $q335 !== NULL ? base64_decode('cw==') : base64_decode('cw==');
$h354[] = $q335;
}
$oa = rtrim($oa, base64_decode('LA==')) . base64_decode('IFdIRVJFIElEID0gPw==');
$k353 = rtrim($k353, base64_decode('LA==')) . " WHERE ID = $q1f";
$n2e8 .= base64_decode('aQ==');
$h354[] = $q1f;
$sb = mysqli_prepare($zc, $oa);
mysqli_stmt_bind_param($sb, $n2e8, ...$h354);
if (mysqli_stmt_execute($sb)) {
$b357 = implode(base64_decode('IA=='), $e352);
if ($b357 != '') {
createCILogEntry($q1f, $m10, $p8a, $b357);
}
echo json_encode([[base64_decode('UmVzdWx0') => translate(base64_decode('c3VjY2Vzcw==')), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VXBkYXRlZA=='))]]);
} else {
echo json_encode([[base64_decode('UmVzdWx0') => translate(base64_decode('RXJyb3I=')), base64_decode('TWVzc2FnZQ==') => mysqli_error($zc)]]);
}
mysqli_stmt_close($sb);
}
if (isset($_GET[base64_decode('dXBkYXRlSVRTTQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$g336 = $_POST[base64_decode('SVRTTUZvcm0=')];
$k337 = $_POST[base64_decode('UmVxdWVzdEZvcm0=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$ua6 = getITSMModuleType($k17);
$i16 = getITSMTableName($k17);
$g35 = $_POST[base64_decode('SVRTTUlE')];
$o358 = getITSMFieldValue($g35, base64_decode('U0xB'), $i16);
$v359 = getITSMFieldValue($g35, base64_decode('UHJpb3JpdHk='), $i16);
$e352 = [];
$d35a = 0;
$w35b = false;
if (!empty($k337)) {
$z35c = getFormsID($i16, $g35);
$c35d = getFormsTableName($z35c);
$i35e = getFormTableEntryID($c35d, $g35);
$oa = "UPDATE $c35d SET ";
$n2e8 = '';
$h354 = [];
foreach ($k337 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
$q335 = $r2a[base64_decode('dmFsdWU=')];
$n2c5 = getFormsFieldPreValue($g35, $c35d, $y2c4);
$d299 = getFormFieldLabelFromFieldName($z35c, $y2c4);
$q335 = $q335 === NULL ? '' : $q335;
$n2c5 = $n2c5 === NULL ? '' : $n2c5;
$p298 = getFormFieldType($z35c, $y2c4);
if ($p298 == base64_decode('NQ==') && !empty($q335)) {
$q335 = convertFromDanishTimeFormat($q335);
}
if ($n2c5 !== $q335) {
$w35b = true;
array_push($e352, "$d299: changed from $n2c5 to $q335");
}
if ($q335 == '') {
$oa .= "$y2c4 = NULL, ";
} else {
$oa .= "$y2c4 = ?, ";
$n2e8 .= base64_decode('cw==');
$h354[] = $q335;
}
}
$oa = rtrim($oa, base64_decode('LCA=')) . base64_decode('IFdIRVJFIElEID0gPw==');
$n2e8 .= base64_decode('aQ==');
$h354[] = $i35e;
$sb = mysqli_prepare($zc, $oa);
mysqli_stmt_bind_param($sb, $n2e8, ...$h354);
if (mysqli_stmt_execute($sb)) {
} else {
}
mysqli_stmt_close($sb);
} else {
$d35a = 1;
}
$oa = "UPDATE $i16 SET ";
$n2e8 = '';
$h354 = [];
$l35f = 0;
foreach ($g336 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
$q335 = $r2a[base64_decode('dmFsdWU=')];
$n2c5 = getITSMFieldPreValue($g35, $i16, $y2c4);
$d299 = getITSMFieldLabelFromFieldName($k17, $y2c4);
$p298 = getITSMFieldType($k17, $y2c4);
if ($p298 == base64_decode('OQ==')) {
$l35f = 1;
}
if ($p298 == base64_decode('NQ==') && !empty($q335)) {
$q335 = convertFromDanishTimeFormat($q335);
$n2c5 = $n2c5;
}
$n355 = normalizeValue($n2c5);
$t356 = normalizeValue($q335);
if ($n355 !== $t356 && $l35f == 0) {
$y360 = translate($d299);
if ($p298 == base64_decode('Mg==')) {
array_push($e352, "$y360: changed");
} else {
array_push($e352, "$y360: changed from $n2c5 to $q335");
}
}
if ($q335 === '' || $q335 === NULL) {
if ($n2c5 !== NULL && $n2c5 !== '') {
$oa .= "$y2c4 = NULL, ";
}
} elseif ($n2c5 !== $q335) {
$oa .= "$y2c4 = ?, ";
$n2e8 .= base64_decode('cw==');
$h354[] = $q335;
}
$g361 = array(base64_decode('Mg=='), base64_decode('NA=='));
if ($n2c5 !== $q335) {
switch ($y2c4) {
case base64_decode('Q3VzdG9tZXI='):
if ($q335 !== '') {
$u362 = base64_decode('Mw==');
$f1e = '';
$h2 = getUserRelatedCompanyID($q335);
updateITSMFieldValue($g35, $h2, base64_decode('UmVsYXRlZENvbXBhbnlJRA=='), $k17);
$x2c8 = getRelatedSLAID($h2);
updateITSMFieldValue($g35, $x2c8, base64_decode('U0xB'), $k17);
if (!in_array($ua6, $g361)) {
sendITSMNotificationMailToUsers($u362, $k17, $g35, $f1e, $y2c4, $n2c5, $q335);
}
}
break;
case base64_decode('UmVzcG9uc2libGU='):
if ($q335 !== '') {
$u362 = base64_decode('NA==');
$f1e = '';
if (!in_array($ua6, $g361)) {
sendITSMNotificationMailToUsers($u362, $k17, $g35, $f1e, $y2c4, $n2c5, $q335);
}
}
break;
case base64_decode('QnVzaW5lc3NTZXJ2aWNl'):
if ($q335 !== '') {
$x2c8 = getSLAFromBS($q335);
$t1b0 = $q335;
updateITSMFieldValue($g35, $x2c8, base64_decode('U0xB'), $k17);
} else {
$h2 = getITSMFieldValue($g35, base64_decode('UmVsYXRlZENvbXBhbnlJRA=='), $i16);
$x2c8 = getRelatedSLAID($h2);
updateITSMFieldValue($g35, $x2c8, base64_decode('U0xB'), $k17);
}
break;
case base64_decode('UHJpb3JpdHk='):
$e363 = $q335;
$x364 = getITSMPriorityName($e363);
$m365 = $n2c5;
$f366 = getITSMPriorityName($m365);
$u362 = base64_decode('NQ==');
$f1e = '';
if (!in_array($ua6, $g361)) {
sendITSMNotificationMailToUsers($u362, $k17, $g35, $f1e, $y2c4, $f366, $x364);
}
break;
case base64_decode('U3RhdHVz'):
$x367 = $q335;
$l368 = getITSMStatusName($x367, $k17);
$c369 = $n2c5;
$u36a = getITSMStatusName($c369, $k17);
$f1e = '';
if (in_array($x367, getITSMClosedStatus($k17))) {
$u362 = base64_decode('Mg==');
$f1e = '';
if (!in_array($ua6, $g361)) {
sendITSMNotificationMailToUsers($u362, $k17, $g35, $f1e, $y2c4, $u36a, $l368);
}
updateTimelineUpdatedDate($g35, $k17, $x367);
updateMissingStatusCodeTimelines($k17, $g35);
closeAllTasksAssociatedWithITSM($k17, $g35);
} else {
$u362 = base64_decode('Nw==');
$f1e = '';
if (!in_array($ua6, $g361)) {
sendITSMNotificationMailToUsers($u362, $k17, $g35, $f1e, $y2c4, $u36a, $l368);
}
}
break;
default:
}
}
}
$oa = rtrim($oa, base64_decode('LCA=')) . base64_decode('IFdIRVJFIElEID0gPw==');
$m36b = "UPDATE $i16 SET WHERE ID = ?";
if ($oa == $m36b) {
if ($w35b == true) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('Zm9ybXVwZGF0ZWQ='));
$b357 = implode(base64_decode('IA=='), $e352);
if ($b357 != '') {
createITSMLogEntry($g35, $k17, $p8a, $b357);
}
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('bm90aGluZw=='));
}
echo json_encode($s119);
exit;
} else {
$n2e8 .= base64_decode('aQ==');
$h354[] = $g35;
$k185 = mysqli_prepare($zc, $oa);
mysqli_stmt_bind_param($k185, $n2e8, ...$h354);
if (mysqli_stmt_execute($k185)) {
if ($ua6 == base64_decode('Mw==')) {
if ($x367 !== $c369 && $x367 == base64_decode('NA==')) {
$qa0 = incrementDocumentVersion($k17, $g35);
CreateDocArchive($g35, $k17, $qa0, $p8a);
}
}
} else {
}
mysqli_stmt_close($k185);
}
$h2 = getITSMFieldValue($g35, base64_decode('UmVsYXRlZENvbXBhbnlJRA=='), $i16);
$r2ca = getITSMFieldValue($g35, base64_decode('Q3JlYXRlZA=='), $i16);
$e36c = getITSMFieldValue($g35, base64_decode('U0xB'), $i16);
$v24b = getITSMFieldValue($g35, base64_decode('UHJpb3JpdHk='), $i16);
if ($v359 != $v24b) {
$n2c9[] = array();
$n2c9 = getSLAStatusCores($k17, $e36c, $v24b);
foreach ($n2c9 as $r2a) {
$a1df = $r2a[base64_decode('U3RhdHVz')];
$g2cc = $r2a[base64_decode('TWludXRlcw==')];
$l2cd = getDateTimeViolated($r2ca, $g2cc);
updateTimelineSLAViolationDate($g35, $k17, $a1df, $l2cd);
}
}
if ($o358 != $e36c) {
$n2c9[] = array();
$n2c9 = getSLAStatusCores($k17, $e36c, $v24b);
foreach ($n2c9 as $r2a) {
$a1df = $r2a[base64_decode('U3RhdHVz')];
$g2cc = $r2a[base64_decode('TWludXRlcw==')];
$l2cd = getDateTimeViolated($r2ca, $g2cc);
updateTimelineSLAViolationDate($g35, $k17, $a1df, $l2cd);
}
}
if ($x367 != '') {
updateTimelineUpdatedDate($g35, $k17, $x367);
}
$b357 = implode(base64_decode('IA=='), $e352);
if ($b357 != '') {
updateITSMUpdatedDate($k17, $g35);
createITSMLogEntry($g35, $k17, $p8a, $b357);
$t18 = getITSMTypeName($k17);
$d6a = translate(base64_decode('VXBkYXRlZA==')) . base64_decode('IA==') . strtolower($t18) . base64_decode('IA==') . $g35;
$zb0 = base64_decode('PGI+') . translate(base64_decode('VXBkYXRlcw==')) . base64_decode('PGJyPjxicj4=') . $b357;
logActivity($g35, $k17, $d6a, $zb0, "javascript:javascript:viewITSM('$g35','$k17','1','modal');");
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlQ0k=')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$k301 = generateRandomString(15);
$j4f = "cmdb_ci_$k301";
$q2e = $_GET[base64_decode('Q0lOYW1l')];
$r36d = $_GET[base64_decode('Q0lEZXNjcmlwdGlvbg==')];
$oa = base64_decode('SU5TRVJUIElOVE8gY21kYl9jaXMgKE5hbWUsIFRhYmxlTmFtZSwgRGVzY3JpcHRpb24sIEdyb3VwSUQsIENyZWF0ZWRCeSwgTGFzdEVkaXRlZEJ5KSBWQUxVRVMgKD8sPyw/LCcxMDAwMTQnLD8sPyk7');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3NzaWk='), $q2e, $j4f, $r36d, $p8a, $p8a);
$sb->execute();
$d13 = $sb->get_result();
$w304 = mysqli_insert_id($zc);
$q36e = "ciid=$w304";
$n2db = "CREATE TABLE IF NOT EXISTS $j4f (
ID INT AUTO_INCREMENT,
PRIMARY KEY (ID));";
$p2dc = mysqli_query($zc, $n2db) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$k306 = "ALTER TABLE $j4f COMMENT = '$q36e';";
$p36f = mysqli_query($zc, $k306) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$w370 = getDefaultCMDBCIFields();
foreach ($w370 as $z5c => $r2a) {
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$p371 = $r2a[base64_decode('REJGaWVsZFR5cGU=')];
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$d299 = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$r372 = $r2a[base64_decode('UmVsYXRpb25TaG93RmllbGQ=')];
$h373 = $r2a[base64_decode('RmllbGRPcmRlcg==')];
$p374 = $r2a[base64_decode('RmllbGREZWZhdWx0VmFsdWU=')];
$u29c = $r2a[base64_decode('RGVmYXVsdEZpZWxk')];
$h375 = $r2a[base64_decode('RmllbGRXaWR0aA==')];
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$y2ed = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$v2ee = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3')];
$h56 = $r2a[base64_decode('U2VsZWN0RmllbGRPcHRpb25z')];
$h376 = $r2a[base64_decode('UmVzdWx0RmllbGRz')];
$g7c = $r2a[base64_decode('VXNlckZ1bGxOYW1l')];
$c377 = $r2a[base64_decode('SGlkZUZvcm1z')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
$f378 = $r2a[base64_decode('UmVxdWlyZWQ=')];
$z379 = $r2a[base64_decode('TG9ja2Vk')];
$q37a = $r2a[base64_decode('QWRkb24=')];
$a37b = $r2a[base64_decode('QWRkRW1wdHk=')];
$m37c = $r2a[base64_decode('RnVsbEhlaWdodA==')];
$t37d = $r2a[base64_decode('UmlnaHRDb2x1bW4=')];
$l37e = $r2a[base64_decode('TGFiZWxUeXBl')];
if ($h56 == base64_decode('ZmFsc2U=')) {
$h56 = '';
} else {
$h56 = $h56;
}
if ($m1a == base64_decode('TmFtZQ==')) {
$u29c = base64_decode('MA==');
}
alterTableAddColumn($j4f, $m1a, $p371);
insertCMDBFieldToFieldListTable($w304, $m1a, $d299, $r372, $p298, $h373, $p374, $h375, $u29c, $h56, $f29a, $g29b, $y2ed, $v2ee, $h376, $g7c, $c377, $t29e, $f378, $z379, $q37a, $a37b, $m37c, $t37d, $l37e);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTQ==')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$k301 = generateRandomString(15);
$j4f = "itsm_$k301";
$i333 = $_GET[base64_decode('SVRTTU5hbWU=')];
$i37f = $_GET[base64_decode('SVRTTURlc2NyaXB0aW9u')];
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV9tb2R1bGVzIChOYW1lLCBTaG9ydEVsZW1lbnROYW1lLCBUYWJsZU5hbWUsIERlc2NyaXB0aW9uLCBDcmVhdGVkQnksIExhc3RFZGl0ZWRCeSwgVHlwZUljb24sIERvbmVTdGF0dXMsIFR5cGUsIFNMQSwgQWN0aXZlLCBHcm91cElELCBNZW51UGFnZSkgVkFMVUVTICg/LD8sPyw/LD8sPywnZmEgZmEtcmV0d2VldCcsJzUnLCcxJywnMCcsJzEnLCcxMDAwMTQnLCdpdHNtX3RhYmxldmlldy5waHA/aWQ9Jyk=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc2lp'), $i333, $i333, $j4f, $i37f, $p8a, $p8a);
$sb->execute();
$d13 = $sb->get_result();
$w304 = mysqli_insert_id($zc);
$n2db = "CREATE TABLE IF NOT EXISTS $j4f (
ID INT AUTO_INCREMENT,
PRIMARY KEY (ID));";
$p2dc = mysqli_query($zc, $n2db);
$k306 = "ALTER TABLE $j4f COMMENT = '$mac';";
$p36f = mysqli_query($zc, $k306);
$w370 = getDefaultITSMFields();
foreach ($w370 as $z5c => $r2a) {
$m1a = $r2a[base64_decode('RmllbGROYW1l')];
$p371 = $r2a[base64_decode('REJGaWVsZFR5cGU=')];
$p298 = $r2a[base64_decode('RmllbGRUeXBl')];
$d299 = $r2a[base64_decode('RmllbGRMYWJlbA==')];
$r372 = $r2a[base64_decode('UmVsYXRpb25TaG93RmllbGQ=')];
$h373 = $r2a[base64_decode('RmllbGRPcmRlcg==')];
$r380 = $r2a[base64_decode('RmllbGRUaXRsZQ==')];
$p374 = $r2a[base64_decode('RmllbGREZWZhdWx0VmFsdWU=')];
$h375 = $r2a[base64_decode('RmllbGRXaWR0aA==')];
$u29c = base64_decode('MQ==');
$f29a = $r2a[base64_decode('TG9va3VwVGFibGU=')];
$g29b = $r2a[base64_decode('TG9va3VwRmllbGQ=')];
$y2ed = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRUYWJsZQ==')];
$v2ee = $r2a[base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3')];
$h56 = $r2a[base64_decode('U2VsZWN0RmllbGRPcHRpb25z')];
$h376 = $r2a[base64_decode('UmVzdWx0RmllbGRz')];
$g7c = $r2a[base64_decode('VXNlckZ1bGxOYW1l')];
$c377 = $r2a[base64_decode('SGlkZUZvcm1z')];
$t29e = $r2a[base64_decode('SGlkZVRhYmxlcw==')];
$f378 = $r2a[base64_decode('UmVxdWlyZWQ=')];
$z379 = $r2a[base64_decode('TG9ja2Vk')];
$q37a = $r2a[base64_decode('QWRkb24=')];
$a37b = $r2a[base64_decode('QWRkRW1wdHk=')];
$m37c = $r2a[base64_decode('RnVsbEhlaWdodA==')];
$t37d = $r2a[base64_decode('UmlnaHRDb2x1bW4=')];
$l37e = $r2a[base64_decode('TGFiZWxUeXBl')];
$a381 = $r2a[base64_decode('SW1wb3J0U291cmNlRmllbGQ=')];
$z382 = $r2a[base64_decode('U3luY1NvdXJjZUZpZWxk')];
$j4b = $r2a[base64_decode('UmVsYXRpb25zTG9va3Vw')];
$m383 = $r2a[base64_decode('SW5kZXhlZA==')];
alterTableAddColumn($j4f, $m1a, $p371);
insertITSMFieldToFieldListTable($w304, $m1a, $d299, $r372, $p298, $h373, $r380, $p374, $h375, $u29c, $h56, $f29a, $g29b, $y2ed, $v2ee, $h376, $g7c, $c377, $t29e, $f378, $z379, $q37a, $a37b, $m37c, $t37d, $l37e, $a381, $z382, $j4b, $m383);
}
}
if (isset($_GET[base64_decode('Y3JlYXRlRm9ybXNGaWVsZA==')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$q1d = $_POST[base64_decode('Rm9ybUlE')];
$h373 = $_POST[base64_decode('RmllbGRPcmRlcg==')];
$j4f = getFormTableName($q1d);
$z2e6 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$o49 = generateRandomNumber(8);
$m1a = base64_decode('Rm9ybUZpZWxk') . $o49;
array_push($z2e6, [base64_decode('bmFtZQ==') => base64_decode('UmVsYXRlZEZvcm1JRA=='), base64_decode('dmFsdWU=') => "$q1d"]);
array_push($z2e6, [base64_decode('bmFtZQ==') => base64_decode('RmllbGROYW1l'), base64_decode('dmFsdWU=') => "$m1a"]);
if ($h373 == '') {
$h373 = 1;
}
incrementExistingFormFieldOrder($q1d, $h373);
$oa = base64_decode('SU5TRVJUIElOVE8gZm9ybXNfZmllbGRzbGlzdCAo');
foreach ($z2e6 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
if ($y2c4 === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $y2c4 === base64_decode('TG9va3VwVGFibGUy') || $y2c4 === base64_decode('TG9va3VwRmllbGQy') || $j66 === base64_decode('UmVzdWx0RmllbGRz')) {
continue;
}
$oa .= "$y2c4,";
}
$oa .= base64_decode('KSBWQUxVRVMgKA==');
foreach ($z2e6 as $z5c => $r2a) {
$j66 = $r2a[base64_decode('bmFtZQ==')];
if ($j66 === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $j66 === base64_decode('TG9va3VwVGFibGUy') || $j66 === base64_decode('TG9va3VwRmllbGQy') || $j66 === base64_decode('UmVzdWx0RmllbGRz')) {
continue;
}
$q335 = mysqli_real_escape_string($zc, $r2a[base64_decode('dmFsdWU=')]);
switch ($j66) {
case base64_decode('RmllbGRUaXRsZQ=='):
$q335 = strip_tags($q335);
break;
default:
$q335 = mysqli_real_escape_string($zc, $r2a[base64_decode('dmFsdWU=')]);
}
if ($q335 == '') {
$oa .= base64_decode('TlVMTCw=');
} else {
$oa .= "'$q335',";
}
}
$oa .= base64_decode('KTs=');
$oa = str_replace(base64_decode('LCk='), base64_decode('KQ=='), $oa);
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$k306 = "ALTER TABLE $j4f ADD $m1a TEXT;";
$p36f = mysqli_query($zc, $k306);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlQ0lGaWVsZA==')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$h373 = $_POST[base64_decode('RmllbGRPcmRlcg==')];
$j4f = getCITableName($m10);
$z2e6 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$o49 = generateRandomNumber(8);
$m1a = base64_decode('Q0lGaWVsZA==') . $o49;
array_push($z2e6, [base64_decode('bmFtZQ==') => base64_decode('UmVsYXRlZENJVHlwZUlE'), base64_decode('dmFsdWU=') => "$m10"]);
array_push($z2e6, [base64_decode('bmFtZQ==') => base64_decode('RmllbGROYW1l'), base64_decode('dmFsdWU=') => "$m1a"]);
if ($h373 == '') {
$h373 = 1;
}
incrementExistingCIFieldOrder($m10, $h373);
$oa = base64_decode('SU5TRVJUIElOVE8gY21kYl9jaV9maWVsZHNsaXN0ICg=');
foreach ($z2e6 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
if ($y2c4 === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $y2c4 === base64_decode('TG9va3VwVGFibGUy') || $y2c4 === base64_decode('TG9va3VwRmllbGQy') || $j66 === base64_decode('UmVzdWx0RmllbGRz')) {
continue;
}
$oa .= "$y2c4,";
}
$oa .= base64_decode('KSBWQUxVRVMgKA==');
foreach ($z2e6 as $z5c => $r2a) {
$j66 = $r2a[base64_decode('bmFtZQ==')];
if ($j66 === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $j66 === base64_decode('TG9va3VwVGFibGUy') || $j66 === base64_decode('TG9va3VwRmllbGQy') || $j66 === base64_decode('UmVzdWx0RmllbGRz')) {
continue;
}
if ($j66 === base64_decode('SW5kZXhlZA==')) {
$m383 = 1;
}
$q335 = mysqli_real_escape_string($zc, $r2a[base64_decode('dmFsdWU=')]);
switch ($j66) {
case base64_decode('RmllbGRUaXRsZQ=='):
$q335 = strip_tags($q335);
break;
default:
$q335 = mysqli_real_escape_string($zc, $r2a[base64_decode('dmFsdWU=')]);
}
if ($q335 === base64_decode('b24=')) {
$q335 = base64_decode('MQ==');
}
if ($q335 == '') {
$oa .= base64_decode('TlVMTCw=');
} else {
$oa .= "'$q335',";
}
}
$oa .= base64_decode('KTs=');
$oa = str_replace(base64_decode('LCk='), base64_decode('KQ=='), $oa);
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$k306 = "ALTER TABLE $j4f ADD $m1a TEXT;";
$p36f = mysqli_query($zc, $k306);
if ($m383 === 1) {
alterTableAddFullTextToColumn($j4f, $m1a);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTUZpZWxk')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$h373 = $_POST[base64_decode('RmllbGRPcmRlcg==')];
$z2e6 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$j4f = getITSMTableName($k17);
$o49 = generateRandomNumber(8);
$m1a = base64_decode('SVRTTUZpZWxk') . $o49;
array_push($z2e6, [base64_decode('bmFtZQ==') => base64_decode('UmVsYXRlZFR5cGVJRA=='), base64_decode('dmFsdWU=') => "$k17"]);
array_push($z2e6, [base64_decode('bmFtZQ==') => base64_decode('RmllbGROYW1l'), base64_decode('dmFsdWU=') => "$m1a"]);
if ($h373 == '') {
$h373 = 1;
}
if ($h373 == '') {
$h373 = 1;
}
incrementExistingFieldOrder($k17, $h373);
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV9maWVsZHNsaXN0ICg=');
foreach ($z2e6 as $z5c => $r2a) {
$y2c4 = $r2a[base64_decode('bmFtZQ==')];
if ($y2c4 === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $y2c4 === base64_decode('TG9va3VwVGFibGUy') || $y2c4 === base64_decode('TG9va3VwRmllbGQy') || $j66 === base64_decode('UmVzdWx0RmllbGRz')) {
continue;
}
$oa .= "$y2c4,";
}
$oa .= base64_decode('KSBWQUxVRVMgKA==');
foreach ($z2e6 as $z5c => $r2a) {
$j66 = $r2a[base64_decode('bmFtZQ==')];
if ($j66 === base64_decode('U2VsZWN0RmllbGRPcHRpb24=') || $j66 === base64_decode('TG9va3VwVGFibGUy') || $j66 === base64_decode('TG9va3VwRmllbGQy') || $j66 === base64_decode('UmVzdWx0RmllbGRz')) {
continue;
}
if ($j66 === base64_decode('SW5kZXhlZA==')) {
$m383 = 1;
}
$q335 = mysqli_real_escape_string($zc, $r2a[base64_decode('dmFsdWU=')]);
switch ($j66) {
case base64_decode('RmllbGRUaXRsZQ=='):
$q335 = strip_tags($q335);
break;
default:
$q335 = mysqli_real_escape_string($zc, $r2a[base64_decode('dmFsdWU=')]);
}
if ($q335 === base64_decode('b24=')) {
$q335 = base64_decode('MQ==');
}
if ($q335 == '') {
$oa .= base64_decode('TlVMTCw=');
} else {
$oa .= "'$q335',";
}
}
$oa .= base64_decode('KTs=');
$oa = str_replace(base64_decode('LCk='), base64_decode('KQ=='), $oa);
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$k306 = "ALTER TABLE $j4f ADD $m1a TEXT;";
$p36f = mysqli_query($zc, $k306);
if ($m383 === 1) {
alterTableAddFullTextToColumn($j4f, $m1a);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTVN0YXR1cw==')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
}
$i279 = base64_decode('MA==');
$p8a = $_SESSION[base64_decode('aWQ=')];
$g35 = $_GET[base64_decode('SVRTTUlE')];
$y2f8 = $_GET[base64_decode('U3RhdHVzQ29kZQ==')];
$v78 = $_GET[base64_decode('U3RhdHVzTmFtZQ==')];
$i279 = $_GET[base64_decode('U0xBU3VwcG9ydGVk')];
$z1ed = $_GET[base64_decode('Q2xvc2VkU3RhdHVz')];
if ($i279 == base64_decode('b24=')) {
$i279 = base64_decode('MQ==');
}
if ($z1ed == base64_decode('b24=')) {
$z1ed = base64_decode('MQ==');
}
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV9zdGF0dXNjb2RlcyAoTW9kdWxlSUQsIFN0YXR1c0NvZGUsCVN0YXR1c05hbWUsIFNMQSkgDQogICAgICAgICAgVkFMVUVTICg/LD8sPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzcw=='), $g35, $y2f8, $v78, $i279);
$sb->execute();
$d13 = $sb->get_result();
if ($i279 == base64_decode('MQ==')) {
$a384 = $g35;
$hff = $y2f8;
$p385 = array(base64_decode('MQ==') => array(base64_decode('bWludXRlcw==') => array(15, 20, 30, 60)), base64_decode('Mg==') => array(base64_decode('bWludXRlcw==') => array(15, 30, 60, 120)), base64_decode('Mw==') => array(base64_decode('bWludXRlcw==') => array(30, 60, 120, 240)));
$u386 = base64_decode('SU5TRVJUIElOVE8gaXRzbV9zbGFfbWF0cml4IChSZWxhdGVkTW9kdWxlSUQsIFN0YXR1cywgU0xBLCBQMSwgUDIsIFAzLCBQNCkgVkFMVUVTICg/LCA/LCA/LCA/LCA/LCA/LCA/KQ==');
$b387 = mysqli_prepare($zc, $u386);
mysqli_stmt_bind_param($b387, base64_decode('aWlpaWlpaQ=='), $a384, $hff, $s388, $j389, $w38a, $u38b, $g38c);
foreach ($p385 as $s388 => $h354) {
$c38d = $h354[base64_decode('bWludXRlcw==')];
list($j389, $w38a, $u38b, $g38c) = $c38d;
$s388 = intval($s388);
mysqli_stmt_execute($b387);
}
}
$b387->close();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTVNMQQ==')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$g35 = $_GET[base64_decode('SVRTTUlE')];
$i38e = $_GET[base64_decode('UHJpb3JpdHkx')];
$w38f = $_GET[base64_decode('UHJpb3JpdHky')];
$b390 = $_GET[base64_decode('UHJpb3JpdHkz')];
$o391 = $_GET[base64_decode('UHJpb3JpdHk0')];
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV9zbGFfbWF0cml4IChSZWxhdGVkTW9kdWxlSUQsIFByaW9yaXR5MSwgUHJpb3JpdHkyLCBQcmlvcml0eTMsIFByaW9yaXR5NCkgDQogICAgICAgICAgVkFMVUVTICg/LD8sPyw/LD8pOw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nzc3M='), $g35, $i38e, $w38f, $b390, $o391);
$sb->execute();
$d13 = $sb->get_result();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlSVRTTUVtYWls')])) {
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$g35 = $_GET[base64_decode('SVRTTUlE')];
$g2fe = $_GET[base64_decode('SVRTTUVtYWls')];
$q2ff = $_GET[base64_decode('RGVmYXVsdEVtYWls')];
if ($q2ff == base64_decode('Mg==')) {
$q2ff = base64_decode('MA==');
}
$oa = base64_decode('SU5TRVJUIElOVE8gaXRzbV9lbWFpbHMgKEVtYWlsLCBEZWZhdWx0RW1haWwsIFJlbGF0ZWRJVFNNVHlwZUlEKSANCiAgICAgICAgICBWQUxVRVMgKD8sPyw/KTs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nz'), $g2fe, $q2ff, $g35);
$sb->execute();
$d13 = $sb->get_result();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0SVRTTUVtYWlscw==')])) {
if (!in_array(base64_decode('MTAwMDMx'), $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$u2e0 = array(base64_decode('ZXJyb3I=') => "You need to be a member of $rd");
echo json_encode($u2e0);
return;
}
$g35 = $_POST[base64_decode('SVRTTUlE')];
$oa = base64_decode('U0VMRUNUIEVtYWlsDQogICAgICAgICAgRlJPTSBpdHNtX2VtYWlscw0KICAgICAgICAgIFdIRVJFIFJlbGF0ZWRJVFNNVHlwZUlEID0gPw==');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
$sb->bind_param(base64_decode('aQ=='), $g35);
$sb->execute();
$d13 = $sb->get_result();
$m244 = array();
while ($l14 = $d13->fetch_assoc()) {
$m244[] = array(base64_decode('RW1haWw=') => $l14[base64_decode('RW1haWw=')]);
}
$u2e0 = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('RW1haWxz') => $m244);
echo json_encode($u2e0);
} else {
$u2e0 = array(base64_decode('ZXJyb3I=') => base64_decode('RXJyb3IgaW4gcHJlcGFyaW5nIFNRTCBzdGF0ZW1lbnQ='));
echo json_encode($u2e0);
}
}
if (isset($_GET[base64_decode('dXBkYXRlRm9ybXNOYW1l')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$c302 = mysqli_real_escape_string($zc, $_GET[base64_decode('Rm9ybXNOYW1l')]);
$q1d = $_GET[base64_decode('Zm9ybWlk')];
$n392 = $_GET[base64_decode('cHJldmFsdWU=')];
if (!empty($l393)) {
echo base64_decode('PHNjcmlwdD5hbGVydCgnTmF2biBla3Npc3RlcmVyIGFsbGVyZWRlJyk7PC9zY3JpcHQ+');
exit;
}
$oa = base64_decode('VVBEQVRFIGZvcm1zIFNFVCBGb3Jtc05hbWUgPSA/LCBMYXN0RWRpdGVkQnkgPSA/LCBMYXN0RWRpdGVkID0gTm93KCkgV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3Nz'), $c302, $p8a, $q1d);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlRm9ybXNEZXNjcmlwdGlvbg==')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1d = $_GET[base64_decode('Zm9ybWlk')];
$f1e = mysqli_real_escape_string($zc, $_GET[base64_decode('RGVzY3JpcHRpb24=')]);
$oa = base64_decode('VVBEQVRFIGZvcm1zIFNFVCBEZXNjcmlwdGlvbiA9ID8gV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $f1e, $q1d);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlRm9ybXNSZWxhdGVkV29ya0Zsb3c=')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1d = $_GET[base64_decode('Zm9ybWlk')];
$hb3 = $_GET[base64_decode('V29ya0Zsb3dJRA==')];
$oa = base64_decode('VVBEQVRFIGZvcm1zIFNFVCBSZWxhdGVkV29ya0Zsb3cgPSA/IFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $hb3, $q1d);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlQ0lEZXNjcmlwdGlvbg==')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1f = $_GET[base64_decode('Y2lpZA==')];
$f1e = mysqli_real_escape_string($zc, $_GET[base64_decode('RGVzY3JpcHRpb24=')]);
$oa = base64_decode('VVBEQVRFIGNtZGJfY2lzIFNFVCBEZXNjcmlwdGlvbiA9ID8gV0hFUkUgSUQgPSA/Ow==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $f1e, $q1f);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlRm9ybXNNb2R1bGU=')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1d = $_GET[base64_decode('Zm9ybWlk')];
$m116 = $_GET[base64_decode('UmVsYXRlZE1vZHVsZQ==')];
$oa = base64_decode('VVBEQVRFIGZvcm1zIFNFVCBSZWxhdGVkTW9kdWxlSUQgPSA/IFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $m116, $q1d);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlRm9ybVN0YXR1cw==')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1d = $_GET[base64_decode('Zm9ybWlk')];
$l7 = $_GET[base64_decode('QWN0aXZl')];
$oa = base64_decode('VVBEQVRFIGZvcm1zIFNFVCBBY3RpdmUgPSA/IFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $l7, $q1d);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('dXBkYXRlQ0lTdGF0dXM=')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1f = $_GET[base64_decode('Y2lpZA==')];
$l7 = $_GET[base64_decode('QWN0aXZl')];
$oa = "UPDATE cmdb_cis SET Active = '$l7' WHERE ID = $q1f;";
mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
}
if (isset($_GET[base64_decode('dXBkYXRlQ0lOYW1l')])) {
if (in_array(base64_decode('MTAwMDE1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q1f = $_GET[base64_decode('Y2lpZA==')];
$j66 = $_GET[base64_decode('TmFtZQ==')];
$oa = base64_decode('VVBEQVRFIGNtZGJfY2lzIFNFVCBOYW1lID0gPyBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $j66, $q1f);
$sb->execute();
$d13 = $sb->get_result();
}
if (isset($_GET[base64_decode('ZHVwbGljYXRlRm9ybQ==')])) {
if (in_array(base64_decode('MTAwMDI5'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI5'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$m2f5 = 0;
$q1d = $_GET[base64_decode('Rm9ybUlE')];
$g394 = strtolower($_GET[base64_decode('VGFibGVOYW1l')]);
$k301 = generateRandomString(15);
$s395 = "formstable_$k301";
$l393 = checkIfFormsTableNameExists($s395);
while (!empty($l393)) {
$s395 = $s395 . $m2f5;
$l393 = checkIfFormsTableNameExists($s395);
$m2f5 = $m2f5 + 1;
}
$oa = "INSERT INTO Forms(FormsName, TableName, Description, CreatedBy, Created, LastEditedBy, LastEdited, Active, Forms.Status)
SELECT FormsName, '$s395' AS TableName, Description, CreatedBy, Created, LastEditedBy, LastEdited, Active, Forms.Status
FROM Forms
WHERE ID = ?;";
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aQ=='), $q1d);
$sb->execute();
$d13 = $sb->get_result();
$w304 = mysqli_insert_id($zc);
$e305 = "formid=$w304";
$oa = "INSERT INTO forms_fieldslist(RelatedFormID, FieldName, FieldLabel, FieldType, FieldOrder, FieldDefaultValue, FieldTitle, SelectFieldOptions)
SELECT '$w304', FieldName, FieldLabel, FieldType, FieldOrder, FieldDefaultValue, FieldTitle, SelectFieldOptions
FROM forms_fieldslist
WHERE RelatedFormID = ?;";
$k185 = mysqli_prepare($zc, $oa);
$k185->bind_param(base64_decode('aQ=='), $q1d);
$k185->execute();
$d13 = $k185->get_result();
mysqli_stmt_close($k185);
createDuplicateFormsFieldTable($g394, $s395);
$k306 = "ALTER TABLE $s395 COMMENT = '$e305';";
$p36f = mysqli_query($zc, $k306) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZHVwbGljYXRlV29ya0Zsb3c=')])) {
if (in_array(base64_decode('MTAwMDIz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$m2f5 = 0;
$i1d0 = $_GET[base64_decode('V0ZJRA==')];
$oa = base64_decode('SU5TRVJUIElOVE8gd29ya2Zsb3dzX3RlbXBsYXRlKFdvcmtmbG93TmFtZSwgRGVzY3JpcHRpb24sIFJlc3BvbnNpYmxlLCBSZWxhdGVkTW9kdWxlSUQsIEFjdGl2ZSkNCiAgICAgICAgICBTRUxFQ1QgV29ya2Zsb3dOYW1lLCBEZXNjcmlwdGlvbiwgUmVzcG9uc2libGUsIFJlbGF0ZWRNb2R1bGVJRCwgQWN0aXZlDQogICAgICAgICAgRlJPTSB3b3JrZmxvd3NfdGVtcGxhdGUNCiAgICAgICAgICBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $i1d0);
$sb->execute();
$w304 = mysqli_insert_id($zc);
$oa = "INSERT INTO workflowsteps_template(RelatedWorkFlowID, StepOrder, StepName, Description, RelatedUserID)
SELECT $w304, StepOrder, StepName, Description, RelatedUserID
FROM workflowsteps_template
WHERE RelatedWorkFlowID = ?;";
$k185 = mysqli_prepare($zc, $oa);
$k185->bind_param(base64_decode('cw=='), $i1d0);
$k185->execute();
$fe[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($fe);
}
if (isset($_GET[base64_decode('ZHVwbGljYXRlV29ya0Zsb3dUYXNr')])) {
if (in_array(base64_decode('MTAwMDIz'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIz'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$m2f5 = 0;
$f1cf = $_GET[base64_decode('V0ZUQVNLSUQ=')];
$oa = base64_decode('SU5TRVJUIElOVE8gd29ya2Zsb3dzdGVwc190ZW1wbGF0ZShSZWxhdGVkV29ya0Zsb3dJRCwgU3RlcE9yZGVyLCBTdGVwTmFtZSwgRGVzY3JpcHRpb24sIFJlbGF0ZWRVc2VySUQpDQogICAgICAgICAgU0VMRUNUIFJlbGF0ZWRXb3JrRmxvd0lELCBTdGVwT3JkZXIsIFN0ZXBOYW1lLCBEZXNjcmlwdGlvbiwgUmVsYXRlZFVzZXJJRA0KICAgICAgICAgIEZST00gd29ya2Zsb3dzdGVwc190ZW1wbGF0ZQ0KICAgICAgICAgIFdIRVJFIElEID0gPzs=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $f1cf);
$sb->execute();
$fe[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($fe);
}
if (isset($_GET[base64_decode('ZHVwbGljYXRlQ0k=')])) {
$fe = [];
if (!in_array(base64_decode('MTAwMDE1'), $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDE1'));
$fe[] = [base64_decode('ZXJyb3I=') => "You need to be a member of $rd"];
echo json_encode($fe);
return;
}
$m2f5 = 0;
$q1f = $_GET[base64_decode('Q0lJRA==')];
$g394 = strtolower($_GET[base64_decode('VGFibGVOYW1l')]);
$k301 = generateRandomString(15);
$s395 = "cmdb_ci_$k301";
$l393 = checkIfFormsTableNameExists($s395);
while (!empty($l393)) {
$s395 = $s395 . $m2f5;
$l393 = checkIfFormsTableNameExists($s395);
$m2f5++;
}
$l2da = "INSERT INTO cmdb_cis(Name, TableName, Description, CreatedBy, Created, LastEditedBy, LastEdited, Active, GroupID)
SELECT Name, '$s395' AS TableName, Description, CreatedBy, Created, LastEditedBy, LastEdited, Active, GroupID
FROM cmdb_cis
WHERE ID = ?";
if ($c183 = mysqli_prepare($zc, $l2da)) {
$c183->bind_param(base64_decode('cw=='), $q1f);
$c183->execute();
} else {
die(base64_decode('RmFpbGVkIHRvIHByZXBhcmUgc3RhdGVtZW50OiA=') . mysqli_error($zc));
}
$w304 = mysqli_insert_id($zc);
$q36e = "ciid=$w304";
$n2db = base64_decode('SU5TRVJUIElOVE8gY21kYl9jaV9maWVsZHNsaXN0KFJlbGF0ZWRDSVR5cGVJRCwgRmllbGROYW1lLCBGaWVsZExhYmVsLCBGaWVsZFR5cGUsIEZpZWxkT3JkZXIsIEZpZWxkRGVmYXVsdFZhbHVlLCBGaWVsZFRpdGxlLCBGaWVsZFdpZHRoLCBTZWxlY3RGaWVsZE9wdGlvbnMsIFJlbGF0aW9uU2hvd0ZpZWxkLCBJbXBvcnRTb3VyY2VGaWVsZCwgU3luY1NvdXJjZUZpZWxkLCBSZWxhdGlvbnNMb29rdXAsIEhpZGVGb3JtcywgSGlkZVRhYmxlcywgUmVxdWlyZWQsIExvY2tlZCwgQWRkb24pDQogICAgICAgICAgU0VMRUNUID8sIEZpZWxkTmFtZSwgRmllbGRMYWJlbCwgRmllbGRUeXBlLCBGaWVsZE9yZGVyLCBGaWVsZERlZmF1bHRWYWx1ZSwgRmllbGRUaXRsZSwgRmllbGRXaWR0aCwgU2VsZWN0RmllbGRPcHRpb25zLCBSZWxhdGlvblNob3dGaWVsZCwgSW1wb3J0U291cmNlRmllbGQsIFN5bmNTb3VyY2VGaWVsZCwgUmVsYXRpb25zTG9va3VwLCBIaWRlRm9ybXMsIEhpZGVUYWJsZXMsIFJlcXVpcmVkLCBMb2NrZWQsIEFkZG9uDQogICAgICAgICAgRlJPTSBjbWRiX2NpX2ZpZWxkc2xpc3QNCiAgICAgICAgICBXSEVSRSBSZWxhdGVkQ0lUeXBlSUQgPSA/');
if ($k185 = mysqli_prepare($zc, $n2db)) {
$k185->bind_param(base64_decode('c3M='), $w304, $q1f);
$k185->execute();
} else {
die(base64_decode('RmFpbGVkIHRvIHByZXBhcmUgc3RhdGVtZW50OiA=') . mysqli_error($zc));
}
createDuplicateFormsFieldTable($g394, $s395);
$k306 = "ALTER TABLE $s395 COMMENT = '$q36e'";
if (!mysqli_query($zc, $k306)) {
die(base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc));
}
}
if (isset($_GET[base64_decode('ZHVwbGljYXRlSVRTTQ==')])) {
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
if (in_array(base64_decode('MTAwMDMx'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDMx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
duplicateITSM($i16, $k17);
}
if (isset($_GET[base64_decode('Z2V0UmVxdWVzdHM=')])) {
$k17 = $_GET[base64_decode('Z2V0UmVxdWVzdHM=')];
$oa = base64_decode('U0VMRUNUIGZvcm1zLklEIEFTIEZvcm1JRCwgZm9ybXMuRm9ybXNOYW1lLCBmb3Jtcy5EZXNjcmlwdGlvbg0KICAgICAgICAgIEZST00gZm9ybXMNCiAgICAgICAgICBXSEVSRSBBY3RpdmUgPSAxIEFORCBTdGF0dXMgPSAxIEFORCBmb3Jtcy5SZWxhdGVkTW9kdWxlSUQgPSA/DQogICAgICAgICAgT1JERVIgQlkgZm9ybXMuRm9ybXNOYW1lIEFTQw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $k17);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$q1d = $l14[base64_decode('Rm9ybUlE')];
$c302 = $l14[base64_decode('Rm9ybXNOYW1l')];
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$j396 = "<a href=\"javascript:getRequestDefinition($q1d,'');\" title=\"$f1e\">$c302</a>";
$fe[] = array(base64_decode('UmVxdWVzdExpbms=') => $j396);
}
echo json_encode($fe);
}
if (isset($_GET[base64_decode('Z2V0UmVxdWVzdERlZmluaXRpb24=')])) {
$q1d = $_GET[base64_decode('Rm9ybUlE')];
$m397 = base64_decode('PGRpdiBjbGFzcz0iY2FyZCI+PGRpdiBjbGFzcz0iY2FyZC1ib2R5Ij48ZGl2IGNsYXNzPSJyb3ciPjxoNiBpZD0iY3JlYXRlRm9ybXNOYW1lIj48L2g2Pg==');
$c302 = getFormsName($q1d);
$oa = base64_decode('U0VMRUNUIEZvcm1zX2ZpZWxkc2xpc3QuRmllbGROYW1lLCBGb3Jtc19maWVsZHNsaXN0LkZpZWxkTGFiZWwsIEZvcm1zX2ZpZWxkc2xpc3RfdHlwZXMuRGVmaW5pdGlvbiwgRm9ybXNfZmllbGRzbGlzdC5GaWVsZERlZmF1bHRWYWx1ZSwgRm9ybXNfZmllbGRzbGlzdC5maWVsZHRpdGxlLCANCiAgICAgICAgICBGb3Jtc19maWVsZHNsaXN0LlNlbGVjdEZpZWxkT3B0aW9ucywgRm9ybXNfZmllbGRzbGlzdC5GaWVsZFdpZHRoLCBmb3Jtc19maWVsZHNsaXN0Lkxvb2t1cFRhYmxlLCBmb3Jtc19maWVsZHNsaXN0Lkxvb2t1cEZpZWxkLCBmb3Jtc19maWVsZHNsaXN0Lkxvb2t1cEZpZWxkUmVzdWx0Vmlldyxmb3Jtc19maWVsZHNsaXN0LkhpZGVGb3Jtcyxmb3Jtc19maWVsZHNsaXN0LlJlcXVpcmVkLGZvcm1zX2ZpZWxkc2xpc3QuTG9ja2VkLCBmb3Jtc19maWVsZHNsaXN0LkFkZG9uLCBmb3Jtc19maWVsZHNsaXN0LkFkZEVtcHR5LCBmb3Jtc19maWVsZHNsaXN0LkZ1bGxIZWlnaHQNCiAgICAgICAgICBGUk9NIEZvcm1zDQogICAgICAgICAgTEVGVCBKT0lOIEZvcm1zX2ZpZWxkc2xpc3QgT04gRm9ybXMuSUQgPSBGb3Jtc19maWVsZHNsaXN0LlJlbGF0ZWRGb3JtSUQNCiAgICAgICAgICBMRUZUIEpPSU4gRm9ybXNfZmllbGRzbGlzdF90eXBlcyBPTiBGb3Jtc19maWVsZHNsaXN0LkZpZWxkVHlwZSA9IEZvcm1zX2ZpZWxkc2xpc3RfdHlwZXMuSUQNCiAgICAgICAgICBXSEVSRSBGb3Jtcy5JRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBGb3Jtc19maWVsZHNsaXN0LkZpZWxkT3JkZXIgQVND');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $q1d);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$f29a = $l14[base64_decode('TG9va3VwVGFibGU=')];
$g29b = base64_decode('SUQ=');
$j29d = $l14[base64_decode('TG9va3VwRmllbGRSZXN1bHRWaWV3')];
$g28e = $l14[base64_decode('RmllbGRMYWJlbA==')];
$m1a = $l14[base64_decode('RmllbGROYW1l')];
$p374 = $l14[base64_decode('RmllbGREZWZhdWx0VmFsdWU=')];
$r380 = $l14[base64_decode('ZmllbGR0aXRsZQ==')];
$a37b = $l14[base64_decode('QWRkRW1wdHk=')];
$m37c = $l14[base64_decode('RnVsbEhlaWdodA==')];
$h56 = $l14[base64_decode('U2VsZWN0RmllbGRPcHRpb25z')];
$h375 = $l14[base64_decode('RmllbGRXaWR0aA==')];
$c377 = $l14[base64_decode('SGlkZUZvcm1z')];
$q37a = $l14[base64_decode('QWRkb24=')];
if ($q37a) {
$x398 = getModuleFieldAddonBtn($q37a);
$x398 = str_replace(base64_decode('PDpGaWVsZE5hbWU6Pg=='), $m1a, $x398);
} else {
$x398 = '';
}
if ($c377 == base64_decode('MQ==')) {
continue;
}
if ($m37c == base64_decode('MQ==')) {
$n399 = base64_decode('MTAwJQ==');
} else {
$n399 = base64_decode('MjUwcHg=');
}
$f378 = $l14[base64_decode('UmVxdWlyZWQ=')];
if ($f378 == base64_decode('MQ==')) {
$f378 = base64_decode('cmVxdWlyZWQ=');
$o39a = base64_decode('PGNvZGU+KjwvY29kZT4=');
} else {
$f378 = '';
$o39a = '';
}
$m397 .= $l14[base64_decode('RGVmaW5pdGlvbg==')];
$m397 = str_replace(base64_decode('PDpmaWVsZG5hbWU6Pg=='), $m1a, $m397);
$m397 = str_replace(base64_decode('PDpmaWVsZHZhbHVlOj4='), $p374, $m397);
$m397 = str_replace(base64_decode('PDpmaWVsZGlkOj4='), $m1a, $m397);
$m397 = str_replace(base64_decode('PDpsYWJlbDo+'), $g28e, $m397);
$m397 = str_replace(base64_decode('PDpmaWVsZHRpdGxlOj4='), $r380, $m397);
$m397 = str_replace(base64_decode('PDpyZXF1aXJlZDo+'), $f378, $m397);
$m397 = str_replace(base64_decode('PDpyZXF1aXJlZGxhYmVsOj4='), $o39a, $m397);
$m397 = str_replace(base64_decode('PDpMb2NrZWQ6Pg=='), $z379, $m397);
$m397 = str_replace(base64_decode('PDphZGRvbkJ0bjo+'), base64_decode('IA==') . $x398, $m397);
$m397 = str_replace(base64_decode('PDpmaWVsZHdpZHRoOj4='), $h375, $m397);
$m397 = str_replace(base64_decode('PDpoZWlnaHQ6Pg=='), $n399, $m397);
if (!empty($f29a)) {
$h56 = '';
$h56 = getFormsLookupTableSelectOptions($f29a, $g29b, $j29d, $q1d, $m1a, $a37b);
}
$m397 = str_replace(base64_decode('PDpzZWxlY3RvcHRpb25zOj4='), $h56, $m397);
}
$m397 .= base64_decode('PC9kaXY+PC9kaXY+PC9kaXY+PGRpdiBjbGFzcz0icm93Ij48YnI+PC9kaXY+');
$fe[] = array(base64_decode('RGVmaW5pdGlvbg==') => $m397, base64_decode('Rm9ybUlE') => $q1d, base64_decode('Rm9ybXNOYW1l') => $c302);
mysqli_free_result($d13);
echo json_encode($fe);
}
if (isset($_GET[base64_decode('dXBkYXRlRm9ybUZpZWxkVmFsdWU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$q1d = $_GET[base64_decode('Zm9ybWlk')];
$u39b = getFormModuleID($q1d);
$s119 = json_decode($_GET[base64_decode('anNvblN0cmluZw==')], true);
$d39c = $_GET[base64_decode('UmVxdWVzdGVy')];
$t39d = $_GET[base64_decode('QnVzaW5lc3NTZXJ2aWNl')];
$v24b = $_GET[base64_decode('UHJpb3JpdHk=')];
$s39e = $_GET[base64_decode('UmVzcG9uc2libGVUZWFt')];
$h39f = $_GET[base64_decode('UmVzcG9uc2libGU=')];
$c3a0 = $_GET[base64_decode('UmVxdWVzdElE')];
$z3a1 = $_GET[base64_decode('aW1nRGF0YQ==')];
$u8c = 0;
$j4f = getTableNameFromFormID($q1d);
foreach ($s119 as $l14) {
$l202 = $l14[base64_decode('ZmllbGRuYW1l')];
$i3a2 = $l14[base64_decode('dmFsdWU=')];
if (empty($i3a2)) {
$i3a2 = '';
}
if ($u8c == 0) {
$oa = "INSERT INTO $j4f ($l202) VALUES ('$i3a2');";
$d13 = mysqli_query($zc, $oa);
$w3a3 = mysqli_insert_id($zc);
$u8c = $u8c + 1;
} else {
$oa = "UPDATE $j4f SET $l202 = '$i3a2' WHERE ID = $w3a3;";
$d13 = mysqli_query($zc, $oa);
}
}
if ($u39b == base64_decode('MTY=')) {
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('bm90YXJlcXVlc3Q='));
echo json_encode($t1b9);
exit;
}
$q4 = $p8a;
if (empty($d39c)) {
$d39c = $p8a;
}
if (empty($t39d)) {
$t39d = base64_decode('LTE=');
}
if (empty($v24b)) {
$v24b = base64_decode('Mg==');
}
if (empty($s39e)) {
$s39e = base64_decode('LTE=');
}
if (empty($h39f)) {
$h39f = base64_decode('LTE=');
}
if (empty($s39e)) {
$s39e = base64_decode('LTE=');
}
if (empty($c3a0)) {
$c3a0 = base64_decode('MA==');
}
$s3a4 = getFormNameFromFormID($q1d);
$o3a5 = '';
$r3a6 = '';
$c3a0 = createNewRequestFromFormView($c3a0, $q1d, $w3a3, $q4, $d39c, $t39d, $s3a4, $o3a5, $v24b, $s39e, $h39f, $r3a6);
updateRelatedRequestOnFormFieldRecord($j4f, $w3a3, $c3a0);
if (empty($c3a0)) {
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='));
echo json_encode($t1b9);
exit;
} else {
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
exit;
}
}
if (isset($_GET[base64_decode('Z2V0UmVxdWVzdEluZm9ybWF0aW9u')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$c3a0 = $_GET[base64_decode('UmVxdWVzdElE')];
$oa = base64_decode('U0VMRUNUIFJlcXVlc3RzLklEIEFTIFJlcXVlc3RJRCwgRGF0ZUNyZWF0ZWQsIFN1YmplY3QsIFJlbGF0ZWRDb21wYW55SUQsIGNvbXBhbmllcy5Db21wYW55bmFtZSBBUyBDb21wYW55bmFtZSwgUmVxdWVzdHMuVHlwZSwgUHJvYmxlbVRleHQsIFJlc3BvbnNpYmxlVGVhbSwgUmVxdWVzdHMuU29sdXRpb25UZXh0LCBSZXF1ZXN0cy5SZWxhdGVkRm9ybUlELCBSZXF1ZXN0cy5SZWxhdGVkRm9ybVRhYmxlUm93SUQsDQogICAgICAgIFJlc3BvbnNpYmxlLCBQcmlvcml0eSwgU3RhdHVzLCBDT05DQVQodXNlcnMuRmlyc3RuYW1lLCcgJyx1c2Vycy5MYXN0bmFtZSkgQVMgQ3VzdG9tZXJOYW1lLCBSZXF1ZXN0cy5SZWxhdGVkQ3VzdG9tZXJJRCBhcyBDdXN0b21lcklELCANCiAgICAgICAgdXNlcnMuQ29tcGFueUlEIGFzIEN1c3RvbWVyQ29tcGFueUlELCB1c2Vycy5QaG9uZSBBUyBDdXN0b21lclBob25lLCBSZXF1ZXN0c3RhdHVzY29kZXMuU3RhdHVzTmFtZSBBUyBTdGF0dXNOYW1lLCBDb21wYW5pZXMuUGhvbmUgQVMgQ29tcGFueVBob25lLCBSZXF1ZXN0cy5SZWxhdGVkQnVzaW5lc3NTZXJ2aWNlDQogICAgICAgIEZST00gUmVxdWVzdHMgDQogICAgICAgIExFRlQgSk9JTiBDb21wYW5pZXMgT04gUmVxdWVzdHMuUmVsYXRlZENvbXBhbnlJRCA9IENvbXBhbmllcy5JRA0KICAgICAgICBMRUZUIEpPSU4gdXNlcnMgT04gUmVxdWVzdHMuUmVsYXRlZEN1c3RvbWVySUQgPSB1c2Vycy5JRA0KICAgICAgICBMRUZUIEpPSU4gUmVxdWVzdHN0YXR1c2NvZGVzIE9OIFJlcXVlc3RzLlN0YXR1cyA9IFJlcXVlc3RzdGF0dXNjb2Rlcy5JRA0KICAgICAgICBXSEVSRSBSZXF1ZXN0cy5JRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $c3a0);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$l3a7 = $l14[base64_decode('RGF0ZUNyZWF0ZWQ=')];
$r3a8 = $l14[base64_decode('U3ViamVjdA==')];
$g3a9 = $l14[base64_decode('UmVsYXRlZENvbXBhbnlJRA==')];
$h3aa = $l14[base64_decode('Q29tcGFueW5hbWU=')];
$a3ab = $l14[base64_decode('VHlwZQ==')];
$e3ac = $l14[base64_decode('UHJvYmxlbVRleHQ=')];
$o3ad = $l14[base64_decode('UmVzcG9uc2libGVUZWFt')];
$u3ae = $l14[base64_decode('UmVzcG9uc2libGU=')];
$r3af = $l14[base64_decode('UmVzcG9uc2libGU=')];
$o3b0 = $l14[base64_decode('UHJpb3JpdHk=')];
$e3b1 = $l14[base64_decode('U3RhdHVz')];
$k3b2 = $l14[base64_decode('U3RhdHVzTmFtZQ==')];
$v3b3 = $l14[base64_decode('Q3VzdG9tZXJOYW1l')];
$b3b4 = $l14[base64_decode('Q3VzdG9tZXJJRA==')];
$b3b5 = $l14[base64_decode('Q3VzdG9tZXJQaG9uZQ==')];
$w3b6 = $l14[base64_decode('Q3VzdG9tZXJDb21wYW55SUQ=')];
$p3b7 = $l14[base64_decode('Q29tcGFueVBob25l')];
$x3b8 = $l14[base64_decode('U29sdXRpb25UZXh0')];
$q3b9 = $l14[base64_decode('UmVsYXRlZEJ1c2luZXNzU2VydmljZQ==')];
$h3ba = $l14[base64_decode('UmVsYXRlZEZvcm1JRA==')];
$p3bb = $l14[base64_decode('UmVsYXRlZEZvcm1UYWJsZVJvd0lE')];
}
$m397 .= base64_decode('PGRpdiBjbGFzcz0iY29sLWxnLTYgY29sLW1kLTYgY29sLXNtLTEyIGNvbC14cy0xMiI+DQogICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9ImlucHV0LWdyb3VwIGlucHV0LWdyb3VwLXN0YXRpYyBtYi00Ij4NCiAgICAgICAgICAgICAgICAgICAgICA8bGFiZWwgZm9yPSJSZXF1ZXN0Q29tcGFueSI+') . _(base64_decode('Q29tcGFueQ==')) . "</label>
<input type=\"text\" class=\"form-control\" id=\"RequestCompany\" value=\"$h3aa\" readonly=\"readonly\">
</div>
</div>";
$m397 .= base64_decode('PGRpdiBjbGFzcz0iY29sLWxnLTYgY29sLW1kLTYgY29sLXNtLTEyIGNvbC14cy0xMiI+DQogICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9ImlucHV0LWdyb3VwIGlucHV0LWdyb3VwLXN0YXRpYyBtYi00Ij4NCiAgICAgICAgICAgICAgICAgICAgICA8bGFiZWwgZm9yPSJSZXF1ZXN0Q3VzdG9tZXIiPg==') . _(base64_decode('Q3VzdG9tZXI=')) . "</label>
<input type=\"text\" class=\"form-control\" id=\"RequestCustomer\" value=\"$v3b3\" readonly=\"readonly\">
</div>
</div>";
$w28d = getTableNameFromFormID($h3ba);
$oa = base64_decode('U0VMRUNUIGZvcm1zX2ZpZWxkc2xpc3QuRmllbGROYW1lLCBmb3Jtc19maWVsZHNsaXN0LkxhYmVsLCBmb3Jtc19maWVsZHNsaXN0X3R5cGVzLkRlZmluaXRpb24sIGZvcm1zX2ZpZWxkc2xpc3QuRmllbGRUeXBlLCBGb3Jtc19maWVsZHNsaXN0LkZpZWxkRGVmYXVsdFZhbHVlLCBGb3Jtc19maWVsZHNsaXN0LmZpZWxkdGl0bGUsIEZvcm1zX2ZpZWxkc2xpc3QuU2VsZWN0RmllbGRPcHRpb25zLCBGb3Jtc19maWVsZHNsaXN0LkZpZWxkV2lkdGgNCiAgICAgICAgICBGUk9NIGZvcm1zDQogICAgICAgICAgTEVGVCBKT0lOIGZvcm1zX2ZpZWxkc2xpc3QgT04gZm9ybXMuSUQgPSBmb3Jtc19maWVsZHNsaXN0LlJlbGF0ZWRGb3JtSUQNCiAgICAgICAgICBMRUZUIEpPSU4gZm9ybXNfZmllbGRzbGlzdF90eXBlcyBPTiBmb3Jtc19maWVsZHNsaXN0LkZpZWxkVHlwZSA9IGZvcm1zX2ZpZWxkc2xpc3RfdHlwZXMuSUQNCiAgICAgICAgICBXSEVSRSBGb3Jtcy5JRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBGaWVsZE9yZGVyIEFTQw==');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('cw=='), $h3ba);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$p298 = $l14[base64_decode('RmllbGRUeXBl')];
$u3bc = $l14[base64_decode('RmllbGROYW1l')];
$r3bd = getRequestFormFieldValue($w28d, $u3bc, $p3bb);
if ($r3bd == base64_decode('TlVMTA==')) {
$r3bd = '';
}
$p374 = $l14[base64_decode('RmllbGREZWZhdWx0VmFsdWU=')];
$r380 = $l14[base64_decode('ZmllbGR0aXRsZQ==')];
$h56 = $l14[base64_decode('U2VsZWN0RmllbGRPcHRpb25z')];
$h375 = $l14[base64_decode('RmllbGRXaWR0aA==')];
$g28e = $l14[base64_decode('TGFiZWw=')];
switch ($p298) {
case 2:
$m397 .= "<div class=\"col-lg-$h375 col-md-$h375 col-sm-12 col-xs-12\">
<div class=\"input-group input-group-static mb-4\"><label for=\"$u3bc\" title=\"$r380\">$g28e</label>
<textarea class=\"resizable_textarea form-control\" id=\"$u3bc\" name=\"$u3bc\" title=\"$r380\" rows=\"5\" autocomplete=\"off\" readonly=\"readonly\">$r3bd</textarea>
</div>
</div>";
break;
case 3:
$m397 .= "<div class=\"col-lg-$h375 col-md-$h375 col-sm-12 col-xs-12\">
<div class=\"input-group input-group-static mb-4\">
<label for=\"$u3bc\">$g28e</label>
<input type=\"checkbox\" name=\"$u3bc\" id=\"$u3bc\" onclick=\"return false;\"></input>
</div>
</div>";
break;
case 5:
$m397 .= "<div class=\"col-lg-$h375 col-md-$h375 col-sm-12 col-xs-12\">
<div class=\"input-group input-group-static mb-4\">
<label for=\"$u3bc\" title=\"$r380\">$g28e</label>
<input type=\"datetime-local\" class=\"form-control\" id=\"$u3bc\" value=\"$r3bd\" readonly=\"readonly\">
</div>
</div>";
break;
default:
$m397 .= "<div class=\"col-lg-$h375 col-md-$h375 col-sm-12 col-xs-12\">
<div class=\"input-group input-group-static mb-4\">
<label for=\"$u3bc\" title=\"$r380\">$g28e</label>
<input type=\"text\" class=\"form-control\" id=\"$u3bc\" value=\"$r3bd\" readonly=\"readonly\">
</div>
</div>";
}
}
if (empty($c3a0)) {
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='));
} else {
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('RGVmaW5pdGlvbg==') => $m397, base64_decode('UmVxdWVzdElE') => $c3a0);
}
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('dXBkYXRlQmFzZURCVmVyc2lvbg==')])) {
if (!in_array(base64_decode('MTAwMDAw'), $p0)) {
echo base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE=');
return;
}
$w3be = $_GET[base64_decode('ZmlsZQ==')];
$l2da = base64_decode('RFJPUCBEQVRBQkFTRSBJRiBFWElTVFMgcHJhY3RpY2xlX2Jhc2U7');
$d13 = mysqli_query($zc, $l2da);
$n2db = base64_decode('Q1JFQVRFIERBVEFCQVNFIElGIE5PVCBFWElTVFMgcHJhY3RpY2xlX2Jhc2UgQ09MTEFURSB1dGY4bWIzX2RhbmlzaF9jaTs=');
$d13 = mysqli_query($zc, $n2db);
$m3bf = base64_decode('cHJhY3RpY2xlX2Jhc2U=');
$d3c0 = mysqli_connect($n3c1, $l3c2, $o3c3, $m3bf);
$n3c4 = '';
$x3c5 = file_get_contents($w3be);
$s3c6 = preg_split(base64_decode('Lztccypccj9cbi8='), $x3c5);
$t3c7 = true;
try {
foreach ($s3c6 as $oa) {
$oa = trim($oa, base64_decode('Ow0K'));
if ($oa === '') {
continue;
}
if (strpos($oa, base64_decode('Q1JFQVRFIFRBQkxF')) !== false) {
$t3c7 = false;
}
if ($t3c7) {
continue;
}
if (strpos($oa, base64_decode('Q09NTUlU')) !== false || strpos($oa, base64_decode('U0VUIENPTExBVElPTl9DT05ORUNUSU9OPUBPTERfQ09MTEFUSU9OX0NPTk5FQ1RJT04=')) !== false || strpos($oa, base64_decode('U0VUIENIQVJBQ1RFUl9TRVRfQ0xJRU5UPUBPTERfQ0hBUkFDVEVSX1NFVF9DTElFTlQ=')) !== false) {
continue;
}
$d13 = mysqli_query($d3c0, $oa);
if (!$d13) {
$m1b = mysqli_error($d3c0);
throw new Exception($m1b);
}
}
mysqli_close($d3c0);
$t1b9[] = array(base64_decode('cmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
} catch (Exception $s15) {
$m1b = $s15->getMessage();
$g3c8 = isset($oa) ? $oa : '';
errorlog(base64_decode('RXJyb3I6IA==') . $m1b . base64_decode('IHwgUXVlcnk6IA==') . $g3c8, base64_decode('dXBkYXRlQmFzZURCVmVyc2lvbg=='));
$t1b9[] = array(base64_decode('cmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('bWVzc2FnZQ==') => $m1b, base64_decode('cXVlcnk=') => $g3c8);
echo json_encode($t1b9);
}
}
if (isset($_GET[base64_decode('ZWRpdFdvcmtGbG93VGFzaw==')])) {
$i3c9 = $_GET[base64_decode('V0ZUSUQ=')];
$oa = base64_decode('U0VMRUNUIHdvcmtmbG93c3RlcHMuYElEYCwgd29ya2Zsb3dzdGVwcy5gUmVsYXRlZFdvcmtGbG93SURgLCB3b3JrZmxvd3N0ZXBzLmBTdGVwT3JkZXJgLCB3b3JrZmxvd3N0ZXBzLmBTdGVwTmFtZWAsIHdvcmtmbG93c3RlcHMuYERlc2NyaXB0aW9uYCwgd29ya2Zsb3dzdGVwcy5gUmVsYXRlZFN0YXR1c0lEYCwgd29ya2Zsb3dzdGVwcy4NCiAgICAgICAgICAgICAgICBgUmVsYXRlZFVzZXJJRGAsIHRhc2tzbGlzdC5EZWFkbGluZQ0KICAgICAgICAgIEZST00gd29ya2Zsb3dzdGVwcw0KICAgICAgICAgIExFRlQgSk9JTiB0YXNrc2xpc3QgT04gd29ya2Zsb3dzdGVwcy5SZWxhdGVkVGFza0lEID0gdGFza3NsaXN0LklEDQogICAgICAgICAgV0hFUkUgd29ya2Zsb3dzdGVwcy5JRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('aQ=='), $i3c9);
$sb->execute();
$d13 = $sb->get_result();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$t287 = $l14[base64_decode('UmVsYXRlZFdvcmtGbG93SUQ=')];
$l237 = $l14[base64_decode('U3RlcE9yZGVy')];
$o77 = $l14[base64_decode('U3RlcE5hbWU=')];
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$b12a = $l14[base64_decode('UmVsYXRlZFN0YXR1c0lE')];
$p7a = $l14[base64_decode('UmVsYXRlZFVzZXJJRA==')];
$j7e = convertToDanishDateTimeFormat($l14[base64_decode('RGVhZGxpbmU=')]);
$b3ca = $m3cb . $s3cc . $p3cd . $x3ce . $l3cf;
$t1b9[] = array(base64_decode('SUQ=') => $r46, base64_decode('UmVsYXRlZFdvcmtGbG93SUQ=') => $t287, base64_decode('U3RlcE9yZGVy') => $l237, base64_decode('U3RlcE5hbWU=') => $o77, base64_decode('RGVzY3JpcHRpb24=') => $f1e, base64_decode('UmVsYXRlZFN0YXR1c0lE') => $b12a, base64_decode('UmVsYXRlZFVzZXJJRA==') => $p7a, base64_decode('RGVhZGxpbmU=') => $j7e);
}
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('dXBkYXRlV29ya0Zsb3dUYXNr')])) {
$i3c9 = $_POST[base64_decode('V0ZUSUQ=')];
$o2f4 = $_POST[base64_decode('cXVlcnlTdHJpbmc=')];
$g35 = getWFTElementID($i3c9);
$k17 = getWFTElementTypeID($i3c9);
foreach ($o2f4 as $r2a) {
$y2c4 = trim($r2a[base64_decode('bmFtZQ==')]);
$y2c4 = str_replace(base64_decode('RWRpdFdGVA=='), '', $y2c4);
$q335 = mysqli_real_escape_string($zc, $r2a[base64_decode('dmFsdWU=')]);
if ($y2c4 == base64_decode('RGVhZGxpbmU=')) {
$q335 = convertFromDanishTimeFormat($q335);
$oa = "UPDATE taskslist SET $y2c4 = '$q335'
WHERE wftid = $i3c9";
mysqli_query($zc, $oa);
} else if ($y2c4 == base64_decode('UmVsYXRlZFN0YXR1c0lE')) {
$oa = "UPDATE taskslist SET Status = '$q335'
WHERE wftid = $i3c9";
mysqli_query($zc, $oa);
$oa = "UPDATE workflowsteps SET $y2c4 = '$q335'
WHERE ID = $i3c9";
mysqli_query($zc, $oa);
} else {
$oa = "UPDATE workflowsteps SET $y2c4 = '$q335'
WHERE ID = $i3c9";
mysqli_query($zc, $oa);
}
}
$t1b9[] = array(base64_decode('SVRTTVR5cGVJRA==') => $k17, base64_decode('SVRTTUlE') => $g35, base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('ZGVsZXRlV29ya0Zsb3dUYXNr')])) {
$i3c9 = $_POST[base64_decode('V0ZUSUQ=')];
$oa = "DELETE FROM taskslist
WHERE wftid = $i3c9";
mysqli_query($zc, $oa);
$oa = "DELETE FROM workflowsteps
WHERE ID = $i3c9";
mysqli_query($zc, $oa);
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('ZGVsZXRlVGVtcFBpY3R1cmU=')])) {
$jba = $_POST[base64_decode('RmlsZU5hbWU=')];
$p8a = $_POST[base64_decode('VXNlcklE')];
$oa = base64_decode('REVMRVRFIEZST00gZmlsZXNfdGVtcA0KICAgICAgICAgIFdIRVJFIEZpbGVOYW1lID0gPyBBTkQgUmVsYXRlZFVzZXJJRCA9ID8=');
$sb = mysqli_prepare($zc, $oa);
$sb->bind_param(base64_decode('c3M='), $jba, $p8a);
$sb->execute();
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('Y3JlYXRlU3RvcFdvcmRz')])) {
createStopWords();
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('Z2V0VGVhbXNJVFNN')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$oa = "SELECT $i16.ID, Customer, Subject, $i16.Description, itsm_statuscodes.StatusName, itsm_priorities.PriorityName, Responsible, BusinessService, $i16.SLA, Created, CreatedBy, LastUpdated, teams.Teamname, companies.Companyname
FROM $i16
LEFT JOIN teams ON $i16.Team = teams.ID
LEFT JOIN companies ON $i16.RelatedCompanyID = companies.ID
LEFT JOIN itsm_statuscodes ON $i16.Status = itsm_statuscodes.StatusCode
LEFT JOIN itsm_priorities ON $i16.Priority = itsm_priorities.ID
WHERE itsm_statuscodes.ModuleID = $k17;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$v78 = $l14[base64_decode('U3RhdHVzTmFtZQ==')];
$u3d0 = $l14[base64_decode('UHJpb3JpdHlOYW1l')];
$n3d1 = $l14[base64_decode('VGVhbW5hbWU=')];
if ($n3d1 == '') {
$n3d1 = base64_decode('bm9uZQ==');
}
$i3d2 = $l14[base64_decode('Q29tcGFueW5hbWU=')];
$i29[] = array(base64_decode('U3RhdHVz') => "$v78", base64_decode('UHJpb3JpdHk=') => "$u3d0", base64_decode('VGVhbQ==') => $n3d1, base64_decode('Q29tcGFueQ==') => $i3d2);
}
echo json_encode($i29);
}
if (isset($_GET[base64_decode('Z2V0VGVhbXNPcGVuSVRTTQ==')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$i29[] = array();
$oa = "SELECT teams.Teamname, COUNT($i16.ID) AS Antal
FROM $i16
LEFT JOIN teams ON $i16.Team = teams.ID
WHERE $i16.Team IS NOT NULL AND $i16.Status NOT IN (6,7)
GROUP BY teams.Teamname;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$ybf = $l14[1];
$n3d1 = $l14[0];
if ($n3d1 == '') {
$n3d1 = base64_decode('Tm90IGFzc2lnbmVkIHRvIFRlYW0=');
}
$i29[] = array(base64_decode('QW50YWw=') => $ybf, base64_decode('VGVhbQ==') => $n3d1);
}
echo json_encode($i29);
}
if (isset($_GET[base64_decode('Z2V0VGVhbXNDbG9zZWRJVFNN')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$i29[] = array();
$oa = "SELECT teams.Teamname, COUNT($i16.ID) AS Antal
FROM $i16
LEFT JOIN teams ON $i16.Team = teams.ID
WHERE $i16.Team IS NOT NULL AND $i16.Status IN (6,7)
GROUP BY teams.Teamname;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$ybf = $l14[1];
$n3d1 = $l14[0];
$i29[] = array(base64_decode('QW50YWw=') => $ybf, base64_decode('VGVhbQ==') => $n3d1);
}
echo json_encode($i29);
}
if (isset($_GET[base64_decode('Z2V0Q29tcGFuaWVzT3BlbklUU00=')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$i29[] = array();
$oa = "SELECT companies.Companyname, COUNT($i16.ID) AS Antal
FROM $i16
LEFT JOIN companies ON $i16.RelatedCompanyID = companies.ID
WHERE $i16.Status NOT IN (6,7)
GROUP BY companies.Companyname;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$ybf = $l14[base64_decode('QW50YWw=')];
$i3d2 = $l14[base64_decode('Q29tcGFueW5hbWU=')];
if ($i3d2 == '') {
$i3d2 = base64_decode('bm9uZQ==');
}
$i29[] = array(base64_decode('QW50YWw=') => $ybf, base64_decode('Q29tcGFueQ==') => $i3d2);
}
if (empty($i29)) {
echo json_encode([]);
} else {
echo json_encode($i29);
}
}
if (isset($_GET[base64_decode('Z2V0Q29tcGFuaWVzQ2xvc2VkSVRTTQ==')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$i29[] = array();
$oa = "SELECT companies.Companyname, COUNT($i16.ID) AS Antal
FROM $i16
LEFT JOIN companies ON $i16.RelatedCompanyID = companies.ID
WHERE $i16.Status IN (6,7)
GROUP BY companies.Companyname;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$ybf = $l14[1];
$i3d2 = $l14[0];
if ($i3d2 == '') {
$i3d2 = base64_decode('bm9uZQ==');
}
$i29[] = array(base64_decode('QW50YWw=') => $ybf, base64_decode('Q29tcGFueQ==') => $i3d2);
}
echo json_encode($i29);
}
if (isset($_GET[base64_decode('Z2V0UmVzcG9uc2libGVzT3BlbklUU00=')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$oa = "SELECT $i16.Responsible, COUNT($i16.ID) AS Antal
FROM $i16
WHERE $i16.Responsible IS NOT NULL AND $i16.Status NOT IN (6,7)
GROUP BY $i16.Responsible;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$ybf = $l14[base64_decode('QW50YWw=')];
$z190 = $l14[base64_decode('UmVzcG9uc2libGU=')];
$b264 = getFullNameFromID($z190);
$i29[] = array(base64_decode('QW50YWw=') => $ybf, base64_decode('UmVzcG9uc2libGU=') => "$b264");
}
echo json_encode($i29);
}
if (isset($_GET[base64_decode('Z2V0UmVzcG9uc2libGVzQ2xvc2VkSVRTTQ==')])) {
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$oa = "SELECT $i16.Responsible, COUNT($i16.ID) AS Antal
FROM $i16
WHERE $i16.Responsible IS NOT NULL AND $i16.Status IN (6,7)
GROUP BY $i16.Responsible;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$ybf = $l14[base64_decode('QW50YWw=')];
$z190 = $l14[base64_decode('UmVzcG9uc2libGU=')];
$b264 = getFullNameFromID($z190);
$i29[] = array(base64_decode('QW50YWw=') => $ybf, base64_decode('UmVzcG9uc2libGU=') => $b264);
}
echo json_encode($i29);
}
if (isset($_GET[base64_decode('Y3JlYXRlVXNlcg==')])) {
if (in_array(base64_decode('MTAwMDI2'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$p8a = $_SESSION[base64_decode('aWQ=')];
$q113 = [];
foreach ($_POST[base64_decode('ZGF0YQ==')] as $u52) {
$q113[$u52[base64_decode('bmFtZQ==')]] = $u52[base64_decode('dmFsdWU=')];
}
$p3d3 = $q113[base64_decode('ZW1haWxVc2Vy')];
$r3d4 = $q113[base64_decode('Q29tcGFueUlE')];
if ($r3d4 == '') {
$e3d5 = _(base64_decode('Q29tcGFueQ==')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$u16c = $q113[base64_decode('Rmlyc3RuYW1l')];
if ($u16c == '') {
$e3d5 = _(base64_decode('Rmlyc3RuYW1l')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$r16d = $q113[base64_decode('TGFzdG5hbWU=')];
if ($r16d == '') {
$e3d5 = _(base64_decode('TGFzdG5hbWU=')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$c247 = $q113[base64_decode('UmVsYXRlZFVzZXJUeXBlSUQ=')];
if ($c247 == '') {
$e3d5 = _(base64_decode('VXNlcnR5cGU=')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$z187 = strtolower($q113[base64_decode('RW1haWw=')]);
if ($z187 == '') {
$e3d5 = _(base64_decode('RW1haWw=')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$j66 = doesEmailExists($z187);
if ($j66 != '') {
$s119[] = array(base64_decode('UmVzdWx0') => "Email owned by $j66");
echo json_encode($s119);
return;
}
$e7b = strtolower($q113[base64_decode('VXNlcm5hbWU=')]);
if ($e7b == '') {
$e3d5 = _(base64_decode('VXNlcm5hbWU=')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$j66 = doesUsernameExists($e7b);
if ($j66 != '') {
$s119[] = array(base64_decode('UmVzdWx0') => "Username owned by $j66");
echo json_encode($s119);
return;
}
$j3d6 = $q113[base64_decode('UGFzc3dvcmQ=')];
if ($j3d6 == '') {
$e3d5 = _(base64_decode('UGFzc3dvcmQ=')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$r170 = $q113[base64_decode('Sm9iVGl0ZWw=')];
$kd0 = $q113[base64_decode('U3RhcnREYXRl')];
$n248 = $q113[base64_decode('UmVsYXRlZE1hbmFnZXJJRA==')];
$c24a = rand(0, 9) . rand(0, 9) . rand(0, 9) . rand(0, 9);
$h249 = SaltAndHashPasswordForCompare($j3d6);
$n3d7 = getNumberOfAllowedEmployees();
$e3d8 = getNumberOfEmployees();
if ($c247 == 1 and $e3d8 >= $n3d7) {
echo "<script>alert('Number of employees/technicians($e3d8), cant exceed the licensed($n3d7)');</script>";
} else {
$i3d9 = createNewUser($u16c, $r16d, $z187, $e7b, $h249, $r3d4, $r170, $c247, $n248, $kd0, $c24a);
}
if ($p3d3 == base64_decode('MQ==')) {
$z187 = getUserEmailFromID($i3d9);
$u20d = getSettingValue(17);
$d20a = getSettingValue(13);
$t3da = getUserFirstName($i3d9);
$u3db = getUserLastName($i3d9);
$m3dc = getMailTemplateSubject(8);
$g3dd = getMailTemplateContent(8);
$m3dc = str_replace(base64_decode('PDpzeXN0ZW1uYW1lOj4='), $d20a, $m3dc);
$g3dd = str_replace(base64_decode('PDpmaXJzdG5hbWU6Pg=='), $t3da, $g3dd);
$g3dd = str_replace(base64_decode('PDpsYXN0bmFtZTo+'), $u3db, $g3dd);
$g3dd = str_replace(base64_decode('PDpzeXN0ZW1uYW1lOj4='), $d20a, $g3dd);
$g3dd = str_replace(base64_decode('PDpzeXN0ZW11cmw6Pg=='), $u20d, $g3dd);
sendMailToSinglePerson($z187, $ac4, $m3dc, $g3dd);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlQ29tcGFueQ==')])) {
if (in_array(base64_decode('MTAwMDI1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q4 = $_SESSION[base64_decode('aWQ=')];
$y21b = $_POST[base64_decode('Q29tcGFueU5hbWU=')];
if ($y21b == '') {
$e3d5 = _(base64_decode('Q29tcGFueSBOYW1l')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$y2af = doesCompanyNameExists($y21b);
if ($y2af != '') {
$s119[] = array(base64_decode('UmVzdWx0') => "Company name: $y2af exists");
echo json_encode($s119);
return;
}
$k3de = $_POST[base64_decode('QWRkcmVzcw==')];
$m3df = $_POST[base64_decode('WmlwQ29kZQ==')];
$j3e0 = $_POST[base64_decode('Q2l0eQ==')];
$a3e1 = $_POST[base64_decode('Q291bnRyeQ==')];
if ($a3e1 == '') {
$e3d5 = _(base64_decode('Q291bnRyeQ==')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$z187 = strtolower($_POST[base64_decode('RW1haWw=')]);
if ($z187 == '') {
$e3d5 = _(base64_decode('RW1haWw=')) . base64_decode('IA==') . _(base64_decode('cmVxdWlyZWQ='));
$s119[] = array(base64_decode('UmVzdWx0') => "$e3d5");
echo json_encode($s119);
return;
}
$y2af = doesCompanyEmailExistsBeforeCreate($z187, $y21b);
if ($y2af !== '') {
$s119[] = array(base64_decode('UmVzdWx0') => "Email owned by $y2af");
echo json_encode($s119);
return;
}
$y16e = $_POST[base64_decode('UGhvbmU=')];
$u3e2 = $_POST[base64_decode('Q0JS')];
$wcc = $_POST[base64_decode('V2ViUGFnZQ==')];
$v3e3 = $_POST[base64_decode('Q3VzdG9tZXJBY2NvdW50TnVtYmVy')];
$g3e4 = $_POST[base64_decode('UmVsYXRlZFNMQUlE')];
$u3e5 = getNumberOfAllowedCompanies();
$x3e6 = getNumberOfCompanies();
if ($x3e6 >= $u3e5) {
echo "<script>alert('Number of companies($x3e6), cant exceed the licensed($u3e5)');</script>";
} else {
createNewCompany($q4, $y21b, $wcc, $k3de, $m3df, $a3e1, $z187, $j3e0, $u3e2, $y16e, $v3e3, $g3e4);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dXBkYXRlQ29tcGFueQ==')])) {
if (in_array(base64_decode('MTAwMDI1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q4 = $_SESSION[base64_decode('aWQ=')];
$n3e7 = translate(base64_decode('Q29tcGFueQ=='));
$x3e8 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$h2 = $_POST[base64_decode('Q29tcGFueUlE')];
$n3e9 = [];
$i3ea = [];
foreach ($x3e8 as $k349) {
$i2f1 = $k349[base64_decode('bmFtZQ==')];
$y2d1 = $k349[base64_decode('dmFsdWU=')];
$b3eb = getOldValueOfCompany($h2, $i2f1);
if ($b3eb !== $y2d1) {
$i3ea[] = [base64_decode('ZmllbGQ=') => $i2f1, base64_decode('b2xk') => $b3eb, base64_decode('bmV3') => $y2d1];
}
if ($i2f1 === base64_decode('RW1haWw=')) {
if (empty($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('RW1haWwgY2Fubm90IGJlIGVtcHR5'))]);
return;
} elseif (doesCompanyEmailExists($y2d1, $h2)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VGhpcyBlbWFpbCBhbHJlYWR5IGV4aXN0cw=='))]);
return;
}
}
if ($i2f1 === base64_decode('UmVsYXRlZFNMQUlE')) {
if (empty($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('U0xBIGlzIHJlcXVpcmVk'))]);
return;
}
}
if ($i2f1 === base64_decode('Q29tcGFueU5hbWU=')) {
if (empty($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('Q29tcGFueSBuYW1lIGlzIHJlcXVpcmVk'))]);
return;
}
}
if (empty($y2d1)) {
$n3e9[] = "$i2f1 = NULL";
} else {
$n3e9[] = "$i2f1 = '" . $y2d1 . base64_decode('Jw==');
}
}
if (!empty($n3e9)) {
$c2e9 = [];
$m3ec = [];
$b3ed = [];
foreach ($x3e8 as $k349) {
$i2f1 = $k349[base64_decode('bmFtZQ==')];
$y2d1 = $k349[base64_decode('dmFsdWU=')];
$c2e9[] = $i2f1;
$m3ec[] = $y2d1;
if (is_null($y2d1)) {
$b3ed[] = "$i2f1 = NULL";
} else {
$b3ed[] = "$i2f1 = ?";
}
}
$q3ee = implode(base64_decode('LCA='), $b3ed);
$oa = "UPDATE Companies SET $q3ee WHERE ID = ?";
$sb = mysqli_prepare($zc, $oa);
$n2e8 = str_repeat(base64_decode('cw=='), count($m3ec));
$m3ec[] = $h2;
$sb->bind_param($n2e8 . base64_decode('aQ=='), ...$m3ec);
$d13 = $sb->execute();
if ($d13) {
foreach ($i3ea as $h3ef) {
$ra3 = "{$h3ef[base64_decode('ZmllbGQ=')]} changed from {$h3ef[base64_decode('b2xk')]} to {$h3ef[base64_decode('bmV3')]}";
createCompanyLogEntry($h2, $q4, base64_decode('MQ=='), $ra3);
}
$f3f0 = translate($n3e7);
$k3f1 = $f3f0 . base64_decode('IA==') . translate(base64_decode('dXBkYXRlZA=='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('TWVzc2FnZQ==') => $k3f1]);
} else {
$w3f2 = mysqli_error($zc);
errorlog("$f3f0 could not be updated. Error: $w3f2", base64_decode('dXBkYXRlQ29tcGFueQ=='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => $w3f2]);
}
}
}
if (isset($_GET[base64_decode('dXBkYXRlVXNlcg==')])) {
if (in_array(base64_decode('MTAwMDI1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q4 = $_SESSION[base64_decode('aWQ=')];
$n3e7 = translate(base64_decode('VXNlcg=='));
$x3e8 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$p8a = $_POST[base64_decode('VXNlcklE')];
$n3e9 = [];
$i3ea = [];
foreach ($x3e8 as $k349) {
$i2f1 = $k349[base64_decode('bmFtZQ==')];
$y2d1 = $k349[base64_decode('dmFsdWU=')];
$b3eb = getOldValueOfUser($p8a, $i2f1);
if ($b3eb === NULL && $y2d1 === '') {
continue;
}
if ($b3eb !== $y2d1) {
$i3ea[] = [base64_decode('ZmllbGQ=') => $i2f1, base64_decode('b2xk') => $b3eb, base64_decode('bmV3') => $y2d1];
}
if ($i2f1 === base64_decode('RW1haWw=')) {
if (empty($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('RW1haWwgY2Fubm90IGJlIGVtcHR5'))]);
return;
} elseif ($j66 = doesEmailExists($y2d1, $p8a)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VGhpcyBlbWFpbCBhbHJlYWR5IGV4aXN0cyBmb3I=')) . base64_decode('PGJyPg==') . $j66]);
return;
}
}
if ($i2f1 === base64_decode('Rmlyc3RuYW1l')) {
if (empty($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('Rmlyc3RuYW1lIGlzIHJlcXVpcmVk'))]);
return;
}
}
if ($i2f1 === base64_decode('VXNlcm5hbWU=')) {
if (empty($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VXNlcm5hbWUgY2Fubm90IGJlIGVtcHR5'))]);
return;
} elseif ($j66 = doesUsernameExists($y2d1, $p8a)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VGhpcyB1c2VybmFtZSBhbHJlYWR5IGV4aXN0cyBmb3I=')) . base64_decode('PGJyPg==') . $j66]);
return;
}
}
if (empty($y2d1)) {
$n3e9[] = "$i2f1 = NULL";
} else {
$n3e9[] = "$i2f1 = '" . $y2d1 . base64_decode('Jw==');
}
}
if (!empty($n3e9)) {
$c2e9 = [];
$m3ec = [];
$b3ed = [];
foreach ($x3e8 as $k349) {
$i2f1 = $k349[base64_decode('bmFtZQ==')];
$y2d1 = $k349[base64_decode('dmFsdWU=')];
$c2e9[] = $i2f1;
if (empty($y2d1)) {
$b3ed[] = "$i2f1 = NULL";
} else {
$b3ed[] = "$i2f1 = ?";
$m3ec[] = $y2d1;
}
}
$q3ee = implode(base64_decode('LCA='), $b3ed);
$oa = "UPDATE Users SET $q3ee WHERE ID = ?";
$sb = mysqli_prepare($zc, $oa);
if (!$sb) {
die(base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_stmt_error($sb));
}
$m3ec[] = $p8a;
$n2e8 = str_repeat(base64_decode('cw=='), count($m3ec) - 1) . base64_decode('aQ==');
$sb->bind_param($n2e8, ...$m3ec);
$d13 = $sb->execute();
if (!$d13) {
die(base64_decode('U3RhdGVtZW50IGV4ZWN1dGlvbiBmYWlsZWQ6IA==') . mysqli_stmt_error($sb));
}
if (!mysqli_stmt_error($sb)) {
foreach ($i3ea as $h3ef) {
$ra3 = "{$h3ef[base64_decode('ZmllbGQ=')]} changed from {$h3ef[base64_decode('b2xk')]} to {$h3ef[base64_decode('bmV3')]}";
createUserLogEntry($p8a, $q4, base64_decode('MQ=='), $ra3);
}
$f3f0 = translate($n3e7);
$k3f1 = $f3f0 . base64_decode('IA==') . translate(base64_decode('dXBkYXRlZA=='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('TWVzc2FnZQ==') => $k3f1]);
} else {
$w3f2 = mysqli_stmt_error($zc);
errorlog("$f3f0 could not be updated. Error: $w3f2", base64_decode('dXBkYXRlVXNlcg=='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => $w3f2]);
}
}
}
if (isset($_GET[base64_decode('cmVtb3ZlQ29tcGFueQ==')])) {
if (in_array(base64_decode('MTAwMDI1'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI1'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q4 = $_SESSION[base64_decode('aWQ=')];
$h2 = $_POST[base64_decode('Q29tcGFueUlE')];
$b3f3 = generateRandomString(12) . base64_decode('QGFub255bWl6ZWQ=');
$oa = "UPDATE companies
SET CompanyName = 'Anonymized', WebPage = 'Anonymized', Phone = 'Anonymized', CustomerAccountNumber = 'Anonymized', Address = 'Anonymized', Email = '$b3f3', CBR = 'Anonymized', Notes = 'Anonymized', Active = 3
WHERE ID = $h2";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
deleteCompanyLogs($h2);
deleteCompanyFiles($h2);
$ra3 = base64_decode('UmVtb3ZlZA==');
createCompanyLogEntry($h2, $q4, base64_decode('Mg=='), $ra3);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('cmVtb3ZlVXNlcg==')])) {
if (in_array(base64_decode('MTAwMDI2'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q4 = $_SESSION[base64_decode('aWQ=')];
$baa = $_POST[base64_decode('VXNlcklE')];
$b3f3 = generateRandomString(12) . base64_decode('QGFub255bWl6ZWQ=');
$i3f4 = generateRandomString(10) . base64_decode('QGFub255bWl6ZWQ=');
$m3f5 = SaltAndHashPasswordForCompare(generateRandomString(26));
$o3f6 = generateRandomString(6);
$o3f7 = getProfilePicture($baa);
if ($o3f7 !== base64_decode('Li91cGxvYWRzL2ltYWdlcy9wcm9maWxlcGljdHVyZXMvZGVmYXVsdF91c2VyLnBuZw==')) {
unlink($o3f7);
}
$oa = "UPDATE users
SET Firstname = 'Anonymized', Lastname = '$o3f6', google_secret_code = '0Km#9kQyfI1CLkthWhDb#F', QRUrl = NULL, ZoomPersRoom = NULL, Username = '$i3f4', Password = '$m3f5', Birthday = NULL, ADUUID = NULL, Email = '$b3f3', ProfilePicture = 'default_user.png', Phone = NULL, JobTitel = NULL, LinkedIn = NULL, Notes = NULL, Active = 3
WHERE ID = $baa";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
deleteUserLogs($baa);
deleteUserFiles($baa);
$ra3 = base64_decode('UmVtb3ZlZA==');
createUserLogEntry($baa, $q4, base64_decode('Mg=='), $ra3);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('cmVzb2x2ZUlUU00=')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$h34e = $_POST[base64_decode('U29sdXRpb24=')];
$i16 = getITSMTableName($k17);
if (empty($j3f8)) {
$d3f9 = getITSMClosedStatus($k17);
$j3f8 = $d3f9[0];
}
$oa = "UPDATE $i16 SET Status = ?, Solution = ? WHERE ID = ?";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aXNp'), $j3f8, $h34e, $g35);
mysqli_stmt_execute($sb);
if (mysqli_stmt_errno($sb)) {
die(base64_decode('UXVlcnkgZXhlY3V0aW9uIGZhaWxlZDog') . mysqli_stmt_error($sb));
}
mysqli_stmt_close($sb);
} else {
die(base64_decode('UHJlcGFyZWQgc3RhdGVtZW50IGZhaWxlZDog') . mysqli_error($zc));
}
$j3f8 = getITSMFinishedStatus($k17);
$e3fa = getITSMStatusCodesBelowFinishedStatus($k17, $j3f8);
$c3fb = getITSMStatusCodesAllreadyUpdated($k17, $g35);
$e3fa = array_diff($e3fa, $c3fb);
foreach ($e3fa as $k349) {
updateTimelineUpdatedDate($g35, $k17, $k349);
}
updateTimelineUpdatedDate($g35, $k17, $j3f8);
$u362 = base64_decode('Mg==');
$f1e = '';
$q335 = $h34e;
$y2c4 = '';
$n2c5 = '';
closeAllTasksAssociatedWithITSM($k17, $g35);
sendITSMNotificationMailToUsers($u362, $k17, $g35, $f1e, $y2c4, $n2c5, $q335);
$t18 = getITSMTypeName($k17);
$d6a = translate(base64_decode('U29sdmVk')) . base64_decode('IA==') . strtolower($t18) . base64_decode('IA==') . $g35;
$zb0 = base64_decode('PGI+') . translate(base64_decode('U29sdmVkIHdpdGggc29sdXRpb24=')) . base64_decode('PGJyPjxicj4=') . $h34e;
logActivity($g35, $k17, $d6a, $zb0, "javascript:javascript:viewITSM('$g35','$k17','1','modal');");
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('cmVzZXRGb3Jtc0RhdGE=')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$q1d = $_GET[base64_decode('Rm9ybUlE')];
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
$b3fc = getFormsTableName($q1d);
$oa = "DELETE FROM $b3fc;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$oa = "ALTER TABLE $b3fc AUTO_INCREMENT = 1";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y3JlYXRlRm9ybUZyb21UZW1wbGF0ZQ==')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$faf = $_GET[base64_decode('VGVtcGxhdGVJRA==')];
$b3fc = base64_decode('Zm9ybXN0YWJsZV8=') . generateRandomString(15);
$h3fd = getModuleTemplateSQL($faf, base64_decode('TW9kdWxl'));
$h3fd = str_replace(base64_decode('PDpUYWJsZU5hbWU6Pg=='), $b3fc, $h3fd);
$d13 = mysqli_query($zc, $h3fd) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$w304 = $zc->$a10f;
$c3fe = getModuleTemplateSQL($faf, base64_decode('VGFibGU='));
$c3fe = str_replace(base64_decode('PDpUYWJsZU5hbWU6Pg=='), $b3fc, $c3fe);
$d13 = mysqli_query($zc, $c3fe) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$b3ff = getModuleTemplateSQL($faf, base64_decode('RmllbGRz'));
$b3ff = str_replace(base64_decode('PDpGb3JtSUQ6Pg=='), "$w304", $b3ff);
$d13 = mysqli_query($zc, $b3ff) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0Q2VydGlmaWNhdGVFeHBpcmVEYXRl')])) {
$cce = $_GET[base64_decode('VVJM')];
$y400 = getCertificateExpireDate($cce);
$s119[] = array(base64_decode('UmVzdWx0') => "$y400");
echo json_encode($s119);
}
if (isset($_GET[base64_decode('dXBkYXRlQ2VydGlmaWNhdGVFbmREYXRl')])) {
$t401 = $_GET[base64_decode('Y2lUeXBlSWQ=')];
$e402 = $_GET[base64_decode('Y2lJZA==')];
$y403 = $_GET[base64_decode('ZW5kRGF0ZQ==')];
updateCertificateEndDate($t401, $e402, $y403);
$s119[] = array(base64_decode('UmVzdWx0') => "End Date updated to: $y403");
echo json_encode($s119);
}
if (isset($_GET[base64_decode('ZXhlY3V0ZVF1ZXJ5')])) {
if (!in_array(base64_decode('MTAwMDAw'), $p0)) {
echo base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE=');
return;
}
$g3c8 = $_POST[base64_decode('cXVlcnk=')];
$r404 = $_POST[base64_decode('RGVzdGluYXRpb25EYXRhYmFzZQ==')];
$a405 = new mysqli("$n3c1", "$l3c2", "$o3c3", "$r404");
$a405->multi_query($g3c8);
if ($a405->$q406) {
die(base64_decode('UXVlcnkgZmFpbDog') . $a405->$o294);
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y2xvc2VBbGxUYXNrc0Fzc29jaWF0ZWRXaXRoSVRTTQ==')])) {
if (!in_array(base64_decode('MTAwMDAw'), $p0)) {
echo base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE=');
return;
}
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$g35 = $_POST[base64_decode('SVRTTUlE')];
$oa = base64_decode('VVBEQVRFIHRhc2tzbGlzdCBTRVQgU3RhdHVzID0gJzQnDQogICAgICAgIFdIRVJFIFJlbGF0ZWRFbGVtZW50VHlwZUlEID0gPyBBTkQgUmVsYXRlZEVsZW1lbnRJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
mysqli_stmt_bind_param($sb, base64_decode('c3M='), $k17, $g35);
mysqli_stmt_execute($sb);
if (mysqli_stmt_affected_rows($sb) > 0) {
$u2e0 = base64_decode('VGFza3MgY2xvc2VkIHN1Y2Nlc3NmdWxseS4=');
} else {
$u2e0 = base64_decode('Tm8gdGFza3MgZm91bmQgb3IgZXJyb3Igb2NjdXJyZWQu');
}
mysqli_stmt_close($sb);
echo $u2e0;
}
if (isset($_GET[base64_decode('dHJhbnNsYXRl')])) {
$z44 = $_POST[base64_decode('dGV4dA==')];
$m407 = translate($z44);
echo json_encode($m407);
}
if (isset($_GET[base64_decode('Y2hlY2tGb3Jtc1RhYmxlQ29uc2lzdGVuY3k=')])) {
if (!in_array(base64_decode('MTAwMDAx'), $p0) || !in_array(base64_decode('MTAwMDI5'), $p0)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE='));
echo json_encode($s119);
return;
}
$dc6 = '';
$z35c = $_GET[base64_decode('Rm9ybUlE')];
$c35d = getFormsTableName($z35c);
$oa = "SELECT FieldName
FROM forms_fieldslist
WHERE RelatedFormID = '$z35c';";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $l14[base64_decode('RmllbGROYW1l')];
$h408 = "SELECT COUNT(*)
FROM information_schema.columns
WHERE table_schema = '$d2c2'
AND table_name = '$c35d'
AND column_name = '$m1a';";
$t409 = mysqli_query($zc, $h408) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
if (mysqli_num_rows($t409) == 0) {
$dc6 .= "<br><details><summary>$m1a was not found in $c35d</summary>";
$dc6 .= base64_decode('PHByZSBvbmNsaWNrPSJjb3B5VG9DbGlwYm9hcmQodGhpcykiPg==');
$dc6 .= "ALTER TABLE $c35d
ADD $m1a TEXT CHARACTER SET utf8mb3 COLLATE utf8mb3_danish_ci DEFAULT NULL;";
$dc6 .= base64_decode('PC9wcmU+');
$dc6 .= "<button onclick=\"executeQuery(this, '$d2c2')\">Execute</button>";
$dc6 .= base64_decode('PC9kZXRhaWxzPjxicj4=');
} else {
$dc6 .= "$m1a was found in $c35d<br>";
}
}
$dc6 .= base64_decode('PGJyPg==');
$oa = "SHOW COLUMNS FROM $c35d WHERE Field LIKE 'FormField%';";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $l14[0];
$h408 = "SELECT FieldName
FROM forms_fieldslist
WHERE RelatedFormID = $z35c AND FieldName = '$m1a';";
$t409 = mysqli_query($zc, $h408) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
if (mysqli_num_rows($t409) == 0) {
$dc6 .= "<br><details><summary>$m1a is not relevant</summary>";
$dc6 .= base64_decode('PHByZSBvbmNsaWNrPSJjb3B5VG9DbGlwYm9hcmQodGhpcykiPg==');
$dc6 .= "ALTER TABLE $c35d
DROP COLUMN $m1a;";
$dc6 .= base64_decode('PC9wcmU+');
$dc6 .= "<button onclick=\"executeQuery(this, '$d2c2')\">Execute</button>";
$dc6 .= base64_decode('PC9kZXRhaWxzPjxicj4=');
} else {
$dc6 .= "$m1a in $c35d is relevant<br>";
}
}
mysqli_free_result($d13);
$s119[] = array(base64_decode('UmVzdWx0') => "$dc6");
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y2hlY2tJVFNNVGFibGVDb25zaXN0ZW5jeQ==')])) {
if (!in_array(base64_decode('MTAwMDAx'), $p0) || !in_array(base64_decode('MTAwMDMx'), $p0)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE='));
echo json_encode($s119);
return;
}
$dc6 = '';
$k17 = $_GET[base64_decode('SVRTTVR5cGVJRA==')];
$i16 = getITSMTableName($k17);
$oa = "SELECT FieldName
FROM itsm_fieldslist
WHERE RelatedTypeID = '$k17';";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $l14[base64_decode('RmllbGROYW1l')];
$h408 = "SELECT COUNT(*)
FROM information_schema.columns
WHERE table_schema = '$d2c2'
AND table_name = '$i16'
AND column_name = '$m1a';";
$t409 = mysqli_query($zc, $h408) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
if (mysqli_num_rows($t409) == 0) {
$dc6 .= "<br><details><summary>$m1a was not found in $i16</summary>";
$dc6 .= base64_decode('PHByZSBvbmNsaWNrPSJjb3B5VG9DbGlwYm9hcmQodGhpcykiPg==');
$dc6 .= "ALTER TABLE $i16
ADD $m1a TEXT CHARACTER SET utf8mb3 COLLATE utf8mb3_danish_ci DEFAULT NULL;";
$dc6 .= base64_decode('PC9wcmU+');
$dc6 .= "<button onclick=\"executeQuery(this, '$d2c2')\">Execute</button>";
$dc6 .= base64_decode('PC9kZXRhaWxzPjxicj4=');
} else {
$dc6 .= "<small>$m1a was found in $i16</small><br>";
}
}
$dc6 .= base64_decode('PGJyPg==');
$oa = "SHOW COLUMNS FROM $i16 WHERE Field NOT LIKE 'ID';";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $l14[0];
$h408 = "SELECT FieldName
FROM itsm_fieldslist
WHERE RelatedTypeID = $k17 AND FieldName = '$m1a';";
$t409 = mysqli_query($zc, $h408) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
if (mysqli_num_rows($t409) == 0) {
$dc6 .= "<br><details><summary>$m1a is not relevant</summary>";
$dc6 .= base64_decode('PHByZSBvbmNsaWNrPSJjb3B5VG9DbGlwYm9hcmQodGhpcykiPg==');
$dc6 .= "ALTER TABLE $i16
DROP COLUMN $m1a;";
$dc6 .= base64_decode('PC9wcmU+');
$dc6 .= "<button onclick=\"executeQuery(this, '$d2c2')\">Execute</button>";
$dc6 .= base64_decode('PC9kZXRhaWxzPjxicj4=');
} else {
$dc6 .= "<small>$m1a: relevant</small><br>";
}
}
mysqli_free_result($d13);
$s119[] = array(base64_decode('UmVzdWx0') => "$dc6");
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Y2hlY2tDTURCVGFibGVDb25zaXN0ZW5jeQ==')])) {
if (!in_array(base64_decode('MTAwMDAx'), $p0) || !in_array(base64_decode('MTAwMDMx'), $p0)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE='));
echo json_encode($s119);
return;
}
$dc6 = '';
$m10 = $_GET[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$oa = "SELECT FieldName
FROM cmdb_ci_fieldslist
WHERE RelatedCITypeID = '$m10';";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $l14[base64_decode('RmllbGROYW1l')];
$h408 = "SELECT COUNT(*)
FROM information_schema.columns
WHERE table_schema = '$d2c2'
AND table_name = '$df'
AND column_name = '$m1a';";
$t409 = mysqli_query($zc, $h408) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
if (mysqli_num_rows($t409) == 0) {
$dc6 .= "<br><details><summary>$m1a was not found in $df</summary>";
$dc6 .= base64_decode('PHByZSBvbmNsaWNrPSJjb3B5VG9DbGlwYm9hcmQodGhpcykiPg==');
$dc6 .= "ALTER TABLE $df
ADD $m1a TEXT CHARACTER SET utf8mb3 COLLATE utf8mb3_danish_ci DEFAULT NULL;";
$dc6 .= base64_decode('PC9wcmU+');
$dc6 .= "<button onclick=\"executeQuery(this, '$d2c2')\">Execute</button>";
$dc6 .= base64_decode('PC9kZXRhaWxzPjxicj4=');
} else {
$dc6 .= "<small>$m1a was found in $df</small><br>";
}
}
$dc6 .= base64_decode('PGJyPg==');
$oa = "SHOW COLUMNS FROM $df WHERE Field NOT LIKE 'ID';";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$m1a = $l14[0];
$h408 = "SELECT FieldName
FROM cmdb_ci_fieldslist
WHERE RelatedCITypeID = $m10 AND FieldName = '$m1a';";
$t409 = mysqli_query($zc, $h408) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
if (mysqli_num_rows($t409) == 0) {
$dc6 .= "<br><details><summary>$m1a is not relevant</summary>";
$dc6 .= base64_decode('PHByZSBvbmNsaWNrPSJjb3B5VG9DbGlwYm9hcmQodGhpcykiPg==');
$dc6 .= "ALTER TABLE $df
DROP COLUMN $m1a;";
$dc6 .= base64_decode('PC9wcmU+');
$dc6 .= "<button onclick=\"executeQuery(this, '$d2c2')\">Execute</button>";
$dc6 .= base64_decode('PC9kZXRhaWxzPjxicj4=');
} else {
$dc6 .= "<small>$m1a: relevant</small><br>";
}
}
mysqli_free_result($d13);
$s119[] = array(base64_decode('UmVzdWx0') => "$dc6");
echo json_encode($s119);
}
if (isset($_GET[base64_decode('Z2V0TGFuZ3VhZ2VFbnRyaWVz')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$oa = base64_decode('U0VMRUNUIElELCBNYWluTGFuZ3VhZ2UsIGRhX0RLLCBlc19FUywgZGVfREUsIGZyX0ZSLCBmaV9GSSwgaXRfSVQsIHRyX1RSLCB6aF9DTiwgcnVfUlUsIGphX0pQLCBwdF9QVA0KICAgICAgICBGUk9NIGxhbmd1YWdlczs=');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$x40a = "<a href=\"javascript:editLanguageEntry($r46);\"><span class='badge badge-pill bg-gradient-secondary'><i class='fas fa-pencil-alt'></i></span></a>";
$q40b = "<a href=\"javascript:deleteLanguageEntry($r46);\"><span class='badge badge-pill bg-gradient-danger'><i class=\"fa-solid fa-trash\"></i></span></a>";
$ff1 = $l14[base64_decode('TWFpbkxhbmd1YWdl')];
$m40c = $l14[base64_decode('ZGFfREs=')];
$s119[] = array(base64_decode('SUQ=') => $r46, base64_decode('RWRpdA==') => $x40a, base64_decode('RGVsZXRl') => $q40b, base64_decode('TWFpbkxhbmd1YWdl') => $ff1, base64_decode('ZGFuaXNo') => $m40c);
}
if ($s119) {
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2VuZXJhdGVMYW5ndWFnZUZpbGVz')])) {
$d40d = [base64_decode('ZGFfREs='), base64_decode('ZGVfREU='), base64_decode('ZXNfRVM='), base64_decode('ZnJfRlI='), base64_decode('ZmlfRkk='), base64_decode('aXRfSVQ='), base64_decode('dHJfVFI='), base64_decode('emhfQ04='), base64_decode('cnVfUlU='), base64_decode('amFfSlA='), base64_decode('cHRfUFQ=')];
foreach ($d40d as $m40e) {
$oa = "SELECT MainLanguage, $m40e
FROM languages";
$d40f = base64_decode('bXNnaWQgIiINCm1zZ3N0ciAiIg==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('UHJvamVjdC1JZC1WZXJzaW9uOiBQcmFjdGljbGU=') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('UE9ULUNyZWF0aW9uLURhdGU6IDIwMTktMDUtMTYgMTE6MjUrMDIwMA==') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('UE8tUmV2aXNpb24tRGF0ZTogMjAxOS0wNy0xMSAxMzowMCswMjAw') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('TGFzdC1UcmFuc2xhdG9yOiA=') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('TGFuZ3VhZ2UtVGVhbTog') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('TUlNRS1WZXJzaW9uOiAxLjA=') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('Q29udGVudC1UeXBlOiB0ZXh0L3BsYWluOyBjaGFyc2V0PVVURi04') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('Q29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogOGJpdA==') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('WC1HZW5lcmF0b3I6IFBvZWRpdCAyLjIuMw==') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('WC1Qb2VkaXQtQmFzZXBhdGg6IC4=') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('UGx1cmFsLUZvcm1zOiBucGx1cmFscz0yOyBwbHVyYWw9KG4gIT0gMSk7') . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . "Language: $m40e" . base64_decode('XG4=') . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('Ig==') . base64_decode('WC1Qb2VkaXQtU291cmNlQ2hhcnNldDogVVRGLTg=') . base64_decode('XG4=') . base64_decode('Ig==');
$e410 = '';
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$j411 = trim($l14[base64_decode('TWFpbkxhbmd1YWdl')]);
$a3e1 = trim($l14[$m40e]);
$y2af = base64_decode('bXNnaWQg') . base64_decode('Ig==') . $j411 . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('bXNnc3RyIA==') . base64_decode('Ig==') . $a3e1 . base64_decode('Ig==') . base64_decode('Cgo=');
$e410 .= base64_decode('bXNnaWQg') . base64_decode('Ig==') . $j411 . base64_decode('Ig==') . base64_decode('Cg==') . base64_decode('bXNnc3RyIA==') . base64_decode('Ig==') . $a3e1 . base64_decode('Ig==') . base64_decode('Cgo=');
}
$c412 = $d40f . base64_decode('Cgo=') . $e410;
$q413 = dirname(__FILE__);
$q413 = $q413 . base64_decode('L2xvY2FsZXMv') . $m40e . base64_decode('L0xDX01FU1NBR0VTLw==');
$m414 = base64_decode('bWFpbi5wbw==');
$q413 = dirname(__FILE__) . base64_decode('L2xvY2FsZXMv') . $m40e . base64_decode('L0xDX01FU1NBR0VTLw==');
if (!file_exists($q413)) {
mkdir($q413, 0777, true);
}
unlink($q413 . $m414);
unlink($q413 . base64_decode('bWFpbi5tbw=='));
file_put_contents($q413 . $m414, $c412);
$m415 = base64_decode('bXNnZm10IA==') . $q413 . base64_decode('bWFpbi5wbyAtLW91dHB1dC1maWxlPQ==') . $q413 . base64_decode('bWFpbi5tbw==');
exec("$m415");
}
echo base64_decode('PHNjcmlwdCB0eXBlPSd0ZXh0L2phdmFzY3JpcHQnPg0KCSQoZG9jdW1lbnQpLnJlYWR5KGZ1bmN0aW9uKGUpIHsNCgkJcG5vdGlmeSgnTGFuZ3VhZ2UgZmlsZXMgZ2VuZXJhdGVkJywnc3VjY2VzcycpOw0KCX0pOw0KCTwvc2NyaXB0Pg==');
if ($d2c2 == base64_decode('cHJhY3RpY2xlX3ByYWN0aWNsZQ==')) {
$oa = base64_decode('VFJVTkNBVEUgVEFCTEUgcHJhY3RpY2xlX2Jhc2UubGFuZ3VhZ2VzOw==');
mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$oa = base64_decode('SU5TRVJUIElOVE8gcHJhY3RpY2xlX2Jhc2UubGFuZ3VhZ2VzDQogICAgICAgICAgU0VMRUNUICoNCiAgICAgICAgICBGUk9NIGxhbmd1YWdlczs=');
mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
}
sleep(2);
$w416 = base64_decode('c3lzdGVtY3RsIHJlc3RhcnQgYXBhY2hlMi5zZXJ2aWNl');
exec("$w416");
errorlog("LanguageFiles did not generate, tried $m415", base64_decode('Z2VuZXJhdGVMYW5ndWFnZUZpbGVz'));
}
if (isset($_GET[base64_decode('Z2V0Rm9ybUZpZWxkcw==')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
$q1d = $_POST[base64_decode('Rm9ybUlE')];
$j4f = base64_decode('Zm9ybXNfZmllbGRzbGlzdA==');
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$oa = "SELECT forms_fieldslist.ID, forms_fieldslist.FieldName, forms_fieldslist.RelatedFormID, forms_fieldslist_types.TypeName,
forms_fieldslist.FieldOrder, forms_fieldslist.FieldLabel
FROM forms_fieldslist
LEFT JOIN forms_fieldslist_types ON forms_fieldslist.FieldType = forms_fieldslist_types.ID
WHERE RelatedFormID = $q1d
ORDER BY FieldOrder ASC";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$o49 = $l14[base64_decode('SUQ=')];
$m1a = $l14[base64_decode('RmllbGROYW1l')];
$p298 = $l14[base64_decode('VHlwZU5hbWU=')];
$h3ba = $l14[base64_decode('UmVsYXRlZEZvcm1JRA==')];
$h373 = $l14[base64_decode('RmllbGRPcmRlcg==')];
$d299 = $l14[base64_decode('RmllbGRMYWJlbA==')];
$h417 = "<a href=\"javascript:setFormFieldOrderUp('$j4f','$q1d','$h373','$j6');\"><i class=\"fa-solid fa-arrow-down\"></i></i></a>
<a href=\"javascript:setFormFieldOrderDown('$j4f','$q1d','$h373','$j6');\"><i class=\"fa-solid fa-arrow-up\"></i></a>  <a href=\"javascript:editFormFieldEntry('$o49');\"><span class=\"badge bg-gradient-info\"><i class=\"fa fa-pencil-alt\"></i></span></a>";
$n418 = "<a href=\"javascript:deleteFormField('$o49','$q1d','$j6');\"><span class=\"badge bg-gradient-danger\"><i class=\"fa fa-trash\"></i></span></a>";
$h417 = $h417 . $n418;
$s119[] = array('' => $h417, translate(base64_decode('RmllbGQgTmFtZQ==')) => "$m1a", translate(base64_decode('RmllbGQgTGFiZWw=')) => $d299, translate(base64_decode('VHlwZQ==')) => $p298);
}
if ($s119) {
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0SVRTTUZpZWxkcw==')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$j4f = base64_decode('aXRzbV9maWVsZHNsaXN0');
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$oa = "SELECT itsm_fieldslist.ID, itsm_fieldslist.FieldName, itsm_fieldslist.RelatedTypeID, itsm_fieldslist_types.TypeName,
itsm_fieldslist.FieldOrder, itsm_fieldslist.FieldLabel, itsm_fieldslist.DefaultField, itsm_fieldslist.RelationShowField
FROM itsm_fieldslist
LEFT JOIN itsm_fieldslist_types ON itsm_fieldslist.FieldType = itsm_fieldslist_types.ID
WHERE RelatedTypeID = $k17
ORDER BY FieldOrder ASC";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$o49 = $l14[base64_decode('SUQ=')];
$m1a = $l14[base64_decode('RmllbGROYW1l')];
$p298 = $l14[base64_decode('VHlwZU5hbWU=')];
$l419 = $l14[base64_decode('UmVsYXRlZFR5cGVJRA==')];
$h373 = $l14[base64_decode('RmllbGRPcmRlcg==')];
$d299 = $l14[base64_decode('RmllbGRMYWJlbA==')];
$u29c = $l14[base64_decode('RGVmYXVsdEZpZWxk')];
$r372 = $l14[base64_decode('UmVsYXRpb25TaG93RmllbGQ=')];
$h417 = "<a href=\"javascript:setITSMieldOrderUp('$j4f','$k17','$h373');\"><i class=\"fa-solid fa-arrow-down\"></i></i></a>
<a href=\"javascript:setITSMieldOrderDown('$j4f','$k17','$h373');\"><i class=\"fa-solid fa-arrow-up\"></i></a>  <a href=\"javascript:editITSMFieldEntry('$o49');\"><span class=\"badge bg-gradient-info\"><i class=\"fa fa-pencil-alt\"></i></span></a>";
if ($u29c == base64_decode('MA==')) {
$n418 = "<a href=\"javascript:deleteITSMField('$o49','$j6');\"><span class=\"badge bg-gradient-danger\"><i class=\"fa fa-trash\"></i></span></a>";
} else {
$n418 = '';
}
$h417 = $h417 . $n418;
$s119[] = array('' => $h417, translate(base64_decode('RmllbGQgTmFtZQ==')) => "$m1a", translate(base64_decode('RmllbGQgTGFiZWw=')) => $d299, translate(base64_decode('VHlwZQ==')) => $p298, translate(base64_decode('UHJpbWFyeQ==')) => $r372);
}
if ($s119) {
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('Z2V0Q0lGaWVsZHM=')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$j4f = base64_decode('Y21kYl9jaV9maWVsZHNsaXN0');
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$oa = "SELECT cmdb_ci_fieldslist.ID, cmdb_ci_fieldslist.FieldName, cmdb_ci_fieldslist.RelatedCITypeID, cmdb_fieldslist_types.TypeName,
cmdb_ci_fieldslist.FieldOrder, cmdb_ci_fieldslist.FieldLabel, cmdb_ci_fieldslist.DefaultField, cmdb_ci_fieldslist.RelationShowField, cmdb_ci_fieldslist.Addon
FROM cmdb_ci_fieldslist
LEFT JOIN cmdb_fieldslist_types ON cmdb_ci_fieldslist.FieldType = cmdb_fieldslist_types.ID
WHERE RelatedCITypeID = $m10
ORDER BY FieldOrder ASC";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$o49 = $l14[base64_decode('SUQ=')];
$m1a = $l14[base64_decode('RmllbGROYW1l')];
$p298 = $l14[base64_decode('VHlwZU5hbWU=')];
$n41a = $l14[base64_decode('UmVsYXRlZFR5cGVJRA==')];
$h373 = $l14[base64_decode('RmllbGRPcmRlcg==')];
$d299 = $l14[base64_decode('RmllbGRMYWJlbA==')];
$u29c = $l14[base64_decode('RGVmYXVsdEZpZWxk')];
$r372 = $l14[base64_decode('UmVsYXRpb25TaG93RmllbGQ=')];
$h417 = "<a href=\"javascript:setCMDBFieldOrderUp('$j4f','$m10','$h373');\"><i class=\"fa-solid fa-arrow-down\"></i></i></a>
<a href=\"javascript:setCMDBFieldOrderDown('$j4f','$m10','$h373');\"><i class=\"fa-solid fa-arrow-up\"></i></a>  <a href=\"javascript:editCMDBFieldEntry('$o49');\"><span class=\"badge bg-gradient-info\"><i class=\"fa fa-pencil-alt\"></i></span></a>";
if ($u29c == base64_decode('MA==')) {
$n418 = "<a href=\"javascript:deleteCIField('$o49','$m1a','$j6');\"><span class=\"badge bg-gradient-danger\"><i class=\"fa fa-trash\"></i></span></a>";
} else {
$n418 = '';
}
$h417 = $h417 . $n418;
$s119[] = array('' => $h417, translate(base64_decode('RmllbGQgTmFtZQ==')) => "$m1a", translate(base64_decode('RmllbGQgTGFiZWw=')) => $d299, translate(base64_decode('VHlwZQ==')) => $p298, translate(base64_decode('UHJpbWFyeQ==')) => $r372);
}
if ($s119) {
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
}
if (isset($_GET[base64_decode('c2V0SVRTTWllbGRPcmRlclVw')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$h373 = intval($_POST[base64_decode('RmllbGRPcmRlcg==')]);
$o49 = getFieldIDFromFieldOrder($j4f, $k17, $h373);
$n41b = intval($h373 + 1);
$l41c = getFieldIDFromFieldOrder($j4f, $k17, $n41b);
updateFieldOrder($j4f, $o49, $n41b);
updateFieldOrder($j4f, $l41c, $h373);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('c2V0SVRTTWllbGRPcmRlckRvd24=')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$k17 = $_POST[base64_decode('SVRTTVR5cGVJRA==')];
$h373 = intval($_POST[base64_decode('RmllbGRPcmRlcg==')]);
if ($h373 == 1) {
return;
}
$o49 = getFieldIDFromFieldOrder($j4f, $k17, $h373);
$n41b = intval($h373 - 1);
$l41c = getFieldIDFromFieldOrder($j4f, $k17, $n41b);
updateFieldOrder($j4f, $o49, $n41b);
updateFieldOrder($j4f, $l41c, $h373);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('c2V0Rm9ybUZpZWxkT3JkZXJVcA==')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$q1d = $_POST[base64_decode('Rm9ybUlE')];
$h373 = intval($_POST[base64_decode('RmllbGRPcmRlcg==')]);
$o49 = getFormFieldIDFromFieldOrder($j4f, $q1d, $h373);
$n41b = intval($h373 + 1);
$l41c = getFormFieldIDFromFieldOrder($j4f, $q1d, $n41b);
updateFieldOrder($j4f, $o49, $n41b);
updateFieldOrder($j4f, $l41c, $h373);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('c2V0Rm9ybUZpZWxkT3JkZXJEb3du')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$q1d = $_POST[base64_decode('Rm9ybUlE')];
$h373 = intval($_POST[base64_decode('RmllbGRPcmRlcg==')]);
if ($h373 == 1) {
return;
}
$o49 = getFormFieldIDFromFieldOrder($j4f, $q1d, $h373);
$n41b = intval($h373 - 1);
$l41c = getFormFieldIDFromFieldOrder($j4f, $q1d, $n41b);
updateFieldOrder($j4f, $o49, $n41b);
updateFieldOrder($j4f, $l41c, $h373);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('c2V0Q01EQkZpZWxkT3JkZXJVcA==')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$h373 = intval($_POST[base64_decode('RmllbGRPcmRlcg==')]);
$o49 = getCIFieldIDFromFieldOrder($j4f, $m10, $h373);
$n41b = intval($h373 + 1);
$l41c = getCIFieldIDFromFieldOrder($j4f, $m10, $n41b);
updateFieldOrder($j4f, $o49, $n41b);
updateFieldOrder($j4f, $l41c, $h373);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('c2V0Q01EQkZpZWxkT3JkZXJEb3du')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$j4f = $_POST[base64_decode('VGFibGVOYW1l')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$h373 = intval($_POST[base64_decode('RmllbGRPcmRlcg==')]);
if ($h373 == 1) {
return;
}
$o49 = getCIFieldIDFromFieldOrder($j4f, $m10, $h373);
$n41b = intval($h373 - 1);
$l41c = getCIFieldIDFromFieldOrder($j4f, $m10, $n41b);
updateFieldOrder($j4f, $o49, $n41b);
updateFieldOrder($j4f, $l41c, $h373);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('c2V0UGFyZW50VGFza0lkT25UYXNr')])) {
$a1 = $_SESSION[base64_decode('dXNlcnR5cGU=')];
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$w41d = $_POST[base64_decode('dGFza0lk')];
$q41e = $_POST[base64_decode('cGFyZW50VGFza0lk')];
updateParentTaskIDOnTask($w41d, $q41e);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Y3JlYXRlVGVzdENNREI=')])) {
if (!in_array(base64_decode('MTAwMDAw'), $p0)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE='));
echo json_encode($s119);
return;
}
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
createTestCMDB();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0Q1ZFRW50cmllcw==')])) {
if (in_array(base64_decode('MTAwMDIw'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIw'));
$fe[] = array(base64_decode('UmVzdWx0') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$o41f = isset($_POST[base64_decode('ZGF5cw==')]) ? (string)$_POST[base64_decode('ZGF5cw==')] : '';
getCVEEntries($o41f);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cmVtb3ZlQWxsQ1ZFRW50cmllcw==')])) {
if (in_array(base64_decode('MTAwMDIw'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDIw'));
$fe[] = array(base64_decode('UmVzdWx0') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
removeAllCVEEntries();
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('cmVzZXRDTURC')])) {
if (!in_array(base64_decode('MTAwMDAw'), $p0)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE='));
echo json_encode($s119);
return;
}
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$r195 = resetCMDB();
if ($r195 == base64_decode('Q29tcGxldGVk')) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbGVk'));
}
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('c3VibWl0V2l6emFyZA==')])) {
$r420[] = array();
if (!in_array(base64_decode('MTAwMDAx'), $p0)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE='));
echo json_encode($s119);
return;
}
$n421 = $_POST[base64_decode('V2l6emFyZEZvcm0=')];
foreach ($n421 as $u52) {
$i2f1 = $u52[base64_decode('bmFtZQ==')];
$y2d1 = $u52[base64_decode('dmFsdWU=')];
switch ($i2f1) {
case base64_decode('U3lzdGVtTmFtZQ=='):
$r420[] = array(base64_decode('SUQ=') => base64_decode('MTM='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('RGVmYXVsdERlc2lnbg=='):
$r420[] = array(base64_decode('SUQ=') => base64_decode('MjA='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('R29vZ2xlQXV0aA=='):
$r420[] = array(base64_decode('SUQ=') => base64_decode('MzE='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('c210cFBvcnQ='):
$r420[] = array(base64_decode('SUQ=') => base64_decode('MjY='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('U01UUEhvc3Q='):
$r420[] = array(base64_decode('SUQ=') => base64_decode('Mjg='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('U01UUFVzZXJuYW1l'):
$r420[] = array(base64_decode('SUQ=') => base64_decode('Mjk='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('U01UUFBhc3N3b3Jk'):
$r420[] = array(base64_decode('SUQ=') => base64_decode('MzA='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('SU1BUEhvc3Q='):
$r420[] = array(base64_decode('SUQ=') => base64_decode('Mzg='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('SU1BUFVzZXJuYW1l'):
$r420[] = array(base64_decode('SUQ=') => base64_decode('Mzk='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('SU1BUFBhc3N3b3Jk'):
$r420[] = array(base64_decode('SUQ=') => base64_decode('NDA='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('QVBJVG9rZW4='):
$r420[] = array(base64_decode('SUQ=') => base64_decode('MzY='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('RkJMaW5r'):
$r420[] = array(base64_decode('SUQ=') => base64_decode('NDU='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('Q1BMaW5r'):
$r420[] = array(base64_decode('SUQ=') => base64_decode('NDY='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('TGlua2VkSW5MaW5r'):
$r420[] = array(base64_decode('SUQ=') => base64_decode('NDc='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('VXNlclZpYUVtYWls'):
$r420[] = array(base64_decode('SUQ=') => base64_decode('NDk='), base64_decode('VmFsdWU=') => "$y2d1");
break;
case base64_decode('ZGVmYXVsdENvbXBhbnk='):
$r420[] = array(base64_decode('SUQ=') => base64_decode('NDg='), base64_decode('VmFsdWU=') => "$y2d1");
break;
default:
break;
}
}
$j422 = base64_decode('VVBEQVRFIHNldHRpbmdzIFNFVCBTZXR0aW5nVmFsdWUgPSA/IFdIRVJFIElEID0gPw==');
$sb = $zc->prepare($j422);
foreach ($r420 as $i423) {
$l424 = $i423[base64_decode('SUQ=')];
$q425 = $i423[base64_decode('VmFsdWU=')];
$sb = $zc->prepare($j422);
$sb->bind_param(base64_decode('c2k='), $q425, $l424);
$sb->execute();
$sb->close();
}
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2VuZXJhdGVSYW5kb21Sb3dz')])) {
if (!in_array(base64_decode('MTAwMDAw'), $p0)) {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('WW91IGFyZSBub3QgYWxsb3dlZCE='));
echo json_encode($s119);
return;
}
$z426 = $_GET[base64_decode('dGFibGVOYW1l')];
$h427 = $_GET[base64_decode('bnVtYmVyT2ZSb3dz')];
insertRandomRows($z426, $h427);
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0QWN0aXZpdGllcw==')])) {
$n428 = $_POST[base64_decode('c3RhcnQ=')] ?? 0;
$c429 = $_POST[base64_decode('bGVuZ3Ro')] ?? 25;
$oa = "SELECT activitystream.ID, Headline, Text, Date, CONCAT(users.Firstname,' ',users.Lastname,' (',users.Username,')') AS FullName, Url
FROM activitystream
LEFT JOIN users ON activitystream.UserID = users.ID
ORDER BY Date DESC
LIMIT $n428, $c429";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$u2e0 = array(base64_decode('ZHJhdw==') => $_POST[base64_decode('ZHJhdw==')], base64_decode('cmVjb3Jkc1RvdGFs') => $v42a, base64_decode('cmVjb3Jkc0ZpbHRlcmVk') => $v42a, base64_decode('ZGF0YQ==') => array());
while ($l14 = mysqli_fetch_assoc($d13)) {
$u2e0[base64_decode('ZGF0YQ==')][] = $l14;
}
echo json_encode($u2e0);
}
if (isset($_GET[base64_decode('Z2V0QWxsVGltZVJlZ2lzdHJhdGlvbnM=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$s42b = isset($_GET[base64_decode('d2Vla09mZnNldA==')]) ? intval($_GET[base64_decode('d2Vla09mZnNldA==')]) : 0;
$sd1 = new DateTime();
$z42c = new DateTime();
$z42c->setISODate($sd1->format(base64_decode('WQ==')), $sd1->format(base64_decode('Vw==')));
$z42c->modify("+$s42b week");
$e42d = getAllTimeRegistrations($s42b);
$z42e = [base64_decode('TW9uZGF5'), base64_decode('VHVlc2RheQ=='), base64_decode('V2VkbmVzZGF5'), base64_decode('VGh1cnNkYXk='), base64_decode('RnJpZGF5'), base64_decode('U2F0dXJkYXk='), base64_decode('U3VuZGF5')];
$c42f = array();
foreach ($e42d as $l14) {
$y430 = $l14[base64_decode('VXNlck5hbWU=')];
$e431 = $l14[base64_decode('UHJvZmlsZVBvcE92ZXI=')];
$x432 = array($e431 . base64_decode('ICg=') . $y430 . base64_decode('KQ=='));
foreach ($z42e as $f1be) {
$b433 = $l14[$f1be] ?? '';
$x432[] = $b433;
}
$c42f[] = $x432;
}
echo json_encode($c42f);
}
if (isset($_GET[base64_decode('Z2V0V2Vla051bWJlcg==')])) {
$s42b = $_GET[base64_decode('d2Vla09mZnNldA==')];
$sd1 = new DateTime();
$z42c = new DateTime();
$z42c->setISODate($sd1->format(base64_decode('WQ==')), $sd1->format(base64_decode('Vw==')));
$z42c->modify("-$s42b week");
$s434 = $z42c->format(base64_decode('Vw=='));
echo $s434;
exit;
}
if (isset($_GET[base64_decode('cmVzdG9yZVNlbGVjdGVkQmFja3Vw')])) {
$v435 = $_GET[base64_decode('YmFja3VwVG9SZXN0b3Jl')];
$r195 = restoreBackup($v435);
if ($r195 == true) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$r42[] = array(base64_decode('UmVzdWx0') => $r195);
echo json_encode($r42);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlU2VsZWN0ZWRCYWNrdXA=')])) {
$m436 = $_GET[base64_decode('YmFja3VwVG9EZWxldGU=')];
$r195 = deleteBackup($m436);
if ($r195 == true) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$r42[] = array(base64_decode('UmVzdWx0') => $r195);
echo json_encode($r42);
}
}
if (isset($_GET[base64_decode('c3VibWl0UHJvYmxlbVJlcG9ydEZvcm0=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$q437 = $_POST[base64_decode('ZW1haWxDb250ZW50')];
$d20a = getSettingValue(base64_decode('MTM='));
$u20d = getSettingValue(base64_decode('MTc='));
$p8a = $_SESSION[base64_decode('aWQ=')];
$f438 = $_SESSION[base64_decode('ZW1haWw=')];
$g7c = $_SESSION[base64_decode('ZnVsbG5hbWU=')];
$eca = "[Practicle Problem report] from $d20a";
$b6b = "($u20d).<br><br>Reporter:<br>$g7c ($f438)<br><br>Problem:<br>$q437";
$i439 = "This is a problem sent via system:<br>$d20a ($u20d).<br><br>Reporter:<br>$g7c ($f438)<br><br>Problem:<br>$q437";
sendMailToSinglePerson(base64_decode('c3VwcG9ydEBwcmFjdGljbGUuZGs='), base64_decode('UHJhY3RpY2xlIFN1cHBvcnQ='), $eca, $b6b);
sendMailToSinglePerson($f438, $g7c, $eca, $i439);
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
}
if (isset($_GET[base64_decode('Y3JlYXRlTmV3c0FydGljbGU=')])) {
if (!in_array(base64_decode('MTAwMDE0'), $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$d43a = $_POST[base64_decode('TW9kYWxOZXdzQ2F0ZWdvcnk=')];
$t43b = $_POST[base64_decode('TW9kYWxOZXdzV3JpdGVy')];
$n43c = date(base64_decode('WS1tLWQgSDppOnM='), strtotime($_POST[base64_decode('TW9kYWxEYXRlQ3JlYXRlZA==')]));
$d43d = $_POST[base64_decode('TW9kYWxOZXdzSGVhZGxpbmU=')];
$d43e = $_POST[base64_decode('TW9kYWxOZXdzQ29udGVudA==')];
$q43f = $_POST[base64_decode('TW9kYWxBY3RpdmU=')];
$q6f = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('SU5TRVJUIElOVE8gbmV3cyAoSGVhZGxpbmUsIENvbnRlbnQsIENyZWF0ZWRCeVVzZXJJRCwgTmV3c1dyaXRlciwgRGF0ZUNyZWF0ZWQsIFJlbGF0ZWRDYXRlZ29yeSwgQWN0aXZlKSBWQUxVRVMgKD8sID8sID8sID8sID8sID8sID8p');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('c3NpaXNzaQ=='), $d43d, $d43e, $q6f, $t43b, $n43c, $d43a, $q43f);
if ($sb->execute()) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$fe[] = array(base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQgd2hpbGUgaW5zZXJ0aW5nIHRoZSBuZXdzIGFydGljbGUu'));
echo json_encode($fe);
}
}
if (isset($_GET[base64_decode('Y3JlYXRlTmV3c0NhdGVnb3J5')])) {
if (!in_array(base64_decode('MTAwMDE0'), $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$s440 = $_POST[base64_decode('bmV3Q2F0ZWdvcnlOYW1l')];
$m441 = $_POST[base64_decode('VXNlck5ld3NVc2VyR3JvdXA=')];
$n442 = $_POST[base64_decode('VXNlck5ld3NDYXRlZ29yeVJvbGU=')];
$q6f = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('SU5TRVJUIElOVE8gYG5ld3NfY2F0ZWdvcmllc2AoYE5hbWVgLCBgUmVsYXRlZEdyb3VwSURgLCBgUmVsYXRlZFJvbGVgLCBgQWN0aXZlYCkgVkFMVUVTICg/LD8sPywxKQ==');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('c2lp'), $s440, $m441, $n442);
if ($sb->execute()) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$fe[] = array(base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQgd2hpbGUgaW5zZXJ0aW5nIHRoZSBuZXdzIGFydGljbGUu'));
echo json_encode($fe);
}
}
if (isset($_GET[base64_decode('YWRkTmV3c0NWRUZpbHRlcg==')])) {
if (!in_array(base64_decode('MTAwMDE0'), $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$o443 = $_POST[base64_decode('bmV3Q1ZFRmlsdGVy')];
$oa = base64_decode('SU5TRVJUIElOVE8gYG5ld3NfY3ZlX2ZpbHRlcnNgKGBQcm9kdWN0YCkgVkFMVUVTICg/KQ==');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('cw=='), $o443);
if ($sb->execute()) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$fe[] = array(base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQgd2hpbGUgaW5zZXJ0aW5nIHRoZSBuZXdzIGFydGljbGUu'));
echo json_encode($fe);
}
}
if (isset($_GET[base64_decode('dXBkYXRlTmV3c0FydGljbGU=')])) {
if (!in_array(base64_decode('MTAwMDE0'), $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$g6d = $_POST[base64_decode('TmV3c0lE')];
$d43a = $_POST[base64_decode('TW9kYWxOZXdzQ2F0ZWdvcnk=')];
$t43b = $_POST[base64_decode('TW9kYWxOZXdzV3JpdGVy')];
$n43c = date(base64_decode('WS1tLWQgSDppOnM='), strtotime($_POST[base64_decode('TW9kYWxEYXRlQ3JlYXRlZA==')]));
$d43d = $_POST[base64_decode('TW9kYWxOZXdzSGVhZGxpbmU=')];
$d43e = $_POST[base64_decode('TW9kYWxOZXdzQ29udGVudA==')];
$q43f = $_POST[base64_decode('TW9kYWxBY3RpdmU=')];
$q6f = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIG5ld3MgU0VUIEhlYWRsaW5lID0gPywgQ29udGVudCA9ID8sIENyZWF0ZWRCeVVzZXJJRCA9ID8sIE5ld3NXcml0ZXIgPSA/LCBEYXRlQ3JlYXRlZCA9ID8sIFJlbGF0ZWRDYXRlZ29yeSA9ID8sIEFjdGl2ZSA9ID8gV0hFUkUgSUQgPSA/');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('c3NpaXNzaWk='), $d43d, $d43e, $q6f, $t43b, $n43c, $d43a, $q43f, $g6d);
if ($sb->execute()) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$fe[] = array(base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQgd2hpbGUgdXBkYXRpbmcgdGhlIG5ld3MgYXJ0aWNsZS4='));
echo json_encode($fe);
}
}
if (isset($_GET[base64_decode('dXBkYXRlTmV3c0NhdGVnb3J5')])) {
if (!in_array(base64_decode('MTAwMDE0'), $p0) && !in_array(base64_decode('MTAwMDAx'), $p0)) {
$rd = getUserGroupName(base64_decode('MTAwMDE0'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$r444 = $_POST[base64_decode('TmV3c0NhdElE')];
$p445 = $_POST[base64_decode('TW9kYWxOZXdzQ2F0ZWdvcnlHcm91cHM=')];
$b446 = $_POST[base64_decode('TW9kYWxOZXdzQ2F0ZWdvcnlSb2xl')];
$g447 = $_POST[base64_decode('TW9kYWxOZXdzQ2F0ZWdvcnlBY3RpdmU=')];
$g448 = $_POST[base64_decode('TW9kYWxOZXdzQ2F0ZWdvcnlOYW1l')];
$q6f = $_SESSION[base64_decode('aWQ=')];
$oa = base64_decode('VVBEQVRFIGBuZXdzX2NhdGVnb3JpZXNgIFNFVCBgTmFtZWA9PyxgUmVsYXRlZEdyb3VwSURgPT8sYFJlbGF0ZWRSb2xlYD0/LGBBY3RpdmVgPT8gV0hFUkUgSUQgPSA/');
$sb = $zc->prepare($oa);
$sb->bind_param(base64_decode('c2lpaWk='), $g448, $p445, $b446, $g447, $r444);
if ($sb->execute()) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$fe[] = array(base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQgd2hpbGUgdXBkYXRpbmcgdGhlIG5ld3MgYXJ0aWNsZS4='));
echo json_encode($fe);
}
}
if (isset($_GET[base64_decode('Z2V0TmV3c0FydGljbGVz')])) {
$oa = base64_decode('U0VMRUNUIG5ld3MuSUQsIG5ld3MuSGVhZGxpbmUsIG5ld3MuQ29udGVudCwgQ09OQ0FUKHVzZXJzLkZpcnN0bmFtZSwnICcsdXNlcnMuTGFzdG5hbWUpIEFTIENyZWF0ZWRCeSwgbmV3cy5EYXRlQ3JlYXRlZCwgbmV3c19jYXRlZ29yaWVzLk5hbWUgQVMgQ2F0ZWdvcnlOYW1lLCBuZXdzLkNvbW1lbnRzQWxsb3dlZCwgbmV3cy5BY3RpdmUgDQogICAgICAgICAgRlJPTSBuZXdzIA0KICAgICAgICAgIExFRlQgSk9JTiBuZXdzX2NhdGVnb3JpZXMgT04gbmV3cy5SZWxhdGVkQ2F0ZWdvcnkgPSBuZXdzX2NhdGVnb3JpZXMuSUQNCiAgICAgICAgICBMRUZUIEpPSU4gdXNlcnMgT04gbmV3cy5DcmVhdGVkQnlVc2VySUQgPSB1c2Vycy5JRA0KICAgICAgICAgIE9SREVSIEJZIERhdGVDcmVhdGVkIERFU0M7');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$s65 = "<a href=\"javascript:void(0);\"><span class=\"badge bg-gradient-success\" onclick=\"viewNews($r46);\" title=\"" . translate(base64_decode('RWRpdA==')) . base64_decode('Ij48aSBjbGFzcz0iZmEgZmEtcGVuLXRvLXNxdWFyZSI+PC9pPjwvc3Bhbj48L2E+');
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDMy'), $p0)) {
$g32 = base64_decode('PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRl')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteNewsArticle($r46);\"><i class=\"fa fa-trash\"></i></span></a>";
} else {
$g32 = '';
}
$d6a = $l14[base64_decode('SGVhZGxpbmU=')];
$t338 = $l14[base64_decode('Q3JlYXRlZEJ5')];
$i71 = convertToDanishDateTimeFormat($l14[base64_decode('RGF0ZUNyZWF0ZWQ=')]);
$b198 = $l14[base64_decode('Q2F0ZWdvcnlOYW1l')];
$r42[] = array(translate(base64_decode('SGVhZGxpbmU=')) => $d6a, translate(base64_decode('Q3JlYXRlZCBieQ==')) => $t338, translate(base64_decode('Q3JlYXRlZA==')) => $i71, translate(base64_decode('Q2F0ZWdvcnk=')) => $b198, '' => "$s65 $g32");
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0TmV3c0FydGljbGVz'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0TmV3c0FydGljbGVz'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0VGVhbU1lbWJlcnM=')])) {
$r1a6 = $_POST[base64_decode('dGVhbUlk')];
$oa = "SELECT usersteams.UserID
FROM usersteams
LEFT JOIN users ON usersteams.UserID = users.ID
WHERE usersteams.TeamID = $r1a6 AND users.Active = 1;";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$k449 = $l14[base64_decode('VXNlcklE')];
$z187 = getUserEmailFromID($k449);
$x9d = $_SESSION[base64_decode('aWQ=')];
$g7c = getUserFullNameWithUsername($k449);
$h27a = getUserProfilePicture($k449);
$x44a = "<a href=\"javascript:runModalViewUnit('User',$k449);\" data-bs-toggle='popover' data-bs-html='true' data-bs-trigger='hover' data-bs-content='
<p class=\"text-center\"><b>$g7c</b><br>$z187<br><br>
<img class=\"rounded-circle img-fluid\" style=\"width: 100px;\" src=\"$h27a\">
<p class=\"text-sm text-secondary mb-0 text-wrap\">$g7c</p>
'>$g7c</a>";
$r42[] = array(translate(base64_decode('TmFtZQ==')) => $x44a);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([base64_decode('bWVzc2FnZQ==') => base64_decode('VGVhbSBoYXMgbm8gbWVtYmVycw==')]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VGVhbU1lbWJlcnM='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0VGVhbU1lbWJlcnM='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0QWN0aXZlQXBpS2V5cw==')])) {
$oa = base64_decode('U0VMRUNUIGBpZGAsIGBhcGlfa2V5YCwgYGNvbXBhbnlfaWRgLCBgZXhwaXJ5X2RhdGVgLCBgc3RhdHVzYCwgYGNyZWF0ZWRgLCBjcmVhdGVkX2J5DQogICAgICAgICAgRlJPTSBgYXBpX2tleXNgDQogICAgICAgICAgV0hFUkUgU3RhdHVzID0gMTs=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$u1bc = $l14[base64_decode('aWQ=')];
$o44b = $l14[base64_decode('YXBpX2tleQ==')];
$k44c = $l14[base64_decode('Y29tcGFueV9pZA==')];
$k44d = getCompanyName($k44c);
$s44e = $l14[base64_decode('Y3JlYXRlZF9ieQ==')];
$o44f = getUserFullNameWithUsername($s44e);
$o450 = convertToDanishDateTimeFormat($l14[base64_decode('ZXhwaXJ5X2RhdGU=')]);
$hff = $l14[base64_decode('c3RhdHVz')];
$b451 = convertToDanishDateTimeFormat($l14[base64_decode('Y3JlYXRlZA==')]);
$i87 = base64_decode('PGEgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApOyIgdGl0bGU9Ig==') . translate(base64_decode('RGVsZXRl')) . "\"><span class=\"badge badge-pill bg-gradient-danger\" onclick=\"deleteApiKey($u1bc);\"><i class=\"fa fa-trash\"></i></span></a>";
$r42[] = array('' => $i87, translate(base64_decode('S2V5')) => $o44b, translate(base64_decode('Q29tcGFueQ==')) => $k44d, translate(base64_decode('RXhwaXJlcw==')) => $o450, translate(base64_decode('Q3JlYXRlZA==')) => $b451, translate(base64_decode('Q3JlYXRlZCBieQ==')) => $o44f);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([base64_decode('bWVzc2FnZQ==') => base64_decode('Tm8gYWN0aXZlIEFQSSBrZXlz')]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0QWN0aXZlQXBpS2V5cw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0QWN0aXZlQXBpS2V5cw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlQXBpS2V5')])) {
$z5c = $_POST[base64_decode('a2V5')];
$oa = base64_decode('REVMRVRFIEZST00gYGFwaV9rZXlzYCBXSEVSRSBJRCA9ID87');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('aQ=='), $z5c);
if (mysqli_stmt_execute($sb)) {
if (mysqli_stmt_affected_rows($sb) > 0) {
echo json_encode([base64_decode('bWVzc2FnZQ==') => base64_decode('QVBJIGtleSBkZWxldGVkIHN1Y2Nlc3NmdWxseS4=')]);
} else {
echo json_encode([base64_decode('bWVzc2FnZQ==') => base64_decode('Tm8gQVBJIGtleSBmb3VuZCB3aXRoIHRoZSBzcGVjaWZpZWQgSUQu')]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlQXBpS2V5'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
mysqli_stmt_close($sb);
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlQXBpS2V5'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0QWN0aXZlQ29tcGFuaWVz')])) {
$oa = base64_decode('U0VMRUNUIGBpZGAsIGBDb21wYW55TmFtZWANCiAgICAgICAgICBGUk9NIGBjb21wYW5pZXNgDQogICAgICAgICAgV0hFUkUgQWN0aXZlID0gMTs=');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$u1bc = $l14[base64_decode('aWQ=')];
$y21b = $l14[base64_decode('Q29tcGFueU5hbWU=')];
$r42[] = array(base64_decode('aWQ=') => $u1bc, base64_decode('Q29tcGFueQ==') => $y21b);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([base64_decode('bWVzc2FnZQ==') => base64_decode('Tm8gYWN0aXZlIENvbXBhbmllcw==')]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0QWN0aXZlQ29tcGFuaWVz'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0QWN0aXZlQ29tcGFuaWVz'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlTmV3c0FydGljbGU=')])) {
$r46 = $_POST[base64_decode('bmV3c0FydGljbGVJRA==')];
$oa = "DELETE FROM news
WHERE ID = $r46;";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlTmV3c0FydGljbGU='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
errorlog($m1b, base64_decode('ZGVsZXRlTmV3c0FydGljbGU='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlTmV3c0NhdGVnb3J5')])) {
$r46 = $_POST[base64_decode('Q2F0ZWdvcnlJRA==')];
$oa = "DELETE FROM news_categories
WHERE ID = $r46;";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlTmV3c0NhdGVnb3J5'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
errorlog($m1b, base64_decode('ZGVsZXRlTmV3c0NhdGVnb3J5'));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('ZGVsZXRlTmV3c0NWRUZpbHRlcg==')])) {
$r46 = $_POST[base64_decode('RmlsdGVySUQ=')];
$oa = "DELETE FROM news_cve_filters
WHERE ID = $r46;";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($r42);
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('ZGVsZXRlTmV3c0NWRUZpbHRlcg=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
errorlog($m1b, base64_decode('ZGVsZXRlTmV3c0NWRUZpbHRlcg=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('dXBkYXRlTmV3c1JlYWRTdGF0dXM=')])) {
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$d452 = $_POST[base64_decode('bmV3c0lk')];
$j10a = $_SESSION[base64_decode('aWQ=')];
$j1a2 = $_SESSION[base64_decode('aWQ=')];
$d452 = $_POST[base64_decode('bmV3c0lk')];
$sb = $zc->prepare(base64_decode('SU5TRVJUIElOVE8gbmV3c19yZWFkcyAoTmV3c0lELCBVc2VySUQpIFZBTFVFUyAoPywgPykgT04gRFVQTElDQVRFIEtFWSBVUERBVEUgTmV3c0lEPU5ld3NJRA=='));
$sb->bind_param(base64_decode('aWk='), $d452, $j1a2);
$sb->execute();
$s119[] = array();
if ($sb->$o294) {
$s119[] = array(base64_decode('UmVzdWx0') => $sb->$o294);
errorlog(base64_decode('RXJyb3I6IA==') . $sb->$o294, base64_decode('dXBkYXRlTmV3c1JlYWRTdGF0dXM='));
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
}
$sb->close();
$zc->close();
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Y3JlYXRlQVBJS2V5')])) {
if ($a1 == base64_decode('Mg==')) {
echo json_encode([]);
return;
}
$b453 = $_POST[base64_decode('YXBpS2V5RGVzY3JpcHRpb24=')];
$a454 = $_POST[base64_decode('QVBJS2V5Q29tcGFuaWVz')];
$j455 = convertFromDanishTimeFormat($_POST[base64_decode('YXBpRXhwaXJlRGF0ZQ==')]);
$e456 = generateRandomString(64);
$j1a2 = $_SESSION[base64_decode('aWQ=')];
$sb = $zc->prepare(base64_decode('SU5TRVJUIElOVE8gYGFwaV9rZXlzYChgYXBpX2tleWAsIGBjb21wYW55X2lkYCwgYGV4cGlyeV9kYXRlYCxgY3JlYXRlZF9ieWApIA0KICAgICAgICAgICAgICAgICAgICAgICAgICBWQUxVRVMgKD8sPyw/LD8p'));
$sb->bind_param(base64_decode('c2lzaQ=='), $e456, $a454, $j455, $j1a2);
$sb->execute();
$s119[] = array();
if ($sb->$o294) {
$s119[] = array(base64_decode('UmVzdWx0') => $sb->$o294);
errorlog(base64_decode('RXJyb3I6IA==') . $sb->$o294, base64_decode('Y3JlYXRlQVBJS2V5'));
} else {
$s119[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
}
$sb->close();
$zc->close();
echo json_encode($s119, JSON_PRETTY_PRINT);
}
if (isset($_GET[base64_decode('Z2V0Q2hhbmdlbG9nSW5mbw==')])) {
$k457 = $_GET[base64_decode('Q2hhbmdlTG9nSUQ=')];
$oa = "SELECT `ID`, `Date`, `Version`, `Description`, `Type`
FROM `changelog`
WHERE ID = '$k457';";
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_execute($sb);
$d13 = mysqli_stmt_get_result($sb);
if ($d13) {
$r42 = [];
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$g9c = $l14[base64_decode('RGF0ZQ==')];
$qa0 = $l14[base64_decode('VmVyc2lvbg==')];
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$q54 = $l14[base64_decode('VHlwZQ==')];
$r42[] = array(base64_decode('SUQ=') => $r46, base64_decode('RGF0ZQ==') => $g9c, base64_decode('VmVyc2lvbg==') => $qa0, base64_decode('RGVzY3JpcHRpb24=') => $f1e, base64_decode('VHlwZQ==') => $q54);
}
mysqli_free_result($d13);
if (!empty($r42)) {
echo json_encode($r42, JSON_PRETTY_PRINT);
} else {
echo json_encode([base64_decode('bWVzc2FnZQ==') => base64_decode('RXJyb3I=')]);
}
} else {
$m1b = base64_decode('UXVlcnkgZmFpbGVkOiA=') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q2hhbmdlbG9nSW5mbw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('Z2V0Q2hhbmdlbG9nSW5mbw=='));
echo json_encode([base64_decode('ZXJyb3I=') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('dXBkYXRlQ2hhbmdlbG9n')])) {
$k457 = $_GET[base64_decode('Q2hhbmdlTG9nSUQ=')];
$qa0 = $_GET[base64_decode('VmVyc2lvbg==')];
$f1e = $_GET[base64_decode('RGVzY3JpcHRpb24=')];
$a458 = $_GET[base64_decode('Q2hhbmdlbG9nRGF0ZQ==')];
$q54 = $_GET[base64_decode('VHlwZQ==')];
$oa = base64_decode('VVBEQVRFIGBjaGFuZ2Vsb2dgIA0KICAgICAgICAgIFNFVCBgVmVyc2lvbmAgPSA/LCBgRGVzY3JpcHRpb25gID0gPywgYFR5cGVgID0gPywgYERhdGVgID0gPw0KICAgICAgICAgIFdIRVJFIGBJRGAgPSA/');
$sb = mysqli_prepare($zc, $oa);
if ($sb) {
mysqli_stmt_bind_param($sb, base64_decode('c3Npc3M='), $qa0, $f1e, $q54, $a458, $k457);
if (mysqli_stmt_execute($sb)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('VXBkYXRlIHN1Y2Nlc3NmdWw=')]);
} else {
$m1b = base64_decode('VXBkYXRlIGZhaWxlZDog') . mysqli_stmt_error($sb);
errorlog($m1b, base64_decode('dXBkYXRlQ2hhbmdlbG9n'));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
mysqli_stmt_close($sb);
} else {
$m1b = base64_decode('U3RhdGVtZW50IHByZXBhcmF0aW9uIGZhaWxlZDog') . mysqli_error($zc);
errorlog($m1b, base64_decode('dXBkYXRlQ2hhbmdlbG9n'));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0VGltZVJlZ2lzdHJhdGlvbkluZm9ybWF0aW9u')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$f459 = $_POST[base64_decode('dGltZXJlZ2lk')];
$oa = base64_decode('U0VMRUNUIHRpbWVfcmVnaXN0cmF0aW9ucy5JRCwgdGltZV9yZWdpc3RyYXRpb25zLkRhdGVXb3JrZWQsIFRpbWVSZWdpc3RlcmVkLCB0aW1lX3JlZ2lzdHJhdGlvbnMuRGVzY3JpcHRpb24sIFJlbGF0ZWRUYXNrSUQsIERhdGVSZWdpc3RlcmVkLCB0YXNrc2xpc3QuSGVhZGxpbmUsIHRhc2tzbGlzdC5Vc2VyTm90ZSwgdGFza3NsaXN0LkRlYWRsaW5lLCB0YXNrc2xpc3QuR29Ub0xpbmssIA0KICAgICAgICAgIHRhc2tzbGlzdC5SZWxhdGVkRWxlbWVudElELCB0YXNrc2xpc3QuUmVsYXRlZEVsZW1lbnRUeXBlSUQsIHRpbWVfcmVnaXN0cmF0aW9ucy5CaWxsYWJsZQ0KICAgICAgICAgIEZST00gdGltZV9yZWdpc3RyYXRpb25zDQogICAgICAgICAgTEVGVCBKT0lOIHRhc2tzbGlzdCBPTiB0aW1lX3JlZ2lzdHJhdGlvbnMuUmVsYXRlZFRhc2tJRCA9IHRhc2tzbGlzdC5JRA0KICAgICAgICAgIFdIRVJFIHRpbWVfcmVnaXN0cmF0aW9ucy5JRCA9ID8NCiAgICAgICAgICBPUkRFUiBCWSBEYXRlV29ya2VkIERFU0MsIERhdGVSZWdpc3RlcmVkIERFU0M7');
$sb = mysqli_prepare($zc, $oa);
mysqli_stmt_bind_param($sb, base64_decode('aQ=='), $f459);
if (mysqli_stmt_execute($sb)) {
$d13 = mysqli_stmt_get_result($sb);
$c42f = [];
while ($l14 = mysqli_fetch_assoc($d13)) {
$c42f[] = $l14;
}
echo json_encode($c42f);
} else {
$m1b = base64_decode('VXBkYXRlIGZhaWxlZDog') . mysqli_stmt_error($sb);
errorlog($m1b, base64_decode('Z2V0VGltZVJlZ2lzdHJhdGlvbkluZm9ybWF0aW9u'));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
mysqli_stmt_close($sb);
}
if (isset($_GET[base64_decode('cmVzZXRJbnN0YWxsYXRpb24=')])) {
if (in_array(base64_decode('MTAwMDAw'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAw'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
resetInstallation();
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('dXBkYXRlQWxsVGFibGVDb21tZW50cw==')])) {
if (in_array(base64_decode('MTAwMDAw'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAw'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
updateAllTableComments();
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('dXBncmFkZUxhdGVzdFByYWN0aWNsZUJhc2VEYg==')])) {
if (in_array(base64_decode('MTAwMDAw'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAw'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$r195 = upgradeLatestPracticleBaseDb();
if ($r195 = true) {
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='));
} else {
$t1b9[] = array(base64_decode('UmVzdWx0') => base64_decode('ZmFpbA=='));
}
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('Z2V0VW5pdENyZWF0ZUZpZWxkRGVmaW5pdGlvbnM=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0) || in_array(base64_decode('MTAwMDI2'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$m45a = $_POST[base64_decode('VW5pdFR5cGU=')];
$h45b = translate(base64_decode('Q3JlYXRl'));
$o45c = "<button class=\"btn btn-sm btn-success float-end\" onclick=\"createUnit('$m45a')\">$h45b</button>";
$d290 = array();
if ($m45a == base64_decode('VXNlcg==')) {
$d290 = getUnitCreateFieldsUsers();
} else if ($m45a == base64_decode('R3JvdXA=')) {
$d290 = getUnitFieldsGroups();
} else if ($m45a == base64_decode('Um9sZQ==')) {
$d290 = getUnitFieldsRoles();
} else if ($m45a == base64_decode('VGVhbQ==')) {
$d290 = getUnitFieldsTeams();
} else if ($m45a == base64_decode('Q29tcGFueQ==')) {
$d290 = getUnitFieldsCompanies();
}
$t1b9[] = array(base64_decode('RmllbGRzQXJyYXk=') => $d290, base64_decode('Q3JlYXRlQnRu') => $o45c);
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('dXBkYXRlTG9va3VwRmllbGQ=')])) {
if (in_array(base64_decode('MTAwMDAx'), $p0)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDAx'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
$z426 = $_POST[base64_decode('dGFibGVOYW1l')];
$oa = "DESCRIBE $z426;";
$d13 = mysqli_query($zc, $oa);
while ($l14 = mysqli_fetch_array($d13)) {
$t1b9[] = array(base64_decode('RmllbGROYW1l') => $l14[base64_decode('RmllbGQ=')]);
}
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('Z2V0VW5pdFZpZXdGaWVsZERlZmluaXRpb25z')])) {
$m45a = $_POST[base64_decode('VW5pdFR5cGU=')];
$h45b = translate(base64_decode('Q3JlYXRl'));
$d290 = array();
if ($m45a == base64_decode('VXNlcg==')) {
$d290 = getUnitViewFieldsUsers();
} else if ($m45a == base64_decode('R3JvdXA=')) {
$d290 = getUnitFieldsGroups();
} else if ($m45a == base64_decode('Um9sZQ==')) {
$d290 = getUnitFieldsRoles();
} else if ($m45a == base64_decode('VGVhbQ==')) {
$d290 = getUnitFieldsTeams();
} else if ($m45a == base64_decode('Q29tcGFueQ==')) {
$d290 = getUnitFieldsCompanies();
}
$t1b9[] = array(base64_decode('RmllbGRzQXJyYXk=') => $d290);
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('Z2V0VW5pdEVkaXRGaWVsZERlZmluaXRpb25z')])) {
$m45a = $_POST[base64_decode('VW5pdFR5cGU=')];
$h45b = translate(base64_decode('Q3JlYXRl'));
$d290 = array();
if ($m45a == base64_decode('VXNlcg==')) {
$d290 = getUnitFieldsUsers();
} else if ($m45a == base64_decode('R3JvdXA=')) {
$d290 = getUnitFieldsGroups();
} else if ($m45a == base64_decode('Um9sZQ==')) {
$d290 = getUnitFieldsRoles();
} else if ($m45a == base64_decode('VGVhbQ==')) {
$d290 = getUnitFieldsTeams();
} else if ($m45a == base64_decode('Q29tcGFueQ==')) {
$d290 = getUnitFieldsCompanies();
}
$t1b9[] = array(base64_decode('RmllbGRzQXJyYXk=') => $d290);
echo json_encode($t1b9);
}
if (isset($_GET[base64_decode('Y3JlYXRlVW5pdA==')])) {
$n3e7 = $_POST[base64_decode('VW5pdFR5cGU=')];
switch ($n3e7) {
case base64_decode('VXNlcg=='):
$c45d = base64_decode('VXNlcnM=');
$e45e = base64_decode('VGFibGVVc2Vycw==');
break;
case base64_decode('R3JvdXA='):
$c45d = base64_decode('dXNlcmdyb3Vwcw==');
$e45e = base64_decode('dGFibGVHcm91cHM=');
break;
case base64_decode('Um9sZQ=='):
$c45d = base64_decode('cm9sZXM=');
$e45e = base64_decode('VGFibGVSb2xlcw==');
break;
case base64_decode('VGVhbQ=='):
$c45d = base64_decode('VGVhbXM=');
$e45e = base64_decode('dGFibGVUZWFtcw==');
break;
case base64_decode('Q29tcGFueQ=='):
$c45d = base64_decode('Q29tcGFuaWVz');
$e45e = base64_decode('VGFibGVDb21wYW5pZXM=');
break;
default:
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('RXJyb3I=')]);
}
$x3e8 = $_POST[base64_decode('RmllbGRTcGVjcw==')];
$d45f = [];
$h354 = [];
foreach ($x3e8 as $k349) {
$i2f1 = $k349[base64_decode('bmFtZQ==')];
$y2d1 = $k349[base64_decode('dmFsdWU=')];
$i460 = isset($k349[base64_decode('dHlwZQ==')]) ? $k349[base64_decode('dHlwZQ==')] : '';
if ($c45d === base64_decode('VXNlcnM=')) {
if ($i460 === base64_decode('ZW1haWw=') && doesEmailExistSimple($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VGhpcyBlbWFpbCBhbGxyZWFkeSBleGlzdHM='))]);
return;
}
if ($i2f1 === base64_decode('VXNlcm5hbWU=') && doesUsernameExistSimple($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VXNlcm5hbWUgYWxyZWFkeSBleGlzdHM='))]);
return;
}
if ($i460 === base64_decode('ZGF0ZQ==')) {
if (!empty($y2d1)) {
$y2d1 = convertFromDanishDateFormat($y2d1);
}
}
}
if ($c45d === base64_decode('Q29tcGFuaWVz')) {
if ($i460 === base64_decode('ZW1haWw=') && doesCompanyEmailExistSimple($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VGhpcyBlbWFpbCBhbGxyZWFkeSBleGlzdHM='))]);
return;
}
if ($i2f1 === base64_decode('VXNlcm5hbWU=') && doesUsernameExistSimple($y2d1)) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => translate(base64_decode('VXNlcm5hbWUgYWxyZWFkeSBleGlzdHM='))]);
return;
}
}
$d45f[] = $i2f1;
if (empty($y2d1)) {
$h354[] = base64_decode('TlVMTA==');
} else {
$h354[] = base64_decode('Jw==') . mysqli_real_escape_string($zc, $y2d1) . base64_decode('Jw==');
}
}
$d45f[] = base64_decode('QWN0aXZl');
$h354[] = base64_decode('MQ==');
if (!empty($d45f) && !empty($h354)) {
$n461 = implode(base64_decode('LCA='), $d45f);
$v462 = implode(base64_decode('LCA='), $h354);
$oa = "INSERT INTO $c45d ($n461) VALUES ($v462)";
$d13 = mysqli_query($zc, $oa);
$w3f2 = mysqli_error($zc);
if ($w3f2 == '') {
$f3f0 = translate($n3e7);
$k3f1 = $f3f0 . base64_decode('IA==') . translate(base64_decode('Y3JlYXRlZA=='));
if ($n3e7 == base64_decode('VXNlcg==')) {
$w304 = $zc->$a10f;
$faf = base64_decode('OA==');
sendSystemMailUserCreated($w304, $faf);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('TWVzc2FnZQ==') => $k3f1, base64_decode('RGF0YVRhYmxl') => $e45e]);
} else {
$w3f2 = mysqli_error($zc);
errorlog("$f3f0 could not be created. Error: $w3f2", base64_decode('Y3JlYXRlVW5pdA=='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('ZXJyb3I='), base64_decode('TWVzc2FnZQ==') => $w3f2]);
}
}
}
if (isset($_GET[base64_decode('Z2V0R3JvdXBzVGFibGU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
try {
$oa = base64_decode('U0VMRUNUIHVzZXJncm91cHMuSUQgQVMgSUQsIHVzZXJncm91cHMuR3JvdXBOYW1lIEFTIEdyb3VwTmFtZSwgdXNlcmdyb3Vwcy5BY3RpdmUgQVMgQWN0aXZlLCAnUGVyc29uYWwnIEFTIFR5cGUNCiAgICAgICAgICAgIEZST00gdXNlcmdyb3Vwcw0KICAgICAgICAgICAgVU5JT04NCiAgICAgICAgICAgIFNFTEVDVCBzeXN0ZW1fZ3JvdXBzLklEIEFTIElELCBzeXN0ZW1fZ3JvdXBzLkdyb3VwTmFtZSBBUyBHcm91cE5hbWUsIHN5c3RlbV9ncm91cHMuQWN0aXZlIEFTIEFjdGl2ZSwgJ1N5c3RlbScgQVMgVHlwZQ0KICAgICAgICAgICAgRlJPTSBzeXN0ZW1fZ3JvdXBzDQogICAgICAgICAgICBXSEVSRSBzeXN0ZW1fZ3JvdXBzLklEICE9JzEwMDAwMCcNCiAgICAgICAgICAgIE9SREVSIEJZIEFjdGl2ZSBERVNDLCBHcm91cE5hbWUgQVNDOw==');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$s119 = array();
while ($l14 = mysqli_fetch_array($d13)) {
$j114 = $l14[base64_decode('SUQ=')];
$q54 = $l14[base64_decode('VHlwZQ==')];
$rd = $l14[base64_decode('R3JvdXBOYW1l')];
$f260 = $l14[base64_decode('TW9kdWxlTmFtZQ==')];
$l7 = $l14[base64_decode('QWN0aXZl')] == base64_decode('MQ==') ? _(base64_decode('QWN0aXZl')) : _(base64_decode('SW5hY3RpdmU='));
$o463 = "<a href='administration_groups_edit.php?groupid=$j114' title=\"" . translate(base64_decode('RWRpdA==')) . base64_decode('Ij48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1zdWNjZXNzJz48aSBjbGFzcz0nZmEgZmEtcGVuLXRvLXNxdWFyZSc+PC9pPjwvc3Bhbj48L2E+');
$h464 = "<a href=\"javascript:getUsersInGroup('$j114');\" title=\"" . translate(base64_decode('UHJldmlldyBncm91cCBtZW1iZXJz')) . base64_decode('Ij48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1pbmZvJz48aSBjbGFzcz0nZmFyIGZhLWV5ZSc+PC9pPjwvc3Bhbj48L2E+');
if ($q54 == base64_decode('UGVyc29uYWw=')) {
$c465 = "<a href=\"javascript:deleteGroup($j114);\" title=\"" . translate(base64_decode('RGVsZXRl')) . base64_decode('Ij48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1kYW5nZXInPjxpIGNsYXNzPSdmYS1zb2xpZCBmYS10cmFzaCc+PC9pPjwvc3Bhbj48L2E+');
} else {
$c465 = '';
}
$s119[] = array(translate(base64_decode('TmFtZQ==')) => translate("$rd"), '' => $o463 . $h464 . $c465, translate(base64_decode('TW9kdWxl')) => translate("$f260"), translate(base64_decode('VHlwZQ==')) => translate("$q54"), translate(base64_decode('U3RhdHVz')) => translate("$l7"));
}
if ($s119) {
usort($s119, function ($x13f, $a140) {
return strcmp($x13f[translate(base64_decode('TmFtZQ=='))], $a140[translate(base64_decode('TmFtZQ=='))]);
});
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} catch (Exception $s15) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0VXNlcnNUYWJsZQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
try {
$oa = base64_decode('U0VMRUNUIERJU1RJTkNUIHVzZXJzLklEIEFTIFVzZXJJRCwgQ09OQ0FUKHVzZXJzLkZpcnN0bmFtZSwnICcsdXNlcnMuTGFzdG5hbWUpIEFTIGZ1bGxOYW1lLCB1c2Vycy5Vc2VybmFtZSwgdXNlcnR5cGVzLlR5cGVOYW1lIEFTIFVzZXJUeXBlLCB1c2Vycy5FbWFpbCwgdXNlcnMuQ3JlYXRlZF9EYXRlIEFTIENyZWF0ZWREYXRlLCANCiAgICAgICAgICAgIGNvbXBhbmllcy5Db21wYW55bmFtZSBBUyBDb21wYW55bmFtZSwgdXNlcnMuUmVsYXRlZFVzZXJUeXBlSUQsIHVzZXJzLkFjdGl2ZSBBUyBBY3RpdmUsIHVzZXJzLlJlbGF0ZWRNYW5hZ2VyLCB1c2Vycy5MYXN0TG9nb24sIHVzZXJzLlBob25lDQogICAgICAgICAgICBGUk9NIFVzZXJzIA0KICAgICAgICAgICAgTEVGVCBKT0lOIGNvbXBhbmllcyBPTiB1c2Vycy5Db21wYW55SUQgPSBjb21wYW5pZXMuSUQNCiAgICAgICAgICAgIExFRlQgSk9JTiB1c2VydHlwZXMgT04gdXNlcnMuUmVsYXRlZFVzZXJUeXBlSUQgPSB1c2VydHlwZXMuSUQNCiAgICAgICAgICAgIFdIRVJFIFVzZXJzLkFjdGl2ZSBJTiAoMCwxKQ0KICAgICAgICAgICAgT1JERVIgQlkgZnVsbE5hbWUgQVNDLCBBY3RpdmUgREVTQzs=');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$w466 = array();
while ($l14 = mysqli_fetch_array($d13)) {
$y430 = $l14[base64_decode('VXNlcm5hbWU=')];
$j467 = $l14[base64_decode('UmVsYXRlZE1hbmFnZXI=')];
$baa = $l14[base64_decode('VXNlcklE')];
$t468 = $l14[base64_decode('ZnVsbE5hbWU=')];
$e7b = $l14[base64_decode('VXNlcm5hbWU=')];
$y16e = $l14[base64_decode('UGhvbmU=')];
$d469 = $l14[base64_decode('VXNlclR5cGU=')];
$i3d2 = $l14[base64_decode('Q29tcGFueW5hbWU=')];
$z187 = $l14[base64_decode('RW1haWw=')];
if (empty($l14[base64_decode('TGFzdExvZ29u')])) {
$p46a = '';
} else {
$p46a = convertToDanishTimeFormat($l14[base64_decode('TGFzdExvZ29u')]);
}
if ($j467 == '') {
} else {
$j467 = getUserFullNameWithUsername($l14[base64_decode('UmVsYXRlZE1hbmFnZXI=')]);
}
$a1df = $l14[base64_decode('QWN0aXZl')];
if ($a1df == base64_decode('MQ==')) {
$a1df = translate(base64_decode('QWN0aXZl'));
} else {
$a1df = translate(base64_decode('SW5hY3RpdmU='));
}
$s46b = "<a href='administration_users_edit.php?usersid=$baa' title=\"" . translate(base64_decode('RWRpdA==')) . base64_decode('Ij48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1pbmZvJz48aSBjbGFzcz0nZmEgZmEtZm9sZGVyLW9wZW4nPjwvaT48L3NwYW4+PC9hPg==');
$o463 = "<a href=\"javascript:runModalViewUnit('User', $baa);\" title=\"" . translate(base64_decode('Vmlldw==')) . base64_decode('Ij48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1zdWNjZXNzJz48aSBjbGFzcz0nZmEgZmEtcGVuLXRvLXNxdWFyZSc+PC9pPjwvc3Bhbj48L2E+');
$s119[] = array(translate(base64_decode('TmFtZQ==')) => $t468, '' => $o463 . $s46b, translate(base64_decode('VXNlcm5hbWU=')) => $e7b, translate(base64_decode('VHlwZQ==')) => translate("$d469"), translate(base64_decode('RW1haWw=')) => $z187, translate(base64_decode('UGhvbmU=')) => $y16e, translate(base64_decode('Q29tcGFueQ==')) => $i3d2, translate(base64_decode('TGFzdCBsb2dvbg==')) => $p46a, translate(base64_decode('VGVhbSBMZWFkZXI=')) => $j467, translate(base64_decode('U3RhdHVz')) => $a1df,);
}
if ($s119) {
usort($s119, function ($x13f, $a140) {
return strcmp($x13f[translate(base64_decode('TmFtZQ=='))], $a140[translate(base64_decode('TmFtZQ=='))]);
});
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} catch (Exception $s15) {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0Um9sZXNUYWJsZQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
try {
$oa = base64_decode('U0VMRUNUIHJvbGVzLklEIEFTIFJvbGVJRCwgcm9sZXMuUm9sZU5hbWUsIHJvbGVzLkRlc2NyaXB0aW9uLCByb2xlcy5BY3RpdmUNCiAgICAgICAgICAgIEZST00gcm9sZXMNCiAgICAgICAgICAgIFdIRVJFIHJvbGVzLklEID4gMA0KICAgICAgICAgICAgT1JERVIgQlkgUm9sZU5hbWUgQVNDOw==');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$s119 = array();
while ($l14 = mysqli_fetch_array($d13)) {
$m11e = $l14[base64_decode('Um9sZUlE')];
$r67 = $l14[base64_decode('Um9sZU5hbWU=')];
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$a1df = $l14[base64_decode('QWN0aXZl')];
if ($a1df == base64_decode('MQ==')) {
$a1df = translate(base64_decode('QWN0aXZl'));
} else {
$a1df = translate(base64_decode('SW5hY3RpdmU='));
}
$o463 = "<a href='administration_roles_edit.php?roleid=$m11e' title='" . translate(base64_decode('RWRpdA==')) . base64_decode('Jz48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1zdWNjZXNzJz48aSBjbGFzcz0nZmEgZmEtcGVuLXRvLXNxdWFyZSc+PC9pPjwvc3Bhbj48L2E+');
$h464 = "<a href=\"javascript:getGroupsInRole('$m11e');\" title='" . translate(base64_decode('UHJldmlldyBHcm91cHMgaW4gdGhlIHJvbGU=')) . base64_decode('Jz48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1pbmZvJz48aSBjbGFzcz0nZmFyIGZhLWV5ZSc+PC9pPjwvc3Bhbj48L2E+');
$c465 = "<a href=\"javascript:deleteRole($m11e);\" title='" . translate(base64_decode('RGVsZXRl')) . base64_decode('Jz48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1kYW5nZXInPjxpIGNsYXNzPSdmYS1zb2xpZCBmYS10cmFzaCc+PC9pPjwvc3Bhbj48L2E+');
$s119[] = array(translate(base64_decode('TmFtZQ==')) => $r67, '' => $o463 . $h464 . $c465, translate(base64_decode('RGVzY3JpcHRpb24=')) => $f1e, translate(base64_decode('U3RhdHVz')) => $a1df,);
}
if ($s119) {
usort($s119, function ($x13f, $a140) {
return strcmp($x13f[translate(base64_decode('TmFtZQ=='))], $a140[translate(base64_decode('TmFtZQ=='))]);
});
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} catch (Exception $s15) {
errorlog($s15->getMessage(), base64_decode('Z2V0Um9sZXNUYWJsZQ=='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0VGVhbXNUYWJsZQ==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
try {
$oa = base64_decode('U0VMRUNUIHRlYW1zLklELCB0ZWFtcy5UZWFtbmFtZSwgdGVhbXMuRGVzY3JpcHRpb24sIHRlYW1zLkFjdGl2ZSANCiAgICAgICAgICAgIEZST00gdGVhbXMNCiAgICAgICAgICAgIE9SREVSIEJZIHRlYW1zLkFjdGl2ZSBERVNDLCB0ZWFtcy5UZWFtbmFtZSBBU0M7');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$s119 = array();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$n3d1 = $l14[base64_decode('VGVhbW5hbWU=')];
$f1e = $l14[base64_decode('RGVzY3JpcHRpb24=')];
$a1df = $l14[base64_decode('QWN0aXZl')];
if ($a1df == base64_decode('MQ==')) {
$a1df = translate(base64_decode('QWN0aXZl'));
} else {
$a1df = translate(base64_decode('SW5hY3RpdmU='));
}
$o463 = "<a href='administration_teams_edit.php?teamid=$r46' title='" . translate(base64_decode('RWRpdA==')) . base64_decode('Jz48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1zdWNjZXNzJz48aSBjbGFzcz0nZmEgZmEtcGVuLXRvLXNxdWFyZSc+PC9pPjwvc3Bhbj48L2E+');
$h464 = "<a href=\"javascript:getUsersInTeam('$r46');\" title='" . translate(base64_decode('UHJldmlldyBHcm91cHMgaW4gdGhlIHJvbGU=')) . base64_decode('Jz48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1pbmZvJz48aSBjbGFzcz0nZmFyIGZhLWV5ZSc+PC9pPjwvc3Bhbj48L2E+');
$c465 = "<a href=\"javascript:deleteTeam($r46);\" title='" . translate(base64_decode('RGVsZXRl')) . base64_decode('Jz48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1kYW5nZXInPjxpIGNsYXNzPSdmYS1zb2xpZCBmYS10cmFzaCc+PC9pPjwvc3Bhbj48L2E+');
$s119[] = array(translate(base64_decode('TmFtZQ==')) => $n3d1, '' => $o463 . $h464 . $c465, translate(base64_decode('RGVzY3JpcHRpb24=')) => $f1e, translate(base64_decode('U3RhdHVz')) => $a1df,);
}
if ($s119) {
usort($s119, function ($x13f, $a140) {
return strcmp($x13f[translate(base64_decode('TmFtZQ=='))], $a140[translate(base64_decode('TmFtZQ=='))]);
});
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} catch (Exception $s15) {
errorlog($s15->getMessage(), base64_decode('Z2V0VGVhbXNUYWJsZQ=='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0Q29tcGFuaWVzVGFibGU=')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
try {
$oa = base64_decode('U0VMRUNUIElELCBDb21wYW55bmFtZSwgQWN0aXZlLCBXZWJQYWdlLCBQaG9uZSwgUmVsYXRlZFNMQUlELCBDdXN0b21lckFjY291bnROdW1iZXIsIEFkZHJlc3MsIFppcENvZGUsIENpdHksIGNvdW50cmllcy5uYW1lIEFTIENvdW50cnksIEVtYWlsLCBDQlIgDQogICAgICAgICAgICBGUk9NIGNvbXBhbmllcw0KICAgICAgICAgICAgTEVGVCBKT0lOIGNvdW50cmllcyBPTiBjb21wYW5pZXMuQ291bnRyeSA9IGNvdW50cmllcy5hYnYNCiAgICAgICAgICAgIFdIRVJFIEFjdGl2ZSBJTiAoMCwxKQ0KICAgICAgICAgICAgT1JERVIgQlkgQ29tcGFueW5hbWUgQVNDOw==');
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
$s119 = array();
while ($l14 = mysqli_fetch_array($d13)) {
$r46 = $l14[base64_decode('SUQ=')];
$i3d2 = $l14[base64_decode('Q29tcGFueW5hbWU=')];
$y16e = $l14[base64_decode('UGhvbmU=')];
$wcc = $l14[base64_decode('V2ViUGFnZQ==')];
$a3e1 = $l14[base64_decode('Q291bnRyeQ==')];
$j3e0 = $l14[base64_decode('Q2l0eQ==')];
$z187 = $l14[base64_decode('RW1haWw=')];
$u3e2 = $l14[base64_decode('Q0JS')];
$a1df = $l14[base64_decode('QWN0aXZl')];
if ($a1df == base64_decode('MQ==')) {
$a1df = translate(base64_decode('QWN0aXZl'));
} else {
$a1df = translate(base64_decode('SW5hY3RpdmU='));
}
$o463 = "<a href='administration_companies_edit.php?companyid=$r46' title='" . translate(base64_decode('RWRpdA==')) . base64_decode('Jz48c3BhbiBjbGFzcz0nYmFkZ2UgYmFkZ2UtcGlsbCBiZy1ncmFkaWVudC1zdWNjZXNzJz48aSBjbGFzcz0nZmEgZmEtcGVuLXRvLXNxdWFyZSc+PC9pPjwvc3Bhbj48L2E+');
$s119[] = array(translate(base64_decode('TmFtZQ==')) => $i3d2, '' => $o463, translate(base64_decode('UGhvbmU=')) => $y16e, translate(base64_decode('V2ViUGFnZQ==')) => $wcc, translate(base64_decode('Q291bnRyeQ==')) => $a3e1, translate(base64_decode('Q2l0eQ==')) => $j3e0, translate(base64_decode('RW1haWw=')) => $z187, translate(base64_decode('Q0JS')) => $u3e2, translate(base64_decode('U3RhdHVz')) => $a1df,);
}
if ($s119) {
usort($s119, function ($x13f, $a140) {
return strcmp($x13f[translate(base64_decode('TmFtZQ=='))], $a140[translate(base64_decode('TmFtZQ=='))]);
});
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} catch (Exception $s15) {
errorlog($s15->getMessage(), base64_decode('Z2V0Q29tcGFuaWVzVGFibGU='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0VXNlclByb2plY3Rz')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$s119 = array();
try {
$oa = "SELECT projects.ID, projects.Name, projects.Start, projects.Progress, projects_statuscodes.StatusName, projects.Deadline, projects.EstimatedBudget, projects.RelatedCompanyID,
(SELECT CONCAT(users.firstname,' ', users.lastname) FROM users WHERE users.ID = projects.ProjectResponsible) AS ProjectResponsible, (SELECT CONCAT(users.firstname,' ', users.lastname) FROM users WHERE users.ID = projects.ProjectManager) AS ProjectManager,EstimatedHours, HoursSpend,
(SELECT SUM(project_tasks.progress) FROM project_tasks WHERE project_tasks.RelatedProject = projects.ID)/(SELECT COUNT(*) FROM project_tasks WHERE project_tasks.RelatedProject = projects.ID) AS ProjectProgress
FROM projects
LEFT JOIN projects_statuscodes ON projects.Status = projects_statuscodes.ID
LEFT JOIN users ON projects.ProjectManager = users.ID
WHERE (Status NOT IN ('7','8') AND projects.ID IN (SELECT project_users.ProjectID
FROM project_users
WHERE project_users.UserID = $p8a) OR (Status NOT IN ('7','8') AND projects.ProjectResponsible = $p8a) OR (Status NOT IN ('7','8') AND projects.ProjectManager = $p8a))
ORDER BY projects.Deadline ASC;";
$d13 = mysqli_query($zc, $oa) or die(base64_decode('UXVlcnkgZmFpbDog') . mysqli_error($zc));
while ($l14 = mysqli_fetch_array($d13)) {
$s119[] = array(base64_decode('SUQ=') => $l14[base64_decode('SUQ=')], base64_decode('UHJvamVjdA==') => $l14[base64_decode('TmFtZQ==')], base64_decode('VXNlcklE') => $p8a);
}
if ($s119) {
echo json_encode($s119, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} catch (Exception $s15) {
errorlog($s15->getMessage(), base64_decode('Z2V0VXNlclByb2plY3Rz'));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('Z2V0VW5pdFZpZXdGaWVsZFZhbHVlcw==')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$m45a = $_POST[base64_decode('VW5pdFR5cGU=')];
$z46c = $_POST[base64_decode('VW5pdElE')];
$k46d = $_POST[base64_decode('cmVzcG9uc2VEYXRh')];
$f46e = getUnitTableName($m45a);
try {
$x46f = $k46d[0][base64_decode('RmllbGRzQXJyYXk=')];
$u2e0 = [];
foreach ($x46f as $i2f1 => $u52) {
$p298 = $u52[base64_decode('RmllbGRUeXBl')];
if ($p298 === base64_decode('U2VsZWN0')) {
if ($i2f1 == base64_decode('Q29tcGFueUlE')) {
$f31 = getITSMFieldValue($z46c, $i2f1, $f46e);
if ($f31) {
$f31 = getCompanyIDFromUserID($z46c);
$f31 = getCompanyName($h2);
}
} else if ($i2f1 == base64_decode('UmVsYXRlZFVzZXJUeXBlSUQ=')) {
$f31 = getITSMFieldValue($z46c, $i2f1, $f46e);
if ($f31) {
$f31 = getUserTypeName($f31);
}
} else if ($i2f1 == base64_decode('UmVsYXRlZE1hbmFnZXI=')) {
$f31 = getITSMFieldValue($z46c, $i2f1, $f46e);
if ($f31) {
$f31 = getUserFullName($f31);
}
} else if ($i2f1 == base64_decode('VGVhbUxlYWRlcg==')) {
$f31 = getITSMFieldValue($z46c, $i2f1, $f46e);
if ($f31) {
$f31 = getUserFullName($f31);
}
} else if ($i2f1 == base64_decode('UmVsYXRlZFNMQUlE')) {
$f31 = getITSMFieldValue($z46c, $i2f1, $f46e);
if ($f31) {
$f31 = getSLANameFromID($f31);
}
} else {
$f31 = getITSMFieldValue($z46c, $i2f1, $f46e);
}
} else if ($p298 === base64_decode('RGF0ZQ==')) {
$f31 = getITSMFieldValue($z46c, $i2f1, $f46e);
} else {
$f31 = getITSMFieldValue($z46c, $i2f1, $f46e);
}
$u2e0[$i2f1] = isset($f31) ? $f31 : null;
}
if ($u2e0) {
echo json_encode($u2e0, JSON_PRETTY_PRINT);
} else {
echo json_encode([]);
}
} catch (Exception $s15) {
errorlog($s15->getMessage(), base64_decode('Z2V0VW5pdFZpZXdGaWVsZFZhbHVlcw=='));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
}
if (isset($_GET[base64_decode('ZmV0Y2hRdWVyeVRpbWVz')])) {
$p8a = $_SESSION[base64_decode('aWQ=')];
$j470 = [];
if ($zc->$f471) {
die(base64_decode('Q29ubmVjdGlvbiBmYWlsZWQ6IA==') . $zc->$f471);
}
$k472 = 0.010;
for ($m2f5 = 1; $m2f5 <= 5; $m2f5++) {
$d473 = microtime(true);
$oa = base64_decode('U0VMRUNUICogRlJPTSBzdG9wd29yZHM7');
$d13 = $zc->query($oa);
$u474 = microtime(true);
$h475 = $u474 - $d473;
if ($h475 > $k472) {
$r160 = base64_decode('c2xvdw==');
} else {
$r160 = base64_decode('ZmFzdA==');
}
$j470[] = [base64_decode('dGltZQ==') => $h475, base64_decode('bWVzc2FnZQ==') => $r160];
}
$zc->close();
echo json_encode($j470);
}
if (isset($_GET[base64_decode('Y3JlYXRlUHJvamVjdEFjdGl2aXR5')])) {
$b6b = $_POST[base64_decode('Q29udGVudA==')];
$l147 = $_POST[base64_decode('UHJvamVjdFRhc2tJRA==')];
createNewProjectActivity($b6b, $l147);
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
}
if (isset($_GET[base64_decode('ZGVhY3RpdmF0ZTJGQQ==')])) {
$j1a2 = $_POST[base64_decode('dXNlcklk')];
deactivate2FA($j1a2);
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]);
}
if (isset($_GET[base64_decode('Zml4QmFzZTY0U2VsZWN0RmllbGQ=')])) {
$l476 = [base64_decode('Y21kYl9jaV9maWVsZHNsaXN0') => processSelectFieldOptions(base64_decode('Y21kYl9jaV9maWVsZHNsaXN0')), base64_decode('Zm9ybXNfZmllbGRzbGlzdA==') => processSelectFieldOptions(base64_decode('Zm9ybXNfZmllbGRzbGlzdA==')), base64_decode('aXRzbV9maWVsZHNsaXN0') => processSelectFieldOptions(base64_decode('aXRzbV9maWVsZHNsaXN0'))];
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw=='), base64_decode('Q291bnRz') => $l476]);
}
if (isset($_GET[base64_decode('ZmV0Y2hDTURCVGltZWxpbmVEYXRh')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$m10 = $_POST[base64_decode('Q0lUeXBlSUQ=')];
$df = getCITableName($m10);
$y2c4 = getRelationShowField($m10);
$e477 = getSettingValue(17);
$e478 = date(base64_decode('WQ=='));
if ($df && $y2c4) {
$oa = "SELECT `ID`, `EndDate`, `$y2c4`
FROM `$df`
WHERE YEAR(`EndDate`) = ? AND Active = 1";
$sb = mysqli_prepare($zc, $oa);
mysqli_stmt_bind_param($sb, base64_decode('aQ=='), $e478);
if (mysqli_stmt_execute($sb)) {
$d13 = mysqli_stmt_get_result($sb);
$g479 = [];
while ($l14 = mysqli_fetch_assoc($d13)) {
$y403 = new DateTime($l14[base64_decode('RW5kRGF0ZQ==')]);
$r46 = $l14[base64_decode('SUQ=')];
$j66 = $l14[$y2c4];
$b33 = "<a href=\"javascript:runModalViewCI('$r46','$m10','0');\">$j66</a>";
$g479[] = [base64_decode('aWQ=') => $r46, base64_decode('ZW5kRGF0ZQ==') => $l14[base64_decode('RW5kRGF0ZQ==')], base64_decode('ZW5kRGF0ZVNob3J0') => $y403->format(base64_decode('ZC1tLVk=')), base64_decode('Q0lUeXBlSUQ=') => $m10, base64_decode('dXJs') => $e477, base64_decode('bmFtZQ==') => $j66];
}
echo json_encode($g479);
} else {
$m1b = base64_decode('UXVlcnkgZXhlY3V0aW9uIGZhaWxlZDog') . mysqli_stmt_error($sb);
errorlog($m1b, base64_decode('ZmV0Y2hDTURCVGltZWxpbmVEYXRh'));
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('QW4gZXJyb3Igb2NjdXJyZWQuIFBsZWFzZSB0cnkgYWdhaW4gbGF0ZXIu')]);
}
mysqli_stmt_close($sb);
} else {
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('SW52YWxpZCBDSVR5cGVJRCBvciBmaWVsZC4=')]);
}
}
if (isset($_GET[base64_decode('Z2V0VHJhbnNlclVzZXJPYmplY3RzQ01EQg==')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$p8a = $_POST[base64_decode('VXNlcklE')];
$y47a = getUserTransferObjectsCMDB($p8a);
echo json_encode($y47a);
}
if (isset($_GET[base64_decode('Z2V0VHJhbnNlclVzZXJPYmplY3RzSVRTTQ==')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$p8a = $_POST[base64_decode('VXNlcklE')];
$c47b = getUserTransferObjectsITSM($p8a);
echo json_encode($c47b);
}
if (isset($_GET[base64_decode('Z2V0VXNlclRyYW5zZmVyT2JqZWN0c090aGVy')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$p8a = $_POST[base64_decode('VXNlcklE')];
$u47c = getUserTransferObjectsOther($p8a);
echo json_encode($u47c);
}
if (isset($_GET[base64_decode('Z2V0VXNlclRyYW5zZmVyT2JqZWN0c01lbWJlclNoaXBz')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$p8a = $_POST[base64_decode('VXNlcklE')];
$u47c = getUserTransferObjectsMemberShips($p8a);
echo json_encode($u47c);
}
if (isset($_GET[base64_decode('Z2V0VXNlcnNBcnJheQ==')])) {
$f47d = getUsersArray();
echo json_encode($f47d);
}
if (isset($_GET[base64_decode('dHJhbnNmZXJPYmplY3RzVG9Vc2Vy')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
ob_implicit_flush(true);
ob_end_clean();
$f47e = array();
$t47f = array();
$j480 = array();
$l481 = array();
$i482 = $_POST[base64_decode('VXNlcklEVG9Nb3ZlRnJvbQ==')];
$k483 = $_POST[base64_decode('VXNlclRvTW92ZVRv')];
$p484 = $_POST[base64_decode('T2JqZWN0c0Zvcm0=')];
if (in_array(base64_decode('MTAwMDI2'), $p0) || in_array(base64_decode('MTAwMDAx'), $p0) || ($i482 == $q4)) {
} else {
$rd = getUserGroupName(base64_decode('MTAwMDI2'));
$fe[] = array(base64_decode('ZXJyb3I=') => "You need to be member of $rd");
echo json_encode($fe);
return;
}
foreach ($p484 as $z5c => $r2a) {
$l202 = $r2a[base64_decode('bmFtZQ==')];
$i3a2 = $r2a[base64_decode('dmFsdWU=')];
if (strpos($l202, base64_decode('Y2lUeXBl')) !== false) {
$f47e[] = array(base64_decode('bmFtZQ==') => $l202, base64_decode('ZmllbGR2YWx1ZQ==') => $i3a2);
}
if (strpos($l202, base64_decode('aXRzbVR5cGU=')) !== false) {
$t47f[] = array(base64_decode('bmFtZQ==') => $l202, base64_decode('ZmllbGR2YWx1ZQ==') => $i3a2);
}
if (strpos($l202, base64_decode('b3RoZXJUeXBl')) !== false) {
$j480[] = array(base64_decode('bmFtZQ==') => $l202, base64_decode('ZmllbGR2YWx1ZQ==') => $i3a2);
}
if (strpos($l202, base64_decode('bXNUeXBl')) !== false) {
$l481[] = array(base64_decode('bmFtZQ==') => $l202, base64_decode('ZmllbGR2YWx1ZQ==') => $i3a2);
}
}
$u485 = count($f47e) + count($t47f) + count($j480) + count($l481);
$y486 = 0;
function sendProgress($y486, $u485)
{
$e487 = round(($y486 / $u485) * 100);
echo json_encode([base64_decode('cHJvZ3Jlc3M=') => $e487]) . PHP_EOL;
}
foreach ($f47e as $k349) {
transferCMDBItems($k349, $i482, $k483, $q4);
$y486++;
sendProgress($y486, $u485);
}
foreach ($t47f as $k349) {
transferITSMItems($k349, $i482, $k483, $q4);
$y486++;
sendProgress($y486, $u485);
}
foreach ($j480 as $k349) {
transferOthersItems($k349, $i482, $k483, $q4);
$y486++;
sendProgress($y486, $u485);
}
foreach ($l481 as $k349) {
transferMS($k349, $i482, $k483, $q4);
$y486++;
sendProgress($y486, $u485);
}
echo json_encode([base64_decode('UmVzdWx0') => base64_decode('c3VjY2Vzcw==')]) . PHP_EOL;
}
if (isset($_GET[base64_decode('cmVhZElUU01Db21tZW50cw==')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$o90 = $_POST[base64_decode('Y29tbWVudElE')];
readITSMComments($k17, $g35, $q4);
}
if (isset($_GET[base64_decode('ZGVsZXRlSVRTTUNvbW1lbnQ=')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$o90 = $_POST[base64_decode('Y29tbWVudElE')];
deleteITSMComment($o90);
}
if (isset($_GET[base64_decode('c2F2ZUlUU01Db21tZW50')])) {
$q4 = $_SESSION[base64_decode('aWQ=')];
$o90 = $_POST[base64_decode('Y29tbWVudElE')];
$f488 = $_POST[base64_decode('aXRzbUNvbW1lbnQ=')];
updateITSMCOmment($o90, $f488);
} ?>
Function Calls
None |
Stats
MD5 | ad671d88e7b6a587a9f4438ddfdab034 |
Eval Count | 0 |
Decode Time | 671 ms |