", ""); // parse 'lastUpdated': $pos = 0; $lastUpdated = GetElementByName($data, "", ""); // parse 'announcements': $pos = 0; $announcements = trim(GetElementByName($data, "", "")); // parse 'NewIfLessThan': $pos = 0; $NewIfLessThan = GetElementByName($data, "", ""); ?>


Iowa Rockets Pictures

Updated:

", "")) { $teams[$count] = $node; $count++; $data = substr($data, $pos); } $numberOfTeams = sizeof($teams); for ($t=0; $t<$numberOfTeams; $t++) { $team = $teams[$t]; // parse team and create and array of albums. $pos = 0; $teamdata = $team; $teamName = GetElementByName($teamdata, "", ""); $teamdata = substr($teamdata, $pos); $albums = array(); $count = 0; while ($node = GetElementByName($teamdata, "", "")) { $albums[$count] = $node; $count++; $teamdata = substr($teamdata, $pos); } $numberOfAlbums = sizeof($albums); if ($numberOfAlbums == 0 ) { $newPictures[$teamName] = 'false'; } else { $hasNewPictures = 'false'; for ($a=0; $a<$numberOfAlbums; $a++) { $album = $albums[$a]; // parse album and create and array of pictures. $pos = 0; $albumdata = $album; $albumName = GetElementByName($albumdata, "", ""); $albumdata = substr($albumdata, $pos); $albumAdded = GetElementByName($albumdata, "", ""); $albumdata = substr($albumdata, $pos); if ( floor( (strtotime("now") - strtotime($albumAdded) ) / (60 * 60 * 24) ) <= $NewIfLessThan ) { $hasNewPictures = 'true'; } } $newPictures[$teamName] = $hasNewPictures; } } ?>
12Black Pictures '; } ?> 13Black Pictures '; } ?> 14BlackPictures '; } ?> 15Black Pictures '; } ?> 16Black Pictures '; } ?> 17Black Pictures '; } ?> 18Black Pictures '; } ?>
12Gold Pictures '; } ?> 13Gold Pictures '; } ?> 14Gold Pictures '; } ?> 15Gold Pictures '; } ?> 16Gold Pictures '; } ?> 17Gold Pictures '; } ?>  
  13Silver Pictures '; } ?> 14R Pictures '; } ?> 15R Pictures '; } ?> 16R Pictures '; } ?> 17R Pictures '; } ?> 18R Pictures '; } ?>
tags. $count = 0; $pos = 0; while ($node = GetElementByName($data, "", "")) { $teams[$count] = $node; $count++; $data = substr($data, $pos); } $numberOfTeams = sizeof($teams); for ($t=0; $t<$numberOfTeams; $t++) { $team = $teams[$t]; // parse team and create and array of albums. $pos = 0; $teamdata = $team; $teamName = GetElementByName($teamdata, "", ""); $teamdata = substr($teamdata, $pos); ?>
", "")) { $albums[$count] = $node; $count++; $teamdata = substr($teamdata, $pos); } $numberOfAlbums = sizeof($albums); if ($numberOfAlbums == 0 ) { ?> "); $picturedata = substr($picturedata, $pos); $pictureName = $picture[$p]['fileName']; $pictureCaption = $picture[$p]['caption']; ?>

Pictures
Added

Roster Back To Top

Pictures Needed!

", ""); $albumdata = substr($albumdata, $pos); $albumAdded = GetElementByName($albumdata, "", ""); $albumdata = substr($albumdata, $pos); // echo "
albumName: ".$albumName."
"; ?>
' . $albumDisplayName ; } echo $albumDisplayName; ?>
", "")) { $pictures[$count] = $node; $count++; $albumdata = substr($albumdata, $pos); } $numberOfPictures = sizeof($pictures); if ($numberOfPictures == 0 ) { ?>

Pictures Needed!

", ""); $picturedata = substr($picturedata, $pos); $picture[$p]['caption'] = GetElementByName($picturedata, "
", "
"); $startpos = strpos($xml, $start); if($debug) echo("startpos: " . $startpos . "
"); if ($startpos === false) { return false; } $endpos = strpos($xml, $end); if($debug) echo("endpos: " . $endpos . "
"); $endpos = $endpos+strlen($end); if($debug) echo("endpos: " . $endpos . "
"); $pos = $endpos; $endpos = $endpos-$startpos; $endpos = $endpos - strlen($end); $tag = substr ($xml, $startpos, $endpos); $tag = substr ($tag, strlen($start)); if($debug) echo("tag: " . $tag . "
"); if($debug) echo("

"); return $tag; } ?>