Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; thumbnail has a deprecated constructor in /home/klient.dhosting.pl/pawus/pawus.pl/public_html/galeria/img_resize.php on line 11

Fatal error: Uncaught Error: Call to undefined function ereg_replace() in /home/klient.dhosting.pl/pawus/pawus.pl/public_html/galeria/img_resize.php:18 Stack trace: #0 /home/klient.dhosting.pl/pawus/pawus.pl/public_html/galeria/img_resize.php(350): thumbnail->thumbnail('photos/thumbs22...') #1 /home/klient.dhosting.pl/pawus/pawus.pl/public_html/galeria/gallery.php(254): get_img_width('photos/thumbs22...') #2 /home/klient.dhosting.pl/pawus/pawus.pl/public_html/galeria/index.php(74): generate_photo_album('photos', 3, 220) #3 {main} thrown in /home/klient.dhosting.pl/pawus/pawus.pl/public_html/galeria/img_resize.php on line 18