[Error] 
Call to undefined function Bitrix\Main\DB\mysql_query() (0)
/home/flex-print/flex-print.ru/docs/bitrix/modules/main/lib/db/mysqlconnection.php:108
#0: Bitrix\Main\DB\MysqlConnection->queryInternal(string, array, NULL)
	/home/flex-print/flex-print.ru/docs/bitrix/modules/main/lib/db/connection.php:329
#1: Bitrix\Main\DB\Connection->query(string)
	/home/flex-print/flex-print.ru/docs/bitrix/modules/main/classes/general/main.php:4617
#2: CAllSite::GetCurTemplate()
	/home/flex-print/flex-print.ru/docs/bitrix/modules/main/include.php:521
#3: require_once(string)
	/home/flex-print/flex-print.ru/docs/bitrix/modules/main/include/prolog_before.php:14
#4: require_once(string)
	/home/flex-print/flex-print.ru/docs/bitrix/modules/main/include/prolog.php:10
#5: require_once(string)
	/home/flex-print/flex-print.ru/docs/bitrix/header.php:1
#6: require(string)
	/home/flex-print/flex-print.ru/docs/agreement/index.php:2