# [27-Jun-2023 11:59:14] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` > 0 ORDER BY `ID` DESC
# [27-Jun-2023 11:59:17] /finance/root/bg/clients.html 167.99.142.201

set names utf8

SELECT * FROM `clients` ORDER BY `PostDate` ASC
# [27-Jun-2023 11:59:25] /finance/root/bg/clients.html?from=&to=&keyword=rap 167.99.142.201

set names utf8

SELECT * FROM `clients` WHERE `SearchKey` LIKE '%wrrDhcK2w%' ORDER BY `PostDate` ASC
# [27-Jun-2023 11:59:51] /finance/root/bg/ajax/clients/form.html?_=1687856391794 167.99.142.201
# [27-Jun-2023 12:01:32] /finance/root/bg/ajax/clients/insert.html?_=1687856492572 167.99.142.201

set names utf8

SELECT MAX(`ID`) + 1 FROM `clients`

SELECT * FROM `clients` LIMIT 1

SHOW COLUMNS FROM `clients`

INSERT INTO `clients` SET `ID` = '34', `Language` = 'bg', `LastUpdate` = '2023-06-27 12:01:32', `Data` = '3wRPO016gi0XiDj-7_emz4XGhQaI9cDaSd1dcGN7hGZVxn8bfth3jsOJK114reabxF3ECgMTWM2xRqzULUt7y2y3Dsb6D1QwzBQnXOzZnA0T-YUMNx6nxtL-6nU-Yf1dubXmJM7QRdvLxna19AWgFZRQfrNkf-zDiAjEZivExuIuMjjMQIED1FXK04w5DHlk5B9RsHC8IS6Vlh1MTkGUaqeBdLRMYsuz5BiDDhR94d_3xRRfQUUbxzSqeJGeUmP6d2DIMfUDeYyCUQW3ohsMVzZIU4iQ8lld14EojIbwegOTUG5K7lZL5SvDoYlCZTSXn7uGf1z059vG1cqOf2eAPfQ_xLFOqa_fAh25LsI1vtTYIOpJBt1NYp0Geci23up0ADLvMOyAghF3h-iBCSWwFA', `SearchKey` = 'wrrDhcK2w6XCsMKewqXDn8K4wwofCscK0wrDgMK6wqDk8KDwrHCtMKrw5vDn8KdwpChMKhwwofCscK8w4DCtMK6wqDq8KDwqTCuMKrw5nDj8KdwwofCpMK4w4DCtsOgwqCq8KDwqTCvMKrw5jCucKhwrDChMKhwrzCvcOLwwofCpMKnwrDg8OgwqCwofCpMOWwrDg8OgwrPCtcKDwqTCn8Krw5rCucKhwrbChMKhwwofCscK8wrDgMK6wqCrcKDwqTDhMKrw5jDn8KdwwqTDgsKxw6fCnMKwwr3Dq8Khw5LCuc', `Top` = 1, `Visible` = 1, `PostDate` = '2023-06-27 12:01:32'
# [27-Jun-2023 12:01:32] /finance/root/bg/clients.html 167.99.142.201

set names utf8

SELECT * FROM `clients` ORDER BY `PostDate` ASC
# [27-Jun-2023 12:01:37] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` > 0 ORDER BY `ID` DESC
# [27-Jun-2023 12:01:43] /finance/root/bg/ajax/invoices/form.html?_=1687856503330 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
# [27-Jun-2023 12:06:29] /finance/root/bg/ajax/invoices/insert.html?_=1687856789590 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 34 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

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2032', `Language` = 'bg', `PostDate` = '2023-06-27 12:06:29', `LastUpdate` = '2023-06-27 12:06:29', `Type` = '1', `Data` = 'EQ8pUdQnTBB8KpnLZ6hlnox1sP9EGJ_Omunm3GmOK5TYPVhWpw7WjHz6y0r7NpuTvlut009MiJP58KKleOXRPi4jl2HuuK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5nDj8KdwwofCpMK4w4DCtsOgwqCq8KDwqTCvMKrw5jCucKhwrDChMKhwrzCvcOLwwofCpMKnwrDg8OgwqCwofCscK0wrDgMK6wqCp8KDwrHCsMKrw5jCucKdw6fChMKhwonCvcOIw6TCiMKJwp3DgMwofCpMKjwrDgMwofCpMOEwrDg8O'
# [27-Jun-2023 12:06:30] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` > 0 ORDER BY `ID` DESC
# [27-Jun-2023 12:07:07] /finance/root/bg/proforma.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` = 0 ORDER BY `ID` DESC
# [27-Jun-2023 12:07:18] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` > 0 ORDER BY `ID` DESC
# [27-Jun-2023 12:07:27] /finance/root/bg/proforma.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` = 0 ORDER BY `ID` DESC
# [27-Jun-2023 12:07:35] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` > 0 ORDER BY `ID` DESC
# [27-Jun-2023 12:08:20] /finance/root/bg/proforma.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` = 0 ORDER BY `ID` DESC
# [27-Jun-2023 12:08:40] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` > 0 ORDER BY `ID` DESC
# [27-Jun-2023 12:09:10] /finance/root/bg/proforma.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` = 0 ORDER BY `ID` DESC
# [27-Jun-2023 12:10:02] /finance/root/bg/ajax/invoices/form/clone/10364.html?pid=10364&_=1687857002226 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 10364
            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
# [27-Jun-2023 12:11:16] /finance/root/bg/ajax/invoices/insert.html?_=1687857076085 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 31 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

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2033', `Language` = 'bg', `PostDate` = '2023-06-27 12:11:16', `LastUpdate` = '2023-06-27 12:11:16', `Type` = '1', `Data` = 'Nj1J8J6donvYbOTMBe7HgacMxUK9T5le_CytRiornKnHIU4k4SODYS7EJwpk6z54EhydtCM8RRPOcukiltZF4OVP391M4haYOg5gIFLhNiWOTu9B1MojxYFIUBe1x24Z2ZViQ4fJe1TVM8ZDif2Rd4oOecLWNAtosnBGdlh_Zda3_kKZGnDx_oaC1gkdvvkz623yYpdLl3hkOE93J0wF-znkLUEzEgqgDJ-YVPE3mCbGUhShN3753jzHBeW6BvqXKGxCpBZBZg5-9i76P19-jiMkKO_lExTcbT6RrJv1GFUArAJXOny-qJ_mbO2RBOj9ijTR-WQCqmIeZAOsah__d35gzG4npk2oqoWnB60XATdePmwA-Lc1XUS4R9wg1gN5j1Ky3h4cgXhHoE-8awxNgGxAeTyHEq-esittoQYVUZKrpuo7YCoggIB8r4PSoCxkrqLKydkw7uWG8mmHLOj1u_jJnmJOUuo0qzRg2Yy6mLqzqhlSgZuaHBzc-5pIUIAiR7PyCtq00uCdHmcMkKA0vHhNnCxS_3B1Nck7h_nKN586IIZhTU30kMrHvb-2DS4qsJX8tUsbkuteuTQX8r0SgAc3V-f1Rdyj6atUZVUM5qIPguSPGa2tX1XaHpoZzTcIOVTmI_8aprZwMIkoM5EvU3UL7Kfm7QAqQGDL0SHJ2rmp3dfakjcGX2NSChVQ3gVJ49uUBzIS4A9tV-WICqQbq9ZWwOkOk4XPm_zteQgHDai1KKpO_jWEW8Mzmk_UaKS1BGt2s8Dv8q_jVkn0woSuTMW2UeKOOUytfSk0DT4afJ0quC1AqxyFYeszZclnmEetPh2CeuBcYvsUjmFb5uWiejQ61Ds2T3U9c7TkH3s4z0wmg54_DMbYJIzSnYmzbVG2gDKcIgcOwDMYQNzhzTXbtCNTosWjG-L_D1Bzrhg3sXrg8dAaJlrOdTNS9oLNHek0cRogXlZ5b5cH_t02VYcBkkvAuXgYaDQuioZskfDDD5aY04cbXzD9sBASlsB_-aoGAH_mScf4hk-OF5Y72lqWvQ', `SearchKey` = 'wofCpMOqwrDgcOQwqCpMKDwqTDlsKsw4DwofCpMOiwrDgcOQwqCwofCpMKnwrDg8OgwqCwofCscK8wrDgcOQwrPCusKDwqTCn8Krw5rCucKhwrfChMKhwqrCvcOIw5TCiMKJwp3DgMwofCpMOPwrDg8OgwqCpMKDwqTDgMKsw4zCucKhwrrChMKhwrTCvMOWw6TCiMwofCpMOiw4DCtsOgwqCwofCscOAwrDgcOQwqDwofCscK4wrDgMK6wqCqc'
# [27-Jun-2023 12:11:16] /finance/root/bg/proforma.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` = 0 ORDER BY `ID` DESC
# [27-Jun-2023 12:11:19] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` > 0 ORDER BY `ID` DESC
# [27-Jun-2023 12:14:44] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` > 0 ORDER BY `ID` DESC
# [27-Jun-2023 12:14:53] /finance/root/bg/ajax/invoices/form/1000000063.html?_=1687857293682 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 1000000063
            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
# [27-Jun-2023 12:15:47] /finance/root/bg/ajax/invoices/form/1000000063.html?_=1687857347409 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 1000000063
            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
# [27-Jun-2023 12:15:53] /finance/root/bg/ajax/invoices/update/1000000063.html?_=1687857353276 167.99.142.201

set names utf8

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

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

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

INSERT INTO `history`
                (`ID`, `PostDate`, `TableName`, `PrimaryKey`, `Data`) VALUES
                (NULL, NOW(), 'invoices', '1000000063bg', 'AK1P1tzmvxa_tH8uAocOCOToYfpoyIWWo-XpAc7TB1sy3iCFko-RsHP_aXU72y5hx4VpdD7zGJUJOgsyZVE6JxsfBA2dudVNAkal-zrQxzsdmM_4_1TFh3QIm9mqZwuX1QdOgy14OW-pC8bpRDOAsQ-oMYK3EU2JIOp2yBue2N-NITClw9yQe3-S6_UbxY8YLtEb2gfdUJLyLEQ9WuGiCG4fnYa4h2uu6rIXwR6XDMffQ8fZZQoGBFCkK3Kv2RetCNsVU3Loukp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-7MWddcPwxWKoadviFHCaTZOmQkX2cY_599-EIbV-sbpT7ZmqkTpnO52jUgZenGEccYCrfm07EVohGAJIt4dlFgaDvZeiwnJz9PslEfNzLZmY14kTHpEtc3KTU-tWzNPHHFuaf62msLUaOr4PcIxFsfBxBIX_3iI7A28BTblYuvs1SS80v18dAMLtUaBqWGl15JObGx0-Fiz62H_3at2e5appxYnjofRLaKz0_M8zURbgngT72JtOqHX9f4goVYddj1wMm8mFtKee4QvL1dfRoRbBF9ocgs7BLLK5BzkA6A-3YJPk9_uMrGWRYgbBVh4YynJhiE1BJdUzciw3vrcOsF3z_p9kV6liMEm1FUM5yq3N_X1Fmv6ifHhuHafyVagjUvI6EmsbDJp2h3Z5EGsiUVQTXWHwmNUeouBRWwqoh05VM1p58sE079PX0J0izhuO5sMmg0Ru_4VEmvfllWkq2ZQH-EAxvt756ErfXngI_VVzwyBBCgYYSoEH5vhZKklT6uO69t2xH9ZA9ffpcsRA0gXndv5kO7l-wjkVdoB1d5KVinCDY4e4sGwRTDbXR62pzk7AJTe3S2bb_3sf-4DPvyX9qChqtpsH4wb1RFLYvATPqwwf0BTbhAncQWWxVbgloQ-M9ieIUnusAO10iBgY4Ig')

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

UPDATE `invoices` SET `ID` = '1000000063', `Language` = 'bg', `PostDate` = '2023-06-14 12:15:53', `LastUpdate` = '2023-06-27 12:15:53', `Type` = '1', `Data` = '0l9o5NlYElJLoa7yUGXq5zpqa04hTmpAfCdtE3kFx_RnSFZqAMenih3s4GpWCNJjktmCikO1ub3ygOR9qgP6I1CZuFieN9XJdaOSsp184elQOlDPi5CE5FT2M9BxqCGdfio_PD3UopnDQsHlvtYy8EOBo3Nil5181RqWYeqkpFwO5LJN2dyEDh9_ClpvwbTT4MxVdGxW-0nVatby0SFKehC_fn3iar766-ri5AwG8hJ6rLEQWkDvBJPBVn1b6fbzFVfU2gCqzkZLyaIhZLheyoS7pfKASV_jOBNtJFM7wjua5GEP4JnBg_39fJsBGTEy-trjlDlAJHPAsj9bfcIvY8GDgohQnEklsDKsUyg4vyUR4gmjPHsq-jaWbzlBRQnCSKBXhG129zbbDAF1j_rb-WAE9S03GPx-cEBdyBkXNjPUyFWqPuGLupBY17q1Ow5R0935p0Fhys1KJREQZkE89I7Ea8Awu0PosdsX22mTzRyysHrdMOv7v53jMSTD8ljoF9TxL0RFkK-7e84UBhj0SZbLTv0xQxj39_z3sZOt_cK2Ob-0I_kNjRBL7xwb0yez4eub8JMg-Y9AYeNzCFGcjEkszWwXKtiXvVfz1X-i_0QZOSGuNRQC7vhRzfl5diyYv03tME5cFdmIUdrb1dma95maD0i9HeqtvPtkAJ-v06rLbyHZrVp6gTqSu_gcilGHa3a3vxvRGkSdpYglA-g6aS3BtcTRSNwoPBQETZzkFtIAqY8mhPkXvSu7hzyRP8sphrYIlNMrx2RvCN_7dz4-hLuGLGHLtGjGMaYd3bLFXNG8EpefHO6QdZyzjQBGbHunoZ35kuq8iapo6GuBFcaCJd8fjwNbrbZJy4oV6lvdklgi8UbwgPinpqhxDGASXO7_CSF1NuwYZuuc9ePXjaNNM7fwcJ4W1PYYtvNsSKfybN86-27vZjeqvenvfJuwzTq_PEWoUDiI9y0_6fVd3RU0RldzkLh0zDQd_VSKYivOzJM0bqYshFIeEqgnSDhnddPiJPaniAfWCTbMrnJfe290Yw', `SearchKey` = 'wofCpMOqwrDgcOQwqCpMKDwqTDlsKsw4DwofCpMOiwrDgcOQwqCwofCpMKnwrDg8OgwqCwofCscK8wrDgcOQwrPCusKDwqTCn8Krw5rCucKhwrfChMKhwqrCvcOIw5TCiMKJwp3DgMwofCpMOPwrDg8OgwqCpMKDwqTDgMKsw4zCucKhwrrChMKhwrTCvMOWw6TCiMwofCpMOiw4DCtsOgwqCwofCscOAwrDgcOQwqDwofCscK4wrDgMK6wqCqc' WHERE `ID` = '1000000063'
# [27-Jun-2023 12:15:53] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` > 0 ORDER BY `ID` DESC
# [27-Jun-2023 12:16:14] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` > 0 ORDER BY `PostDate` DESC
# [27-Jun-2023 12:16:51] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` > 0 ORDER BY `PostDate` DESC, `ID` DESC,
# [27-Jun-2023 12:17:03] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` > 0 ORDER BY `PostDate` DESC, `ID` DESC
# [27-Jun-2023 12:17:29] /finance/root/bg/invoices/1000000063.html 167.99.142.201

set names utf8

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

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Jun') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [27-Jun-2023 14:29:58] /finance/root/bg/ajax/invoices/form/2032.html?_=1687865397560 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 2032
            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
# [27-Jun-2023 14:30:46] /finance/root/bg/ajax/invoices/update/2032.html?_=1687865445984 167.99.142.201

set names utf8

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

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

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

INSERT INTO `history`
                (`ID`, `PostDate`, `TableName`,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`

UPDATE `invoices` SET `ID` = '2032', `Language` = 'bg', `PostDate` = '2023-06-27 14:30:46', `LastUpdate` = '2023-06-27 14:30:46', `Type` = '1', `Data` = 'CHNT5nYvKSJMLNJeFHKCUZK-2z1F0Lf9BiYvOhHolc-H0Gu3r2LR6EEMFPfRs8ETPy2hdK81swD1PSjQSO74USCLdYgFUyBy8LijZX0d7wihqifoBzkqpyA7YmBtR_O32_BVWTP9KKbzk-rYHWf-0p76-zZz0i27YRdSXy_vNBoN91AMf4Ze1XLe-P-8SeOH1Kv7evdAXXDB7w7VGt4bbG-haJcOLKt_eKKav4wWF3M2AfBCgVdbm96wSf_xxiCXsq9VnbWJqdmvhGm46Njl_nzv50cDF_z4w9KljwZP6QY7fJroqlg_MAiSuFyqAaspBn2-npvyo1n1vsV4YACsopQ84hCEawDzjVmKGmjFNr11BJm4hhdo8pNwKb3S4573mN02xyE_Ef-CwkLYd168J_mHF4ldTf0aR75vNVhVTb5ELcMwahUY4V1uBzIuB9gOjLo375PgigifPejftejInMT4WnAJ9zJAdVrwRFffC0ABQa26hXlmwe5CuMneSjHPPzpO8nmgMLiYKax6C29iQ31c25CNrtO2oKHhfF0RKp1cq8ePFo6Ey_ol2IgcTLzt9pOz9jIEOKdTBum58P1Q5I3Skgv4p5C_nquqnVBtU9b9LTZrw3SBfeA-y-qsKUeK6UdInzSPyWKYqE7prjBibYIIWyCiDAI3RwD9X7YvdJAHckFpFvWxRPAbt9t9Z5YhsfZKkwkiDYbMb_0TRbD5kQp8mTA5X_6aiGPwWQ2zziB8b6f6XnbRl47ITRzeJ5gbKxOO9GabFdvNkP0_q9U-7krUKNZA5DaGYkspvMbygUKQzHGCD15WCDV4600XJ0FGhlY7bMd70WniAv-ZoXAWr_9zFNzWTLcEi5o_m7YR4crHZRr_TcKdH2R_F0H8PpZOabnhg8cGn_lrnISx2KFCg9lITUCU2pRqPscLBd42_9AmX3MCNlfDpi7Tn1Pdpax188MEy-bpsqJHqajSRcWUZJMPK0Q76QGwUAVJjCsXzq5foL_luOzxspsUgOgYq9VZ48IIh76M-H31wOXe_SW_dQ', `SearchKey` = 'wofCscK0wrDgMK6wqDk8KDwrHCtMKrw5vDn8KdwpChMKhwwofCscK8w4DCtMK6wqDq8KDwqTCuMKrw5nDj8KdwwofCpMK4w4DCtsOgwqCq8KDwqTCvMKrw5jCucKhwrDChMKhwrzCvcOLwwofCpMKnwrDg8OgwqCwofCscK8wrDgcOQwrPCusKDwqTCn8Krw5rCucKhwrfChMKhwqrCvcOIw5TCiMKJwp3DgMwofCpMOPwrDg8OgwqCpMKDwqTD' WHERE `ID` = '2032'
# [27-Jun-2023 14:30:46] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` WHERE `Type` > 0 ORDER BY `PostDate` DESC, `ID` DESC
# [27-Jun-2023 14:30:54] /finance/root/bg/invoices/2032.html 167.99.142.201

set names utf8

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

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