get listed category’s id?

How about get_query_var(‘cat’). I think that should get the ID of the current category.

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