It is currently Tue 27 Sep 2016 - 12:24 - créer un forum

[Tuto] Une bannière ou une phrase aléatoire sur votre forum

Skip to content

Post new topic Reply to topic Goto page: <  1, 2, 310, 11, 1215, 16, 17  >

[Tuto] Une bannière ou une phrase aléatoire sur votre forum
Author Message
Yskander


Joined: 26 Jan 2008
Posts: 1,558

PostPosted: Sat 2 May 2009 - 11:20    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum Reply with quote

PublicitéSupprimer les publicités ?
Previous post review:

Vous aviez collé le code image au code permettant de retirer l'encadrement


 
Code: Sélectionner - Agrandir
"<img src='http://img28.xooimage.com/files/4/2/2/aladin-ecran-2-copie-dd77a4.jpg'style="border:0;"> "
Et comme je ne savais pas le code que vous aviez utilisé je vous ai donné style="border:0;" alors qu'un style='border:0;' était préférable.

Wink
Forum
Author Message
hikaru1705


Offline
Guest




PostPosted: Sat 2 May 2009 - 11:37    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum Reply with quote

Merci bcp ^^

Ah, je me rend compte d'un petit problème, lorsque je visualise sur IE, ce qui a en dessous de ma bannière est à gauche, alors que c'est à droite en visualisant sur firefox, y a t-il un moyen pour arranger ça ?

je vous met mon overhead header, si ça peut vous aider^^

Code: Sélectionner - Agrandir

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<!-- link rel="stylesheet" href="http://img5.xooimage.com/files/f/d/2/subsilver-7913b3.css" type="text/css" -->
<style type="text/css">
<!--
/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com

  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/

/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
    background-color: {T_BODY_BGCOLOR};
    scrollbar-face-color: {T_TR_COLOR2};
    scrollbar-highlight-color: {T_TD_COLOR2};
    scrollbar-shadow-color: {T_TR_COLOR2};
    scrollbar-3dlight-color: {T_TR_COLOR3};
    scrollbar-arrow-color:  {T_BODY_LINK};
    scrollbar-track-color: {T_TR_COLOR1};
    scrollbar-darkshadow-color: {T_TH_COLOR1};
}

/* General font families for common tags */
font,th,td,p { font-family: {T_FONTFACE1} }
a:link,a:active,a:visited { color : {T_BODY_LINK}; }
a:hover        { text-decoration: underline; color : {T_BODY_HLINK}; }
hr    { height: 0px; border: solid {T_TR_COLOR3} 0px; border-top-width: 1px;}

/* This is the border line & background colour round the entire page */
.bodyline    { background-color: {T_TD_COLOR2}; border: 1px {T_TH_COLOR1} solid; }

/* This is the outline round the main forum tables */
.forumline    { background-color: {T_TD_COLOR2}; border: 2px {T_TH_COLOR2} solid; }

/* Main table cell colours and backgrounds */
td.row1    { background-color: {T_TR_COLOR1}; }
td.row2    { background-color: {T_TR_COLOR2}; }
td.row3    { background-color: {T_TR_COLOR3}; }

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
        background-color: {T_TD_COLOR2};
        background-image: url(http://img5.xooimage.com/files/c/e/cellpic2-30da7.jpg);
        background-repeat: repeat-y;
}

/* Header cells - the blue and silver gradient backgrounds */
th    {
    color: {T_FONTCOLOR3}; font-size: {T_FONTSIZE2}px; font-weight : bold;
    background-color: {T_BODY_LINK}; height: 25px;
    background-image: url(http://img7.xooimage.com/files/3/c/0/cellpic1-908c2.png);
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
            background-image: url(http://img3.xooimage.com/files/a/6/a/fond_page-78d142.jpg);
            background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; height: 28px;
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
    height: 29px;
    border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
    font-weight: bold; border: {T_TD_COLOR2}; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
    background-color: {T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid;
}

th.thHead,td.catHead { font-size: {T_FONTSIZE3}px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow     { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right     { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft      { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop     { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }

/* The largest text used in the index page title and toptic title etc. */
.maintitle    {
    font-weight: bold; font-size: 22px; font-family: "{T_FONTFACE2}",{T_FONTFACE1};
    text-decoration: none; line-height : 120%; color : {T_BODY_TEXT};
}

/* General text */
.gen { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall { color: {T_BODY_LINK}; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover    { color: {T_BODY_HLINK}; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu        { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT} }
a.mainmenu        { text-decoration: none; color : {T_BODY_LINK};  }
a.mainmenu:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }

/* Forum category titles */
.cattitle        { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}}
a.cattitle        { text-decoration: none; color : {T_BODY_LINK}; }
a.cattitle:hover{ text-decoration: underline; }

/* Forum title: Text and link to the forums used in: index.php */
.forumlink        { font-weight: bold; font-size: {T_FONTSIZE3}px; color : {T_BODY_LINK}; }
a.forumlink     { text-decoration: none; color : {T_BODY_LINK}; }
a.forumlink:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav            { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
a.nav            { text-decoration: none; color : {T_BODY_LINK}; }
a.nav:hover        { text-decoration: underline; }

/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2    { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
a.topictitle:link   { text-decoration: none; color : {T_BODY_LINK}; }
a.topictitle:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.topictitle:hover    { text-decoration: underline; color : {T_BODY_HLINK}; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name            { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};}

/* Location, number of posts, post date etc */
.postdetails        { font-size : {T_FONTSIZE1}px; color : {T_BODY_TEXT}; }

/* The content of the posts (body of text) */
.postbody { font-size : {T_FONTSIZE3}px; line-height: 18px}
a.postlink:link    { text-decoration: none; color : {T_BODY_LINK} }
a.postlink:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.postlink:hover { text-decoration: underline; color : {T_BODY_HLINK}}

/* Quote & Code blocks */
.code {
    font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2};
    background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
    border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
    font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%;
    background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
    border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

/* Copyright and bottom info */
.copyright        { font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
a.copyright        { color: {T_FONTCOLOR1}; text-decoration: none;}
a.copyright:hover { color: {T_BODY_TEXT}; text-decoration: underline;}

/* Form elements */
input,textarea, select {
    color : {T_BODY_TEXT};
    font: normal {T_FONTSIZE2}px {T_FONTFACE1};
    border-color: {T_BODY_TEXT};
}

/* The text input fields background colour */
input.post, textarea.post, select {
    background-color : {T_TD_COLOR2};
    border-width:1px;
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
    background-color : {T_TR_COLOR1};
    color : {T_BODY_TEXT};
    font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1};
}

/* The main submit button option */
input.mainoption {
    background-color : {T_TD_COLOR1};
    font-weight : bold;
    border-width:1px;
}

/* None-bold submit button */
input.liteoption {
    background-color : {T_TD_COLOR1};
    font-weight : normal;
    border-width:1px;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: {T_TR_COLOR2}; border-style: none; }

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("http://img10.xooimage.com/files/f/o/formie-30d7c.css");
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
    if ( {PRIVATE_MESSAGE_NEW_FLAG} )
    {
        window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
    }
//-->
</script>
<!-- END switch_enable_pm_popup -->
<meta name="verify-v1" content="VUZUJ9We78DwBb5wOFJHbk9zyF3sZaG1GZeNmX5aLEA=" />
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">

<a name="top"></a>

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
    <tr>
        <td class="bodyline">

    <td><center><a href="{U_INDEX}"><script> function aleatoire(phrases) {
         var length = phrases.length;
         var rand   = Math.floor(Math.random()*length);
         document.write(phrases[rand]);
        }
        aleatoire([
        "<img src='http://img2.xooimage.com/files/c/d/b/baniere-1-copie-1--c358f2.jpg' style='border:0;'/>",
        "<img src='http://img46.xooimage.com/files/9/d/0/banni-re2-copie-dd774d.jpg' style='border:0;'/>",
        "<img src='http://img28.xooimage.com/files/4/2/2/aladin-ecran-2-copie-dd77a4.jpg' style='border:0;'/>"
         ]);
        </script></a></center></td>


                <table cellspacing="0" cellpadding="2" border="0" style="margin:auto">
                    <tr>
                        <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="http://img1.xooimage.com/files/i/n/interrogation-1--2e754.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu">&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="http://img9.xooimage.com/files/i/c/icon_mini_search-30d7d.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="http://img8.xooimage.com/files/i/c/icon_mini_members-30d7e.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="http://img3.xooimage.com/files/i/c/icon_mini_groups-30d7f.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;
                        <!-- BEGIN switch_user_logged_out -->
                        &nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="http://img5.xooimage.com/files/i/c/icon_mini_register-30d80.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>&nbsp;
                        <!-- END switch_user_logged_out -->
                        </td>
                    </tr>
                    <tr>
                        <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="http://img2.xooimage.com/files/i/c/icon_mini_profile-30d81.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="http://img8.xooimage.com/files/i/c/icon_mini_message-30d82.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="http://img4.xooimage.com/files/i/c/icon_mini_login-30d83.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
                    </tr>
                </table>
</div>
        <br />



Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sat 2 May 2009 - 12:31    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum Reply with quote

bonjour

tu veux que ce soit à gauche ou à droite?? sous ie et ff
_______________________


Forum
Author Message
hikaru1705


Offline
Guest




PostPosted: Sat 2 May 2009 - 13:18    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum Reply with quote

J'aimerais que "FAQ Rechercher Membres Groupes S’enregistrer
Profil Se connecter pour vérifier ses messages privés Connexion " sois centré.


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sat 2 May 2009 - 13:22    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum Reply with quote

mets ça

Code: Sélectionner - Agrandir

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html dir="{S_CONTENT_DIRECTION}">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
    <meta http-equiv="Content-Style-Type" content="text/css">
    {META}
    {NAV_LINKS}
    <title>{SITENAME} :: {PAGE_TITLE}</title>
    <!-- link rel="stylesheet" href="http://img5.xooimage.com/files/f/d/2/subsilver-7913b3.css" type="text/css" -->
    <style type="text/css">
    <!--
    /*
      The original subSilver Theme for phpBB version 2+
      Created by subBlue design
      http://www.subBlue.com

      NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
      theme administration centre. When you have finalised your style you could cut the final CSS code
      and place it in an external file, deleting this section to save bandwidth.
    */

    /* General page style. The scroll bar colours only visible in IE5.5+ */
    body {
        background-color: {T_BODY_BGCOLOR};
        scrollbar-face-color: {T_TR_COLOR2};
        scrollbar-highlight-color: {T_TD_COLOR2};
        scrollbar-shadow-color: {T_TR_COLOR2};
        scrollbar-3dlight-color: {T_TR_COLOR3};
        scrollbar-arrow-color:  {T_BODY_LINK};
        scrollbar-track-color: {T_TR_COLOR1};
        scrollbar-darkshadow-color: {T_TH_COLOR1};
    }

    /* General font families for common tags */
    font,th,td,p { font-family: {T_FONTFACE1} }
    a:link,a:active,a:visited { color : {T_BODY_LINK}; }
    a:hover        { text-decoration: underline; color : {T_BODY_HLINK}; }
    hr    { height: 0px; border: solid {T_TR_COLOR3} 0px; border-top-width: 1px;}

    /* This is the border line & background colour round the entire page */
    .bodyline    { background-color: {T_TD_COLOR2}; border: 1px {T_TH_COLOR1} solid; }

    /* This is the outline round the main forum tables */
    .forumline    { background-color: {T_TD_COLOR2}; border: 2px {T_TH_COLOR2} solid; }

    /* Main table cell colours and backgrounds */
    td.row1    { background-color: {T_TR_COLOR1}; }
    td.row2    { background-color: {T_TR_COLOR2}; }
    td.row3    { background-color: {T_TR_COLOR3}; }

    /*
      This is for the table cell above the Topics, Post & Last posts on the index.php page
      By default this is the fading out gradiated silver background.
      However, you could replace this with a bitmap specific for each forum
    */
    td.rowpic {
            background-color: {T_TD_COLOR2};
            background-image: url(http://img5.xooimage.com/files/c/e/cellpic2-30da7.jpg);
            background-repeat: repeat-y;
    }

    /* Header cells - the blue and silver gradient backgrounds */
    th    {
        color: {T_FONTCOLOR3}; font-size: {T_FONTSIZE2}px; font-weight : bold;
        background-color: {T_BODY_LINK}; height: 25px;
        background-image: url(http://img7.xooimage.com/files/3/c/0/cellpic1-908c2.png);
    }

    td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
                background-image: url(http://img3.xooimage.com/files/a/6/a/fond_page-78d142.jpg);
                background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; height: 28px;
    }

    /*
      Setting additional nice inner borders for the main table cells.
      The names indicate which sides the border will be on.
      Don't worry if you don't understand this, just ignore it :-)
    */
    td.cat,td.catHead,td.catBottom {
        height: 29px;
        border-width: 0px 0px 0px 0px;
    }
    th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
        font-weight: bold; border: {T_TD_COLOR2}; border-style: solid; height: 28px;
    }
    td.row3Right,td.spaceRow {
        background-color: {T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid;
    }

    th.thHead,td.catHead { font-size: {T_FONTSIZE3}px; border-width: 1px 1px 0px 1px; }
    th.thSides,td.catSides,td.spaceRow     { border-width: 0px 1px 0px 1px; }
    th.thRight,td.catRight,td.row3Right     { border-width: 0px 1px 0px 0px; }
    th.thLeft,td.catLeft      { border-width: 0px 0px 0px 1px; }
    th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
    th.thTop     { border-width: 1px 0px 0px 0px; }
    th.thCornerL { border-width: 1px 0px 0px 1px; }
    th.thCornerR { border-width: 1px 1px 0px 0px; }

    /* The largest text used in the index page title and toptic title etc. */
    .maintitle    {
        font-weight: bold; font-size: 22px; font-family: "{T_FONTFACE2}",{T_FONTFACE1};
        text-decoration: none; line-height : 120%; color : {T_BODY_TEXT};
    }

    /* General text */
    .gen { font-size : {T_FONTSIZE3}px; }
    .genmed { font-size : {T_FONTSIZE2}px; }
    .gensmall { font-size : {T_FONTSIZE1}px; }
    .gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
    a.gen,a.genmed,a.gensmall { color: {T_BODY_LINK}; text-decoration: none; }
    a.gen:hover,a.genmed:hover,a.gensmall:hover    { color: {T_BODY_HLINK}; text-decoration: underline; }

    /* The register, login, search etc links at the top of the page */
    .mainmenu        { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT} }
    a.mainmenu        { text-decoration: none; color : {T_BODY_LINK};  }
    a.mainmenu:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }

    /* Forum category titles */
    .cattitle        { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}}
    a.cattitle        { text-decoration: none; color : {T_BODY_LINK}; }
    a.cattitle:hover{ text-decoration: underline; }

    /* Forum title: Text and link to the forums used in: index.php */
    .forumlink        { font-weight: bold; font-size: {T_FONTSIZE3}px; color : {T_BODY_LINK}; }
    a.forumlink     { text-decoration: none; color : {T_BODY_LINK}; }
    a.forumlink:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }

    /* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
    .nav            { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
    a.nav            { text-decoration: none; color : {T_BODY_LINK}; }
    a.nav:hover        { text-decoration: underline; }

    /* titles for the topics: could specify viewed link colour too */
    .topictitle,h1,h2    { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
    a.topictitle:link   { text-decoration: none; color : {T_BODY_LINK}; }
    a.topictitle:visited { text-decoration: none; color : {T_BODY_VLINK}; }
    a.topictitle:hover    { text-decoration: underline; color : {T_BODY_HLINK}; }

    /* Name of poster in viewmsg.php and viewtopic.php and other places */
    .name            { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};}

    /* Location, number of posts, post date etc */
    .postdetails        { font-size : {T_FONTSIZE1}px; color : {T_BODY_TEXT}; }

    /* The content of the posts (body of text) */
    .postbody { font-size : {T_FONTSIZE3}px; line-height: 18px}
    a.postlink:link    { text-decoration: none; color : {T_BODY_LINK} }
    a.postlink:visited { text-decoration: none; color : {T_BODY_VLINK}; }
    a.postlink:hover { text-decoration: underline; color : {T_BODY_HLINK}}

    /* Quote & Code blocks */
    .code {
        font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2};
        background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
        border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
    }

    .quote {
        font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%;
        background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
        border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
    }

    /* Copyright and bottom info */
    .copyright        { font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
    a.copyright        { color: {T_FONTCOLOR1}; text-decoration: none;}
    a.copyright:hover { color: {T_BODY_TEXT}; text-decoration: underline;}

    /* Form elements */
    input,textarea, select {
        color : {T_BODY_TEXT};
        font: normal {T_FONTSIZE2}px {T_FONTFACE1};
        border-color: {T_BODY_TEXT};
    }

    /* The text input fields background colour */
    input.post, textarea.post, select {
        background-color : {T_TD_COLOR2};
        border-width:1px;
    }

    input { text-indent : 2px; }

    /* The buttons used for bbCode styling in message post */
    input.button {
        background-color : {T_TR_COLOR1};
        color : {T_BODY_TEXT};
        font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1};
    }

    /* The main submit button option */
    input.mainoption {
        background-color : {T_TD_COLOR1};
        font-weight : bold;
        border-width:1px;
    }

    /* None-bold submit button */
    input.liteoption {
        background-color : {T_TD_COLOR1};
        font-weight : normal;
        border-width:1px;
    }

    /* This is the line in the posting page which shows the rollover
      help line. This is actually a text box, but if set to be the same
      colour as the background no one will know ;)
    */
    .helpline { background-color: {T_TR_COLOR2}; border-style: none; }

    /* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
    @import url("http://img10.xooimage.com/files/f/o/formie-30d7c.css");
    -->
    </style>
    <!-- BEGIN switch_enable_pm_popup -->
    <script language="Javascript" type="text/javascript">
    <!--
        if ( {PRIVATE_MESSAGE_NEW_FLAG} )
        {
            window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
        }
    //-->
    </script>
    <!-- END switch_enable_pm_popup -->
    <meta name="verify-v1" content="VUZUJ9We78DwBb5wOFJHbk9zyF3sZaG1GZeNmX5aLEA=" />
    </head>
    <body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">

    <a name="top"></a>

    <table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
        <tr>
            <td class="bodyline">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
         <tr>
        <td><center><a href="{U_INDEX}"><script> function aleatoire(phrases) {
             var length = phrases.length;
             var rand   = Math.floor(Math.random()*length);
             document.write(phrases[rand]);
            }
            aleatoire([
            "<img src='http://img2.xooimage.com/files/c/d/b/baniere-1-copie-1--c358f2.jpg' style='border:0;'/>",
            "<img src='http://img46.xooimage.com/files/9/d/0/banni-re2-copie-dd774d.jpg' style='border:0;'/>",
            "<img src='http://img28.xooimage.com/files/4/2/2/aladin-ecran-2-copie-dd77a4.jpg' style='border:0;'/>"
             ]);
            </script></a></center></td>
</tr>
<tr>


                    <table cellspacing="0" cellpadding="2" border="0" style="margin:auto" align="center">
                        <tr>
                            <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="http://img1.xooimage.com/files/i/n/interrogation-1--2e754.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu">&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="http://img9.xooimage.com/files/i/c/icon_mini_search-30d7d.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="http://img8.xooimage.com/files/i/c/icon_mini_members-30d7e.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="http://img3.xooimage.com/files/i/c/icon_mini_groups-30d7f.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;
                            <!-- BEGIN switch_user_logged_out -->
                            &nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="http://img5.xooimage.com/files/i/c/icon_mini_register-30d80.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>&nbsp;
                            <!-- END switch_user_logged_out -->
                            </td>
                        </tr>
                        <tr>
                            <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="http://img2.xooimage.com/files/i/c/icon_mini_profile-30d81.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="http://img8.xooimage.com/files/i/c/icon_mini_message-30d82.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="http://img4.xooimage.com/files/i/c/icon_mini_login-30d83.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
                        </tr>
                    </table>
    </div>
            <br />


      <br />

_______________________


Forum
Author Message
hikaru1705


Offline
Guest




PostPosted: Sat 2 May 2009 - 13:44    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum Reply with quote

ça marche !!!!!!!!!!!!! Vraiment merci beaucoup.
Je vais quand même poser une dernière question (je ne pense pas, ou je ne l'ai pas compris XD)
Si je désire rajouter d'autre image, je met un truc de ce genre :
Code: Sélectionner - Agrandir

"<img src='notre bannière'style='border:0;'/>",


et si c'est la dernière, j'enlève la virgule ce qui donnerais

Code: Sélectionner - Agrandir

"<img src='notre bannière'style='border:0;'/>"


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sat 2 May 2009 - 18:22    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum Reply with quote

oui
_______________________


Forum
Author Message
mouttet


Offline
Guest




PostPosted: Sat 2 May 2009 - 19:39    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum Reply with quote

bon j'ai une question :

a quel ligne de la template dois je mettre le scipt ?


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sat 2 May 2009 - 19:41    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum Reply with quote

panneau admin
thème
modifier les templates
overall header cherches

Code: Sélectionner - Agrandir
<td align="center"><a href="{U_INDEX}"><img src="http://img5.xooimage.com/files/l/o/logo_phpbb-35a6d.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>

tu mets comme ça

<td align="center"><a href="{U_INDEX}">le code</a></td>


sinon comme indiqué il suffit de lire les dernières pages c'est la même question
_______________________


Forum
Author Message
mouttet


Offline
Guest




PostPosted: Sat 2 May 2009 - 19:49    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum Reply with quote

et je suis obliger de le mettre dans overwall header , moi ce que j'aimerai c'est que les image aléatoir apraisse que tu sois sur l'index ou dans un sujet
          
          
          


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sat 2 May 2009 - 19:52    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum Reply with quote

oui tu dois le mettre dans overall header

sinon au début de index body et de viewtopic body
_______________________


Forum
Author Message
mouttet


Offline
Guest




PostPosted: Sat 2 May 2009 - 19:56    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum Reply with quote

voici mon code car je ne trouve pas la ligne :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="http://img.xooimage.com/files8/8/1/0/workstation_electro-788019.css" type="text/css">


<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
    if ( {PRIVATE_MESSAGE_NEW_FLAG} )
    {
        window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
    }
//-->
</script>
<!-- END switch_enable_pm_popup -->

<script>
<!-- Hide from old browsers


function pickimg(){
var dt = new Date();
var gmt = dt.getHours() + 1;
var imagenumber = 26 ;
var ziro = "";
if (gmt < 10) { ziro = "0"; }

document.randimg.src = "oday/TN_" + ziro + gmt + ".jpg";
}
// -- End Hiding Here -->
</script>

<link rel="shortcut icon" href=" http://img381.imageshack.us/img381/1968/preview16x16ut7.png ">
</HEAD>

<BODY BGCOLOR=#7EA1B1 text="#FFFFFF" link="#8EB1C1" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>

        



<table width="90%"><tr><td width="100%">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="16">
</td>
    <td align="right" background="http://img.xooimage.com/files10/i/n/inner_05-3106c.gif">
</td>
      <td align="center" background="http://img.xooimage.com/files5/i/n/inner_08-3106e.gif">
     
      <!--- Votre logo ici --->
     


           
      <!--- Ou un petit texte si vous n'avez pas de logo --->
      <!--- <span class="maintitle">{SITENAME}</span>
<span class="gen">{SITE_DESCRIPTION}</span> --->
     
     
      </td>
    <td align="left" background="http://img.xooimage.com/files10/i/n/inner_05-3106c.gif">
</td>
    <td width="24">
</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="16" background="http://img.xooimage.com/files9/i/n/inner_19-31072.gif">
</td>
    <td bgcolor="#51748F">

        
        

        
 <!--- Menu --->
       




<!-- BEGIN switch_user_logged_out -->

<!-- END switch_user_logged_out -->


<!-- BEGIN switch_user_logged_in -->

<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->

<!-- END switch_user_logged_out -->                   
       
        <!--- /Menu --->


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sat 2 May 2009 - 20:00    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum Reply with quote

ici

<!--- Votre logo ici --->
     


           
      <!--- Ou un petit texte si vous n'avez pas de logo --->

sinon quand tu mets un template mets comme ça

http://xooit.xooit.com/t40996-Poster-le-contenu-d-un-template.htm
_______________________


Forum
Author Message
mouttet


Offline
Guest




PostPosted: Sat 2 May 2009 - 20:07    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum Reply with quote

donc je met ce code(le plus gros code) ou il y a marqué "le code " dans ce code la "
<td align="center">le code</td>"   :

<script> function aleatoire(phrases) {
 var length = phrases.length;
 var rand   = Math.floor(Math.random()*length);
 document.write(phrases[rand]);
}
aleatoire([
"<img src='URL IMAGE 1'/>",
"<img src='URL IMAGE 2'/>",
"<img src='URL IMAGE 3'/>",
"<img src='URL IMAGE 4'/>"
 ]);
</script>


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sat 2 May 2009 - 20:09    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum Reply with quote

oui tu remplaces le code par ton code
_______________________


Forum
Author Message
mouttet


Offline
Guest




PostPosted: Sat 2 May 2009 - 20:13    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum Reply with quote

super je vais tester merci ^^ Very Happy

Author Message
Contenu Sponsorisé





PostPosted: Today at 12:24    Post subject: [Tuto] Une bannière ou une phrase aléatoire sur votre forum

Display posts from previous:   
Reply to topic Page 11 of 17 Goto page: <  1, 2, 310, 11, 1215, 16, 17  >




Portal | Index | Administration Panel | Create a forum | Free support forum | Free forums directory | Report a violation | Conditions générales d'utilisation
Propulsé par p h p B B © 2016 p h p B B Group |
 
© 2003-2013 Xooit.com - Contact - Mentions légales - CGU - Charte - CNIL : 1381401