| |
 |
<%
if (booleanFA)
{
%>
FINE ART:
<%
if (boolFApai)
{
out.print("Painting");
comma = true;
}
if (boolFAgra)
{
if (comma)
out.print(", ");
out.print("Graphics");
comma = true;
}
if (boolFApri)
{
if (comma)
out.print(", ");
out.print("Printmaking");
comma = true;
}
if (boolFApho)
{
if (comma)
out.print(", ");
out.print("Photography");
comma = true;
}
if (boolFAscu)
{
if (comma)
out.print(", ");
out.print("Sculpture");
comma = true;
}
if (boolFAmix)
{
if (comma)
out.print(", ");
out.print("Mixed Media ");
comma = true;
}
if (boolFAnew)
{
if (comma)
out.print(", ");
out.print("New Media");
comma = true;
}
if (boolFAins)
{
if (comma)
out.print(", ");
out.print("Installation Art ");
}
comma = false;
%> |
<%
}
%>
<%
if (booleanCR)
{
%>
CRAFT:
<%
if (boolCRcer)
{
out.print("Ceramics");
comma = true;
}
if (boolCRgla)
{
if (comma)
out.print(", ");
out.print("Glass");
comma = true;
}
if (boolCRjew)
{
if (comma)
out.print(", ");
out.print("Jewelry");
comma = true;
}
if (boolCRfur)
{
if (comma)
out.print(", ");
out.print("Furniture");
comma = true;
}
if (boolCRmet)
{
if (comma)
out.print(", ");
out.print("Metal Art");
comma = true;
}
if (boolCRwoo)
{
if (comma)
out.print(", ");
out.print("Wood");
comma = true;
}
if (boolCRtex)
{
if (comma)
out.print(", ");
out.print("Fiber Art");
}
comma = false;
%>
|
<%
}
%>
<%
if (booleanCA)
{
%>
GRAPHIC DESIGN:
<%
if (boolCAboo)
{
out.print("Book Art");
comma = true;
}
if (boolCAill)
{
if (comma)
out.print(", ");
out.print("Illustration");
comma = true;
}
if (boolCAcal)
{
if (comma)
out.print(", ");
out.print("Calligraphy");
comma = true;
}
if (boolCApri)
{
if (comma)
out.print(", ");
out.print("Print Design");
comma = true;
}
if (boolCAtyp)
{
if (comma)
out.print(", ");
out.print("Typography");
comma = true;
}
if (boolCAweb)
{
if (comma)
out.print(", ");
out.print("Web Design");
}
%>
|
<%
}
%>
 |
 |
 |
 |
 |
 |
<%
if (err)
{
%>
| |
| Error: |
<%= errorForm %> |
| |
<% } %>
border=0 alt="Inquire" width="139">
 |
<% out.print(firstlastName); %><%
%><% if (!"".equals(company.trim())) { %>

<%=company%><% } %> |
| |
|
|
 |
 |
 |
 |
| |
<% out.print(firstlastName); %>'s Calendar of Art Events |
<%
if (opsIds.size() > 0)
{
%>
Open Studios |
Day & Time |
Studio Address |
Map |
<%
for (int i=0; i < opsIds.size(); i++)
{
%>
<%
if (i>0)
{
%>
| |
|
<%
}
%>
| |
<%
if ("East Bay Open Studios (Pro Arts)".equals((String)opsNames.elementAt(i)))
{
out.print("Pro Arts East Bay OPS");
}
else
{
if ("San Francisco OPS".equals((String)opsNames.elementAt(i)))
{
out.print("San Francisco OPS");
}
else
{
out.print((String)opsNames.elementAt(i));
}
}
%> | |
|
<%
if (!"01/01/1970".equals(opsEnddates.elementAt(i)))
{
String dateString = "";
String stday = ((String)opsStartdates.elementAt(i)).substring(3,5);
if ("0".equals(stday.substring(0,1)))
stday = stday.substring(1,2);
String enday = ((String)opsEnddates.elementAt(i)).substring(3,5);
if ("0".equals(enday.substring(0,1)))
enday = enday.substring(1,2);
String stmonth = ((String)opsStartdates.elementAt(i)).substring(0,2);
if ("0".equals(stmonth.substring(0,1)))
stmonth = stmonth.substring(1,2);
if ("1".equals(stmonth)) stmonth = "January";
if ("2".equals(stmonth)) stmonth = "February";
if ("3".equals(stmonth)) stmonth = "March";
if ("4".equals(stmonth)) stmonth = "April";
if ("5".equals(stmonth)) stmonth = "May";
if ("6".equals(stmonth)) stmonth = "June";
if ("7".equals(stmonth)) stmonth = "July";
if ("8".equals(stmonth)) stmonth = "August";
if ("9".equals(stmonth)) stmonth = "September";
if ("10".equals(stmonth)) stmonth = "October";
if ("11".equals(stmonth)) stmonth = "November";
if ("12".equals(stmonth)) stmonth = "December";
String enmonth = ((String)opsEnddates.elementAt(i)).substring(0,2);
if ("0".equals(enmonth.substring(0,1)))
enmonth = enmonth.substring(1,2);
if ("1".equals(enmonth)) enmonth = "January";
if ("2".equals(enmonth)) enmonth = "February";
if ("3".equals(enmonth)) enmonth = "March";
if ("4".equals(enmonth)) enmonth = "April";
if ("5".equals(enmonth)) enmonth = "May";
if ("6".equals(enmonth)) enmonth = "June";
if ("7".equals(enmonth)) enmonth = "July";
if ("8".equals(enmonth)) enmonth = "August";
if ("9".equals(enmonth)) enmonth = "September";
if ("10".equals(enmonth)) enmonth = "October";
if ("11".equals(enmonth)) enmonth = "November";
if ("12".equals(enmonth)) enmonth = "December";
String styear = ((String)opsStartdates.elementAt(i)).substring(6,10);
String enyear = ((String)opsEnddates.elementAt(i)).substring(6,10);
if (enyear.equals(styear))
{
//2004=2004
if (enmonth.equals(stmonth))
{
//january=january
dateString = stmonth+" "+stday+" - "+enday+", "+styear;
}
else
{
//january!=june
dateString = stmonth+" "+stday+" - "+enmonth+" "+enday+", "+styear;
}
}
else
{
//2004!=2005
dateString = stmonth+" "+stday+", "+styear+" - "+enmonth+" "+enday+", "+enyear;
}
out.print(dateString);
}
%> |
 |
<%
if (opsAddresses.elementAt(i)!=null)
{
url = "http://maps.yahoo.com/py/maps.py?Pyt=Tmap&";
if (!"".equals(opsAddresses.elementAt(i)))
{
url += "desc="+ substituteTokens(firstlastName+"-"+(String)opsNames.elementAt(i), " ", "+");
String tempo = substituteTokens((String)opsAddresses.elementAt(i), " ", "+") ;
tempo = substituteTokens(tempo, "\"", "\'");
tempo = substituteTokens(tempo, " ", "");
url += "&addr="+tempo;
out.print(opsAddresses.elementAt(i)+" ");
}
if (!"".equals(opsDistricts.elementAt(i)))
{
out.print(opsDistricts.elementAt(i)+" ");
}
if (!"".equals(opsCities.elementAt(i)))
{
url += "&city="+substituteTokens((String)opsCities.elementAt(i), " ", "+");
out.print(opsCities.elementAt(i));
}
if (!"".equals(opsStates.elementAt(i)))
{
url += "&state="+substituteTokens((String)opsStates.elementAt(i), " ", "+");
out.print(", "+opsStates.elementAt(i));
}
if (!"".equals(opsZips.elementAt(i)))
{
url += "&zip="+substituteTokens((String)opsZips.elementAt(i), " ", "+");
out.print(" "+opsZips.elementAt(i));
}
if (!"".equals(opsCountries.elementAt(i)) && !"US".equals(opsCountries.elementAt(i)) )
{
if ( "Canada".equals(opsCountries.elementAt(i)))
{
url += "&country=ca";
}
out.print(" "+opsCountries.elementAt(i));
}
else
{
if ( "US".equals(opsCountries.elementAt(i)))
{
url += "&country=us";
}
else
{
url = null;
}
}
}
%>
|
|
<%
if ("US".equals(opsCountries.elementAt(i))
|| "Canada".equals(opsCountries.elementAt(i)))
{
if (opsAddresses.elementAt(i)!=null && url != null)
{ %>[ Map]<%
}
}
%> |
<%
if ((String)opsComments.elementAt(i)!=null && !"".equals((String)opsComments.elementAt(i)))
{
%>
| |
| |
| | <%= convertHTMLSymbolsToPlainNew((String)opsComments.elementAt(i)) %> |
|
| |
<%
}
%>
| |
<%
}
}
%>
<%
if (exIds.size() > 0)
{
%>
| |
Exhibitions |
|
|
|
<%
for (int i=0; i < exIds.size(); i++)
{
%>
<%
if (i>0)
{
%>
| |
|
<%
}
%>
| |
| <%= (String)exNames.elementAt(i) %> | |
|
<% //out.print("start date::"+(String)exStartdates.elementAt(i)+" ");
if (!"01/01/1970".equals(exEnddates.elementAt(i)))
{
String dateString = "";
String stday = ((String)exStartdates.elementAt(i)).substring(3,5);
if ("0".equals(stday.substring(0,1)))
stday = stday.substring(1,2);
//out.print("stday::"+stday+" ");
String enday = ((String)exEnddates.elementAt(i)).substring(3,5);
if ("0".equals(enday.substring(0,1)))
enday = enday.substring(1,2);
//out.print("enday::"+enday+" ");
String stmonth = ((String)exStartdates.elementAt(i)).substring(0,2);
if ("0".equals(stmonth.substring(0,1)))
stmonth = stmonth.substring(1,2);
//out.print("stmonth::"+stmonth+" ");
if ("1".equals(stmonth)) stmonth = "January";
if ("2".equals(stmonth)) stmonth = "February";
if ("3".equals(stmonth)) stmonth = "March";
if ("4".equals(stmonth)) stmonth = "April";
if ("5".equals(stmonth)) stmonth = "May";
if ("6".equals(stmonth)) stmonth = "June";
if ("7".equals(stmonth)) stmonth = "July";
if ("8".equals(stmonth)) stmonth = "August";
if ("9".equals(stmonth)) stmonth = "September";
if ("10".equals(stmonth)) stmonth = "October";
if ("11".equals(stmonth)) stmonth = "November";
if ("12".equals(stmonth)) stmonth = "December";
String enmonth = ((String)exEnddates.elementAt(i)).substring(0,2);
if ("0".equals(enmonth.substring(0,1)))
enmonth = enmonth.substring(1,2);
//out.print("enmonth::"+enmonth+" ");
if ("1".equals(enmonth)) enmonth = "January";
if ("2".equals(enmonth)) enmonth = "February";
if ("3".equals(enmonth)) enmonth = "March";
if ("4".equals(enmonth)) enmonth = "April";
if ("5".equals(enmonth)) enmonth = "May";
if ("6".equals(enmonth)) enmonth = "June";
if ("7".equals(enmonth)) enmonth = "July";
if ("8".equals(enmonth)) enmonth = "August";
if ("9".equals(enmonth)) enmonth = "September";
if ("10".equals(enmonth)) enmonth = "October";
if ("11".equals(enmonth)) enmonth = "November";
if ("12".equals(enmonth)) enmonth = "December";
String styear = ((String)exStartdates.elementAt(i)).substring(6,10);
String enyear = ((String)exEnddates.elementAt(i)).substring(6,10);
if (enyear.equals(styear))
{
//2004=2004
if (enmonth.equals(stmonth))
{
//january=january
dateString = stmonth+" "+stday+" - "+enday+", "+styear;
}
else
{
//january!=june
dateString = stmonth+" "+stday+" - "+enmonth+" "+enday+", "+styear;
}
}
else
{
//2004!=2005
dateString = stmonth+" "+stday+", "+styear+" - "+enmonth+" "+enday+", "+enyear;
}
out.print(dateString);
}
%> |
 |
<%
if (exAddresses.elementAt(i)!=null && !"".equals((String)exAddresses.elementAt(i)))
{
url = "http://maps.yahoo.com/py/maps.py?Pyt=Tmap&";
if (!"".equals(exAddresses.elementAt(i)))
{
url += "desc="+ substituteTokens(firstlastName+"-"+(String)exNames.elementAt(i), " ", "+");
String tempo = substituteTokens((String)exAddresses.elementAt(i), " ", "+") ;
tempo = substituteTokens(tempo, "\"", "\'");
url += "&addr="+tempo;
out.print(exAddresses.elementAt(i)+" ");
}
if (!"".equals(exCities.elementAt(i)))
{
out.print(exCities.elementAt(i));
url += "&city="+substituteTokens((String)exCities.elementAt(i), " ", "+");
}
if (!"".equals(exStates.elementAt(i)))
{
out.print(", "+exStates.elementAt(i));
url += "&state="+substituteTokens((String)exStates.elementAt(i), " ", "+");
}
if (!"".equals(exZips.elementAt(i)))
{
url += "&zip="+substituteTokens((String)exZips.elementAt(i), " ", "+");
out.print(" "+exZips.elementAt(i));
}
if (!"".equals(exCountries.elementAt(i)) && !"US".equals(exCountries.elementAt(i)) )
{
if ( "Canada".equals(exCountries.elementAt(i)))
{
url += "&country=ca";
}
out.print(" "+exCountries.elementAt(i));
}
else
{
if ( "US".equals(exCountries.elementAt(i)))
{
url += "&country=us";
}
else
{
url = null;
}
}
}
%>
|
|
<%
if ("US".equals(exCountries.elementAt(i))
|| "Canada".equals(exCountries.elementAt(i)))
{
if (exAddresses.elementAt(i)!=null && !"".equals((String)exAddresses.elementAt(i)))
{ %>[ Map]<%
}
}
%> |
<%
if ((String)exComments.elementAt(i)!=null && !"".equals((String)exComments.elementAt(i)))
{
%>
| |
| |
| | <%= convertHTMLSymbolsToPlainNew((String)exComments.elementAt(i)) %> |
|
| |
<%
}
%>
<%
}
}
%>
<%
if (woIds.size() > 0)
{
%>
| |
Workshops |
|
|
|
<%
for (int i=0; i < woIds.size(); i++)
{
%>
<%
if (i>0)
{
%>
| |
|
<%
}
%>
| |
| <%= (String)woNames.elementAt(i) %> | |
|
<% //out.print((String)exStartdates.elementAt(i));
if (!"01/01/1970".equals(woEnddates.elementAt(i)))
{
String dateString = "";
String stday = ((String)woStartdates.elementAt(i)).substring(3,5);
if ("0".equals(stday.substring(0,1)))
stday = stday.substring(1,2);
String enday = ((String)woEnddates.elementAt(i)).substring(3,5);
if ("0".equals(enday.substring(0,1)))
enday = enday.substring(1,2);
String stmonth = ((String)woStartdates.elementAt(i)).substring(0,2);
if ("0".equals(stmonth.substring(0,1)))
stmonth = stmonth.substring(1,2);
if ("1".equals(stmonth)) stmonth = "January";
if ("2".equals(stmonth)) stmonth = "February";
if ("3".equals(stmonth)) stmonth = "March";
if ("4".equals(stmonth)) stmonth = "April";
if ("5".equals(stmonth)) stmonth = "May";
if ("6".equals(stmonth)) stmonth = "June";
if ("7".equals(stmonth)) stmonth = "July";
if ("8".equals(stmonth)) stmonth = "August";
if ("9".equals(stmonth)) stmonth = "September";
if ("10".equals(stmonth)) stmonth = "October";
if ("11".equals(stmonth)) stmonth = "November";
if ("12".equals(stmonth)) stmonth = "December";
String enmonth = ((String)woEnddates.elementAt(i)).substring(0,2);
if ("0".equals(enmonth.substring(0,1)))
enmonth = enmonth.substring(1,2);
if ("1".equals(enmonth)) enmonth = "January";
if ("2".equals(enmonth)) enmonth = "February";
if ("3".equals(enmonth)) enmonth = "March";
if ("4".equals(enmonth)) enmonth = "April";
if ("5".equals(enmonth)) enmonth = "May";
if ("6".equals(enmonth)) enmonth = "June";
if ("7".equals(enmonth)) enmonth = "July";
if ("8".equals(enmonth)) enmonth = "August";
if ("9".equals(enmonth)) enmonth = "September";
if ("10".equals(enmonth)) enmonth = "October";
if ("11".equals(enmonth)) enmonth = "November";
if ("12".equals(enmonth)) enmonth = "December";
String styear = ((String)woStartdates.elementAt(i)).substring(6,10);
String enyear = ((String)woEnddates.elementAt(i)).substring(6,10);
if (enyear.equals(styear))
{
//2004=2004
if (enmonth.equals(stmonth))
{
//january=january
dateString = stmonth+" "+stday+" - "+enday+", "+styear;
}
else
{
//january!=june
dateString = stmonth+" "+stday+" - "+enmonth+" "+enday+", "+styear;
}
}
else
{
//2004!=2005
dateString = stmonth+" "+stday+", "+styear+" - "+enmonth+" "+enday+", "+enyear;
}
out.print(dateString);
}
%> |
 |
<%
if (woAddresses.elementAt(i)!=null && !"".equals((String)woAddresses.elementAt(i)))
{
url = "http://maps.yahoo.com/py/maps.py?Pyt=Tmap&";
if (!"".equals(woAddresses.elementAt(i)))
{
url += "desc="+ substituteTokens(firstlastName+"-"+(String)woNames.elementAt(i), " ", "+");
String tempo = substituteTokens((String)woAddresses.elementAt(i), " ", "+") ;
tempo = substituteTokens(tempo, "\"", "\'");
url += "&addr="+tempo;
out.print(woAddresses.elementAt(i)+" ");
}
if (!"".equals(woCities.elementAt(i)))
{
out.print(woCities.elementAt(i));
url += "&city="+substituteTokens((String)woCities.elementAt(i), " ", "+");
}
if (!"".equals(woStates.elementAt(i)))
{
out.print(", "+woStates.elementAt(i));
url += "&state="+substituteTokens((String)woStates.elementAt(i), " ", "+");
}
if (!"".equals(woZips.elementAt(i)))
{
url += "&zip="+substituteTokens((String)woZips.elementAt(i), " ", "+");
out.print(" "+woZips.elementAt(i));
}
if (!"".equals(woCountries.elementAt(i)) && !"US".equals(woCountries.elementAt(i)) )
{
if ( "Canada".equals(woCountries.elementAt(i)))
{
url += "&country=ca";
}
out.print(" "+woCountries.elementAt(i));
}
else
{
if ( "US".equals(woCountries.elementAt(i)))
{
url += "&country=us";
}
else
{
url = null;
}
}
}
%>
|
|
<%
if ("US".equals(woCountries.elementAt(i))
|| "Canada".equals(woCountries.elementAt(i)))
{
if (woAddresses.elementAt(i)!=null && !"".equals((String)woAddresses.elementAt(i)))
{ %>[ Map]<%
}
}
%> |
<%
if ((String)woComments.elementAt(i)!=null && !"".equals((String)woComments.elementAt(i)))
{
%>
| |
| |
| | <%= convertHTMLSymbolsToPlainNew((String)woComments.elementAt(i)) %> |
|
| |
<%
}
%>
| |
<%
}
}
%>
| |
<%
if ((!website.equals(""))||(!email.equals(""))||(!phone.equals("")))
{
%>
 |
<%
if ((!("".equals(email)))||(!("".equals(phone))))
{
%>
<%
if (((showEmail.equals("1")))||((showPhone.equals("1"))))
{
%>
<%= artistFirstName %>'s Contact Information: click here |
 |
<%
}
}
%>
<%
if (!website.equals(""))
{
%>
<%= artistFirstName %>'s Website ><%= website %> |
<%
}
%>
|
<%
}
%>
|
 |
|