Tom's Guide > Forum > Programmation > Probleme de code php

Probleme de code php

Forum Programmation : Probleme de code php

TomsGuide.com : 800 000 inscrits répondent à toutes vos questions high-tech et informatique. Pour obtenir de l'aide, inscrivez-vous gratuitement !
Mot :    Pseudo :           
 

Bonjour a tous
Je cherche a modifier certaines choses d'un code que l'on ma fait car je ne suis pas super callé en php.

deja voici la page que j'ai :
http://fungio.free.fr/index.php

et le code :

Code :
  1. <head>
  2. <title>Dof</title>
  3. <meta name="description" content="Univers-SW est un site consacré à l'univers Star Wars, avec une vaste encyclopedie, une section episodes, jeux video, multimedia, un forum, un livre d'or et un chat">
  4. <meta name="keywords" content="sw,starwars,star,wars,univers,s,w,sw,revanche,revenge,sith,creeping,fear,holonet,spoiler,rumeur,skywalker,corran,horn,jaina,jacen,encyclopédie,phantom,menace,fantome,attack,
  5. attaque,clones,nouvel,espoir,new,hope,empire,contre,atttaque,return,retour,jedi,jedi,fall,service,corail,yorik,skipper,etoile,cristaux,thrawn,meurthe-et-moselle,meurthe,moselle,george,olie,ric,
  6. episode,i,ii,iii,iv,v,vi,1,2,3,4,5,6,ange,chierchia,guerre,etoiles,news,prelogie,prelogy,trilogie,orignale,original,trilogy,edition,spéciale,special,han,solo,yan,princesse,princess,leia,guerre,dark,yoda,
  7. coruscant,naboo,tatooine,kamino,encyclopedie,fond,écran,ecran,wallpaper,forum,communaute,communauté,dont,don't,grievous,droid,droide,droïde">
  8. <meta name="author" content="Fungio">
  9. <meta name="revisit-after" content="2 days">
  10. <meta name="rating" content="cinéma">
  11. <meta name="robots" content="index,follow,all">
  12. <link rel="shortcut icon" href="http://fungio.free.fr/usw.ico" />
  13. <link href="style.css" rel="stylesheet" type="text/css">
  14. <meta name="generator" content="Namo WebEditor v6.0">
  15. </head>
  16. <body topmargin="0" bottommargin="0" bgproperties="fixed" background="bcg.gif">
  17. <?php
  18. $adresse2 = "http://fungio.free.fr/";
  19. $adresse = $adresse2 . "pageaccueil.php";
  20. echo '<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  21.     <tr>
  22.         <table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  23.         <td height="100"><img src="imagesdof/dof.bmp" width="800" height="139" border="0"></td>
  24.    
  25.     </tr>';
  26. echo '<tr>
  27.         <td height="30" background="imagesdof/menu.jpg"></td>
  28.     </tr>';
  29. echo '</table>';
  30. //////////////////////////////////////////////////////////////////////////////////////////////////////
  31. echo '<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" background="imagesdof/background.jpg">
  32.     <tr>
  33.     <td width="150" valign="top" bgcolor="white" background="imagesdof/background.jpg"><div align="left">
  34.     <p><font size="1">
  35.     </font></p>
  36.     <table width="144" cellspacing="0" cellpadding="0" style="border-collapse:collapse;">
  37.     <tr>
  38.     <td height="23" style="border-width:1; border-color:black; border-style:none;">
  39.     <p align="left"><img src="imagesdof/lmenubg_haut.jpg" width="150" height="33" border="0"></p>
  40.     </td>
  41.     </tr>
  42.     <tr>
  43.     <td background="imagesdof/lmenuhd.jpg" style="border-width:1; border-color:black; border-style:none;">';
  44. echo '<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
  45. <tr>
  46. <td>
  47. <p><a href="'.$adresse.'?page=indexusw.htm">Accueil</a><br><br><br><br><br>
  48. </td>
  49. </tr>
  50. </table>';
  51. echo '</td>
  52. </tr>
  53. <tr>
  54. </tr>
  55. </table>';
  56. echo '<br>
  57. <table width="144" border="0" cellspacing="0" cellpadding="0">
  58. <tr>
  59. <td>
  60. <p><img src="imagesdof/lmenubg.jpg" width="150" height="24" border="0"></p>
  61. </td>
  62. </tr>
  63. <tr>
  64. <td background="">';
  65. echo'<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
  66. <tr>
  67. <td>
  68. <p><a href="'.$adresse.'?page=episode1.htm">Episode I</a></p>
  69. </td>
  70. </tr>
  71. </table>
  72. </td>
  73. </tr>
  74. <tr>
  75. <td>
  76. <p>
  77. <br>
  78. </p>
  79. </td>
  80. </tr>
  81. </table>';
  82. echo'<table width="144" border="0" cellspacing="0" cellpadding="0">
  83. <tr>
  84. <td>
  85. <p><img src="imagesdof/lmenubg.jpg" width="150" height="24" border="0"></p>
  86. </td>
  87. </tr>
  88. <tr>
  89. <td background="">';
  90. echo'<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
  91. <tr>
  92. <td>
  93. <p><a href="'.$adresse.'?page=jeuxvideo.htm">Jeux Vidéo</a></p>
  94. </tr>
  95. </table>
  96. </td>
  97. </tr>
  98. <tr>
  99. <td>
  100. <p>
  101. <br>
  102. </p>
  103. </td>
  104. </tr>
  105. </table>';
  106. echo'<table width="144" border="0" cellspacing="0" cellpadding="0">
  107. <tr>
  108. <td>
  109. <p><img src="imagesdof/lmenubg.jpg" width="150" height="24" border="0"></p>
  110. </td>
  111. </tr>
  112. <tr>
  113. <td background="">';
  114. echo'<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
  115. <tr>
  116. <td>
  117. <p><a href="'.$adresse.'?page=encyclopedie-personnages.htm">Personnages</a>
  118. </p>
  119. </td>
  120. </tr>
  121. </table>
  122. </td>
  123. </tr>
  124. <tr>
  125. <td>
  126. <p>
  127. <br>
  128. </p>
  129. </td>
  130. </tr>
  131. </table>';
  132. echo'<table width="144" border="0" cellspacing="0" cellpadding="0">
  133. <tr>
  134. <td>
  135. <p><img src="imagesdof/lmenubg.jpg" width="150" height="24" border="0"></p>
  136. </td>
  137. </tr>
  138. <tr>
  139. <td background="">';
  140. echo'<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
  141. <tr>
  142. <td>
  143. <p><a href='.$adresse.'?page=astuces-tutos.htm>Astuces/Tutos</a>
  144. </p>
  145. </td>
  146. </tr>
  147. </table>
  148. </td>
  149. </tr>
  150. <tr>
  151. <td>
  152. <p>
  153. <br>
  154. </p>
  155. </td>
  156. </tr>
  157. </table>';
  158. /////////////////////////////////////////////////////////////
  159. echo '<td>';
  160. echo '<table cellspacing="0" style="border-collapse:collapse;">';
  161. echo'<tr><td height="780">';
  162. if(!empty($_GET['page']))
  163. {
  164.   $page = $_GET['page'];
  165. }
  166. else
  167. {
  168.   $page = $adresse2."indexdofus.htm";
  169. }
  170. echo'
  171. ';
  172. include($page);
  173. echo'</td></tr>';
  174. ///////////////////////////////////////////////////////////////
  175. echo '<tr><td>
  176. <table cellspacing="0" style="border-collapse:collapse;" width="612">
  177. <p>';
  178. ///////////////////////////////////////////////////////////////
  179. echo'
  180. <iframe src="http://fungio.free.fr/google.htm" width="468" height="60" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"> </iframe>
  181. </noscript>';
  182. ///////////////////////////////////////////////////////////////
  183. echo'</p>
  184. </table>
  185. </td>
  186. </tr>
  187. </table>
  188. </td>
  189. </tr>
  190. </table>
  191. <table cellspacing="0" style="border-collapse:collapse;" width="800" align="center">';
  192. ////////////////////////////////////////////////////////////////
  193. echo'<tr><td width="796" background="'.$adresse2.'bas_page.bmp" style="border-width:1; border-color:black; border-top-style:none; border-right-style:solid; border-bottom-style:none; border-left-style:solid;" height="21">
  194. <p align="center"><font color="#666666">©1977-2006
  195. Lucasfilm LTD & ©2003-2006 <a href="'.$adresse.'?page=indexusw.htm">Univers-SW</a> - Design réalisé par <a href="mailto:fungio@gmail-sw.com">Fungio</a> - Version 5.1</font></p>
  196. </td>
  197. </tr>
  198. </table>
  199. <div align="center"></div>
  200. <p align="center"><font color="white"></td>
  201. </tr>
  202. </table>
  203. </p>';
  204. ?>
  205. </body>




Alors voila j'aimerais premierement que l'includ soit placé en haut de la cellule et non au mileu comme vous pouvez le voir sur la page fournit (http://fungio.free.fr/index.php)

Et deuxiemement j'aimerais que la publicité du bas soit placé au milieu de l'emplacement !

merci a tous !

Liens sponsorisés
Inscrivez-vous ou connectez-vous pour masquer ceci.

Salut,
pas besoin d'etre callé en php, suffit de connaitre le html et de savoir déplacer des blocs..

Répondre à 2Dpix

ba quand je dis pas callé, c'est pas callé ! je ne connais pas plus le html que le php ! donc comment faire svp ?

Répondre à Fungio76

s'il vous plait je cherche mais sans succes !

Répondre à Fungio76

apprendre le HTML avant d'apprendre le PHP

Répondre à okinou

Il n'y en aurait pas un qui pourait me donner une réponse ?
parce que le code php n'est pas de moi et je n'ai vraiment pas le tps d'apprendre le html ni le php !
donc svp qulqu'un peut il me dire comment faire ?

Répondre à Fungio76

Ouai toi tu ne t'y connais pas du tout... et le type qui ta fais sa non plus..........


la grosse faille include, la faille la plus connue au monde est présent sur ton site.......

ET tu peux me dire a quoi il sert le php stp ? ( a part le include )

Et vas i que je te fais des echo de tableaux par ici et par la........

Désolé mais c'est trop horrible a regarder..... Donc quand tu auras une vraie question bha préviens nous ok ?


Par ce que la déplacé un bloc ici et la ! Qu'est ce que tu veux qu'on te dise ? déplace le ton bloc....

Répondre à Kymic@IDN

Deja : je t'emmerde ! si tu n'as que ça a dire tais toi !
Je ne suis pas informatitien et la personne qui a fait ce code non plus ! Donc si tu peu résoudre mon probleme fait le sinon casse toi !

Répondre à Fungio76

ah et tu crois qu'en me parlant comme sa.... Je vais t'aider.....

Bon la petite faille est pour moi... désolé....

Répondre à Kymic@IDN

tien une racaille !!!! sa fait longtemp que je nen n'est pas cuisiner des "va te **** et des put*** de sa *****" Kymic a raison la faille est flagrante et moi se que j'aime vraiment pas c'est "premierement JE VEUX" quand on demande on demand Jaimeret bien sa blabla merci beaucoup et voila(même si ta mi le merci sa le fait pas) bref ici on est sympa on aide on demande mais si on vien pour foutre la **** on degage !

Répondre à pyrra2000@IDN

Merci bien mais j'ai trouvé la solution sur le site du zéro car la-bas au moin il vont pas se foutre de notre travail et si comme vous le dites il ne va pas ils aident a l'améliorer au lieu de critiquer !

Répondre à Fungio76
Tom's Guide > Forum > Programmation > Probleme de code php
Aller à :

Il y a 2983 utilisateurs connus et inconnus. Pour voir la liste des connectés connus, cliquez ici.

Attention

Vous allez répondre sur un sujet resté inactif pendant plus de 6 mois.
Assurez-vous d'apporter des éléments nouveaux à la discussion avant de poursuivre.

Répondre Annuler
Liens