} } } } 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> </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";
log__participant("logout", $participant['participant_id']); participant__logout(); redirect("public/participant_login.php?pw=true"); } $proceed = false; } } if ($proceed) { echo ' <center>'; show_message(); echo '<TABLE border=0><TR><TD align="center">'; echo '<form action="participant_change_pw.php" method="POST">'; echo '<table class="or_formtable" style="width: 50%;"> <tr><td>' . lang('old_password') . '<BR> <input type="password" name="passold" size="20" max-length="30"> </td></tr>'; echo participant__password_form_fields(true, false); echo '<tr><td align="center"> <input class="button" type="submit" name="submit" value="' . lang('change') . '"> </td></tr> </table> </form>'; echo '</TD><TD align="right" valign="top">'; echo '<TABLE border=0>'; echo '<TR><TD>' . button_link('participant_edit.php', lang('edit_your_profile'), 'pencil-square-o') . '</TD></TR>'; echo '<TR><TD>' . button_link('participant_show.php', lang('my_registrations'), 'calendar-o') . '</TD></TR>'; echo '</TABLE>'; echo '</TD><TR></TABLE>'; echo '</center>'; } include "footer.php";