date_default_timezone_set('America/Los_Angeles');
include("../../../meta/mysql/mysqli_connect_wigglefish2016.php");
// 190406 this is the new location of the core class of functions that should be accessible to all
include("../../interweave/classCoreB.php");
// DEFINE EXHIBITION DETAILS
$exhibitionTitle = "Artists and Poems: Berlin 2021";
$exhibitionURL = "https://www.suturo.com/Berlin/2021/";
$exhibitionID = 6472;
$exhibitionHighlightColor = "#0fb6d4";
$exhibitionSpecialLanguageColor = "#096b7d";
// PAGE RESOURCES
// PAGE KEYS
$key_table = "artifact";
$key_type = "Artifact";
// handler
// generate page
switch ($_GET['suturo'])
{
case "exhibit":
$thisTable = "artifact";
$thisTable_content = $thisTable . "_content";
$thisTable_attribute = $thisTable . "_attribute";
$thisID = $_GET['id'];
$thisExhibitTitle = getContentContent($thisTable_content,$thisID,"Exhibit Content","Exhibit Title","");
$thisExhibitStatement = getContentContent($thisTable_content,$thisID,"Exhibit Content","Exhibit Statement of Work","");
$thisArtContent = getContentContent($thisTable_content,$thisID,"Exhibit Content","Artwork","Content File");
$thisArtTitle = getContentContent($thisTable_content,$thisID,"Exhibit Content","Artwork","Title");
$thisArtTitleB = getContentContent($thisTable_content,$thisID,"Exhibit Content","Artwork","Special Language Title");
$thisArtYear = getContentContent($thisTable_content,$thisID,"Exhibit Content","Artwork","Year");
$thisArtMedia = getContentContent($thisTable_content,$thisID,"Exhibit Content","Artwork","Media");
$thisArtMediaB = getContentContent($thisTable_content,$thisID,"Exhibit Content","Artwork","Special Language Media");
if ($thisArtTitle == null || $thisArtTitle == "")
{
// is there anything in B language?
if ($thisArtTitleB != null || $thisArtTitleB != "")
{
// there is italian only. show it as primary
$displayArtTitle = "$thisArtTitleB ";
}
else
{
// there is nothing, show noting
$displayArtTitle = "";
}
}
else
{
// there is something. show it
$displayArtTitle = "$thisArtTitle";
// is there italian as well?
if ($thisArtTitleB != null || $thisArtTitleB != "")
{
$displayArtTitle .= " / " . $thisArtTitleB." ";
}
else
{
$displayArtTitle .= "";
}
}
if ($thisArtMedia == null || $thisArtMedia == "")
{
// is there anything in B language?
if ($thisArtMediaB != null || $thisArtMediaB != "")
{
// there is italian only. show it as primary
$displayArtMedia = "$thisArtMediaB ";
}
else
{
// there is nothing, show noting
$displayArtMedia = "";
}
}
else
{
// there is something. show it
$displayArtMedia = "$thisArtMedia";
// is there italian as well?
if ($thisArtMediaB != null || $thisArtMediaB != "")
{
$displayArtMedia .= " / " . $thisArtMediaB." ";
}
else
{
$displayArtMedia .= " ";
}
}
$thisArtDetails = getContentContent($thisTable_content,$thisID,"Exhibit Content","Artwork","Details");
$thisArtDetailsB = getContentContent($thisTable_content,$thisID,"Exhibit Content","Artwork","Special Language Details");
if ($thisArtDetails == null || $thisArtDetails == "")
{
// is there anything in B language?
if ($thisArtDetailsB != null || $thisArtDetailsB != "")
{
// there is italian only. show it as primary
$displayArtDetails = "$thisArtDetailsB ";
}
else
{
// there is nothing, show noting
$displayArtDetails = "";
}
}
else
{
// there is something. show it
$displayArtDetails = "$thisArtDetails";
// is there italian as well?
if ($thisArtDetailsB != null || $thisArtDetailsB != "")
{
$displayArtDetails .= " / " . $thisArtDetailsB." ";
}
else
{
$displayArtDetails .= " ";
}
}
$thisArtCourtesyNote = getContentContent($thisTable_content,$thisID,"Exhibit Content","Artwork","Courtesy Note");
$thisArtCourtesyNoteB = getContentContent($thisTable_content,$thisID,"Exhibit Content","Artwork","Special Language Courtesy Note");
if ($thisArtCourtesyNote == null || $thisArtCourtesyNote == "")
{
// is there anything in B language?
if ($thisArtCourtesyNoteB != null || $thisArtCourtesyNoteB != "")
{
// there is italian only. show it as primary
$displayArtCourtesyNote = "$thisArtCourtesyNoteB ";
}
else
{
// there is nothing, show noting
$displayArtCourtesyNote = "";
}
}
else
{
// there is something. show it
$displayArtCourtesyNote = "$thisArtCourtesyNote ";
// is there italian as well?
if ($thisArtCourtesyNoteB != null || $thisArtCourtesyNoteB != "")
{
$displayArtCourtesyNote .= " / " . $thisArtCourtesyNoteB." ";
}
else
{
$displayArtCourtesyNote .= " ";
}
}
$thisArtAuthorID = lookupRelateValueByRole($thisID,"Artist");
$thisArtAuthorName = getRecordDetails('person_content',$thisArtAuthorID,null,'Name','content');
$thisArtAuthorURL = getRecordDetails('person_content',$thisArtAuthorID,null,'Website URL','content');
if ($thisArtAuthorURL == null || $thisArtAuthorURL == "")
{
// there is nothing, show noting
$displayArtAuthor = "$thisArtAuthorName";
}
else
{
// there is something. show it
$displayArtAuthor = "$thisArtAuthorName ";
}
$thisArtAuthorInstagram = getRecordDetails('person_content',$thisArtAuthorID,null,'Instagram Account',"content");
if ($thisArtAuthorInstagram == null || $thisArtAuthorInstagram == "")
{
// there is nothing, show noting
$displayArtAuthorInstagram = " ";
}
else
{
// there is something. show it
$displayArtAuthorInstagram = " @$thisArtAuthorInstagram ";
}
$countArtists = countMultipleRoles($thisID,"Artist");
if ($countArtists > 1)
{
$theseArtists = listAllByRole($thisID,"Artist","blah");
$displayArtAuthor = $theseArtists;
}
$thisPoemContent = getContentContent($thisTable_content,$thisID,"Exhibit Content","Poem","Content");
$thisPoemContentB = getContentContent($thisTable_content,$thisID,"Exhibit Content","Poem","Special Language Content");
$thisPoemTitle = getContentContent($thisTable_content,$thisID,"Exhibit Content","Poem","Title");
$thisPoemTitleB = getContentContent($thisTable_content,$thisID,"Exhibit Content","Poem","Special Language Title");
$thisPoemYear = getContentContent($thisTable_content,$thisID,"Exhibit Content","Poem","Year");
$thisPoemMedia = getContentContent($thisTable_content,$thisID,"Exhibit Content","Poem","Media");
$thisPoemMediaB = getContentContent($thisTable_content,$thisID,"Exhibit Content","Poem","Special Language Media");
if ($thisPoemTitle == null || $thisPoemTitle == "")
{
// is there anything in B language?
if ($thisPoemTitleB != null || $thisPoemTitleB != "")
{
// there is italian only. show it as primary
$displayPoemTitle = "$thisPoemTitleB ";
}
else
{
// there is nothing, show noting
$displayPoemTitle = "";
}
}
else
{
// there is something. show it
$displayPoemTitle = "$thisPoemTitle";
// is there italian as well?
if ($thisPoemTitleB != null || $thisPoemTitleB != "")
{
$displayPoemTitle .= " / " . $thisPoemTitleB." ";
}
else
{
$displayPoemTitle .= "";
}
}
if ($thisPoemMedia == null || $thisPoemMedia == "")
{
// is there anything in B language?
if ($thisPoemMediaB != null || $thisPoemMediaB != "")
{
// there is italian only/. show that
$displayPoemMedia = "$thisPoemMediaB ";
}
else
{
// there is nothing, show noting
$displayPoemMedia = "";
}
}
else
{
// there is something. show it
$displayPoemMedia = "$thisPoemMedia";
// is there italian as well?
if ($thisPoemMediaB != null || $thisPoemMediaB != "")
{
$displayPoemMedia .= " / " . $thisPoemMediaB." ";
}
else
{
$displayPoemMedia .= " ";
}
}
$thisPoemDetails = getContentContent($thisTable_content,$thisID,"Exhibit Content","Poem","Details");
$thisPoemDetailsB = getContentContent($thisTable_content,$thisID,"Exhibit Content","Poem","Special Language Details");
if ($thisPoemDetails == null || $thisPoemDetails == "")
{
// is there anything in B language?
if ($thisPoemDetailsB != null || $thisPoemDetailsB != "")
{
// there is italian only/. show that
$displayPoemDetails = "$thisPoemDetailsB ";
}
else
{
// there is nothing, show noting
$displayPoemDetails = "";
}
}
else
{
// there is something. show it
$displayPoemDetails = "$thisPoemDetails $thisPoemDetailsB";
// is there italian as well?
if ($thisPoemDetailsB != null || $thisPoemDetailsB != "")
{
$displayPoemDetails .= " / " . $thisPoemDetailsB." ";
}
else
{
$displayPoemDetails .= " ";
}
}
$thisPoemCourtesyNote = getContentContent($thisTable_content,$thisID,"Exhibit Content","Poem","Courtesy Note");
$thisPoemCourtesyNoteB = getContentContent($thisTable_content,$thisID,"Exhibit Content","Poem","Special Language Courtesy Note");
if ($thisPoemCourtesyNote == null || $thisPoemCourtesyNote == "")
{
// is there anything in B language?
if ($thisPoemCourtesyNoteB != null || $thisPoemCourtesyNoteB != "")
{
// there is italian only/. show that
$displayPoemCourtesyNote = "$thisPoemCourtesyNoteB ";
}
else
{
// there is nothing, show noting
$displayPoemCourtesyNote = "";
}
}
else
{
// there is something. show it
$displayPoemCourtesyNote = "$thisPoemCourtesyNote ";
// is there italian as well?
if ($thisPoemCourtesyNoteB != null || $thisPoemCourtesyNoteB != "")
{
$displayPoemCourtesyNote .= " / " . $thisPoemCourtesyNoteB." ";
}
else
{
$displayPoemCourtesyNote .= " ";
}
}
$thisPoemAuthorID = lookupRelateValueByRole($thisID,"Poet");
$thisPoemAuthor = getRecordDetails('person_content',$thisPoemAuthorID,null,'Name','content');
$thisPoemAuthorURL = getRecordDetails('person_content',$thisPoemAuthorID,null,'Website URL','content');
if ($thisPoemAuthorURL == null || $thisPoemAuthorURL == "")
{
// there is nothing, show noting
$displayPoemAuthor = "$thisPoemAuthor";
}
else
{
// there is something. show it
$displayPoemAuthor = "$thisPoemAuthor ";
}
$thisPoemAuthorInstagram = getRecordDetails('person_content',$thisPoemAuthorID,null,'Instagram Account',"content");
if ($thisPoemAuthorInstagram == null || $thisPoemAuthorInstagram == "")
{
// there is nothing, show noting
$displayPoemAuthorInstagram = "";
}
else
{
// there is something. show it
$displayPoemAuthorInstagram = " @$thisPoemAuthorInstagram ";
}
$countPoets = countMultipleRoles($thisID,"Poet");
if ($countPoets > 1)
{
$thesePoets = listAllByRole($thisID,"Poet","blah");
$displayPoemAuthor = $thesePoets;
}
// prepare content information
$thisLayoutFlexDirection = getContentContent($thisTable_attribute,$thisID,"Exhibit Layout","CSS Flexbox","flex-direction");
if ($thisLayoutFlexDirection == null || $thisLayoutFlexDirection == "")
{
$thisLayoutFlexDirection = "row";
}
else
{
}
// also define the curator name
switch ($thisLayoutFlexDirection)
{
case "row":
$layoutName = "AP diptych";
$panelWidth = "width: 50%;";
$margin = "margin-left: 36px;";
break;
case "row-reverse":
$layoutName = "PA diptych";
$panelWidth = "width: 50%;";
$margin = "margin-left: 36px;";
break;
case "column":
$layoutName = "AP stack";
$panelWidth = "width: 80%;";
$margin = " margin: 0 auto;";
break;
case "column-reverse":
$layoutName = "PA stack";
$panelWidth = "width: 80%;";
$margin = " margin: 0 auto;";
break;
default:
$layoutName = "AP diptych";
$panelWidth = "width: 50%;";
$margin = "margin-left: 36px;";
}
$thisLayoutFontFamily = getContentContent($thisTable_attribute,$thisID,"Exhibit Layout","CSS Font Family","font-family");
if ($thisLayoutFontFamily == null || $thisLayoutFontFamily == "")
{
$thisLayoutFontFamily = "Times";
}
$thisLayoutColor = getContentContent($thisTable_attribute,$thisID,"Exhibit Layout","CSS Font Color","color");
if ($thisLayoutColor == null || $thisLayoutColor == "")
{
$thisLayoutColor = "black";
}
$thisLayoutFontSize = getContentContent($thisTable_attribute,$thisID,"Exhibit Layout","CSS Font Size","font-size");
if ($thisLayoutFontSize == null || $thisLayoutFontSize == "")
{
$thisLayoutFontSize = "1.4em";
}
$thisLayoutLineHeight = getContentContent($thisTable_attribute,$thisID,"Exhibit Layout","CSS Line Height","line-height");
if ($thisLayoutLineHeight == null || $thisLayoutLineHeight == "")
{
$thisLayoutLineHeight = "1.2em";
}
$thisLayoutTextAlign = getContentContent($thisTable_attribute,$thisID,"Exhibit Layout","CSS Text Align","text-align");
if ($thisLayoutTextAlign == null || $thisLayoutTextAlign == "")
{
$thisLayoutTextAlign = "initial";
}
$thisLayoutTextWrap = getContentContent($thisTable_attribute,$thisID,"Exhibit Layout","HTML Text Wrap","Text Wrap");
if ($thisLayoutTextWrap == "Keep text formatting")
{
$thisLayoutTextWrap = "pre";
}
if ($thisLayoutTextWrap == "Wrap text within layout")
{
$thisLayoutTextWrap = "span";
$thisPoemContent = nl2br($thisPoemContent);
}
if ($thisLayoutTextWrap == null || $thisLayoutTextWrap == "")
{
$thisLayoutTextWrap = "pre";
}
$report = displayExhibitListSuturo1("artifact","Exhibit",$exhibitionID,null,null,2020,3);
/// override art content for special handling
if ($thisID == "36668")
{
$visual = "";
}
elseif ($thisID == "37024")
{
$visual = "";
}
elseif ($thisID == "37225")
{
$visual = "
VIDEO
";
}
else
{
if ($thisArtContent == null || $thisArtContent == "")
{
// there is nothing, show noting
$visual = "";
}
else
{
// there is something. show it
$visual = " ";
}
}
// experimental setting, this should be translated into layout text wrap attribute
if ($thisID =="37159" || $thisID == "37160" || $thisID =="37146" || $thisID=="37172" || $thisID == "37147")
{
$thisLayoutTextWrap = "div";
$thisPoemContent = nl2br($thisPoemContent);
$thisPoemContentB = nl2br($thisPoemContentB);
$thisLayoutTextAlign = "left";
}
$layout = "
$visual
<$thisLayoutTextWrap style='font-family: $thisLayoutFontFamily; font-size: $thisLayoutFontSize; line-height: $thisLayoutLineHeight; color: $thisLayoutColor; text-align: $thisLayoutTextAlign' alt='$thisLayoutTextWrap'>$thisPoemContent$thisLayoutTextWrap>
<$thisLayoutTextWrap class=nativeLanguage style='font-family: $thisLayoutFontFamily; font-size: $thisLayoutFontSize; line-height: $thisLayoutLineHeight; color: $thisLayoutColor; text-align: $thisLayoutTextAlign'>$thisPoemContentB$thisLayoutTextWrap>
Artwork
$displayArtTitle $thisArtYear
$displayArtDetails
$displayArtMedia
$displayArtAuthor $displayArtAuthorInstagram
$displayArtCourtesyNote
Poem
$displayPoemTitle $thisPoemYear
$displayPoemDetails
$displayPoemMedia
$displayPoemAuthor $displayPoemAuthorInstagram
$displayPoemCourtesyNote
Explore more in $exhibitionTitle
$report
";
$page = $layout;
break;
case "artists":
$page = "artists";
break;
case "poets":
$page = "poets";
break;
case "threads":
$page = "threads";
break;
case "about":
$page = "
Early in the pandemic, several facebook friends posted that they were looking for poems to read at a funeral. Given the number of deaths around the world, this request was probably too common.
We often turn to poetry to mark big occasions, to help give these moments more meaning, to better convey the sentiments we feel but cannot express, or to help make sense of things we don’t fully understand.
In the middle of this pandemic, and all the other crises running alongside it, when so many moments are limited to words shared at a social distance, the need for poetry seems much greater.
In Artists and Poems we are inviting artists to pair their work with a poem that has meaning for them given the current state of their world. The pair of works – poem and visual art – are presented together.
Artists and Poems creates a platform for contemplation, responding to the turmoil of recent events through a lens of art and poetry. The juxtaposition of visual art and verse provides insight into both the artists’ work and the poems they have chosen.
The first show was a survey of Los Angeles artists in the months leading up to the 2020 presidential election. The second show, Artists and Poems: Los Angeles 2021 , covers the period from Election Day until Inauguration Day. Future shows will explore other cities and other curatorial frameworks, and will include additional curators.
--- Steven Wolkoff, February 2021
";
break;
default:
//$report = listRecordsOLD($key_table,$key_type,"*","summary");
$report = displayExhibitListSuturo1("artifact","Exhibit",$exhibitionID,null,null,2020,100);
//$report = "Coming Sunday, August 8, 2021";
$page = $report;
}
$thisMenu = "
";
include "../../meta/php/pageFooter.php";
$artistList = listExhibitionParticipants(6472,"Artist");
$thisPage = "
$thisMenu
";
?>
| Suturo