CONNEXION
  • RetourJeux
    • Sorties
    • Hit Parade
    • Les + populaires
    • Les + attendus
    • Soluces
    • Tous les Jeux
    • Gaming
  • RetourActu Gaming
    • News
    • Astuces
    • Tests
    • Previews
    • Toute l'actu gaming
  • RetourBons plans
    • Bons plans
    • Bons plans Smartphone
    • Bons plans Hardware
    • Bons plans Image et Son
    • Bons plans Amazon
    • Bons plans Cdiscount
    • Bons plans Decathlon
    • Bons plans Fnac
    • Tous les Bons plans
  • RetourJVTech
    • Actus High-Tech
    • Intelligence Artificielle
    • Smartphones
    • Mobilité urbaine
    • Hardware
    • Image et son
    • Tutoriels
    • Tests produits High-Tech
    • Guides d'achat High-Tech
    • JVTech
  • RetourCulture
    • Actus Culture
    • Culture
  • RetourVidéos
    • A la une
    • Gaming Live
    • Vidéos Tests
    • Vidéos Previews
    • Gameplay
    • Trailers
    • Chroniques
    • Replay Web TV
    • Toutes les vidéos
  • RetourForums
    • Hardware PC
    • PS5
    • Switch 2
    • Xbox Series
    • Switch
    • Pokemon pocket
    • FC 25 Ultimate Team
    • League of Legends
    • Tous les Forums
  • PC
  • PS5
  • Xbox Series
  • Switch 2
  • PS4
  • One
  • Switch
  • iOS
  • Android
  • MMO
  • RPG
  • FPS
En ce moment Genshin Impact Valhalla Breath of the wild Animal Crossing GTA 5 Red dead 2
Liste des sujets

prob var php

Bleuant
Bleuant
Niveau 6
02 janvier 2005 à 01:43:01

bonjour,

je mais ce code ds ma page main.php ( laccueil)

< ?php require ( ´includes/commandes.php´); ? >

< html>
< head>

< title> < ?php echo"$title_site"; ? > < /title>
< ? include ( ´includes/body.php´); ? >

< /head>

< body>

< table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
< tr>
< td>

< !-- DEBUT LOGO+PUB -->
< ?php include ( ´includes/top.php´); ? >
< !-- FIN LOGO+PUB -->

< !-- DEBUT MENU HAUT -->
< ?php include ( ´includes/m_top.php´); ? >
< !-- FIN MENU HAUT -->

< br>
< /div></td>
< /tr>
< /table>

<table width="100%" cellpadding="0" cellspacing="0">
< tr>

< !-- DEBUT COLONNE GAUCHE -->
< ?php include ( ´includes/gauche.php´); ? >
< !-- FIN COLONNE GAUCHE -->

< td valign="top"><p><img src="images/espaceur.gif" width="5" height="1"></p></td>

< !-- DEBUT CONTENU CENTRAL -->
< td valign="top">

< !-- DEBUT 1er ENCART -->
<table width="100%" border="0" cellpadding="0" bgcolor="#FFFFFF" class="bordure-table">
< tr>
< td class="titre-menu">Mon titre 1</td>
< /tr>
< tr>
< td><img src="images/Imagette_64399.jpg" width="72" height="60" border="1" align="left">Votre
1er portail, vous en rêviez, voici votre design graphique simple
mais très efficace! Hyper léger à charger, des menus textuel
pour une édition facilitée, des encarts recopiables à volonté
suivant votre contenu, une taille ajustable de 750 pixels à toute
la largeur de l´écran ( 100%) d´un clic...<br>
< br>
< strong>En résumé</strong> : votre design "portail" facilement personnalisable
et évolutif simplement, idéal débutant ou webmaster pressé :)</td>
< /tr>
< tr>
< td class="titre-menu"><div align="right"><a href="#">en savoir
plus</a></div>
< /td>
< /tr>
< /table>

< !-- FIN 1er ENCART -->

< !-- puis de meme pour les encarts suivants -->
< !-- ils sont séparés par la balise < br> -->

< br>
< table width="100%" border="0" cellpadding="0" bgcolor="#FFFFFF" class="bordure-table">
< tr>
< td class="titre-menu">Mon titre 2</td>
< /tr>
< tr>
< td><strong>Les
couleurs utilisées :</strong><br>
< br>
Blanc menu haut : #FFFFFF<br>
Noir menu haut rollover : #000000<br>
idem titre encarts et lien en bas encart<br>
< font color="#66CC99">Vert du fond : #66CC99</font><br>
< font color="#339933">Vert des bordures : #339933</font><br>
< font color="#838383">Gris des liens sous-rubrique : #838383</font></td>
< /tr>
< tr>
< td class="titre-menu"><div align="right"><a href="#">en savoir
plus</a></div>
< /td>
< /tr>
< /table>

< br>
< table width="100%" border="0" cellpadding="0" bgcolor="#FFFFFF" class="bordure-table">
< tr>
< td class="titre-menu">Mon titre 3</td>
< /tr>
< tr>
< td><img src="images/Imagette_242201.jpg" width="80" height="60" border="1" align="left">texte
ici, texte ici, texte ici, texte ici, texte ici, texte ici,
texte ici, texte ici, texte ici, texte ici, texte ici, texte
ici, texte ici, texte icci, texte ici, texte ici, texte ici,
texte ici, texte ici, texte ici, texte ici, texte ici, texte
ici, texte ici, texte ici, texte ici, texte ici, texte ici,
texte ici, texte ici, texte ici, texte ici, texte ici, texte
ici, texte ici, texte ici, texte ici, texte ici, texte ici,
texte ici, < /td>
< /tr>
< tr>
< td class="titre-menu"><div align="right"><a href="#">en savoir
plus</a></div>
< /td>
< /tr>
< /table>

< br>
< table width="100%" border="0" cellpadding="0" bgcolor="#FFFFFF" class="bordure-table">
< tr>
< td class="titre-menu">Mon titre 4</td>
< /tr>
< tr>
< td><img src="images/Imagette_246893.jpg" width="80" height="60" border="1" align="left">texte
ici, texte ici, texte ici, texte ici, texte ici, texte ici,
texte ici, texte ici, texte ici, texte ici, texte ici, texte
ici, texte ici, texte ici, texte ici, texte ici, texte ici,
texte ici, texte ici, texte ici, texte ic ici, texte ici, texte
ici, texte ici, texte ici, texte ici, texte ici, texte ici,
texte ici, texte ici, texte ici, texte ici, texte ici, texte
ici, texte ici, texte ici, texte ici, texte ici, texte ici,
texte ici, texte ici, texte ici, texte ici, texte ici, texte
ici, texte ici, texte ici, texte ici, texte ici, texte ici,
texte ici, texte ici, texte ici, texte ici, texte ici, texte
ici, texte ici, texte ici, texte ici, texte ici, texte ici, < /td>
< /tr>
< tr>
< td class="titre-menu"><div align="right"><a href="#">en savoir
plus</a></div>
< /td>
< /tr>
< /table>

< ?php include ( ´includes/copyright.php´); ? >
< !-- FIN CONTENU CENTRAL -->
< td valign="top"><img src="images/espaceur.gif" width="5" height="1"></td>

< !-- DEBUT COLONNE DROITE -->
< ?php include ( ´includes/droite.php´); ? >
< !-- FIN COLONNE DROITE -->
< /td></tr>
< /table>
</td>
< /tr>
< /table>

< /body>
< /html>

tt mes includes marche mais ds le titre sa me mais une erreur qui dit qui reconnait po la variable ds commandes.php et ds commandes php ya

< ?php

$title_Site = " Games-Documents";

? >

aider moi plz!!

Scullder
Scullder
Niveau 10
02 janvier 2005 à 01:54:04

t´as mis une majuscule dans ta variable et tu l´as oubliée après. Conseil, met pas de majuscule dans tes variables en général, sinon on s´y retrouve pas. pour les maj dans les variables ou nom de fonctions, y´a des conventions en orienté objet mais c´est tout.

Bleuant
Bleuant
Niveau 6
02 janvier 2005 à 02:01:12

ok sa marche mais en rajoutant :

< ?php

$title_site = " Games-Documents";
$title_cheats = " 0 Cheat, Code et Astuce en ligne";
$title_solutions = " Solutions completes";
$title_news = " Actualites";
$title_previews = " 0 Preview en ligne";
$title_tests = " 0 Test en ligne";
$title_dossiers = " 0 Dossier en ligne";
$title_sorties_usa = " Sorties Nord Americaine";
$title_sorties_eu = " Sorties Europeenne";
$title_top20 = " Top 20";
$title_top100 = " Top 100";
$title_demos = " 0 Demo en ligne";
$title_videos = " 0 Video en ligne";
$title_patches = " 0 Patche en ligne";
$title_wallpapers = " 0 Fond d´écran en ligne";
$title_manuels = " 0 Manuel en ligne";
$title_saved = " 0 Sauvegarde de jeux en ligne";
$title_propos = " A Propos";
$title_forums = " Liste des forums";
$title_chat = " Chat";
$title_contact = " Nous contacter";
$title_bannieres " Nos bannieres";
$title_fiche = " Fiche d´informations du jeu... " ;
$title_pc = " Accueil PC";
$title_ps2 = " Accueil PlayStation 2";
$title_xbox = " Accueil Xbox";
$title_ngc = " Accueil Nitendo GameCube";
$title_gba = " GameBoy Advance";
$title_nga = " N-Gage";
$title_psp = " PlayStation Portable ( PSP)";
$title_ds = " Nitendo DS";
$title_recrut = " Nous recrutons ! !! Tentez votre chance ! !!";

? >

sa marche plus apres

licaprout
licaprout
Niveau 8
02 janvier 2005 à 02:21:27

Vous comprennez vraient tt ca?? :question:
mais poutquoi c´est aussi compliqué??

Bleuant
Bleuant
Niveau 6
02 janvier 2005 à 02:28:08

quand tu va sur jeuxvideo.com, bah le site resemble a ce que tu vois, mais le serveur comprend donc y donne ce que tu voi, le jaune et tt,

si vous voulez m´aider : http://65.92.163.59/games-documents.com/main.php

Sous forums
  • Aide à l'achat Mac
  • Création de sites web
  • Création de Jeux
  • Linux
  • Programmation
  • Internet
  • Steam Deck
  • Macintosh
  • Hardware
La vidéo du moment