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

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

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

set names utf8
# [12-Apr-2023 14:57:46] /constantinoff/res/root/bg/tables/shema/hallid_2/resid_812981/time_1682530200.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 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` = '2023-04-26' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '16:30:00' AND '23:59:59' /* 4 CHASA NAPRED OT POSOCHENIQ  */
         AND `reservations`.`ID` != '812981'

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

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

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

set names utf8
# [12-Apr-2023 14:57:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300551878 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
# [12-Apr-2023 14:57:47] /constantinoff/res/root/bg/tables/shema/hallid_1/resid_812981/time_1682530200.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 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` = '2023-04-26' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '16:30:00' AND '23:59:59' /* 4 CHASA NAPRED OT POSOCHENIQ  */
         AND `reservations`.`ID` != '812981'

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

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

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

set names utf8
# [12-Apr-2023 14:57:49] /constantinoff/res/root/bg/tables/shema/hallid_3/resid_812981/time_1682530200.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 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` = '2023-04-26' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '16:30:00' AND '23:59:59' /* 4 CHASA NAPRED OT POSOCHENIQ  */
         AND `reservations`.`ID` != '812981'

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

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

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

set names utf8
# [12-Apr-2023 14:57:50] /constantinoff/res/root/bg/tables/shema/hallid_4/resid_812981/time_1682530200.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 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` = '2023-04-26' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '16:30:00' AND '23:59:59' /* 4 CHASA NAPRED OT POSOCHENIQ  */
         AND `reservations`.`ID` != '812981'

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

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

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

set names utf8
# [12-Apr-2023 14:57:50] /constantinoff/res/root/bg/resweb/num.html?_=1681300657812 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
# [12-Apr-2023 14:57:51] /constantinoff/res/root/bg/tables/shema/hallid_6/resid_812981/time_1682530200.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 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` = '2023-04-26' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '16:30:00' AND '23:59:59' /* 4 CHASA NAPRED OT POSOCHENIQ  */
         AND `reservations`.`ID` != '812981'

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
# [12-Apr-2023 14:57:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300551879 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
# [12-Apr-2023 14:57:56] /constantinoff/res/root/bg/resweb/num.html?_=1681300657813 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
# [12-Apr-2023 14:57:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300551880 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
# [12-Apr-2023 14:58:02] /constantinoff/res/root/bg/resweb/num.html?_=1681300657814 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
# [12-Apr-2023 14:58:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300551881 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
# [12-Apr-2023 14:58:08] /constantinoff/res/root/bg/resweb/num.html?_=1681300657815 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
# [12-Apr-2023 14:58:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300551882 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
# [12-Apr-2023 14:58:14] /constantinoff/res/root/bg/resweb/num.html?_=1681300657816 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
# [12-Apr-2023 14:58:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300551883 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
# [12-Apr-2023 14:58:20] /constantinoff/res/root/bg/resweb/num.html?_=1681300657817 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
# [12-Apr-2023 14:58:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300551884 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
# [12-Apr-2023 14:58:26] /constantinoff/res/root/bg/resweb/num.html?_=1681300657818 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
# [12-Apr-2023 14:58:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300551885 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
# [12-Apr-2023 14:58:32] /constantinoff/res/root/bg/resweb/num.html?_=1681300657819 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
# [12-Apr-2023 14:58:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300551886 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
# [12-Apr-2023 14:58:38] /constantinoff/res/root/bg/resweb/num.html?_=1681300657820 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
# [12-Apr-2023 14:58:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300551887 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
# [12-Apr-2023 14:58:44] /constantinoff/res/root/bg/resweb/num.html?_=1681300657821 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
# [12-Apr-2023 14:58:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300551888 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
# [12-Apr-2023 14:58:50] /constantinoff/res/root/bg/resweb/num.html?_=1681300657822 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
# [12-Apr-2023 14:58:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300551889 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
# [12-Apr-2023 14:58:56] /constantinoff/res/root/bg/resweb/num.html?_=1681300657823 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
# [12-Apr-2023 14:58:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300551890 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
# [12-Apr-2023 14:59:02] /constantinoff/res/root/bg/resweb/num.html?_=1681300657824 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
# [12-Apr-2023 14:59:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300551891 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
# [12-Apr-2023 14:59:08] /constantinoff/res/root/bg/resweb/num.html?_=1681300657825 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
# [12-Apr-2023 14:59:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300551892 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
# [12-Apr-2023 14:59:14] /constantinoff/res/root/bg/resweb/num.html?_=1681300657826 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
# [12-Apr-2023 14:59:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300551893 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
# [12-Apr-2023 14:59:20] /constantinoff/res/root/bg/resweb/num.html?_=1681300657827 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
# [12-Apr-2023 14:59:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300551894 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
# [12-Apr-2023 14:59:26] /constantinoff/res/root/bg/resweb/num.html?_=1681300657828 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
# [12-Apr-2023 14:59:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300551895 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
# [12-Apr-2023 14:59:32] /constantinoff/res/root/bg/resweb/num.html?_=1681300657829 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
# [12-Apr-2023 14:59:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300551896 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
# [12-Apr-2023 14:59:38] /constantinoff/res/root/bg/resweb/num.html?_=1681300657830 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
# [12-Apr-2023 14:59:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300551897 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
# [12-Apr-2023 14:59:44] /constantinoff/res/root/bg/resweb/num.html?_=1681300657831 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
# [12-Apr-2023 14:59:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300551898 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
# [12-Apr-2023 14:59:50] /constantinoff/res/root/bg/resweb/num.html?_=1681300657832 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
# [12-Apr-2023 14:59:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300551899 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
# [12-Apr-2023 14:59:56] /constantinoff/res/root/bg/resweb/num.html?_=1681300657833 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
# [12-Apr-2023 14:59:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300551900 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
# [12-Apr-2023 15:00:02] /constantinoff/res/root/bg/resweb/num.html?_=1681300657834 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
# [12-Apr-2023 15:00:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300551901 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
# [12-Apr-2023 15:00:08] /constantinoff/res/root/bg/resweb/num.html?_=1681300657835 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
# [12-Apr-2023 15:00:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300551902 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
# [12-Apr-2023 15:00:14] /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` DESC,
                `reservations`.`ResTime` DESC
         LIMIT 0, 300

set names utf8
# [12-Apr-2023 15:00:15] /constantinoff/res/root/bg/resweb/num.html?_=1681300819880 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
# [12-Apr-2023 15:00:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300551903 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
# [12-Apr-2023 15:00:21] /constantinoff/res/root/bg/resweb/num.html?_=1681300819881 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
# [12-Apr-2023 15:00:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300551904 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
# [12-Apr-2023 15:00:27] /constantinoff/res/root/bg/resweb/num.html?_=1681300819882 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
# [12-Apr-2023 15:00:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300551905 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
# [12-Apr-2023 15:00:33] /constantinoff/res/root/bg/resweb/num.html?_=1681300819883 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
# [12-Apr-2023 15:00:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300551906 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
# [12-Apr-2023 15:00:39] /constantinoff/res/root/bg/resweb/num.html?_=1681300819884 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
# [12-Apr-2023 15:00:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300551907 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
# [12-Apr-2023 15:00:45] /constantinoff/res/root/bg/resweb/num.html?_=1681300819885 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
# [12-Apr-2023 15:00:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300551908 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
# [12-Apr-2023 15:00:51] /constantinoff/res/root/bg/resweb/num.html?_=1681300819886 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
# [12-Apr-2023 15:00:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300551909 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
# [12-Apr-2023 15:00:57] /constantinoff/res/root/bg/resweb/num.html?_=1681300819887 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
# [12-Apr-2023 15:00:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300551910 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
# [12-Apr-2023 15:01:03] /constantinoff/res/root/bg/resweb/num.html?_=1681300819888 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
# [12-Apr-2023 15:01:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300551911 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
# [12-Apr-2023 15:01:09] /constantinoff/res/root/bg/resweb/num.html?_=1681300819889 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
# [12-Apr-2023 15:01:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300551912 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
# [12-Apr-2023 15:01:15] /constantinoff/res/root/bg/resweb/num.html?_=1681300819890 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
# [12-Apr-2023 15:01:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300551913 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
# [12-Apr-2023 15:01:21] /constantinoff/res/root/bg/resweb/num.html?_=1681300819891 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
# [12-Apr-2023 15:01:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300551914 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
# [12-Apr-2023 15:01:27] /constantinoff/res/root/bg/resweb/num.html?_=1681300819892 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
# [12-Apr-2023 15:01:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300551915 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
# [12-Apr-2023 15:01:33] /constantinoff/res/root/bg/resweb/num.html?_=1681300819893 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
# [12-Apr-2023 15:01:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300551916 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
# [12-Apr-2023 15:01:39] /constantinoff/res/root/bg/resweb/num.html?_=1681300819894 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
# [12-Apr-2023 15:01:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300551917 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
# [12-Apr-2023 15:01:43] /constantinoff/res/root/bg/resweb/form/812981.html 167.99.142.201

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

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE
                `ID` = '812981'
            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` = '2023-04-26' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '16:30:00' AND '23:59:59' /* 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
# [12-Apr-2023 15:01:43] /constantinoff/res/root/bg/resweb/num.html?_=1681300908738 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
# [12-Apr-2023 15:01:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300551918 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
# [12-Apr-2023 15:01:49] /constantinoff/res/root/bg/resweb/num.html?_=1681300908739 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
# [12-Apr-2023 15:01:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300551919 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
# [12-Apr-2023 15:01:55] /constantinoff/res/root/bg/resweb/num.html?_=1681300908740 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
# [12-Apr-2023 15:01:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300551920 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
# [12-Apr-2023 15:02:01] /constantinoff/res/root/bg/resweb/num.html?_=1681300908741 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
# [12-Apr-2023 15:02:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300551921 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
# [12-Apr-2023 15:02:07] /constantinoff/res/root/bg/resweb/num.html?_=1681300908742 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
# [12-Apr-2023 15:02:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300551922 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
# [12-Apr-2023 15:02:13] /constantinoff/res/root/bg/resweb/num.html?_=1681300908743 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
# [12-Apr-2023 15:02:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300551923 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
# [12-Apr-2023 15:02:19] /constantinoff/res/root/bg/resweb/num.html?_=1681300908744 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
# [12-Apr-2023 15:02:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300551924 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
# [12-Apr-2023 15:02:25] /constantinoff/res/root/bg/resweb/num.html?_=1681300908745 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
# [12-Apr-2023 15:02:26] /constantinoff/res/root/bg/resweb/form/812981.html 167.99.142.201

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

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE
                `ID` = '812981'
            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` = '2023-04-26' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '16:30:00' AND '23:59:59' /* 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
# [12-Apr-2023 15:02:26] /constantinoff/res/root/bg/resweb/num.html?_=1681300951712 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
# [12-Apr-2023 15:02:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300551925 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
# [12-Apr-2023 15:02:32] /constantinoff/res/root/bg/resweb/num.html?_=1681300951713 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
# [12-Apr-2023 15:02:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300551926 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
# [12-Apr-2023 15:02:38] /constantinoff/res/root/bg/resweb/num.html?_=1681300951714 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
# [12-Apr-2023 15:02:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300551927 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
# [12-Apr-2023 15:02:44] /constantinoff/res/root/bg/resweb/num.html?_=1681300951715 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
# [12-Apr-2023 15:02:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300551928 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
# [12-Apr-2023 15:02:50] /constantinoff/res/root/bg/resweb/num.html?_=1681300951716 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
# [12-Apr-2023 15:02:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300551929 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
# [12-Apr-2023 15:02:55] /constantinoff/res/root/bg/resweb/form/812981.html 167.99.142.201

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

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE
                `ID` = '812981'
            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` = '2023-04-26' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '16:30:00' AND '23:59:59' /* 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
# [12-Apr-2023 15:02:55] /constantinoff/res/root/bg/resweb/num.html?_=1681300980505 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
# [12-Apr-2023 15:02:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300551930 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
# [12-Apr-2023 15:03:01] /constantinoff/res/root/bg/resweb/num.html?_=1681300980506 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
# [12-Apr-2023 15:03:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300551931 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
# [12-Apr-2023 15:03:07] /constantinoff/res/root/bg/resweb/num.html?_=1681300980507 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
# [12-Apr-2023 15:03:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300551932 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
# [12-Apr-2023 15:03:13] /constantinoff/res/root/bg/resweb/num.html?_=1681300980508 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
# [12-Apr-2023 15:03:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300551933 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
# [12-Apr-2023 15:03:19] /constantinoff/res/root/bg/resweb/num.html?_=1681300980509 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
# [12-Apr-2023 15:03:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300551934 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
# [12-Apr-2023 15:03:25] /constantinoff/res/root/bg/resweb/num.html?_=1681300980510 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
# [12-Apr-2023 15:03:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300551935 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
# [12-Apr-2023 15:03:31] /constantinoff/res/root/bg/resweb/num.html?_=1681300980511 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
# [12-Apr-2023 15:03:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300551936 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
# [12-Apr-2023 15:03:37] /constantinoff/res/root/bg/resweb/num.html?_=1681300980512 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
# [12-Apr-2023 15:03:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300551937 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
# [12-Apr-2023 15:03:43] /constantinoff/res/root/bg/resweb/num.html?_=1681300980513 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
# [12-Apr-2023 15:03:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300551938 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
# [12-Apr-2023 15:03:49] /constantinoff/res/root/bg/resweb/num.html?_=1681300980514 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
# [12-Apr-2023 15:03:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300551939 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
# [12-Apr-2023 15:03:55] /constantinoff/res/root/bg/resweb/num.html?_=1681300980515 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
# [12-Apr-2023 15:03:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300551940 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
# [12-Apr-2023 15:04:01] /constantinoff/res/root/bg/resweb/num.html?_=1681300980516 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
# [12-Apr-2023 15:04:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300551941 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
# [12-Apr-2023 15:04:07] /constantinoff/res/root/bg/resweb/num.html?_=1681300980517 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
# [12-Apr-2023 15:04:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300551942 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
# [12-Apr-2023 15:04:13] /constantinoff/res/root/bg/resweb/num.html?_=1681300980518 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
# [12-Apr-2023 15:04:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300551943 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
# [12-Apr-2023 15:04:19] /constantinoff/res/root/bg/resweb/num.html?_=1681300980519 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
# [12-Apr-2023 15:04:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300551944 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
# [12-Apr-2023 15:04:25] /constantinoff/res/root/bg/resweb/num.html?_=1681300980520 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
# [12-Apr-2023 15:04:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300551945 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
# [12-Apr-2023 15:04:31] /constantinoff/res/root/bg/resweb/num.html?_=1681300980521 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
# [12-Apr-2023 15:04:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300551946 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
# [12-Apr-2023 15:04:37] /constantinoff/res/root/bg/resweb/num.html?_=1681300980522 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
# [12-Apr-2023 15:04:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300551947 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
# [12-Apr-2023 15:04:43] /constantinoff/res/root/bg/resweb/num.html?_=1681300980523 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
# [12-Apr-2023 15:04:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300551948 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
# [12-Apr-2023 15:04:49] /constantinoff/res/root/bg/resweb/num.html?_=1681300980524 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
# [12-Apr-2023 15:04:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300551949 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
# [12-Apr-2023 15:04:55] /constantinoff/res/root/bg/resweb/num.html?_=1681300980525 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
# [12-Apr-2023 15:04:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300551950 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
# [12-Apr-2023 15:05:01] /constantinoff/res/root/bg/resweb/num.html?_=1681300980526 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
# [12-Apr-2023 15:05:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300551951 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
# [12-Apr-2023 15:05:07] /constantinoff/res/root/bg/resweb/num.html?_=1681300980527 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
# [12-Apr-2023 15:05:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300551952 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
# [12-Apr-2023 15:05:13] /constantinoff/res/root/bg/resweb/num.html?_=1681300980528 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
# [12-Apr-2023 15:05:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300551953 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
# [12-Apr-2023 15:05:19] /constantinoff/res/root/bg/resweb/num.html?_=1681300980529 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
# [12-Apr-2023 15:05:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300551954 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
# [12-Apr-2023 15:05:25] /constantinoff/res/root/bg/resweb/num.html?_=1681300980530 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
# [12-Apr-2023 15:05:26] /constantinoff/res/root/bg/resweb/form/812981.html 167.99.142.201

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

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE
                `ID` = '812981'
            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` = '2023-04-26' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '16:30:00' AND '23:59:59' /* 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
# [12-Apr-2023 15:05:26] /constantinoff/res/root/bg/resweb/num.html?_=1681301131350 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
# [12-Apr-2023 15:05:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300551955 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
# [12-Apr-2023 15:05:32] /constantinoff/res/root/bg/resweb/num.html?_=1681301131351 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
# [12-Apr-2023 15:05:32] /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` DESC,
                `reservations`.`ResTime` DESC
         LIMIT 0, 300

set names utf8
# [12-Apr-2023 15:05:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301137863 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
# [12-Apr-2023 15:05:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300551956 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
# [12-Apr-2023 15:05:36] /constantinoff/res/root/bg/resweb/form/812979.html 167.99.142.201

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

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE
                `ID` = '812979'
            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` = '2023-04-19' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '09:30:00' AND '17:30: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
# [12-Apr-2023 15:05:36] /constantinoff/res/root/bg/resweb/num.html?_=1681301141194 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
# [12-Apr-2023 15:05:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300551957 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
# [12-Apr-2023 15:05:43] /constantinoff/res/root/bg/resweb/num.html?_=1681301141195 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
# [12-Apr-2023 15:05:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300551958 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
# [12-Apr-2023 15:05:49] /constantinoff/res/root/bg/resweb/num.html?_=1681301141196 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
# [12-Apr-2023 15:05:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300551959 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
# [12-Apr-2023 15:05:55] /constantinoff/res/root/bg/resweb/num.html?_=1681301141197 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
# [12-Apr-2023 15:05:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300551960 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
# [12-Apr-2023 15:06:01] /constantinoff/res/root/bg/resweb/num.html?_=1681301141198 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
# [12-Apr-2023 15:06:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300551961 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
# [12-Apr-2023 15:06:07] /constantinoff/res/root/bg/resweb/num.html?_=1681301141199 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
# [12-Apr-2023 15:06:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300551962 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
# [12-Apr-2023 15:06:13] /constantinoff/res/root/bg/resweb/num.html?_=1681301141200 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
# [12-Apr-2023 15:06:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300551963 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
# [12-Apr-2023 15:06:19] /constantinoff/res/root/bg/resweb/num.html?_=1681301141201 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
# [12-Apr-2023 15:06:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300551964 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
# [12-Apr-2023 15:06:25] /constantinoff/res/root/bg/resweb/num.html?_=1681301141202 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
# [12-Apr-2023 15:06:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300551965 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
# [12-Apr-2023 15:06:31] /constantinoff/res/root/bg/resweb/num.html?_=1681301141203 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
# [12-Apr-2023 15:06:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300551966 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
# [12-Apr-2023 15:06:37] /constantinoff/res/root/bg/resweb/num.html?_=1681301141204 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
# [12-Apr-2023 15:06:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300551967 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
# [12-Apr-2023 15:06:43] /constantinoff/res/root/bg/resweb/num.html?_=1681301141205 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
# [12-Apr-2023 15:06:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300551968 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
# [12-Apr-2023 15:06:49] /constantinoff/res/root/bg/resweb/num.html?_=1681301141206 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
# [12-Apr-2023 15:06:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300551969 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
# [12-Apr-2023 15:06:55] /constantinoff/res/root/bg/resweb/num.html?_=1681301141207 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
# [12-Apr-2023 15:06:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300551970 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
# [12-Apr-2023 15:07:01] /constantinoff/res/root/bg/resweb/num.html?_=1681301141208 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
# [12-Apr-2023 15:07:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300551971 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
# [12-Apr-2023 15:07:07] /constantinoff/res/root/bg/resweb/num.html?_=1681301141209 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
# [12-Apr-2023 15:07:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300551972 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
# [12-Apr-2023 15:07:13] /constantinoff/res/root/bg/resweb/num.html?_=1681301141210 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
# [12-Apr-2023 15:07:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300551973 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
# [12-Apr-2023 15:07:19] /constantinoff/res/root/bg/resweb/num.html?_=1681301141211 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
# [12-Apr-2023 15:07:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300551974 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
# [12-Apr-2023 15:07:25] /constantinoff/res/root/bg/resweb/num.html?_=1681301141212 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
# [12-Apr-2023 15:07:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300551975 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
# [12-Apr-2023 15:07:31] /constantinoff/res/root/bg/resweb/num.html?_=1681301141213 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
# [12-Apr-2023 15:07:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300551976 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
# [12-Apr-2023 15:07:37] /constantinoff/res/root/bg/resweb/num.html?_=1681301141214 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
# [12-Apr-2023 15:07:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300551977 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
# [12-Apr-2023 15:07:43] /constantinoff/res/root/bg/resweb/num.html?_=1681301141215 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
# [12-Apr-2023 15:07:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300551978 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
# [12-Apr-2023 15:07:49] /constantinoff/res/root/bg/resweb/num.html?_=1681301141216 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
# [12-Apr-2023 15:07:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300551979 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
# [12-Apr-2023 15:07:55] /constantinoff/res/root/bg/resweb/num.html?_=1681301141217 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
# [12-Apr-2023 15:07:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300551980 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
# [12-Apr-2023 15:08:01] /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` = '2023-04-12' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '11:08:00' AND '19:08: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
# [12-Apr-2023 15:08:01] /constantinoff/res/root/bg/resweb/num.html?_=1681301141218 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
# [12-Apr-2023 15:08:01] /constantinoff/res/root/bg/resweb/num.html?_=1681301286391 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
# [12-Apr-2023 15:08:04] /constantinoff/res/root/bg/clients/formres/0.html 167.99.142.201

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

set names utf8
# [12-Apr-2023 15:08:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300551981 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
# [12-Apr-2023 15:08:07] /constantinoff/res/root/bg/resweb/num.html?_=1681301286392 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
# [12-Apr-2023 15:08:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300551982 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
# [12-Apr-2023 15:08:13] /constantinoff/res/root/bg/resweb/num.html?_=1681301286393 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
# [12-Apr-2023 15:08:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300551983 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
# [12-Apr-2023 15:08:19] /constantinoff/res/root/bg/resweb/num.html?_=1681301286394 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
# [12-Apr-2023 15:08:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300551984 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
# [12-Apr-2023 15:08:23] /constantinoff/res/root/bg/clients/formres/0.html 167.99.142.201

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

set names utf8
# [12-Apr-2023 15:08:25] /constantinoff/res/root/bg/resweb/num.html?_=1681301286395 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
# [12-Apr-2023 15:08:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300551985 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
# [12-Apr-2023 15:08:31] /constantinoff/res/root/bg/resweb/num.html?_=1681301286396 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
# [12-Apr-2023 15:08:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300551986 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
# [12-Apr-2023 15:08:37] /constantinoff/res/root/bg/resweb/num.html?_=1681301286397 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
# [12-Apr-2023 15:08:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300551987 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
# [12-Apr-2023 15:08:43] /constantinoff/res/root/bg/resweb/num.html?_=1681301286398 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
# [12-Apr-2023 15:08:44] /constantinoff/res/root/bg/resweb/form/812979.html 167.99.142.201

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

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE
                `ID` = '812979'
            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` = '2023-04-19' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '09:30:00' AND '17:30: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
# [12-Apr-2023 15:08:44] /constantinoff/res/root/bg/resweb/num.html?_=1681301329610 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
# [12-Apr-2023 15:08:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300551988 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
# [12-Apr-2023 15:08:50] /constantinoff/res/root/bg/resweb/num.html?_=1681301329611 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
# [12-Apr-2023 15:08:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300551989 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
# [12-Apr-2023 15:08:56] /constantinoff/res/root/bg/resweb/num.html?_=1681301329612 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
# [12-Apr-2023 15:08:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300551990 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
# [12-Apr-2023 15:09:02] /constantinoff/res/root/bg/resweb/num.html?_=1681301329613 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
# [12-Apr-2023 15:09:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300551991 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
# [12-Apr-2023 15:09:08] /constantinoff/res/root/bg/resweb/num.html?_=1681301329614 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
# [12-Apr-2023 15:09:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300551992 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
# [12-Apr-2023 15:09:14] /constantinoff/res/root/bg/resweb/num.html?_=1681301329615 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
# [12-Apr-2023 15:09:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300551993 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
# [12-Apr-2023 15:09:20] /constantinoff/res/root/bg/resweb/num.html?_=1681301329616 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
# [12-Apr-2023 15:09:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300551994 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
# [12-Apr-2023 15:09:26] /constantinoff/res/root/bg/resweb/num.html?_=1681301329617 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
# [12-Apr-2023 15:09:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300551995 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
# [12-Apr-2023 15:09:32] /constantinoff/res/root/bg/resweb/num.html?_=1681301329618 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
# [12-Apr-2023 15:09:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300551996 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
# [12-Apr-2023 15:09:38] /constantinoff/res/root/bg/resweb/num.html?_=1681301329619 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
# [12-Apr-2023 15:09:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300551997 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
# [12-Apr-2023 15:09:44] /constantinoff/res/root/bg/resweb/num.html?_=1681301329620 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
# [12-Apr-2023 15:09:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300551998 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
# [12-Apr-2023 15:09:50] /constantinoff/res/root/bg/resweb/num.html?_=1681301329621 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
# [12-Apr-2023 15:09:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300551999 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
# [12-Apr-2023 15:09:56] /constantinoff/res/root/bg/resweb/num.html?_=1681301329622 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
# [12-Apr-2023 15:09:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552000 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
# [12-Apr-2023 15:10:02] /constantinoff/res/root/bg/resweb/num.html?_=1681301329623 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
# [12-Apr-2023 15:10:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552001 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
# [12-Apr-2023 15:10:08] /constantinoff/res/root/bg/resweb/num.html?_=1681301329624 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
# [12-Apr-2023 15:10:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552002 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
# [12-Apr-2023 15:10:14] /constantinoff/res/root/bg/resweb/num.html?_=1681301329625 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
# [12-Apr-2023 15:10:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552003 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
# [12-Apr-2023 15:10:20] /constantinoff/res/root/bg/resweb/num.html?_=1681301329626 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
# [12-Apr-2023 15:10:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552004 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
# [12-Apr-2023 15:10:26] /constantinoff/res/root/bg/resweb/num.html?_=1681301329627 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
# [12-Apr-2023 15:10:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552005 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
# [12-Apr-2023 15:10:32] /constantinoff/res/root/bg/resweb/num.html?_=1681301329628 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
# [12-Apr-2023 15:10:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552006 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
# [12-Apr-2023 15:10:38] /constantinoff/res/root/bg/resweb/num.html?_=1681301329629 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
# [12-Apr-2023 15:10:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552007 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
# [12-Apr-2023 15:10:44] /constantinoff/res/root/bg/resweb/num.html?_=1681301329630 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
# [12-Apr-2023 15:10:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552008 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
# [12-Apr-2023 15:10:50] /constantinoff/res/root/bg/resweb/num.html?_=1681301329631 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
# [12-Apr-2023 15:10:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552009 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
# [12-Apr-2023 15:10:56] /constantinoff/res/root/bg/resweb/num.html?_=1681301329632 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
# [12-Apr-2023 15:10:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552010 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
# [12-Apr-2023 15:11:02] /constantinoff/res/root/bg/resweb/num.html?_=1681301329633 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
# [12-Apr-2023 15:11:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552011 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
# [12-Apr-2023 15:11:08] /constantinoff/res/root/bg/resweb/num.html?_=1681301329634 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
# [12-Apr-2023 15:11:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552012 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
# [12-Apr-2023 15:11:14] /constantinoff/res/root/bg/resweb/num.html?_=1681301329635 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
# [12-Apr-2023 15:11:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552013 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
# [12-Apr-2023 15:11:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329636 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
# [12-Apr-2023 15:11:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552014 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
# [12-Apr-2023 15:11:26] /constantinoff/res/root/bg/resweb/num.html?_=1681301329637 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
# [12-Apr-2023 15:11:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552015 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
# [12-Apr-2023 15:11:32] /constantinoff/res/root/bg/resweb/num.html?_=1681301329638 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
# [12-Apr-2023 15:11:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552016 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
# [12-Apr-2023 15:11:38] /constantinoff/res/root/bg/resweb/num.html?_=1681301329639 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
# [12-Apr-2023 15:11:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552017 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
# [12-Apr-2023 15:11:44] /constantinoff/res/root/bg/resweb/num.html?_=1681301329640 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
# [12-Apr-2023 15:11:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552018 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
# [12-Apr-2023 15:11:50] /constantinoff/res/root/bg/resweb/num.html?_=1681301329641 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
# [12-Apr-2023 15:11:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552019 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
# [12-Apr-2023 15:11:56] /constantinoff/res/root/bg/resweb/num.html?_=1681301329642 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
# [12-Apr-2023 15:11:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552020 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
# [12-Apr-2023 15:12:02] /constantinoff/res/root/bg/resweb/num.html?_=1681301329643 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
# [12-Apr-2023 15:12:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552021 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
# [12-Apr-2023 15:12:08] /constantinoff/res/root/bg/resweb/num.html?_=1681301329644 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
# [12-Apr-2023 15:12:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552022 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
# [12-Apr-2023 15:12:14] /constantinoff/res/root/bg/resweb/num.html?_=1681301329645 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
# [12-Apr-2023 15:12:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552023 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
# [12-Apr-2023 15:12:20] /constantinoff/res/root/bg/resweb/num.html?_=1681301329646 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
# [12-Apr-2023 15:12:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552024 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
# [12-Apr-2023 15:12:26] /constantinoff/res/root/bg/resweb/num.html?_=1681301329647 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
# [12-Apr-2023 15:12:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552025 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
# [12-Apr-2023 15:12:32] /constantinoff/res/root/bg/resweb/num.html?_=1681301329648 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
# [12-Apr-2023 15:12:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552026 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
# [12-Apr-2023 15:12:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329649 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
# [12-Apr-2023 15:12:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552027 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
# [12-Apr-2023 15:12:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329650 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
# [12-Apr-2023 15:12:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552028 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
# [12-Apr-2023 15:12:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329651 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
# [12-Apr-2023 15:12:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552029 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
# [12-Apr-2023 15:12:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329652 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
# [12-Apr-2023 15:12:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552030 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
# [12-Apr-2023 15:13:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329653 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
# [12-Apr-2023 15:13:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552031 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
# [12-Apr-2023 15:13:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329654 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
# [12-Apr-2023 15:13:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552032 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
# [12-Apr-2023 15:13:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329655 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
# [12-Apr-2023 15:13:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552033 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
# [12-Apr-2023 15:13:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329656 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
# [12-Apr-2023 15:13:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552034 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
# [12-Apr-2023 15:13:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329657 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
# [12-Apr-2023 15:13:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552035 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
# [12-Apr-2023 15:13:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329658 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
# [12-Apr-2023 15:13:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552036 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
# [12-Apr-2023 15:13:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329659 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
# [12-Apr-2023 15:13:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552037 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
# [12-Apr-2023 15:13:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329660 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
# [12-Apr-2023 15:13:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552038 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
# [12-Apr-2023 15:13:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329661 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
# [12-Apr-2023 15:13:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552039 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
# [12-Apr-2023 15:13:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329662 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
# [12-Apr-2023 15:13:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552040 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
# [12-Apr-2023 15:14:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329663 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
# [12-Apr-2023 15:14:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552041 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
# [12-Apr-2023 15:14:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329664 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
# [12-Apr-2023 15:14:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552042 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
# [12-Apr-2023 15:14:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329665 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
# [12-Apr-2023 15:14:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552043 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
# [12-Apr-2023 15:14:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329666 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
# [12-Apr-2023 15:14:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552044 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
# [12-Apr-2023 15:14:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329667 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
# [12-Apr-2023 15:14:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552045 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
# [12-Apr-2023 15:14:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329668 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
# [12-Apr-2023 15:14:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552046 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
# [12-Apr-2023 15:14:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329669 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
# [12-Apr-2023 15:14:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552047 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
# [12-Apr-2023 15:14:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329670 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
# [12-Apr-2023 15:14:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552048 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
# [12-Apr-2023 15:14:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329671 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
# [12-Apr-2023 15:14:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552049 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
# [12-Apr-2023 15:14:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329672 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
# [12-Apr-2023 15:14:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552050 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
# [12-Apr-2023 15:15:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329673 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
# [12-Apr-2023 15:15:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552051 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
# [12-Apr-2023 15:15:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329674 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
# [12-Apr-2023 15:15:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552052 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
# [12-Apr-2023 15:15:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329675 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
# [12-Apr-2023 15:15:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552053 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
# [12-Apr-2023 15:15:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329676 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
# [12-Apr-2023 15:15:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552054 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
# [12-Apr-2023 15:15:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329677 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
# [12-Apr-2023 15:15:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552055 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
# [12-Apr-2023 15:15:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329678 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
# [12-Apr-2023 15:15:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552056 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
# [12-Apr-2023 15:15:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329679 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
# [12-Apr-2023 15:15:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552057 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
# [12-Apr-2023 15:15:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329680 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
# [12-Apr-2023 15:15:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552058 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
# [12-Apr-2023 15:15:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329681 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
# [12-Apr-2023 15:15:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552059 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
# [12-Apr-2023 15:15:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329682 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
# [12-Apr-2023 15:15:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552060 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
# [12-Apr-2023 15:16:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329683 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
# [12-Apr-2023 15:16:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552061 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
# [12-Apr-2023 15:16:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329684 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
# [12-Apr-2023 15:16:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552062 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
# [12-Apr-2023 15:16:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329685 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
# [12-Apr-2023 15:16:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552063 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
# [12-Apr-2023 15:16:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329686 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
# [12-Apr-2023 15:16:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552064 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
# [12-Apr-2023 15:16:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329687 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
# [12-Apr-2023 15:16:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552065 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
# [12-Apr-2023 15:16:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329688 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
# [12-Apr-2023 15:16:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552066 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
# [12-Apr-2023 15:16:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329689 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
# [12-Apr-2023 15:16:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552067 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
# [12-Apr-2023 15:16:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329690 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
# [12-Apr-2023 15:16:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552068 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
# [12-Apr-2023 15:16:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329691 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
# [12-Apr-2023 15:16:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552069 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
# [12-Apr-2023 15:16:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329692 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
# [12-Apr-2023 15:16:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552070 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
# [12-Apr-2023 15:17:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329693 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
# [12-Apr-2023 15:17:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552071 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
# [12-Apr-2023 15:17:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329694 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
# [12-Apr-2023 15:17:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552072 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
# [12-Apr-2023 15:17:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329695 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
# [12-Apr-2023 15:17:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552073 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
# [12-Apr-2023 15:17:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329696 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
# [12-Apr-2023 15:17:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552074 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
# [12-Apr-2023 15:17:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329697 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
# [12-Apr-2023 15:17:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552075 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
# [12-Apr-2023 15:17:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329698 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
# [12-Apr-2023 15:17:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552076 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
# [12-Apr-2023 15:17:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329699 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
# [12-Apr-2023 15:17:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552077 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
# [12-Apr-2023 15:17:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329700 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
# [12-Apr-2023 15:17:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552078 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
# [12-Apr-2023 15:17:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329701 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
# [12-Apr-2023 15:17:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552079 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
# [12-Apr-2023 15:17:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329702 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
# [12-Apr-2023 15:17:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552080 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
# [12-Apr-2023 15:18:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329703 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
# [12-Apr-2023 15:18:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552081 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
# [12-Apr-2023 15:18:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329704 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
# [12-Apr-2023 15:18:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552082 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
# [12-Apr-2023 15:18:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329705 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
# [12-Apr-2023 15:18:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552083 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
# [12-Apr-2023 15:18:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329706 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
# [12-Apr-2023 15:18:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552084 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
# [12-Apr-2023 15:18:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329707 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
# [12-Apr-2023 15:18:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552085 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
# [12-Apr-2023 15:18:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329708 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
# [12-Apr-2023 15:18:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552086 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
# [12-Apr-2023 15:18:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329709 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
# [12-Apr-2023 15:18:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552087 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
# [12-Apr-2023 15:18:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329710 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
# [12-Apr-2023 15:18:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552088 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
# [12-Apr-2023 15:18:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329711 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
# [12-Apr-2023 15:18:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552089 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
# [12-Apr-2023 15:18:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329712 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
# [12-Apr-2023 15:18:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552090 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
# [12-Apr-2023 15:19:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329713 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
# [12-Apr-2023 15:19:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552091 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
# [12-Apr-2023 15:19:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329714 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
# [12-Apr-2023 15:19:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552092 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
# [12-Apr-2023 15:19:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329715 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
# [12-Apr-2023 15:19:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552093 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
# [12-Apr-2023 15:19:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329716 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
# [12-Apr-2023 15:19:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552094 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
# [12-Apr-2023 15:19:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329717 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
# [12-Apr-2023 15:19:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552095 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
# [12-Apr-2023 15:19:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329718 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
# [12-Apr-2023 15:19:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552096 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
# [12-Apr-2023 15:19:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329719 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
# [12-Apr-2023 15:19:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552097 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
# [12-Apr-2023 15:19:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329720 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
# [12-Apr-2023 15:19:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552098 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
# [12-Apr-2023 15:19:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329721 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
# [12-Apr-2023 15:19:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552099 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
# [12-Apr-2023 15:19:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329722 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
# [12-Apr-2023 15:19:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552100 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
# [12-Apr-2023 15:20:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329723 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
# [12-Apr-2023 15:20:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552101 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
# [12-Apr-2023 15:20:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329724 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
# [12-Apr-2023 15:20:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552102 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
# [12-Apr-2023 15:20:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329725 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
# [12-Apr-2023 15:20:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552103 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
# [12-Apr-2023 15:20:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329726 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
# [12-Apr-2023 15:20:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552104 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
# [12-Apr-2023 15:20:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329727 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
# [12-Apr-2023 15:20:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552105 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
# [12-Apr-2023 15:20:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329728 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
# [12-Apr-2023 15:20:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552106 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
# [12-Apr-2023 15:20:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329729 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
# [12-Apr-2023 15:20:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552107 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
# [12-Apr-2023 15:20:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329730 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
# [12-Apr-2023 15:20:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552108 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
# [12-Apr-2023 15:20:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329731 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
# [12-Apr-2023 15:20:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552109 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
# [12-Apr-2023 15:20:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329732 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
# [12-Apr-2023 15:20:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552110 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
# [12-Apr-2023 15:21:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329733 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
# [12-Apr-2023 15:21:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552111 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
# [12-Apr-2023 15:21:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329734 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
# [12-Apr-2023 15:21:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552112 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
# [12-Apr-2023 15:21:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329735 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
# [12-Apr-2023 15:21:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552113 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
# [12-Apr-2023 15:21:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329736 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
# [12-Apr-2023 15:21:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552114 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
# [12-Apr-2023 15:21:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329737 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
# [12-Apr-2023 15:21:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552115 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
# [12-Apr-2023 15:21:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329738 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
# [12-Apr-2023 15:21:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552116 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
# [12-Apr-2023 15:21:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329739 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
# [12-Apr-2023 15:21:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552117 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
# [12-Apr-2023 15:21:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329740 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
# [12-Apr-2023 15:21:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552118 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
# [12-Apr-2023 15:21:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329741 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
# [12-Apr-2023 15:21:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552119 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
# [12-Apr-2023 15:21:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329742 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
# [12-Apr-2023 15:21:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552120 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
# [12-Apr-2023 15:22:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329743 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
# [12-Apr-2023 15:22:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552121 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
# [12-Apr-2023 15:22:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329744 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
# [12-Apr-2023 15:22:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552122 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
# [12-Apr-2023 15:22:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329745 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
# [12-Apr-2023 15:22:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552123 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
# [12-Apr-2023 15:22:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329746 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
# [12-Apr-2023 15:22:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552124 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
# [12-Apr-2023 15:22:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329747 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
# [12-Apr-2023 15:22:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552125 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
# [12-Apr-2023 15:22:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329748 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
# [12-Apr-2023 15:22:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552126 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
# [12-Apr-2023 15:22:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329749 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
# [12-Apr-2023 15:22:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552127 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
# [12-Apr-2023 15:22:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329750 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
# [12-Apr-2023 15:22:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552128 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
# [12-Apr-2023 15:22:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329751 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
# [12-Apr-2023 15:22:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552129 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
# [12-Apr-2023 15:22:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329752 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
# [12-Apr-2023 15:22:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552130 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
# [12-Apr-2023 15:23:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329753 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
# [12-Apr-2023 15:23:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552131 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
# [12-Apr-2023 15:23:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329754 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
# [12-Apr-2023 15:23:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552132 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
# [12-Apr-2023 15:23:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329755 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
# [12-Apr-2023 15:23:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552133 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
# [12-Apr-2023 15:23:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329756 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
# [12-Apr-2023 15:23:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552134 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
# [12-Apr-2023 15:23:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329757 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
# [12-Apr-2023 15:23:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552135 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
# [12-Apr-2023 15:23:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329758 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
# [12-Apr-2023 15:23:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552136 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
# [12-Apr-2023 15:23:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329759 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
# [12-Apr-2023 15:23:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552137 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
# [12-Apr-2023 15:23:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329760 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
# [12-Apr-2023 15:23:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552138 167.99.142.201

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

