\n"; echo ""; echo ""; // NS $ns[0]['name']='Home'; $ns[0]['url']=$server_path.'/index.php'; $ns[1]['name']='DB Seminars'; $ns[1]['url']=$server_path.'/seminars.php'; $ns[2]['name']='Details of DB Seminar'; $ns[2]['url']=$server_path.'/seminar_detail.php?seminar_id='.$_GET['seminar_id']; ns($ns,$server_path); // Schedule in form of calendar // Select events if ($_GET['seminar_id']!=''){ echo "\n"; $query = "select * from `db_seminar` a, `db_seminar_asoc_people` b, `people` c where a.seminar_id=".$_GET['seminar_id']." and a.seminar_id=b.seminar_id and b.people_id=c.people_id"; $color_flag=0; $result = mysql_query($query,$db_link) or die("Query failed : Failed to select the seminar detail from database"); while ($line=mysql_fetch_array($result, MYSQL_ASSOC)){ echo ""; echo ""; echo ""; echo ""; // Presentation materials if ($line['seminar_type']=='Students' || $line['file']!=''){ echo ""; } echo ""; echo ""; //Comments echo ""; } mysql_free_result($result); echo ""; echo "
Title"; if ($line['title']!='') echo "".$line['title'].""; else echo "To be announced"; echo "
Speaker".$line['name']; if ($line['url']!='') echo "  Homepage of the speaker"; echo "
Date".$line['b_day']."-".$line['b_month']."-".$line['b_year']."  ".$line['time']."
Venue".$line['venue']."
Presentation materials"; if ($line['private']=='N'){ //Public if ($line['file']!='') echo "Download the presentation materials of this talk : Download the presentation materials."; else echo "The presentation materials are not available yet."; }else echo " The presentation materials will be available after this research work is published."; echo "
In Proceeding / Journal"; if ($line['published']!='') echo $line['published']; else echo "N/A"; echo "
Abstract"; if ($line['private']=='N'){ //Public if ($line['abstract']!='') echo nl2br(html_entity_decode($line['abstract'])); else echo "To be announced"; }else{ // Private echo " The abstract will be available after this research work is published."; } echo "
Discussions"; if ($line['discussion']!='') echo "Please click here to leave your comments to this talk."; else echo "N/A"; echo "
Back to DB Seminar page
\n"; }else{ echo "Please visit the DB seminar page."; } include 'default_close.inc'; ?>