]> ruin.nu Git - ndwebbie.git/commitdiff
Initial commit with the new structure for git
authorMichael Andreen <harv@ruin.nu>
Fri, 31 Aug 2007 10:00:19 +0000 (12:00 +0200)
committerMichael Andreen <harv@ruin.nu>
Fri, 31 Aug 2007 10:00:19 +0000 (12:00 +0200)
26 files changed:
ND.pm
ND/.gitignore [new file with mode: 0644]
apache-conf.conf
default.css [deleted file]
htdocs/default.css [new file with mode: 0644]
htdocs/images/down.png [new file with mode: 0644]
htdocs/images/stay.png [new file with mode: 0644]
htdocs/images/up.png [new file with mode: 0644]
htdocs/raid.js [new file with mode: 0644]
htdocs/stylesheets/black.css [new file with mode: 0644]
htdocs/stylesheets/echoke.css [new file with mode: 0644]
htdocs/stylesheets/grey.css [new file with mode: 0644]
htdocs/stylesheets/hedgie.css [new file with mode: 0644]
htdocs/stylesheets/hedgie.jpg [new file with mode: 0644]
htdocs/stylesheets/thrackan.css [new file with mode: 0644]
images/down.png [deleted file]
images/stay.png [deleted file]
images/up.png [deleted file]
raid.js [deleted file]
startup.pl
stylesheets/black.css [deleted file]
stylesheets/echoke.css [deleted file]
stylesheets/grey.css [deleted file]
stylesheets/hedgie.css [deleted file]
stylesheets/hedgie.jpg [deleted file]
stylesheets/thrackan.css [deleted file]

diff --git a/ND.pm b/ND.pm
index be254037764266f4872e6ded97a63e4f8809d406..3912c1cebda22f9b5f9b8dc45adc403438209075 100755 (executable)
--- a/ND.pm
+++ b/ND.pm
@@ -32,7 +32,7 @@ use warnings;
 
 $SIG{__WARN__} = sub {$ND::ERROR .= p $_[0]};
 
-chdir '/var/www/ndawn/code';
+chdir '/var/www/ndawn';
 
 sub handler {
        my $r = shift;
diff --git a/ND/.gitignore b/ND/.gitignore
new file mode 100644 (file)
index 0000000..808a82d
--- /dev/null
@@ -0,0 +1 @@
+DB.pm
index 9a2bdaf03162b9d8d7d137e9dda8f8b2a386a046..c7b4d68125f4fd01a75f9cefba92610ad4d4c47c 100644 (file)
        Deny from all  
     </Location>
 
-       PerlSwitches -T -I/var/www/ndawn/code/
-       PerlRequire /var/www/ndawn/code/startup.pl
+       PerlSwitches -T -I/var/www/ndawn/
+       PerlRequire /var/www/ndawn/startup.pl
        <Location ~ "^/((\w+\.(pl|php|pm))|[^.]*)$">
                SetHandler perl-script
                PerlResponseHandler ND
diff --git a/default.css b/default.css
deleted file mode 100644 (file)
index c6ec1d8..0000000
+++ /dev/null
@@ -1,226 +0,0 @@
-body,html {
-       color: black;
-       background-color: #D9D9D9;
-       font-family: sans-serif;
-}
-#body {
-       padding-left: 15em;
-       /*padding-right: 12em;*/
-}
-#leftbar,#rightbar{
-       padding: 0;
-       margin: 0;
-       position: absolute;
-       width: 14em;
-       top: 1em;
-}
-#leftbar{
-       left: 1em;
-}
-#rightbar{
-       right: 1em;
-}
-
-legend {
-       color: black;
-       background: white;
-       border-style: solid;
-       border-width: 1px;
-       padding: 1px;
-}
-table.boards td {
-       /*border-style: solid;
-       border-width: 1px;*/
-       padding: 2px;
-       border-collapse: separate;
-       border-spacing: 15pt;
-       font-size: larger;
-}
-table.boards td.sticky {
-       font-weight: bold;
-}
-table.boards{
-       border-collapse: separate;
-       border-spacing: 5px;
-}
-table.boards th {
-       font-size: larger;
-}
-
-table.boards a, table.stats a {
-       text-decoration: none;
-       width: 100%;
-       display: block;
-}
-fieldset.forum-post {
-       clear: both;
-       width: 40em;
-       padding: 5px;
-}
-fieldset.forum-post legend b {
-       font-size: larger;
-}
-div.leftinfo{
-       float: left;
-       padding-right: 2em;
-}
-
-fieldset {
-       display: block;
-       clear: left;
-}
-p.claimlinks{
-       clear: both;
-}
-
-ul.linkbar {
-       list-style-type: none;
-       width: 13.5em;
-       padding: 0;
-       margin: 0;
-}
-ul.linkbar li {
-       background: white;
-       color: black;
-       margin: 0.5em 0;
-       padding: 0.3em;
-       /*border-right: 1em solid black;*/
-}
-ul.linkbar a {
-       text-decoration: none;
-       width: 100%;
-       display: block;
-}
-input.coordsinput {
-       width: 4em;
-}
-input.small {
-       width: 1.7em;
-}
-tr.odd {
-       background: white;
-       color: black;
-}
-tr.total {
-       background: black;
-       color: red;
-}
-
-td.ingal{
-       background: blue;
-       color: black;
-}
-td.Defend{
-       background: green;
-       color: black;
-}
-td.AllyDef{
-       background: #00FF00;
-       color: black;
-}
-td.Attack{
-       background: red;
-       color: black;
-}
-
-a.Unclaim{
-       color: green;
-}
-input.Unclaim{
-       background: green;
-}
-a.Claim{
-       color: blue;
-}
-a.Join{
-       color: #00AAAA;
-}
-input.Join{
-       background: #00AAAA;
-}
-
-td.Friendly{
-       background: green;
-       color: black;
-}
-td.Friendly a{
-       color: yellow;
-       background: green;
-}
-td.Hostile{
-       background: red;
-       color: black;
-}
-td.NAP{
-       background: blue;
-       color: white;
-}
-td.NAP a{
-       color: yellow;
-       background: blue;
-}
-table.old{
-       border: outset 1pt;
-       border-collapse: separate;
-       border-color: red;
-}
-
-table.closedPlanet{
-       border: outset 2pt;
-       border-collapse: separate;
-       border-color: red;
-}
-li.bash{
-       color: #FF9933;
-}
-div.clear {
-       clear: both;
-       height: 0;
-       margin: 0;
-       padding: 0;
-       line-height: 0.0;
-       font-size: 1px;
-}
-
-table.stats tr td{
-       padding-left: 0.5em;
-}
-
-td.LowestPrio{
-       background: red;
-       color: black;
-}
-td.MediumPrio{
-       background: yellow;
-       color: black;
-}
-td.MediumPrio a{
-       background: yellow;
-       color: black;
-}
-td.HighestPrio{
-       background: green;
-       color: black;
-}
-span.newposts,span.unreadposts {
-       font-weight: bold;
-}
-span.newposts {
-       color: red;
-}
-
-div.bbcode-quote,div.bbcode-code {
-       border: solid;
-       border-width: 1px;
-       MARGIN: 5px 15px 15px 15px; PADDING: 8px;
-       line-height: 1.4;
-}
-div.bbcode-quote-head,div.bbcode-code-head {
-       font-weight: bold;
-}
-
-fieldset.incluster {
-       border: solid;
-       border-width: 2px;
-       border-color: red;
-}
diff --git a/htdocs/default.css b/htdocs/default.css
new file mode 100644 (file)
index 0000000..c6ec1d8
--- /dev/null
@@ -0,0 +1,226 @@
+body,html {
+       color: black;
+       background-color: #D9D9D9;
+       font-family: sans-serif;
+}
+#body {
+       padding-left: 15em;
+       /*padding-right: 12em;*/
+}
+#leftbar,#rightbar{
+       padding: 0;
+       margin: 0;
+       position: absolute;
+       width: 14em;
+       top: 1em;
+}
+#leftbar{
+       left: 1em;
+}
+#rightbar{
+       right: 1em;
+}
+
+legend {
+       color: black;
+       background: white;
+       border-style: solid;
+       border-width: 1px;
+       padding: 1px;
+}
+table.boards td {
+       /*border-style: solid;
+       border-width: 1px;*/
+       padding: 2px;
+       border-collapse: separate;
+       border-spacing: 15pt;
+       font-size: larger;
+}
+table.boards td.sticky {
+       font-weight: bold;
+}
+table.boards{
+       border-collapse: separate;
+       border-spacing: 5px;
+}
+table.boards th {
+       font-size: larger;
+}
+
+table.boards a, table.stats a {
+       text-decoration: none;
+       width: 100%;
+       display: block;
+}
+fieldset.forum-post {
+       clear: both;
+       width: 40em;
+       padding: 5px;
+}
+fieldset.forum-post legend b {
+       font-size: larger;
+}
+div.leftinfo{
+       float: left;
+       padding-right: 2em;
+}
+
+fieldset {
+       display: block;
+       clear: left;
+}
+p.claimlinks{
+       clear: both;
+}
+
+ul.linkbar {
+       list-style-type: none;
+       width: 13.5em;
+       padding: 0;
+       margin: 0;
+}
+ul.linkbar li {
+       background: white;
+       color: black;
+       margin: 0.5em 0;
+       padding: 0.3em;
+       /*border-right: 1em solid black;*/
+}
+ul.linkbar a {
+       text-decoration: none;
+       width: 100%;
+       display: block;
+}
+input.coordsinput {
+       width: 4em;
+}
+input.small {
+       width: 1.7em;
+}
+tr.odd {
+       background: white;
+       color: black;
+}
+tr.total {
+       background: black;
+       color: red;
+}
+
+td.ingal{
+       background: blue;
+       color: black;
+}
+td.Defend{
+       background: green;
+       color: black;
+}
+td.AllyDef{
+       background: #00FF00;
+       color: black;
+}
+td.Attack{
+       background: red;
+       color: black;
+}
+
+a.Unclaim{
+       color: green;
+}
+input.Unclaim{
+       background: green;
+}
+a.Claim{
+       color: blue;
+}
+a.Join{
+       color: #00AAAA;
+}
+input.Join{
+       background: #00AAAA;
+}
+
+td.Friendly{
+       background: green;
+       color: black;
+}
+td.Friendly a{
+       color: yellow;
+       background: green;
+}
+td.Hostile{
+       background: red;
+       color: black;
+}
+td.NAP{
+       background: blue;
+       color: white;
+}
+td.NAP a{
+       color: yellow;
+       background: blue;
+}
+table.old{
+       border: outset 1pt;
+       border-collapse: separate;
+       border-color: red;
+}
+
+table.closedPlanet{
+       border: outset 2pt;
+       border-collapse: separate;
+       border-color: red;
+}
+li.bash{
+       color: #FF9933;
+}
+div.clear {
+       clear: both;
+       height: 0;
+       margin: 0;
+       padding: 0;
+       line-height: 0.0;
+       font-size: 1px;
+}
+
+table.stats tr td{
+       padding-left: 0.5em;
+}
+
+td.LowestPrio{
+       background: red;
+       color: black;
+}
+td.MediumPrio{
+       background: yellow;
+       color: black;
+}
+td.MediumPrio a{
+       background: yellow;
+       color: black;
+}
+td.HighestPrio{
+       background: green;
+       color: black;
+}
+span.newposts,span.unreadposts {
+       font-weight: bold;
+}
+span.newposts {
+       color: red;
+}
+
+div.bbcode-quote,div.bbcode-code {
+       border: solid;
+       border-width: 1px;
+       MARGIN: 5px 15px 15px 15px; PADDING: 8px;
+       line-height: 1.4;
+}
+div.bbcode-quote-head,div.bbcode-code-head {
+       font-weight: bold;
+}
+
+fieldset.incluster {
+       border: solid;
+       border-width: 2px;
+       border-color: red;
+}
diff --git a/htdocs/images/down.png b/htdocs/images/down.png
new file mode 100644 (file)
index 0000000..69663f9
Binary files /dev/null and b/htdocs/images/down.png differ
diff --git a/htdocs/images/stay.png b/htdocs/images/stay.png
new file mode 100644 (file)
index 0000000..e428243
Binary files /dev/null and b/htdocs/images/stay.png differ
diff --git a/htdocs/images/up.png b/htdocs/images/up.png
new file mode 100644 (file)
index 0000000..698a42a
Binary files /dev/null and b/htdocs/images/up.png differ
diff --git a/htdocs/raid.js b/htdocs/raid.js
new file mode 100644 (file)
index 0000000..8bec240
--- /dev/null
@@ -0,0 +1,158 @@
+function getHTTPObject() {
+  var xmlhttp;
+  /*@cc_on
+  @if (@_jscript_version >= 5)
+    try {
+      xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
+    } catch (e) {
+      try {
+        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
+      } catch (E) {
+        xmlhttp = false;
+      }
+    }
+  @else
+  xmlhttp = false;
+  @end @*/
+
+  if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
+    try {
+      xmlhttp = new XMLHttpRequest();
+    } catch (e) {
+      xmlhttp = false;
+    }
+  }
+  return xmlhttp;
+}
+
+var modified = '_';
+
+function claim(dataSource, target, wave,cmd){
+       var HTTP = getHTTPObject();
+       if(HTTP) {
+               var url = dataSource + '&cmd='+cmd+'&target=' + target + '&wave=' + wave + '&rand='+ Math.random();
+               //obj.innerHTML = "test";
+               HTTP.open("GET", url,true);
+               HTTP.onreadystatechange = function(){
+                       if (HTTP.readyState == 4 &&
+                                       HTTP.status == 200) {
+                               updateClaims(dataSource,HTTP.responseXML,false);
+                               var obj = document.getElementById("targets");
+                               if (obj){
+                                       clearObject(obj);
+                                       var re = new RegExp("targetlist>((.|\\n)*)</targetlist");
+                                       if(re.test(HTTP.responseText))
+                                               obj.innerHTML = RegExp.$1;
+                               }
+                       }
+               }
+               HTTP.send(null);
+       }
+}
+
+function clearObject(obj){
+       while (obj.hasChildNodes()){
+               obj.removeChild(obj.firstChild);
+       }
+}
+
+function listTargets(dataSource){
+       var http = getHTTPObject();
+       http.open("GET",dataSource+'&cmd=gettargets' + '&rand='+ Math.random(),true);
+       http.onreadystatechange = function(){
+               if (http.readyState == 4 &&
+                               http.status == 200) {
+                       var obj = document.getElementById("targets");
+                       if (obj){
+                               clearObject(obj);
+                               var re = new RegExp("targetlist>((.|\\n)*)</targetlist");
+                               if(re.test(http.responseText))
+                                       obj.innerHTML = RegExp.$1;
+                       }
+               }
+       }
+       http.send(null);
+}
+
+function update(dataSource){
+       var HTTP = getHTTPObject();
+       if(HTTP) {
+               HTTP.open("GET",dataSource+"&cmd=update&from="+modified + '&rand='+ Math.random(),true);
+               HTTP.onreadystatechange = function(){
+                       if (HTTP.readyState == 4 &&
+                                       HTTP.status == 200) {
+                               updateClaims(dataSource,HTTP.responseXML,true);
+                       }
+               }
+               HTTP.send(null);
+       }
+}
+
+function updateClaims(dataSource,xmlthingy,timestamp){
+       var targets = xmlthingy.getElementsByTagName("target");
+       for (var i = 0; i < targets.length; i++){
+               var target = targets[i].attributes.getNamedItem("id").nodeValue;
+               var obj = document.getElementById("claim"+target);
+               if (!obj)
+                       continue;
+               //obj.innerHTML = '';
+               clearObject(obj);
+               var waves = targets[i].getElementsByTagName("wave");;
+               for (var j = 0; j < waves.length; j++){
+                       var command = waves[j].getElementsByTagName("command")[0];
+                       var claimers = waves[j].getElementsByTagName("claimers")[0];
+                       var joinable = waves[j].getElementsByTagName("joinable")[0];
+                       var wave = waves[j].attributes.getNamedItem("id").nodeValue;
+                       command = command.firstChild.nodeValue;
+                       if(claimers.firstChild){
+                               claimers = '('+claimers.firstChild.nodeValue+')';
+                       }else
+                               claimers = '';
+                       joinable = joinable.firstChild.nodeValue;
+
+                       if (command == 'none'){
+                               var s = document.createElement("b");
+                               s.appendChild(document.createTextNode("Claimed by "+claimers));
+                               obj.appendChild(s);
+                       }else{
+                               var b = document.createElement("input");
+                               b.type = 'button';
+                               b.setAttribute("class", command);
+                               b.value = command +' wave '+wave+' '+claimers;
+                               b.setAttribute("onclick", "claim('"+dataSource+"',"+target+","+wave+",'"+command+"');");
+                               /*b.onclick = function(){
+                                       claim(dataSource,t,wave,command);
+                               }*/
+                               obj.appendChild(b);
+                       }
+                       if (command == 'Unclaim'){
+                               var b = document.createElement("input");
+                               b.type = 'button';
+                               b.value = 'J';
+                               b.title = 'Make target joinable';
+                               command = 'set&joinable=TRUE';
+                               if (joinable == 1){
+                                       b.value = 'N';
+                                       b.title = 'Disable join';
+                                       command = 'set&joinable=FALSE';
+                               }
+                               b.setAttribute("onclick", "claim('"+dataSource+"',"+target+","+wave+",'"+command+"');");
+                               obj.appendChild(b);
+                       }
+                       /*@cc_on
+                       obj.innerHTML = obj.innerHTML; // IE doesn't understand unless you tell it twice
+                       @*/
+               }
+               /*
+               obj = document.getElementById("coords"+target);
+               var coords = targets[i].getElementsByTagName("coords");;
+               if (obj)
+                       obj.innerHTML = coords[0].firstChild.nodeValue;
+               */
+       }
+       if (timestamp){
+               timestamp = xmlthingy.getElementsByTagName("timestamp");
+               if (timestamp)
+                       modified = timestamp[0].firstChild.nodeValue;
+       }
+}
diff --git a/htdocs/stylesheets/black.css b/htdocs/stylesheets/black.css
new file mode 100644 (file)
index 0000000..aa8951f
--- /dev/null
@@ -0,0 +1,119 @@
+body,html,table,div {
+       font-family: sans-serif;
+       font-size: 11px;
+       color: #B2B2B2;
+       background-color: black;
+}
+
+textarea, input{
+       font-size: 11px;
+}
+
+a {
+       color: white;
+       text-decoration:underline;
+}
+a:hover, td.NAP a:hover {
+       color: black;
+       background: white;
+}
+
+input,textarea,select {
+       color: black;
+       background: #B2B2B2;
+}
+
+img.graph {
+       background: gray;
+}
+
+td.sticky {
+       font-weight: bold;
+}
+
+
+legend {
+       color: black;
+       background: gray;
+}
+
+ul.linkbar li {
+       background: gray;
+       color: black;
+       margin: 0.5em 0;
+       padding: 0.3em;
+       /*border-right: 1em solid black;*/
+}
+
+
+tr.even {
+       background: #B2B2B2;
+       color: black;
+}
+tr.odd {
+       background: gray;
+       color: black;
+}
+tr.total {
+       background: black;
+       color: red;
+}
+
+td.ingal{
+       background: blue;
+       color: black;
+}
+td.Defend{
+       background: green;
+       color: black;
+}
+td.AllyDef{
+       background: #00FF00;
+       color: black;
+}
+td.Attack{
+       background: red;
+       color: black;
+}
+
+a.Unclaim{
+       color: green;
+}
+input.Unclaim{
+       background: green;
+}
+a.Claim{
+       color: blue;
+}
+a.Join{
+       color: #00AAAA;
+}
+input.Join{
+       background: #00AAAA;
+}
+
+td.Friendly{
+       background: green;
+       color: black;
+}
+td.Friendly a{
+       color: yellow;
+       background: green;
+}
+td.Hostile{
+       background: red;
+       color: black;
+}
+
+td.LowestPrio{
+       background: red;
+       color: black;
+}
+td.MediumPrio{
+       background: yellow;
+       color: black;
+}
+td.HighestPrio{
+       background: green;
+       color: black;
+}
diff --git a/htdocs/stylesheets/echoke.css b/htdocs/stylesheets/echoke.css
new file mode 100644 (file)
index 0000000..5ffc16b
--- /dev/null
@@ -0,0 +1,231 @@
+body,html
+{ 
+       font-size: medium; 
+       color: gray; 
+       font-family: Arial; 
+       background-color: #f5f5f5; 
+} 
+#leftbar, #rightbar 
+{ 
+       padding-right: 0px; 
+       padding-left: 0px; 
+       font-weight: bold; 
+       padding-bottom: 0px; 
+       margin: 0px; 
+       width: 14em; 
+       color: olive; 
+       padding-top: 0px; 
+       position: absolute; 
+       top: 1em; 
+} 
+#leftbar{ 
+       left: 1em; 
+} 
+#rightbar{ 
+       right: 1em; 
+} 
+
+legend {
+       color: black; 
+       background: white; 
+       border-style: solid; 
+       border-width: 1px; 
+       padding: 1px; 
+} 
+table.boards td 
+{ 
+       border-right: #990000 thin solid; 
+       padding-right: 2px; 
+       border-top: #990000 thin solid; 
+       padding-left: 2px; 
+       font-size: larger; 
+       padding-bottom: 2px; 
+       border-left: #990000 thin solid; 
+       padding-top: 2px; 
+       border-bottom: #990000 thin solid; 
+       border-collapse: separate; 
+       border-spacing: 15pt; 
+} 
+table.boards{ 
+       border-collapse: separate; 
+       border-spacing: 5px; 
+} 
+table.boards th 
+{ 
+       font-weight: bold; 
+       font-size: larger; 
+       color: #990000; 
+} 
+table.boards tr.even { 
+       background: white; 
+} 
+
+table.boards a { 
+       text-decoration: none; 
+       width: 100%; 
+       display: block; 
+} 
+fieldset.forum-post { 
+       width: 40em; 
+} 
+fieldset.forum-post legend b { 
+       font-size: larger; 
+} 
+div.leftinfo{ 
+       float: left; 
+       padding-right: 2em; 
+} 
+p.claimlinks{ 
+       clear: both; 
+} 
+
+ul.linkbar 
+{ 
+       padding-right: 0px; 
+       padding-left: 0px; 
+       padding-bottom: 0px; 
+       margin: 0px; 
+       width: 13.5em; 
+       color: #000033; 
+       padding-top: 0px; 
+} 
+ul.linkbar li { 
+       background: white; 
+       color: black; 
+       margin: 0.5em 0; 
+       padding: 0.3em; 
+       /*border-right: 1em solid black;*/ 
+} 
+ul.linkbar a { 
+       text-decoration: none; 
+       width: 100%; 
+       display: block; 
+} 
+input.coordsinput { 
+       width: 4em; 
+} 
+input.small { 
+       width: 1.7em; 
+} 
+tr.odd { 
+       background: white; 
+       color: black; 
+} 
+tr.total { 
+       background: black; 
+       color: red; 
+} 
+
+td.ingal{ 
+       background: blue; 
+       color: black; 
+} 
+td.Defend{ 
+       background: green; 
+       color: black; 
+} 
+td.AllyDef 
+{ 
+       background: #ccff00; 
+       color: black; 
+} 
+td.Attack 
+{ 
+       background: tomato; 
+       color: black; 
+} 
+
+a.Unclaim{ 
+       color: #336666; 
+} 
+input.Unclaim{ 
+       background: #336666; 
+} 
+a.Claim{ 
+       color: blue; 
+} 
+a.Join{ 
+       color: #00AAAA; 
+} 
+input.Join{ 
+       background: #00AAAA; 
+} 
+
+td.Friendly 
+{ 
+       font-weight: bold; 
+       background: #ccff00; 
+       color: darkolivegreen; 
+} 
+td.Friendly a 
+{ 
+       font-weight: bold; 
+       font-size: larger; 
+       background: #ccff00; 
+       color: white; 
+} 
+td.Hostile 
+{ 
+       font-weight: bold; 
+       background: tomato; 
+       color: black; 
+} 
+td.NAP 
+{ 
+       background: turquoise; 
+       color: white; 
+} 
+td.NAP a 
+{ 
+       font-weight: bold; 
+       font-size: larger; 
+       color: white; 
+       background: turquoise; 
+} 
+table.old{ 
+       border: outset 1pt; 
+       border-collapse: separate; 
+       border-color: red; 
+} 
+
+table.closedPlanet 
+{ 
+       border-right: maroon 2pt outset; 
+       border-top: maroon 2pt outset; 
+       border-left: maroon 2pt outset; 
+       border-bottom: maroon 2pt outset; 
+       border-collapse: separate; 
+} 
+li.bash 
+{ 
+       color: #336666; 
+} 
+div.clear { 
+       clear: both; 
+       height: 0; 
+       margin: 0; 
+       padding: 0; 
+       line-height: 0.0; 
+       font-size: 1px; 
+} 
+
+td.LowestPrio{ 
+       background: tomato; 
+       color: white; 
+} 
+td.MediumPrio 
+{ 
+       background: #b3b169; 
+       color: white; 
+} 
+td.HighestPrio 
+{ 
+       background: #336666; 
+       color: white; 
+}
+span.newposts,span.unreadposts {
+       font-weight: bold;
+}
+span.newposts {
+       color: red;
+}
diff --git a/htdocs/stylesheets/grey.css b/htdocs/stylesheets/grey.css
new file mode 100644 (file)
index 0000000..9a7562d
--- /dev/null
@@ -0,0 +1,178 @@
+body {
+       font-family: sans-serif;
+       color: black;
+       background-color: #D9D9D9;
+}
+
+legend {
+       color: black;
+       background: white;
+       border-style: solid;
+       border-width: 1px;
+       padding: 1px;
+}
+table.boards td {
+       /*border-style: solid;
+       border-width: 1px;*/
+       padding: 2px;
+       border-collapse: separate;
+       border-spacing: 15pt;
+       font-size: larger;
+}
+table.boards{
+       border-collapse: separate;
+       border-spacing: 5px;
+}
+table.boards th {
+       font-size: larger;
+}
+table.boards tr.even {
+       background: white;
+}
+
+table.boards a {
+       text-decoration: none;
+       width: 100%;
+       display: block;
+}
+fieldset.forum-post {
+       width: 40em;
+}
+fieldset.forum-post legend b {
+       font-size: larger;
+}
+div.leftinfo{
+       float: left;
+       padding-right: 2em;
+}
+p.claimlinks{
+       clear: both;
+}
+
+ul.linkbar {
+       list-style-type: none;
+       width: 13.5em;
+       padding: 0;
+       margin: 0;
+}
+ul.linkbar li {
+       background: white;
+       color: black;
+       margin: 0.5em 0;
+       padding: 0.3em;
+       /*border-right: 1em solid black;*/
+}
+ul.linkbar a {
+       text-decoration: none;
+       width: 100%;
+       display: block;
+}
+input.coordsinput {
+       width: 4em;
+}
+input.small {
+       width: 1.7em;
+}
+tr.odd {
+       background: white;
+       color: black;
+}
+tr.total {
+       background: black;
+       color: red;
+}
+
+td.ingal{
+       background: blue;
+       color: black;
+}
+td.Defend{
+       background: green;
+       color: black;
+}
+td.AllyDef{
+       background: #00FF00;
+       color: black;
+}
+td.Attack{
+       background: red;
+       color: black;
+}
+
+a.Unclaim{
+       color: green;
+}
+input.Unclaim{
+       background: green;
+}
+a.Claim{
+       color: blue;
+}
+a.Join{
+       color: #00AAAA;
+}
+input.Join{
+       background: #00AAAA;
+}
+
+td.Friendly{
+       background: green;
+       color: black;
+}
+td.Friendly a{
+       color: yellow;
+       background: green;
+}
+td.Hostile{
+       background: red;
+       color: black;
+}
+td.NAP{
+       background: blue;
+       color: white;
+}
+td.NAP a{
+       color: yellow;
+       background: blue;
+}
+table.old{
+       border: outset 1pt;
+       border-collapse: separate;
+       border-color: red;
+}
+
+table.closedPlanet{
+       border: outset 2pt;
+       border-collapse: separate;
+       border-color: red;
+}
+li.bash{
+       color: #FF9933;
+}
+div.clear {
+       clear: both;
+       height: 0;
+       margin: 0;
+       padding: 0;
+       line-height: 0.0;
+       font-size: 1px;
+}
+
+td.LowestPrio{
+       background: red;
+       color: black;
+}
+td.MediumPrio{
+       background: yellow;
+       color: black;
+}
+td.HighestPrio{
+       background: green;
+       color: black;
+}
+span.newposts,span.unreadposts {
+       font-weight: bold;
+}
+span.newposts {
+       color: red;
+}
diff --git a/htdocs/stylesheets/hedgie.css b/htdocs/stylesheets/hedgie.css
new file mode 100644 (file)
index 0000000..bc24793
--- /dev/null
@@ -0,0 +1,10 @@
+@import "black.css";
+.backgrounds { Code Generated by Backgrounds Archive }
+table, tr, td { background-color: transparent; border: none; border-width: 0; }
+html,body {
+       background-image: url('hedgie.jpg');
+       background-attachment: scrolling;
+       background-repeat: repeat;
+       color: white;
+}
+
diff --git a/htdocs/stylesheets/hedgie.jpg b/htdocs/stylesheets/hedgie.jpg
new file mode 100644 (file)
index 0000000..e796dae
Binary files /dev/null and b/htdocs/stylesheets/hedgie.jpg differ
diff --git a/htdocs/stylesheets/thrackan.css b/htdocs/stylesheets/thrackan.css
new file mode 100644 (file)
index 0000000..94a950d
--- /dev/null
@@ -0,0 +1,58 @@
+body,html {
+       color: white;
+       background-color: black;
+       font-family: sans-serif;
+        font-size: 10px;
+}
+input, textarea {
+       font-size: 10px;
+       background: #003333;
+       color: white;
+}
+a:link, a:hover, a:visited {
+       color: white;
+       text-decoration: none;
+}
+legend {
+       color: white;
+       background: #660000;
+       border-style: solid;
+       border-width: 1px;
+       border-color: white;
+       padding: 1px;
+}
+table.boards td {
+       /*border-style: solid;
+       border-width: 1px;*/
+       border-color: white;
+       padding: 2px;
+       border-collapse: separate;
+       border-spacing: 15pt;
+       font-size: 10px;
+}
+table.boards th {
+       font-size: 10px;
+}
+fieldset.forum-post legend b {
+       font-size: 10px;
+}
+ul.linkbar li {
+       background: #000044;
+       color: white;
+       margin: 0.5em 0;
+       padding: 0.3em;
+       border: 1px solid white;
+       /*border-right: 1em solid black;*/
+}
+tr.odd {
+       background: #660000;
+       color: white;
+}
+table.old{
+       border: outset 1pt;
+       border-collapse: separate;
+       border-color: grey;
+}
+img.graph{
+       background: #999999;
+}
diff --git a/images/down.png b/images/down.png
deleted file mode 100644 (file)
index 69663f9..0000000
Binary files a/images/down.png and /dev/null differ
diff --git a/images/stay.png b/images/stay.png
deleted file mode 100644 (file)
index e428243..0000000
Binary files a/images/stay.png and /dev/null differ
diff --git a/images/up.png b/images/up.png
deleted file mode 100644 (file)
index 698a42a..0000000
Binary files a/images/up.png and /dev/null differ
diff --git a/raid.js b/raid.js
deleted file mode 100644 (file)
index 8bec240..0000000
--- a/raid.js
+++ /dev/null
@@ -1,158 +0,0 @@
-function getHTTPObject() {
-  var xmlhttp;
-  /*@cc_on
-  @if (@_jscript_version >= 5)
-    try {
-      xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
-    } catch (e) {
-      try {
-        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
-      } catch (E) {
-        xmlhttp = false;
-      }
-    }
-  @else
-  xmlhttp = false;
-  @end @*/
-
-  if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
-    try {
-      xmlhttp = new XMLHttpRequest();
-    } catch (e) {
-      xmlhttp = false;
-    }
-  }
-  return xmlhttp;
-}
-
-var modified = '_';
-
-function claim(dataSource, target, wave,cmd){
-       var HTTP = getHTTPObject();
-       if(HTTP) {
-               var url = dataSource + '&cmd='+cmd+'&target=' + target + '&wave=' + wave + '&rand='+ Math.random();
-               //obj.innerHTML = "test";
-               HTTP.open("GET", url,true);
-               HTTP.onreadystatechange = function(){
-                       if (HTTP.readyState == 4 &&
-                                       HTTP.status == 200) {
-                               updateClaims(dataSource,HTTP.responseXML,false);
-                               var obj = document.getElementById("targets");
-                               if (obj){
-                                       clearObject(obj);
-                                       var re = new RegExp("targetlist>((.|\\n)*)</targetlist");
-                                       if(re.test(HTTP.responseText))
-                                               obj.innerHTML = RegExp.$1;
-                               }
-                       }
-               }
-               HTTP.send(null);
-       }
-}
-
-function clearObject(obj){
-       while (obj.hasChildNodes()){
-               obj.removeChild(obj.firstChild);
-       }
-}
-
-function listTargets(dataSource){
-       var http = getHTTPObject();
-       http.open("GET",dataSource+'&cmd=gettargets' + '&rand='+ Math.random(),true);
-       http.onreadystatechange = function(){
-               if (http.readyState == 4 &&
-                               http.status == 200) {
-                       var obj = document.getElementById("targets");
-                       if (obj){
-                               clearObject(obj);
-                               var re = new RegExp("targetlist>((.|\\n)*)</targetlist");
-                               if(re.test(http.responseText))
-                                       obj.innerHTML = RegExp.$1;
-                       }
-               }
-       }
-       http.send(null);
-}
-
-function update(dataSource){
-       var HTTP = getHTTPObject();
-       if(HTTP) {
-               HTTP.open("GET",dataSource+"&cmd=update&from="+modified + '&rand='+ Math.random(),true);
-               HTTP.onreadystatechange = function(){
-                       if (HTTP.readyState == 4 &&
-                                       HTTP.status == 200) {
-                               updateClaims(dataSource,HTTP.responseXML,true);
-                       }
-               }
-               HTTP.send(null);
-       }
-}
-
-function updateClaims(dataSource,xmlthingy,timestamp){
-       var targets = xmlthingy.getElementsByTagName("target");
-       for (var i = 0; i < targets.length; i++){
-               var target = targets[i].attributes.getNamedItem("id").nodeValue;
-               var obj = document.getElementById("claim"+target);
-               if (!obj)
-                       continue;
-               //obj.innerHTML = '';
-               clearObject(obj);
-               var waves = targets[i].getElementsByTagName("wave");;
-               for (var j = 0; j < waves.length; j++){
-                       var command = waves[j].getElementsByTagName("command")[0];
-                       var claimers = waves[j].getElementsByTagName("claimers")[0];
-                       var joinable = waves[j].getElementsByTagName("joinable")[0];
-                       var wave = waves[j].attributes.getNamedItem("id").nodeValue;
-                       command = command.firstChild.nodeValue;
-                       if(claimers.firstChild){
-                               claimers = '('+claimers.firstChild.nodeValue+')';
-                       }else
-                               claimers = '';
-                       joinable = joinable.firstChild.nodeValue;
-
-                       if (command == 'none'){
-                               var s = document.createElement("b");
-                               s.appendChild(document.createTextNode("Claimed by "+claimers));
-                               obj.appendChild(s);
-                       }else{
-                               var b = document.createElement("input");
-                               b.type = 'button';
-                               b.setAttribute("class", command);
-                               b.value = command +' wave '+wave+' '+claimers;
-                               b.setAttribute("onclick", "claim('"+dataSource+"',"+target+","+wave+",'"+command+"');");
-                               /*b.onclick = function(){
-                                       claim(dataSource,t,wave,command);
-                               }*/
-                               obj.appendChild(b);
-                       }
-                       if (command == 'Unclaim'){
-                               var b = document.createElement("input");
-                               b.type = 'button';
-                               b.value = 'J';
-                               b.title = 'Make target joinable';
-                               command = 'set&joinable=TRUE';
-                               if (joinable == 1){
-                                       b.value = 'N';
-                                       b.title = 'Disable join';
-                                       command = 'set&joinable=FALSE';
-                               }
-                               b.setAttribute("onclick", "claim('"+dataSource+"',"+target+","+wave+",'"+command+"');");
-                               obj.appendChild(b);
-                       }
-                       /*@cc_on
-                       obj.innerHTML = obj.innerHTML; // IE doesn't understand unless you tell it twice
-                       @*/
-               }
-               /*
-               obj = document.getElementById("coords"+target);
-               var coords = targets[i].getElementsByTagName("coords");;
-               if (obj)
-                       obj.innerHTML = coords[0].firstChild.nodeValue;
-               */
-       }
-       if (timestamp){
-               timestamp = xmlthingy.getElementsByTagName("timestamp");
-               if (timestamp)
-                       modified = timestamp[0].firstChild.nodeValue;
-       }
-}
index 52e56ec5bba7b275e12dfcd378d90dd10eb52b6b..19a3590f681cf7b84c007119adaef6494c4085d4 100644 (file)
@@ -1,4 +1,4 @@
-use lib qw(/var/www/ndawn/code/);
+use lib qw(/var/www/ndawn/);
 
 
 use CGI qw/:standard/;
diff --git a/stylesheets/black.css b/stylesheets/black.css
deleted file mode 100644 (file)
index aa8951f..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-body,html,table,div {
-       font-family: sans-serif;
-       font-size: 11px;
-       color: #B2B2B2;
-       background-color: black;
-}
-
-textarea, input{
-       font-size: 11px;
-}
-
-a {
-       color: white;
-       text-decoration:underline;
-}
-a:hover, td.NAP a:hover {
-       color: black;
-       background: white;
-}
-
-input,textarea,select {
-       color: black;
-       background: #B2B2B2;
-}
-
-img.graph {
-       background: gray;
-}
-
-td.sticky {
-       font-weight: bold;
-}
-
-
-legend {
-       color: black;
-       background: gray;
-}
-
-ul.linkbar li {
-       background: gray;
-       color: black;
-       margin: 0.5em 0;
-       padding: 0.3em;
-       /*border-right: 1em solid black;*/
-}
-
-
-tr.even {
-       background: #B2B2B2;
-       color: black;
-}
-tr.odd {
-       background: gray;
-       color: black;
-}
-tr.total {
-       background: black;
-       color: red;
-}
-
-td.ingal{
-       background: blue;
-       color: black;
-}
-td.Defend{
-       background: green;
-       color: black;
-}
-td.AllyDef{
-       background: #00FF00;
-       color: black;
-}
-td.Attack{
-       background: red;
-       color: black;
-}
-
-a.Unclaim{
-       color: green;
-}
-input.Unclaim{
-       background: green;
-}
-a.Claim{
-       color: blue;
-}
-a.Join{
-       color: #00AAAA;
-}
-input.Join{
-       background: #00AAAA;
-}
-
-td.Friendly{
-       background: green;
-       color: black;
-}
-td.Friendly a{
-       color: yellow;
-       background: green;
-}
-td.Hostile{
-       background: red;
-       color: black;
-}
-
-td.LowestPrio{
-       background: red;
-       color: black;
-}
-td.MediumPrio{
-       background: yellow;
-       color: black;
-}
-td.HighestPrio{
-       background: green;
-       color: black;
-}
diff --git a/stylesheets/echoke.css b/stylesheets/echoke.css
deleted file mode 100644 (file)
index 5ffc16b..0000000
+++ /dev/null
@@ -1,231 +0,0 @@
-body,html
-{ 
-       font-size: medium; 
-       color: gray; 
-       font-family: Arial; 
-       background-color: #f5f5f5; 
-} 
-#leftbar, #rightbar 
-{ 
-       padding-right: 0px; 
-       padding-left: 0px; 
-       font-weight: bold; 
-       padding-bottom: 0px; 
-       margin: 0px; 
-       width: 14em; 
-       color: olive; 
-       padding-top: 0px; 
-       position: absolute; 
-       top: 1em; 
-} 
-#leftbar{ 
-       left: 1em; 
-} 
-#rightbar{ 
-       right: 1em; 
-} 
-
-legend {
-       color: black; 
-       background: white; 
-       border-style: solid; 
-       border-width: 1px; 
-       padding: 1px; 
-} 
-table.boards td 
-{ 
-       border-right: #990000 thin solid; 
-       padding-right: 2px; 
-       border-top: #990000 thin solid; 
-       padding-left: 2px; 
-       font-size: larger; 
-       padding-bottom: 2px; 
-       border-left: #990000 thin solid; 
-       padding-top: 2px; 
-       border-bottom: #990000 thin solid; 
-       border-collapse: separate; 
-       border-spacing: 15pt; 
-} 
-table.boards{ 
-       border-collapse: separate; 
-       border-spacing: 5px; 
-} 
-table.boards th 
-{ 
-       font-weight: bold; 
-       font-size: larger; 
-       color: #990000; 
-} 
-table.boards tr.even { 
-       background: white; 
-} 
-
-table.boards a { 
-       text-decoration: none; 
-       width: 100%; 
-       display: block; 
-} 
-fieldset.forum-post { 
-       width: 40em; 
-} 
-fieldset.forum-post legend b { 
-       font-size: larger; 
-} 
-div.leftinfo{ 
-       float: left; 
-       padding-right: 2em; 
-} 
-p.claimlinks{ 
-       clear: both; 
-} 
-
-ul.linkbar 
-{ 
-       padding-right: 0px; 
-       padding-left: 0px; 
-       padding-bottom: 0px; 
-       margin: 0px; 
-       width: 13.5em; 
-       color: #000033; 
-       padding-top: 0px; 
-} 
-ul.linkbar li { 
-       background: white; 
-       color: black; 
-       margin: 0.5em 0; 
-       padding: 0.3em; 
-       /*border-right: 1em solid black;*/ 
-} 
-ul.linkbar a { 
-       text-decoration: none; 
-       width: 100%; 
-       display: block; 
-} 
-input.coordsinput { 
-       width: 4em; 
-} 
-input.small { 
-       width: 1.7em; 
-} 
-tr.odd { 
-       background: white; 
-       color: black; 
-} 
-tr.total { 
-       background: black; 
-       color: red; 
-} 
-
-td.ingal{ 
-       background: blue; 
-       color: black; 
-} 
-td.Defend{ 
-       background: green; 
-       color: black; 
-} 
-td.AllyDef 
-{ 
-       background: #ccff00; 
-       color: black; 
-} 
-td.Attack 
-{ 
-       background: tomato; 
-       color: black; 
-} 
-
-a.Unclaim{ 
-       color: #336666; 
-} 
-input.Unclaim{ 
-       background: #336666; 
-} 
-a.Claim{ 
-       color: blue; 
-} 
-a.Join{ 
-       color: #00AAAA; 
-} 
-input.Join{ 
-       background: #00AAAA; 
-} 
-
-td.Friendly 
-{ 
-       font-weight: bold; 
-       background: #ccff00; 
-       color: darkolivegreen; 
-} 
-td.Friendly a 
-{ 
-       font-weight: bold; 
-       font-size: larger; 
-       background: #ccff00; 
-       color: white; 
-} 
-td.Hostile 
-{ 
-       font-weight: bold; 
-       background: tomato; 
-       color: black; 
-} 
-td.NAP 
-{ 
-       background: turquoise; 
-       color: white; 
-} 
-td.NAP a 
-{ 
-       font-weight: bold; 
-       font-size: larger; 
-       color: white; 
-       background: turquoise; 
-} 
-table.old{ 
-       border: outset 1pt; 
-       border-collapse: separate; 
-       border-color: red; 
-} 
-
-table.closedPlanet 
-{ 
-       border-right: maroon 2pt outset; 
-       border-top: maroon 2pt outset; 
-       border-left: maroon 2pt outset; 
-       border-bottom: maroon 2pt outset; 
-       border-collapse: separate; 
-} 
-li.bash 
-{ 
-       color: #336666; 
-} 
-div.clear { 
-       clear: both; 
-       height: 0; 
-       margin: 0; 
-       padding: 0; 
-       line-height: 0.0; 
-       font-size: 1px; 
-} 
-
-td.LowestPrio{ 
-       background: tomato; 
-       color: white; 
-} 
-td.MediumPrio 
-{ 
-       background: #b3b169; 
-       color: white; 
-} 
-td.HighestPrio 
-{ 
-       background: #336666; 
-       color: white; 
-}
-span.newposts,span.unreadposts {
-       font-weight: bold;
-}
-span.newposts {
-       color: red;
-}
diff --git a/stylesheets/grey.css b/stylesheets/grey.css
deleted file mode 100644 (file)
index 9a7562d..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-body {
-       font-family: sans-serif;
-       color: black;
-       background-color: #D9D9D9;
-}
-
-legend {
-       color: black;
-       background: white;
-       border-style: solid;
-       border-width: 1px;
-       padding: 1px;
-}
-table.boards td {
-       /*border-style: solid;
-       border-width: 1px;*/
-       padding: 2px;
-       border-collapse: separate;
-       border-spacing: 15pt;
-       font-size: larger;
-}
-table.boards{
-       border-collapse: separate;
-       border-spacing: 5px;
-}
-table.boards th {
-       font-size: larger;
-}
-table.boards tr.even {
-       background: white;
-}
-
-table.boards a {
-       text-decoration: none;
-       width: 100%;
-       display: block;
-}
-fieldset.forum-post {
-       width: 40em;
-}
-fieldset.forum-post legend b {
-       font-size: larger;
-}
-div.leftinfo{
-       float: left;
-       padding-right: 2em;
-}
-p.claimlinks{
-       clear: both;
-}
-
-ul.linkbar {
-       list-style-type: none;
-       width: 13.5em;
-       padding: 0;
-       margin: 0;
-}
-ul.linkbar li {
-       background: white;
-       color: black;
-       margin: 0.5em 0;
-       padding: 0.3em;
-       /*border-right: 1em solid black;*/
-}
-ul.linkbar a {
-       text-decoration: none;
-       width: 100%;
-       display: block;
-}
-input.coordsinput {
-       width: 4em;
-}
-input.small {
-       width: 1.7em;
-}
-tr.odd {
-       background: white;
-       color: black;
-}
-tr.total {
-       background: black;
-       color: red;
-}
-
-td.ingal{
-       background: blue;
-       color: black;
-}
-td.Defend{
-       background: green;
-       color: black;
-}
-td.AllyDef{
-       background: #00FF00;
-       color: black;
-}
-td.Attack{
-       background: red;
-       color: black;
-}
-
-a.Unclaim{
-       color: green;
-}
-input.Unclaim{
-       background: green;
-}
-a.Claim{
-       color: blue;
-}
-a.Join{
-       color: #00AAAA;
-}
-input.Join{
-       background: #00AAAA;
-}
-
-td.Friendly{
-       background: green;
-       color: black;
-}
-td.Friendly a{
-       color: yellow;
-       background: green;
-}
-td.Hostile{
-       background: red;
-       color: black;
-}
-td.NAP{
-       background: blue;
-       color: white;
-}
-td.NAP a{
-       color: yellow;
-       background: blue;
-}
-table.old{
-       border: outset 1pt;
-       border-collapse: separate;
-       border-color: red;
-}
-
-table.closedPlanet{
-       border: outset 2pt;
-       border-collapse: separate;
-       border-color: red;
-}
-li.bash{
-       color: #FF9933;
-}
-div.clear {
-       clear: both;
-       height: 0;
-       margin: 0;
-       padding: 0;
-       line-height: 0.0;
-       font-size: 1px;
-}
-
-td.LowestPrio{
-       background: red;
-       color: black;
-}
-td.MediumPrio{
-       background: yellow;
-       color: black;
-}
-td.HighestPrio{
-       background: green;
-       color: black;
-}
-span.newposts,span.unreadposts {
-       font-weight: bold;
-}
-span.newposts {
-       color: red;
-}
diff --git a/stylesheets/hedgie.css b/stylesheets/hedgie.css
deleted file mode 100644 (file)
index bc24793..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-@import "black.css";
-.backgrounds { Code Generated by Backgrounds Archive }
-table, tr, td { background-color: transparent; border: none; border-width: 0; }
-html,body {
-       background-image: url('hedgie.jpg');
-       background-attachment: scrolling;
-       background-repeat: repeat;
-       color: white;
-}
-
diff --git a/stylesheets/hedgie.jpg b/stylesheets/hedgie.jpg
deleted file mode 100644 (file)
index e796dae..0000000
Binary files a/stylesheets/hedgie.jpg and /dev/null differ
diff --git a/stylesheets/thrackan.css b/stylesheets/thrackan.css
deleted file mode 100644 (file)
index 94a950d..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-body,html {
-       color: white;
-       background-color: black;
-       font-family: sans-serif;
-        font-size: 10px;
-}
-input, textarea {
-       font-size: 10px;
-       background: #003333;
-       color: white;
-}
-a:link, a:hover, a:visited {
-       color: white;
-       text-decoration: none;
-}
-legend {
-       color: white;
-       background: #660000;
-       border-style: solid;
-       border-width: 1px;
-       border-color: white;
-       padding: 1px;
-}
-table.boards td {
-       /*border-style: solid;
-       border-width: 1px;*/
-       border-color: white;
-       padding: 2px;
-       border-collapse: separate;
-       border-spacing: 15pt;
-       font-size: 10px;
-}
-table.boards th {
-       font-size: 10px;
-}
-fieldset.forum-post legend b {
-       font-size: 10px;
-}
-ul.linkbar li {
-       background: #000044;
-       color: white;
-       margin: 0.5em 0;
-       padding: 0.3em;
-       border: 1px solid white;
-       /*border-right: 1em solid black;*/
-}
-tr.odd {
-       background: #660000;
-       color: white;
-}
-table.old{
-       border: outset 1pt;
-       border-collapse: separate;
-       border-color: grey;
-}
-img.graph{
-       background: #999999;
-}