<?php
require_once('IpServiceManager.inc'); 
require_once('P2pEliminatorManager.inc'); 
require_once('TimeRangeManager.inc'); 
require_once('UserManager.inc'); 
require_once('InterfaceManager.inc'); 
class ServerManager extends ManagerParent { 
protected $x_233 = array( 
'getRestrictionList' => array ( 
'restrictions' => 'out' 
), 
'getNamedConstantList' => array ( 
'constants' => 'out' 
) 
); 
public function getRestrictionList(&$x_24b) { 
$x_24b = array(); 
$x_26c = ''; 
$x_26d = array(); 
$x_26e = array( 
webadmin_EntityService => 'IpServiceManager', 
webadmin_EntityP2pEliminator => 'P2pEliminatorManager', 
webadmin_EntityTimeRange => 'TimeRangeManager', 
webadmin_EntityUser => 'UserManager', 
webadmin_EntityInterface => 'InterfaceManager' 
); 
foreach ($x_26e as $x_26f => $x_235) { 
$x_26g = new $x_235; 
$x_232 = $x_26g->x_268(); 
$x_24b[] = array($x_26f, $x_232); 
} 
return true; 
} 
public function getNamedConstantList(&$x_26h) { 
$sharedValidators = kerio("kerio::web::PhpSharedValidators"); 
$x_26h = array( 
'x_s' => array( 
'x_t' => webadmin_Auditor, 
'x_7e' => webadmin_FullAdmin 
), 
'x_1lr' => array( 
'x_1lt' => StopOnError, 
'x_1ls' => IgnoreErrors 
), 
'x_3s' => array( 
'x_26i' => kerio_web_ByteLength, 
'x_26j' => kerio_web_Regex, 
'x_1hf' => kerio_web_Name, 
'x_1hg' => webadmin_userName, 
'x_1hh' => webadmin_userNameDomain, 
'x_1hi' => kerio_web_email, 
'x_1hj' => kerio_web_Description, 
'x_1hk' => webadmin_Port, 
'x_1hl' => webadmin_PortList, 
'x_1hm' => webadmin_PortListWithRange, 
'x_1hn' => webadmin_Protocol, 
'x_1ho' => webadmin_Time, 
'x_1hp' => webadmin_Date, 
'x_8k' => kerio_web_Asc, 
'x_26k' => kerio_web_Desc, 
'x_8i' => kerio_web_Eq, 
'x_26l' => kerio_web_NotEq, 
'x_9q' => kerio_web_Like, 
'x_9k' => kerio_web_And, 
'x_8j' => kerio_web_Or, 
'x_77' => 'local', 
'x_10z' => SERVER_HASH, 
'x_3u' => $this->x_26m(), 
'x_129' => webadmin_Windows, 
'x_3t' => webadmin_Linux, 
'x_195' => webadmin_fingerprint, 
'x_1hq' => webadmin_uuidFormat, 
'x_1bf' => $this->x_26n(), 
'x_xo' => $this->x_26o() 
), 
'x_mp' => array( 
'x_ol' => kerio_web_StoreStatusClean, 
'x_mt' => kerio_web_StoreStatusModified, 
'x_ms' => kerio_web_StoreStatusNew 
), 
'x_1e9' => array( 
'x_1gd' => 'x_1f7', 
'x_7c' => '', 
'x_1fc' => webadmin_ipProtoIcmp, 
'x_1f9' => webadmin_ipProtoTcp, 
'x_1fa' => webadmin_ipProtoUdp, 
'x_14e' => webadmin_ipProtoOther, 
'x_1fb' => webadmin_ipProtoTcpUdp 
), 
'x_1eb' => array( 
'x_1f0' => webadmin_Any, 
'x_1fe' => webadmin_Equal, 
'x_1fg' => webadmin_LessThan, 
'x_1ff' => webadmin_GreaterThan, 
'x_1cw' => webadmin_Range, 
'x_10v' => webadmin_List 
), 
'x_1ed' => array( 
'x_1f0' => 'any', 
'x_1f1' => '0', 
'x_1f2' => '8', 
'x_wv' => '5', 
'x_1f3' => '3', 
'x_1f4' => '11', 
'x_1f5' => '4', 
'x_1f6' => '12' 
), 
'x_26p' => array( 
'x_26q' => webadmin_Disabled, 
'x_26r' => webadmin_Match, 
'x_26s' => webadmin_DontMatch 
), 
'x_26t' => array( 
'x_7c' => webadmin_P2pNone, 
'x_26u' => webadmin_P2pBlock, 
'x_26v' => webadmin_P2pBlockAll 
), 
'x_20f' => webadmin_EntityService, 
'x_20g' => webadmin_EntityP2pEliminator, 
'x_20i' => webadmin_EntityTimeRange, 
'x_20k' => webadmin_EntityUser, 
'x_193' => webadmin_EntityInterface, 
'x_z' => array( 
'x_1cu' => kerio_web_Host, 
'x_1cv' => kerio_web_Network, 
'x_1cw' => kerio_web_Range, 
'x_mq' => kerio_web_ChildGroup, 
'x_1cx' => kerio_web_ThisMachine 
), 
'x_mn' => array( 
'x_mq' => webadmin_UrlChildGroup, 
'x_mr' => webadmin_Url 
), 
'x_mv' => array( 
'x_n0' => kerio_web_TimeRangeDaily, 
'x_n2' => kerio_web_TimeRangeWeekly, 
'x_n4' => kerio_web_TimeRangeAbsolute 
), 
'x_1i1' => array( 
'x_1i2' => kerio_web_Monday, 
'x_1i3' => kerio_web_Tuesday, 
'x_1i4' => kerio_web_Wednesday, 
'x_1i5' => kerio_web_Thursday, 
'x_1i6' => kerio_web_Friday, 
'x_1i7' => kerio_web_Saturday, 
'x_1i8' => kerio_web_Sunday 
), 
'x_1c4' => array( 
'x_1c5' => webadmin_Internal, 
'x_1x1' => webadmin_KerberosNt 
), 
'x_1hs' => array( 
'x_18x' => webadmin_QuotaBoth, 
'x_tt' => webadmin_QuotaDownload, 
'x_tu' => webadmin_QuotaUpload 
), 
'x_1hv' => array( 
'x_1hx' => kerio_web_MegaBytes, 
'x_1hy' => kerio_web_GigaBytes 
), 
'x_bs' => $this->x_26w(), 
'x_26x' => array( 
'x_26y' => 0, 
'x_26z' => 1, 
'x_270' => 2, 
), 
'x_kh' => array( 
'x_12o' => webadmin_Ethernet, 
'x_158' => webadmin_Ras, 
'x_163' => webadmin_Ras.'_'.webadmin_PPPoE, 
'x_164' => webadmin_Ras.'_'.webadmin_PPTP, 
'x_11w' => webadmin_DialIn, 
'x_12w' => webadmin_VpnServer, 
'x_15a' => webadmin_VpnTunnel, 
'x_13n' => 'empty', 
'x_ki' => 'unassigned' 
), 
'x_157' => array( 
'x_159' => webadmin_PPPoE, 
'x_173' => webadmin_PPTP 
), 
'x_12q' => array( 
'x_12r' => webadmin_Persistent, 
'x_135' => webadmin_DialOnDemand, 
'x_137' => webadmin_Failover, 
'x_139' => webadmin_LoadBalancing 
), 
'x_133' => array( 
'x_134' => webadmin_Internet, 
'x_14c' => webadmin_Trusted, 
'x_14d' => webadmin_Vpn, 
'x_14e' => webadmin_Other 
), 
'x_12x' => array( 
'x_15t' => webadmin_Up, 
'x_12y' => webadmin_Down, 
'x_13y' => webadmin_Connecting, 
'x_13z' => webadmin_Disconnecting, 
'x_1i9' => webadmin_UpActive, 
'x_1ia' => webadmin_UpInactive 
), 
'x_14r' => array( 
'x_7c' => webadmin_None, 
'x_14s' => webadmin_Primary, 
'x_14t' => webadmin_Secondary 
), 
'x_14j' => array( 
'x_14k' => webadmin_BandwidthUnitBits, 
'x_14l' => webadmin_BandwidthUnitBytes, 
'x_14m' => webadmin_BandwidthUnitKilobits, 
'x_14n' => webadmin_BandwidthUnitKiloBytes, 
'x_14o' => webadmin_BandwidthUnitMegabits, 
'x_14p' => webadmin_BandwidthUnitMegaBytes 
), 
'x_18s' => array( 
'x_18w' => webadmin_Dynamic, 
'x_18y' => webadmin_Static, 
'x_18x' => webadmin_Both 
), 
'x_im' => array( 
'x_in' => webadmin_Allow, 
'x_up' => webadmin_Deny, 
'x_xt' => webadmin_Drop, 
'x_ur' => webadmin_NotSet, 
'x_wv'=> webadmin_Redirect 
), 
'x_uh' => array( 
'x_ui' => webadmin_AnyFtpServer, 
'x_uz' => webadmin_Specified, 
'x_v0' => webadmin_AddressGroup 
), 
'x_1c8' => array( 
'x_1cd' => webadmin_AnyUser, 
'x_1ce' => webadmin_AuthenticatedUsers, 
'x_1cf' => webadmin_UnrecognizedUsers, 
'x_1ci' => webadmin_SelectedUsers, 
'x_1cg' => webadmin_Nobody 
), 
'x_wf' => array( 
'x_wp' => webadmin_UrlString, 
'x_wq' => webadmin_ServerUrlGroup, 
'x_wg' => webadmin_PageRating, 
'x_wr' => webadmin_IpAddress 
), 
'x_tr' => array( 
'x_ts' => webadmin_AnyFtpContent, 
'x_tt' => webadmin_Download, 
'x_tu' => webadmin_Upload, 
'x_tv' => webadmin_DownloadUpload, 
'x_tw' => webadmin_Command 
), 
'x_e8' => array( 
'x_ek' => 0, 
'x_189' => 1, 
'x_e9' => 2 
), 
'x_io' => array( 
'x_1id' => 0, 
'x_1ie' => 1, 
'x_1if' => 2, 
'x_1ig' => 3, 
'x_ip' => 4, 
'x_ww' => 5, 
'x_1ih' => 6, 
'x_1ii' => 7, 
'x_1ij' => 8 
), 
'x_1cn' => 10, 
'x_1c6' => false, 
'x_1rt' => array( 
'x_1f0' => webadmin_TrafficAny, 
'x_1ru' => webadmin_SelectedEntities, 
'x_1sl' => webadmin_InvalidCondition, 
'x_7c' => 'x_cr' 
), 
'x_1io' => array( 
'x_1cu' => webadmin_TrafficEntityHost, 
'x_1cv' => webadmin_TrafficEntityNetwork, 
'x_1cw' => webadmin_TrafficEntityRange, 
'x_v0' => webadmin_TrafficEntityAddressGroup, 
'x_1qr' => webadmin_TrafficEntityInterface, 
'x_14d' => webadmin_TrafficEntityVpn, 
'x_1iq' => webadmin_TrafficEntityUsers, 
'x_1cx' => 'x_1t0' 
), 
'x_1s0' => array( 
'x_134' => webadmin_InterfaceInternet, 
'x_14c' => webadmin_InterfaceTrusted, 
'x_1ru' => webadmin_InterfaceSelected 
), 
'x_1is' => array( 
'x_1s8' => webadmin_IncomingClient, 
'x_1ru' => webadmin_SelectedTunnel, 
'x_1gd' => webadmin_AllTunnels 
), 
'x_1qf' => array( 
'x_1qq' => webadmin_NatDefault, 
'x_1qr' => webadmin_NatInterface, 
'x_wr' => webadmin_NatIPAddress, 
), 
'x_1qh' => array( 
'x_1qu' => webadmin_BalancingPerHost, 
'x_1qv' => webadmin_BalancingPerConnection, 
), 
'x_1ha' => $this->x_271(), 
'x_s9' => array( 
'x_sa' => webadmin_JoinStatusConnected, 
'x_sb' => webadmin_JoinStatusDisconnected, 
'x_sc' => webadmin_JoinStatusError 
), 
'x_20d' => $sharedValidators->getValidator(kerio_web_IPv4, kerio_web_OnClient), 
'x_151' => array( 
'x_272' => webadmin_ServiceTypeWebInterface, 
'x_273' => webadmin_ServiceTypeSslVpn, 
'x_12w' => webadmin_ServiceTypeVpnServer 
), 
'x_1nj' => array( 
'x_1ns' => Kerio_Web_Valid, 
'x_1nt' => Kerio_Web_NotValidYet, 
'x_1nu' => Kerio_Web_ExpireSoon, 
'x_1nv' => Kerio_Web_Expired 
), 
'x_1bs' => array( 
'x_274' => webadmin_WarnBetaVersion, 
'x_1bu' => webadmin_WarnConnectionOnDemand, 
'x_1bv' => webadmin_WarnConnectionFailover, 
'x_1bw' => webadmin_WarnConnectionBalancing, 
'x_1bx' => webadmin_WarnConnectionPersistent, 
'x_275' => webadmin_WarnConnectionNoRoute, 
'x_1by' => webadmin_WarnUpdateFailed, 
), 
'x_lp' => array( 
'x_lv' => webadmin_UP_Unknown, 
'x_lw' => webadmin_UP_Uploading, 
'x_lx' => webadmin_UP_Extracting, 
'x_lz' => webadmin_UP_Finished, 
'x_m0' => webadmin_UP_Failed, 
), 
'x_1t3' => array( 
'x_7c' => 'none', 
'x_1qq' => 'default' 
), 
'kerio_web_SharedConstants' => array( 
'kerio_web_DateRegExp' => $sharedValidators->getValidator(kerio_web_DateValidator, kerio_web_OnClient), 
'kerio_web_TimeRegExp' => $sharedValidators->getValidator(kerio_web_TimeRanges, kerio_web_OnClient), 
'kerio_web_IpAddressRegExp' => $sharedValidators->getValidator(kerio_web_IPv4, kerio_web_OnClient), 
'x_276' => Kerio_Web_Eq, 
'x_277' => Kerio_Web_NotEq, 
'x_278' => Kerio_Web_Like, 
'x_279' => Kerio_Web_Or, 
'x_27a' => Kerio_Web_And, 
'x_27b' => webadmin_FullAdmin, 
'x_27c' => webadmin_Auditor, 
'x_27d' => Kerio_Web_Forward, 
'x_27e' => Kerio_Web_Backward, 
'x_27f' => array( 
Kerio_Web_SeverityEmergency => '0: Emergency', 
Kerio_Web_SeverityAlert => '1: Alert', 
Kerio_Web_SeverityCritical => '2: Critical', 
Kerio_Web_SeverityError => '3: Error', 
Kerio_Web_SeverityWarning => '4: Warning', 
Kerio_Web_SeverityNotice => '5: Notice', 
Kerio_Web_SeverityInformational => '6: Informational', 
Kerio_Web_SeverityDebug => '7: Debug' 
), 
'x_27g' => array( 
Kerio_Web_FacilityKernel => '0: Kernel messages', 
Kerio_Web_FacilityUserLevel => '1: User-level messages', 
Kerio_Web_FacilityMailSystem => '2: Mail system', 
Kerio_Web_FacilitySystemDaemons => '3: System daemons', 
Kerio_Web_FacilitySecurity1 => '4: Security/Authorization messages', 
Kerio_Web_FacilityInternal => '5: Messages generated internally by syslogd', 
Kerio_Web_FacilityLinePrinter => '6: Line printer subsystem', 
Kerio_Web_FacilityNetworkNews => '7: Network news subsystem', 
Kerio_Web_FacilityUucpSubsystem => '8: UUCP subsystem', 
Kerio_Web_FacilityClockDaemon1 => '9: Clock daemon', 
Kerio_Web_FacilitySecurity2 => '10: Security/Authorization messages', 
Kerio_Web_FacilityFtpDaemon => '11: FTP daemon', 
Kerio_Web_FacilityNtpSubsystem => '12: NTP subsystem', 
Kerio_Web_FacilityLogAudit => '13: Log audit', 
Kerio_Web_FacilityLogAlert => '14: Log alert', 
Kerio_Web_FacilityClockDaemon2 => '15: Clock daemon', 
Kerio_Web_FacilityLocal0 => '16: Local use 0', 
Kerio_Web_FacilityLocal1 => '17: Local use 1', 
Kerio_Web_FacilityLocal2 => '18: Local use 2', 
Kerio_Web_FacilityLocal3 => '19: Local use 3', 
Kerio_Web_FacilityLocal4 => '20: Local use 4', 
Kerio_Web_FacilityLocal5 => '21: Local use 5', 
Kerio_Web_FacilityLocal6 => '22: Local use 6', 
Kerio_Web_FacilityLocal7 => '23: Local use 7' 
), 
'x_27h' => Kerio_Web_PlainText, 
'x_27i' => Kerio_Web_Html, 
'x_27j' => Kerio_Web_RotateNever, 
'x_27k' => Kerio_Web_RotateHourly, 
'x_27l' => Kerio_Web_RotateDaily, 
'x_27m' => Kerio_Web_RotateWeekly, 
'x_27n' => Kerio_Web_RotateMonthly, 
'x_27o' => Kerio_Web_ResultFound, 
'x_27p' => Kerio_Web_Searching, 
'x_27q' => Kerio_Web_Cancelled, 
'x_27r' => Kerio_Web_ResultNotFound 
), 
); 
$x_27s = get_defined_constants(true); 
$x_27t = $x_27s['kerio']; 
$x_27u = &$x_26h['kerio_web_SharedConstants']; 
foreach ($x_27t as $x_250 => $x_25i) { 
if (false !== strpos($x_250, 'kerio_web')) { 
$x_27u[$x_250] = $x_25i; 
} 
} 
return true; 
} 
private function x_26w() { 
$x_235 = kerio('webadmin::UserManager'); 
$x_232 = $x_235->getSupportedLanguages(&$x_27v); 
$x_27w = Array(); 
$x_27x = Array(); 
if ($x_232) { 
foreach($x_27v as $x_27y) { 
$x_27x[] = Array('x_a6' => $x_27y['name'], 'x_1o' => $x_27y['value']); 
$x_27w[] = $x_27y['value']; 
} 
} 
return Array('x_10v' => $x_27w, 'x_bt' => $x_27x); 
} 
private function x_26m() { 
$x_235 = kerio('webadmin::Server'); 
$x_232 = $x_235->getOs(&$x_27z); 
return $x_27z; 
} 
private function x_271() { 
$x_235 = kerio('webadmin::HttpPolicyManager'); 
$x_232 = $x_235->getPageCategories(&$x_280); 
return $x_280; 
} 
private function x_26n() { 
$x_235 = kerio('webadmin::ProductInfo'); 
$x_z2 = null; 
$x_232 = $x_235->getAdminConsoleUrl(&$x_z2); 
if (!$x_232) { 
return null; 
} 
return $x_z2; 
} 
private function x_26o() { 
$x_235 = kerio('webadmin::ProductInfo'); 
$x_z5 = null; 
$x_232 = $x_235->get(&$x_z5); 
if (!$x_232) { 
return false; 
} 
return $x_z5['unregisteredTrial']; 
} 
} 
?>
