function Main() { parent::Controller(); check_is_loggedin(); $this->load->model('invoice_model'); $this->load->model('clients_model'); }
} } } $html = '<div class="paginatitel">' . $lang->translate(30) . '</div><div class="content"><p /><br />' . $melding . '<br /></p></div><p>' . $lang->translate(118) . ': <b>' . get_value_session('from_db', 'email') . '</b><br><br></p><form name="form1" method="post" action=""><br><p>' . $lang->translate(112) . '</p><br><br><p><input type="text" id="email" name="email"></p><br><br> <div class="content"><p><input type="submit" value="' . $lang->translate(113) . '" id="submit" name="submit" class="button"></p></div></form><br /><br />'; } elseif (get_value_get('type') == 'wachtwoord') { $melding = ''; if (get_value_post('submit') != FALSE) { if (get_value_post('curr_password') == FALSE || get_value_post('password') == FALSE || get_value_post('password2') == FALSE) { $melding = '<b>' . $lang->translate(106) . '</b><br />' . $lang->translate(107) . '<br />'; } elseif (gegevens_action_do_changepass(get_value_post('curr_password'), get_value_post('password'), get_value_post('password2')) == FALSE) { $melding = '<b>' . $lang->translate(106) . '</b><br />' . $lang->translate(108) . '<br />'; } else { $melding = $lang->translate(109) . '<br />'; $_SESSION['login'] = 0; if (check_is_loggedin() == FALSE) { if (isset($_POST) && !empty($_POST) && isset($_POST['login']) && !empty($_POST['login'])) { if (login_do_action_checkcredentials() == TRUE) { login_do_action_createsession(); } else { echo login_create_loginscreen($melding); exit; } } else { echo login_create_loginscreen($melding); exit; } } } } $html = '<div class="paginatitel">' . $lang->translate(30) . '</div><div class="content"><p><br />' . $melding . '<br /></p></div>';
function Settings() { parent::Controller(); check_is_loggedin(); $this->load->model('settings_model'); }