示例#1
0
conflict_body($_SESSION['dept'], $_SESSION['year'], $_SESSION['season']);
?>
</table>

</div>

<div style="float:right; width: 49%;"> <!-- THE RIGHT COLUMN -->

<h3 style="text-align:center">Assign TAs to Courses Directly</h3>

<form action="conflicts.php" method="post" id="scip">
 <fieldset style="border-color:#3BA4C7">
  <legend><b>Assign TAs Manually</b></legend>
  <select id="course" name="course" class="selection_drops" onchange="redirectMe(this);">
    <?php 
populate_courses($_SESSION['dept'], "http://tamatch.math.ucdavis.edu/MathWeb/conflicts.php");
?>
  </select>
  <br>
  <select <?php 
if (!isset($_GET['course'])) {
    print 'disabled';
}
?>
 id="section" name="section" class="selection_drops" onchange="redirectMe(this);">
    <?php 
if (isset($_GET['course'])) {
    populate_sections($_GET['course'], $_SESSION['dept'], "http://tamatch.math.ucdavis.edu/MathWeb/conflicts.php");
}
?>
  </select>
示例#2
0
      <legend><p class="shadow40">CRN</p></legend> 
      <input type="text" name="crn" id="crn" />
      <input type="submit" name="submit" id="submit" value="Add" />
    </fieldset>
    <fieldset id = "selection">
      <legend><p class="shadow40">Add Course</p></legend> 
        <label  class="selections" for="dept"><p2 class="shadow40">Department:</p2></label>
        <select id="dept" name="dept" class="selection_drops" onchange="redirectMe(this);">
          <?php 
populate_depts();
?>
        </select> 
        <label class="selections" for="course"><p2 class="shadow40">Course:</p2></label>
        <select id="course" name="course" class="selection_drops" onchange="redirectMe(this);">
          <?php 
populate_courses($_GET['dept'], "http://tamatch.math.ucdavis.edu/MathWeb/calendar.php");
?>
        </select>     
        <label  class="selections" for="section"><p2 class="shadow40">Section:</p2></label>
        <select <?php 
if (!isset($_GET['course'])) {
    print 'disabled';
}
?>
 id="section" name="section" class="selection_drops" onchange="redirectMe(this);">
          <?php 
if (isset($_GET['course'])) {
    populate_sections($_GET['course'], $_GET['dept'], "http://tamatch.math.ucdavis.edu/MathWeb/calendar.php");
}
?>
        </select>