-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuploadpp.php
executable file
·50 lines (47 loc) · 2.1 KB
/
uploadpp.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
46
47
48
49
<?php include('inc/header.php'); ?>
<?php include('inc/nav.php') ?>
<?php if(!ISSET($_SESSION["account"])) header("Location: login.php"); ?>
<div class="banner_section">
<div class="container-fluid">
<section class="slide-wrapper">
<div class="container-fluid">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
</div>
</div>
</section>
</div>
</div>
</div>
<!-- header section end -->
<!-- contact section start -->
<div class="collection_text">New PowerPoint</div>
<div class="layout_padding contact_section">
<div class="container-fluid ram">
<div class="text-center">
<h2>Lade hier deine PowerPoint hoch!</h2><br><br>
<form class="" action="inc/uploadpp_form.php" method="POST" style="width:40%;margin-left:30%;" enctype="multipart/form-data">
<input type="hidden" name="uploadpp" value="uploadpp">
<input class="email-bt" type="text" name="title" placeholder="Titel"><br><br>
<input class="email-bt" type="text" name="desc" placeholder="Beschreibung"><br><br>
<!-- <input class="email-bt" type="text" name="fach" placeholder="Fach (1,2,3...)"><br><br> -->
<!--<select class="nice-select" name="fach">
<?php
for($i=0; $i<count($fach); $i++) {
echo '<option value="'.$i.'">'.$fach[$i].'</option>';
}
?>
</select><br><br>-->
<input class="email-bt" type="file" name="ppfile" placeholder="Titel" style="height:80px"><br><br>
<input type="hidden" name="fach" value="3">
<div class="send_btn">
<br>
<button type="submit" class="main_bt">Fertig :D</button>
</div>
</form>
</div>
</div>
<!-- contact section end -->
</div>
<!-- info text end -->
<?php include('inc/footer.php'); ?>