</tr></table><br/> <?php } // if(!$hide_others) $conn->close(); ?> </td> </tr> <tr> <td> <form name="fdefault" method="get" action="view.php"> <input type="hidden" name="map" value="<?php echo $_GET['map']; ?> "/> <input type="hidden" name="default" value="1"/> <input type="submit" value="<?php echo _("Set as Default"); ?> " class="button"/> </form> </td> </tr> </table> <?php print_indicators($map); ?> </body> </html>
echo $map; ?> ')" class="lbutton"/> </td> </tr> </table> </td> </tr> <tr><td id="tdnuevo"></td></tr> </table> <?php // *************** Print Indicators DIVs (print_inputs = true) ****************** print_indicators($map, true, 0); $conn->close(); $uploaded_dir = "pixmaps/uploaded/"; $uploaded_link = "pixmaps/uploaded/"; $icons = explode("\n", `ls -1 '{$uploaded_dir}'`); print "<div style=\"display:none;\">"; $i = 0; foreach ($icons as $ico) { if (!$ico) { continue; } if (is_dir($uploaded_dir . "/" . $ico) || !getimagesize($uploaded_dir . "/" . $ico)) { continue; } print "<a href=\"{$uploaded_link}/{$ico}\" id=\"custom-{$i}\" rel=\"lytebox[custom]\" title=\"<a href='javascript:choose_icon("{$uploaded_link}/{$ico}");'>" . htmlspecialchars(_("Choose this one")) . ".</a>\">custom</a>"; $i++;