echo stripslashes($paperInfo->Title);
?>
</strong></td>
          </tr>
          <tr> 
            <td colspan="2">&nbsp;</td>
          </tr>
          <tr> 
            <td colspan="2">Category: <?php 
echo getSelectedCategoryCommaSeparated($paperInfo->PaperID, &$err_message);
?>
</td>
          </tr>
          <tr> 
            <td colspan="2">Authors: <?php 
echo retrieve_authors($paperID);
?>
</td>
          </tr>
          <tr> 
            <td colspan="2">&nbsp;</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>";
Exemple #2
0
echo $paperInfo->PaperID;
?>
&nbsp;&nbsp;<?php 
echo stripslashes($paperInfo->Title);
?>
</h3></td>
  </tr>

<?php 
//if DoubleBindReview is set to false The author will not show
if (!$settingInfo->DoubleBlindReview) {
    ?>
	<tr>
    <td align="center"><h4>
    <?php 
    if ($authors = retrieve_authors($paperInfo->PaperID, &$err_message)) {
        echo $authors;
    } else {
        echo " <font color=\"#FF0000\"> Could not read author table. Try <a href='view_abstract.php?paperid=" . $_GET["paperid"] . "'>again</a>?</font>";
    }
    ?>
	</h4>
	 </td>
  </tr>
  <tr>
      <td>&nbsp;</td>
  </tr>
  <?php 
}
?>
$paperID = $_POST["paperID"];
$paperInfo = get_paper_info($paperID);
$type = $_POST["type"];
$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> 
echo stripslashes($paperInfo->Title);
?>
</h4></td>
  </tr>
  <tr> 
    <td><strong>PaperID:</strong> <?php 
echo $paperInfo->PaperID;
?>
</td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td><strong>Authors:</strong>&nbsp;<?php 
echo retrieve_authors($paperInfo->PaperID);
?>
</td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td><strong>Keywords:</strong>&nbsp;<?php 
echo getSelectedCategoryCommaSeparated($paperInfo->PaperID, &$err_message);
?>
</td>
  </tr>
  <tr> 
    <td><hr></td>
  </tr>
function redisplay(&$paperid_array, &$process, &$dbprefix, $err_message = "")
{
    //Establish connection with database
    $db = adodb_connect(&$err_message);
    //global $_SESSION ;
    $i = 0;
    $array = array();
    reset($paperid_array);
    foreach ($paperid_array as $some => $paperID) {
        //Get the paper information
        if (($paperInfo = get_paper_info($paperID, &$err_message)) === false) {
            do_html_header("Update Paper Bids Failed", &$err_message);
            $err_message .= " Cannot retrieve information from database. <br>\n";
            $err_message .= "<br><br> Try <a href='" . $_SERVER["PHP_SELF"] . "?" . $_SERVER["QUERY_STRING"] . "'>again</a>?";
            do_html_footer(&$err_message);
            exit;
        }
        $array[$i]["paperid"] = $paperInfo->PaperID;
        $array[$i]["papertitle"] = stripslashes($paperInfo->Title);
        //Get the lastest file of the paper
        if (($FileIDData = get_latestFile($paperID, &$err_message)) === false) {
            do_html_header("Update Paper Bids Failed", &$err_message);
            $err_message .= " Could not execute \"get_latestFile\" in \"update_biddings.php\". <br>\n";
            $err_message .= "<br><br> Try <a href='" . $_SERVER["PHP_SELF"] . "?" . $_SERVER["QUERY_STRING"] . "'>again</a>?";
            do_html_footer(&$err_message);
            exit;
        }
        $array[$i]["fileid"] = $FileIDData->FileID;
        if ($catcomsep = getSelectedCategoryCommaSeparated($paperInfo->PaperID, &$err_message) || numCategories(&$err_message) == 0) {
            $array[$i]["cat"] = $catcomsep;
        } else {
            do_html_header("Update Paper Bids Failed", &$err_message);
            $err_message .= " Could not execute \"getSelectedCategoryCommaSeparated\" in \"update_biddings.php\". <br>\n";
            $err_message .= "<br><br> Try <a href='" . $_SERVER["PHP_SELF"] . "?" . $_SERVER["QUERY_STRING"] . "'>again</a>?";
            do_html_footer(&$err_message);
            exit;
        }
        if ($authors = retrieve_authors($paperInfo->PaperID, &$err_message)) {
            $array[$i]["author"] = $authors;
        } else {
            do_html_header("Update Paper Bids Failed", &$err_message);
            $err_message .= " Could not execute \"retrieve_authors\" in \"update_biddings.php\". <br>\n";
            $err_message .= "<br><br> Try <a href='" . $_SERVER["PHP_SELF"] . "?" . $_SERVER["QUERY_STRING"] . "'>again</a>?";
            do_html_footer(&$err_message);
            exit;
        }
        if ($process === "update") {
            $preferenceSQL = " SELECT PreferenceID FROM " . $GLOBALS["DB_PREFIX"] . "Selection ";
            $preferenceSQL .= " WHERE PaperID = " . $paperInfo->PaperID;
            $preferenceSQL .= " AND Membername = '" . $_SESSION["valid_user"] . "'";
            $preferenceResult = $db->Execute($preferenceSQL);
            if (!$preferenceResult) {
                do_html_header("Update Paper Bids Failed", &$err_message);
                $err_message .= " Could not query \"Selection\" table in database by \"redisplay()\" of \"update_biddings.php\". <br>\n";
                $err_message .= "<br><br> Try <a href='" . $_SERVER["PHP_SELF"] . "?" . $_SERVER["QUERY_STRING"] . "'>again</a>?";
                do_html_footer(&$err_message);
                exit;
            }
            $userPreference = $preferenceResult->FetchNextObj();
            $array[$i]["bidid"] = $userPreference->PreferenceID;
        }
        if ($bidtable = Generate_Preference_Radio_Input_Table($paperInfo->PaperID, $array[$i]["bidid"], &$err_message)) {
            $array[$i]["bid"] = $bidtable;
        } else {
            do_html_header("Update Paper Bids Failed", &$err_message);
            $err_message .= " Could not execute \"retrieve_authors\" in \"update_biddings.php\". <br>\n";
            $err_message .= "<br><br> Try <a href='" . $_SERVER["PHP_SELF"] . "?" . $_SERVER["QUERY_STRING"] . "'>again</a>?";
            do_html_footer(&$err_message);
            exit;
        }
        $i++;
    }
    //End of for loop
    return $array;
}
        ?>
		</span>
		<span class="Info">
		<?php 
        echo "&nbsp;&nbsp;Chair: ";
        ?>
		<?php 
        echo $session->Session->FirstName . " " . $session->Session->LastName;
        ?>
		</span>
		</div>
	<?php 
        foreach ($session->Slots as $slot) {
            $paper = get_paper_info($slot->PaperID);
            $firstPage = $pageNumberOf[$slot->PaperID];
            $authors = retrieve_authors($paper->PaperID);
            $fileInfo = get_latestFile($paper->PaperID, &$err_message);
            $fileEnding = strstr($fileInfo->FileName, '.');
            ?>
			<div class="Indent"><nbsp;></div>  
			<div class="LeftColumn">
				<span class="Slot.PaperName">
				<a href="papers/<?php 
            echo $paper->PaperID . $fileEnding;
            ?>
">
				<?php 
            echo $paper->Title;
            ?>
				</a>
				</span>
Exemple #7
0
?>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="1">
    <tr> 
    <td><h4> #<?php 
echo $paperInfo->PaperID;
?>
 <nbsp> <?php 
echo stripslashes($paperInfo->Title);
?>
</h4></td>
    </tr>
    <tr> 
    <td><strong>Authors:</strong> 
      <?php 
if ($authors = retrieve_authors($id, &$err_message)) {
    echo $authors;
} else {
    echo " <font color=\"#FF0000\"> Could not read author table. Try <a href='view_abstract.php?id={$id}'>again</a>?</font>";
}
?>
    </td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td><strong>Track:</strong> 
      <?php 
if ($catcomsep = getSelectedTrackText($id, &$err_message)) {
    echo $catcomsep;