Workshops and Conferences
require("../../openmydatabase.php");
$link = openmysqlserver();
$db = mysql_select_db($_database,$link) or die ("no link to the Center ");
$day=date("z")+(date("y")-6)*365;
$sql= "SELECT * FROM workshop WHERE pub='1'&& order_end >= '$day' ORDER BY order_end ASC ";
$res=mysql_query($sql,$link);
if(mysql_num_rows($res) >0)
{
seeWorkshops($res);
}
else
{
echo"
to be announced soon.
";
}
$sql1= "SELECT * FROM workshop WHERE pub='1'&& order_end < '$day' ORDER BY order_end DESC ";
$res1=mysql_query($sql1,$link);
if(mysql_num_rows($res1) >0)
{ ?>
Old Workshops and Conferences
seeWorkshops($res1); ?>
}
?>