Ejemplo n.º 1
0
    </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>
        <th><p2 class="shadow40">Friday</p2></th>
      </tr>
    </thead>
<?php 
if (isset($_GET['tacal'])) {
    populate_calendar_body($_GET['tacal'], $_SESSION['year'], $_SESSION['season']);
} else {
    populate_calendar_body("8888", $_SESSION['year'], $_SESSION['season']);
}
?>
</table>
</fieldset>

<div style="float:left;clear:left; width: 49%;"> <!--LEFT SIDE-->

<button id="more" name="add" style="width:20%; margin-left:43%; margin-right:43%;">Add a Custom Event</button>

<form id="yourDiv" method="post" action="tacal.php" style="visibility:hidden; margin-left:25%; margin-right:38%; width:90%">
<fieldset id="yourDiv" style="background-color:white; width:70% ">
<legend><b>Add a Custom Event</b></legend>
    <b>Event Name:</b><br>
      <input type="text" id="name" name="name"><br><br>
    
Ejemplo n.º 2
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> 
        <th><p2 class="shadow40">Friday</p2></th>
      </tr>
    </thead>
    <?php 
populate_calendar_body($_SESSION['ta_id'], $_SESSION['year'], $_SESSION['season']);
?>
  </table>
<br />

  <div class="button-row">
    <a href="MathCode.php" class="button blue" style="padding: 5px; font-size: small" >Submit</a>
  </div>

<script>
  function redirectMe (sel) { 
    var url = sel[sel.selectedIndex].value;
    window.location = url; 
  }

</script>