One loop for sticky, one for all the rest – how, without specifying category?

you can get the category ID of a category archive with:

get_query_var('cat')

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