
Forum » » Mods, Trucs, Astuces » » Accepter lire la suite seulement par les membres
Posté : 15-07-2007 02:31 
if ($bodytext == "") {
$bodytext = meta_lang("$hometext<br /><br />$notes");
} else {
if(secur_static("member")) {
$bodytext = meta_lang("$hometext<br /><br />$bodytext<br /><br />$notes");
} else {
$bodytext = meta_lang("$hometext<br /><br />Pour lire la suite de cet article, vous devez <a href=\"user.php\">être connecté en tant que membre</a><br /><br />$notes");
}
}
if ($informant == "") {$informant = $anonymous;}
Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=22667&forum=7