vhost: www.archline.hu rel_path: administrator/components/com_sh404sef/helpers/updates.php result: quarantined evidence_sha256: 39423a776ff2df4d3d0edff27c11f7b1349967f6bf091950e5a5ffa167472ca6 timestamp: 20260718T160241Z finding_ref: 7147 vhost: www.archline.hu rel_path: common_cadline_libraries/POfile.php result: quarantined evidence_sha256: 0a6340d48ea4182acbdb90fe9dd0a4b3b003cd6fd096273ea46a35270551e833 timestamp: 20260718T160241Z finding_ref: 7163 vhost: www.archline.hu rel_path: common_cadline_libraries/crm_config.db.php result: quarantined evidence_sha256: b6bf5ac201bca1880d594fc4f0bd22a57c44014ae49d9c1b79096ba474277b45 timestamp: 20260718T160241Z finding_ref: 7160 vhost: www.archline.hu rel_path: common_cadline_libraries/crm_config.php result: quarantined evidence_sha256: 2a4e7009a1bc1ead4599bd32b35f69ee3bcb585732fe6259783ac80923bdf4ee timestamp: 20260718T160241Z finding_ref: 7158 vhost: www.archline.hu rel_path: common_cadline_libraries/crm_database.class.php result: quarantined evidence_sha256: 56e3117ed333988553caded835b34aa3575faa13dd50d2c08d9ed113ac50e307 timestamp: 20260718T160241Z finding_ref: 7157 vhost: www.archline.hu rel_path: common_cadline_libraries/crm_hardlock.class.php result: quarantined evidence_sha256: 04386cd2cea31252856ead5eebb2424c6422b411dadeff5ef8db5e0851195aca timestamp: 20260718T160241Z finding_ref: 7161 vhost: www.archline.hu rel_path: common_cadline_libraries/crm_test.class.php result: quarantined evidence_sha256: d1fb152dd4ce01954e4f025f954d95405e0a7d51744fe0940134e85f3f06603c timestamp: 20260718T160241Z finding_ref: 7159 vhost: www.archline.hu rel_path: common_cadline_libraries/crm_users.class.php result: quarantined evidence_sha256: 1a8419cbc958662de0784f2426c090a2025cf6bd2cc95bc356b4515047db2aa7 timestamp: 20260718T160241Z finding_ref: 7162 vhost: www.archline.hu rel_path: components/com_sh404sef/cache/shCacheContent.02d49a3aafc62f9ee0bccaa9e183178e.php result: quarantined evidence_sha256: 694daa999ab400060b090d8f0ecaa63b86e9a97bb3dcc9de43447cc6e8c948a7 timestamp: 20260718T160241Z finding_ref: 4780 vhost: www.archline.hu rel_path: components/com_sh404sef/cache/shCacheContent.efec898659ae35934839e1b0fbdf1de7.php result: quarantined evidence_sha256: 7004a39323bdce13e9e2056a54a3a4f25ca614750ee317d4395351e3ac4c0af3 timestamp: 20260718T160241Z finding_ref: 4778 vhost: www.archline.hu rel_path: maintenance/.gitignore result: quarantined evidence_sha256: 5acb091961b9d361c6dd356a85ff5175ede76c4c0428bfb28b83f1c973c758ab timestamp: 20260718T160241Z finding_ref: 6982 vhost: www.archline.hu rel_path: maintenance/.htaccess result: quarantined evidence_sha256: fc175d344b413e625f5ee2358c739218865cdc00a5db5a3e7448480e6bbfd382 timestamp: 20260718T160241Z finding_ref: 6964 vhost: www.archline.hu rel_path: maintenance/MySqlHelper.class.php result: quarantined evidence_sha256: b998beed6ec9f9dc24f664e422709eed79cc5887681a0cbb2be2d483f87e9870 timestamp: 20260718T160241Z finding_ref: 7030 vhost: www.archline.hu rel_path: maintenance/PasswordHash.php result: quarantined evidence_sha256: 747736c194e97ee2cb28a2927954d462126efabbde1e09f11f2a3a08ee51e2f3 timestamp: 20260718T160241Z finding_ref: 6979 vhost: www.archline.hu rel_path: maintenance/ProjectStart.html result: quarantined evidence_sha256: 064abd01b0fbb0c6e6373f227fc42c19d89a0209002410361165bd78d9dbcc87 timestamp: 20260718T160241Z finding_ref: 6990 vhost: www.archline.hu rel_path: maintenance/activate_90_days_active.php result: quarantined evidence_sha256: 1af9df1f0430aacb03ef509bca3eac7a0a333fee3854fd18f51ea96f3b8c61a0 timestamp: 20260718T160241Z finding_ref: 6948 vhost: www.archline.hu rel_path: maintenance/activate_server.php result: quarantined evidence_sha256: 921806babfc456ebe18c76d4266b3425a9d0065c3ed8d93b32784e017f1d81e0 timestamp: 20260718T160241Z finding_ref: 6989 vhost: www.archline.hu rel_path: maintenance/aktivalasikod.php result: quarantined evidence_sha256: f7646ed8e67f8e60967395d123d1ed1b659e4b6b25cd33c28499e8e210e7346e timestamp: 20260718T160241Z finding_ref: 6995 vhost: www.archline.hu rel_path: maintenance/al.php result: quarantined evidence_sha256: 3ccbc4486079f49118b1c90b3a2a895f8e54d909733fcdf6425b4c936219db9e timestamp: 20260718T160241Z finding_ref: 6983 vhost: www.archline.hu rel_path: maintenance/alprograms.php result: quarantined evidence_sha256: bfa6d119232f74c70e577cb2ecf3dbb14a8537d216eb9cfbbd05cb948ba75688 timestamp: 20260718T160241Z finding_ref: 7005 vhost: www.archline.hu rel_path: maintenance/banner.php result: quarantined evidence_sha256: c2926bd9c052e3077f2cd674ac9e45dfc42f6e024b5de0b3bfaaf1ed9fceb695 timestamp: 20260718T160241Z finding_ref: 6941 vhost: www.archline.hu rel_path: maintenance/beolvas2.php result: quarantined evidence_sha256: cca186573879cd37437211d7324b0355c33630cdd17c407f454d4abf7467dc4c timestamp: 20260718T160241Z finding_ref: 6978 vhost: www.archline.hu rel_path: maintenance/class/actcode.class.php result: quarantined evidence_sha256: 6d9596e1e2f22c8fb0a0ec1735ad15608caef4cdb892c2a8f3a18558482b4f7d timestamp: 20260718T160241Z finding_ref: 7086 vhost: www.archline.hu rel_path: maintenance/class/codegen.helper.class.php result: quarantined evidence_sha256: f239d9f966a090f5abf13dd4e05c53b5024736e3705396f093432b53d68f4283 timestamp: 20260718T160241Z finding_ref: 7087 vhost: www.archline.hu rel_path: maintenance/class/crmHelper.class.php result: quarantined evidence_sha256: d8de79930605acc0b90e6a1485418fc33e3ca2bd121abbc63a517b7125352e82 timestamp: 20260718T160241Z finding_ref: 7083 vhost: www.archline.hu rel_path: maintenance/class/hardlock.helper.class.php result: quarantined evidence_sha256: bc301f22d565574d79942a0b23b09a44f2011e9666863d05edb7d980bb47eedc timestamp: 20260718T160241Z finding_ref: 7085 vhost: www.archline.hu rel_path: maintenance/class/iptocountry.helper.class.php result: quarantined evidence_sha256: 01f57cd33b36499e203a3cbd5ae6beb5e7a7eab57cdb6005396015d1b7d90066 timestamp: 20260718T160241Z finding_ref: 7082 vhost: www.archline.hu rel_path: maintenance/class/program.helper.class.php result: quarantined evidence_sha256: 6c5800864fe4e2f457fa51a000ed629b02c689b48aed59118b0043909374883c timestamp: 20260718T160241Z finding_ref: 7081 vhost: www.archline.hu rel_path: maintenance/class/selectedprogram.php result: quarantined evidence_sha256: 745ade6bf18e5b757611dd106000a971caf88ffc859043475398a7e9acb1264b timestamp: 20260718T160241Z finding_ref: 7084 vhost: www.archline.hu rel_path: maintenance/class/selectprogram.class.php result: quarantined evidence_sha256: fc2e60a4c02d8902f2e0588d29397971b03c3362e5da5aed93c9fa826ecdbce7 timestamp: 20260718T160241Z finding_ref: 7088 vhost: www.archline.hu rel_path: maintenance/clusers.php result: quarantined evidence_sha256: bad973163f0cfc180e058ecc776649cfd0610988cea2dbd5ad92ab24e78d164b timestamp: 20260718T160241Z finding_ref: 6988 vhost: www.archline.hu rel_path: maintenance/config.course.php result: quarantined evidence_sha256: 5e185d6773305cce1baa1411f3fc7128289e0456593a3f239c33e0bb78cca4c2 timestamp: 20260718T160241Z finding_ref: 6981 vhost: www.archline.hu rel_path: maintenance/config.crm.php result: quarantined evidence_sha256: bce678d953dd6bbf8130478255f1f3c26925447b6fe1645db516640fb9298159 timestamp: 20260718T160241Z finding_ref: 6994 vhost: www.archline.hu rel_path: maintenance/config.db.php result: quarantined evidence_sha256: 48aec825d9859299bc60dfd6aad949281b2ba3a32a76bcdb6e5aed18e83f763d timestamp: 20260718T160241Z finding_ref: 6972 vhost: www.archline.hu rel_path: maintenance/config.mail.php result: quarantined evidence_sha256: b4a7a41e85919efa523901833360ef3e0c6a656c14a6c5cecf4684d3d5343d5a timestamp: 20260718T160241Z finding_ref: 6961 vhost: www.archline.hu rel_path: maintenance/config.php result: quarantined evidence_sha256: 873c21b6d13927af7a8bf5ee8a69b7fd6bc3f039fae44e8487d7b850f67c4ea4 timestamp: 20260718T160241Z finding_ref: 6949 vhost: www.archline.hu rel_path: maintenance/config.tce.php result: quarantined evidence_sha256: 487d642ce9294e720e02beaf803b75fe2683092cb7885381c65494382e9d4314 timestamp: 20260718T160241Z finding_ref: 6984 vhost: www.archline.hu rel_path: maintenance/crash.php result: quarantined evidence_sha256: 5e9459676bbca87ada44487b4d81c82916fbf77639570406656aaaab30afa9f3 timestamp: 20260718T160241Z finding_ref: 7031 vhost: www.archline.hu rel_path: maintenance/crashadmin.php result: quarantined evidence_sha256: 3d6cdb752014286e0ff7ffcefb5a1d5c01deb7292145b411ea0ef5709fcc0037 timestamp: 20260718T160241Z finding_ref: 6951 vhost: www.archline.hu rel_path: maintenance/cron_check.php result: quarantined evidence_sha256: 523cbfeb6dd2fa0756622a963ca73680404e0c41f5e7846e989129ea150d68fb timestamp: 20260718T160241Z finding_ref: 7022 vhost: www.archline.hu rel_path: maintenance/cron_check_server.php result: quarantined evidence_sha256: aa2aeba2381e1caaf51d6c3a3dbe84815c600d11d4c94392d1e794249cc0f650 timestamp: 20260718T160241Z finding_ref: 6997 vhost: www.archline.hu rel_path: maintenance/cron_one_minute.php result: quarantined evidence_sha256: 9838569e743bd0d937dba4421ff9b276f46d348723992076f9d24b622b85945b timestamp: 20260718T160241Z finding_ref: 6958 vhost: www.archline.hu rel_path: maintenance/css/bootstrap.min.css result: quarantined evidence_sha256: 0214196123e75689fd4862de813b21ba79df1b83062cd7b1d882b75a17ac5737 timestamp: 20260718T160241Z finding_ref: 7038 vhost: www.archline.hu rel_path: maintenance/css/style.css result: quarantined evidence_sha256: 7dcd46c3fa3a7bbb3b5f48a37a7bc20e37c5ce8f86ad2cdc9f8d75dbde6a5b97 timestamp: 20260718T160241Z finding_ref: 7037 vhost: www.archline.hu rel_path: maintenance/css/ticker-style.css result: quarantined evidence_sha256: f452ae045b45dad107d84d6c70d4e4a3e3522c17d6913b8084fd6eaafcd4aad1 timestamp: 20260718T160241Z finding_ref: 7039 vhost: www.archline.hu rel_path: maintenance/downloademail.php result: quarantined evidence_sha256: e6434ca282e9e4579ba6927c262752e66962cebe5edda52766bb486c3b499abc timestamp: 20260718T160241Z finding_ref: 6986 vhost: www.archline.hu rel_path: maintenance/elofizexcelcheck.php result: quarantined evidence_sha256: 2d04b624c559dd91a7bd81dd7dc0b1a7ac9748759ea7761bb83e1a75d5279a20 timestamp: 20260718T160241Z finding_ref: 6973 vhost: www.archline.hu rel_path: maintenance/elofizkarbxml.php result: quarantined evidence_sha256: 8ba27b4d94a8d310a7641167cfab3229d3e000770220f480e22398097431766c timestamp: 20260718T160241Z finding_ref: 6957 vhost: www.archline.hu rel_path: maintenance/elofizurites.php result: quarantined evidence_sha256: 37dee33d9f6c68a7409322b379269f6ff614d6be8f5769a0814cb5d06085a68a timestamp: 20260718T160241Z finding_ref: 6968 vhost: www.archline.hu rel_path: maintenance/email.php result: quarantined evidence_sha256: e6f1c227a7281173ea84fcaa4d171d8c821842d4b0acac8d7674fd02cf40b38f timestamp: 20260718T160241Z finding_ref: 6942 vhost: www.archline.hu rel_path: maintenance/emailsending.php result: quarantined evidence_sha256: b004e1f7a9e5b863ebf598a049c0142499b5d44487e253bff963acf12f9ffb48 timestamp: 20260718T160241Z finding_ref: 6960 vhost: www.archline.hu rel_path: maintenance/encodetest.php result: quarantined evidence_sha256: 5589e1ee2491b18c512c944273af6fb19cb695ac5a97359ad51f7651a23f7374 timestamp: 20260718T160241Z finding_ref: 6943 vhost: www.archline.hu rel_path: maintenance/followedlinks.php result: quarantined evidence_sha256: 8a8ef862650901a66814ee3b7e36150a5cb1544387626bef47e5251ee6743acc timestamp: 20260718T160241Z finding_ref: 6992 vhost: www.archline.hu rel_path: maintenance/functions.php result: quarantined evidence_sha256: e09ab6becab0a55e1b3ed740e292e75cd062ba778505b06b92d8820e83def554 timestamp: 20260718T160241Z finding_ref: 7023 vhost: www.archline.hu rel_path: maintenance/geopluginlink.php result: quarantined evidence_sha256: 85202e87251c0aed6245ce04f52b49eabadc83cbac919eeabe0c43eb2c6aec56 timestamp: 20260718T160241Z finding_ref: 6987 vhost: www.archline.hu rel_path: maintenance/get_subscriptions.php result: quarantined evidence_sha256: 939b458cbf348dafb99064b2b4513b3996b8d6ec713ab91132271fea7a549e94 timestamp: 20260718T160241Z finding_ref: 6955 vhost: www.archline.hu rel_path: maintenance/getdef.php result: quarantined evidence_sha256: c8126990043ed00355f45fb99edfeb872b174d46349c08343c0c528276bc396b timestamp: 20260718T160241Z finding_ref: 7034 vhost: www.archline.hu rel_path: maintenance/getserialanddaycode.php result: quarantined evidence_sha256: 6d0168ba5a5310c738f70e39a9d5c80cc730e4d5b41be0ee267eb9a9e4743efc timestamp: 20260718T160241Z finding_ref: 6975 vhost: www.archline.hu rel_path: maintenance/google_redirect.php result: quarantined evidence_sha256: fa09df54ba4efc164bf940ae9d8cbed62fbc8ecf8c0b88fcf6e94abcb92e88b7 timestamp: 20260718T160241Z finding_ref: 6959 vhost: www.archline.hu rel_path: maintenance/handshake.php result: quarantined evidence_sha256: 07dadba3d9731923c59ee71b4693dba4f0e984ad938800ff679c31b7542bffb8 timestamp: 20260718T160241Z finding_ref: 7017 vhost: www.archline.hu rel_path: maintenance/hibasprograminditasok.php result: quarantined evidence_sha256: 0ca7ec1b66230cb779f87ee74720a3f75c0c5630640efebe583c7d369cfac8e2 timestamp: 20260718T160241Z finding_ref: 6977 vhost: www.archline.hu rel_path: maintenance/index.html result: quarantined evidence_sha256: 0a6d407700b3be507fcdbf58c3ed12338c34ea815db4a525895578d0953b08fa timestamp: 20260718T160241Z finding_ref: 6945 vhost: www.archline.hu rel_path: maintenance/ipc_sample_test.php result: quarantined evidence_sha256: 5e765b4587ccee1deca34c4672eb8211248c0e4b3cf430d4cb1bedce175d26ad timestamp: 20260718T160241Z finding_ref: 6965 vhost: www.archline.hu rel_path: maintenance/js/clipboard.min.js result: quarantined evidence_sha256: fb6f0ed44d1d83dfd2c6872df42037bdac9d46b444874e230e98a27badde85f7 timestamp: 20260718T160241Z finding_ref: 7140 vhost: www.archline.hu rel_path: maintenance/js/download2.js result: quarantined evidence_sha256: 691fca8b33fbdfd449c2d64da2fceebfe32faea61c4f4b65e87d3793c98ed0f9 timestamp: 20260718T160241Z finding_ref: 7139 vhost: www.archline.hu rel_path: maintenance/js/jquery.min.js result: quarantined evidence_sha256: d94e3a1cc1a2ad5d465198b62b9ed62676a26ef31a0defc5a524f488e33d982c timestamp: 20260718T160241Z finding_ref: 7136 vhost: www.archline.hu rel_path: maintenance/js/jquery.ticker.js result: quarantined evidence_sha256: 302eca2bd1d94e5e8709ce5b4a4ab394b5f09e0a19777475076c67696222454c timestamp: 20260718T160241Z finding_ref: 7137 vhost: www.archline.hu rel_path: maintenance/js/jszip/jszip-utils.js result: quarantined evidence_sha256: a313093bc5e0388d71b9f550ce7f027fedebf77f7333446695613c389c617a29 timestamp: 20260718T160241Z finding_ref: 7141 vhost: www.archline.hu rel_path: maintenance/js/jszip/jszip.js result: quarantined evidence_sha256: 99a7bcd913cc891bd38ac619be2256424b22daa11ae98c833bb26285795cf615 timestamp: 20260718T160241Z finding_ref: 7142 vhost: www.archline.hu rel_path: maintenance/js/site.js result: quarantined evidence_sha256: 3b2435ba6d9d37a4a5090506ff61685a7299c8ca9bc33b23bb644db43cc9f614 timestamp: 20260718T160241Z finding_ref: 7138 vhost: www.archline.hu rel_path: maintenance/languages/lang.eng.php result: quarantined evidence_sha256: 637d0167b26a74ce369c2a2b7b1590fa3967465c496950061720caf618cde8bc timestamp: 20260718T160241Z finding_ref: 7036 vhost: www.archline.hu rel_path: maintenance/languages/lang.hun.php result: quarantined evidence_sha256: 34ddd8479f50153fd77044ac88b235ed25d0889c50e015ed6e19bcd11d97b85b timestamp: 20260718T160241Z finding_ref: 7035 vhost: www.archline.hu rel_path: maintenance/leads/BIID_2016.csv result: quarantined evidence_sha256: 3d385d7c5f244ef58a941ec86cc32dca75314d608f97c3b78544efa09d3be809 timestamp: 20260718T160241Z finding_ref: 7055 vhost: www.archline.hu rel_path: maintenance/leads/Gyarto_lista_05_19.csv result: quarantined evidence_sha256: 0c32f3a4db33e2893454ab39ff5e0c64c40c4ba87afcd5a3f0727b944acfb176 timestamp: 20260718T160241Z finding_ref: 7052 vhost: www.archline.hu rel_path: maintenance/leads/Letoltott_szamlazz.hu_kimeno_szamlak_2018_Erika.csv result: quarantined evidence_sha256: 0f2fd079118630a2f912843c155243e612af0aad7f61629d315e3db668459a15 timestamp: 20260718T160241Z finding_ref: 7056 vhost: www.archline.hu rel_path: maintenance/leads/RIBA_2016.csv result: quarantined evidence_sha256: 49cc4d29ce4ab8343dbd09673c5e191d8be71a2e12a1fcccc6ddd5b04393222b timestamp: 20260718T160241Z finding_ref: 7060 vhost: www.archline.hu rel_path: maintenance/leads/kimeno.csv result: quarantined evidence_sha256: 80c47b61cc38662a72169075b25794f4a45955dd0feb37c79f28a8b61d0f8ffa timestamp: 20260718T160241Z finding_ref: 7051 vhost: www.archline.hu rel_path: maintenance/leads/leads-20160918.csv result: quarantined evidence_sha256: a36ac6c0f2be2aae0056e71b39f0609b7258e8f5c812510a802c8ae61f2d2c74 timestamp: 20260718T160241Z finding_ref: 7053 vhost: www.archline.hu rel_path: maintenance/leads/leads-20160919.csv result: quarantined evidence_sha256: 30b74ab56ee448d5483f492af39b34377b9e2726cb6bc141bf2af866e6717aa7 timestamp: 20260718T160241Z finding_ref: 7054 vhost: www.archline.hu rel_path: maintenance/leads/leads-20160920.csv result: quarantined evidence_sha256: 278a66428568841c1e192fc485b2b82ad56b2beabb4a9709e1f35c93442189cb timestamp: 20260718T160241Z finding_ref: 7061 vhost: www.archline.hu rel_path: maintenance/leads/leads-20160921.csv result: quarantined evidence_sha256: c7b0c50c162ae03f2a224dd380b96265b043062b7f99f17a589489f5db54b55b timestamp: 20260718T160241Z finding_ref: 7062 vhost: www.archline.hu rel_path: maintenance/leads/leads_imported-utf8.txt result: quarantined evidence_sha256: 8f4aabce416fdb210cabe70b934ecf004c9fb651ce3fa11daf8308e4b6f0e81c timestamp: 20260718T160241Z finding_ref: 7058 vhost: www.archline.hu rel_path: maintenance/leads/leads_imported.csv result: quarantined evidence_sha256: 183bc7123959ff15bc75f940b3a7e1a002347e27763b97d166bd3011ba459f5f timestamp: 20260718T160241Z finding_ref: 7057 vhost: www.archline.hu rel_path: maintenance/leads/szamlazz.csv result: quarantined evidence_sha256: a7d4a43414fea46f22925c358fa4c2f63d10c7fce7bc98ceba19031ee3be97f8 timestamp: 20260718T160241Z finding_ref: 7059 vhost: www.archline.hu rel_path: maintenance/leads_imported.csv result: quarantined evidence_sha256: 0a51ede67f89119e0d0ba9c42089a4eff690043a7f74e5cc6c46f60547497ee4 timestamp: 20260718T160241Z finding_ref: 7010 vhost: www.archline.hu rel_path: maintenance/leiratkozas.php result: quarantined evidence_sha256: e9e714df7c53c0b9c291585b1525107984f4b552712ebf087aae7fc7a9e9566a timestamp: 20260718T160241Z finding_ref: 6953 vhost: www.archline.hu rel_path: maintenance/libraries/Excel2/oleread.php result: quarantined evidence_sha256: db1d9fcfd6275389b5a93a4e94812dba34ecc13c545d7cd85cb358c7fb8830ae timestamp: 20260718T160241Z finding_ref: 7064 vhost: www.archline.hu rel_path: maintenance/libraries/Excel2/reader.php result: quarantined evidence_sha256: eec982f8294bba2c789a8c83f0d9e4ab0858a9796a6561a3cdf7852fe546a008 timestamp: 20260718T160241Z finding_ref: 7063 vhost: www.archline.hu rel_path: maintenance/libraries/mmail/RFC822.php result: quarantined evidence_sha256: a71f3ab8bc6a991c73bc64bdad215f930bb6254e365c6a937541e708d22e205d timestamp: 20260718T160241Z finding_ref: 7078 vhost: www.archline.hu rel_path: maintenance/libraries/mmail/htmlMimeMail.php result: quarantined evidence_sha256: c89b847322a644443c6491c83cf5bbc5149d687c1171db4e20b254addec28e70 timestamp: 20260718T160241Z finding_ref: 7079 vhost: www.archline.hu rel_path: maintenance/libraries/mmail/mimePart.php result: quarantined evidence_sha256: e1178f1b89b5ef1ad21844d403797b29557c89e979b469f8bf49fbc9486ca2d9 timestamp: 20260718T160241Z finding_ref: 7080 vhost: www.archline.hu rel_path: maintenance/libraries/mmail/smtp.php result: quarantined evidence_sha256: d67f97b00104c6dec3557da4d36094b25ec86f8b9021d2eab108508a0d9f673d timestamp: 20260718T160241Z finding_ref: 7077 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/PHPMailerAutoload.php result: quarantined evidence_sha256: dec9d8f2b32ba64ff94a1751522cb5cda34db3d743556fa05ad771a115beb58f timestamp: 20260718T160241Z finding_ref: 7066 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/class.phpmailer.php result: quarantined evidence_sha256: 8a2fb7879aeee9b429a60a157cf64df1972a1c41d32030b39443ba3fe23cca10 timestamp: 20260718T160241Z finding_ref: 7065 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/class.pop3.php result: quarantined evidence_sha256: 691a6b369811c249541f0cb42e745c72ae7c3564dedfd6b025a99ccd1b255638 timestamp: 20260718T160241Z finding_ref: 7069 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/class.smtp.php result: quarantined evidence_sha256: 535872ccf898fab8618e6ed18e89d0bbe89c533588a80558defaebd3cfbb8d31 timestamp: 20260718T160241Z finding_ref: 7067 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/composer.json result: quarantined evidence_sha256: 69fb1ad57093610235205d9e931ad08669875f864fa3d691983f2937eb88cbd9 timestamp: 20260718T160241Z finding_ref: 7068 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/extras/EasyPeasyICS.php result: quarantined evidence_sha256: 1361aed15d1ea7cab7ea8c549888110a54745fc536a942e6ba03687f7205defa timestamp: 20260718T160241Z finding_ref: 7070 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/extras/README.md result: quarantined evidence_sha256: de7bb6846fc59d8b64e7d19bb8b1b47af8348db91e95079e3f6ac86725541bf5 timestamp: 20260718T160241Z finding_ref: 7073 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/extras/class.html2text.php result: quarantined evidence_sha256: 50dcda199fb7a1e93c06c2a3852d094a2746d4e4f8a1af2c41a44c4f5a5efa6f timestamp: 20260718T160241Z finding_ref: 7072 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/extras/htmlfilter.php result: quarantined evidence_sha256: e2101d6972218740a7dde7992576be616a2bfaebe10f9a831c152ce82bc3e6a5 timestamp: 20260718T160241Z finding_ref: 7074 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/extras/ntlm_sasl_client.php result: quarantined evidence_sha256: 58e2d9ed5c1d4361a59331eb9c1f13abcd30acf2e53eaf1ddc72e0d62251d949 timestamp: 20260718T160241Z finding_ref: 7071 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/language/phpmailer.lang-hu.php result: quarantined evidence_sha256: 6f597f36e2663ed882f416f75cd8a437bcc2c75dc944b360cb4ad18e1b36b55b timestamp: 20260718T160241Z finding_ref: 7075 vhost: www.archline.hu rel_path: maintenance/libraries/phpmailer/language/phpmailer.lang-uk.php result: quarantined evidence_sha256: cf3d94690689a7b5e584a8a5d5b2cbf7ffebbe63ee98cb2143f3709597456813 timestamp: 20260718T160241Z finding_ref: 7076 vhost: www.archline.hu rel_path: maintenance/messages_email.php result: quarantined evidence_sha256: a6a556967afb3c8ab5dce1aecf07eb6001fb97b5412eed6699bb5efe00a9be17 timestamp: 20260718T160241Z finding_ref: 6998 vhost: www.archline.hu rel_path: maintenance/misi.php result: quarantined evidence_sha256: 9a8d0241ae25b1414b6929121d75a2cfaf60088647472bf2091b86b31397489e timestamp: 20260718T160241Z finding_ref: 6950 vhost: www.archline.hu rel_path: maintenance/mtips.php result: quarantined evidence_sha256: bad973163f0cfc180e058ecc776649cfd0610988cea2dbd5ad92ab24e78d164b timestamp: 20260718T160241Z finding_ref: 6952 vhost: www.archline.hu rel_path: maintenance/mycommerce.php result: quarantined evidence_sha256: 9374bd05b88ff81f22f1fdf5ad75b6222424619e7ab52b2c64271cc92a35dec3 timestamp: 20260718T160241Z finding_ref: 7014 vhost: www.archline.hu rel_path: maintenance/newclick.php result: quarantined evidence_sha256: 3f32d0173ac56ede04e95ec33310215893910db29d8b8b22a6faceb2341107a6 timestamp: 20260718T160241Z finding_ref: 6993 vhost: www.archline.hu rel_path: maintenance/nonprofit.php result: quarantined evidence_sha256: 7668275ecb3a45ec9a4c65e11d3bc8b6587565f4c6e117cc045db9697ece9a50 timestamp: 20260718T160241Z finding_ref: 7021 vhost: www.archline.hu rel_path: maintenance/piracy.php result: quarantined evidence_sha256: e08cfe172199c5f2d9935236b509c30b3b3c5db37d51303b041dda35eaad224f timestamp: 20260718T160241Z finding_ref: 7020 vhost: www.archline.hu rel_path: maintenance/pofiles/LiveLanguageResources_eng.json result: quarantined evidence_sha256: ccf1c1faeeca933b86ba83a397a6acb8418814faf133415cce572e37abb7a9ab timestamp: 20260718T160241Z finding_ref: 7048 vhost: www.archline.hu rel_path: maintenance/pofiles/createPO.php result: quarantined evidence_sha256: 8d75a7e0529d7f8beb6064fa0bf0dce3983d01e624caa319552e6d63c090442c timestamp: 20260718T160241Z finding_ref: 7049 vhost: www.archline.hu rel_path: maintenance/pro_live_bundle.php result: quarantined evidence_sha256: 6a0a7c4785149d3bd63792b668592915492b1c1ed38ecf93f2790c212068dace timestamp: 20260718T160241Z finding_ref: 7016 vhost: www.archline.hu rel_path: maintenance/public/css/jquery-ui.css result: quarantined evidence_sha256: db42c386e012d6f3d4e8f683e7ac75766377534429eb8c967a6ea98fc0449133 timestamp: 20260718T160241Z finding_ref: 7125 vhost: www.archline.hu rel_path: maintenance/public/css/smoothDivScroll.css result: quarantined evidence_sha256: 453018b74e017e285ceee77c00fac6c526d4035df428a841cb030c585f3e28ba timestamp: 20260718T160241Z finding_ref: 7127 vhost: www.archline.hu rel_path: maintenance/public/css/style.css result: quarantined evidence_sha256: 5929919f09de793ac4f5e9fa310bd8a401de48b820cf0031bbde306025470f33 timestamp: 20260718T160241Z finding_ref: 7126 vhost: www.archline.hu rel_path: maintenance/public/js/8132d19a66.js result: quarantined evidence_sha256: 961c5cc1e53c52fc4f28af92be97145df71848c6d5ebec7b785e0cf7333dfad7 timestamp: 20260718T160241Z finding_ref: 7130 vhost: www.archline.hu rel_path: maintenance/public/js/jquery-1.12.4.min.js result: quarantined evidence_sha256: 996d298d6f8685a3ae28eace9249e3580bb8d13d91d424573fefb40d52980269 timestamp: 20260718T160241Z finding_ref: 7128 vhost: www.archline.hu rel_path: maintenance/public/js/jquery-ui-1.12.1.min.js result: quarantined evidence_sha256: 394bbda5db6dffe470e0ab474c3fc417746f0cc3bcf070dfea83acbe612ba7fd timestamp: 20260718T160241Z finding_ref: 7132 vhost: www.archline.hu rel_path: maintenance/public/js/jquery.mousewheel.min.js result: quarantined evidence_sha256: 46a74c30a30c5b123f723d3483fed6c6062d143db36670bfac2dec09244d74ba timestamp: 20260718T160241Z finding_ref: 7129 vhost: www.archline.hu rel_path: maintenance/public/js/jquery.smoothdivscroll-1.3-min.js result: quarantined evidence_sha256: ac9c5a253a53e780580426b4be45d33684c6665cf13ad20921987f200574c928 timestamp: 20260718T160241Z finding_ref: 7131 vhost: www.archline.hu rel_path: maintenance/read_server_txt.php result: quarantined evidence_sha256: a0cd7054103ec17ea5c535273f17ae16027d9259cfc5ba1e9d26c02c8af5590f timestamp: 20260718T160241Z finding_ref: 7032 vhost: www.archline.hu rel_path: maintenance/redirect_login.php result: quarantined evidence_sha256: 42930227ffec485c544d637597120a3058b26c0b076f4155e728218a31c56d0a timestamp: 20260718T160241Z finding_ref: 7013 vhost: www.archline.hu rel_path: maintenance/regisztracio.php result: quarantined evidence_sha256: 92711db3fc51e3597231ec308a71b2ac5e512b18d2ba9a01575e04addcf01b0e timestamp: 20260718T160241Z finding_ref: 7011 vhost: www.archline.hu rel_path: maintenance/render/log.txt result: quarantined evidence_sha256: caa221612f060fac33e12203b9386238473ad48ee489511d7e1bf6568cf75eb0 timestamp: 20260718T160241Z finding_ref: 7050 vhost: www.archline.hu rel_path: maintenance/render_ellenorzo.sh result: quarantined evidence_sha256: 71d2984eebd50c54e8869826f78b62293aed3bcd29d265c599c01a9bb9eb5810 timestamp: 20260718T160241Z finding_ref: 6940 vhost: www.archline.hu rel_path: maintenance/startchangedhardlock.php result: quarantined evidence_sha256: 7879594725fcd9c16baff83bdcbd76c281b463bb83f530e16fd2b36b6e095cd0 timestamp: 20260718T160241Z finding_ref: 6991 vhost: www.archline.hu rel_path: maintenance/supportupload.php result: quarantined evidence_sha256: ba9d487171d3260c597c7871ca9dab1466320d1c485775ed639814c6a8be1210 timestamp: 20260718T160241Z finding_ref: 7000 vhost: www.archline.hu rel_path: maintenance/sw.php result: quarantined evidence_sha256: 42d5015e0964ffa72f977077b46c86839c57069ff39dfdf42e181b01725511d3 timestamp: 20260718T160241Z finding_ref: 7015 vhost: www.archline.hu rel_path: maintenance/sw_secondary.php result: quarantined evidence_sha256: 18401f780ddd7d681b5e519202d1ecc576940d0b08f2fa49a8d66783d2f50029 timestamp: 20260718T160241Z finding_ref: 6976 vhost: www.archline.hu rel_path: maintenance/sync.php result: quarantined evidence_sha256: e02148c015f9d2d554b443ded42171cd516bf9b8222711dd8ef6b89d95ca280f timestamp: 20260718T160241Z finding_ref: 6954 vhost: www.archline.hu rel_path: maintenance/sync_downgrade.php result: quarantined evidence_sha256: f952d912f34d7e660d632ae56bbd6a000793d60abc946ca3b71d5a7756047bd4 timestamp: 20260718T160241Z finding_ref: 7009 vhost: www.archline.hu rel_path: maintenance/sync_download.php result: quarantined evidence_sha256: 1938cf7507d197a753e43bb7f8366f72e9243333d3c63e994d1aa14187a20c37 timestamp: 20260718T160241Z finding_ref: 6962 vhost: www.archline.hu rel_path: maintenance/sync_emailtopartners.php result: quarantined evidence_sha256: df4a03c56de24830b62eb927f5fb0e2639332c706e7a134d6dbb105201c722b0 timestamp: 20260718T160241Z finding_ref: 7007 vhost: www.archline.hu rel_path: maintenance/sync_fizetes.php result: quarantined evidence_sha256: 6bc63f65be6e5320fefb25dee492020282b73fbdb3c91245fdd01f07eb6c6348 timestamp: 20260718T160241Z finding_ref: 7026 vhost: www.archline.hu rel_path: maintenance/sync_history.php result: quarantined evidence_sha256: a39f1734dab918588c4cee44c08c96a13afb6ec8c6f407fae152d170a076a004 timestamp: 20260718T160241Z finding_ref: 7012 vhost: www.archline.hu rel_path: maintenance/sync_honapkepe.php result: quarantined evidence_sha256: 579b6967de0f5e446051b07e614f8f0004cc9e976d475dc29ca40a8cdf45476e timestamp: 20260718T160241Z finding_ref: 6980 vhost: www.archline.hu rel_path: maintenance/sync_ita_email.php result: quarantined evidence_sha256: b3b42b0181a29fb6a93017be2cee068675d5fb3cf949c7cbf2765654791ba188 timestamp: 20260718T160241Z finding_ref: 7029 vhost: www.archline.hu rel_path: maintenance/sync_maintenance.php result: quarantined evidence_sha256: da6986e4601dd9b1b1e5b4f8a72f5dbe7491d778ab07eb7be7c21d67a1fc890e timestamp: 20260718T160241Z finding_ref: 7024 vhost: www.archline.hu rel_path: maintenance/sync_nonprofit.php result: quarantined evidence_sha256: 30a80e1e87e32177c69da9836bcc0e8252218417f10f2942c2427c3515c32744 timestamp: 20260718T160241Z finding_ref: 7027 vhost: www.archline.hu rel_path: maintenance/sync_palyazat.php result: quarantined evidence_sha256: b259008a9dc885ffb0757dbe36aa14fcef8a9795adcdf7ce209ed626725068dd timestamp: 20260718T160241Z finding_ref: 6967 vhost: www.archline.hu rel_path: maintenance/sync_sendemail.php result: quarantined evidence_sha256: fba28dec3f31a781dbe65e4edbc47712c3ac1bec90769179c18a85a88bb164f1 timestamp: 20260718T160241Z finding_ref: 7028 vhost: www.archline.hu rel_path: maintenance/sync_states.php result: quarantined evidence_sha256: aa32be907414a5d572f35f10ff6c5fb59163b77ad9eb5093fbcd7b4c7f60a244 timestamp: 20260718T160241Z finding_ref: 7003 vhost: www.archline.hu rel_path: maintenance/sync_switch.php result: quarantined evidence_sha256: a1baa9f31f580781aef011376a4d0d181e3736530a7937829b7586907935cca5 timestamp: 20260718T160241Z finding_ref: 6996 vhost: www.archline.hu rel_path: maintenance/sync_workshop.php result: quarantined evidence_sha256: 4bb48f1919628d88174fb2ed5ccfd34223a593a8061e0574e4e09955e253328e timestamp: 20260718T160241Z finding_ref: 7018 vhost: www.archline.hu rel_path: maintenance/szamlazz.php result: quarantined evidence_sha256: 7a40d5a9ab90cd2844e51539a50eb4df7bba1f39a466d908b5a80c72ab10a4da timestamp: 20260718T160241Z finding_ref: 7001 vhost: www.archline.hu rel_path: maintenance/test.php result: quarantined evidence_sha256: 66c53437fc421eaaec4ee7600dbf7e208ad79665b534ec37ec40d20332e3b8fc timestamp: 20260718T160241Z finding_ref: 7006 vhost: www.archline.hu rel_path: maintenance/test_API.php result: quarantined evidence_sha256: 3ec1a49bbf302b59e532fbd86b9ddb23a61dae6237d56b81d58035b1cecd7259 timestamp: 20260718T160241Z finding_ref: 6956 vhost: www.archline.hu rel_path: maintenance/tests/get-builds.php result: quarantined evidence_sha256: a400acf1a4eb60a605204c8b24a9b4c12e59715b981f25c8fa25f4d303963a80 timestamp: 20260718T160241Z finding_ref: 7040 vhost: www.archline.hu rel_path: maintenance/tests/scripts/jquery-1.11.1.min.js result: quarantined evidence_sha256: 91222f96f34735ebc88df208017e54d4329b9202e3e52367fb8b149698a1a5ef timestamp: 20260718T160241Z finding_ref: 7043 vhost: www.archline.hu rel_path: maintenance/tests/scripts/jquery.treeview.min.js result: quarantined evidence_sha256: ccdd192363ce8c5227f709081e9a25557f414b875fd0a6f1ec01714e1fc0ae09 timestamp: 20260718T160241Z finding_ref: 7045 vhost: www.archline.hu rel_path: maintenance/tests/scripts/scripts.js result: quarantined evidence_sha256: a09307e81e779b289647f301bce3379578628d83832399c388f8244160198815 timestamp: 20260718T160241Z finding_ref: 7042 vhost: www.archline.hu rel_path: maintenance/tests/scripts/uploader.js result: quarantined evidence_sha256: ad7f7b43dca201573caedf4e7c6f4f7a5f80db151e21d0935da6dbc3a2bcb0d9 timestamp: 20260718T160241Z finding_ref: 7044 vhost: www.archline.hu rel_path: maintenance/tests/showTest.php result: quarantined evidence_sha256: ace9c8f4c31c078352430d92c5feb37a1d41d5872708f057d38e55ec83a75f76 timestamp: 20260718T160241Z finding_ref: 7041 vhost: www.archline.hu rel_path: maintenance/tests/styles/jquery.treeview.css result: quarantined evidence_sha256: a88513b0cdb683374c2d5fd2726b0c36fdc641cf9faa0bcdaf3e5ac047496ecf timestamp: 20260718T160241Z finding_ref: 7047 vhost: www.archline.hu rel_path: maintenance/tests/styles/styles.css result: quarantined evidence_sha256: 49f6bac99404de4944d459db6d567eae9eea8558e3ac54be18993710fb9de5ac timestamp: 20260718T160241Z finding_ref: 7046 vhost: www.archline.hu rel_path: maintenance/teszt.php result: quarantined evidence_sha256: 679dbf87dbc271d7db1d1b8f5c1c1337e90086a55f8cada0284243dbf2c657d6 timestamp: 20260718T160241Z finding_ref: 6969 vhost: www.archline.hu rel_path: maintenance/tips.php result: quarantined evidence_sha256: 1d4bcacd575956bee56a512abf8b0933b59f6eadd322ceeca03fd42c093ce0de timestamp: 20260718T160241Z finding_ref: 6971 vhost: www.archline.hu rel_path: maintenance/tips.php.orig result: quarantined evidence_sha256: 74051edf6d36eba33f0e25997839fd397363d2e37dc845621355e5f85e702f24 timestamp: 20260718T160241Z finding_ref: 3038 vhost: www.archline.hu rel_path: maintenance/tm.php result: quarantined evidence_sha256: 9349a35dbac9c8344f7d96790a0396d61739d90072d950f983ba31e21ec4a755 timestamp: 20260718T160241Z finding_ref: 6974 vhost: www.archline.hu rel_path: maintenance/tooltip.html result: quarantined evidence_sha256: 86ebdc449220a164d3a008f002c6fe0523ec8812e7c1c8ce4ca7caccb416119a timestamp: 20260718T160241Z finding_ref: 6944 vhost: www.archline.hu rel_path: maintenance/unsubscribe.php result: quarantined evidence_sha256: 242812da1f5f8ec5ab22cc8288f84dc2cf525a60e5af5a614799a1c6093b7828 timestamp: 20260718T160241Z finding_ref: 7002 vhost: www.archline.hu rel_path: maintenance/update.php result: quarantined evidence_sha256: 00641bef0d3de9cd986748c851fe5a8ad06d7137e4dd4742f55a13b4e6f23103 timestamp: 20260718T160241Z finding_ref: 7025 vhost: www.archline.hu rel_path: maintenance/updatecrm.php result: quarantined evidence_sha256: c6f4f4d12d836b30cd4c8065730964098b05b5b7e65334480769878fd3175787 timestamp: 20260718T160241Z finding_ref: 7033 vhost: www.archline.hu rel_path: maintenance/updateget.php result: quarantined evidence_sha256: 07e6a76b0b9cec60fab6366098cb8a0f45b2576f4e2e9463ddef4733834c83d2 timestamp: 20260718T160241Z finding_ref: 7008 vhost: www.archline.hu rel_path: maintenance/updatexml.php result: quarantined evidence_sha256: 73d6f80597e1f7d9cfbe2342b7d9e8f96527651359b3ab7220c36cb9b9cdaf5d timestamp: 20260718T160241Z finding_ref: 6963 vhost: www.archline.hu rel_path: maintenance/upload_file.php result: quarantined evidence_sha256: b7f560d3bcabaada7adb2560c35d7cdd966cc854318ccb834af913d8e8549162 timestamp: 20260718T160241Z finding_ref: 6970 vhost: www.archline.hu rel_path: maintenance/url_redirect.php result: quarantined evidence_sha256: 95e7bc70827543ad625a2c92fdda648f61af1b5ecb418df0d49564d5e49fa647 timestamp: 20260718T160241Z finding_ref: 7004 vhost: www.archline.hu rel_path: maintenance/users.php result: quarantined evidence_sha256: 64705762b20c5bfeb69c260eb93cf52798683081e524fc703d5d64a5110a9ef5 timestamp: 20260718T160241Z finding_ref: 6966 vhost: www.archline.hu rel_path: maintenance/version.php result: quarantined evidence_sha256: 306414f07813f69e3db065ca8f2020b0fa7c82f16f17fd7a33cd7453a5c69a88 timestamp: 20260718T160241Z finding_ref: 6999 vhost: www.archline.hu rel_path: maintenance/viewerlejartaktorlese.php result: quarantined evidence_sha256: a3bc71a6ad0c85019a1eefc8dfc90a452763e6cd67fbaff1c47eb31aab4c3475 timestamp: 20260718T160241Z finding_ref: 6946 vhost: www.archline.hu rel_path: maintenance/warehousedownloadlink.php result: quarantined evidence_sha256: 81d2d5b57c79f2d746f185ef001fb95f9a30cf16aa6f46fec6ba00330685916f timestamp: 20260718T160241Z finding_ref: 7019 vhost: www.archline.hu rel_path: maintenance/warehousegetfileformat.php result: quarantined evidence_sha256: a7e93ea07a0a6c0dc8e7343d2bfe89b1b8929c3e82ec8fad12e583e9686c4244 timestamp: 20260718T160241Z finding_ref: 6947 vhost: www.archline.hu rel_path: maintenance/warehouseparsesource.php result: quarantined evidence_sha256: f6ac213fd6dc82fb078180ad48b5cd796d72f336e0c45f4a5a96532577a3301b timestamp: 20260718T160241Z finding_ref: 6985 vhost: www.archline.hu rel_path: maintenance/webform/ai_render_upload.php result: quarantined evidence_sha256: 398719e2ab5a5f47f18379543d8fd1326a4cf0444d53c8c920a50d635b628b54 timestamp: 20260718T160241Z finding_ref: 7094 vhost: www.archline.hu rel_path: maintenance/webform/al_login.php result: quarantined evidence_sha256: 3c177054b2b41308addfa339f8aee9608c5a91c36163822467dfe24f3d670778 timestamp: 20260718T160241Z finding_ref: 7109 vhost: www.archline.hu rel_path: maintenance/webform/blank_result.php result: quarantined evidence_sha256: 64ba11005cdc5ae445fe9c1a8f4d83d281395e9af01a81b565e8df35310221b8 timestamp: 20260718T160241Z finding_ref: 7116 vhost: www.archline.hu rel_path: maintenance/webform/cloud_library_upload.php result: quarantined evidence_sha256: 50a20936f4fab68629eb29dad352222be583f7e8a06dffe81d1f5744a4e61b78 timestamp: 20260718T160241Z finding_ref: 7092 vhost: www.archline.hu rel_path: maintenance/webform/custom_page_test.php result: quarantined evidence_sha256: fcf3de63b1e7f30f0a827506e56170215444c5ede668cccd02d86b60da11a482 timestamp: 20260718T160241Z finding_ref: 7101 vhost: www.archline.hu rel_path: maintenance/webform/error_message.php result: quarantined evidence_sha256: c53b397287884ff6d05920e3e1aa9412a9a2983eaa296e203cf02d626164a6d1 timestamp: 20260718T160241Z finding_ref: 7108 vhost: www.archline.hu rel_path: maintenance/webform/exchange_registration.php result: quarantined evidence_sha256: 431a44d2c727adb1af8bb513a1be547a169401aba02c7ea86bce9a22042426b6 timestamp: 20260718T160241Z finding_ref: 7098 vhost: www.archline.hu rel_path: maintenance/webform/floating_licence.php result: quarantined evidence_sha256: de8f16c5377da6cda3f775ce8c7b5692513522f4886e571a01c365c2fc58b6c7 timestamp: 20260718T160241Z finding_ref: 7113 vhost: www.archline.hu rel_path: maintenance/webform/get_protocol.php result: quarantined evidence_sha256: 29bbe3fab50efc67a1d5b6dbe0b10178ade1cedf63fe6b9d89c1825cef05bd1e timestamp: 20260718T160241Z finding_ref: 7095 vhost: www.archline.hu rel_path: maintenance/webform/get_result.php result: quarantined evidence_sha256: efe83ed6968f7a461521aa687b9da2674705f82db2d368ad7d49f8086602fd5f timestamp: 20260718T160241Z finding_ref: 7110 vhost: www.archline.hu rel_path: maintenance/webform/get_serial.php result: quarantined evidence_sha256: 113acce566e83f03babe0f8a04edb2e22852153a9cccf4a338e10016b957c2a9 timestamp: 20260718T160241Z finding_ref: 7096 vhost: www.archline.hu rel_path: maintenance/webform/get_trial.php result: quarantined evidence_sha256: f80528daead94284ae2a25a90865b8583646594d49c46e0950e0aa2ea505a05f timestamp: 20260718T160241Z finding_ref: 7091 vhost: www.archline.hu rel_path: maintenance/webform/get_user_params.php result: quarantined evidence_sha256: 98a0fd44637065ab5345354da6fcc8d262165db1dae3df61692b51ad683a9025 timestamp: 20260718T160241Z finding_ref: 7100 vhost: www.archline.hu rel_path: maintenance/webform/hello.php result: quarantined evidence_sha256: 3f56199579a8c09eef21115b08cb7a5d65320967bb3473b3cac872c2c58a704b timestamp: 20260718T160241Z finding_ref: 7105 vhost: www.archline.hu rel_path: maintenance/webform/hl_pin.php result: quarantined evidence_sha256: f4803a437343e1c6e1696943323d5e8e40011baedf85634a0b778dd797384fc0 timestamp: 20260718T160241Z finding_ref: 7114 vhost: www.archline.hu rel_path: maintenance/webform/installers.php result: quarantined evidence_sha256: ede6f9bfe6a5286c699f3774318a2fa602388828df712d25b0f1bc7f4da9445c timestamp: 20260718T160241Z finding_ref: 7117 vhost: www.archline.hu rel_path: maintenance/webform/ita_selectprogramdialog_test.php result: quarantined evidence_sha256: f2d101a9e6c787b3adda2975dc080b13c562a33f35591d12c984c06aba714060 timestamp: 20260718T160241Z finding_ref: 7104 vhost: www.archline.hu rel_path: maintenance/webform/languages/eng.php result: quarantined evidence_sha256: 46d6fd4dfa5190147500b9f6d176fd8941fb2defb7738aa999674030fae0eefa timestamp: 20260718T160241Z finding_ref: 7120 vhost: www.archline.hu rel_path: maintenance/webform/languages/esp.php result: quarantined evidence_sha256: 3fad17f103bfa94fb6847f667876067910fb203afa614898d6b6be5d6e5cc6da timestamp: 20260718T160241Z finding_ref: 7118 vhost: www.archline.hu rel_path: maintenance/webform/languages/hun.php result: quarantined evidence_sha256: 415037acd07a080ce1d0919b99c4ed98db3a6af0de007897aecf05f631c60cda timestamp: 20260718T160241Z finding_ref: 7119 vhost: www.archline.hu rel_path: maintenance/webform/login.php result: quarantined evidence_sha256: 6c5afd12a7cc5cd371818afb512326d3a20909c3983747acad59bba5a8f31edb timestamp: 20260718T160241Z finding_ref: 7089 vhost: www.archline.hu rel_path: maintenance/webform/loginresult.php result: quarantined evidence_sha256: 111475c122ad8ef042b3be0cb685fef27e26dae1253e78980262d69a6330240b timestamp: 20260718T160241Z finding_ref: 7090 vhost: www.archline.hu rel_path: maintenance/webform/mobileviewer_create.php result: quarantined evidence_sha256: c704e45e4b66c613515fb2a610eaee5cea05cc34c59f2bffd894be7317e8d81a timestamp: 20260718T160241Z finding_ref: 7115 vhost: www.archline.hu rel_path: maintenance/webform/nonprofit.php result: quarantined evidence_sha256: f2402993818c579c4ae0dff83b14d1d4eafe0538c6c78fd254394b3cc32fa1ce timestamp: 20260718T160241Z finding_ref: 7111 vhost: www.archline.hu rel_path: maintenance/webform/progress.php result: quarantined evidence_sha256: 69d97cce20e8f1d3d0a729770d3900375fcf2e71eec508ac3094b225fa86149d timestamp: 20260718T160241Z finding_ref: 7097 vhost: www.archline.hu rel_path: maintenance/webform/public/css/bootstrap-datepicker.min.css result: quarantined evidence_sha256: c6f7f9b4b991b8777f7d4bb7c71caefb1ebdb25d54cc49238e45197508a42fba timestamp: 20260718T160241Z finding_ref: 7121 vhost: www.archline.hu rel_path: maintenance/webform/public/css/style.css result: quarantined evidence_sha256: 4ec1c6746a78cb82ef9602dbab6a4ecf64d17d12dbab98c737fcb54496572c2c timestamp: 20260718T160241Z finding_ref: 7122 vhost: www.archline.hu rel_path: maintenance/webform/public/js/bootstrap-datepicker.min.js result: quarantined evidence_sha256: 451f8779286b82a87c56fdb09b07ec039a8834d1e294d6c94fa48a937f8e9c6c timestamp: 20260718T160241Z finding_ref: 7123 vhost: www.archline.hu rel_path: maintenance/webform/public/js/main.js result: quarantined evidence_sha256: 2c7211c027bde9f33665fd013f13b5c2f1433f6144469036fcee2601232599eb timestamp: 20260718T160241Z finding_ref: 7124 vhost: www.archline.hu rel_path: maintenance/webform/regsuccess.php result: quarantined evidence_sha256: 21cd484b1399b458c705bde21d27f0ac5232d41b4e8e53674a04d55d38b05596 timestamp: 20260718T160241Z finding_ref: 7102 vhost: www.archline.hu rel_path: maintenance/webform/result.php result: quarantined evidence_sha256: e499571b46d11779a145b7e812a116bdbd8bff01e2970c8ddbc284c3c2a4f319 timestamp: 20260718T160241Z finding_ref: 7099 vhost: www.archline.hu rel_path: maintenance/webform/sample.php result: quarantined evidence_sha256: babfd231ed275d0bba17f58603f74c7ed42e6bf55f15efe739b42d127d986e27 timestamp: 20260718T160241Z finding_ref: 7107 vhost: www.archline.hu rel_path: maintenance/webform/select_dealer.php result: quarantined evidence_sha256: 8dc62c6a46976b7f511a37082a8934bed1848e3d185e5c11efa94e46522a1179 timestamp: 20260718T160241Z finding_ref: 7106 vhost: www.archline.hu rel_path: maintenance/webform/selectprogramdialog.php result: quarantined evidence_sha256: 33cece71cda07cef47bbc4c01fca6153646eec0611cc6f766df0a380cd7efa41 timestamp: 20260718T160241Z finding_ref: 7093 vhost: www.archline.hu rel_path: maintenance/webform/startQuery.php result: quarantined evidence_sha256: 42991f88d4f8c104a364b3b302cfe08d00916d20fb26771c10bca4a164ac80c9 timestamp: 20260718T160241Z finding_ref: 7112 vhost: www.archline.hu rel_path: maintenance/webform/test_result.php result: quarantined evidence_sha256: 11b40cd4cb670ef43c214957e95fd4af2240b21aafee5f8050ae3a665f765e2e timestamp: 20260718T160241Z finding_ref: 7103 vhost: www.archline.hu rel_path: maintenance/zendesk/get_zendesk_articles.php result: quarantined evidence_sha256: b79049cfe4dae6060419fa6370603beff266c978857fc2dbb55b25fda06aa7f3 timestamp: 20260718T160241Z finding_ref: 7133 vhost: www.archline.hu rel_path: maintenance/zendesk/update_crc.php result: quarantined evidence_sha256: 7db79592f8b92390f77bf2c90a67c43afe83ac7835ac8123657673e932190c17 timestamp: 20260718T160241Z finding_ref: 7135 vhost: www.archline.hu rel_path: maintenance/zendesk/zendesk.php result: quarantined evidence_sha256: 91f79d334079716388095456ab7e635cb809a5da00703fdc67afe021cdf09318 timestamp: 20260718T160241Z finding_ref: 7134
1639 lines
78 KiB
PHP
1639 lines
78 KiB
PHP
<?php
|
|
/*
|
|
http://www.archline.hu/version/aktivalasikod/9501802310377366/E9A2/0180-E9A2-A00-0439
|
|
|
|
Szia Zsolt!
|
|
Kosz. Teszt lefut. Az maradjon is ott, az a teszt.php.
|
|
Illusion.hu
|
|
Lazar Imre
|
|
*/
|
|
|
|
if (!class_exists('crm_hardlock')) require_once("common_cadline_libraries/crm_hardlock.class.php");
|
|
if (!class_exists('crm_users')) require_once("common_cadline_libraries/crm_users.class.php");
|
|
|
|
$action = trim(strtolower($_GET['action']));
|
|
|
|
if (crm_hardlock::IsCalledFromMyIP() || $_SERVER['REMOTE_ADDR'] == '176.241.36.200') {
|
|
switch ($action) {
|
|
default:
|
|
echo 'missing action parameter';
|
|
break;
|
|
|
|
case 'get_maintainer_programs':
|
|
$sql = "SELECT p.prHlNum AS prHlNum
|
|
FROM cl_hlusers.h_programs p
|
|
LEFT JOIN cl_hlusers.hardlock h ON h.hlNum = p.prHlNum
|
|
WHERE (h.hlCtrID = 39 OR h.hlNum LIKE '39%') AND p.prStat = 0 AND h.hlStat = 1 AND p.prVerID = 23 AND p.prContact IN (1,11,0,3) GROUP BY p.prPass;";
|
|
|
|
$sql = "SELECT DISTINCT(prID) prID, prHlNum, prStat, hlUser, strCompany, prTypeID, prVerID, prLan, strInvoiceName, prSellDate, prContact, prPass, prFizetve, prActCode, prPrice, prInfo, prOrdNum, prHiType, prDealer, prInvoiceDateFrom,prInvoiceDateTo,prInvoiceRecurrence
|
|
FROM h_programs p
|
|
LEFT JOIN hardlock h ON p.prHlNum=h.hlNum
|
|
LEFT JOIN users u ON h.hlUser=u.nUserID
|
|
LEFT JOIN u_emails e ON e.nUserID = h.hlUser
|
|
WHERE h.hlStat = 1 AND (h.hlCtrID = 43 OR h.hlNum LIKE '43%') AND p.prVerID IN (23) AND p.prContact IN (1,11,0,3) GROUP BY p.prPass ORDER BY prHlNum";
|
|
crm_database::getInstance()->query($sql);
|
|
$res = crm_database::getInstance()->fetchAssoc();
|
|
|
|
$i = 1;
|
|
|
|
echo '(';
|
|
foreach ($res as $value) {
|
|
$sql = "SELECT * FROM cl_hlusers.h_programs
|
|
WHERE prHlNum = '" . $value['prHlNum'] . "' GROUP BY prPass;";
|
|
crm_database::getInstance()->query($sql);
|
|
$programs = crm_database::getInstance()->fetchAssoc();
|
|
|
|
foreach ($programs as $program) {
|
|
echo "'" . $program['prPass'] . "', ";
|
|
$i++;
|
|
}
|
|
}
|
|
//echo $i;
|
|
echo ')';
|
|
die();
|
|
break;
|
|
|
|
case 'delete_nonprofit_programs':
|
|
$sql = "SELECT u.nUserID AS nUserID, h.hlNum AS hlNum, p.prPass AS prPass, p.prHlNum AS prHlNum
|
|
FROM cl_hlusers.hardlock h
|
|
LEFT JOIN cl_hlusers.users u ON u.nUserID = h.hlUser
|
|
LEFT JOIN cl_hlusers.h_programs p ON p.prHlNum = h.hlNum
|
|
WHERE h.hlStat = 2 AND h.hlNum LIKE '99%' AND u.nUserType = 0 AND p.prVerID <= 22 GROUP BY p.prPass;";
|
|
crm_database::getInstance()->query($sql);
|
|
$res = crm_database::getInstance()->fetchAssoc();
|
|
|
|
$i = 0;
|
|
|
|
foreach ($res as $value) {
|
|
$sql2 = "SELECT prID FROM cl_hlusers.h_programs
|
|
WHERE prHlNum = '" . $value['hlNum'] . "' AND prVerID > 22 LIMIT 1";
|
|
crm_database::getInstance()->query($sql2);
|
|
$res2 = crm_database::getInstance()->fetchNext();
|
|
|
|
if (!empty($res2))
|
|
continue;
|
|
|
|
/*$delete_sql3 = "DELETE FROM cl_hlusers.nonprofit WHERE hlID = '" . $value['prHlNum'] . "'";
|
|
crm_database::getInstance()->query($delete_sql3);
|
|
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prPass = ?", array('s', $value['prPass']));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`p_serial_isid` WHERE serial = ?", array('s', $value['prPass']));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`userstats2013` WHERE usPwd = ?", array('s', $value['prPass']));
|
|
|
|
Database::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prHlNum = ?", array('s', $value['prHlNum']));
|
|
$res3 = Database::getInstance()->fetchNext();
|
|
|
|
if (empty($res3)) {
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`hardlock` WHERE hlNum = ?", array('s', $value['prHlNum']));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`h_history` WHERE hiHlNum = ?", array('s', $value['prHlNum']));
|
|
}*/
|
|
|
|
$i++;
|
|
|
|
echo '<a href="http://crm.cadline.hu/48/hardlock/show/' . $value['hlNum'] . '" target="_blank">' . $value['hlNum'] . '</a><br/>';
|
|
}
|
|
|
|
echo $i;
|
|
die();
|
|
break;
|
|
|
|
case 'insert_test_programs':
|
|
$hlNum = 371004;
|
|
$lan = 15;
|
|
$lan_sign = crm_hardlock::GetLanSignFromLanUserNumber($lan);
|
|
$password = Codegen::GeneratePassword($hlNum, $lan_sign, 8, 80);
|
|
|
|
for ($i = 0; $i < 15; $i++) {
|
|
Database::getInstance()->insert(
|
|
CRMADATBAZIS . '.h_programs',
|
|
array(
|
|
"prPass" => $password,
|
|
"prVerID" => 23,
|
|
"prTypeID" => 8,
|
|
"prLan" => $lan,
|
|
"prSellDate" => date('Y-m-d'),
|
|
"prFizetve" => "2026-10-15",
|
|
"prContact" => 5,
|
|
"prHlNum" => $hlNum,
|
|
"prPrice" => 0,
|
|
"prManID" => 36,
|
|
"prStat" => 0,
|
|
"prHiType" => 1
|
|
),
|
|
'siiissisiiii'
|
|
);
|
|
}
|
|
break;
|
|
|
|
case 'custom_login_test':
|
|
$url = 'https://www.archline.hu/maintenance/webform/custom_page_test.php';
|
|
|
|
$jsonUser = new stdClass();
|
|
$jsonUser->serial = 'test_serial';
|
|
$jsonUser->email = 'test@test.com';
|
|
$jsonUser->crmID = 'id';
|
|
|
|
$jsonString = json_encode($jsonUser);
|
|
$encodedJson = base64_encode($jsonString); // base64 encode-olt JSON
|
|
|
|
$postData = [
|
|
'data' => $encodedJson
|
|
];
|
|
|
|
$cURLConnection = curl_init($url);
|
|
curl_setopt($cURLConnection, CURLOPT_RETURNTRANSFER, true);
|
|
curl_setopt($cURLConnection, CURLOPT_POSTFIELDS, $postData);
|
|
$result = curl_exec($cURLConnection);
|
|
|
|
/*$msg = "Url: {$url} || Data: {$jsonString}";
|
|
|
|
crm_hardlock::AddToDebugTable($msg, 'custom_login_test');*/
|
|
|
|
var_dump($result);
|
|
die();
|
|
break;
|
|
|
|
case 'change-namirial-and-bim-user':
|
|
$sql = "SELECT u.nUserID AS nUserID
|
|
FROM cl_hlusers.h_programs p
|
|
LEFT JOIN cl_hlusers.hardlock h ON h.hlNum = p.prHlNum
|
|
LEFT JOIN cl_hlusers.users u ON u.nUserID = h.hlUser
|
|
WHERE p.prContact = 9 AND u.nUserType != 2;";
|
|
|
|
crm_database::getInstance()->query($sql);
|
|
$res = crm_database::getInstance()->fetchAssoc();
|
|
|
|
$users = 0;
|
|
|
|
foreach ($res as $value) {
|
|
$sql2 = "SELECT count(*) AS hardlock_count FROM cl_hlusers.hardlock
|
|
WHERE hlUser = '" . $value['nUserID'] . "'";
|
|
|
|
crm_database::getInstance()->query($sql2);
|
|
$res2 = crm_database::getInstance()->fetchNext();
|
|
|
|
$sql3 = "SELECT p.prID AS prID
|
|
FROM cl_hlusers.h_programs p
|
|
LEFT JOIN cl_hlusers.hardlock h ON h.hlNum = p.prHlNum
|
|
WHERE h.hlUser = '" . $value['nUserID'] . "' AND p.prContact = 9
|
|
GROUP BY p.prHlNum;";
|
|
|
|
crm_database::getInstance()->query($sql3);
|
|
$res3 = crm_database::getInstance()->fetchAssoc();
|
|
|
|
$prg_count = count($res3);
|
|
|
|
if ($res2['hardlock_count'] == $prg_count) {
|
|
/*$updateSql1 = "UPDATE cl_hlusers.users SET nUserType = 2
|
|
WHERE nUserID = '".$value['nUserID']."'";
|
|
crm_database::getInstance()->query($updateSql1);*/
|
|
|
|
$user++;
|
|
}
|
|
}
|
|
|
|
echo $user;
|
|
break;
|
|
|
|
case 'update-live-programs':
|
|
$liveKeys = array(480027, 480041, 480045, 480142, 480145, 480147, 480149, 480151, 480153, 480154, 480155, 480157, 480159, 480161, 480163, 480165, 480168, 480169, 480171, 480172, 480174, 480176, 480179, 480180, 480181, 480182, 480189, 480194, 480195, 480197, 480199, 480200, 480201, 480204, 480210, 480212, 480214, 480216, 480218, 480220, 480224, 480228, 480232, 480236, 480238, 480040, 480143, 480146, 480148, 480175, 480177, 480183, 480185, 480187, 480189, 480205, 480206, 480208, 480222, 480230, 480234, 480240, 480242, 480244, 480246, 480247, 480249, 480251, 480254, 480255, 480257, 480259, 480262, 480264, 480266, 480268, 480270, 480272, 480274, 480276, 480278, 480280, 480282, 480287, 480289, 480291, 480293, 480295, 480297, 480299, 480301, 480304, 480306, 480308, 480310, 480312, 480314, 480316, 480318, 480320, 480323, 480325, 480327, 480329, 480331, 480333, 480042, 480043, 480167, 480181, 480191, 480192, 480226, 480230, 480248, 480250, 480253, 480265, 480267, 480269, 480338, 480341, 480343, 480345, 480348, 480351, 480353, 480358, 480361, 480381, 480383, 480385, 480390, 480395, 480397, 480402, 480404, 480406, 480408, 480410, 480412, 480416, 480420, 480422, 480433, 480435, 480437, 480439, 480441, 480443, 480446, 480448, 480450, 480452, 480455, 480458, 480461, 480463, 480466, 480468, 480470, 480472, 480474, 480476, 480478, 480480, 480482, 480486, 480489, 480491, 480496, 480498, 480500, 480502, 480508, 480514, 480516, 480520, 480522, 480524, 480526, 480527, 480261, 480493, 480510, 480528, 480532, 480533, 480534, 480535, 480536, 480541, 480545, 480546, 480547, 330001, 330002, 330008, 330009, 330016, 330018, 330021, 330021, 330022, 330022, 330023, 330025, 330025, 330027, 330034, 330035, 330038, 330039, 330040, 330042, 330043, 330046, 330048, 330051, 330062, 330072, 330073, 330081, 330083, 330084, 330086, 330087, 330093, 330101, 330105, 330106, 330107, 330112, 330125, 330139, 330140, 330141, 330147, 330149, 330161, 330162, 330165, 330167, 330171, 330172, 330175, 330177, 330180, 330181, 330183, 330184, 330189, 330190, 330196, 330200, 330201, 330207, 330208, 390020, 390021, 390026, 390030, 390031, 390032, 390097, 390099, 390103, 390105, 390109, 390110, 390111, 390112, 390113, 390114, 390115, 390116, 390118, 390122, 390123, 390126, 390129, 390130, 390131, 390132, 390133, 390134, 390135, 390136, 390137, 390140, 390141, 390142, 390143, 390144, 390146, 390147, 390148, 390149, 390150, 390151, 390153, 390157, 390159, 390160, 390161, 390163, 390164, 390165, 390168, 390171, 390173, 390175, 390176, 390177, 390179, 390180, 390182, 390186, 390187, 390188, 390189, 390192, 390193, 390194, 390251, 390252, 390253, 390254, 390261, 390262, 390317, 390318, 390319, 390320, 390366, 390367, 390368, 390369, 390370, 390371, 390373, 390374, 390375, 398874, 398887, 398895, 398895, 398897, 398898, 398899, 398900, 398901, 398902, 398902, 398913, 398917, 398924, 398926, 398928, 398930, 398931, 398932, 398938, 398945, 398953, 398958, 398959, 398960, 398961, 398962, 398963, 398964, 398965, 398966, 398967, 398968, 398969, 398970, 398971, 398972, 398973, 398974, 398975, 398976, 398977, 398978, 398979, 398980, 398982, 398983, 398984, 398985, 398986, 398987, 398988, 398989, 398990, 398991, 398992, 398993, 398994, 398995, 398996, 398997, 398998, 398999, 399000, 399001, 399002, 399003, 399004, 399005, 399006, 399007, 399008, 399009, 399010, 399011, 399012, 399013, 399014, 399015, 399016, 399017, 399018, 399019, 399020, 399021, 399022, 399023, 399024, 399025, 399026, 399027, 399028, 399029, 399030, 399031, 399032, 399033, 399034, 399035, 399036, 399037, 399038, 399039, 399040, 399041, 399042, 399043, 399044, 399045, 399046, 399047, 399048, 399049, 399050, 399051, 399052, 399053, 399054, 399055, 399056, 399057, 399059, 399060, 399061, 399062, 399063, 399064, 399065, 399066, 399067, 399068, 399069, 399070, 399071, 399072, 399073, 399094, 399204, 399205, 399207, 399209, 399211, 399213, 399218, 399219, 399222, 399237, 399244, 399245, 399248, 399253, 399254, 399255, 399256, 420437, 420438, 420439, 420440, 420444, 420445, 420447, 420449, 420450, 420451, 420452, 420453, 420454, 420455, 420456, 420457, 420458, 420459, 420466, 420467, 420470, 432043, 432043, 432066, 432066, 432083, 432087, 432087, 432107, 432107, 432111, 432111, 432133, 432134, 432138, 432159, 432161, 432162, 432163, 432164, 432166, 432168, 432170, 432172, 432174, 432176, 432178, 432180, 432182, 432184, 432186, 432188, 432190, 432204, 432228, 432229, 432239, 432240, 432241, 432244, 432245, 432246, 432247, 432248, 432250, 432251, 490111, 490112, 490113, 490114, 490116, 490117, 490118, 490119, 490120, 490121, 490122, 490135, 490138, 490139, 490140, 490141, 490142, 490143, 490144, 490145, 490146, 490147, 490148, 490149, 490150, 490160, 490161);
|
|
|
|
for ($i = 0; $i < count($liveKeys); $i++) {
|
|
$hlNum = $liveKeys[$i];
|
|
$newHlNum = crm_hardlock::tryToAlloc(990010, 999999);
|
|
|
|
if ($hlNum == 361296 || $hlNum == 361297)
|
|
continue;
|
|
|
|
$sql = "SELECT hlUser, hlCtrID FROM cl_hlusers.hardlock WHERE hlNum = '{$hlNum}'";
|
|
crm_database::getInstance()->query($sql);
|
|
$res = crm_database::getInstance()->fetchNext();
|
|
$hlUser = $res['hlUser'];
|
|
$hlCtrID = $res['hlCtrID'];
|
|
|
|
$sql2 = "SELECT p.prID FROM cl_hlusers.h_programs p
|
|
LEFT JOIN hardlock h ON h.hlNum = p.prHlNum
|
|
WHERE h.hlNum LIKE '99%' AND h.hlUser = '{$hlUser}' AND h.product_id = 2 AND p.prVerID = 23";
|
|
crm_database::getInstance()->query($sql2);
|
|
$res2 = crm_database::getInstance()->fetchNext();
|
|
|
|
if (empty($res2)) {
|
|
Database::getInstance()->insert(
|
|
CRMADATBAZIS . '.hardlock',
|
|
array(
|
|
"hlNum" => $newHlNum,
|
|
"hlLan" => 0,
|
|
"hlStat" => 1,
|
|
"hlManID" => 36,
|
|
"hlTime" => time(),
|
|
"bUjithato" => 1,
|
|
"product_id" => 2,
|
|
"hlUser" => $hlUser,
|
|
"hlCtrID" => $hlCtrID
|
|
),
|
|
'siiiiiiii'
|
|
);
|
|
|
|
$password = Codegen::GeneratePassword($newHlNum, 0, 76, 80);
|
|
|
|
Database::getInstance()->insert(
|
|
CRMADATBAZIS . '.h_programs',
|
|
array(
|
|
"prPass" => $password,
|
|
"prVerID" => 23,
|
|
"prTypeID" => 76,
|
|
"prLan" => 0,
|
|
"prSellDate" => date('Y-m-d'),
|
|
"prFizetve" => "2023-05-31",
|
|
"prContact" => 5,
|
|
"prHlNum" => $newHlNum,
|
|
"prPrice" => 0,
|
|
"prManID" => 36,
|
|
"prStat" => 0,
|
|
"prHiType" => 3
|
|
),
|
|
'siiissisiiii'
|
|
);
|
|
|
|
echo $password . '<br/>';
|
|
}
|
|
}
|
|
die();
|
|
break;
|
|
|
|
case 'delete-namirial-and-bim':
|
|
/*
|
|
2021 01 01 előtt bimladder programok törlése (2019-es vagy régebbi programok)
|
|
nonprofit táblából is, és a usert is törölni (kbl)
|
|
a userek átmennek a megkeresendőkhöz
|
|
*/
|
|
$sql = "SELECT h.hlUser AS hlUser, p.prHlNum AS prHlNum, p.prPass AS prPass
|
|
FROM cl_hlusers.h_programs p
|
|
LEFT JOIN cl_hlusers.hardlock h ON h.hlNum = p.prHlNum
|
|
WHERE p.prContact = 8 AND p.prHlNum != 940003 AND p.prHlNum != 940004 AND p.prHlNum != 940006 AND
|
|
p.prHlNum != 940010 AND p.prVerID <= 19 AND p.prFizetve < '2021-01-01';";
|
|
|
|
crm_database::getInstance()->query($sql);
|
|
$res = crm_database::getInstance()->fetchAssoc();
|
|
|
|
$users = 0;
|
|
$programs = 0;
|
|
|
|
foreach ($res as $value) {
|
|
/*$delete_sql = "DELETE FROM cl_hlusers.h_programs WHERE prPass = '".$value['prPass']."'";
|
|
crm_database::getInstance()->query($delete_sql);*/
|
|
|
|
$sql2 = "SELECT count(*) AS program_count FROM cl_hlusers.h_programs
|
|
WHERE prHlNum = '" . $value['prHlNum'] . "'";
|
|
|
|
crm_database::getInstance()->query($sql2);
|
|
$res2 = crm_database::getInstance()->fetchNext();
|
|
|
|
if ($res2['program_count'] < 1) {
|
|
/*$delete_sql2 = "DELETE FROM cl_hlusers.hardlock WHERE hlNum = '".$value['prHlNum']."'";
|
|
crm_database::getInstance()->query($delete_sql2);*/
|
|
|
|
/*$delete_sql3 = "DELETE FROM cl_hlusers.nonprofit WHERE hlID = '".$value['prHlNum']."'";
|
|
crm_database::getInstance()->query($delete_sql3);*/
|
|
|
|
$sql3 = "SELECT count(*) AS hardlock_count FROM cl_hlusers.hardlock
|
|
WHERE hlUser = '" . $value['hlUser'] . "'";
|
|
|
|
crm_database::getInstance()->query($sql3);
|
|
$res3 = crm_database::getInstance()->fetchNext();
|
|
|
|
if ($res3['hardlock_count'] < 1) {
|
|
/*$updateSql1 = "UPDATE cl_hlusers.users SET nUserType = 0
|
|
WHERE nUserID = '".$value['hlUser']."'";
|
|
crm_database::getInstance()->query($updateSql1);*/
|
|
|
|
$users++;
|
|
}
|
|
}
|
|
|
|
$programs++;
|
|
}
|
|
|
|
echo 'Users: ' . $users;
|
|
echo '<br/>';
|
|
echo 'Programs: ' . $programs;
|
|
break;
|
|
|
|
case 'readcsv':
|
|
$queryMsg = '';
|
|
|
|
if (($handle = fopen("2646560-6531045b1309938c0ae6778b-8jkwT4.csv", "r")) !== FALSE) {
|
|
while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
|
|
$num = count($data);
|
|
for ($c = 0; $c < $num; $c++) {
|
|
if ($c == 0) {
|
|
$queryMsg .= "'" . $data[$c] . "', ";
|
|
}
|
|
}
|
|
}
|
|
fclose($handle);
|
|
|
|
$trimmed = rtrim($queryMsg, ', ');
|
|
|
|
$query = "SELECT * FROM cl_hlusers.u_emails WHERE email IN (" . $trimmed . ")";
|
|
crm_database::getInstance()->query($query);
|
|
$res = crm_database::getInstance()->fetchAssoc();
|
|
|
|
var_dump($res);
|
|
|
|
foreach ($res as $value) {
|
|
$updateSql1 = "UPDATE cl_hlusers.u_emails SET newsletter = 0 WHERE u_emails_id = " . $value['u_emails_id'];
|
|
crm_database::getInstance()->query($updateSql1);
|
|
|
|
Database::getInstance()->insert(
|
|
CRMADATBAZIS . '.u_history',
|
|
array(
|
|
"nUserID" => $value['nUserID'],
|
|
"nTopicID" => 54,
|
|
"dateEvent" => date('Y-m-d'),
|
|
"strPlace" => 'web',
|
|
"strInfo" => $value['email'],
|
|
"nManagerID" => 36,
|
|
"insertDate" => date('Y-m-d H:i:s')
|
|
),
|
|
'iisssis'
|
|
);
|
|
}
|
|
}
|
|
die();
|
|
break;
|
|
|
|
case 'update-user-newsletter':
|
|
$sql = "SELECT e.u_emails_id AS emailIDs FROM cl_hlusers.users u
|
|
LEFT JOIN cl_hlusers.u_emails e ON e.nUserID = u.nUserID
|
|
WHERE u.old_db = 'clusers_eng' AND u.nUserType = 0 AND e.newsletter != 1 AND
|
|
u.nUserID NOT IN (SELECT nUserID FROM cl_hlusers.u_history WHERE nTopicID = 54 OR nTopicID = 219 OR nTopicID = 378 OR nTopicID = 339 OR strInfo LIKE 'Unsubscribe newsletter%') AND
|
|
u.nUserID NOT IN (SELECT nUserID FROM cl_hlusers.u_emails WHERE newsletter = 1) GROUP BY u.nUserID LIMIT 5000;";
|
|
|
|
crm_database::getInstance()->query($sql);
|
|
$res = crm_database::getInstance()->fetchAssoc();
|
|
|
|
$i = 0;
|
|
|
|
foreach ($res as $value) {
|
|
$i++;
|
|
|
|
//$updateSql1 = "UPDATE cl_hlusers.u_emails SET newsletter = 1 WHERE u_emails_id = ".$value['emailIDs'];
|
|
//crm_database::getInstance()->query($updateSql1);
|
|
}
|
|
|
|
echo $i;
|
|
break;
|
|
|
|
case 'update-test-2':
|
|
/*Kesz tablak:
|
|
- hun
|
|
- ita
|
|
- ger (Kata nezze at)
|
|
- fr
|
|
- pl
|
|
- pt
|
|
- cz
|
|
- gre (hagyjuk...)
|
|
- kor
|
|
- esp
|
|
- chn (nem lehet, mert sok a teves szoveg, raadasul angol!)
|
|
- cr (nem lehet, mert sok a teves szoveg, raadasul angol!)
|
|
- nor (nem lehet, mert sok a teves szoveg, raadasul angol!)
|
|
|
|
|
|
|
|
kézi, ami nincs kész:
|
|
- Cseh
|
|
- Horvát
|
|
- Koreai
|
|
- Spanyol
|
|
*/
|
|
$table = 'resourcemanager.text_table_esp';
|
|
// Update-eli a kiselectalt adatokat
|
|
$needToUpdate = $_GET['needToUpdate'] == '' ? false : $_GET['needToUpdate'];
|
|
// Selecteli azokat a forditasokat, amelyek nem egyezik meg a szovege a referenciaeval, de needToTranslate-es
|
|
$sql1 = "SELECT ref.id AS ref_id, res.id AS res_id, ref.text AS ref_text, res.text AS res_text, res.to_translate AS test_asd
|
|
FROM resourcemanager.text_table_ref ref
|
|
LEFT JOIN {$table} res ON res.ref_id = ref.id
|
|
WHERE ref.text NOT LIKE '%://%' AND CHAR_LENGTH(ref.text) > 10 AND ((ref.text != res.text AND res.to_translate = 1)) AND ref.type_id < 4 LIMIT 10000;";
|
|
|
|
$sql1A = "SELECT ref.id AS ref_id, res.id AS res_id, ref.text AS ref_text, res.text AS res_text, res.to_translate AS test_asd
|
|
FROM resourcemanager.text_table_ref ref
|
|
LEFT JOIN {$table} res ON res.ref_id = ref.id
|
|
WHERE ref.text NOT LIKE '%://%' AND CHAR_LENGTH(ref.text) > 10 AND
|
|
(((ref.text != res.text AND res.text != ref.key) AND res.to_translate = 1 )) AND ref.type_id > 4 LIMIT 10000;";
|
|
|
|
$sql2 = "SELECT ref.id AS ref_id, res.id AS res_id, ref.text AS ref_text, res.text AS res_text, res.to_translate AS test_asd
|
|
FROM resourcemanager.text_table_ref ref
|
|
LEFT JOIN {$table} res ON res.ref_id = ref.id
|
|
WHERE ref.text LIKE '%://%' AND res.to_translate = 1 AND ref.type_id < 4 LIMIT 10000;";
|
|
|
|
$sql3 = "SELECT ref.id AS ref_id, res.id AS res_id, ref.text AS ref_text, res.text AS res_text, res.to_translate AS test_asd
|
|
FROM resourcemanager.text_table_ref ref
|
|
LEFT JOIN {$table} res ON res.ref_id = ref.id
|
|
WHERE ref.text NOT LIKE '%://%' AND ((ref.text != res.text AND res.to_translate = 1)) AND ref.type_id < 4 LIMIT 10000;";
|
|
|
|
$currentSql = $sql1A;
|
|
|
|
crm_database::getInstance()->query($currentSql);
|
|
$res = crm_database::getInstance()->fetchAssoc();
|
|
|
|
echo count($res);
|
|
echo '<br/><br/>';
|
|
|
|
foreach ($res as $value) {
|
|
if ($value['res_id'] == '282998' || $value['res_id'] == '276904' || $value['res_id'] == '158699')
|
|
continue;
|
|
|
|
if ($needToUpdate) {
|
|
if ($currentSql == $sql1 || $currentSql == $sql1A || $currentSql == $sql2 || $currentSql == $sql3) {
|
|
$updateSql1 = "UPDATE {$table} SET to_translate = 0 WHERE id = " . $value['res_id'];
|
|
crm_database::getInstance()->query($updateSql1);
|
|
}
|
|
}
|
|
|
|
echo $value['res_id'] . '. ' . $value['ref_text'] . ' - ' . $value['res_text'] . ' - ' . $value['test_asd'] . '<br/>';
|
|
}
|
|
break;
|
|
|
|
case 'test-reg':
|
|
$url = 'http://archlineviewer.eastus.cloudapp.azure.com/users';
|
|
$header = array('Content-Type: application/json', 'Authorization: df1dceb8e2d6f6b0894363b085801e36');
|
|
$data = array(
|
|
'password' => 'CADLine123',
|
|
'isAdmin' => false,
|
|
'userBrief' => array(
|
|
'userName' => '',
|
|
'email' => 'mate.nagy@cadline.hu',
|
|
'firstName' => 'Máté',
|
|
'lastName' => 'Nagy',
|
|
'projectsLimit' => 10,
|
|
'canCreateProject' => true,
|
|
'tokenInfo' => array(
|
|
'token' => '8888ddd1470c8f73cf6e59f39578c3f45',
|
|
'expires' => '2021-12-30T00:00:00'
|
|
)
|
|
),
|
|
);
|
|
|
|
$ch = curl_init($url);
|
|
# Setup request to send json via POST.
|
|
$jsonData = json_encode($data);
|
|
curl_setopt($ch, CURLOPT_POSTFIELDS, $jsonData);
|
|
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
|
|
# Return response instead of printing.
|
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
|
# Send request.
|
|
$result = curl_exec($ch);
|
|
curl_close($ch);
|
|
# Print response.
|
|
echo "<pre>$result</pre>";
|
|
break;
|
|
|
|
case 'update_actcode':
|
|
$query = "SELECT * FROM cl_hlusers.h_programs WHERE prActCode = '' AND prVerID = 20 AND prTypeID != 76 AND prPass NOT LIKE '95%' AND prPass NOT LIKE '99%'
|
|
AND prOrdNum IS NOT NULL AND prPass NOT LIKE '39%' AND prOrdNum != '' AND prPass LIKE '43%'";
|
|
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
die();
|
|
|
|
foreach ($res as $value) {
|
|
$isid = crm_hardlock::GetIsidFromPasswordForHardwareKeys($value['prPass']);
|
|
$actCode = Codegen::GenerateTimeCode($value['prPass'], $isid, 3583);
|
|
|
|
$query = "UPDATE `" . CRMADATBAZIS . "`.`h_programs` SET prActCode = ? WHERE prPass = ?";
|
|
Database::getInstance()->query($query, array('ss', $actCode, $value['prPass']));
|
|
}
|
|
break;
|
|
|
|
case 'insert_nonprofit':
|
|
for ($i = 997951; $i < 999991; $i++) {
|
|
Database::getInstance()->insert(
|
|
CRMADATBAZIS . '.hardlock',
|
|
array(
|
|
"hlNum" => $i,
|
|
"hlLan" => 0,
|
|
"hlStat" => 0,
|
|
"hlManID" => 36,
|
|
"hlTime" => time(),
|
|
"bUjithato" => 1,
|
|
"product_id" => 1
|
|
),
|
|
'siiiiii'
|
|
);
|
|
}
|
|
break;
|
|
|
|
case 'change_to_non_contacted':
|
|
$query = "SELECT u.nUserID AS nUserID
|
|
FROM cl_hlusers.users u
|
|
WHERE u.nUserType = 2 GROUP BY u.nUserID";
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
$i = 0;
|
|
|
|
foreach ($res as $value) {
|
|
$query2 = "SELECT h.hlUser FROM cl_hlusers.hardlock h WHERE h.hlUser = ?";
|
|
Database::getInstance()->query($query2, array('i', $value['nUserID']));
|
|
$res2 = Database::getInstance()->fetchNext();
|
|
|
|
if (!empty($res2))
|
|
continue;
|
|
|
|
/*$query = "UPDATE `" . CRMADATBAZIS . "`.`users` SET nUserType = ? WHERE nUserID = ?";
|
|
Database::getInstance()->query($query, array('ii', 0, $value['nUserID']));*/
|
|
|
|
$i++;
|
|
|
|
echo '<a href="https://crm.cadline.hu/hu/users/show/' . $value['nUserID'] . '" target="_blank">' . $value['nUserID'] . '</a><br/>';
|
|
}
|
|
|
|
echo $i;
|
|
die();
|
|
break;
|
|
|
|
case 'change_bonus_trial_users':
|
|
$query = "SELECT u.nUserID AS nUserID
|
|
FROM cl_hlusers.users u
|
|
LEFT JOIN cl_hlusers.hardlock h ON h.hlUser = u.nUserID
|
|
WHERE u.nUserType != 0 AND h.hlNum LIKE '96%' AND u.nUserID != 85644 AND u.nUserID != 86182 GROUP BY u.nUserID";
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
$i = 0;
|
|
foreach ($res as $value) {
|
|
$query2 = "SELECT * FROM cl_hlusers.hardlock WHERE hlUser = ? AND hlNum NOT LIKE '96%'";
|
|
Database::getInstance()->query($query2, array('i', $value['nUserID']));
|
|
$res2 = Database::getInstance()->fetchNext();
|
|
|
|
if (!empty($res2))
|
|
continue;
|
|
|
|
/*$query = "UPDATE `" . CRMADATBAZIS . "`.`users` SET nUserType = ? WHERE nUserID = ?";
|
|
Database::getInstance()->query($query, array('ii', 0, $value['nUserID']));*/
|
|
|
|
$i++;
|
|
|
|
echo '<a href="https://crm.cadline.hu/hu/users/show/' . $value['nUserID'] . '" target="_blank">' . $value['nUserID'] . '</a><br/>';
|
|
}
|
|
|
|
echo $i;
|
|
|
|
die();
|
|
break;
|
|
|
|
case 'delete_bonus_trial':
|
|
$query = "SELECT * FROM cl_hlusers.h_programs WHERE prContact = 10 AND prFizetve < '2023-06-02'";
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
$i = 0;
|
|
$hun = 0;
|
|
$eng = 0;
|
|
|
|
foreach ($res as $value) {
|
|
$query2 = "SELECT * FROM cl_hlusers.h_programs WHERE prPass = ? AND prFizetve >= '2023-06-02'";
|
|
Database::getInstance()->query($query2, array('s', $value['prPass']));
|
|
$res2 = Database::getInstance()->fetchNext();
|
|
|
|
if (!empty($res2))
|
|
continue;
|
|
|
|
echo '<a href="http://crm.cadline.hu/48/hardlock/show/' . $value['prHlNum'] . '" target="_blank">' . $value['prPass'] . ' - ' . $value['prFizetve'] . '</a><br/>';
|
|
|
|
/*Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prPass = ?", array('s', $value['prPass']));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`p_serial_isid` WHERE serial = ?", array('s', $value['prPass']));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`userstats2013` WHERE usPwd = ?", array('s', $value['prPass']));
|
|
|
|
Database::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prHlNum = ?", array('s', $value['prHlNum']));
|
|
$res3 = Database::getInstance()->fetchNext();
|
|
|
|
if (empty($res3)) {
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`hardlock` WHERE hlNum = ?", array('s', $value['prHlNum']));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`h_history` WHERE hiHlNum = ?", array('s', $value['prHlNum']));
|
|
}*/
|
|
|
|
/*Database::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`hardlock` WHERE hlNum = ?", array('s', $value['prHlNum']));
|
|
$res4 = Database::getInstance()->fetchNext();
|
|
|
|
if ($res4['hlCtrID'] == 36)
|
|
$hun++;
|
|
else
|
|
$eng++;*/
|
|
|
|
$i++;
|
|
|
|
continue;
|
|
|
|
Database::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`hardlock` WHERE hlNum = ?", array('s', $value['prHlNum']));
|
|
$res4 = Database::getInstance()->fetchNext();
|
|
|
|
Database::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`users` WHERE nUserID = ? AND nUserType = 1", array('s', $res4['hlUser']));
|
|
$res5 = Database::getInstance()->fetchNext();
|
|
|
|
if (!empty($res5)) {
|
|
echo '<a href="https://crm.cadline.hu/hu/users/show/' . $res5['nUserID'] . '" target="_blank">' . $res5['nUserID'] . '</a><br/>';
|
|
|
|
if ($res4['hlCtrID'] == 36)
|
|
$hun++;
|
|
else
|
|
$eng++;
|
|
|
|
$i++;
|
|
|
|
/*Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prPass = ?", array('s', $value['prPass']));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`p_serial_isid` WHERE serial = ?", array('s', $value['prPass']));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`userstats2013` WHERE usPwd = ?", array('s', $value['prPass']));
|
|
|
|
Database::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prHlNum = ?", array('s', $value['prHlNum']));
|
|
$res3 = Database::getInstance()->fetchNext();
|
|
|
|
if (empty($res3)) {
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`hardlock` WHERE hlNum = ?", array('s', $value['prHlNum']));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`h_history` WHERE hiHlNum = ?", array('s', $value['prHlNum']));
|
|
}*/
|
|
}
|
|
}
|
|
|
|
echo 'Magyar: ' . $hun . '<br>';
|
|
echo 'Angol: ' . $eng . '<br>';
|
|
echo 'Összesen: ' . $i . '<br>';
|
|
die();
|
|
break;
|
|
|
|
case 'bonus_trial':
|
|
$query = "SELECT h.hlStat AS hlStat, h.hlNum AS hlNum, h.hlUser AS hlUser, p.prSellDate AS prSellDate, p.prTime AS prTime
|
|
FROM cl_hlusers.hardlock h
|
|
LEFT JOIN cl_hlusers.h_programs p ON p.prHlNUM = h.hlNum
|
|
WHERE h.hlStat != 0 AND h.hlNum LIKE '96%' AND h.hlUser NOT IN (SELECT nUserID FROM cl_hlusers.u_history WHERE nTopicID = 106)
|
|
GROUP BY h.hlUser";
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
foreach ($res as $r) {
|
|
Database::getInstance()->insert(
|
|
CRMADATBAZIS . '.u_history',
|
|
array(
|
|
"nUserID" => $r['hlUser'],
|
|
"nTopicID" => 106,
|
|
"dateEvent" => $r['prSellDate'],
|
|
"strPlace" => 'ARCHLine',
|
|
"strInfo" => 'Bónusz Trialt igényelt',
|
|
"nManagerID" => 36,
|
|
"insertDate" => $r['prTime']
|
|
),
|
|
'iisssis'
|
|
);
|
|
}
|
|
|
|
die();
|
|
break;
|
|
|
|
case 'web_product_insert':
|
|
$query = "SELECT * FROM cl_hlusers.o_products where lang != 37 AND (termek = 'ARCHLine.XP PRO 2022 yearly subscription' OR termek = 'ARCHLine.XP PRO 2022 monthly subscription')";
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
foreach ($res as $r) {
|
|
$prod_id = 74;
|
|
|
|
if (
|
|
$r['lang'] == '11' || $r['lang'] == '55' || $r['lang'] == '65' || $r['lang'] == '60' || $r['lang'] == '52' || $r['lang'] == '84' || $r['lang'] == '44'
|
|
|| $r['lang'] == '88' || $r['lang'] == '61' || $r['lang'] == '82'
|
|
) {
|
|
$prod_id = 73;
|
|
}
|
|
|
|
Database::getInstance()->insert(
|
|
'szamla_agent.web_product',
|
|
array(
|
|
"web_id" => $r['id'],
|
|
"product_id" => $prod_id
|
|
),
|
|
'ii'
|
|
);
|
|
}
|
|
|
|
echo 'done';
|
|
die();
|
|
|
|
break;
|
|
|
|
case 'fill_test_weborder':
|
|
$query = "SELECT * FROM cl_hlusers.o_products WHERE lang = 48";
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
foreach ($res as $value) {
|
|
$prod = array(
|
|
"termek" => $value['termek'],
|
|
"kategoria" => $value['kategoria'],
|
|
"euro" => $value['euro'],
|
|
"usd" => 0,
|
|
"lang" => 37,
|
|
"seq" => 1,
|
|
"limit" => 51,
|
|
"email" => 'mate.nagy@cadline.hu',
|
|
"type" => $value['type'],
|
|
"sub_email" => '',
|
|
"o_type" => $value['o_type'],
|
|
"credit" => 0,
|
|
"incl_live" => $value['incl_live']
|
|
);
|
|
|
|
$id = Database::getInstance()->insert(CRMADATBAZIS . '.o_products', $prod, 'ssiiiiisisiii');
|
|
|
|
$query = "SELECT * FROM szamla_agent.web_product WHERE web_id = ?";
|
|
Database::getInstance()->query($query, array('i', $value['id']));
|
|
$res2 = Database::getInstance()->fetchNext();
|
|
|
|
if (!empty($res2)) {
|
|
Database::getInstance()->insert(
|
|
'szamla_agent.web_product',
|
|
array(
|
|
"web_id" => $id,
|
|
"product_id" => $res2['product_id']
|
|
),
|
|
'ii'
|
|
);
|
|
}
|
|
}
|
|
break;
|
|
|
|
case 'product_insert':
|
|
$query = "SELECT * FROM cl_hlusers.o_products WHERE lang NOT IN (36, 37, 371) GROUP BY lang";
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
$notEu = array(47, 61, 82, 60, 88, 11, 55, 65, 44, 54);
|
|
|
|
foreach ($res as $value) {
|
|
$invID = 39;
|
|
$usd = 357;
|
|
$eur = 357;
|
|
|
|
if (in_array($value['lang'], $notEu)) {
|
|
$invID = 54;
|
|
}
|
|
|
|
$prod = array(
|
|
"termek" => 'Upgrade ARCHLine.XP Professional 2022 to 2023',
|
|
"kategoria" => 'upgrade',
|
|
"euro" => $eur,
|
|
"usd" => $usd,
|
|
"lang" => $value['lang'],
|
|
"seq" => 0,
|
|
"limit" => 51,
|
|
"email" => $value['email'],
|
|
"type" => '',
|
|
"sub_email" => $value['sub_email'],
|
|
"o_type" => 7,
|
|
"credit" => $value['credit'],
|
|
"incl_live" => 0
|
|
);
|
|
|
|
$id = Database::getInstance()->insert(CRMADATBAZIS . '.o_products', $prod, 'ssiiiiisisiii');
|
|
|
|
$query = "SELECT * FROM szamla_agent.partnerek WHERE ország = ?";
|
|
Database::getInstance()->query($query, array('i', $value['lang']));
|
|
$res2 = Database::getInstance()->fetchNext();
|
|
|
|
if (!empty($res2)) {
|
|
Database::getInstance()->insert(
|
|
'szamla_agent.web_product',
|
|
array(
|
|
"web_id" => $id,
|
|
"product_id" => $invID
|
|
),
|
|
'ii'
|
|
);
|
|
}
|
|
}
|
|
|
|
die();
|
|
break;
|
|
|
|
case 'partner_insert':
|
|
$query = "SELECT * FROM cl_hlusers.o_products WHERE lang = ?";
|
|
Database::getInstance()->query($query, array('i', 91));
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
foreach ($res as $r) {
|
|
$id = Database::getInstance()->insert(
|
|
CRMADATBAZIS . '.o_products',
|
|
array(
|
|
"termek" => $r['termek'],
|
|
"kategoria" => $r['kategoria'],
|
|
"euro" => $r['euro'],
|
|
"usd" => 0,
|
|
"lang" => 13,
|
|
"seq" => $r['seq'],
|
|
"limit" => 51,
|
|
"email" => 'administracion@a3dtec.com',
|
|
"type" => $r['type'],
|
|
"sub_email" => '',
|
|
"o_type" => $r['o_type'],
|
|
"credit" => 0,
|
|
"incl_live" => $r['incl_live'],
|
|
"module_id" => $r['module_id']
|
|
),
|
|
'ssiiiiisisiiii'
|
|
);
|
|
|
|
/*$prod_id = 71;
|
|
|
|
if (
|
|
$r['lang'] == '11' || $r['lang'] == '55' || $r['lang'] == '65' || $r['lang'] == '60' || $r['lang'] == '52' || $r['lang'] == '84' || $r['lang'] == '44'
|
|
|| $r['lang'] == '88' || $r['lang'] == '61' || $r['lang'] == '82'
|
|
) {
|
|
$prod_id = 72;
|
|
}
|
|
|
|
Database::getInstance()->insert(
|
|
'szamla_agent.web_product',
|
|
array(
|
|
"web_id" => $id,
|
|
"product_id" => $prod_id
|
|
),
|
|
'ii'
|
|
);*/
|
|
|
|
$query = "SELECT * FROM szamla_agent.web_product WHERE web_id = ?";
|
|
Database::getInstance()->query($query, array('i', $r['id']));
|
|
$res2 = Database::getInstance()->fetchNext();
|
|
|
|
if (!empty($res2)) {
|
|
Database::getInstance()->insert(
|
|
'szamla_agent.web_product',
|
|
array(
|
|
"web_id" => $id,
|
|
"product_id" => $res2['product_id']
|
|
),
|
|
'ii'
|
|
);
|
|
}
|
|
}
|
|
|
|
|
|
echo 'done';
|
|
die();
|
|
|
|
/*$query = "SELECT * FROM `" . CRMADATBAZIS . "`.`o_products` WHERE lang = ?";
|
|
Database::getInstance()->query($query, array('i', 492));
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
foreach ($res as $r) {
|
|
$id = Database::getInstance()->insert(
|
|
CRMADATBAZIS . '.o_products',
|
|
array(
|
|
"termek" => $r['termek'],
|
|
"kategoria" => $r['kategoria'],
|
|
"euro" => $r['euro'],
|
|
"usd" => 0,
|
|
"lang" => 44,
|
|
"seq" => $r['seq'],
|
|
"limit" => 51,
|
|
"email" => "",
|
|
"type" => $r['type']
|
|
),
|
|
'ssiiiiisi'
|
|
);
|
|
|
|
$query = "SELECT * FROM szamla_agent.web_product WHERE web_id = ?";
|
|
Database::getInstance()->query($query, array('i', $r['id']));
|
|
$res2 = Database::getInstance()->fetchNext();
|
|
|
|
if (!empty($res2)) {
|
|
Database::getInstance()->insert(
|
|
'szamla_agent.web_product',
|
|
array(
|
|
"web_id" => $id,
|
|
"product_id" => $res2['product_id']
|
|
),
|
|
'ii'
|
|
);
|
|
}
|
|
}*/
|
|
break;
|
|
|
|
case 'check_p_serial_isid_active_all':
|
|
$password = $_GET['password'];
|
|
$active = $_GET['active'];
|
|
$all = $_GET['all'];
|
|
|
|
$db_all = crm_hardlock::CountRegistration($password, 'all');
|
|
$db_active = crm_hardlock::CountRegistration($password, 'active');
|
|
|
|
if ($active != $db_active) {
|
|
echo 'error: nem egyeznek meg az active regisztraciok';
|
|
die();
|
|
}
|
|
|
|
if ($all != $db_all) {
|
|
echo 'error: a regisztraciok nem egyeznek meg';
|
|
die();
|
|
}
|
|
|
|
echo 'ok';
|
|
break;
|
|
|
|
case 'clear_program':
|
|
$userID = crm_hardlock::GetUserFromPassword($_GET['password']);
|
|
|
|
if ($userID != 67960) {
|
|
print "error: didn't allowed";
|
|
die();
|
|
}
|
|
|
|
$result = crm_hardlock::ClearProgram($_GET['password']);
|
|
if (!$result)
|
|
print crm_hardlock::GetActivationError(crm_hardlock::CLEAR_FAILED);
|
|
|
|
print 'ok';
|
|
break;
|
|
|
|
case 'unsubscribe_email':
|
|
$query = "SELECT u.nUserID AS nUserID, MAX(h.dateEvent), u.strEducation AS strEducation, u.strEMail AS strEmail
|
|
FROM cl_hlusers.users u
|
|
LEFT JOIN cl_hlusers.u_history h ON h.nUserID = u.nUserID
|
|
INNER JOIN cl_hlusers.u_emails e ON e.nUserID = u.nUserID
|
|
WHERE u.nUserType = 1 AND e.newsletter = 1
|
|
GROUP BY u.nUserID
|
|
HAVING MAX(h.dateEvent) <= '2018-12-31'
|
|
ORDER BY MAX(h.dateEvent)";
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
foreach ($res as $value) {
|
|
$updateSql1 = "UPDATE cl_hlusers.u_emails SET newsletter = 0 WHERE nUserID = " . $value['nUserID'];
|
|
crm_database::getInstance()->query($updateSql1);
|
|
}
|
|
die();
|
|
break;
|
|
|
|
case 'delete_contact_users':
|
|
$query = "SELECT u.nUserID AS nUserID, MAX(h.dateEvent), u.strEducation AS strEducation, u.strEMail AS strEmail
|
|
FROM cl_hlusers.users u
|
|
LEFT JOIN cl_hlusers.u_history h ON h.nUserID = u.nUserID
|
|
WHERE u.nUserType = 0 AND (u.strEducation = '' OR u.strEducation IS NULL) AND nUserProf != 9 AND nUserProf != 20
|
|
GROUP BY u.nUserID
|
|
HAVING MAX(h.dateEvent) <= '2021-12-31'
|
|
ORDER BY MAX(h.dateEvent)";
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
//echo 'COUNT: ' . count($res) . '<br/><br/>';
|
|
|
|
$i = 0;
|
|
|
|
foreach ($res as $value) {
|
|
if ($value['nUserID'] == 57343 || $value['nUserID'] == 56321 || $value['nUserID'] == 24001 || $value['nUserID'] == 18 || $value['nUserID'] == 14140)
|
|
continue;
|
|
|
|
/*$query2 = "SELECT nUserID FROM `" . CRMADATBAZIS . "`.`u_emails` WHERE nUserID = ? AND email LIKE '%@freemail.hu' AND newsletter = ?";
|
|
Database::getInstance()->query($query2, array('ii', $value['nUserID'], 1));
|
|
$res2 = Database::getInstance()->fetchAssoc();
|
|
|
|
if (empty($res2))
|
|
continue;*/
|
|
|
|
$query2 = "SELECT nUserID FROM `" . CRMADATBAZIS . "`.`u_history` WHERE nUserID = ? AND nTopicID = ?";
|
|
Database::getInstance()->query($query2, array('ii', $value['nUserID'], 33));
|
|
$res2 = Database::getInstance()->fetchAssoc();
|
|
|
|
if (!empty($res2))
|
|
continue;
|
|
|
|
$query3 = "SELECT hlUser FROM `" . CRMADATBAZIS . "`.`hardlock` WHERE hlUser = ?";
|
|
Database::getInstance()->query($query3, array('i', $value['nUserID']));
|
|
$res3 = Database::getInstance()->fetchAssoc();
|
|
|
|
if (!empty($res3))
|
|
continue;
|
|
|
|
echo '<a href="https://crm.cadline.hu/hu/users/show/' . $value['nUserID'] . '" target="_blank">' . $value['nUserID'] . '</a><br/>';
|
|
|
|
// crm_users::deleteUser($value['nUserID']);
|
|
|
|
$i++;
|
|
}
|
|
|
|
echo '<br/> COUNT: ' . $i;
|
|
|
|
die();
|
|
break;
|
|
|
|
case 'change_nonp_users':
|
|
$query = "SELECT nUserID FROM `" . CRMADATBAZIS . "`.`users` WHERE nUserType = ? AND old_db = ?";
|
|
Database::getInstance()->query($query, array('is', 2, 'clusers'));
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
$stack = array();
|
|
|
|
foreach ($res as $user) {
|
|
$query = "SELECT * FROM `" . CRMADATBAZIS . "`.`hardlock` WHERE hlUser = ?";
|
|
Database::getInstance()->query($query, array('i', $user['nUserID']));
|
|
$res2 = Database::getInstance()->fetchNext();
|
|
|
|
if (empty($res2)) array_push($stack, $user['nUserID']);
|
|
}
|
|
|
|
echo 'Összes: ' . count($stack);
|
|
echo '<br/>';
|
|
echo '<br/>';
|
|
|
|
foreach ($stack as $value) {
|
|
$query = "UPDATE `" . CRMADATBAZIS . "`.`users` SET nUserType = ? WHERE nUserID = ?";
|
|
//Database::getInstance()->query($query, array('ii', 0, $value));
|
|
echo "<a href='http://crm.cadline.hu/hu/users/show/" . $value . "' target='_blank'>" . $value . "</a><br/>";
|
|
}
|
|
|
|
break;
|
|
|
|
case 'delete_nonp_from_users':
|
|
$sql = "SELECT p.prHlNum AS prHlNum, p.prPass AS prPass, p.prFizetve AS prFizetve
|
|
FROM h_programs p
|
|
LEFT JOIN hardlock h ON h.hlNum = p.prHlNum
|
|
LEFT JOIN users u ON u.nUserID = h.hlUser
|
|
WHERE (p.prFizetve < '2023-09-01' OR p.prFizetve = '' OR p.prFizetve IS NULL) AND h.hlCtrID = 36 AND u.nUserType = 2 AND h.hlUser != 25407
|
|
AND h.hlNum LIKE '99%' AND u.nSchoolID = 0
|
|
AND h.hlUser != 80109;";
|
|
|
|
crm_database::getInstance()->query($sql);
|
|
$res = crm_database::getInstance()->fetchAssoc();
|
|
|
|
$i = 0;
|
|
|
|
foreach ($res as $value) {
|
|
$hlNum = "";
|
|
$hlNum = $value['prHlNum'];
|
|
|
|
$sql2 = "SELECT * FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prHlNum = ? AND prFizetve >= ?";
|
|
Database::getInstance()->query($sql2, array('ss', $hlNum, '2023-09-01'));
|
|
$res2 = Database::getInstance()->fetchAssoc();
|
|
|
|
if (!empty($res2)) continue;
|
|
|
|
/*Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prPass = ?", array('s', $value['prPass']));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`p_serial_isid` WHERE serial = ?", array('s', $value['prPass']));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`userstats2013` WHERE usPwd = ?", array('s', $value['prPass']));
|
|
|
|
Database::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prHlNum = ?", array('s', $hlNum));
|
|
$res3 = Database::getInstance()->fetchNext();
|
|
|
|
if (empty($res3)) {
|
|
Database::getInstance()->query("UPDATE `" . CRMADATBAZIS . "`.`hardlock` SET hlUser = '', hlStat = ? WHERE hlNum = ?", array('is', 0, $hlNum));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`h_history` WHERE hiHlNum = ?", array('s', $hlNum));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`nonprofit` WHERE hlID = ?", array('s', $hlNum));
|
|
}*/
|
|
|
|
$i++;
|
|
|
|
echo '<a href="http://crm.cadline.hu/48/hardlock/show/' . $hlNum . '" target="_blank">' . $value['prPass'] . ' - ' . $value['prFizetve'] . '</a><br/>';
|
|
}
|
|
echo $i;
|
|
break;
|
|
|
|
case 'check_empty_users':
|
|
$sql = "SELECT * FROM cl_hlusers.users WHERE strTel = '' AND strEMail = '' AND old_db = 'clusers_eng'";
|
|
crm_database::getInstance()->query($sql);
|
|
$res = crm_database::getInstance()->fetchAssoc();
|
|
|
|
$i = 0;
|
|
|
|
foreach ($res as $value) {
|
|
$sql2 = "SELECT * FROM cl_hlusers.u_history WHERE nUserID = " . $value['nUserID'];
|
|
crm_database::getInstance()->query($sql2);
|
|
$res2 = crm_database::getInstance()->fetchNext();
|
|
|
|
if (!empty($res2))
|
|
continue;
|
|
|
|
$sql3 = "SELECT * FROM cl_hlusers.hardlock WHERE hlUser = " . $value['nUserID'];
|
|
crm_database::getInstance()->query($sql3);
|
|
$res3 = crm_database::getInstance()->fetchNext();
|
|
|
|
if (!empty($res3))
|
|
continue;
|
|
|
|
// crm_users::deleteUser($value['nUserID']);
|
|
|
|
echo '<a href="https://crm.cadline.hu/hu/users/show/' . $value['nUserID'] . '" target="_blank">' . $value['nUserID'] . '</a><br/>';
|
|
|
|
$i++;
|
|
}
|
|
|
|
echo '<br/> Count: ' . $i;
|
|
die();
|
|
break;
|
|
|
|
case 'kill_empty_program':
|
|
$query = "SELECT h.hlNum AS hlNum
|
|
FROM cl_hlusers.hardlock h
|
|
LEFT JOIN cl_hlusers.users u ON u.nUserID = h.hlUser
|
|
WHERE u.old_db = 'clusers' AND u.nUserType = 2 AND h.hlNum LIKE '99%'";
|
|
crm_database::getInstance()->query($query);
|
|
$res = crm_database::getInstance()->fetchAssoc();
|
|
|
|
$i = 0;
|
|
foreach ($res as $value) {
|
|
$hlNum = $value['hlNum'];
|
|
|
|
$sql2 = "SELECT * FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prHlNum = ?";
|
|
Database::getInstance()->query($sql2, array('s', $hlNum));
|
|
$res2 = Database::getInstance()->fetchAssoc();
|
|
|
|
if (!empty($res2)) continue;
|
|
|
|
$i++;
|
|
|
|
//Database::getInstance()->query("UPDATE `" . CRMADATBAZIS . "`.`hardlock` SET hlUser = '', hlStat = ? WHERE hlNum = ?", array('is', 0, $hlNum));
|
|
|
|
echo '<a href="http://crm.cadline.hu/48/hardlock/show/' . $hlNum . '" target="_blank">' . $hlNum . '</a><br/>';
|
|
}
|
|
|
|
echo $i;
|
|
die();
|
|
break;
|
|
|
|
case 'kill_nonp':
|
|
$sql = "SELECT h.prHlNum AS prHlNum, h.prPass AS prPass, h.prFizetve AS prFizetve
|
|
FROM `" . CRMADATBAZIS . "`.`h_programs` h
|
|
LEFT JOIN hardlock ho ON ho.hlNum = h.prHlNum
|
|
LEFT JOIN users u ON u.nUserID = ho.hlUser
|
|
WHERE h.prFizetve <= '2023-08-31' AND h.prPass LIKE '96%' AND u.old_db = 'clusers'
|
|
AND h.prHlNum != '990191' AND h.prHlNum != '993968'
|
|
GROUP BY h.prPass";
|
|
crm_database::getInstance()->query($sql);
|
|
$res = crm_database::getInstance()->fetchAssoc();
|
|
|
|
$i = 0;
|
|
|
|
foreach ($res as $value) {
|
|
$hlNum = $value['prHlNum'];
|
|
|
|
$sql2 = "SELECT * FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prHlNum = ? AND prFizetve >= ?";
|
|
Database::getInstance()->query($sql2, array('ss', $hlNum, '2022-08-31'));
|
|
$res2 = Database::getInstance()->fetchAssoc();
|
|
|
|
if (!empty($res2)) continue;
|
|
|
|
/*Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prPass = ?", array('s', $value['prPass']));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`p_serial_isid` WHERE serial = ?", array('s', $value['prPass']));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`userstats2013` WHERE usPwd = ?", array('s', $value['prPass']));
|
|
|
|
Database::getInstance()->query("SELECT * FROM `" . CRMADATBAZIS . "`.`h_programs` WHERE prHlNum = ?", array('s', $hlNum));
|
|
$res3 = Database::getInstance()->fetchNext();
|
|
|
|
if (empty($res3)) {
|
|
Database::getInstance()->query("UPDATE `" . CRMADATBAZIS . "`.`hardlock` SET hlUser = '', hlStat = ? WHERE hlNum = ?", array('is', 0, $hlNum));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`h_history` WHERE hiHlNum = ?", array('s', $hlNum));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`nonprofit` WHERE hlID = ?", array('s', $hlNum));
|
|
}*/
|
|
|
|
$i++;
|
|
|
|
echo '<a href="http://crm.cadline.hu/48/hardlock/show/' . $hlNum . '" target="_blank">' . $value['prPass'] . ' - ' . $value['prFizetve'] . '</a><br/>';
|
|
}
|
|
echo $i;
|
|
break;
|
|
|
|
case 'change_nonp_status':
|
|
$sql = "SELECT nUserID FROM `" . CRMADATBAZIS . "`.`users` WHERE nUserType = ? AND nCtrID = ?";
|
|
Database::getInstance()->query($sql, array('ii', 2, 36));
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
$i = 0;
|
|
|
|
foreach ($res as $value) {
|
|
$sql2 = "SELECT * FROM `" . CRMADATBAZIS . "`.`hardlock` WHERE hlUser = ?";
|
|
Database::getInstance()->query($sql2, array('s', $value['nUserID']));
|
|
$res2 = Database::getInstance()->fetchAssoc();
|
|
|
|
if (empty($res2)) {
|
|
$i++;
|
|
//Database::getInstance()->query("UPDATE `" . CRMADATBAZIS . "`.`users` SET nUserType = ? WHERE nUserID = ?", array('ii', 0, $value['nUserID']));
|
|
echo '<a href="https://crm.cadline.hu/hu/users/show/' . $value['nUserID'] . '" target="_blank">' . $value['nUserID'] . '</a><br/>';
|
|
}
|
|
}
|
|
|
|
echo $i;
|
|
break;
|
|
|
|
case 'change_students_course':
|
|
$sql = 'SELECT * FROM cl_hlusers.students WHERE course_id IN (72, 78, 82, 86, 105, 218, 247, 248)';
|
|
Database::getInstance()->query($sql);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
foreach ($res as $value) {
|
|
$sql2 = "SELECT * FROM `" . CRMADATBAZIS . "`.`hardlock` WHERE hlUser = ?";
|
|
Database::getInstance()->query($sql2, array('s', $value['nUserID']));
|
|
$res2 = Database::getInstance()->fetchAssoc();
|
|
|
|
if (empty($res2)) {
|
|
$sql3 = 'SELECT * FROM cl_hlusers.courses WHERE school_id = ' . $value['school_id'] . ' AND is_archive = 1';
|
|
Database::getInstance()->query($sql3);
|
|
$res3 = Database::getInstance()->fetchNext();
|
|
|
|
if (!empty($res3)) {
|
|
//Database::getInstance()->query("UPDATE `" . CRMADATBAZIS . "`.`students` SET course_id = ? WHERE nUserID = ?", array('ii', $res3['id'], $value['nUserID']));
|
|
echo '<a href="https://crm.cadline.hu/hu/users/show/' . $value['nUserID'] . '" target="_blank">' . $value['nUserID'] . '</a><br/>';
|
|
}
|
|
}
|
|
}
|
|
break;
|
|
|
|
case 'delete_user_history':
|
|
$sql = "SELECT nUserID FROM `" . CRMADATBAZIS . "`.`users` WHERE nUserType = ? AND old_db != ?";
|
|
Database::getInstance()->query($sql, array('is', 0, 'clusers'));
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
$i = 1;
|
|
|
|
foreach ($res as $value) {
|
|
$sql2 = "SELECT dateEvent FROM `" . CRMADATBAZIS . "`.`u_history` WHERE nUserID = ? ORDER BY dateEvent DESC";
|
|
Database::getInstance()->query($sql2, array('i', $value['nUserID']));
|
|
$res2 = Database::getInstance()->fetchNext();
|
|
|
|
if ($res2['dateEvent'] > '2018-12-31')
|
|
continue;
|
|
|
|
$sql3 = "SELECT * FROM `" . CRMADATBAZIS . "`.`hardlock` WHERE hlUser = ?";
|
|
Database::getInstance()->query($sql3, array('i', $value['nUserID']));
|
|
$res3 = Database::getInstance()->fetchAssoc();
|
|
|
|
if (!empty($res3)) {
|
|
/*foreach ($res3 as $hl) {
|
|
if ($hl['hlNum'] == '394040')
|
|
continue;
|
|
echo '<a href="https://crm.cadline.hu/36/hardlock/show/'.$hl['hlNum'].'" target="_blank">'.$hl['hlNum'].'</a><br/>';
|
|
//Database::getInstance()->query("UPDATE `".CRMADATBAZIS."`.`hardlock` SET hlUser = ? WHERE hlNum = ?", array('ss', '', $hl['hlNum']));
|
|
//Database::getInstance()->query("DELETE FROM `".CRMADATBAZIS."`.`h_programs` WHERE prHlNum = ?", array('s', $hl['hlNum']));
|
|
}*/
|
|
|
|
continue;
|
|
}
|
|
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`u_history` WHERE nUserID = ?", array('i', $value['nUserID']));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`users` WHERE nUserID = ?", array('i', $value['nUserID']));
|
|
|
|
$i++;
|
|
|
|
echo '<a href="https://crm.cadline.hu/hu/users/show/' . $value['nUserID'] . '" target="_blank">' . $value['nUserID'] . '</a><br/>';
|
|
}
|
|
echo '<br/>';
|
|
echo $i;
|
|
break;
|
|
|
|
case 'delete_inactive_users_new':
|
|
$query = "SELECT h.nUserID AS nUserID, h.dateEvent AS dateEvent
|
|
FROM `cl_hlusers`.`u_history` h
|
|
LEFT JOIN cl_hlusers.users u ON u.nUserID = h.nUserID
|
|
WHERE h.dateEvent < '2021-01-01' AND u.old_db = 'clusers' AND u.nUserType = 0
|
|
GROUP BY h.nUserID;";
|
|
|
|
/*$query = "SELECT h.nUserID AS nUserID
|
|
FROM cl_hlusers.u_history h
|
|
LEFT JOIN cl_hlusers.users u ON u.nUserID = h.nUserID
|
|
WHERE (h.nTopicID = 366) AND u.nUserType = 0 AND u.old_db = 'clusers_eng' AND u.nUserType = 0 AND (u.strEducation = '' || u.strEducation IS NULL)
|
|
GROUP BY u.nUserID;";*/
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
// 2021-01-01-et megnezni es Erikanak tovabbitani!
|
|
// A Megkeresendőknél, "BIMLadder Non-profit aktiválás" vagy "Namirial Non-profit aktiválás"
|
|
|
|
|
|
// 366 - Namirial
|
|
// 368 - BIM Ladder
|
|
|
|
$i = 0;
|
|
|
|
foreach ($res as $value) {
|
|
$sql3 = "SELECT * FROM `" . CRMADATBAZIS . "`.`u_history` WHERE dateEvent >= ? AND nUserID = ?";
|
|
Database::getInstance()->query($sql3, array('si', '2021-01-01', $value['nUserID']));
|
|
$res3 = Database::getInstance()->fetchNext();
|
|
|
|
if (!empty($res3))
|
|
continue;
|
|
|
|
$sql2 = "SELECT * FROM `" . CRMADATBAZIS . "`.`hardlock` WHERE hlUser = ?";
|
|
Database::getInstance()->query($sql2, array('i', $value['nUserID']));
|
|
$res2 = Database::getInstance()->fetchNext();
|
|
|
|
if (!empty($res2))
|
|
continue;
|
|
|
|
/*$sql4 = "SELECT * FROM `" . CRMADATBAZIS . "`.`u_history` WHERE nUserID = ? AND (nTopicID = ? OR nTopicID = ?)";
|
|
Database::getInstance()->query($sql2, array('iii', $value['nUserID'], 366, 368));
|
|
$res4 = Database::getInstance()->fetchNext();
|
|
|
|
if (empty($res4))
|
|
continue;*/
|
|
|
|
/*Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`u_history` WHERE nUserID = ?", array('i', $value['nUserID']));
|
|
Database::getInstance()->query("DELETE FROM `" . CRMADATBAZIS . "`.`users` WHERE nUserID = ?", array('i', $value['nUserID']));
|
|
Database::getInstance()->query("DELETE FROM `" . JMLADATBAZIS . "`.`jml_users` WHERE nUserID = ?", array('i', $value['nUserID']));*/
|
|
echo "<a href='http://crm.cadline.hu/hu/users/show/" . $value['nUserID'] . "' target='_blank'>" . $value['nUserID'] . "</a><br/>";
|
|
|
|
$i++;
|
|
}
|
|
|
|
echo '<br/>';
|
|
echo '<br/>';
|
|
echo 'Összesen: ' . $i;
|
|
break;
|
|
|
|
case 'delete_inactive_users':
|
|
$query = "SELECT history.dateEvent AS dateEvent, history.nUserID AS nUserID FROM
|
|
(
|
|
SELECT * FROM `" . CRMADATBAZIS . "`.`u_history`
|
|
ORDER BY u_history.dateEvent DESC
|
|
) AS history
|
|
LEFT JOIN cl_hlusers.users u ON u.nUserID = history.nUserID
|
|
WHERE u.old_db = 'clusers'
|
|
GROUP BY history.nUserID";
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
$stack = array();
|
|
|
|
foreach ($res as $value) {
|
|
if ($value['dateEvent'] < '2018-01-01') {
|
|
$sql2 = "SELECT * FROM `" . CRMADATBAZIS . "`.`hardlock` WHERE hlUser = ?";
|
|
Database::getInstance()->query($sql2, array('i', $value['nUserID']));
|
|
$res2 = Database::getInstance()->fetchNext();
|
|
|
|
if (empty($res2)) {
|
|
/*$sql3 = "SELECT * FROM `" . CRMADATBAZIS . "`.`u_history` WHERE nUserID = ? AND nTopicID = ?";
|
|
Database::getInstance()->query($sql3, array('ii', $value['nUserID'], 102));
|
|
$res3 = Database::getInstance()->fetchNext();*/
|
|
|
|
$sql3 = "SELECT * FROM `" . CRMADATBAZIS . "`.`u_history` WHERE dateEvent >= ?";
|
|
Database::getInstance()->query($sql3, array('s', '2018-01-01'));
|
|
$res3 = Database::getInstance()->fetchNext();
|
|
|
|
if (empty($res3)) array_push($stack, $value['nUserID']);
|
|
}
|
|
}
|
|
}
|
|
|
|
echo count($stack);
|
|
echo '<br/>';
|
|
echo '<br/>';
|
|
|
|
foreach ($stack as $value) {
|
|
echo "<a href='http://crm.cadline.hu/hu/users/show/" . $value . "' target='_blank'>" . $value . "</a><br/>";
|
|
//Database::getInstance()->query("DELETE FROM `".CRMADATBAZIS."`.`u_history` WHERE nUserID = ?", array('i', $value));
|
|
//Database::getInstance()->query("DELETE FROM `".CRMADATBAZIS."`.`users` WHERE nUserID = ?", array('i', $value));
|
|
//Database::getInstance()->query("DELETE FROM `".JMLADATBAZIS."`.`jml_users` WHERE nUserID = ?", array('i', $value));
|
|
}
|
|
break;
|
|
|
|
case 'correct_emails':
|
|
$query = "SELECT * FROM `" . CRMADATBAZIS . "`.`users` WHERE (strEMail = '' OR strEMail IS NULL) AND nUserID IN (SELECT nUserID FROM `" . CRMADATBAZIS . "`.`u_emails`)";
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
foreach ($res as $value) {
|
|
$sql2 = "SELECT * FROM `" . CRMADATBAZIS . "`.`u_emails` WHERE nUserID = ?";
|
|
Database::getInstance()->query($sql2, array('i', $value['nUserID']));
|
|
$res2 = Database::getInstance()->fetchNext();
|
|
|
|
if (!empty($res2)) {
|
|
Database::getInstance()->query("UPDATE `" . CRMADATBAZIS . "`.`users` SET strEMail = ? WHERE nUserID = ?", array('si', $res2['email'], $value['nUserID']));
|
|
}
|
|
}
|
|
break;
|
|
|
|
case 'reg_unreg_test':
|
|
if (!class_exists('crm_test')) require_once("common_cadline_libraries/crm_test.class.php");
|
|
|
|
$result = crm_test::launchTests();
|
|
echo $result;
|
|
break;
|
|
|
|
case 'program_update':
|
|
// prHiType = 3
|
|
$query = "SELECT p.prTypeID AS prTypeID, h.hlNum AS hlNum, p.prManID AS manid, p.prVerID AS verID, p.prPass AS prPass
|
|
FROM `" . CRMADATBAZIS . "`.`h_programs` p
|
|
LEFT JOIN `" . CRMADATBAZIS . "`.`hardlock` h ON h.hlNum = p.prHlNum
|
|
LEFT JOIN `" . CRMADATBAZIS . "`.`users` u ON u.nUserID = h.hlUser
|
|
WHERE p.prVerID = 19 AND h.hlCtrID = 36 AND p.prTypeID = 76 AND p.prContact = 0 AND h.hlNum != 361251 AND h.hlNum != 361293";
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
foreach ($res as $value) {
|
|
//$password = Codegen::GeneratePassword($value['hlNum'], 0, 76, 77);
|
|
/*Database::getInstance()->insert(CRMADATBAZIS.'.h_programs',array(
|
|
"prPass"=>$password,
|
|
"prVerID"=>20,
|
|
"prTypeID"=>76,
|
|
"prLan"=>0,
|
|
"prSellDate" => date('Y-m-d'),
|
|
"prFizetve" => "2050-01-01",
|
|
"prContact" => 0,
|
|
"prHlNum" => $value['hlNum'],
|
|
"prPrice" => 0,
|
|
"prManID" => $value['manid'],
|
|
"prStat" => 0,
|
|
"prHiType" => 3),
|
|
'siiissisiiii'
|
|
);*/
|
|
//Database::getInstance()->query("UPDATE `".CRMADATBAZIS."`.`h_programs` SET prStat = ? WHERE prPass = ?", array('is', 1, $value['prPass']));
|
|
}
|
|
break;
|
|
|
|
case 'update_maintainer_program_price':
|
|
$query = 'SELECT p.prID AS prID, p.prPass AS password, p.prContact AS contact, h.hlNum AS hlNum, p.prManID AS manid,
|
|
p.prTypeID AS typeID, p.prHiType AS hiType, p.prLan AS lan, p.prPrice AS prPrice,
|
|
p.prInvoiceDateFrom AS invDateFrom, p.prInvoiceDateTo AS invDateTo, p.prInvoiceRecurrence AS ressurence
|
|
FROM cl_hlusers.h_programs p
|
|
LEFT JOIN cl_hlusers.hardlock h ON h.hlNum = p.prHlNum
|
|
WHERE p.prContact = 6 AND p.prVerID = 24 AND h.hlCtrID = 36 AND p.prStat = 0 AND
|
|
p.prPrice IN (31000) AND p.prTypeID = 2
|
|
GROUP BY p.prPass';
|
|
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
var_dump($res);
|
|
die();
|
|
|
|
foreach ($res as $value) {
|
|
/*if ($value['prPrice'] == 31500) $price = 33500;
|
|
if ($value['prPrice'] == 28000) $price = 31000;
|
|
if ($value['prPrice'] == 21000) $price = 23000;*/
|
|
|
|
$price = 34000;
|
|
|
|
Database::getInstance()->query("UPDATE `" . CRMADATBAZIS . "`.`h_programs` SET prPrice = ? WHERE prPass = ?", array('ss', $price, $value['password']));
|
|
}
|
|
|
|
die();
|
|
break;
|
|
|
|
case 'po_export_text':
|
|
$json = file_get_contents('https://www.archline.hu/maintenance/pofiles/LiveLanguageResources_eng.json');
|
|
$test = json_decode($json);
|
|
|
|
foreach ($test as $key => $asd) {
|
|
echo $key;
|
|
echo '<br/>';
|
|
var_dump($asd);
|
|
die();
|
|
}
|
|
break;
|
|
|
|
case 'delete_school_from_users':
|
|
$query = "SELECT u.nUserID AS nUserID, u.strName, u.vegzes_ideje
|
|
FROM cl_hlusers.users u
|
|
WHERE u.vegzes_ideje <= '2023-08-31' AND u.nSchoolID > 0 AND u.strEducation NOT LIKE '%Passziv%' AND old_db = 'clusers'
|
|
order by u.nUserID";
|
|
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
$i = 0;
|
|
|
|
foreach ($res as $value) {
|
|
/*$query2 = "SELECT h.hlID, h.hlUser AS hlUser, p.prFizetve AS prFizetve
|
|
FROM cl_hlusers.hardlock h
|
|
LEFT JOIN cl_hlusers.h_programs p ON p.prHlNum = h.hlNum
|
|
WHERE h.hlNum LIKE '99%' AND p.prTypeID = 8 AND h.hlUser = '" . $value['nUserID'] . "'
|
|
ORDER BY p.prVerID DESC LIMIT 1";
|
|
|
|
Database::getInstance()->query($query2);
|
|
$res2 = Database::getInstance()->fetchNext();
|
|
|
|
if ($res2['prFizetve'] > '2023-08-31')
|
|
continue;*/
|
|
|
|
$i++;
|
|
|
|
echo '<a href="https://crm.cadline.hu/hu/users/show/' . $value['nUserID'] . '" target="_blank">' . $value['nUserID'] . '</a><br/>';
|
|
//$updateSql1 = "UPDATE cl_hlusers.users SET nSchoolID = 0 WHERE nUserID = " . $value['nUserID'];
|
|
//crm_database::getInstance()->query($updateSql1);
|
|
continue;
|
|
|
|
if (count($res2) > 0) {
|
|
if ($res2['prFizetve'] > '2023-08-31')
|
|
continue;
|
|
|
|
echo '<a href="https://crm.cadline.hu/hu/users/show/' . $value['nUserID'] . '" target="_blank">' . $value['nUserID'] . '</a><br/>';
|
|
|
|
//$updateSql1 = "UPDATE cl_hlusers.users SET nSchoolID = 0 WHERE nUserID = " . $value['nUserID'];
|
|
//crm_database::getInstance()->query($updateSql1);
|
|
}
|
|
|
|
//var_dump(count($res2));
|
|
}
|
|
|
|
echo '<br>' . $i;
|
|
|
|
//var_dump(count($res));
|
|
die();
|
|
break;
|
|
|
|
case 'update_maintainer_programs':
|
|
$query = 'SELECT p.prID AS prID, p.prPass AS password, p.prContact AS contact, h.hlNum AS hlNum, p.prManID AS manid,
|
|
p.prTypeID AS typeID, p.prHiType AS hiType, p.prLan AS lan, p.prPrice AS prPrice, p.update_price AS update_price,
|
|
p.prInvoiceDateFrom AS invDateFrom, p.prInvoiceDateTo AS invDateTo, p.prInvoiceRecurrence AS ressurence
|
|
FROM cl_hlusers.h_programs p
|
|
LEFT JOIN cl_hlusers.hardlock h ON h.hlNum = p.prHlNum
|
|
WHERE p.prContact IN (2, 6, 7) AND p.prVerID = 25 AND h.hlCtrID = 36 AND p.prStat = 0
|
|
GROUP BY p.prPass';
|
|
|
|
Database::getInstance()->query($query);
|
|
$res = Database::getInstance()->fetchAssoc();
|
|
|
|
var_dump($res);
|
|
die();
|
|
|
|
foreach ($res as $value) {
|
|
$password = Codegen::GeneratePassword($value['hlNum'], 0, $value['typeID'], 81);
|
|
$price = $value['prPrice'];
|
|
$updatePrice = 0;
|
|
|
|
/*$command = PATH_CODEGEN . " -Module " . $password . " " . $nModNr;
|
|
$ph = popen($command, "r")
|
|
or die("A 'codegen' paranccsal nem veheto fel kapcsolat");
|
|
$modcode = fgets($ph, 1024);
|
|
pclose($ph);*/
|
|
|
|
/*if ($value['contact'] == 2) {
|
|
if ($value['prPrice'] == 126000) $price = 126000;
|
|
if ($value['prPrice'] == 122000) $price = 126000;
|
|
if ($value['prPrice'] == 118000) $price = 122000;
|
|
if ($value['prPrice'] == 104000) $price = 112000;
|
|
if ($value['prPrice'] == 80000) $price = 84000;
|
|
if ($value['prPrice'] == 63000) $price = 63000;
|
|
}
|
|
|
|
if ($value['contact'] == 6) {
|
|
if ($value['prPrice'] == 30500) $price = 31500;
|
|
if ($value['prPrice'] == 26000) $price = 28000;
|
|
if ($value['prPrice'] == 24500) $price = 25500;
|
|
if ($value['prPrice'] == 20000) $price = 21000;
|
|
if ($value['prPrice'] == 15250) $price = 16000;
|
|
}
|
|
|
|
if ($value['contact'] == 7) {
|
|
$updatePrice = $value['update_price'];
|
|
}
|
|
*/
|
|
|
|
/*$newPrID = Database::getInstance()->insert(
|
|
CRMADATBAZIS . '.h_programs',
|
|
array(
|
|
"prPass" => $password,
|
|
"prVerID" => 26,
|
|
"prTypeID" => $value['typeID'],
|
|
"prLan" => $value['lan'],
|
|
"prSellDate" => date('Y-m-d'),
|
|
"prFizetve" => "2026-01-31",
|
|
"update_price" => $updatePrice,
|
|
"prContact" => $value['contact'],
|
|
"prHlNum" => $value['hlNum'],
|
|
"prPrice" => $price,
|
|
"prManID" => $value['manid'],
|
|
"prStat" => 0,
|
|
"prHiType" => $value['hiType'],
|
|
"prInvoiceDateFrom" => $value['invDateFrom'],
|
|
"prInvoiceDateTo" => $value['invDateTo'],
|
|
"prInvoiceRecurrence" => $value['ressurence']
|
|
),
|
|
'siiissisiiiissi'
|
|
);
|
|
|
|
$query2 = 'SELECT * FROM cl_hlusers.p_modules WHERE mdPrID = ' . $value['prID'];
|
|
Database::getInstance()->query($query2);
|
|
$modules = Database::getInstance()->fetchAssoc();
|
|
|
|
if (!empty($modules)) {
|
|
foreach ($modules as $module) {
|
|
Database::getInstance()->insert(
|
|
CRMADATBAZIS . '.p_modules',
|
|
array(
|
|
"mdID" => $module['mdID'],
|
|
"mdPrID" => $newPrID,
|
|
"mdPrHlNum" => $value['hlNum'],
|
|
"mdCode" => $module['mdCode'],
|
|
"mdDate" => date('Y-m-d'),
|
|
"mdPrice" => 0
|
|
),
|
|
'iisssi'
|
|
);
|
|
}
|
|
}
|
|
|
|
Database::getInstance()->query("UPDATE `" . CRMADATBAZIS . "`.`h_programs` SET prStat = ? WHERE prPass = ?", array('is', 1, $value['password']));*/
|
|
}
|
|
break;
|
|
}
|
|
}
|