CLEANUP: merged normal css file and the one for mobile phones into one file
[e-DoKo.git] / include / output.php
index 03319915b867b88b1a7b733075802215fdbb9db2..42f40856ad35ec1240b07a6b74b0206baaa2d1f0 100644 (file)
@@ -378,47 +378,13 @@ function output_header()
      <meta charset="utf-8" />
      <link rel="shortcut icon" href="pics/edoko-favicon.png" />
      <link rel="stylesheet" href="css/normalize.css?v=1" />
-     <link rel="stylesheet" href="css/standard.css?v=34" />
-     <link rel="stylesheet" media="screen and (max-width: 600px)" href="css/narrow.css?v=2" />
+     <link rel="stylesheet" href="css/standard.css?v=36" />
      <link rel="stylesheet" href="css/dateinput.css?v=1"/>
      <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/jquery.tools.min.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();
-               });
-
-             $("ul.loginregister").click(function () {
-                 $(".dologin").slideToggle();
-                 $(".doregister").slideToggle();
-               });
-
-           });
      </script>
   </head>
 <body onload="high_last();">
@@ -449,9 +415,7 @@ function output_footer()
     "  <img alt=\"Green Web Hosting! This site hosted by DreamHost.\"".
     " src=\"pics/green1.gif\" height=\"32\" width=\"100\" /></a>\n".
     "  </p> \n";
-  echo "\n";
-  echo "</footer>\n";
-
+  echo "</footer>\n\n";
   echo "</body>\n";
   echo "</html>\n";
 
@@ -488,9 +452,9 @@ function output_status()
       echo " | <a href=\"".$WIKI."\">"._('wiki/bugs')."</a>\n";
       echo " | <a href=\"".$RSS."?uid=".$myid."&amp;token=".$token."\">"._('atom')."</a>\n";
       echo " |&nbsp;&nbsp;&nbsp; <a href=\"".$INDEX."?action=logout\">"._('logout')."</a>\n";
-      echo "</div>\n";
+      echo "</div>\n\n";
 
-      echo "<div class=\"lastlogin\"><span>"._('last login').": ".date("r",$unixtime)."</span></div>\n";
+      echo "<div class=\"lastlogin\"><span>"._('last login').": ".date("r",$unixtime)."</span></div>\n\n";
     }
   return;
 }
@@ -598,10 +562,10 @@ function output_user_notes($userid,$gameid,$userstatus)
   echo "<div class=\"notes\"> "._('Personal notes').": <br />\n";
   $notes = DB_get_notes_by_userid_and_gameid($userid,$gameid);
   foreach($notes as $note)
-    echo "$note <hr />\n";
+    echo "  $note <hr />\n";
   if($userstatus!='gameover')
-    echo "<input name=\"note\" type=\"text\" size=\"15\" maxlength=\"100\" />\n";
-  echo "</div> \n";
+    echo "  <input name=\"note\" type=\"text\" size=\"15\" maxlength=\"100\" />\n";
+  echo "</div>\n\n";
 
   return;
 }