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");
// 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","Italian 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","Italian 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","Italian 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","Italian 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,'','Instagram Account',$content);
if ($thisArtAuthorInstagram == null || $thisArtAuthorInstagram == "")
{
// there is nothing, show noting
$displayArtAuthorInstagram = " ";
}
else
{
// there is something. show it
$displayArtAuthorInstagram = " @$thisArtAuthorInstagram ";
}
$thisPoemContent = getContentContent($thisTable_content,$thisID,"Exhibit Content","Poem","Content");
$thisPoemContentB = getContentContent($thisTable_content,$thisID,"Exhibit Content","Poem","Italian Content");
$thisPoemTitle = getContentContent($thisTable_content,$thisID,"Exhibit Content","Poem","Title");
$thisPoemTitleB = getContentContent($thisTable_content,$thisID,"Exhibit Content","Poem","Italian 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","Italian 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","Italian 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","Italian 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,'','Instagram Account',$content);
if ($thisPoemAuthorInstagram == null || $thisPoemAuthorInstagram == "")
{
// there is nothing, show noting
$displayPoemAuthorInstagram = "";
}
else
{
// there is something. show it
$displayPoemAuthorInstagram = " @$thisPoemAuthorInstagram ";
}
// 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";
}
$report = displayExhibitListSuturo1("artifact","Exhibit",6471,null,null,2020,3);
/// override art content for special handling
if ($thisID == "36668")
{
$visual = "";
}
elseif ($thisID == "37024")
{
$visual = "";
}
else
{
if ($thisArtContent == null || $thisArtContent == "")
{
// there is nothing, show noting
$visual = "";
}
else
{
// there is something. show it
$visual = " ";
}
}
$layout = "
Artwork
$displayArtTitle $thisArtYear
$displayArtDetails
$displayArtMedia
$displayArtAuthor $displayArtAuthorInstagram
$displayArtCourtesyNote
Poem
$displayPoemTitle $thisPoemYear
$displayPoemDetails
$displayPoemMedia
$displayPoemAuthor $displayPoemAuthorInstagram
$displayPoemCourtesyNote
Explore more in Artists and Poems: Italy 2021
$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",6471,null,null,2020,100);
//$report = "Coming Sunday, August 8, 2021";
$page = $report;
}
$thisMenu = "
";
include "../../meta/php/pageFooter.php";
$thisPage = "
$thisMenu
$page
Artists and Poems: Italy 2021
Artists
Paola Banfi Sacconi, Eva Basile, Marina Bindella, Gregorio Botta, Francesco Cervelli, Marco Colazzo, Marzia Corteggiani, Gianfranco D'Alonzo, Paolo Di Capua, Elisabetta Diamanti, Paola Fonticoli, John David O'Brien, Toti M. O'Brien, Elisa Ottaviani, Ernesto Porcari, Lydia Predominato, Fernando Rea, Beatrice Scarpato, Mario Tomasello
About Artists and Poems: Italy 2021
$pageFooter
";
?>