Feature: Added Folder support for files

This commit is contained in:
johnnyq
2023-08-23 18:02:51 -04:00
parent d200575aec
commit f88f04edd8
18 changed files with 426 additions and 232 deletions

View File

@@ -28,7 +28,7 @@
<select class="form-control" name="folder">
<option value="0">/</option>
<?php
$sql_folders_select = mysqli_query($mysqli, "SELECT * FROM folders WHERE folder_client_id = $client_id ORDER BY folder_name ASC");
$sql_folders_select = mysqli_query($mysqli, "SELECT * FROM folders WHERE folder_location = $folder_location AND folder_client_id = $client_id ORDER BY folder_name ASC");
while ($row = mysqli_fetch_array($sql_folders_select)) {
$folder_id_select = intval($row['folder_id']);
$folder_name_select = nullable_htmlentities($row['folder_name']);