Exemple #1
0
staffheader($_SESSION['name'], "tacal.php", $_SESSION['year'], $_SESSION['season_name'], $_SESSION['season']);
?>

<link rel="stylesheet" type="text/css" href="css/calendar.css">
<!--start main container -->
<div style="margin-top:10px;" id="error-message">
<?php 
print $_SESSION['error'];
unset($_SESSION['error']);
?>
</div>
<fieldset style="background-color:white;">
  <legend><p2 class="shadow40">Select TA :
  <select id="tacal" name="tacal" onchange="redirectMe(this);">
    <?php 
populate_tas($_SESSION['year'], $_SESSION['season'], $_SESSION['dept'], $_GET['tacal']);
?>
  </select>
</p></legend>
  <table class="schedule" border="0">
    <colgroup>
      <col class="timeColumn"/>
      <col class="wDayColumns" span="5" />
    </colgroup>
    <thead>
      <tr>
        <th><p2 class="shadow40">Time</p2></th>
        <th><p2 class="shadow40">Monday</p2></th>
        <th><p2 class="shadow40">Tuesday</p2></th>
        <th><p2 class="shadow40">Wednesday</p2></th>
        <th><p2 class="shadow40">Thursday</p2></th>
Exemple #2
0
  <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>
  <br>
  <select name="mta">
    <?php 
populate_tas($_SESSION['year'], $_SESSION['season'], $_SESSION['dept']);
?>
  </select>
  <br>
  <input style="float:right" type="submit" name="match" value="Force Match" id="scipbutton">
 </fieldset>
</form>
  <?php 
match_body($_SESSION['dept'], $_SESSION['year'], $_SESSION['season']);
?>
</table>
</div>
</div>

<br>