\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 - Kompletset

Kleinanzeigenmarkt

Kompletset


Unterrubrik(en)Rubrikenbeschreibung
Keine weiteren Unterrubriken vorhanden
Anzeigenübersicht
[vorherige Seite] [1] [nächste Seite]
BildAnzeigentitelAngebot vonvomViews
Kein Bild vorhandenNarkam, Tangach, Givess and Lukar Russian federation
Angebot
Fraserbah
(134453 Ciudad Quesada)
22.02.20181
Kein Bild vorhandenAngar, Vandorn, Ramon and Gorok Bolivia
Angebot
AliPen
(134441 Victoria)
22.02.20181
Kein Bild vorhandenMazin, Orknarok, Iomar and Jack Sierra leone
Gesuch
Umulkr
(124144 Kosice)
22.02.20181
Kein Bild vorhandenGoose, Ugrasal, Benito and Ernesto Sri lanka
Angebot
Leifhig
(114255 Nineveh)
21.02.20183
Kein Bild vorhandenAli, Dan, Dargoth and Zarkos Albania
Angebot
Avogadroleli
(155524 Lambare)
20.02.20183
Kein Bild vorhandenKalan, Thorald, Giores and Hamid Zimbabwe
Gesuch
EnzoCity
(144313 Owerri)
19.02.20184
Kein Bild vorhandenBernado, Irmak, Innostian and Enzo Nicaragua
Gesuch
SurusRex
(141543 Windlach)
11.02.20185
Kein Bild vorhandenRufus, Asam, Vatras and Mitch Kiribati
Gesuch
BozepDype
(121522 Rabat)
08.02.20187
Kein Bild vorhandenXardas, Dargoth, Ugolf and Quadir Germany
Angebot
Enzocafe
(154114 Monrovia)
05.02.20187
Kein Bild vorhanden2018 Music Albums Tracks Downloads
Angebot
JamesNoB
(131333 Garhoud)
05.02.20187
Kein Bild vorhandenZarkos, Fedor, Norris and Rozhov Uzbekistan
Angebot
HamilBync
(145121 Nineveh)
03.02.20188
Kein Bild vorhandenOelk, Kapotth, Ayitos and Abbas Rwanda
Gesuch
SebastianKi
(115431 Split)
02.02.20188
Kein Bild vorhandenRonar, Zarkos, Gembak and Ketil Benin
Angebot
Peraturfeme
(135422 Kiryat Haim)
31.01.20189
Kein Bild vorhandenKayor, Jarock, Lars and Pranck Tajikistan
Gesuch
FlintKt
(134255 Gibraltar)
30.01.20189
Kein Bild vorhandenPotros, Cyrus, Eusebio and Akrabor Zambia
Angebot
VandornDUG
(142422 Brest)
28.01.201810
Kein Bild vorhandenHatlod, Grok, Sven and Rune Norfolk island
Gesuch
MilokEl
(144213 Ufa)
28.01.201810
Kein Bild vorhandenRune, Ford, Marius and Zarkos Guyana
Gesuch
Alimabiz
(115253 Rarotonga)
27.01.201810
Kein Bild vorhandenDolok, Porgan, Kayor and Volkar Poland
Angebot
Gembakkit
(153142 Tiraspol)
25.01.201811
[vorherige Seite] [1] [nächste Seite]
- -