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

set names utf8
# [12-Apr-2023 15:23:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329761 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:23:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552139 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:23:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329762 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:23:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552140 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329763 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552141 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329764 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552142 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329765 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552143 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329766 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552144 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329767 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552145 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329768 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552146 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329769 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552147 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329770 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552148 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329771 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552149 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329772 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:24:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552150 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329773 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:06] /constantinoff/res/root/bg/resweb/num.html?_=1681300552151 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329774 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552152 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329775 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552153 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329776 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552154 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329777 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552155 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329778 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552156 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329779 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552157 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329780 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552158 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329781 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552159 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329782 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:25:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552160 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329783 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552161 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329784 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552162 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329785 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552163 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329786 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552164 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329787 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552165 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329788 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552166 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329789 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:42] /constantinoff/res/root/bg/resweb/num.html?_=1681300552167 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329790 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552168 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329791 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552169 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329792 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:26:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552170 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329793 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552171 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329794 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:12] /constantinoff/res/root/bg/resweb/num.html?_=1681300552172 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329795 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552173 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329796 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552174 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329797 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:30] /constantinoff/res/root/bg/resweb/num.html?_=1681300552175 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329798 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552176 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329799 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552177 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329800 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552178 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329801 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552179 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329802 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:27:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552180 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329803 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552181 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329804 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552182 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329805 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552183 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329806 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552184 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329807 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:30] /constantinoff/res/root/bg/resweb/num.html?_=1681300552185 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329808 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552186 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329809 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552187 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329810 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552188 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329811 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552189 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329812 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:28:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552190 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329813 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552191 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329814 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552192 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329815 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552193 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329816 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552194 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329817 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552195 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329818 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552196 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329819 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552197 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329820 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552198 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329821 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552199 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329822 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:29:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552200 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329823 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552201 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329824 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552202 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329825 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552203 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329826 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552204 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329827 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552205 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329828 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:36] /constantinoff/res/root/bg/resweb/num.html?_=1681300552206 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329829 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552207 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329830 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552208 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329831 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552209 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329832 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:30:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552210 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329833 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552211 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329834 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552212 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329835 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552213 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329836 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552214 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329837 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552215 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329838 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552216 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329839 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552217 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329840 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552218 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329841 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552219 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329842 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:31:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552220 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329843 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552221 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329844 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:12] /constantinoff/res/root/bg/resweb/num.html?_=1681300552222 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329845 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552223 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329846 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552224 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329847 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:30] /constantinoff/res/root/bg/resweb/num.html?_=1681300552225 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329848 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552226 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329849 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:42] /constantinoff/res/root/bg/resweb/num.html?_=1681300552227 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329850 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552228 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329851 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552229 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329852 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:32:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552230 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329853 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552231 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329854 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:12] /constantinoff/res/root/bg/resweb/num.html?_=1681300552232 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329855 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552233 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329856 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552234 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329857 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552235 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329858 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552236 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329859 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552237 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329860 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552238 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329861 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552239 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329862 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:33:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552240 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329863 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:06] /constantinoff/res/root/bg/resweb/num.html?_=1681300552241 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329864 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552242 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329865 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552243 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329866 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552244 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329867 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552245 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329868 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:36] /constantinoff/res/root/bg/resweb/num.html?_=1681300552246 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329869 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552247 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329870 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552248 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329871 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552249 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329872 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:34:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552250 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329873 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552251 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329874 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552252 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329875 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552253 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329876 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552254 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329877 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552255 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329878 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552256 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329879 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552257 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329880 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552258 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329881 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552259 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329882 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:35:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552260 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329883 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552261 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329884 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552262 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329885 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552263 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329886 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552264 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329887 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552265 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329888 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552266 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329889 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552267 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329890 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:48] /constantinoff/res/root/bg/resweb/num.html?_=1681300552268 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329891 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552269 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329892 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:36:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552270 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329893 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552271 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329894 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552272 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329895 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552273 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329896 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552274 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329897 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552275 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329898 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552276 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329899 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552277 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329900 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:48] /constantinoff/res/root/bg/resweb/num.html?_=1681300552278 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329901 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552279 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:57] /constantinoff/res/root/bg/resweb/num.html?_=1681301329902 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:37:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552280 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329903 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552281 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329904 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552282 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329905 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552283 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329906 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552284 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329907 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552285 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329908 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552286 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329909 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:43] /constantinoff/res/root/bg/resweb/num.html?_=1681300552287 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329910 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:48] /constantinoff/res/root/bg/resweb/num.html?_=1681300552288 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:52] /constantinoff/res/root/bg/resweb/num.html?_=1681301329911 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:54] /constantinoff/res/root/bg/resweb/num.html?_=1681300552289 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:38:58] /constantinoff/res/root/bg/resweb/num.html?_=1681301329912 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:00] /constantinoff/res/root/bg/resweb/num.html?_=1681300552290 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329913 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:06] /constantinoff/res/root/bg/resweb/num.html?_=1681300552291 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:11] /constantinoff/res/root/bg/resweb/num.html?_=1681301329914 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:12] /constantinoff/res/root/bg/resweb/num.html?_=1681300552292 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:16] /constantinoff/res/root/bg/resweb/num.html?_=1681301329915 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:18] /constantinoff/res/root/bg/resweb/num.html?_=1681300552293 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:22] /constantinoff/res/root/bg/resweb/num.html?_=1681301329916 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:24] /constantinoff/res/root/bg/resweb/num.html?_=1681300552294 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329917 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552295 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:34] /constantinoff/res/root/bg/resweb/num.html?_=1681301329918 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552296 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:40] /constantinoff/res/root/bg/resweb/num.html?_=1681301329919 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552297 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329920 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:48] /constantinoff/res/root/bg/resweb/num.html?_=1681300552298 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:51] /constantinoff/res/root/bg/resweb/num.html?_=1681301329921 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552299 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:39:58] /constantinoff/res/root/bg/resweb/num.html?_=1681301329922 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:00] /constantinoff/res/root/bg/resweb/num.html?_=1681300552300 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:03] /constantinoff/res/root/bg/resweb/num.html?_=1681301329923 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552301 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:09] /constantinoff/res/root/bg/resweb/num.html?_=1681301329924 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:12] /constantinoff/res/root/bg/resweb/num.html?_=1681300552302 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:15] /constantinoff/res/root/bg/resweb/num.html?_=1681301329925 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552303 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:21] /constantinoff/res/root/bg/resweb/num.html?_=1681301329926 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:24] /constantinoff/res/root/bg/resweb/num.html?_=1681300552304 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:27] /constantinoff/res/root/bg/resweb/num.html?_=1681301329927 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:30] /constantinoff/res/root/bg/resweb/num.html?_=1681300552305 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:33] /constantinoff/res/root/bg/resweb/num.html?_=1681301329928 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552306 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:39] /constantinoff/res/root/bg/resweb/num.html?_=1681301329929 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552307 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:45] /constantinoff/res/root/bg/resweb/num.html?_=1681301329930 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:45] /constantinoff/res/root/bg/resweb/form/812979.html 167.99.142.201

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

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE
                `ID` = '812979'
            LIMIT 1

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

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

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

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

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

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

set names utf8
# [12-Apr-2023 15:40:45] /constantinoff/res/root/bg/resweb/num.html?_=1681303250854 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:47] /constantinoff/res/root/bg/resweb.html 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:47] /constantinoff/res/root/bg/resweb/num.html?_=1681303252335 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552308 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:48] /constantinoff/res/root/bg/resweb/form/812981.html 167.99.142.201

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

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE
                `ID` = '812981'
            LIMIT 1

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

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

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

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

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

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

set names utf8
# [12-Apr-2023 15:40:48] /constantinoff/res/root/bg/resweb/num.html?_=1681303253709 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552309 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:54] /constantinoff/res/root/bg/resweb/num.html?_=1681303253710 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:40:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552310 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:00] /constantinoff/res/root/bg/resweb/num.html?_=1681303253711 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:06] /constantinoff/res/root/bg/resweb/num.html?_=1681300552311 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:06] /constantinoff/res/root/bg/resweb/num.html?_=1681303253712 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:12] /constantinoff/res/root/bg/resweb/num.html?_=1681300552312 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:12] /constantinoff/res/root/bg/resweb/num.html?_=1681303253713 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552313 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:18] /constantinoff/res/root/bg/resweb/num.html?_=1681303253714 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:24] /constantinoff/res/root/bg/resweb/num.html?_=1681300552314 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:25] /constantinoff/res/root/bg/resweb/num.html?_=1681303253715 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:30] /constantinoff/res/root/bg/resweb/num.html?_=1681300552315 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:30] /constantinoff/res/root/bg/resweb/num.html?_=1681303253716 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:36] /constantinoff/res/root/bg/resweb/num.html?_=1681300552316 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:37] /constantinoff/res/root/bg/resweb/num.html?_=1681303253717 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:42] /constantinoff/res/root/bg/resweb/num.html?_=1681300552317 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:42] /constantinoff/res/root/bg/resweb/num.html?_=1681303253718 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552319 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:54] /constantinoff/res/root/bg/resweb/num.html?_=1681303253720 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:41:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552320 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:01] /constantinoff/res/root/bg/resweb/num.html?_=1681303253721 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552321 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:07] /constantinoff/res/root/bg/resweb/num.html?_=1681303253722 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552322 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:13] /constantinoff/res/root/bg/resweb/num.html?_=1681303253723 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552323 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:19] /constantinoff/res/root/bg/resweb/num.html?_=1681303253724 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552324 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:25] /constantinoff/res/root/bg/resweb/num.html?_=1681303253725 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552325 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:31] /constantinoff/res/root/bg/resweb/num.html?_=1681303253726 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552326 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:37] /constantinoff/res/root/bg/resweb/num.html?_=1681303253727 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552327 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:43] /constantinoff/res/root/bg/resweb/num.html?_=1681303253728 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552328 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:49] /constantinoff/res/root/bg/resweb/num.html?_=1681303253729 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552329 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:55] /constantinoff/res/root/bg/resweb/num.html?_=1681303253730 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:42:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552330 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:43:01] /constantinoff/res/root/bg/resweb/num.html?_=1681303253731 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:43:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552331 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:43:07] /constantinoff/res/root/bg/resweb/num.html?_=1681303253732 167.99.142.201

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

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

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

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

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

set names utf8
# [12-Apr-2023 15:43:13] /constantinoff/res/root/bg/resweb/num.html?_=1681303253733 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:43:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552333 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:43:19] /constantinoff/res/root/bg/resweb/num.html?_=1681303253734 167.99.142.201

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

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

set names utf8
# [12-Apr-2023 15:43:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552334 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:43:25] /constantinoff/res/root/bg/resweb/num.html?_=1681303253735 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:43:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552335 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:43:31] /constantinoff/res/root/bg/resweb/num.html?_=1681303253736 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:43:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552336 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:43:37] /constantinoff/res/root/bg/resweb/num.html?_=1681303253737 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:43:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552337 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:43:43] /constantinoff/res/root/bg/resweb/num.html?_=1681303253738 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:43:43] /constantinoff/res/root/bg/resweb/form/812981.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE
                `ID` = '812981'
            LIMIT 1

SELECT
                `halls`.`ID`,
                `halls`.`HallName`,
                (SELECT
                    SUM(`tables`.`Seats`) AS 'HallSeats'
                FROM
                    `tables`
                WHERE
                   `tables`.`HallID` = `halls`.`ID` AND
                   `tables`.`Visible` = 1) AS 'HallSeats',
                (SELECT
                    SUM(`tables`.`AdSeats`) AS 'HallAdSeats'
                FROM
                    `tables`
                WHERE
                   `tables`.`HallID` = `halls`.`ID` AND
                   `tables`.`Visible` = 1) AS 'HallAdSeats',
                0 AS 'HallTablesNum'
            FROM
                `halls`
            WHERE
                `Visible` = 1
            ORDER BY `halls`.`ItemPosition` ASC

SELECT
                `tables`.`ID`
            FROM
                `tables`
                INNER JOIN `reservation_tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `reservation_tables`.`ReservationID` = '0'
            WHERE
                `tables`.`Visible` = 1

SELECT DISTINCT
                `tables`.`ID`,
                `tables`.`HallID`,
                `tables`.`Number`,
                `reservations`.`ResTime`
            FROM
                `reservations`
                INNER JOIN `reservation_tables` ON `reservation_tables`.`ReservationID` = `reservations`.`ID`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
            WHERE
                `res_cancellations`.`ReservationID` IS NULL AND /* masata e swobodna ako rezerwaviqta e kanselirana */
                 `reservations`.`ResDate` = '2023-04-26' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '16:30:00' AND '23:59:59' /* 4 CHASA NAPRED OT POSOCHENIQ  */

SELECT
                    *
                FROM
                    `tables`
                WHERE
                    `HallID` = '6' AND
                    `Visible` = 1
                ORDER BY
                    `Row` ASC,
                    `Col` ASC

SELECT
                MAX(`Row`) AS MaxRow,
                MAX(`Col`) AS MaxCol
            FROM
                `tables`
            WHERE
                `HallID` = '6'
                AND `Visible` = 1

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '6'
                AND `Visible` = 1
            LIMIT 1

set names utf8
# [12-Apr-2023 15:43:43] /constantinoff/res/root/bg/resweb/num.html?_=1681303428650 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:43:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552338 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:43:49] /constantinoff/res/root/bg/resweb/num.html?_=1681303428651 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:43:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552339 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:43:55] /constantinoff/res/root/bg/resweb/num.html?_=1681303428652 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:43:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552340 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:01] /constantinoff/res/root/bg/resweb/num.html?_=1681303428653 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552341 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:07] /constantinoff/res/root/bg/resweb/num.html?_=1681303428654 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552342 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:13] /constantinoff/res/root/bg/resweb/num.html?_=1681303428655 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552343 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:18] /constantinoff/res/root/bg/resweb/form/812981.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE
                `ID` = '812981'
            LIMIT 1

SELECT
                `halls`.`ID`,
                `halls`.`HallName`,
                (SELECT
                    SUM(`tables`.`Seats`) AS 'HallSeats'
                FROM
                    `tables`
                WHERE
                   `tables`.`HallID` = `halls`.`ID` AND
                   `tables`.`Visible` = 1) AS 'HallSeats',
                (SELECT
                    SUM(`tables`.`AdSeats`) AS 'HallAdSeats'
                FROM
                    `tables`
                WHERE
                   `tables`.`HallID` = `halls`.`ID` AND
                   `tables`.`Visible` = 1) AS 'HallAdSeats',
                0 AS 'HallTablesNum'
            FROM
                `halls`
            WHERE
                `Visible` = 1
            ORDER BY `halls`.`ItemPosition` ASC

SELECT
                `tables`.`ID`
            FROM
                `tables`
                INNER JOIN `reservation_tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `reservation_tables`.`ReservationID` = '0'
            WHERE
                `tables`.`Visible` = 1

SELECT DISTINCT
                `tables`.`ID`,
                `tables`.`HallID`,
                `tables`.`Number`,
                `reservations`.`ResTime`
            FROM
                `reservations`
                INNER JOIN `reservation_tables` ON `reservation_tables`.`ReservationID` = `reservations`.`ID`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
            WHERE
                `res_cancellations`.`ReservationID` IS NULL AND /* masata e swobodna ako rezerwaviqta e kanselirana */
                 `reservations`.`ResDate` = '2023-04-26' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '16:30:00' AND '23:59:59' /* 4 CHASA NAPRED OT POSOCHENIQ  */

SELECT
                    *
                FROM
                    `tables`
                WHERE
                    `HallID` = '6' AND
                    `Visible` = 1
                ORDER BY
                    `Row` ASC,
                    `Col` ASC

SELECT
                MAX(`Row`) AS MaxRow,
                MAX(`Col`) AS MaxCol
            FROM
                `tables`
            WHERE
                `HallID` = '6'
                AND `Visible` = 1

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '6'
                AND `Visible` = 1
            LIMIT 1

set names utf8
# [12-Apr-2023 15:44:18] /constantinoff/res/root/bg/resweb/num.html?_=1681303463662 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552344 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:24] /constantinoff/res/root/bg/resweb/num.html?_=1681303463663 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552345 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:30] /constantinoff/res/root/bg/resweb/num.html?_=1681303463664 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552346 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:36] /constantinoff/res/root/bg/resweb/num.html?_=1681303463665 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552347 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:42] /constantinoff/res/root/bg/resweb/num.html?_=1681303463666 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:43] /constantinoff/res/root/bg/resweb/form/812981.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE
                `ID` = '812981'
            LIMIT 1

SELECT
                `halls`.`ID`,
                `halls`.`HallName`,
                (SELECT
                    SUM(`tables`.`Seats`) AS 'HallSeats'
                FROM
                    `tables`
                WHERE
                   `tables`.`HallID` = `halls`.`ID` AND
                   `tables`.`Visible` = 1) AS 'HallSeats',
                (SELECT
                    SUM(`tables`.`AdSeats`) AS 'HallAdSeats'
                FROM
                    `tables`
                WHERE
                   `tables`.`HallID` = `halls`.`ID` AND
                   `tables`.`Visible` = 1) AS 'HallAdSeats',
                0 AS 'HallTablesNum'
            FROM
                `halls`
            WHERE
                `Visible` = 1
            ORDER BY `halls`.`ItemPosition` ASC

SELECT
                `tables`.`ID`
            FROM
                `tables`
                INNER JOIN `reservation_tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `reservation_tables`.`ReservationID` = '0'
            WHERE
                `tables`.`Visible` = 1

SELECT DISTINCT
                `tables`.`ID`,
                `tables`.`HallID`,
                `tables`.`Number`,
                `reservations`.`ResTime`
            FROM
                `reservations`
                INNER JOIN `reservation_tables` ON `reservation_tables`.`ReservationID` = `reservations`.`ID`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
            WHERE
                `res_cancellations`.`ReservationID` IS NULL AND /* masata e swobodna ako rezerwaviqta e kanselirana */
                 `reservations`.`ResDate` = '2023-04-26' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '16:30:00' AND '23:59:59' /* 4 CHASA NAPRED OT POSOCHENIQ  */

SELECT
                    *
                FROM
                    `tables`
                WHERE
                    `HallID` = '6' AND
                    `Visible` = 1
                ORDER BY
                    `Row` ASC,
                    `Col` ASC

SELECT
                MAX(`Row`) AS MaxRow,
                MAX(`Col`) AS MaxCol
            FROM
                `tables`
            WHERE
                `HallID` = '6'
                AND `Visible` = 1

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '6'
                AND `Visible` = 1
            LIMIT 1

set names utf8
# [12-Apr-2023 15:44:43] /constantinoff/res/root/bg/resweb/num.html?_=1681303488299 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552348 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:49] /constantinoff/res/root/bg/resweb/num.html?_=1681303488300 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552349 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:55] /constantinoff/res/root/bg/resweb/num.html?_=1681303488301 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:44:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552350 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:01] /constantinoff/res/root/bg/resweb/num.html?_=1681303488302 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552351 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:07] /constantinoff/res/root/bg/resweb/num.html?_=1681303488303 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552352 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:13] /constantinoff/res/root/bg/resweb/num.html?_=1681303488304 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552353 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:19] /constantinoff/res/root/bg/resweb/num.html?_=1681303488305 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552354 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:25] /constantinoff/res/root/bg/resweb/num.html?_=1681303488306 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552355 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:31] /constantinoff/res/root/bg/resweb/num.html?_=1681303488307 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552356 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:37] /constantinoff/res/root/bg/resweb/num.html?_=1681303488308 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:41] /constantinoff/res/root/bg/tables/shema/hallid_6/time_1682011800.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT DISTINCT
                `tables`.`ID`,
                `tables`.`HallID`,
                `tables`.`Number`,
                `reservations`.`ResTime`
            FROM
                `reservations`
                INNER JOIN `reservation_tables` ON `reservation_tables`.`ReservationID` = `reservations`.`ID`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
            WHERE
                `res_cancellations`.`ReservationID` IS NULL AND /* masata e swobodna ako rezerwaviqta e kanselirana */
                 `reservations`.`ResDate` = '2023-04-20' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '16:30:00' AND '23:59:59' /* 4 CHASA NAPRED OT POSOCHENIQ  */

SELECT
                    *
                FROM
                    `tables`
                WHERE
                    `HallID` = '6' AND
                    `Visible` = 1
                ORDER BY
                    `Row` ASC,
                    `Col` ASC

SELECT
                MAX(`Row`) AS MaxRow,
                MAX(`Col`) AS MaxCol
            FROM
                `tables`
            WHERE
                `HallID` = '6'
                AND `Visible` = 1

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '6'
                AND `Visible` = 1
            LIMIT 1

set names utf8
# [12-Apr-2023 15:45:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552357 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:43] /constantinoff/res/root/bg/resweb/num.html?_=1681303488309 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552358 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:49] /constantinoff/res/root/bg/resweb/num.html?_=1681303488310 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552359 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:55] /constantinoff/res/root/bg/resweb/num.html?_=1681303488311 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:45:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552360 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:01] /constantinoff/res/root/bg/resweb/num.html?_=1681303488312 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552361 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:07] /constantinoff/res/root/bg/resweb/num.html?_=1681303488313 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552362 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:13] /constantinoff/res/root/bg/resweb/num.html?_=1681303488314 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552363 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:19] /constantinoff/res/root/bg/resweb/num.html?_=1681303488315 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552364 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:25] /constantinoff/res/root/bg/resweb/num.html?_=1681303488316 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552365 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:31] /constantinoff/res/root/bg/resweb/num.html?_=1681303488317 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552366 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:37] /constantinoff/res/root/bg/resweb/num.html?_=1681303488318 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552367 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:43] /constantinoff/res/root/bg/resweb/num.html?_=1681303488319 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552368 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:49] /constantinoff/res/root/bg/resweb/num.html?_=1681303488320 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552369 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:55] /constantinoff/res/root/bg/resweb/num.html?_=1681303488321 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:46:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552370 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:01] /constantinoff/res/root/bg/resweb/num.html?_=1681303488322 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552371 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:07] /constantinoff/res/root/bg/resweb/num.html?_=1681303488323 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552372 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:13] /constantinoff/res/root/bg/resweb/num.html?_=1681303488324 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552373 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:19] /constantinoff/res/root/bg/resweb/num.html?_=1681303488325 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:22] /constantinoff/res/root/bg/resweb/form/812981.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE
                `ID` = '812981'
            LIMIT 1

SELECT
                `halls`.`ID`,
                `halls`.`HallName`,
                (SELECT
                    SUM(`tables`.`Seats`) AS 'HallSeats'
                FROM
                    `tables`
                WHERE
                   `tables`.`HallID` = `halls`.`ID` AND
                   `tables`.`Visible` = 1) AS 'HallSeats',
                (SELECT
                    SUM(`tables`.`AdSeats`) AS 'HallAdSeats'
                FROM
                    `tables`
                WHERE
                   `tables`.`HallID` = `halls`.`ID` AND
                   `tables`.`Visible` = 1) AS 'HallAdSeats',
                0 AS 'HallTablesNum'
            FROM
                `halls`
            WHERE
                `Visible` = 1
            ORDER BY `halls`.`ItemPosition` ASC

SELECT
                `tables`.`ID`
            FROM
                `tables`
                INNER JOIN `reservation_tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `reservation_tables`.`ReservationID` = '0'
            WHERE
                `tables`.`Visible` = 1

SELECT DISTINCT
                `tables`.`ID`,
                `tables`.`HallID`,
                `tables`.`Number`,
                `reservations`.`ResTime`
            FROM
                `reservations`
                INNER JOIN `reservation_tables` ON `reservation_tables`.`ReservationID` = `reservations`.`ID`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
            WHERE
                `res_cancellations`.`ReservationID` IS NULL AND /* masata e swobodna ako rezerwaviqta e kanselirana */
                 `reservations`.`ResDate` = '2023-04-26' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '16:30:00' AND '23:59:59' /* 4 CHASA NAPRED OT POSOCHENIQ  */

SELECT
                    *
                FROM
                    `tables`
                WHERE
                    `HallID` = '6' AND
                    `Visible` = 1
                ORDER BY
                    `Row` ASC,
                    `Col` ASC

SELECT
                MAX(`Row`) AS MaxRow,
                MAX(`Col`) AS MaxCol
            FROM
                `tables`
            WHERE
                `HallID` = '6'
                AND `Visible` = 1

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '6'
                AND `Visible` = 1
            LIMIT 1

set names utf8
# [12-Apr-2023 15:47:22] /constantinoff/res/root/bg/resweb/num.html?_=1681303647180 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552374 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:28] /constantinoff/res/root/bg/resweb/num.html?_=1681303647181 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552375 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:34] /constantinoff/res/root/bg/resweb/num.html?_=1681303647182 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552376 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:38] /constantinoff/res/root/bg/resweb.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE 1
        
AND
`ResDate` >= CURDATE()
            ORDER BY
                `reservations`.`ResDate` DESC,
                `reservations`.`ResTime` DESC
         LIMIT 0, 300

set names utf8
# [12-Apr-2023 15:47:38] /constantinoff/res/root/bg/resweb/num.html?_=1681303663103 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552377 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:44] /constantinoff/res/root/bg/resweb/num.html?_=1681303663104 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552378 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:50] /constantinoff/res/root/bg/resweb/num.html?_=1681303663105 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552379 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:56] /constantinoff/res/root/bg/resweb/num.html?_=1681303663106 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:47:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552380 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:02] /constantinoff/res/root/bg/resweb/num.html?_=1681303663107 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552381 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:08] /constantinoff/res/root/bg/resweb/num.html?_=1681303663108 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552382 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:14] /constantinoff/res/root/bg/resweb/num.html?_=1681303663109 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552383 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:20] /constantinoff/res/root/bg/resweb/num.html?_=1681303663110 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552384 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:26] /constantinoff/res/root/bg/resweb/num.html?_=1681303663111 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552385 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:32] /constantinoff/res/root/bg/resweb/num.html?_=1681303663112 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552386 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:38] /constantinoff/res/root/bg/resweb/num.html?_=1681303663113 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552387 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:44] /constantinoff/res/root/bg/resweb/num.html?_=1681303663114 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552388 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:50] /constantinoff/res/root/bg/resweb/num.html?_=1681303663115 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552389 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:56] /constantinoff/res/root/bg/resweb/num.html?_=1681303663116 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:48:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552390 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:02] /constantinoff/res/root/bg/resweb/num.html?_=1681303663117 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552391 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:08] /constantinoff/res/root/bg/resweb/num.html?_=1681303663118 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552392 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:14] /constantinoff/res/root/bg/resweb/num.html?_=1681303663119 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552393 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:20] /constantinoff/res/root/bg/resweb/num.html?_=1681303663120 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552394 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:26] /constantinoff/res/root/bg/resweb/num.html?_=1681303663121 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552395 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:32] /constantinoff/res/root/bg/resweb/num.html?_=1681303663122 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552396 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:38] /constantinoff/res/root/bg/resweb/num.html?_=1681303663123 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:41] /constantinoff/res/root/bg/resweb/num.html?_=1681300552397 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:44] /constantinoff/res/root/bg/resweb/num.html?_=1681303663124 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:47] /constantinoff/res/root/bg/resweb/num.html?_=1681300552398 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:50] /constantinoff/res/root/bg/resweb/num.html?_=1681303663125 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:53] /constantinoff/res/root/bg/resweb/num.html?_=1681300552399 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:56] /constantinoff/res/root/bg/resweb/num.html?_=1681303663126 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:49:59] /constantinoff/res/root/bg/resweb/num.html?_=1681300552400 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:50:02] /constantinoff/res/root/bg/resweb/num.html?_=1681303663127 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:50:05] /constantinoff/res/root/bg/resweb/num.html?_=1681300552401 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:50:08] /constantinoff/res/root/bg/resweb/num.html?_=1681303663128 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:50:11] /constantinoff/res/root/bg/resweb/num.html?_=1681300552402 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:50:14] /constantinoff/res/root/bg/resweb/num.html?_=1681303663129 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:50:17] /constantinoff/res/root/bg/resweb/num.html?_=1681300552403 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:50:20] /constantinoff/res/root/bg/resweb/num.html?_=1681303663130 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:50:23] /constantinoff/res/root/bg/resweb/num.html?_=1681300552404 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:50:25] /constantinoff/res/root/bg/resweb/form/812981.html 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
                *
            FROM
                `constantinoff`.`reservations`
            WHERE
                `ID` = '812981'
            LIMIT 1

SELECT
                `halls`.`ID`,
                `halls`.`HallName`,
                (SELECT
                    SUM(`tables`.`Seats`) AS 'HallSeats'
                FROM
                    `tables`
                WHERE
                   `tables`.`HallID` = `halls`.`ID` AND
                   `tables`.`Visible` = 1) AS 'HallSeats',
                (SELECT
                    SUM(`tables`.`AdSeats`) AS 'HallAdSeats'
                FROM
                    `tables`
                WHERE
                   `tables`.`HallID` = `halls`.`ID` AND
                   `tables`.`Visible` = 1) AS 'HallAdSeats',
                0 AS 'HallTablesNum'
            FROM
                `halls`
            WHERE
                `Visible` = 1
            ORDER BY `halls`.`ItemPosition` ASC

SELECT
                `tables`.`ID`
            FROM
                `tables`
                INNER JOIN `reservation_tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `reservation_tables`.`ReservationID` = '0'
            WHERE
                `tables`.`Visible` = 1

SELECT DISTINCT
                `tables`.`ID`,
                `tables`.`HallID`,
                `tables`.`Number`,
                `reservations`.`ResTime`
            FROM
                `reservations`
                INNER JOIN `reservation_tables` ON `reservation_tables`.`ReservationID` = `reservations`.`ID`
                INNER JOIN `tables` ON `tables`.`ID` = `reservation_tables`.`TableID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
            WHERE
                `res_cancellations`.`ReservationID` IS NULL AND /* masata e swobodna ako rezerwaviqta e kanselirana */
                 `reservations`.`ResDate` = '2023-04-26' AND  /* ZA POSOCHENATA DATA */
                 `reservations`.`ResTime` BETWEEN '16:30:00' AND '23:59:59' /* 4 CHASA NAPRED OT POSOCHENIQ  */

SELECT
                    *
                FROM
                    `tables`
                WHERE
                    `HallID` = '6' AND
                    `Visible` = 1
                ORDER BY
                    `Row` ASC,
                    `Col` ASC

SELECT
                MAX(`Row`) AS MaxRow,
                MAX(`Col`) AS MaxCol
            FROM
                `tables`
            WHERE
                `HallID` = '6'
                AND `Visible` = 1

SELECT
                `Background`
            FROM
                `halls`
            WHERE
                `ID` = '6'
                AND `Visible` = 1
            LIMIT 1

set names utf8
# [12-Apr-2023 15:50:26] /constantinoff/res/root/bg/resweb/num.html?_=1681303830899 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:50:29] /constantinoff/res/root/bg/resweb/num.html?_=1681300552405 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:50:32] /constantinoff/res/root/bg/resweb/num.html?_=1681303830900 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:50:35] /constantinoff/res/root/bg/resweb/num.html?_=1681300552406 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

SELECT
            COUNT(`ID`) AS `NUM`
         FROM
            `constantinoff`.`reservations`
         WHERE
            CONCAT(`ResDate`, ' ', `ResTime`) > NOW() AND
            `Status` = 0

set names utf8
# [12-Apr-2023 15:50:38] /constantinoff/res/root/bg/resweb/num.html?_=1681303830901 167.99.142.201

SELECT
                                    `ID`,
                                    `Data`
                                FROM
                                    `constantinoff`.`staff`
                                WHERE
                                    `ID` = '4' AND
                                    `Visible` = 1
                                LIMIT 1

