Live Text Feed - ".date("D jS F", time())."
"); $query = "SELECT * FROM lt_entries le, lt_categories lc WHERE DATE(le.entry_time) = '$date_to_view' AND le.category = lc.id ORDER BY entry_time DESC"; $result = mysql_query($query) or die(mysql_error()); $lt_num_entries = mysql_num_rows($result); if($lt_num_entries == 0) { echo("There are currently no live text entries posted today. Please wait until later or select one of the previous days below:"); } while($lt_entries = mysql_fetch_array($result)) { $entry = nl2br($lt_entries['entry']); $entry_time = date("g:ia", strtotime($lt_entries['entry_time'])); if($lt_entries['tn_link'] != "") { $image_tag = "

\"\"

"; } else { $image_tag = ""; } if($lt_entries['video_link'] != "") { $video_link = "
".$lt_entries['video_link']."
"; } else { $ivideo_link = ""; } echo("

".$entry_time." - ".$lt_entries['title']."

\"\"".$entry.$image_tag.$video_link."
"); } ?>

Latest Photos

\"\"
"); } ?>