echo "<td>" . toImage('search') . "</td>"; echo "<td>" . toImage('pos') . "</td>"; echo "<td>" . toImage('minimum_input') . "</td>"; echo "<td>" . toImage('style_id') . "</td>"; echo "<td>" . toImage('upper') . "</td>"; echo "<td>" . toImage('label') . "</td>"; echo "<td>" . toImage('label_id') . "</td>"; echo "<td>" . toImage('show') . "</td>"; echo "<td>" . toImage('position') . "</td>"; echo "<td>" . toImage('show_detail') . "</td>"; echo "<td>" . toImage('detail_position') . "</td>"; echo "<td>" . toImage('mandatory') . "</td>"; echo "<td>" . toImage('edit') . "</td>"; echo "<td>" . toImage('html') . "</td>"; echo "<td>" . toImage('auth') . "</td>"; echo "<td>" . toImage('operator') . "</td>"; echo "</tr>"; $cnt = 0; while ($row = db_fetch_array($res)) { echo "<tr>"; echo "<td><input type='text' size='1' name='f_id" . $cnt . "' value='" . $row["f_id"] . "' readonly></td>"; echo "<td>" . $row["element_name"] . "<br>"; if ($row["element_type"]) { echo "<div style='font-size:10'>(" . $row["element_type"] . ")</div>"; } echo "</td>"; echo "<td><input name='f_geom' type='radio' value='" . $row["f_id"] . "' "; if ($row["f_geom"] == 1) { echo " checked"; } echo "></td>";
echo "<td>ID</td>"; echo "<td>" . toImage('Parent') . "</td>"; echo "<td>Name</td>"; echo "<td>Title</td>"; echo "<td>" . toImage('on/off') . "</td>"; echo "<td>" . toImage('sel') . "</td>"; echo "<td>" . toImage('sel_default') . "</td>"; echo "<td>" . toImage('info') . "</td>"; echo "<td>" . toImage('info_default') . "</td>"; echo "<td>" . toImage('minScale 1:') . "</td>"; echo "<td>" . toImage('maxScale 1:') . "</td>"; echo "<td>" . toImage('Style') . "</td>"; echo "<td>" . toImage('Prio') . "</td>"; echo "<td>" . toImage('setWFS') . "</td>"; if ($wms_supportsld[0]) { echo "<td>" . toImage('SLD') . "</td>"; } echo "</tr>"; #echo "<tr><td>Nr.</td><td>ID</td><td>Parent</td><td>Name</td><td>Title</td><td>on/off</td><td>sel</td><td>sel_default</td><td>info</td><td>info_default</td><td>minScale 1:</td><td>maxScale 1:</td><td>Prio</td><td>setWFS</td></tr>"; echo "<tr><td></td><td></td><td></td><td></td><td></td><td>"; echo "<input type='button' class='LButton' value='Sublayer\noff' onclick='setSubs()'>"; echo "</td><td></td><td>"; echo "<nobr><input type='button' class='button_on_off' value='off' onclick='setLayer(\"visible\",false)'> "; echo "<input type='button' class='button_on_off' value='on' onclick='setLayer(\"visible\",true)'></nobr>"; echo "</td><td></td><td>"; echo "<nobr><input type='button' class='button_on_off' value='off' onclick='setLayer(\"querylayer\",false)'> "; echo "<input type='button' class='button_on_off' value='on' onclick='setLayer(\"querylayer\",true)'></nobr>"; echo "</td><td></td><td></td><td></td></tr>"; for ($i = 0; $i < count($layer_id); $i++) { #layer_styles $sql_styles = "SELECT * FROM layer_style WHERE fkey_layer_id = \$1";