CSSActif, le forum, n'est plus maintenu. Il est néanmoins disponible pour consultation. Pour des outils pratiques, rendez-vous sur: Découvrez CSSActif, une collection d'outils et de tutoriels interactifs pour les développeurs Web — HTML, CSS, JavaScript et bien plus! |
| [résolu]"Mixer" deux templates index_body (QEEL) | |
| Sthyx
{ Membre }
Messages : 107
| Bonjour ! Donc voilà, sur mon forum "propre" je vais dire, il y a une modification des mots du qui est là (par Kimy lors de ma commande). Sur mon forum "bordel", j'ai réussis à installer une image et à modifier joliement les groupes grâce à un tuto ici. Maintenant j'aimerais "mixer" ces deux templates pour avoir ET l'image ET les modifications de mot pour mon forum "propre". J'ai essayé toute seule mais ça donne un truc bizarre (les statistiques sont dans des carrés de couleurs en dehors de l'image T.T (si vous ne savez toujours pas ouvrir les spoilers, dites le moi, j'enlèverais les balises ^^) Voici le template index-body du forum "Propre" (modifié par Kimy !) - Spoiler:
- Code:
-
{JAVAscript} <!-- BEGIN message_admin_index --> <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0"> <!-- BEGIN message_admin_titre --> <tr> <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td> </tr> <!-- END message_admin_titre --> <!-- BEGIN message_admin_txt --> <tr> <td class="row1" rowspan="3" align="center" valign="middle"> <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div> </td> </tr> <!-- END message_admin_txt --> </table> <!-- END message_admin_index -->
<!-- BEGIN switch_user_login_form_header --> <form action="{S_LOGIN_ACTION}" method="post" name="form_login"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline"> <tr> <td width="100%" valign="top" align="center" class="row1"> <label><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" size="10" name="username" /></label> <label><span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" size="10" name="password" /></label> {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
</td> </tr> </table> </form> <!-- END switch_user_login_form_header -->
{CHATBOX_TOP} {BOARD_INDEX} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%" valign="top"> <!-- BEGIN switch_user_logged_in --> <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a> <!-- END switch_user_logged_in --> <!-- BEGIN switch_delete_cookies --> <a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a> <!-- END switch_delete_cookies --> </span> </td> <td width="50%" align="right"> <span class="gensmall"> <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a>
<a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a>
<a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a> <!-- BEGIN switch_on_index --> <!-- BEGIN switch_delete_cookies --> <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a> <!-- END switch_delete_cookies --> <!-- END switch_on_index --> </span> </td> </tr> </table>
<!-- BEGIN switch_user_login_form_footer --> <form action="{S_LOGIN_ACTION}" method="post" name="form_login"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline"> <tr> <td width="100%" valign="top" align="center" class="row1"> <span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" size="10" name="username"/> <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" size="10" name="password"/> {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /> </td> </tr> </table> </form> <!-- END switch_user_login_form_footer -->
<!-- BEGIN disable_viewonline --> <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <td class="catHead" colspan="2" height="28"><center><span class="cattitle"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">Que se passe-t-il sur l'île ?</a></span></center></td> </tr> <tr> <td class="row1" rowspan="6" align="center" valign="middle"><img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" /></td> <td class="row1" width="100%"><span class="gensmall"><span id="totalmessages">{TOTAL_POSTS}</span>
<span id="totalmembres">{TOTAL_USERS}</span>
<span id="dernierutilisateur">{NEWEST_USER}</span></span>
<script type="text/javascript"> document.getElementById('totalmembres').innerHTML=document.getElementById('totalmembres').innerHTML.replace(/membre enregistré/,"personne"); document.getElementById('totalmembres').innerHTML=document.getElementById('totalmembres').innerHTML.replace(/membres enregistrés/,"personnes"); document.getElementById('totalmembres').innerHTML=document.getElementById('totalmembres').innerHTML.replace(/Nous avons/,"La population autochtone s'élève à");
document.getElementById('dernierutilisateur').innerHTML=document.getElementById('dernierutilisateur').innerHTML.replace(/L'utilisateur enregistré le plus récent est/,"Le dernier intégré au village est");
document.getElementById('totalmessages').innerHTML=document.getElementById('totalmessages').innerHTML.replace(/Nos membres ont posté un total de/,"Les rescapés ont répertorié");
</script></td> </tr> <tr> <td class="row1"><span class="gensmall"><span class="gensmall"><span id="delf">{TOTAL_USERS_ONLINE}</span><script type="text/javascript">
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/utilisateur en ligne/,"personne sur l'île"); document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/utilisateurs en ligne/,"personnes sur l'île");
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Il y a en tout/,"En ce moment il y a");
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Enregistré/,"habitant"); document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Enregistrés/,"habitants");
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Invisible et/,"cachotier,"); document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Invisibles et /,"cachotiers,");
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Invité/,"inconnu"); document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Invités/,"inconnus");
</script></span>
<span id="enligne">{LOGGED_IN_USER_LIST}</span><script type="text/javascript">
document.getElementById('enligne').innerHTML=document.getElementById('enligne').innerHTML.replace(/Utilisateurs enregistrés :/,"Habitants réveillés :");
</script></span></td> </tr> {L_CONNECTED_MEMBERS} {L_WHOSBIRTHDAY_TODAY} {L_WHOSBIRTHDAY_WEEK} <tr> <td class="row1"><span class="gensmall">{LEGEND} : {GROUP_LEGEND}</span></td> </tr> <!-- BEGIN switch_chatbox_activate --> <tr> <td class="row1"> <span class="gensmall">{TOTAL_CHATTERS_ONLINE} : {CHATTERS_LIST}
<!-- BEGIN switch_chatbox_popup --> <div id="chatbox_popup"></div> <script type="text/javascript"> //<![CDATA[ insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}'); //]]> </script> <!-- END switch_chatbox_popup --> </span> </td> </tr> <!-- END switch_chatbox_activate --> </table> <!-- END disable_viewonline --> {CHATBOX_BOTTOM} <br clear="all" /> <!-- BEGIN switch_legend --> <table border="0" cellspacing="3" cellpadding="0" align="center"> <tr> <td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td> <td><span class="gensmall">{L_NEW_POSTS}</span></td> <td></td> <td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td> <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td> <td> </td> <td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td> <td><span class="gensmall">{L_FORUM_LOCKED}</span></td> </tr> </table> <!-- END switch_legend -->
{AUTO_DST}
Et ici le code de l'index_body du Bordel - Spoiler:
- Code:
-
{JAVAscript} <!-- BEGIN message_admin_index --> <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0"> <!-- BEGIN message_admin_titre --> <tr> <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td> </tr> <!-- END message_admin_titre --> <!-- BEGIN message_admin_txt --> <tr> <td class="row1" rowspan="3" align="center" valign="middle"> <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div> </td> </tr> <!-- END message_admin_txt --> </table> <!-- END message_admin_index -->
<!-- BEGIN switch_user_login_form_header --> <form action="{S_LOGIN_ACTION}" method="post" name="form_login"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline"> <tr> <td width="100%" valign="top" align="center" class="row1"> <label><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" size="10" name="username" /></label> <label><span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" size="10" name="password" /></label> {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
</td> </tr> </table> </form> <!-- END switch_user_login_form_header -->
{CHATBOX_TOP} {BOARD_INDEX} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%" valign="top"> <!-- BEGIN switch_user_logged_in --> <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a> <!-- END switch_user_logged_in --> <!-- BEGIN switch_delete_cookies --> <a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a> <!-- END switch_delete_cookies --> </span> </td> <td width="50%" align="right"> <span class="gensmall"> <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a>
<a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a>
<a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a> <!-- BEGIN switch_on_index --> <!-- BEGIN switch_delete_cookies --> <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a> <!-- END switch_delete_cookies --> <!-- END switch_on_index --> </span> </td> </tr> </table>
<!-- BEGIN switch_user_login_form_footer --> <form action="{S_LOGIN_ACTION}" method="post" name="form_login"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline"> <tr> <td width="100%" valign="top" align="center" class="row1"> <span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" size="10" name="username"/> <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" size="10" name="password"/> {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /> </td> </tr> </table> </form> <!-- END switch_user_login_form_footer -->
<!-- BEGIN disable_viewonline --> <table cellspacing="2" cellpadding="2" width="900" border="0" class="statistiques"> <tr> <td width="15%"></td> <td width="50%"> <br><br><br><br><br><br><br><center> <span class="groupes"> <a href="LIEN DU GROUPE 1"><font color="#6d5a01" size="2"><b>Chef de l'île</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"> <span class="groupes"><a href="LIEN DU GROUPE 2"><font color="#00727f" size="2"><b>Village 1</b></font></a> </span> <img src="http://i31.tinypic.com/mugck1.jpg"> <span class="groupes"> <a href="LIEN DU GROUPE 3"><font color="#b35612" size="2"><b>Village 2</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"> <span class="groupes"> <a href="LIEN DU GROUPE 3"><font color="#507e00" size="2"><b>Village 3</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"> <span class="groupes"> <a href="LIEN DU GROUPE 4"><font color="#615a20" size="2"><b>Village 4</b></font></a> </span><br><br> <span class="gensmall"><span id="totalmessages">{TOTAL_POSTS}</span. {TOTAL_USERS}
{NEWEST_USER}<br><br> {TOTAL_USERS_ONLINE}<br> {LOGGED_IN_USER_LIST}</center></span><br> <td width="5%"></td> </tr> </table> <table border="0" cellspacing="3" cellpadding="0" width="700" align="center" style="text-align: justify"> {L_CONNECTED_MEMBERS}</table> <!-- END disable_viewonline --> {CHATBOX_BOTTOM} <br clear="all" /> <!-- BEGIN switch_legend --> <table border="0" cellspacing="3" cellpadding="0" align="center"> <tr> <td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td> <td><span class="gensmall">{L_NEW_POSTS}</span></td> <td></td> <td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td> <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td> <td> </td> <td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td> <td><span class="gensmall">{L_FORUM_LOCKED}</span></td> </tr> </table> <!-- END switch_legend -->
{AUTO_DST}
EDIT : Et ici le code du CSS concernant la partie avec les groupes du forum "BORDEL" - Spoiler:
- Code:
-
.statistiques{ border:0px; background-image: url("http://i49.tinypic.com/ngvukn.jpg"); background-repeat: no-repeat; background-position: center; height:380px; }
.groupes{ background-color:#d8ed9b; border: 1px #53542c dotted; -moz-border-radius : 5px; height:40px; padding-right:12px; padding-left:14px; padding-bottom:3px; font-size:15px; font-weight: bold; text-align:center; text-decoration: none !important; }
Merci d'avance de l'aide ou des explications que vous pourriez me donner u_u ! |
Dernière édition par Sthyx le Mar 15 Juin 2010, 12:54, édité 1 fois | |
| | | Kimy
{ Membre actif }
Messages : 1190
| Bonjour, - Code:
-
{JAVAscript} <!-- BEGIN message_admin_index --> <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0"> <!-- BEGIN message_admin_titre --> <tr> <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td> </tr> <!-- END message_admin_titre --> <!-- BEGIN message_admin_txt --> <tr> <td class="row1" rowspan="3" align="center" valign="middle"> <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div> </td> </tr> <!-- END message_admin_txt --> </table> <!-- END message_admin_index -->
<!-- BEGIN switch_user_login_form_header --> <form action="{S_LOGIN_ACTION}" method="post" name="form_login"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline"> <tr> <td width="100%" valign="top" align="center" class="row1"> <label><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" size="10" name="username" /></label> <label><span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" size="10" name="password" /></label> {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
</td> </tr> </table> </form> <!-- END switch_user_login_form_header -->
{CHATBOX_TOP} {BOARD_INDEX} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%" valign="top"> <!-- BEGIN switch_user_logged_in --> <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a> <!-- END switch_user_logged_in --> <!-- BEGIN switch_delete_cookies --> <a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a> <!-- END switch_delete_cookies --> </span> </td> <td width="50%" align="right"> <span class="gensmall"> <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a>
<a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a>
<a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a> <!-- BEGIN switch_on_index --> <!-- BEGIN switch_delete_cookies --> <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a> <!-- END switch_delete_cookies --> <!-- END switch_on_index --> </span> </td> </tr> </table>
<!-- BEGIN switch_user_login_form_footer --> <form action="{S_LOGIN_ACTION}" method="post" name="form_login"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline"> <tr> <td width="100%" valign="top" align="center" class="row1"> <span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" size="10" name="username"/> <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" size="10" name="password"/> {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /> </td> </tr> </table> </form> <!-- END switch_user_login_form_footer -->
<!-- BEGIN disable_viewonline --> <table cellspacing="2" cellpadding="2" width="900" border="1" class="statistiques"> <tr> <td width="24%"></td> <td width="66%"> <br><br><br><center> <span class="groupes"><a href="LIEN DU GROUPE 1"><font color="#6d5a01" size="2"><b>Chef de l'île</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"> <span class="groupes"><a href="LIEN DU GROUPE 2"><font color="#00727f" size="2"><b>Village 1</b></font></a> </span> <img src="http://i31.tinypic.com/mugck1.jpg"> <span class="groupes"> <a href="LIEN DU GROUPE 3"><font color="#b35612" size="2"><b>Village 2</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"> <span class="groupes"> <a href="LIEN DU GROUPE 3"><font color="#507e00" size="2"><b>Village 3</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"> <span class="groupes"> <a href="LIEN DU GROUPE 4"><font color="#615a20" size="2"><b>Village 4</b></font></a> </span><br><br> <span class="gensmall"><span id="totalmessages">{TOTAL_POSTS}</span>
<span id="totalmembres">{TOTAL_USERS}</span>
<span id="dernierutilisateur">{NEWEST_USER}</span></span>
<script type="text/javascript"> document.getElementById('totalmembres').innerHTML=document.getElementById('totalmembres').innerHTML.replace(/membre enregistré/,"personne"); document.getElementById('totalmembres').innerHTML=document.getElementById('totalmembres').innerHTML.replace(/membres enregistrés/,"personnes"); document.getElementById('totalmembres').innerHTML=document.getElementById('totalmembres').innerHTML.replace(/Nous avons/,"La population autochtone s'élève à");
document.getElementById('dernierutilisateur').innerHTML=document.getElementById('dernierutilisateur').innerHTML.replace(/L'utilisateur enregistré le plus récent est/,"Le dernier intégré au village est");
document.getElementById('totalmessages').innerHTML=document.getElementById('totalmessages').innerHTML.replace(/Nos membres ont posté un total de/,"Les rescapés ont répertorié");
</script><br><br> <span class="gensmall"><span id="delf">{TOTAL_USERS_ONLINE}</span><script type="text/javascript">
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/utilisateur en ligne/,"personne sur l'île"); document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/utilisateurs en ligne/,"personnes sur l'île");
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Il y a en tout/,"En ce moment il y a");
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Enregistré/,"habitant"); document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Enregistrés/,"habitants");
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Invisible et/,"cachotier,"); document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Invisibles et /,"cachotiers,");
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Invité/,"inconnu"); document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Invités/,"inconnus");
<span class="gensmall"><span id="enligne">{LOGGED_IN_USER_LIST}</span><script type="text/javascript">
document.getElementById('enligne').innerHTML=document.getElementById('enligne').innerHTML.replace(/Utilisateurs enregistrés :/,"Habitants réveillés :");
</script></span>
</script></span></td> <td width="10%"></td> </tr> </table> <table border="0" cellspacing="3" cellpadding="0" width="700" align="center" style="text-align: justify"> <div style="padding-left: 100px; background;>{L_CONNECTED_MEMBERS}</div></table> <!-- END disable_viewonline --> {CHATBOX_BOTTOM} <br clear="all" /> <!-- BEGIN switch_legend --> <table border="0" cellspacing="3" cellpadding="0" align="center"> <tr> <td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td> <td><span class="gensmall">{L_NEW_POSTS}</span></td> <td></td> <td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td> <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td> <td> </td> <td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td> <td><span class="gensmall">{L_FORUM_LOCKED}</span></td> </tr> </table> <!-- END switch_legend -->
{AUTO_DST} | | |
| | | Sthyx
{ Membre }
Messages : 107
| Bonjour ! Je l'ai mis sur mon forum, malheureusement, voici ce que ça donne : - Spoiler:
| | |
| | | Kimy
{ Membre actif }
Messages : 1190
| Ah m**** j'ai oublié d'enlever la bordure du tableau XD C'est juste ça qui te gêne hein ? - Code:
-
{JAVAscript} <!-- BEGIN message_admin_index --> <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0"> <!-- BEGIN message_admin_titre --> <tr> <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td> </tr> <!-- END message_admin_titre --> <!-- BEGIN message_admin_txt --> <tr> <td class="row1" rowspan="3" align="center" valign="middle"> <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div> </td> </tr> <!-- END message_admin_txt --> </table> <!-- END message_admin_index -->
<!-- BEGIN switch_user_login_form_header --> <form action="{S_LOGIN_ACTION}" method="post" name="form_login"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline"> <tr> <td width="100%" valign="top" align="center" class="row1"> <label><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" size="10" name="username" /></label> <label><span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" size="10" name="password" /></label> {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
</td> </tr> </table> </form> <!-- END switch_user_login_form_header -->
{CHATBOX_TOP} {BOARD_INDEX} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%" valign="top"> <!-- BEGIN switch_user_logged_in --> <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a> <!-- END switch_user_logged_in --> <!-- BEGIN switch_delete_cookies --> <a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a> <!-- END switch_delete_cookies --> </span> </td> <td width="50%" align="right"> <span class="gensmall"> <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a>
<a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a>
<a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a> <!-- BEGIN switch_on_index --> <!-- BEGIN switch_delete_cookies --> <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a> <!-- END switch_delete_cookies --> <!-- END switch_on_index --> </span> </td> </tr> </table>
<!-- BEGIN switch_user_login_form_footer --> <form action="{S_LOGIN_ACTION}" method="post" name="form_login"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline"> <tr> <td width="100%" valign="top" align="center" class="row1"> <span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" size="10" name="username"/> <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" size="10" name="password"/> {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /> </td> </tr> </table> </form> <!-- END switch_user_login_form_footer -->
<!-- BEGIN disable_viewonline --> <table cellspacing="2" cellpadding="2" width="900" border="0" class="statistiques"> <tr> <td width="24%"></td> <td width="66%"> <br><br><br><center> <span class="groupes"><a href="LIEN DU GROUPE 1"><font color="#6d5a01" size="2"><b>Chef de l'île</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"> <span class="groupes"><a href="LIEN DU GROUPE 2"><font color="#00727f" size="2"><b>Village 1</b></font></a> </span> <img src="http://i31.tinypic.com/mugck1.jpg"> <span class="groupes"> <a href="LIEN DU GROUPE 3"><font color="#b35612" size="2"><b>Village 2</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"> <span class="groupes"> <a href="LIEN DU GROUPE 3"><font color="#507e00" size="2"><b>Village 3</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"> <span class="groupes"> <a href="LIEN DU GROUPE 4"><font color="#615a20" size="2"><b>Village 4</b></font></a> </span><br><br> <span class="gensmall"><span id="totalmessages">{TOTAL_POSTS}</span>
<span id="totalmembres">{TOTAL_USERS}</span>
<span id="dernierutilisateur">{NEWEST_USER}</span></span>
<script type="text/javascript"> document.getElementById('totalmembres').innerHTML=document.getElementById('totalmembres').innerHTML.replace(/membre enregistré/,"personne"); document.getElementById('totalmembres').innerHTML=document.getElementById('totalmembres').innerHTML.replace(/membres enregistrés/,"personnes"); document.getElementById('totalmembres').innerHTML=document.getElementById('totalmembres').innerHTML.replace(/Nous avons/,"La population autochtone s'élève à");
document.getElementById('dernierutilisateur').innerHTML=document.getElementById('dernierutilisateur').innerHTML.replace(/L'utilisateur enregistré le plus récent est/,"Le dernier intégré au village est");
document.getElementById('totalmessages').innerHTML=document.getElementById('totalmessages').innerHTML.replace(/Nos membres ont posté un total de/,"Les rescapés ont répertorié");
</script><br><br> <span class="gensmall"><span id="delf">{TOTAL_USERS_ONLINE}</span><script type="text/javascript">
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/utilisateur en ligne/,"personne sur l'île"); document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/utilisateurs en ligne/,"personnes sur l'île");
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Il y a en tout/,"En ce moment il y a");
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Enregistré/,"habitant"); document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Enregistrés/,"habitants");
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Invisible et/,"cachotier,"); document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Invisibles et /,"cachotiers,");
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Invité/,"inconnu"); document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Invités/,"inconnus");
<span class="gensmall"><span id="enligne">{LOGGED_IN_USER_LIST}</span><script type="text/javascript">
document.getElementById('enligne').innerHTML=document.getElementById('enligne').innerHTML.replace(/Utilisateurs enregistrés :/,"Habitants réveillés :");
</script></span>
</script></span></td> <td width="10%"></td> </tr> </table> <table border="0" cellspacing="3" cellpadding="0" width="700" align="center" style="text-align: justify"> <div style="padding-left: 100px; background;>{L_CONNECTED_MEMBERS}</div></table> <!-- END disable_viewonline --> {CHATBOX_BOTTOM} <br clear="all" /> <!-- BEGIN switch_legend --> <table border="0" cellspacing="3" cellpadding="0" align="center"> <tr> <td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td> <td><span class="gensmall">{L_NEW_POSTS}</span></td> <td></td> <td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td> <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td> <td> </td> <td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td> <td><span class="gensmall">{L_FORUM_LOCKED}</span></td> </tr> </table> <!-- END switch_legend -->
{AUTO_DST} | | |
| | | Sthyx
{ Membre }
Messages : 107
| Oui c'est vrai que le tableau était vachement gênant xD ! Mais serait-ce possible de "monter" la phrase "membres connectés au cours des dernières 24h", pour qu'elle apparaisse sur l'image ? De plus les liens "sujets actifs du jour", "top 20 des posteurs du jour" etc, sont collés les uns à côté des autres...
Merci du temps que tu prends pour moi <3 ! | | |
| | | Kimy
{ Membre actif }
Messages : 1190
| Je veux bien essayer de te la monter ta phrase, mais si tu as beaucoup de membres qui se connectent, un jour ou l'autre ta phrase elle va dépasser de l'image et ça sera pas beau :/ Mais c'est comme tu veux x) | | |
| | | Sthyx
{ Membre }
Messages : 107
| Hmmm, j'aimerais quand même bien (et que tu m'expliques comment tu fais, comme ça je pourrais le refaire ). Je viens de remarquer : Il n'y a pas affiché les membres qui sont connectés en ce moment :s... Merci ^^ ! | | |
| | | Kimy
{ Membre actif }
Messages : 1190
| - Code:
-
{JAVAscript} <!-- BEGIN message_admin_index --> <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0"> <!-- BEGIN message_admin_titre --> <tr> <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td> </tr> <!-- END message_admin_titre --> <!-- BEGIN message_admin_txt --> <tr> <td class="row1" rowspan="3" align="center" valign="middle"> <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div> </td> </tr> <!-- END message_admin_txt --> </table> <!-- END message_admin_index -->
<!-- BEGIN switch_user_login_form_header --> <form action="{S_LOGIN_ACTION}" method="post" name="form_login"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline"> <tr> <td width="100%" valign="top" align="center" class="row1"> <label><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" size="10" name="username" /></label> <label><span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" size="10" name="password" /></label> {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
</td> </tr> </table> </form> <!-- END switch_user_login_form_header -->
{CHATBOX_TOP} {BOARD_INDEX} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%" valign="top"> <!-- BEGIN switch_user_logged_in --> <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a> <!-- END switch_user_logged_in --> <!-- BEGIN switch_delete_cookies --> <a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a> <!-- END switch_delete_cookies --> </span> </td> <td width="50%" align="right"> <span class="gensmall"> <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a><br /> <a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a><br /> <a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a> <!-- BEGIN switch_on_index --> <!-- BEGIN switch_delete_cookies --> <br /><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a> <!-- END switch_delete_cookies --> <!-- END switch_on_index --> </span> </td> </tr> </table>
<!-- BEGIN switch_user_login_form_footer --> <form action="{S_LOGIN_ACTION}" method="post" name="form_login"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline"> <tr> <td width="100%" valign="top" align="center" class="row1"> <span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" size="10" name="username"/> <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" size="10" name="password"/> {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /> </td> </tr> </table> </form> <!-- END switch_user_login_form_footer -->
<!-- BEGIN disable_viewonline --> <table cellspacing="2" cellpadding="2" width="900" border="0" class="statistiques"> <tr> <td width="30%"></td> <td width="66%"> <br><br><br><center> <span class="groupes"><a href="LIEN DU GROUPE 1"><font color="#6d5a01" size="2"><b>Chef de l'île</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"> <span class="groupes"><a href="LIEN DU GROUPE 2"><font color="#00727f" size="2"><b>Village 1</b></font></a> </span> <img src="http://i31.tinypic.com/mugck1.jpg"> <span class="groupes"> <a href="LIEN DU GROUPE 3"><font color="#b35612" size="2"><b>Village 2</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"> <span class="groupes"> <a href="LIEN DU GROUPE 3"><font color="#507e00" size="2"><b>Village 3</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"> <span class="groupes"> <a href="LIEN DU GROUPE 4"><font color="#615a20" size="2"><b>Village 4</b></font></a> </span><br><br> <span class="gensmall"><span id="totalmessages">{TOTAL_POSTS}</span>. <br> <span id="totalmembres">{TOTAL_USERS}</span>. <br> <span id="dernierutilisateur">{NEWEST_USER}</span></span>
<script type="text/javascript"> document.getElementById('totalmembres').innerHTML=document.getElementById('totalmembres').innerHTML.replace(/membre enregistré/,"personne"); document.getElementById('totalmembres').innerHTML=document.getElementById('totalmembres').innerHTML.replace(/membres enregistrés/,"personnes"); document.getElementById('totalmembres').innerHTML=document.getElementById('totalmembres').innerHTML.replace(/Nous avons/,"La population autochtone s'élève à");
document.getElementById('dernierutilisateur').innerHTML=document.getElementById('dernierutilisateur').innerHTML.replace(/L'utilisateur enregistré le plus récent est/,"Le dernier intégré au village est");
document.getElementById('totalmessages').innerHTML=document.getElementById('totalmessages').innerHTML.replace(/Nos membres ont posté un total de/,"Les rescapés ont répertorié");
</script><br><br> <span class="gensmall"><span id="delf">{TOTAL_USERS_ONLINE}</span><script type="text/javascript">
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/utilisateur en ligne/,"personne sur l'île"); document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/utilisateurs en ligne/,"personnes sur l'île");
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Il y a en tout/,"En ce moment il y a");
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Enregistré/,"habitant"); document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Enregistrés/,"habitants");
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Invisible et/,"cachotier,"); document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Invisibles et /,"cachotiers,");
document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Invité/,"inconnu"); document.getElementById('delf').innerHTML=document.getElementById('delf').innerHTML.replace(/Invités/,"inconnus");
<span class="gensmall"><span id="enligne">{LOGGED_IN_USER_LIST}</span><script type="text/javascript">
document.getElementById('enligne').innerHTML=document.getElementById('enligne').innerHTML.replace(/Utilisateurs enregistrés :/,"Habitants réveillés :");
</script></span> <br> <span class="gensmall"><span id="enligne">{LOGGED_IN_USER_LIST}</span><script type="text/javascript">
document.getElementById('enligne').innerHTML=document.getElementById('enligne').innerHTML.replace(/Utilisateurs enregistrés :/,"Habitants réveillés :");
</script></span>
<br><br><table border="0" cellspacing="3" cellpadding="0" width="700" align="center" style="text-align: justify"> <div style="padding-left: 100px; background;>{L_CONNECTED_MEMBERS}</div></table></td> <td width="10%"></td> </tr> </table> <!-- END disable_viewonline --> {CHATBOX_BOTTOM} <br clear="all" /> <!-- BEGIN switch_legend --> <table border="0" cellspacing="3" cellpadding="0" align="center"> <tr> <td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td> <td><span class="gensmall">{L_NEW_POSTS}</span></td> <td></td> <td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td> <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td> <td> </td> <td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td> <td><span class="gensmall">{L_FORUM_LOCKED}</span></td> </tr> </table> <!-- END switch_legend -->
{AUTO_DST} | | |
| | | Sthyx
{ Membre }
Messages : 107
| C'est parfait !!! Merci beaucoup beaucoup ! | | |
| | | Contenu sponsorisé
| | | | | [résolu]"Mixer" deux templates index_body (QEEL) | |
|
Sujets similaires | |
|
| Permission de ce forum: | Vous ne pouvez pas répondre aux sujets dans ce forum
| |
| |
| |
|
| Partenaires Or
|