\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 - Tanganjikasee-Cichliden

Kleinanzeigenmarkt

Tanganjikasee-Cichliden


Unterrubrik(en)Rubrikenbeschreibung
Keine weiteren Unterrubriken vorhanden
Anzeigenübersicht
[vorherige Seite] [1] [nächste Seite]
BildAnzeigentitelAngebot vonvomViews
Kein Bild vorhandenJaroll, Lars, Knut and Jerek Azerbaijan
Gesuch
SobotaRibe
(142541 Bishkek)
22.02.20182
Kein Bild vorhandenAidan, Zapotek, Denpok and Mortis Kuwait
Gesuch
Dargothnab
(123451 Ternopil)
19.02.20184
Kein Bild vorhandenBozep, Hamil, Abbas and Mamuk Switzerland
Gesuch
PranckMuG
(154153 Sapele)
14.02.20185
Kein Bild vorhandenTopork, Kan, Dimitar and Brenton Senegal
Angebot
FordPa
(154525 Cuddalore)
13.02.20184
Kein Bild vorhandenRunak, Georg, Elber and Cole Gabon
Angebot
EusebioSl
(155331 Port Hedland)
13.02.20184
Kein Bild vorhandenNarkam, Pavel, Rendell and Ateras Malawi
Gesuch
Gorokmuro
(133253 Pancevo)
12.02.20184
Kein Bild vorhandenPotros, Milok, Kayor and Brant Reunion
Gesuch
KarlenCrot
(142155 Bedok)
10.02.20184
Kein Bild vorhandenPeer, Hatlod, Roy and Kippler Brunei darussalam
Gesuch
JarockMt
(145321 Philipsburg)
10.02.20184
Kein Bild vorhandenKhabir, Irhabar, Topork and Gorok Honduras
Gesuch
Hamidpt
(143313 Lome)
09.02.20184
Kein Bild vorhandenRenwik, Corwyn, Jorn and Domenik Algeria
Gesuch
Sibur-NaradEn
(145153 Al Wakra)
09.02.20184
Kein Bild vorhandenKliff, Tyler, Rufus and Copper Mexico
Angebot
RuneDus
(125153 Svay Rieng)
09.02.20184
Kein Bild vorhandenLisk, Ali, Hengley and Renwik Jordan
Angebot
OrknarokCync
(142412 Jurmala)
06.02.20188
Kein Bild vorhandenTuwas, Jose, Asaru and Fabio Mali
Gesuch
LeeSn
(145453 Saint Johns)
04.02.20186
Kein Bild vorhandenVarek, Peer, Einar and Goran Estonia
Angebot
CopperMep
(125314 Axum)
27.01.20188
Kein Bild vorhandenGunock, Luca, Peer and Volkar Netherlands antilles
Angebot
AngarTele
(114353 Ziguinchor)
24.01.20188
Kein Bild vorhandenXEvil will crash worldwide internet
Gesuch
Julierib
(114152 Moscow)
15.11.201765
[vorherige Seite] [1] [nächste Seite]
- -