X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Feventz%2Fuprav_zaregistrovanych.inc;h=f3217fae900056c23ec1c02fc28b8b30b6b208b8;hb=8630d2174a0f798739eeea16be61b8653a10a5da;hp=02d97d752c2ddc7b50bd73b9ab157b164b2e3e51;hpb=51ff32267c4949bad6a8dddc502cbc01ed56edc8;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/eventz/uprav_zaregistrovanych.inc b/wwwroot/inc/eventz/uprav_zaregistrovanych.inc index 02d97d7..f3217fa 100644 --- a/wwwroot/inc/eventz/uprav_zaregistrovanych.inc +++ b/wwwroot/inc/eventz/uprav_zaregistrovanych.inc @@ -3,15 +3,10 @@ function uprav_zaregistrovanych() { global $db,$error; // 2110364 >> debug user +// XXX hardcoded, rewrite $q="select users.login as persona,users.email as email,k,node_id,node_creator,login from nodes -left join users on nodes.node_creator=users.user_id where node_name!='request for access' and node_parent=2091448 and -k>=3"; - -/* -$q="select users.login as persona,users.email as email,k,node_id,node_creator,login from nodes -left join users on nodes.node_creator=users.user_id where node_name!='request for access' and node_parent=2091448 and -k>=3 and user_id=2110364"; -*/ +left join users on nodes.node_creator=users.user_id where node_name!='request for access' and node_parent=".REGISTRATION_REQUEST_NODE." and +k>=".REGISTRATION_VOTES; $set=$db->query($q); while ($set->next()) { @@ -54,4 +49,4 @@ echo "
"; return false; } -?> \ No newline at end of file +?>