loic_02800 Dehors les boulets :o | ouf un peu d'aide
voici le code de la page top.php en question :
Code :
- <? error_reporting(E_ALL ^ E_NOTICE); ?>
- <? include("_connexion.php" );
- $URL = $PHP_SELF; // cette page
- $repimg = "boutique/"; // répertoire des images
- // DESSINE LE BOUTON MENU
- function bouton($nom,$adr) {
- global $URL;
- $QRY = getEnv("QUERY_STRING" );
- if($QRY) $QRY = "?".$QRY;
- // Si on est sur la page >> lien inactif
- if(($adr!="" )&&(strpos($URL.$QRY,$adr)))
- $lien = "<font class=nolien>".$nom."</font>";
- // sinon >> lien actif
- else
- $lien="<A class=lien href='".$adr."'>".$nom."</A>";
- // Dessine le bouton
- return "<table cellspacing=2 cellpadding=0 "
- . "border=0><tr><td width=102 height=21 nowrap "
- . "class=bouton>".$lien."</td></tr></table>"
- . "\n";
- }?>
- <HTML><HEAD><TITLE>Mon 1er site en PHP</TITLE>
- <style type="text/css"><!--
- td { font:normal 8pt Tahoma }
- .bouton { text-align:right;background:#ffffff
- url("<? echo $repimg; ?>bouton.jpg" ) }
- A { font:bold 8pt Tahoma;text-decoration:none;
- color:#faf8e9 }
- A:hover { color:red }
- .lien { color:#aa7c31 }
- .nolien { font:bold 8pt Tahoma;color:#faf8e9 }
- .fond { background:#333333 }
- .titre { font:bold 10pt Tahoma; color:silver }
- --></style>
- </HEAD><BODY class=fond><center>
- <TABLE width=560 height=100% cellspacing=0
- cellpadding=0 border=0 bgcolor=#ffffc0>
- <TR height=97>
- <TD width=110 nowrap class=fond valign=bottom>
- <!-- Coin Haut gauche -->
- <!-- Bannière -->
- <img src="<? echo $repimg; ?>banner.jpg"
- width=650 height=97">
- </TD>
- </TR><TR>
- <!--- MENU GAUCHE --->
- <td class="lmenu" valign="top" width="155">
- <table border="0" bordercolor="#000000" cellpadding="0" cellspacing="0">
- <tbody><tr>
- <td><img src="http://127.0.0.1/ballerini/boutique/menu_gauche/title_menu_acces_abonn.gif" height="26" width="155"></td>
- </tr>
- <tr>
- <td>
- <script language="javascript" src="/library/fnc.js"></script>
- <form name="connect" method="post" action="javascript:Connect('connect','Attention vous avez activé le mode AutoConnection!\nVoulez-vous continuer ?');">
- <input name="redir" value="default_abn.asp" type="hidden">
- <table align="left" border="0" cellpadding="0" cellspacing="0" width="100%">
- <tbody><tr valign="top">
- <td colspan="3" valign="top">
- </tr>
- <BODY TEXT="#0060ff">
- <tr>
- <td colspan="5">
- <font class="lmenuconnecttext" style="letter-spacing: -1px;">Login</font><img src="http://127.0.0.1/ballerini/boutique/menu_gauche/point.transparent.gif" height="0" width="36">
- </td>
- </tr>
- <tr>
- <td> <input class="inputoran" name="login" size="10" type="login">
- </td>
- <tr>
- <td colspan="5">
- <font class="lmenuconnecttext" style="letter-spacing: -1px;">Password</font><img src="http://127.0.0.1/ballerini/boutique/menu_gauche/point.transparent.gif" height="0" width="36">
- </td>
- </tr>
- <tr>
- <td> <input class="inputoran" name="password" size="10" type="password">
- </td>
- </tr>
- <tr>
- <td colspan="3"><img src="http://127.0.0.1/ballerini/boutique/menu_gauche/point.transparent.gif" height="6"></td>
- </tr>
- <tr valign="top">
- <td align="left"><input src="http://127.0.0.1/ballerini/boutique/menu_gauche/btn_go.gif" border="0" type="image"><img src="http://127.0.0.1/ballerini/boutique/menu_gauche/point.transparent.gif" height="1" width="4"></td>
- </tr>
- <tr>
- <td colspan="3"><img src="http://127.0.0.1/ballerini/boutique/menu_gauche/point.transparent.gif" height="8"></td>
- </tr>
- <tr>
- <td colspan="3" align="left" height="20" valign="top">
- <img valign="bottom" src="http://127.0.0.1/ballerini/boutique/menu_gauche/point.transparent.gif" border="0" height="1" width="3">
- <a href="javascript:LostCodes();"><img src="http://127.0.0.1/ballerini/boutique/menu_gauche/triangle_org.gif" border="0"></a>
- <a style="color: rgb(51, 51, 51);" class="lmenuconnecttext" href="nos_offres.php"> Je veux tester</a>
- </td>
- </tr>
- <td colspan="3" align="left" valign="top">
- <img valign="bottom" src="http://127.0.0.1/ballerini/boutique/menu_gauche/point.transparent.gif" border="0" height="1" width="3">
- </td>
- <tr>
- <td colspan="3"><img src="http://127.0.0.1/ballerini/boutique/menu_gauche/point.transparent.gif" height="8"></td>
- </tr>
- </tbody></table>
- </form>
- </td>
- </tr>
- </tbody></table> <table border="0" bordercolor="#000000" cellpadding="0" cellspacing="0">
- <tbody><tr>
- <td><img src="http://127.0.0.1/ballerini/boutique/menu_gauche/title_menu_recherche.gif" height="26" width="155"></td>
- </tr>
- <tr>
- <td class="lmenuconnect" height="60" valign="middle">
- <table background="http://127.0.0.1/ballerini/boutique/menu_gauche/search_bkg.gif" border="0" cellpadding="0" cellspacing="0" width="155">
- <form name="fullsearch" method="get" action="movies_search.asp"></form>
- <tbody><tr>
- <td colspan="3" align="center" height="20" valign="top">
- <span title="Film, acteur, réalisateur"><input id="simpleSearch" name="advSearch" value="0" checked="1" type="radio"><font class="lmenusearch">Simple</font></span>
- <span title="Résumé, commentaire, film, acteur, réalisateur"><input id="advancedSearch" name="advSearch" value="1" type="radio"><font class="lmenusearch">Étendue</font></span>
- </td>
- </tr>
- <script language="javascript">
- var sessionAdvSearch="";
- if(sessionAdvSearch==1)
- document.getElementById("advancedSearch" ).checked=true
- else
- document.getElementById("simpleSearch" ).checked=true
- </script>
- <tr>
- <td align="right" width="15"><img src="http://127.0.0.1/ballerini/boutique/menu_gauche/search_left.gif"></td>
- <td background="http://127.0.0.1/ballerini/boutique/menu_gauche/search_middle.gif" valign="middle" width="25">
- <input class="inputoran2" name="search" size="13" maxlength="100" value="" type="text"></td>
- <td><input src="http://127.0.0.1/ballerini/boutique/menu_gauche/search_right.gif" border="0" type="image"></td>
- </tr>
- </tbody></table>
- </td>
- </tr>
- </tbody></table><table border="0" bordercolor="#000000" cellpadding="0" cellspacing="0">
- <tbody><tr>
- <td><img src="http://127.0.0.1/ballerini/boutique/menu_gauche/title_menu_categorie.gif" height="26" width="155"></td>
- </tr>
- <tr>
- <td>
- <!--DEBUT DE CATEGORIES-->
- <body text="#ffffcc" link="#33cc00"
- vlink="#cc33ff" alink="#ff6600" >
- <div style="margin-top: 10px; margin-bottom: 15px;">
- <div style="margin-left: 10px; margin-bottom: 5px;" align="left">
- <img src="http://127.0.0.1/ballerini/boutique/menu_gauche/carre_menu.gif" border="0" height="9" width="9"><a style="color: rgb(51, 51, 51);" class="lmenuconnecttext" href="action.php"> Action</a>
- <div id="subAction" style="display: none; margin-top: 4px; margin-left: 10px;">
- </div>
- <br><br>
- <div style="margin-left: 0px; margin-bottom: 5px;" align="left">
- <img src="http://127.0.0.1/ballerini/boutique/menu_gauche/carre_menu.gif" border="0" height="9" width="9"><a style="color: rgb(51, 51, 51);" class="lmenuconnecttext" href="action.php"> Aventure</a>
- <div id="subAction" style="display: none; margin-top: 4px; margin-left: 10px;">
- </div>
- <br><br>
- <div style="margin-left: 0px; margin-bottom: 5px;" align="left">
- <img src="http://127.0.0.1/ballerini/boutique/menu_gauche/carre_menu.gif" border="0" height="9" width="9"><a style="color: rgb(51, 51, 51);" class="lmenuconnecttext" href="action.php"> Comédie</a>
- <div id="subAction" style="display: none; margin-top: 4px; margin-left: 10px;">
- </div>
- <br><br>
- <div style="margin-left: 0px; margin-bottom: 5px;" align="left">
- <img src="http://127.0.0.1/ballerini/boutique/menu_gauche/carre_menu.gif" border="0" height="9" width="9"><a style="color: rgb(51, 51, 51);" class="lmenuconnecttext" href="action.php"> Documentaire</a>
- <div id="subAction" style="display: none; margin-top: 4px; margin-left: 10px;">
- </div>
- <br><br>
- <div style="margin-left: 0px; margin-bottom: 5px;" align="left">
- <img src="http://127.0.0.1/ballerini/boutique/menu_gauche/carre_menu.gif" border="0" height="9" width="9"><a style="color: rgb(51, 51, 51);" class="lmenuconnecttext" href="action.php"> Drame</a>
- <div id="subAction" style="display: none; margin-top: 4px; margin-left: 10px;">
- </div>
- <br><br>
- <div style="margin-left: 0px; margin-bottom: 5px;" align="left">
- <img src="http://127.0.0.1/ballerini/boutique/menu_gauche/carre_menu.gif" border="0" height="9" width="9"><a style="color: rgb(51, 51, 51);" class="lmenuconnecttext" href="action.php"> Enfants</a>
- <div id="subAction" style="display: none; margin-top: 4px; margin-left: 10px;">
- </div>
- <br><br>
- <div style="margin-left: 0px; margin-bottom: 5px;" align="left">
- <img src="http://127.0.0.1/ballerini/boutique/menu_gauche/carre_menu.gif" border="0" height="9" width="9"><a style="color: rgb(51, 51, 51);" class="lmenuconnecttext" href="action.php"> Films Cultes</a>
- <div id="subAction" style="display: none; margin-top: 4px; margin-left: 10px;">
- </div>
- </td>
- </tr>
- </tbody></table><table border="0" bordercolor="#000000" cellpadding="0" cellspacing="0">
- <tbody><tr>
- <td><img src="http://127.0.0.1/ballerini/boutique/menu_gauche/title_menu_besoin_aide.gif" height="26" width="155"></td>
- </tr>
- <tr>
- <td>
- <div style="margin-left: 10px; margin-bottom: 5px;" align="left">
- <img src="http://127.0.0.1/ballerini/boutique/menu_gauche/carre_menu.gif" border="0" height="9" width="9"><a style="color: rgb(51, 51, 51);" class="lmenuconnecttext" href="fonctionnement.php"> Fonctionnement</a>
- <div id="subAction" style="display: none; margin-top: 4px; margin-left: 10px;">
- </div>
- <br><br>
- <div style="margin-left: 0px; margin-bottom: 5px;" align="left"></div>
- <img src="http://127.0.0.1/ballerini/boutique/menu_gauche/carre_menu.gif" border="0" height="9" width="9"><a style="color: rgb(51, 51, 51);" class="lmenuconnecttext" href="faq.php"> Aide en Ligne</a>
- <div id="subAction" style="display: none; margin-top: 4px; margin-left: 10px;">
- </div>
- <br><br>
- <div style="margin-left: 0px; margin-bottom: 5px;" align="left">
- <img src="http://127.0.0.1/ballerini/boutique/menu_gauche/carre_menu.gif" border="0" height="9" width="9"><a style="color: rgb(51, 51, 51);" class="lmenuconnecttext" href='nous_contacter.php'> Nous Contacter</a>
- <div id="subAction" style="display: none; margin-top: 4px; margin-left: 10px;"></div>
- <div align="left">
- <table border="0" bordercolor="#000000" cellpadding="0" cellspacing="0">
- <tbody><tr>
- <img src="http://127.0.0.1/ballerini/boutique/menu_gauche/bt_16h_special.gif" border="0" height="85" width="134"></a>
- </BODY>
- </HTML>
|
Message édité par loic_02800 le 06-12-2006 à 16:20:06
|