dir_sub($directory, '0'); //the rest you don't have to worry about $gallery->draw_nav($gallery->gNav); include('include/header.php'); // echo '
';
// print_r($_GET);
// print_r($gallery->gNav);
// print_r($gallery->gImage);
// print_r($gallery->gComment);
// echo '
'; $gallery->draw_gallery($gallery->gImage,$directory,$local_gallery); include('include/footer.php'); ?>