fhiiqm/raum_flist.php
changeset 24 15f33315f045
parent 23 a382de56a8e4
child 26 3c1e3ac7089f
equal deleted inserted replaced
23:a382de56a8e4 24:15f33315f045
   131         echo "<tr bgcolor='#68ACBF'>";
   131         echo "<tr bgcolor='#68ACBF'>";
   132         tab_column(2,"Raum-Nr.",$sort,$dir,0,$fnum,$filter,$start,$zeil);
   132         tab_column(2,"Raum-Nr.",$sort,$dir,0,$fnum,$filter,$start,$zeil);
   133         tab_column(3,"Bezeichnung",$sort,$dir,0,$fnum,$filter,$start,$zeil);
   133         tab_column(3,"Bezeichnung",$sort,$dir,0,$fnum,$filter,$start,$zeil);
   134         tab_column(4,"Haus",$sort,$dir,4,$fnum,$filter,$start,$zeil);
   134         tab_column(4,"Haus",$sort,$dir,4,$fnum,$filter,$start,$zeil);
   135         tab_column(5,"Raum-Typ",$sort,$dir,5,$fnum,$filter,$start,$zeil);
   135         tab_column(5,"Raum-Typ",$sort,$dir,5,$fnum,$filter,$start,$zeil);
   136         tab_column(8,"Reinigungs-Typ",$sort,$dir,8,$fnum,$filter,$start,$zeil);
   136         tab_column(8,"Reinig.-Typ",$sort,$dir,8,$fnum,$filter,$start,$zeil);
   137         tab_column(6,"Fl&auml;che (m<sup>2</sup>)",$sort,$dir,0,$fnum,$filter,$start,$zeil);
   137         tab_column(9,"Reinig.-Kat.",$sort,$dir,9,$fnum,$filter,$start,$zeil);
       
   138         tab_column(10,"Reinig.-Turn.",$sort,$dir,10,$fnum,$filter,$start,$zeil);
       
   139         tab_column(11,"Boden-Typ",$sort,$dir,11,$fnum,$filter,$start,$zeil);
       
   140         tab_column(12,"Reinig.Fl.(m<sup>2</sup>)",$sort,$dir,0,$fnum,$filter,$start,$zeil);
       
   141         tab_column(6,"Fl&auml;che(m<sup>2</sup>)",$sort,$dir,0,$fnum,$filter,$start,$zeil);
   138         tab_column(7,"Raumplan",$sort,$dir,0,$fnum,$filter,$start,$zeil);
   142         tab_column(7,"Raumplan",$sort,$dir,0,$fnum,$filter,$start,$zeil);
   139         echo "<th>&nbsp;</th></tr>\n";
   143         echo "<th>&nbsp;</th></tr>\n";
   140         
   144         
   141 //        echo "<tr bgcolor='#68ACBF'><th>Raum-Nr.</th><th>Bezeichnung</th><th>Haus</th><th>Typ</th><th>Fl&auml;che (m<sup>2</sup>)</th><th>Raumplan</th><th>&nbsp;</th>
   145 //        echo "<tr bgcolor='#68ACBF'><th>Raum-Nr.</th><th>Bezeichnung</th><th>Haus</th><th>Typ</th><th>Fl&auml;che (m<sup>2</sup>)</th><th>Raumplan</th><th>&nbsp;</th>
   142 //                </tr>\n";
   146 //                </tr>\n";
   147             echo "<td>$row->raum_name</td>";
   151             echo "<td>$row->raum_name</td>";
   148             echo "<td>$row->geb_ID</td>";
   152             echo "<td>$row->geb_ID</td>";
   149             echo "<td>$row->raumtyp_bez</td>";
   153             echo "<td>$row->raumtyp_bez</td>";
   150             if ($row->reinigung_typ_ID)
   154             if ($row->reinigung_typ_ID)
   151                 echo "<td>$row->reinigung_typ_ID: $row->reinigung_typ_bez</td>";
   155                 echo "<td>$row->reinigung_typ_ID: $row->reinigung_typ_bez</td>";
       
   156             else echo "<td>&nbsp;</td>";
       
   157             if ($row->reinigung_kat)
       
   158                 echo "<td>$row->reinigung_kat</td>";
       
   159             else echo "<td>&nbsp;</td>";
       
   160             if ($row->reinigung_turnus_bez)
       
   161                 echo "<td>$row->reinigung_turnus_bez</td>";
       
   162             else echo "<td>&nbsp;</td>";
       
   163             if ($row->boden_typ_bez)
       
   164                 echo "<td>$row->boden_typ_bez</td>";
       
   165             else echo "<td>&nbsp;</td>";
       
   166             if ($row->reinigung_flaeche)
       
   167                 echo "<td class='right'>" . number_format($row->reinigung_flaeche,2,',','') . "</td>";
   152             else echo "<td>&nbsp;</td>";
   168             else echo "<td>&nbsp;</td>";
   153             echo "<td class='right'>" . str_replace(".",",",$row->raum_flaeche) . "</td>";
   169             echo "<td class='right'>" . str_replace(".",",",$row->raum_flaeche) . "</td>";
   154             if (file_exists("raeume/".$row->raum_file))
   170             if (file_exists("raeume/".$row->raum_file))
   155             {
   171             {
   156                 $raum_file = substr($row->raum_file,strpos($row->raum_file,"_")+1); 
   172                 $raum_file = substr($row->raum_file,strpos($row->raum_file,"_")+1);