$settings = mysql_query("select * from sitesettings where theme='aigany'");
if($getset = mysql_fetch_array($settings))
{
$event=$getset["homeevent"];
$eventcolor=$getset["homeeventcolor"];
$eventheader=$getset["homeeventheader"];
}
$result = mysql_query("select * from inventory where itemid='$event'");
$row = mysql_fetch_array($result);
/* Details Image */?>
">
if($row['detailslink'])
echo '';
else
echo '';
?> " width="145" height="220" border="0" class="news">
|
/* Details */?>
echo $eventheader; ?>
/* NAME w/ DETAILS LINK */
if(!$row['detailslink'])
echo '";
}
echo "{$row['name']}";
/* DESCRIPTION */
echo "".$row["shortdesc"]." \n";
/* DATES */
$startdate=date("l j F Y",strtotime($row["startdate"]));
$enddate=date("l j F Y",strtotime($row["enddate"]));
echo "".$startdate;
if($startdate!=$enddate)
echo " - ".$enddate;
echo " \n";
/* TIMES */
if($startdate==$enddate)
{
// get times and replace am & pm with a.m. & p.m.
$starttime=str_replace("m",".m.",date("g:i a",strtotime($row["startdate"])));
$endtime=str_replace("m",".m.",date("g:i a",strtotime($row["enddate"])));
// if both have same *m get rid of start time's
if((strstr("a.m.",$starttime) && strstr("a.m.",$endtime)) || (strstr("p.m.",$starttime) && strstr("p.m.",$endtime)))
$starttime=ereg_replace(" (a|p).m.","",$starttime);
echo ""."{$starttime} – {$endtime}"."\n";
}
?>
|
|
/* DETAILS LINK */
if ($row["newwindow"]=="1") $target = 'target="_blank"'; else $target = '';
if($row['detailslink'])
{
echo "details";
}
else
echo "details";
/* REGISTER LINK */
if( !event_is_sold_out($row['itemid']) )
$register_link_text = 'SOLD OUT!';
else
$register_link_text = 'register';
if( $row["regstatus"]=="0" || ($row["regstatus"]=="2" && ereg("staging",$_SERVER['HTTP_HOST'])) )
{
if($row['registerlink'])
echo " | {$register_link_text}";
else
echo " | {$register_link_text}\n";
}
?>
|
|
/* Calendar */?>
if($_SERVER['HTTP_HOST']=="staging.aigany.org")
$staging="/".$_SERVER['HTTP_HOST'];
else
$staging='';
require $_SERVER['DOCUMENT_ROOT'].$staging."/includes/calendar.html";
?>
|
/* Design Archives */?>
|
IN REMEMBRANCE
We are very sad to announce the death of Mach Arom of FCB. Originally from Phuket, Thailand, Mach was very committed to volunteer efforts and social initiatives.
He served on the board of AIGA NY and he was a mentor with the AIGA NY Mentoring program. Most recently, Mach became involved in the rebuilding efforts in Thailand with the
Phuket Project.
A memorial book is being created by FCB to send to Mach’s family.
details Mach will be missed.
|
|
/* Books */?>
|
AIGA/MY Mentoring Program
AIGA New YorkÕs Mentoring Program is soon to finish their major annual project. This year, the project is taking the form of a book, showcasing images created by students on the theme of "here and now." Each mentor/student pair is working together to explore sources of inspiration and to use imagery and words to communicate their stories.
Watch aiganymentoring.org for examples of the finished product!
Thanks to all of the mentors who participated this year, and to Soyoung Kim and Lyz Ward, the Mentoring Program's coordinators.
|
|
/* Recommended Events */?>
|
RECOMMENDED EVENTS
\n";
echo $obj->recevents;
//echo "\n";
}
?>
|
|
/* Nominations */?>