2025-01-05 21:35:38 +00:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* index.php
|
|
|
|
* Upload2USB App Index Page
|
|
|
|
*/
|
|
|
|
|
2025-01-12 11:04:47 +00:00
|
|
|
$title = "IIAB Upload to USB";
|
|
|
|
include("header.php");
|
2025-01-05 21:35:38 +00:00
|
|
|
|
|
|
|
//Check if folder for today exists, and get file count if it does
|
|
|
|
$file_count = getFileCount(getTargetFolderPath(0));
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
2025-01-06 03:48:19 +00:00
|
|
|
<form action="upload-file.php" id="upload2usb_form" method="post" enctype="multipart/form-data">
|
2025-01-08 10:45:00 +00:00
|
|
|
<label for="upload2usb" style="font-weight:bold;padding-bottom:10px;">Upload your file here!</label><br/>
|
2025-01-06 03:48:19 +00:00
|
|
|
<input type="file" name="uploaded_file" id="uploaded_file"><br/><br/>
|
2025-01-05 21:35:38 +00:00
|
|
|
<button class="btn btn-dark" name="submit" type="submit" style="width:150px;">Submit</button>
|
|
|
|
</form>
|
|
|
|
<br/>
|
2025-01-12 11:04:47 +00:00
|
|
|
<?php echo $file_count ?> files have been uploaded today!
|
2025-01-05 21:35:38 +00:00
|
|
|
|
|
|
|
|
2025-01-12 11:04:47 +00:00
|
|
|
<?php include ("footer.php"); ?>
|