supplies link argument to mysqli_error()
proper typecasting in functions.php
adds comments to navigation()
formats time strings before output and removes redundant comments
changes format_time() to allow two way traffic
updates format_time() regex
adds form_val_timediff() to functions.php and agents/main.php
adds time formatting  to agent form