add conditionals to a displayed external xml feed

As @birgie pointed out, add a conditional statement to check that the date has been set:

if ( isset( $item->date ) && strlen( $item->date ) > 0 ) { ... }

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