ikinci temizlik tamamlandı

This commit is contained in:
Ümit Tunç
2026-04-28 21:15:09 +03:00
parent f80443aec0
commit 37e7296527
8313 changed files with 2400677 additions and 0 deletions
@@ -0,0 +1,40 @@
<div class="modal fade" id="select-columns" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<form action="?select-columns" method="post">
@csrf
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel"><?php echo e2("Select Column") ?></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<?php
$excepts = ['id'];
$selectedColumns = $columns;
if(isset($_SESSION['select-columns'][$tableName])) {
$selectedColumns = $_SESSION['select-columns'][$tableName];
}
foreach($columns AS $column) {
?>
@if(!in_array($column, $excepts))
<label><input type="checkbox" name="column[]"
@if(in_array($column, $selectedColumns))
checked
@endif
value="{{$column}}" id=""> {{e2($column)}}</label> <br>
@endif
<?php
} ?>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo e2("Close") ?></button>
<button type="submit" class="btn btn-primary save"><?php echo e2("Save changes") ?></button>
</form>
</div>
</div>
</div>
</div>