diarise | bonjour j'ai développé mon site cv en php pour que je puis faire des mise à jours : j'explique j'ai créé une page admin pour prendre les nouvel donnés voici le code de la page admin Code :
- <body>
- <div id="div">
- <table width="800" border="1" cellspacing="0" cellpadding="0">
- <form action="index.php" method="post">
- <tr>
- <td>galery<input name="galery" type="text" id="v" value="bientôt en ligne" onfocus="this.value=''" /></td>
- <td>site1<input name="site1" type="text" id="site1" value="resto-dakar/" onfocus="this.value=''" /></td>
- <td>adresse<input name="adress" type="text" id="adress" value="Parcelles Assainies Unitè 12 n 389" onfocus="this.value=''" /></td>
- <td>site2<input name="site2" type="text" id="site2" value="vatou.com" onfocus="this.value=''" /></td>
- <td>tel<input name="tel" type="text" id="tel" value="441 00 22" onfocus="this.value=''"/></td>
- </tr>
- <tr>
- <td>e-mail<input name="mail" type="text" id="mail" value="daouda7626@yahoo.fr" onfocus="this.value=''" /></td>
- <td>site3<input name="site3" type="text" id="site3" value="www.motospace.fr" onfocus="this.value=''" /></td>
- <td>perso<input name="perso" type="text" id="perso" value="www.diarise.com" onfocus="this.value=''" /></td>
- <td>valider<input name="" type="submit" value="Envoyer" /></td>
- </tr></form>
- </table>
- </div>
- </body>
- </html>
|
le code de la page index Code :
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <meta name="description" content="CV en ligne de Daouda DIA" />
- <meta name="keywords" content="site, sites, internet, création, conception, réalisation, développement, graphiste, intégration" />
- <meta name="robots" content="index,follow" />
- <title>Daouda DIA | CV en ligne</title>
- <link rel="stylesheet" type="text/css" media="screen" href="css.css" />
- </head>
- <body>
- <div id="div">
- <img src="images/logo.gif" alt="cv en ligne" height="116" width="325" class="logo" />
- <div id="bloc_1">
- <div id="bloc_8">
- <span class="bloc_3_2">Galerie </span><br />
- <span class="bloc_3_1_1_1"><?
- $galery = $_POST['galery'];
- print("$galery" );
- ?></span><br />
-
- </div>
- <div id="bloc_9">
- <span class="bloc_3_3">Référence</span><br />
- <span class="bloc_3_1_2_1">
- <a href="http://www.freazer.com/perso/resto-dakar/" target="_blank"><? $site1 = $_POST['site1']; print("$site1" ); ?></a>
- </span><br />
- <span class="bloc_3_1_2_1"><a href="http://projets.africatic.com/vatou/" target="_blank"> <? $site2 = $_POST['site2']; print ("$site2" ); ?></a></span><br />
- <span class="bloc_3_1_2_1"><a href="http://www.motospace.fr/" target="_blank">
- <? $site3 = $_POST['site3']; print ("$site3" ); ?></a></span><br />
- </div>
- </div>
- <div id="bloc_2">
- <div id="bloc_8">
- <span class="bloc_3_2">Coordonnées</span><br />
- <span class="bloc_3_1_1">Daouda Bineta DIA</span><br />
- <span class="bloc_3_1_1"><? $adress = $_POST['adress']; print("$adress" );?>
- </span><br />
- <span class="bloc_3_1_1">Dakar Sénégal</span><br />
- <span class="bloc_3_1_1"><?
- $tel = $_POST['tel'];
- print("Tèl : + 221 $tel" );
- ?></span><br />
- <span class="bloc_3_1_1"><?
- $mail = $_POST['mail'];
- print("e-mail : $mail" );
- ?></span><br />
- <span class="bloc_3_1_1">nationalité sénègalaise</span>
- </div>
- <div id="bloc_9">
- <span class="bloc_3_3">Liens</span><br />
- <span class="bloc_3_1_2"><a href="#">CV Format Word</a></span><br />
- <span class="bloc_3_1_2"><a href="#">CV Format PDF</a></span><br />
- <span class="bloc_3_1_2"><a href="#">Version Texte</a></span><br />
- <span class="bloc_3_1_2"><a href="#">Version css</a></span><br />
- <span class="bloc_3_1_2"><a href="#"><? $perso = $_POST['perso']; print ("site pérso :$perso" ); ?> </a></span> </div>
- </div>
- <div id="bloc_3"><span class="bloc_3_1">Expérience professionnelle</span>
- <p class="bloc_3"><span class="Style1">Octobre 2006, 3 mois</span><br />
- Stage d’ intégration et de maquettage
- Africatic Sénègal Web agency (formation en alternance).</p>
- <p class="bloc_3"><span class="Style1">2006</span><br />
- Prèsident de la Médiatic : association mutimèdia des ètudients d‘ Africatic Sénègal (logithèque, vidèothèque et l’ audiothèque).</p>
- <p class="bloc_3"><span class="Style1">1998 à 2000</span><br />
- Agent de développement communautaire: sensibilisation sur les MST, campagne de vaccination....</p>
- <p class="bloc_3"><span class="Style1">Avril-juin 2005</span><br />
- Stage de formation à SENEMULTIMEDIA : Montage vidéo et animation photos sur support cd. </p>
- </div>
- <div id="bloc_4"><span class="bloc_3_1">Compétences</span>
- <p class="bloc_3"><span class="Style2">Langages :</span>
- <br />
- <img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /><img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /><img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /><img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /> : HTML, XHTML, CSS2
- <br />
- <img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /><img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /><img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /> : PHP, MySql
- <br />
- <img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /><img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /> : XML
- <br />
- <img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /> : Javascript
- <br />
- <span class="Style2">Logiciels :</span>
- <br />
- <img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /><img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /><img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /><img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /> : Dreamweaver 8, Photoshop cs2
- <br />
- <img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /><img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /><img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /> : Illustrator cs2, MS Office
- <br />
- <img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /><img src="images/puce.gif" alt="puce" height="8" width="8" class="img" /> : Flash 8
- <br />
- <span class="Style2">Internet :</span><br />
- Chaîne de production de site Internet, gestion de projets, mainetnance de site Internet.
- </p>
- </div>
- <div id="bloc_5"><span class="bloc_3_1">Formations</span>
- <p class="bloc_3"><span class="Style1"><a href="http://www.africatic.com/" target="_blank">Licence multimédia (2006)</a></span><br />
- licence proféssionnelle en téchnologie de l'information et de la communication option communication web. </p>
-
- </div>
- <div id="bloc_6">
- <span class="bloc_3_1_3">copyright 2006 diarise</span>
- <span class="bloc_3_1_2"> </span>
- </div>
- <div id="bloc_7">
- <div id="bloc_10"><span class="bloc_3_1_3"><?
- //Voici les deux tableaux des jours et des mois traduits en français
- $nom_jour_fr = array("dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi" );
- $mois_fr = Array("", "janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août",
- "septembre", "octobre", "novembre", "décembre" );
- // on extrait la date du jour
- list($nom_jour, $jour, $mois, $annee) = explode('/', date("w/d/n/Y" ));
- echo $nom_jour_fr[$nom_jour].' '.$jour.' '.$mois_fr[$mois].' '.$annee;
- //Affichera par exemple : "date du jour en français : samedi 24 juin 2006."
- ?></span></div>
- <div id="bloc_11"><span class="bloc_3_1_2"><?
- $date = gmdate("H\hi" );
- print("Il est $date"."gmt." );
- ?></span></div>
- </div>
- </div>
- </body>
- </html>
|
le code css Code :
- body{background-color:#e7e7e7; text-align:center; margin-top:0px}
- #div{width:800px; height:600px; margin: 0 auto; text-align:left}
- .logo{ margin-left:238px; margin-top:25px; margin-bottom:9px}
- #bloc_1{ width:369px; height:102px; background-color:#4e4e4e; margin-left:26px; float:left}
- #bloc_2{ width:369px; height:102px; background-color:#4e4e4e; margin-left:14px; float:left}
- #bloc_3{ width:242px; height:294px; background-color:#eed2e5; margin-left:26px; margin-top:14px; margin-right:14px; float:left}
- #bloc_4{ width:242px; height:294px; background-color:#e6f8d0; margin-top:14px; margin-right:14px; float:left}
- #bloc_5{ width:242px; height:294px; background-color:#dcebfe; margin-top:14px; margin-right:14px; float:left}
- #bloc_6{ width:369px; height:20px; background-color:#4e4e4e; margin-left:26px; margin-top:14px; float:left}
- #bloc_7{ width:369px; height:20px; background-color:#4e4e4e; margin-left:14px; margin-top:14px; float:left}
- #bloc_8{ float:left; width:192px; height:102px}
- #bloc_9{ float:right; width:157px; height:102px; text-align:right}
- #bloc_10{ float: left}
- #bloc_11{ float:right; text-align:right}
- .bloc_3{ font-family:Arial, Helvetica, sans-serif; font-size:11px; color:#4e4e4e; margin-left:6px; line-height:12px}
- .bloc_3_1{ font-family:Arial, Helvetica, sans-serif; font-size:18px; font-style:normal; color:#4e4e4e; margin-left:6px;}
- .img{ margin-top:6px;}
- .Style1 {color: #ff880c}
- .Style1 a {color: #ff880c; text-decoration:none}
- .Style1 a:hover {color: #ff880c; text-decoration:underline}
- .Style2 {
- font-family: Arial, Helvetica, sans-serif;
- font-size: 14px;
- color: #4e4e4e; line-height:15px
- }
- .bloc_3_2{ font-family:Arial, Helvetica, sans-serif; font-size:18px; font-style:normal; color:#ffffff; margin-left:6px;}
- .bloc_3_1_1{ font-family:Arial, Helvetica, sans-serif; font-size:11px; color:#ffffff; margin-left:6px; line-height:12px; height:73px; width:167px;}
- .bloc_3_3{ font-family:Arial, Helvetica, sans-serif; font-size:18px; font-style:normal; color:#ffffff; margin-right:6px; text-align:right; }
- .bloc_3_1_2{ font-family:Arial, Helvetica, sans-serif; font-size:11px; color:#ffffff; margin-right:6px; line-height:12px; height:73px; width:157px; text-align:right}
- .bloc_3_1_2 a{ font-family:Arial, Helvetica, sans-serif; font-size:11px; color:#ffffff; margin-right:6px; line-height:12px; height:73px; width:157px; text-align:right; text-decoration:none}
- .bloc_3_1_2 a:hover{ font-family:Arial, Helvetica, sans-serif; font-size:11px; color:#ffffff; margin-right:6px; line-height:12px; height:73px; width:157px; text-align:right; text-decoration:underline}
- .bloc_3_1_1_1{ font-family:Arial, Helvetica, sans-serif; font-size:11px; color:#ffffff; margin-left:6px; line-height:12px; height:73px; width:10px;}
- .bloc_3_1_2_1{ font-family:Arial, Helvetica, sans-serif; font-size:11px; color:#ffffff; margin-right:6px; line-height:12px; height:73px; width:260px; text-align:right}
- .bloc_3_1_2_1 a{ font-family:Arial, Helvetica, sans-serif; font-size:11px; color:#ffffff; margin-right:6px; line-height:12px; height:73px; width:260px; text-align:right; text-decoration:none}
- .bloc_3_1_2_1 a:hover{ font-family:Arial, Helvetica, sans-serif; font-size:11px; color:#ffffff; margin-right:6px; line-height:12px; height:73px; width:260px; text-align:right; text-decoration:underline}
- .bloc_3_1_3{ font-family:Arial, Helvetica, sans-serif; font-size:11px; color:#ffffff; margin-left:6px; line-height:12px; height:73px; width:167px;}
|
mon probléme est la suivante a chaque foi que je lance le site en local les donnés ne s'affiche pas que faire.
merci |