/[libdata]/branches/paul_xx/courses.phtml
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /branches/paul_xx/courses.phtml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 66 by dpavlin, Fri Dec 5 18:40:01 2003 UTC revision 67 by dpavlin, Thu Mar 18 19:24:54 2004 UTC
# Line 89  require_once ("header.phtml"); Line 89  require_once ("header.phtml");
89    
90                          <select name = "coursesub">                          <select name = "coursesub">
91                          <option value="">Unselected</option>                          <option value="">Unselected</option>
92                          <?php dropDownCoursesubSelected($con, " WHERE s.coursesub_id > 1", $coursesub); ?>                          <?php dropDownCoursesubSelected(" WHERE s.coursesub_id > 1", $coursesub); ?>
93                          </select>                          </select>
94                  </td>                  </td>
95    
# Line 102  require_once ("header.phtml"); Line 102  require_once ("header.phtml");
102    
103                          <select name = "faculty_id">                          <select name = "faculty_id">
104                          <option value="">Unselected</option>                          <option value="">Unselected</option>
105                          <?php dropDownFacultySelected($con, " WHERE f.faculty_id > 1", $faculty_id); ?>                          <?php dropDownFacultySelected(" WHERE f.faculty_id > 1", $faculty_id); ?>
106                          </select>                          </select>
107                  </td>                  </td>
108    
# Line 178  else if (strlen($course_descr) > 0) { Line 178  else if (strlen($course_descr) > 0) {
178  $sql .= " ORDER BY c.course_concat";  $sql .= " ORDER BY c.course_concat";
179    
180  // Fetch a recordset  // Fetch a recordset
181  $rs = mysql_query($sql, $con);  $rs = mysql_tryquery($sql);
182    
183  // Cycle through them  // Cycle through them
184  while ($row = mysql_fetch_array ($rs)) {  while ($row = mysql_fetch_array ($rs, MYSQL_ASSOC)) {
185          $course_num = $row["course_num"];          $course_num = $row["course_num"];
186          $page_title = $row["page_title"];          $page_title = $row["page_title"];
187          $page_id = $row["page_id"];          $page_id = $row["page_id"];
# Line 216  require_once ("footer.phtml"); Line 216  require_once ("footer.phtml");
216  ?>  ?>
217                    
218  </body>  </body>
219  </html>  </html>

Legend:
Removed from v.66  
changed lines
  Added in v.67

  ViewVC Help
Powered by ViewVC 1.1.26