43 lines
1.3 KiB
PHP
Executable File
43 lines
1.3 KiB
PHP
Executable File
<?php
|
|
session_start();
|
|
if(count($_SESSION)==2 and isset($_SESSION['id_joueur']) and isset($_SESSION['id_club'])) {
|
|
$id_joueur_log=$_SESSION['id_joueur'];
|
|
$id_club_log=$_SESSION['id_club'];
|
|
?>
|
|
<!DOCTYPE html PUBLIC "-//WAPFORUM/DTD XHTML Mobile 1.1//EN"
|
|
"<http://www.openmobilealliance.org/tech/DTD/xhtml-mobile11.dtd">
|
|
<head>
|
|
<TITLE>ResaTennis</TITLE>
|
|
<meta http-equiv:"content-type" content="text/html, charset=UTF-8">
|
|
<!--<meta http-equiv:"Cache-Control" content="public">-->
|
|
<!-- Style CSS -->
|
|
<link rel="stylesheet" href="style_port.css" type="text/css">
|
|
</head>
|
|
<body>
|
|
<div id="tout">
|
|
<?php
|
|
/* Recherche du joueur */
|
|
include_once("fonctions_mobile.php");
|
|
$nom_joueur=recherche_joueur($id_joueur_log);
|
|
|
|
echo "<p style='text-align:center;font-weight:bold;'>";
|
|
echo "Bienvenue<br />$nom_joueur";
|
|
echo "</p>";
|
|
|
|
echo "<p style='text-align:center;'>";
|
|
$nom_club=recherche_club($id_club_log);
|
|
echo "<a href='consult_port.php'>Réserver un terrain au<br />$nom_club</a>";
|
|
echo "<br /><br />";
|
|
echo "<a href='inscription_port.php'>S'inscrire à un tournoi</a>";
|
|
echo "<br /><br />";
|
|
echo "<a href='deco_port.php'>Déconnexion</a>";
|
|
echo "</p>";
|
|
|
|
include_once("piedpage_port.php");
|
|
}
|
|
else {
|
|
echo "acces impossible";
|
|
include("index_port.php");
|
|
}
|
|
|
|
?>
|