$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 echo $strSort; ?> </strong> </td> <td align="right" ><?php echo $prev; ?>
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); //Evaluate the JavaScript for $next $js = array(); $querystring_array = get_querystring_from_href($next); $dlimit = count($querystring_array); for ($d = 0; $d < $dlimit; $d++) { $js[$d] = " \"javascript:papercheckbox( 'mailing_list.php' , '" . $querystring_array[$d] . "')\" ";
} } 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(); $querystring_array = get_querystring_from_href($next); $dlimit = count($querystring_array); for ($d = 0; $d < $dlimit; $d++) { $js[$d] = " \"javascript:papercheckbox( 'edit_paper_bids.php' , '" . $querystring_array[$d] . "' )\" "; } $next = insert_js_call_in_href($js, $next);
$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 echo $strSort; ?> </strong></td> <td width="30%" align="right"> <input type="submit" name="Purge" value="Purge Selected">
$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> <h1>Print Name Tags</h1> <body> <table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr> <td> </td>
} $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>"; ?> </td> <td width="40%" align="left">Ordered by: <strong><?php echo $strSort; ?> </strong></td> <td width="30%" align="right">Total Papers : <strong><?php