[RESOLU] Couleur de texte dans un block nuked clan - Programmation
TomsGuide.com : 700 000 inscrits répondent à toutes vos questions high-tech et informatique.
Pour obtenir de l'aide, inscrivez-vous gratuitement !
 




Mot :   Pseudo :  
 
Bas de page
Auteur
 Sujet : [RESOLU] Couleur de texte dans un block nuked clan
 
Qui boit la gnaune casse la bagnole.
Profil : IDNaute
Plus d'informations

Bonjour !

Je possède un site avec le thème dalto_insane de nuked klan et j'aimerais mettre l'IP de mon serveur par dessus une image. J'ai réussi, seulement j'aimerais mettre ce texte en blanc, et je me perd un peu dans le PHP de ce fichier... Voici le code, l'IP est ligne 48 :

Code :
  1. <?php
  2. function top()
  3. {
  4. global    $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $nuked, $op, $req;
  5. echo"    <html><head>";
  6. echo"    <meta name=\"keywords\" lang=\"fr\" content=\"$nuked[keyword]\">
  7.         <meta name=\"Description\" content=\"$nuked[description]\">";
  8. echo"    <title>$nuked[name] :: $nuked[slogan] ::</title>";
  9. echo"    <meta http-equiv=\"content-style-type\" content=\"text/css\">
  10.         <link title=\"style\" type=\"text/css\" rel=\"stylesheet\" href=\"themes/dalto_insane/style.css\">";
  11. echo"
  12. <!--
  13. ########################################################
  14. ##                                                    ##
  15. ##  Theme dalto_insane                                ##
  16. ##                                                    ##
  17. ##  Design et PHP by D@LtO  (http://claclac.free.fr) ##
  18. ##                                                    ##
  19. ##                                                    ##
  20. ##  Nuked Klan (www.nuked-klan.org)                  ##
  21. ##                                                    ##
  22. ########################################################
  23. -->";
  24. echo"    </head>
  25.         <body>";
  26. include    ("themes/dalto_insane/blok/block.php" );
  27. echo"    <table width=\"1000\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
  28.             <tr>
  29.                 <td background=\"themes/dalto_insane/images/header/header.jpg\" width=\"1000\" height=\"252\">
  30.                     <object type=\"application/x-shockwave-flash\" data=\"themes/dalto_insane/flash/header.swf\" width=\"1000\" height=\"252\">
  31.                     <param name=\"movie\" value=\"themes/dalto_insane/flash/header.swf\" />
  32.                     <param name=\"quality\" value=\"best\" />
  33.                     <param name=\"pluginurl\" value=\"http://www.macromedia.com/go/getflashplayer\" />
  34.                     <param name=\"flashvars\" value=\"team=$nuked[name]\">
  35.                     </object>
  36.                 </td>
  37.             </tr>
  38.         </table>
  39.         <table width=\"1000\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
  40.             <tr>
  41.                 <td background=\"themes/dalto_insane/images/header/header_teamg.jpg\" width=68 height=73></td>
  42.                 <td background=\"themes/dalto_insane/images/header/header_team.jpg\" width=144 height=73>
  43.                             <MARQUEE behavior=\"scroll\" align=\"center\" direction=\"up\" height=\"50\" scrollamount=\"1\" scrolldelay=\"10\" onmouseover='this.stop()' onmouseout='this.start()'><font class=\"team\">";
  44.                             include("themes/dalto_insane/blok/team.php" );
  45. echo"                        </font></MARQUEE>
  46.                 </td>
  47.                 <td background=\"themes/dalto_insane/images/header/header_menu.jpg\" width=575 height=73><center><br /><h2>194.105.152.227:27015</h2></center></td>
  48.                 <td background=\"themes/dalto_insane/images/header/header_sponsors.jpg\" width=144 height=73>
  49.                             <MARQUEE behavior=\"scroll\" align=\"center\" direction=\"up\" height=\"50\" scrollamount=\"1\" scrolldelay=\"10\" onmouseover='this.stop()' onmouseout='this.start()'>";
  50.                             include("themes/dalto_insane/blok/sponsors.html" );
  51. echo"                        </MARQUEE>
  52.                 </td>
  53.                 <td background=\"themes/dalto_insane/images/header/header_sponsorsd.jpg\" width=69 height=73></td>
  54.             </tr>
  55.         </table>
  56.         <table width=\"1000\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
  57.             <tr>
  58.                 <td background=\"themes/dalto_insane/images/header/header_unikg.jpg\" width=222 height=18></td>
  59.                 <td background=\"themes/dalto_insane/images/header/header_uniktitre.jpg\" width=556 height=18></td>
  60.                 <td background=\"themes/dalto_insane/images/header/header_unikd.jpg\" width=222 height=18></td>
  61.             </tr>
  62.         </table>";
  63. echo"    <table width=\"1000\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
  64.         <tr>
  65.             <td width=\"60\" background=\"themes/dalto_insane/images/barre/barre_g.jpg\" valign=\"top\"></td>
  66.             <td width=\"162\" background=\"themes/dalto_insane/images/g/g_sous.jpg\" valign=\"top\">";
  67.                 get_blok('gauche');
  68. echo"        </td>
  69.             <td width=\"556\" background=\"themes/dalto_insane/images/news/news_sous.jpg\" valign=\"top\">
  70.                 <table width=\"556\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
  71.                     <tr>
  72.                         <td width=\"556\" background=\"themes/dalto_insane/images/news/news_unik.jpg\" height=\"120\">
  73.                             <object type=\"application/x-shockwave-flash\" data=\"themes/dalto_insane/flash/unik.swf\" width=\"556\" height=\"120\">
  74.                             <param name=\"movie\" value=\"themes/dalto_insane/flash/unik.swf\" />
  75.                             <param name=\"quality\" value=\"best\" />
  76.                             <param name=\"pluginurl\" value=\"http://www.macromedia.com/go/getflashplayer\" />
  77.                             <param name=\"flashvars\" value=\"";
  78.                             lastnewstitre();
  79.                             lastnewsdate();
  80.                             warsit();
  81. echo"                        \">
  82.                             </object>
  83.                         </td>
  84.                     </tr>
  85.                 </table>";
  86. if($op==index){get_blok('centre');}
  87. else if($req==index){get_blok('centre');}
  88. }
  89. function footer()
  90. {
  91. global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $nuked;
  92.                 get_blok('bas');
  93. echo"        </td>";
  94. echo"        <td width=\"162\" background=\"themes/dalto_insane/images/d/d_sous.jpg\" valign=\"top\">";
  95.                 get_blok('droite');
  96. echo"        </td>
  97.             <td width=\"60\" background=\"themes/dalto_insane/images/barre/barre_d.jpg\" valign=\"top\"></td>
  98.         </tr>";
  99. echo"    </table>";
  100. echo"    <table width=\"1000\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
  101.             <tr>
  102.                 <td background=\"themes/dalto_insane/images/footer/footer_haut.jpg\" width=\"1000\" height=\"142\"></td>
  103.             </tr>
  104.             <tr>
  105.                 <td background=\"themes/dalto_insane/images/footer/footer_milieu.jpg\" width=\"1000\" height=\"31\" align=\"center\"><font class=\"commentaires\"><b>Design and Php By <a href=\"http://claclac.free.fr\" target=\"_blank\">D@LtO</a> - powered by <a href=\"http://nuked-klan.org\" target=\"_blank\">nuked-klan</b></font></td>
  106.             </tr>
  107.             <tr>
  108.                 <td background=\"themes/dalto_insane/images/footer/footer_bas.jpg\" width=\"1000\" height=\"50\"></td>
  109.             </tr>
  110.         </table>
  111.     </body>
  112.     </html>";
  113. }
  114. function news($data)
  115. {
  116. global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4;
  117. echo"    <table width=\"556\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  118.             <tr>
  119.                 <td background=\"themes/dalto_insane/images/news/news_titre.jpg\" width=\"556\" height=\"16\" align=\"center\"><font class=\"titrenews\">$data[titre]</font></td>
  120.             </tr>
  121.         </table>
  122.         <table width=\"556\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" background=\"themes/dalto_insane/images/news/news_milieu.jpg\">
  123.             <tr>
  124.                 <td width=\"62\" valign=\"top\">
  125.                     <table width=\"62\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  126.                     <tr>
  127.                         <td background=\"themes/dalto_insane/images/news/news_imghaut.jpg\" width=\"62\" height=\"9\"></td>
  128.                     </tr>
  129.                     </table>
  130.                     <table width=\"62\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  131.                     <tr>
  132.                         <td width=\"7\" background=\"themes/dalto_insane/images/news/news_imgg.jpg\" width=\"7\" height=\"50\"></td>
  133.                         <td width=\"50\" background=\"themes/dalto_insane/images/news/news_img.jpg\" width=\"50\" height=\"50\" align=\"center\">$data[image]</td>
  134.                         <td width=\"5\" background=\"themes/dalto_insane/images/news/news_imgd.jpg\" width=\"5\" height=\"50\"></td>
  135.                     </tr>
  136.                     </table>
  137.                     <table width=\"62\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  138.                     <tr>
  139.                         <td background=\"themes/dalto_insane/images/news/news_imgbas.jpg\" width=\"62\" height=\"35\"></td>
  140.                     </tr>
  141.                     </table>
  142.                     <table width=\"62\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  143.                     <tr>
  144.                         <td background=\"themes/dalto_insane/images/news/news_imgsous.jpg\" width=\"62\"></td>
  145.                     </tr>
  146.                     </table>
  147.                 </td>
  148.                 <td width=\"494\">
  149.                     <table width=\"494\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  150.                     <tr>
  151.                         <td background=\"themes/dalto_insane/images/news/news_soustitre.jpg\" width=\"494\" height=\"9\"></td>
  152.                     </tr>
  153.                     </table>
  154.                     <table width=\"494\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  155.                     <tr>
  156.                         <td width=\"15\" background=\"themes/dalto_insane/images/news/news_postg.jpg\" width=\"15\" height=\"15\"></td>
  157.                         <td width=\"479\" background=\"themes/dalto_insane/images/news/news_post.jpg\" width=\"479\" height=\"15\"><b>By <a href=\"index.php?file=Members&op=detail&autor=$data[auteur]\">$data[auteur]</a>,  le $data[date] à $data[heure]</b> -- <a href=\"index.php?file=News&op=index_comment&news_id=$data[id]\">
  158.         Coms ($data[nb_comment])</a></td>
  159.                     </tr>
  160.                     </table>
  161.                     <table width=\"494\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  162.                     <tr>
  163.                         <td background=\"themes/dalto_insane/images/news/news_souspost.jpg\" width=\"494\" height=\"11\"></td>
  164.                     </tr>
  165.                     <tr>
  166.                         <td width=\"494\">
  167.                             <table>
  168.                                 <tr>
  169.                                     <td width=\"4\"></td>
  170.                                     <td width=\"490\">$data[texte]</td>
  171.                                 </tr>
  172.                             </table>
  173.                         </td>
  174.                     </tr>
  175.                     </table>
  176.                 </td>
  177.             </tr>
  178.         </table>
  179.         <table width=\"556\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  180.             <tr>
  181.                 <td background=\"themes/dalto_insane/images/news/news_bas.jpg\" width=\"556\" height=\"17\"></td>
  182.             </tr>
  183.         </table>";
  184. }
  185. function block_gauche($block)
  186. {
  187. global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4;
  188. echo"    <table width=\"162\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  189.         <tr>
  190.             <td width=\"162\" background=\"themes/dalto_insane/images/g/g_titre.jpg\" height=\"17\" align=\"center\"><font class=\"titreblok\"><b>$block[titre]</b></font></td>
  191.         </tr>
  192.         <tr>
  193.             <td width=\"162\" background=\"themes/dalto_insane/images/g/g_soustitre.jpg\" height=\"15\" align=\"center\"></td>
  194.         </tr>
  195.         <tr>
  196.             <td width=\"162\" background=\"themes/dalto_insane/images/g/g_milieu.jpg\">
  197.                 <table width=\"162\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  198.                     <tr>
  199.                         <td width=\"2\"></td>
  200.                         <td width=\"158\">$block[content]</td>
  201.                         <td width=\"2\"></td>
  202.                     </tr>
  203.                 </table>
  204.             </td>
  205.         </tr>
  206.         <tr>
  207.             <td width=\"162\" background=\"themes/dalto_insane/images/g/g_bas.jpg\" height=\"23\"></td>
  208.         </tr>
  209.         </table>";
  210. }
  211. function block_droite($block)
  212. {
  213. global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4;
  214. echo"    <table width=\"162\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  215.         <tr>
  216.             <td width=\"162\" background=\"themes/dalto_insane/images/d/d_titre.jpg\" height=\"17\" align=\"center\"><font class=\"titreblok\"><b>$block[titre]</b></font></td>
  217.         </tr>
  218.         <tr>
  219.             <td width=\"162\" background=\"themes/dalto_insane/images/d/d_soustitre.jpg\" height=\"15\" align=\"center\"></td>
  220.         </tr>
  221.         <tr>
  222.             <td width=\"162\" background=\"themes/dalto_insane/images/d/d_milieu.jpg\">
  223.                 <table width=\"162\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  224.                     <tr>
  225.                         <td width=\"2\"></td>
  226.                         <td width=\"158\">$block[content]</td>
  227.                         <td width=\"2\"></td>
  228.                     </tr>
  229.                 </table>
  230.             </td>
  231.         </tr>
  232.         <tr>
  233.             <td width=\"162\" background=\"themes/dalto_insane/images/d/d_bas.jpg\" height=\"23\"></td>
  234.         </tr>
  235.         </table>";
  236. }
  237. function block_centre($block)
  238. {
  239. global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4;
  240. echo"    <table width=\"556\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  241.             <tr>
  242.                 <td background=\"themes/dalto_insane/images/news/forum/news_titre.jpg\" width=\"556\" height=\"16\" align=\"center\">$block[titre]</td>
  243.             </tr>
  244.             <tr>
  245.                 <td background=\"themes/dalto_insane/images/news/forum/news_soustitre.jpg\" width=\"556\" height=\"9\" align=\"center\"></td>
  246.             </tr>
  247.             <tr>
  248.                 <td background=\"themes/dalto_insane/images/news/forum/news_post.jpg\" width=\"556\" height=\"15\" align=\"center\"></td>
  249.             </tr>
  250.             <tr>
  251.                 <td background=\"themes/dalto_insane/images/news/forum/news_souspost.jpg\" width=\"556\" height=\"11\" align=\"center\"></td>
  252.             </tr>
  253.             <tr>
  254.                 <td background=\"themes/dalto_insane/images/news/forum/news_milieu.jpg\" width=\"556\">
  255.                     <table>
  256.                         <tr>
  257.                             <td width=\"1\"></td>
  258.                             <td width=\"554\" align=\"center\">$block[content]</td>
  259.                             <td width=\"1\"></td>
  260.                         </tr>
  261.                     </table>
  262.                 </td>
  263.             </tr>
  264.             <tr>
  265.                 <td background=\"themes/dalto_insane/images/news/forum/news_bas.jpg\" width=\"556\" height=\"17\"></td>
  266.             </tr>
  267.         </table>";
  268. }
  269. function block_bas($block)
  270. {
  271. global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4;
  272. echo"    <table width=\"556\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  273.             <tr>
  274.                 <td background=\"themes/dalto_insane/images/news/forum/news_titre.jpg\" width=\"556\" height=\"16\" align=\"center\">$block[titre]</td>
  275.             </tr>
  276.             <tr>
  277.                 <td background=\"themes/dalto_insane/images/news/forum/news_soustitre.jpg\" width=\"556\" height=\"9\" align=\"center\"></td>
  278.             </tr>
  279.             <tr>
  280.                 <td background=\"themes/dalto_insane/images/news/forum/news_post.jpg\" width=\"556\" height=\"15\" align=\"center\"></td>
  281.             </tr>
  282.             <tr>
  283.                 <td background=\"themes/dalto_insane/images/news/forum/news_souspost.jpg\" width=\"556\" height=\"11\" align=\"center\"></td>
  284.             </tr>
  285.             <tr>
  286.                 <td background=\"themes/dalto_insane/images/news/forum/news_milieu.jpg\" width=\"556\">
  287.                     <table>
  288.                         <tr>
  289.                             <td width=\"1\"></td>
  290.                             <td width=\"554\" align=\"center\">$block[content]</td>
  291.                             <td width=\"1\"></td>
  292.                         </tr>
  293.                     </table>
  294.                 </td>
  295.             </tr>
  296.             <tr>
  297.                 <td background=\"themes/dalto_insane/images/news/forum/news_bas.jpg\" width=\"556\" height=\"17\"></td>
  298.             </tr>
  299.         </table>";
  300. }
  301. function opentable()
  302. {
  303. global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $file;
  304. echo"    <table width=\"556\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  305.             <tr>
  306.                 <td background=\"themes/dalto_insane/images/news/forum/news_titre.jpg\" width=\"556\" height=\"16\" align=\"center\">$file</td>
  307.             </tr>
  308.             <tr>
  309.                 <td background=\"themes/dalto_insane/images/news/forum/news_soustitre.jpg\" width=\"556\" height=\"9\" align=\"center\"></td>
  310.             </tr>
  311.             <tr>
  312.                 <td background=\"themes/dalto_insane/images/news/forum/news_post.jpg\" width=\"556\" height=\"15\" align=\"center\"></td>
  313.             </tr>
  314.             <tr>
  315.                 <td background=\"themes/dalto_insane/images/news/forum/news_souspost.jpg\" width=\"556\" height=\"11\" align=\"center\"></td>
  316.             </tr>
  317.             <tr>
  318.                 <td background=\"themes/dalto_insane/images/news/forum/news_milieu.jpg\" width=\"556\">
  319.                     <table>
  320.                         <tr>
  321.                             <td width=\"1\"></td>
  322.                             <td width=\"554\" align=\"center\">";
  323. }
  324. function closetable()
  325. {
  326. echo"                        </td>
  327.                             <td width=\"1\"></td>
  328.                         </tr>
  329.                     </table>
  330.                 </td>
  331.             </tr>
  332.             <tr>
  333.                 <td background=\"themes/dalto_insane/images/news/forum/news_bas.jpg\" width=\"556\" height=\"17\"></td>
  334.             </tr>
  335.         </table>";
  336. }
  337. ?>


Message édité par AFK Silent le 10-08-2007 à 10:34:10
Liens sponsorisés


Inscrivez-vous ou connectez-vous pour masquer ceci.

Profil : Extensionaute
Plus d'informations

Tu peux ajouter une ligne dans ton fichier de CSS, avec :

Code :
  1. h2 { color: #FFF; }


---------------
/!\ Le vaincrez-vous ?! /!\
Qui boit la gnaune casse la bagnole.
Profil : IDNaute
Plus d'informations

Et quel est le fichier css ?

Profil : Extensionaute
Plus d'informations

Tu as cette ligne dans ton fichier :

Code :
  1. <link title=\"style\" type=\"text/css\" rel=\"stylesheet\" href=\"themes/dalto_insane/style.css\">


---------------
/!\ Le vaincrez-vous ?! /!\
Qui boit la gnaune casse la bagnole.
Profil : IDNaute
Plus d'informations

Merci Omar, t'es trop fort ^^. Par contre, comment placer mon texte au pixel près et aussi, pour ton extention :

Forbidden

You don't have permission to access /omarizeidn.xpi on this server.
Apache/2.0.52 (Red Hat) DAV/2 mod_python/3.1.3 Python/2.3.4 Server at blogaomar.rf.lv Port 80

Profil : Extensionaute
Plus d'informations

Pour placer ton texte, tu peux avec les attributs top et left en CSS.

Code :
  1. top: 20px;
  2. left: 10px;



Ca va te placer ton code à 10 pixels par rapport à la gauche et 20 pixels par rapport au haut.

Et pour mon extension, essaie ce nouveau lien :
http://weirdclan.chez.tiscali.fr/IDN/omarizeidn v0.9.6.4.xpi


---------------
/!\ Le vaincrez-vous ?! /!\
Qui boit la gnaune casse la bagnole.
Profil : IDNaute