'; echo '
'.$publish_date.'
'; echo '

'.$title.'

'.$subtitle.'

'; $query_writer = "SELECT concat(fname, ' ', lname) AS name, email, phone FROM news_writer, userinfo WHERE news_writer.newsid = ".$id." AND userinfo.id=news_writer.writerid"; $result_writer = mysql_query($query_writer) or die(mysql_error()); $num_returned = mysql_num_rows($result_writer); echo '
'; if ($num_returned > '0') { echo' By: '; while ( $row_writer = mysql_fetch_assoc ( $result_writer )) { $name = $row_writer['name']; $email = $row_writer['email']; $phone = $row_writer['phone']; $name = stripslashes($name); $email = stripslashes($email); $phone = stripslashes($phone); echo ' '.$name.', '.$phone.'   '; } } if ($contact != ''){ echo '
Contact(s): '.$contact.'   '; } echo "
"; if ($photo1 !='' || $audio != '' || $video != ''){ echo '
'; } if ($photo1 !=''){ echo ''.$photo1cut.''; } if ($photo2 !=''){ echo ''.$photo2cut.''; } if ($photo3 !=''){ echo ''.$photo3cut.''; } if ($photo4 !=''){ echo ''.$photo4cut.''; } if ($photo5 !=''){ echo ''.$photo5cut.''; } if ($audio != '' && $photo1 == '') { echo 'PodCast'; } if ($photo1 !='' || $audio != '' || $video != ''){ echo '
View All Media/Resolutions
'; echo "
"; } echo " "; echo $content; } // end of primary query loop ?>