# [09-Dec-2024 08:56:11] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [09-Dec-2024 08:56:16] /finance/root/bg/ajax/invoices/form/2384.html?_=1733727376583 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 2384
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [09-Dec-2024 08:56:19] /finance/root/bg/proforma.html 167.99.142.201

set names utf8

SELECT
                    `Inv`.*,
                    `Original`.`ID` AS `OriginalID`
                FROM
                    `invoices` AS `Inv`
                    LEFT JOIN `invoices` AS `Original` ON `Inv`.`ID` = `Original`.`ParentID`
                WHERE
                    `Inv`.`Type` = 0
             ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [09-Dec-2024 08:56:24] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [09-Dec-2024 08:56:30] /finance/root/bg/ajax/invoices/delete/2384.html?_=1733727390229 167.99.142.201

set names utf8

DELETE FROM `invoices` WHERE `ID` = '2384'
# [09-Dec-2024 08:56:30] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [09-Dec-2024 08:56:32] /finance/root/bg/proforma.html 167.99.142.201

set names utf8

SELECT
                    `Inv`.*,
                    `Original`.`ID` AS `OriginalID`
                FROM
                    `invoices` AS `Inv`
                    LEFT JOIN `invoices` AS `Original` ON `Inv`.`ID` = `Original`.`ParentID`
                WHERE
                    `Inv`.`Type` = 0
             ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [09-Dec-2024 08:56:35] /finance/root/bg/ajax/invoices/form/clone/10438.html?pid=10438&_=1733727395655 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 10438
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [09-Dec-2024 08:56:39] /finance/root/bg/ajax/invoices/insert.html?_=1733727399692 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 70 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT MAX(`ID`) + 1 FROM `invoices` WHERE `Type` > 0 AND `ID` < 1000000000

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2384', `Language` = 'bg', `PostDate` = '2024-12-09', `LastUpdate` = '2024-12-09 08:56:40', `Type` = '1', `ParentID` = 10438, `Data` = 'GIjbt_stpc4ebE_-U1zW6eKNOGmNfU_94urzFfNR9H6Z8z00ChkvHQzASYyo9fVslq7nrdO9V0tpS5rRsC4IP4Qcl7CDhXslTB3dohmaPdObFM5xmT0QuwTh4Xk8e9XSJrQeJ6VAoMrxnV5yU6x2fb3Pukyw59HXccRzDyPIQ6pQUgZ1sor9a_wlnYVBQouQ6hE1oHkU3EapjClYOGC9eLea1RHSJ36MWp1XLf9XfbMm3L1fMfWJLsltFYQNkLu9B9vXKbbXR60zoEfu0Og--KCyMu8NzjSuVt6v_uwgtpuBcY2lbRKGxGCiVOtMn-VN9gwyW39-bTi9ilSjA9eN10HibooUgl0nDSWg-EIABWtLCCVwceYZoG3Dz7_MHl8eMdnesbntqdDfUCgofyDyTPyjggkHBHyZBARTNQh-DHdnzLo9QJTU-H4dfxaE6uTvPlMaKfRav75mQ3Sx4FqCOmy3uW0zroO6FESjb4L282aoIEYzbOVM1irLOf_keF1SfoLRo3PXoUF2_qHh7p2OHefgwVFTz347tLBdzKLxgFeRBdE7RiyiY8Yv3XtYgnEa17IKcVKv-dYixkXCeTwO1jl-Eopl8GLoYfpqby_hxI0VDeG4fTqHcoVLeS7suElbbuAAllLbbBKzL80ZybujsptDVFWGc5VmmR6e6MVu701pDP0BdKjl9ck_NJ8UDg7srjV3Ds0B9rvUkHRfiABsyO66Qxrowd2JMKbIr4spYownlZ8y-z3_dhB0Usv-6YTJnoAe79FJHZHSe1u_2u6jsNtE7YwQNfulzuGV9pX8zYbZ_sc8_SDnavAI4x5D2AV0JOPIVKTjuAFRipv81Ar8hwu9Eu5ckNG81gTDadrI8aYl0N-Fo-SYi6cpZilTg-7IEzcwcX3fAL7Mv2bo8Lu8LQOIwkCrxvx-yi44KPOjlJEiqKBhCB8Nbn3y2sYzu4iciBHpGhUU00TtPqWrOxL57Q', `SearchKey` = 'wofCscOIwrDgMK6wrPCt8KDwrHCwofCpMOAw4DCtMK6wrPCuMKDwqTCwofCpMOIwrDg8OgwqCocKDwqTCwrjCn8K2wp7CsMwofCscK0wrDgMK6wqCp8KDwrHCsMKrw5jCucKdw6fChMKhwonCvcOIw6TCiMKJwp3DgMwofCscOAwrDg8KlwrPCtcKDwqTCsMKrw5jDn8KdwqbChMKhwqrCvMOXw5TCiMKHwp3DgMwofCpMKjwrDgMwofCscOAwr'
# [09-Dec-2024 08:56:40] /finance/root/bg/proforma.html 167.99.142.201

set names utf8

SELECT
                    `Inv`.*,
                    `Original`.`ID` AS `OriginalID`
                FROM
                    `invoices` AS `Inv`
                    LEFT JOIN `invoices` AS `Original` ON `Inv`.`ID` = `Original`.`ParentID`
                WHERE
                    `Inv`.`Type` = 0
             ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [09-Dec-2024 08:56:48] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [09-Dec-2024 08:56:52] /finance/root/bg/proforma.html 167.99.142.201

set names utf8

SELECT
                    `Inv`.*,
                    `Original`.`ID` AS `OriginalID`
                FROM
                    `invoices` AS `Inv`
                    LEFT JOIN `invoices` AS `Original` ON `Inv`.`ID` = `Original`.`ParentID`
                WHERE
                    `Inv`.`Type` = 0
             ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [09-Dec-2024 08:56:55] /finance/root/bg/ajax/invoices/form/clone/10437.html?pid=10437&_=1733727415352 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 10437
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [09-Dec-2024 08:57:02] /finance/root/bg/ajax/invoices/insert.html?_=1733727422350 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 73 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT MAX(`ID`) + 1 FROM `invoices` WHERE `Type` > 0 AND `ID` < 1000000000

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2385', `Language` = 'bg', `PostDate`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JGu3jGfWBPCNkxn70lY10YK9CrlatMoZS5NUByQgk_8', `SearchKey` = 'wofCpMK4w4DCtMK6wqDq8KDwqTDmsKrw5nCucKdw6bChMKhwwofCscOEwrDgcOQwrPCvcKDwrHDnsKrw5vCwofCpMOIwrDg8OgwqCocKDwqTCwrDDhsK6w57Cp8KzwrLDp8Ktw4XCssOUw4bCssOGw6XCtswofCpMOawrDgcKlwrPCtcKDwqTCsMKrw5jDj8KdwpzChMKuwp7CvMOWw6TCiMwofCpMKjwrDgMwofCscOAwrDgcOQwqDwofCscK4'
# [09-Dec-2024 08:57:02] /finance/root/bg/proforma.html 167.99.142.201

set names utf8

SELECT
                    `Inv`.*,
                    `Original`.`ID` AS `OriginalID`
                FROM
                    `invoices` AS `Inv`
                    LEFT JOIN `invoices` AS `Original` ON `Inv`.`ID` = `Original`.`ParentID`
                WHERE
                    `Inv`.`Type` = 0
             ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [09-Dec-2024 08:57:04] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [09-Dec-2024 08:58:32] /finance/root/bg/invoices/2385.html 167.99.142.201

set names utf8

SELECT
                `Inv`.*,
                `Original`.`PostDate` AS `OriginalPostDate`
            FROM
                `invoices` AS `Inv`
                LEFT JOIN `invoices` AS `Original` ON `Inv`.`ParentID` = `Original`.`ID`
            WHERE
                `Inv`.`ID` = 2385
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Dec') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [09-Dec-2024 09:02:08] /finance/root/bg/ajax/invoices/form/2385.html?_=1733727728302 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 2385
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [09-Dec-2024 09:02:16] /finance/root/bg/ajax/invoices/update/2385.html?_=1733727736037 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 73 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT * FROM `invoices` WHERE 1  AND ID = '2385' AND Language = 'bg' LIMIT 1

INSERT INTO `history`
                (`ID`, `PostDate`, `TableName`, `PrimaryKey`, `Data`) VALUES
                (NULL, NOW(), 'invoices', '2385bg', 'ZSTeTnvOtJfMI238nhb9S2b7Yu1x2jG_fT2FjAwGb_23kLbEb98i44hWSA09tvYfvpNmkLB49tar-2iKDsALuS0VdmJj3cwOpAN3MkjkqsoU1GOOnUqnQp0p8j2RrfwqGqCXmFx5D7J1uP780DO3PK4JFfRfYV3ZQrSmnqx15rS2bBnpYITFwajxy9pkB2kjLY3o7Loul9MZwKVg229efNMR6Tbku3fWEfK01WU3ChmlvdSmYgX4Iu3q-2aazr_FFPStnWFY2MNjZA-3emB7bSIfHJQAihXdDx-GZreeHhkWv37icW7m4jB4DVRHqaPcqIKoRoAItV9eDjOeEh6mI3inAtCGmLuXOwTDmswV25I5oLsoFFOFoqW9OuwCfRcYBGxA2XqM1GfkHoNoN82_NrJBSAKNEbWrAK5fOdLThIbrhtC_K6DUVh20ljGIGPSHkTNRaMUKXKXc76LnASWxm3XoFi8SFSkqMIRYQLdt_jrlR-2UqvvACvSMKWQNcfsyqkO4lcx-MkJWYXF4M1Ong-6RByoT5n3mzr9W012PhCt_7Mnja1sr0ATnBmDD2T7aE2Mn2AN1EiqOiKSyGyprojJvZ6qrx_RRwKX7IV895gWtxFsv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RdGvnFJ6aF_HbO99CDt2-uYwKVzE8RvXtc_jbk6qpzrwIBySemQ7UQEWoFeaqHCd2x5xkmAnjs3Xqd_wUoEniph0f2PDUGP_LSwaBHxlCU_9g35RCHHsA9nMoIp6B6-69qoO3kcIoTT7hPOG7TsIRTUsYpQKQaq27dnHuHBZalO4QWDUEQeHAIzZfMABzT9r1enHpDppwulnjWG7OQLXQyudLZKbKv281x14wbqeMMKnymm0eztIVvempRsfyn5njG1fMhBk0-NpP-WsKmjrAvvbdddsNXU4rgYmay6gO5jpGNNVs9xTqvHtotKDiE')

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

UPDATE `invoices` SET `ID` = '2385', `Language` = 'bg', `PostDate` = '2024-12-09', `LastUpdate` = '2024-12-09 09:02:16', `Type` = '1', `ParentID` = 10437, `Data` = 'JnlHFjrWEvaKeRZfmPK5UUNhDfTVc-xRmQ8l_VHHld7dTbcQhik64vj4yHqptKaAfRFc_tbTkyFJ402m2EtN9dRZwz8AoxFlrEnrmcsbzVvCj1FDJpVuUvX1Z5LVudmRs_tE4euGeZQ5pVKebg6QsMlGN1W5ZqdrsrcRWUPpRn4K3KqJ9_MgM3N8Go4_viADcMsIMKK4gTv2nnZVrploQhUZNTMUbyQyornUNtBPC3KHKjXrjqJhTEwTYwzNl75ngEbJhyhWPTop8H8JS1y8wlAdeCuI91rhH6ZN64oGOGLoFnTCN14oI4eJUfRiF_zP1LAp0zRVTR71m7ZdnsAUdEMk653yc2-dLZkdtV0bDQVmurGctWCMfLJC8hyfYYw8xFcJ9gWWiHYtv6Ao8XspI7cprBDbYZAPqtjS0AirA69IBdeysgVCvrArReZiqRRpQXhvm3QNzSJzvr9SKbycCe3kcdCk53QLf8z4pxWEqlzT7BBpnvpJcLFGRTBAjDuBo1iP7q3kA9xBM6TiQH61X1FI8wXCwwZLOkSDfZNoyT_mkfwlKa8AraUX2kpihXAhQmrI6oHK9bmW57gK9VYxMwJw7_0tuTqjbL7TBFvDVbJFGktIrBPAMCm6MxZKv1bDeZ3OLyz7BvfTvAcVgHOa5Ws6uXsfY5-Z8za4qkIZWzF4XRIs0j4PdX4At3OWShnRQt4ScV5tWa3-OZhWM5eeRrkqL4Zns41b-djMNoFzMOC0CJVPmEXjj_gqEXXyMDO0jeg0VDfd_XXjZMMIfrx10FnnqlxjUa7pFDVA46lgGBqqPCdt-IZOhGR8LYLxIGoCWe6bzHp8oUkCarMyvx5QrbRIHhwajavWrZD_1gNHQ6MFCximJ3pb5o_iOUje8tnYyaHMnSUbma3x-3P0ocWNk5rKK3jtGx9rPHojC6wcDFNSMzM69O63yIGJA601-GeQMpz3Urk6yq7Ywh71uUkjPanpHppJEv3dUHiQ6r7pN5f22uKFkyaTtnv8nkFsyBxtDvvzMxCIN1DAu8Sfpx8-t8sa1ULnOLxfzY6JpsFxU5g', `SearchKey` = 'wofCpMK4w4DCtMK6wqDq8KDwqTDmsKrw5nCucKdw6bChMKhwwofCscOEwrDgcOQwrPCvcKDwrHDnsKrw5vCwofCpMOIwrDg8OgwqCocKDwqTCwrDDhsK6w57Cp8KzwrLDp8Ktw4XCssOUw4bCssOGw6XCtswofCpMOawrDgcKlwrPCtcKDwqTCsMKrw5jDj8KdwpzChMKuwp7CvMOWw6TCiMwofCpMKjwrDgMwofCscOAwrDgcOQwqDwofCscK4' WHERE `ID` = '2385'
# [09-Dec-2024 09:02:16] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [09-Dec-2024 09:02:19] /finance/root/bg/invoices/2385.html 167.99.142.201

set names utf8

SELECT
                `Inv`.*,
                `Original`.`PostDate` AS `OriginalPostDate`
            FROM
                `invoices` AS `Inv`
                LEFT JOIN `invoices` AS `Original` ON `Inv`.`ParentID` = `Original`.`ID`
            WHERE
                `Inv`.`ID` = 2385
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Dec') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [09-Dec-2024 09:03:33] /finance/root/bg/invoices/2385.html 167.99.142.201

set names utf8

SELECT
                `Inv`.*,
                `Original`.`PostDate` AS `OriginalPostDate`
            FROM
                `invoices` AS `Inv`
                LEFT JOIN `invoices` AS `Original` ON `Inv`.`ParentID` = `Original`.`ID`
            WHERE
                `Inv`.`ID` = 2385
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Dec') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [09-Dec-2024 09:03:35] /finance/root/bg/invoices/2385.html 167.99.142.201

set names utf8

SELECT
                `Inv`.*,
                `Original`.`PostDate` AS `OriginalPostDate`
            FROM
                `invoices` AS `Inv`
                LEFT JOIN `invoices` AS `Original` ON `Inv`.`ParentID` = `Original`.`ID`
            WHERE
                `Inv`.`ID` = 2385
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Dec') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [09-Dec-2024 13:48:51] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [09-Dec-2024 13:48:55] /finance/root/bg/ajax/invoices/form.html?_=1733744935879 167.99.142.201

set names utf8

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [09-Dec-2024 13:49:03] /finance/root/bg/ajax/clients/select/type_0.html?keyword=hev&_=1733744943578 167.99.142.201

set names utf8

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `SearchKey` LIKE '%wrjCn8OGw%'
                ORDER BY
                    CASE
                        WHEN `SearchKey` LIKE 'rjCn8OGw%' THEN 0
                        ELSE 1
                    END
                LIMIT 20
# [09-Dec-2024 14:22:49] /finance/root/bg/ajax/invoices/insert.html?_=1733746969461 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 44 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT MAX(`ID`) + 1 FROM `invoices` WHERE `Type` > 0 AND `ID` < 1000000000

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2386', `Language` = 'bg', `PostDate` = '2024-12-09', `LastUpdate` = '2024-12-09 14:22:49', `Type` = '1', `ParentID` = 0, `Data` = 'kEm8H1ny5ERo800kWwemLqybZoasXcDCyO9G96aBUu2S1EZIU2jTXMfoGzLbzGLLxpOVuZ-6Iiks2ci0iUD9Fy9nek79qK_8DaOAyeffHmr_24QVjDWlW8MEPXTkyLk9BxOKnoi9cCdBcxU11g0YFRYRHd03lrl9p3AKv8haI1uxTnNFeowSRM7670DqJJ3KcooptK2XnzaGPSQNJq4iK5nlOfCMYjnND6qBxM7034WTf7wK0js_FIpmbxZ0oANtO-iXk6Ss67s45d7urES80oKFF_yIGTXcs7zJ6krmMhEmtoAsVcK5aPaE4PTPvU3AUL9daaXFZ-jKPe3ii1Ikfbnh0nZu6KG14qX9MAoX5HjntozQjT7GYStOyK-Af0tSZOBsDH8cJ3isX8VO2gXK7ltQv1XeH5ewsm6_EAepOL7gh84zmt6oPsb1KMShhCnZLd06D6kEU2IUzb6v_9sPXgEL8MRazld2azVDizKH25dsfuTHlMnN7Cn-mhV3WgyDdcaB3K-_aOvt9FamuqAqm_L7qCvlTOTt_VogHvZS8vrm9xGjHQ6k_3W5XGoHLzKp8_1xWU37FSIvSBvLTYooEZM0Z40cG3EWk3ElvJCKgEVM09S15ctBRpmtbFVj5Csq9J78UKaBs9e7RXsCtISVymT41aMHfdQLLp69wtc97_C5GzZwJOwIhSDiO1kYrr19Iq2mHcyljAvOlYJdxEDUISCTmul9W1NbhQnEP5Jdvcq_d72gCKuIStFAyZzsfUnTZm5SZz9Dwc2u5VOl7MTF0vNzvX0vHNBTfWnnEbldnCv49LMVb_fmuQLd7WSMyLo5s-41pTBRG9HZt6llBiwQ1LxpQ-oTRmT0WrFsJg3WKCNG8726iRRrLnk069HTfSLVtVHGg8ngnuo5YclINOK_LfRtyQ9NrG6Q7rqCgaENFBaKGjsULbl8iHCdkWfpK2GRhIN2oqABqBJGGs_RQCMfosOcsj6t5_cd3xT2C4pnoH9IAz2YUufmZfoDK_yO2IZ8Tq5It8Rf5Pl4lYMDlrpsjz7kYudcHtx1-Dd_oo6oParwwzRuce3FmmyPFt6fR9QR7yyEPeLFNMefElErm3YVuNxNd7LGbJ-P3Dz2WGdxVbMExOEAYFLhmcibKR6i_x-5bSxMy9X3zIhseX0MsSAKwtWMXKxNxMPh24OG3kHNkUl8Mmt7Qd29kVRYwXfPhcti9t9Fn-XJ3GxJDkrg4ZuPwVUPQbG6svoGzFTJV6MUFrC1dWiQcolf6X-ajUqQDSlSUHbGquci8yaxHskr18OvOw', `SearchKey` = 'wofCscOIwrDgcOQwqDrcKDwqTDwofCpMOiwrDgsKlwrPCuMKDwqTCwofCpMOIwrDg8OgwqCocKDwqTCwrjCn8OGwqDCrsODwrrDp8K3wqCwofCpMOawrDgcKlwrPCtcKDwqTCsMKrw5jDj8KdwpzChMKuwp7CvMOWw6TCiMwofCpMKjwrDgMwofCscK0wrDgcOQwqCqsKDwqTDosKrw5jCucKdwqfChMKhwoXCvMOUwwofCpMK8wrDgsK6wqCp8'
# [09-Dec-2024 14:22:49] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [09-Dec-2024 14:22:52] /finance/root/bg/invoices/2386.html 167.99.142.201

set names utf8

SELECT
                `Inv`.*,
                `Original`.`PostDate` AS `OriginalPostDate`
            FROM
                `invoices` AS `Inv`
                LEFT JOIN `invoices` AS `Original` ON `Inv`.`ParentID` = `Original`.`ID`
            WHERE
                `Inv`.`ID` = 2386
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Dec') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
