html template
authorxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Sun, 4 May 2008 11:33:16 +0000 (11:33 +0000)
committerxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Sun, 4 May 2008 11:33:16 +0000 (11:33 +0000)
git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@88 251d49ef-1d17-4917-a970-b30cf55b089b

prometheus.c

index 8fc385d27b6be2c6697385edf1eb8bc1c328f45f..35b3eb2da013d61418444bf6549b43c79f606bda 100644 (file)
@@ -745,11 +745,11 @@ void parse_ip_log(int argc, char **argv)
  f=fopen(str,"w");\r
  if(f)\r
  {\r
-  fprintf(f,"<table border><tr><th colspan=\"4\">Data transfers - %s %s</th><th align=\"right\">Min.speed</th></tr>\n ",month,year);\r
+  fprintf(f,"<table border><tr><th colspan=\"2\">%s %s</th><th colspan=\"2\">Data transfers</th><th align=\"right\">Min.speed</th></tr>\n ",month,year);\r
   every(iplog,iplogs)\r
    if(iplog->traffic)\r
    {\r
-    fprintf(f,"<tr><td align=\"right\">%d</td><th align=\"left\">%s</td><td align=\"right\">%ld MB</td><th align=\"right\">%ld GB</th><th align=\"right\">%ld kbps</th></tr>\n",\r
+    fprintf(f,"<tr><td align=\"right\">%d</td><th align=\"left\">%s</td><td align=\"right\">%ld MB</td><th align=\"right\">%ld GB</th><td align=\"right\">%ld kbps</th></tr>\n",\r
               i++, iplog->name, iplog->traffic, iplog->traffic>>10, iplog->guaranted);\r
     total+=iplog->traffic>>10;\r
    }\r
This page took 0.150931 seconds and 4 git commands to generate.