\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 "" ; } echo "

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.

Learn more about us:

IMC Computer Lab (click on the month to schedule lab time) \n"; echo "\n
\n"; echo "\n"; echo "\n\n"; } /* added 5-23-07 dph. Sets up additional style sheet if mini cal is called from index page. This allws for a smaller calendar to fit on page. */ if ($_GET['cal'] == 'index') { echo ''; } ########################################################################## # Please refer to the README file for licensing and contact information. # # This file has been updated for version 1.6.20060126 # # If you like this application, do support me in its development # by sending any contributions at www.calendarix.com. # # This is file is identical to one in admin section of same name. # # Copyright © 2002-2005 Vincent Hor ########################################################################## global $POPVIEW, $UVIEW, $MINICFG, $CAT_TB, $EVENTS_TB, $DTCONFIG, $ALLOWVIEW, $version ; // popup script if ($DETAILED_ENABLED) { echo "\n"; } if ($MINICFG[0]==0) { echo "
".translate("disabled")."
"; //exit(); } else { if (!isset($_GET['date'])) $date = date("Y-m-d",mktime(0,0,0,date("m"),date("d"),date("Y"))) ; else $date = $_GET['date']; $smyear = substr($date,0,4) ; $smmonth = substr($date,5,2) ; if (substr($smmonth,0,1) == "0") $smmonth = str_replace("0","",$smmonth); $showeventcount = true; $showyear = true; // Set today's date corrected by timezone $um = date("n"); $uy = date("Y"); $ud = date("j"); if ((date("G")+$DTCONFIG[2])>24) { $ud = date("j",mktime(0,0,0,$um,date("j")+1,$uy)) ; $um = date("n",mktime(0,0,0,$um,date("j")+1,$uy)) ; $uy = date("Y",mktime(0,0,0,$um,date("j")+1,$uy)) ; } if ((date("G")+$DTCONFIG[2])<0) { $ud = date("j",mktime(0,0,0,$um,date("j")-1,$uy)) ; $um = date("n",mktime(0,0,0,$um,date("j")-1,$uy)) ; $uy = date("Y",mktime(0,0,0,$um,date("j")-1,$uy)) ; } // number of days in month $firstday = date ("w", mktime(12,0,0,$smmonth,1,$smyear)); $nr = date("t",mktime(12,0,0,$smmonth,1,$smyear)); echo "\n\n"; echo ""; echo "
"; $pdate = date("Y-m-d",mktime(0,0,0,$smmonth-1,1,$smyear)) ; if (date("Y",mktime(0,0,0,$smmonth-1,1,$smyear))>=$DTCONFIG[4]) echo "<<"; echo "     "; if ($ALLOWVIEW[5]==1) { echo "" ; } echo $mth[$smmonth] ; if ($ALLOWVIEW[5]==1) echo " " ; if ($showyear) echo " ".$smyear; echo "     "; $pdate = date("Y-m-d",mktime(0,0,0,$smmonth+1,1,$smyear)) ; if (date("Y",mktime(0,0,0,$smmonth+1,1,$smyear))<=date("Y")+$DTCONFIG[5]) echo ">>"; echo "
\n\n"; echo ""; echo ""; // make the header days of week for ($i=intval($DTCONFIG[3])+1;$i<=(intval($DTCONFIG[3]) + 7);$i++){ echo ""; // sunday else echo "
".substr($week[dayinweek($i)],0,3)."
"; // rest of week } echo "\n\n"; // 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 "
1)&&($i<>7)) echo "width=14% >" ; else echo "width=15% >" ; if (dayinweek($i) == 1) echo "
".substr($week[dayinweek($i)],0,3)."
 \n\n"; if ($devtcnt!=0) { // overlib line echo "" ; while ($row = mysql_fetch_object($result)){ echo "
" ; //if (($SHOW[2]==1)||($SHOW[3]==1)) echo "" ; } } echo "
" ; if ($row->starttime!='') { if ($DTCONFIG[0]==0) { echo "" ; echo "
"; showtime($row->starttime,$row->endtime,1); echo "
" ; echo "
" ; echo "" ; echo "
" ; } echo "
" ; // overlib line if (!$DETAILED_ENABLED) echo "',FGCOLOR,'$MINICFG[3]',TEXTSIZE,'1',WIDTH,'$MINICFG[1]',VAUTO,HAUTO);\" onmouseout=\"return nd();\">"; else echo "',FGCOLOR,'$MINICFG[3]',TEXTSIZE,'1',WIDTH,'$MINICFG[1]',VAUTO,HAUTO,STICKY,CAPTION,' ".$i." ".$mth[$smmonth]." ');\" onmouseout=\"return nd();\">"; } echo "
".$i."
" ; if ($devtcnt!=0) echo ""; 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 "
 "; // commented out dph 5-23-07 to avoid link and mousever //echo ""; echo $trows." ".translate("events")." 
" ; echo "
"; } ?>