Events List

"; //print ""; print "
Date
"; print "
Event
"; //print ""; $count = 1; //while( $row = mysql_fetch_array( $result ) ) { while( $row = $result->fetchAssoc() ) { if(empty($row["title"]) && empty($row["description"])) continue; //print ""; print "
"; //print ""; print "
"; //if( $row['start_date'] == $row['end_date'] ) { //print date("F j, Y g:i a",strtotime($row['start_date'])); //} else { if( date("mdY",strtotime($row['start_date'])) == date("mdY",strtotime($row['end_date'])) ) { print date("F j, Y", strtotime($row['start_date'])); print "
"; print date("g:i a",strtotime($row['start_date'])); print " - "; print date("g:i a",strtotime($row['end_date'])); } else { print date("F j, Y g:i a",strtotime($row['start_date'])); print " - "; print "
" . date("F j, Y g:i a",strtotime($row['end_date'])); } //} print "
"; print "
"; print "" . $row['title'] . "
"; //print ( ( strlen( $row['description'] ) > 100 ) ? substr( $row['description'], 0, 100 )."...." : $row['description'] ); /* [EDIT - TJS][2013-11-20] Enable event summary display */ if(!empty($row["summary"])) print html_entity_decode($row['summary']); /* [EDIT - TJS][2013-11-15] Disable description display. uncomment next line to restore display */ //print $row['description']; print "
"; print "
"; $count++; } print ""; print "

" . l("View Events Calendar","node/3", array("class"=>"likeBodyContent"), null, 'top'); ?>