From e916ef7038d58b2a8b9ae8949cbb8a1c639f3f52 Mon Sep 17 00:00:00 2001
From: lace <>
Date: Wed, 7 Jan 2009 12:50:52 +0000
Subject: [PATCH] New pricelist, +2009.
---
index.php | 6 +++---
objednavka.js | 9 +++++----
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/index.php b/index.php
index 0586a7c..6a32982 100644
--- a/index.php
+++ b/index.php
@@ -65,11 +65,11 @@ function tab_price($product)
$price_a=price_a();
print(""
- ."
".tab_left("phys_2008")
- ."pøedplatné na rok 2008 za cenu ".tab_price("phys_2008")." |
\n"
+ ."".tab_left("phys_2009")
+ ."pøedplatné na rok 2009 za cenu ".tab_price("phys_2009")." |
\n"
);
foreach (price_a() as $product => $price) {
- if ($product=="phys_2008")
+ if ($product=="phys_2009")
continue;
if (!(ereg("^(cd|phys)_([0-9]+)$",$product,$matched)))
continue;
diff --git a/objednavka.js b/objednavka.js
index 963c08e..ea6f579 100644
--- a/objednavka.js
+++ b/objednavka.js
@@ -1,10 +1,11 @@
// $Id$
// <-see common.php:/if (!($s=trim($s)))/
var want_price=new Array();
-want_price['phys_2008']=550;
-want_price['phys_2007']=480;
-want_price[ 'cd_2007']=480;
-want_price[ 'cd_2006']=480;
+want_price['phys_2009']=550;
+want_price['phys_2008']=480;
+want_price[ 'cd_2008']=480;
+want_price[ 'cd_2007']=280;
+want_price[ 'cd_2006']=280;
want_price[ 'cd_2005']=280;
want_price[ 'cd_2004']=280;
want_price[ 'cd_2003']=280;
--
1.8.3.1