Added the ability to use persistent connections
Added wrapper function for mysql_close
Replaced all mysql_close by close_connection, except for the directory /install
Added wrapper function for mysql_real_escape_string
Replaced all mysql_real_escape_string by db_escape_string
Fixed incorrect replacement mysql_real_escape_string on db_escape_string in /libs/common.php
Added wrapper function for mysql_error
Replaced all mysql_error by db_error except for the directory /install
Added wrapper function for mysql_insert_id
Replaced all mysql_insert_id by db_insert_id
Replaced reciving associative arrays from database by select_multi_assoc function
Added wrapper functions for mysql_fetch_assoc and mysql_fetch_row
Replaced all mysql_fetch_array by mysql_fetch_assoc or mysql_fetch_row, except for the directory /install
Changed perform_query function. It now returns a reference to the query result
Replaced all mysql_query by perform_query, except for the directory /install
Added wrapper function for mysql_free_result
Replaced all mysql_free_result by db_free_result, except for the directory /install
Add missed asterisk in /view/ban.php near form.field.ban_comment
Added Page statistics
Added Average chat time and Average waiting time statistics