mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Client File upload module created
This commit is contained in:
25
client_files.php
Normal file
25
client_files.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php $sql = mysqli_query($mysqli,"SELECT * FROM files WHERE client_id = $client_id ORDER BY file_id DESC"); ?>
|
||||
<h3>Pictures</h3>
|
||||
<hr>
|
||||
<div class="row">
|
||||
|
||||
<?php
|
||||
|
||||
while($row = mysqli_fetch_array($sql)){
|
||||
$file_id = $row['file_id'];
|
||||
$file_name = $row['file_name'];
|
||||
|
||||
?>
|
||||
<div class="col-2 mb-3">
|
||||
<?php echo $file_name; ?>
|
||||
<a href="#" data-toggle="modal" data-target="#viewClientFileModal<?php echo $file_id; ?>">
|
||||
<img class="img-fluid" src="<?php echo $file_name; ?>">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
include("view_client_file_modal.php");
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user