PDA

View Full Version : Up coming runs glitch on Forums Page



Brody
January 22nd, 2010, 12:21 PM
I just caught this and made Chris aware of it...

It shows up as this script:

ob_start(); // %d $show_count = 5; $query = sprintf("SELECT * FROM ".TABLE_PREFIX."event WHERE visible = 1 AND (dateline_from > '%d' || ( dateline_from > '%d' AND dateline_to < '%d' )) ORDER BY dateline_from ASC LIMIT %d",TIMENOW,TIMENOW,TIMENOW,$show_count); $event_get = vB::$db->query_read($query); $output_bits = ''; while($event = vB::$db->fetch_array($event_get)) { if($event['dateline_to'] == 0 ) { $format = sprintf("On %s",date('jS M Y',$event['dateline_from'])); } else { $format = sprintf("From %s to %s",date('jS M Y',$event['dateline_from']),date('jS M Y',$event['dateline_to'])); } $output_bits .= sprintf(' %s (http://www.frontrange4x4.com/forums/calendar.php?do=getinfo&e=%d)

%s

',$event['eventid'],$event['title'],$format); } $output = $output_bits; ob_end_clean()

At any rate, he will fix it. Not to worry....

Chris
January 22nd, 2010, 12:24 PM
Yeah, it's gone until I can maintain a decent connection. Leeching wi-fi doesn't produce anything consistent enough to use. :lmao: