ELA MARS
{ Membre }
Messages : 28
| Bonjour, J'ai un problème.. Quelle sont les Erreur? MERCI - Code:
-
<table width="770px" border="0" cellspacing="2" cellpadding="0" align="center"> <tr> <td><span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a></span></td> </tr> </table>
<table class="forumline" width="770px" border="0" cellspacing="1" cellpadding="0" align="center"> <tr> <th class="thHead" colspan="2" nowrap="nowrap" height="25">{L_VIEWING_PROFILE}</th> </tr> <tr> <th class="thHead" colspan="2" nowrap="nowrap" height="25"><b><span class="gen">{USER_ONLINE}</span></b></th> </tr> <tr>
<td width="50%"><tr><div style="margin:auto; background-image:url('http://i72.servimg.com/u/f72/18/10/23/60/carte_16.png'); width: 330px;height:220px;border-radius: 50px 50px 50px 50px; padding: 5px; ">
<div style="margin:auto;text-align:center; color:#fff;width:318px;height:25px;border-top-left-radius:70PX;border-top-right-radius:70PX; padding: 5px; background-color:#040177;">RÉPUBLIQUE FRANÇAISE</div> <span style="display: block; float: left; width: 100px; height: 120px; border: 3px solid #000; background: url(http://i72.servimg.com/u/f72/18/10/23/60/sara10.png) center center no-repeat;"> </span> <table class="ci_information"> <span class="information_suite"><strong>NOM :</strong>***</span><br/> <span class="information_suite"><strong>PRÉNOM :</strong>***</span><br/> <span class="information_row3"><strong>SEXE :</strong></span>***<span class="information_row3"><strong>NÉ(E) LE :</strong></span>**/**/****<br/> <span class="information_suite"><strong>À :</strong></span>***<br/> <span class="information_suite"><strong>TAILLE :</strong></span>***cm<br/> </table><br/> <div style="margin:auto;text-align:center; width:318px; padding: 5px;"> <span class="information_suite2">FRA<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<0613</span><br/> <span class="information_suite2"><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<</span></div> </div></tr> <tr> <b><span class="gen">{L_CONTACT} {USERNAME}</span></b> </tr> <tr id="field_id{contact_field.ID}"> <td width="40%" align="right" valign="middle" nowrap="nowrap"><span class="gen">{contact_field.LABEL} </span></td> <td width="60%" valign="middle"><b><span class="gen">{contact_field.CONTENT}</span></b></td> </tr> <!-- END contact_field --> </td>
<td width="50%"> <!-- BEGIN rpg_fields_left --> <tr> <td align="left" valign="top" nowrap="nowrap"> <span class="gen">{switch_rpg.rpg_fields_left.F_NAME} : </span> </td> <td align="left" valign="top" nowrap="nowrap"> <b><span class="gen">{switch_rpg.rpg_fields_left.F_VALUE_NEW}</span></b> </td> </tr> <!-- END rpg_fields_left --> <!-- BEGIN rpg_fields --> <tr> <td align="left" valign="top" nowrap="nowrap"> <span class="gen">{switch_rpg.rpg_fields.F_NAME} : </span> </td> <<td align="left" valign="top" nowrap="nowrap"> <b><span class="gen">{switch_rpg.rpg_fields.F_VALUE_NEW}</span></b> </td> </tr> <!-- END rpg_fields --> <tr> <td colspan="2" align="left" class="row1"> {U_ADMIN_RPG} </td> </tr> <!-- END switch_rpg --> <tr> <td align="left" valign="top" nowrap="nowrap"><span class="gen">{L_LAST_VISITED}: </span></td> <td><b><span class="gen">{LAST_VISIT_TIME}</span></b></td> </tr> <!-- BEGIN switch_dhow_mp --> <tr> <td align="right" valign="middle" nowrap="nowrap"><span class="gen">{L_PRIVATE_MSG}: </span></td> <td><b><span class="gen">{PRIVATE_MSG}</span></b></td> </tr> <!-- END switch_dhow_mp --> <!-- BEGIN profile_field --> <tr id="field_id{profile_field.ID}"> <td width="40%" align="right" valign="top" nowrap="nowrap"><span class="gen">{profile_field.LABEL} </span></td> <td width="60%" width="100%"><b><span class="gen">{profile_field.CONTENT}</span></b><!-- BEGIN profil_type_user_posts --><br /><span class="genmed">[{POST_PERCENT_STATS} / {POST_DAY_STATS}]</span> <br /> <span class="genmed"><a rel="nofollow" class="genmed" href="/st/{PUSERNAME}">{L_SEARCH_USER_POSTS} :</a><br /> - <a rel="nofollow" class="genmed" href="/sta/{PUSERNAME}">{L_TOPICS}</a><br /> - <a rel="nofollow" class="genmed" href="/spa/{PUSERNAME}">{L_POSTS}</a></span><!-- END profil_type_user_posts --></td> </tr></td></tr> <!-- END profile_field --> </table> <script src="{JS_DIR}jquery/json/jquery.json-1.3.min.js" type="text/javascript"></script> <script type="text/javascript"> //<![CDATA[ $(document).ready(function(){ $('[id^=field_id]').each(function(){ if ( $(this).find('.field_editable').is('span') ) { $(this).hover(function() { if( $(this).find('.field_editable.invisible').is('span') ) { $(this).find('.field_editable').prev().addClass('ajax-profil_hover').parent().addClass('ajax-profil_parent').append('<div class="ajax-profil_edit"><img src="{AJAX_EDIT_IMG}" /></div>'); $(this).find('.ajax-profil_edit').attr({ alt: "{L_FIELD_EDIT_VALUE}", title: "{L_FIELD_EDIT_VALUE}" }).click(function(){ $(this).prev().prev().removeClass('ajax-profil_hover').addClass('invisible').next().removeClass('invisible').append('<img src="{AJAX_VALID_IMG}" class="ajax-profil_valid" />').find('input,select'); $(this).prev().find('.ajax-profil_valid').attr({ alt: "{L_VALIDATE}", title: "{L_VALIDATE}" }).click(function(){ var content = new Array(); $(this).parent().find('[name]').each(function(){ var type_special = $(this).is('input[type=radio],input[type=checkbox]'); if ( (type_special && $(this).is(':checked')) || !type_special ) { content.push(new Array($(this).attr('name'), $(this).attr('value'))); } }); var id_name = $(this).parents('[id^=field_id]').attr('id'); var id = id_name.substring(8, id_name.length); $.post( "{U_AJAX_PROFILE}", {id:id,user:"{CUR_USER_ID}",active:"{CUR_USER_ACTIVE}",content:$.toJSON(content),tid:"{TID}"}, function(data){ $.each(data, function(i, item){ $('[id=field_id' + i + ']').find('.field_uneditable').html(item).end().find('.ajax-profil_valid').remove().end().find('.field_editable').addClass('invisible').end().find('.field_uneditable').removeClass('invisible'); }); }, "json" ); }); $(this).remove(); }); } },function() { if( $(this).find('.field_editable.invisible').is('span') ) { $(this).find('.field_editable').prev().removeClass('ajax-profil_hover'); $(this).find('.ajax-profil_edit').remove(); } }); } }); }); //]]> </script> |
Dernière édition par ELA MARS le Lun 01 Avr 2013, 14:57, édité 1 fois | |
|
Murtagh
{ Modérateur }
Messages : 1492
| Bonjour, Serait-il possible d'avoir une description (même brève) de ton problème en plus du code ? Cela aidera surement les codeurs à comprendre ce que tu veux faire et pourquoi ça ne marche pas. Merci. | | |
|
ELA MARS
{ Membre }
Messages : 28
| En faite ça me dit : Erreur
La balise a été fermée avant d'avoir été ouverte ou la balise n'a pas été ouverte.
Merci de votre aide | | |
|
Melone
{ Modérateur }
Messages : 805
| Bonsoir, Il me semble que ce commentaire : - Code:
-
<!-- END switch_rpg --> Ne s'ouvre jamais. Supprime le et normalement, ça fonctionnera. Bonne soirée, | | |
|
ELA MARS
{ Membre }
Messages : 28
| Merci j'ai résolue le problème | | |
|
Melone
{ Modérateur }
Messages : 805
| Bonsoir, De rien. Je déplace, merci d'avoir mis le tag résolu ! Bonne soirée, | | |
|