www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 6fe176230d4a1eaf22479b3a832d5f91814f1c21
parent 1e821cba435487ea6db7c6333dafb76b9fbfed56
Author: John Charron <rm_rf_windows@yahoo.fr>
Date:   Wed, 23 Feb 2011 17:14:46 +0100

Avancement sur le site pendant le cours de SICP (jc)

Diffstat:
Mcode/serveur/php/download.php | 3+--
Mcode/serveur/php/index.php | 11++++++-----
Mcode/serveur/php/ressources/footer.html | 25++++++++++++++++++++++++-
Mcode/serveur/php/ressources/menu.html | 27++++++++++++---------------
Mcode/serveur/php/ressources/simple.css | 33+++++++++++++++++++++++++++++----
Mcode/serveur/php/signup.php | 2+-
6 files changed, 73 insertions(+), 28 deletions(-)

diff --git a/code/serveur/php/download.php b/code/serveur/php/download.php @@ -20,8 +20,7 @@ if(!isset($_SESSION['userId'])) <?php include("ressources/menu.html"); ?> </div> <div class="content"> - <h2>Téléchargez la dernière version :</h2> - > <a href="ressources/pticlic.apk" id="downloadlink">Télécharger</a> + <p id="downloadp"><a href="ressources/pticlic.apk" id="downloadlink">Télécharger</a></p> <h2>Installation de l'application :</h2> <h3> A partir du téléphone </h3> <ul> diff --git a/code/serveur/php/index.php b/code/serveur/php/index.php @@ -19,9 +19,10 @@ session_start(); <h2>Jeu PtiClic - Téléchargement gratuit</h2> <p>Vous aimez les jeux de mots&nbsp;? Vous avez un smartphone sous Android&nbsp;? PtiClic est pour vous&nbsp;!</p> - <p>Soyez parmi les tous premiers à télécharger cette application gratuitement - en devenant Alpha-testeur. L'inscription est simple, il suffit de fournir une adresse mail, de créer un - identifiant et vous pourrez commencer à jouer&nbsp;!</p> + <p>Soyez parmi les tous premiers à <a href="download.php">télécharger cette + application gratuitement</a> en devenant Alpha-testeur. + L'<a href="signup.php">inscription</a> est simple, il suffit de fournir + une adresse mail, de créer un identifiant et vous pourrez commencer à jouer&nbsp;!</p> <!-- <p>Il ne s'agit pas d'une version d'essai et l'application ne contient aucun spyware.</p> --> @@ -41,8 +42,8 @@ session_start(); </p> <h2>Votre rôle en tant qu'Alpha-testeur</h2> <p>L'application étant en phase de développement et offerte gratuitement, - nous serions reconnaissant si vous pouviez nous donner votre avis, vos suggestions, - vos idées.</p> + nous serions reconnaissant si vous pouviez nous donner votre avis, vos suggestions, + vos idées. <a href="contact.php">Envoyez-nous un message&nbsp;!</a></p> </div> <div class="footer"> <?php include("ressources/footer.html"); ?> diff --git a/code/serveur/php/ressources/footer.html b/code/serveur/php/ressources/footer.html @@ -1 +1,23 @@ -Le pied de page. +<!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>PtiClic sous Android -Version Alpha - Pied de page</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <link rel="stylesheet" href="ressources/simple.css" /> + </head> + <body> + <p>Les concepteurs du jeu&nbsp;: + <a href="http://www.lirmm.fr/~lafourcade/index2.html">Mathieu LAFOURCADE</a> et + <a href="http://w3.u-grenoble3.fr/zampa/index.html">Virginie ZAMPA</a> - + <a href="http://www.lirmm.fr/pticlic/pticlic.php?about=1">L'histoire du PtiClic</a> - + <a href="http://www.lirmm.fr/pticlic/pticlic.php">Jouer au PtiClic sur un ordinateur</a> - + <a href="http://www.lirmm.fr/jeuxdemots/jdm-accueil.php">Jeux de mots</a> - + <a href="http://www.univ-montp2.fr/">Université Montpellier II</a> - + <a href="http://www.lirmm.fr/"> + Laboratoire d'Informatique, de Robotique et de Microélectronique de Montpellier</a> - + <a href="contact.php">Nous contacter</a> + </p> + - </body> + </html> +\ No newline at end of file diff --git a/code/serveur/php/ressources/menu.html b/code/serveur/php/ressources/menu.html @@ -1,24 +1,20 @@ <h1>PtiClic sous Android - Version Alpha</h1> + +<span id="links"> + <a href="index.php">Accueil</a> + <a href="signup.php">S'incrire</a> + <a href="download.php">Téléchargement</a> + <!-- <a href=".php"> Créer des parties </a> --> + <a href="contact.php">Contact</a> <?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> + <a id="cnx" "href="login.php"> Se connecter </a> + <?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> + <a id="cnx" href="login.php?d=true"> Se deconnecter </a> <?php } ?> +</span +\ No newline at end of file diff --git a/code/serveur/php/ressources/simple.css b/code/serveur/php/ressources/simple.css @@ -25,13 +25,15 @@ border-top: thin solid grey; border-bottom: thin solid grey; background-color : #FFFFE0; + font-size: x-small; + text-align: center } .content { min-height : 80px; margin: 0; padding: 1em; - padding-top 4em; + padding-top: 4em; padding-bottom : 4em; } @@ -43,17 +45,17 @@ margin-left : 2%; } -.logintbl, .contacttbl { +.logintbl, .contacttbl, .signuptbl { margin-left : 4%; } -.logintbl td, .contactbl td { +.logintbl td, .contactbl td, .signuptbl { text-align : right; padding-left : 5px; padding-right : 5px; } -.logintbl input[type=submit], .contacttbl input[type=submit]{ +.logintbl input[type=submit], .contacttbl input[type=submit], .signuptbl input[type=submit]{ display : block; margin : auto; } @@ -144,3 +146,25 @@ h2#tache-description { border : 1px dashed red; background-color : #90FF90 } + +#downloadlink { + border: medium solid blue; + border-radius: 1em; + -moz-border-radius: 1em; + -webkit-border-radius: 1em; + padding: 1em; + background-color: #8888ff; + margin: 2em; +} + +#downloadlink:hover { + background-color: red; +} + +#downloadp { + text-align: center; +} + +#cnx { + float : right +} +\ No newline at end of file diff --git a/code/serveur/php/signup.php b/code/serveur/php/signup.php @@ -188,7 +188,7 @@ if(isset($_POST['signuppswd2'])){ </td> </tr> <tr> - <td colspan="2"> + <td> <p> <input type="submit" name="signupsubmit" value="Valider" /></p> </td> </tr>