-
Notifications
You must be signed in to change notification settings - Fork 0
/
pictureUpload.php
45 lines (45 loc) · 1.43 KB
/
pictureUpload.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<html>
<?php include("navBar.php");?>
<?php require("upload.php");?>
<body>
<style>
#overallForm {
font-size: 15px;
display: inline-block;
}
</style>
<div class="container row-offcanvas row-offcanvas-left">
<div class="well column col-lg-12 col-sm-12 col-xs-12" id="content">
<?php
if($uploadOk == 1){
echo "Report submitted. Please do not refresh this page.<br>";
}
?>
<a><h2>Picture Upload: </h2></a>
<a href='pitCheck.php'>
<button class="btn btn-primary">
Pit Check
</button>
</a>
<a href='pitInput.php'>
<button class="btn btn-primary">
PS Form
</button>
</a>
<form action="" method="post" enctype="multipart/form-data">
<div class="form-group">
<b><text class="col-lg-2 control-label" >Team Number: </text></b>
<div class="col-lg-10">
<input type="text" class="form-control" id="teamNumber" name="teamNumber" value="<?php echo ((isset($_GET["teamNumber"])) ? htmlspecialchars($_GET["teamNumber"]) : ""); ?>" placeholder=" ">
</div>
</div>
<br>
<div class="col-lg-12 col-sm-12 col-xs-12">
Select images to upload:
<input type="file" name="fileToUpload" multiple id="fileToUpload">
<input id="PitScouting" type="submit" class="btn btn-primary" value="Submit Data" onclick="" >
</form>
</div>
</div>
</div>
<?php include("footer.php"); ?>