echo '<table border=1>'; while (oci_fetch($stmt)) { echo '<tr>'; // Use the uppercase column names for the associative array indices $bookLink = '<a href=order.php?sID=' . $scroomID . '>  book</a>'; $detailLink = '<a href=movieDetail.php?mID=' . $mID . '>  detaile</a>'; echo '<td> MOVIE: ' . $dao->fetchMovieName($mID) . '</td>' . ' <td>Start: ' . $timeS . ' </td><td>End: ' . $timeE . ' </td><td> theatre: ' . $dao->fetchTheatreName($tID) . '</td><td>' . $bookLink . ' </td><td>' . $detailLink . '</td>'; echo '</tr>'; } echo '</table>'; } ?> <div class="pageContent"> <div id="main"> <div class="container"> <h1>Online Cinema </h1> <h2>Enjoying the real rewards! </h2> </div> <div class="container"> <h3><a href="#">Movie Sechdules </a></h3> <h2><?php displaySchedule(); ?> </h2> <div class="clear"></div> </div> </div> <?php include_once 'footer.php';
<tr><td colspan=8 align="left" bgcolor=1D0E80 height=80 style="vertical-align: bottom;"> <font face="Arial" color="white" size=5><br> University of Toronto: Course Scheduler </font></td> </tr><tr height=12> <td bgcolor=FF8080></td><td bgcolor=FFD851></td><td bgcolor=6ACF54></td> <td bgcolor=45D99E></td><td bgcolor=408080></td><td bgcolor=00A2E8></td> <td bgcolor=A349A4></td><td bgcolor=DB9A37></td> </tr></table> <br> <div align="center"> <font face="Arial"> <table cellpadding='5'><tr><td align='center'> <?php navigationBar($sem); print displaySchedule($schedule, $sem); ?> </td> <td align='left' style="vertical-align: top;"> <br> Add a new course:<br> <form action="insertcourse.php?sem=<?php echo $sem; ?> " id='courses' method='post'> <select name='dept' id = 'depts' form='courses' onChange="deptselect();"> <?php // generate a select form field to choose a department foreach ($depts as $value) { echo "<option value='{$value}'>{$value}</option>"; }