local_cObj->setCurrentVal($GLOBALS["TSFE"]->id);
$selected_page=$page_set+1;
$selected_page_link=$page_set+1;
$pre_page=$page_set-1;
if($pre_page<0){$pre_page=0;}
$pages_total=floor($gesamttitle/$items_on_page_set);
if($selected_page_link>$pages_total){$selected_page_link=$pages_total;}
$temp_conf = $this->typolink_conf;
$temp_conf["ATagParams"]= 'class="left pagination-item"';
$temp_conf["additionalParams"] = "&page=".$pre_page;
$link_back = $this->local_cObj->typolink('
', $temp_conf);
$temp_conf["additionalParams"] = "&page=".$selected_page_link;
$link_pre = $this->local_cObj->typolink('
', $temp_conf);
//$temp_conf["additionalParams"] = "&page=0";
//$link_first = $this->local_cObj->typolink("1", $temp_conf);
$temp_conf["additionalParams"] = "&page=$pages_total";
$pages_total_real=$pages_total+1;
$link_last = $this->local_cObj->typolink($pages_total_real, $temp_conf);
$temp_conf["additionalParams"] = "&page=".$page_set;
$link_point = $this->local_cObj->typolink('...', $temp_conf);
$temp_conf["additionalParams"] = "&page=".$page_set;
$temp_conf["ATagParams"]= 'class="left pagination-item current"';
$link_this = $this->local_cObj->typolink($selected_page, $temp_conf);
$show_browser=7;
$start_browser=1;
if($pages_total_real>9){
$start_browser=$selected_page-($show_browser/2);
}
if($start_browser>$pages_total_real){$start_browser=$pages_total_real-$show_browser+1;}
if($start_browser<1){$start_browser=1;}
$end_browser=$start_browser+$show_browser;
if($end_browser>$pages_total_real){$end_browser=$pages_total_real;$start_browser=$pages_total_real-$show_browser+1;
}
if($selected_page>($pages_total_real-$show_browser+1)){
$end_browser=$pages_total_real;
$start_browser=$pages_total_real-$show_browser-1;
$link_point="";
}
if($start_browser<1)$start_browser=1;
for($i = $start_browser; $i < $end_browser; $i++){
$page_set_tmp=$i-1;
if($selected_page==$i){
$temp_conf["ATagParams"]= 'class="left pagination-item current"';
}else{
$temp_conf["ATagParams"]= 'class="left pagination-item"';
}
$temp_conf["additionalParams"] = "&page=".$page_set_tmp;
$link_tmp = $this->local_cObj->typolink($i, $temp_conf);
$page_browser_numbers.=' '.$link_tmp;
}
$page_browser='';
if($pages_total_real<2){$page_browser='';}
if($page_set>0){$start_lauf=$page_set*$items_on_page_set;}else{$start_lauf=0;}
$bis_lauf=$start_lauf+$items_on_page_set+1;
$title_pro_spalte=floor($gesamttitle/3);
$title_pro_erstespalte=ceil($gesamttitle/3);
$titleausgabe=$categories_overview;
$titleausgabe.='
';
for($x=$start_lauf;$x<$bis_lauf;$x++){
//$titleausgabe.='
'.$imgOutput[$x].$categories[$x].$program_ausgabe[$x].$caldate[$x].$titles[$x].$previewtext[$x]. ' '.$image[$x].$participants[$x].'
';
$titleausgabe.=$titleausgabe_new[$x];
}
$titleausgabe.='
'.$page_browser;
// neu
////$titleausgabe='
'.$calcontenthead.'
';
//for($x=0;$x<$gesamttitle;$x++){
//$titleausgabe.='
'.$imgOutput[$x].$categories[$x].$caldate[$x].$titles[$x].$previewtext[$x]. ' '.$image[$x].'
';
//}
$content= $titleausgabe;
?>
dOCUMENTA (13) - A Nail-Biting Performance dOCUMENTA (13)
A Nail-Biting Performance dOCUMENTA (13)