\n"; } return false; } $this->FHandle = $file; return true; } function fwWriteText($text) { if(empty($text)) { if(GetConfig('DEBUG')) {echo "fwWriteText: ".$lang9006."
\n"; } return false; } if(empty($this->FHandle)) { global $lang9007; if(GetConfig('DEBUG')) {echo "fwWriteText: ".$lang9007."
\n";} return false; } fputs($this->FHandle,$text); return true; } // Special fwWriteText to use for logfile writing function fwLogText($logtext,$ip) { $text = localTimeFormat(time())." - ".$logtext." - IP: ".$ip."\r\n"; return fwWriteText($text); } // Closes a file(-handle) function fwClose() { if(empty($this->FHandle)) {return true;} return flose($this->FHandle); } } class Debugger { // class used to debug php-scripts // essentially based on Hanser phpdebug var $LogFileName = ""; //////$LOGFILE; var $ErrorMessage = ""; var $ErrorLine = ""; var $strGlobals = ""; var $strGet = ""; var $strPost = ""; var $strCookie = ""; var $strError = ""; var $strLogFile = ""; // Methods function SetErrorMessage($ErrorMessage="") { $this->ErrorMessage = $ErrorMessage; } function SetErrorLine($ErrorLine="") { $this->ErrorLine = $ErrorLine; } function SetLogFile($LogFile="") { $this->strLogFile = $LogFile; } function BuildVarTable($dbg_globals=true,$dbg_get=true,$dbg_post=true,$dbg_cookie=true,$dbg_error=true) { // Log global variables if($dbg_globals==true) { $dbgglob = "
Globale Variablen:
"; if (is_array($GLOBALS)) { while (list($key, $val) = each($GLOBALS)) { if ($key!="dbgglob" & $key!="key" & $key!="val" & $key!="__dbg_trace") { $dbgglob .= "".$key." => ".$val."
"; } } } else { $dbgglob = "Keine ...
"; } $dbgglob .= "
"; } // Post Messages log if($dbg_post==true) { $dbgpost = "
Variablen per POST:
"; if (is_array($_POST)) { while (list($key, $val) = each($_POST)) { $dbgpost .= $key." => ".$val."
"; } } else { $dbgpost .= "Keine ...
"; } $dbgpost .= "
"; } // Get Messages log if($dbg_get==true) { $dbgget = "
Variablen per GET:
"; if (count($_GET)>0) { while (list($key, $val) = each($_GET)) { $dbgget .= $key." => ".$val."
"; } } else { $dbgget .= "Keine ...
"; } $dbgget .= "
"; } // Cookies log if($dbg_cookie==true) { $dbgcook = "
Cookies:
"; if (is_array($_COOKIE)) { while (list($key, $val) = each($_COOKIE)) { $dbgcook .= $key." => ".$val."
"; } } else { $dbgcook .= "Keine ...
"; } $dbgcook .= "
"; } // Error log if($dbg_error==true) { $dbgerr = "
Fehlermeldungen:
"; if (empty($php_errormsg)) { $dbgerr .= "Keine ...
"; } else { $dbgerr .= "".$php_errormsg."
"; } } // save to object attributes $this->strGlobals = dbg_globals; $this->strGet = dbg_get; $this->strPost = dbg_post; $this->strCookie = dbg_cookie; $this->strError = dbg_error; } // Main method - call this to write debug output function debug_me($LogToFile=true) { // Get variables' content $this->BuildVarTable(); $strDebugText = $this->strGlobals."

".$this->strGet."

".$this->strPost."

".$this->strCookie."

".$this->strError; // Log to screen or log to file if(LogToFile==true) { // Write to file $WriteFile = new FileWriter; $WriteFile->fwWriteText($strDebugText); $WriteFile->fwClose(); } else { // Write to screen! // Attention! This function only works properly with Javascript turned on! $JS=""; echo $JS; // *** To be continued... } } } // Class: ImageConvert // based on: Thumbnail-Class by Hidayet Dogan class Thumbnail { var $errmsg = ""; var $error = false; var $format = ""; var $file = ""; var $version2 = false; var $allowupsizing = true; var $max_width = 0; var $max_height = 0; var $percent = 0; var $bHighQuality = FALSE; var $arrInfo = array(); /* Constructor */ function Thumbnail($file, $max_width = 0, $max_height = 0, $percent = 0,$version = false,$upsizing=true) { if(!function_exists("gd_info")) { // No GD library installed, should throw an exception $this->errmsg = "GD library not installed"; return FALSE; } if (!file_exists($file)) { $this->errmsg = "File doesn't exists"; $this->error = true; } elseif (!is_readable($file)) { $this->errmsg = "File is not readable"; $this->error = true; } $this->allowupsizing = $upsizing; // Get GD info $this->arrInfo = gd_info(); $this->version2 = (preg_match("/(2.)/i",$this->arrInfo['GD Version'])==0?FALSE:TRUE); if (strstr(strtolower($file), ".jpg") || strstr(strtolower($file), ".jpeg") || strstr(strtolower($file), ".jpe")) { $this->format = "JPEG"; } elseif (strstr(strtolower($file), ".png")) { $this->format = "PNG"; } elseif (strstr(strtolower($file), ".gif")) { $this->errmsg = "We are sorry! But there is no longer support for GIF-Files in PHP4"; $this->error = true; } else { $this->errmsg = "We are sorry! Unknown file format"; $this->error = true; } if ($max_width == 0 && $max_height == 0 && $percent == 0) $percent = 100; $this->max_width = $max_width; $this->max_height = $max_height; $this->percent = $percent; $this->file = $file; } function SetVersion($version=false) { $this->version2 = $version; } function SetUpsizing($upsizing=true) { $this->allowupsizing = $upsizing; } function SetSize($MaxWidth=600, $MaxHeight=600) { $this->max_width = $MaxWidth; $this->max_height = $MaxHeight; } function SetHighQuality($bHigh=TRUE) { $this->bHighQuality = $bHigh; return TRUE; } function calc_width($width, $height) { $new_width = $this->max_width; $new_wp = (100 * $new_width) / $width; $new_height = ($height * $new_wp) / 100; return array($new_width, $new_height); } function calc_height($width, $height) { $new_height = $this->max_height; $new_hp = (100 * $new_height) / $height; $new_width = ($width * $new_hp) / 100; return array($new_width, $new_height); } function calc_percent($width, $height) { $new_width = ($width * $this->percent) / 100; $new_height = ($height * $this->percent) / 100; return array($new_width, $new_height); } function return_value($array) { $array[0] = intval($array[0]); $array[1] = intval($array[1]); return $array; } function calc_image_size($width, $height) { $new_size = array($width, $height); if((!$this->allowupsizing) && ($width<=($this->max_width) && ($height<=$this->max_height))) { // Check, if preferred size is bigger than acutal size return $this->return_value($new_size); } if ($this->max_width > 0) { $new_size = $this->calc_width($width, $height); if ($this->max_height > 0) { if ($new_size[1] > $this->max_height) { $new_size = $this->calc_height($new_size[0], $new_size[1]); } } return $this->return_value($new_size); } if ($this->max_height > 0) { $new_size = $this->calc_height($width, $height); return $this->return_value($new_size); } if ($this->percent > 0) { $new_size = $this->calc_percent($width, $height); return $this->return_value($new_size); } return 0; } function show_error_image() { header("Content-type: image/png"); $err_img = ImageCreate(220, 25); $bg_color = ImageColorAllocate($err_img, 0, 0, 0); $fg_color1 = ImageColorAllocate($err_img, 255, 255, 255); $fg_color2 = ImageColorAllocate($err_img, 255, 0, 0); ImageString($err_img, 3, 6, 6, "ERROR:", $fg_color2); ImageString($err_img, 3, 55, 6, $this->errmsg, $fg_color1); ImagePng($err_img); ImageDestroy($err_img); } function show_error_message() { echo "An error occured: ".$this->errmsg; } function saveImage($FileName="") { if(empty($FileName) || ($this->error)) { $this->error=true; $this->show_error_message(); return false; } $size = GetImageSize($this->file); $new_size = $this->calc_image_size($size[0], $size[1]); if($this->version2) { $new_image = ImageCreateTrueColor($new_size[0], $new_size[1]); } else { $new_image = ImageCreate($new_size[0], $new_size[1]); } switch ($this->format) { case "GIF": $old_image = ImageCreateFromGif($this->file); break; case "JPEG": $old_image = ImageCreateFromJpeg($this->file); break; case "PNG": $old_image = ImageCreateFromPng($this->file); break; } if($this->bHighQuality) { ImageCopyResampled($new_image, $old_image, 0, 0, 0, 0, $new_size[0], $new_size[1], $size[0], $size[1]); } else { ImageCopyResized($new_image, $old_image, 0, 0, 0, 0, $new_size[0], $new_size[1], $size[0], $size[1]); if(function_exists("imagefilter")) { imagefilter($new_image,IMG_FILTER_SMOOTH,20); } } switch ($this->format) { case "GIF": ImageGif($new_image,$FileName); break; case "JPEG": ImageJpeg($new_image,$FileName,70); break; case "PNG": ImagePng($new_image,$FileName); break; } ImageDestroy($new_image); ImageDestroy($old_image); return; } function show() { if ($this->error) { $this->show_error_message(); return; } $size = GetImageSize($this->file); $new_size = $this->calc_image_size($size[0], $size[1]); $new_image = ImageCreate($new_size[0], $new_size[1]); switch ($this->format) { case "GIF": $old_image = ImageCreateFromGif($this->file); break; case "JPEG": $old_image = ImageCreateFromJpeg($this->file); break; case "PNG": $old_image = ImageCreateFromPng($this->file); break; } ImageCopyResized($new_image, $old_image, 0, 0, 0, 0, $new_size[0], $new_size[1], $size[0], $size[1]); switch ($this->format) { case "GIF": header("Content-type: image/gif"); ImageGif($new_image); break; case "JPEG": header("Content-type: image/jpeg"); ImageJpeg($new_image); break; case "PNG": header("Content-type: image/png"); ImagePng($new_image); break; } ImageDestroy($new_image); ImageDestroy($old_image); return; } } class NetworkConnect { // Connects to a network server via TCP/IP // $host serveraddress to connect // $port port to connect (Standard: 80 for HTTP) // $path path to connect to (i.E. /scripts/index.php) // $referer referer // $databody data to send // Properties var $host=""; var $port=80; var $path=""; var $referer=""; var $databody=""; var $TimeOut = 5; var $Conn=""; // Methods function NetworkConnect($host="",$port=80,$path="",$referer="",$databody="") { $this->host = $host; $this->port = $port; $this->path = $path; $this->referer = $referer; $this->databody = $databody; } function NetworkError($errorNo="",$errorMsg="") { if(GetConfig('DEBUG')) { echo "
Network Error occured!
"; echo "Err-No.: ".$errorNo." (Msg: ".$errorMsg.")"; } } function NetworkOpen() { $Conn = @fsockopen($this->host,$this->port,$errno,$errstr,$this->TimeOut); if(!$Conn) { $this->NetworkError($errno,$errstr); return false; } $this->Conn = $Conn; return true; } function NetworkPostData() { if(!$this->Conn) { return false; } $RetVal = ""; $ReqHeader = "POST ".$this->path." HTTP/1.1\n". "Host: ".$this->host." \n"; if(isset($this->referer)) { $ReqHeader.= "Referer: ".$this->referer."\n"; } $ReqHeader.= "Content-type: application/x-www-form-urlencoded\n". "Content-length: ".strlen($this->databody)."\n". "Connection: close\n\n". $this->databody."\n"; // Send header & post data fputs($this->Conn,$ReqHeader); // Read data while(!feof($this->Conn)) { $RetVal .= fgets($this->Conn, 128); } return $RetVal; } function NetworkClose() { if(!$this->Conn) { return false; } fclose($this->Conn); } } } ?> aquaristik-fuehrer.de/katalog/ · Rubrikenübersicht - Sonstige-Cichliden

Kleinanzeigenmarkt

Sonstige-Cichliden


Unterrubrik(en)Rubrikenbeschreibung
Keine weiteren Unterrubriken vorhanden
Anzeigenübersicht
[vorherige Seite][1] [2] [nächste Seite]
BildAnzeigentitelAngebot vonvomViews
Kein Bild vorhandenRamon, Tyler, Fraser and Derek Brazil
Gesuch
ThoraldDyek
(141143 RIGA)
24.02.20180
Kein Bild vorhandenMirzo, Topork, Emet and Malir Yemen
Gesuch
CorwynChip
(134523 Yerevan)
23.02.20180
Kein Bild vorhandenFolleck, Sanford, Xardas and Zuben Mongolia
Angebot
Jaffarrart
(131111 Jiddah)
22.02.20181
Kein Bild vorhandenreceive the most on your expense with your apple iphone ideas
Gesuch
Williambiaws
(155215 Banjul)
18.02.20183
Kein Bild vorhandenRoy, Roland, Ayitos and Hauke Switzerland
Gesuch
Joshsr
(151525 Taoyuan)
14.02.20184
Kein Bild vorhandenJose, Snorre, Hurit and Brant Turks and caicos islands
Angebot
Inoggowl
(144353 PARIKA)
13.02.20184
Kein Bild vorhandenBozep, Roland, Jerek and Joey Faroe islands
Angebot
Owenkl
(141115 Sabinas)
13.02.20184
Kein Bild vorhandenCobryn, Renwik, Esiel and Ateras Thailand
Angebot
Einarkr
(124545 Maputo)
13.02.20184
Kein Bild vorhandenGunock, Jensgar, Peratur and Sinikar Chile
Gesuch
NerusulMon
(131345 Leidschendam)
12.02.20184
Kein Bild vorhandenDomenik, Lester, Aidan and Dawson Jordan
Gesuch
GrokKa
(124342 Lisbon)
12.02.20184
Kein Bild vorhandenLars, Cruz, Kan and Reto The former yugoslav republic o
Angebot
JarockMt
(133544 Philipsburg)
11.02.20184
Kein Bild vorhandenGiacomo, Grimboll, Bufford and Ugrasal Malaysia
Gesuch
Riordianpn
(143423 Tsuru)
10.02.20184
Kein Bild vorhandenDan, Armon, Varek and Hjalte French guiana
Gesuch
Dargothlace
(141545 Jinja)
10.02.20184
Kein Bild vorhandenGiacomo, Yussuf, Frithjof and Ugrasal Monaco
Gesuch
Sulfockpa
(121541 Skien)
10.02.20184
Kein Bild vorhandenChris, Bogir, Ramirez and Grobock British indian ocean territory
Gesuch
NarkamMl
(151111 Somerset)
10.02.20184
Kein Bild vorhandenCyrus, Vigo, Jose and Avogadro Chile
Angebot
Riordianon
(133115 Kongsberg)
05.02.20188
Kein Bild vorhandenGancka, Faesul, Lee and Grim Colombia
Angebot
Milokkido
(144422 Limbe)
05.02.20186
Kein Bild vorhandenOnatas, Jens, Xardas and Hassan Libyan arab jamahiriya
Angebot
Ugolfkl
(131531 An Najaf)
04.02.20186
Kein Bild vorhandenHauke, Fraser, Jorn and Daryl Swaziland
Gesuch
ZakoshBype
(155114 Rarotonga)
02.02.20188
Kein Bild vorhandenTopork, Benito, Mazin and Ateras Mozambique
Angebot
RunakOn
(115432 Rakvere)
02.02.20189
[vorherige Seite][1] [2] [nächste Seite]
- -