Query: SELECT B.* FROM bookings AS B
WHERE B.property_id = AND B.active = 1 AND ((('2009-07-01' <= B.start_date) AND ('2009-07-31' >= B.end_date )) OR (('2009-07-01' <= B.start_date) AND ('2009-07-31' > B.start_date )) OR (('2009-07-01' < B.end_date) AND ('2009-07-31' >= B.end_date )) OR (('2009-07-01' >= B.start_date) AND ('2009-07-31' <= B.end_date )))
Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND B.active = 1 AND ((('2009-07-01' <= B.start_date) AND ('2009-07-31' >= B.end' at line 2 in /home/villasca/cake/cake/libs/model/datasources/dbo_source.php on line 437
Query: SELECT B.* FROM bookings AS B
WHERE B.property_id = AND B.active = 1 AND ((('2009-08-01' <= B.start_date) AND ('2009-08-31' >= B.end_date )) OR (('2009-08-01' <= B.start_date) AND ('2009-08-31' > B.start_date )) OR (('2009-08-01' < B.end_date) AND ('2009-08-31' >= B.end_date )) OR (('2009-08-01' >= B.start_date) AND ('2009-08-31' <= B.end_date )))
Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND B.active = 1 AND ((('2009-08-01' <= B.start_date) AND ('2009-08-31' >= B.end' at line 2 in /home/villasca/cake/cake/libs/model/datasources/dbo_source.php on line 437
Query: SELECT B.* FROM bookings AS B
WHERE B.property_id = AND B.active = 1 AND ((('2009-09-01' <= B.start_date) AND ('2009-09-30' >= B.end_date )) OR (('2009-09-01' <= B.start_date) AND ('2009-09-30' > B.start_date )) OR (('2009-09-01' < B.end_date) AND ('2009-09-30' >= B.end_date )) OR (('2009-09-01' >= B.start_date) AND ('2009-09-30' <= B.end_date )))
Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND B.active = 1 AND ((('2009-09-01' <= B.start_date) AND ('2009-09-30' >= B.end' at line 2 in /home/villasca/cake/cake/libs/model/datasources/dbo_source.php on line 437
Query: SELECT B.* FROM bookings AS B
WHERE B.property_id = AND B.active = 1 AND ((('2009-10-01' <= B.start_date) AND ('2009-10-31' >= B.end_date )) OR (('2009-10-01' <= B.start_date) AND ('2009-10-31' > B.start_date )) OR (('2009-10-01' < B.end_date) AND ('2009-10-31' >= B.end_date )) OR (('2009-10-01' >= B.start_date) AND ('2009-10-31' <= B.end_date )))
Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND B.active = 1 AND ((('2009-10-01' <= B.start_date) AND ('2009-10-31' >= B.end' at line 2 in /home/villasca/cake/cake/libs/model/datasources/dbo_source.php on line 437
Query: SELECT B.* FROM bookings AS B
WHERE B.property_id = AND B.active = 1 AND ((('2009-11-01' <= B.start_date) AND ('2009-11-30' >= B.end_date )) OR (('2009-11-01' <= B.start_date) AND ('2009-11-30' > B.start_date )) OR (('2009-11-01' < B.end_date) AND ('2009-11-30' >= B.end_date )) OR (('2009-11-01' >= B.start_date) AND ('2009-11-30' <= B.end_date )))
Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND B.active = 1 AND ((('2009-11-01' <= B.start_date) AND ('2009-11-30' >= B.end' at line 2 in /home/villasca/cake/cake/libs/model/datasources/dbo_source.php on line 437
Query: SELECT B.* FROM bookings AS B
WHERE B.property_id = AND B.active = 1 AND ((('2009-12-01' <= B.start_date) AND ('2009-12-31' >= B.end_date )) OR (('2009-12-01' <= B.start_date) AND ('2009-12-31' > B.start_date )) OR (('2009-12-01' < B.end_date) AND ('2009-12-31' >= B.end_date )) OR (('2009-12-01' >= B.start_date) AND ('2009-12-31' <= B.end_date )))
Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND B.active = 1 AND ((('2009-12-01' <= B.start_date) AND ('2009-12-31' >= B.end' at line 2 in /home/villasca/cake/cake/libs/model/datasources/dbo_source.php on line 437
Query: SELECT B.* FROM bookings AS B
WHERE B.property_id = AND B.active = 1 AND ((('2010-01-01' <= B.start_date) AND ('2010-01-31' >= B.end_date )) OR (('2010-01-01' <= B.start_date) AND ('2010-01-31' > B.start_date )) OR (('2010-01-01' < B.end_date) AND ('2010-01-31' >= B.end_date )) OR (('2010-01-01' >= B.start_date) AND ('2010-01-31' <= B.end_date )))
Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND B.active = 1 AND ((('2010-01-01' <= B.start_date) AND ('2010-01-31' >= B.end' at line 2 in /home/villasca/cake/cake/libs/model/datasources/dbo_source.php on line 437
Query: SELECT B.* FROM bookings AS B
WHERE B.property_id = AND B.active = 1 AND ((('2010-02-01' <= B.start_date) AND ('2010-02-28' >= B.end_date )) OR (('2010-02-01' <= B.start_date) AND ('2010-02-28' > B.start_date )) OR (('2010-02-01' < B.end_date) AND ('2010-02-28' >= B.end_date )) OR (('2010-02-01' >= B.start_date) AND ('2010-02-28' <= B.end_date )))
Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND B.active = 1 AND ((('2010-02-01' <= B.start_date) AND ('2010-02-28' >= B.end' at line 2 in /home/villasca/cake/cake/libs/model/datasources/dbo_source.php on line 437
Query: SELECT B.* FROM bookings AS B
WHERE B.property_id = AND B.active = 1 AND ((('2010-03-01' <= B.start_date) AND ('2010-03-31' >= B.end_date )) OR (('2010-03-01' <= B.start_date) AND ('2010-03-31' > B.start_date )) OR (('2010-03-01' < B.end_date) AND ('2010-03-31' >= B.end_date )) OR (('2010-03-01' >= B.start_date) AND ('2010-03-31' <= B.end_date )))
Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND B.active = 1 AND ((('2010-03-01' <= B.start_date) AND ('2010-03-31' >= B.end' at line 2 in /home/villasca/cake/cake/libs/model/datasources/dbo_source.php on line 437
Query: SELECT B.* FROM bookings AS B
WHERE B.property_id = AND B.active = 1 AND ((('2010-04-01' <= B.start_date) AND ('2010-04-30' >= B.end_date )) OR (('2010-04-01' <= B.start_date) AND ('2010-04-30' > B.start_date )) OR (('2010-04-01' < B.end_date) AND ('2010-04-30' >= B.end_date )) OR (('2010-04-01' >= B.start_date) AND ('2010-04-30' <= B.end_date )))
Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND B.active = 1 AND ((('2010-04-01' <= B.start_date) AND ('2010-04-30' >= B.end' at line 2 in /home/villasca/cake/cake/libs/model/datasources/dbo_source.php on line 437
Query: SELECT B.* FROM bookings AS B
WHERE B.property_id = AND B.active = 1 AND ((('2010-05-01' <= B.start_date) AND ('2010-05-31' >= B.end_date )) OR (('2010-05-01' <= B.start_date) AND ('2010-05-31' > B.start_date )) OR (('2010-05-01' < B.end_date) AND ('2010-05-31' >= B.end_date )) OR (('2010-05-01' >= B.start_date) AND ('2010-05-31' <= B.end_date )))
Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND B.active = 1 AND ((('2010-05-01' <= B.start_date) AND ('2010-05-31' >= B.end' at line 2 in /home/villasca/cake/cake/libs/model/datasources/dbo_source.php on line 437
Query: SELECT B.* FROM bookings AS B
WHERE B.property_id = AND B.active = 1 AND ((('2010-06-01' <= B.start_date) AND ('2010-06-30' >= B.end_date )) OR (('2010-06-01' <= B.start_date) AND ('2010-06-30' > B.start_date )) OR (('2010-06-01' < B.end_date) AND ('2010-06-30' >= B.end_date )) OR (('2010-06-01' >= B.start_date) AND ('2010-06-30' <= B.end_date )))
Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND B.active = 1 AND ((('2010-06-01' <= B.start_date) AND ('2010-06-30' >= B.end' at line 2 in /home/villasca/cake/cake/libs/model/datasources/dbo_source.php on line 437
Availability for
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 | |
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | 31 | |||||
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | |||||
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | 31 | ||
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 | ||||||
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | ||||||
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 | |||
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | |
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | 31 | |||||
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||
