X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Feventz%2Fverify.inc;h=f2b0605d0d092eaf323582a9ee11f91ba78082e0;hb=a726dd1c428140adabc2951e5910c5425163d7c1;hp=b19a7ac71932f6bff3f4caf0b55f228e0ef48b42;hpb=ac3bdc7218ef24f47f2d6adaae65c59079900665;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/eventz/verify.inc b/wwwroot/inc/eventz/verify.inc index b19a7ac..f2b0605 100644 --- a/wwwroot/inc/eventz/verify.inc +++ b/wwwroot/inc/eventz/verify.inc @@ -1,5 +1,5 @@ -query("select hash from users where login='$login'"); $kset->next();$vercode=$kset->getString('hash'); if($uvercode!=$vercode) { -global $error; -$error="Wrong verification code or username"; -return false; -} - -else { + global $error; + $error="Wrong verification code or username"; + return false; +} else { // ouch!! this is gonna be dirty!!!!! will be revised later:-) // XXX hardcoded, rewrite $q="update nodes set node_parent=2091448, node_vector='00876611020914480$userid' where node_id='$userid'"; @@ -41,11 +39,9 @@ $db->update($q); // and now the happy news:-)) - - echo "
Verification successfull.

from now on your registration is in the hands of kyberians

"; - -die(); + die(); } + } ?>