WET 2.0 Correlations to the 2012 Essential Standards

The new Project WET Guide 2.0 has recently been correlated to the 2012 NC Essential Standards for science, mathematics, and health education for grades K-8 and for High School Earth/Environmental Science.

"; /*-- Start of the listing of the files in the directory as a bullet list list in file name order--*/ /* Change . to directory name if not using current directory */ $file_dir="."; /* $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") { $filename[] = $file; } } natcasesort($filename); reset($filename); foreach ($filename as $nfile) { /* $filedesc is the file description */ /* $fileext is the file extension assumes a 3 character extension*/ list($filedesc,$fileext) = explode(".",$nfile); /* $fileurl is the full url for the file */ $fileurl=($file_dir."/".$nfile); // echo "
  • ".$filedesc." ".$fileext."
  • "; echo "
  • ".$nfile."
  • "; } echo ""; /*-- End list of files --*/ /* Script file uploads */ $site_name = $_SERVER['HTTP_HOST']; $url_dir = "http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']); $url_this = "http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']; $upload_dir = $site_path."Education_and_Technical_Assistance/Project_WET/Downloads/Correlations to the NC Standard Course of Study/"; $upload_url = $url_dir; $message =""; //Check if upload directory exists if (!is_dir($upload_dir)) { die ("upload_files directory doesn't exist"); } if ($_FILES['userfile']) { $message = do_upload($upload_dir, $upload_url); } else { $message = ""; } print $message; function do_upload($upload_dir, $upload_url) { $temp_name = $_FILES['userfile']['tmp_name']; $file_name = $_FILES['userfile']['name']; $file_type = $_FILES['userfile']['type']; $file_size = $_FILES['userfile']['size']; $result = $_FILES['userfile']['error']; $file_url = $upload_url."/".$file_name; $file_path = $upload_dir.$file_name; //File Name Check if ( $file_name =="") { $message = ""; return $message; } $result = move_uploaded_file($temp_name, $file_path); $message = ($result)?"File url $file_url" : "Somthing is wrong with uploading a file."; return $message; } echo '
    '; /* For DWR Staff to add files to share */ if (ereg ("10.251.153",$_SERVER["REMOTE_ADDR"])){ echo ""; echo "
    "; echo "Upload File"; echo ""; echo "
    "; } include('dwr.footer.php'); ?>