Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64
Your IP : 18.227.183.161
<?php
include('includes/header.php');
is_logged();
?>
<div class="body">
<form action="search_post.php" class="sky-form" method="post">
<header>Recherche</header>
<fieldset>
<section>
<label class="label">Nom du joueur</label>
<label class="input">
<input type="text" name="player" value="<?php display_post('player'); ?>">
</label>
</section>
<?php if(isset($_SESSION['post']['result'])) { ?>
<section>
<label class="label">Résultat</label>
<div class="note">
<?php
foreach($_SESSION['post']['result'] as $id => $player) { ?>
<dd><a href="player.php?id=<?php echo $id; ?>"><?php echo implode(', ', $player); ?></a></dd>
<?php } ?>
</div>
</section>
<?php } ?>
</fieldset>
<footer>
<button type="submit" class="button">Submit</button>
</footer>
</form>
</div>
<?php
include('includes/footer.php');
?>
|