Here’s what’s coming up at the AIGA NY. If you're not an AIGA member you can subscribe to our mailing list and our XML feed to receive updates about our events.
// FULL EVENT LIST
include("../includes/db.html");
$cxn = @ConnectToDb($dbServer, $dbUser, $dbPass, $dbName);
if(stristr($_SERVER['HTTP_HOST'],'staging'))
$regstatus = '';
else
$regstatus = " (regstatus='0' or regstatus='1' or regstatus='4') and ";
$result = mysql_query("select * from inventory where {$regstatus} itemtype='1' and enddate>=NOW() and is_private_event=0 order by startdate asc");
if($_SERVER['HTTP_HOST']=="staging.aigany.org") { $staging="/".$_SERVER['HTTP_HOST']; };
require $_SERVER['DOCUMENT_ROOT'].$staging."/includes/eventlist.html";
// Prints eventspreview text from the sitesettings table
// this allows us to list some upcoming events that aren't in INVENTORY yet
$result = mysql_query("SELECT eventspreview FROM sitesettings LIMIT 1");
if( $result )
{
$obj = mysql_fetch_object($result);
echo "\n";
echo $obj->eventspreview;
echo " ";
}
?>
|