Für den Ticker benötigen Sie das Flash-Plugin.

piImgScale($picturepath1, $zoomwidth, $zoomheight, false, false); } else { $picture1 = ""; } $originalpicture2 = ""; $link2 = ""; if ($originalpicture2 != "") { list ($originalwidth, $originalheight, $type, $attr) = getimagesize(str_replace($cfgClient[$client]["path"]["htmlpath"], $cfgClient[$client]["path"]["frontend"], $originalpicture2)); $picturepath2 = str_replace($cfgClient[$client]["path"]["htmlpath"],"",$originalpicture2); if ($originalwidth == $cropwidth && $originalheight == $cropheight) { $picture2 = $originalpicture2; $picwidth2 = $cropwidth; $picheight2 = $cropheight; } else { # Scale image $picture2 = cApiImgScale($picturepath2, $cropwidth, $cropheight, false, false); #Get dimensions of the image list ($picwidth2, $picheight2, $type, $attr) = getimagesize(str_replace($cfgClient[$client]["path"]["htmlpath"], $cfgClient[$client]["path"]["frontend"], $picture2)); } // Zoombild berechnen $zoompicture2 = cApiImgScale($picturepath2, $zoomwidth, $zoomheight, false, false); } else { $picture2 = ""; } $originalpicture3 = ""; $link3 = ""; if ($originalpicture3 != "") { list ($originalwidth, $originalheight, $type, $attr) = getimagesize(str_replace($cfgClient[$client]["path"]["htmlpath"], $cfgClient[$client]["path"]["frontend"], $originalpicture3)); $picturepath3 = str_replace($cfgClient[$client]["path"]["htmlpath"],"",$originalpicture3); if ($originalwidth == $cropwidth && $originalheight == $cropheight) { $picture3 = $originalpicture3; $picwidth3 = $cropwidth; $picheight3 = $cropheight; } else { # Scale image $picture3 = cApiImgScale($picturepath3, $cropwidth, $cropheight, false, false); #Get dimensions of the image list ($picwidth3, $picheight3, $type, $attr) = getimagesize(str_replace($cfgClient[$client]["path"]["htmlpath"], $cfgClient[$client]["path"]["frontend"], $picture3)); } // Zoombild berechnen $zoompicture3 = cApiImgScale($picturepath3, $zoomwidth, $zoomheight, false, false); } else { $picture3 = ""; } if($ausrichtung == "links") $styler = ' style="float:left;width:'.$picwidth1.';padding:5px 5px 5px 0;"'; else if($ausrichtung == "rechts") $styler = ' style="float:right;width:'.$picwidth1.';padding:5px 0 5px 5px;"'; else if($ausrichtung == "unten") $styler = ' style="float:left;padding-top:5px;"'; //$bildbeschreibung = ""; //$bildbeschreibung = "CMS IMGTITLE 11 "; //if ($bildbeschreibung != "") $bildbeschreibung = '

'.$bildbeschreibung.'

'; echo '
'."\n"; if (!cRegistry::isBackendEditMode()) { echo "

".strip_tags("")."

"; } else { echo "

".""."

"; } if ($picture1 != "" && $picture2 == "") { if ($ausrichtung == "links" || $ausrichtung == "rechts") { if ($link1 == "http://" || $link1 == "") echo ' CMS_IMGTITLE[11]
'."\n"; else echo ' CMS_IMGTITLE[11]
'."\n"; } } else { if($ausrichtung == "links") $styler = ' style="float:left;width:'.$cropwidth.';padding:5px 5px 5px 0;"'; else if($ausrichtung == "rechts") $styler = ' style="float:right;width:'.$cropwidth.';padding:5px 0 5px 5px;"'; if ($ausrichtung == "links" || $ausrichtung == "rechts") { echo ' '."\n"; if ($link1 == "http://" || $link1 == "") echo '
CMS_IMGTITLE[11]
'."\n"; else echo '
CMS_IMGTITLE[11]
'."\n"; if ($link2 == "http://" || $link2 == "") echo '
CMS_IMGTITLE[12]
'."\n"; else echo '
CMS_IMGTITLE[12]
'."\n"; if ($picture3 != "") { if ($link3 == "http://" || $link3 == "") echo '
CMS_IMGTITLE[13]
'."\n"; else echo '
CMS_IMGTITLE[13]
'."\n"; } echo '
'."\n"; } } if (cRegistry::isBackendEditMode() && ($ausrichtung == "links" || $ausrichtung == "rechts")) { echo "\"Achtung"; echo ""; echo "\"Achtung"; echo ""; echo "\"Achtung"; echo ""; } echo $htmltext."\n"; if ($picture1 != "" && $picture2 == "") { if ($ausrichtung == "unten") { $styler = ' style="float:left;padding-top:5px;"'; $padding = (508 - $picwidth1) / 2; if ($link1 == "http://" || $link1 == "") echo ' CMS_IMGTITLE[11]
'."\n"; else echo ' CMS_IMGTITLE[11]'."\n"; } } else if ($picture1 != "" && $picture2 != "") { if ($ausrichtung == "unten") { $styler = ' style="float:left;padding-top:5px;"'; $bildzahl = 1; if ($picture2 != "") { $bildzahl++; if ($picture3 != "") { $bildzahl++; $padding1 = (508 - $picwidth1 - $picwidth2 - $picwidth3 - 40) / 2; $padding2 = 10; $padding3 = $padding1; } } else { $padding1 = (508 - $picwidth1 - $picwidth2 - 20) / 2; $padding2 = $padding1; $padding3 = 0; } echo ' '."\n"; if ($link1 == "http://" || $link1 == "") echo '
CMS_IMGTITLE[11]
'."\n"; else echo '
CMS_IMGTITLE[11]
'."\n"; if ($link2 == "http://" || $link2 == "") echo '
CMS_IMGTITLE[12]
'."\n"; else echo '
CMS_IMGTITLE[12]
'."\n"; if ($picture3 != "") { if ($link3 == "http://" || $link3 == "") echo '
CMS_IMGTITLE[13]
'."\n"; else echo '
CMS_IMGTITLE[13]
'."\n"; } echo ' '."\n"; } } if (cRegistry::isBackendEditMode() && $ausrichtung == "unten") { echo "\"Achtung"; echo ""; echo "\"Achtung"; echo ""; echo "\"Achtung"; echo ""; } echo "\n".''."\n"; } else if ($ausrichtung == "youtubelinks" || $ausrichtung == "youtuberechts") { if($ausrichtung == "youtubelinks") $styler = ' style="float:left;padding:5px 5px 5px 0;"'; else if($ausrichtung == "youtuberechts") $styler = ' style="float:right;padding:5px 0 5px 5px;"'; echo '
'."\n"; if (!cRegistry::isBackendEditMode()) { echo "

".strip_tags("")."

"; } else { echo "

".""."

"; } if ($youtubelink != '') { //$youtubelink = $youtubelink.'&hl=de_DE&fs=1&'; $you = explode('watch?v=', $youtubelink); $youtubelink = 'https://www.youtube-nocookie.com/embed/'.$you[1]; $ytstyle = ' width="320" height="265"'; if ($youtubesize == "425") $ytstyle = ' width="425" height="344"'; else if ($youtubesize == "480") $ytstyle = ' width="425" height="385"'; else if ($youtubesize == "640") $ytstyle = ' width="640" height="505"'; else if ($youtubesize == "240") $ytstyle = ' width="240" height="200"'; else if ($youtubesize == "144") $ytstyle = ' width="144" height="120"'; echo ''."\n"; echo ''."\n"; /* echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; */ echo '
'."\n"; } echo $htmltext."\n"; echo "\n".''."\n"; } else if ($ausrichtung == "videolinks" || $ausrichtung == "videorechts") { echo '
'."\n"; if (!cRegistry::isBackendEditMode()) { echo "

".strip_tags("")."

"; } else { echo "

".""."

"; } if($ausrichtung == "videolinks") $styler = ' style="float:left;padding:5px 5px 5px 0;"'; else if($ausrichtung == "videorechts") $styler = ' style="float:right;padding:5px 0 5px 5px;"'; if ($videolink != "") { $video = "upload/videos/".$videolink; $output = ' '; #Output Video tag echo '
'.$output.'
'; } echo $htmltext."\n"; echo "\n".'
'."\n"; } ?>