added an About page
authorArun Persaud <arun@nubati.net>
Tue, 27 Apr 2010 06:35:41 +0000 (23:35 -0700)
committerArun Persaud <arun@nubati.net>
Tue, 27 Apr 2010 06:44:21 +0000 (23:44 -0700)
css/standard026.css [moved from css/standard025.css with 96% similarity]
include/about.php [new file with mode: 0644]
include/output.php

similarity index 96%
rename from css/standard025.css
rename to css/standard026.css
index 5a5d22f0bb5f32071dd8b1a0cb725b7cce5f0fce..7f9d145abdb9d4fdaf59d719c6e2bf78c7d8d8b2 100644 (file)
@@ -707,3 +707,38 @@ div.table div img.gravatar, img.gravatar  {
 .highcall {
     background-color: #fc3;
 }
+
+.about {
+    margin-left: 20%;
+    margin-right: 20%;
+    padding-top: 10%;
+}
+
+.about ul {
+    margin-left: 2em;
+}
+
+.about div {
+    width:12em;
+    height: 6em;
+    margin: 2em;
+    padding: 1em;
+    float:left;
+    border: 1px solid black;
+}
+
+.about .code {
+    background-color: #729fcf;
+}
+.about .database {
+    background-color: #8ae234;
+}
+.about .graphics {
+    background-color: #e9b96e;
+}
+.about .translation {
+    background-color: #fce94f;
+}
+
+
+
diff --git a/include/about.php b/include/about.php
new file mode 100644 (file)
index 0000000..bcf7760
--- /dev/null
@@ -0,0 +1,67 @@
+<?php
+/* Copyright 2010 Arun Persaud <arun@nubati.net>
+ *
+ *   This file is part of e-DoKo.
+ *
+ *   e-DoKo is free software: you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published by
+ *   the Free Software Foundation, either version 3 of the License, or
+ *   (at your option) any later version.
+ *
+ *   e-DoKo is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with e-DoKo.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+/* make sure that we are not called from outside the scripts,
+ * use a variable defined in config.php to check this
+ */
+if(!isset($HOST))
+  exit;
+
+echo '
+<div class="about">
+
+<div class="code">
+<h3>Coding</h3>
+ <ul>
+    <li> Arun Persaud </li>
+    <li> Sean Brennan </li>
+ </ul>
+</div>
+
+<div class="database">
+<h3>Database support</h3>
+ <ul>
+    <li> Arun Persaud </li>
+    <li> Jeff Zerger</li>
+ </ul>
+</div>
+
+<div class="graphics">
+<h3> Graphics </h3>
+ <ul>
+    <li> Lance Thornton </li>
+    <li> Frances Allen </li>
+    <li> Arun Persaud  </li>
+ </ul>
+</div>
+
+<div class="translation">
+<h3>Translation</h3>
+ <ul>
+  <li> German
+    <ul>
+      <li> Arun Persaud </li>
+    </ul>
+  </li>
+ </ul>
+</div>
+</div>
+'
+?>
index 88cbf6b18d376c76a59594d37a35ab3f54e0e228..729452aceed350db79d4e78e45d987e139fe274b 100644 (file)
@@ -376,7 +376,7 @@ function output_header()
      <title>e-Doko</title>
      <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />
      <link rel="shortcut icon" type="image/x-icon" href="pics/edoko-favicon.png" />
-     <link rel="stylesheet" type="text/css" href="css/standard025.css" />
+     <link rel="stylesheet" type="text/css" href="css/standard026.css" />
      <script type="text/javascript" src="include/game.js"> </script>
      <script type="text/javascript" src="include/jquery.js"> </script>
      <script type="text/javascript" src="include/jquery.tablesorter.js"></script>
@@ -414,11 +414,11 @@ function output_header()
 
 function output_footer()
 {
-  global $REV,$PREF;
+  global $REV, $PREF, $INDEX;
 
   echo "</div>\n\n";
   echo "<div class=\"footer\">\n";
-  echo "  <p class=\"left\"> copyright 2006,2007,2008,2009,2010 Arun Persaud, <a href=\"$INDEX?action=about\">et al.</a> <br />\n".
+  echo "  <p class=\"left\"> copyright 2006,2007,2008,2009,2010 <a href=\"$INDEX?action=about\">Arun Persaud, et al.</a> <br />\n".
     "  Verwendung der [deutschen] Kartenbilder mit Genehmigung <br />der Spielkartenfabrik Altenburg GmbH,(c) ASS Altenburger <br />\n".
     "  - ASS Altenburger Spielkarten - Spielkartenfabrik Altenburg GmbH <br />\n".
     "  a Carta Mundi Company Email: info@spielkarten.com Internet: www.spielkarten.com</p>\n";