
if ((!$username) || ($username == "") ||
(ereg("[^a-zA-Z0-9-_]",$username))) $stop ="<center>"._ERRORINVNICK."</center><br>";


if ((!$username) || ($username == "") ||
(ereg("[^a-zA-Z0-9]",$username))) $stop ="<center>"._ERRORINVNICK."</center><br>";


if ((!$username) || ($username == "") ||
(ereg("[^a-zA-Z0-9-_]",$username))) $stop ="<center>"._ERRORINVNICK."</center><br>";

if (strrpos($username,'--') > 0) $stop = "<center>"._NICKNOPOMLCKA."</center>";
if (strrpos($username,'__') > 0) $stop = "<center>"._NICKNOPODTRZITKO."</center>";

define("_NICKNOPOMLCKA","NEPLATNÁ PŘEZDÍVKA: nelze použít pomlčku (--) vícekrát za sebou...");
define("_NICKNOPODTRZITKO","NEPLATNÁ PŘEZDÍVKA: nelze použít podtržítko (__) vícekrát za sebou...");

Obsah fóra BLASSENweb » Moduly
![]() |
|