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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

set names utf8
# [29-Oct-2024 14:44:01] /aria/root/bg/reservations/current.html 167.99.142.201

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

SELECT
                `reservations`.`ID`,
                `reservations`.`ResTime`,
                `reservations`.`Seats`,
                `reservations`.`Specials`,
                `reservations`.`Comment` AS ResComment,
                `clients`.`Phone` AS ClientPhone,
                `clients`.`FullName` AS ClientName,
                `clients`.`Specials` AS ClientSpecials,
                `clients`.`Comment` AS ClientComment,
                `res_arrived`.`ReservationID` AS Arrived,
                IF(`reservations`.`ResTime` < DATE_FORMAT(DATE_SUB(CURRENT_TIMESTAMP(), INTERVAL 10 MINUTE), '%H:%i:%s'), 1, 0) AS ClientLate /* закаснява повече от 10 мин */
            FROM
                `reservations`
                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
                LEFT JOIN `res_arrived` ON `res_arrived`.`ReservationID` = `reservations`.`ID`
            WHERE
                `reservations`.`ResDate` = CURDATE() AND
                `reservations`.`ResTime` > DATE_FORMAT(DATE_SUB(CURRENT_TIMESTAMP(), INTERVAL 1 HOUR), '%H:%i:%s') AND  /* до 1 час закъснение */
                /* `reservations`.`ResTime` < DATE_FORMAT(DATE_ADD(CURRENT_TIMESTAMP(), INTERVAL 4 HOUR), '%H:%i:%s') AND за следващите 4 часа // NE RABORI SLED 8 CHASA */
                `res_cancellations`.`ReservationID` IS NULL /* AND ne e kanselirana */
                /*`res_arrived`.`ReservationID` IS NULL   klienta oshte ne e pristignal(sluvitel ne e natisnal buton pristignal) */

SELECT
                                `ID`, `HallName`
                            FROM
                                `halls`
                            WHERE
                                `halls`.`Language` = 'bg'
                            ORDER BY
                                `halls`.`PostDate` ASC

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

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

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

set names utf8
# [29-Oct-2024 14:44:02] /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 '09:44:00' AND '19:44: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 14:44:02] /aria/root/bg/resweb/num.html?_=1730205842757 167.99.142.201

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:00:00] /aria/root/bg/resweb/num.html?_=1730205842915 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:00:06] /aria/root/bg/resweb/num.html?_=1730205842916 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:00:12] /aria/root/bg/resweb/num.html?_=1730205842917 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:00:18] /aria/root/bg/resweb/num.html?_=1730205842918 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:00:24] /aria/root/bg/resweb/num.html?_=1730205842919 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:00:30] /aria/root/bg/resweb/num.html?_=1730205842920 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:00:36] /aria/root/bg/resweb/num.html?_=1730205842921 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:00:42] /aria/root/bg/resweb/num.html?_=1730205842922 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:00:48] /aria/root/bg/resweb/num.html?_=1730205842923 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:00:54] /aria/root/bg/resweb/num.html?_=1730205842924 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:01:00] /aria/root/bg/resweb/num.html?_=1730205842925 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:01:06] /aria/root/bg/resweb/num.html?_=1730205842926 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:01:12] /aria/root/bg/resweb/num.html?_=1730205842927 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:01:18] /aria/root/bg/resweb/num.html?_=1730205842928 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:01:24] /aria/root/bg/resweb/num.html?_=1730205842929 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:01:30] /aria/root/bg/resweb/num.html?_=1730205842930 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:01:36] /aria/root/bg/resweb/num.html?_=1730205842931 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:01:42] /aria/root/bg/resweb/num.html?_=1730205842932 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:01:49] /aria/root/bg/resweb/num.html?_=1730205842933 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:01:55] /aria/root/bg/resweb/num.html?_=1730205842934 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:02:01] /aria/root/bg/resweb/num.html?_=1730205842935 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:02:07] /aria/root/bg/resweb/num.html?_=1730205842936 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:02:13] /aria/root/bg/resweb/num.html?_=1730205842937 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:02:19] /aria/root/bg/resweb/num.html?_=1730205842938 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:02:25] /aria/root/bg/resweb/num.html?_=1730205842939 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:02:31] /aria/root/bg/resweb/num.html?_=1730205842940 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:02:37] /aria/root/bg/resweb/num.html?_=1730205842941 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:02:43] /aria/root/bg/resweb/num.html?_=1730205842942 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:02:49] /aria/root/bg/resweb/num.html?_=1730205842943 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:02:55] /aria/root/bg/resweb/num.html?_=1730205842944 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:03:01] /aria/root/bg/resweb/num.html?_=1730205842945 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:03:07] /aria/root/bg/resweb/num.html?_=1730205842946 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:03:13] /aria/root/bg/resweb/num.html?_=1730205842947 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:03:19] /aria/root/bg/resweb/num.html?_=1730205842948 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:03:25] /aria/root/bg/resweb/num.html?_=1730205842949 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:03:31] /aria/root/bg/resweb/num.html?_=1730205842950 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:03:37] /aria/root/bg/resweb/num.html?_=1730205842951 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:03:43] /aria/root/bg/resweb/num.html?_=1730205842952 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:03:49] /aria/root/bg/resweb/num.html?_=1730205842953 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:03:55] /aria/root/bg/resweb/num.html?_=1730205842954 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:04:01] /aria/root/bg/resweb/num.html?_=1730205842955 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:04:08] /aria/root/bg/resweb/num.html?_=1730205842956 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:04:13] /aria/root/bg/resweb/num.html?_=1730205842957 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:04:19] /aria/root/bg/resweb/num.html?_=1730205842958 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:04:26] /aria/root/bg/resweb/num.html?_=1730205842959 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:04:32] /aria/root/bg/resweb/num.html?_=1730205842960 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:04:38] /aria/root/bg/resweb/num.html?_=1730205842961 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:04:44] /aria/root/bg/resweb/num.html?_=1730205842962 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:04:50] /aria/root/bg/resweb/num.html?_=1730205842963 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:04:56] /aria/root/bg/resweb/num.html?_=1730205842964 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:05:02] /aria/root/bg/resweb/num.html?_=1730205842965 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:05:08] /aria/root/bg/resweb/num.html?_=1730205842966 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:05:14] /aria/root/bg/resweb/num.html?_=1730205842967 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:05:20] /aria/root/bg/resweb/num.html?_=1730205842968 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:05:27] /aria/root/bg/resweb/num.html?_=1730205842969 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:05:33] /aria/root/bg/resweb/num.html?_=1730205842970 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:05:39] /aria/root/bg/resweb/num.html?_=1730205842971 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:05:45] /aria/root/bg/resweb/num.html?_=1730205842972 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:05:51] /aria/root/bg/resweb/num.html?_=1730205842973 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:05:57] /aria/root/bg/resweb/num.html?_=1730205842974 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:06:03] /aria/root/bg/resweb/num.html?_=1730205842975 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:06:09] /aria/root/bg/resweb/num.html?_=1730205842976 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:06:15] /aria/root/bg/resweb/num.html?_=1730205842977 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:06:21] /aria/root/bg/resweb/num.html?_=1730205842978 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:06:27] /aria/root/bg/resweb/num.html?_=1730205842979 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:06:33] /aria/root/bg/resweb/num.html?_=1730205842980 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:06:39] /aria/root/bg/resweb/num.html?_=1730205842981 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:06:45] /aria/root/bg/resweb/num.html?_=1730205842982 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:06:51] /aria/root/bg/resweb/num.html?_=1730205842983 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:06:57] /aria/root/bg/resweb/num.html?_=1730205842984 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:07:03] /aria/root/bg/resweb/num.html?_=1730205842985 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:07:09] /aria/root/bg/resweb/num.html?_=1730205842986 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:07:15] /aria/root/bg/resweb/num.html?_=1730205842987 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:07:21] /aria/root/bg/resweb/num.html?_=1730205842988 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:07:27] /aria/root/bg/resweb/num.html?_=1730205842989 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:07:33] /aria/root/bg/resweb/num.html?_=1730205842990 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:07:40] /aria/root/bg/resweb/num.html?_=1730205842991 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:07:46] /aria/root/bg/resweb/num.html?_=1730205842992 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:07:52] /aria/root/bg/resweb/num.html?_=1730205842993 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:07:58] /aria/root/bg/resweb/num.html?_=1730205842994 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:08:04] /aria/root/bg/resweb/num.html?_=1730205842995 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:08:10] /aria/root/bg/resweb/num.html?_=1730205842996 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:08:16] /aria/root/bg/resweb/num.html?_=1730205842997 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:08:22] /aria/root/bg/resweb/num.html?_=1730205842998 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:08:28] /aria/root/bg/resweb/num.html?_=1730205842999 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:08:34] /aria/root/bg/resweb/num.html?_=1730205843000 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:08:40] /aria/root/bg/resweb/num.html?_=1730205843001 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:08:46] /aria/root/bg/resweb/num.html?_=1730205843002 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:08:52] /aria/root/bg/resweb/num.html?_=1730205843003 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:08:59] /aria/root/bg/resweb/num.html?_=1730205843004 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:09:05] /aria/root/bg/resweb/num.html?_=1730205843005 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:09:11] /aria/root/bg/resweb/num.html?_=1730205843006 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:09:17] /aria/root/bg/resweb/num.html?_=1730205843007 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:09:23] /aria/root/bg/resweb/num.html?_=1730205843008 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:09:29] /aria/root/bg/resweb/num.html?_=1730205843009 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:09:35] /aria/root/bg/resweb/num.html?_=1730205843010 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:09:41] /aria/root/bg/resweb/num.html?_=1730205843011 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:09:47] /aria/root/bg/resweb/num.html?_=1730205843012 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:09:53] /aria/root/bg/resweb/num.html?_=1730205843013 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:09:59] /aria/root/bg/resweb/num.html?_=1730205843014 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:10:05] /aria/root/bg/resweb/num.html?_=1730205843015 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:10:11] /aria/root/bg/resweb/num.html?_=1730205843016 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:10:17] /aria/root/bg/resweb/num.html?_=1730205843017 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:10:23] /aria/root/bg/resweb/num.html?_=1730205843018 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:10:29] /aria/root/bg/resweb/num.html?_=1730205843019 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:10:35] /aria/root/bg/resweb/num.html?_=1730205843020 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:10:41] /aria/root/bg/resweb/num.html?_=1730205843021 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:10:47] /aria/root/bg/resweb/num.html?_=1730205843022 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:10:53] /aria/root/bg/resweb/num.html?_=1730205843023 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:10:59] /aria/root/bg/resweb/num.html?_=1730205843024 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:11:06] /aria/root/bg/resweb/num.html?_=1730205843025 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:11:12] /aria/root/bg/resweb/num.html?_=1730205843026 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:11:18] /aria/root/bg/resweb/num.html?_=1730205843027 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:11:24] /aria/root/bg/resweb/num.html?_=1730205843028 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:11:30] /aria/root/bg/resweb/num.html?_=1730205843029 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:11:36] /aria/root/bg/resweb/num.html?_=1730205843030 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:11:42] /aria/root/bg/resweb/num.html?_=1730205843031 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:11:48] /aria/root/bg/resweb/num.html?_=1730205843032 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:11:54] /aria/root/bg/resweb/num.html?_=1730205843033 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:12:00] /aria/root/bg/resweb/num.html?_=1730205843034 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:12:06] /aria/root/bg/resweb/num.html?_=1730205843035 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:12:12] /aria/root/bg/resweb/num.html?_=1730205843036 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:12:18] /aria/root/bg/resweb/num.html?_=1730205843037 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:12:24] /aria/root/bg/resweb/num.html?_=1730205843038 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:12:31] /aria/root/bg/resweb/num.html?_=1730205843039 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:12:37] /aria/root/bg/resweb/num.html?_=1730205843040 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:12:43] /aria/root/bg/resweb/num.html?_=1730205843041 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:12:49] /aria/root/bg/resweb/num.html?_=1730205843042 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:12:55] /aria/root/bg/resweb/num.html?_=1730205843043 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:13:01] /aria/root/bg/resweb/num.html?_=1730205843044 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:13:07] /aria/root/bg/resweb/num.html?_=1730205843045 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:13:13] /aria/root/bg/resweb/num.html?_=1730205843046 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:13:19] /aria/root/bg/resweb/num.html?_=1730205843047 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:13:25] /aria/root/bg/resweb/num.html?_=1730205843048 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:13:31] /aria/root/bg/resweb/num.html?_=1730205843049 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:13:37] /aria/root/bg/resweb/num.html?_=1730205843050 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:13:43] /aria/root/bg/resweb/num.html?_=1730205843051 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:13:49] /aria/root/bg/resweb/num.html?_=1730205843052 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:13:55] /aria/root/bg/resweb/num.html?_=1730205843053 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:14:01] /aria/root/bg/resweb/num.html?_=1730205843054 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:14:07] /aria/root/bg/resweb/num.html?_=1730205843055 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:14:14] /aria/root/bg/resweb/num.html?_=1730205843056 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:14:20] /aria/root/bg/resweb/num.html?_=1730205843057 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:14:26] /aria/root/bg/resweb/num.html?_=1730205843058 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:14:32] /aria/root/bg/resweb/num.html?_=1730205843059 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:14:38] /aria/root/bg/resweb/num.html?_=1730205843060 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:14:44] /aria/root/bg/resweb/num.html?_=1730205843061 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:14:50] /aria/root/bg/resweb/num.html?_=1730205843062 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:14:56] /aria/root/bg/resweb/num.html?_=1730205843063 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:15:02] /aria/root/bg/resweb/num.html?_=1730205843064 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:15:08] /aria/root/bg/resweb/num.html?_=1730205843065 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:15:14] /aria/root/bg/resweb/num.html?_=1730205843066 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:15:20] /aria/root/bg/resweb/num.html?_=1730205843067 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:15:26] /aria/root/bg/resweb/num.html?_=1730205843068 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:15:32] /aria/root/bg/resweb/num.html?_=1730205843069 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:15:38] /aria/root/bg/resweb/num.html?_=1730205843070 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:15:44] /aria/root/bg/resweb/num.html?_=1730205843071 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:15:50] /aria/root/bg/resweb/num.html?_=1730205843072 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:15:56] /aria/root/bg/resweb/num.html?_=1730205843073 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:16:02] /aria/root/bg/resweb/num.html?_=1730205843074 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:16:08] /aria/root/bg/resweb/num.html?_=1730205843075 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:16:14] /aria/root/bg/resweb/num.html?_=1730205843076 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:16:20] /aria/root/bg/resweb/num.html?_=1730205843077 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:16:26] /aria/root/bg/resweb/num.html?_=1730205843078 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:16:32] /aria/root/bg/resweb/num.html?_=1730205843079 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:16:39] /aria/root/bg/resweb/num.html?_=1730205843080 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:16:45] /aria/root/bg/resweb/num.html?_=1730205843081 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:16:51] /aria/root/bg/resweb/num.html?_=1730205843082 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:16:57] /aria/root/bg/resweb/num.html?_=1730205843083 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:17:03] /aria/root/bg/resweb/num.html?_=1730205843084 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:17:09] /aria/root/bg/resweb/num.html?_=1730205843085 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:17:15] /aria/root/bg/resweb/num.html?_=1730205843086 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:17:21] /aria/root/bg/resweb/num.html?_=1730205843087 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:17:27] /aria/root/bg/resweb/num.html?_=1730205843088 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:17:33] /aria/root/bg/resweb/num.html?_=1730205843089 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:17:39] /aria/root/bg/resweb/num.html?_=1730205843090 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:17:45] /aria/root/bg/resweb/num.html?_=1730205843091 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:17:51] /aria/root/bg/resweb/num.html?_=1730205843092 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:17:57] /aria/root/bg/resweb/num.html?_=1730205843093 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:18:03] /aria/root/bg/resweb/num.html?_=1730205843094 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:18:10] /aria/root/bg/resweb/num.html?_=1730205843095 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:18:16] /aria/root/bg/resweb/num.html?_=1730205843096 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:18:22] /aria/root/bg/resweb/num.html?_=1730205843097 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:18:28] /aria/root/bg/resweb/num.html?_=1730205843098 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:18:34] /aria/root/bg/resweb/num.html?_=1730205843099 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:18:40] /aria/root/bg/resweb/num.html?_=1730205843100 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:18:46] /aria/root/bg/resweb/num.html?_=1730205843101 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:18:52] /aria/root/bg/resweb/num.html?_=1730205843102 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:18:58] /aria/root/bg/resweb/num.html?_=1730205843103 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:19:04] /aria/root/bg/resweb/num.html?_=1730205843104 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:19:10] /aria/root/bg/resweb/num.html?_=1730205843105 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:19:16] /aria/root/bg/resweb/num.html?_=1730205843106 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:19:22] /aria/root/bg/resweb/num.html?_=1730205843107 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:19:28] /aria/root/bg/resweb/num.html?_=1730205843108 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:19:34] /aria/root/bg/resweb/num.html?_=1730205843109 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:19:40] /aria/root/bg/resweb/num.html?_=1730205843110 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:19:46] /aria/root/bg/resweb/num.html?_=1730205843111 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:19:52] /aria/root/bg/resweb/num.html?_=1730205843112 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:19:59] /aria/root/bg/resweb/num.html?_=1730205843113 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:20:05] /aria/root/bg/resweb/num.html?_=1730205843114 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:20:11] /aria/root/bg/resweb/num.html?_=1730205843115 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:20:17] /aria/root/bg/resweb/num.html?_=1730205843116 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:20:23] /aria/root/bg/resweb/num.html?_=1730205843117 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:20:29] /aria/root/bg/resweb/num.html?_=1730205843118 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:20:35] /aria/root/bg/resweb/num.html?_=1730205843119 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:20:41] /aria/root/bg/resweb/num.html?_=1730205843120 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:20:47] /aria/root/bg/resweb/num.html?_=1730205843121 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:20:53] /aria/root/bg/resweb/num.html?_=1730205843122 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:20:59] /aria/root/bg/resweb/num.html?_=1730205843123 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:21:05] /aria/root/bg/resweb/num.html?_=1730205843124 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:21:11] /aria/root/bg/resweb/num.html?_=1730205843125 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:21:18] /aria/root/bg/resweb/num.html?_=1730205843126 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:21:24] /aria/root/bg/resweb/num.html?_=1730205843127 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:21:30] /aria/root/bg/resweb/num.html?_=1730205843128 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:21:36] /aria/root/bg/resweb/num.html?_=1730205843129 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:21:42] /aria/root/bg/resweb/num.html?_=1730205843130 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:21:48] /aria/root/bg/resweb/num.html?_=1730205843131 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:21:54] /aria/root/bg/resweb/num.html?_=1730205843132 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:22:00] /aria/root/bg/resweb/num.html?_=1730205843133 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:22:06] /aria/root/bg/resweb/num.html?_=1730205843134 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:22:12] /aria/root/bg/resweb/num.html?_=1730205843135 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:22:18] /aria/root/bg/resweb/num.html?_=1730205843136 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:22:24] /aria/root/bg/resweb/num.html?_=1730205843137 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:22:30] /aria/root/bg/resweb/num.html?_=1730205843138 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:22:36] /aria/root/bg/resweb/num.html?_=1730205843139 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:22:42] /aria/root/bg/resweb/num.html?_=1730205843140 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:22:48] /aria/root/bg/resweb/num.html?_=1730205843141 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:22:54] /aria/root/bg/resweb/num.html?_=1730205843142 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:23:00] /aria/root/bg/resweb/num.html?_=1730205843143 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:23:06] /aria/root/bg/resweb/num.html?_=1730205843144 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:23:12] /aria/root/bg/resweb/num.html?_=1730205843145 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:23:18] /aria/root/bg/resweb/num.html?_=1730205843146 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:23:24] /aria/root/bg/resweb/num.html?_=1730205843147 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:23:30] /aria/root/bg/resweb/num.html?_=1730205843148 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:23:36] /aria/root/bg/resweb/num.html?_=1730205843149 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:23:42] /aria/root/bg/resweb/num.html?_=1730205843150 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:23:48] /aria/root/bg/resweb/num.html?_=1730205843151 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:23:55] /aria/root/bg/resweb/num.html?_=1730205843152 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:24:01] /aria/root/bg/resweb/num.html?_=1730205843153 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:24:07] /aria/root/bg/resweb/num.html?_=1730205843154 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:24:13] /aria/root/bg/resweb/num.html?_=1730205843155 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:24:19] /aria/root/bg/resweb/num.html?_=1730205843156 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:24:25] /aria/root/bg/resweb/num.html?_=1730205843157 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:24:31] /aria/root/bg/resweb/num.html?_=1730205843158 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:24:37] /aria/root/bg/resweb/num.html?_=1730205843159 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:24:43] /aria/root/bg/resweb/num.html?_=1730205843160 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:24:49] /aria/root/bg/resweb/num.html?_=1730205843161 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:24:55] /aria/root/bg/resweb/num.html?_=1730205843162 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:34:51] /aria/root/bg/resweb/num.html?_=1730205843164 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:34:57] /aria/root/bg/resweb/num.html?_=1730205843165 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:35:03] /aria/root/bg/resweb/num.html?_=1730205843166 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:35:10] /aria/root/bg/resweb/num.html?_=1730205843167 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:35:15] /aria/root/bg/resweb/num.html?_=1730205843168 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:35:21] /aria/root/bg/resweb/num.html?_=1730205843169 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:35:28] /aria/root/bg/resweb/num.html?_=1730205843170 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:35:34] /aria/root/bg/resweb/num.html?_=1730205843171 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:35:40] /aria/root/bg/resweb/num.html?_=1730205843172 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:35:46] /aria/root/bg/resweb/num.html?_=1730205843173 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:35:52] /aria/root/bg/resweb/num.html?_=1730205843174 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:35:58] /aria/root/bg/resweb/num.html?_=1730205843175 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:36:04] /aria/root/bg/resweb/num.html?_=1730205843176 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:36:10] /aria/root/bg/resweb/num.html?_=1730205843177 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:36:16] /aria/root/bg/resweb/num.html?_=1730205843178 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:36:22] /aria/root/bg/resweb/num.html?_=1730205843179 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:36:28] /aria/root/bg/resweb/num.html?_=1730205843180 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:36:34] /aria/root/bg/resweb/num.html?_=1730205843181 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:36:40] /aria/root/bg/resweb/num.html?_=1730205843182 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:36:46] /aria/root/bg/resweb/num.html?_=1730205843183 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:36:52] /aria/root/bg/resweb/num.html?_=1730205843184 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:36:58] /aria/root/bg/resweb/num.html?_=1730205843185 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:37:04] /aria/root/bg/resweb/num.html?_=1730205843186 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:37:10] /aria/root/bg/resweb/num.html?_=1730205843187 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:37:16] /aria/root/bg/resweb/num.html?_=1730205843188 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:37:22] /aria/root/bg/resweb/num.html?_=1730205843189 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:37:28] /aria/root/bg/resweb/num.html?_=1730205843190 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:37:34] /aria/root/bg/resweb/num.html?_=1730205843191 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:37:40] /aria/root/bg/resweb/num.html?_=1730205843192 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:37:46] /aria/root/bg/resweb/num.html?_=1730205843193 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:37:52] /aria/root/bg/resweb/num.html?_=1730205843194 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:37:58] /aria/root/bg/resweb/num.html?_=1730205843195 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:38:04] /aria/root/bg/resweb/num.html?_=1730205843196 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:38:10] /aria/root/bg/resweb/num.html?_=1730205843197 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:38:17] /aria/root/bg/resweb/num.html?_=1730205843198 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:38:17] /aria/root/bg/reservations/week.html 167.99.142.201

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

SELECT DISTINCT
                                `clients`.`FullName` AS ClientName
                            FROM
                                `reservations`
                                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                            WHERE
                                `reservations`.`ResDate` BETWEEN '2024-10-29' AND '2024-11-05'

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

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

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

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:38:19] /aria/root/bg/reservations/40123.html 167.99.142.201

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

SELECT
                `reservations`.*,
                `res_cancellations`.`UserID` AS CancellationsUserID
            FROM
                `reservations`
                LEFT JOIN `res_cancellations` ON `reservations`.`ID` = `res_cancellations`.`ReservationID`

            WHERE
                `reservations`.`ID` = '40123'
            LIMIT 1

SELECT
                `clients`.*,
                (SELECT
                    COUNT(`ID`)
                    FROM `reservations`
                    WHERE `reservations`.`ClientID` = '35814'
                ) AS Reservations,
                (SELECT
                    COUNT(`ReservationID`)
                    FROM
                        `res_cancellations`
                        INNER JOIN `reservations` ON `reservations`.`ID` = `res_cancellations`.`ReservationID`
                    WHERE `reservations`.`ClientID` = '35814'
                ) AS Cancellations
            FROM
                `clients`
            WHERE
                `ID` = '35814'
            LIMIT 1

SELECT
                `Data`
            FROM
                `aria`.`staff`
            WHERE
                `ID` = '2'
            LIMIT 1

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS TableNumber,
                `tables`.`Shape` AS TableShape,
                `tables`.`Seats` AS TableSeats,
                `tables`.`AdSeats` AS TableAdSeats
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Language` = 'bg'
            WHERE
                `ReservationID` = 40123

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

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:38:22] /aria/root/bg/reservations/delete/40123.html?_=1730209099403 167.99.142.201

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

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

DELETE FROM `res_arrived` WHERE `ReservationID` = '40123'

DELETE FROM `res_cancellations` WHERE `ReservationID` = '40123'

DELETE FROM `reservations` WHERE `ID` = '40123'

set names utf8
# [29-Oct-2024 15:38:22] /aria/root/admin/bg/reservations/week.html 167.99.142.201

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

SELECT DISTINCT
                                `clients`.`FullName` AS ClientName
                            FROM
                                `reservations`
                                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                            WHERE
                                `reservations`.`ResDate` BETWEEN '2024-10-29' AND '2024-11-05'

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

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

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:38:25] /aria/root/bg/reservations/40123.html 167.99.142.201

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

SELECT
                `reservations`.*,
                `res_cancellations`.`UserID` AS CancellationsUserID
            FROM
                `reservations`
                LEFT JOIN `res_cancellations` ON `reservations`.`ID` = `res_cancellations`.`ReservationID`

            WHERE
                `reservations`.`ID` = '40123'
            LIMIT 1

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

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:38:27] /aria/root/bg/reservations/week.html 167.99.142.201

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

SELECT DISTINCT
                                `clients`.`FullName` AS ClientName
                            FROM
                                `reservations`
                                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                            WHERE
                                `reservations`.`ResDate` BETWEEN '2024-10-29' AND '2024-11-05'

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

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

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:38:33] /aria/root/bg/resweb/num.html?_=1730209107846 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:38:39] /aria/root/bg/resweb/num.html?_=1730209107847 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:38:46] /aria/root/bg/resweb/num.html?_=1730209107848 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:38:52] /aria/root/bg/resweb/num.html?_=1730209107849 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:38:58] /aria/root/bg/resweb/num.html?_=1730209107850 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:39:04] /aria/root/bg/resweb/num.html?_=1730209107851 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:39:10] /aria/root/bg/resweb/num.html?_=1730209107852 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:39:16] /aria/root/bg/resweb/num.html?_=1730209107853 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:39:22] /aria/root/bg/resweb/num.html?_=1730209107854 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:39:28] /aria/root/bg/resweb/num.html?_=1730209107855 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:39:34] /aria/root/bg/resweb/num.html?_=1730209107856 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:39:40] /aria/root/bg/resweb/num.html?_=1730209107857 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:39:46] /aria/root/bg/resweb/num.html?_=1730209107858 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:39:52] /aria/root/bg/resweb/num.html?_=1730209107859 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:39:58] /aria/root/bg/resweb/num.html?_=1730209107860 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:40:04] /aria/root/bg/resweb/num.html?_=1730209107861 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:40:10] /aria/root/bg/resweb/num.html?_=1730209107862 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:40:16] /aria/root/bg/resweb/num.html?_=1730209107863 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:40:22] /aria/root/bg/resweb/num.html?_=1730209107864 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:40:28] /aria/root/bg/resweb/num.html?_=1730209107865 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:40:34] /aria/root/bg/resweb/num.html?_=1730209107866 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:40:40] /aria/root/bg/resweb/num.html?_=1730209107867 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:40:46] /aria/root/bg/resweb/num.html?_=1730209107868 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:40:52] /aria/root/bg/resweb/num.html?_=1730209107869 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:40:58] /aria/root/bg/resweb/num.html?_=1730209107870 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:41:04] /aria/root/bg/resweb/num.html?_=1730209107871 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:41:10] /aria/root/bg/resweb/num.html?_=1730209107872 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:41:16] /aria/root/bg/resweb/num.html?_=1730209107873 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:41:22] /aria/root/bg/resweb/num.html?_=1730209107874 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:41:29] /aria/root/bg/resweb/num.html?_=1730209107875 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:41:35] /aria/root/bg/resweb/num.html?_=1730209107876 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:41:41] /aria/root/bg/resweb/num.html?_=1730209107877 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:41:47] /aria/root/bg/resweb/num.html?_=1730209107878 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:41:53] /aria/root/bg/resweb/num.html?_=1730209107879 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:41:59] /aria/root/bg/resweb/num.html?_=1730209107880 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:42:05] /aria/root/bg/resweb/num.html?_=1730209107881 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:42:11] /aria/root/bg/resweb/num.html?_=1730209107882 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:42:17] /aria/root/bg/resweb/num.html?_=1730209107883 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:42:24] /aria/root/bg/resweb/num.html?_=1730209107884 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:42:30] /aria/root/bg/resweb/num.html?_=1730209107885 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:42:36] /aria/root/bg/resweb/num.html?_=1730209107886 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:42:42] /aria/root/bg/resweb/num.html?_=1730209107887 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:42:48] /aria/root/bg/resweb/num.html?_=1730209107888 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:42:54] /aria/root/bg/resweb/num.html?_=1730209107889 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:43:00] /aria/root/bg/resweb/num.html?_=1730209107890 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:43:06] /aria/root/bg/resweb/num.html?_=1730209107891 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:43:12] /aria/root/bg/resweb/num.html?_=1730209107892 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:43:18] /aria/root/bg/resweb/num.html?_=1730209107893 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:43:24] /aria/root/bg/resweb/num.html?_=1730209107894 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:43:30] /aria/root/bg/resweb/num.html?_=1730209107895 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:43:36] /aria/root/bg/resweb/num.html?_=1730209107896 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:43:42] /aria/root/bg/resweb/num.html?_=1730209107897 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:43:45] /aria/root/bg/reservations/current.html 167.99.142.201

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

SELECT
                `reservations`.`ID`,
                `reservations`.`ResTime`,
                `reservations`.`Seats`,
                `reservations`.`Specials`,
                `reservations`.`Comment` AS ResComment,
                `clients`.`Phone` AS ClientPhone,
                `clients`.`FullName` AS ClientName,
                `clients`.`Specials` AS ClientSpecials,
                `clients`.`Comment` AS ClientComment,
                `res_arrived`.`ReservationID` AS Arrived,
                IF(`reservations`.`ResTime` < DATE_FORMAT(DATE_SUB(CURRENT_TIMESTAMP(), INTERVAL 10 MINUTE), '%H:%i:%s'), 1, 0) AS ClientLate /* закаснява повече от 10 мин */
            FROM
                `reservations`
                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
                LEFT JOIN `res_arrived` ON `res_arrived`.`ReservationID` = `reservations`.`ID`
            WHERE
                `reservations`.`ResDate` = CURDATE() AND
                `reservations`.`ResTime` > DATE_FORMAT(DATE_SUB(CURRENT_TIMESTAMP(), INTERVAL 1 HOUR), '%H:%i:%s') AND  /* до 1 час закъснение */
                /* `reservations`.`ResTime` < DATE_FORMAT(DATE_ADD(CURRENT_TIMESTAMP(), INTERVAL 4 HOUR), '%H:%i:%s') AND за следващите 4 часа // NE RABORI SLED 8 CHASA */
                `res_cancellations`.`ReservationID` IS NULL /* AND ne e kanselirana */
                /*`res_arrived`.`ReservationID` IS NULL   klienta oshte ne e pristignal(sluvitel ne e natisnal buton pristignal) */

SELECT
                                `ID`, `HallName`
                            FROM
                                `halls`
                            WHERE
                                `halls`.`Language` = 'bg'
                            ORDER BY
                                `halls`.`PostDate` ASC

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

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:43:51] /aria/root/bg/resweb/num.html?_=1730209425815 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:43:55] /aria/root/bg/reservations/current.html 167.99.142.201

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

SELECT
                `reservations`.`ID`,
                `reservations`.`ResTime`,
                `reservations`.`Seats`,
                `reservations`.`Specials`,
                `reservations`.`Comment` AS ResComment,
                `clients`.`Phone` AS ClientPhone,
                `clients`.`FullName` AS ClientName,
                `clients`.`Specials` AS ClientSpecials,
                `clients`.`Comment` AS ClientComment,
                `res_arrived`.`ReservationID` AS Arrived,
                IF(`reservations`.`ResTime` < DATE_FORMAT(DATE_SUB(CURRENT_TIMESTAMP(), INTERVAL 10 MINUTE), '%H:%i:%s'), 1, 0) AS ClientLate /* закаснява повече от 10 мин */
            FROM
                `reservations`
                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
                LEFT JOIN `res_arrived` ON `res_arrived`.`ReservationID` = `reservations`.`ID`
            WHERE
                `reservations`.`ResDate` = CURDATE() AND
                `reservations`.`ResTime` > DATE_FORMAT(DATE_SUB(CURRENT_TIMESTAMP(), INTERVAL 1 HOUR), '%H:%i:%s') AND  /* до 1 час закъснение */
                /* `reservations`.`ResTime` < DATE_FORMAT(DATE_ADD(CURRENT_TIMESTAMP(), INTERVAL 4 HOUR), '%H:%i:%s') AND за следващите 4 часа // NE RABORI SLED 8 CHASA */
                `res_cancellations`.`ReservationID` IS NULL /* AND ne e kanselirana */
                /*`res_arrived`.`ReservationID` IS NULL   klienta oshte ne e pristignal(sluvitel ne e natisnal buton pristignal) */

SELECT
                                `ID`, `HallName`
                            FROM
                                `halls`
                            WHERE
                                `halls`.`Language` = 'bg'
                            ORDER BY
                                `halls`.`PostDate` ASC

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

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:44:01] /aria/root/bg/resweb/num.html?_=1730209435436 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:44:07] /aria/root/bg/resweb/num.html?_=1730209435437 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:44:13] /aria/root/bg/resweb/num.html?_=1730209435438 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:44:19] /aria/root/bg/resweb/num.html?_=1730209435439 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:44:25] /aria/root/bg/resweb/num.html?_=1730209435440 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:44:31] /aria/root/bg/resweb/num.html?_=1730209435441 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:44:37] /aria/root/bg/resweb/num.html?_=1730209435442 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:44:43] /aria/root/bg/resweb/num.html?_=1730209435443 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:44:49] /aria/root/bg/resweb/num.html?_=1730209435444 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:44:55] /aria/root/bg/resweb/num.html?_=1730209435445 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:45:01] /aria/root/bg/resweb/num.html?_=1730209435446 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:45:07] /aria/root/bg/resweb/num.html?_=1730209435447 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:45:13] /aria/root/bg/resweb/num.html?_=1730209435448 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:45:19] /aria/root/bg/resweb/num.html?_=1730209435449 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:45:25] /aria/root/bg/resweb/num.html?_=1730209435450 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:45:31] /aria/root/bg/resweb/num.html?_=1730209435451 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:45:37] /aria/root/bg/resweb/num.html?_=1730209435452 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:45:43] /aria/root/bg/resweb/num.html?_=1730209435453 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:45:49] /aria/root/bg/resweb/num.html?_=1730209435454 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:45:55] /aria/root/bg/resweb/num.html?_=1730209435455 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:45:58] /aria/root/bg/reservations/current.html 167.99.142.201

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

SELECT
                `reservations`.`ID`,
                `reservations`.`ResTime`,
                `reservations`.`Seats`,
                `reservations`.`Specials`,
                `reservations`.`Comment` AS ResComment,
                `clients`.`Phone` AS ClientPhone,
                `clients`.`FullName` AS ClientName,
                `clients`.`Specials` AS ClientSpecials,
                `clients`.`Comment` AS ClientComment,
                `res_arrived`.`ReservationID` AS Arrived,
                IF(`reservations`.`ResTime` < DATE_FORMAT(DATE_SUB(CURRENT_TIMESTAMP(), INTERVAL 10 MINUTE), '%H:%i:%s'), 1, 0) AS ClientLate /* закаснява повече от 10 мин */
            FROM
                `reservations`
                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
                LEFT JOIN `res_arrived` ON `res_arrived`.`ReservationID` = `reservations`.`ID`
            WHERE
                `reservations`.`ResDate` = CURDATE() AND
                `reservations`.`ResTime` > DATE_FORMAT(DATE_SUB(CURRENT_TIMESTAMP(), INTERVAL 1 HOUR), '%H:%i:%s') AND  /* до 1 час закъснение */
                /* `reservations`.`ResTime` < DATE_FORMAT(DATE_ADD(CURRENT_TIMESTAMP(), INTERVAL 4 HOUR), '%H:%i:%s') AND за следващите 4 часа // NE RABORI SLED 8 CHASA */
                `res_cancellations`.`ReservationID` IS NULL /* AND ne e kanselirana */
                /*`res_arrived`.`ReservationID` IS NULL   klienta oshte ne e pristignal(sluvitel ne e natisnal buton pristignal) */

SELECT
                                `ID`, `HallName`
                            FROM
                                `halls`
                            WHERE
                                `halls`.`Language` = 'bg'
                            ORDER BY
                                `halls`.`PostDate` ASC

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

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:46:00] /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:46:00' AND '20:46: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:46:00] /aria/root/bg/resweb/num.html?_=1730209560715 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:46:06] /aria/root/bg/resweb/num.html?_=1730209560716 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:46:13] /aria/root/bg/resweb/num.html?_=1730209560717 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:46:19] /aria/root/bg/resweb/num.html?_=1730209560718 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:46:26] /aria/root/bg/resweb/num.html?_=1730209560719 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:46:32] /aria/root/bg/resweb/num.html?_=1730209560720 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:46:38] /aria/root/bg/resweb/num.html?_=1730209560721 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:46:45] /aria/root/bg/resweb/num.html?_=1730209560722 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:46:51] /aria/root/bg/resweb/num.html?_=1730209560723 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:46:57] /aria/root/bg/resweb/num.html?_=1730209560724 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:03] /aria/root/bg/resweb/num.html?_=1730209560725 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:09] /aria/root/bg/resweb/num.html?_=1730209560726 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `aria`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                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:16] /aria/root/bg/resweb/num.html?_=1730209560727 167.99.142.201

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

