Welcome to Parkside's
Instructional Materials Center
Library
Media Specialist:
Ms. Vittitoe
IMC
Secretary:
Mrs. Wheet
The library's role at Parkside Junior High is
to provide information services to students and faculty in relationship to the
curriculum that the school supports. The librarian meets regularly with
the staff to develop different units of study.
The library has in it's collection a wide
variety of books, magazines, audio/visual materials and software. All
library materials are listed in the online catalog by subject, author and
title.
The library provides a Reference
Desk to the world wide web. Check out some cool sites used by our
students and staff.
";
// print initial blank squares
for ($i=1;$i<=blankdays(intval($DTCONFIG[3]),$firstday);$i++) echo "
";
$a=0;
for ($i=1;$i<=$nr;$i++){
// now get eventual events on $i
$query = "select id,user,title,starttime,endtime,cat_color from ".$EVENTS_TB." left join ".$CAT_TB." on ".$EVENTS_TB.".cat=".$CAT_TB.".cat_id where day='$i' and month='$smmonth' and year='$smyear' and approved='1' " ;
if ($ALLOWVIEW[11]==1) $query .= " and (".$CAT_TB.".parent_id=$CATLEVEL or ".$CAT_TB.".cat_id=$CATLEVEL)" ;
else if ($CATLEVEL!=0) $query .= " and ".$EVENTS_TB.".cat=$CATLEVEL";
// user
if ($USERNAME!="") $query .= " and ".$EVENTS_TB.".user='".$USERNAME."' ";
// scope
$query .= " and priority<>5 and priority<>2 ";
$query = $query." order by day,month,year,starttime,title ASC";
$result = mysql_query($query);
$devtcnt = mysql_num_rows($result) ;
echo "
\n\n";
$a++;
if (blankdays(intval($DTCONFIG[3]),date("w",mktime(0,0,0,$smmonth,$i,$smyear))) == 6) {
echo "
\n\n
";
$a = 0;
}
}
if ($a!=0) {
for ($i=$a;$i<7;$i++) {
echo "
";
}
}
echo "
";
if ($showeventcount) {
echo "
" ;
// get total number of events for month
$tquery = "select id from ".$EVENTS_TB." left join ".$CAT_TB." on ".$EVENTS_TB.".cat=".$CAT_TB.".cat_id where ".$EVENTS_TB.".month='".$smmonth."' and ".$EVENTS_TB.".year='".$smyear."' and ".$EVENTS_TB.".approved='1' " ;
if ($ALLOWVIEW[11]==1) $tquery .= " and (".$CAT_TB.".parent_id=$CATLEVEL or ".$CAT_TB.".cat_id=$CATLEVEL)" ;
else if ($CATLEVEL!=0) $tquery .= " and ".$EVENTS_TB.".cat=$CATLEVEL";
if ($USERNAME!="") { // view user specific events only
$tquery .= " and ".$EVENTS_TB.".user='".$USERNAME."' ";
}
$tresult = mysql_query($tquery);
$trows = mysql_num_rows($tresult) ;
echo "