fhiiqm/vertrag_flist1.php
changeset 31 0a1eb975fbd9
parent 29 72f79dab938e
child 33 f1a8785434e4
equal deleted inserted replaced
30:d02d02efc55a 31:0a1eb975fbd9
    76     $subf   = $_POST["subf"]; // submit
    76     $subf   = $_POST["subf"]; // submit
    77     
    77     
    78     if (!isset($fnum) && !$fnum) $fnum = 1;
    78     if (!isset($fnum) && !$fnum) $fnum = 1;
    79     if (!isset($sort) && !$sort) $sort = 2;
    79     if (!isset($sort) && !$sort) $sort = 2;
    80     if (!isset($dir) && !$dir)  $dir = "";
    80     if (!isset($dir) && !$dir)  $dir = "";
       
    81     // $_GET-Parameter zurueck zur Vertragliste mit den selben Einstellungen wie zuvor fuer Update
       
    82     $getp = "&s=$sort&d=$dir&f=$fnum&b=$filter&st=$start&z=$zeil";
    81     
    83     
    82     // Recht Produktgruppe beruecksichtigen
    84     // Recht Produktgruppe beruecksichtigen
    83     if (is_array($_SESSION["prodg"]))
    85     if (is_array($_SESSION["prodg"]))
    84     {
    86     {
    85             foreach ($_SESSION["prodg"] as $val)
    87             foreach ($_SESSION["prodg"] as $val)
   195                 $doc = substr($row->doc,strpos($row->doc,"_")+1); 
   197                 $doc = substr($row->doc,strpos($row->doc,"_")+1); 
   196                 echo "<td><a href='documents/$row->doc'>$doc</a></td>";
   198                 echo "<td><a href='documents/$row->doc'>$doc</a></td>";
   197             }    
   199             }    
   198             else    
   200             else    
   199                 echo "<td>$row->doc</td>";
   201                 echo "<td>$row->doc</td>";
   200             echo "<td><a href='/fhiiqm/vertrag_upd.php?uid=$row->contract_ID'><img src=\"/fhiiqm/img/edit.gif\" alt='edit' title='edit' border='0'/></a></td></tr>\n";
   202             echo "<td><a href='/fhiiqm/vertrag_upd.php?uid=$row->contract_ID$getp'><img src=\"/fhiiqm/img/edit.gif\" alt='edit' title='edit' border='0'/></a></td></tr>\n";
   201        }
   203        }
   202         echo "</table></div>\n";
   204         echo "</table></div>\n";
   203         echo "<br />&nbsp;&nbsp;&nbsp;";
   205         echo "<br />&nbsp;&nbsp;&nbsp;";
   204         
   206         
   205         // Sortierung und Filter aus $_GET fuer weitere Seiten
   207         // Sortierung und Filter aus $_GET fuer weitere Seiten