Вы ввели неправильный логин или пароль.
Повторите попытку."; else include($sr . "/register/user_panel.php"); break; } default: { if ($action != "enter" && !$_SESSION['auth']) include($sr . "/register/register_form.php"); else include($sr . "/register/user_panel.php"); break; } } column_footer(); include($sr . "/inc/footer.inc.php"); // // ############################################################################# // function createThumb($pathFromFile, $pathToFile, $type, $w = THUMB_SIZE) { if (!file_exists($pathToFile)) { $type = strtolower($type); if ($type == "jpg") $image = @ImageCreateFromJPEG($pathFromFile); if ($type == "gif") $image = @ImageCreateFromGIF($pathFromFile); if ($type == "png") $image = @ImageCreateFromPNG($pathFromFile); if (!$image) { $image = @ImageCreateFromGIF($sr . "/register/i/null.gif"); $null = 1; } $srcW = imagesx($image); $srcH = imagesy($image); if (($srcW > $w) && !$null) { if ($srcW > $srcH) { $dstW = $w; $dstH = $dstW * $srcH / $srcW; } else { $dstH = $w; $dstW = $dstH * $srcW / $srcH; } } else { $dstW = $srcW; $dstH = $srcH; } $thumbnail = imagecreatetruecolor($dstW, $dstH); imagecopyresized($thumbnail, $image, 0, 0, 0, 0, $dstW, $dstH, $srcW, $srcH); if ($type == "jpg") imagejpeg($thumbnail, $pathToFile, 86); if ($type == "gif") imagegif($thumbnail, $pathToFile); if ($type == "png") imagepng($thumbnail, $pathToFile); } } ?>