"; show_template('style'); echo "
"; $username = $_GET['u']; $validation = $_GET['act_key']; $user = new User($username); $val1 = $GLOBALS['user']->get_user_validation($username,$validation); if (!$val1){ $GLOBALS['error']->add_error('no_such_user',_("No user with this name registered")); $GLOBALS['error']->print_error('no_such_user'); echo ""; break; } $activate = $GLOBALS['user']->activate_user($username); show_confirmation('User activated','This User ID is activated and can be used','/login.php'); echo "