Else condition not working while using has_post_thumbnail

You’re not quoting your HTML attributes – one section should be:

if ( has_post_thumbnail() ) {
    $image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID));
    echo "<a href="https://wordpress.stackexchange.com/questions/217333/$link"><img src="$image[0]" width="98" height="80" class="img-responsive" /></a>";
} else {
    echo "<img src="$url" >";
}

…the other should be:

echo "<h3><a href="https://wordpress.stackexchange.com/questions/217333/$link">";
the_title(); 
echo "</a></h3>";
echo "<div class="post-meta"><span class="date-meta">On <a href="https://wordpress.stackexchange.com/questions/217333/$link">";
the_time( get_option( 'date_format' ) );
echo "</a></span></div>";