Author: nextgens
Date: 2006-08-16 23:27:13 +0000 (Wed, 16 Aug 2006)
New Revision: 10149

Modified:
   trunk/website/.htaccess
   trunk/website/index.php
Log:
website: it doesn't work, I dunno why

Modified: trunk/website/.htaccess
===================================================================
--- trunk/website/.htaccess     2006-08-16 23:02:12 UTC (rev 10148)
+++ trunk/website/.htaccess     2006-08-16 23:27:13 UTC (rev 10149)
@@ -1,4 +1,4 @@
 RewriteEngine on
 RewriteCond %{REQUEST_FILENAME} !-f
-RewriteRule ^(.+)\.html /index.php?page=$1
-RewriteRule ^(.+)\.html/(.+) /index.php?page=$1&mode=$2
+RewriteRule ^(.+)\.html$ /index.php?page=$1
+RewriteRule ^(.+)\.html?mode=(.+)$ /index.php?page=$1&mode=$2

Modified: trunk/website/index.php
===================================================================
--- trunk/website/index.php     2006-08-16 23:02:12 UTC (rev 10148)
+++ trunk/website/index.php     2006-08-16 23:27:13 UTC (rev 10149)
@@ -80,7 +80,7 @@
        <td height="20" align="right" valign="bottom" 
background="image/hdr_bg_short.gif"><?
        foreach($modes as $m => $k) {
                if(!$k) {
-                       echo "<a href=\"/".$page.".html/".$m."\" 
onMouseOver=\"rollOn('";
+                       echo "<a href=\"/index.php?".$page."&mode=".$m."\" 
onMouseOver=\"rollOn('";
                        echo $m."s');\" onMouseOut=\"rollOff('".$m."s');\"><img 
border=0 name=".$m;
                        echo "s alt=".$m."s src=\"image/".$m."s.gif\"></a>";
                }


Reply via email to