2 function vycisti_registracky() {
5 $q="select users.login as persona,users.email as email,k,node_id,node_creator,login from nodes
6 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;
10 $noda=$set->getString('node_id');
12 echo $set->getString('login');
13 echo "<br>Jeho noda:: ";
14 echo $set->getString('node_id');
16 echo " pocet hlasov:: ";
17 echo $set->getString('k');
19 $q="delete from users where user_id=$noda";
23 // XXX hard coded, fix
24 $q="delete from nodes where node_vector like '020914480$noda%'";
29 $mail=$set->getString('email');
30 mail($mail,SYSTEM_URL. " registracia","Lutujem, vasa registracia bola zamietnuta");