Modif d'affichage du titre 'Propale Envoyée'

This commit is contained in:
Rodolphe Quiedeville 2003-09-16 19:53:09 +00:00
parent 500428c54f
commit 91cf3e5973

View File

@ -648,7 +648,6 @@ if ($propalid)
* *
*/ */
print "</td><td valign=\"top\" width=\"50%\">"; print "</td><td valign=\"top\" width=\"50%\">";
print_titre("Propale envoyée");
/* /*
* *
*/ */
@ -659,21 +658,28 @@ if ($propalid)
{ {
$num = $db->num_rows(); $num = $db->num_rows();
$i = 0; $total = 0; $i = 0; $total = 0;
print "<TABLE class=\"tablefsoc\" border=\"1\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\">";
print "<tr><td>Date</td><td>Auteur</td></TR>\n"; if ($num > 0)
while ($i < $num)
{ {
$objp = $db->fetch_object( $i); print_titre("Propale envoyée");
print "<TR><TD>".strftime("%d %B %Y %H:%M:%S",$objp->da)."</TD>\n";
$authoract = new User($db); print "<TABLE class=\"tablefsoc\" border=\"1\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\">";
$authoract->id = $objp->fk_user_author; print "<tr><td>Date</td><td>Auteur</td></TR>\n";
$authoract->fetch('');
print "<TD>$authoract->code</TD></tr>\n";
print "<tr><td colspan=\"2\">$objp->note</td></tr>"; while ($i < $num)
$i++; {
$objp = $db->fetch_object( $i);
print "<TR><TD>".strftime("%d %B %Y %H:%M:%S",$objp->da)."</TD>\n";
$authoract = new User($db);
$authoract->id = $objp->fk_user_author;
$authoract->fetch('');
print "<TD>$authoract->code</TD></tr>\n";
print "<tr><td colspan=\"2\">$objp->note</td></tr>";
$i++;
}
print "</table>";
} }
print "</table>";
$db->free(); $db->free();
} }
else else