Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/trainedmonkey.com/scratch/pto/index.php on line 107

Warning: mysql_connect(): Access denied for user 'readonly'@'localhost' (using password: NO) in /var/www/trainedmonkey.com/scratch/pto/index.php on line 107

Deprecated: mysql_select_db(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/trainedmonkey.com/scratch/pto/index.php on line 108

Warning: mysql_select_db(): Access denied for user ''@'localhost' (using password: NO) in /var/www/trainedmonkey.com/scratch/pto/index.php on line 108

Warning: mysql_select_db(): A link to the server could not be established in /var/www/trainedmonkey.com/scratch/pto/index.php on line 108

Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/trainedmonkey.com/scratch/pto/mysql-compat.php on line 53

Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /var/www/trainedmonkey.com/scratch/pto/mysql-compat.php on line 53

Warning: mysql_query(): A link to the server could not be established in /var/www/trainedmonkey.com/scratch/pto/mysql-compat.php on line 53
SELECT dt FROM holiday
          WHERE country = 'USA' AND dt BETWEEN '2018-12-1' AND '2018-12-1' + INTERVAL 1 MONTH
Access denied for user ''@'localhost' (using password: NO)
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/trainedmonkey.com/scratch/pto/index.php on line 120

Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/trainedmonkey.com/scratch/pto/mysql-compat.php on line 53

Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /var/www/trainedmonkey.com/scratch/pto/mysql-compat.php on line 53

Warning: mysql_query(): A link to the server could not be established in /var/www/trainedmonkey.com/scratch/pto/mysql-compat.php on line 53
SELECT dt, type FROM dayoff
          WHERE person = 598718058 AND dt BETWEEN '2018-12-1' AND '2018-12-1' + INTERVAL 1 MONTH
Access denied for user ''@'localhost' (using password: NO)
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/trainedmonkey.com/scratch/pto/index.php on line 128

Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/trainedmonkey.com/scratch/pto/mysql-compat.php on line 53

Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /var/www/trainedmonkey.com/scratch/pto/mysql-compat.php on line 53

Warning: mysql_query(): A link to the server could not be established in /var/www/trainedmonkey.com/scratch/pto/mysql-compat.php on line 53
SELECT person FROM approval WHERE person = 598718058 AND month = '2018-12-1'
Access denied for user ''@'localhost' (using password: NO)
Click on a work day to change its status.
«December 2018»
SunMonTueWedThuFriSat
      1
2345678
9101112131415
16171819202122
23242526272829
3031     
Legend:FHCBHW
FullHalfCompBereaveHolidayWeekend

download code | about this