Accueil
Forum
Download
Livre d'or
Contact
Liens Web
|
Forum :
Masquer l’entête
|
Accès rapide :
|
|
Effectuer une Recherche avancée OU |
Veuillez patientez, la recherche est en cours...
[Résolu] [Forum] Ajouter un champ du profil - Localisation [24 réponses]
lundi 1er mars 2010 à 23:50 <?php #####!!!#####function forum_rep_mid ($auteur, $message, $signature, $date, $type, $id, $contact=null){ echo '<!-- Contenu des posts du forum (forum_rep_mid) --> <tr> <td style="width:100%;"> <div style="text-align:left;">'; open_table(); echo '<table style="width:100%; border:0;" cellspacing="0" cellpadding="0" summary="Post"> <tr> <td style="width:20%; vertical-align:top; text-align:center;">'.$auteur.''.(!empty($TabInfoProfil['localisation']) ? '<br />'.$TabInfoProfil['localisation'].'' : '').'</td> <td style="width:75%; vertical-align:top"> <span class="forum_date">'.$date.'</span> <hr /> <p>'.$message.'</p>'; if (!empty($signature)) { echo '<hr /> <p>'.$signature.'</p>'; } if (!empty($contact)) { echo '<hr /> <p>'.$contact.'</p>'; } echo '<div style="text-align:right"><a href="./index.php?'.ax($_SERVER['QUERY_STRING']).'#">Remonter</a></div> </td> </tr> </table> <br />' ; close_table(); echo '</div> </td> </tr>';}#####!!!#####?><?php #####!!!#####function forum_rep_mid ($auteur, $message, $signature, $date, $type, $id, $contact=null){ echo '<!-- Contenu des posts du forum (forum_rep_mid) --> <tr> <td style="width:100%;"> <div style="text-align:left;">'; open_table(); echo '<table style="width:100%; border:0;" cellspacing="0" cellpadding="0" summary="Post"> <tr> <td style="width:20%; vertical-align:top; text-align:center;">'.$auteur.'</td> <td style="width:75%; vertical-align:top"> <span class="forum_date">'.$date.'</span> <hr /> <p>'.$message.'</p>'; if (!empty($signature)) { echo '<hr /> <p>'.$signature.'</p>'; } if (!empty($contact)) { echo '<hr /> <p>'.$contact.'</p>'; } echo '<div style="text-align:right"><a href="./index.php?'.ax($_SERVER['QUERY_STRING']).'#">Remonter</a></div> </td> </tr> </table> <br />' ; close_table(); echo '</div> </td> </tr>';}#####!!!#####?> http://www.grives.net
http://www.videos-chasse-peche.com
http://www.ruisseau-des-blaquieres.com
http://www.saint-eloi-chateau-gombert.com

)
Message Automatique
mardi 2 mars 2010 à 10:55
http://www.grives.net
http://www.videos-chasse-peche.com
http://www.ruisseau-des-blaquieres.com
http://www.saint-eloi-chateau-gombert.com
mardi 2 mars 2010 à 11:06 Vous êtes satisfait de l'aide apportée !! Vous avez l'âme généreuse !!

mardi 2 mars 2010 à 12:05
http://www.grives.net
http://www.videos-chasse-peche.com
http://www.ruisseau-des-blaquieres.com
http://www.saint-eloi-chateau-gombert.com
mardi 2 mars 2010 à 12:52
)
jeudi 4 mars 2010 à 00:50
<?php// $Id: bloc.php 889 2010-01-25 Calfou $if (!(defined('__KWS__'))) {die ('Erreur d\'appel de fichier.');}//*************************//* ICONES ESPACE MEMBRES *//*************************// Affichage de la structure de l'espace membresfunction admin_bloc ($titre, $image, $lien, $x){ if (empty($image) or !file_exists($image)) { $image = './themes/'.$GLOBALS['theme'].'/images/modules/koi.png'; } echo '<td style="width: 25%; text-align: center"> <p style="text-align:center;"> <a href="'.$lien.'"><img src="'.$image.'" alt="Image" style="border:none" /><br />'.$titre.'</a> </p> </td>'; if ($x == 4) { echo '</tr> <tr> <td> </td> </tr> <tr>' ; $x = 0; } return $x;}//*********//* BLOCS *//*********// Blocs principaux (Menu, intro)function bloc ($titre, $contenu){ global $result_bloc; if (file_exists('./themes/'.$GLOBALS['theme'].'/images/blocs/'.$result_bloc[module].'.png')) { $class_bloc = $result_bloc[module]; } else { $class_bloc = 'vide'; }/* echo '<div class="bloc_titre" style="background-image:url(\'./themes/aquarelle/images/blocs/'.$class_bloc.'.png\'); " >'.($class_bloc == 'vide' ? ''.$titre : '').'</div> <div class="bloc_contenu">'.$contenu.'</div> <div class="bloc_footer"></div>';*/ echo '<table style="width:100%; border:none" cellpadding="0" cellspacing="0" summary="bloc"> <tr> <td><div class="imgbloc_01"> </div></td> <td style="text-align:center" class="imgbloc_02" nowrap="nowrap">'.(empty($titre) ? ' ' : $titre).'</td> <td><div class="imgbloc_03"> </div></td> </tr> <tr> <td class="bloc_left"> </td> <td>'.(empty($contenu) ? ' ' : $contenu).'</td> <td class="bloc_right"> </td> </tr> <tr> <td class="bloc_footer_01"> </td> <td class="bloc_footer_02"> </td> <td class="bloc_footer_03"> </td> </tr> </table>';}// Les blocs avec un titrefunction bloc_head ($titre){ echo '<table style="width:100%; border:none" cellpadding="0" cellspacing="0" summary="bloc_head"> <tr> <td><div class="imgbloc_01"> </div></td> <td style="text-align:center" class="imgbloc_02" nowrap="nowrap">'.(empty($titre) ? ' ' : $titre).'</td> <td><div class="imgbloc_03"> </div></td> </tr> <tr> <td class="bloc_left"> </td> <td class="blocline">';}// Les blocs sans titrefunction open_table (){ echo '<table style="width:100%; border:none" cellpadding="0" cellspacing="0" summary="open_table"> <tr> <td><div class="bloc_vide_01"> </div></td> <td style="text-align:center" class="bloc_vide_02" > </td> <td><div class="bloc_vide_03"> </div></td> </tr> <tr> <td class="bloc_left"> </td> <td style="width: 100%">';}// Fin des blocsfunction close_table (){ echo '</td> <td class="bloc_right"> </td> </tr> <tr> <td class="bloc_footer_01"> </td> <td class="bloc_footer_02"> </td> <td class="bloc_footer_03"> </td> </tr> </table>';}//********//* NEWS *//********function bloc_news ($titre, $date, $auteur, $image, $contenu, $hit, $id_comment, $id_auteur, $nbcomm, $avatar){ global $grade; if ($grade >= GRD_MODOG) { $editer = '<br /> <br /> <a href="index.php?mod=news&ac=gestion&faire=edit&id='.$id_comment.'">Editer</a> '; } $hits = $hit.' lecture'.($hit>1 ? 's' : ''); $date = kws_date('d/m/Y H:i',$date).' par <a href="index.php?mod=espace_membre&ac=profil&id='.$id_auteur.'">'.$auteur.'</a>'; if ($GLOBALS['ac'] != 'commentaires') { if ($nbcomm==0) { $commentaire = '<br /> <img src="themes/'.$GLOBALS['theme'].'/images/news/ajout_commentaire.png" alt="ajout commentaire" border="0" /> <a href="index.php?mod=news&ac=commentaires&id='.$id_comment.'">Ajouter un commentaire</a>'; } elseif ($nbcomm==1) { $commentaire = '<br /> <img src="themes/'.$GLOBALS['theme'].'/images/news/commentaire.png" alt="1 commentaire" border="0" /> <a href="index.php?mod=news&ac=commentaires&id='.$id_comment.'">1 commentaire</a>'; } else { $commentaire = '<br /> <img src="themes/'.$GLOBALS['theme'].'/images/news/commentaire.png" alt="+ commentaires" border="0" /> <a href="index.php?mod=news&ac=commentaires&id='.$id_comment.'">'.$nbcomm.' commentaires</a>' ; } } // Affichage des news echo '<table style="width:100%; border:none" cellpadding="0" cellspacing="0" class="bodyline" summary="'.$mod.'"> <tr> <td><div class="imgbloc_01"> </div></td> <td style="text-align:center" class="news" nowrap="nowrap"><a class="cattitle" href="index.php?mod=news&ac=commentaires&id='.$id_comment.'">'.$titre.' ['.$hits.']</a> </td> <td><div class="imgbloc_03"> </div></td> </tr> <tr> <td class="bloc_left"> </td> <td class="contenu_news"> <span class="date">'.$date.' </span> <hr /> <img class="img_news" src="'.$image.'" alt="'.$image.'" border="0" /> <div align="justify" >'.$contenu.'</div> '.$commentaire.'<span>'.$editer.' </span> </td> <td class="bloc_right"> </td> </tr> <tr> <td class="bloc_footer_01"> </td> <td class="bloc_footer_02"> </td> <td class="bloc_footer_03"> </td> </tr> </table>';}//************//* ARTICLES *//************# Les Articlesfunction bloc_article_cat ($id, $titre, $image, $contenu){ if (!empty($image)) { $image = '<a href="index.php?mod=articles&ref='.$id.'"><img class="img_news" src="'.$image.'" style="float:right; border:0" alt="'.$image.'" /></a>'; } //affichage echo '<table cellspacing="0" cellpadding="0" summary="'.$mod.'"> <tr> <td><div class="imgbloc_01"> </div></td> <td class="imgbloc_02"><a class="cattitle" href="index.php?mod=articles&ref='.$id.'">'.$titre.'</a></td> <td><div class="imgbloc_03"> </div></td> </tr> <tr> <td class="bloc_left"> </td> <td style="text-align:left;">'.$image.$contenu.'</td> <td class="bloc_right_article"> </td> </tr> <tr> <td class="bloc_footer_01"> </td> <td class="bloc_footer_02"> </td> <td class="bloc_footer_03"> </td> </tr> </table>';}function bloc_rubrique_cat ($id, $titre, $image, $contenu){ global $mod; if (!empty($image)) { $image = '<a href="index.php?mod='.$mod.'&action='.$mod.'&ref='.$id.'"> <img src="'.$image.'" align="left" border="0" alt="'.$image.'" /></a><br />' ; } echo '<table width="100%" border="0" cellpadding="0" cellspacing="0" class="cadre" summary="'.$mod.'">'; if($titre) { echo'<tr> <td align="left" valign="middle" class="titre_blocs"> <a href="index.php?mod='.$mod.'&action='.$mod.'&ref='.$id.'"><span class="cattitle"> '.$titre.'</span></a> </td> </tr>'; } echo'<tr> <td align="left" valign="top">'.$image.' '.$contenu.'</td> </tr> </table> <br />';}//************//* LE FORUM *//************function forum_rep_head(){ bloc_head(''); echo '<!-- Entêtes des posts du forum (forum_rep_head) --> <table style="width:100%; border:0;" cellspacing="0" cellpadding="0" summary="Contenu des posts forum">';}function forum_rep_mid ($auteur, $message, $signature, $date, $type, $id, $contact=null){ echo '<!-- Contenu des posts du forum (forum_rep_mid) --> <tr> <td style="width:100%;"> <div style="text-align:left;">'; open_table(); echo '<table style="width:100%; border:0;" cellspacing="0" cellpadding="0" summary="Post"> <tr> <td style="width:20%; vertical-align:top; text-align:center;">'.$auteur.''.(!empty($TabInfoProfil['localisation']) ? '<br />Localisation : '.$TabInfoProfil['localisation'].'' : '').'</td> <td style="width:75%; vertical-align:top"> <span class="forum_date">'.$date.'</span> <hr /> <p>'.$message.'</p>'; if (!empty($signature)) { echo '<hr /> <p>'.$signature.'</p>'; } if (!empty($contact)) { echo '<hr /> <p>'.$contact.'</p>'; } echo '<div style="text-align:right"><a href="./index.php?'.ax($_SERVER['QUERY_STRING']).'#">Remonter</a></div> </td> </tr> </table> <br />' ; close_table(); echo '</div> </td> </tr>';}function forum_rep_sep (){ echo '<!-- Séparateur des posts du forum (forum_rep_sep)--> <tr style="height:5px;"> <td> </td> </tr>';}function forum_rep_close (){ echo '<!-- Fermeture des posts du forum (forum_rep_close) --> </table>'; close_table();}# Entetes du forumfunction forum_head (){ echo '<!-- Sujets du forum entêtes (forum_head) -->'; open_table(); echo '<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Sujets du forum"> <tr> <td class="forum_titre_left"> </td> <td class="forum_titre" colspan="1"> Sujets </td> <td class="forum_titre" style="text-align:center;"> Réponses </td> <td class="forum_titre" style="text-align:center;"> Auteur </td> <td class="forum_titre" style="text-align:center;"> Vus</td> <td class="forum_titre" style="text-align:center;"> Derniers </td> <td class="forum_titre_right"> </td> </tr>';}function forum_mid ($image, $titre, $rep, $auteur, $hits, $dernier){ echo '<!-- Contenu des sujets du forum (forum_mid) --> <tr align="left" onmouseover="this.className = \'onmouse_over_forum\';" onmouseout="this.className = \'onmouse_out_forum\';"> <td style="text-align:center;"><img src="'.$image.'" style="border:none" /></td> <td style="text-align:left; width:70%;"> '.$titre.'</td> <td style="text-align:center; width:5%;">'.$rep.'</td> <td style="text-align:center; width:10%;">'.$auteur.'</td> <td style="text-align:center; width:5%;">'.$hits.'</td> <td style="text-align:center; width:10%;">'.$dernier.'</td> </tr>';}function forum_close (){ echo '<!-- Fermeture des sujets du forum (forum_close) --> </table>' ; close_table();}# Les Catégories du forumfunction forum_cat_head (){ open_table(); echo '<!-- Entêtes des catégories de forum (forum_cat_head) --> <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Catégories du forum"> <tr> <td class="forum_titre_left"></td> <td class="forum_titre" colspan="1">Forum</td> <td class="forum_titre">Sujets</td> <td class="forum_titre">Réponses</td> <td class="forum_titre" style="text-align:center; width:20%;">Dernier post</td> <td class="forum_titre_right"> </td> </tr>';}function forum_cat_mid ($image, $titre, $desc, $nb_sujet, $nb_rep, $dernier, $id){ echo '<!-- Contenu des catégories (forum_cat_mid) --> <tr onmouseover="this.className = \'onmouse_over_forum\';" onmouseout="this.className = \'onmouse_out_forum\';"> <td width="45" align="left" valign="top"><img src="'.$image.'" /></td> <td class="forum_cat_mid" > '.$titre.'<br /> '.$desc.' </td> <td style="text-align:center; width:10%;">'.$nb_sujet.'</td> <td style="text-align:center; width:10%;">'.$nb_rep.'</td> <td style="text-align:left; width:20%;">'.$dernier.'</td> </tr>';}# Les Séparationsfunction forum_cat_sep ($titre){ echo '<!-- Séparateurs de catégories --> <tr> <td class="forum_titre_left"></td> <td class="forum_separ" colspan="4" ><span> '.$titre.'</span></td> <td class="forum_titre_right"></td> </tr>';}function forum_cat_close (){ forum_close();}?> http://www.grives.net
http://www.videos-chasse-peche.com
http://www.ruisseau-des-blaquieres.com
http://www.saint-eloi-chateau-gombert.com
jeudi 4 mars 2010 à 01:31 Comtois , rends toi! Neni ma foi! | http://www.design.bouliz.com | http://www.bouliz.com
Qui c'est les plus forts, évidemment c'est les verts!!!
jeudi 4 mars 2010 à 19:18
http://www.grives.net
http://www.videos-chasse-peche.com
http://www.ruisseau-des-blaquieres.com
http://www.saint-eloi-chateau-gombert.com
jeudi 4 mars 2010 à 19:29
jeudi 4 mars 2010 à 22:31 <?php #####!!!#####function forum_rep_mid ($auteur, $message, $signature, $date, $type, $id, $contact=null){ global $TabInfoProfil; $retourALaLigne = ''; $temp = str_replace(' ','',$signature); if (!empty($temp) ) { $retourALaLigne = ''.$signature.''; } open_table(); echo ' <!-- Contenu des posts du forum (forum_rep_mid) --> <div class="forum_message"> <div class="forum_auteur">'.$auteur.''.(!empty($TabInfoProfil['localisation']) ? '<br />'.$TabInfoProfil['localisation'].'' : '').'</p></div> <div class="forum_post"><span class="forum_date">'.$date.'</span><hr />'.$message.' if (!empty($signature)) { echo '<hr /> <p>'.$signature.'</p>'; } if (!empty($contact)) { echo '<hr /> <p>'.$contact.'</p>'; } echo '<div style="text-align:right"><a href="./index.php?'.ax($_SERVER['QUERY_STRING']).'#">Remonter</a></div> </td> </tr> </table> <br />' ; close_table(); echo '</div> </td> </tr>';}#####!!!#####?> http://www.grives.net
http://www.videos-chasse-peche.com
http://www.ruisseau-des-blaquieres.com
http://www.saint-eloi-chateau-gombert.com
[Résolu] [Forum] Ajouter un champ du profil - Localisation [24 réponses]
Réponse rapide