Undefined Variable (Displaying image via custom field)

Try this:

<?php $imageid = get_post_meta(get_the_ID(), 'athletethumbnail', true); ?>

Also, you might want to read this.

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