$out .= sprintf ("<tr class=\"t%d\">", $color);
$out .= sprintf ("<td width=\"10%%\" align=\"right\">%s</td>", $date);
$out .= sprintf ("<td width=\"10%%\" align=\"center\">%s</td>", $row['category']);
- $out .= sprintf ("<td width=\"70%%\"><a href=\"edit.php?id=%d%s\">%s</a></td>",
+ $out .= sprintf ("<td width=\"70%%\"><a href=\"edit.php?id=%d%s\" target=\"_new\">%s</a></td>",
$row['id'], $add, $descr[0]);
$out .= sprintf ("<td width=\"10%%\" align=\"right\" class=\"%s\">%5.2f</td>",
$row[$value]>0?"in":"out", $row[$value]);