blob: 85e59cca2521b3f6f591befaa24155ab40f4f47f (
plain)
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
|
<div>
<div class="filesystem">
<h2 style="display: flex; gap: 1rem;">
<div class="path">
<a class="pathentry" href="#"> <?php echo $_SESSION['username'] ?>'s files/</a><a class="pathentry" href="#">foo/</a><a class="pathentry" href="#">bar</a></div>
<input id="upload_btn" type="button" value="Upload" onclick="begin_upload()">
</h2>
<div class="files">
<div class="file">
<img src="/mimeicons/application-pdf.png">
<div class="filename">asdf</div>
</div>
</div>
</div>
</div>
<form id="upload_form" style="display:none;" action="php/upload.php" method="post">
<input id="filename" name="filename">
<input type="file" name="the_file" id="the_file">
</form>
<script src="loggedin.js"></script>
|