aboutsummaryrefslogtreecommitdiffstats
path: root/loggedin.php
blob: cc31684825c5dde5f1a21518d8739804641ea0a3 (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
26
27
28
29
30
31
<div>
    <div class="filesystem">
        <h2 style="display: flex; gap: 0rem;">
            <button id="upload_btn" onclick="begin_upload()">Upload</button>
            <div class="separator"></div>
            <button id="upload_btn" onclick="new_folder()">New Folder</button>
            <div class="separator"></div>
            <div class="path" id="the_path">
                <button class="pathentry" id="home_path_entry">
		<?php
		$user=$_SESSION['user_object'];
		echo $user->username;
	       	?>
		's files</button>
            </div>
        </h2>

        <div class="files" id="current_directory">
        </div>
    </div>

</div>

<form id="upload_form" style="display:none;" action="php/upload.php" method="post" enctype="multipart/form-data">
    <input id="filename" name="filename">
    <input type="file" name="the_file" id="the_file">
    <input name="parent_directory" id="upload_parent_directory">
</form>


<script src="loggedin.js"></script>