###################################################################### require "./include/prepend.php3"; page_open(array("sess" => "SourceWell_Session", "auth" => "SourceWell_Auth", "perm" => "SourceWell_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); $be = new box("", $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); ?> <!-- content --> <?php if ($perm->have_perm("user_pending")) { $be->box_full($t->translate("Error"), $t->translate("Access denied")); $auth->logout(); } else { if (isset($idx)) { // Look if application is already in table $columns = "*"; $tables = "pending"; $where = "idx='{$idx}'"; $query = "SELECT {$columns} FROM {$tables} WHERE {$where}"; updform($query, "review.php"); } else { $be->box_full($t->translate("Error"), $t->translate("No Application ID specified")); } } ?> <!-- end content --> <?php require "./include/footer.inc"; @page_close();
###################################################################### require "./include/prepend.php3"; page_open(array("sess" => "SourceWell_Session", "auth" => "SourceWell_Auth", "perm" => "SourceWell_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); $be = new box("", $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); ?> <!-- content --> <?php if ($perm->have_perm("user_pending")) { $be->box_full($t->translate("Error"), $t->translate("Access denied")); $auth->logout(); } else { if (isset($id)) { // Look if application is already in table $columns = "*"; $tables = "software"; $where = "appid='{$id}'"; $query = "SELECT {$columns} FROM {$tables} WHERE {$where}"; updform($query, "update.php"); } else { $be->box_full($t->translate("Error"), $t->translate("No Application ID specified")); } } ?> <!-- end content --> <?php require "./include/footer.inc"; @page_close();