Mon, 11 Mar 2019 16:37:57 +0100
Corrected mature days count.
10
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
1 | <?php |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
2 | /***************************************************************************** |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
3 | * Copyright (C) 2014-2018 |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
4 | * |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
5 | * Michiel Broek <mbroek at mbse dot eu> |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
6 | * |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
7 | * This file is part of Brewery Management System |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
8 | * |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
9 | * This is free software; you can redistribute it and/or modify it |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
10 | * under the terms of the GNU General Public License as published by the |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
11 | * Free Software Foundation; either version 2, or (at your option) any |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
12 | * later version. |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
13 | * |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
14 | * BrewCloud is distributed in the hope that it will be useful, but |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
15 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
17 | * General Public License for more details. |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
18 | * |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
19 | * You should have received a copy of the GNU General Public License |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
20 | * along with ThermFerm; see the file COPYING. If not, write to the Free |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
21 | * Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
22 | *****************************************************************************/ |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
23 | |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
24 | /* |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
25 | * Look for the style names in the jqwidgets/styles directory. |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
26 | */ |
30
f5ab22446aa5
Inventory fermentables and hops to standard weight format.
Michiel Broek <mbroek@mbse.eu>
parents:
23
diff
changeset
|
27 | //$my_style = 'ui-darkness'; |
f5ab22446aa5
Inventory fermentables and hops to standard weight format.
Michiel Broek <mbroek@mbse.eu>
parents:
23
diff
changeset
|
28 | $my_style = 'ui-mbse'; |
10
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
29 | |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
30 | require_once($_SERVER['DOCUMENT_ROOT'].'/config.php'); |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
31 | require_once($_SERVER['DOCUMENT_ROOT'].'/version.php'); |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
32 | |
68 | 33 | if (isset($_GET['record'])) |
34 | $my_record = $_GET['record']; | |
35 | else | |
36 | $my_record = -1; | |
180
a5aa3502310c
Updated README. Getfermenter and getnode scripts return 0 and 1 instead of false and true for boolean values. Global variable my_uuid added. Moved the javascript out of mon_fermenter.php. Added log chart view button in the fermenter monitor.
Michiel Broek <mbroek@mbse.eu>
parents:
172
diff
changeset
|
37 | if (isset($_GET['uuid'])) |
a5aa3502310c
Updated README. Getfermenter and getnode scripts return 0 and 1 instead of false and true for boolean values. Global variable my_uuid added. Moved the javascript out of mon_fermenter.php. Added log chart view button in the fermenter monitor.
Michiel Broek <mbroek@mbse.eu>
parents:
172
diff
changeset
|
38 | $my_uuid = $_GET['uuid']; |
a5aa3502310c
Updated README. Getfermenter and getnode scripts return 0 and 1 instead of false and true for boolean values. Global variable my_uuid added. Moved the javascript out of mon_fermenter.php. Added log chart view button in the fermenter monitor.
Michiel Broek <mbroek@mbse.eu>
parents:
172
diff
changeset
|
39 | else |
a5aa3502310c
Updated README. Getfermenter and getnode scripts return 0 and 1 instead of false and true for boolean values. Global variable my_uuid added. Moved the javascript out of mon_fermenter.php. Added log chart view button in the fermenter monitor.
Michiel Broek <mbroek@mbse.eu>
parents:
172
diff
changeset
|
40 | $my_uuid = ''; |
68 | 41 | if (isset($_GET['return'])) |
42 | $my_return = $_GET['return']; | |
43 | else | |
44 | $my_return = ''; | |
172
684c651dd165
Added fermentation graph screen
Michiel Broek <mbroek@mbse.eu>
parents:
167
diff
changeset
|
45 | if (isset($_GET['code'])) |
684c651dd165
Added fermentation graph screen
Michiel Broek <mbroek@mbse.eu>
parents:
167
diff
changeset
|
46 | $my_code = $_GET['code']; |
684c651dd165
Added fermentation graph screen
Michiel Broek <mbroek@mbse.eu>
parents:
167
diff
changeset
|
47 | else |
684c651dd165
Added fermentation graph screen
Michiel Broek <mbroek@mbse.eu>
parents:
167
diff
changeset
|
48 | $my_code = ''; |
684c651dd165
Added fermentation graph screen
Michiel Broek <mbroek@mbse.eu>
parents:
167
diff
changeset
|
49 | if (isset($_GET['name'])) |
684c651dd165
Added fermentation graph screen
Michiel Broek <mbroek@mbse.eu>
parents:
167
diff
changeset
|
50 | $my_name = $_GET['name']; |
684c651dd165
Added fermentation graph screen
Michiel Broek <mbroek@mbse.eu>
parents:
167
diff
changeset
|
51 | else |
684c651dd165
Added fermentation graph screen
Michiel Broek <mbroek@mbse.eu>
parents:
167
diff
changeset
|
52 | $my_name = ''; |
302
d0f7b4ab000f
Added product export screen with choices to export to beerxml, duplicate product or copy to recipe. Products in wait state can now be deleted.
Michiel Broek <mbroek@mbse.eu>
parents:
297
diff
changeset
|
53 | if (isset($_GET['select'])) |
d0f7b4ab000f
Added product export screen with choices to export to beerxml, duplicate product or copy to recipe. Products in wait state can now be deleted.
Michiel Broek <mbroek@mbse.eu>
parents:
297
diff
changeset
|
54 | $my_select = $_GET['select']; |
d0f7b4ab000f
Added product export screen with choices to export to beerxml, duplicate product or copy to recipe. Products in wait state can now be deleted.
Michiel Broek <mbroek@mbse.eu>
parents:
297
diff
changeset
|
55 | else |
d0f7b4ab000f
Added product export screen with choices to export to beerxml, duplicate product or copy to recipe. Products in wait state can now be deleted.
Michiel Broek <mbroek@mbse.eu>
parents:
297
diff
changeset
|
56 | $my_select = ''; |
10
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
57 | |
100
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
58 | $escapers = array("\\", "/", "\"", "\n", "\r", "\t", "\x08", "\x0c"); |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
59 | $replacements = array("\\\\", "\\/", "\\\"", "\\n", "\\r", "\\t", "\\f", "\\b"); |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
60 | |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
61 | /* Load setup record */ |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
62 | #Connect to the database |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
63 | $connect = mysqli_connect(DBASE_HOST, DBASE_USER, DBASE_PASS, DBASE_NAME); |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
64 | if (! $connect) { |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
65 | die('Connect Error (' . mysqli_connect_errno() . ') ' . mysqli_connect_error()); |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
66 | } |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
67 | mysqli_set_charset($connect, "utf8" ); |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
68 | $my_default_water = $my_brewery_name = $my_ibu_method = $my_color_method = ''; |
289
4082c41f45e9
Added the use and calculation of wet hops. Assume 5.5 times more hops needed by weight.
Michiel Broek <mbroek@mbse.eu>
parents:
231
diff
changeset
|
69 | $my_factor_mashhop = $my_factor_fwh = $my_factor_pellet = $my_factor_plug = $my_factor_wethop = 0; |
100
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
70 | $my_brix_correction = $my_grain_absorbtion = 1.0; |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
71 | |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
72 | $result = mysqli_query($connect, "SELECT * FROM profile_setup WHERE record='1'") or die("SQL Error 1: " . mysqli_error($connect)); |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
73 | if ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) { |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
74 | /* search water name */ |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
75 | $wresult = mysqli_query($connect, "SELECT name FROM inventory_waters WHERE record='".$row['default_water']."';"); |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
76 | if ($wrow = mysqli_fetch_array($wresult, MYSQLI_ASSOC)) |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
77 | $my_default_water = str_replace($escapers, $replacements, $wrow['name']); |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
78 | $my_brewery_name = str_replace($escapers, $replacements, $row['brewery_name']); |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
79 | $my_factor_mashhop = floatval($row['factor_mashhop']); |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
80 | $my_factor_fwh= floatval($row['factor_fwh']); |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
81 | $my_factor_pellet= floatval($row['factor_pellet']); |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
82 | $my_factor_plug= floatval($row['factor_plug']); |
289
4082c41f45e9
Added the use and calculation of wet hops. Assume 5.5 times more hops needed by weight.
Michiel Broek <mbroek@mbse.eu>
parents:
231
diff
changeset
|
83 | $my_factor_wethop = floatval($row['factor_wethop']); |
4082c41f45e9
Added the use and calculation of wet hops. Assume 5.5 times more hops needed by weight.
Michiel Broek <mbroek@mbse.eu>
parents:
231
diff
changeset
|
84 | $my_ibu_method = $row['ibu_method']; |
4082c41f45e9
Added the use and calculation of wet hops. Assume 5.5 times more hops needed by weight.
Michiel Broek <mbroek@mbse.eu>
parents:
231
diff
changeset
|
85 | $my_color_method = $row['color_method']; |
100
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
86 | $my_brix_correction = floatval($row['brix_correction']); |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
87 | $my_grain_absorbtion = floatval($row['grain_absorbtion']); |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
88 | } |
172
684c651dd165
Added fermentation graph screen
Michiel Broek <mbroek@mbse.eu>
parents:
167
diff
changeset
|
89 | |
100
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
90 | |
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
91 | |
10
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
92 | function page_header($title, $loadjs) { |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
93 | global $my_style; |
11 | 94 | global $my_version; |
68 | 95 | global $my_record; |
180
a5aa3502310c
Updated README. Getfermenter and getnode scripts return 0 and 1 instead of false and true for boolean values. Global variable my_uuid added. Moved the javascript out of mon_fermenter.php. Added log chart view button in the fermenter monitor.
Michiel Broek <mbroek@mbse.eu>
parents:
172
diff
changeset
|
96 | global $my_uuid; |
68 | 97 | global $my_return; |
172
684c651dd165
Added fermentation graph screen
Michiel Broek <mbroek@mbse.eu>
parents:
167
diff
changeset
|
98 | global $my_name; |
684c651dd165
Added fermentation graph screen
Michiel Broek <mbroek@mbse.eu>
parents:
167
diff
changeset
|
99 | global $my_code; |
302
d0f7b4ab000f
Added product export screen with choices to export to beerxml, duplicate product or copy to recipe. Products in wait state can now be deleted.
Michiel Broek <mbroek@mbse.eu>
parents:
297
diff
changeset
|
100 | global $my_select; |
100
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
101 | global $my_brewery_name; |
101
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
102 | global $my_factor_mashhop; |
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
103 | global $my_factor_fwh; |
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
104 | global $my_factor_pellet; |
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
105 | global $my_factor_plug; |
289
4082c41f45e9
Added the use and calculation of wet hops. Assume 5.5 times more hops needed by weight.
Michiel Broek <mbroek@mbse.eu>
parents:
231
diff
changeset
|
106 | global $my_factor_wethop; |
101
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
107 | global $my_ibu_method; |
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
108 | global $my_color_method; |
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
109 | global $my_brix_correction; |
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
110 | global $my_grain_absorbtion; |
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
111 | global $my_default_water; |
11 | 112 | ?> |
113 | <!DOCTYPE html> | |
114 | <html lang=nl-NL> | |
115 | <head> | |
116 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
117 | <title>BMS v<?php echo $my_version;?> - <?php echo $title;?></title> | |
118 | <link type="text/css" href="css/style.css" rel="stylesheet" media="all" /> | |
119 | <link type="text/css" href="jqwidgets/styles/jqx.base.css" rel="stylesheet" /> | |
120 | <link type="text/css" href="jqwidgets/styles/jqx.<?php echo $my_style; ?>.css" rel="stylesheet" /> | |
121 | <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> | |
122 | <script> | |
123 | var theme = "<?php echo $my_style; ?>"; | |
68 | 124 | var my_record = "<?php echo $my_record; ?>"; |
125 | var my_return = "<?php echo $my_return; ?>"; | |
302
d0f7b4ab000f
Added product export screen with choices to export to beerxml, duplicate product or copy to recipe. Products in wait state can now be deleted.
Michiel Broek <mbroek@mbse.eu>
parents:
297
diff
changeset
|
126 | var my_name = "<?php echo $my_name; ?>"; |
d0f7b4ab000f
Added product export screen with choices to export to beerxml, duplicate product or copy to recipe. Products in wait state can now be deleted.
Michiel Broek <mbroek@mbse.eu>
parents:
297
diff
changeset
|
127 | var my_code = "<?php echo $my_code; ?>"; |
d0f7b4ab000f
Added product export screen with choices to export to beerxml, duplicate product or copy to recipe. Products in wait state can now be deleted.
Michiel Broek <mbroek@mbse.eu>
parents:
297
diff
changeset
|
128 | var my_uuid = "<?php echo $my_uuid; ?>"; |
d0f7b4ab000f
Added product export screen with choices to export to beerxml, duplicate product or copy to recipe. Products in wait state can now be deleted.
Michiel Broek <mbroek@mbse.eu>
parents:
297
diff
changeset
|
129 | var my_select = "<?php echo $my_select; ?>"; |
100
08c92cb740b9
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
Michiel Broek <mbroek@mbse.eu>
parents:
99
diff
changeset
|
130 | var my_brewery_name = "<?php echo $my_brewery_name; ?>"; |
101
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
131 | var my_factor_mashhop = "<?php echo $my_factor_mashhop; ?>"; |
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
132 | var my_factor_fwh = "<?php echo $my_factor_fwh; ?>"; |
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
133 | var my_factor_pellet = "<?php echo $my_factor_pellet; ?>"; |
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
134 | var my_factor_plug = "<?php echo $my_factor_plug; ?>"; |
289
4082c41f45e9
Added the use and calculation of wet hops. Assume 5.5 times more hops needed by weight.
Michiel Broek <mbroek@mbse.eu>
parents:
231
diff
changeset
|
135 | var my_factor_wethop = "<?php echo $my_factor_wethop; ?>"; |
101
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
136 | var my_ibu_method = "<?php echo $my_ibu_method; ?>"; |
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
137 | var my_color_method = "<?php echo $my_color_method; ?>"; |
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
138 | var my_brix_correction = "<?php echo $my_brix_correction; ?>"; |
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
139 | var my_grain_absorbtion = "<?php echo $my_grain_absorbtion; ?>"; |
5b6bb99bc52a
IBU calculations now use the setup values. All setup values are now global available.
Michiel Broek <mbroek@mbse.eu>
parents:
100
diff
changeset
|
140 | var my_default_water = "<?php echo $my_default_water; ?>"; |
11 | 141 | </script> |
142 | <script src="js/jquery-1.11.1.min.js"></script> | |
143 | <script src="jqwidgets/jqxcore.js"></script> | |
144 | <script src="jqwidgets/jqxwindow.js"></script> | |
145 | <script src="jqwidgets/jqxmenu.js"></script> | |
50
6d94167c2697
Next steps to implement a recipe editor
Michiel Broek <mbroek@mbse.eu>
parents:
48
diff
changeset
|
146 | <script src="jqwidgets/jqxtabs.js"></script> |
11 | 147 | <script src="jqwidgets/jqxdata.js"></script> |
39 | 148 | <script src="jqwidgets/jqxdata.export.js"></script> |
129
7f41b61c3faf
Added a loader during recipe load. Recalculate percentages if a fermentable row is deleted. Don't edit amounts if using weight percentages. Update grid percentages if a fermentable amount is changed. Recalculate IBU's after changes with fermentables.
Michiel Broek <mbroek@mbse.eu>
parents:
114
diff
changeset
|
149 | <script src="jqwidgets/jqxloader.js"></script> |
11 | 150 | <script src="jqwidgets/jqxbuttons.js"></script> |
151 | <script src="jqwidgets/jqxscrollbar.js"></script> | |
152 | <script src="jqwidgets/jqxgrid.js"></script> | |
50
6d94167c2697
Next steps to implement a recipe editor
Michiel Broek <mbroek@mbse.eu>
parents:
48
diff
changeset
|
153 | <script src="jqwidgets/jqxgrid.grouping.js"></script> |
39 | 154 | <script src="jqwidgets/jqxgrid.edit.js"></script> |
155 | <script src="jqwidgets/jqxgrid.sort.js"></script> | |
11 | 156 | <script src="jqwidgets/jqxgrid.pager.js"></script> |
157 | <script src="jqwidgets/jqxgrid.filter.js"></script> | |
158 | <script src="jqwidgets/jqxgrid.selection.js"></script> | |
159 | <script src="jqwidgets/jqxnumberinput.js"></script> | |
160 | <script src="jqwidgets/jqxlistbox.js"></script> | |
161 | <script src="jqwidgets/jqxdropdownlist.js"></script> | |
162 | <script src="jqwidgets/jqxdropdownbutton.js"></script> | |
163 | <script src="jqwidgets/jqxinput.js"></script> | |
164 | <script src="jqwidgets/jqxeditor.js"></script> | |
165 | <script src="jqwidgets/jqxtooltip.js"></script> | |
183
a810539dc218
Added cmd_fermenter.php which interfaces http POST commands to MQTT using mosquitto_pub in a shell. Several chnges to the monitor fermenter screen.
Michiel Broek <mbroek@mbse.eu>
parents:
180
diff
changeset
|
166 | <script src="jqwidgets/jqxswitchbutton.js"></script> |
a810539dc218
Added cmd_fermenter.php which interfaces http POST commands to MQTT using mosquitto_pub in a shell. Several chnges to the monitor fermenter screen.
Michiel Broek <mbroek@mbse.eu>
parents:
180
diff
changeset
|
167 | <script src="jqwidgets/jqxradiobutton.js"></script> |
11 | 168 | <script src="jqwidgets/jqxcheckbox.js"></script> |
169 | <script src="jqwidgets/jqxdatetimeinput.js"></script> | |
170 | <script src="jqwidgets/jqxcalendar.js"></script> | |
16 | 171 | <script src="jqwidgets/jqxgauge.js"></script> |
172
684c651dd165
Added fermentation graph screen
Michiel Broek <mbroek@mbse.eu>
parents:
167
diff
changeset
|
172 | <script src="jqwidgets/jqxchart.core.js"></script> |
684c651dd165
Added fermentation graph screen
Michiel Broek <mbroek@mbse.eu>
parents:
167
diff
changeset
|
173 | <script src="jqwidgets/jqxchart.rangeselector.js"></script> |
16 | 174 | <script src="jqwidgets/jqxdraw.js"></script> |
139
eb1ac7487710
Added EBC color examples. Added simple progessbars for hop flavour and aroma contribution. We need something better. In the fermentables tab, above the grid display the malt color and OG estimates. Display supplier as well in the fermentables grid.
Michiel Broek <mbroek@mbse.eu>
parents:
129
diff
changeset
|
175 | <script src="jqwidgets/jqxprogressbar.js"></script> |
297
5e2424bfbc4a
Added import brew json logfiles
Michiel Broek <mbroek@mbse.eu>
parents:
292
diff
changeset
|
176 | <script src="jqwidgets/jqxfileupload.js"></script> |
5e2424bfbc4a
Added import brew json logfiles
Michiel Broek <mbroek@mbse.eu>
parents:
292
diff
changeset
|
177 | <script src="jqwidgets/jqxpanel.js"></script> |
11 | 178 | <script src="jqwidgets/globalization/globalize.js"></script> |
179 | <script src="js/global.js"></script> | |
180 | <?php | |
181 | if (strlen($loadjs)) | |
182 | echo ' <script src="js/'.$loadjs.'.js"></script>'.PHP_EOL; | |
183 | ?> | |
184 | </head> | |
10
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
185 | |
11 | 186 | <body class="default"> |
187 | <div id="jqxWidget"> | |
129
7f41b61c3faf
Added a loader during recipe load. Recalculate percentages if a fermentable row is deleted. Don't edit amounts if using weight percentages. Update grid percentages if a fermentable amount is changed. Recalculate IBU's after changes with fermentables.
Michiel Broek <mbroek@mbse.eu>
parents:
114
diff
changeset
|
188 | <div id="jqxLoader"> |
7f41b61c3faf
Added a loader during recipe load. Recalculate percentages if a fermentable row is deleted. Don't edit amounts if using weight percentages. Update grid percentages if a fermentable amount is changed. Recalculate IBU's after changes with fermentables.
Michiel Broek <mbroek@mbse.eu>
parents:
114
diff
changeset
|
189 | </div> |
10
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
190 | |
11 | 191 | <!-- Menu --> |
192 | <div id="jqxMenu"> | |
193 | <ul> | |
15 | 194 | <li><a href="index.php">Home</a></li> |
11 | 195 | <li>Monitoren |
196 | <ul> | |
15 | 197 | <li>Systemen |
198 | <ul> | |
199 | <?php | |
48
bdd1ec9b9c06
Start recipes import and menus.
Michiel Broek <mbroek@mbse.eu>
parents:
46
diff
changeset
|
200 | $connect = mysqli_connect(DBASE_HOST,DBASE_USER,DBASE_PASS,DBASE_NAME); |
bdd1ec9b9c06
Start recipes import and menus.
Michiel Broek <mbroek@mbse.eu>
parents:
46
diff
changeset
|
201 | $result = mysqli_query($connect, "SELECT uuid,node,online,net_address FROM mon_nodes ORDER BY node"); |
bdd1ec9b9c06
Start recipes import and menus.
Michiel Broek <mbroek@mbse.eu>
parents:
46
diff
changeset
|
202 | while ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) { |
16 | 203 | echo ' <li><a href="mon_node.php?uuid='.$row['uuid'].'">'.$row['node'].'</a></li>'.PHP_EOL; |
15 | 204 | } |
205 | mysqli_free_result($result); | |
206 | ?> | |
207 | </ul> | |
208 | </li> | |
209 | <li>Klimaatkasten | |
210 | <ul> | |
211 | <?php | |
48
bdd1ec9b9c06
Start recipes import and menus.
Michiel Broek <mbroek@mbse.eu>
parents:
46
diff
changeset
|
212 | $result = mysqli_query($connect, "SELECT uuid,node,alias,online,mode FROM mon_fermenters ORDER BY node,alias"); |
bdd1ec9b9c06
Start recipes import and menus.
Michiel Broek <mbroek@mbse.eu>
parents:
46
diff
changeset
|
213 | while ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) { |
16 | 214 | echo ' <li><a href="mon_fermenter.php?uuid='.$row['uuid'].'">'.$row['node'].'/'.$row['alias'].'</a></li>'.PHP_EOL; |
15 | 215 | } |
216 | mysqli_free_result($result); | |
217 | ?> | |
218 | </ul> | |
219 | </li> | |
11 | 220 | </ul> |
221 | </li> | |
45
95251bedfab4
Moved three inventory tables and screens to profiles
Michiel Broek <mbroek@mbse.eu>
parents:
43
diff
changeset
|
222 | <li>Productie |
109
3c334f3ca7f9
Noted some ideas and added some in the menu.
Michiel Broek <mbroek@mbse.eu>
parents:
101
diff
changeset
|
223 | <ul> |
111
8c4ba91adf58
Basic screens for brew products.
Michiel Broek <mbroek@mbse.eu>
parents:
109
diff
changeset
|
224 | <li><a href="prod_inprod.php">In bewerking</a></li> |
167
dabcd35f8f92
Added new brew project wizzard. Moved equipment dropdown to global script. The project birth date is allways read-only, so it can never be changed.
Michiel Broek <mbroek@mbse.eu>
parents:
139
diff
changeset
|
225 | <li><a href="prod_new.php?return=index.php">Start nieuw</a></li> |
109
3c334f3ca7f9
Noted some ideas and added some in the menu.
Michiel Broek <mbroek@mbse.eu>
parents:
101
diff
changeset
|
226 | <li>Archief |
3c334f3ca7f9
Noted some ideas and added some in the menu.
Michiel Broek <mbroek@mbse.eu>
parents:
101
diff
changeset
|
227 | <ul> |
290 | 228 | <li><a href="prod_archive_name.php">Op naam</a></li> |
292
90cd3798edc2
Added archive view on date and code.
Michiel Broek <mbroek@mbse.eu>
parents:
290
diff
changeset
|
229 | <li><a href="prod_archive_code.php">Op code</a></li> |
90cd3798edc2
Added archive view on date and code.
Michiel Broek <mbroek@mbse.eu>
parents:
290
diff
changeset
|
230 | <li><a href="prod_archive_date.php">Op datum</a></li> |
109
3c334f3ca7f9
Noted some ideas and added some in the menu.
Michiel Broek <mbroek@mbse.eu>
parents:
101
diff
changeset
|
231 | </ul> |
3c334f3ca7f9
Noted some ideas and added some in the menu.
Michiel Broek <mbroek@mbse.eu>
parents:
101
diff
changeset
|
232 | </li> |
114
4935e86b2775
Small fixes for prject import from Brouwhulp. Fixes for poduct database read/write. New menu entries. Equipment select in product editor. Started brewday editor. Added conditions on some buttons and edit fields. Screen layout changes.
Michiel Broek <mbroek@mbse.eu>
parents:
111
diff
changeset
|
233 | <li>Import |
4935e86b2775
Small fixes for prject import from Brouwhulp. Fixes for poduct database read/write. New menu entries. Equipment select in product editor. Started brewday editor. Added conditions on some buttons and edit fields. Screen layout changes.
Michiel Broek <mbroek@mbse.eu>
parents:
111
diff
changeset
|
234 | <ul> |
297
5e2424bfbc4a
Added import brew json logfiles
Michiel Broek <mbroek@mbse.eu>
parents:
292
diff
changeset
|
235 | <li><a href="prod_impbrew.php">Brouw log</a></li> |
114
4935e86b2775
Small fixes for prject import from Brouwhulp. Fixes for poduct database read/write. New menu entries. Equipment select in product editor. Started brewday editor. Added conditions on some buttons and edit fields. Screen layout changes.
Michiel Broek <mbroek@mbse.eu>
parents:
111
diff
changeset
|
236 | <li>Etiket</li> |
4935e86b2775
Small fixes for prject import from Brouwhulp. Fixes for poduct database read/write. New menu entries. Equipment select in product editor. Started brewday editor. Added conditions on some buttons and edit fields. Screen layout changes.
Michiel Broek <mbroek@mbse.eu>
parents:
111
diff
changeset
|
237 | </ul> |
4935e86b2775
Small fixes for prject import from Brouwhulp. Fixes for poduct database read/write. New menu entries. Equipment select in product editor. Started brewday editor. Added conditions on some buttons and edit fields. Screen layout changes.
Michiel Broek <mbroek@mbse.eu>
parents:
111
diff
changeset
|
238 | </li> |
109
3c334f3ca7f9
Noted some ideas and added some in the menu.
Michiel Broek <mbroek@mbse.eu>
parents:
101
diff
changeset
|
239 | <li>Kalender</li> |
3c334f3ca7f9
Noted some ideas and added some in the menu.
Michiel Broek <mbroek@mbse.eu>
parents:
101
diff
changeset
|
240 | </ul> |
45
95251bedfab4
Moved three inventory tables and screens to profiles
Michiel Broek <mbroek@mbse.eu>
parents:
43
diff
changeset
|
241 | </li> |
95251bedfab4
Moved three inventory tables and screens to profiles
Michiel Broek <mbroek@mbse.eu>
parents:
43
diff
changeset
|
242 | <li>Recepten |
48
bdd1ec9b9c06
Start recipes import and menus.
Michiel Broek <mbroek@mbse.eu>
parents:
46
diff
changeset
|
243 | <ul> |
67
883e897aad40
Start building the workflow in the scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
52
diff
changeset
|
244 | <li><a href="rec_main.php">Recepten</a></li> |
307
75f8b569043c
Added beerxml recipe import.
Michiel Broek <mbroek@mbse.eu>
parents:
302
diff
changeset
|
245 | <li><a href="rec_import.php">Import</a></li> |
48
bdd1ec9b9c06
Start recipes import and menus.
Michiel Broek <mbroek@mbse.eu>
parents:
46
diff
changeset
|
246 | </ul> |
45
95251bedfab4
Moved three inventory tables and screens to profiles
Michiel Broek <mbroek@mbse.eu>
parents:
43
diff
changeset
|
247 | </li> |
11 | 248 | <li>Inventaris |
249 | <ul> | |
250 | <li><a href="inv_suppliers.php">Leveranciers</a></li> | |
15 | 251 | <li><a href="inv_fermentables.php">Vergistbare ingredienten</a></li> |
11 | 252 | <li><a href="inv_hops.php">Hoppen</a></li> |
15 | 253 | <li><a href="inv_yeasts.php">Gisten</a></li> |
254 | <li><a href="inv_miscs.php">Overige ingredienten</a></li> | |
46
ff9be9dbcac0
Renamed inevntory water sources to inventory waters
Michiel Broek <mbroek@mbse.eu>
parents:
45
diff
changeset
|
255 | <li><a href="inv_waters.php">Brouwwater</a></li> |
11 | 256 | <li><a href="inv_equipments.php">Brouw apparatuur</a></li> |
30
f5ab22446aa5
Inventory fermentables and hops to standard weight format.
Michiel Broek <mbroek@mbse.eu>
parents:
23
diff
changeset
|
257 | <li><a href="inv_instock.php">Voorraad lijst</a></li> |
11 | 258 | </ul> |
259 | </li> | |
99
f433193f7bb6
Removed default water setting from the inventory_waters table. Added global setup record with default settings and the default water selection. Added a setup screen.
Michiel Broek <mbroek@mbse.eu>
parents:
85
diff
changeset
|
260 | <li>Instellingen |
45
95251bedfab4
Moved three inventory tables and screens to profiles
Michiel Broek <mbroek@mbse.eu>
parents:
43
diff
changeset
|
261 | <ul> |
95251bedfab4
Moved three inventory tables and screens to profiles
Michiel Broek <mbroek@mbse.eu>
parents:
43
diff
changeset
|
262 | <li><a href="profile_water.php">Water profielen</a></li> |
95251bedfab4
Moved three inventory tables and screens to profiles
Michiel Broek <mbroek@mbse.eu>
parents:
43
diff
changeset
|
263 | <li><a href="profile_mash.php">Maisch schemas</a></li> |
95251bedfab4
Moved three inventory tables and screens to profiles
Michiel Broek <mbroek@mbse.eu>
parents:
43
diff
changeset
|
264 | <li><a href="profile_styles.php">Bierstijlen</a></li> |
186
a7c2c61a01ad
Added profile fermentation editor.
Michiel Broek <mbroek@mbse.eu>
parents:
183
diff
changeset
|
265 | <li><a href="profile_fermentation.php">Vergisting profielen</a></li> |
99
f433193f7bb6
Removed default water setting from the inventory_waters table. Added global setup record with default settings and the default water selection. Added a setup screen.
Michiel Broek <mbroek@mbse.eu>
parents:
85
diff
changeset
|
266 | <li><a href="profile_setup.php">Instellingen</a></li> |
45
95251bedfab4
Moved three inventory tables and screens to profiles
Michiel Broek <mbroek@mbse.eu>
parents:
43
diff
changeset
|
267 | </ul> |
95251bedfab4
Moved three inventory tables and screens to profiles
Michiel Broek <mbroek@mbse.eu>
parents:
43
diff
changeset
|
268 | </li> |
11 | 269 | <li>Over |
270 | <ul> | |
67
883e897aad40
Start building the workflow in the scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
52
diff
changeset
|
271 | <li><a href="gen_about.php">Informatie</a></li> |
11 | 272 | </ul> |
273 | </li> | |
274 | </ul> | |
275 | </div> <!-- End menu --> | |
10
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
276 | |
11 | 277 | <?php |
278 | } | |
279 | ||
10
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
280 | |
11 | 281 | function confirm_delete() { |
282 | ?> | |
283 | <div id="eventWindow"> | |
284 | <div> | |
285 | Bevestig verwijderen | |
286 | </div> | |
287 | <div> | |
288 | <div> | |
289 | Klik "OK" om dit record definitief te verwijderen.<br> | |
290 | Druk "Cancel" om te sluiten zonder dit record te verwijderen. | |
291 | </div> | |
292 | <div> | |
293 | <div style="float: right; margin-top: 15px; margin-bottom: 10px;"> | |
294 | <input type="button" id="delOk" value="OK" style="margin-right: 15px" /> | |
295 | <input type="button" id="delCancel" value="Cancel" style="margin-right: 65px" /> | |
296 | </div> | |
297 | </div> | |
298 | </div> | |
299 | </div> | |
300 | ||
301 | <?php | |
10
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
302 | } |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
303 | |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
304 | |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
305 | function page_footer() { |
11 | 306 | ?> |
307 | </div> <!-- jqxWidget --> | |
308 | </body> | |
309 | </html> | |
310 | <?php | |
10
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
311 | } |
11 | 312 | ?> |