= 0 ? (int)$_GET['img'] : 0; $ic = new ImageCycle($imgDir, CEMENT_PWD); ?> Paulo J.M. Monteiro Lectures
hasIndex($imgIndex)) { $slice = new ImageSlicer($ic->getIndex($imgIndex), 4, 4); $slice->set_border(0); $slice->show_image(); } else { print "Image not found."; } ?>