improved jquery on user home page
[e-DoKo.git] / include / output.php
index 03e6ced7072028c0cc118ec384e99372b8ac5bdf..13bc6f78afe7f7b7e20df445f8f25ec1ab2ebfb2 100644 (file)
@@ -376,14 +376,39 @@ 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/standard024.css" />
-     <script type="text/javascript" src="include/game.js"> </script>
+     <link rel="stylesheet" type="text/css" href="css/standard027.css" />
      <script type="text/javascript" src="include/jquery.js"> </script>
      <script type="text/javascript" src="include/jquery.tablesorter.js"></script>
+     <script type="text/javascript" src="include/game.js"> </script>
      <script type="text/javascript">
         $(document).ready(function()
           {
               $("#ScoreTable").tablesorter({ widgets: ['zebra']});
+
+             $(".gameshidesession").click( function () {
+                 $(this).parent().children(".gamessession").hide(300);
+                 $(this).parent().children(".gamesshowsession").show();
+                 $(this).hide();
+               });
+
+             $(".gamesshowsession").click( function () {
+                 $(this).parent().children(".gamessession").show(300);
+                 $(this).parent().children(".gameshidesession").show();
+                 $(this).hide();
+               });
+
+             $(".gameshowall").click( function () {
+                 $(".gamessession").show(300);
+                 $(".gamesshowsession").hide();
+                 $(".gameshidesession").show();
+               });
+             $(".gamehideall").click( function () {
+                 $(".gamessession").hide(300);
+                 $(".gamesshowsession").show();
+                 $(".gameshidesession").hide();
+               });
+
+
            });
      </script>
   </head>
@@ -401,11 +426,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, Lance Thornton(graphics),  Jeff Zerger(database support) <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";