--- a/fhiiqm/vertrag_flist2.php Mon Feb 06 13:44:00 2012 +0100
+++ b/fhiiqm/vertrag_flist2.php Fri Mar 02 13:54:32 2012 +0100
@@ -111,6 +111,7 @@
// tab_column(12,"Partner",$sort,$dir,0,$fnum,$filter,$start,$zeil);
echo "<th>Kosten/Jahr(€)</th>";
echo "<th>Bemerkung</th>";
+ echo "<th>E-Mail</th>";
echo "<th> </th></tr>\n";
$cid=0;
@@ -119,7 +120,8 @@
if ($row->contract_ID != $cid && $cid != 0)
{ // nicht beim 1. Datensatz
echo "</td>";
- echo "<td width='30%'>$bem</td>";
+ echo "<td width='27%'>$bem</td>";
+ echo "<td>$mail</td>";
echo "<td><a href='vertrag_upd.php?uid=$cid'><img src=\"img/edit.gif\" alt='edit' title='edit' border='0'/></a></td></tr>\n";
}
if ($row->contract_ID != $cid)
@@ -146,7 +148,8 @@
echo "<td class='center'>$row->kmon</td>";
// echo "<td>$row->partfirma</td>";
echo "<td>";
- $bem = nl2br($row->bem);
+ $bem = nl2br($row->bem);
+ if ($row->email) $mail= "ja"; else $mail= " ";
}
// Anzeigen Kosten pro Jahr -> 1 Zeile des Resultsets (Kosten fast rechtsbuendig!))
if ($row->kosten)
@@ -157,6 +160,7 @@
}
echo "</td>";
echo "<td>$bem</td>";
+ echo "<td>$mail</td>";
echo "<td><a href='vertrag_upd.php?uid=$cid'><img src=\"img/edit.gif\" alt='edit' title='edit' border='0'/></a></td></tr>\n";
echo "</table></div>\n";
echo "<br /> ";