Seminars
$year_today) { $future = "yes";}
if ($year_date < $year_today) { $future = "no";}
if ($year_date == $year_today) {
if ($month_date > $month_today) { $future = "yes";}
if ($month_date < $month_today) { $future = "no";}
if ($month_date == $month_today) {
if ($day_date > $day_today) { $future = "yes";}
if ($day_date < $day_today) { $future = "no";}
if ($day_today == $day_date) { $future = "yes";}
}
}
return $future;
}
function DayDiff($StartDate, $StopDate){
// converting the dates to epoch and dividing the difference
// to the approriate days using 86400 seconds for a day
//
return (date('U', strtotime($StopDate)) - date('U', strtotime($StartDate))) / 86400; //seconds a day
}
$table_people = $table_people;
$table_groups = $table_groups;
$table_people_groups = $table_people_groups;
$table_seminars = $table_seminars;
$table_width = 460;
$num_rows=0;
mysql_connect($mysqlhost,$username,$password);
@mysql_select_db($database) or die( "Unable to select database $database");
$result = mysql_query("SELECT * FROM $table_seminars ORDER BY 'date' ASC");
$num_rows = mysql_num_rows($result);
mysql_close ();
$i_show_summer_vrd=0;
$i_show_summer_vb=0;
$i_item=0;
while ($i_item < $num_rows) {
$seminar_series=mysql_result($result, $i_item, "seminar_series");
$id_speaker=mysql_result($result, $i_item, "id_speaker");
$test_speaker=mysql_result($result, $i_item, "speaker");
if($test_speaker){$speaker=mysql_result($result, $i_item, "speaker");}
else{$speaker=find_name($id_speaker);
}
$title=mysql_result($result, $i_item, "title");
$special_note=mysql_result($result, $i_item, "special_note");
$credentials=mysql_result($result, $i_item, "credentials");
$date=mysql_result($result, $i_item, "date");
$StartDate = date(Ymd);
$month_today = date(m);
if(future_date($date) == "yes"){ // Make sure the date is in the future
if($seminar_series == "Vascular Research Division"){ // Make sure the seminar is from VRD series
$time = strtotime($date) ; // Helps to convert the date for later display
if(((substr($date,5,2))==6) || ((substr($date,5,2))==7) || ((substr($date,5,2))==8)){ // for display of Summertime message
while ($i_show_summer_vrd < 1){
?>
Vascular Research Division Seminars
(complete schedule here)
echo date('F Y', $time); ?>
echo "$speaker"; ?>
echo "$credentials"; ?>
echo "$title"; ?>
= 0){ // Make sure the date is in the coming week
?>
|
Vascular Research Division Seminars
(complete schedule here)
echo date('F j, Y', $time); ?>
echo "$special_note"; ?>
echo "$speaker"; ?>
echo "$credentials"; ?>
echo "$title"; ?>
echo date('F j, Y', $time); ?>
echo "$special_note"; ?>
echo "$speaker"; ?>
echo "$title"; ?>
echo date('F j, Y', $time); ?>
echo "$speaker"; ?>
echo "$credentials"; ?>
echo "$title"; ?>
echo date('F j, Y', $time); ?>
echo "$speaker"; ?>
echo "$title"; ?>
|
Seminars in Vascular Biology
(complete schedule here)
echo date('F Y', $time); ?>
echo "$speaker"; ?>
echo "$credentials"; ?>
echo "$title"; ?>
= 0){ // Make sure the date is in the coming week
?>
|
Seminars in Vascular Biology
(complete schedule here)
echo date('F j, Y', $time); ?>
echo "$special_note"; ?>
echo "$speaker"; ?>
echo "$credentials"; ?>
echo "$title"; ?>
echo date('F j, Y', $time); ?>
echo "$special_note"; ?>
echo "$speaker"; ?>
echo "$title"; ?>
echo date('F j, Y', $time); ?>
echo "$speaker"; ?>
echo "$credentials"; ?>
echo "$title"; ?>
echo date('F j, Y', $time); ?>
echo "$speaker"; ?>
echo "$title"; ?>
|
|
Directory of VR Members
Upcoming Meetings
Positions Available
What's New? |