index.php 800 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. include("res/config.php");
  3. $page_title = "Insert " . ucfirst($file_beam_item);
  4. include("res/header.php");
  5. ?>
  6. <main>
  7. <form action="beam.php" method="post" enctype="multipart/form-data">
  8. <p>
  9. <input type="text" placeholder="Filename (Blank for uploaded name)"
  10. name="desired_filename" class="basic-text">
  11. </p>
  12. <p>
  13. <input type="text" placeholder="Source (Optional)"
  14. name="file_source" class="basic-text">
  15. </p>
  16. <input type="file" name="fileToUpload" id="fileToUpload" style="margin: 0 auto">
  17. <input style="margin-top: 10px; margin-bottom: 10px" type="submit"
  18. value="INSERT <?php echo(strtoupper($file_beam_item)); ?>" name="submit">
  19. </form>
  20. <img alt="<?php echo($file_beam_alt); ?>" src="<?php echo($file_beam_img); ?>">
  21. </main>
  22. <?php include("res/footer.html");?>