Find method of TQuery is deprecated and should be replaced to TotalCount.
LoadValues method of TForm is deprecated and should be replaced to LoadValuesArray with preloaded data.
Function sm_change_url_param will be completely removed and should be replaced to sm_url.
SiMan CMS 1.6.10 will be the last version supported of these code.