<div class=pre> Note that the submission format for accents, symbols, italics, etc., is LaTeX. If you need examples, <a href="../latex_guide.html" target="new window">click here</a>. </div> </td></tr> </table> <table border="0" cellpadding="5" cellspacing="10" width = 90%> <tr><td style="background-color:rgb(244,255,255);color:black"> <strong> You are submitting:</strong> <center/><p class="title"><?php echo tex_code($_SESSION["title"]); ?> </p/> <p class="author">presented by <u/><?php echo tex_code($_SESSION["speaker"]); ?> </u/></p/></center/> </td></tr></table> <table border="0" cellpadding="5" cellspacing="10" width = 90%> <tr><td style="background-color:rgb(244,255,255);color:black"> <div class="formfill"> <form action="submit2_test.php" method="post"> <?php $counter = 1; $maxc = $_SESSION["co"]; if ($maxc > 0) { echo "Please provide co-author names:<br/>"; } while ($counter <= $maxc) { echo "\n\tco-author {$counter}: <input type=\"text\" name=\"coa[]\"\\> <br\\>";
if (count($add_affils) > 0) { $maxc = count($add_affils); $counterm = 0; while ($counterm < $maxc) { echo "<input type=\"checkbox\" name=\"speaker_affil[]\" value=\"{$counterm}\">\n " . tex_code($add_affils[$counterm]) . "<br/>"; $counterm++; } } ?> <br><br> <?php // coauthor's affiliations $counter = 0; while ($counter < $maxa) { echo "{$_SESSION['coauthors'][$counter]}'s Affiliations<br/>"; if (count($add_affils) > 0) { $maxc = count($add_affils); $counterm = 0; while ($counterm < $maxc) { echo "<input type=\"checkbox\" \n name=\"coauthor" . $counter . "_affil[]\" value=\"{$counterm}\">\n " . tex_code($add_affils[$counterm]) . "<br/>"; $counterm++; } } $counter++; echo "<br/><br/>"; } ?> <input type="submit" value="Continue"> </form> </body/> </html/>
<?php $flag = 1; $counter = 0; $maxc = count($_POST['coa']); $_SESSION['coauthors'] = fix_tex($_POST['coa']); while ($counter < $maxc) { $counter1 = $counter + 1; if (empty($_SESSION['coauthors'][$counter])) { echo "You must enter a name for co-author {$counter1}.<br\\>\n"; $flag = 0; } $counter++; } if ($flag) { echo tex_code($_SESSION['speaker']) . " has {$maxc} coauthors:"; $counter = 0; while ($counter < $maxc) { echo " " . tex_code($_SESSION['coauthors'][$counter]); $counter++; if ($counter < $maxc) { echo ","; } } echo "<form action=\"submit3.php\" method = post>"; echo "\n <input type=\"button\" value=\"Back\" onClick=\"history.go(-1)\">\n \t <input type=\"submit\" value=\"Continue\"/>\n </center/>"; } else { echo "Please go <a href=javascript:history.back(1)>back</a> and make the necessary corrections."; } ?> </body> </html>
$k = 0; while ($k < count($_SESSION['all_superscripts'])) { $kplus = $k + 1; echo "<sup>{$kplus}</sup>{$_SESSION['affil_superscript'][$k]}<br/></n>"; ++$k; } ?> </p></center/><br/><br/> </td></tr></table> <table border="0" cellpadding="5" cellspacing="10" width = 90%> <tr><td style="background-color:rgb(244,255,255);color:black"> <div class="formfill"> <?php // First Make Sure Abstract is filled out if (empty($_POST['abstract'])) { echo "Please go <a href=javascript:history.back(1)>back</a> and enter your abstract."; } else { $_SESSION['abstract'] = fix_tex($_POST['abstract']); echo "<b>Abstract</b>: " . nl2br(tex_code($_SESSION['abstract'])) . "</p>"; echo "<form action=\"submit5.php\" method=\"post\"/>\n"; echo "<input type=\"button\" value=\"back\" onClick=\"history.go(-1)\"> "; echo "<input type=\"submit\" value=\"abstract correct\"/>\n"; echo "</form/>\n"; } ?> </body> </html>
<center><p class="titlehead">C-DOGS Abstract Submission 1/5</p></center> </td></tr></table> <table border="0" cellpadding="5" cellspacing="10" width = 90%> <tr><td style="background-color:rgb(244,255,255);color:black"> <div class="formfill"> <?php if (empty($_POST["title"])) { echo "You must enter a title for your talk, please go <a href=javascript:history.back(1)>back</a>"; } elseif (empty($_POST["speaker"])) { echo "You must enter a name for the speaker, please go <a href=javascript:history.back(1)>back</a>"; } elseif (empty($_POST["email"])) { echo "You must enter an email address, <a href=javascript:history.back(1)>back</a>"; } elseif (!check_email_address($_POST["email"])) { echo "You must enter a <strong><font color=red>valid</font></strong> email address. Please go <a href=javascript:history.back(1)>back</a> and make the necessary changes."; } else { if ($_POST['co'] == 0) { echo "<form action=\"submit3.php\" method = post>"; } else { echo "<form action=\"submit2.php\" method = post>"; } $_SESSION['title'] = fix_tex($_POST['title']); $_SESSION['speaker'] = fix_tex($_POST['speaker']); $_SESSION['co'] = $_POST['co']; $_SESSION['email'] = $_POST['email']; echo " You are submitting a talk titled \n\t <strong/>" . tex_code($_SESSION['title']) . "</strong/> to\n\t be presented by <u/>" . tex_code($_SESSION['speaker']) . "</u/>\n\t with {$_SESSION['co']} co-authors. " . tex_code($_SESSION['speaker']) . " can be reached \n at {$_POST['email']}. <br>\n\t <input type=\"button\" value=\"Back\" onClick=\"history.go(-1)\">\n\t <input type=\"submit\" value=\"Continue\"/>"; } ?> </body> </html>
if (!empty($_SESSION['coauthors'])) { $maxa = count($_SESSION['coauthors']); } else { $maxa = 0; } $counter = 0; while ($counter < $maxa) { echo ", " . tex_code($_SESSION['coauthors'][$counter]); echo "<sup>{$_SESSION['coauthor_super'][$counter]}</sup>"; $counter++; } echo "<br>"; $k = 0; while ($k < count($_SESSION['all_superscripts'])) { $kplus = $k + 1; echo "<sup>{$kplus}</sup>" . tex_code($_SESSION['affil_superscript'][$k]) . "<br></n>"; ++$k; } ?> </p></center><br><br> </td></tr></table> <table border="0" cellpadding="5" cellspacing="10" width = 90%> <tr><td style="background-color:rgb(244,255,255);color:black"> <div class="formfill"> This page is where provide your abstract. Note that the submission format for accents, symbols, italics, etc., is LaTeX. If you need examples, <a href="../latex_guide.html" target="new window">click here</a>. Common LaTeX codes include \% (for the percent sign), \sl text \rm (for italics), and $^{\circ}$ (for a degrees sign). If you are cutting and pasting from a non-text editor, such as MSWord, make sure you convert all symbols to LaTeX, and remove any extra newline characters (^M).<hr> <center> <form action ="submit4_test.php" method="post"> <textarea name="abstract" cols=80 rows=30></textarea><br> <input type="submit" value="Continue">
<?php // First Make Sure all Authors Have Affiliations $flag = 1; # Start with Speaker if (empty($_POST['speaker_affil'])) { $flag = 0; echo "Speaker must have affiliations, please go <a href=javascript:history.back(2)>back</a> and correct. (If the back link does not work, hit \"Reload\".)<br/>"; } # Move onto Coauthors $maxc = count($_SESSION['coauthors']); $counterc = 0; // the c stands for co-author while ($counterc < $maxc) { if (empty($_POST['coauthor' . $counterc . '_affil'])) { $flag = 0; echo tex_code($_SESSION['coauthors'][$counterc]) . " must have affiliations, please go \n <a href=javascript:history.back(1)>back</a> and correct<br/>"; } $counterc++; } $add_affils = split('::', $_SESSION['extra_affils']); if ($flag) { // All authors have affiliations, good! # Now try to order affiliations for superscripts... $m = 0; # This first loop gives superscript assignments starting with # speaker. foreach ($_POST['speaker_affil'] as $key => $value) { if (preg_match('([0-9]+)', $value)) { $value = $add_affils[$value]; } $speaker_superscript[$m] = $m;
} $counter = 0; while ($counter < $maxa) { echo ", " . tex_code($_SESSION['coauthors'][$counter]); echo "<sup>{$_SESSION['coauthor_super'][$counter]}</sup>"; $counter++; } echo "<br/>"; $k = 0; while ($k < count($_SESSION['all_superscripts'])) { $kplus = $k + 1; echo "<sup>{$kplus}</sup>" . tex_code($_SESSION['affil_superscript'][$k]) . "<br/></n>"; ++$k; } echo "</p></center>"; echo "<p div=abstract><strong>Abstract:</strong> " . nl2br(tex_code($_SESSION['abstract'])); ?> </p> <p class=em>Speaker can be reached at <?php echo "{$_SESSION['email']}"; ?> </td></tr></table> <table border="0" cellpadding="5" cellspacing="10" width = 90%> <tr><td style="background-color:rgb(244,255,255);color:black"> <div class=formfill> <form action="submit6.php" method="post"> Include email in abstract booklet? <input type="radio" name="em_book" value="yes" checked> yes <input type="radio" name="em_book" value="no"> no <br> Include email on webpage program? <input type="radio" name="em_web" value="yes" checked> yes