Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: issiregistravimas

Parašė kiskiss· 2008 Sau. 17 15:01:58
#7

Išsitrina:

dbquery("DELETE FROM ".$db_prefix."posts WHERE post_author='".$userdata['user_id']."'");
dbquery("DELETE FROM ".$db_prefix."submissions WHERE submit_user='".$userdata['user_id']."'");
dbquery("DELETE FROM ".$db_prefix."messages_options WHERE user_id='".$userdata['user_id']."'");
dbquery("DELETE FROM ".$db_prefix."online WHERE online_user='".$userdata['user_id']."'");
dbquery("DELETE FROM ".$db_prefix."threads WHERE thread_author='".$userdata['user_id']."'");
dbquery("DELETE FROM ".$db_prefix."thread_notify WHERE notify_user='".$userdata['user_id']."'");
dbquery("DELETE FROM ".$db_prefix."poll_votes WHERE vote_user='".$userdata['user_id']."'");
dbquery("DELETE FROM ".$db_prefix."ratings WHERE rating_user='".$userdata['user_id']."'");
dbquery("DELETE FROM ".$db_prefix."shoutbox WHERE shout_name='".$userdata['user_id']."'");
dbquery("DELETE FROM ".$db_prefix."messages WHERE message_from='".$userdata['user_id']."' AND message_to='".$userdata['user_id']."'");
dbquery("DELETE FROM ".$db_prefix."comments WHERE comment_name='".$userdata['user_id']."'");
dbquery("DELETE FROM ".$db_prefix."users WHERE user_id='".$userdata['user_id']."' AND user_password='".$passw1."'");