0 && $feedback_resource_select && $collection["request_feedback"]) { $topurl = "pages/collection_feedback.php?collection={$c}&k={$k}"; } } if (getval("r", "") != "") { # quick redirect to a resource (from e-mails) $r = (int) getval("r", ""); $topurl = "pages/view.php?ref=" . $r . "&k=" . $k; } if (getval("u", "") != "") { # quick redirect to a user (from e-mails) $u = getval("u", ""); $topurl = "pages/team/team_user_edit.php?ref=" . $u; } if (getval("q", "") != "") { # quick redirect to a request (from e-mails) $q = getval("q", ""); $topurl = "pages/team/team_request_edit.php?ref=" . $q; } if (getval('ur', '') != '') { # quick redirect to periodic report unsubscriptions. $ur = getval('ur', '', true); $unsubscribe_user = getval('user', '', true); $topurl = 'pages/team/team_report.php?unsubscribe=' . $ur . ($unsubscribe_user !== '' ? '&user=' . $unsubscribe_user : ''); } if (getval('dr', '') != '') { # quick redirect to periodic report deletion. $dr = getval('dr', ''); $topurl = 'pages/team/team_report.php?delete=' . $dr; } if (getval("upload", "") != "") { # Redirect to upload page $topurl = get_upload_url($c, $k); } # Redirect. redirect($topurl);