Bonjour voila j'ai récupéré les fichiers des genprez de membres et de requêtes de unitedbytes
le fichier read me
Code :
Installer FluxGen:
1) Edition du fichier de configuration (config.php) disponible dans /mods/FluxGen/:
Vous pouvez spécifier les options souhaitées mais il est essentiel d'établir la
correspondance entre l'ID d'un forum et le générateur souhaité pour que vos
membres puissent accéder auxdits générateurs.
Exemple:
// Correspondances "ID Forum" <=> "Générateur"
$gen_arr_corr=array(
1 => GEN_PRESENTATION,
3 => GEN_DEMANDE_GRAPHIQUE,
2 => GEN_REQUETE_UPLOAD
);
Signifie que vous souhaitez avoir:
- un générateur de présentation pour le forum avec l'ID 1.
- un générateur de demande graphique pour le forum avec l'ID 3.
- un générateur de requête d'upload pour le forum avec l'ID 2.
2) Upload:
Placer le fichier "fluxgen.php" et le dossier "mods" à la racine de votre FluxBB.
3) Edition de viewforum.php:
Ouvrez "viewforum.php" qui est un fichier de base de FluxBB que vous trouverez
à la racine de celui-ci.
=> Chercher:
// Can we or can we not post new topics?
...
// Get topic/forum tracking data
=> Remplacer le tout par:
// Can we or can we not post new topics?
# [START] FluxGen MOD
define('GEN_PATH',PUN_ROOT.'mods/FluxGen/');
require GEN_PATH.'common.php';
$post_link='';
if(($cur_forum['post_topics'] == '' && $pun_user['g_post_topics'] == '1') || $cur_forum['post_topics'] == '1' || $is_admmod)
$post_link="\t\t\t".'<p class="postlink conr">'.(isset($gen_arr_corr[$id])?'<a href="fluxgen.php?fid='.$id.'&type='.$gen_arr_corr[$id].'">'.$lang_gen['gen'].'</a>':'<a href="post.php?fid='.$id.'">'.$lang_forum['Post topic'].'</a>').'</p>'."\n";
# [END] FluxGen MOD
// Get topic/forum tracking data
4) Attention "anciennes versions":
Certaines anciennes versions ne permettent pas le chargement propre de fichiers statiques.
Il faut pour cela éditer "header.php" et vérifier la présence des lignes suivantes:
if (isset($page_head))
echo implode("\n", $page_head)."\n";
Si ces deux lignes n'existent pas, il faut les rajouter sous:
// JavaScript tricks for IE6 and olderle fluxgen.php
Code :
<?php
/**
* FluxGen Module 0.1
* Copyright (C) 2012, UB
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*/
// Chemin vers l'installation FluxBB
define('PUN_ROOT','./');
// Chemin vers notre FluxGen
define('GEN_PATH',PUN_ROOT.'mods/FluxGen/');
// Inclusion CORE
require PUN_ROOT.'include/common.php';
// Inclusion FluxGen
require GEN_PATH.'common.php';
// Ejecter les visiteurs simples
if($pun_user['is_guest'])
message($lang_common['No permission']);
// Nettoyage depuis GET
$sub=isset($_GET['sub'])?intval($_GET['sub']):0;
$fid=isset($_GET['fid'])?intval($_GET['fid']):0;
$type=isset($_GET['type'])?intval($_GET['type']):0;
// Validité générateur
if(!isset($gen_arr_corr[$fid])||($type<GEN_MIN_TYPE||$type>GEN_MAX_TYPE))
message($lang_gen['tns']);
// Validité forum
if($fid<1)
message($lang_gen['fns']);
if(GEN_ALLOW_DB_QUERY){
$result=$db->query(
'SELECT f.forum_name FROM '.$db->prefix.'forums AS f '.
'LEFT JOIN '.$db->prefix.'forum_perms AS fp '.
'ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') '.
'WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND f.id='.$fid
)or error('Unable to fetch forum info',__FILE__,__LINE__,$db->error());
if(!$db->num_rows($result))
message($lang_gen['fnx']);
$cur_forum=$db->fetch_assoc($result);
$db->free_result($result);
}
// Cas particulier pour les demandes d'upload
if(GEN_REQUETE_UPLOAD===$type)
$sub_ok=$sub>=GEN_RU_MIN_TYPE&&$sub<=GEN_RU_MAX_TYPE;
else
$sub_ok=false;
// Présence de la présentation + nombre posts obligatoire
if($type!==GEN_PRESENTATION){
if(GEN_ALLOW_DB_QUERY&&GEN_F_PRESENTATION>0){
$result=$db->query(
'SELECT id FROM '.$db->prefix.'topics '.
'WHERE poster=\''.$db->escape($pun_user['username']).'\' AND forum_id='.GEN_F_PRESENTATION
)or error('Unable to fetch topics info',__FILE__,__LINE__,$db->error());
if(!$db->num_rows($result))
message($lang_gen['e00']);
$cur_post=$db->fetch_assoc($result);
$db->free_result($result);
$link_prez='viewtopic.php?id='.$cur_post['id'];
} else $link_prez='';
if(GEN_MIN_POSTS>0)
if($pun_user['num_posts']<=GEN_MIN_POSTS)
message($lang_gen['e01'].$pun_user['num_posts'].'/'.GEN_MIN_POSTS.$lang_gen['e02']);
} else $link_prez='';
// Ajout des statics
$code="\r\n".'var gen_max_title='.GEN_MAX_SUBJECT.';'."\r\n".'var gen_username=\''.str_replace('\'','\\\'',$pun_user['username']).
'\';'."\r\nvar gen_current_lang='".($gen_lang_exists?$pun_user['language']:'French').'\';'."\r\n".'var gen_base=\''.$pun_config['o_base_url'].
'/'.'\';'."\r\n".'var gen_prez_link=\''.$link_prez.'\';'."\r\n".'var gen_img_url=gen_base+\''.str_replace('./','',GEN_PATH).'statics/img/\';'."\r\n";
if(GEN_PRESENTATION===$type)
$lang_load=&$lang_gen_js_p1;
elseif(GEN_REQUETE_UPLOAD===$type&&$sub_ok){
if($sub===GEN_RU_FILMS)
$lang_load=&$lang_gen_js_p2_1;
elseif($sub===GEN_RU_SERIETV)
$lang_load=&$lang_gen_js_p2_2;
elseif($sub===GEN_RU_JEUX)
$lang_load=&$lang_gen_js_p2_3;
elseif($sub===GEN_RU_LOGICIEL)
$lang_load=&$lang_gen_js_p2_4;
elseif($sub===GEN_RU_MUSIQUE)
$lang_load=&$lang_gen_js_p2_5;
}elseif(GEN_DEMANDE_GRAPHIQUE===$type)
$lang_load=&$lang_gen_js_p3;
else
$lang_load=array();
foreach($lang_load as $c=>&$v)
$code.='var lang_gen_'.$c.'=\''.str_replace('\'','\\\'',$v).'\';'."\r\n";
if(!isset($page_head))
$page_head=array();
if(GEN_REQUETE_UPLOAD!==$type||(GEN_REQUETE_UPLOAD===$type&&$sub_ok))
gen_add_js($page_head,GEN_PATH.'statics/js/main.js');
if(GEN_DEMANDE_GRAPHIQUE===$type)
gen_add_js($page_head,GEN_PATH.'statics/js/jscolor.js');
gen_add_css($page_head,GEN_PATH.'statics/css/main.css');
gen_add_js_code($page_head,$code);
// Titre de la page
$page_title=array();
$page_title[]=pun_htmlspecialchars($pun_config['o_board_title']);
$page_title[]=$lang_gen['gen'].' '.$lang_gen['gen_'.$type];
if($sub_ok)
$page_title[]=$lang_gen['gen_ru_'.$sub];
// Inclusion de l'entête
require PUN_ROOT.'header.php';
if(GEN_ALLOW_DB_QUERY){
?>
<div class="linkst">
<div class="inbox">
<ul class="crumbs">
<li>
<a href="index.php">
<?php echo $lang_common['Index'] ?>
</a>
</li>
<li>
<span>» </span>
<a href="viewforum.php?id=<?php echo $fid ?>">
<?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?>
</a>
</li>
<?php if(GEN_REQUETE_UPLOAD===$type&&$sub_ok){ ?>
<li>
<span>» </span>
<a href="fluxgen.php?fid=<?php echo $fid ?>&type=<?php echo GEN_REQUETE_UPLOAD ?>">
<?php echo $lang_gen['gen'].' '.$lang_gen['gen_'.$type] ?>
</a>
</li>
<li>
<span>» </span>
<strong>
<?php echo $lang_gen['gen_ru_'.$sub] ?>
</strong>
</li>
<?php } else { ?>
<li>
<span>» </span>
<strong>
<?php echo $lang_gen['gen'].' '.$lang_gen['gen_'.$type] ?>
</strong>
</li>
<?php } ?>
</ul>
</div>
</div>
<?php } ?>
<div style="display:none;" class="gen_hide" id="posterror">
<h2><span><?php echo $lang_gen['err'] ?></span></h2>
<div class="box">
<div class="inbox error-info">
<p><?php echo $lang_gen['ers'] ?></p>
<ul id="gen_error_list" class="error-list"><li>w3</li></ul>
<div id="gen_err_links">
<p>
<a href="#" onclick="gen_reload(<?php echo (integer)GEN_PRESERVE_ERRORS ?>);return false;"><?php echo $lang_gen['cnn'] ?></a> -
<a href="viewforum.php?id=<?php echo $fid ?>"><?php echo $lang_gen['cna'] ?></a>
</p>
</div>
</div>
</div>
</div>
<div id="postform" class="blockform">
<div class="box">
<div class="inform">
<?php
if(!$sub_ok&&GEN_REQUETE_UPLOAD===$type){ ?>
<fieldset>
<legend><?php echo $lang_gen['fxx'] ?></legend>
<div class="infldset">
<ul>
<?php for($i=GEN_RU_MIN_TYPE;$i<=GEN_RU_MAX_TYPE;$i++){ ?>
<li><a href="fluxgen.php?fid=<?php echo $fid ?>&type=<?php echo GEN_REQUETE_UPLOAD ?>&sub=<?php echo $i ?>"><?php echo $lang_gen['gen_ru_'.$i] ?></a></li>
<?php } if(GEN_ADD_FREE){ ?>
<li><a href="post.php?fid=<?php echo $fid ?>"><?php echo $lang_gen['rreq'] ?></a></li>
<?php } ?>
</ul>
</div>
<div class="infldset">
<a href="viewforum.php?id=<?php echo $fid ?>"><?php echo $lang_gen['cna'] ?></a>
</div>
</fieldset>
<?php }else{if(GEN_PRESENTATION===$type){ ?>
<fieldset>
<legend><?php echo $lang_gen['cmp'] ?></legend>
<div class="infldset">
<label class="required">
<strong><?php echo $lang_common['Subject'] ?><span><?php echo $lang_common['Required'] ?></span></strong>
<br /><input id="f_1_a" type="text" maxlength="<?php echo GEN_MAX_SUBJECT ?>" value="[<?php echo $lang_gen['gen_b_'.$type]; ?>] <?php echo pun_htmlspecialchars($pun_user['username']); ?>" size="100" class="longinput" /><br />
</label>
</div>
</fieldset>
<fieldset>
<legend><?php echo $lang_gen['infos_perso'] ?></legend>
<div class="infldset">
<table class="aligntop gen_table" cellspacing="0">
<tbody>
<tr>
<td>
<label>
<?php echo $lang_gen['age'] ?>
<br /><input id="f_1_b" type="text" size="3" maxlength="2" /> <?php echo $lang_gen['age_p'] ?><br />
</label>
</td>
<td>
<label>
<?php echo $lang_gen['sexe'] ?>
<br />
<?php gen_build_select('f_1_c',$lang_gen['sexe_l']); ?>
<br />
</label>
</td>
</tr>
<tr>
<td>
<label>
<?php echo $lang_gen['prenom'] ?>
<br /><input id="f_1_d" type="text" size="20" /><br />
</label>
</td>
<td>
<label>
<?php echo $lang_gen['region'] ?>
<br />
<?php gen_build_select('f_1_e',$lang_gen['region_l']); ?>
<br />
</label>
</td>
</tr>
</tbody>
</table>
<label>
<?php echo $lang_gen['hobbies'] ?>
<br /><input id="f_1_f" type="text" size="100" class="longinput" /><br />
</label>
<label>
<?php echo $lang_gen['vme'] ?>
<br /><input id="f_1_g" type="text" size="100" class="longinput" /><br />
</label>
</div>
</fieldset>
<fieldset>
<legend><?php echo $lang_gen['infos_compl'] ?></legend>
<div class="infldset">
<table class="aligntop gen_table" cellspacing="0">
<tbody>
<tr>
<td>
<label>
<?php echo $lang_gen['fai'] ?>
<br />
<?php gen_build_select('f_1_h',$lang_gen['fai_l']); ?>
<br />
</label>
</td>
<td>
<label>
<?php echo $lang_gen['deb'] ?>
<br />
<?php gen_build_select('f_1_i',$lang_gen['deb_l']); ?>
<br />
</label>
</td>
<td>
<label>
<?php echo $lang_gen['nav'] ?>
<br />
<?php gen_build_select('f_1_j',$lang_gen['nav_l']); ?>
<br />
</label>
</td>
</tr>
</tbody>
</table>
<label>
<?php echo $lang_gen['vci'] ?>
<br /><input id="f_1_k" type="text" size="100" class="longinput" /><br />
</label>
<label>
<?php echo $lang_gen['vcw'] ?>
<br /><input id="f_1_l" type="text" size="100" class="longinput" /><br />
</label>
</div>
</fieldset>
<fieldset>
<legend><?php echo $lang_gen['infos_forum'] ?></legend>
<div class="infldset txtarea">
<label>
<?php echo $lang_gen['cmt'] ?>
<br /><textarea id="f_1_m" rows="3" cols="100"></textarea><br />
</label>
<label>
<?php echo $lang_gen['qav'] ?>
<br /><textarea id="f_1_n" rows="3" cols="100"></textarea><br />
</label>
<label>
<?php echo $lang_gen['qcv'] ?>
<br /><textarea id="f_1_o" rows="3" cols="100"></textarea><br />
</label>
</div>
</fieldset>
<?php }elseif(GEN_REQUETE_UPLOAD===$type){ ?>
<fieldset>
<legend><?php echo $lang_gen['rcmp'] ?></legend>
<div class="infldset">
<label class="required">
<strong><?php echo $lang_common['Subject'] ?><span><?php echo $lang_common['Required'] ?></span></strong>
<br /><input id="f_2_a" type="text" maxlength="<?php echo GEN_MAX_SUBJECT ?>" value="[<?php echo $lang_gen['gen_b_'.$type]; ?>] <?php echo pun_htmlspecialchars($pun_user['username']); ?>" size="100" class="longinput" /><br />
</label>
<?php if(GEN_RU_FILMS===$sub){if(GEN_MAJEUR)$lang_gen['fst'][]=$lang_gen['fstx'];?>
<label class="required">
<strong><?php echo $lang_gen['rtpe'] ?><span><?php echo $lang_common['Required'] ?></span></strong>
<br /><?php gen_build_select_simple('f_2_b',$lang_gen['fst']); ?><br />
</label>
</div>
</fieldset>
<fieldset>
<legend><?php echo $lang_gen['rcmm'] ?></legend>
<div class="infldset">
<label>
<?php echo $lang_gen['rtitre'] ?>
<br /><input id="f_2_c" type="text" size="100" class="longinput" /><br />
</label>
<label>
<?php echo $lang_gen['rheb'] ?>
<br /><input id="f_2_d" type="text" size="100" class="longinput" /><br />
</label>
<table class="aligntop gen_table" cellspacing="0">
<tbody>
<tr>
<td>
<label>
<?php echo $lang_gen['rqualite'] ?>
<br />
<?php gen_build_select('f_2_e',$lang_gen['rqualite_l']); ?>
<br />
</label>
</td>
<td>
<label>
<?php echo $lang_gen['rformat'] ?>
<br />
<?php gen_build_select('f_2_f',$lang_gen['rformat_l']); ?>
<br />
</label>
</td>
<td>
<label>
<?php echo $lang_gen['rlangue'] ?>
<br />
<?php gen_build_select_simple('f_2_g',$lang_gen['rlangue_l']); ?>
<br />
</label>
</td>
</tr>
</tbody>
</table>
</div>
</fieldset>
<?php }elseif(GEN_RU_SERIETV===$sub){ ?>
</div>
</fieldset>
<fieldset>
<legend><?php echo $lang_gen['rcmm'] ?></legend>
<div class="infldset">
<label>
<?php echo $lang_gen['rtitre'] ?>
<br /><input id="f_2_b" type="text" size="100" class="longinput" /><br />
</label>
<label>
<?php echo $lang_gen['rheb'] ?>
<br /><input id="f_2_c" type="text" size="100" class="longinput" /><br />
</label>
<table class="aligntop gen_table" cellspacing="0">
<tbody>
<tr>
<td>
<label>
<?php echo $lang_gen['rqualite'] ?>
<br />
<?php gen_build_select('f_2_d',$lang_gen['rqualite_l']); ?>
<br />
</label>
</td>
<td>
<label>
<?php echo $lang_gen['rformat'] ?>
<br />
<?php gen_build_select('f_2_e',$lang_gen['rformat_l']); ?>
<br />
</label>
</td>
<td>
<label>
<?php echo $lang_gen['rlangue'] ?>
<br />
<?php gen_build_select_simple('f_2_f',$lang_gen['rlangue_l']); ?>
<br />
</label>
</td>
</tr>
</tbody>
</table>
<label>
<?php echo $lang_gen['rsaison'] ?>
<br /><input id="f_2_g" type="text" size="100" class="longinput" /><br />
</label>
<label>
<?php echo $lang_gen['repisodes'] ?>
<br /><input id="f_2_h" type="text" size="100" class="longinput" /><br />
</label>
</div>
</fieldset>
<?php }elseif(GEN_RU_JEUX===$sub){ ?>
</div>
</fieldset>
<fieldset>
<legend><?php echo $lang_gen['rcmm'] ?></legend>
<div class="infldset">
<label>
<?php echo $lang_gen['rtitre'] ?>
<br /><input id="f_2_b" type="text" size="100" class="longinput" /><br />
</label>
<label>
<?php echo $lang_gen['rheb'] ?>
<br /><input id="f_2_c" type="text" size="100" class="longinput" /><br />
</label>
<table class="aligntop gen_table" cellspacing="0">
<tbody>
<tr>
<td>
<label>
<?php echo $lang_gen['rtpe'] ?>
<br />
<?php gen_build_select_simple('f_2_d',$lang_gen['rtypej_l']); ?>
<br />
</label>
</td>
<td>
<label>
<?php echo $lang_gen['rformat'] ?>
<br />
<?php gen_build_select_simple('f_2_e',$lang_gen['rformatj_l']); ?>
<br />
</label>
</td>
<td>
<label>
<?php echo $lang_gen['rreg'] ?>
<br />
<?php gen_build_select_simple('f_2_f',$lang_gen['rregionj_l']); ?>
<br />
</label>
</td>
<td>
<label>
<?php echo $lang_gen['rlangue'] ?>
<br />
<?php gen_build_select_simple('f_2_g',$lang_gen['rlangue_l']); ?>
<br />
</label>
</td>
</tr>
</tbody>
</table>
</div>
</fieldset>
<?php }elseif(GEN_RU_MUSIQUE===$sub){ ?>
</div>
</fieldset>
<fieldset>
<legend><?php echo $lang_gen['rcmm'] ?></legend>
<div class="infldset">
<label>
<?php echo $lang_gen['rtitre'] ?>
<br /><input id="f_2_b" type="text" size="100" class="longinput" /><br />
</label>
<label>
<?php echo $lang_gen['rheb'] ?>
<br /><input id="f_2_c" type="text" size="100" class="longinput" /><br />
</label>
<table class="aligntop gen_table" cellspacing="0">
<tbody>
<tr>
<td>
<label>
<?php echo $lang_gen['rgenre'] ?>
<br />
<?php gen_build_select_simple('f_2_d',$lang_gen['rgenre_l']); ?>
<br />
</label>
</td>
<td>
<label>
<?php echo $lang_gen['rformat'] ?>
<br />
<?php gen_build_select_simple('f_2_e',$lang_gen['rformatm_l']); ?>
<br />
</label>
</td>
</tr>
</tbody>
</table>
<label>
<?php echo $lang_gen['rdatem'] ?>
<br /><input id="f_2_f" type="text" size="100" class="longinput" /><br />
</label>
</div>
</fieldset>
<?php }elseif(GEN_RU_LOGICIEL===$sub){ ?>
</div>
</fieldset>
<fieldset>
<legend><?php echo $lang_gen['rcmm'] ?></legend>
<div class="infldset">
<label>
<?php echo $lang_gen['rtitre'] ?>
<br /><input id="f_2_b" type="text" size="100" class="longinput" /><br />
</label>
<label>
<?php echo $lang_gen['rheb'] ?>
<br /><input id="f_2_c" type="text" size="100" class="longinput" /><br />
</label>
<table class="aligntop gen_table" cellspacing="0">
<tbody>
<tr>
<td>
<label>
<?php echo $lang_gen['rformat'] ?>
<br />
<?php gen_build_select_simple('f_2_d',$lang_gen['rformatl_l']); ?>
<br />
</label>
</td>
<td>
<label>
<?php echo $lang_gen['rlangue'] ?>
<br />
<?php gen_build_select_simple('f_2_e',$lang_gen['rlangue_l']); ?>
<br />
</label>
</td>
</tr>
</tbody>
</table>
<label>
<?php echo $lang_gen['rdatem'] ?>
<br /><input id="f_2_f" type="text" size="100" class="longinput" /><br />
</label>
<label>
<?php echo $lang_gen['rsysl'] ?>
<br /><input id="f_2_g" type="text" size="100" class="longinput" /><br />
</label>
</div>
</fieldset>
<?php } ?>
<fieldset>
<legend><?php echo $lang_gen['rcpm'] ?></legend>
<div class="infldset txtarea">
<textarea id="f_2_z" rows="3" cols="100"></textarea><br />
</div>
</fieldset>
<?php }elseif(GEN_DEMANDE_GRAPHIQUE===$type){ ?>
<fieldset>
<legend><?php echo $lang_gen['acmp'] ?></legend>
<div class="infldset">
<label class="required">
<strong><?php echo $lang_common['Subject'] ?><span><?php echo $lang_common['Required'] ?></span></strong>
<br /><input id="f_3_a" type="text" maxlength="<?php echo GEN_MAX_SUBJECT ?>" value="[<?php echo $lang_gen['gen_b_'.$type]; ?>] <?php echo pun_htmlspecialchars($pun_user['username']); ?>" size="100" class="longinput" /><br />
</label>
<label class="required">
<strong><?php echo $lang_gen['atype'] ?><span><?php echo $lang_common['Required'] ?></span></strong>
<br /><?php gen_build_select_simple('f_3_b',$lang_gen['atype_l'],'gen_graph_primary(this)'); ?><br />
</label>
<div class="gen_hide" id="gen_graph_msg"><?php echo $lang_gen['graphmsg'] ?></div>
</div>
</fieldset>
<fieldset>
<legend><?php echo $lang_gen['acmm'] ?></legend>
<div class="infldset">
<div id="gen_dim" class="gen_hide">
<label>
<?php echo $lang_gen['adim'] ?>
</label>
<input id="f_3_c" type="text" size="3" maxlength="4" value="<?php echo GEN_USERBAR_DEFAULT_W>0?GEN_USERBAR_DEFAULT_W:'' ?>" /> X <input id="f_3_d" type="text" size="3" maxlength="4" value="<?php echo GEN_USERBAR_DEFAULT_H>0?GEN_USERBAR_DEFAULT_H:'' ?>" /><br />
</div>
<div id="gen_dim_a" class="gen_hide">
<label>
<?php echo $lang_gen['adima'] ?>
</label>
<input id="f_3_e" type="text" size="3" maxlength="4" value="<?php echo GEN_AVATAR_DEFAULT_W>0?GEN_AVATAR_DEFAULT_W:$pun_config['o_avatars_width'] ?>" /> X <input id="f_3_f" type="text" size="3" maxlength="4" value="<?php echo GEN_AVATAR_DEFAULT_H?GEN_AVATAR_DEFAULT_H:$pun_config['o_avatars_height'] ?>" /><br />
</div>
<div id="gen_dim_s" class="gen_hide">
<label>
<?php echo $lang_gen['adims'] ?>
</label>
<input id="f_3_g" type="text" size="3" maxlength="4" value="<?php echo GEN_SIGNATURE_DEFAULT_W>0?GEN_SIGNATURE_DEFAULT_W:0 ?>" /> X <input id="f_3_h" type="text" size="3" maxlength="4" value="<?php echo GEN_SIGNATURE_DEFAULT_H>0?GEN_SIGNATURE_DEFAULT_H:0 ?>" /><br />
</div>
<?php echo $lang_gen['acs'] ?> ( <a href="javascript:gen_graph_add_color();void(0);"><?php echo $lang_gen['add'] ?></a> <div id="gen_colors_del" class="gen_hide">/ <a href="javascript:gen_graph_del_color();void(0);"><?php echo $lang_gen['del'] ?></a></div> )
<div id="gen_colors"></div>
<label><?php echo $lang_gen['acol'] ?></label><input id="f_3_j_load" type="checkbox" onclick="document.getElementById('f_3_j_container').style.visibility=this.checked?'hidden':'visible';" /><?php echo $lang_gen['apps'] ?> <div class="gen_inline" id="f_3_j_container"><input id="f_3_j" type="text" size="20" class="color" /></div><br />
<?php echo $lang_gen['aurl'] ?> ( <a href="javascript:gen_graph_add_url();void(0);"><?php echo $lang_gen['add'] ?></a> <div id="gen_urls_del" class="gen_hide">/ <a href="javascript:gen_graph_del_url();void(0);"><?php echo $lang_gen['del'] ?></a></div> )
<div id="gen_urls"></div>
<table class="aligntop gen_table" cellspacing="0">
<tbody>
<tr>
<td>
<label>
<?php echo $lang_gen['aaffp'] ?>
<br />
<?php gen_build_select_simple('f_3_l',$lang_gen['aaffp_l']); ?>
<br />
</label>
</td>
<td>
<label>
<?php echo $lang_gen['aaaap'] ?>
<br />
<?php gen_build_select_simple('f_3_m',$lang_gen['aaaap_l']); ?>
<br />
</label>
</td>
</tr>
<tr>
<td>
<label>
<?php echo $lang_gen['afffp'] ?>
<br />
<?php gen_build_select_simple('f_3_n',$lang_gen['afffp_l']); ?>
<br />
</label>
</td>
<td>
<label>
<?php echo $lang_gen['aaafp'] ?>
<br />
<?php gen_build_select_simple('f_3_o',$lang_gen['aaafp_l']); ?>
<br />
</label>
</td>
</tr>
</tbody>
</table>
<label>
<?php echo $lang_gen['afs'] ?>
<br /><input id="f_3_p" type="text" size="100" class="longinput" /><br />
</label>
<label>
<?php echo $lang_gen['athe'] ?>
<br /><input id="f_3_q" type="text" size="100" class="longinput" /><br />
</label>
<label>
<?php echo $lang_gen['atxt'] ?>
<br /><input id="f_3_r" type="text" size="100" class="longinput" /><br />
</label>
<label>
<?php echo $lang_gen['apol'] ?>
<br /><input id="f_3_s" type="text" size="100" class="longinput" /><br />
</label>
</div>
</fieldset>
<fieldset>
<legend><?php echo $lang_gen['aps'] ?></legend>
<div class="infldset txtarea">
<label>
<?php echo $lang_gen['aps'] ?>
<br /><textarea id="f_3_t" rows="3" cols="100"></textarea><br />
</label>
</div>
</fieldset>
<?php }else message($lang_gen['fns']);?>
<form id="post" method="post" action="post.php?action=post&fid=<?php echo $fid ?>" onsubmit="return gen_cf(<?php echo $type.','.$sub.','.(integer)GEN_PRESERVE_ERRORS.','.(integer)GEN_ADD_CENTER ?>)">
<input type="hidden" name="form_sent" value="1" />
<div class="gen_hide">
<input id="r_s" name="req_subject" type="text" />
<textarea id="r_m" name="req_message" rows="1" cols="1"></textarea>
</div>
<?php
//Pour les forums avec Captcha, le placer ici.
//Exemple ReCaptcha:
// require_once(PUN_ROOT.'include/recaptchalib.php');
// echo recaptcha_get_html('YOUR_RECAPTCHA_PUBLIC_KEY');
?>
<p class="buttons">
<input type="submit" name="submit" value="<?php echo $lang_common['Submit'] ?>" accesskey="s" />
<?php if(GEN_ADD_FREE){ ?><a href="post.php?fid=<?php echo $fid ?>"><?php echo $lang_gen['genfree'] ?></a><?php } ?>
<a href="viewforum.php?id=<?php echo $fid ?>"><?php echo $lang_gen['cna'] ?></a>
</p>
</form>
<?php } ?>
</div>
</div>
</div>
<?php
// Inclusion pied de page
require PUN_ROOT.'footer.php';
?>et le dosseir MOD
tout a été installé correctement et on voit s'afficher pour les nouvelles requêtes cependant quand je suis prêt à valider la requête il me dit le lien que vous essayer de est périmé ou incorrect une idée?