Update ordering info.
authorshort <>
Sun, 7 Mar 2004 18:51:02 +0000 (18:51 +0000)
committershort <>
Sun, 7 Mar 2004 18:51:02 +0000 (18:51 +0000)
index.php
objednavka.js

index 2a09efa..001d4a1 100644 (file)
--- a/index.php
+++ b/index.php
@@ -72,13 +72,11 @@ function tab_price($product)
 
        $price_a=price_a();
        print(""
-                       ."<tr class=\"tab-bold\">".tab_left("phys_2003")
-                               ."<td>pøedplatné na rok 2003 za cenu ".tab_price("phys_2003")."</td></tr>\n"
-                       ."<tr class=\"tab-bold\">".tab_left("phys_2002")
-                               ."<td>pøedplatné na rok 2002 za cenu ".tab_price("phys_2002")."</td></tr>\n"
+                       ."<tr class=\"tab-bold\">".tab_left("phys_2004")
+                               ."<td>pøedplatné na rok 2004 za cenu ".tab_price("phys_2004")."</td></tr>\n"
                        );
        foreach (price_a() as $product => $price) {
-               if ($product=="phys_2002" || $product=="phys_2003")
+               if ($product=="phys_2004")
                        continue;
                if (!(ereg("^(cd|phys)_([0-9]+)$",$product,$matched)))
                        continue;
index 3fbe414..76e0943 100644 (file)
@@ -1,10 +1,11 @@
 // $Id$
 // <-see common.php:/if (!($s=trim($s)))/
 var want_price=new Array();
+want_price['phys_2004']=480;
 want_price['phys_2003']=480;
 want_price['phys_2002']=480;
-want_price['phys_2001']=360;
-want_price['phys_2000']=150;
+want_price[  'cd_2003']=480;
+want_price[  'cd_2002']=480;
 want_price[  'cd_2001']=280;
 want_price[  'cd_2000']=280;
 want_price[  'cd_1999']=280;