bonsoir,
il te faut éditer le fichier articles.php situé à la racine de guppy.
Tu ajoutes uniquement le code qui est surligné dans le code ci-dessous (et bien entendu au bon endroit).
header("Pragma: no-cache");
define("CHEMIN", "");
include("inc/includes.inc");
if ($serviz[3] != "on" && $serviz[22] != "on") {
exit($web143);
}
$pg = strip_tags($pg);
$prt = strip_tags($prt);
if (count(SelectDBFields(TYP_ART,"a",$pg)) == 1) {
ReadDoc(DBBASE.$pg);
$countit = 1;
if ($lng == $lang[0]) {
$txtart1 = $fieldb1;
$txtprt = strip_tags($fieldb1);
$txtart2 = $fieldc1;
$txtart3 = $fielda1;
}
else {
$txtart1 = $fieldb2;
$txtprt = strip_tags($fieldb2);
$txtart2 = $fieldc2;
$txtart3 = $fielda2;
}
$txtart4 = FormatDate($moddate);
$txtart5 = FormatDate($creadate);
$txtart6 = $author;
}
else {
$countit = 0;
$txtart1 = $web35;
$txtart2 = $web36;
$txtart3 = $web37;
$txtart4 = $web37;
$txtart5 = $web37;
$txtart6 = $web37;
header('HTTP/1.0 404 Not Found');
}
$topmess = !empty($txtart3) ? $txtart3." - ".$txtart1 : $txtart1;
if (!empty($fieldd2)) {
$topmess = "<img src="".CHEMIN."img/".$fieldd2."" align="right" alt="".$fieldd2."" />".$topmess;
}
include("inc/hpage.inc");
htable($topmess, "100%");
if ($members[0]=="on" && $userprefs[1]=="" && $members[1]=="on") {
echo "<p align="center">".$web342."</p><br />";
echo "<p align="center">[ <a href="".CHEMIN."user.php?lng=".$lng."">".$web343."</a> ]</p><br />";
btable();
}
else {
if ($serviz[60] == "on") {
$rssnewsurl = $site[3].DATAREP."art".$lng.".xml";
echo '<div class="pop">';
echo '<a href="'.$rssnewsurl.'" target="_blank"><img src="'.CHEMIN .'inc/img/general/rss.gif" style="border:0px;vertical-align:bottom;" alt="rss" /> ';
echo '<span>'.$web406.':<br /><b> '.$rssnewsurl.'</b></span>';
echo '</a></div><hr />';
}
if (!empty($txtart2)) {
?>
<div style="padding: 6px;"><?php echo $txtart2; ?></div>
<hr />
<p style="font-size:smaller">
<?php echo $web299; ?> : <b><?php echo $txtart6 ; ?></b><br />
<?php echo $web95; ?> <b><?php echo $txtart5 ; ?></b><br />
<?php echo $web20; ?> <b><?php echo $txtart4 ; ?></b><br />
<?php echo $web21; ?> <b><?php echo $txtart3; ?></b>
.....
Le nom de l'auteur apparaitra alors au dessus de la date de création de l'article
A+