Regroupement des fichiers ressources dans un dossier "ressources". La page "download.php" est quasi terminée.
This commit is contained in:
parent
bfac6cafe8
commit
3282ff7eef
|
@ -5,6 +5,6 @@
|
|||
<head>
|
||||
<title>Titre</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" href="simple.css" />
|
||||
<link rel="stylesheet" href="ressources/simple.css" />
|
||||
</head>
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
<?php
|
||||
session_start();
|
||||
?>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
|
||||
|
@ -5,17 +9,17 @@
|
|||
<head>
|
||||
<title>Titre</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" href="simple.css" />
|
||||
<link rel="stylesheet" href="ressources/simple.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="menu">
|
||||
<?php include("menu.html"); ?>
|
||||
<?php include("ressources/menu.html"); ?>
|
||||
</div>
|
||||
<div class="content">
|
||||
Le contenu.
|
||||
</div>
|
||||
<div class="footer">
|
||||
<?php include("footer.html"); ?>
|
||||
<?php include("ressources/footer.html"); ?>
|
||||
</div>
|
||||
</body>
|
||||
</html><?php
|
||||
|
|
|
@ -1,21 +1,46 @@
|
|||
<?php
|
||||
session_start();
|
||||
|
||||
if(!isset($_SESSION['userId']))
|
||||
header("location:login.php?return=download.php");
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
|
||||
<head>
|
||||
<title>Titre</title>
|
||||
<title>PtiClic Android - Téléchargement</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" href="simple.css" />
|
||||
<link rel="stylesheet" href="ressources/simple.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="menu">
|
||||
<?php include("menu.html"); ?>
|
||||
<?php include("ressources/menu.html"); ?>
|
||||
</div>
|
||||
<div class="content">
|
||||
Le contenu.
|
||||
<h2>Téléchargez la dernière version :</h2>
|
||||
> <a href="ressources/pticlic.apk" id="downloadlink">Télécharger</a>
|
||||
<h2>Installation de l'application :</h2>
|
||||
<h3> A partir du téléphone </h3>
|
||||
<ul>
|
||||
<li> Téléchargez l'application en cliquant sur le lien ci-dessus.</li>
|
||||
<li> Un fois téléchargée Android vous demande si vous voulez l'installée, selectionnez oui.</li>
|
||||
<li> Patientez quelques instant. Une fois l'installation terminée démarrez l'application.</li>
|
||||
<li> Suivez les instructions pour le premier démarrage de l'application</li>
|
||||
</ul>
|
||||
<h3> A partir d'un ordinateur </h3>
|
||||
<ul>
|
||||
<li> Téléchargez sur votre ordinateur l'application en cliquant sur le lien ci-dessus. </li>
|
||||
<li> Transférez le fichier ainsi téléchargé sur votre téléphone (par bluetooth, usb...)</li>
|
||||
<li> Depuis votre téléphone allez cherchez sur votre carte mémoire l'application ainsi transférée.</li>
|
||||
<li> Cliquez sur l'application et installé là sur le téléphone.</li>
|
||||
<li> Démarrez l'application et suivez les instructions pour le premier démarrage.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<?php include("footer.html"); ?>
|
||||
<?php include("ressources/footer.html"); ?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,15 +1,19 @@
|
|||
<?php
|
||||
session_start();
|
||||
?>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
|
||||
<head>
|
||||
<title>Titre</title>
|
||||
<title>PtiClic Android - Accueil</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" href="simple.css" />
|
||||
<link rel="stylesheet" href="ressources/simple.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="menu">
|
||||
<?php include("menu.html"); ?>
|
||||
<?php include("ressources/menu.html"); ?>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>Le projet</h2>
|
||||
|
@ -18,7 +22,7 @@
|
|||
<p> La version beta de PtiClic...</h2>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<?php include("footer.html"); ?>
|
||||
<?php include("ressources/footer.html"); ?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
<?php>
|
||||
include("_head.php");
|
||||
session_start();
|
||||
include("_head.php");
|
||||
?>
|
||||
<body>
|
||||
<div class="menu">
|
||||
<?php include("menu.html"); ?>
|
||||
<?php include("ressources/menu.html"); ?>
|
||||
</div>
|
||||
<div class="content">
|
||||
<p>Vous êtes déjà inscrit ? Authentifiez-vous :</p>
|
||||
|
@ -35,7 +36,7 @@
|
|||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<?php include("footer.html"); ?>
|
||||
<?php include("ressources/footer.html"); ?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
<h1>PtiClic sous Android - Version Alpha</h1>
|
||||
|
||||
<span id="links">
|
||||
<a href="index.php"> Accueil </a>
|
||||
<a href="login.php"> Se connecter </a>
|
||||
<a href="signup.php"> S'incrire </a>
|
||||
<a href="download.php"> Téléchargement </a>
|
||||
<a href="contact.php"> Contact </a>
|
||||
<!-- <a href=".php"> Créer des parties </a> -->
|
||||
</span>
|
24
code/serveur/php/ressources/menu.html
Normal file
24
code/serveur/php/ressources/menu.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
<h1>PtiClic sous Android - Version Alpha</h1>
|
||||
|
||||
<?php
|
||||
if(!isset($_SESSION['userId'])) // Menu hors connexion.
|
||||
{?>
|
||||
<span id="links">
|
||||
<a href="index.php"> Accueil </a>
|
||||
<a href="login.php"> Se connecter </a>
|
||||
<a href="signup.php"> S'incrire </a>
|
||||
<a href="download.php"> Téléchargement </a>
|
||||
<a href="contact.php"> Contact </a>
|
||||
<!-- <a href=".php"> Créer des parties </a> -->
|
||||
</span>
|
||||
<?php }
|
||||
else // Menu une fois connecté.
|
||||
{?>
|
||||
<span id="links">
|
||||
<a href="index.php"> Accueil </a>
|
||||
<a href="download.php"> Téléchargement </a>
|
||||
<a href="contact.php"> Contact </a>
|
||||
<!-- <a href=".php"> Créer des parties </a> -->
|
||||
<a href="login.php?d=true"> Se deconnecter </a>
|
||||
</span>
|
||||
<?php } ?>
|
|
@ -1,12 +1,12 @@
|
|||
<?php>
|
||||
include("_head.php");
|
||||
include("FormValidator.php");
|
||||
include("ressources/FormValidator.php");
|
||||
$fv = new FormValidator("post");
|
||||
?>
|
||||
<body>
|
||||
<div class="menu">
|
||||
<?php include("menu.html"); ?>
|
||||
|
||||
<?php include("ressources/menu.html"); ?>
|
||||
</div>
|
||||
<p>Vous n'êtes pas encore inscrit ? Inscrivez-vous :
|
||||
<form name="signupform" method="post" >
|
||||
|
||||
|
@ -58,7 +58,7 @@
|
|||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<?php include("footer.html"); ?>
|
||||
<?php include("ressources/footer.html"); ?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue
Block a user