AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 13.58.232.94


Current Path : /var/www/lhjmq-records.qc.ca/public_html/xsl/records/booknew/cms/
Upload File :
Current File : /var/www/lhjmq-records.qc.ca/public_html/xsl/records/booknew/cms/search.php.bak

<?php include('includes/header.php'); ?>
<?php is_logged(); 
			
echo '<pre>';
print_r($_SESSION);
echo '</pre>';
				
?>
		<div class="body">
			<!-- Red color scheme -->
			<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>
			<!--/ Red color scheme -->			
<?php include('includes/footer.php'); ?>