8) { $yearRange = date('Y', time()) . " - " . date('Y', strtotime("next year")); } else { $yearRange = date('Y', strtotime("last year")) . " - " . date('Y', time()); } function stripLineBreaks($string) { $string = str_replace("
", " ", $string); $string = str_replace(chr(10), "", $string); $string = str_replace(chr(13), " ", $string); //remove apostrophes to stop them breaking javascript $string = str_replace("'", "`", $string); return($string); } ?>

Software Search

Only show suites with:

>Data Projector s

onClick="javascript:updateSWList();">



Departmental PC suites

Departmental PC suites (see list below) are funded by a department or unit for use by the students of that unit. They are not a central resource and bookings by Academic staff for class purposes are not handled by Information Solutions and Services. They may in some cases be controlled by swipe card access.

PC Suite List

The following is an overview of all departmental suites 0) { $suiteSQL .= " AND"; echo " and"; } $suiteSQL .= " has_ohp > 0"; $wherecount++; echo " Projectors"; } if (!empty($limitsoftware)) { if ($software == "all") { echo " with any software installed"; } else { if ($wherecount > 0) { $suiteSQL .= " AND"; echo " and"; } $suiteSQL .= " s.recordID=ss.suiteID AND ss.sw_packagesID=sp.recordID AND sp.name='$software'"; echo " $software installed"; } $wherecount++; } //ONLY LIST DEPARTMENTAL SUITES if ($wherecount == 0) { $suiteSQL .= " WHERE "; } else { $suiteSQL .= " AND "; } $suiteSQL .= "s.public_access = 0 AND s.name NOT LIKE '%05-06%'"; echo ":"; $suiteSQL .= " ORDER BY name"; ?>

"; } while($rs = db_fetch_array($suiteQuery)) { if ($bgCol == "#FFFFFF") { $bgCol = "#F6F2F2"; } else { $bgCol = "#FFFFFF"; } echo ""; //echo ""; echo ""; echo "" . chr(10) . chr(13); echo ""; } mysql_close(); echo "
Suite Name Location PCs
There are no suites matching the supplied criteria.
$rs[name]"; //echo "$rs[name]"; echo "" . htmlentities($rs[name]) . ""; if ($rs[allow_bookings] == 0 && isOnCampus() && !isSuitePC()) { echo "*"; $footnote_needed = true; } if ($rs[closed] == 1) { echo "**"; $second_footnote_needed = true; } if ($rs[restricted] == 1) { echo "!"; $restricted_access = true; } echo "$rs[location]$rs[no_pcs]
"; if ($footnote_needed) { echo "
*Note that this departmental suite is not bookable via Information Solutions and Services' Suite Booking system.
"; } if ($second_footnote_needed) { echo "**Closed for Maintenance."; } if ($restricted_access) { echo "
!Access is restricted to students of relevant courses through logon credentials or swipe card access to these suites.
"; } ?>