Hallo,
ich habe da ein kleines Problem mit dem BBCode, könnte mir mal jemand sagen, wie ich den folgenden Fehler entfernen kann:
online-gaming-allstars.de/?forum-showposts-100-p14#658
MfG. Zh0kZ
verwendete ilchClan Version: 1.1
Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
| Geschlossen | ||




function _img($string) {
//> Information des Bildes Laden.
$img_info = @getimagesize($string);
if(!function_exists(getimagesize) || empty($img_info[0])) {
$image = "<img src="".$string."" alt="" title="" border="0">";
} else {
if($img_info[1] <= $this->info['ImgMaxHoehe'] && $img_info[0] <= $this->info['ImgMaxBreite']) {
$image = "<img src="".$string."" ".$img_info[3]." alt="" title="" border="0">";
} else {
$img_width = $this->info['ImgMaxBreite'] / $img_info[0];
$img_height = $this->info['ImgMaxHoehe'] /$img_info[1];
if($img_width < $img_height) {
$new_width = $img_info[0] * $img_width;
$new_height = $img_info[1] * $img_width;
} else {
$new_width = $img_info[0] * $img_height;
$new_height = $img_info[1] * $img_height;
}
$image = "<a href="".$string."" target="_BLANK"><img src="".$string."" width="".sprintf("%00d",$new_width)."" height="".sprintf("%00d",$new_height)."" alt="" title="" border="0"></a>";
}
}
return $image;
}
function _img($string) {
//> Information des Bildes Laden.
$image = "<img src="".$string."" height="{$this->info['ImgMaxHoehe']}" width="{$this->info['ImgMaxBreite']}" alt="" title="" border="0">";
return $image;
}
function _img($string) {
$css2 = FALSE;
$css2_browser = array ("MSIE 7.", "Firefox", "Opera", "Netscape6/6", "Netscape/7", "Netscape/8", "Safari/3", "Safari/4");
foreach ($css2_browser as $b) {
if (strpos($_SERVER['HTTP_USER_AGENT'],$b)) {
$css2 = TRUE;
break;
}
}
$image = "<img src="".$string."" alt="" title="" border="0" style="".($css2 ? 'max-height:'.$this->info['ImgMaxHoehe'].'px; max-width='.$this->info['ImgMaxBreite'].'px;' : 'height:'.$this->info['ImgMaxHoehe'].'px; width='.$this->info['ImgMaxBreite'].'px;')."">";
return $image;
}











Codebitte, bitte, bitte, ich will dir nämlich so schnell wie möglich helfen.





| Geschlossen | ||
![]() |
Zurück zu HTML, PHP, SQL,... | |