insert-coin/public_html/index.php

32 lines
847 B
PHP
Raw Normal View History

<?php
include("../resources/config.php");
$page_title = "Insert " . ucfirst($file_beam_item);
include("../resources/templates/header.php");
?>
2017-12-21 01:13:31 -06:00
2018-04-06 22:36:00 -05:00
<main>
2018-02-03 23:15:28 -06:00
<form action="beam.php" method="post" enctype="multipart/form-data">
2017-12-21 01:13:31 -06:00
<p>
<input type="text" placeholder="Filename (Blank for uploaded name)"
2018-04-06 22:36:00 -05:00
name="desired_filename" class="basic-text">
2017-12-21 01:13:31 -06:00
</p>
2018-02-03 23:14:25 -06:00
<p>
<input type="text" placeholder="Source (Optional)"
2018-04-06 22:36:00 -05:00
name="file_source" class="basic-text">
2018-02-03 23:14:25 -06:00
</p>
2017-12-22 23:07:38 -06:00
<input type="file" name="fileToUpload" id="fileToUpload" style="margin: 0 auto">
<input style="margin-top: 10px; margin-bottom: 10px" type="submit"
value="INSERT <?php echo(strtoupper($file_beam_item)); ?>" name="submit">
2017-12-21 01:13:31 -06:00
</form>
<img alt="<?php echo($file_beam_alt); ?>" src="<?php echo($file_beam_img); ?>">
2017-12-22 23:07:38 -06:00
</main>
2017-12-21 01:13:31 -06:00
<?php include("../resources/templates/footer.html");?>