require "include/prepend.php3"; page_open(array("sess" => "SourceAgency_Session", "auth" => "SourceAgency_Auth", "perm" => "SourceAgency_Perm")); 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%", "");
page_open(array("sess" => "SourceAgency_Session", "auth" => "SourceAgency_Auth", "perm" => "SourceAgency_Perm")); } require "include/header.inc"; require "include/ratingslib.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 = "rating"; if (check_permission($proid, $page)) { top_bar($proid, $page); print $t->translate("The sponsor rates the developers and the " . "developers rates the sponsors. Sponsors and " . "developers can rate also sponsor and developers " . "that have taken part in the project. Everybody " . "is able to make his rating private") . ".\n"; print "<p align=right>[ <b>" . html_link("step6_edit.php", array("proid" => $proid), "<b>" . $t->translate("Rate") . "!</b>") . "</b> ]"; $bx->box_begin(); $bx->box_title($t->translate("Project Participants")); $bx->box_body_begin(); $bx->box_columns_begin(3); $bx->box_column_start("right", "33%", ""); show_participants_rating($proid, "sponsor"); $bx->box_column_finish(); $bx->box_column_start("right", "33%", ""); show_participants_rating($proid, "developer"); $bx->box_column_finish(); $bx->box_column_start("right", "34%", ""); show_participants_rating($proid, "referee"); $bx->box_column_finish(); $bx->box_columns_end(); $bx->box_body_end(); $bx->box_end(); } end_content(); require "include/footer.inc"; @page_close();
###################################################################### require 'include/prepend.php3'; page_open(array('sess' => 'SourceAgency_Session')); if (isset($auth) && !empty($auth->auth['perm'])) { page_close(); page_open(array('sess' => 'SourceAgency_Session', 'auth' => 'SourceAgency_Auth', 'perm' => 'SourceAgency_Perm')); } require 'include/header.inc'; require 'include/browselib.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 = 'browse'; $bx->box_begin(); $bx->box_body_begin(); $bx->box_columns_begin(2, 'top'); $bx->box_column_start('', '50%', ''); $bx->box_begin(); $bx->box_title($t->translate('Categories')); $bx->box_body_begin(); echo html_link('browse.php', array('through' => 'license'), $t->translate('License')); echo '<br>' . html_link('browse.php', array('through' => 'type'), $t->translate('Type')); echo '<br>' . html_link('browse.php', array('through' => 'steps'), $t->translate('Steps')); echo '<br>' . html_link('browse.php', array('through' => 'volume'), $t->translate('Volume')); echo '<br>' . html_link('browse.php', array('through' => 'platform'), $t->translate('Platform')); echo '<br>' . html_link('browse.php', array('through' => 'architecture'), $t->translate('Architecture')); echo '<br>' . html_link('browse.php', array('through' => 'environment'), $t->translate('Environment')); echo '<br>' . html_link('browse.php', array('through' => 'project_name'), $t->translate('Project Name')); $bx->box_body_end(); $bx->box_end(); $bx->box_column_finish(); if (isset($through)) {
# the Free Software Foundation; either version 2 or later of the GPL. ###################################################################### require "include/prepend.php3"; page_open(array('sess' => 'SourceAgency_Session')); if (isset($auth) && !empty($auth->auth['perm'])) { page_close(); page_open(array('sess' => 'SourceAgency_Session', 'auth' => 'SourceAgency_Auth', 'perm' => 'SourceAgency_Perm')); } require 'include/header.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(); $db_summary = new DB_SourceAgency(); $bx->box_begin(); $bx->box_body_begin(); $bx->box_columns_begin(2, 'top'); $bx->box_column_start('left', '65%', ''); $bx->box_begin(); $bx->box_title($t->translate('SourceAgency')); $bx->box_body_begin(); $db->query("SELECT * FROM doco WHERE page='index' AND language='{$la}'"); if ($db->num_rows() == 0) { /* grab the english doco */ $db->query("SELECT * FROM doco WHERE page='index' AND language='English'"); } $db->next_record(); echo $db->f('doco'); $bx->box_body_end(); $bx->box_end(); // $bx->box_begin(); // $bx->box_title($t->translate('New Projects')); // $bx->box_body_begin();