default: $reviewSQL .= " ORDER BY P.PaperID"; $strSort = "PaperID - Ascending"; break; } $reviewSQL .= " LIMIT " . $showing . "," . MAX_TAGS; $reviewResult = $db->Execute($reviewSQL); $total_rows = $reviewResult->RecordCount(); do_html_header("Assigned Papers", &$err_message); if ($totalPapers <= 0) { echo "There are no papers assigned to you. Please check again later."; do_html_footer(&$err_message); exit; } //Call the function to display the range of records $from = evaluate_records_range($showing, $totalPapers, MAX_TAGS); //Call the function to evaluate prev $prev = evaluate_prev($sort, $showing, $totalPapers, MAX_TAGS); //Call the function to evaluate next $next = evaluate_next($sort, $showing, $totalPapers, MAX_TAGS); //Call the function to evaluate page links $pagesLinks = evaluate_pages_links($sort, $showing, $totalPapers, MAX_TAGS); ?> <form name="frmPaper" method="post" action="update_biddings.php"> <table width="100%" border="0" cellspacing="2" cellpadding="0"> <tr> <td>From: <?php echo "<strong>{$from}</strong>"; ?> </td> <td align="right">Ordered by: <strong><?php
} } else { do_html_header("View My Bids", &$err_message); echo $selectionSQL; do_html_footer(&$err_message); exit; } } else { do_html_header("View My Bids Failed", &$err_message); $err_message .= " Could not execute \"setup_view_all_bids\" in \"edit_paper_bids.php\" <br>\n"; do_html_footer(&$err_message); exit; } $_SESSION['num'] = $num_rows; //Call the function to display the range of records $from = evaluate_records_range($_GET["showing"], $num_rows, MAXRECORDS); //Call the function to evaluate prev $prev = evaluate_prev($_GET["sort"], $_GET["showing"], $num_rows, MAXRECORDS); //Call the function to evaluate next $next = evaluate_next($_GET["sort"], $_GET["showing"], $num_rows, MAXRECORDS); //Call the function to evaluate page links $pagesLinks = evaluate_pages_links($_GET["sort"], $_GET["showing"], $num_rows, MAXRECORDS); $js = array(); $querystring_array = get_querystring_from_href($prev); $dlimit = count($querystring_array); for ($d = 0; $d < $dlimit; $d++) { $js[$d] = " \"javascript:papercheckbox( 'edit_paper_bids.php' , '" . $querystring_array[$d] . "' )\" "; } $prev = insert_js_call_in_href($js, $prev); $prev = delete_href($prev); $js = array();
reset($arrEmailInfo); if ($_GET["sort"] == 7) { //Arrary is to be sort by "status" ascending asort($arrEmailInfo); $sortStr = "Email Status - Ascending"; } else { if ($_GET["sort"] == 8) { //Arrary is to be sort by "status" descending arsort($arrEmailInfo); $sortStr = "Email Status - Descending"; } } //Insert the current records into session $_SESSION["arrCurrentRecords"] = $arrCurrentRecords; //Call the function to display the range of records $from = evaluate_records_range($_GET["showing"], $num_rows, MAX_EMAILS); //Call the function to evaluate prev $prev = evaluate_prev($_GET["sort"], $_GET["showing"], $num_rows, MAX_EMAILS); //Call the function to evaluate next $next = evaluate_next($_GET["sort"], $_GET["showing"], $num_rows, MAX_EMAILS); //Call the function to evaluate page links $pagesLinks = evaluate_pages_links($_GET["sort"], $_GET["showing"], $num_rows, MAX_EMAILS); //Evalute the JavaScript for $prev $js = array(); $querystring_array = get_querystring_from_href($prev); $dlimit = count($querystring_array); for ($d = 0; $d < $dlimit; $d++) { $js[$d] = " \"javascript:papercheckbox( 'mailing_list.php' , '" . $querystring_array[$d] . "')\" "; } $prev = insert_js_call_in_href($js, $prev); $prev = delete_href($prev);
$papersSQL .= " ORDER BY Title DESC"; $strSort = "Title - Descending"; break; default: $papersSQL .= " ORDER BY PaperID"; $strSort = "PaperID - Ascending"; break; } $papersSQL .= " LIMIT " . $showing . "," . MAX_PAPERS; $papersResult = $db->Execute($papersSQL); if ($num_rows <= 0) { echo "There are no withdrawn papers."; exit; } //Call the function to display the range of records $from = evaluate_records_range($showing, $num_rows); //Call the function to evaluate prev $prev = evaluate_prev($sort, $showing, $num_rows); $next = evaluate_next($sort, $showing, $num_rows); //Call the function to evaluate page links $pagesLinks = evaluate_pages_links($sort, $showing, $num_rows); ?> <form name="frmPaper" method="post" action="process_withdrawn_papers.php"> <table width="100%" border="0" cellspacing="2" cellpadding="0"> <tr> <td width="30%">From: <?php echo "<strong>{$from}</strong>"; ?> </td> <td width="40%" align="left">Order By: <strong><?php
$registerSQL = "SELECT * FROM " . $GLOBALS["DB_PREFIX"] . "Registration"; $countResult = $db->Execute($registerSQL); $numRegistrations = $countResult->RecordCount(); $registerSQL .= " LIMIT " . $showing . "," . MAX_TAGS; // echo $registerSQL; $registerResult = $db->Execute($registerSQL); if (!$registerResult) { echo "Could not retrieve the registration information - please try later"; exit; } if ($registerResult->RecordCount() == 0) { echo "There is no registraitons has been made - please try again later"; exit; } //Call the function to display the range of records $from = evaluate_records_range($showing, $numRegistrations, MAX_TAGS); //Call the function to evaluate prev $prev = evaluate_prev($sort, $showing, $numRegistrations, MAX_TAGS); $next = evaluate_next($sort, $showing, $numRegistrations, MAX_TAGS); //Call the function to evaluate page links $pagesLinks = evaluate_pages_links($sort, $showing, $numRegistrations, MAX_TAGS); ?> <html> <head> <title>IAPR Commence Conference System</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="stylesheets/CommentStyle.css" rel="stylesheet" type="text/css"> <?php echo "<link href=\"{$php_root_path}/stylesheets/CommentStyle.css\" rel=\"stylesheet\" type=\"text/css\">\n"; ?> </head>
$php_root_path = ".."; require_once "{$php_root_path}/includes/include_all_fns.inc"; session_start(); $header = "View Papers"; $accepted_privilegeID_arr = array(1 => ""); $accepted_phaseID_arr = array(1 => "", 2 => "", 3 => "", 4 => ""); authentication($header, $accepted_privilegeID_arr, $accepted_phaseID_arr, $homepage, $php_root_path, $dbprefix, &$err_message); $sort =& $_GET["sort"]; $err_message = " Unable to process your request due to the following problems: <br>\n"; //Call function to evaluate showing $showing = evaluate_showing($_GET["showing"]); $_SESSION["phase"]->set_view_paper(&$err_message); // 4.0.6 //Call the function to display the range of records $from = evaluate_records_range($showing, $totalPapers); //Call the function to evaluate prev $prev = evaluate_prev($_GET["sort"], $showing); $next = evaluate_next($_GET["sort"], $showing, $totalPapers); echo "User Name:<strong> " . stripslashes($_SESSION["valid_user"]) . "</strong><p>"; ?> <table width="100%" border="0" cellspacing="2" cellpadding="0"> <tr> <td>From: <?php echo "<strong>{$from}</strong>"; ?> </td> <td align="right">Total Papers : <strong><?php echo $totalPapers;
} } else { do_html_header("Bid Papers", &$err_message); echo $selectionSQL; do_html_footer(&$err_message); exit; } } else { do_html_header("Bid Papers", &$err_message); $err_message .= " Could not execute \"setup_view_all_bids\" in \"bid_all_papers.php\" <br>\n"; do_html_footer(&$err_message); exit; } $_SESSION['num'] = $num_rows; //Call the function to display the range of records $from = evaluate_records_range($_GET["showing"], $num_rows, MAX_PAPER); //Call the function to evaluate prev $prev = evaluate_prev($_GET["sort"], $_GET["showing"], $num_rows, MAX_PAPER); //Call the function to evaluate next $next = evaluate_next($_GET["sort"], $_GET["showing"], $num_rows, MAX_PAPER); //Call the function to evaluate page links $pagesLinks = evaluate_pages_links($_GET["sort"], $_GET["showing"], $num_rows, MAX_PAPER); $js = array(); $querystring_array = get_querystring_from_href($prev); $dlimit = count($querystring_array); for ($d = 0; $d < $dlimit; $d++) { $js[$d] = " \"javascript:papercheckbox( 'bid_all_papers.php' , '" . $querystring_array[$d] . "')\" "; } $prev = insert_js_call_in_href($js, $prev); $prev = delete_href($prev); $js = array();
$strSort = "Evaluation - Descending"; break; default: $papersSQL .= " ORDER BY PaperID"; $strSort = "PaperID - Ascending"; break; } $papersSQL .= " LIMIT " . $showing . "," . MAX_TAGS; $papersResult = $db->Execute($papersSQL); if ($num_rows <= 0) { echo "Sorry, there are no papers in the database."; // echo MAX_TAGS; exit; } //Call the function to display the range of records $from = evaluate_records_range($showing, $num_rows, MAX_TAGS); //Call the function to evaluate prev $prev = evaluate_prev($sort, $showing, $num_rows, MAX_TAGS); //Call the function to evaluate next $next = evaluate_next($sort, $showing, $num_rows, MAX_TAGS); //Call the function to evaluate page links $pagesLinks = evaluate_pages_links($sort, $showing, $num_rows, MAX_TAGS); ?> <form name="frmPaper" method="post" action="display_assign_papers.php"> <br> <table width="100%" border="0" cellspacing="2" cellpadding="0"> <tr> <td width="30%">From: <?php echo "<strong>{$from}</strong>"; ?>