$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($paperID, $email) = each($arrUpdateEmails)) { //Get the paper info $paperInfo = get_paper_info($paperID); $strAuthors = retrieve_authors($paperID, &$err_message); $strCat = getSelectedCategoryCommaSeparated($paperID, &$err_message); // Get any presentation type info $presTypeID = get_presentation_type_for_paper($paperID); if ($presTypeID) { $presTypeObj = get_presentation_info($presTypeID); $presTypeName = $presTypeObj->PresentationTypeName; } else { $presTypeName = ""; } //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" => $presTypeName); //Replace the dynamice constants with real values $tmpContent = replace_Dynamic_Values($arrConstants, $arrReplaceInfo, $strContent); //Put in the return formatted content into array $arrContent[$paperID] = $tmpContent; } //Register array of contents to session
$settingInfo = get_Conference_Settings(); $trackStr = $settingInfo->TrackName; //Name for Track $topicStr = $settingInfo->TopicName; //Name for Topic $levelStr = $settingInfo->LevelName; //Name for Level $err_message = " Unable to process your request due to the following problems: <br>\n"; $paperID =& $_GET["paperID"]; $status =& $_GET["status"]; $title = $status . " Paper"; do_html_header($title); //Get the paper information $paperInfo = get_paper_info($paperID); $type = get_presentation_info($_GET["type"]); $curtype = get_presentation_info(get_presentation_type_for_paper($paperInfo->PaperID)); ?> <form action="process_accept_reject_paper.php" method="post" name="form1"> <table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr> <td colspan="2"><?php echo stripslashes("<h3>#" . $paperInfo->PaperID . " " . $paperInfo->Title . "</h3>"); ?> </td> </tr> <input type="hidden" name="paperID" value="<?php echo $paperInfo->PaperID; ?> "> <tr> <td width="15%"><strong>Authors:</strong> </td>
echo "checked"; } ?> > Accept</label> as <select name="PresentationType"> <?php $types = get_presentation_types(); foreach ($types as $type) { ?> <option value="<?php echo $type->PresentationTypeID; ?> " <?php if (get_presentation_type_for_paper($paperInfo->PaperID) == $type->PresentationTypeID) { echo "selected"; } ?> > <?php echo $type->PresentationTypeName; ?> </option> <?php } ?> </select> </td> </tr> <?php