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

set names utf8
# [29-Oct-2024 15:47:22] /aria/root/bg/resweb/num.html?_=1730209560728 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:47:28] /aria/root/bg/resweb/num.html?_=1730209560729 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:47:34] /aria/root/bg/resweb/num.html?_=1730209560730 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:47:40] /aria/root/bg/resweb/num.html?_=1730209560731 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:47:46] /aria/root/bg/reservations/form.html 167.99.142.201

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

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

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 15:47:47] /aria/root/bg/resweb/num.html?_=1730209667091 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:47:53] /aria/root/bg/resweb/num.html?_=1730209667092 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:47:55] /aria/root/bg/reservations/form.html 167.99.142.201

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

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

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 15:47:55] /aria/root/bg/resweb/num.html?_=1730209675582 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:48:01] /aria/root/bg/reservations/form.html 167.99.142.201

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

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

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 15:48:01] /aria/root/bg/resweb/num.html?_=1730209681317 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:48:07] /aria/root/bg/resweb/num.html?_=1730209681318 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:48:13] /aria/root/bg/resweb/num.html?_=1730209681319 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:48:19] /aria/root/bg/resweb/num.html?_=1730209681320 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:48:25] /aria/root/bg/resweb/num.html?_=1730209681321 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:48:32] /aria/root/bg/resweb/num.html?_=1730209681322 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:48:38] /aria/root/bg/resweb/num.html?_=1730209681323 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:48:44] /aria/root/bg/resweb/num.html?_=1730209681324 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:48:50] /aria/root/bg/tables/shema/hallid_1/time_1734183000.html 167.99.142.201

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 15:48:50] /aria/root/bg/resweb/num.html?_=1730209681325 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:48:56] /aria/root/bg/resweb/num.html?_=1730209681326 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:49:02] /aria/root/bg/resweb/num.html?_=1730209681327 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:49:08] /aria/root/bg/resweb/num.html?_=1730209681328 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:49:14] /aria/root/bg/resweb/num.html?_=1730209681329 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:49:20] /aria/root/bg/resweb/num.html?_=1730209681330 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:49:26] /aria/root/bg/resweb/num.html?_=1730209681331 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:49:33] /aria/root/bg/resweb/num.html?_=1730209681332 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:49:39] /aria/root/bg/resweb/num.html?_=1730209681333 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:49:45] /aria/root/bg/resweb/num.html?_=1730209681334 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:49:51] /aria/root/bg/resweb/num.html?_=1730209681335 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:49:57] /aria/root/bg/resweb/num.html?_=1730209681336 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:50:03] /aria/root/bg/resweb/num.html?_=1730209681337 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:50:10] /aria/root/bg/resweb/num.html?_=1730209681338 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:50:16] /aria/root/bg/resweb/num.html?_=1730209681339 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:50:22] /aria/root/bg/resweb/num.html?_=1730209681340 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:50:28] /aria/root/bg/resweb/num.html?_=1730209681341 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:50:34] /aria/root/bg/resweb/num.html?_=1730209681342 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:50:40] /aria/root/bg/resweb/num.html?_=1730209681343 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:50:46] /aria/root/bg/resweb/num.html?_=1730209681344 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:50:52] /aria/root/bg/resweb/num.html?_=1730209681345 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:50:58] /aria/root/bg/resweb/num.html?_=1730209681346 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:51:04] /aria/root/bg/resweb/num.html?_=1730209681347 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:51:10] /aria/root/bg/resweb/num.html?_=1730209681348 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:51:16] /aria/root/bg/resweb/num.html?_=1730209681349 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:51:22] /aria/root/bg/resweb/num.html?_=1730209681350 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:51:28] /aria/root/bg/resweb/num.html?_=1730209681351 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:51:34] /aria/root/bg/resweb/num.html?_=1730209681352 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:51:40] /aria/root/bg/resweb/num.html?_=1730209681353 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:51:45] /aria/root/bg/tables/shema/hallid_2/time_1734183000.html 167.99.142.201

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '2' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 15:51:46] /aria/root/bg/tables/shema/hallid_3/time_1734183000.html 167.99.142.201

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '3' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 15:51:46] /aria/root/bg/resweb/num.html?_=1730209681354 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:51:46] /aria/root/bg/tables/shema/hallid_4/time_1734183000.html 167.99.142.201

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '4' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 15:51:47] /aria/root/bg/tables/shema/hallid_6/time_1734183000.html 167.99.142.201

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '6' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 15:51:48] /aria/root/bg/tables/shema/hallid_1/time_1734183000.html 167.99.142.201

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 15:51:52] /aria/root/bg/resweb/num.html?_=1730209681355 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:51:58] /aria/root/bg/resweb/num.html?_=1730209681356 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:52:04] /aria/root/bg/resweb/num.html?_=1730209681357 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:52:10] /aria/root/bg/resweb/num.html?_=1730209681358 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:52:17] /aria/root/bg/resweb/num.html?_=1730209681359 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:52:23] /aria/root/bg/resweb/num.html?_=1730209681360 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:52:29] /aria/root/bg/resweb/num.html?_=1730209681361 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:52:35] /aria/root/bg/resweb/num.html?_=1730209681362 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:52:41] /aria/root/bg/resweb/num.html?_=1730209681363 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:52:47] /aria/root/bg/resweb/num.html?_=1730209681364 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:52:53] /aria/root/bg/resweb/num.html?_=1730209681365 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:52:59] /aria/root/bg/resweb/num.html?_=1730209681366 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:53:05] /aria/root/bg/resweb/num.html?_=1730209681367 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:53:11] /aria/root/bg/resweb/num.html?_=1730209681368 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:53:17] /aria/root/bg/resweb/num.html?_=1730209681369 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:53:23] /aria/root/bg/resweb/num.html?_=1730209681370 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:53:29] /aria/root/bg/resweb/num.html?_=1730209681371 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:53:35] /aria/root/bg/resweb/num.html?_=1730209681372 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:53:35] /aria/root/bg/reservations/form.html 167.99.142.201

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

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

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 15:53:35] /aria/root/bg/resweb/num.html?_=1730210016002 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:53:41] /aria/root/bg/resweb/num.html?_=1730210016003 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:53:47] /aria/root/bg/resweb/num.html?_=1730210016004 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:53:53] /aria/root/bg/resweb/num.html?_=1730210016005 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:53:59] /aria/root/bg/resweb/num.html?_=1730210016006 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:54:05] /aria/root/bg/resweb/num.html?_=1730210016007 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:54:09] /aria/root/bg/reservations/form.html 167.99.142.201

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

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

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 15:54:09] /aria/root/bg/resweb/num.html?_=1730210049900 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:54:15] /aria/root/bg/resweb/num.html?_=1730210049901 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:54:22] /aria/root/bg/resweb/num.html?_=1730210049902 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:54:28] /aria/root/bg/resweb/num.html?_=1730210049903 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:54:34] /aria/root/bg/resweb/num.html?_=1730210049904 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:54:40] /aria/root/bg/resweb/num.html?_=1730210049905 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:54:46] /aria/root/bg/resweb/num.html?_=1730210049906 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:54:52] /aria/root/bg/resweb/num.html?_=1730210049907 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:54:58] /aria/root/bg/resweb/num.html?_=1730210049908 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:55:04] /aria/root/bg/resweb/num.html?_=1730210049909 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:55:10] /aria/root/bg/resweb/num.html?_=1730210049910 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:55:16] /aria/root/bg/resweb/num.html?_=1730210049911 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:55:22] /aria/root/bg/resweb/num.html?_=1730210049912 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:55:28] /aria/root/bg/resweb/num.html?_=1730210049913 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:55:32] /aria/root/bg/reservations/form.html 167.99.142.201

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

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

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 15:55:32] /aria/root/bg/resweb/num.html?_=1730210133028 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:55:38] /aria/root/bg/resweb/num.html?_=1730210133029 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:55:44] /aria/root/bg/resweb/num.html?_=1730210133030 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:55:50] /aria/root/bg/resweb/num.html?_=1730210133031 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:55:57] /aria/root/bg/resweb/num.html?_=1730210133032 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:56:03] /aria/root/bg/resweb/num.html?_=1730210133033 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:56:09] /aria/root/bg/resweb/num.html?_=1730210133034 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:56:15] /aria/root/bg/resweb/num.html?_=1730210133035 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:56:21] /aria/root/bg/resweb/num.html?_=1730210133036 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:56:27] /aria/root/bg/resweb/num.html?_=1730210133037 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:56:33] /aria/root/bg/resweb/num.html?_=1730210133038 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:56:39] /aria/root/bg/resweb/num.html?_=1730210133039 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:56:45] /aria/root/bg/resweb/num.html?_=1730210133040 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:56:51] /aria/root/bg/resweb/num.html?_=1730210133041 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:56:57] /aria/root/bg/resweb/num.html?_=1730210133042 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:57:03] /aria/root/bg/resweb/num.html?_=1730210133043 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:57:09] /aria/root/bg/resweb/num.html?_=1730210133044 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:57:15] /aria/root/bg/resweb/num.html?_=1730210133045 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:57:21] /aria/root/bg/resweb/num.html?_=1730210133046 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:57:27] /aria/root/bg/resweb/num.html?_=1730210133047 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:57:33] /aria/root/bg/resweb/num.html?_=1730210133048 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:57:39] /aria/root/bg/resweb/num.html?_=1730210133049 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:57:45] /aria/root/bg/resweb/num.html?_=1730210133050 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:57:51] /aria/root/bg/resweb/num.html?_=1730210133051 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:57:57] /aria/root/bg/resweb/num.html?_=1730210133052 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:58:03] /aria/root/bg/resweb/num.html?_=1730210133053 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:58:09] /aria/root/bg/resweb/num.html?_=1730210133054 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:58:15] /aria/root/bg/resweb/num.html?_=1730210133055 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:58:21] /aria/root/bg/resweb/num.html?_=1730210133056 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:58:27] /aria/root/bg/resweb/num.html?_=1730210133057 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:58:33] /aria/root/bg/resweb/num.html?_=1730210133058 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:58:39] /aria/root/bg/resweb/num.html?_=1730210133059 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:58:45] /aria/root/bg/resweb/num.html?_=1730210133060 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:58:51] /aria/root/bg/resweb/num.html?_=1730210133061 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:58:57] /aria/root/bg/resweb/num.html?_=1730210133062 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:59:03] /aria/root/bg/resweb/num.html?_=1730210133063 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:59:09] /aria/root/bg/resweb/num.html?_=1730210133064 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:59:15] /aria/root/bg/resweb/num.html?_=1730210133065 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:59:21] /aria/root/bg/resweb/num.html?_=1730210133066 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:59:27] /aria/root/bg/resweb/num.html?_=1730210133067 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:59:33] /aria/root/bg/resweb/num.html?_=1730210133068 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:59:39] /aria/root/bg/resweb/num.html?_=1730210133069 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:59:45] /aria/root/bg/resweb/num.html?_=1730210133070 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:59:51] /aria/root/bg/resweb/num.html?_=1730210133071 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 15:59:57] /aria/root/bg/resweb/num.html?_=1730210133072 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:00:03] /aria/root/bg/resweb/num.html?_=1730210133073 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:00:09] /aria/root/bg/resweb/num.html?_=1730210133074 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:00:15] /aria/root/bg/resweb/num.html?_=1730210133075 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:00:21] /aria/root/bg/resweb/num.html?_=1730210133076 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:00:27] /aria/root/bg/resweb/num.html?_=1730210133077 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:00:33] /aria/root/bg/resweb/num.html?_=1730210133078 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:00:39] /aria/root/bg/resweb/num.html?_=1730210133079 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:00:45] /aria/root/bg/resweb/num.html?_=1730210133080 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:00:51] /aria/root/bg/resweb/num.html?_=1730210133081 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:00:57] /aria/root/bg/resweb/num.html?_=1730210133082 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:01:03] /aria/root/bg/resweb/num.html?_=1730210133083 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:01:09] /aria/root/bg/resweb/num.html?_=1730210133084 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:01:15] /aria/root/bg/resweb/num.html?_=1730210133085 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:01:21] /aria/root/bg/resweb/num.html?_=1730210133086 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:01:28] /aria/root/bg/resweb/num.html?_=1730210133087 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:01:34] /aria/root/bg/resweb/num.html?_=1730210133088 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:01:40] /aria/root/bg/resweb/num.html?_=1730210133089 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:01:46] /aria/root/bg/resweb/num.html?_=1730210133090 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:01:52] /aria/root/bg/resweb/num.html?_=1730210133091 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:01:58] /aria/root/bg/resweb/num.html?_=1730210133092 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:02:04] /aria/root/bg/resweb/num.html?_=1730210133093 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:02:10] /aria/root/bg/resweb/num.html?_=1730210133094 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:02:16] /aria/root/bg/resweb/num.html?_=1730210133095 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:02:18] /aria/root/bg/reservations/form.html 167.99.142.201

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

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

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 16:02:19] /aria/root/bg/resweb/num.html?_=1730210539185 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:02:21] /aria/root/bg/reservations/form.html 167.99.142.201

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

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

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 16:02:21] /aria/root/bg/resweb/num.html?_=1730210541288 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:02:23] /aria/root/bg/clients/formres.html 167.99.142.201

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

set names utf8
# [29-Oct-2024 16:02:27] /aria/root/bg/resweb/num.html?_=1730210541289 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:02:29] /aria/root/bg/clients/flist.html 167.99.142.201

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

SELECT
                `ID`,
                `Phone`,
                `FullName`,
                `Specials`,
                `Comment`
            FROM
                `clients`
            WHERE
                `FullName` LIKE '%тест %' OR `FullName` LIKE '%test %'
            ORDER BY CASE
                WHEN `FullName` LIKE 'тест %' THEN 0
                WHEN `FullName` LIKE 'test %' THEN 1
                WHEN `FullName` LIKE '% тест %' THEN 2
                WHEN `FullName` LIKE '% test %' THEN 3
                ELSE 4
            END
            LIMIT 10

set names utf8
# [29-Oct-2024 16:02:30] /aria/root/bg/clients/flist.html 167.99.142.201

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

SELECT
                `ID`,
                `Phone`,
                `FullName`,
                `Specials`,
                `Comment`
            FROM
                `clients`
            WHERE
                `FullName` LIKE '%тест тест%' OR `FullName` LIKE '%test test%'
            ORDER BY CASE
                WHEN `FullName` LIKE 'тест тест%' THEN 0
                WHEN `FullName` LIKE 'test test%' THEN 1
                WHEN `FullName` LIKE '% тест тест%' THEN 2
                WHEN `FullName` LIKE '% test test%' THEN 3
                ELSE 4
            END
            LIMIT 10

set names utf8
# [29-Oct-2024 16:02:33] /aria/root/bg/resweb/num.html?_=1730210541290 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:02:39] /aria/root/bg/resweb/num.html?_=1730210541291 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:02:45] /aria/root/bg/resweb/num.html?_=1730210541292 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:02:51] /aria/root/bg/resweb/num.html?_=1730210541293 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:02:57] /aria/root/bg/resweb/num.html?_=1730210541294 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:03:03] /aria/root/bg/resweb/num.html?_=1730210541295 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:03:09] /aria/root/bg/resweb/num.html?_=1730210541296 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:03:15] /aria/root/bg/resweb/num.html?_=1730210541297 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:03:21] /aria/root/bg/resweb/num.html?_=1730210541298 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:03:27] /aria/root/bg/resweb/num.html?_=1730210541299 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:03:33] /aria/root/bg/resweb/num.html?_=1730210541300 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:03:39] /aria/root/bg/resweb/num.html?_=1730210541301 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:03:45] /aria/root/bg/resweb/num.html?_=1730210541302 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:03:52] /aria/root/bg/resweb/num.html?_=1730210541303 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:03:58] /aria/root/bg/resweb/num.html?_=1730210541304 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:04:04] /aria/root/bg/resweb/num.html?_=1730210541305 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:04:10] /aria/root/bg/resweb/num.html?_=1730210541306 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:04:16] /aria/root/bg/resweb/num.html?_=1730210541307 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:04:22] /aria/root/bg/resweb/num.html?_=1730210541308 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:04:28] /aria/root/bg/resweb/num.html?_=1730210541309 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:04:34] /aria/root/bg/resweb/num.html?_=1730210541310 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:04:40] /aria/root/bg/resweb/num.html?_=1730210541311 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:04:46] /aria/root/bg/resweb/num.html?_=1730210541312 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:04:52] /aria/root/bg/resweb/num.html?_=1730210541313 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:04:58] /aria/root/bg/resweb/num.html?_=1730210541314 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:05:04] /aria/root/bg/resweb/num.html?_=1730210541315 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:05:10] /aria/root/bg/resweb/num.html?_=1730210541316 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:05:16] /aria/root/bg/resweb/num.html?_=1730210541317 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:05:21] /aria/root/bg/reservations/form.html 167.99.142.201

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

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

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 16:05:22] /aria/root/bg/resweb/num.html?_=1730210722346 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:05:27] /aria/root/bg/clients/formres.html 167.99.142.201

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

set names utf8
# [29-Oct-2024 16:05:28] /aria/root/bg/resweb/num.html?_=1730210722347 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:05:30] /aria/root/bg/clients/flist.html 167.99.142.201

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

SELECT
                `ID`,
                `Phone`,
                `FullName`,
                `Specials`,
                `Comment`
            FROM
                `clients`
            WHERE
                `FullName` LIKE '%тест%' OR `FullName` LIKE '%test%'
            ORDER BY CASE
                WHEN `FullName` LIKE 'тест%' THEN 0
                WHEN `FullName` LIKE 'test%' THEN 1
                WHEN `FullName` LIKE '% тест%' THEN 2
                WHEN `FullName` LIKE '% test%' THEN 3
                ELSE 4
            END
            LIMIT 10

set names utf8
# [29-Oct-2024 16:05:34] /aria/root/bg/resweb/num.html?_=1730210722348 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:05:40] /aria/root/bg/resweb/num.html?_=1730210722349 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:05:46] /aria/root/bg/resweb/num.html?_=1730210722350 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:05:52] /aria/root/bg/resweb/num.html?_=1730210722351 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:05:58] /aria/root/bg/resweb/num.html?_=1730210722352 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:06:04] /aria/root/bg/resweb/num.html?_=1730210722353 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:06:10] /aria/root/bg/resweb/num.html?_=1730210722354 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:06:16] /aria/root/bg/resweb/num.html?_=1730210722355 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:06:22] /aria/root/bg/resweb/num.html?_=1730210722356 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:06:28] /aria/root/bg/resweb/num.html?_=1730210722357 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:06:34] /aria/root/bg/resweb/num.html?_=1730210722358 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:06:35] /aria/root/bg/reservations/form.html 167.99.142.201

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

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

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 16:06:36] /aria/root/bg/resweb/num.html?_=1730210796094 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:06:37] /aria/root/bg/clients/formres.html 167.99.142.201

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

set names utf8
# [29-Oct-2024 16:06:40] /aria/root/bg/clients/flist.html 167.99.142.201

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

SELECT
                `ID`,
                `Phone`,
                `FullName`,
                `Specials`,
                `Comment`
            FROM
                `clients`
            WHERE
                `FullName` LIKE '%тест%' OR `FullName` LIKE '%test%'
            ORDER BY CASE
                WHEN `FullName` LIKE 'тест%' THEN 0
                WHEN `FullName` LIKE 'test%' THEN 1
                WHEN `FullName` LIKE '% тест%' THEN 2
                WHEN `FullName` LIKE '% test%' THEN 3
                ELSE 4
            END
            LIMIT 10

set names utf8
# [29-Oct-2024 16:06:42] /aria/root/bg/resweb/num.html?_=1730210796095 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:06:48] /aria/root/bg/resweb/num.html?_=1730210796096 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:06:54] /aria/root/bg/resweb/num.html?_=1730210796097 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:07:00] /aria/root/bg/resweb/num.html?_=1730210796098 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:07:06] /aria/root/bg/resweb/num.html?_=1730210796099 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:07:12] /aria/root/bg/resweb/num.html?_=1730210796100 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:07:18] /aria/root/bg/resweb/num.html?_=1730210796101 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:07:24] /aria/root/bg/resweb/num.html?_=1730210796102 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:07:30] /aria/root/bg/resweb/num.html?_=1730210796103 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:07:36] /aria/root/bg/resweb/num.html?_=1730210796104 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:07:42] /aria/root/bg/resweb/num.html?_=1730210796105 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:07:48] /aria/root/bg/resweb/num.html?_=1730210796106 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:07:54] /aria/root/bg/resweb/num.html?_=1730210796107 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:07:55] /aria/root/bg/reservations/form.html 167.99.142.201

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

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

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 16:07:55] /aria/root/bg/resweb/num.html?_=1730210875654 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:07:57] /aria/root/bg/clients/formres.html 167.99.142.201

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

set names utf8
# [29-Oct-2024 16:07:59] /aria/root/bg/clients/flist.html 167.99.142.201

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

SELECT
                `ID`,
                `Phone`,
                `FullName`,
                `Specials`,
                `Comment`
            FROM
                `clients`
            WHERE
                `FullName` LIKE '%те%' OR `FullName` LIKE '%te%'
            ORDER BY CASE
                WHEN `FullName` LIKE 'те%' THEN 0
                WHEN `FullName` LIKE 'te%' THEN 1
                WHEN `FullName` LIKE '% те%' THEN 2
                WHEN `FullName` LIKE '% te%' THEN 3
                ELSE 4
            END
            LIMIT 10

set names utf8
# [29-Oct-2024 16:08:00] /aria/root/bg/clients/flist.html 167.99.142.201

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

SELECT
                `ID`,
                `Phone`,
                `FullName`,
                `Specials`,
                `Comment`
            FROM
                `clients`
            WHERE
                `FullName` LIKE '%тес%' OR `FullName` LIKE '%tes%'
            ORDER BY CASE
                WHEN `FullName` LIKE 'тес%' THEN 0
                WHEN `FullName` LIKE 'tes%' THEN 1
                WHEN `FullName` LIKE '% тес%' THEN 2
                WHEN `FullName` LIKE '% tes%' THEN 3
                ELSE 4
            END
            LIMIT 10

set names utf8
# [29-Oct-2024 16:08:01] /aria/root/bg/resweb/num.html?_=1730210875655 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:08:07] /aria/root/bg/resweb/num.html?_=1730210875656 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:08:13] /aria/root/bg/resweb/num.html?_=1730210875657 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:08:19] /aria/root/bg/resweb/num.html?_=1730210875658 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:08:25] /aria/root/bg/resweb/num.html?_=1730210875659 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:08:31] /aria/root/bg/resweb/num.html?_=1730210875660 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:08:34] /aria/root/bg/reservations/form.html 167.99.142.201

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

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

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 16:08:35] /aria/root/bg/resweb/num.html?_=1730210915145 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:08:36] /aria/root/bg/clients/formres.html 167.99.142.201

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

set names utf8
# [29-Oct-2024 16:08:38] /aria/root/bg/clients/flist.html 167.99.142.201

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

SELECT
                `ID`,
                `Phone`,
                `FullName`,
                `Specials`,
                `Comment`
            FROM
                `clients`
            WHERE
                `FullName` LIKE '%тест%' OR `FullName` LIKE '%test%'
            ORDER BY CASE
                WHEN `FullName` LIKE 'тест%' THEN 0
                WHEN `FullName` LIKE 'test%' THEN 1
                WHEN `FullName` LIKE '% тест%' THEN 2
                WHEN `FullName` LIKE '% test%' THEN 3
                ELSE 4
            END
            LIMIT 10

set names utf8
# [29-Oct-2024 16:08:41] /aria/root/bg/resweb/num.html?_=1730210915146 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:08:47] /aria/root/bg/resweb/num.html?_=1730210915147 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:08:51] /aria/root/bg/reservations/form.html 167.99.142.201

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

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

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 16:08:51] /aria/root/bg/resweb/num.html?_=1730210931727 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:08:53] /aria/root/bg/clients/formres.html 167.99.142.201

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

set names utf8
# [29-Oct-2024 16:08:55] /aria/root/bg/clients/flist.html 167.99.142.201

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

SELECT
                `ID`,
                `Phone`,
                `FullName`,
                `Specials`,
                `Comment`
            FROM
                `clients`
            WHERE
                `FullName` LIKE '%тест%' OR `FullName` LIKE '%test%'
            ORDER BY CASE
                WHEN `FullName` LIKE 'тест%' THEN 0
                WHEN `FullName` LIKE 'test%' THEN 1
                WHEN `FullName` LIKE '% тест%' THEN 2
                WHEN `FullName` LIKE '% test%' THEN 3
                ELSE 4
            END
            LIMIT 10

set names utf8
# [29-Oct-2024 16:08:57] /aria/root/bg/resweb/num.html?_=1730210931728 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:08:59] /aria/root/bg/clients/flist.html 167.99.142.201

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

SELECT
                `ID`,
                `Phone`,
                `FullName`,
                `Specials`,
                `Comment`
            FROM
                `clients`
            WHERE
                `FullName` LIKE '%тест %' OR `FullName` LIKE '%test %'
            ORDER BY CASE
                WHEN `FullName` LIKE 'тест %' THEN 0
                WHEN `FullName` LIKE 'test %' THEN 1
                WHEN `FullName` LIKE '% тест %' THEN 2
                WHEN `FullName` LIKE '% test %' THEN 3
                ELSE 4
            END
            LIMIT 10

set names utf8
# [29-Oct-2024 16:09:03] /aria/root/bg/resweb/num.html?_=1730210931729 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:09:09] /aria/root/bg/resweb/num.html?_=1730210931730 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:09:15] /aria/root/bg/resweb/num.html?_=1730210931731 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:09:22] /aria/root/bg/resweb/num.html?_=1730210931732 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:09:22] /aria/root/bg/reservations/form.html 167.99.142.201

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

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

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 16:09:22] /aria/root/bg/resweb/num.html?_=1730210962647 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:09:23] /aria/root/bg/clients/formres.html 167.99.142.201

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

set names utf8
# [29-Oct-2024 16:09:25] /aria/root/bg/clients/flist.html 167.99.142.201

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

SELECT
                `ID`,
                `Phone`,
                `FullName`,
                `Specials`,
                `Comment`
            FROM
                `clients`
            WHERE
                `FullName` LIKE '%тест%' OR `FullName` LIKE '%test%'
            ORDER BY CASE
                WHEN `FullName` LIKE 'тест%' THEN 0
                WHEN `FullName` LIKE 'test%' THEN 1
                WHEN `FullName` LIKE '% тест%' THEN 2
                WHEN `FullName` LIKE '% test%' THEN 3
                ELSE 4
            END
            LIMIT 10

set names utf8
# [29-Oct-2024 16:09:28] /aria/root/bg/resweb/num.html?_=1730210962648 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:09:31] /aria/root/bg/clients/flist.html 167.99.142.201

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

SELECT
                `ID`,
                `Phone`,
                `FullName`,
                `Specials`,
                `Comment`
            FROM
                `clients`
            WHERE
                `FullName` LIKE '%тест %' OR `FullName` LIKE '%test %'
            ORDER BY CASE
                WHEN `FullName` LIKE 'тест %' THEN 0
                WHEN `FullName` LIKE 'test %' THEN 1
                WHEN `FullName` LIKE '% тест %' THEN 2
                WHEN `FullName` LIKE '% test %' THEN 3
                ELSE 4
            END
            LIMIT 10

set names utf8
# [29-Oct-2024 16:09:34] /aria/root/bg/resweb/num.html?_=1730210962649 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:09:40] /aria/root/bg/resweb/num.html?_=1730210962650 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:09:46] /aria/root/bg/resweb/num.html?_=1730210962651 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:09:52] /aria/root/bg/resweb/num.html?_=1730210962652 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:09:58] /aria/root/bg/resweb/num.html?_=1730210962653 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:10:04] /aria/root/bg/resweb/num.html?_=1730210962654 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:10:10] /aria/root/bg/resweb/num.html?_=1730210962655 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:10:15] /aria/root/bg/reservations/form.html 167.99.142.201

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

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

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

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

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

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

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '1' AND
                `halls`.`Language` = 'bg'
            LIMIT 1

set names utf8
# [29-Oct-2024 16:10:16] /aria/root/bg/resweb/num.html?_=1730211016117 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:10:17] /aria/root/bg/clients/formres.html 167.99.142.201

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

set names utf8
# [29-Oct-2024 16:10:20] /aria/root/bg/clients/flist.html 167.99.142.201

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

SELECT
                `ID`,
                `Phone`,
                `FullName`,
                `Specials`,
                `Comment`
            FROM
                `clients`
            WHERE
                `FullName` LIKE '%тест%' OR `FullName` LIKE '%test%'
            ORDER BY CASE
                WHEN `FullName` LIKE 'тест%' THEN 0
                WHEN `FullName` LIKE 'test%' THEN 1
                WHEN `FullName` LIKE '% тест%' THEN 2
                WHEN `FullName` LIKE '% test%' THEN 3
                ELSE 4
            END
            LIMIT 10

set names utf8
# [29-Oct-2024 16:10:22] /aria/root/bg/resweb/num.html?_=1730211016118 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:10:25] /aria/root/bg/clients/flist.html 167.99.142.201

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

SELECT
                `ID`,
                `Phone`,
                `FullName`,
                `Specials`,
                `Comment`
            FROM
                `clients`
            WHERE
                `FullName` LIKE '%тес%' OR `FullName` LIKE '%tes%'
            ORDER BY CASE
                WHEN `FullName` LIKE 'тес%' THEN 0
                WHEN `FullName` LIKE 'tes%' THEN 1
                WHEN `FullName` LIKE '% тес%' THEN 2
                WHEN `FullName` LIKE '% tes%' THEN 3
                ELSE 4
            END
            LIMIT 10

set names utf8
# [29-Oct-2024 16:10:28] /aria/root/bg/resweb/num.html?_=1730211016119 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:10:32] /aria/root/bg/clients/flist.html 167.99.142.201

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

SELECT
                `ID`,
                `Phone`,
                `FullName`,
                `Specials`,
                `Comment`
            FROM
                `clients`
            WHERE
                `FullName` LIKE '%тест%' OR `FullName` LIKE '%test%'
            ORDER BY CASE
                WHEN `FullName` LIKE 'тест%' THEN 0
                WHEN `FullName` LIKE 'test%' THEN 1
                WHEN `FullName` LIKE '% тест%' THEN 2
                WHEN `FullName` LIKE '% test%' THEN 3
                ELSE 4
            END
            LIMIT 10

set names utf8
# [29-Oct-2024 16:10:34] /aria/root/bg/resweb/num.html?_=1730211016120 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:10:40] /aria/root/bg/resweb/num.html?_=1730211016121 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:10:46] /aria/root/bg/resweb/num.html?_=1730211016122 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:10:52] /aria/root/bg/resweb/num.html?_=1730211016123 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:10:58] /aria/root/bg/resweb/num.html?_=1730211016124 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:11:04] /aria/root/bg/resweb/num.html?_=1730211016125 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:11:10] /aria/root/bg/resweb/num.html?_=1730211016126 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:11:16] /aria/root/bg/resweb/num.html?_=1730211016127 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:11:22] /aria/root/bg/resweb/num.html?_=1730211016128 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:11:29] /aria/root/bg/resweb/num.html?_=1730211016129 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:11:35] /aria/root/bg/resweb/num.html?_=1730211016130 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:11:42] /aria/root/bg/resweb/num.html?_=1730211016131 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:11:48] /aria/root/bg/resweb/num.html?_=1730211016132 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:11:54] /aria/root/bg/resweb/num.html?_=1730211016133 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:12:00] /aria/root/bg/resweb/num.html?_=1730211016134 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:12:06] /aria/root/bg/resweb/num.html?_=1730211016135 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:12:12] /aria/root/bg/resweb/num.html?_=1730211016136 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:12:18] /aria/root/bg/resweb/num.html?_=1730211016137 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:12:25] /aria/root/bg/resweb/num.html?_=1730211016138 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:12:31] /aria/root/bg/resweb/num.html?_=1730211016139 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:12:37] /aria/root/bg/resweb/num.html?_=1730211016140 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:12:43] /aria/root/bg/resweb/num.html?_=1730211016141 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:12:49] /aria/root/bg/resweb/num.html?_=1730211016142 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:12:55] /aria/root/bg/resweb/num.html?_=1730211016143 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:13:01] /aria/root/bg/resweb/num.html?_=1730211016144 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:13:07] /aria/root/bg/resweb/num.html?_=1730211016145 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:13:13] /aria/root/bg/resweb/num.html?_=1730211016146 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:13:19] /aria/root/bg/resweb/num.html?_=1730211016147 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:13:25] /aria/root/bg/resweb/num.html?_=1730211016148 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:13:31] /aria/root/bg/resweb/num.html?_=1730211016149 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:13:37] /aria/root/bg/resweb/num.html?_=1730211016150 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:13:43] /aria/root/bg/resweb/num.html?_=1730211016151 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:13:49] /aria/root/bg/resweb/num.html?_=1730211016152 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:13:55] /aria/root/bg/resweb/num.html?_=1730211016153 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:14:01] /aria/root/bg/resweb/num.html?_=1730211016154 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:14:07] /aria/root/bg/resweb/num.html?_=1730211016155 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:14:13] /aria/root/bg/resweb/num.html?_=1730211016156 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:14:19] /aria/root/bg/resweb/num.html?_=1730211016157 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:14:25] /aria/root/bg/resweb/num.html?_=1730211016158 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:14:31] /aria/root/bg/resweb/num.html?_=1730211016159 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:14:37] /aria/root/bg/resweb/num.html?_=1730211016160 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:14:43] /aria/root/bg/resweb/num.html?_=1730211016161 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:14:49] /aria/root/bg/resweb/num.html?_=1730211016162 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:14:55] /aria/root/bg/resweb/num.html?_=1730211016163 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:15:01] /aria/root/bg/resweb/num.html?_=1730211016164 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:15:07] /aria/root/bg/resweb/num.html?_=1730211016165 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:15:13] /aria/root/bg/resweb/num.html?_=1730211016166 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:15:19] /aria/root/bg/resweb/num.html?_=1730211016167 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:15:25] /aria/root/bg/resweb/num.html?_=1730211016168 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:15:31] /aria/root/bg/resweb/num.html?_=1730211016169 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:15:37] /aria/root/bg/resweb/num.html?_=1730211016170 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:15:43] /aria/root/bg/resweb/num.html?_=1730211016171 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:15:49] /aria/root/bg/resweb/num.html?_=1730211016172 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:15:55] /aria/root/bg/resweb/num.html?_=1730211016173 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:16:01] /aria/root/bg/resweb/num.html?_=1730211016174 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:16:07] /aria/root/bg/resweb/num.html?_=1730211016175 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:16:13] /aria/root/bg/resweb/num.html?_=1730211016176 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:16:19] /aria/root/bg/resweb/num.html?_=1730211016177 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:16:25] /aria/root/bg/resweb/num.html?_=1730211016178 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:16:31] /aria/root/bg/resweb/num.html?_=1730211016179 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:16:37] /aria/root/bg/resweb/num.html?_=1730211016180 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:16:43] /aria/root/bg/resweb/num.html?_=1730211016181 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:16:49] /aria/root/bg/resweb/num.html?_=1730211016182 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:16:55] /aria/root/bg/resweb/num.html?_=1730211016183 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:17:01] /aria/root/bg/resweb/num.html?_=1730211016184 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:17:07] /aria/root/bg/resweb/num.html?_=1730211016185 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:17:13] /aria/root/bg/resweb/num.html?_=1730211016186 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:17:19] /aria/root/bg/resweb/num.html?_=1730211016187 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:17:25] /aria/root/bg/resweb/num.html?_=1730211016188 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:17:31] /aria/root/bg/resweb/num.html?_=1730211016189 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:17:37] /aria/root/bg/resweb/num.html?_=1730211016190 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:17:43] /aria/root/bg/resweb/num.html?_=1730211016191 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:17:49] /aria/root/bg/resweb/num.html?_=1730211016192 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:17:55] /aria/root/bg/resweb/num.html?_=1730211016193 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:18:01] /aria/root/bg/resweb/num.html?_=1730211016194 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:18:07] /aria/root/bg/resweb/num.html?_=1730211016195 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:18:13] /aria/root/bg/resweb/num.html?_=1730211016196 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:18:19] /aria/root/bg/resweb/num.html?_=1730211016197 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:18:25] /aria/root/bg/resweb/num.html?_=1730211016198 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:18:31] /aria/root/bg/resweb/num.html?_=1730211016199 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:18:37] /aria/root/bg/resweb/num.html?_=1730211016200 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:18:44] /aria/root/bg/resweb/num.html?_=1730211016201 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:18:50] /aria/root/bg/resweb/num.html?_=1730211016202 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:18:56] /aria/root/bg/resweb/num.html?_=1730211016203 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:19:02] /aria/root/bg/resweb/num.html?_=1730211016204 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:19:08] /aria/root/bg/resweb/num.html?_=1730211016205 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:19:14] /aria/root/bg/resweb/num.html?_=1730211016206 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:19:20] /aria/root/bg/resweb/num.html?_=1730211016207 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:19:26] /aria/root/bg/resweb/num.html?_=1730211016208 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:19:32] /aria/root/bg/resweb/num.html?_=1730211016209 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:19:38] /aria/root/bg/resweb/num.html?_=1730211016210 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:19:44] /aria/root/bg/resweb/num.html?_=1730211016211 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:19:50] /aria/root/bg/resweb/num.html?_=1730211016212 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:19:56] /aria/root/bg/resweb/num.html?_=1730211016213 167.99.142.201

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

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

set names utf8
# [29-Oct-2024 16:20:02] /aria/root/bg/resweb/num.html?_=1730211016214 167.99.142.201

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

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:20:08] /aria/root/bg/resweb/num.html?_=1730211016215 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:20:14] /aria/root/bg/resweb/num.html?_=1730211016216 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:20:20] /aria/root/bg/resweb/num.html?_=1730211016217 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:20:26] /aria/root/bg/resweb/num.html?_=1730211016218 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:20:32] /aria/root/bg/resweb/num.html?_=1730211016219 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:20:38] /aria/root/bg/resweb/num.html?_=1730211016220 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:20:44] /aria/root/bg/resweb/num.html?_=1730211016221 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:20:50] /aria/root/bg/resweb/num.html?_=1730211016222 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:20:56] /aria/root/bg/resweb/num.html?_=1730211016223 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:21:02] /aria/root/bg/resweb/num.html?_=1730211016224 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:21:08] /aria/root/bg/resweb/num.html?_=1730211016225 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:21:14] /aria/root/bg/resweb/num.html?_=1730211016226 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:21:20] /aria/root/bg/resweb/num.html?_=1730211016227 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:21:26] /aria/root/bg/resweb/num.html?_=1730211016228 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:21:32] /aria/root/bg/resweb/num.html?_=1730211016229 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:21:38] /aria/root/bg/resweb/num.html?_=1730211016230 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:21:44] /aria/root/bg/resweb/num.html?_=1730211016231 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:21:50] /aria/root/bg/resweb/num.html?_=1730211016232 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:21:56] /aria/root/bg/resweb/num.html?_=1730211016233 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:22:02] /aria/root/bg/resweb/num.html?_=1730211016234 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:22:08] /aria/root/bg/resweb/num.html?_=1730211016235 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:22:14] /aria/root/bg/resweb/num.html?_=1730211016236 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:22:20] /aria/root/bg/resweb/num.html?_=1730211016237 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:22:26] /aria/root/bg/resweb/num.html?_=1730211016238 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:22:32] /aria/root/bg/resweb/num.html?_=1730211016239 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:22:38] /aria/root/bg/resweb/num.html?_=1730211016240 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:22:44] /aria/root/bg/resweb/num.html?_=1730211016241 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:22:50] /aria/root/bg/resweb/num.html?_=1730211016242 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:22:56] /aria/root/bg/resweb/num.html?_=1730211016243 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:23:02] /aria/root/bg/resweb/num.html?_=1730211016244 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:23:08] /aria/root/bg/resweb/num.html?_=1730211016245 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:23:14] /aria/root/bg/resweb/num.html?_=1730211016246 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:23:20] /aria/root/bg/resweb/num.html?_=1730211016247 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:23:26] /aria/root/bg/resweb/num.html?_=1730211016248 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:23:32] /aria/root/bg/resweb/num.html?_=1730211016249 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:23:38] /aria/root/bg/resweb/num.html?_=1730211016250 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:23:44] /aria/root/bg/resweb/num.html?_=1730211016251 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:23:50] /aria/root/bg/resweb/num.html?_=1730211016252 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:23:56] /aria/root/bg/resweb/num.html?_=1730211016253 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:24:02] /aria/root/bg/resweb/num.html?_=1730211016254 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:24:09] /aria/root/bg/resweb/num.html?_=1730211016255 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:24:15] /aria/root/bg/resweb/num.html?_=1730211016256 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:24:21] /aria/root/bg/resweb/num.html?_=1730211016257 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:24:27] /aria/root/bg/resweb/num.html?_=1730211016258 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:24:33] /aria/root/bg/resweb/num.html?_=1730211016259 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:24:39] /aria/root/bg/resweb/num.html?_=1730211016260 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:24:45] /aria/root/bg/resweb/num.html?_=1730211016261 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:24:51] /aria/root/bg/resweb/num.html?_=1730211016262 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:24:57] /aria/root/bg/resweb/num.html?_=1730211016263 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:25:03] /aria/root/bg/resweb/num.html?_=1730211016264 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:25:09] /aria/root/bg/resweb/num.html?_=1730211016265 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:25:15] /aria/root/bg/resweb/num.html?_=1730211016266 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:25:21] /aria/root/bg/resweb/num.html?_=1730211016267 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:25:27] /aria/root/bg/resweb/num.html?_=1730211016268 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:25:33] /aria/root/bg/resweb/num.html?_=1730211016269 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:25:39] /aria/root/bg/resweb/num.html?_=1730211016270 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:25:45] /aria/root/bg/resweb/num.html?_=1730211016271 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:25:51] /aria/root/bg/resweb/num.html?_=1730211016272 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:25:57] /aria/root/bg/resweb/num.html?_=1730211016273 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:26:03] /aria/root/bg/resweb/num.html?_=1730211016274 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:26:09] /aria/root/bg/resweb/num.html?_=1730211016275 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:26:15] /aria/root/bg/resweb/num.html?_=1730211016276 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:26:21] /aria/root/bg/resweb/num.html?_=1730211016277 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:26:27] /aria/root/bg/resweb/num.html?_=1730211016278 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:26:33] /aria/root/bg/resweb/num.html?_=1730211016279 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:26:39] /aria/root/bg/resweb/num.html?_=1730211016280 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:26:45] /aria/root/bg/resweb/num.html?_=1730211016281 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:26:51] /aria/root/bg/resweb/num.html?_=1730211016282 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:26:57] /aria/root/bg/resweb/num.html?_=1730211016283 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:27:03] /aria/root/bg/resweb/num.html?_=1730211016284 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:27:09] /aria/root/bg/resweb/num.html?_=1730211016285 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:27:15] /aria/root/bg/resweb/num.html?_=1730211016286 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:27:21] /aria/root/bg/resweb/num.html?_=1730211016287 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:27:27] /aria/root/bg/resweb/num.html?_=1730211016288 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:27:33] /aria/root/bg/resweb/num.html?_=1730211016289 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:27:39] /aria/root/bg/resweb/num.html?_=1730211016290 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:27:45] /aria/root/bg/resweb/num.html?_=1730211016291 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:27:51] /aria/root/bg/resweb/num.html?_=1730211016292 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:27:58] /aria/root/bg/resweb/num.html?_=1730211016293 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:28:04] /aria/root/bg/resweb/num.html?_=1730211016294 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:28:10] /aria/root/bg/resweb/num.html?_=1730211016295 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:28:16] /aria/root/bg/resweb/num.html?_=1730211016296 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:28:22] /aria/root/bg/resweb/num.html?_=1730211016297 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:28:28] /aria/root/bg/resweb/num.html?_=1730211016298 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:28:34] /aria/root/bg/resweb/num.html?_=1730211016299 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:28:40] /aria/root/bg/resweb/num.html?_=1730211016300 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:28:46] /aria/root/bg/resweb/num.html?_=1730211016301 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:28:52] /aria/root/bg/resweb/num.html?_=1730211016302 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:28:58] /aria/root/bg/resweb/num.html?_=1730211016303 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:29:04] /aria/root/bg/resweb/num.html?_=1730211016304 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:29:10] /aria/root/bg/resweb/num.html?_=1730211016305 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:29:16] /aria/root/bg/resweb/num.html?_=1730211016306 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:29:22] /aria/root/bg/resweb/num.html?_=1730211016307 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:29:28] /aria/root/bg/resweb/num.html?_=1730211016308 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:29:34] /aria/root/bg/resweb/num.html?_=1730211016309 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:29:40] /aria/root/bg/resweb/num.html?_=1730211016310 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:29:46] /aria/root/bg/resweb/num.html?_=1730211016311 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:29:52] /aria/root/bg/resweb/num.html?_=1730211016312 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:29:58] /aria/root/bg/resweb/num.html?_=1730211016313 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:30:04] /aria/root/bg/resweb/num.html?_=1730211016314 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:30:10] /aria/root/bg/resweb/num.html?_=1730211016315 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:30:16] /aria/root/bg/resweb/num.html?_=1730211016316 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:30:22] /aria/root/bg/resweb/num.html?_=1730211016317 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:30:28] /aria/root/bg/resweb/num.html?_=1730211016318 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:30:34] /aria/root/bg/resweb/num.html?_=1730211016319 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:30:40] /aria/root/bg/resweb/num.html?_=1730211016320 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:30:46] /aria/root/bg/resweb/num.html?_=1730211016321 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:30:52] /aria/root/bg/resweb/num.html?_=1730211016322 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:30:58] /aria/root/bg/resweb/num.html?_=1730211016323 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:31:04] /aria/root/bg/resweb/num.html?_=1730211016324 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:31:10] /aria/root/bg/resweb/num.html?_=1730211016325 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:31:16] /aria/root/bg/resweb/num.html?_=1730211016326 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:31:22] /aria/root/bg/resweb/num.html?_=1730211016327 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:31:28] /aria/root/bg/resweb/num.html?_=1730211016328 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:31:34] /aria/root/bg/resweb/num.html?_=1730211016329 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:31:40] /aria/root/bg/resweb/num.html?_=1730211016330 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:31:46] /aria/root/bg/resweb/num.html?_=1730211016331 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:31:52] /aria/root/bg/resweb/num.html?_=1730211016332 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:31:58] /aria/root/bg/resweb/num.html?_=1730211016333 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:32:04] /aria/root/bg/resweb/num.html?_=1730211016334 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:32:10] /aria/root/bg/resweb/num.html?_=1730211016335 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:32:16] /aria/root/bg/resweb/num.html?_=1730211016336 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:32:23] /aria/root/bg/resweb/num.html?_=1730211016337 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:32:29] /aria/root/bg/resweb/num.html?_=1730211016338 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:32:35] /aria/root/bg/resweb/num.html?_=1730211016339 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:32:41] /aria/root/bg/resweb/num.html?_=1730211016340 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:32:47] /aria/root/bg/resweb/num.html?_=1730211016341 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:32:53] /aria/root/bg/resweb/num.html?_=1730211016342 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:32:59] /aria/root/bg/resweb/num.html?_=1730211016343 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:33:05] /aria/root/bg/resweb/num.html?_=1730211016344 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:33:11] /aria/root/bg/resweb/num.html?_=1730211016345 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:33:17] /aria/root/bg/resweb/num.html?_=1730211016346 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:33:23] /aria/root/bg/resweb/num.html?_=1730211016347 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:33:29] /aria/root/bg/resweb/num.html?_=1730211016348 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:33:35] /aria/root/bg/resweb/num.html?_=1730211016349 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:33:41] /aria/root/bg/resweb/num.html?_=1730211016350 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:33:47] /aria/root/bg/resweb/num.html?_=1730211016351 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:33:53] /aria/root/bg/resweb/num.html?_=1730211016352 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:33:59] /aria/root/bg/resweb/num.html?_=1730211016353 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:34:05] /aria/root/bg/resweb/num.html?_=1730211016354 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:34:11] /aria/root/bg/resweb/num.html?_=1730211016355 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:34:17] /aria/root/bg/resweb/num.html?_=1730211016356 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:34:23] /aria/root/bg/resweb/num.html?_=1730211016357 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:34:29] /aria/root/bg/resweb/num.html?_=1730211016358 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:34:35] /aria/root/bg/resweb/num.html?_=1730211016359 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:34:41] /aria/root/bg/resweb/num.html?_=1730211016360 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:34:47] /aria/root/bg/resweb/num.html?_=1730211016361 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:34:53] /aria/root/bg/resweb/num.html?_=1730211016362 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:34:59] /aria/root/bg/resweb/num.html?_=1730211016363 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:35:05] /aria/root/bg/resweb/num.html?_=1730211016364 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:35:11] /aria/root/bg/resweb/num.html?_=1730211016365 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:35:17] /aria/root/bg/resweb/num.html?_=1730211016366 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:35:23] /aria/root/bg/resweb/num.html?_=1730211016367 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:35:29] /aria/root/bg/resweb/num.html?_=1730211016368 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:35:36] /aria/root/bg/resweb/num.html?_=1730211016369 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:35:42] /aria/root/bg/resweb/num.html?_=1730211016370 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:35:48] /aria/root/bg/resweb/num.html?_=1730211016371 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:35:54] /aria/root/bg/resweb/num.html?_=1730211016372 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:36:00] /aria/root/bg/resweb/num.html?_=1730211016373 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `aria`.`requests`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [29-Oct-2024 16:36:06] /aria/root/bg/resweb/num.html?_=1730211016374 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

