Darkenshin Membres actifs

Inscrit le: 23 Déc 2004 Messages: 601
|
Posté le: Ven 31 Déc 2004 à 0:55 Sujet du message: [Mod] multi-addon (phpBB_annuaire) |
|
|
[mod="multi-addon (phpBB_annuaire)"]
- MOD Titre: multi-addon (phpBB_annuaire)
- MOD Titre Traduit: n/a
- MOD Version: 1.0.0
- MOD Auteur: Oyo
- Site de l'auteur: htpp://mods.u-web.org
- MOD Description:
Ce Mod apporte un correctif de l'erreur 404 lorsque l'on cliquez sur les profils.
+ ajout de pagination dans les commentaires (Aller à la page 1, 2 Suivante).
+ option de censure dans les commentaires.
+ lien vers les MP en images
+ lien editer et suprimer en images - MOD Traduction: n/a
- Niveau d'installation: Facile
- Temps d'installation: 6 minutes
- Démo: n/a
- Téléchargement: A la suite de ce poste
- Notes: Attention a la requête je l'ai fait un peu a la bourrin, il faudrai mieux faire un ADD mais bon un peu la fleme de le faire.
en l'état actuel il fonctionne tres bien sauf que si vous avez des sites dans votre annuaire il faut mieux ne pas effectuer la requête sql je je ferai l'add plus tard
- Mises à jour / Correctifs:
- Dernière version disponible
[/mod]
| Code: |
##############################################################
## MOD Titre : multi-addon (phpBB_annuaire)
##
## MOD Auteur : Oyo htpp://mods.u-web.org
##
## MOD Description : correctif des erreurs 404 lorsquel'on cliquez sur les profils.
## + ajout de pagination dans les commentaires (Aller à la page 1, 2 Suivante).
## + option de censure dans les commentaires.
## + lien vers les MP en images
## + lien editer et suprimer en images
##
## MOD Version : 1.0.0
##
## Niveau d'installation : facile
## Temps d'installation : 5 minutes
##
## Fichiers à éditer : 2
## annuaire.php
## annuaire_comment.php
## templates/subSilver/annuaire_comment_body.tpl
##
## Fichiers inclus : 0
##############################################################
## Pour des raisons de sécurité, vous êtes prier de consulter
## régulièrement http://forums.phpbb-fr.com afin d'obtenir la
## dernière version de ce MOD.
## Télécharger ce MOD à partir des sites autres que phpBB-fr.com
## peut être dangereux pour votre forum phpBB.
## Par conséquent, phpBB-fr.org n'assurera aucun support pour
## les MODs absents de leur base de données, consultable sur:
## http://forums.phpbb-fr.com/
##############################################################
## Notes de l'auteur :
##
## Aucune connaissance n'est requise à l'utilisation de ce MOD.
##
##############################################################
## Historique du MOD :
##
## 2004-08-08 - Version 1.0.0
## - Première Version
##
##############################################################
## Avant d'ajouter ce MOD à votre forum, il vous est fortement conseillé
## d'effectuer une sauvegarde des éléments que vous allez modifier.
##############################################################
I/ correction du lien vers les profils (1er partie)
#
#-----[ OUVRIR ]----------------------------------------------
#
includes/annuaire_comment.php
#
#-----[ TROUVER ]----------------------------------------------
#
'U_MEMBRE' => append_sid('profile.' . $phpEx . '&mode=viewprofile&u=' . $membre['user_id'])
#
#-----[ APRES, AJOUTER ]----------------------------------------------
#
'U_MEMBRE' => append_sid('profile.' . $phpEx . '?mode=viewprofile&u=' . $membre['user_id'])
#
#-----[ SAUVEGARDER/FERMER TOUS LES FICHIERS ]------------------------------------------
#
# EoM
II/ correction du lien vers les profils (2er partie et fin)
// exemple :
// htpp://www.tonsite.xxx/phpBB2/includes/annuaire_comment.php DEPLACER VERS htpp://www.tonsite.xxx/phpBB2/annuaire_comment.php
==> includes/annuaire_comment.php DEPLACER VERS annuaire_comment.php
#
#-----[ SQL ]----------------------------------------------
#
# Remplacer phpbb_ si ce n'est pas le préfix de vos tables.
#
DROP TABLE IF EXISTS `phpbb_annuaire_comment`;
CREATE TABLE `phpbb_annuaire_comment` (
`annu_comment_id` int(11) NOT NULL auto_increment,
`annu_comment_date` int(11) NOT NULL default '0',
`annu_comment_lien_id` int(11) NOT NULL default '0',
`annu_comment_membre_id` int(11) NOT NULL default '0',
`annu_lien_active` int(11) NOT NULL default '0',
`annu_comment_text` text NOT NULL,
PRIMARY KEY (`annu_comment_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
#
#-----[ OUVRIR ]----------------------------------------------
#
annuaire.php
#
#-----[ TROUVER ]----------------------------------------------
#
$comment_url = append_sid('includes/annuaire_comment.' . $phpEx . '?id=' . $site['annu_lien_id']);
#
#-----[ REMPLACER PAR ]----------------------------------------------
#
$comment_url = append_sid('annuaire_comment.' . $phpEx . '?mode=commentaires&id=' . $site['annu_lien_id']);
#
#-----[ OUVRIR ]----------------------------------------------
#
annuaire_comment.php
#
#-----[ TROUVER ]----------------------------------------------
#
<?php
/***************************************************************************
* annuaire.php
* -------------------
* begin : 7 juin 2004
* Fait par : Dark_Génova
* email : genovakiller@yahoo.fr
*
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', true);
$phpbb_root_path = '../';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'language/lang_french/lang_annuaire.' . $phpEx);
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_PROFILE);
init_userprefs($userdata);
//
// End session management
//
if ( !$board_config['annu_comment'] )
{
$header_location = ( @preg_match("/Microsoft|WebSTAR|Xitami/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: ";
header($header_location . append_sid("index." . $phpEx, true));
exit;
}
$mode = $HTTP_GET_VARS['mode'];
$id = intval($HTTP_GET_VARS['id']);
$u = intval($HTTP_GET_VARS['u']);
$post = $HTTP_POST_VARS;
$gen_simple_header = TRUE;
//
// Suppression
if ( $mode == 'suppr' && $userdata['user_level'] == ADMIN )
{
$requete = 'DELETE FROM ' . ANNU_COMMENT_TABLE . ' WHERE annu_comment_id=\'' . $u . '\'';
if ( !$db->sql_query($requete) )
{
message_die(GENERAL_ERROR, 'Impossible de supprimer le commentaire dans la table ' . ANNU_COMMENT_TABLE, '', $requete);
}
}
//
// soumission du formulaire
if ( isset($post['submit_comment']) )
{
if ( trim($post['reply']) == '' )
{
$message = "" . sprintf($lang['Click_return_post_comment'], "<a href=\"" . append_sid('annuaire_comment.' . $phpEx . '?id=' . $id) . "\">", "</a>");
message_die(GENERAL_ERROR, "$message<br /><br />Vous devez remplir les champs du formulaire");
}
else
{
if ( $mode == 'edit' && $userdata['user_level'] == ADMIN )
{
$requete = 'UPDATE ' . ANNU_COMMENT_TABLE . ' SET annu_comment_text=\'' . htmlSpecialChars($post['reply']) . '\' WHERE annu_comment_id=\'' . $u . '\'';
if ( !$db->sql_query($requete) )
{
message_die(GENERAL_ERROR, 'Impossible de mettre à jour le commentaire dans la table ' . ANNU_COMMENT_TABLE, '', $requete);
}
}
else
{
$requete = 'INSERT INTO ' . ANNU_COMMENT_TABLE . ' VALUES (
\'\',
\'' . time() . '\',
\'' . $id . '\',
\'' . $userdata['user_id'] . '\',
\'' . htmlSpecialChars($post['reply']) . '\')';
if ( !$db->sql_query($requete) )
{
message_die(GENERAL_ERROR, 'Impossible d\'insérer le commentaire dans la table ' . ANNU_COMMENT_TABLE, '', $requete);
}
}
$header_location = ( @preg_match("/Microsoft|WebSTAR|Xitami/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: ";
header($header_location . append_sid('annuaire_comment.' . $phpEx . '?id=' . $id, true));
exit;
}
}
if ( $mode == 'edit' && $userdata['user_level'] == ADMIN )
{
// On récupère les valeurs du commentaire
$value = $db->sql_fetchrow($db->sql_query('SELECT * FROM ' . ANNU_COMMENT_TABLE . ' WHERE annu_comment_id=\'' . $u . '\''));
$v_comment = $value['annu_comment_text'];
$action_edit = '&mode=edit&u=' . $u;
}
$page_title = $lang['annu_comment_title'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$template->set_filenames(array('body' => 'annuaire_comment_body.tpl'));
$template->assign_vars( array(
'L_REPLY' => $lang['anu_reply_title'],
'L_COMMENT' => $lang['anu_comment'],
'L_NOT_LOGGED' => $lang['anu_not_logged'],
'L_SUBMIT' => $lang['anu_post'],
'L_RESET' => $lang['annu_reset'],
'L_NO_COMMENT' => $lang['anu_no_comment'],
'V_COMMENT' => $v_comment,
'S_ACTION' => append_sid('annuaire_comment.' . $phpEx . '?id=' . $id . $action_edit)
));
//
// on récupère les commentaires
$requete = 'SELECT * FROM ' . ANNU_COMMENT_TABLE . ' WHERE annu_comment_lien_id=\'' . $id . '\' ORDER BY annu_comment_date DESC';
$resultat = $db->sql_query($requete);
$i = true;
while ( $comment = $db->sql_fetchrow($resultat) )
{
$i = false;
// On récupère les données du posteur
$membre = $db->sql_fetchrow($db->sql_query('SELECT * FROM ' . USERS_TABLE . ' WHERE user_id=\'' . $comment['annu_comment_membre_id'] . '\''));
if ( $userdata['user_level'] == ADMIN )
{
$edit = append_sid('annuaire_comment.' . $phpEx . '?mode=edit&id=' . $id . '&u=' . $comment['annu_comment_id']);
$suppr = append_sid('annuaire_comment.' . $phpEx . '?mode=suppr&id=' . $id . '&u=' . $comment['annu_comment_id']);
$s_admin = '<br /><a href="' . $edit . '" class="gensmall">' . $lang['annu_edit'] . '</a> <a href="' . $suppr . '" class="gensmall">' . $lang['annu_suppr'] . '</a>';
}
$s_comment = $comment['annu_comment_text'];
$template->assign_block_vars('comment', array(
'S_COMMENT' => $s_comment,
'S_MEMBRE' => $membre['username'],
'S_DATE' => create_date($board_config['default_dateformat'], $comment['annu_comment_date'], $board_config['board_timezone']),
'S_ADMIN' => $s_admin,
'U_MEMBRE' => append_sid('profile.' . $phpEx . '&mode=viewprofile&u=' . $membre['user_id'])
));
}
if ( $i )
{
$template->assign_block_vars('no_comment', array());
}
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
#
#-----[ REMPLACER PAR ]----------------------------------------------
#
<?php
/***************************************************************************
* annuaire_comment.php
* -------------------
* begin : 2004/09/12
* copyright : (C) Oyo
* email : oyophpbbfr@hotmail.com
* copyright : (C) Dark_Génova
* email : genovakiller@yahoo.fr
*
* $Id: annuaire_comment.php,v 1.5.4 18/09/2004 12:46 Oyo Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);
include($phpbb_root_path . 'language/lang_french/lang_annuaire.' . $phpEx);
// Start session management
$userdata = session_pagestart($user_ip, PAGE_PROFILE);
init_userprefs($userdata);
// End session management
if ( !$board_config['annu_comment'] )
{
$header_location = ( @preg_match("/Microsoft|WebSTAR|Xitami/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: ";
header($header_location . append_sid("index." . $phpEx, true));
exit;
}
$mode = $HTTP_GET_VARS['mode'];
$id = intval($HTTP_GET_VARS['id']);
$u = intval($HTTP_GET_VARS['u']);
$post = $HTTP_POST_VARS;
$start = ( isset($HTTP_GET_VARS['start']) ) ? intval($HTTP_GET_VARS['start']) : 0;
$gen_simple_header = TRUE;
// A la recherche des mots...
$orig_word = array();
$replacement_word = array();
obtain_word_list($orig_word, $replacement_word);
// Suppression
if ( $mode == 'suppr' && $userdata['user_level'] == ADMIN )
{
$requete = 'DELETE FROM ' . ANNU_COMMENT_TABLE . ' WHERE annu_comment_id=\'' . $u . '\'';
if ( !$db->sql_query($requete) )
{
message_die(GENERAL_ERROR, 'Impossible de supprimer le commentaire dans la table ' . ANNU_COMMENT_TABLE, '', $requete);
}
}
//
// soumission du formulaire
if ( isset($post['submit_comment']) )
{
if ( trim($post['reply']) == '' )
{
$message = "<br /><br />" . sprintf($lang['Click_return_post_comment'], "<a href=\"" . append_sid('annuaire_comment.' . $phpEx . '?id=' . $id) . "\">", "</a>");
message_die(GENERAL_ERROR, 'Vous devez remplir les champs du formulaire');
}
else
{
if ( $mode == 'edit' && $userdata['user_level'] == ADMIN )
{
$requete = 'UPDATE ' . ANNU_COMMENT_TABLE . ' SET annu_comment_text=\'' . htmlSpecialChars($post['reply']) . '\' WHERE annu_comment_id=\'' . $u . '\'';
if ( !$db->sql_query($requete) )
{
message_die(GENERAL_ERROR, 'Impossible de mettre à jour le commentaire dans la table ' . ANNU_COMMENT_TABLE, '', $requete);
}
}
else
{
$comments_active = ( $board_config['annu_lien_active'] ) ? 1 : 1;
$requete = 'INSERT INTO ' . ANNU_COMMENT_TABLE . ' VALUES (
\'\',
\'' . time() . '\',
\'' . $id . '\',
\'' . $userdata['user_id'] . '\',
\'' . $comments_active . '\',
\'' . htmlSpecialChars($post['reply']) . '\')';
if ( !$db->sql_query($requete) )
{
message_die(GENERAL_ERROR, 'Impossible d\'insérer le commentaire dans la table ' . ANNU_COMMENT_TABLE, '', $requete);
}
}
$header_location = ( @preg_match("/Microsoft|WebSTAR|Xitami/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: ";
header($header_location . append_sid('annuaire_comment.' . $phpEx . '?id=' . $id, true));
exit;
}
}
if ( $mode == 'edit' && $userdata['user_level'] == ADMIN )
{
// On récupère les valeurs du commentaire
$value = $db->sql_fetchrow($db->sql_query('SELECT * FROM ' . ANNU_COMMENT_TABLE . ' WHERE annu_comment_id=\'' . $u . '\''));
$v_comment = $value['annu_comment_text'];
$action_edit = '&mode=edit&u=' . $u;
}
if ( $mode == 'edit' && $userdata['user_level'] == MOD )
{
// On récupère les valeurs du commentaire
$value = $db->sql_fetchrow($db->sql_query('SELECT * FROM ' . ANNU_COMMENT_TABLE . ' WHERE annu_comment_id=\'' . $u . '\''));
$v_comment = $value['annu_comment_text'];
$action_edit = '&mode=edit&u=' . $u;
}
// On fabrique les pages
if ( $mode == 'commentaire' )
{
// Tableau contenant les différents type d'ordre de la page
$order_array = array();
$order = ( !in_array($order, $order_array) ) ? 'commentaire' : $order;
// On récupère le nombre de page
$sql = 'SELECT count(*) AS count_page FROM ' . ANNU_COMMENT_TABLE . ' WHERE comment_active=\'1\' AND annu_comment_id=\'' . $id . '\'';
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);;
$nb_page = $row['count_page'];
$s_rowspan = ( $userdata['user_level'] == ADMIN ) ? 3 : 2;
// on créé la liste pour les pages des commentaires
$page_list = '<select name="page_list" onChange="page_redirection(this.value)">';
for ( $s=1; $s<=ceil($nb_page/$board_config['annu_show']); $s++ )
{
$selected = ( $s == ($start/$board_config['annu_show']) + 1 ) ? 'selected' : '';
$page_list .= '<option value="' . (($s * $board_config['annu_show']) - $board_config['annu_show']) . '" ' . $selected . '>' . $s . '</option>';
}
$page_list .= '</select>';
$template->set_filenames(array('body' => 'annuaire_comment_body.tpl'));
$template->assign_vars( array(
'L_BEFORE' => $precedent,
'L_NEXT' => $suivant,
'PAGE_LIST' => ( $nb_page > 1 ) ? $page_list : '',
'PAGINATION' => ( $nb_page > 1 ) ? generate_pagination('annuaire_comment.' . $phpEx . '?mode=commentaire&id=' . $id . '&order=' . $order, $nb_page, $board_config['annu_show'], $start) : '',
'U_PAGE' => append_sid('annuaire_comment.' . $phpEx . '?mode=commentaire&id=' . $id . '&order=' . $order),
'S_ROWSPAN' => $s_rowspan
));
}
$page_title = $lang['annu_comment_title'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$template->set_filenames(array('body' => 'annuaire_comment_body.tpl'));
$template->assign_vars( array(
'L_REPLY' => $lang['anu_reply_title'],
'L_COMMENT' => $lang['anu_comment'],
'L_NOT_LOGGED' => $lang['anu_not_logged'],
'L_SUBMIT' => $lang['anu_post'],
'L_RESET' => $lang['annu_reset'],
'L_NO_COMMENT' => $lang['anu_no_comment'],
'V_COMMENT' => $v_comment,
'S_ACTION' => append_sid('annuaire_comment.' . $phpEx . '?id=' . $id . $action_edit)
));
//
// on récupère les commentaires
$requete = 'SELECT * FROM ' . ANNU_COMMENT_TABLE . ' WHERE annu_comment_lien_id=\'' . $id . '\' ORDER BY annu_comment_date DESC';
$resultat = $db->sql_query($requete);
$i = true;
while ( $comment = $db->sql_fetchrow($resultat) )
{
$i = false;
// On récupère les données du posteur
$membre = $db->sql_fetchrow($db->sql_query('SELECT * FROM ' . USERS_TABLE . ' WHERE user_id=\'' . $comment['annu_comment_membre_id'] . '\''));
if ( $userdata['user_level'] == ADMIN )
{
$edit = append_sid('annuaire_comment.' . $phpEx . '?mode=edit&id=' . $id . '&u=' . $comment['annu_comment_id']);
$suppr = append_sid('annuaire_comment.' . $phpEx . '?mode=suppr&id=' . $id . '&u=' . $comment['annu_comment_id']);
$s_admin = '<br /><a href="' . $edit . '" class="gensmall">' . $lang['annu_edit'] . '</a> <a href="' . $suppr . '" class="gensmall">' . $lang['annu_suppr'] . '</a>';
}
if ( $userdata['user_level'] == MOD )
{
$edit = append_sid('annuaire_comment.' . $phpEx . '?mode=edit&id=' . $id . '&u=' . $comment['annu_comment_id']);
$s_admin = '<br /><a href="' . $edit . '" class="gensmall">' . $lang['annu_edit'] . '</a>';
}
$s_comment = str_replace("\n", "\n<br />\n", $comment['annu_comment_text']);
$s_comment = strtolower(preg_replace("'<script[^>]*?>.*?</script>'si", "", $s_comment));
// Replace naughty words
if (count($orig_word))
{
$s_comment = str_replace('\"', '"', substr(preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "preg_replace(\$orig_word, \$replacement_word, '\\0')", '>' . $s_comment . '<'), 1, -1));
}
$bbcode_uid = $postrow[$i]['bbcode_uid'];
// Smilies
if ( $board_config['allow_smilies'] )
{
$s_comment = smilies_pass($s_comment);
$s_comment = preg_replace('/images\/smiles/', 'images/smiles', $s_comment);
}
// Smilies
// BBcode basique : B,U,I
if ( $board_config['allow_bbcode'] )
{
$s_comment = str_replace("[/i]","</i>",$s_comment); $s_comment = str_replace("[i]","<i>",$s_comment);
$s_comment = str_replace("[/b]","</b>",$s_comment); $s_comment = str_replace("[b]","<b>",$s_comment);
$s_comment = str_replace("[/u]","</u>",$s_comment); $s_comment = str_replace("[u]","<u>",$s_comment);
}
else
{
$s_comment = str_replace("[/i]","",$s_comment); $s_comment = str_replace("[i]","",$s_comment);
$s_comment = str_replace("[/b]","",$s_comment); $s_comment = str_replace("[b]","",$s_comment);
$s_comment = str_replace("[/u]","",$s_comment); $s_comment = str_replace("[u]","",$s_comment);
}
// BBcode basique : B,U,I
$template->assign_block_vars('comment', array(
'S_COMMENT' => $s_comment,
'S_MEMBRE' => $membre['username'],
'S_DATE' => create_date($board_config['default_dateformat'], $comment['annu_comment_date'], $board_config['board_timezone']),
'S_ADMIN' => $s_admin,
'U_MEMBRE' => append_sid('profile.' . $phpEx . '&mode=viewprofile&u=' . $membre['user_id'])
));
}
if ( $i )
{
$template->assign_block_vars('no_comment', array());
}
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
#
#-----[ OUVRIR ]----------------------------------------------
#
templates/subSilver/annuaire_comment_body.tpl
#
#-----[ TROUVER ]----------------------------------------------
#
<form action="{S_ACTION}" method="post">
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline" align="center">
<tr>
<th class="thHead" colspan="2">{L_REPLY}</th>
</tr>
<!-- BEGIN switch_user_logged_in -->
<tr>
<td class="row1" width="150" valign="top"><span class="gen"><br /> {L_COMMENT}:</span></td>
<td class="row2"> <textarea name="reply" cols="30" rows="4">{V_COMMENT}</textarea></td>
</tr>
<tr>
<td class="catBottom" colspan="2" align="center"><input type="submit" name="submit_comment" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" value="{L_RESET}" class="liteoption" /></td>
</tr>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<tr>
<td class="row2" align="center"><span class="gen"><br />{L_NOT_LOGGED}<br /> </span></td>
</tr>
<tr>
<td class="catBottom" colspan="2" align="center"> </td>
</tr>
<!-- END switch_user_logged_out -->
</table>
</form>
<br />
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline" align="center">
<tr>
<th class="thHead" colspan="2">{L_COMMENT}</th>
</tr>
<!-- BEGIN comment -->
<tr>
<td class="row2" width="135"><span class="gensmall"><a href="{comment.U_MEMBRE}" class="gensmall" target="_blank">{comment.S_MEMBRE}</a><br />{comment.S_DATE}</span>{comment.S_ADMIN}</td>
<td class="row1" valign="top"><span class="gensmall">{comment.S_COMMENT}</span></td>
</tr>
<!-- END comment -->
<!-- BEGIN no_comment -->
<tr>
<td class="row2" align="center"><span class="gen"><br />{L_NO_COMMENT}<br /> </span></td>
</tr>
<!-- END no_comment -->
<tr>
<td class="catBottom" colspan="2" align="center"> </td>
</tr>
</table>
#
#-----[ REMPLACER PAR ]----------------------------------------------
#
<script language="JavaScript" type="text/javascript">
<!--
function page_redirection(value)
{
location.href="{U_PAGE}&start=" + value;
}
//-->
</script>
<form action="{S_ACTION}" method="post">
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline" align="center">
<tr>
<th class="thHead" colspan="2">{L_REPLY}</th>
</tr>
<!-- BEGIN switch_user_logged_in -->
<tr>
<td class="row1" width="150" valign="top"><span class="gen"><br /> {L_COMMENT}:</span></td>
<td class="row2"> <textarea name="reply" cols="30" rows="5"wrap="virtual" style="width:300px" tabindex="4" class="post">{V_COMMENT}</textarea></td>
</tr>
<tr>
<td class="catBottom" colspan="2" align="center"><input type="submit" name="submit_comment" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" value="{L_RESET}" class="liteoption" /></td>
</tr>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<tr>
<td class="row2" align="center"><span class="gen"><br />{L_NOT_LOGGED}<br /> </span></td>
</tr>
<tr>
<td class="catBottom" colspan="2" align="center"> </td>
</tr>
<!-- END switch_user_logged_out -->
</table>
</form>
<br />
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline" align="center">
<tr>
<th class="thLeft" width="150" height="26" nowrap="nowrap">{L_AUTHOR}</th>
<th class="thRight" nowrap="nowrap">{L_COMMENT}</th>
</tr>
<!-- BEGIN comment -->
<tr>
<td width="150" align="left" valign="top" class="{comment.ROW_CLASS}"><span class="name"><a href="{comment.U_MEMBRE}" class="gensmall" target="_blank"><b><font color="#000000">{comment.S_MEMBRE}</font></b></a></span></td>
<td class="{comment.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><span class="postdetails">{L_POSTED}: {comment.S_DATE}</td>
<td valign="top" nowrap="nowrap">{comment.S_ADMIN}</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2"><span class="postbody">{comment.S_COMMENT}</span></td>
</tr>
</table></td>
</tr>
<tr>
<td class="{comment.ROW_CLASS}" width="150" align="left" valign="middle"><span class="nav"><a href="#top" class="nav">{L_BACK_TO_TOP}</a></span></td>
<td class="{comment.ROW_CLASS}" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
<tr>
<td valign="middle" nowrap="nowrap">{comment.PM_IMG}</td>
</tr>
</table></td>
</tr>
<tr>
<td class="spaceRow" colspan="2" height="1"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /><br /></td>
</tr>
<!-- END comment -->
<!-- BEGIN no_comment -->
<tr>
<td class="row2" align="center" colspan="2"><span class="gen"><br />{L_NO_COMMENT}<br /> </span></td>
</tr>
<!-- END no_comment -->
<tr align="center">
<td class="catBottom" colspan="2" height="28"><table cellspacing="0" cellpadding="0" border="0">
<tr></tr>
</table></td>
</tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="right" valign="top" nowrap="nowrap"><span class="nav">{PAGINATION}</span>
</tr>
</table>
#
#-----[ SAUVEGARDER/FERMER TOUS LES FICHIERS ]------------------------------------------
#
# EoM
|
Dernière édition par Darkenshin le Sam 29 Avr 2006 à 22:29; édité 1 fois |
|