Example #1
0
            }
        }
    }
}
if ($proceed) {
    echo '<CENTER>
			<TABLE class="or_formtable" style="width: auto;"><TR><TD>';
    show_message();
    $_REQUEST['subpool_id'] = $_SESSION['subpool_id'];
    $extra = '';
    $pwfields = '';
    $captcha = '';
    if ($settings['subject_authentication'] != 'token') {
        if (isset($_SESSION['pauthdata']['pw_provided']) && $_SESSION['pauthdata']['pw_provided']) {
            $pwfields .= participant__password_form_fields(false, true);
        } else {
            $pwfields .= participant__password_form_fields(false, false);
        }
    }
    $captcha = '<TR><TD>' . lang('captcha_text') . '<br><IMG src="captcha.php"><BR>
			<INPUT type="text" name="captcha" size="8" maxlength="8" value="">
			</TD></TR>';
    if ($pwfields || $captcha) {
        $extra = '<TABLE width="400px"><TR><TD>&nbsp;</TD></TR>' . $pwfields . $captcha . '</TABLE>';
    } else {
        $extra = '';
    }
    participant__show_form($_REQUEST, lang('submit'), $errors__dataform, false, $extra);
    echo '</TD></TR></TABLE></center>';
}
include "footer.php";
Example #2
0
        $_REQUEST = $participant;
    }
}
if ($proceed) {
    if (isset($participant['pending_profile_update_request']) && $participant['pending_profile_update_request'] == 'y') {
        message(lang('profile_update_request_message') . '<BR>');
        if (isset($participant['profile_update_request_new_pool']) && $participant['profile_update_request_new_pool']) {
            $_REQUEST['subpool_id'] = $participant['profile_update_request_new_pool'];
        }
    }
}
if ($proceed) {
    // form
    if ($form) {
        echo '<CENTER>';
        show_message();
        echo '<TABLE class="or_formtable"><TR><TD>';
        participant__show_form($_REQUEST, lang('save'), $errors__dataform, false);
        echo '</TD><TD align="right" valign="top">';
        echo '<TABLE border=0>';
        echo '<TR><TD>' . button_link('participant_show.php' . $token_string, lang('my_registrations'), 'calendar-o') . '</TD></TR>';
        if ($settings['subject_authentication'] != 'token') {
            echo '<TR><TD>' . button_link('participant_change_pw.php', lang('change_my_password'), 'key') . '</TD></TR>';
        }
        echo '<TR><TD>' . button_link('participant_delete.php' . $token_string, lang('unsubscribe'), 'minus-circle') . '</TD></TR>';
        echo '</TABLE>';
        echo '</TD></TR></TABLE>';
        echo '</CENTER>';
    }
}
include "footer.php";