Global Islamic events
Upcoming Islamic Events
$sel_sql="select * from iou_events where status=1 and end_date > NOW() order by days,end_date DESC"; //var_dump($sel_sql); //echo "SELECT Query = ".$sel_sql.""; $result = mysql_query($sel_sql); while($row = mysql_fetch_array($result)) { $event_id = $row['event_id']; $location = $row['location']; $title = $row['title']; $speaker = $row['speaker']; $days = $row['days']; $end_date = $row['end_date']; $url = $row['url']; $time = $row['time']; $description = $row['description']; $html = '
';
$html .= '
';
echo $html;
}
?>
';
$html .= ($url =='' || strlen($url) < 2) ?
'
'.$title.'
' : ''.$title.'
' ; $html .= 'Speakers : '.$speaker.'
'; $html .= 'Location : '.$location.'
'; $html .= 'Date : '.$days.' - '.$end_date.'
'; if($url !='') { $html .='Event Url : '.$url.'
'; } if($time!='') { $html .= 'Time : '.$time.'
'; } if($description !='') { $html .= ' View More'; } $html .= 'Past Islamic Events
$sel_sql="select * from iou_events where status=1 and end_date < NOW() order by end_date DESC"; //echo "SELECT Query = ".$sel_sql."
"; $result = mysql_query($sel_sql); while($row = mysql_fetch_array($result)) { $event_id = $row['event_id']; $location = $row['location']; $title = $row['title']; $speaker = $row['speaker']; $days = $row['days']; $end_date = $row['end_date']; $url = $row['url']; $time = $row['time']; $description = $row['description']; $html = '
';
$html .= '
';
echo $html;
}?>
';
$html .= ($url =='' || strlen($url) < 2) ?
'
'.$title.'
' : ''.$title.'
' ; $html .= 'Speakers : '.$speaker.'
'; $html .= 'Location : '.$location.'
'; $html .= 'Date : '.$days.' - '.$end_date.'
'; if($url !='') { $html .='Event Url : '.$url.'
'; } if($time!='') { $html .= 'Time : '.$time.'
'; } if($description !=''){ $html .= ' View More'; } $html .= '