<head>
<!--set title-->
<?php $title = '65_50';?>
<title><?php echo $title;?></title>
<!--get styles for HTML-intro and php-content-->
<link rel="stylesheet" href="stylesheet_print.css">
<!--get db data as arrays-->
<?php require_once('sql-arrays.php');?>
</head>
<html>
<body>
<!------------------------------------>
<!--html intro: first pages manually-->
<!------------------------------------>
<!--echo ongoing title number on the rigth site for print-->
<div class ="title_number">
<?php echo substr($title, 3);?>
</div>
<!--first page-->
<div class ="book_title">
<div style ="font-size:15.75px; font-weight: normal; line-height: 1.25;">
CHALLENGE THE<br>RETINAL IMPERATIVE
</div>
VERSIONS <br><br>
</div>
<div class ="small_title">
<br>process-oriented dynamic book tank
<br><br>rethinking of enunciation
<br><br>act of appropriation and sharing
<br><br>open source concept
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</div>
<!--second page-->
<div class ="small_title">
<br><br><br>DARIO ZEO
<br>research, concept, text montage, programming and design
<br><br><br><br><br>SUPPORT
<br>M.A. / J.B. / C.B. / A.D.F. / M.D. / G.F. / M.F. /
P.G. / C.H. M.H. / J.H. / C.H. / E.H. / K.K. / J.K. / M.K. / M.K.
<br>H.J.K. / T.L. / M.L. / L.L. / B.M. / R.M. / L.M. / A.M. / I.N.
<br>V.O. / M.P. / R.R. / M.S. / D.S. / R.S. / S.S. / S.S. / K.S.
<br> N.S. / A.S. / G.S. / S.S. / A.S. / L.M.T. / J.V. / F.W.
<br>L.W. / D.W. / L.W. / S.W. / M.Z.
<br><br><br><br><br>APPROPRIATED MATERIAL
<br>279 text fragments
<br>from 69 texts, such as
<br>essays, lyrics, poems, novels, interviews, artworks
<br>written by 37 authors (A-Z)
<br>from 1969-2017
<br><br><br><br><br>Basel, from 2018 onwards
<br>http://versions.solutions
<br>No rights reserved
<br>
</div>
<!--third page-->
<br>
<div class ="contents">
<br><br><br><br><br>CONTENTS
<br><br><br>GEFÜGE
<br>VERORTUNG
<br>HIER
<br>LOVE
<br>ICH;ICH
<br>BIBLIOGRAPHY
<br><br><br><br><br><br><br><br><br><br><br><br><br>
</div>
<!--fourth page-->
<br><br><br><br>
<div class ="small_title">
für den Text
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</div>
<div class ="intro">
<br>Quellen, nicht die der Autorität<br>sondern der Freundschaft:
<br>keine Garantien aber mit
<br>einer Art im Vorbeigehen erstatteten Grusses
<br>einem Augenblick der Wollust des Verstehens
<br><br>Hinweise auf Gelesenes, Gehörtes
<br>Instanz ist kein anderer als der Ort
<br><br>wenn die Schreiberin* dem Subjekt hier ihre Kultur leiht
<br>so vermittelt das Subjekt
<br>im Gegenzug die Unschuld des Imaginären
<br>gleichgültig gegenüber den Gepflogenheiten
<br><br>*writer
<br><br>
</div>
<!---------------------->
<!--php content starts-->
<!---------------------->
<?php
//start echoing and styling data from DB
$count = 0; //counter while loop
$pos_in_array = 0; //counter array position
$check_count = 0; //counter count echoed elements
$check_count_numbers=0; //counter count echoed numbers
//while there is data in arrays keep looping
while ($count < (count($array_fragment))){
unset($result_fragment); //clear $result_fragment => gets loaded each time
unset($result_number);
//case text type is chapter title => style: container center and .chapter_title
if(($array_chapter[$pos_in_array] == 'GEFÜGE' && $array_type[$pos_in_array] == 'chapter_title')
xor ($array_chapter[$pos_in_array] == 'VERORTUNG' && $array_type[$pos_in_array] == 'chapter_title')
xor ($array_chapter[$pos_in_array] == 'HIER' && $array_type[$pos_in_array] == 'chapter_title')
xor ($array_chapter[$pos_in_array] == 'LOVE' && $array_type[$pos_in_array] == 'chapter_title')
xor ($array_chapter[$pos_in_array] == 'ICH;ICH' && $array_type[$pos_in_array] == 'chapter_title')){
$class_element = 'chapter_title';
//style $result_fragment
$result_fragment = '<div class="container_center">' . '<div class="' . $class_element . '">' . $array_fragment[$pos_in_array] . '</div>' . '</div>';
$pos_in_array++;
$count++;
$check_count++;
}
//case text type is preface => style: container center and .preface
elseif(($array_chapter[$pos_in_array] == 'GEFÜGE' && $array_type[$pos_in_array] == 'preface')
xor ($array_chapter[$pos_in_array] == 'VERORTUNG' && $array_type[$pos_in_array] == 'preface')
xor ($array_chapter[$pos_in_array] == 'HIER' && $array_type[$pos_in_array] == 'preface')
xor ($array_chapter[$pos_in_array] == 'LOVE' && $array_type[$pos_in_array] == 'preface')
xor ($array_chapter[$pos_in_array] == 'ICH;ICH' && $array_type[$pos_in_array] == 'preface')
xor ($array_chapter[$pos_in_array] == 'ANMERKUNGEN' && $array_type[$pos_in_array] == 'chapter_title')){
$class_element = 'preface';
//style $result_fragment
$result_fragment = '<div class="container_center">' . '<div class="' . $class_element . '">' . $array_fragment[$pos_in_array] . '</div>' . '</div>';
$result_number = '<div class="container_numbers">' . '<div class="numbers">' . $array_id[$pos_in_array] . '</div>' . '</div>';
$pos_in_array++;
$count++;
$check_count++;
$check_count_numbers++;
}
//case text type is heading => style: container center and .heading
elseif(($array_chapter[$pos_in_array] == 'GEFÜGE' && $array_type[$pos_in_array] == 'heading')
xor ($array_chapter[$pos_in_array] == 'VERORTUNG' && $array_type[$pos_in_array] == 'heading')
xor ($array_chapter[$pos_in_array] == 'HIER' && $array_type[$pos_in_array] == 'heading')
xor ($array_chapter[$pos_in_array] == 'LOVE' && $array_type[$pos_in_array] == 'heading')
xor ($array_chapter[$pos_in_array] == 'ICH;ICH' && $array_type[$pos_in_array] == 'heading')){
$class_element = 'heading';
//special styling for headings in chapter LOVE
if($array_chapter[$pos_in_array] == 'LOVE' && $array_type[$pos_in_array] == 'heading'){$result_fragment = '<div lang = "en">' . '<div class="container_center">' . '<div class="love_heading">' . $array_fragment[$pos_in_array] . ' ' . '</div>' . '</div>' . '</div>';}else{
//style $result_fragment
$result_fragment = '<div class="container_center">' . '<div class="' . $class_element . '">' . $array_fragment[$pos_in_array] . '</div>' . '</div>';}
$pos_in_array++;
$count++;
$check_count++;
$check_count_numbers++;
}
//case text type is opposition => style: container center and .opposition
elseif(($array_chapter[$pos_in_array] == 'GEFÜGE' && $array_type[$pos_in_array] == 'opposition')
xor ($array_chapter[$pos_in_array] == 'VERORTUNG' && $array_type[$pos_in_array] == 'opposition')
xor ($array_chapter[$pos_in_array] == 'HIER' && $array_type[$pos_in_array] == 'opposition')){
$class_element = 'opposition';
//style $result_fragment
$result_fragment = '<div class="container_center">' . '<div class="' . $class_element . '">' . $array_fragment[$pos_in_array] . '</div>' . '</div>';
$result_number = '<div class="container_numbers">' . '<div class="numbers">' . $array_id[$pos_in_array] . '</div>' . '</div>';
$pos_in_array++;
$count++;
$check_count++;
$check_count_numbers++;
}
//case text type is hier_op_1 => style: container left and .hier_op_1
elseif($array_chapter[$pos_in_array] == 'HIER' && $array_type[$pos_in_array] == 'hier_op_1'){
$class_element = 'hier_op_1';
//style $result_fragment
$result_fragment = '<div class="container_left">' . '<div class="' . $class_element . '">' . $array_fragment[$pos_in_array] . '</div>' . '</div>';
$result_number = '<div class="container_numbers">' . '<div class="numbers">' . $array_id[$pos_in_array] . '</div>' . '</div>';
$pos_in_array++;
$count++;
$check_count++;
$check_count_numbers++;
}
//case text type is hier_op_2 => style: container center and .hier_op_2
elseif($array_chapter[$pos_in_array] == 'HIER' && $array_type[$pos_in_array] == 'hier_op_2'){
$class_element = 'hier_op_2';
//style $result_fragment
$result_fragment = '<div class="container_center">' . '<div class="' . $class_element . '">' . $array_fragment[$pos_in_array] . '</div>' . '</div>';
$result_number = '<div class="container_numbers">' . '<div class="numbers">' . $array_id[$pos_in_array] . '</div>' . '</div>';
$pos_in_array++;
$count++;
$check_count++;
$check_count_numbers++;
}
//case text type is hier_op_3 => style: container right and .hier_op_3
elseif($array_chapter[$pos_in_array] == 'HIER' && $array_type[$pos_in_array] == 'hier_op_3'){
$class_element = 'hier_op_3';
//style $result_fragment
$result_fragment = '<div class="container_right">' . '<div class="' . $class_element . '">' . $array_fragment[$pos_in_array] . '</div>' . '</div>';
$result_number = '<div class="container_numbers">' . '<div class="numbers">' . $array_id[$pos_in_array] . '</div>' . '</div>';
$pos_in_array++;
$count++;
$check_count++;
$check_count_numbers++;
}
//case text type is love_1 => style: container center and .love_1
elseif($array_chapter[$pos_in_array] == 'LOVE' && $array_type[$pos_in_array] == 'love_1'){
$class_element = 'love_1';
//style $result_fragment
$result_fragment = '<div lang = "en">' . '<div class="container_center">' . '<div class="' . $class_element . '">' . $array_fragment[$pos_in_array] . '<br><br><br><br>' . '</div>' . '</div>' . '</div>';
$result_number = '<div class="container_numbers">' . '<div class="numbers">' . $array_id[$pos_in_array] . '</div>' . '</div>';
$pos_in_array++;
$count++;
$check_count++;
$check_count_numbers++;
}
//case text type is love_2 => style: container center and .love_2
elseif($array_chapter[$pos_in_array] == 'LOVE' && $array_type[$pos_in_array] == 'love_2'){
$class_element = 'love_2';
//style $result_fragment
$result_fragment = '<div lang = "en">' . '<div class="container_center">' . '<div class="' . $class_element . '">' . $array_fragment[$pos_in_array] . '<br><br><br><br>' . '</div>' . '</div>' . '</div>';
$result_number = '<div class="container_numbers">' . '<div class="numbers">' . $array_id[$pos_in_array] . '</div>' . '</div>';
$pos_in_array++;
$count++;
$check_count++;
$check_count_numbers++;
}
//case text type is love_3 => style: container center and .love_3
elseif($array_chapter[$pos_in_array] == 'LOVE' && $array_type[$pos_in_array] == 'love_3'){
$class_element = 'love_3';
//style $result_fragment
$result_fragment = '<div lang = "en">' . '<div class="container_center">' . '<div class="' . $class_element . '">' . $array_fragment[$pos_in_array] . '<br><br><br><br>' . '</div>' . '</div>' . '</div>';
$result_number = '<div class="container_numbers">' . '<div class="numbers">' . $array_id[$pos_in_array] . '</div>' . '</div>';
$pos_in_array++;
$count++;
$check_count++;
$check_count_numbers++;
}
//case text type is ich_1 => style: container center and .ich_1
elseif($array_chapter[$pos_in_array] == 'ICH;ICH' && $array_type[$pos_in_array] == 'ich_1'){
$class_element = 'ich_1';
//style $result_fragment
$result_fragment = '<div class="container_center">' . '<div class="' . $class_element . '">' . $array_fragment[$pos_in_array] . '</div>' . '</div>';
$result_number = '<div class="container_numbers">' . '<div class="numbers">' . $array_id[$pos_in_array] . '</div>' . '</div>';
$pos_in_array++;
$count++;
$check_count++;
$check_count_numbers++;
}
//case text type is ich_2 => style: container center and .ich_2
elseif($array_chapter[$pos_in_array] == 'ICH;ICH' && $array_type[$pos_in_array] == 'ich_2'){
$class_element = 'ich_2';
//style $result_fragment
$result_fragment = '<div class="container_center">' . '<div class="' . $class_element . '">' . $array_fragment[$pos_in_array] . '</div>' . '</div>';
$result_number = '<div class="container_numbers">' . '<div class="numbers">' . $array_id[$pos_in_array] . '</div>' . '</div>';
$pos_in_array++;
$count++;
$check_count++;
$check_count_numbers++;
}
//case text type is ich_3 => style: container center and .ich_3
elseif($array_chapter[$pos_in_array] == 'ICH;ICH' && $array_type[$pos_in_array] == 'ich_3'){
$class_element = 'ich_3';
//style $result_fragment
$result_fragment = '<div class="container_center">' . '<div class="' . $class_element . '">' . $array_fragment[$pos_in_array] . '</div>' . '</div>';
$result_number = '<div class="container_numbers">' . '<div class="numbers">' . $array_id[$pos_in_array] . '</div>' . '</div>';
$pos_in_array++;
$count++;
$check_count++;
$check_count_numbers++;
}
//case text type is part of running-text block => style: container center and individual style
elseif($array_type[$pos_in_array] == 'running_n'
xor $array_type[$pos_in_array] == 'running_h'
xor $array_type[$pos_in_array] == 'insertion'){
unset($inner_result);// clear inner result from loop
unset($inner_result_number);
while($array_type[$pos_in_array] == 'running_n'
xor $array_type[$pos_in_array] == 'running_h'
xor $array_type[$pos_in_array] == 'insertion'){
//set span classes
if($array_type[$pos_in_array] == 'running_n'){
$class_element = 'running_n';}
elseif($array_type[$pos_in_array] == 'running_h'){
$class_element = 'running_h';}
elseif($array_type[$pos_in_array] == 'insertion'){
$class_element = 'insertion';}
//concatenate and style $result_fragment
$inner_result = $inner_result . '<span lang = "en">' . '<span class="' . $class_element . '">' . $array_fragment[$pos_in_array] . ' ' . '</span>' . '</span>';
$inner_result_number = $inner_result_number . '<span class="numbers">' . $array_id[$pos_in_array] . '<br>' . '</span>';
$pos_in_array++;
$count++;
$check_count++;
$check_count_numbers++;
}
$result_fragment = '<div class="container_center">' . $inner_result . '</div>';//concat from inner result
$result_number = '<div class="container_numbers">' . $inner_result_number . '</div>';//concat from inner result
}
//case text type is notes
elseif($array_type[$pos_in_array] == 'notes'){
$class_element = 'notes';
//style $result_fragment
$result_fragment = '<div class="container_center"><div class="chapter_title" style="right:261px; top: 20px; bottom:0px;"><div id="notes">BIBLIOGRAPHY</div></div></div>' . '<div class="container_center">' . '<div class="' . $class_element . '">' . $array_fragment[$pos_in_array] . '</div>' . '</div>';
$pos_in_array++;
$count++;
$check_count++;
}
// echo styled single or styled concatenated result
echo $result_number;
echo $result_fragment;
}
?>
</body>
<!--optional: check output: fragments and numbers-->
<?php
/*
echo 'total echoes fragments: ' . $check_count;
echo '<br>';
echo 'total echoes numbers: ' . $check_count_numbers;
*/
?>
</html>