Include administrator in author list

change in_array('contributor',$user->roles) to (in_array('contributor',$user->roles) || in_array('administrator',$user->roles))

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