require "include/header.inc";
require "include/personallib.inc";
$bx = new box("100%", $th_box_frame_color, $th_box_frame_width, $th_box_title_bgcolor, $th_box_title_font_color, $th_box_title_align, $th_box_body_bgcolor, $th_box_body_font_color, $th_box_body_align);
start_content();
$page = "personal";
if ($perm->have_perm("devel_pending") || $perm->have_perm("sponsor_pending")) {
    $be = new box("80%", $th_box_frame_color, $th_box_frame_width, $th_box_title_bgcolor, $th_box_title_font_color, $th_box_title_align, $th_box_body_bgcolor, $th_box_error_font_color, $th_box_body_align);
    $be->box_full($t->translate("Error"), $t->translate("Access denied"));
} else {
    $bx->box_begin();
    $bx->box_body_begin();
    $bx->box_columns_begin(2);
    $bx->box_column("left", "60%", "", $t->translate('Hi') . ', <b>' . $auth->auth["uname"] . '</b>.<br>' . $t->translate('This is your personal page') . '.<br>' . $t->translate("Here you will find all the " . 'information related to you') . '.');
    $bx->box_column_start("right", "40%", "");
    personal_ratings_short($auth->auth["uname"]);
    $bx->box_column_finish();
    $bx->box_columns_end();
    $bx->box_body_end();
    $bx->box_end();
    $bx->box_begin();
    $bx->box_body_begin();
    $bx->box_columns_begin(3, 'top');
    $bx->box_column_start("center", "34%", "");
    personal_my_projects($auth->auth["uname"]);
    $bx->box_column_finish();
    $bx->box_column_start("center", "33%", "");
    personal_monitored_projects($auth->auth["uname"]);
    $bx->box_column_finish();
    $bx->box_column_start("center", "33%", "");
    # WISH: It would be nice to have here a list of actions that may
    # WISH: interest the user