Ejemplo n.º 1
0
/*
  Copyright Intermesh 2003
  Author: Merijn Schering <*****@*****.**>
  Version: 1.0 Release date: 08 July 2003

  This program is free software; you can redistribute it and/or modify it
  under the terms of the GNU General Public License as published by the
  Free Software Foundation; either version 2 of the License, or (at your
  option) any later version.
*/
require "../../Group-Office.php";
$GO_SECURITY->authenticate(true);
require $GO_LANGUAGE->get_base_language_file('users');
require $GO_LANGUAGE->get_base_language_file('common');
$datepicker = new date_picker();
$GO_HEADER['head'] = $datepicker->get_header();
$page_title = $registration_title;
require $GO_THEME->theme_path . "header.inc";
require $GO_CONFIG->class_path . "/validate.class.inc";
$val = new validate();
$module_acl = isset($_POST['module_acl']) ? $_POST['module_acl'] : array();
if ($_SERVER['REQUEST_METHOD'] == "POST") {
    $first_name = smart_addslashes(trim($_POST['first_name']));
    $middle_name = smart_addslashes(trim($_POST['middle_name']));
    $last_name = smart_addslashes(trim($_POST['last_name']));
    $initials = smart_addslashes($_POST["initials"]);
    $title = smart_addslashes($_POST["title"]);
    $birthday = smart_addslashes($_POST["birthday"]);
    $email = smart_addslashes($_POST["email"]);
    $work_phone = smart_addslashes($_POST["work_phone"]);
    $home_phone = smart_addslashes($_POST["home_phone"]);
Ejemplo n.º 2
0
                    $unseen_state_changed = true;
                    $mail->set_message_flag($mailbox, $_POST['messages'], "\\Seen", "reset");
                    break;
                case 'flag':
                    $mail->set_message_flag($mailbox, $_POST['messages'], "\\Flagged");
                    break;
                case 'clear_flag':
                    $mail->set_message_flag($mailbox, $_POST['messages'], "\\Flagged", "reset");
                    break;
            }
            break;
    }
}
$GO_HEADER['head'] = '<script type="text/javascript" src="' . $GO_MODULES->url . 'email.js"></script>';
$date_picker = new date_picker();
$GO_HEADER['head'] .= $date_picker->get_header();
require $GO_THEME->theme_path . "header.inc";
echo '<form method="post" action="' . $_SERVER['PHP_SELF'] . '" name="email_client">';
echo '<input type="hidden" name="empty_mailbox" />';
echo '<input type="hidden" name="link_back" value="' . $link_back . '" />';
echo '<input type="hidden" name="return_to" value="' . $return_to . '" />';
echo '<input type="hidden" name="account_id" value="' . $account['id'] . '" />';
echo '<input type="hidden" name="task" value="search" />';
echo '<input type="hidden" name="first_row" value="' . $first_row . '" />';
echo '<input type="hidden" name="max_rows" value="' . $max_rows . '" />';
echo '<input type="hidden" name="form_action" value="" />';
echo '<input type="hidden" name="new_sort_field" value="' . $em_settings['sort_field'] . '" />';
echo '<input type="hidden" name="new_sort_order" value="' . $em_settings['sort_order'] . '" />';
echo '<table border="0"><tr>';
echo '<td class="ModuleIcons">';
echo '<a href="javascript:confirm_delete()"><img src="' . $GO_THEME->images['delete_big'] . '" border="0" height="32" width="32" /><br />' . $ml_delete . '</a></td>';