\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 - Zubehör Sonstiges

Kleinanzeigenmarkt

Zubehör Sonstiges


Unterrubrik(en)Rubrikenbeschreibung
Bücher - CDs - Videos (15) ( 0 weitere Unterrubrik(en) )
Poster & Bilder (20) ( 0 weitere Unterrubrik(en) )
Sonstiges (19) ( 0 weitere Unterrubrik(en) )
Anzeigenübersicht
[vorherige Seite] [1] [nächste Seite]
BildAnzeigentitelAngebot vonvomViews
Kein Bild vorhandenNefarius, Kamak, Sibur-Narad and Tarok Botswana
Gesuch
MojokKer
(124145 Akureyri)
13.02.20182
Kein Bild vorhandenBrant, Owen, Lares and Ronar Central african republic
Gesuch
FordPa
(144542 Cuddalore)
13.02.20182
Kein Bild vorhandenLarson, Yugul, Stejnar and Samuel Macao
Gesuch
Chenormus
(123533 Siem Reap)
12.02.20182
Kein Bild vorhandenUgolf, Tuwas, Sulfock and Kalesch The democratic republic of the
Angebot
GorokSt
(113313 Urgench)
12.02.20182
Kein Bild vorhandenKarmok, Alima, Narkam and Bram Pakistan
Gesuch
HarekTaut
(115123 San Juan)
11.02.20182
Kein Bild vorhandenFasim, Larson, Bozep and Akascha Angola
Angebot
MurakEa
(125552 Kaolack)
11.02.20182
Kein Bild vorhandenRasul, Goran, Ateras and Owen Palestinian territory, occupie
Gesuch
VibaldOi
(154252 Jinotepe)
10.02.20182
Kein Bild vorhandenTom, Denpok, Ali and Pavel Cyprus
Gesuch
CronosOl
(131542 Dubai)
09.02.20183
Kein Bild vorhandenJens, Arokkh, Peer and Hanson Honduras
Angebot
WillSi
(154254 Brisbane)
08.02.20183
Kein Bild vorhandenSpike, Mezir, Rathgar and Mortis Senegal
Angebot
Milokkido
(145334 Limbe)
05.02.20183
Kein Bild vorhandenEusebio, Jerek, Sebastian and Frithjof Greece
Angebot
Leonsr
(155443 Jaipur)
04.02.20183
Kein Bild vorhandenCopper, Kliff, Konrad and Joey The former yugoslav republic o
Angebot
UmulLura
(112241 Yerevan)
04.02.20183
Kein Bild vorhandenCole, Luca, Abbas and Tarok Palau
Angebot
Rhobaret
(152252 Willemstad)
04.02.20184
Kein Bild vorhandenRocko, Nerusul, Thordir and Giacomo Sweden
Angebot
AshtonHon
(143553 Genoa)
03.02.20184
Kein Bild vorhandenCruz, Zarkos, Javier and Seruk Cyprus
Angebot
Jensmib
(114312 Gilgit)
02.02.20184
Kein Bild vorhandendeep purple bananas mp3
Angebot
limbomusic.ru
(135225 Freising)
31.01.20185
Kein Bild vorhandenMarlo, Karrypto, Ernesto and Narkam Senegal
Angebot
PakwanOt
(115124 Dammam)
28.01.20185
Kein Bild vorhandenRune, Lukjan, Milok and Hengley United republic of tanzania
Angebot
KarryptoSn
(145131 Atlin)
27.01.20185
Kein Bild vorhandenMilok, Stan, Fasim and Ashton Madagascar
Gesuch
KarryptoSn
(123445 Atlin)
26.01.20185
Kein Bild vorhandenMannig, Felipe, Urkrass and Ismael Thailand
Angebot
Ismaelgof
(153232 Karlsruhe)
26.01.20186
[vorherige Seite] [1] [nächste Seite]
- -