28 $my_style = 'ui-mbse'; |
28 $my_style = 'ui-mbse'; |
29 |
29 |
30 require_once($_SERVER['DOCUMENT_ROOT'].'/config.php'); |
30 require_once($_SERVER['DOCUMENT_ROOT'].'/config.php'); |
31 require_once($_SERVER['DOCUMENT_ROOT'].'/version.php'); |
31 require_once($_SERVER['DOCUMENT_ROOT'].'/version.php'); |
32 |
32 |
|
33 if (isset($_GET['record'])) |
|
34 $my_record = $_GET['record']; |
|
35 else |
|
36 $my_record = -1; |
|
37 if (isset($_GET['return'])) |
|
38 $my_return = $_GET['return']; |
|
39 else |
|
40 $my_return = ''; |
33 |
41 |
34 function page_header($title, $loadjs) { |
42 function page_header($title, $loadjs) { |
35 global $my_style; |
43 global $my_style; |
36 global $my_version; |
44 global $my_version; |
|
45 global $my_record; |
|
46 global $my_return; |
37 ?> |
47 ?> |
38 <!DOCTYPE html> |
48 <!DOCTYPE html> |
39 <html lang=nl-NL> |
49 <html lang=nl-NL> |
40 <head> |
50 <head> |
41 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
51 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
44 <link type="text/css" href="jqwidgets/styles/jqx.base.css" rel="stylesheet" /> |
54 <link type="text/css" href="jqwidgets/styles/jqx.base.css" rel="stylesheet" /> |
45 <link type="text/css" href="jqwidgets/styles/jqx.<?php echo $my_style; ?>.css" rel="stylesheet" /> |
55 <link type="text/css" href="jqwidgets/styles/jqx.<?php echo $my_style; ?>.css" rel="stylesheet" /> |
46 <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> |
56 <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> |
47 <script> |
57 <script> |
48 var theme = "<?php echo $my_style; ?>"; |
58 var theme = "<?php echo $my_style; ?>"; |
|
59 var my_record = "<?php echo $my_record; ?>"; |
|
60 var my_return = "<?php echo $my_return; ?>"; |
49 </script> |
61 </script> |
50 <script src="js/jquery-1.11.1.min.js"></script> |
62 <script src="js/jquery-1.11.1.min.js"></script> |
51 <script src="jqwidgets/jqxcore.js"></script> |
63 <script src="jqwidgets/jqxcore.js"></script> |
52 <script src="jqwidgets/jqxwindow.js"></script> |
64 <script src="jqwidgets/jqxwindow.js"></script> |
53 <script src="jqwidgets/jqxmenu.js"></script> |
65 <script src="jqwidgets/jqxmenu.js"></script> |