<?php
	require_once ('authorize1.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">

<head>
<title>Moreno Travel</title>
<script src="sorttable.js"></script>
    <link href="style.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="content-type"
        content="text/html; charset=utf-8" />



</head>




<?php include 'admin_header.php'; ?>

<h1></h1>

<?php


// Where the file is going to be placed 
$target_path = "staffimg/";

/* Add the original filename to our target path.  
Result is "pkgimg/filename.extension" */
$target_path = $target_path . basename( $_FILES['uploadedfile']['name']); 

if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) {
    echo "The file ".  basename( $_FILES['uploadedfile']['name']). 
    " has been uploaded.  Click <a href=\"admin_teamuploadimage.php\">here</a> to upload another picture.";
} else{
    echo "There was an error uploading the file, please try again!";
}
?>

</div>


</div>

</body>

</html>
