";
if (($i==$termine_no) && (eregi('true',$summary))) {
$i++;
if (!eregi('[NULL]',$db_content[$i])) {
echo "$db_content[$i] | ";
} else {
echo " | ";
}
$i++;
$pos=strpos($db_content[$i],'[more]');
$termine_start=substr($db_content[$i],0,$pos);
$pos=$pos+6;
$termine_end=substr($db_content[$i],$pos);
$i++;
if ((strpos($db_content[$i],'NULL'))) {
echo "$termine_start $termine_end | | ";
} else
if ((strpos($db_content[$i],'jpg') != false) || (strpos($db_content[$i],'JPG') != false)) {
$termine_pic="images/termine/thumbnails/$db_content[$i]";
if (!file_exists($termine_pic)) {
resizeImage($pic_dir,$db_content[$i],250,250);
echo "$termine_start $termine_end | | ";
} else {
echo "$termine_start $termine_end | | ";
}
} else {
$i--;
}
} else
if (eregi('[anfang]',$db_content[$i])) {
$i++;
if (!eregi('[NULL]',$db_content[$i])) {
echo "$db_content[$i] | ";
} else {
echo " | ";
}
$i++;
if (strpos($db_content[$i],'[more]') != false) {
$termine_end_pos=strpos($db_content[$i],'[more]');
$termine_short=substr($db_content[$i],0,$termine_end_pos);
$no=$i-2;
$i++;
echo "$termine_short....[mehr] | | ";
} else {
$termine_orig=$db_content[$i];
$i++;
echo "$termine_orig | | ";
}
}
echo "";
}
break;
}
?>