Example #1
0
$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";
switch ($_GET["lettertype"]) {
    case "paperacceptance":
        $letterTitle = "Paper Acceptance";
        break;
    case "paperrejection":
        $letterTitle = "Paper Rejection";
        break;
}
//Fetch letter information
$letterInfo = get_LetterInfo_By_Title($letterTitle);
//Read the session variable if there is
if (isset($_SESSION["arrLetterInfo"])) {
    $arrLetterInfo =& $_SESSION["arrLetterInfo"];
}
//Get the user email to include at Cc field
$useremail = getMemberEmail($valid_user);
//Make the URL for email list
$parameterList = "letterID=" . $letterInfo->LetterID . "&recipientGroupName=" . $letterInfo->RecipientGroupName;
$url = "<a href=\"#\" onClick=\"" . make_Popup_Window("mailing_list_by_papers.php", $parameterList, 600, 1000, "yes") . "\">edit email list</a>&nbsp;|&nbsp; <a href=\"#\" onClick=\"" . make_Popup_Window("view_emails_list_by_papers.php", $parameterList, 600, 900, "yes") . "\">view email list</a>";
do_html_header($letterInfo->Title);
?>
<form name="form1" method="post" action="confirm_send_paper_info.php">
  <table width="100%" border="0" cellspacing="0" cellpadding="2">
    <tr> 
      <td colspan="2">Use the constants values mentioned below whenever you wish 
<?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";
//Fetch letter information
$letterInfo = get_LetterInfo_By_Title("Reviewer Invitation and Instructions");
//Read the session variable if there is
if (isset($_SESSION["arrLetterInfo"])) {
    $arrLetterInfo =& $_SESSION["arrLetterInfo"];
}
//Get the user email to include at Cc field
$useremail = getMemberEmail($valid_user);
//Make the URL for email list
$parameterList = "letterID=" . $letterInfo->LetterID . "&recipientGroupName=" . $letterInfo->RecipientGroupName;
$url = "<a href=\"#\" onClick=\"" . make_Popup_Window("mailing_list.php", $parameterList, 600, 800, "yes") . "\">edit email list</a>&nbsp;|&nbsp; <a href=\"#\" onClick=\"" . make_Popup_Window("view_emails_list.php", $parameterList, 600, 800, "yes") . "\">view email list</a>";
do_html_header($letterInfo->Title);
?>
<form name="form1" method="post" action="confirm_send_reviewer_invitation.php">
  <table width="100%" border="0" cellspacing="0" cellpadding="2">
    <tr> 
      <td colspan="2">Use the constants values mentioned below whenever you wish 
        to include Dynamic information. The constants will be substituted with 
        dynamic values when the letter is sent out. These constants are case-sensitive.</td>
    </tr>
    <tr> 
      <td colspan="2">&nbsp;</td>
    </tr>