+ if($has_classes) { ?>
+ foreach($classes as $class) { ?>
+ =longID($class)?>: =className($class)?>
+ } ?>
+ } else { ?>
+ No Stellar sites available for this department
+ } ?>
+
+
+ if($back) { ?>
+
+
=longerID($class)?>: =className($class)?>
+
=$term?>
+
+
+ =$tabs_html?>
+
+
+ switch ($tab) {
+ case "News": ?>
+ if($has_news) { ?>
+
+ foreach($items as $index => $item) { ?>
+
+ =$item['title']?>:
+
+ if(is_long_text($item)) { ?>
+ =summary($item)?> more
+ } else { ?>
+ =full($item)?>
+ } ?>
+ (=sDate($item)?>)
+
+
+ } ?>
+ } else { ?>
+
No announcements
+ } ?>
+
+ if(!$all && $has_old_news) { ?>
+
+ Older announcements >
+
+ } ?>
+
+ break; case "Info": ?>
+
+ foreach($class['times'] as $time) { ?>
+
=$time['title']?>:
+
+ =$time['time']?> (=$time['location']?>)
+
+ } ?>
+
+
+
=htmlentities($class['description'])?>
+
+ break; case "Staff": ?>
+
+
Instructors:
+
+ foreach($class['staff']['instructors'] as $instruct) { ?>
+ =$instruct?>
+ } ?>
+
+
+ if(count($class['staff']['tas'])) { ?>
+
TAs:
+
+ foreach($class['staff']['tas'] as $TA) { ?>
+ =$TA?>
+ } ?>
+
+ } ?>
+
+ } ?>
+
+
+