echo retrieve_authors($paperID); ?> </td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td colspan="2">Assign to:</td> </tr> <tr> <td colspan="2"> <?php $j = 0; for ($i = 0; $i < count($arrReviewers); $i++) { echo ++$j . ". " . getMemberFullName($arrReviewers[$i]) . "<br>"; } ?> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> <a href="view_abstract.php?id=<?php echo $paperInfo->PaperID; ?> " target="_blank">View Abstract</a> | <a href='view_file.php?fileid=<?php echo $FileIDData->FileID;
></td> <td><?php echo $arrUserInfo["memberName"]; ?> </td> <td><?php echo $arrUserInfo["email"]; ?> </td> <td align="center"><?php echo $arrUserInfo["status"]; ?> </td> <td><?php echo getMemberFullName($arrUserInfo["memberName"]); ?> </td> </tr> <?php $r++; } ?> <tr> <td colspan="5"> <?php /* if ($_POST["to"]) { while(list($memberName,$email) = each($_POST["to"])) {
$presType = $_POST["presType"]; //Retrieve the setting information $settingInfo = get_Conference_Settings(); $conferenceInfo = get_conference_info(); //Format the subject of the letter $strSubject = format_Letter_Subject(stripslashes($_POST["subject"])); //Format the content string and Store the content into the session $strContent = stripslashes(wordwrap($_POST["bodycontent"])) . "\n\n"; $strContent .= $settingInfo->EmailSignature . "\n\n"; //Get the constant of the letter and highlight the constants $arrConstants = evaluate_Letter_Constants($letterType); //Get the paper info $strAuthors = retrieve_authors($paperID, &$err_message); $strCat = getSelectedCategoryCommaSeparated($paperID, &$err_message); //Get the full name of the user according to his user name $strFullName = getMemberFullName($paperInfo->MemberName); $arrReplaceInfo = array("fullname" => $strFullName, "paperID" => $paperInfo->PaperID, "papertitle" => $paperInfo->Title, "authors" => $strAuthors, "papercat" => $strCat, "url" => $settingInfo->HomePage, "confname" => $conferenceInfo->ConferenceName, "confcode" => $conferenceInfo->ConferenceCodeName, "contact" => $conferenceInfo->ConferenceContact, "presType" => $presType); //Replace the dynamice constants with real values $strContent = replace_Dynamic_Values($arrConstants, $arrReplaceInfo, $strContent); //Store the content into the session $arrContent["subject"] = $strSubject; $arrContent["content"] = $strContent; $_SESSION["content"] = $arrContent; do_html_header($letterTitle); ?> <form name="form1" method="post" action="process_accept_reject_mail.php"> <table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr> <td colspan="2"><strong>Below is the information on the paper you have <?php echo $_POST["status"]; ?>
/images/up.gif" border=0></a> Privilege <a href="form_payment_all.php?sort=8"><img src="<?php echo $php_root_path; ?> /images/down.gif" border=0></a></td> </tr> <?php while ($memberInfo = $memberResult2->FetchNextObj()) { ?> <tr> <td><?php echo $memberInfo->MemberName; ?> </td> <td><?php echo getMemberFullName($memberInfo->MemberName); ?> </td> <td><?php echo $memberInfo->Organisation != "" ? stripslashes($memberInfo->Organisation) : "N/A"; ?> </td> <td><?php echo $memberInfo->PrivilegeTypeName; ?> </td> </tr> <?php } /*end of while loop*/ ?>
$users = get_chair_usernames(); foreach ($users as $user) { ?> <option value="<?php echo $user->RegisterID; ?> " <?php if ($vars["ChairID"] == $user->RegisterID) { echo "selected"; } ?> > <?php $chairInfo = get_member_info_with_id($user->RegisterID); $fullName = getMemberFullName($chairInfo->MemberName); echo $fullName; ?> </option> <?php } ?> </select> <font color="#FF0000"><?php echo $error_array["ChairID"][0]; ?> </font> </td> </tr> <tr> <td>
echo "<br><br>Change to:<br>"; if (is_array($arrReviewers)) { foreach ($arrReviewers as $reviewerName) { echo ++$j . ". <strong>" . getMemberFullName($reviewerName) . "</strong><br>"; } } echo "<br>"; } else { do_html_header("Successful Assignment"); echo "<p>The following paper was successfully assigned.<br><br>"; //Get the paper information $paperInfo = get_paper_info($paperID); echo "Paper #" . $paperID . " - " . stripslashes($paperInfo->Title) . "<br><br>"; //Display the assigned reviewer foreach ($arrReviewers as $reviewerName) { echo ++$j . ". <strong>" . getMemberFullName($reviewerName) . "</strong><br>"; } echo "<br>"; } //end of else $sort = $_SESSION["sort"]; // retrieve current sort and showing setings $showing = $_SESSION["showing"]; echo "Go back to <a href='view_all_papers.php?sort=" . $sort . "&showing=" . $showing . "'>View All Papers</a> page.<br><br>"; //Unregister the session unset($_SESSION["sort"]); unset($_SESSION["showing"]); unset($_SESSION["arrReviewers"]); do_html_footer(); } else { do_html_header("Error in Form");
$php_root_path = ".."; $privilege_root_path = "/admin"; require_once "includes/include_all_fns.inc"; session_start(); // extract ( $_SESSION , EXTR_REFS ) ; $err_message = " Unable to process your request due to the following problems: <br>\n"; $name =& $_GET["name"]; //do_html_header("Reviewer Preferences"); //Establish database connection $db = adodb_connect(); if (!$db) { echo "Could not connect to database server - please try later."; exit; } if (!verify_Preference_Exist($name)) { echo "No preferences have been given by the reviewer <strong>" . getMemberFullName($name) . "</strong>."; echo "<p><input type=\"button\" name=\"close\" value=\"Close\" onClick=\"JavaScript:window.close()\"></p>"; exit; } //Get the preferences $preferenceSQL = "SELECT * FROM " . $GLOBALS["DB_PREFIX"] . "Preference"; $preferenceResult = $db->Execute($preferenceSQL); //Get the assignments $assignmentsSQL = "Select * FROM " . $GLOBALS["DB_PREFIX"] . "Review "; $assignmentsSQL .= "WHERE MemberName = " . $name . " ORDER BY PaperID ASC"; echo "<!-- {$assignmentsSQL} -->"; $assignmentsResult = $db->Execute($assignmentsSQL); ?> <html> <head> <title>Commence Conference System</title>
//Format the content string and Store the content into the session $strContent = stripslashes($_POST["bodycontent"]) . "\n\n"; $strContent .= $settingInfo->EmailSignature . "\n\n"; //$_SESSION["content"] = $strContent; //Get the constant of the letter and highlight the constants $arrConstants = evaluate_Letter_Constants($_POST["lettertype"]); //Get the session array if (isset($_SESSION["arrUpdateEmails"])) { $arrUpdateEmails = $_SESSION["arrUpdateEmails"]; } else { $arrUpdateEmails = get_Unsended_EmailList($letterInfo->LetterID, $letterInfo->RecipientGroupName); $_SESSION["arrUpdateEmails"] = $arrUpdateEmails; } //Loop the array and generate the dynamic contents while (list($username, $email) = each($arrUpdateEmails)) { $strFullName = getMemberFullName($username); $arrReplaceInfo = array("fullname" => $strFullName, "url" => $settingInfo->HomePage); $tmpContent = replace_Dynamic_Values($arrConstants, $arrReplaceInfo, $strContent); //Put in the return formatted content into array $arrContent[$username] = $tmpContent; } //Register array of contents to session $_SESSION["arrContent"] = $arrContent; //Highlight the dynamic contents $strContent = highlight_Dynamic_Values($arrConstants, $strContent); do_html_header("Reviewer Invitation Letter"); ?> <form name="form1" method="post" action="process_send_letter.php"> <table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr> <td colspan="2">This letter will be sent out to the recipients you have
<?php $php_root_path = ".."; $privilege_root_path = "/admin"; require_once "includes/include_all_fns.inc"; session_start(); // extract ( $_SESSION , EXTR_REFS ) ; $err_message = " Unable to process your request due to the following problems: <br>\n"; //Get the member name $letterID = $_GET["letterID"]; $letterInfo = get_Letter_Info($letterID); $memberName = $_GET["memberName"]; //Get the content array from session $arrContent = $_SESSION["arrContent"]; //Make the title $memberFullName = getMemberFullName($memberName); $title = "Preview Letter to \"" . $memberFullName . "\""; ?> <html> <head> <title>Commence Conference System</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <?php echo "<link href=\"{$php_root_path}/stylesheets/CommentStyle.css\" rel=\"stylesheet\" type=\"text/css\">\n"; ?> </head> <h1><?php echo $title; ?> </h1> <body>
<tr> <td><hr></td> </tr> <?php for ($i = 0; $i < $numReviews; $i++) { $reviewInfo = $reviewResult->FetchNextObj(); //Assign the values to the variables $appropriateness = $reviewInfo->AppropriatenessToConference; $originality = $reviewInfo->Originality; $tech_strength = $reviewInfo->TechnicalStrength; $presentation = $reviewInfo->Presentation; $overall = $reviewInfo->OverallEvaluation; ?> <tr> <td><strong>Reviewer Name:</strong> <?php echo getMemberFullName($reviewInfo->MemberName); ?> </td> </tr> <tr> <td> </td> </tr> <tr> <td><strong>Ranking Criteria </strong><br> <table width="70%" border="1" cellspacing="2" cellpadding="1"> <tr> <td width="70%"><strong>Name</strong></td> <td width="30%"><strong>Rank</strong></td> </tr> <tr> <td>Appropriateness to the Conference:</td> <td><?php
?> </td> <td><?php echo $paperURL; ?> </td> <td><?php echo $emailInfo->MemberName; ?> </td> <td><?php echo $emailInfo->Email; ?> </td> <td><?php echo getMemberFullName($emailInfo->MemberName); ?> </td> </tr> <?php } ?> <tr> <td colspan="5"> </td> </tr> <tr> <td colspan="2">Total: <strong><?php echo count($arrUpdateEmails); ?> </strong></td> <td colspan="3" align="right"><?php
//not showing last page for ($j = 0; $j < $loop; $j++) { // $t=getdate(); echo "Time 1 " . $t['seconds'] . "<br>"; //Debug BL //Get the information $paperInfo = $papersResult->FetchNextObj(); //Get the lastest file of the paper //$FileIDData = get_latestFile($paperInfo->PaperID , &$err_message ); $FileIDData = get_latestFileID($paperInfo->PaperID, &$err_message); //Get reviewer of the paper and format into string $arrReviewers = get_Reviewers_Of_Paper($paperInfo->PaperID); $strReviewers = ""; for ($i = 0; $i < count($arrReviewers); $i++) { if ($i == count($arrReviewers) - 1) { $strReviewers .= "<a href=\"#\" onClick=\"JavaScript:window.open('view_reviewer_info.php?name=" . $arrReviewers[$i] . "',null,'height=200,width=500,status=yes,toolbar=no,menubar=no,scrollbars=yes,location=no')\">" . getMemberFullName($arrReviewers[$i]) . "</a>"; } else { $strReviewers .= "<a href=\"#\" onClick=\"JavaScript:window.open('view_reviewer_info.php?name=" . $arrReviewers[$i] . "',null,'height=200,width=500,status=yes,toolbar=no,menubar=no,scrollbars=yes,location=no')\">" . getMemberFullName($arrReviewers[$i]) . "</a>, "; } } ?> <tr> <td colspan=4><hr> </td> </tr> <tr> <td align="center" valign="top"> </td> <td height="31" align="center" valign="top">#<?php echo $paperInfo->PaperID; ?> </td> <td valign="top"><a href="view_file.php?fileid=<?php echo $FileIDData->FileID;