HOA_MEMBER standing required to submit a record for ' . $name . '.
Vital Signs are public and readable by anyone.
To submit a record, you must complete the SASE process.
Visit
directory.diagnostics.kane-il.us
to begin.
';
}
// ----------------------------------------------------------------------------
// CONTENT ROUTER
// ----------------------------------------------------------------------------
function vs01_content() {
if (function_exists('head_add_css')) {
head_add_css('/addon/vs01/view/css/vs01.css');
}
if (function_exists('head_add_js')) {
head_add_js('/addon/vs01/view/js/vs01.js');
}
$association_slug = argv(1) ?? '';
$vs_code = strtoupper(argv(2) ?? '');
// Index — list registered associations
if (!$association_slug) {
return vs01_render_index();
}
$config = vs01_load_config();
if (!isset($config['associations'][$association_slug])) {
return vs01_render_not_found();
}
$access = vs01_access_state($association_slug);
if (vs01_is_professional()) {
$access = 'professional';
}
// Manage route — operator only
if ($vs_code === 'MANAGE') {
if ($access !== 'operator') {
return vs01_access_wall($association_slug);
}
return vs01_render_manage($association_slug);
}
// VS form route
if ($vs_code && preg_match('/^VS-\d{2}$/', $vs_code)) {
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if ($access === 'public') {
return vs01_access_wall($association_slug);
}
if (!vs01_verify_csrf()) {
return '