include_once('dwr.header.php'); $thisdir=str_replace($_SERVER["DOCUMENT_ROOT"],'',dirname(__FILE__)).'/'; ?>
This directory has copies of presentations presented by the Division of Water Resources staff related to interbasin transfer issues. The files are available for information purposes only.
/*-- Listing of the files in the directory by date as a bullet list --*/ /* Change . to directory name if not using current directory */ $file_dir=dirname(__FILE__); /* $filename - array to hold the list of file names */ $filename = array(); /* Loop to read list of files in $file_dir */ $dir=opendir($file_dir); while ($file=readdir($dir)) { /* Do not include these files */ if ($file != "." && $file != ".." && $file != "index.php" && $file != "i.php" && $file != "cbtindex.php" && $file != "nd.dbg") { $filename[] = $file; } } /* rsort for newest to oldest, sort for oldest to newest */ natcasesort($filename); reset($filename); foreach ($filename as $nfile) { /* $filedate is the file date */ /* $filedesc is the file description */ /* $fileext is the file extension assumes a 3 character extension*/ list($filedate,$filedesc,$fileext) = explode(".",$nfile); //$nfile=$filedesc.".".$fileext; /* $fileurl is the full url for the file */ // $fileurl=($file_dir."/".$nfile); // fileurl is modified to give a proper path - changes had to be made for this page's inclusion in new tabbed index $fileurl=(str_replace($_SERVER["DOCUMENT_ROOT"],'',$file_dir)."/".$nfile); if(is_numeric(substr($nfile,0,2))) $nfile=substr($nfile,2); // echo "