
set names utf8
# [09-May-2025 08:57:41] /shtastliveca/res/root/bg/resweb/num.html?_=1746769992153 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:57:47] /shtastliveca/res/root/bg/resweb/num.html?_=1746769992154 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:57:53] /shtastliveca/res/root/bg/resweb/num.html?_=1746769992155 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:57:59] /shtastliveca/res/root/bg/resweb/num.html?_=1746769992156 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:58:05] /shtastliveca/res/root/bg/resweb/num.html?_=1746769992157 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:58:11] /shtastliveca/res/root/bg/resweb/num.html?_=1746769992158 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:58:17] /shtastliveca/res/root/bg/resweb/num.html?_=1746769992159 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:58:23] /shtastliveca/res/root/bg/resweb/num.html?_=1746769992160 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:58:29] /shtastliveca/res/root/bg/resweb/num.html?_=1746769992161 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:58:35] /shtastliveca/res/root/bg/resweb/num.html?_=1746769992162 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:58:41] /shtastliveca/res/root/bg/resweb/num.html?_=1746769992163 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:58:44] /shtastliveca/res/root/bg/resweb.html 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `shtastliveca`.`reservations`
            WHERE
                `RestaurantID` = '04'
        
AND
`ResDate` >= CURDATE()
            ORDER BY
                `reservations`.`ResDate` ASC,
                `reservations`.`ResTime` ASC
         LIMIT 0, 300

set names utf8
# [09-May-2025 08:58:44] /shtastliveca/res/root/bg/resweb/num.html?_=1746770324351 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:58:50] /shtastliveca/res/root/bg/resweb/num.html?_=1746770324352 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:58:51] /shtastliveca/res/root/bg/reservations/form/wr_178.html 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `shtastliveca`.`reservations`
            WHERE
                `ID` = '178' AND
                `RestaurantID` = '04'
            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` = '2025-05-30' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '15:30:00' AND '23:59:59' /* 4 CHASA NAPRED OT POSOCHENIQ  */

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

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

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

set names utf8
# [09-May-2025 08:58:52] /shtastliveca/res/root/bg/resweb/num.html?_=1746770332056 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:58:58] /shtastliveca/res/root/bg/resweb/num.html?_=1746770332057 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:58:58] /shtastliveca/res/root/bg/clients/formres/wr_178.html 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `shtastliveca`.`reservations`
            WHERE
                `ID` = '178' AND
                `RestaurantID` = '04'
            LIMIT 1

SELECT
                `ID`,
                `Phone`,
                `FullName`,
                `OrgName`,
                `OfficePhone`,
                `Specials`,
                `Comment`
            FROM
                `clients`
            WHERE
                `Phone` = '+3598342745039'
                AND Visible = 1
            ORDER BY `FullName` ASC
            LIMIT 10

set names utf8
# [09-May-2025 08:58:59] /shtastliveca/res/root/bg/clients/insert.html 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

SHOW COLUMNS FROM clients

INSERT INTO clients SET RegDate='2025-05-09 08:58:59', LastUpdate='2025-05-09 08:58:59', Phone='+3598342745039', FullName='test test', OfficePhone='', OrgName='', Specials='K', Comment=''

set names utf8
# [09-May-2025 08:59:01] /shtastliveca/res/root/bg/tables/conflict/resid_0/time_1748626200.html 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' 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` = '2025-05-30' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '15:30:00' AND '23:59:59' /* 4 CHASA NAPRED OT POSOCHENIQ  */

set names utf8
# [09-May-2025 08:59:01] /shtastliveca/res/root/bg/reservations/insert.html 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

SHOW COLUMNS FROM reservations

INSERT INTO reservations SET PostDate='2025-05-09 08:59:01', LastUpdate='2025-05-09 08:59:01', ClientID='56', CallID='0', UserID=104, ResDate='2025-05-30', ResTime='20:30', Seats='12', Specials='K', Comment='!!! test !!!'

SELECT
                *
            FROM
                `shtastliveca`.`reservations`
            WHERE
                `ID` = '178' AND
                `RestaurantID` = '04'
            LIMIT 1

UPDATE shtastliveca.reservations SET LastUpdate='2025-05-09 08:59:01', Earnest='120', Status=1, UserID=104, ResID=41 WHERE `ID` = '178'

UPDATE shtastliveca.reservations SET LastUpdate='2025-05-09 08:59:01', Earnest='120', Status=1, UserID=104, ResID=41, Sent=2 WHERE `ID` = '178'

DELETE FROM `reservation_tables` WHERE `ReservationID` = '41'

INSERT INTO `reservation_tables`
                        (`ReservationID`, `TableID`) VALUES
                        ('41', '102')

INSERT INTO `reservation_tables`
                        (`ReservationID`, `TableID`) VALUES
                        ('41', '97')

INSERT INTO `reservation_tables`
                        (`ReservationID`, `TableID`) VALUES
                        ('41', '99')

set names utf8
# [09-May-2025 08:59:01] /shtastliveca/res/root/bg/reservations.html 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

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

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

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

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

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

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

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

set names utf8
# [09-May-2025 08:59:02] /shtastliveca/res/root/bg/resweb/num.html?_=1746770341967 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:59:08] /shtastliveca/res/root/bg/resweb/num.html?_=1746770341968 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:59:14] /shtastliveca/res/root/bg/resweb/num.html?_=1746770341969 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:59:20] /shtastliveca/res/root/bg/resweb/num.html?_=1746770341970 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:59:26] /shtastliveca/res/root/bg/resweb/num.html?_=1746770341971 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:59:32] /shtastliveca/res/root/bg/resweb/num.html?_=1746770341972 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:59:39] /shtastliveca/res/root/bg/resweb/num.html?_=1746770341973 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:59:45] /shtastliveca/res/root/bg/resweb/num.html?_=1746770341974 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:59:51] /shtastliveca/res/root/bg/resweb/num.html?_=1746770341975 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 08:59:56] /shtastliveca/res/root/bg/resweb.html 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `shtastliveca`.`reservations`
            WHERE
                `RestaurantID` = '04'
        
AND
`ResDate` >= CURDATE()
            ORDER BY
                `reservations`.`ResDate` ASC,
                `reservations`.`ResTime` ASC
         LIMIT 0, 300

set names utf8
# [09-May-2025 08:59:56] /shtastliveca/res/root/bg/resweb/num.html?_=1746770396733 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:00:02] /shtastliveca/res/root/bg/resweb/num.html?_=1746770396734 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:00:09] /shtastliveca/res/root/bg/resweb/num.html?_=1746770396735 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:00:14] /shtastliveca/res/root/bg/resweb.html 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `shtastliveca`.`reservations`
            WHERE
                `RestaurantID` = '04'
        
AND
`ResDate` >= CURDATE()
            ORDER BY
                `reservations`.`ResDate` ASC,
                `reservations`.`ResTime` ASC
         LIMIT 0, 300

set names utf8
# [09-May-2025 09:00:14] /shtastliveca/res/root/bg/resweb/num.html?_=1746770414049 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:00:20] /shtastliveca/res/root/bg/resweb/num.html?_=1746770414050 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:00:26] /shtastliveca/res/root/bg/resweb/num.html?_=1746770414051 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:00:32] /shtastliveca/res/root/bg/resweb/num.html?_=1746770414052 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:00:38] /shtastliveca/res/root/bg/resweb/num.html?_=1746770414053 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:00:44] /shtastliveca/res/root/bg/resweb/num.html?_=1746770414054 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:00:50] /shtastliveca/res/root/bg/resweb/num.html?_=1746770414055 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:00:50] /shtastliveca/res/root/bg/resweb.html 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `shtastliveca`.`reservations`
            WHERE
                `RestaurantID` = '04'
        
AND
`ResDate` >= CURDATE()
            ORDER BY
                `reservations`.`ResDate` ASC,
                `reservations`.`ResTime` ASC
         LIMIT 0, 300

set names utf8
# [09-May-2025 09:00:50] /shtastliveca/res/root/bg/resweb/num.html?_=1746770450608 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:00:56] /shtastliveca/res/root/bg/resweb/num.html?_=1746770450609 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:01:02] /shtastliveca/res/root/bg/resweb/num.html?_=1746770450610 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:01:09] /shtastliveca/res/root/bg/resweb/num.html?_=1746770450611 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:01:15] /shtastliveca/res/root/bg/resweb/num.html?_=1746770450612 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:01:16] /shtastliveca/res/root/bg/resweb.html 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `shtastliveca`.`reservations`
            WHERE
                `RestaurantID` = '04'
        
AND
`ResDate` >= CURDATE()
            ORDER BY
                `reservations`.`ResDate` ASC,
                `reservations`.`ResTime` ASC
         LIMIT 0, 300

set names utf8
# [09-May-2025 09:01:17] /shtastliveca/res/root/bg/resweb/num.html?_=1746770477049 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:01:23] /shtastliveca/res/root/bg/resweb/num.html?_=1746770477050 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:01:29] /shtastliveca/res/root/bg/resweb/num.html?_=1746770477051 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:01:35] /shtastliveca/res/root/bg/resweb/num.html?_=1746770477052 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:01:41] /shtastliveca/res/root/bg/resweb/num.html?_=1746770477053 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:01:47] /shtastliveca/res/root/bg/resweb/num.html?_=1746770477054 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:01:49] /shtastliveca/res/root/bg/resweb.html 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `shtastliveca`.`reservations`
            WHERE
                `RestaurantID` = '04'
        
AND
`ResDate` >= CURDATE()
            ORDER BY
                `reservations`.`ResDate` ASC,
                `reservations`.`ResTime` ASC
         LIMIT 0, 300

set names utf8
# [09-May-2025 09:01:49] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509790 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:01:55] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509791 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:02:01] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509792 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:02:07] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509793 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:02:14] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509794 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:02:20] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509795 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:02:26] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509796 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:02:32] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509797 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:02:38] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509798 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:02:44] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509799 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:02:50] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509800 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:02:56] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509801 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:03:02] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509802 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:03:09] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509803 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:03:15] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509804 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:03:15] /shtastliveca/res/root/bg/resweb/block/174.html 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `shtastliveca`.`reservations`
            WHERE
                `ID` = '174' AND
                `RestaurantID` = '04'
            LIMIT 1

SHOW COLUMNS FROM shtastliveca.reservations

UPDATE shtastliveca.reservations SET Sent=2 WHERE `ID` = '174'

set names utf8
# [09-May-2025 09:03:21] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509805 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:03:27] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509806 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:03:33] /shtastliveca/res/root/bg/resweb/num.html?_=1746770509807 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:03:37] /shtastliveca/res/root/bg/resweb.html 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `shtastliveca`.`reservations`
            WHERE
                `RestaurantID` = '04'
        
AND
`ResDate` >= CURDATE()
            ORDER BY
                `reservations`.`ResDate` ASC,
                `reservations`.`ResTime` ASC
         LIMIT 0, 300

set names utf8
# [09-May-2025 09:03:37] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617253 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:03:43] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617254 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:03:49] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617255 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:03:55] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617256 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:04:01] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617257 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:04:07] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617258 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:04:14] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617259 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:04:20] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617260 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:04:26] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617261 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:04:32] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617262 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:04:38] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617263 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:04:44] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617264 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:04:50] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617265 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:04:56] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617266 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:05:02] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617267 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:05:08] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617268 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:05:14] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617269 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:05:20] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617270 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:05:26] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617271 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:05:32] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617272 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:05:39] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617273 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:05:45] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617274 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:05:51] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617275 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:05:57] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617276 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:06:03] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617277 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:06:09] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617278 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:06:15] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617279 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:06:21] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617280 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:06:27] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617281 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:06:33] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617282 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:06:39] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617283 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:06:46] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617284 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:06:52] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617285 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:06:58] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617286 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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

set names utf8
# [09-May-2025 09:07:04] /shtastliveca/res/root/bg/resweb/num.html?_=1746770617287 167.99.142.201

SELECT
                                    `ID`,
                                    `FullName`,
                                    `StaffPosition`,
                                    `Access`
                                FROM
                                    `shtastliveca_rbs`.`users`
                                WHERE
                                    `ID` = '104' AND
                                    `Visible` = 1
                                LIMIT 1

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