<?php $pageIsPublic = true; include "../include.php"; echo drawSimpleTop(getString('password_reset')); echo drawMessage(getString('password_confirm')); echo drawSimpleBottom();
<?php $pageIsPublic = true; include "../include.php"; echo drawSimpleTop(getString('login_account_exists')); echo drawMessage(getString('login_account_exists_msg')); echo drawSimpleBottom();
<?php //this one is not public include '../include.php'; if ($posting) { db_query('UPDATE users SET password = PWDENCRYPT("' . $_POST['password1'] . '") WHERE id = ' . $_SESSION['user_id']); $_SESSION['password'] = false; url_change($_SESSION['homepage']); } echo drawSimpleTop(getString('password_update')); $f = new form('password_update', false, getString('password_reset')); $f->set_field(array('type' => 'password', 'name' => 'password1', 'label' => getString('password'))); $f->set_field(array('type' => 'password', 'name' => 'password2', 'label' => getString('confirm'))); echo $f->draw(); echo drawSimpleBottom();
<?php $pageIsPublic = true; include "../include.php"; echo drawSimpleTop(getString('legal_title')); echo drawMessage(draw_container('h1', getString('legal_title')) . getString('legal_message')); echo drawSimpleBottom();
} elseif ($key == 'officeID' && $value) { $value = db_grab('SELECT name FROM offices WHERE id = ' . $value); } elseif ($key == 'organization_id' && $value) { $value = db_grab('SELECT title from organizations WHERE id = ' . $value); } elseif ($key == 'Additional Info') { $value = nl2br($value); } $message .= '<tr><td class="left">' . $key . '</td><td>' . $value . '</td></tr>'; } $message .= '<tr><td colspan="2" class="bottom">' . draw_link($link, 'click here') . '</td></tr>'; $message = '<table border="1">' . $message . '</table>'; emailAdmins($message, $subject); } url_change('account_confirm.php'); } echo drawSimpleTop(getString('login_account_request')); echo drawMessage(getString('login_account_request_msg')); $f = new form('users_requests', false, getString('login_account_request')); $f->set_field(array('type' => 'select', 'sql' => 'SELECT id, title' . langExt() . ' title FROM organizations WHERE is_active = 1 ORDER BY precedence', 'name' => 'organization_id', 'label' => getString('organization'), 'required' => true, 'null_value' => getString('please_select'))); $f->set_field(array('type' => 'text', 'name' => 'firstname', 'label' => getString('name_first'))); $f->set_field(array('type' => 'text', 'name' => 'nickname', 'label' => getString('nickname'))); $f->set_field(array('type' => 'text', 'name' => 'lastname', 'label' => getString('name_last'))); $f->set_field(array('type' => 'text', 'name' => 'title', 'label' => getString('staff_title'))); $f->set_field(array('type' => 'text', 'name' => 'phone', 'label' => getString('telephone'))); $f->set_field(array('type' => 'text', 'name' => 'email', 'label' => getString('email'))); if (getOption('staff_showoffice')) { $f->set_field(array('type' => 'select', 'name' => 'officeID', 'label' => getString('location'), 'sql' => 'SELECT id, name FROM offices ORDER BY precedence', 'required' => true)); } else { $f->unset_fields('officeID'); } if (getOption('staff_showdept')) {
<?php $pageIsPublic = true; include "../include.php"; echo drawSimpleTop(getString('login_account_confirm')); echo drawMessage(getString('login_account_confirm_msg')); echo drawSimpleBottom();