Location: PHPKode > scripts > PropertyMax Pro FREE Real Estate Property Management > propertymax-pro-free-real-estate-property-management/admin/SQL.php
<?PHP 
/* WARNING: This script is protected. Any attempt to reverse engineer, debug or de-code this file or its dependent files is strictly prohibited */
$codelock_enc="pmpro.php"; $codelock_file="SQL.php"; $codelock_filed=dirname(__FILE__); include("pmpro.php"); return; ?>
PD9waHAKCmlmICggISBjb(Fz$)9le(lzdHMgKCAiU)FMIiApICkKewogI(RlZmluZSAoICdTUUxfUkVUVVJOX)JFU)VMVC$sIDAgKTsKICBkZWZpbmUgKCAnU)FMX)JFVFVSTl9BU)NPQy$sIDEgKTsKICBkZWZpbmUgKCAnU)FMX)JFVFVSTl9ST)dTJywgMiApOwogI(RlZmluZSAoICdTUUxfUkVUVVJOX0lOU0VSVElEJywgMyApOwoKICByZXF)aXJlICJTUUxRdWVyeS5waHAiOwoKICAvLyBhI(Rhd(FiYXNlI(Nvbm5lY3Rpb24gbWFuYWdlbWVudCBjb(Fz$wogI(NsYXNzIFNRTAogIHsKICAgIC8vIHRoZSBkYXRhYmFzZSBjb25uZWN0aW9uIHRoYXQgd2Un$mUgZ29pbm$gd(8gbWFuYWdlCiAgICB2YXIgJ(RiaDsKCiAgICB2YXIgJHF)ZXJpZXMgPSBB$nJheSAoKTsKICAKICAgI(Z)bmN0aW9uIFNRTCAoICR)$2VyID0gJy$sICRwYXNzID0gJy$sICRob3N0ID0gJy$sICRkYm5hbWUgPSAnJyApCiAgICB7CiAgICAgICR0a(lzLT5jb25uZWN0ICggJHVzZXIsICRwYXNzLCAka(9zdCwgJ(RibmFtZSApOwogICAgfQoKICAgI(Z)bmN0aW9uI(Nvbm5lY3QgKCAkdXNl$iA9IC$nLCAk$(Fz$yA9IC$nLCAka(9zdCA9IC$nLCAkZ(JuYW)lID0gJy$gKQogICAgewogICAgICBpZiAoICFp$3NldCAoICR)$2VyICkgKQogICAgICB7CiAgICAgICAgJHVzZXIgPSAnJzsKICAKICAgICAgICBpZiAoICFp$3NldCAoICRwYXNzICkgKQogICAgICAgIHsKICAgICAgICAgICRwYXNzID0gJy$7CiAgCiAgICAgICAgICBpZiAoICFp$3NldCAoICRob3N0ICkgKQogICAgICAgICAgewogICAgICAgICAgICAka(9zdCA9ICdsb2Nhb(hv$3QnOwogICAgICAgICAgfQogICAgICAgIH0KICAgICAgfQogICAgICAKICAgICAgJHRoaXMtPmRiaCA9IEBteXNxbF9jb25uZWN0ICggJ(hv$3QsICR)$2VyLCAk$(Fz$yApOwogIAogICAgICBpZiAoICR0a(lzLT5kYmggPT0gRkFMU0UgKQogICAgICB7CiAgICAgICAg$mV0dXJuIEZBTFNFOwogICAgICB9CiAgCiAgICAgI(lmICggaXNzZXQgKCAkZ(JuYW)lICkgKQogICAgICB7CiAgICAgICAgaWYgKCBAbXlz$Wxf$2VsZWN0X2RiICggJ(RibmFtZSwgJHRoaXMtPmRiaCApID09IEZBTFNFICkKICAgICAgICB7CiAgICAgICAgICBAbXlz$WxfY2xv$2UgKCAkd(hp$y0+Z(JoICk7CiAgCiAgICAgICAgICByZXR)$m4gRkFMU0U7CiAgICAgICAgfQogICAgICB9CiAgCiAgICAgIHJldHVybiBUUlVFOwogICAgfQogIAogICAgZnVuY3Rpb24gaXNDb25uZWN0ZWQgKCkKICAgIHsKICAgICAg$mV0dXJuICggJHRoaXMtPmRiaCA9PSB(QUxTRSA/IEZBTFNFIDogVFJVRSApOwogICAgfQogICAgCiAgICBmdW5jd(lvbiBkaXNjb25uZWN0ICgpCiAgICB7CiAgICAgIHJldHVybiAoICR0a(lzLT5p$0Nvbm5lY3RlZCAoKSA9PSB(QUxTRSA/IFRSVUUgOiBAbXlz$WxfY2xv$2UgKCAkd(hp$y0+Z(JoICkgKTsKICAgIH0KICAKICAgI(Z)bmN0aW9uIHNldERhd(FiYXNlICggJ(RibmFtZSApCiAgICB7CiAgICAgIHJldHVybiAoICR0a(lzLT5p$0Nvbm5lY3RlZCAoKSA9PSB(QUxTRSA/IEZBTFNFIDogQ()5$3FsX3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QUxTRTsKICAgICAgfQogICAgIAogICAgICBpZiAoIHByZWdfbWF0Y2ggKCAiL)5zZWxlY3QvaSIsICR0$3FsICkgKQogICAgICB7CiAgICAgICAgJHJldHVybiA9ICRxOwogICAgICAKICAgICAgICBpZiAoICR0eXBlID09IFNRTF9SRVRVUk5fQVNTT0MgKQogICAgICAgIHsKICAgICAgICAgICRyZXR)$m4gPSBh$nJheSAoKTsKICAKICAgICAgICAgIHdoaWxlICggJHIgPSBAbXlz$WxfZmV0Y2hfYXNzb2MgKCAk$SApICkKICAgICAgICAgIHsKICAgICAgICAgICAgJHJldHVybiBbXSA9ICRyOwogICAgICAgICAgfQogICAgICAgIH0KICAgICAgICBlbHNlI(lmICggJHR5$(UgPT0gU)FMX)JFVFVSTl9ST)dTICkKICAgICAgICB7CiAgICAgICAgICAk$mV0dXJuID0gQ()5$3FsX25)bV9yb3dzICggJHEgKTsKICAgICAgICB9CiAgICAgIH0KICAgICAgZWxzZSBpZiAoIHByZWdfbWF0Y2ggKCAnL)5pbnNl$nQvaS$sICR0$3FsICkgKQogICAgICB7CiAgICAgICAgJHJldHVybiA9IEBteXNxbF9hZmZlY3RlZF9yb3dzICgpOyAKICAgICAgICAKICAgICAgICBpZiAoICR0eXBlID09IFNRTF9SRVRVUk5fSU5TRVJUSUQgJiYKICAgICAgICAgICAgICRyZXR)$m4gPiAwICkKICAgICAgICB7CiAgICAgICAgICAk$mV0dXJuID0gQ()5$3FsX2lu$2VydF9pZCAoKTsKICAgICAgICB9CiAgICAgIH0KICAgICAgZWxzZSBpZiAoIHByZWdfbWF0Y2ggKCAnL)4odXBkYXRlf(Rlb(V0ZSkvaS$sICR0$3FsICkgKQogICAgICB7CiAgICAgICAgJHJldHVybiA9IEBteXNxbF9hZmZlY3RlZF9yb3dzICgpOyAKICAgICAgfQogICAgICBlbHNlCiAgICAgIHsKICAgICAgICAk$mV0dXJuID0gVFJVRTsKICAgICAgfQogIAogICAgICByZXR)$m4gJHJldHVybjsKICAgIH0KICAKICAgIC8vIHJldHVybnMgYW4gU)FMUXVl$nkgb2JqZWN0IHdpd(ggd(hlIFNRTCBzdHJpbm$gJHNxbCBzZXQgYW5kIHRoZSBkYXRhYmFzZQogICAgLy8ga(FuZ(xl$iAkd(hp$y0+Z(JoI(dpdmVuCiAgICBmdW5jd(lvbiBw$mVwYXJlUXVl$nkgKCAk$3FsICkKICAgIHsKICAgICAgaWYgKCAkd(hp$y0+aXNDb25uZWN0ZWQgKCkgPT09IEZBTFNFICkKICAgICAgewogICAgICAgIHJldHVybiB(QUxTRTsKICAgICAgfQoKICAgICAgJHEgPSBuZX$gU)FMUXVl$nkgKCAk$3FsLCAkd(hp$yApOwoKICAgICAg$mV0dXJuICRxOwogICAgfQoKICAgI(Z)bmN0aW9uIHF)b3RlICggJHN0$iwgJHF)b3RlID0gMSApCiAgICB7CiAgICAgICRyZXQgPSBzdHJf$mVwb(FjZSAoICd$Jy$sICd$XFwnJywgJHN0$iApOwogICAgICAKICAgICAgaWYgKCAk$XVvd(UgKQogICAgICB7CiAgICAgICAgJHJldCA9ICd$Jy$gLiAk$mV0IC4gJ)wnJzsKICAgICAgfQogICAgICAKICAgICAg$mV0dXJuICRyZXQ7CiAgICB9CgogICAgZnVuY3Rpb24gZ2V0UXVl$mll$yAoKQogICAgewogICAgICByZXR)$m4gJHRoaXMtPnF)ZXJpZXM7CiAgICB9CiAgfQp9Cgo/Pgo=
Return current item: PropertyMax Pro FREE Real Estate Property Management