if(!isset($_GET['precision'])) { $_GET['precision'] = ""; } if(!isset($_GET['totals'])) { $_GET['totals'] = ""; } if(!isset($_GET['test'])) { $_GET['test'] = ""; } $_GET['precision'] = intval($_GET['precision']); $_GET['totals'] = intval($_GET['totals']); $_GET['test'] = intval($_GET['test']); // see if surveys have been selected if(!empty($_REQUEST['sids'])) { $sid = intval($_REQUEST['sids']); $_REQUEST['sids'] = htmlspecialchars($_REQUEST['sids']); if($_GET['test']) { echo("

". _('Testing Survey...') .' ('. _('SIDS') ." = ". $sid .")

\n"); } /* check ACLs for permissions ... * XXX only check the first of the SIDS for ownership */ if($_SESSION['acl']['superuser'] == 'Y' || auth_is_owner($sid, $_SESSION['acl']['username']) || ($_GET['test'] && $_SESSION['acl']['seeall'] == 'Y') || auth_no_access('to access this survey')) { ?>
$ret\n"); ?>
" . _('Go back to Management Interface') . "\n"); ?>

 


" . _('Go back to Management Interface') . "\n"); ?>