fhiiqm/vertrag_flist1.php
changeset 12 2d8be944f381
parent 10 f538f73ebc37
child 13 741b35e9ebbe
--- a/fhiiqm/vertrag_flist1.php	Fri Sep 16 16:15:15 2011 +0200
+++ b/fhiiqm/vertrag_flist1.php	Tue Sep 27 14:59:40 2011 +0200
@@ -98,7 +98,18 @@
             echo "<input type='hidden' name='f' value='$fnum'>";
             echo "<table width=\"30%\" border=\"0\">\n";
             echo "<tr><td>filtern nach $text: </td>";
-            echo "<td><input id='filter' name='filter' type=\"text\" size=\"30\" maxlength=\"30\" value=\"$filter\"/></td>";
+            echo "<td><input id='filter' name='filter' type=\"text\" size=\"30\" maxlength=\"30\" value=\"$filter\"";
+            if ($fnum == 6)
+            {
+                $sql = "SELECT vtyp_kurz, vtyp_bezeichnung FROM Vertrag_Typ ORDER BY 1";
+                if ($res = $dbc->queryObjectArray($sql))
+                {
+                    foreach ($res as $row)
+                       $title .= ", " . $row->vtyp_kurz." - ".$row->vtyp_bezeichnung; 
+                    echo "title='".substr($title,2)."' ";            
+                }
+            }
+            echo "/></td>";
             echo "<td><input class=\"button\" type=\"submit\" value=\"finden\" name=\"subf\" title=\"subf\" /></td></tr></table>\n";
             echo "</form>\n";
             echo "<p>&nbsp;&nbsp;&nbsp;</p>\n";