new sort function; should sorrt correctly for solos,etc
[e-DoKo.git] / index.php
index cd404b3e7da1bef925975977fe9f39d47c75e944..ef047be0f0983f169174417b78b240a810ca9d07 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,6 +1,9 @@
 <?php
 error_reporting(E_ALL);
 
+global $REV;
+$REV  ="\$Rev$";
+
 include_once("config.php");      
 include_once("output.php");      /* html output only */
 include_once("db.php");          /* database only */
@@ -664,7 +667,7 @@ else if(myisset("me"))
          }
        
        $mycards = DB_get_hand($me);
-       sort($mycards);
+       mysort($mycards,$gametype);
        echo "<div class=\"mycards\">\n";
        
        if($myturn && !myisset("card"))