/[projects]/android/TrainInfoService/src/dk/thoerup/traininfoservice/DumpResultSet.java
ViewVC logotype

Diff of /android/TrainInfoService/src/dk/thoerup/traininfoservice/DumpResultSet.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 376 by torben, Fri Sep 11 08:02:33 2009 UTC revision 377 by torben, Thu Oct 1 08:21:09 2009 UTC
# Line 96  public class DumpResultSet extends HttpS Line 96  public class DumpResultSet extends HttpS
96                                                  "'<a href=\"http://www.bane.dk/visStation.asp?ArtikelID=4275&W=FJRN&S=' || stationcode_fjrn  || '\">Bane.dk Fjern</a>' as banedk1, " +                                                  "'<a href=\"http://www.bane.dk/visStation.asp?ArtikelID=4275&W=FJRN&S=' || stationcode_fjrn  || '\">Bane.dk Fjern</a>' as banedk1, " +
97                                                  "'<a href=\"http://www.bane.dk/visStation.asp?ArtikelID=4275&W=S2&S=' || stationcode_stog  || '\">Bane.dk stog</a>' as banedk2 " +                                                  "'<a href=\"http://www.bane.dk/visStation.asp?ArtikelID=4275&W=S2&S=' || stationcode_stog  || '\">Bane.dk stog</a>' as banedk2 " +
98                                                  "FROM trainstations ORDER BY id");                                                  "FROM trainstations ORDER BY id");
99                            } else if (dump.equals("disabled")) {
100                                    res = dumpResultset("SELECT * FROM trainstations WHERE enabled = false ORDER BY id");
101                          }                          }
102                  }                  }
103                  if (res == null) {                  if (res == null) {
104                          res = "<a href=DumpResultSet?dump=all>All</a><br><a href=DumpResultSet?dump=allfull>All with links</a><br><a href=DumpResultSet?dump=coords>Missing coords</a><br><a href=DumpResultSet?dump=duplicate>Duplicate stations</a>";                          res = "<a href=DumpResultSet?dump=all>All</a><br><a href=DumpResultSet?dump=allfull>All with links</a><br><a href=DumpResultSet?dump=coords>Missing coords</a><br><a href=DumpResultSet?dump=duplicate>Duplicate stations</a><br><a href=DumpResultSet?dump=disabled>Disabled stations</a>";
105                  }                  }
106                                    
107                  resp.setContentType("text/html");                  resp.setContentType("text/html");

Legend:
Removed from v.376  
changed lines
  Added in v.377

  ViewVC Help
Powered by ViewVC 1.1.20