IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Langage PHP Discussion :

code fonctionne en direct mais pas dans function


Sujet :

Langage PHP

  1. #1
    Membre extrêmement actif Avatar de mjpmjp
    Homme Profil pro
    Retraité
    Inscrit en
    Avril 2012
    Messages
    1 133
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hautes Alpes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Retraité
    Secteur : Santé

    Informations forums :
    Inscription : Avril 2012
    Messages : 1 133
    Points : 1 435
    Points
    1 435
    Par défaut code fonctionne en direct mais pas dans function
    bonjour,
    je suis toujours avec la récupération de mon code vieux de 15ans..!!

    j'ai maintenant un petit souci avec une fonction.

    ce code , écrit directement dans la page , fonctionne
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
     
    echo "			<SCRIPT language=\"JavaScript\"> ";
    for($a=1; $a<($Ligne+1) ;$a++){
    echo "				document.write('".$MenuVille[$a]['Menu']."<br/>');";
    }
    echo "			</SCRIPT>";
    mais quand il est dans une fonction , qui est dans un "include.inc" , il ne fonctionne plus ???
    à noter : la ligne de test --- echo $Ligne; --- fonctionne , ce qui veut dire que la fonction dans le fichier inclut est "visible"...
    voila le fichier : TESTjavascript.inc
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
     
    <?php
     
    function TEST($Ligne){
    echo $Ligne;
    echo "			<SCRIPT language=\"JavaScript\"> ";
    for($a=1; $a<($Ligne+1) ;$a++){
    echo "				document.write('".$MenuVille[$a]['Menu']."<br/>');";
    }
    echo "			</SCRIPT>";
    }
     
    ?>
    et voila l'appel de la fonction dans la page :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
     
    include("TESTjavascript.inc");
    TEST($LigneMenuVille);
    je précise à nouveau la valeur en paramètre est transmise correctement : $LigneMenuVille -> $Ligne

    vous avez une idée ??

    @+JP
    Caractéristiques (WEB) phpMyAdmin 4-74 , PHP 5-631 , Apache 2-427 , MySQL 5-719
    Présentation NAS DS-3615xs + 20Go , DSM 6.1.6-15266 Up1 , 12 * WD 4To WD4000F9YZ (10 raid 6+ )+(2 raid 1+) , LinkSys comutateur-switch lgs528p-eu , Onduleur UPS 720W Power Boxx Lcd (4*UPS + 4*MOD)
    Mes contributions (EXCEL) Form GRAPHIQUE: Gestion des boutons , Liste Onglet dynamique...GESTION de FILM

  2. #2
    Modérateur
    Avatar de sabotage
    Homme Profil pro
    Inscrit en
    Juillet 2005
    Messages
    29 208
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Juillet 2005
    Messages : 29 208
    Points : 44 155
    Points
    44 155
    Par défaut
    Que donne le code quand il fonctionne ?
    Que donne le code dans le cas ou il ne fonctionne pas ?

    Au passage, pourquoi passer par du javascript pour faire un affichage ?
    N'oubliez pas de consulter les FAQ PHP et les cours et tutoriels PHP

  3. #3
    Invité
    Invité(e)
    Par défaut
    Bonjour,

    $MenuVille n'est pas défini dans la fonction.
    Il faut le passer en paramètre.

    Quant au script...

  4. #4
    Membre extrêmement actif Avatar de mjpmjp
    Homme Profil pro
    Retraité
    Inscrit en
    Avril 2012
    Messages
    1 133
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hautes Alpes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Retraité
    Secteur : Santé

    Informations forums :
    Inscription : Avril 2012
    Messages : 1 133
    Points : 1 435
    Points
    1 435
    Par défaut
    bonjour,
    merci pour la réponse...
    quand çà fonctionne :
    Nom : Capture_fontionne.PNG
Affichages : 80
Taille : 5,3 Ko
    quand çà ne fonctionne pas...à noter nombre de ligne..9
    Nom : Capture_fontionne pas.PNG
Affichages : 79
Taille : 2,0 Ko

    normalement le code est plus complexe et le JavaScript est utilisé pour des menus...

    @+JP
    Caractéristiques (WEB) phpMyAdmin 4-74 , PHP 5-631 , Apache 2-427 , MySQL 5-719
    Présentation NAS DS-3615xs + 20Go , DSM 6.1.6-15266 Up1 , 12 * WD 4To WD4000F9YZ (10 raid 6+ )+(2 raid 1+) , LinkSys comutateur-switch lgs528p-eu , Onduleur UPS 720W Power Boxx Lcd (4*UPS + 4*MOD)
    Mes contributions (EXCEL) Form GRAPHIQUE: Gestion des boutons , Liste Onglet dynamique...GESTION de FILM

  5. #5
    Invité
    Invité(e)
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    function TEST( $Ligne, $MenuVille )
    {
      echo $Ligne;
      for($a=1; $a<($Ligne+1) ;$a++){
        echo $MenuVille[$a]['Menu'].'<br/>');
      }
    }

  6. #6
    Membre extrêmement actif Avatar de mjpmjp
    Homme Profil pro
    Retraité
    Inscrit en
    Avril 2012
    Messages
    1 133
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hautes Alpes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Retraité
    Secteur : Santé

    Informations forums :
    Inscription : Avril 2012
    Messages : 1 133
    Points : 1 435
    Points
    1 435
    Par défaut
    bonjour,
    $MenuVille n'est pas défini dans la fonction....Il faut le passer en paramètre.
    je ne sais pas si ç'est la même chose...
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
     
    $Result = mysqli_query($Link,"SELECT * FROM ".$Table);
    WHILE ( $Ville=mysqli_fetch_array($Result)){
    //test
    //echo "<br/>".  $Ville['Ville'];
    $LigneMenuVille++;
    $MenuVille[$LigneMenuVille]['Menu']=$Ville['Ville'];
    $MenuVille[$LigneMenuVille]['Cible']="document.FrmRubrique.location=\'ListeRubrique.php?START=".$START."&Dep=".$Dep."&Ville=".$Ville['Ville']."\'";
    $MenuVille[$LigneMenuVille]['Aide']=" ".$Dep."&nbsp;&nbsp;&nbsp;".$Ville['Ville']." ";
    @+JP
    Caractéristiques (WEB) phpMyAdmin 4-74 , PHP 5-631 , Apache 2-427 , MySQL 5-719
    Présentation NAS DS-3615xs + 20Go , DSM 6.1.6-15266 Up1 , 12 * WD 4To WD4000F9YZ (10 raid 6+ )+(2 raid 1+) , LinkSys comutateur-switch lgs528p-eu , Onduleur UPS 720W Power Boxx Lcd (4*UPS + 4*MOD)
    Mes contributions (EXCEL) Form GRAPHIQUE: Gestion des boutons , Liste Onglet dynamique...GESTION de FILM

  7. #7
    Membre extrêmement actif Avatar de mjpmjp
    Homme Profil pro
    Retraité
    Inscrit en
    Avril 2012
    Messages
    1 133
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hautes Alpes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Retraité
    Secteur : Santé

    Informations forums :
    Inscription : Avril 2012
    Messages : 1 133
    Points : 1 435
    Points
    1 435
    Par défaut
    bonjour,
    du 15 ans d'age !!!
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
     
    function MenuVille($Ligne,$MenuClass){
    	//global $CheminIMG;
    	//global $MenuVille;
    	//global $MenuSiteOT;
    	//global $MenuSiteMairie;
    	//global $MenuVillePhoto;
    echo "			<SCRIPT language=\"JavaScript\"> ";
    echo "				var last=\"C_Temoin1\";";
    echo "				document.write('<FORM name=\"MENU_C\" >');";
    for($a=1; $a<($Ligne+1) ;$a++){
    //echo "\n";
    echo "				document.write('<div id=DivTemoin".$a." style=\"position:relative;left:1px; \">');";
    echo "				document.write('<A HREF=\"#TAG\" onmouseover=\"MoveTemoin(\'C_Temoin".$a."\');\"  onclick =\"".$MenuVille[$a]['Cible']."\"  title=\"".$MenuVille[$a]['Aide']."\"  CLASS=\"LienMenuTemoin".$MenuClass."\" >');";
    echo "				document.write('<IMG src=\"".$CheminIMG."temoin1.gif\" border=\"0\"  name=\"C_Temoin".$a."\" alt=\"".$MenuVille[$a]['Aide']."\">&nbsp;".$MenuVille[$a]['Menu']."</A>');";
    echo "				document.write('<div style=\"position:relative;left:18px; \">');";
    echo "				document.write('<A HREF=\"".$MenuSiteOT[$a]['Cible']."\" onmouseover=\"MoveTemoin(\'C_Temoin".$a."\');\" title=\"".$MenuSiteOT[$a]['Aide']."\" CLASS=\"LienMenuTemoin".$MenuSiteOT[$a]['Menu']."\">');";
    echo "				document.write('&nbsp;Office de Tourisme&nbsp;</A>');";
    echo "				document.write('<A HREF=\"".$MenuSiteMairie[$a]['Cible']."\" onmouseover=\"MoveTemoin(\'C_Temoin".$a."\');\" title=\"".$MenuSiteMairie[$a]['Aide']."\" CLASS=\"LienMenuTemoin".$MenuSiteMairie[$a]['Menu']."\">');";
    echo "				document.write('&nbsp;Mairie&nbsp;</A>');";
    echo "				document.write('<A HREF=\"JAVASCRIPT:void(0);\" onmouseover=\"MoveTemoin(\'C_Temoin".$a."\');\"  onclick =\"".$MenuVillePhoto[$a]['Cible']."\"     title=\"".$MenuVillePhoto[$a]['Aide']."\" CLASS=\"LienMenuTemoinON\">');";
    echo "				document.write('&nbsp;".$MenuVillePhoto[$a]['Menu']."</A>');";
    echo "				document.write('</div>');";
    echo "				document.write('</div>');";
    }
    echo "				document.write('</FORM>');";
    echo "			</SCRIPT>";
    }
    @+JP
    Caractéristiques (WEB) phpMyAdmin 4-74 , PHP 5-631 , Apache 2-427 , MySQL 5-719
    Présentation NAS DS-3615xs + 20Go , DSM 6.1.6-15266 Up1 , 12 * WD 4To WD4000F9YZ (10 raid 6+ )+(2 raid 1+) , LinkSys comutateur-switch lgs528p-eu , Onduleur UPS 720W Power Boxx Lcd (4*UPS + 4*MOD)
    Mes contributions (EXCEL) Form GRAPHIQUE: Gestion des boutons , Liste Onglet dynamique...GESTION de FILM

  8. #8
    Invité
    Invité(e)
    Par défaut
    Déjà, on n'écrit plus <SCRIPT language=\"JavaScript\"> depuis l'arrière grand-père de Mathusalem...
    Ni document.write...

  9. #9
    Membre extrêmement actif Avatar de mjpmjp
    Homme Profil pro
    Retraité
    Inscrit en
    Avril 2012
    Messages
    1 133
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hautes Alpes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Retraité
    Secteur : Santé

    Informations forums :
    Inscription : Avril 2012
    Messages : 1 133
    Points : 1 435
    Points
    1 435
    Par défaut
    bonjour,
    @ jreaux62 : ok merci , j'ai noté

    j'ai pourtant un autre menu dans une function qui fonctionne sans passer en argument

    @+JP
    Caractéristiques (WEB) phpMyAdmin 4-74 , PHP 5-631 , Apache 2-427 , MySQL 5-719
    Présentation NAS DS-3615xs + 20Go , DSM 6.1.6-15266 Up1 , 12 * WD 4To WD4000F9YZ (10 raid 6+ )+(2 raid 1+) , LinkSys comutateur-switch lgs528p-eu , Onduleur UPS 720W Power Boxx Lcd (4*UPS + 4*MOD)
    Mes contributions (EXCEL) Form GRAPHIQUE: Gestion des boutons , Liste Onglet dynamique...GESTION de FILM

  10. #10
    Invité
    Invité(e)
    Par défaut
    Tu ne nous montres que des bouts de code.
    On ne juge qu'avec ce que tu montres...


    Maintenant, ça me semble plus judicieux de ... tout jeter et de recommencer à zéro.
    La programmation a beaucoup évolué en 15 ans.

  11. #11
    Membre extrêmement actif Avatar de mjpmjp
    Homme Profil pro
    Retraité
    Inscrit en
    Avril 2012
    Messages
    1 133
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hautes Alpes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Retraité
    Secteur : Santé

    Informations forums :
    Inscription : Avril 2012
    Messages : 1 133
    Points : 1 435
    Points
    1 435
    Par défaut
    bonjour,
    Déjà, on n'écrit plus <SCRIPT language=\"JavaScript\"> depuis l'arrière grand-père de Mathusalem...

    un petit coup de retro ???

    @+JP
    Caractéristiques (WEB) phpMyAdmin 4-74 , PHP 5-631 , Apache 2-427 , MySQL 5-719
    Présentation NAS DS-3615xs + 20Go , DSM 6.1.6-15266 Up1 , 12 * WD 4To WD4000F9YZ (10 raid 6+ )+(2 raid 1+) , LinkSys comutateur-switch lgs528p-eu , Onduleur UPS 720W Power Boxx Lcd (4*UPS + 4*MOD)
    Mes contributions (EXCEL) Form GRAPHIQUE: Gestion des boutons , Liste Onglet dynamique...GESTION de FILM

  12. #12
    Membre extrêmement actif Avatar de mjpmjp
    Homme Profil pro
    Retraité
    Inscrit en
    Avril 2012
    Messages
    1 133
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hautes Alpes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Retraité
    Secteur : Santé

    Informations forums :
    Inscription : Avril 2012
    Messages : 1 133
    Points : 1 435
    Points
    1 435
    Par défaut
    bonjour,
    capture du site , il y a 15 ans les briques style métro de microsoft elles n'existaient pas !!!
    Nom : Capture_brique.PNG
Affichages : 85
Taille : 107,5 Ko
    mais les miennes oui
    @+JP
    Caractéristiques (WEB) phpMyAdmin 4-74 , PHP 5-631 , Apache 2-427 , MySQL 5-719
    Présentation NAS DS-3615xs + 20Go , DSM 6.1.6-15266 Up1 , 12 * WD 4To WD4000F9YZ (10 raid 6+ )+(2 raid 1+) , LinkSys comutateur-switch lgs528p-eu , Onduleur UPS 720W Power Boxx Lcd (4*UPS + 4*MOD)
    Mes contributions (EXCEL) Form GRAPHIQUE: Gestion des boutons , Liste Onglet dynamique...GESTION de FILM

  13. #13
    Membre extrêmement actif Avatar de mjpmjp
    Homme Profil pro
    Retraité
    Inscrit en
    Avril 2012
    Messages
    1 133
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hautes Alpes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Retraité
    Secteur : Santé

    Informations forums :
    Inscription : Avril 2012
    Messages : 1 133
    Points : 1 435
    Points
    1 435
    Par défaut
    bonjour,
    ok , pour les menu , je m'oriente vers quoi php ou encore du javascipt nouveau ??

    @+JP
    Caractéristiques (WEB) phpMyAdmin 4-74 , PHP 5-631 , Apache 2-427 , MySQL 5-719
    Présentation NAS DS-3615xs + 20Go , DSM 6.1.6-15266 Up1 , 12 * WD 4To WD4000F9YZ (10 raid 6+ )+(2 raid 1+) , LinkSys comutateur-switch lgs528p-eu , Onduleur UPS 720W Power Boxx Lcd (4*UPS + 4*MOD)
    Mes contributions (EXCEL) Form GRAPHIQUE: Gestion des boutons , Liste Onglet dynamique...GESTION de FILM

  14. #14
    Invité
    Invité(e)
    Par défaut
    Maintenant, il y a ça :


    Citation Envoyé par mjpmjp Voir le message
    ...je m'oriente vers quoi php ou encore du javascipt nouveau ??
    Comment veux-tu qu'on te réponde ?
    On ne sait (presque) rien de ce que tu as, ce que tu veux faire/obtenir, comment ça marche, ni à quoi ça sert.....

  15. #15
    Membre extrêmement actif Avatar de mjpmjp
    Homme Profil pro
    Retraité
    Inscrit en
    Avril 2012
    Messages
    1 133
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hautes Alpes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Retraité
    Secteur : Santé

    Informations forums :
    Inscription : Avril 2012
    Messages : 1 133
    Points : 1 435
    Points
    1 435
    Par défaut
    bonjour,
    comme tu dis...

    ok merci , je vais jeter un oeuil ..ou deux

    @+JP
    Caractéristiques (WEB) phpMyAdmin 4-74 , PHP 5-631 , Apache 2-427 , MySQL 5-719
    Présentation NAS DS-3615xs + 20Go , DSM 6.1.6-15266 Up1 , 12 * WD 4To WD4000F9YZ (10 raid 6+ )+(2 raid 1+) , LinkSys comutateur-switch lgs528p-eu , Onduleur UPS 720W Power Boxx Lcd (4*UPS + 4*MOD)
    Mes contributions (EXCEL) Form GRAPHIQUE: Gestion des boutons , Liste Onglet dynamique...GESTION de FILM

  16. #16
    Membre extrêmement actif Avatar de mjpmjp
    Homme Profil pro
    Retraité
    Inscrit en
    Avril 2012
    Messages
    1 133
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hautes Alpes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Retraité
    Secteur : Santé

    Informations forums :
    Inscription : Avril 2012
    Messages : 1 133
    Points : 1 435
    Points
    1 435
    Par défaut
    re,
    Comment veux-tu qu'on te réponde ?
    On ne sait (presque) rien de ce que tu as, ce que tu veux faire/obtenir, comment ça marche, ni à quoi ça sert.....
    c'était juste une question d'ordre général sur la structure d'une page web , style : server > PHP , doc > HTML , client > ?...JavaScript ?

    mais toujours avec la "main" sur le code , WordPress ne m'attire pas (par exemple)

    @+JP
    Caractéristiques (WEB) phpMyAdmin 4-74 , PHP 5-631 , Apache 2-427 , MySQL 5-719
    Présentation NAS DS-3615xs + 20Go , DSM 6.1.6-15266 Up1 , 12 * WD 4To WD4000F9YZ (10 raid 6+ )+(2 raid 1+) , LinkSys comutateur-switch lgs528p-eu , Onduleur UPS 720W Power Boxx Lcd (4*UPS + 4*MOD)
    Mes contributions (EXCEL) Form GRAPHIQUE: Gestion des boutons , Liste Onglet dynamique...GESTION de FILM

  17. #17
    Invité
    Invité(e)
    Par défaut
    Pareil. Même non-réponse.

    PHP agit côté serveur, JavaScript côté client.

  18. #18
    Membre extrêmement actif Avatar de mjpmjp
    Homme Profil pro
    Retraité
    Inscrit en
    Avril 2012
    Messages
    1 133
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hautes Alpes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Retraité
    Secteur : Santé

    Informations forums :
    Inscription : Avril 2012
    Messages : 1 133
    Points : 1 435
    Points
    1 435
    Par défaut
    bonjour,
    bon,...voila où j'en suis...
    Nom : Capture_fonctionne2.PNG
Affichages : 86
Taille : 10,4 Ko

    dans un premier temps, j'ai intégré la variable $MenuVille dans les paramètres du test et çà a fonctionné.
    dans un deuxième j'ai levé cette variable des paramètres et j'ai ajouté global $MenuVille; dans la fonction et çà a fonctionné.
    pour le moment , c'est exactement l'ancien code !!!

    quand j'ai voulu reproduire le test sur ma vraie fonction çà ne fonctionne plus !!!
    la variable est $MenuVille et la fonction MenuVille --> j'ai donc changé le nom de la fonction en MenuDepVille.
    et puis pour rajeunir , j'ai changé <SCRIPT language=\"JavaScript\"> en <SCRIPT type=\"text/Javascript\"> et çà ne fonctionne toujours pas !!!

    dernière tentative , je déactive l'include où ce trouve la fonction et je copie la fonction directement dans la page et çà fonctionne !!!!

    j'ai plusieurs questions et constatations :
    la portée global des variables n'est pas entièrement globale !!??
    pourquoi la fonction ne fonctionne pas avec l'include ?? fonction qui est pourtant visible car si je change le nom de la fonction çà cré une erreur !!

    @+JP
    Caractéristiques (WEB) phpMyAdmin 4-74 , PHP 5-631 , Apache 2-427 , MySQL 5-719
    Présentation NAS DS-3615xs + 20Go , DSM 6.1.6-15266 Up1 , 12 * WD 4To WD4000F9YZ (10 raid 6+ )+(2 raid 1+) , LinkSys comutateur-switch lgs528p-eu , Onduleur UPS 720W Power Boxx Lcd (4*UPS + 4*MOD)
    Mes contributions (EXCEL) Form GRAPHIQUE: Gestion des boutons , Liste Onglet dynamique...GESTION de FILM

  19. #19
    Invité
    Invité(e)
    Par défaut
    Citation Envoyé par mjpmjp Voir le message
    ...
    la portée global des variables n'est pas entièrement globale !!??...
    Si. Encore faut-il définir la variable AVANT.

    Mais comme, encore une fois, tu ne montres pas ton code...

  20. #20
    Membre extrêmement actif Avatar de mjpmjp
    Homme Profil pro
    Retraité
    Inscrit en
    Avril 2012
    Messages
    1 133
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hautes Alpes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Retraité
    Secteur : Santé

    Informations forums :
    Inscription : Avril 2012
    Messages : 1 133
    Points : 1 435
    Points
    1 435
    Par défaut
    bonjour,
    Mais comme, encore une fois, tu ne montres pas ton code...
    pour créer ce menu avec multiples liens et bouton animé en couleur
    Nom : Capture_fonctionne2.PNG
Affichages : 77
Taille : 10,4 Ko

    la connexion avec l'include LibConnect.inc
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
     
    <?php
     
    $Link;
    session_start();
     
    $_SESSION['Session'] = "";
     
    function connectToDB()
    	{
    		global $Link;
    		$Link = mysqli_connect('localhost','root','','MaBaseName');
            if (mysqli_connect_errno()){
            	echo 'Echec lors de la connexion à MySQL : ' . mysqli_connect_error();
            }
    	}
     
    connectToDB();
     
    ?>
    dans le fichier include MenuMJP.inc la fonction MenuVille (posté plus haut) renommée en MenuDepVille
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
     
    function MenuDepVille($Ligne,$MenuClass){
    	global $CheminIMG;
    	global $MenuVille;
    	global $MenuSiteOT;
    	global $MenuSiteMairie;
    	global $MenuVillePhoto;
     
    echo "			<SCRIPT type=\"text/Javascript\">";
    echo "				var last=\"C_Temoin1\";";
    echo "				document.write('<FORM name=\"MENU_C\" >');";
    for($a=1; $a<($Ligne+1) ;$a++){
    echo "				document.write('<div id=DivTemoin".$a." style=\"position:relative;left:1px; \">');";
    echo "				document.write('<A HREF=\"#TAG\" onmouseover=\"MoveTemoin(\'C_Temoin".$a."\');\"  onclick =\"".$MenuVille[$a]['Cible']."\"  title=\"".$MenuVille[$a]['Aide']."\"  CLASS=\"LienMenuTemoin".$MenuClass."\" >');";
    echo "				document.write('<IMG src=\"".$CheminIMG."temoin1.gif\" border=\"0\"  name=\"C_Temoin".$a."\" alt=\"".$MenuVille[$a]['Aide']."\">&nbsp;".$MenuVille[$a]['Menu']."</A>');";
    echo "				document.write('<div style=\"position:relative;left:18px; \">');";
    echo "				document.write('<A HREF=\"".$MenuSiteOT[$a]['Cible']."\" onmouseover=\"MoveTemoin(\'C_Temoin".$a."\');\" title=\"".$MenuSiteOT[$a]['Aide']."\" CLASS=\"LienMenuTemoin".$MenuSiteOT[$a]['Menu']."\">');";
    echo "				document.write('&nbsp;Office de Tourisme&nbsp;</A>');";
    //echo "				document.write('<A HREF=\"".$MenuSiteMairie[$a]['Cible']."\" onmouseover=\"MoveTemoin(\'C_Temoin".$a."\');\" title=\"".$MenuSiteMairie[$a]['Aide']."\" CLASS=\"LienMenuTemoin".$MenuSiteMairie[$a]['Menu']."\">');";
    //echo "				document.write('&nbsp;Mairie&nbsp;</A>');";
    echo "				document.write('<A HREF=\"JAVASCRIPT:void(0);\" onmouseover=\"MoveTemoin(\'C_Temoin".$a."\');\"  onclick =\"".$MenuVillePhoto[$a]['Cible']."\"     title=\"".$MenuVillePhoto[$a]['Aide']."\" CLASS=\"LienMenuTemoinON\">');";
    echo "				document.write('&nbsp;".$MenuVillePhoto[$a]['Menu']."</A>');";
    echo "				document.write('</div>');";
    echo "				document.write('</div>');";}
    echo "				document.write('</FORM>');";
    echo "			</SCRIPT>";}
    la page ListeVille.php incluant en direct la fonction MenuDepVille qui fonctionne
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
     
    <?php
     
    include("LibSession.inc");
    if ($START!="OK"){header("location:../index.html");}
    $Dep=$_GET['Dep'];
     
    include("LibConnect.inc");
     
    include("LibGet.inc");
    include("LibCheck.inc");
    include("LibNewUser.inc");
    include("LibUpdate.inc");
    include("LibFormatData.inc");
     
    echo "<html><head>";
    echo "<title>Jumping Product</title>";
    echo "<link rel=\"stylesheet\" href=\"StyleMenuMJP.css\" type=\"text/css\">";
    echo "</head>";
     
    echo"<body topmargin=\"0px\" leftmargin=\"0px\" marginwidth=\"0px\" marginheight=\"0px\" >";
     
    global $LigneMenuVille;
    global $LigneMenuDIL;
    $CheminIMG="../IMG/BOUTON/";
     
    /*---------------- menu dil ------------------------*/
    $MenuDIL=array('Menu'=>"",'Cible'=>"",'Aide'=>"");
    $MenuDIL[1]['Menu']="Direct Info Lettre";
    $MenuDIL[1]['Cible']="PageDIL.php?START=".$START."&Dep=".$Dep."\" target=\"FrmData\"";
    $MenuDIL[1]['Aide']=" Direct Info Lettre diffusée par E-Mail ";
     
    $LigneMenuDIL++;
    $MenuDIL[2]['Menu']="Abonnement";
    $MenuDIL[2]['Cible']="javascript:void(0);\" onclick=\"window.open(\'Abonnement.php?START=".$START."\',\'MODIF\',\'width=500px,height=300px,left=100px,top=220px,resizable=NO,scrollbars=NO,location=NO,directories=NO,menubar=NO,toolbar=NO,status=NO,\').focus();\"";
    $MenuDIL[2]['Aide']=" Formulaire d\'Abonnement Gratuit ";
     
    /*---------------- menu ville ------------------------*/
    $LigneMenuVille=0;
    $MenuVille=array('Menu'=>"",'Cible'=>"",'Aide'=>"");
    $MenuSiteOT=array('Menu'=>"",'Cible'=>"",'Aide'=>"");
    $MenuSiteMairie=array('Menu'=>"",'Cible'=>"",'Aide'=>"");
    $MenuVillePhoto=array('Menu'=>"",'Cible'=>"",'Aide'=>"");
     
    $Table="dep_".$Dep;
    $Result = mysqli_query($Link,"SELECT Ville FROM ".$Table." WHERE id=1");
    $Ville=mysqli_fetch_array($Result);
     
    s_MFich( 0 );
    $Result = mysqli_query($Link,"SELECT * FROM ".$Table);
    WHILE ( $Ville=mysqli_fetch_array($Result)){
     
    $LigneMenuVille++;
    $MenuVille[$LigneMenuVille]['Menu']=$Ville['Ville'];
    $MenuVille[$LigneMenuVille]['Cible']="document.FrmRubrique.location=\'ListeRubrique.php?START=".$START."&Dep=".$Dep."&Ville=".$Ville['Ville']."\'";
    $MenuVille[$LigneMenuVille]['Aide']=" ".$Dep."&nbsp;&nbsp;&nbsp;".$Ville['Ville']." ";
     
    if ( $Ville['Site'] != "" ){
    $MenuSiteOT[$LigneMenuVille]['Menu']="ON";
    $MenuSiteOT[$LigneMenuVille]['Cible']="JAVASCRIPT:void(0);\" onclick=\"window.open(\'".$Ville['Site']."\',\'mjp\',\'width=785px,height=450px,left=1px,top=70px,resizable=yes,scrollbars=yes,location=no,directories=no,menubar=no,toolbar=no,status=no\').focus();\"";
    $MenuSiteOT[$LigneMenuVille]['Aide']=" Site Office de tourisme ";
    }else{
    $MenuSiteOT[$LigneMenuVille]['Menu']="OFF";
    $MenuSiteOT[$LigneMenuVille]['Cible']="mailto:contact@mjp.fr";
    $MenuSiteOT[$LigneMenuVille]['Aide']=" Contactez nous !!! ";}
    /*
    if ( $Ville['SiteMairie'] != "" ){
    $MenuSiteMairie[$LigneMenuVille]['Menu']="ON";
    $MenuSiteMairie[$LigneMenuVille]['Cible']="JAVASCRIPT:void(0);\" onclick=\"window.open(\'".$Ville['SiteMairie']."\',\'mjp\',\'width=785px,height=450px,left=1px,top=70px,resizable=yes,scrollbars=yes,location=no,directories=no,menubar=no,toolbar=no,status=no\').focus();\"";
    $MenuSiteMairie[$LigneMenuVille]['Aide']=" Site de la Mairie ";
    }else{
    $MenuSiteMairie[$LigneMenuVille]['Menu']="OFF";
    $MenuSiteMairie[$LigneMenuVille]['Cible']="mailto:contact@mjp.fr";
    $MenuSiteMairie[$LigneMenuVille]['Aide']=" Contactez nous !!! ";}
    */
    $MenuVillePhoto[$LigneMenuVille]['Menu']=" Photo ";
    $MenuVillePhoto[$LigneMenuVille]['Cible']="parent.parent.parent.document.FrmData.location=\'ListePhoto.php?START=".$START."&Dep=".$Dep."&Ville=".$Ville['Ville']."\';";
    $MenuVillePhoto[$LigneMenuVille]['Aide']=" Visualiser les Photos de la Ville ";}
    //include("MenuMJP.inc");
     
    function MenuDIL($MenuClass){
    	global $CheminIMG;
    	global $MenuDIL;
     
    echo "			<SCRIPT language=\"JavaScript\">var last=\"B_Temoin1\";";
    echo "				document.write('<div id=DivDIL style=\"position:relative;left:1px; top:0px; height:30px;\">');";
    echo "				document.write('<FORM name=\"MENU_B\" >');";
     
    echo "				document.write('<div id=DivDIL1 style=\"position:relative;left:1px; top:4px;\">');";
    echo "				document.write('<A HREF=\"".$MenuDIL[1]['Cible']."\" onmouseover=\"MoveTemoin(\'B_Temoin1\');\" title=\"".$MenuDIL[1]['Aide']."\"  CLASS=\"LienMenuTemoin".$MenuClass."\" >');";
    echo "				document.write('<IMG src=\"".$CheminIMG."temoin1.gif\" border=\"0\"  name=\"B_Temoin1\" alt=\"".$MenuDIL[1]['Aide']."\">&nbsp;".$MenuDIL[1]['Menu']."</A>');";
    echo "				document.write('</div>');";
     
    echo "				document.write('<div id=DivDIL2 style=\"position:absolute;left:160px; top:4px;\">');";
    echo "				document.write('<A HREF=\"".$MenuDIL[2]['Cible']."\" onmouseover=\"MoveTemoin(\'B_Temoin2\');\" title=\"".$MenuDIL[2]['Aide']."\"  CLASS=\"LienMenuTemoin".$MenuClass."\" >');";
    echo "				document.write('<IMG src=\"".$CheminIMG."temoin1.gif\" border=\"0\"  name=\"B_Temoin2\" alt=\"".$MenuDIL[2]['Aide']."\">&nbsp;".$MenuDIL[2]['Menu']."</A>');";
    echo "				document.write('</div>');";
     
    echo "				document.write('</FORM>');";
    echo "				document.write('</div>');";
    echo "			</SCRIPT>";}
     
    function MenuDepVille($Ligne,$MenuClass){
    	global $CheminIMG;
    	global $MenuVille;
    	global $MenuSiteOT;
    	global $MenuSiteMairie;
    	global $MenuVillePhoto;
     
    echo "			<SCRIPT type=\"text/Javascript\">";
    echo "				var last=\"C_Temoin1\";";
    echo "				document.write('<FORM name=\"MENU_C\" >');";
    for($a=1; $a<($Ligne+1) ;$a++){
    echo "				document.write('<div id=DivTemoin".$a." style=\"position:relative;left:1px; \">');";
    echo "				document.write('<A HREF=\"#TAG\" onmouseover=\"MoveTemoin(\'C_Temoin".$a."\');\"  onclick =\"".$MenuVille[$a]['Cible']."\"  title=\"".$MenuVille[$a]['Aide']."\"  CLASS=\"LienMenuTemoin".$MenuClass."\" >');";
    echo "				document.write('<IMG src=\"".$CheminIMG."temoin1.gif\" border=\"0\"  name=\"C_Temoin".$a."\" alt=\"".$MenuVille[$a]['Aide']."\">&nbsp;".$MenuVille[$a]['Menu']."</A>');";
    echo "				document.write('<div style=\"position:relative;left:18px; \">');";
    echo "				document.write('<A HREF=\"".$MenuSiteOT[$a]['Cible']."\" onmouseover=\"MoveTemoin(\'C_Temoin".$a."\');\" title=\"".$MenuSiteOT[$a]['Aide']."\" CLASS=\"LienMenuTemoin".$MenuSiteOT[$a]['Menu']."\">');";
    echo "				document.write('&nbsp;Office de Tourisme&nbsp;</A>');";
    //echo "				document.write('<A HREF=\"".$MenuSiteMairie[$a]['Cible']."\" onmouseover=\"MoveTemoin(\'C_Temoin".$a."\');\" title=\"".$MenuSiteMairie[$a]['Aide']."\" CLASS=\"LienMenuTemoin".$MenuSiteMairie[$a]['Menu']."\">');";
    //echo "				document.write('&nbsp;Mairie&nbsp;</A>');";
    echo "				document.write('<A HREF=\"JAVASCRIPT:void(0);\" onmouseover=\"MoveTemoin(\'C_Temoin".$a."\');\"  onclick =\"".$MenuVillePhoto[$a]['Cible']."\"     title=\"".$MenuVillePhoto[$a]['Aide']."\" CLASS=\"LienMenuTemoinON\">');";
    echo "				document.write('&nbsp;".$MenuVillePhoto[$a]['Menu']."</A>');";
    echo "				document.write('</div>');";
    echo "				document.write('</div>');";}
    echo "				document.write('</FORM>');";
    echo "			</SCRIPT>";}
     
    echo "<table summary=\"TableDIL\" border=\"1\" width=\"100%\" cellspacing=\"0px\" cellpadding=\"0px\" bordercolorlight=\"#c0ccd8\" bordercolordark=\"#4E6576\" >";
    echo "<tr>";
    echo "<td border=\"1\" width=\"100%\" bordercolorlight=\"#4E6576\" bordercolordark=\"#c0ccd8\" CLASS=\"MenuTitre\" >Direct Info Lettre du ".$Dep."</TD>";
    echo "</tr>";
    echo "<tr>";
    echo "<td border=\"1\" width=\"100%\"  valign=\"top\" align=\"left\" bordercolorlight=\"#c0ccd8\" bordercolordark=\"#4E6576\" CLASS=\"MenuTexte\" >";
    echo "<div style=\"position:relative; top:4px;\">";
     
    MenuDIL(1,$MenuDIL);
     
    echo "</div>";
    echo "<br/>";
    echo "</td>";
    echo "</tr>";
    echo "</table>";
    echo "<br/>";
     
    echo "<table summary=\"TableVille\" border=\"1\" width=\"100%\" cellspacing=\"0px\" cellpadding=\"0px\" bordercolorlight=\"#c0ccd8\" bordercolordark=\"#4E6576\" >";
    echo "<tr>";
    echo "<td border=\"1\" width=\"100%\" bordercolorlight=\"#4E6576\" bordercolordark=\"#c0ccd8\" CLASS=\"MenuTitre\" >".$Dep."<br/>Ville - Office de Tourisme - Mairie - Photo</TD>";
    echo "</tr>";
    echo "<tr>";
    echo "<td border=\"1\" width=\"100%\"  valign=\"top\" align=\"left\" bordercolorlight=\"#c0ccd8\" bordercolordark=\"#4E6576\" CLASS=\"MenuTexte\" >";
    echo "<div style=\"position:relative; top:4px;\">";
     
    MenuDepVille($LigneMenuVille,1);
     
    echo "</div>";
    echo "<br/>";
    echo "</td>";
    echo "</tr>";
    echo "</table>";
    echo "<br/>";
     
    echo "<table summary=\"TableVilleData\" border=\"0px\" width=\"100%\" cellspacing=\"0px\" cellpadding=\"0px\" bordercolorlight=\"#c0ccd8\" bordercolordark=\"#4E6576\" >";
    echo "<tr><p><A name=\"TAG\"></A></p>";
    echo "<td border=\"0px\" valign=\"top\" >";
    echo "<iframe name=\"FrmRubrique\" width=\"100%\" height=\"2000px\" src=\"../IMG/FOND/VideBleu.html\" frameborder=\"0px\" scrolling=no noresize ></iframe>";
    echo "</td>";
    echo "</tr>";
    echo "</table>";
     
    echo "</body>";
    echo "</html>";
     
    ?>
    et pour être complet, le fichier StyleMenuMJP.css
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
     
    /* BODY */
    BODY { 
     	scrollbar-face-color: 	  	#8098B0; 
     	scrollbar-shadow-color: 	#4E6576; 
     	scrollbar-highlight-color: 	#c0ccd8;
     	scrollbar-3dlight-color: 	#ffffff; 
     	scrollbar-darkshadow-color: 	#000000; 
     	scrollbar-track-color: 		#0033cc; 
     	scrollbar-arrow-color: 		#ffffff; 
    	font-family:	Verdana;
    	font-size:		10px;
    	font-weight:	normal;
    	background-color:			#0033cc;}
    /*---------- style Accueil ------------------------*/
    P#DebutFin{
    	cursor:		default;
    	border:		thin inset #c0ccd8;
    	text-align:		center;
    	padding:		4px;
    	text-decoration:	none;
    	font-family:	Verdana;
    	font-size:		12px;
    	font-weight:	normal;
    	color:		#ffffff;
    	background-color:	#8098B0;}
     
    A#LogoLien{ 
    	border : thin outset #c0ccd8;
    	text-align:		center;	
    	text-decoration:	none;
    	font-family:	Verdana;
    	font-size:		20px;
    	font-weight:	bold;
    	color:		#0033cc;
    	background-color:	#8098B0;}
     
    A#LogoLien:hover{ 
    	border : thin inset #c0ccd8;
    	color:		#ffffff;
    	background-color:	#0033cc;}
    /*--------------------------------------------------*/
     
    /* TABLE */
    .TableData{
    	border-left-width:		4;
    	border-top-width:			8;
    	border-right-width:		8;
    	border-bottom-width:		4;
    	border-style:			inset;
    	background-color:			#ffffff;}
     
    .MenuTitre{
    	cursor:		default;
    	text-align:		center;	
    	font-family:	Verdana;
    	font-size:		12px;
    	font-weight:	bold;
    	color:		#ffffcc;
    	background-color:	#000000;
    	z-index:		2;}
     
    .MenuTexte{
    	cursor:		default;
    	text-align:		left;	
    	text-decoration:	none;
    	font-family:	Verdana;
    	font-size:		10px;
    	font-weight:	normal;
    	color:		#0033cc;
    	background-color:	#8098b0;
    	z-index:		2;}
     
    /* LIEN */
    .lientexte{
    	font-family:	Verdana;
    	font-size:		12px;
    	font-weight:	bold;
    	line-height:	14px;	
    	color:		#0000c0;
    	background-color:	#FFFFFF;
    	visibility:		visible;
    	z-index:		1;}
     
    .lientexte:hover{ color:#FFFFFF; background-color:#0000c0; }
     
    .lientexte2{
    	font-family:	Verdana;
    	font-size:		12px;
    	font-weight:	bold;
    	line-height:	14px;	
    	color:		#0000c0;
    	background-color:	#F0F0F0;
    	visibility:		visible;
    	z-index:		1;}
     
    .lientexte2:hover{ color:#FFFFFF; background-color:#0000c0; }
     
    .LienMenu{
    	text-align:		center;	
    	text-decoration:	none;
    	font-family:	Verdana;
    	font-size:		12px;
    	font-weight:	normal;
    	color:		#FFFFFF;
    	background-color:	transparent;
    	visibility:		visible;
    	z-index:		2;}
     
    .LienMenu:hover{ color:#0033cc; background-color:#FFFFFF; }
     
    .LienMenuTemoinON{
    	text-align:		left;	
    	text-decoration:	none;
    	font-family:	Verdana;
    	font-size:		10px;
    	font-weight:	normal;
    	color:		#ccccff;
    	background-color:	transparent;
    	z-index:		2;}
     
    .LienMenuTemoinON:hover{ 
    	color:		#FFFF00; 
    	background-color:	transparent }
     
    .LienMenuTemoinOFF{
    	text-align:		left;	
    	text-decoration:	none;	/*line-through;*/
    	font-family:	Verdana;
    	font-size:		10px;
    	font-weight:	normal;
    	color:		#cc99ff;	/*#ccccff;*/
    	background-color:	transparent;
    	z-index:		2;}
     
    .LienMenuTemoinOFF:hover{ 
    	color:		#FFFF00; 
    	background-color:	transparent }
     
    .LienMenuTemoin1{
    	text-align:		left;	
    	text-decoration:	none;
    	font-family:	Verdana;
    	font-size:		10px;
    	font-weight:	normal;
    	color:		#000000;
    	background-color:	transparent;
    	z-index:		2;}
     
    .LienMenuTemoin1:hover{ 
    	color:		#FFFF00; 
    	background-color:	transparent }
     
    .LienMenuTemoin2{
    	text-align:		left;	
    	text-decoration:	none;
    	font-family:	Verdana;
    	font-size:		12px;
    	font-weight:	normal;
    	color:		#FFFFFF;
    	background-color:	transparent;
    	z-index:		2;}
     
    .LienMenuTemoin2:hover{ 
    	color:		#FFFF00; 
    	background-color:	transparent }
     
    .LienRubrique{
    	text-align:		left;	
    	text-decoration:	none;
    	font-family:	Verdana;
    	font-size:		10px;
    	font-weight:	normal;
    	color:		#000000;
    	background-color:	transparent;
    	z-index:		2;}
     
    .LienRubrique:hover{ 
    	color:		#000000;
    	background-color:	#ffffcc;}
     
    .LienCarte{
    	text-align:		left;	
    	text-decoration:	none;
    	font-family:	Verdana;
    	font-size:		11px;
    	font-weight:	bold;
    	color:		#FFFFFF;
    	background-color:	transparent;
    	z-index:		3;}
     
    .LienCarte:hover{ 
    	font-size:		38px;
    	font-weight:	bold;
    	color:		#FFFF00; 
    	z-index:		3;}
     
    .TexteCarte{
    	cursor:		default;
    	text-align:		left;	
    	text-decoration:	none;
    	font-family:	Verdana;
    	font-size:		10px;
    	font-weight:	normal;
    	color:		#ffff00;
    	background-color:	transparent;
    	z-index:		2;}
     
    /*
    P {margin-top:5px;margin-left:0px;margin-right:5px;margin-bottom:5px;text-indent:12px;}
    UL {margin-bottom:10px;margin-top:0px;margin-left:16px;margin-right:5px;list-style-position:outside;}
    OL {margin-bottom:10px;margin-top:0px;margin-left:19px;margin-right:5px;list-style-position:outside;}
    LI {margin-bottom:5px;margin-right:5px;margin-left:12px;};
    a{font-family:Verdana;text-decoration:none;}
    */
    @+JP
    Caractéristiques (WEB) phpMyAdmin 4-74 , PHP 5-631 , Apache 2-427 , MySQL 5-719
    Présentation NAS DS-3615xs + 20Go , DSM 6.1.6-15266 Up1 , 12 * WD 4To WD4000F9YZ (10 raid 6+ )+(2 raid 1+) , LinkSys comutateur-switch lgs528p-eu , Onduleur UPS 720W Power Boxx Lcd (4*UPS + 4*MOD)
    Mes contributions (EXCEL) Form GRAPHIQUE: Gestion des boutons , Liste Onglet dynamique...GESTION de FILM

+ Répondre à la discussion
Cette discussion est résolue.
Page 1 sur 2 12 DernièreDernière

Discussions similaires

  1. [MySQL] Requête fonctionne sur phpMyAdmin mais pas dans le code PHP
    Par cocobuck dans le forum PHP & Base de données
    Réponses: 15
    Dernier message: 24/02/2016, 11h23
  2. fonctionne sous eclipse mais pas dans un jar
    Par lionel.barrere dans le forum JPA
    Réponses: 3
    Dernier message: 28/01/2010, 15h48
  3. Réponses: 0
    Dernier message: 04/01/2008, 11h40
  4. [JMF] Code fonctionnant sous Linux mais pas sous XP
    Par Monsieur_Max dans le forum Multimédia
    Réponses: 4
    Dernier message: 25/05/2006, 19h57

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo