SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:42:45] /constantinoff/res/root/bg/resweb/num.html?_=1712392935037 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:42:51] /constantinoff/res/root/bg/resweb/num.html?_=1712392935038 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:42:57] /constantinoff/res/root/bg/resweb/num.html?_=1712392935039 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:43:03] /constantinoff/res/root/bg/resweb/num.html?_=1712392935040 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:43:09] /constantinoff/res/root/bg/resweb/num.html?_=1712392935041 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:43:15] /constantinoff/res/root/bg/resweb/num.html?_=1712392935042 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:43:21] /constantinoff/res/root/bg/resweb/num.html?_=1712392935043 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:43:27] /constantinoff/res/root/bg/resweb/num.html?_=1712392935044 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:43:33] /constantinoff/res/root/bg/resweb/num.html?_=1712392935045 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:43:39] /constantinoff/res/root/bg/resweb/num.html?_=1712392935046 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:43:45] /constantinoff/res/root/bg/resweb/num.html?_=1712392935047 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:43:51] /constantinoff/res/root/bg/resweb/num.html?_=1712392935048 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:43:58] /constantinoff/res/root/bg/resweb/num.html?_=1712392935049 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:44:04] /constantinoff/res/root/bg/resweb/num.html?_=1712392935050 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:44:05] /constantinoff/res/root/bg/invoices.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`invoices`
            WHERE 1
        
            ORDER BY
                `invoices`.`PostDate` ASC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:44:05] /constantinoff/res/root/bg/resweb/num.html?_=1712393045633 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:44:11] /constantinoff/res/root/bg/resweb/num.html?_=1712393045634 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:44:17] /constantinoff/res/root/bg/resweb/num.html?_=1712393045635 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:44:23] /constantinoff/res/root/bg/resweb/num.html?_=1712393045636 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:44:29] /constantinoff/res/root/bg/resweb/num.html?_=1712393045637 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:44:30] /constantinoff/res/root/bg/invoices.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`invoices`
            WHERE 1
        
            ORDER BY
                `invoices`.`PostDate` ASC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:44:30] /constantinoff/res/root/bg/resweb/num.html?_=1712393070650 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:44:36] /constantinoff/res/root/bg/resweb/num.html?_=1712393070651 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:44:42] /constantinoff/res/root/bg/resweb/num.html?_=1712393070652 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:44:49] /constantinoff/res/root/bg/resweb/num.html?_=1712393070653 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:44:55] /constantinoff/res/root/bg/resweb/num.html?_=1712393070654 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:45:01] /constantinoff/res/root/bg/resweb/num.html?_=1712393070655 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:45:07] /constantinoff/res/root/bg/resweb/num.html?_=1712393070656 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:45:13] /constantinoff/res/root/bg/resweb/num.html?_=1712393070657 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:45:19] /constantinoff/res/root/bg/resweb/num.html?_=1712393070658 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:45:25] /constantinoff/res/root/bg/resweb/num.html?_=1712393070659 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:45:31] /constantinoff/res/root/bg/resweb/num.html?_=1712393070660 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:45:37] /constantinoff/res/root/bg/resweb/num.html?_=1712393070661 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:45:43] /constantinoff/res/root/bg/resweb/num.html?_=1712393070662 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:45:50] /constantinoff/res/root/bg/resweb/num.html?_=1712393070663 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:45:56] /constantinoff/res/root/bg/resweb/num.html?_=1712393070664 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:46:02] /constantinoff/res/root/bg/resweb/num.html?_=1712393070665 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:46:08] /constantinoff/res/root/bg/resweb/num.html?_=1712393070666 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:46:14] /constantinoff/res/root/bg/resweb/num.html?_=1712393070667 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:46:20] /constantinoff/res/root/bg/resweb/num.html?_=1712393070668 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:46:25] /constantinoff/res/root/bg/invoices.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`invoices`
            WHERE 1
        
            ORDER BY
                `invoices`.`PostDate` ASC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:46:25] /constantinoff/res/root/bg/resweb/num.html?_=1712393185956 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:46:31] /constantinoff/res/root/bg/resweb/num.html?_=1712393185957 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:46:37] /constantinoff/res/root/bg/resweb/num.html?_=1712393185958 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:46:43] /constantinoff/res/root/bg/resweb/num.html?_=1712393185959 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:46:49] /constantinoff/res/root/bg/resweb/num.html?_=1712393185960 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:46:56] /constantinoff/res/root/bg/resweb/num.html?_=1712393185961 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:46:57] /constantinoff/res/root/bg/invoices.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`invoices`
            WHERE 1
        
            ORDER BY
                `invoices`.`PostDate` ASC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:46:57] /constantinoff/res/root/bg/resweb/num.html?_=1712393217663 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:47:03] /constantinoff/res/root/bg/resweb/num.html?_=1712393217664 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:47:09] /constantinoff/res/root/bg/resweb/num.html?_=1712393217665 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:47:15] /constantinoff/res/root/bg/resweb/num.html?_=1712393217666 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:47:19] /constantinoff/res/root/bg/invoices.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`invoices`
            WHERE 1
        
            ORDER BY
                `invoices`.`PostDate` ASC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:47:19] /constantinoff/res/root/bg/resweb/num.html?_=1712393240147 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:47:20] /constantinoff/res/root/bg/invoices.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`invoices`
            WHERE 1
        
            ORDER BY
                `invoices`.`PostDate` ASC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:47:21] /constantinoff/res/root/bg/resweb/num.html?_=1712393241292 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:47:27] /constantinoff/res/root/bg/resweb/num.html?_=1712393241293 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:47:33] /constantinoff/res/root/bg/resweb/num.html?_=1712393241294 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:47:39] /constantinoff/res/root/bg/resweb/num.html?_=1712393241295 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:47:45] /constantinoff/res/root/bg/resweb/num.html?_=1712393241296 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:47:51] /constantinoff/res/root/bg/resweb/num.html?_=1712393241297 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:47:57] /constantinoff/res/root/bg/resweb/num.html?_=1712393241298 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:48:03] /constantinoff/res/root/bg/resweb/num.html?_=1712393241299 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:48:09] /constantinoff/res/root/bg/invoices.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`invoices`
            WHERE 1
        
            ORDER BY
                `invoices`.`PostDate` ASC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:48:09] /constantinoff/res/root/bg/resweb/num.html?_=1712393289872 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:48:15] /constantinoff/res/root/bg/resweb/num.html?_=1712393289873 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:48:21] /constantinoff/res/root/bg/resweb/num.html?_=1712393289874 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:48:28] /constantinoff/res/root/bg/resweb/num.html?_=1712393289875 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:48:34] /constantinoff/res/root/bg/resweb/num.html?_=1712393289876 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:48:35] /constantinoff/res/root/bg/invoices.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`invoices`
            WHERE 1
        
            ORDER BY
                `invoices`.`PostDate` ASC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:48:35] /constantinoff/res/root/bg/resweb/num.html?_=1712393316115 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:48:41] /constantinoff/res/root/bg/resweb/num.html?_=1712393316116 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:48:48] /constantinoff/res/root/bg/resweb/num.html?_=1712393316117 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:48:54] /constantinoff/res/root/bg/resweb/num.html?_=1712393316118 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:49:00] /constantinoff/res/root/bg/resweb/num.html?_=1712393316119 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:49:06] /constantinoff/res/root/bg/resweb/num.html?_=1712393316120 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:49:12] /constantinoff/res/root/bg/resweb/num.html?_=1712393316121 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:49:18] /constantinoff/res/root/bg/resweb/num.html?_=1712393316122 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:49:24] /constantinoff/res/root/bg/resweb/num.html?_=1712393316123 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:49:30] /constantinoff/res/root/bg/resweb/num.html?_=1712393316124 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:49:36] /constantinoff/res/root/bg/resweb/num.html?_=1712393316125 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:49:42] /constantinoff/res/root/bg/resweb/num.html?_=1712393316126 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:49:46] /constantinoff/res/root/bg/invoices.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`invoices`
            WHERE 1
        
            ORDER BY
                `invoices`.`PostDate` ASC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:49:47] /constantinoff/res/root/bg/resweb/num.html?_=1712393387321 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:49:53] /constantinoff/res/root/bg/resweb/num.html?_=1712393387322 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:49:59] /constantinoff/res/root/bg/resweb/num.html?_=1712393387323 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:50:05] /constantinoff/res/root/bg/resweb/num.html?_=1712393387324 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:50:11] /constantinoff/res/root/bg/resweb/num.html?_=1712393387325 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:50:17] /constantinoff/res/root/bg/resweb/num.html?_=1712393387326 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:50:21] /constantinoff/res/root/bg/invoices.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`invoices`
            WHERE 1
        
            ORDER BY
                `invoices`.`PostDate` ASC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:50:21] /constantinoff/res/root/bg/resweb/num.html?_=1712393421742 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:50:27] /constantinoff/res/root/bg/resweb/num.html?_=1712393421743 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:50:33] /constantinoff/res/root/bg/resweb/num.html?_=1712393421744 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:50:39] /constantinoff/res/root/bg/resweb/num.html?_=1712393421745 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:50:45] /constantinoff/res/root/bg/resweb/num.html?_=1712393421746 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:50:51] /constantinoff/res/root/bg/invoices.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`invoices`
            WHERE 1
        
            ORDER BY
                `invoices`.`PostDate` ASC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:50:51] /constantinoff/res/root/bg/resweb/num.html?_=1712393451437 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:50:54] /constantinoff/res/root/bg/vouchers.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

set names utf8
# [06-Apr-2024 11:50:54] /constantinoff/res/root/bg/resweb/num.html?_=1712393454937 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:50:55] /constantinoff/res/root/bg/resweb.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE 1
        
AND
`ResDate` >= CURDATE()
            ORDER BY
                `reservations`.`ResDate` ASC,
                `reservations`.`ResTime` ASC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:50:56] /constantinoff/res/root/bg/resweb/num.html?_=1712393456299 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:50:57] /constantinoff/res/root/bg/reservations/week.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT DISTINCT
                                `clients`.`FullName` AS ClientName
                            FROM
                                `reservations`
                                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                            WHERE
                                `reservations`.`ResDate` BETWEEN '2024-04-06' AND '2024-04-13'

SELECT
                `reservations`.`ID`,
                `reservations`.`ResDate`,
                `reservations`.`ResTime`,
                `reservations`.`Seats`,
                `reservations`.`Specials`,
                `reservations`.`Comment` AS ResComment,
                `clients`.`Phone` AS ClientPhone,
                `clients`.`FullName` AS ClientName,
                `clients`.`Specials` AS ClientSpecials,
                `clients`.`Comment` AS ClientComment,
                `res_arrived`.`ReservationID` AS Arrived,
                `res_cancellations`.`ReservationID` AS Canceled
            FROM
                `reservations`
                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
                LEFT JOIN `res_arrived` ON `res_arrived`.`ReservationID` = `reservations`.`ID`
            WHERE
                1
         AND  `reservations`.`ResDate` BETWEEN STR_TO_DATE(CONCAT(YEAR(NOW()), WEEK(NOW()), 'Monday'), '%X%V %W') AND STR_TO_DATE(CONCAT(YEAR(NOW()), WEEK(NOW())+1, 'Sunday'), '%X%V %W') 
            ORDER BY
                `reservations`.`ResDate` DESC,
                `reservations`.`ResTime` DESC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:50:57] /constantinoff/res/root/bg/resweb/num.html?_=1712393457627 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:50:58] /constantinoff/res/root/bg/reservations/calendar.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

set names utf8
# [06-Apr-2024 11:50:58] /constantinoff/res/root/bg/resweb/num.html?_=1712393459002 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:50:58] /constantinoff/res/root/bg/reservations/days/2024-04.html?_=1712393459003 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT DISTINCT
                `ResDate`
            FROM
                `reservations`
            WHERE
                `ResDate` LIKE '2024-04%'
            ORDER BY `reservations`.`ResDate` ASC

set names utf8
# [06-Apr-2024 11:50:59] /constantinoff/res/root/bg/reservations/form.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                `halls`.`ID`,
                `halls`.`HallName`,
                (SELECT
                    SUM(`tables`.`Seats`) AS 'HallSeats'
                FROM
                    `tables`
                WHERE
                   `tables`.`HallID` = `halls`.`ID` AND
                   `tables`.`Visible` = 1) AS 'HallSeats',
                (SELECT
                    SUM(`tables`.`AdSeats`) AS 'HallAdSeats'
                FROM
                    `tables`
                WHERE
                   `tables`.`HallID` = `halls`.`ID` AND
                   `tables`.`Visible` = 1) AS 'HallAdSeats',
                0 AS 'HallTablesNum'
            FROM
                `halls`
            WHERE
                `Visible` = 1
            ORDER BY `halls`.`ItemPosition` ASC

SELECT
                `tables`.`ID`
            FROM
                `tables`
                INNER JOIN `reservation_tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `reservation_tables`.`ReservationID` = '0'
            WHERE
                `tables`.`Visible` = 1

SELECT DISTINCT
                `tables`.`ID`,
                `tables`.`HallID`,
                `tables`.`Number`,
                `reservations`.`ResTime`
            FROM
                `reservations`
                INNER JOIN `reservation_tables` ON `reservation_tables`.`ReservationID` = `reservations`.`ID`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
            WHERE
                `res_cancellations`.`ReservationID` IS NULL AND /* masata e swobodna ako rezerwaviqta e kanselirana */
                 `reservations`.`ResDate` = '2024-04-06' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '07:50:00' AND '15:50:00' /* 4 CHASA NAPRED OT POSOCHENIQ  */

SELECT
                    *
                FROM
                    `tables`
                WHERE
                    `HallID` = '6' AND
                    `Visible` = 1
                ORDER BY
                    `Row` ASC,
                    `Col` ASC

SELECT
                MAX(`Row`) AS MaxRow,
                MAX(`Col`) AS MaxCol
            FROM
                `tables`
            WHERE
                `HallID` = '6'
                AND `Visible` = 1

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '6'
                AND `Visible` = 1
            LIMIT 1

set names utf8
# [06-Apr-2024 11:50:59] /constantinoff/res/root/bg/resweb/num.html?_=1712393460096 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:51:00] /constantinoff/res/root/bg/reservations/week.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT DISTINCT
                                `clients`.`FullName` AS ClientName
                            FROM
                                `reservations`
                                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                            WHERE
                                `reservations`.`ResDate` BETWEEN '2024-04-06' AND '2024-04-13'

SELECT
                `reservations`.`ID`,
                `reservations`.`ResDate`,
                `reservations`.`ResTime`,
                `reservations`.`Seats`,
                `reservations`.`Specials`,
                `reservations`.`Comment` AS ResComment,
                `clients`.`Phone` AS ClientPhone,
                `clients`.`FullName` AS ClientName,
                `clients`.`Specials` AS ClientSpecials,
                `clients`.`Comment` AS ClientComment,
                `res_arrived`.`ReservationID` AS Arrived,
                `res_cancellations`.`ReservationID` AS Canceled
            FROM
                `reservations`
                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
                LEFT JOIN `res_arrived` ON `res_arrived`.`ReservationID` = `reservations`.`ID`
            WHERE
                1
         AND  `reservations`.`ResDate` BETWEEN STR_TO_DATE(CONCAT(YEAR(NOW()), WEEK(NOW()), 'Monday'), '%X%V %W') AND STR_TO_DATE(CONCAT(YEAR(NOW()), WEEK(NOW())+1, 'Sunday'), '%X%V %W') 
            ORDER BY
                `reservations`.`ResDate` DESC,
                `reservations`.`ResTime` DESC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:51:01] /constantinoff/res/root/bg/resweb/num.html?_=1712393461319 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:51:07] /constantinoff/res/root/bg/resweb/num.html?_=1712393461320 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:51:07] /constantinoff/res/root/bg/reservations/from_240101.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT DISTINCT
                            `clients`.`FullName` AS ClientName
                        FROM
                            `reservations`
                            INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`

SELECT
                `reservations`.`ID`,
                `reservations`.`ResDate`,
                `reservations`.`ResTime`,
                `reservations`.`Seats`,
                `reservations`.`Specials`,
                `reservations`.`Comment` AS ResComment,
                `clients`.`Phone` AS ClientPhone,
                `clients`.`FullName` AS ClientName,
                `clients`.`Specials` AS ClientSpecials,
                `clients`.`Comment` AS ClientComment,
                `res_arrived`.`ReservationID` AS Arrived,
                `res_cancellations`.`ReservationID` AS Canceled
            FROM
                `reservations`
                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
                LEFT JOIN `res_arrived` ON `res_arrived`.`ReservationID` = `reservations`.`ID`
            WHERE
                1
         AND  `reservations`.`ResDate` >= '2024-01-01' 
            ORDER BY
                `reservations`.`ResDate` DESC,
                `reservations`.`ResTime` DESC
         LIMIT 0, 300

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26549

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26550

SELECT
                        `halls`.`HallName`,
                        `tables`.`Number` AS TableNumber
                    FROM
                        `reservation_tables`
                        INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID` AND `tables`.`Visible` = 1
                        INNER JOIN `halls` ON `halls`.`ID` = `tables`.`HallID` AND `halls`.`Visible` = 1
                    WHERE
                        `ReservationID` = 26551

set names utf8
# [06-Apr-2024 11:51:08] /constantinoff/res/root/bg/resweb/num.html?_=1712393468438 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:51:14] /constantinoff/res/root/bg/resweb/num.html?_=1712393468439 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:51:20] /constantinoff/res/root/bg/resweb/num.html?_=1712393468440 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:51:26] /constantinoff/res/root/bg/resweb/num.html?_=1712393468441 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:51:29] /constantinoff/res/root/bg/invoices.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`invoices`
            WHERE 1
        
            ORDER BY
                `invoices`.`PostDate` ASC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:51:29] /constantinoff/res/root/bg/resweb/num.html?_=1712393489875 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:51:35] /constantinoff/res/root/bg/resweb/num.html?_=1712393489876 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:51:41] /constantinoff/res/root/bg/resweb/num.html?_=1712393489877 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:51:44] /constantinoff/res/root/bg/vouchers.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

set names utf8
# [06-Apr-2024 11:51:45] /constantinoff/res/root/bg/resweb/num.html?_=1712393505256 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:51:46] /constantinoff/res/root/bg/resweb.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE 1
        
AND
`ResDate` >= CURDATE()
            ORDER BY
                `reservations`.`ResDate` ASC,
                `reservations`.`ResTime` ASC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:51:46] /constantinoff/res/root/bg/resweb/num.html?_=1712393507026 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:51:48] /constantinoff/res/root/bg/reservations/week.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT DISTINCT
                                `clients`.`FullName` AS ClientName
                            FROM
                                `reservations`
                                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                            WHERE
                                `reservations`.`ResDate` BETWEEN '2024-04-06' AND '2024-04-13'

SELECT
                `reservations`.`ID`,
                `reservations`.`ResDate`,
                `reservations`.`ResTime`,
                `reservations`.`Seats`,
                `reservations`.`Specials`,
                `reservations`.`Comment` AS ResComment,
                `clients`.`Phone` AS ClientPhone,
                `clients`.`FullName` AS ClientName,
                `clients`.`Specials` AS ClientSpecials,
                `clients`.`Comment` AS ClientComment,
                `res_arrived`.`ReservationID` AS Arrived,
                `res_cancellations`.`ReservationID` AS Canceled
            FROM
                `reservations`
                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
                LEFT JOIN `res_arrived` ON `res_arrived`.`ReservationID` = `reservations`.`ID`
            WHERE
                1
         AND  `reservations`.`ResDate` BETWEEN STR_TO_DATE(CONCAT(YEAR(NOW()), WEEK(NOW()), 'Monday'), '%X%V %W') AND STR_TO_DATE(CONCAT(YEAR(NOW()), WEEK(NOW())+1, 'Sunday'), '%X%V %W') 
            ORDER BY
                `reservations`.`ResDate` DESC,
                `reservations`.`ResTime` DESC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:51:48] /constantinoff/res/root/bg/resweb/num.html?_=1712393508770 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:51:53] /constantinoff/res/root/bg/invoices.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`invoices`
            WHERE 1
        
            ORDER BY
                `invoices`.`PostDate` ASC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:51:53] /constantinoff/res/root/bg/resweb/num.html?_=1712393513508 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:51:59] /constantinoff/res/root/bg/resweb/num.html?_=1712393513509 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:52:05] /constantinoff/res/root/bg/resweb/num.html?_=1712393513510 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:52:11] /constantinoff/res/root/bg/resweb/num.html?_=1712393513511 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:52:17] /constantinoff/res/root/bg/resweb/num.html?_=1712393513512 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:52:23] /constantinoff/res/root/bg/resweb/num.html?_=1712393513513 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:52:29] /constantinoff/res/root/bg/invoices.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`invoices`
            WHERE 1
        
            ORDER BY
                `invoices`.`PostDate` DESC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:52:29] /constantinoff/res/root/bg/resweb/num.html?_=1712393513514 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:52:29] /constantinoff/res/root/bg/resweb/num.html?_=1712393549931 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:52:35] /constantinoff/res/root/bg/resweb/num.html?_=1712393549932 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:52:41] /constantinoff/res/root/bg/resweb/num.html?_=1712393549933 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:52:44] /constantinoff/res/root/bg/invoices.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`invoices`
            WHERE 1
        
            ORDER BY
                `invoices`.`ID` DESC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:52:44] /constantinoff/res/root/bg/resweb/num.html?_=1712393564546 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:52:50] /constantinoff/res/root/bg/resweb/num.html?_=1712393564547 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:52:56] /constantinoff/res/root/bg/resweb/num.html?_=1712393564548 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:53:02] /constantinoff/res/root/bg/resweb/num.html?_=1712393564549 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:53:08] /constantinoff/res/root/bg/resweb/num.html?_=1712393564550 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:53:14] /constantinoff/res/root/bg/resweb/num.html?_=1712393564551 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:53:20] /constantinoff/res/root/bg/resweb/num.html?_=1712393564552 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:53:26] /constantinoff/res/root/bg/resweb/num.html?_=1712393564553 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:53:32] /constantinoff/res/root/bg/resweb/num.html?_=1712393564554 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:53:38] /constantinoff/res/root/bg/resweb/num.html?_=1712393564555 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:53:44] /constantinoff/res/root/bg/resweb/num.html?_=1712393564556 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:53:50] /constantinoff/res/root/bg/resweb/num.html?_=1712393564557 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:53:57] /constantinoff/res/root/bg/resweb/num.html?_=1712393564558 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:54:03] /constantinoff/res/root/bg/resweb/num.html?_=1712393564559 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:54:09] /constantinoff/res/root/bg/resweb/num.html?_=1712393564560 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:54:15] /constantinoff/res/root/bg/resweb/num.html?_=1712393564561 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:54:21] /constantinoff/res/root/bg/resweb/num.html?_=1712393564562 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:54:27] /constantinoff/res/root/bg/resweb/num.html?_=1712393564563 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:54:33] /constantinoff/res/root/bg/resweb/num.html?_=1712393564564 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:54:39] /constantinoff/res/root/bg/resweb/num.html?_=1712393564565 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:54:45] /constantinoff/res/root/bg/resweb/num.html?_=1712393564566 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:54:51] /constantinoff/res/root/bg/resweb/num.html?_=1712393564567 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:54:57] /constantinoff/res/root/bg/resweb/num.html?_=1712393564568 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:55:03] /constantinoff/res/root/bg/resweb/num.html?_=1712393564569 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:55:09] /constantinoff/res/root/bg/resweb/num.html?_=1712393564570 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:55:15] /constantinoff/res/root/bg/resweb/num.html?_=1712393564571 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:55:21] /constantinoff/res/root/bg/resweb/num.html?_=1712393564572 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:55:27] /constantinoff/res/root/bg/resweb/num.html?_=1712393564573 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:55:34] /constantinoff/res/root/bg/resweb/num.html?_=1712393564574 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:55:40] /constantinoff/res/root/bg/resweb/num.html?_=1712393564575 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:55:46] /constantinoff/res/root/bg/resweb/num.html?_=1712393564576 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:55:52] /constantinoff/res/root/bg/resweb/num.html?_=1712393564577 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:55:58] /constantinoff/res/root/bg/resweb/num.html?_=1712393564578 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:56:04] /constantinoff/res/root/bg/resweb/num.html?_=1712393564579 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:56:10] /constantinoff/res/root/bg/resweb/num.html?_=1712393564580 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:56:16] /constantinoff/res/root/bg/resweb/num.html?_=1712393564581 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:56:22] /constantinoff/res/root/bg/resweb/num.html?_=1712393564582 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:56:28] /constantinoff/res/root/bg/resweb/num.html?_=1712393564583 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:56:34] /constantinoff/res/root/bg/resweb/num.html?_=1712393564584 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:56:40] /constantinoff/res/root/bg/resweb/num.html?_=1712393564585 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:56:46] /constantinoff/res/root/bg/resweb/num.html?_=1712393564586 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:56:52] /constantinoff/res/root/bg/resweb/num.html?_=1712393564587 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:56:58] /constantinoff/res/root/bg/resweb/num.html?_=1712393564588 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:57:05] /constantinoff/res/root/bg/resweb/num.html?_=1712393564589 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:57:11] /constantinoff/res/root/bg/resweb/num.html?_=1712393564590 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:57:11] /constantinoff/res/root/bg/invoices.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`invoices`
            WHERE 1
        
            ORDER BY
                `invoices`.`ID` DESC
         LIMIT 0, 300

set names utf8
# [06-Apr-2024 11:57:11] /constantinoff/res/root/bg/resweb/num.html?_=1712393832093 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:57:17] /constantinoff/res/root/bg/resweb/num.html?_=1712393832094 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [06-Apr-2024 11:57:23] /constantinoff/res/root/bg/resweb/num.html?_=1712393832095 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0
