Two loops, one AJAX loop, exclude posts in first loop from second loop, loops are in different files

I solved the problem by applying an offset, as proposed in this question: How to exclude latest x posts from a paginated query?.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)