X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=inc%2Feventz%2Fuprav_zaregistrovanych.inc;fp=inc%2Feventz%2Fuprav_zaregistrovanych.inc;h=0000000000000000000000000000000000000000;hb=f9b322cc7cb38f9d23168c291ebc3e49040a4999;hp=02d97d752c2ddc7b50bd73b9ab157b164b2e3e51;hpb=673e23209e2e3b9782c037e70156a1a20154a5b9;p=mirrors%2FKyberia-bloodline.git diff --git a/inc/eventz/uprav_zaregistrovanych.inc b/inc/eventz/uprav_zaregistrovanych.inc deleted file mode 100644 index 02d97d7..0000000 --- a/inc/eventz/uprav_zaregistrovanych.inc +++ /dev/null @@ -1,57 +0,0 @@ -> debug user - -$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"; -*/ - -$set=$db->query($q); -while ($set->next()) { -$noda=$set->getString('node_id'); -echo "User "; -echo $set->getString('login'); -echo "
Jeho noda:: "; -echo $set->getString('node_id'); -echo "
"; -echo " pocet hlasov:: "; -echo $set->getString('k'); -echo "
"; -$q="update nodes set external_link='db://user' where node_id=$noda"; -echo $q; - $db->update($q); -echo "
"; -$q="update nodes set template_id=7 where node_id=$noda"; -echo $q; - $db->update($q); -echo "
"; -$q="update nodes set node_parent=0 where node_id=$noda"; -echo $q; - $db->update($q); -echo "
"; -$q="update nodes set node_vector='0$noda' where node_id=$noda"; -echo $q; - $db->update($q); - -$q="update users set user_mail=0 where user_id=$noda"; -echo $q; - $db->update($q); - -echo "
"; -echo "
"; - - - - -} - -return false; -} -?> \ No newline at end of file