Compare commits
22
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6cb285cdc3 | ||
|
|
9fcce86549 | ||
|
|
4ae0a197bb | ||
|
|
0ad26b0583 | ||
|
|
96d351c2a2 | ||
|
|
bccd9b013a | ||
|
|
6132b79271 | ||
|
|
24a86e3816 | ||
|
|
c224ae853a | ||
|
|
2d44e273e6 | ||
|
|
7d634e8589 | ||
|
|
27b932f604 | ||
|
|
64c7031b50 | ||
|
|
d771c180fa | ||
|
|
6956144b52 | ||
|
|
4e0b022241 | ||
|
|
fcc26ca952 | ||
|
|
172fcf566c | ||
|
|
c6afbb01f2 | ||
|
|
c8fc4767a1 | ||
|
|
44bc260061 | ||
|
|
90b4f0d08e |
-20
@@ -89,26 +89,6 @@ public/tmp/
|
|||||||
documents/compactsops/
|
documents/compactsops/
|
||||||
/.vscode
|
/.vscode
|
||||||
*.png
|
*.png
|
||||||
/public/css/images/acceptBlauw.png
|
|
||||||
/public/css/images/acceptGrijs.png
|
|
||||||
/public/css/images/acceptGroen.png
|
|
||||||
/public/css/images/acceptOranje.png
|
|
||||||
/public/css/images/acceptRood.png
|
|
||||||
/public/css/images/diffBlauw.png
|
|
||||||
/public/css/images/diffGrijs.png
|
|
||||||
/public/css/images/diffGroen.png
|
|
||||||
/public/css/images/diffOranje.png
|
|
||||||
/public/css/images/diffRood.png
|
|
||||||
/public/css/images/extraBlauw.png
|
|
||||||
/public/css/images/extraGrijs.png
|
|
||||||
/public/css/images/extraGroen.png
|
|
||||||
/public/css/images/extraOranje.png
|
|
||||||
/public/css/images/extraRood.png
|
|
||||||
/public/css/images/samenBlauw.png
|
|
||||||
/public/css/images/samenGrijs.png
|
|
||||||
/public/css/images/samenGroen.png
|
|
||||||
/public/css/images/samenOranje.png
|
|
||||||
/public/css/images/samenRood.png
|
|
||||||
/public/openbaredocs/handleidingdubbeleautheticatie_2024.pdf
|
/public/openbaredocs/handleidingdubbeleautheticatie_2024.pdf
|
||||||
/public/openbaredocs/Googleauthenticator.docx
|
/public/openbaredocs/Googleauthenticator.docx
|
||||||
/public/openbaredocs/Googleauthenticator.pdf
|
/public/openbaredocs/Googleauthenticator.pdf
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
|
|
|
|
||||||
| WARNING: You MUST set this value!
|
| WARNING: You MUST set this value!
|
||||||
|
|
|
|
||||||
| If it is not set, then CodeIgniter will try guess the protocol and path
|
| If it is not set, then CodeIgniter will try to guess the protocol and
|
||||||
| your installation, but due to security concerns the hostname will be set
|
| path to your installation, but due to security concerns the hostname will
|
||||||
| to $_SERVER['SERVER_ADDR'] if available, or localhost otherwise.
|
| be set to $_SERVER['SERVER_ADDR'] if available, or localhost otherwise.
|
||||||
| The auto-detection mechanism exists only for convenience during
|
| The auto-detection mechanism exists only for convenience during
|
||||||
| development and MUST NOT be used in production!
|
| development and MUST NOT be used in production!
|
||||||
|
|
|
|
||||||
@@ -66,7 +66,9 @@ $config['uri_protocol'] = 'REQUEST_URI';
|
|||||||
| This option allows you to add a suffix to all URLs generated by CodeIgniter.
|
| This option allows you to add a suffix to all URLs generated by CodeIgniter.
|
||||||
| For more information please see the user guide:
|
| For more information please see the user guide:
|
||||||
|
|
|
|
||||||
| https://codeigniter.com/user_guide/general/urls.html
|
| https://codeigniter.com/userguide3/general/urls.html
|
||||||
|
|
|
||||||
|
| Note: This option is ignored for CLI requests.
|
||||||
*/
|
*/
|
||||||
$config['url_suffix'] = '';
|
$config['url_suffix'] = '';
|
||||||
|
|
||||||
@@ -90,7 +92,7 @@ $config['language'] = 'english';
|
|||||||
| This determines which character set is used by default in various methods
|
| This determines which character set is used by default in various methods
|
||||||
| that require a character set to be provided.
|
| that require a character set to be provided.
|
||||||
|
|
|
|
||||||
| See http://php.net/htmlspecialchars for a list of supported charsets.
|
| See https://secure.php.net/htmlspecialchars for a list of supported charsets.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$config['charset'] = 'UTF-8';
|
$config['charset'] = 'UTF-8';
|
||||||
@@ -114,8 +116,8 @@ $config['enable_hooks'] = FALSE;
|
|||||||
| This item allows you to set the filename/classname prefix when extending
|
| This item allows you to set the filename/classname prefix when extending
|
||||||
| native libraries. For more information please see the user guide:
|
| native libraries. For more information please see the user guide:
|
||||||
|
|
|
|
||||||
| https://codeigniter.com/user_guide/general/core_classes.html
|
| https://codeigniter.com/userguide3/general/core_classes.html
|
||||||
| https://codeigniter.com/user_guide/general/creating_libraries.html
|
| https://codeigniter.com/userguide3/general/creating_libraries.html
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$config['subclass_prefix'] = 'MY_';
|
$config['subclass_prefix'] = 'MY_';
|
||||||
@@ -135,7 +137,7 @@ $config['subclass_prefix'] = 'MY_';
|
|||||||
|
|
|
|
||||||
| $config['composer_autoload'] = '/path/to/vendor/autoload.php';
|
| $config['composer_autoload'] = '/path/to/vendor/autoload.php';
|
||||||
|
|
|
|
||||||
| For more information about Composer, please visit http://getcomposer.org/
|
| For more information about Composer, please visit https://getcomposer.org/
|
||||||
|
|
|
|
||||||
| Note: This will NOT disable or override the CodeIgniter-specific
|
| Note: This will NOT disable or override the CodeIgniter-specific
|
||||||
| autoloading (application/config/autoload.php)
|
| autoloading (application/config/autoload.php)
|
||||||
@@ -161,6 +163,8 @@ $config['composer_autoload'] = FALSE;
|
|||||||
|
|
|
|
||||||
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
||||||
|
|
|
|
||||||
|
| Note: This option is ignored for CLI requests.
|
||||||
|
|
|
||||||
*/
|
*/
|
||||||
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
|
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
|
||||||
|
|
||||||
@@ -191,20 +195,6 @@ $config['controller_trigger'] = 'c';
|
|||||||
$config['function_trigger'] = 'm';
|
$config['function_trigger'] = 'm';
|
||||||
$config['directory_trigger'] = 'd';
|
$config['directory_trigger'] = 'd';
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Allow $_GET array
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| By default CodeIgniter enables access to the $_GET array. If for some
|
|
||||||
| reason you would like to disable it, set 'allow_get_array' to FALSE.
|
|
||||||
|
|
|
||||||
| WARNING: This feature is DEPRECATED and currently available only
|
|
||||||
| for backwards compatibility purposes!
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
$config['allow_get_array'] = TRUE;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Error Logging Threshold
|
| Error Logging Threshold
|
||||||
@@ -235,21 +225,32 @@ $config['log_threshold'] = 1;
|
|||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
|
||||||
| Leave this BLANK unless you would like to set something other than the default
|
| Leave this BLANK unless you would like to set something other than the default
|
||||||
| application/logs/ directory. Use a full server path with trailing slash.
|
| application/logs/ directory. Use a full server path.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$config['log_path'] = '';
|
$config['log_path'] = '';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Log File Extension
|
| Error Logging FILENAME
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
|
||||||
| The default filename extension for log files. The default 'php' allows for
|
| Leave this BLANK unless you would like to set something other than the default
|
||||||
| protecting the log files via basic scripting, when they are to be stored
|
| 'log-'.date('Y-m-d').'.php'. No DIRECTORY_SEPARATOR(s), just the filename.
|
||||||
| under a publicly accessible directory.
|
|
||||||
|
|
|
|
||||||
| Note: Leaving it blank will default to 'php'.
|
*/
|
||||||
|
$config['log_filename'] = '';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Log File Extension (DEPRECATED)
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option is deprecated. Use 'log_filename' instead.
|
||||||
|
| Kept for backward compatibility with CI 3.1.x configurations.
|
||||||
|
|
|
||||||
|
| If 'log_filename' is set, this option is ignored.
|
||||||
|
| Example: 'txt' or 'log' (without leading dot)
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$config['log_file_extension'] = '';
|
$config['log_file_extension'] = '';
|
||||||
@@ -283,7 +284,7 @@ $config['log_date_format'] = 'Y-m-d H:i:s';
|
|||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
|
||||||
| Leave this BLANK unless you would like to set something other than the default
|
| Leave this BLANK unless you would like to set something other than the default
|
||||||
| application/views/errors/ directory. Use a full server path with trailing slash.
|
| application/views/errors/ directory. Use a full server path.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$config['error_views_path'] = '';
|
$config['error_views_path'] = '';
|
||||||
@@ -294,7 +295,7 @@ $config['error_views_path'] = '';
|
|||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
|
||||||
| Leave this BLANK unless you would like to set something other than the default
|
| Leave this BLANK unless you would like to set something other than the default
|
||||||
| application/cache/ directory. Use a full server path with trailing slash.
|
| application/cache/ directory. Use a full server path.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$config['cache_path'] = '';
|
$config['cache_path'] = '';
|
||||||
@@ -325,7 +326,7 @@ $config['cache_query_string'] = FALSE;
|
|||||||
| If you use the Encryption class, you must set an encryption key.
|
| If you use the Encryption class, you must set an encryption key.
|
||||||
| See the user guide for more info.
|
| See the user guide for more info.
|
||||||
|
|
|
|
||||||
| https://codeigniter.com/user_guide/libraries/encryption.html
|
| https://codeigniter.com/userguide3/libraries/encryption.html
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$config['encryption_key'] = '';
|
$config['encryption_key'] = '';
|
||||||
@@ -343,6 +344,10 @@ $config['encryption_key'] = '';
|
|||||||
|
|
|
|
||||||
| The session cookie name, must contain only [0-9a-z_-] characters
|
| The session cookie name, must contain only [0-9a-z_-] characters
|
||||||
|
|
|
|
||||||
|
| 'sess_samesite'
|
||||||
|
|
|
||||||
|
| Session cookie SameSite attribute: Lax (default), Strict or None
|
||||||
|
|
|
||||||
| 'sess_expiration'
|
| 'sess_expiration'
|
||||||
|
|
|
|
||||||
| The number of SECONDS you want the session to last.
|
| The number of SECONDS you want the session to last.
|
||||||
@@ -383,6 +388,7 @@ $config['encryption_key'] = '';
|
|||||||
*/
|
*/
|
||||||
$config['sess_driver'] = 'files';
|
$config['sess_driver'] = 'files';
|
||||||
$config['sess_cookie_name'] = 'ci_session';
|
$config['sess_cookie_name'] = 'ci_session';
|
||||||
|
$config['sess_samesite'] = 'Lax';
|
||||||
$config['sess_expiration'] = 7200;
|
$config['sess_expiration'] = 7200;
|
||||||
$config['sess_save_path'] = NULL;
|
$config['sess_save_path'] = NULL;
|
||||||
$config['sess_match_ip'] = FALSE;
|
$config['sess_match_ip'] = FALSE;
|
||||||
@@ -399,6 +405,7 @@ $config['sess_regenerate_destroy'] = FALSE;
|
|||||||
| 'cookie_path' = Typically will be a forward slash
|
| 'cookie_path' = Typically will be a forward slash
|
||||||
| 'cookie_secure' = Cookie will only be set if a secure HTTPS connection exists.
|
| 'cookie_secure' = Cookie will only be set if a secure HTTPS connection exists.
|
||||||
| 'cookie_httponly' = Cookie will only be accessible via HTTP(S) (no javascript)
|
| 'cookie_httponly' = Cookie will only be accessible via HTTP(S) (no javascript)
|
||||||
|
| 'cookie_samesite' = Cookie's samesite attribute (Lax, Strict or None)
|
||||||
|
|
|
|
||||||
| Note: These settings (with the exception of 'cookie_prefix' and
|
| Note: These settings (with the exception of 'cookie_prefix' and
|
||||||
| 'cookie_httponly') will also affect sessions.
|
| 'cookie_httponly') will also affect sessions.
|
||||||
@@ -409,34 +416,7 @@ $config['cookie_domain'] = '';
|
|||||||
$config['cookie_path'] = '/';
|
$config['cookie_path'] = '/';
|
||||||
$config['cookie_secure'] = FALSE;
|
$config['cookie_secure'] = FALSE;
|
||||||
$config['cookie_httponly'] = FALSE;
|
$config['cookie_httponly'] = FALSE;
|
||||||
|
$config['cookie_samesite'] = 'Lax';
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Standardize newlines
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Determines whether to standardize newline characters in input data,
|
|
||||||
| meaning to replace \r\n, \r, \n occurrences with the PHP_EOL value.
|
|
||||||
|
|
|
||||||
| WARNING: This feature is DEPRECATED and currently available only
|
|
||||||
| for backwards compatibility purposes!
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
$config['standardize_newlines'] = FALSE;
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Global XSS Filtering
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Determines whether the XSS filter is always active when GET, POST or
|
|
||||||
| COOKIE data is encountered
|
|
||||||
|
|
|
||||||
| WARNING: This feature is DEPRECATED and currently available only
|
|
||||||
| for backwards compatibility purposes!
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
$config['global_xss_filtering'] = FALSE;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
@@ -494,20 +474,6 @@ $config['compress_output'] = FALSE;
|
|||||||
*/
|
*/
|
||||||
$config['time_reference'] = 'local';
|
$config['time_reference'] = 'local';
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Rewrite PHP Short Tags
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| If your PHP installation does not have short tag support enabled CI
|
|
||||||
| can rewrite the tags on-the-fly, enabling you to utilize that syntax
|
|
||||||
| in your view files. Options are TRUE or FALSE (boolean)
|
|
||||||
|
|
|
||||||
| Note: You need to have eval() enabled for this to work.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
$config['rewrite_short_tags'] = FALSE;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Reverse Proxy IPs
|
| Reverse Proxy IPs
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
| -------------------------------------------------------------------
|
| -------------------------------------------------------------------
|
||||||
| MIME TYPES
|
| MIME TYPES
|
||||||
| -------------------------------------------------------------------
|
| -------------------------------------------------------------------
|
||||||
| This file contains an array of mime types. It is used by the
|
| This file contains an array of mime types. It is used by the
|
||||||
| Upload class to help identify allowed file types.
|
| Upload class to help identify allowed file types.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
@@ -85,9 +85,11 @@ return array(
|
|||||||
'jpm' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
|
'jpm' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
|
||||||
'mj2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
|
'mj2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
|
||||||
'mjp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
|
'mjp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
|
||||||
'png' => array('image/png', 'image/x-png'),
|
'png' => array('image/png', 'image/x-png'),
|
||||||
'tiff' => 'image/tiff',
|
'tiff' => 'image/tiff',
|
||||||
'tif' => 'image/tiff',
|
'tif' => 'image/tiff',
|
||||||
|
'heic' => 'image/heic',
|
||||||
|
'heif' => 'image/heif',
|
||||||
'css' => array('text/css', 'text/plain'),
|
'css' => array('text/css', 'text/plain'),
|
||||||
'html' => array('text/html', 'text/plain'),
|
'html' => array('text/html', 'text/plain'),
|
||||||
'htm' => array('text/html', 'text/plain'),
|
'htm' => array('text/html', 'text/plain'),
|
||||||
@@ -114,7 +116,7 @@ return array(
|
|||||||
'word' => array('application/msword', 'application/octet-stream'),
|
'word' => array('application/msword', 'application/octet-stream'),
|
||||||
'xl' => 'application/excel',
|
'xl' => 'application/excel',
|
||||||
'eml' => 'message/rfc822',
|
'eml' => 'message/rfc822',
|
||||||
'json' => array('application/json', 'text/json'),
|
'json' => array('application/json', 'text/json', 'text/plain'),
|
||||||
'pem' => array('application/x-x509-user-cert', 'application/x-pem-file', 'application/octet-stream'),
|
'pem' => array('application/x-x509-user-cert', 'application/x-pem-file', 'application/octet-stream'),
|
||||||
'p10' => array('application/x-pkcs10', 'application/pkcs10'),
|
'p10' => array('application/x-pkcs10', 'application/pkcs10'),
|
||||||
'p12' => 'application/x-pkcs12',
|
'p12' => 'application/x-pkcs12',
|
||||||
@@ -160,7 +162,7 @@ return array(
|
|||||||
'cdr' => array('application/cdr', 'application/coreldraw', 'application/x-cdr', 'application/x-coreldraw', 'image/cdr', 'image/x-cdr', 'zz-application/zz-winassoc-cdr'),
|
'cdr' => array('application/cdr', 'application/coreldraw', 'application/x-cdr', 'application/x-coreldraw', 'image/cdr', 'image/x-cdr', 'zz-application/zz-winassoc-cdr'),
|
||||||
'wma' => array('audio/x-ms-wma', 'video/x-ms-asf'),
|
'wma' => array('audio/x-ms-wma', 'video/x-ms-asf'),
|
||||||
'jar' => array('application/java-archive', 'application/x-java-application', 'application/x-jar', 'application/x-compressed'),
|
'jar' => array('application/java-archive', 'application/x-java-application', 'application/x-jar', 'application/x-compressed'),
|
||||||
'svg' => array('image/svg+xml', 'application/xml', 'text/xml'),
|
'svg' => array('image/svg+xml', 'image/svg', 'application/xml', 'text/xml'),
|
||||||
'vcf' => 'text/x-vcard',
|
'vcf' => 'text/x-vcard',
|
||||||
'srt' => array('text/srt', 'text/plain'),
|
'srt' => array('text/srt', 'text/plain'),
|
||||||
'vtt' => array('text/vtt', 'text/plain'),
|
'vtt' => array('text/vtt', 'text/plain'),
|
||||||
@@ -180,5 +182,6 @@ return array(
|
|||||||
'odt' => 'application/vnd.oasis.opendocument.text',
|
'odt' => 'application/vnd.oasis.opendocument.text',
|
||||||
'odm' => 'application/vnd.oasis.opendocument.text-master',
|
'odm' => 'application/vnd.oasis.opendocument.text-master',
|
||||||
'ott' => 'application/vnd.oasis.opendocument.text-template',
|
'ott' => 'application/vnd.oasis.opendocument.text-template',
|
||||||
'oth' => 'application/vnd.oasis.opendocument.text-web'
|
'oth' => 'application/vnd.oasis.opendocument.text-web',
|
||||||
|
'webp' => 'image/webp'
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -61,7 +61,8 @@ $platforms = array(
|
|||||||
$browsers = array(
|
$browsers = array(
|
||||||
'OPR' => 'Opera',
|
'OPR' => 'Opera',
|
||||||
'Flock' => 'Flock',
|
'Flock' => 'Flock',
|
||||||
'Edge' => 'Edge',
|
'Edge' => 'Edge Legacy',
|
||||||
|
'Edg' => 'Edge',
|
||||||
'Chrome' => 'Chrome',
|
'Chrome' => 'Chrome',
|
||||||
// Opera 10+ always reports Opera/9.80 and appends Version/<real version> to the user agent string
|
// Opera 10+ always reports Opera/9.80 and appends Version/<real version> to the user agent string
|
||||||
'Opera.*?Version' => 'Opera',
|
'Opera.*?Version' => 'Opera',
|
||||||
@@ -87,7 +88,8 @@ $browsers = array(
|
|||||||
'amaya' => 'Amaya',
|
'amaya' => 'Amaya',
|
||||||
'IBrowse' => 'IBrowse',
|
'IBrowse' => 'IBrowse',
|
||||||
'Maxthon' => 'Maxthon',
|
'Maxthon' => 'Maxthon',
|
||||||
'Ubuntu' => 'Ubuntu Web Browser'
|
'Ubuntu' => 'Ubuntu Web Browser',
|
||||||
|
'Vivaldi' => 'Vivaldi'
|
||||||
);
|
);
|
||||||
|
|
||||||
$mobiles = array(
|
$mobiles = array(
|
||||||
@@ -152,6 +154,11 @@ $mobiles = array(
|
|||||||
'open web' => 'Open Web',
|
'open web' => 'Open Web',
|
||||||
'openweb' => 'OpenWeb',
|
'openweb' => 'OpenWeb',
|
||||||
'meizu' => 'Meizu',
|
'meizu' => 'Meizu',
|
||||||
|
'huawei' => 'Huawei',
|
||||||
|
'xiaomi' => 'Xiaomi',
|
||||||
|
'oppo' => 'Oppo',
|
||||||
|
'vivo' => 'Vivo',
|
||||||
|
'infinix' => 'Infinix',
|
||||||
|
|
||||||
// Operating Systems
|
// Operating Systems
|
||||||
'android' => 'Android',
|
'android' => 'Android',
|
||||||
@@ -212,5 +219,6 @@ $robots = array(
|
|||||||
'curious george' => 'Curious George',
|
'curious george' => 'Curious George',
|
||||||
'ia_archiver' => 'Alexa Crawler',
|
'ia_archiver' => 'Alexa Crawler',
|
||||||
'MJ12bot' => 'Majestic-12',
|
'MJ12bot' => 'Majestic-12',
|
||||||
'Uptimebot' => 'Uptimebot'
|
'Uptimebot' => 'Uptimebot',
|
||||||
|
'UptimeRobot' => 'UptimeRobot'
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class Nivoprofielen extends MY_controller {
|
|||||||
"naam" => "Gebruikersactiviteiten/inhouden",
|
"naam" => "Gebruikersactiviteiten/inhouden",
|
||||||
"omschrijving" => 'activiteiten aangemaakt door niet-framework gebruikers');
|
"omschrijving" => 'activiteiten aangemaakt door niet-framework gebruikers');
|
||||||
$pijlers=$this->Pijlers_model->get_pijlers($versieID);
|
$pijlers=$this->Pijlers_model->get_pijlers($versieID);
|
||||||
array_push($pijlers, $pijlernul);
|
if (is_array($pijlers)) array_push($pijlers, $pijlernul);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$pijlers= array(array("id" => 0,
|
$pijlers= array(array("id" => 0,
|
||||||
|
|||||||
@@ -432,7 +432,7 @@ class Partituur extends MY_Controller {
|
|||||||
$wenssituaties = $this->Wenssituaties_model->getgewenstvoorpartituur($ovid,$this->globorgid);
|
$wenssituaties = $this->Wenssituaties_model->getgewenstvoorpartituur($ovid,$this->globorgid);
|
||||||
foreach($scores as $score) {
|
foreach($scores as $score) {
|
||||||
$waarde = 1;
|
$waarde = 1;
|
||||||
$res= round($score->somscore / $score->num);
|
$res= round($score->num != 0 ? $score->somscore / $score->num : 0);
|
||||||
$waarde= $this->kleurcodes->getnummer($res);
|
$waarde= $this->kleurcodes->getnummer($res);
|
||||||
|
|
||||||
switch ($score->nummer){
|
switch ($score->nummer){
|
||||||
|
|||||||
@@ -165,8 +165,8 @@ class Planning extends MY_controller {
|
|||||||
$partpijler = $this->ModPartPijlers->get_record_by_id($ppijlerID, FALSE,TRUE);
|
$partpijler = $this->ModPartPijlers->get_record_by_id($ppijlerID, FALSE,TRUE);
|
||||||
$seq = $this->input->post('selSeq');
|
$seq = $this->input->post('selSeq');
|
||||||
|
|
||||||
if ($this->clean_input('positie') == 'na') {$seq = $seq + 1; }
|
if ($this->clean_input('positie') == 'na') {$seq = (int)$seq + 1; }
|
||||||
else {$seq = $seq - 1;};
|
else {$seq = (int)$seq - 1;};
|
||||||
$data = array('sequence' => $seq,
|
$data = array('sequence' => $seq,
|
||||||
'partituurID' => $partID,
|
'partituurID' => $partID,
|
||||||
'pijlerID' => $ppijlerID,
|
'pijlerID' => $ppijlerID,
|
||||||
|
|||||||
@@ -216,6 +216,7 @@ class Reports extends MY_Controller {
|
|||||||
$post = $this->input->get('data');
|
$post = $this->input->get('data');
|
||||||
$post = json_decode($this->input->get('data'));
|
$post = json_decode($this->input->get('data'));
|
||||||
if ($init==1) {
|
if ($init==1) {
|
||||||
|
if ($post === null) $post = new stdClass;
|
||||||
$post->orgid = $this->globorgid;
|
$post->orgid = $this->globorgid;
|
||||||
$post = json_encode($post);
|
$post = json_encode($post);
|
||||||
$titel =array("titeltekst" => "Mensen/activiteiten");
|
$titel =array("titeltekst" => "Mensen/activiteiten");
|
||||||
@@ -224,6 +225,7 @@ class Reports extends MY_Controller {
|
|||||||
else {
|
else {
|
||||||
$criteria=json_decode($this->input->get("data")) ;
|
$criteria=json_decode($this->input->get("data")) ;
|
||||||
if (!$pdf){
|
if (!$pdf){
|
||||||
|
if ($criteria === null) $criteria = new stdClass;
|
||||||
$criteria->orgid = $this->globorgid;
|
$criteria->orgid = $this->globorgid;
|
||||||
};
|
};
|
||||||
// hier dan de database activiteiten die nodig zijn voor het report
|
// hier dan de database activiteiten die nodig zijn voor het report
|
||||||
@@ -398,6 +400,7 @@ class Reports extends MY_Controller {
|
|||||||
$i = 0;
|
$i = 0;
|
||||||
foreach($criteria->BGs as $BGid) {
|
foreach($criteria->BGs as $BGid) {
|
||||||
$orgs[$i]= $this->Organisaties_model->get_BG_by_id($BGid);
|
$orgs[$i]= $this->Organisaties_model->get_BG_by_id($BGid);
|
||||||
|
if (! $orgs[$i]) $orgs[$i] = new stdClass();
|
||||||
$orgs[$i]->organisaties = $this->Organisaties_model->get_orgs_per_bg($BGid);
|
$orgs[$i]->organisaties = $this->Organisaties_model->get_orgs_per_bg($BGid);
|
||||||
$i = $i + 1;
|
$i = $i + 1;
|
||||||
};
|
};
|
||||||
@@ -671,7 +674,7 @@ class Reports extends MY_Controller {
|
|||||||
$beelden=$this->Niveaus_model->get_niveaus();
|
$beelden=$this->Niveaus_model->get_niveaus();
|
||||||
$beelden2=array();
|
$beelden2=array();
|
||||||
foreach($beelden as $beeld){
|
foreach($beelden as $beeld){
|
||||||
if (in_array($beeld->id, $criteria->beelden) ) {
|
if (is_array($criteria->beelden) && in_array($beeld->id, $criteria->beelden) ) {
|
||||||
array_push($beelden2 , $beeld);
|
array_push($beelden2 , $beeld);
|
||||||
$profielen[] = $this->Nivoprofielen_model->get_profielen_profiel($beeld->id);
|
$profielen[] = $this->Nivoprofielen_model->get_profielen_profiel($beeld->id);
|
||||||
};
|
};
|
||||||
@@ -682,7 +685,7 @@ class Reports extends MY_Controller {
|
|||||||
$pijlers[$i]= new stdClass;
|
$pijlers[$i]= new stdClass;
|
||||||
$pijlers[$i]->naam = $voorbeeld->naam;
|
$pijlers[$i]->naam = $voorbeeld->naam;
|
||||||
$pijlers[$i]->score=array();
|
$pijlers[$i]->score=array();
|
||||||
for ($j=0; $j < count($criteria->beelden );$j++ ){
|
for ($j=0; $j < count((array)$criteria->beelden );$j++ ){
|
||||||
$pijlers[$i]->score[$j]=$profielen[$j][$i]->waarde;
|
$pijlers[$i]->score[$j]=$profielen[$j][$i]->waarde;
|
||||||
};
|
};
|
||||||
$i= $i+1;
|
$i= $i+1;
|
||||||
@@ -691,7 +694,7 @@ class Reports extends MY_Controller {
|
|||||||
foreach($criteria->beelden as $beeld){
|
foreach($criteria->beelden as $beeld){
|
||||||
array_push($descriptions , $this->Niveaus_model->get_niveau($beeld));
|
array_push($descriptions , $this->Niveaus_model->get_niveau($beeld));
|
||||||
};
|
};
|
||||||
$data = array( 'aantal' =>count($criteria->beelden) ,
|
$data = array( 'aantal' =>count((array)$criteria->beelden) ,
|
||||||
'beelden' =>$beelden2,
|
'beelden' =>$beelden2,
|
||||||
'pijlers' =>$pijlers,
|
'pijlers' =>$pijlers,
|
||||||
'descriptions' =>$descriptions,
|
'descriptions' =>$descriptions,
|
||||||
@@ -714,6 +717,7 @@ class Reports extends MY_Controller {
|
|||||||
$post = json_decode($this->input->get('data'));
|
$post = json_decode($this->input->get('data'));
|
||||||
|
|
||||||
if ($init==1) {
|
if ($init==1) {
|
||||||
|
if ($post === null) $post = new stdClass;
|
||||||
$post->orgid = $this->globorgid;
|
$post->orgid = $this->globorgid;
|
||||||
$post = json_encode($post);
|
$post = json_encode($post);
|
||||||
$titel =array("titeltekst" => "Eigen schoolbeeld");
|
$titel =array("titeltekst" => "Eigen schoolbeeld");
|
||||||
@@ -722,6 +726,7 @@ class Reports extends MY_Controller {
|
|||||||
else {
|
else {
|
||||||
$criteria=json_decode($this->input->get("data")) ;
|
$criteria=json_decode($this->input->get("data")) ;
|
||||||
if (!$pdf){
|
if (!$pdf){
|
||||||
|
if ($criteria === null) $criteria = new stdClass;
|
||||||
$criteria->orgid = $this->globorgid;
|
$criteria->orgid = $this->globorgid;
|
||||||
};
|
};
|
||||||
$orgnaam=$this->Organisaties_model->get_record_by_id($criteria->orgid,"naam");
|
$orgnaam=$this->Organisaties_model->get_record_by_id($criteria->orgid,"naam");
|
||||||
@@ -948,7 +953,7 @@ private function GetMax($code){
|
|||||||
$i = $i + 1;
|
$i = $i + 1;
|
||||||
$j = 0;
|
$j = 0;
|
||||||
};
|
};
|
||||||
$aantal = count( $scholen);
|
$aantal = isset($scholen) ? count( $scholen) : 0;
|
||||||
|
|
||||||
if ($aantal >= 1) {
|
if ($aantal >= 1) {
|
||||||
$k=0;
|
$k=0;
|
||||||
@@ -964,10 +969,10 @@ private function GetMax($code){
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
$grandGem = round($grandGem / ($k * $aantal),0);
|
$grandGem = round(($k * $aantal) != 0 ? $grandGem / ($k * $aantal) : 0,0);
|
||||||
$grandSchoolbeeld = $this->GetBeeldGem($grandGem );
|
$grandSchoolbeeld = $this->GetBeeldGem($grandGem );
|
||||||
|
|
||||||
$grandProf = round($grandProf / (7 * $aantal), 0);
|
$grandProf = round($aantal != 0 ? $grandProf / (7 * $aantal) : 0, 0);
|
||||||
$SBcolor = $this->GetColorBijBeeld($grandSchoolbeeld);
|
$SBcolor = $this->GetColorBijBeeld($grandSchoolbeeld);
|
||||||
|
|
||||||
$data = array( 'pijlers' =>$pijlers,
|
$data = array( 'pijlers' =>$pijlers,
|
||||||
@@ -995,6 +1000,7 @@ private function GetMax($code){
|
|||||||
$init = $this->uri->segment(5);
|
$init = $this->uri->segment(5);
|
||||||
$post = json_decode($this->input->get('data'));
|
$post = json_decode($this->input->get('data'));
|
||||||
if ($init==1) {
|
if ($init==1) {
|
||||||
|
if ($post === null) $post = new stdClass;
|
||||||
$post->role = $this->userrole;
|
$post->role = $this->userrole;
|
||||||
$post->userid = $this->userid;
|
$post->userid = $this->userid;
|
||||||
$post->orgid = $this->globorgid;
|
$post->orgid = $this->globorgid;
|
||||||
@@ -1006,6 +1012,7 @@ private function GetMax($code){
|
|||||||
else {
|
else {
|
||||||
$criteria=json_decode($this->input->get("data")) ;
|
$criteria=json_decode($this->input->get("data")) ;
|
||||||
if (!$pdf){
|
if (!$pdf){
|
||||||
|
if ($criteria === null) $criteria = new stdClass;
|
||||||
$criteria->userlevel = $this->userrole;
|
$criteria->userlevel = $this->userrole;
|
||||||
$criteria->userid = $this->userid;
|
$criteria->userid = $this->userid;
|
||||||
$criteria->orgid = $this->globorgid;
|
$criteria->orgid = $this->globorgid;
|
||||||
|
|||||||
@@ -274,6 +274,7 @@ class Monfin2overzicht extends MY_Controller{
|
|||||||
}
|
}
|
||||||
$index += 1;
|
$index += 1;
|
||||||
};
|
};
|
||||||
|
if (! isset($somasarray[0])) $somasarray[0] = new stdClass();
|
||||||
$somasarray[0]->som = $regelsom;
|
$somasarray[0]->som = $regelsom;
|
||||||
$somasarray[0]->budgetsom = $regelsom2;
|
$somasarray[0]->budgetsom = $regelsom2;
|
||||||
$somasarray[0]->budgetrestant = $regelsom2 - $regelsom;
|
$somasarray[0]->budgetrestant = $regelsom2 - $regelsom;
|
||||||
@@ -304,6 +305,7 @@ class Monfin2overzicht extends MY_Controller{
|
|||||||
$grandtot->verschilGeb =0;
|
$grandtot->verschilGeb =0;
|
||||||
|
|
||||||
$targetorg = $this->Organisaties_model->get_record_by_id($targetorgid);
|
$targetorg = $this->Organisaties_model->get_record_by_id($targetorgid);
|
||||||
|
if (! $targetorg) $targetorg = new stdClass();
|
||||||
$targetorg->bestemmingen = $this->get_bestuur_bestemmingen($targetorgid, $kalenderjaarnr);
|
$targetorg->bestemmingen = $this->get_bestuur_bestemmingen($targetorgid, $kalenderjaarnr);
|
||||||
$targetorg->budgetten = $this->get_bestuur_gebudget($targetorgid, $kalenderjaarnr);
|
$targetorg->budgetten = $this->get_bestuur_gebudget($targetorgid, $kalenderjaarnr);
|
||||||
$verschil = $targetorg->budgetten['som']-$targetorg->bestemmingen['som'];
|
$verschil = $targetorg->budgetten['som']-$targetorg->bestemmingen['som'];
|
||||||
@@ -539,6 +541,7 @@ class Monfin2overzicht extends MY_Controller{
|
|||||||
$targetorgid = $this->clean_input('orgid');
|
$targetorgid = $this->clean_input('orgid');
|
||||||
$kalenderjaarnr = $this->clean_input("jaarnr");
|
$kalenderjaarnr = $this->clean_input("jaarnr");
|
||||||
$targetorg = $this->Organisaties_model->get_record_by_id($targetorgid);
|
$targetorg = $this->Organisaties_model->get_record_by_id($targetorgid);
|
||||||
|
if (! $targetorg) $targetorg = new stdClass();
|
||||||
list($targetorg->pms, $targetorg->bud, $targetorg->kleur, $otherorgs) = $this->get_bestuur_pms($targetorgid, $kalenderjaarnr);
|
list($targetorg->pms, $targetorg->bud, $targetorg->kleur, $otherorgs) = $this->get_bestuur_pms($targetorgid, $kalenderjaarnr);
|
||||||
$sumother = $this->getsumotherpms($otherorgs);
|
$sumother = $this->getsumotherpms($otherorgs);
|
||||||
$sumtot = $this->getsumtotpms($targetorg, $sumother);
|
$sumtot = $this->getsumtotpms($targetorg, $sumother);
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ class Beheer extends MY_Controller{
|
|||||||
if ($versies){
|
if ($versies){
|
||||||
foreach($versies as $versie){
|
foreach($versies as $versie){
|
||||||
$versie->ingangsdatum = mysql2date($versie->ingangsdatum);
|
$versie->ingangsdatum = mysql2date($versie->ingangsdatum);
|
||||||
$versie->systemnorm = str_replace('.', ',', $versie->systemnorm);
|
$versie->systemnorm = str_replace('.', ',', $versie->systemnorm ?? '');
|
||||||
$versie->deleteok = true;
|
$versie->deleteok = true;
|
||||||
//TODO deleteok bepalen
|
//TODO deleteok bepalen
|
||||||
}
|
}
|
||||||
@@ -51,7 +51,7 @@ class Beheer extends MY_Controller{
|
|||||||
$versie = $this->Versies_model->getversie($id);
|
$versie = $this->Versies_model->getversie($id);
|
||||||
|
|
||||||
$versie->ingangsdatum =mysql2date($versie->ingangsdatum);
|
$versie->ingangsdatum =mysql2date($versie->ingangsdatum);
|
||||||
$versie->systemnorm = str_replace('.', ',', $versie->systemnorm);
|
$versie->systemnorm = str_replace('.', ',', $versie->systemnorm ?? '');
|
||||||
$versie->deleteok = true;
|
$versie->deleteok = true;
|
||||||
echo json_encode($versie);
|
echo json_encode($versie);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,25 +27,19 @@ class Berichten extends MY_Controller {
|
|||||||
function checkrechten()
|
function checkrechten()
|
||||||
{
|
{
|
||||||
if ( ! $this->userid ) die;
|
if ( ! $this->userid ) die;
|
||||||
$orguserid = $this->Orgusers_model->get_fieldvalue( array("user_id" => $this->userid, "organisatie_id" => $this->globorgid), "id" );
|
echo json_encode( $this->checkadmin() );
|
||||||
$niveau = $this->Autorisaties_model->get_fieldvalue( array("orguser_id" => $orguserid), "nivo_id" );
|
|
||||||
|
|
||||||
if ( $niveau == 1 || $niveau == 2 )
|
|
||||||
{
|
|
||||||
echo json_encode( TRUE );
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
echo json_encode( FALSE );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function checkadmin(){
|
// beheerder = systeembeheerder/helpdesk (super, ongeacht gekozen organisatie)
|
||||||
|
// of niveau 1/2 bij de gekozen organisatie
|
||||||
|
private function checkadmin(){
|
||||||
|
if ( ! $this->userid ) return FALSE;
|
||||||
|
if ( $this->super ) return TRUE;
|
||||||
$orguserid = $this->Orgusers_model->get_fieldvalue( array("user_id" => $this->userid, "organisatie_id" => $this->globorgid), "id" );
|
$orguserid = $this->Orgusers_model->get_fieldvalue( array("user_id" => $this->userid, "organisatie_id" => $this->globorgid), "id" );
|
||||||
$niveau = $this->Autorisaties_model->get_fieldvalue( array("orguser_id" => $orguserid), "nivo_id" );
|
$niveau = $this->Autorisaties_model->get_fieldvalue( array("orguser_id" => $orguserid), "nivo_id" );
|
||||||
|
|
||||||
return $niveau;
|
return ( $niveau == 1 || $niveau == 2 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -101,10 +95,7 @@ class Berichten extends MY_Controller {
|
|||||||
function getAdminBerichten()
|
function getAdminBerichten()
|
||||||
{
|
{
|
||||||
if ( ! $this->userid ) die;
|
if ( ! $this->userid ) die;
|
||||||
$admin = $this->checkadmin();
|
if ( ! $this->checkadmin() ) return;
|
||||||
if(!$admin = 1 || !$admin = 2){
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
$berichten = $this->Berichten_model->getalleberichten();
|
$berichten = $this->Berichten_model->getalleberichten();
|
||||||
if ( ! $berichten )
|
if ( ! $berichten )
|
||||||
@@ -124,7 +115,7 @@ class Berichten extends MY_Controller {
|
|||||||
foreach ( $berichten ? $berichten : [] as $bericht )
|
foreach ( $berichten ? $berichten : [] as $bericht )
|
||||||
{
|
{
|
||||||
$bericht->datum = mysql2date( $bericht->startdatum );
|
$bericht->datum = mysql2date( $bericht->startdatum );
|
||||||
$bericht->inhoud = nl2br( base64_decode( $bericht->inhoud ) );
|
$bericht->inhoud = nl2br( base64_decode( $bericht->inhoud ?? '' ) );
|
||||||
}
|
}
|
||||||
return $berichten;
|
return $berichten;
|
||||||
}
|
}
|
||||||
@@ -132,10 +123,7 @@ class Berichten extends MY_Controller {
|
|||||||
function getmodules()
|
function getmodules()
|
||||||
{
|
{
|
||||||
if ( ! $this->userid ) die;
|
if ( ! $this->userid ) die;
|
||||||
$admin = $this->checkadmin();
|
if ( ! $this->checkadmin() ) return;
|
||||||
if(!$admin = 1 || !$admin = 2){
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$berichtid = $this->uri->segment( 4 );
|
$berichtid = $this->uri->segment( 4 );
|
||||||
$clusters = $this->Modules_model->getclusters();//haal alle cluster op
|
$clusters = $this->Modules_model->getclusters();//haal alle cluster op
|
||||||
|
|
||||||
@@ -198,7 +186,7 @@ class Berichten extends MY_Controller {
|
|||||||
// $clusters[$y]->vinkje = 'T';
|
// $clusters[$y]->vinkje = 'T';
|
||||||
$s = 0;
|
$s = 0;
|
||||||
$v = $s;
|
$v = $s;
|
||||||
$aantal = count( $clusters[ $y ]->modules );//ga per module na of er een bericht bij hoort, dan true
|
$aantal = is_array( $clusters[ $y ]->modules ) ? count( $clusters[ $y ]->modules ) : 0;//ga per module na of er een bericht bij hoort, dan true
|
||||||
$clusters[ $y ]->aantal = $aantal;
|
$clusters[ $y ]->aantal = $aantal;
|
||||||
for ( $s = 0; $s < $aantal; $s ++ )
|
for ( $s = 0; $s < $aantal; $s ++ )
|
||||||
{
|
{
|
||||||
@@ -234,14 +222,11 @@ class Berichten extends MY_Controller {
|
|||||||
|
|
||||||
public function saveBericht()
|
public function saveBericht()
|
||||||
{
|
{
|
||||||
$admin = $this->checkadmin();
|
if ( ! $this->checkadmin() ) return;
|
||||||
if(!$admin = 1 || !$admin = 2){
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$berichtID = $this->uri->segment( 4 );
|
$berichtID = $this->uri->segment( 4 );
|
||||||
$datum = str_replace( '/', '-', $this->input->post( 'datum' ));
|
$datum = str_replace( '/', '-', $this->input->post( 'datum' ) ?? '');
|
||||||
$samenvatting = $this->input->post( 'samenvatting' );
|
$samenvatting = $this->input->post( 'samenvatting' ) ?? '';
|
||||||
$inhoud = $this->input->post( 'inhoud' );
|
$inhoud = $this->input->post( 'inhoud' ) ?? '';
|
||||||
$samenvatting = stripslashes( implode( "", explode( "\\", $samenvatting )));
|
$samenvatting = stripslashes( implode( "", explode( "\\", $samenvatting )));
|
||||||
if (! $samenvatting || ! strlen( $samenvatting )> 3){
|
if (! $samenvatting || ! strlen( $samenvatting )> 3){
|
||||||
$this->deletebericht($berichtID);
|
$this->deletebericht($berichtID);
|
||||||
@@ -267,19 +252,13 @@ class Berichten extends MY_Controller {
|
|||||||
|
|
||||||
public function create_empty_bericht()
|
public function create_empty_bericht()
|
||||||
{
|
{
|
||||||
$admin = $this->checkadmin();
|
if ( ! $this->checkadmin() ) return;
|
||||||
if(!$admin = 1 || !$admin = 2){
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$this->Berichten_model->insert_record( ['startdatum' => date( 'Y-m-d H:i:s' )] );
|
$this->Berichten_model->insert_record( ['startdatum' => date( 'Y-m-d H:i:s' )] );
|
||||||
}
|
}
|
||||||
|
|
||||||
function koppelmodule()
|
function koppelmodule()
|
||||||
{
|
{
|
||||||
$admin = $this->checkadmin();
|
if ( ! $this->checkadmin() ) return;
|
||||||
if(!$admin = 1 || !$admin = 2){
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$vinkje = $this->clean_input( "modulevinkje" );
|
$vinkje = $this->clean_input( "modulevinkje" );
|
||||||
$berichtid = $this->clean_input( "berichtid" );
|
$berichtid = $this->clean_input( "berichtid" );
|
||||||
$modulenr = $this->clean_input( "moduleid" );
|
$modulenr = $this->clean_input( "moduleid" );
|
||||||
@@ -303,15 +282,12 @@ class Berichten extends MY_Controller {
|
|||||||
|
|
||||||
function koppelcluster()
|
function koppelcluster()
|
||||||
{
|
{
|
||||||
$admin = $this->checkadmin();
|
if ( ! $this->checkadmin() ) return;
|
||||||
if(!$admin = 1 || !$admin = 2){
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$vinkje = $this->clean_input( "clustervinkje" );
|
$vinkje = $this->clean_input( "clustervinkje" );
|
||||||
$berichtid = $this->clean_input( "berichtid" );
|
$berichtid = $this->clean_input( "berichtid" );
|
||||||
$clusterid = $this->clean_input( "clusterid" );
|
$clusterid = $this->clean_input( "clusterid" );
|
||||||
$mededeling = "er is iets mis gegaan";
|
$mededeling = "er is iets mis gegaan";
|
||||||
if ( $vinkje && $berichtid && $clusterid >= 0 )
|
if ( $vinkje && $berichtid && (int)$clusterid >= 0 )
|
||||||
{
|
{
|
||||||
$modules = $this->Modules_model->get_records_where( array("cluster_id" => $clusterid) );
|
$modules = $this->Modules_model->get_records_where( array("cluster_id" => $clusterid) );
|
||||||
if ( $vinkje == 'T' )
|
if ( $vinkje == 'T' )
|
||||||
@@ -338,10 +314,7 @@ class Berichten extends MY_Controller {
|
|||||||
|
|
||||||
function berichtomwegtegooien($berichtid){
|
function berichtomwegtegooien($berichtid){
|
||||||
if ( ! $this->userid ) die;
|
if ( ! $this->userid ) die;
|
||||||
$admin = $this->checkadmin();
|
if ( ! $this->checkadmin() ) return;
|
||||||
if(!$admin = 1 || !$admin = 2){
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$berichtid = $this->uri->segment( 4 );
|
$berichtid = $this->uri->segment( 4 );
|
||||||
if ( $berichtid )
|
if ( $berichtid )
|
||||||
{
|
{
|
||||||
@@ -356,7 +329,7 @@ class Berichten extends MY_Controller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function deletebericht($berichtid)
|
private function deletebericht($berichtid)
|
||||||
{if ( ! $this->userid ) die;
|
{if ( ! $this->userid ) die;
|
||||||
$this->Berichten_model->delete_record( $berichtid );
|
$this->Berichten_model->delete_record( $berichtid );
|
||||||
$this->Modulebericht_model->delete_record_where( array('bericht_id' => $berichtid) );
|
$this->Modulebericht_model->delete_record_where( array('bericht_id' => $berichtid) );
|
||||||
|
|||||||
@@ -84,6 +84,11 @@ class Compactsop extends MY_Controller{
|
|||||||
|
|
||||||
function download_pdf(){
|
function download_pdf(){
|
||||||
$fileID = $this->uri->segment( 4 );
|
$fileID = $this->uri->segment( 4 );
|
||||||
|
// bestandsnaam als laatste deel van de url, anders slaat de browser de pdf op als 'download'
|
||||||
|
if ( ! $this->uri->segment( 5 ) ) {
|
||||||
|
$pdfnaam = $this->Compactsop_model->get_fieldvalue(['id' => $fileID], 'pdfnaam');
|
||||||
|
if ($pdfnaam) redirect('monpas/compactsop/download_pdf/' . $fileID . '/' . preg_replace('/[^A-Za-z0-9._-]/', '', $pdfnaam));
|
||||||
|
}
|
||||||
$this->Compactsop_model->downloadCompactSop ( $fileID );
|
$this->Compactsop_model->downloadCompactSop ( $fileID );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -109,7 +109,9 @@ class Diversiteit extends MY_Controller{
|
|||||||
$schooldiversiteit = 0;
|
$schooldiversiteit = 0;
|
||||||
$schooldq = 0;
|
$schooldq = 0;
|
||||||
|
|
||||||
$groepen = $this->Groepen_model->getgroepen($orgid, $schooljaarnr);
|
// module via de url (diversiteitsmodel.js), anders de module uit de sessie
|
||||||
|
$module = $this->uri->segment(6) ? (int)$this->uri->segment(6) : (int)$this->module;
|
||||||
|
$groepen = $this->Groepen_model->getgroepen($orgid, $schooljaarnr, $module);
|
||||||
if ($groepen){
|
if ($groepen){
|
||||||
foreach($groepen as $groep){
|
foreach($groepen as $groep){
|
||||||
$schooltotaal = $schooltotaal + $groep->totaantal;
|
$schooltotaal = $schooltotaal + $groep->totaantal;
|
||||||
@@ -124,9 +126,9 @@ class Diversiteit extends MY_Controller{
|
|||||||
$schoolgewogentot = $schoolgewogentot + 24; }
|
$schoolgewogentot = $schoolgewogentot + 24; }
|
||||||
}; // foreach
|
}; // foreach
|
||||||
}// if
|
}// if
|
||||||
$schooldq = round($schooldiversiteit / $schoolgewogentot , 2);
|
if ($schoolgewogentot != 0) $schooldq = round($schooldiversiteit / $schoolgewogentot , 2);
|
||||||
$today = date("d-m-Y");
|
$today = date("d-m-Y");
|
||||||
$aantalgroepen = sizeof($groepen);
|
$aantalgroepen = is_array($groepen) ? sizeof($groepen) : 0;
|
||||||
$richtlijn=array('85%', '10%','3%','25');
|
$richtlijn=array('85%', '10%','3%','25');
|
||||||
$data=array('organisatie' => $organisatie,
|
$data=array('organisatie' => $organisatie,
|
||||||
"schooljaarnaam" => $schooljaarnaam,
|
"schooljaarnaam" => $schooljaarnaam,
|
||||||
@@ -183,11 +185,11 @@ class Diversiteit extends MY_Controller{
|
|||||||
|
|
||||||
}; // foreach
|
}; // foreach
|
||||||
}// if
|
}// if
|
||||||
$sbodq = $sbodiversiteit/$sbogewogentot;
|
$sbodq = $sbogewogentot != 0 ? $sbodiversiteit/$sbogewogentot : 0;
|
||||||
$sodq = $sodiversiteit/$sodiversiteit;
|
$sodq = $sodiversiteit != 0 ? $sodiversiteit/$sodiversiteit : 0;
|
||||||
$schooldq = round( $sbodq + $sodq, 2);
|
$schooldq = round( $sbodq + $sodq, 2);
|
||||||
$today = date("d-m-Y");
|
$today = date("d-m-Y");
|
||||||
$aantalgroepen = sizeof($groepen);
|
$aantalgroepen = is_array($groepen) ? sizeof($groepen) : 0;
|
||||||
$richtlijn=array('85%', '10%','3%','25');
|
$richtlijn=array('85%', '10%','3%','25');
|
||||||
$data=array('organisatie' => $organisatie,
|
$data=array('organisatie' => $organisatie,
|
||||||
"schooljaarnaam" => $schooljaarnaam,
|
"schooljaarnaam" => $schooljaarnaam,
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ class Diversiteitmonitor extends MY_Controller{
|
|||||||
case 2:
|
case 2:
|
||||||
case 3: $swvid = $this->Organisaties_model->get_swvid($orgid);
|
case 3: $swvid = $this->Organisaties_model->get_swvid($orgid);
|
||||||
break;
|
break;
|
||||||
default: $swvID = 0;
|
default: $swvid = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$criteria = $this->Sorteringen_model->get_criteriabijSWV($swvid);
|
$criteria = $this->Sorteringen_model->get_criteriabijSWV($swvid);
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ class Groepen extends MY_Controller{
|
|||||||
if (!$this->userid ) die;
|
if (!$this->userid ) die;
|
||||||
$groepid = $this->clean_input('id');
|
$groepid = $this->clean_input('id');
|
||||||
$nivos = $this->clean_input("niveauarray");
|
$nivos = $this->clean_input("niveauarray");
|
||||||
$nstring = implode(';', $nivos);
|
$nstring = is_array($nivos) ? implode(';', $nivos) : null;
|
||||||
|
|
||||||
$data=array('naam' => $this->clean_input('naam'),
|
$data=array('naam' => $this->clean_input('naam'),
|
||||||
'niveau' => $nstring,
|
'niveau' => $nstring,
|
||||||
@@ -332,13 +332,14 @@ class Groepen extends MY_Controller{
|
|||||||
$orgID = $this->clean_input('orgID');
|
$orgID = $this->clean_input('orgID');
|
||||||
$axovID =$this->Aantalxondersteuningsvorm_model->get_fieldvalue(["ondersteuningsvorm_id"=> $vormID, "groep_id" => $groepID], "id");
|
$axovID =$this->Aantalxondersteuningsvorm_model->get_fieldvalue(["ondersteuningsvorm_id"=> $vormID, "groep_id" => $groepID], "id");
|
||||||
if ($axovID) $this->Aantalxondersteuningsvorm_model->update_record(["archief"=> 'T', "aantal"=> 0], $axovID);
|
if ($axovID) $this->Aantalxondersteuningsvorm_model->update_record(["archief"=> 'T', "aantal"=> 0], $axovID);
|
||||||
else $data = [ 'organisatie_id' => $orgID,
|
else {
|
||||||
|
$data = [ 'organisatie_id' => $orgID,
|
||||||
'groep_id' => $groepID,
|
'groep_id' => $groepID,
|
||||||
'ondersteuningsvorm_id' => $vormID,
|
'ondersteuningsvorm_id' => $vormID,
|
||||||
'archief' => 'T',
|
'archief' => 'T',
|
||||||
'aantal' => 0];
|
'aantal' => 0];
|
||||||
|
$newid = $this->Aantalxondersteuningsvorm_model->insert_record($data);
|
||||||
$newid = $this->Aantalxondersteuningsvorm_model->insert_record($data);
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function activeerOS(){
|
function activeerOS(){
|
||||||
@@ -349,13 +350,14 @@ class Groepen extends MY_Controller{
|
|||||||
$orgID = $this->clean_input('orgID');
|
$orgID = $this->clean_input('orgID');
|
||||||
$axovID =$this->Aantalxondersteuningsvorm_model->get_fieldvalue(["ondersteuningsvorm_id"=> $vormID, "groep_id" => $groepID], "id");
|
$axovID =$this->Aantalxondersteuningsvorm_model->get_fieldvalue(["ondersteuningsvorm_id"=> $vormID, "groep_id" => $groepID], "id");
|
||||||
if ($axovID) $this->Aantalxondersteuningsvorm_model->update_record(["archief"=> 'F'], $axovID);
|
if ($axovID) $this->Aantalxondersteuningsvorm_model->update_record(["archief"=> 'F'], $axovID);
|
||||||
else $data = [ 'organisatie_id' => $orgID,
|
else {
|
||||||
'groep_id' => $groepID,
|
$data = [ 'organisatie_id' => $orgID,
|
||||||
'ondersteuningsvorm_id' => $vormID,
|
'groep_id' => $groepID,
|
||||||
'archief' => 'T',
|
'ondersteuningsvorm_id' => $vormID,
|
||||||
'aantal' => 0];
|
'archief' => 'F',
|
||||||
|
'aantal' => 0];
|
||||||
$newid = $this->Aantalxondersteuningsvorm_model->insert_record($data);
|
$newid = $this->Aantalxondersteuningsvorm_model->insert_record($data);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
function getwriter(){
|
function getwriter(){
|
||||||
$writer = false;
|
$writer = false;
|
||||||
@@ -388,7 +390,7 @@ class Groepen extends MY_Controller{
|
|||||||
$schooljaarnr = $this->clean_input('schooljaar');
|
$schooljaarnr = $this->clean_input('schooljaar');
|
||||||
$orgid = $this->clean_input('orgid');
|
$orgid = $this->clean_input('orgid');
|
||||||
$module = $this->clean_input('module');
|
$module = $this->clean_input('module');
|
||||||
$vorigegroepen = $this->Groepen_model->get(['schooljaarnr'=> $schooljaarnr - 1,
|
$vorigegroepen = $this->Groepen_model->get(['schooljaarnr'=> (int)$schooljaarnr - 1,
|
||||||
'organisatie_id' =>$orgid,
|
'organisatie_id' =>$orgid,
|
||||||
'schooltype' => 'R',
|
'schooltype' => 'R',
|
||||||
'module' => $module], false, false);
|
'module' => $module], false, false);
|
||||||
@@ -425,7 +427,7 @@ class Groepen extends MY_Controller{
|
|||||||
$schooljaarnr = $this->clean_input('schooljaar');
|
$schooljaarnr = $this->clean_input('schooljaar');
|
||||||
$orgid = $this->clean_input('orgid');
|
$orgid = $this->clean_input('orgid');
|
||||||
|
|
||||||
$vorigegroepen = $this->Groepen_model->get(['schooljaarnr'=> $schooljaarnr - 1,
|
$vorigegroepen = $this->Groepen_model->get(['schooljaarnr'=> (int)$schooljaarnr - 1,
|
||||||
'organisatie_id' =>$orgid,
|
'organisatie_id' =>$orgid,
|
||||||
'schooltype' => 'R',
|
'schooltype' => 'R',
|
||||||
'module' => 270], false, false);
|
'module' => 270], false, false);
|
||||||
|
|||||||
@@ -251,7 +251,7 @@ class Monfinoverzicht extends MY_Controller{
|
|||||||
$totbudget = $budgetten->basis + $budgetten->extra + $budgetten->overig;
|
$totbudget = $budgetten->basis + $budgetten->extra + $budgetten->overig;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$totbudget = $budget->som+ $budget->overig;
|
$totbudget = $budgetten->som + $budgetten->overig;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ class Overzichtscores extends MY_Controller{
|
|||||||
$recht = true;
|
$recht = true;
|
||||||
}
|
}
|
||||||
if($this->globorgid == $kamerid && $this->userrole <= 32){//werkt bij kamer
|
if($this->globorgid == $kamerid && $this->userrole <= 32){//werkt bij kamer
|
||||||
$recht == true;
|
$recht = true;
|
||||||
}
|
}
|
||||||
if($this->globorgid == $bgid && $this->uderrole <=128){//werkt bij bg
|
if($this->globorgid == $bgid && $this->userrole <=128){//werkt bij bg
|
||||||
$recht = true;
|
$recht = true;
|
||||||
}
|
}
|
||||||
if($this->globorgid == $orgid && $this->userrole <= 256){//management op school
|
if($this->globorgid == $orgid && $this->userrole <= 256){//management op school
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ class Overzichtsop extends MY_Controller{
|
|||||||
{
|
{
|
||||||
if (!$this->userid) die;
|
if (!$this->userid) die;
|
||||||
$schooljaarnr = $this->clean_input("schooljaarnr");
|
$schooljaarnr = $this->clean_input("schooljaarnr");
|
||||||
$criteriumID = $this->clean_input("criteriumID");
|
$criteriumID = (int)$this->clean_input("criteriumID");
|
||||||
|
|
||||||
$organisatie = $this->Organisaties_model->getorg($this->globorgid);
|
$organisatie = $this->Organisaties_model->getorg($this->globorgid);
|
||||||
$organisatie->sop = 'F';
|
$organisatie->sop = 'F';
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ class Pdfmaker extends MY_Controller{
|
|||||||
$organisatie = $this->Organisaties_model->get(['id' => $schoolid],false, true);
|
$organisatie = $this->Organisaties_model->get(['id' => $schoolid],false, true);
|
||||||
$data['inhoud' ]= $inhoud;
|
$data['inhoud' ]= $inhoud;
|
||||||
$html = $this->load->view('monpas/compactsop/sopcompact.php', $data, TRUE);
|
$html = $this->load->view('monpas/compactsop/sopcompact.php', $data, TRUE);
|
||||||
$date = date('dmY');
|
$date = date('dmY-Hi'); // tijdstip erbij om meerdere pdfs op één dag te onderscheiden
|
||||||
$zoek = [" ", "'", "/"];
|
$zoek = [" ", "'", "/"];
|
||||||
$bestandstitel = str_replace($zoek, "", $soptitel);
|
$bestandstitel = str_replace($zoek, "", $soptitel);
|
||||||
$schoolid = str_replace($zoek, "",$schoolid);
|
$schoolid = str_replace($zoek, "",$schoolid);
|
||||||
@@ -53,7 +53,6 @@ class Pdfmaker extends MY_Controller{
|
|||||||
$logonaam = $this->Schooldetails_model->get(["organisatie_id" =>$schoolid],'logo', true);
|
$logonaam = $this->Schooldetails_model->get(["organisatie_id" =>$schoolid],'logo', true);
|
||||||
if (! $logonaam) $logonaam="monpaslogo.png";
|
if (! $logonaam) $logonaam="monpaslogo.png";
|
||||||
$schoollogo = $this->config->item('vendor_url').'/images/logos/'.$logonaam;
|
$schoollogo = $this->config->item('vendor_url').'/images/logos/'.$logonaam;
|
||||||
chmod($schoollogo, 0777);
|
|
||||||
|
|
||||||
$headerdata = ['titel' =>$soptitel,
|
$headerdata = ['titel' =>$soptitel,
|
||||||
'schoolnaam' =>$sopschoolnaam ? $sopschoolnaam : '',
|
'schoolnaam' =>$sopschoolnaam ? $sopschoolnaam : '',
|
||||||
@@ -65,7 +64,7 @@ class Pdfmaker extends MY_Controller{
|
|||||||
// $footer = $this->load->view ("monpas/compactsop/compactfooter", $footerdata, TRUE);
|
// $footer = $this->load->view ("monpas/compactsop/compactfooter", $footerdata, TRUE);
|
||||||
$filenaam = $this->compactsoppath.'sop.pdf';
|
$filenaam = $this->compactsoppath.'sop.pdf';
|
||||||
|
|
||||||
$bestandsnaam = "compactsop".$bestandsschoolnaam.$schoolid.$bestandstitel.'-'.$date.'.pdf';
|
$bestandsnaam = $bestandsschoolnaam.$schoolid.$bestandstitel.'-'.$date.'.pdf';
|
||||||
$downloadnaam = $this->compactsoppath.$bestandsnaam;
|
$downloadnaam = $this->compactsoppath.$bestandsnaam;
|
||||||
|
|
||||||
// TODO check if exists
|
// TODO check if exists
|
||||||
@@ -74,7 +73,7 @@ class Pdfmaker extends MY_Controller{
|
|||||||
$csop = $this->Compactsop_model->get($data,false, true);
|
$csop = $this->Compactsop_model->get($data,false, true);
|
||||||
|
|
||||||
if ($csop && $csop->id){
|
if ($csop && $csop->id){
|
||||||
unlink($this->compactsoppath.$csop->pdfnaam);
|
if (is_file($this->compactsoppath.$csop->pdfnaam)) unlink($this->compactsoppath.$csop->pdfnaam);
|
||||||
$this->Compactsop_model->update_record(['pdfnaam'=>$bestandsnaam], $csop->id);
|
$this->Compactsop_model->update_record(['pdfnaam'=>$bestandsnaam], $csop->id);
|
||||||
$sopid = $csop->id;
|
$sopid = $csop->id;
|
||||||
} else {
|
} else {
|
||||||
@@ -89,13 +88,8 @@ class Pdfmaker extends MY_Controller{
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// header( 'Content-Description: File Transfer' );
|
// doorsturen naar een url die op de bestandsnaam eindigt, anders slaat de browser de pdf op als 'download'
|
||||||
header( 'Content-Type: application/pdf' );
|
redirect('monpas/compactsop/download_pdf/' . $sopid . '/' . preg_replace('/[^A-Za-z0-9._-]/', '', $bestandsnaam), 'location', 303);
|
||||||
header( 'Content-disposition:inline; filename="' .$bestandsnaam.'"');
|
|
||||||
// header( 'Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0' );
|
|
||||||
// header( 'Pragma: public' );
|
|
||||||
// header( 'Content-Length: ' . filesize( $downloadnaam ) );
|
|
||||||
readfile($downloadnaam);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -108,7 +108,7 @@ class Rapijkpunten extends MY_Controller{
|
|||||||
$soort = $this->Organisaties_model->get_fieldvalue(array("id"=>$this->globorgid), 'soort' );
|
$soort = $this->Organisaties_model->get_fieldvalue(array("id"=>$this->globorgid), 'soort' );
|
||||||
$level123 = false;
|
$level123 = false;
|
||||||
|
|
||||||
if ($soort > 0 && soort < 4) {
|
if ($soort > 0 && $soort < 4) {
|
||||||
$level123 == true;
|
$level123 == true;
|
||||||
}
|
}
|
||||||
echo json_encode($level123);
|
echo json_encode($level123);
|
||||||
|
|||||||
@@ -76,12 +76,12 @@ class Rapmatrix extends MY_Controller
|
|||||||
{
|
{
|
||||||
$orgID = $this->clean_input('orgid');
|
$orgID = $this->clean_input('orgid');
|
||||||
$orgsoort = $this->clean_input('orgsoort');
|
$orgsoort = $this->clean_input('orgsoort');
|
||||||
$criteriumID = $this->clean_input('criteriumid');
|
$criteriumID = (int)$this->clean_input('criteriumid');
|
||||||
$orgversieID = $this->clean_input('orgversieid');
|
$orgversieID = $this->clean_input('orgversieid');
|
||||||
$toporg = $this->clean_input('toporg');
|
$toporg = $this->clean_input('toporg');
|
||||||
$ijkpunten = $this->Ijkpunten_model->getijkpuntenMetIndicatoren($orgversieID);
|
$ijkpunten = $this->Ijkpunten_model->getijkpuntenMetIndicatoren($orgversieID);
|
||||||
|
|
||||||
$aantalY = count($ijkpunten);
|
$aantalY = is_array($ijkpunten) ? count($ijkpunten) : 0;
|
||||||
$kleurtabel = $this->kleurcodes->getkleurlegenda();
|
$kleurtabel = $this->kleurcodes->getkleurlegenda();
|
||||||
|
|
||||||
$orgversie = $this->Orgversies_model->get_record_by_id($orgversieID);
|
$orgversie = $this->Orgversies_model->get_record_by_id($orgversieID);
|
||||||
@@ -129,7 +129,7 @@ class Rapmatrix extends MY_Controller
|
|||||||
function haalInspectieScoresOp(){
|
function haalInspectieScoresOp(){
|
||||||
$orgID = $this->clean_input('orgid');
|
$orgID = $this->clean_input('orgid');
|
||||||
$orgsoort = $this->clean_input('orgsoort');
|
$orgsoort = $this->clean_input('orgsoort');
|
||||||
$criteriumID = $this->clean_input('criteriumid');
|
$criteriumID = (int)$this->clean_input('criteriumid');
|
||||||
$orgversieID = $this->clean_input('orgversieid');
|
$orgversieID = $this->clean_input('orgversieid');
|
||||||
|
|
||||||
$ijkpunten = $this->Orgversies_model->getijkpunten($orgversieID);
|
$ijkpunten = $this->Orgversies_model->getijkpunten($orgversieID);
|
||||||
@@ -153,7 +153,7 @@ class Rapmatrix extends MY_Controller
|
|||||||
echo json_encode(
|
echo json_encode(
|
||||||
array("labels" => $labels,
|
array("labels" => $labels,
|
||||||
"ijkpunten" => $ijkpunten,
|
"ijkpunten" => $ijkpunten,
|
||||||
"aantalY" => count($ijkpunten),
|
"aantalY" => is_array($ijkpunten) ? count($ijkpunten) : 0,
|
||||||
"uitslagen" => $uitslagen,
|
"uitslagen" => $uitslagen,
|
||||||
"kleurtabel" => $kleurtabel));
|
"kleurtabel" => $kleurtabel));
|
||||||
}
|
}
|
||||||
@@ -628,7 +628,7 @@ return $labels;
|
|||||||
|
|
||||||
private function getGemiddeldeScores($labels, $ijkpunten, $kleuren, $scoretype){
|
private function getGemiddeldeScores($labels, $ijkpunten, $kleuren, $scoretype){
|
||||||
|
|
||||||
$aantalY = count($ijkpunten);
|
$aantalY = is_array($ijkpunten) ? count($ijkpunten) : 0;
|
||||||
$waarden = 0;
|
$waarden = 0;
|
||||||
$nvt = [];
|
$nvt = [];
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ class Rapontwikkel extends MY_Controller {
|
|||||||
$orgversieid = $this->clean_input( "orgversionid" );
|
$orgversieid = $this->clean_input( "orgversionid" );
|
||||||
$orguserid = $this->clean_input( "orguserid" );
|
$orguserid = $this->clean_input( "orguserid" );
|
||||||
|
|
||||||
if ( $orguserid == 0 )
|
if ( (int)$orguserid == 0 )
|
||||||
{
|
{
|
||||||
$orguserid = NULL;
|
$orguserid = NULL;
|
||||||
}
|
}
|
||||||
@@ -163,7 +163,7 @@ class Rapontwikkel extends MY_Controller {
|
|||||||
|
|
||||||
if ($werktEr)
|
if ($werktEr)
|
||||||
{
|
{
|
||||||
if ( pow( 4, $orgsoort ) == $this->userrole)
|
if ( pow( 4, (int)$orgsoort ) == $this->userrole)
|
||||||
{
|
{
|
||||||
$rechten = TRUE;
|
$rechten = TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ class Schoolgegevens extends MY_Controller{
|
|||||||
|
|
||||||
// als nivo < 10 alleen verwijderen via accounts
|
// als nivo < 10 alleen verwijderen via accounts
|
||||||
$autorisatienivo = $this->Autorisaties_model->get(['orguser_id' =>$orguser->id], 'nivo_id', true);
|
$autorisatienivo = $this->Autorisaties_model->get(['orguser_id' =>$orguser->id], 'nivo_id', true);
|
||||||
if ($autorisatienivo != 10) $errorstring += " Deze gebruiker mag alleen verwijderd worden via accounts.";
|
if ($autorisatienivo != 10) $errorstring .= " Deze gebruiker mag alleen verwijderd worden via accounts.";
|
||||||
|
|
||||||
if ($errorstring <= ''){
|
if ($errorstring <= ''){
|
||||||
$this->Autorisaties_model->update_record_where(['nivo_id'=>100], ['orguser_id' =>$orguser->id]);
|
$this->Autorisaties_model->update_record_where(['nivo_id'=>100], ['orguser_id' =>$orguser->id]);
|
||||||
|
|||||||
@@ -318,7 +318,7 @@ class Sop extends MY_Controller{
|
|||||||
$sopkeuze = (new Sopkeuze($sopid));
|
$sopkeuze = (new Sopkeuze($sopid));
|
||||||
$labels = $sopkeuze->getLabels();
|
$labels = $sopkeuze->getLabels();
|
||||||
$soplabels = $sopkeuze->getHoofdstukLabels();
|
$soplabels = $sopkeuze->getHoofdstukLabels();
|
||||||
$aantal = count($soplabels);
|
$aantal = is_array($soplabels) ? count($soplabels) : 0;
|
||||||
$tweedeid='';
|
$tweedeid='';
|
||||||
if($aantal > 1) {
|
if($aantal > 1) {
|
||||||
$tweede = $soplabels[1];
|
$tweede = $soplabels[1];
|
||||||
|
|||||||
@@ -332,7 +332,7 @@ class Sopoud extends MY_Controller{
|
|||||||
$imageoa = $this->Phantom_model->create_img($result['tabel1'], 'test.png', FALSE, FALSE, array(650, 300));
|
$imageoa = $this->Phantom_model->create_img($result['tabel1'], 'test.png', FALSE, FALSE, array(650, 300));
|
||||||
$id = "oa1image1";
|
$id = "oa1image1";
|
||||||
|
|
||||||
if ( $module = 4) { $id = "oa2image1";};
|
if ( $module == 4) { $id = "oa2image1";};
|
||||||
$imagedata = "<img src='data:image/png;base64,".$imageoa."' id='".$id."'/>";
|
$imagedata = "<img src='data:image/png;base64,".$imageoa."' id='".$id."'/>";
|
||||||
|
|
||||||
echo json_encode(array('image1' => $imagedata ,
|
echo json_encode(array('image1' => $imagedata ,
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class Sortering extends MY_Controller {
|
|||||||
$label->sortering_id = $criterium->id;
|
$label->sortering_id = $criterium->id;
|
||||||
$label->naam ='niet ingedeeld';
|
$label->naam ='niet ingedeeld';
|
||||||
$label->volgorde = 'LAATST';
|
$label->volgorde = 'LAATST';
|
||||||
array_push($labels, $label);
|
if (is_array($labels)) array_push($labels, $label);
|
||||||
$criterium->labels = $labels;
|
$criterium->labels = $labels;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -74,7 +74,7 @@ class Sortering extends MY_Controller {
|
|||||||
$label->sortering_id = $criteriumid;
|
$label->sortering_id = $criteriumid;
|
||||||
$label->naam ='niet ingedeeld';
|
$label->naam ='niet ingedeeld';
|
||||||
$label->volgorde = 'LAATST';
|
$label->volgorde = 'LAATST';
|
||||||
array_push($labels, $label);
|
if (is_array($labels)) array_push($labels, $label);
|
||||||
$swv = $this->Organisaties_model->get_record_by_id($swvid);
|
$swv = $this->Organisaties_model->get_record_by_id($swvid);
|
||||||
$swv->kamers = $this->Organisaties_model->getorgsvanaf($swvid);
|
$swv->kamers = $this->Organisaties_model->getorgsvanaf($swvid);
|
||||||
|
|
||||||
|
|||||||
@@ -273,7 +273,7 @@ class Streefcijfers extends MY_Controller{
|
|||||||
}
|
}
|
||||||
|
|
||||||
$ambitie = $this->Ambities_model->mh_get_ambities($module, $this->globorgid, $this->globorgid);
|
$ambitie = $this->Ambities_model->mh_get_ambities($module, $this->globorgid, $this->globorgid);
|
||||||
if($ambitie) $ambities = array_merge($ambities,$ambitie);
|
if($ambitie) $ambities = is_array($ambities) ? array_merge($ambities,$ambitie) : null; // PHP 7 gaf null bij $ambities === false
|
||||||
else{
|
else{
|
||||||
$standaardSWVNodig = true;
|
$standaardSWVNodig = true;
|
||||||
$orgversie = $this->Orgversies_model->getOrgVersie($this->globorgid, $module);
|
$orgversie = $this->Orgversies_model->getOrgVersie($this->globorgid, $module);
|
||||||
@@ -345,6 +345,7 @@ class Streefcijfers extends MY_Controller{
|
|||||||
// $ambitie->aantalY = $this->Ijkpunten_model->telijkpunten($ambitie->orgversieID);
|
// $ambitie->aantalY = $this->Ijkpunten_model->telijkpunten($ambitie->orgversieID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (empty($orgversie)) $orgversie = new stdClass(); // PHP 7 maakte hier impliciet een object aan
|
||||||
$orgversie->aantalY = $this->Ijkpunten_model->telijkpunten($orgversie->orgversieID);
|
$orgversie->aantalY = $this->Ijkpunten_model->telijkpunten($orgversie->orgversieID);
|
||||||
$orgversie->ambitievan = $org->naamkort;
|
$orgversie->ambitievan = $org->naamkort;
|
||||||
|
|
||||||
@@ -478,7 +479,7 @@ class Streefcijfers extends MY_Controller{
|
|||||||
// zoek of de ambitie voor een nieuwe organisatie is
|
// zoek of de ambitie voor een nieuwe organisatie is
|
||||||
$alaanwezig = $this->Ambities_model->check_for_record(array("organisatie_id"=>$this->globorgid,
|
$alaanwezig = $this->Ambities_model->check_for_record(array("organisatie_id"=>$this->globorgid,
|
||||||
"orgversie_id" => $this->clean_input("orgversie_id")) );
|
"orgversie_id" => $this->clean_input("orgversie_id")) );
|
||||||
if ($id ==0 || !$alaanwezig ){
|
if ((int)$id ==0 || !$alaanwezig ){
|
||||||
$data=array("organisatie_id" => $this->globorgid,
|
$data=array("organisatie_id" => $this->globorgid,
|
||||||
"orgversie_id" => $this->clean_input("orgversie_id"),
|
"orgversie_id" => $this->clean_input("orgversie_id"),
|
||||||
"gem_score" => $this->clean_input("gemscore"),
|
"gem_score" => $this->clean_input("gemscore"),
|
||||||
|
|||||||
@@ -1,662 +0,0 @@
|
|||||||
// Build the chart
|
|
||||||
|
|
||||||
//
|
|
||||||
// fFillGraph=function(){
|
|
||||||
|
|
||||||
<?php //if (isset($data[0]->tlvs ))?>//fMakeChart('tlvs');
|
|
||||||
// <?php //if(isset($data[1]->tlvs ))?>// fMakeChart('tlvsII');
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// fMakeChart = function() {
|
|
||||||
//
|
|
||||||
// var aantallen = [];
|
|
||||||
// <?php //foreach( $data[0]->tlvs as $tlv){
|
|
||||||
// if($tlv->zwaarte == 'LAAG'){ ?>
|
|
||||||
//
|
|
||||||
// aantallen.push({
|
|
||||||
// name: 'so laag',
|
|
||||||
// y: <?php //echo intval($tlv->aantal) ?>//,
|
|
||||||
// color: '#d9ffb3'
|
|
||||||
// });
|
|
||||||
// <?php //}
|
|
||||||
//
|
|
||||||
// if($tlv->zwaarte == 'MIDDEN'){ ?>
|
|
||||||
//
|
|
||||||
// aantallen.push({
|
|
||||||
// name: 'so midden',
|
|
||||||
// y: <?php //echo intval($tlv->aantal) ?>//,
|
|
||||||
// color: '#66cc00'
|
|
||||||
// });
|
|
||||||
// <?php //}
|
|
||||||
//
|
|
||||||
// if($tlv->zwaarte == 'HOOG'){?>
|
|
||||||
//
|
|
||||||
// aantallen.push({
|
|
||||||
// name: 'so hoog',
|
|
||||||
// y: <?php //echo intval($tlv->aantal) ?>//,
|
|
||||||
// color: '#4d9900''
|
|
||||||
// });
|
|
||||||
// <?php //}
|
|
||||||
//
|
|
||||||
// if($tlv->zwaarte == 'LICHT'){ ?>
|
|
||||||
//
|
|
||||||
// aantallen.push({
|
|
||||||
// name: 'sbo licht',
|
|
||||||
// y: <?php //echo intval($tlv->aantal) ?>//,
|
|
||||||
// color: '#99d6ff'
|
|
||||||
// });
|
|
||||||
// <?php //}
|
|
||||||
//
|
|
||||||
// if($tlv->zwaarte == 'ZWAAR'){ ?>
|
|
||||||
//
|
|
||||||
// aantallen.push({
|
|
||||||
// name: 'sbo zwaar',
|
|
||||||
// y: <?php //echo intval($tlv->aantal) ?>//,
|
|
||||||
// color: '#005c99'
|
|
||||||
// });
|
|
||||||
// <?php //} } ?>
|
|
||||||
|
|
||||||
Highcharts.chart('tlvs', {
|
|
||||||
chart: {
|
|
||||||
plotBackgroundColor: null,
|
|
||||||
plotBorderWidth: null,
|
|
||||||
plotShadow: false,
|
|
||||||
type: 'pie',
|
|
||||||
margin: [0, 0, 0, 0],
|
|
||||||
spacingTop: 0,
|
|
||||||
spacingBottom: 0,
|
|
||||||
spacingLeft: 0,
|
|
||||||
spacingRight: 0
|
|
||||||
|
|
||||||
|
|
||||||
},
|
|
||||||
title: {
|
|
||||||
text: ''
|
|
||||||
},
|
|
||||||
credits: {
|
|
||||||
enabled: false
|
|
||||||
},
|
|
||||||
|
|
||||||
plotOptions: {
|
|
||||||
pie: {
|
|
||||||
allowPointSelect: true,
|
|
||||||
cursor: 'pointer',
|
|
||||||
size: '100%',
|
|
||||||
dataLabels: {
|
|
||||||
enabled: false
|
|
||||||
},
|
|
||||||
showInLegend: true,
|
|
||||||
}
|
|
||||||
},
|
|
||||||
legend: {
|
|
||||||
itemStyle: {
|
|
||||||
fontSize: '8px',
|
|
||||||
fontWeight: '200',
|
|
||||||
align: 'left',
|
|
||||||
itemDistance: '10',
|
|
||||||
borderWidth: 0,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
series: [{
|
|
||||||
name: 'tlvs',
|
|
||||||
// colorByPoint: true,
|
|
||||||
data: aantallen
|
|
||||||
}]
|
|
||||||
});
|
|
||||||
|
|
||||||
// Highcharts.chart('tlvsII', {
|
|
||||||
// chart: {
|
|
||||||
// plotBackgroundColor: null,
|
|
||||||
// plotBorderWidth: null,
|
|
||||||
// plotShadow: false,
|
|
||||||
// type: 'pie',
|
|
||||||
// margin: [0, 0, 0, 0],
|
|
||||||
// spacingTop: 0,
|
|
||||||
// spacingBottom: 0,
|
|
||||||
// spacingLeft: 0,
|
|
||||||
// spacingRight: 0
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// },
|
|
||||||
// title: {
|
|
||||||
// text: ''
|
|
||||||
// },
|
|
||||||
// credits: {
|
|
||||||
// enabled: false
|
|
||||||
// },
|
|
||||||
//
|
|
||||||
// plotOptions: {
|
|
||||||
// pie: {
|
|
||||||
// allowPointSelect: true,
|
|
||||||
// cursor: 'pointer',
|
|
||||||
// size: '100%',
|
|
||||||
// dataLabels: {
|
|
||||||
// enabled: false
|
|
||||||
// },
|
|
||||||
// showInLegend: true,
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
// legend: {
|
|
||||||
// itemStyle: {
|
|
||||||
// fontSize: '8px',
|
|
||||||
// fontWeight: '200',
|
|
||||||
// align: 'left',
|
|
||||||
// layout: 'horizontal',
|
|
||||||
// borderWidth: 0,
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// },
|
|
||||||
// },
|
|
||||||
//
|
|
||||||
// series: [{
|
|
||||||
// name: 'Brands',
|
|
||||||
// colorByPoint: true,
|
|
||||||
// data: [{
|
|
||||||
// name: 'Chrome',
|
|
||||||
// y: 61.41,
|
|
||||||
// sliced: true,
|
|
||||||
// selected: true
|
|
||||||
// }, {
|
|
||||||
// name: 'Internet Explorer',
|
|
||||||
// y: 11.84
|
|
||||||
// }, {
|
|
||||||
// name: 'Firefox',
|
|
||||||
// y: 10.85
|
|
||||||
// }, {
|
|
||||||
// name: 'Edge',
|
|
||||||
// y: 4.67
|
|
||||||
// }, {
|
|
||||||
// name: 'Safari',
|
|
||||||
// y: 4.18
|
|
||||||
// }, {
|
|
||||||
// name: 'Other',
|
|
||||||
// y: 7.05
|
|
||||||
// }]
|
|
||||||
// }]
|
|
||||||
// });
|
|
||||||
|
|
||||||
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// }();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- --><?php //if ($data[0]->tlvs ){ ?>
|
|
||||||
// $(function(){
|
|
||||||
// fFillGraph10=function(){
|
|
||||||
// var schooljaar = '<?php //echo $data[0]->aantallen->naam ?>//';
|
|
||||||
//
|
|
||||||
// var aantallen = [];
|
|
||||||
// <?php //foreach( $data[0]->tlvs as $index => $tlv){
|
|
||||||
// if($tlv->zwaarte == 'LAAG'){ ?>
|
|
||||||
//
|
|
||||||
// aantallen.push({
|
|
||||||
// name: 'so laag',
|
|
||||||
// y: <?php //echo intval($tlv->aantal) ?>//,
|
|
||||||
// color: '#d9ffb3'
|
|
||||||
// });
|
|
||||||
// <?php //}
|
|
||||||
//
|
|
||||||
// if($tlv->zwaarte == 'MIDDEN'){ ?>
|
|
||||||
//
|
|
||||||
// aantallen.push({
|
|
||||||
// name: 'so midden',
|
|
||||||
// y: <?php //echo intval($tlv->aantal) ?>//,
|
|
||||||
// color: '#66cc00'
|
|
||||||
// });
|
|
||||||
// <?php //}
|
|
||||||
//
|
|
||||||
// if($tlv->zwaarte == 'HOOG'){?>
|
|
||||||
//
|
|
||||||
// aantallen.push({
|
|
||||||
// name: 'so hoog',
|
|
||||||
// y: <?php //echo intval($tlv->aantal) ?>//,
|
|
||||||
// color: '#4d9900''
|
|
||||||
// });
|
|
||||||
// <?php //}
|
|
||||||
//
|
|
||||||
// if($tlv->zwaarte == 'LICHT'){ ?>
|
|
||||||
//
|
|
||||||
// aantallen.push({
|
|
||||||
// name: 'sbo licht',
|
|
||||||
// y: <?php //echo intval($tlv->aantal) ?>//,
|
|
||||||
// color: '#99d6ff'
|
|
||||||
// });
|
|
||||||
// <?php //}
|
|
||||||
//
|
|
||||||
// if($tlv->zwaarte == 'ZWAAR'){ ?>
|
|
||||||
//
|
|
||||||
// aantallen.push({
|
|
||||||
// name: 'sbo zwaar',
|
|
||||||
// y: <?php //echo intval($tlv->aantal) ?>//,
|
|
||||||
// color: '#005c99'
|
|
||||||
// })
|
|
||||||
// <?php //} } ?>
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// Highcharts.chart('tlvs', {
|
|
||||||
// chart: {
|
|
||||||
// backgroundColor: '#d7d8d7',
|
|
||||||
// plotBackgroundColor: '#d7d8d7',
|
|
||||||
// plotBorderWidth: null,
|
|
||||||
// plotShadow: false,
|
|
||||||
// animation: false,
|
|
||||||
// type: 'pie'
|
|
||||||
// },
|
|
||||||
// title:{
|
|
||||||
// text:''
|
|
||||||
// },
|
|
||||||
// credits: {
|
|
||||||
// enabled: false
|
|
||||||
// },
|
|
||||||
// plotOptions: {
|
|
||||||
// pie: {
|
|
||||||
// allowPointSelect: false,
|
|
||||||
// dataLabels: {
|
|
||||||
// enabled: false
|
|
||||||
// },
|
|
||||||
// showInLegend: true
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
// legend:{
|
|
||||||
// enable: true,
|
|
||||||
// margin: 0,
|
|
||||||
// layout: 'horizontal',
|
|
||||||
// itemStyle:{
|
|
||||||
// fontSize: '10px',
|
|
||||||
// fontWeight: 'normal'
|
|
||||||
// },
|
|
||||||
// labelFormatter: function () {
|
|
||||||
// return this.name + ': ' + this.y;
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
//
|
|
||||||
// series: aantallen
|
|
||||||
// });
|
|
||||||
//
|
|
||||||
// }()
|
|
||||||
// });
|
|
||||||
// <?php //} ?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?php if ($data[1]->tlvs){ ?>
|
|
||||||
$(function(){
|
|
||||||
fFillGraph15=function(){
|
|
||||||
var schooljaar = '<?php echo $data[1]->aantallen->naam ?>';
|
|
||||||
|
|
||||||
var aantallen = [];
|
|
||||||
<?php foreach( $data[1]->tlvs as $index => $tlv){
|
|
||||||
if($tlv->zwaarte == 'LAAG'){ ?>
|
|
||||||
|
|
||||||
aantallen.push({
|
|
||||||
name: 'so laag',
|
|
||||||
y: <?php echo intval($tlv->aantal) ?>,
|
|
||||||
color: '#d9ffb3'
|
|
||||||
});
|
|
||||||
<?php }
|
|
||||||
|
|
||||||
if($tlv->zwaarte == 'MIDDEN'){ ?>
|
|
||||||
|
|
||||||
aantallen.push({
|
|
||||||
name: 'so midden',
|
|
||||||
y: <?php echo intval($tlv->aantal) ?>,
|
|
||||||
color: '#66cc00'
|
|
||||||
});
|
|
||||||
<?php }
|
|
||||||
|
|
||||||
if($tlv->zwaarte == 'HOOG'){?>
|
|
||||||
|
|
||||||
aantallen.push({
|
|
||||||
name: 'so hoog',
|
|
||||||
y: <?php echo intval($tlv->aantal) ?>,
|
|
||||||
color: '#4d9900''
|
|
||||||
});
|
|
||||||
<?php }
|
|
||||||
|
|
||||||
if($tlv->zwaarte == 'LICHT'){ ?>
|
|
||||||
|
|
||||||
aantallen.push({
|
|
||||||
name: 'sbo licht',
|
|
||||||
y: <?php echo intval($tlv->aantal) ?>,
|
|
||||||
color: '#99d6ff'
|
|
||||||
});
|
|
||||||
<?php }
|
|
||||||
|
|
||||||
if($tlv->zwaarte == 'ZWAAR'){ ?>
|
|
||||||
|
|
||||||
aantallen.push({
|
|
||||||
name: 'sbo zwaar',
|
|
||||||
y: <?php echo intval($tlv->aantal) ?>,
|
|
||||||
color: '#005c99'
|
|
||||||
});
|
|
||||||
<?php } } ?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Highcharts.chart('tlvsII', {
|
|
||||||
chart: {
|
|
||||||
backgroundColor: '#d7d8d7',
|
|
||||||
plotBackgroundColor: '#d7d8d7',
|
|
||||||
plotBorderWidth: null,
|
|
||||||
plotShadow: false,
|
|
||||||
animation: false,
|
|
||||||
type: 'pie'
|
|
||||||
},
|
|
||||||
title:{
|
|
||||||
text:''
|
|
||||||
},
|
|
||||||
credits: {
|
|
||||||
enabled: false
|
|
||||||
},
|
|
||||||
plotOptions: {
|
|
||||||
pie: {
|
|
||||||
allowPointSelect: false,
|
|
||||||
dataLabels: {
|
|
||||||
enabled: false
|
|
||||||
},
|
|
||||||
showInLegend: true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
legend:{
|
|
||||||
enable: true,
|
|
||||||
margin: 0,
|
|
||||||
layout: 'horizontal',
|
|
||||||
itemStyle:{
|
|
||||||
fontSize: '10px',
|
|
||||||
fontWeight: 'normal'
|
|
||||||
},
|
|
||||||
labelFormatter: function () {
|
|
||||||
return this.name + ': ' + this.y;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
series: aantallen
|
|
||||||
});
|
|
||||||
|
|
||||||
}()
|
|
||||||
});
|
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?php if(count($data) == 1 &&($data[0]->tlvs || $data[1]->tlvs) ){ ?>
|
|
||||||
|
|
||||||
<div class="sopKaderGrafiek" style="margin-top: 0; padding-top: 0;">
|
|
||||||
<div class="col-xs-12" style="margin-top: 0; padding-top: 0; text-align: center">
|
|
||||||
<span style=" font-size: 0.8em !important;">TLVs per zorgzwaarte</span>
|
|
||||||
</div>
|
|
||||||
<div class="col-xs-12">
|
|
||||||
<?php if($data[0]->tlvs){ ?>
|
|
||||||
<div class="highcharts-background"
|
|
||||||
id="tlvs"
|
|
||||||
style="width: 350px; height: 125px; ">
|
|
||||||
</div>
|
|
||||||
<?php }
|
|
||||||
if($data[1]->tlvs){ ?>
|
|
||||||
<div class="highcharts-background"
|
|
||||||
id="tlvs"
|
|
||||||
style="width: 350px; height: 125px; ">
|
|
||||||
</div>
|
|
||||||
<?php } ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?php if($data[0]->arrangementen && $data[1]->arrangementen){ ?>
|
|
||||||
|
|
||||||
<div class="sopkaderGrafiek" style="margin-top: 0; padding-top: 0;">
|
|
||||||
<div class=" col-xs-12" style="margin-top: 0; padding-top: 0;">
|
|
||||||
<p style=" font-size: 0.8em !important; text-align:center">TLvs Per Zorgzwaarte</p>
|
|
||||||
</div>
|
|
||||||
<div class=" col-xs-6" style="padding:0;">
|
|
||||||
<div class="highcharts-background"
|
|
||||||
id="tlvs"
|
|
||||||
style="width: 175px; ">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class=" col-xs-6" style="padding:0;">
|
|
||||||
<div class="highcharts-background"
|
|
||||||
id="tlvsII"
|
|
||||||
style="width: 175px; ">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php } ?>
|
|
||||||
<?php if(count($data) == 1 && ($data[0]->arrangementen || $data[1]->arrangementen)){ ?>
|
|
||||||
|
|
||||||
<div class="sopkaderGrafiek" style="margin-top: 0; padding-top: 0;">
|
|
||||||
<div class=" col-xs-12" style="margin-top: 0; padding-top: 0;">
|
|
||||||
<p style=" font-size: 0.8em !important; text-align:center">TLVs per zorgzwaarte</p>
|
|
||||||
</div>
|
|
||||||
<div class=" col-xs-12" style="padding:0;">
|
|
||||||
<?php if($data[0]->arrangementen){ ?>
|
|
||||||
<div class="highcharts-background"
|
|
||||||
id="arrangementen"
|
|
||||||
style="width: 350px; ">
|
|
||||||
</div>
|
|
||||||
<?php }
|
|
||||||
if($data[1]->arrangementen){ ?>
|
|
||||||
<div class="highcharts-background"
|
|
||||||
id="arrangementenII"
|
|
||||||
style="width: 350px; ">
|
|
||||||
</div>
|
|
||||||
<?php } ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?php if ($data[0]->arrangementen){ ?>
|
|
||||||
$(function(){
|
|
||||||
fFillGraph11=function(){
|
|
||||||
var schooljaar = '<?php echo $data[0]->aantallen->naam ?>';
|
|
||||||
var arrangementen = [];
|
|
||||||
var naam = "";
|
|
||||||
var lengte = "";
|
|
||||||
var duur = "";
|
|
||||||
|
|
||||||
|
|
||||||
<?php foreach($data[0]->arrangementen as $index => $arrangement){
|
|
||||||
if(isset($arrangement->aantal)){
|
|
||||||
if($arrangement->aantal > 0) { ?>
|
|
||||||
|
|
||||||
lengte = 10;
|
|
||||||
duur = '>= 6 wkn';
|
|
||||||
<?php if($arrangement->lengte == 'K'){ ?>
|
|
||||||
lengte = 5;
|
|
||||||
duur = '< 6 wkn';
|
|
||||||
<?php }?>
|
|
||||||
|
|
||||||
naam = '<?= $arrangement->naam ?>'+'('+'<?= $arrangement->leeftijd ?>'+') '+ '<?= $arrangement->aantal ?>' + ' lln.' + duur;
|
|
||||||
|
|
||||||
arrangementen.push({
|
|
||||||
name : naam,
|
|
||||||
y : <?php echo intval( $arrangement->aantal) ?>,
|
|
||||||
z : lengte
|
|
||||||
color : <?php echo $arrangement->kleur ?>,
|
|
||||||
});
|
|
||||||
<?php }
|
|
||||||
}; }?>
|
|
||||||
if (arrangementen.length <=0) return;
|
|
||||||
|
|
||||||
Highcharts.chart('arrangementen', {
|
|
||||||
chart: {
|
|
||||||
type: 'variablepie',
|
|
||||||
backgroundColor: '#d7d8d7',
|
|
||||||
plotBackgroundColor: '#d7d8d7',
|
|
||||||
animation: false,
|
|
||||||
height: 185
|
|
||||||
},
|
|
||||||
title:{
|
|
||||||
text:'',
|
|
||||||
margin: 0
|
|
||||||
},
|
|
||||||
credits: {
|
|
||||||
enabled: false
|
|
||||||
},
|
|
||||||
legend:{
|
|
||||||
enable: true,
|
|
||||||
margin: 0,
|
|
||||||
width: 175,
|
|
||||||
itemStyle: {
|
|
||||||
fontWeight: 'normal',
|
|
||||||
fontSize: 8
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
plotOptions: {
|
|
||||||
pie: {
|
|
||||||
allowPointSelect: false,
|
|
||||||
dataLabels: {
|
|
||||||
enabled: false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
series: [{
|
|
||||||
minPointSize: 10,
|
|
||||||
colorByPoint: true,
|
|
||||||
innerSize: '20%',
|
|
||||||
zMin: 0,
|
|
||||||
name: 'arrangementen',
|
|
||||||
data: arrangementen,
|
|
||||||
dataLabels: {
|
|
||||||
enabled: false
|
|
||||||
},
|
|
||||||
showInLegend: true
|
|
||||||
}]
|
|
||||||
});
|
|
||||||
}()
|
|
||||||
});
|
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
<?php if ($data[1]->arrangementen){ ?>
|
|
||||||
$(function(){
|
|
||||||
fFillGraph12=function(){
|
|
||||||
var schooljaar = '<?php echo $data[1]->aantallen->naam ?>';
|
|
||||||
var arrangementen = [];
|
|
||||||
var naamV = "";
|
|
||||||
var lengte = "";
|
|
||||||
var duur = "";
|
|
||||||
|
|
||||||
<?php foreach($data[1]->arrangementen as $index => $arrangement){
|
|
||||||
if(isset($arrangement->aantal)){
|
|
||||||
if($arrangement->aantal > 0) { ?>
|
|
||||||
lengte = 10;
|
|
||||||
duur = '>= 6 wkn';
|
|
||||||
<?php if($arrangement->lengte == 'K'){ ?>
|
|
||||||
lengte = 5;
|
|
||||||
duur = '< 6 wkn';
|
|
||||||
<?php }?>
|
|
||||||
|
|
||||||
naam = '<?=$arrangement->naam ?>'+ '('+'<?= $arrangement->leeftijd ?>'+') '+ '<?= $arrangement->aantal ?>' + ' lln.' + duur;
|
|
||||||
|
|
||||||
arrangementen.push({
|
|
||||||
name: naam,
|
|
||||||
y : <?php echo intval($arrangement->aantal) ?>,
|
|
||||||
z : lengte
|
|
||||||
color : <?php echo $arrangement->kleur ?>,
|
|
||||||
});
|
|
||||||
<?php }; }; }?>
|
|
||||||
|
|
||||||
if (arrangementen.length <= 0) return;
|
|
||||||
|
|
||||||
Highcharts.chart('arrangementenII', {
|
|
||||||
chart: {
|
|
||||||
type: 'variablepie',
|
|
||||||
backgroundColor: '#d7d8d7',
|
|
||||||
plotBackgroundColor: '#d7d8d7',
|
|
||||||
animation: false,
|
|
||||||
height: 185
|
|
||||||
},
|
|
||||||
legend:{
|
|
||||||
enable: true,
|
|
||||||
margin: 0,
|
|
||||||
width: 175,
|
|
||||||
itemStyle: {
|
|
||||||
fontWeight: 'normal',
|
|
||||||
fontSize: 8
|
|
||||||
}
|
|
||||||
},
|
|
||||||
title:{
|
|
||||||
text:'',
|
|
||||||
marginTop: 0
|
|
||||||
},
|
|
||||||
credits: {
|
|
||||||
enabled: false
|
|
||||||
},
|
|
||||||
plotOptions: {
|
|
||||||
pie: {
|
|
||||||
allowPointSelect: false,
|
|
||||||
dataLabels: {
|
|
||||||
enabled: false,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
series: [{
|
|
||||||
minPointSize: 10,
|
|
||||||
colorByPoint: true,
|
|
||||||
innerSize: '20%',
|
|
||||||
animation: false,
|
|
||||||
zMin: 0,
|
|
||||||
name: 'arrangementen',
|
|
||||||
data: arrangementen,
|
|
||||||
dataLabels: {
|
|
||||||
enabled: false
|
|
||||||
},
|
|
||||||
showInLegend: true
|
|
||||||
|
|
||||||
}]
|
|
||||||
});
|
|
||||||
}()
|
|
||||||
});
|
|
||||||
<?php } ?>
|
|
||||||
@@ -189,7 +189,7 @@ class Filefolders extends MY_Controller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function magDelete($fileid){
|
private function magDelete($fileid){
|
||||||
$owner = $this->Files_model->get(['id'=>$fileid],owner,true);
|
$owner = $this->Files_model->get(['id'=>$fileid],'owner',true);
|
||||||
if ($owner == $this->userid) return true;
|
if ($owner == $this->userid) return true;
|
||||||
else return false;
|
else return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ class Functies extends MY_Controller
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($functies && sizeof($functies > 1)) {
|
if ($functies) {
|
||||||
$test = (array)$functies;
|
$test = (array)$functies;
|
||||||
usort($test, array($this, 'opDoelgroep'));
|
usort($test, array($this, 'opDoelgroep'));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ class Organisaties extends MY_Controller{
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$orgs = $this->Organisaties_model->getuserorgs($this->userid);
|
$orgs = $this->Organisaties_model->getuserorgs($this->userid);
|
||||||
if (count($orgs) == 1) $orgs = null; // als er maar 1 organisatie is , kan de gebruiker niet switchen
|
if (!$orgs || count($orgs) == 1) $orgs = null; // als er maar 1 organisatie is , kan de gebruiker niet switchen
|
||||||
}
|
}
|
||||||
echo json_encode($orgs);
|
echo json_encode($orgs);
|
||||||
}
|
}
|
||||||
@@ -227,7 +227,7 @@ class Organisaties extends MY_Controller{
|
|||||||
$zoekstr = $this->input->post("zoekstring");
|
$zoekstr = $this->input->post("zoekstring");
|
||||||
$results = $this->Organisaties_model->zoekorgs($zoekstr);
|
$results = $this->Organisaties_model->zoekorgs($zoekstr);
|
||||||
if (!$results){$errortekst = "Geen resultaten gevonden";};
|
if (!$results){$errortekst = "Geen resultaten gevonden";};
|
||||||
if (count($results) > 150) {
|
if ($results && count($results) > 150) {
|
||||||
$errortekst ="Teveel overeenkomende gegevens gevonden. Maak uw zoekcriteria specifieker.";
|
$errortekst ="Teveel overeenkomende gegevens gevonden. Maak uw zoekcriteria specifieker.";
|
||||||
$results = '';}
|
$results = '';}
|
||||||
echo json_encode(array("results"=>$results, "errortekst" =>$errortekst));
|
echo json_encode(array("results"=>$results, "errortekst" =>$errortekst));
|
||||||
|
|||||||
@@ -309,7 +309,7 @@ class Portal extends MY_Controller {
|
|||||||
|
|
||||||
$licenties = array_merge( $ongeclusterd, $clusters);
|
$licenties = array_merge( $ongeclusterd, $clusters);
|
||||||
usort($licenties, array($this, 'opAlfabet'));
|
usort($licenties, array($this, 'opAlfabet'));
|
||||||
usort($keuze, array($this, 'opAlfabet'));
|
if (is_array($keuze)) usort($keuze, array($this, 'opAlfabet'));
|
||||||
$clusternaam = $this->Licenties_model->get_clusterNaam($clusterId);
|
$clusternaam = $this->Licenties_model->get_clusterNaam($clusterId);
|
||||||
|
|
||||||
$geselecteerd = $this->arrayinArray($licenties, $keuzesarray, $clusterId, $clusternaam);
|
$geselecteerd = $this->arrayinArray($licenties, $keuzesarray, $clusterId, $clusternaam);
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ class Upload extends MY_Controller {
|
|||||||
}
|
}
|
||||||
private function sharedUpload($fn, $folder, $module,$docID = false){
|
private function sharedUpload($fn, $folder, $module,$docID = false){
|
||||||
$newName = $this->random_str(12);
|
$newName = $this->random_str(12);
|
||||||
$fileExists = $this->CheckFileExists($fn['name'], $module);
|
$fileExists = $this->CheckFileExists(is_array($fn) ? $fn['name'] : '', $module);
|
||||||
// nog afvangen : file exists maar een doc id meegegeven: dan moet de file overschreven worden
|
// nog afvangen : file exists maar een doc id meegegeven: dan moet de file overschreven worden
|
||||||
$error ='';
|
$error ='';
|
||||||
if ($fn) {
|
if ($fn) {
|
||||||
|
|||||||
@@ -70,7 +70,9 @@ class Users extends MY_Controller{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($userorg->soort=1){
|
// boom in 'orgs' voor elke soort; gebruikersmodel.js gebruikt alleen deze
|
||||||
|
// (was 'if ($userorg->soort=1)': een toewijzing die altijd waar was en soort overschreef)
|
||||||
|
{
|
||||||
$userorg->orgs= $this->Organisaties_model->getorgsvanaf($userorg->id);
|
$userorg->orgs= $this->Organisaties_model->getorgsvanaf($userorg->id);
|
||||||
if ($userorg->orgs){
|
if ($userorg->orgs){
|
||||||
foreach($userorg->orgs as $kamer){
|
foreach($userorg->orgs as $kamer){
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ class MY_Controller extends CI_Controller{
|
|||||||
|
|
||||||
|
|
||||||
function clean_input($post){
|
function clean_input($post){
|
||||||
return str_replace('null', '', $this->db->escape_str($this->input->post($post), TRUE));
|
return str_replace('null', '', $this->db->escape_str($this->input->post($post) ?? '', TRUE));
|
||||||
}
|
}
|
||||||
function check_online_status() {
|
function check_online_status() {
|
||||||
if ( ! $this->uri->segment( 2 ) || $this->uri->segment( 1 ) == 'login' ) return TRUE;
|
if ( ! $this->uri->segment( 2 ) || $this->uri->segment( 1 ) == 'login' ) return TRUE;
|
||||||
|
|||||||
@@ -13,9 +13,11 @@
|
|||||||
|
|
||||||
|
|
||||||
class MY_Model extends CI_Model{
|
class MY_Model extends CI_Model{
|
||||||
|
|
||||||
function __construct(){
|
function __construct(){
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
|
// Disable ONLY_FULL_GROUP_BY for legacy queries
|
||||||
|
$this->db->query("SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''))");
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_record_by_id($id, $fieldname=FALSE, $row=TRUE){
|
function get_record_by_id($id, $fieldname=FALSE, $row=TRUE){
|
||||||
@@ -74,7 +76,22 @@ class MY_Model extends CI_Model{
|
|||||||
|
|
||||||
function get_query_result(){
|
function get_query_result(){
|
||||||
$query = $this->db->query($this->sql);
|
$query = $this->db->query($this->sql);
|
||||||
if($query->num_rows()==0){
|
if($query === FALSE){
|
||||||
|
$error = $this->db->error();
|
||||||
|
log_message('error', 'Database query failed: ' . $error['message'] . ' | SQL: ' . $this->sql);
|
||||||
|
// Tijdelijk ook direct tonen voor debugging
|
||||||
|
if(ENVIRONMENT !== 'production'){
|
||||||
|
echo "SQL Error: " . $error['message'] . "\n";
|
||||||
|
echo "SQL: " . $this->sql . "\n";
|
||||||
|
}
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
$num_rows = $query->num_rows();
|
||||||
|
// Tijdelijk loggen voor debugging
|
||||||
|
if(ENVIRONMENT !== 'production'){
|
||||||
|
log_message('debug', 'Query returned ' . $num_rows . ' rows | SQL: ' . substr($this->sql, 0, 100));
|
||||||
|
}
|
||||||
|
if($num_rows == 0){
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}else{
|
}else{
|
||||||
return $query->result();
|
return $query->result();
|
||||||
|
|||||||
@@ -15,14 +15,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function date2mysql($date){
|
function date2mysql($date){
|
||||||
return date('Y-m-d', strtotime($date));
|
return date('Y-m-d', strtotime($date ?? ''));
|
||||||
}
|
}
|
||||||
|
|
||||||
function mysql2date($date){
|
function mysql2date($date){
|
||||||
return date('d-m-Y', strtotime($date));
|
return date('d-m-Y', strtotime($date ?? ''));
|
||||||
}
|
}
|
||||||
function mysql2bedrag($bedrag){
|
function mysql2bedrag($bedrag){
|
||||||
$bedrag2=number_format($bedrag,2,",",".");
|
$bedrag2=number_format((float)$bedrag,2,",",".");
|
||||||
return $bedrag2;
|
return $bedrag2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -32,3 +32,8 @@
|
|||||||
$message = stripslashes($message);
|
$message = stripslashes($message);
|
||||||
return ($message);
|
return ($message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// script uit public/ ingesloten in de html, zodat de printserver het niet van app.monpas.nl hoeft te halen
|
||||||
|
function inline_script($pad){
|
||||||
|
return '<script type="text/javascript">' . file_get_contents(FCPATH . $pad) . '</script>';
|
||||||
|
}
|
||||||
|
|||||||
@@ -1323,7 +1323,7 @@ class FirePHP {
|
|||||||
|
|
||||||
$name = $raw_name;
|
$name = $raw_name;
|
||||||
|
|
||||||
if ($name{0} == "\0") {
|
if ($name[0] == "\0") {
|
||||||
$parts = explode("\0", $name);
|
$parts = explode("\0", $name);
|
||||||
$name = $parts[2];
|
$name = $parts[2];
|
||||||
}
|
}
|
||||||
@@ -1370,7 +1370,7 @@ class FirePHP {
|
|||||||
if (self::is_utf8($Object)) {
|
if (self::is_utf8($Object)) {
|
||||||
return $Object;
|
return $Object;
|
||||||
} else {
|
} else {
|
||||||
return utf8_encode($Object);
|
return mb_convert_encoding((string)$Object, 'UTF-8', 'ISO-8859-1');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $return;
|
return $return;
|
||||||
@@ -1502,17 +1502,17 @@ class FirePHP {
|
|||||||
case 2:
|
case 2:
|
||||||
// return a UTF-16 character from a 2-byte UTF-8 char
|
// return a UTF-16 character from a 2-byte UTF-8 char
|
||||||
// see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
// see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
||||||
return chr(0x07 & (ord($utf8{0}) >> 2))
|
return chr(0x07 & (ord($utf8[0]) >> 2))
|
||||||
. chr((0xC0 & (ord($utf8{0}) << 6))
|
. chr((0xC0 & (ord($utf8[0]) << 6))
|
||||||
| (0x3F & ord($utf8{1})));
|
| (0x3F & ord($utf8[1])));
|
||||||
|
|
||||||
case 3:
|
case 3:
|
||||||
// return a UTF-16 character from a 3-byte UTF-8 char
|
// return a UTF-16 character from a 3-byte UTF-8 char
|
||||||
// see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
// see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
||||||
return chr((0xF0 & (ord($utf8{0}) << 4))
|
return chr((0xF0 & (ord($utf8[0]) << 4))
|
||||||
| (0x0F & (ord($utf8{1}) >> 2)))
|
| (0x0F & (ord($utf8[1]) >> 2)))
|
||||||
. chr((0xC0 & (ord($utf8{1}) << 6))
|
. chr((0xC0 & (ord($utf8[1]) << 6))
|
||||||
| (0x7F & ord($utf8{2})));
|
| (0x7F & ord($utf8[2])));
|
||||||
}
|
}
|
||||||
|
|
||||||
// ignoring UTF-32 for now, sorry
|
// ignoring UTF-32 for now, sorry
|
||||||
@@ -1564,7 +1564,7 @@ class FirePHP {
|
|||||||
*/
|
*/
|
||||||
for ($c = 0; $c < $strlen_var; ++$c) {
|
for ($c = 0; $c < $strlen_var; ++$c) {
|
||||||
|
|
||||||
$ord_var_c = ord($var{$c});
|
$ord_var_c = ord($var[$c]);
|
||||||
|
|
||||||
switch (true) {
|
switch (true) {
|
||||||
case $ord_var_c == 0x08:
|
case $ord_var_c == 0x08:
|
||||||
@@ -1587,18 +1587,18 @@ class FirePHP {
|
|||||||
case $ord_var_c == 0x2F:
|
case $ord_var_c == 0x2F:
|
||||||
case $ord_var_c == 0x5C:
|
case $ord_var_c == 0x5C:
|
||||||
// double quote, slash, slosh
|
// double quote, slash, slosh
|
||||||
$ascii .= '\\'.$var{$c};
|
$ascii .= '\\'.$var[$c];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)):
|
case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)):
|
||||||
// characters U-00000000 - U-0000007F (same as ASCII)
|
// characters U-00000000 - U-0000007F (same as ASCII)
|
||||||
$ascii .= $var{$c};
|
$ascii .= $var[$c];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case (($ord_var_c & 0xE0) == 0xC0):
|
case (($ord_var_c & 0xE0) == 0xC0):
|
||||||
// characters U-00000080 - U-000007FF, mask 110XXXXX
|
// characters U-00000080 - U-000007FF, mask 110XXXXX
|
||||||
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
||||||
$char = pack('C*', $ord_var_c, ord($var{$c + 1}));
|
$char = pack('C*', $ord_var_c, ord($var[$c + 1]));
|
||||||
$c += 1;
|
$c += 1;
|
||||||
$utf16 = $this->json_utf82utf16($char);
|
$utf16 = $this->json_utf82utf16($char);
|
||||||
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
||||||
@@ -1608,8 +1608,8 @@ class FirePHP {
|
|||||||
// characters U-00000800 - U-0000FFFF, mask 1110XXXX
|
// characters U-00000800 - U-0000FFFF, mask 1110XXXX
|
||||||
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
||||||
$char = pack('C*', $ord_var_c,
|
$char = pack('C*', $ord_var_c,
|
||||||
ord($var{$c + 1}),
|
ord($var[$c + 1]),
|
||||||
ord($var{$c + 2}));
|
ord($var[$c + 2]));
|
||||||
$c += 2;
|
$c += 2;
|
||||||
$utf16 = $this->json_utf82utf16($char);
|
$utf16 = $this->json_utf82utf16($char);
|
||||||
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
||||||
@@ -1619,9 +1619,9 @@ class FirePHP {
|
|||||||
// characters U-00010000 - U-001FFFFF, mask 11110XXX
|
// characters U-00010000 - U-001FFFFF, mask 11110XXX
|
||||||
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
||||||
$char = pack('C*', $ord_var_c,
|
$char = pack('C*', $ord_var_c,
|
||||||
ord($var{$c + 1}),
|
ord($var[$c + 1]),
|
||||||
ord($var{$c + 2}),
|
ord($var[$c + 2]),
|
||||||
ord($var{$c + 3}));
|
ord($var[$c + 3]));
|
||||||
$c += 3;
|
$c += 3;
|
||||||
$utf16 = $this->json_utf82utf16($char);
|
$utf16 = $this->json_utf82utf16($char);
|
||||||
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
||||||
@@ -1631,10 +1631,10 @@ class FirePHP {
|
|||||||
// characters U-00200000 - U-03FFFFFF, mask 111110XX
|
// characters U-00200000 - U-03FFFFFF, mask 111110XX
|
||||||
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
||||||
$char = pack('C*', $ord_var_c,
|
$char = pack('C*', $ord_var_c,
|
||||||
ord($var{$c + 1}),
|
ord($var[$c + 1]),
|
||||||
ord($var{$c + 2}),
|
ord($var[$c + 2]),
|
||||||
ord($var{$c + 3}),
|
ord($var[$c + 3]),
|
||||||
ord($var{$c + 4}));
|
ord($var[$c + 4]));
|
||||||
$c += 4;
|
$c += 4;
|
||||||
$utf16 = $this->json_utf82utf16($char);
|
$utf16 = $this->json_utf82utf16($char);
|
||||||
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
||||||
@@ -1644,11 +1644,11 @@ class FirePHP {
|
|||||||
// characters U-04000000 - U-7FFFFFFF, mask 1111110X
|
// characters U-04000000 - U-7FFFFFFF, mask 1111110X
|
||||||
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
||||||
$char = pack('C*', $ord_var_c,
|
$char = pack('C*', $ord_var_c,
|
||||||
ord($var{$c + 1}),
|
ord($var[$c + 1]),
|
||||||
ord($var{$c + 2}),
|
ord($var[$c + 2]),
|
||||||
ord($var{$c + 3}),
|
ord($var[$c + 3]),
|
||||||
ord($var{$c + 4}),
|
ord($var[$c + 4]),
|
||||||
ord($var{$c + 5}));
|
ord($var[$c + 5]));
|
||||||
$c += 5;
|
$c += 5;
|
||||||
$utf16 = $this->json_utf82utf16($char);
|
$utf16 = $this->json_utf82utf16($char);
|
||||||
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
||||||
|
|||||||
@@ -14,6 +14,9 @@ class Diversiteit
|
|||||||
private $vormen;
|
private $vormen;
|
||||||
private $factoren ='';
|
private $factoren ='';
|
||||||
private $diversiteit = [];
|
private $diversiteit = [];
|
||||||
|
private $schooljaarnr;
|
||||||
|
private $orgid;
|
||||||
|
private $modulenr;
|
||||||
|
|
||||||
public function getDiversiteit(){
|
public function getDiversiteit(){
|
||||||
return $this->diversiteit;
|
return $this->diversiteit;
|
||||||
|
|||||||
@@ -46,6 +46,9 @@ class Diversiteitafbeeldingen {
|
|||||||
private $somdq;
|
private $somdq;
|
||||||
private $totdq;
|
private $totdq;
|
||||||
private $diversiteitafbeeldingen =[];
|
private $diversiteitafbeeldingen =[];
|
||||||
|
private $modulenr;
|
||||||
|
private $orgversieid;
|
||||||
|
private $diversiteit;
|
||||||
|
|
||||||
public function __construct($diversiteit, $modulenr, $orgversieid){
|
public function __construct($diversiteit, $modulenr, $orgversieid){
|
||||||
$this->CI = & get_instance();
|
$this->CI = & get_instance();
|
||||||
|
|||||||
@@ -37,6 +37,11 @@ class Gemiddeldenafbeeldingen {
|
|||||||
private $disablenvt = 0;
|
private $disablenvt = 0;
|
||||||
|
|
||||||
private $gemiddeldenafbeeldingen;
|
private $gemiddeldenafbeeldingen;
|
||||||
|
private $gemiddeldescores;
|
||||||
|
private $modulenr;
|
||||||
|
private $orgversieid;
|
||||||
|
private $orgid;
|
||||||
|
private $clusterid;
|
||||||
|
|
||||||
public function __construct(Gemiddeldescores $gemiddeldescores, $modulenr, $orgversieid, $clusterid, $orgid){
|
public function __construct(Gemiddeldescores $gemiddeldescores, $modulenr, $orgversieid, $clusterid, $orgid){
|
||||||
$this->CI = & get_instance();
|
$this->CI = & get_instance();
|
||||||
|
|||||||
@@ -24,6 +24,18 @@ class Gemiddeldescores
|
|||||||
private $welkehoogste;
|
private $welkehoogste;
|
||||||
private $laagstescore = 110;
|
private $laagstescore = 110;
|
||||||
private $hoogstescore = 0;
|
private $hoogstescore = 0;
|
||||||
|
private $orgversieid;
|
||||||
|
private $orgid;
|
||||||
|
private $scoretype;
|
||||||
|
private $results;
|
||||||
|
private $org;
|
||||||
|
private $orgnaam;
|
||||||
|
private $kleuren;
|
||||||
|
private $onderorgs;
|
||||||
|
private $orgstring;
|
||||||
|
private $leerkrachtscores;
|
||||||
|
private $ijkpuntscore;
|
||||||
|
private $gemiddelde;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -446,7 +458,7 @@ class Gemiddeldescores
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function addGemiddeldeScore(){
|
private function addGemiddeldeScore(){
|
||||||
if(! $this->gemiddelde) return;
|
if(! $this->gemiddelde || ! is_array($this->ijkpunten)) return;
|
||||||
array_push($this->ijkpunten, $this->gemiddelde);
|
array_push($this->ijkpunten, $this->gemiddelde);
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -491,7 +503,7 @@ class Gemiddeldescores
|
|||||||
|
|
||||||
private function setGevuldeVersies12(){
|
private function setGevuldeVersies12(){
|
||||||
$orgids = [];
|
$orgids = [];
|
||||||
if (count($this->onderorgs) > 0) {
|
if (!empty($this->onderorgs)) {
|
||||||
foreach ($this->onderorgs as $index => $this->org) {
|
foreach ($this->onderorgs as $index => $this->org) {
|
||||||
$orgids[] = $this->org->id;
|
$orgids[] = $this->org->id;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,6 +18,9 @@ class Hoofdstuk
|
|||||||
private $vervangingscode;
|
private $vervangingscode;
|
||||||
private $contentid;
|
private $contentid;
|
||||||
private $hoofdstuk;
|
private $hoofdstuk;
|
||||||
|
private $chapterid;
|
||||||
|
private $orgversieid;
|
||||||
|
private $profielid;
|
||||||
|
|
||||||
|
|
||||||
private $CI;
|
private $CI;
|
||||||
|
|||||||
@@ -16,8 +16,11 @@ class Hoofdstukkeuze
|
|||||||
private $selectie;
|
private $selectie;
|
||||||
private $selecties = [];
|
private $selecties = [];
|
||||||
private $CI;
|
private $CI;
|
||||||
|
private $orgversieid;
|
||||||
|
private $chapterid;
|
||||||
|
private $vergelijkingen;
|
||||||
|
|
||||||
public function __construct($chapterid, $orgversieid= false, $vergelijkingen)
|
public function __construct($chapterid, $orgversieid, $vergelijkingen)
|
||||||
{
|
{
|
||||||
$this->CI =& get_instance();
|
$this->CI =& get_instance();
|
||||||
$this->orgversieid = $orgversieid;
|
$this->orgversieid = $orgversieid;
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ class Inleiding
|
|||||||
private $valtonder_id;
|
private $valtonder_id;
|
||||||
private $bgid;
|
private $bgid;
|
||||||
private $inleiding;
|
private $inleiding;
|
||||||
|
private $orgid;
|
||||||
|
|
||||||
|
|
||||||
public function __construct($orgid)
|
public function __construct($orgid)
|
||||||
|
|||||||
@@ -21,6 +21,11 @@ class Inspectieafbeeldingen {
|
|||||||
private $orgbreedte;
|
private $orgbreedte;
|
||||||
private $vantm;
|
private $vantm;
|
||||||
private $inspectieafbeeldingen;
|
private $inspectieafbeeldingen;
|
||||||
|
private $modulenr;
|
||||||
|
private $orgversieid;
|
||||||
|
private $inspectieoordelen;
|
||||||
|
private $orgid;
|
||||||
|
private $clusterid;
|
||||||
|
|
||||||
public function __construct($inspectieOordelen, $modulenr, $orgversieid, $orgid){
|
public function __construct($inspectieOordelen, $modulenr, $orgversieid, $orgid){
|
||||||
$this->CI = & get_instance();
|
$this->CI = & get_instance();
|
||||||
|
|||||||
@@ -9,6 +9,9 @@ class Inspectieoordelen
|
|||||||
private $ijkpunten;
|
private $ijkpunten;
|
||||||
private $melding;
|
private $melding;
|
||||||
private $inspectieoordelen;
|
private $inspectieoordelen;
|
||||||
|
private $orgversieid;
|
||||||
|
private $orgid;
|
||||||
|
private $clusterid;
|
||||||
|
|
||||||
public function __construct($orgversieid, $orgid, $clusterid){
|
public function __construct($orgversieid, $orgid, $clusterid){
|
||||||
$this->CI =& get_instance();
|
$this->CI =& get_instance();
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ class Kleurcodes {
|
|||||||
return $codes;
|
return $codes;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getKleurcodesOrg($clusterid = FALSE, $swvid){
|
public function getKleurcodesOrg($clusterid, $swvid){
|
||||||
if (! $clusterid) $clusterid = 0;
|
if (! $clusterid) $clusterid = 0;
|
||||||
$sql = " SELECT *
|
$sql = " SELECT *
|
||||||
FROM tb_kleurcodes KC
|
FROM tb_kleurcodes KC
|
||||||
|
|||||||
@@ -32,6 +32,11 @@ class Schoolafbeeldingen {
|
|||||||
private $schoolafbeeldingen;
|
private $schoolafbeeldingen;
|
||||||
private $resultaten;
|
private $resultaten;
|
||||||
private $disablenvt;
|
private $disablenvt;
|
||||||
|
private $schoolscores;
|
||||||
|
private $modulenr;
|
||||||
|
private $orgversieid;
|
||||||
|
private $orgid;
|
||||||
|
private $clusterid;
|
||||||
|
|
||||||
public function __construct(Schoolscores $schoolscores, $modulenr, $orgversieid, $clusterid, $orgid){
|
public function __construct(Schoolscores $schoolscores, $modulenr, $orgversieid, $clusterid, $orgid){
|
||||||
$this->CI = & get_instance();
|
$this->CI = & get_instance();
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ Schooljaarversies
|
|||||||
private $schooljaarversies = [];
|
private $schooljaarversies = [];
|
||||||
private $sopaanwezig = 'F';
|
private $sopaanwezig = 'F';
|
||||||
private $versies;
|
private $versies;
|
||||||
|
private $modulenr;
|
||||||
|
|
||||||
public function __construct($chapterid, $profielid, $modulenr)
|
public function __construct($chapterid, $profielid, $modulenr)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -21,6 +21,15 @@ class Schoolscores
|
|||||||
private $laagstescore = 110;
|
private $laagstescore = 110;
|
||||||
private $hoogstescore = 0;
|
private $hoogstescore = 0;
|
||||||
private $gemiddelde;
|
private $gemiddelde;
|
||||||
|
private $orgversieid;
|
||||||
|
private $orgid;
|
||||||
|
private $scoretype;
|
||||||
|
private $isVergelijking;
|
||||||
|
private $orgstring;
|
||||||
|
private $orgnaam;
|
||||||
|
private $metingen;
|
||||||
|
private $kleuren;
|
||||||
|
private $results;
|
||||||
|
|
||||||
|
|
||||||
public function __construct( $orgversieid, $orgid, $scoretype, $isVergelijking)
|
public function __construct( $orgversieid, $orgid, $scoretype, $isVergelijking)
|
||||||
@@ -106,7 +115,7 @@ class Schoolscores
|
|||||||
|
|
||||||
private function setMetingen(){
|
private function setMetingen(){
|
||||||
$this->metingen = new stdClass();
|
$this->metingen = new stdClass();
|
||||||
if(count($this->scores)==0)
|
if(empty($this->scores))
|
||||||
$this->metingen->aantal= 0;
|
$this->metingen->aantal= 0;
|
||||||
$this->metingen->aantalorgs = 0;
|
$this->metingen->aantalorgs = 0;
|
||||||
|
|
||||||
@@ -317,7 +326,7 @@ class Schoolscores
|
|||||||
private function setResults(){
|
private function setResults(){
|
||||||
|
|
||||||
$this->resultaten = [
|
$this->resultaten = [
|
||||||
'totgem' => $this->gemiddelde->gem,
|
'totgem' => $this->gemiddelde->gem ?? null,
|
||||||
'ijkpuntenok' => $this->ijkpuntenok,
|
'ijkpuntenok' => $this->ijkpuntenok,
|
||||||
'welkehoogste' => $this->welkehoogste,
|
'welkehoogste' => $this->welkehoogste,
|
||||||
'hoogstescore' => round($this->hoogstescore, 1),
|
'hoogstescore' => round($this->hoogstescore, 1),
|
||||||
|
|||||||
@@ -21,6 +21,15 @@ class Scores
|
|||||||
private $laagstescore = 110;
|
private $laagstescore = 110;
|
||||||
private $hoogstescore = 0;
|
private $hoogstescore = 0;
|
||||||
private $gemiddelde;
|
private $gemiddelde;
|
||||||
|
private $orgversieid;
|
||||||
|
private $orgid;
|
||||||
|
private $scoretype;
|
||||||
|
private $isVergelijking;
|
||||||
|
private $orgstring;
|
||||||
|
private $orgnaam;
|
||||||
|
private $metingen;
|
||||||
|
private $kleuren;
|
||||||
|
private $results;
|
||||||
|
|
||||||
|
|
||||||
public function __construct( $orgversieid, $orgid, $scoretype, $isVergelijking)
|
public function __construct( $orgversieid, $orgid, $scoretype, $isVergelijking)
|
||||||
@@ -103,7 +112,7 @@ class Scores
|
|||||||
|
|
||||||
private function setMetingen(){
|
private function setMetingen(){
|
||||||
$this->metingen = new stdClass();
|
$this->metingen = new stdClass();
|
||||||
if(count($this->scores)==0)
|
if(empty($this->scores))
|
||||||
$this->metingen->aantal= 0;
|
$this->metingen->aantal= 0;
|
||||||
$this->metingen->aantalorgs = 0;
|
$this->metingen->aantalorgs = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ class Sopkeuze
|
|||||||
private $keuzelabels = [];
|
private $keuzelabels = [];
|
||||||
private $labels;
|
private $labels;
|
||||||
private $sopkeuze;
|
private $sopkeuze;
|
||||||
|
private $labelsids;
|
||||||
|
|
||||||
|
|
||||||
private $CI;
|
private $CI;
|
||||||
@@ -154,7 +155,7 @@ class Sopkeuze
|
|||||||
$this->labels = $this->hfstlabels;
|
$this->labels = $this->hfstlabels;
|
||||||
}
|
}
|
||||||
if($this->keuzelabels){
|
if($this->keuzelabels){
|
||||||
$this->labels = array_merge($this->hfstlabels, $this->keuzelabels);
|
$this->labels = array_merge($this->hfstlabels ?: [], $this->keuzelabels);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,10 +10,11 @@ class Tabellen
|
|||||||
private $view;
|
private $view;
|
||||||
private $tab;
|
private $tab;
|
||||||
//ls okt 2020 private $imagecode;
|
//ls okt 2020 private $imagecode;
|
||||||
private tabelid;
|
private $tabelid;
|
||||||
private $imagedata;
|
private $imagedata;
|
||||||
private $sopinhoud;
|
private $sopinhoud;
|
||||||
private $updateid;
|
private $updateid;
|
||||||
|
private $sopinhoudid;
|
||||||
|
|
||||||
private $CI;
|
private $CI;
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ class Versions
|
|||||||
private $geopendeversies = [];
|
private $geopendeversies = [];
|
||||||
private $sopaanwezig = 'F';
|
private $sopaanwezig = 'F';
|
||||||
private $versies;
|
private $versies;
|
||||||
|
private $modulenr;
|
||||||
|
|
||||||
public function __construct($chapterid, $profielid, $modulenr)
|
public function __construct($chapterid, $profielid, $modulenr)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -33,6 +33,9 @@ class Compacteonderdelen
|
|||||||
private $data;
|
private $data;
|
||||||
private $onderdelenNew;
|
private $onderdelenNew;
|
||||||
private $compacteonderdelen;
|
private $compacteonderdelen;
|
||||||
|
private $schooljaarnr;
|
||||||
|
private $onderdelen;
|
||||||
|
private $orgid;
|
||||||
|
|
||||||
public function __construct($schooljaarnr, $onderdelen, $omvangjaren, $orgid){
|
public function __construct($schooljaarnr, $onderdelen, $omvangjaren, $orgid){
|
||||||
$this->CI = &get_instance();
|
$this->CI = &get_instance();
|
||||||
@@ -203,7 +206,7 @@ class Compacteonderdelen
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function setSetOmvang(){
|
private function setSetOmvang(){
|
||||||
if(! isset($this->omvangjaren) || count($this->omvangjaren) < 1 || !$this->omvangjaren) return;
|
if(! isset($this->omvangjaren) || ! is_array($this->omvangjaren) || count($this->omvangjaren) < 1 || !$this->omvangjaren) return;
|
||||||
$jaren = implode("','", $this->omvangjaren);
|
$jaren = implode("','", $this->omvangjaren);
|
||||||
$jaren = "'" . $jaren . "'";
|
$jaren = "'" . $jaren . "'";
|
||||||
|
|
||||||
@@ -343,13 +346,13 @@ class Compacteonderdelen
|
|||||||
$this->CI->globorgid, $this->jaarnummer, 'BASIS');
|
$this->CI->globorgid, $this->jaarnummer, 'BASIS');
|
||||||
|
|
||||||
$this->somB = str_replace(',','', $this->somB);
|
$this->somB = str_replace(',','', $this->somB);
|
||||||
$this->somB = number_format(($this->somB ), 0,',','.');
|
$this->somB = is_numeric($this->somB) ? number_format(($this->somB ), 0,',','.') : null; // PHP 8: number_format('') is a TypeError
|
||||||
|
|
||||||
|
|
||||||
$this->somE = $this->CI->Finbestemmingen_model->setSomSubsoort(
|
$this->somE = $this->CI->Finbestemmingen_model->setSomSubsoort(
|
||||||
$this->CI->globorgid, $this->jaarnummer, 'EXTRA');
|
$this->CI->globorgid, $this->jaarnummer, 'EXTRA');
|
||||||
$this->somE = str_replace(',','', $this->somE);
|
$this->somE = str_replace(',','', $this->somE);
|
||||||
$this->somE = number_format(($this->somE ), 0,',','.');
|
$this->somE = is_numeric($this->somE) ? number_format(($this->somE ), 0,',','.') : null; // PHP 8: number_format('') is a TypeError
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -368,6 +371,11 @@ class Compacteonderdelen
|
|||||||
|
|
||||||
private function setIJkpunten()
|
private function setIJkpunten()
|
||||||
{
|
{
|
||||||
|
// geen lijst gekozen voor dit blok: overslaan (anders query met lege orgversie_id)
|
||||||
|
if(!$this->onderdeel['orgversieid']) {
|
||||||
|
$this->data = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
$this->setScorevorm();
|
$this->setScorevorm();
|
||||||
$this->setSelecties();
|
$this->setSelecties();
|
||||||
$this->setLijsten();
|
$this->setLijsten();
|
||||||
|
|||||||
@@ -20,6 +20,8 @@ class Compactepaginas
|
|||||||
|
|
||||||
private $gegevens;
|
private $gegevens;
|
||||||
private $gegevensarray = [];
|
private $gegevensarray = [];
|
||||||
|
private $compacteonderdelen;
|
||||||
|
private $sopid;
|
||||||
|
|
||||||
public function __construct($onderdelen, $paginas){
|
public function __construct($onderdelen, $paginas){
|
||||||
$this->CI = &get_instance();
|
$this->CI = &get_instance();
|
||||||
@@ -224,7 +226,8 @@ class Compactepaginas
|
|||||||
private function setHtml()
|
private function setHtml()
|
||||||
{
|
{
|
||||||
if (!$this->blokjeshtml) return;
|
if (!$this->blokjeshtml) return;
|
||||||
$data = ['schooljaar' => $this->schooljaar];
|
$data = ['schooljaar' => $this->schooljaar,
|
||||||
|
'schoolgegevens' => $this->orgGegevens];
|
||||||
$html = $this->CI->load->view("monpas/compactsop/paginacompact", $data, true);
|
$html = $this->CI->load->view("monpas/compactsop/paginacompact", $data, true);
|
||||||
$this->html = str_replace('##PLACEHOLDER##', $this->blokjeshtml, $html);
|
$this->html = str_replace('##PLACEHOLDER##', $this->blokjeshtml, $html);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,6 +22,9 @@ class Compacteversies
|
|||||||
private $gevuldschooljaar;
|
private $gevuldschooljaar;
|
||||||
private $vormtekst;
|
private $vormtekst;
|
||||||
private $filledversie;
|
private $filledversie;
|
||||||
|
private $schooljaarnr;
|
||||||
|
private $orgid;
|
||||||
|
private $orgsoortnr;
|
||||||
|
|
||||||
public function getOnderdelen(){
|
public function getOnderdelen(){
|
||||||
return $this->onderdelen;
|
return $this->onderdelen;
|
||||||
@@ -156,7 +159,8 @@ class Compacteversies
|
|||||||
$this->onderdeel->groepen = $this->CI->Groepen_model->get_AantalGroepen($this->schooljaarnr, $this->orgid, $module);
|
$this->onderdeel->groepen = $this->CI->Groepen_model->get_AantalGroepen($this->schooljaarnr, $this->orgid, $module);
|
||||||
$this->onderdeel->erIsDiversiteit = 'T';
|
$this->onderdeel->erIsDiversiteit = 'T';
|
||||||
$this->onderdeel->gegevens = 'T';
|
$this->onderdeel->gegevens = 'T';
|
||||||
if($this->onderdeel->schooltype = 'R') $this->onderdeel->schoolsoort = 'PO';
|
// was 'schooltype = 'R'' (toewijzing): alles werd PO en schooltype werd overschreven
|
||||||
|
$this->onderdeel->schoolsoort = $this->onderdeel->schooltype == 'SBO' ? 'SBO' : 'PO';
|
||||||
$this->onderdeel->versie = $this->schooljaar->naam. ', '. $this->onderdeel->schoolsoort;
|
$this->onderdeel->versie = $this->schooljaar->naam. ', '. $this->onderdeel->schoolsoort;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -305,7 +309,7 @@ class Compacteversies
|
|||||||
$this->onderdeel->gegevens = "T";
|
$this->onderdeel->gegevens = "T";
|
||||||
foreach($this->onderdeel->filledversies as $index => $this->filledversie) {
|
foreach($this->onderdeel->filledversies as $index => $this->filledversie) {
|
||||||
$this->filledversie->selected = 'F';
|
$this->filledversie->selected = 'F';
|
||||||
$valterin = $this->CI->Filledversions_model->checkperiode($this->versie->id,$this->schooljaar->start,
|
$valterin = $this->CI->Filledversions_model->checkperiode($this->filledversie->id,$this->schooljaar->start,
|
||||||
$this->schooljaar->eind );
|
$this->schooljaar->eind );
|
||||||
if($valterin){
|
if($valterin){
|
||||||
$this->filledversie->selected = 'T';
|
$this->filledversie->selected = 'T';
|
||||||
|
|||||||
@@ -7,6 +7,9 @@ class Bestuurscores
|
|||||||
private $orgstring;
|
private $orgstring;
|
||||||
private $metingen;
|
private $metingen;
|
||||||
private $ambities;
|
private $ambities;
|
||||||
|
private $orgversieid;
|
||||||
|
private $orgid;
|
||||||
|
private $vorm;
|
||||||
|
|
||||||
|
|
||||||
public function __construct( $orgversieid, $orgid, $vorm)
|
public function __construct( $orgversieid, $orgid, $vorm)
|
||||||
|
|||||||
@@ -21,6 +21,13 @@ class Individuelescores
|
|||||||
private $welkehoogste;
|
private $welkehoogste;
|
||||||
private $laagstescore = 110;
|
private $laagstescore = 110;
|
||||||
private $hoogstescore = 0;
|
private $hoogstescore = 0;
|
||||||
|
private $orgversieid;
|
||||||
|
private $orgid;
|
||||||
|
private $orguserid;
|
||||||
|
private $scoretype;
|
||||||
|
private $org;
|
||||||
|
private $orgnaam;
|
||||||
|
private $ijkpunten;
|
||||||
|
|
||||||
|
|
||||||
public function __construct( $orgversieid, $orguserid, $orgid, $scoretype)
|
public function __construct( $orgversieid, $orguserid, $orgid, $scoretype)
|
||||||
@@ -237,7 +244,7 @@ class Individuelescores
|
|||||||
private function setResults(){
|
private function setResults(){
|
||||||
if($this->scores) {
|
if($this->scores) {
|
||||||
$this->resultaten = [
|
$this->resultaten = [
|
||||||
'totgem' => $this->gemiddelde->gem,
|
'totgem' => $this->gemiddelde->gem ?? null,
|
||||||
'ijkpuntenok' => $this->ijkpuntenok,
|
'ijkpuntenok' => $this->ijkpuntenok,
|
||||||
'welkehoogste' => $this->welkehoogste,
|
'welkehoogste' => $this->welkehoogste,
|
||||||
'hoogstescore' => round($this->hoogstescore, 1),
|
'hoogstescore' => round($this->hoogstescore, 1),
|
||||||
|
|||||||
@@ -10,6 +10,9 @@ class Kamerscores
|
|||||||
private $scores;
|
private $scores;
|
||||||
private $metingen;
|
private $metingen;
|
||||||
private $ambities;
|
private $ambities;
|
||||||
|
private $orgversieid;
|
||||||
|
private $orgid;
|
||||||
|
private $vorm;
|
||||||
|
|
||||||
public function __construct( $orgversieid, $orgid, $vorm)
|
public function __construct( $orgversieid, $orgid, $vorm)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,6 +17,11 @@ class Lijsten
|
|||||||
private $nieuwsteversie;
|
private $nieuwsteversie;
|
||||||
private $sopinfo;
|
private $sopinfo;
|
||||||
private $eigenambitie = 'F';
|
private $eigenambitie = 'F';
|
||||||
|
private $orgid;
|
||||||
|
private $selecties;
|
||||||
|
private $organisatie;
|
||||||
|
private $gemiddelden;
|
||||||
|
private $scoresobject;
|
||||||
|
|
||||||
public function getLijsten(){
|
public function getLijsten(){
|
||||||
return $this->lijsten;
|
return $this->lijsten;
|
||||||
@@ -111,8 +116,8 @@ class Lijsten
|
|||||||
|
|
||||||
private function setOrgversie(){
|
private function setOrgversie(){
|
||||||
$this->lijst->orgversie = $this->CI->Orgversies_model->get_record_by_id($this->lijst->orgversieid);
|
$this->lijst->orgversie = $this->CI->Orgversies_model->get_record_by_id($this->lijst->orgversieid);
|
||||||
$this->lijst->periodenummer = $this->lijst->orgversie->periodenummer;
|
$this->lijst->periodenummer = $this->lijst->orgversie->periodenummer ?? null;
|
||||||
$this->lijst->jaartal = substr($this->lijst->orgversie->geldigvanaf, 2,2);
|
$this->lijst->jaartal = substr($this->lijst->orgversie->geldigvanaf ?? '', 2,2);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function setIJkpunten($index){
|
private function setIJkpunten($index){
|
||||||
@@ -163,7 +168,9 @@ class Lijsten
|
|||||||
private function setVergelijkingScores(){
|
private function setVergelijkingScores(){
|
||||||
if(!isset($this->vergelijkingen) || !$this->vergelijkingen) return;
|
if(!isset($this->vergelijkingen) || !$this->vergelijkingen) return;
|
||||||
|
|
||||||
foreach($this->vergelijkingen['scores'] AS $i => $vergelijking){
|
foreach($this->vergelijkingen['scores'] ?: [] AS $i => $vergelijking){
|
||||||
|
if (!$this->scores) $this->scores = []; // PHP 8.1: no implicit false-to-array conversion
|
||||||
|
if (!isset($this->scores[$i])) $this->scores[$i] = new stdClass(); // PHP 8: no auto-vivification of objects
|
||||||
$this->scores[$i]->gemV = $vergelijking->gem;
|
$this->scores[$i]->gemV = $vergelijking->gem;
|
||||||
$this->scores[$i]->kleurV = $vergelijking->kleur;
|
$this->scores[$i]->kleurV = $vergelijking->kleur;
|
||||||
$this->scores[$i]->disabledV = $vergelijking->disabled;
|
$this->scores[$i]->disabledV = $vergelijking->disabled;
|
||||||
|
|||||||
@@ -10,6 +10,9 @@ class Swvscores
|
|||||||
private $scores;
|
private $scores;
|
||||||
private $metingen;
|
private $metingen;
|
||||||
private $ambities;
|
private $ambities;
|
||||||
|
private $orgversieid;
|
||||||
|
private $orgid;
|
||||||
|
private $vorm;
|
||||||
|
|
||||||
|
|
||||||
public function __construct( $orgversieid, $orgid, $vorm)
|
public function __construct( $orgversieid, $orgid, $vorm)
|
||||||
|
|||||||
@@ -9,6 +9,15 @@ class Userlijsten
|
|||||||
private $lijsten = [];
|
private $lijsten = [];
|
||||||
private $nieuwste = 0;
|
private $nieuwste = 0;
|
||||||
private $nieuwsteversie;
|
private $nieuwsteversie;
|
||||||
|
private $orguserid;
|
||||||
|
private $orgid;
|
||||||
|
private $orgversies;
|
||||||
|
private $versienaam;
|
||||||
|
private $organisatie;
|
||||||
|
private $individueel;
|
||||||
|
private $results;
|
||||||
|
private $scores;
|
||||||
|
private $vergelijkingen;
|
||||||
|
|
||||||
public function getLijsten(){
|
public function getLijsten(){
|
||||||
return $this->lijsten;
|
return $this->lijsten;
|
||||||
@@ -93,7 +102,8 @@ class Userlijsten
|
|||||||
if(!isset($this->scores) || !$this->scores) return;
|
if(!isset($this->scores) || !$this->scores) return;
|
||||||
if( (!isset($this->vergelijkingen) ||! $this->vergelijkingen )) return;
|
if( (!isset($this->vergelijkingen) ||! $this->vergelijkingen )) return;
|
||||||
|
|
||||||
foreach($this->vergelijkingen['scores'] AS $i =>$vergelijking){
|
foreach($this->vergelijkingen['scores'] ?: [] AS $i =>$vergelijking){
|
||||||
|
if (!isset($this->scores[$i])) $this->scores[$i] = new stdClass(); // PHP 8: no auto-vivification of objects
|
||||||
$this->scores[$i]->gemV = $vergelijking->gem;
|
$this->scores[$i]->gemV = $vergelijking->gem;
|
||||||
$this->scores[$i]->kleurV = $vergelijking->kleur;
|
$this->scores[$i]->kleurV = $vergelijking->kleur;
|
||||||
$this->scores[$i]->disabledV = $vergelijking->disabled;
|
$this->scores[$i]->disabledV = $vergelijking->disabled;
|
||||||
@@ -101,7 +111,6 @@ class Userlijsten
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
private function setAmbities(){
|
private function setAmbities(){
|
||||||
if(!isset($this->scores) || !$this->scores) return;
|
|
||||||
$standaard = new stdClass();
|
$standaard = new stdClass();
|
||||||
$standaard->ambitievan = 'standaard';
|
$standaard->ambitievan = 'standaard';
|
||||||
$standaard->id = 0;
|
$standaard->id = 0;
|
||||||
@@ -115,6 +124,12 @@ class Userlijsten
|
|||||||
$standaard->xijkpunten = ROUND($this->results['aantalY'] * 0.8);
|
$standaard->xijkpunten = ROUND($this->results['aantalY'] * 0.8);
|
||||||
$standaard->zprocent = 60;
|
$standaard->zprocent = 60;
|
||||||
|
|
||||||
|
// lijst niet ingevuld: standaard ambitie, zodat de periode toch een (lege) kolom krijgt
|
||||||
|
if(!isset($this->scores) || !$this->scores) {
|
||||||
|
$this->lijst->ambities = $standaard;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if($this->results && $this->results['ambities'] && $this->results['ambities']->gemscore > 0) $this->lijst->ambities = $this->results['ambities'];
|
if($this->results && $this->results['ambities'] && $this->results['ambities']->gemscore > 0) $this->lijst->ambities = $this->results['ambities'];
|
||||||
else $this->lijst->ambities = $standaard;
|
else $this->lijst->ambities = $standaard;
|
||||||
|
|
||||||
@@ -131,7 +146,7 @@ class Userlijsten
|
|||||||
private function setLijst(){
|
private function setLijst(){
|
||||||
$this->lijst->naam = $this->results['orgnaam'];
|
$this->lijst->naam = $this->results['orgnaam'];
|
||||||
$this->lijst->scores = $this->scores;
|
$this->lijst->scores = $this->scores;
|
||||||
if(isset($this->scores)) {
|
if($this->scores) { // false = niet ingevuld; isset() is ook waar voor false
|
||||||
$this->lijst->metingen = 1 ;
|
$this->lijst->metingen = 1 ;
|
||||||
$this->lijst->aantalorgs = 1 ;
|
$this->lijst->aantalorgs = 1 ;
|
||||||
$this->lijst->adviezen = $this->results['adviezen'];
|
$this->lijst->adviezen = $this->results['adviezen'];
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ class Vergelijkbareversies
|
|||||||
private $periode;
|
private $periode;
|
||||||
private $specificaties = [];
|
private $specificaties = [];
|
||||||
private $filledids;
|
private $filledids;
|
||||||
|
private $orgid;
|
||||||
|
private $modulenr;
|
||||||
|
|
||||||
|
|
||||||
public function getSeries(){
|
public function getSeries(){
|
||||||
|
|||||||
@@ -46,6 +46,9 @@ class DivMonitor
|
|||||||
private $criteriumdq;
|
private $criteriumdq;
|
||||||
private $beschikbaar = 'F';
|
private $beschikbaar = 'F';
|
||||||
private $monitor;
|
private $monitor;
|
||||||
|
private $schooljaarnr;
|
||||||
|
private $criteriumid;
|
||||||
|
private $module;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -88,6 +91,7 @@ class DivMonitor
|
|||||||
$this->normaantallen = $normaantallen;
|
$this->normaantallen = $normaantallen;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
$this->normaantallen = new stdClass();
|
||||||
$this->normaantallen->groep12 = $this->groep12;
|
$this->normaantallen->groep12 = $this->groep12;
|
||||||
$this->normaantallen->groep38 = $this->groep38;
|
$this->normaantallen->groep38 = $this->groep38;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,10 +14,12 @@ class IngedeeldeScholen
|
|||||||
private $schoollabel;
|
private $schoollabel;
|
||||||
private $schoollabels =[];
|
private $schoollabels =[];
|
||||||
private $verschil;
|
private $verschil;
|
||||||
|
private $criteriumid;
|
||||||
|
private $module;
|
||||||
|
|
||||||
public function __construct($criteriumid, $module){
|
public function __construct($criteriumid, $module){
|
||||||
$this->CI =& get_instance();
|
$this->CI =& get_instance();
|
||||||
$this->criteriumid = $criteriumid;
|
$this->criteriumid = ($criteriumid === '') ? 0 : $criteriumid; // PHP 8: '' == 0 is false, keep PHP 7 behaviour
|
||||||
$this->module = $module;
|
$this->module = $module;
|
||||||
$this->handle();
|
$this->handle();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ class Partituur_home {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
var $tokensecret;
|
var $tokensecret;
|
||||||
|
var $ci;
|
||||||
|
|
||||||
function __construct(){
|
function __construct(){
|
||||||
|
|
||||||
|
|||||||
@@ -133,14 +133,14 @@ class Phantom2_model extends CI_Model{
|
|||||||
if(!$margins){
|
if(!$margins){
|
||||||
return $this->margins;
|
return $this->margins;
|
||||||
}elseif(!is_array($margins)){
|
}elseif(!is_array($margins)){
|
||||||
$margins = str_replace('cm', $margins);
|
$margins = str_replace('cm', '', $margins);
|
||||||
|
|
||||||
if(!is_numeric($margins)) return $this->margins;
|
if(!is_numeric($margins)) return $this->margins;
|
||||||
|
|
||||||
return array($margins.'cm',$margins.'cm',$margins.'cm',$margins.'cm');
|
return array($margins.'cm',$margins.'cm',$margins.'cm',$margins.'cm');
|
||||||
}elseif(count($margins)==2){
|
}elseif(count($margins)==2){
|
||||||
$margin1 = str_replace('cm', $margins[0]);
|
$margin1 = str_replace('cm', '', $margins[0]);
|
||||||
$margin2 = str_replace('cm', $margins[1]);
|
$margin2 = str_replace('cm', '', $margins[1]);
|
||||||
|
|
||||||
if(!is_numeric($margin1) && !is_numeric($margins2)) return $this->margins;
|
if(!is_numeric($margin1) && !is_numeric($margins2)) return $this->margins;
|
||||||
|
|
||||||
|
|||||||
@@ -55,8 +55,8 @@ class Phantom_model extends CI_Model{
|
|||||||
if( $footer ) $data['footer'] = $footer;
|
if( $footer ) $data['footer'] = $footer;
|
||||||
if( $margins ) $data['margins'] = serialize($margins);
|
if( $margins ) $data['margins'] = serialize($margins);
|
||||||
|
|
||||||
|
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
|
||||||
curl_setopt_array($curl, array(
|
curl_setopt_array($curl, array(
|
||||||
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0),
|
|
||||||
CURLOPT_RETURNTRANSFER => 1,
|
CURLOPT_RETURNTRANSFER => 1,
|
||||||
CURLOPT_URL => $_ENV['printserver']. 'test/1',
|
CURLOPT_URL => $_ENV['printserver']. 'test/1',
|
||||||
CURLOPT_POST => 1,
|
CURLOPT_POST => 1,
|
||||||
@@ -100,7 +100,7 @@ class Phantom_model extends CI_Model{
|
|||||||
return $file;
|
return $file;
|
||||||
}
|
}
|
||||||
|
|
||||||
function create_and_get_pdf($html, $file, $header = FALSE, $footer = FALSE, $margins = array(), $orientation, $footerFirstpage=TRUE, $headerFirstpage=TRUE)
|
function create_and_get_pdf($html, $file, $header, $footer, $margins, $orientation, $footerFirstpage=TRUE, $headerFirstpage=TRUE)
|
||||||
{
|
{
|
||||||
//margins [left, right, top, bottom, height header]
|
//margins [left, right, top, bottom, height header]
|
||||||
if ( ! is_array( $margins ) ) $margins = array();
|
if ( ! is_array( $margins ) ) $margins = array();
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ class Modfases extends MY_Model{
|
|||||||
ORDER BY volgorde";
|
ORDER BY volgorde";
|
||||||
$res = $this->get_query_result();
|
$res = $this->get_query_result();
|
||||||
$onb = (object) array("naam"=>"onbekend", "kleur"=>"#989898");
|
$onb = (object) array("naam"=>"onbekend", "kleur"=>"#989898");
|
||||||
array_unshift($res,$onb );
|
if (is_array($res)) array_unshift($res,$onb );
|
||||||
return $res;
|
return $res;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ class ModPartActKosten extends MY_Model{
|
|||||||
FROM tbPartActKosten
|
FROM tbPartActKosten
|
||||||
WHERE id = $kostID" ;
|
WHERE id = $kostID" ;
|
||||||
$results = $this->get_query_row();
|
$results = $this->get_query_row();
|
||||||
|
if (! $results) $results = new stdClass();
|
||||||
$results->kosten = mysql2bedrag($results->kosten);
|
$results->kosten = mysql2bedrag($results->kosten);
|
||||||
return $results;
|
return $results;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -187,7 +187,7 @@ class Mutatielog_model extends MY_Model{
|
|||||||
function store_mutatie($mutatie){
|
function store_mutatie($mutatie){
|
||||||
$sql = "
|
$sql = "
|
||||||
INSERT INTO replicatie.replicatielog (replicatie_data, creation_date, created_by, last_update_date, last_updated_by)
|
INSERT INTO replicatie.replicatielog (replicatie_data, creation_date, created_by, last_update_date, last_updated_by)
|
||||||
VALUES('".mysql_real_escape_string(serialize($mutatie))."', NOW(), 'cron', NOW(), 'cron')";
|
VALUES('".$this->db->escape_str(serialize($mutatie))."', NOW(), 'cron', NOW(), 'cron')";
|
||||||
$this->db->query($sql);
|
$this->db->query($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -132,14 +132,14 @@ class Phantom_model extends CI_Model{
|
|||||||
if(!$margins){
|
if(!$margins){
|
||||||
return $this->margins;
|
return $this->margins;
|
||||||
}elseif(!is_array($margins)){
|
}elseif(!is_array($margins)){
|
||||||
$margins = str_replace('cm', $margins);
|
$margins = str_replace('cm', '', $margins);
|
||||||
|
|
||||||
if(!is_numeric($margins)) return $this->margins;
|
if(!is_numeric($margins)) return $this->margins;
|
||||||
|
|
||||||
return array($margins.'cm',$margins.'cm',$margins.'cm',$margins.'cm');
|
return array($margins.'cm',$margins.'cm',$margins.'cm',$margins.'cm');
|
||||||
}elseif(count($margins)==2){
|
}elseif(count($margins)==2){
|
||||||
$margin1 = str_replace('cm', $margins[0]);
|
$margin1 = str_replace('cm', '', $margins[0]);
|
||||||
$margin2 = str_replace('cm', $margins[1]);
|
$margin2 = str_replace('cm', '', $margins[1]);
|
||||||
|
|
||||||
if(!is_numeric($margin1) && !is_numeric($margins2)) return $this->margins;
|
if(!is_numeric($margin1) && !is_numeric($margins2)) return $this->margins;
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,9 @@ class Compactsop_model extends MY_Model
|
|||||||
$this->load->helper('download');
|
$this->load->helper('download');
|
||||||
|
|
||||||
$sop = $this->get(['id'=>$id]);
|
$sop = $this->get(['id'=>$id]);
|
||||||
$sop= $sop[0];
|
$sop= $sop ? $sop[0] : false;
|
||||||
|
// geen record of pdf-bestand niet (meer) aanwezig
|
||||||
|
if ( ! $sop || ! is_file( $this->compactsoppath . $sop->pdfnaam ) ) show_404();
|
||||||
header( 'Content-Description: File Transfer' );
|
header( 'Content-Description: File Transfer' );
|
||||||
header( 'Content-Type: application/pdf' );
|
header( 'Content-Type: application/pdf' );
|
||||||
header( 'Content-disposition:inline; filename="' .$sop->pdfnaam.'"');
|
header( 'Content-disposition:inline; filename="' .$sop->pdfnaam.'"');
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ class Diversiteits_model extends MY_Model{
|
|||||||
$school->oov = round(($aantalmetvraag / $school->aantallln) * 100);
|
$school->oov = round(($aantalmetvraag / $school->aantallln) * 100);
|
||||||
$school->cat1 =$school->aantallln - $aantalmetvraag;
|
$school->cat1 =$school->aantallln - $aantalmetvraag;
|
||||||
$school->tgd = round($schooltgd + $school->cat1);
|
$school->tgd = round($schooltgd + $school->cat1);
|
||||||
$school->dq = round(($school->tgd / $normtot) * 100) / 100;
|
$school->dq = ($normtot != 0) ? round(($school->tgd / $normtot) * 100) / 100 : 0;
|
||||||
$bggem->cat1 = $bggem->cat1 + $school->cat1;
|
$bggem->cat1 = $bggem->cat1 + $school->cat1;
|
||||||
$bggem->oov = $bggem->oov + $school->oov;
|
$bggem->oov = $bggem->oov + $school->oov;
|
||||||
$bggem->tgd = $bggem->tgd + $school->tgd ;
|
$bggem->tgd = $bggem->tgd + $school->tgd ;
|
||||||
@@ -308,7 +308,7 @@ class Diversiteits_model extends MY_Model{
|
|||||||
|
|
||||||
};
|
};
|
||||||
$groep->diversiteit = ($groep->som5 * 2) + ($groep->som6 * 3) + ($groep->som7 * 4) +($groep ->som8 * 5);
|
$groep->diversiteit = ($groep->som5 * 2) + ($groep->som6 * 3) + ($groep->som7 * 4) +($groep ->som8 * 5);
|
||||||
$groep->groepdq = round($groep->diversiteit/$groep->normaantal);
|
$groep->groepdq = ($groep->normaantal != 0) ? round($groep->diversiteit/$groep->normaantal) : 0;
|
||||||
$normtot = $normtot + $groep->normaantal;
|
$normtot = $normtot + $groep->normaantal;
|
||||||
$somschooldq = $somschooldq + $groep->groepdq;
|
$somschooldq = $somschooldq + $groep->groepdq;
|
||||||
}
|
}
|
||||||
@@ -351,7 +351,7 @@ class Diversiteits_model extends MY_Model{
|
|||||||
|
|
||||||
if ($school->aantallln > 0) {
|
if ($school->aantallln > 0) {
|
||||||
$school->tgd = round($schooltgd);
|
$school->tgd = round($schooltgd);
|
||||||
$school->dq = round(($school->tgd / $school->normaantal) * 100) / 100;
|
$school->dq = ($school->normaantal != 0) ? round(($school->tgd / $school->normaantal) * 100) / 100 : 0;
|
||||||
$bggem->tgd = $bggem->tgd + $school->tgd ;
|
$bggem->tgd = $bggem->tgd + $school->tgd ;
|
||||||
$bggem->dq= $bggem->dq + $school->dq;
|
$bggem->dq= $bggem->dq + $school->dq;
|
||||||
$usedaantalscholen ++;
|
$usedaantalscholen ++;
|
||||||
|
|||||||
@@ -205,13 +205,13 @@ class Filledversions_model extends MY_Model{
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
function checkperiode($fvid, $van, $tm){
|
function checkperiode($orgversieid, $van, $tm){
|
||||||
$this->sql = "SELECT DISTINCT(FV.orgversie_id) as id,
|
$this->sql = "SELECT DISTINCT(FV.orgversie_id) as id
|
||||||
FROM tb_filledversions FV
|
FROM tb_filledversions FV
|
||||||
JOIN tb_orgversies OV ON OV.id = FV.orgversie_id
|
JOIN tb_orgversies OV ON OV.id = FV.orgversie_id
|
||||||
WHERE FV.id ={$fvid}
|
WHERE FV.orgversie_id ={$orgversieid}
|
||||||
AND OV.geldigvanaf >= '{$van}'
|
AND OV.geldigtm >= '{$van}'
|
||||||
AND OV.geldigtm <= '{$tm}' ";
|
AND OV.geldigtm <= '{$tm}' "; // lijst telt mee in de periode waarin geldigtm valt
|
||||||
return $this->get_query_result();
|
return $this->get_query_result();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -117,9 +117,19 @@ class Groepen_model extends MY_Model{
|
|||||||
AND GR.schooljaarnr = {$schooljaarnr}
|
AND GR.schooljaarnr = {$schooljaarnr}
|
||||||
AND GR.schooltype = 'R'
|
AND GR.schooltype = 'R'
|
||||||
AND GR.module = {$module}
|
AND GR.module = {$module}
|
||||||
GROUP BY GR.id
|
GROUP BY GR.id, GR.naam, GR.niveau, GR.totaantal, GR.ondersteuning
|
||||||
ORDER BY niveau, naam, GR.id ";
|
ORDER BY niveau, naam, GR.id ";
|
||||||
return $this->get_query_result();
|
|
||||||
|
// Tijdelijk debug: ook op productie loggen
|
||||||
|
error_log("=== GETGROEPEN DEBUG ===");
|
||||||
|
error_log("orgid: $orgid, schooljaarnr: $schooljaarnr, module: $module");
|
||||||
|
error_log("SQL: " . $this->sql);
|
||||||
|
|
||||||
|
$result = $this->get_query_result();
|
||||||
|
|
||||||
|
error_log("Result: " . ($result === FALSE ? 'FALSE' : count($result) . ' rows'));
|
||||||
|
|
||||||
|
return $result;
|
||||||
}
|
}
|
||||||
function getgekopieerdegroepen($orgid, $schooljaarnr, $module){
|
function getgekopieerdegroepen($orgid, $schooljaarnr, $module){
|
||||||
$this->sql = "SELECT GR.id,
|
$this->sql = "SELECT GR.id,
|
||||||
@@ -146,7 +156,7 @@ class Groepen_model extends MY_Model{
|
|||||||
AND GR.schooljaarnr = {$schooljaarnr}
|
AND GR.schooljaarnr = {$schooljaarnr}
|
||||||
AND GR.schooltype = 'R'
|
AND GR.schooltype = 'R'
|
||||||
AND GR.module = {$module}
|
AND GR.module = {$module}
|
||||||
GROUP BY GR.id
|
GROUP BY GR.id, GR.naam, GR.niveau, GR.totaantal
|
||||||
ORDER BY niveau, naam, GR.id ";
|
ORDER BY niveau, naam, GR.id ";
|
||||||
return $this->get_query_result();
|
return $this->get_query_result();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -230,6 +230,7 @@ class Maakinhoudnieuw_model extends MY_Model{
|
|||||||
function setVersie($orgversieid){
|
function setVersie($orgversieid){
|
||||||
$orgversie = $this->Orgversies_model->get_record_by_id($orgversieid);
|
$orgversie = $this->Orgversies_model->get_record_by_id($orgversieid);
|
||||||
$versie = $this->Versies_model ->get_record_by_id($orgversie->versie_id);
|
$versie = $this->Versies_model ->get_record_by_id($orgversie->versie_id);
|
||||||
|
if (! $versie) $versie = new stdClass();
|
||||||
$versie->naam = $versie->naam . ', periode: ' . $orgversie->periodenummer . ': ' . $orgversie->geldigvanaf . ' - ' . $orgversie->geldigtm;
|
$versie->naam = $versie->naam . ', periode: ' . $orgversie->periodenummer . ': ' . $orgversie->geldigvanaf . ' - ' . $orgversie->geldigtm;
|
||||||
return $versie;
|
return $versie;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,8 +26,8 @@ class Scores_model extends MY_Model{
|
|||||||
return $this->get_query_result();
|
return $this->get_query_result();
|
||||||
}
|
}
|
||||||
function calculateindividualscores($orgversieid, $orgid, $userid){
|
function calculateindividualscores($orgversieid, $orgid, $userid){
|
||||||
$this->sql="SELECT SC.id, filledversion_id, SC.ijkpunt_id, scoretype, score, score AS gem, Y.disabled,
|
$this->sql="SELECT SC.id, filledversion_id, SC.ijkpunt_id, scoretype, score, score AS gem, Y.disabled, 'F' AS disablenvt,
|
||||||
SUM(CASE WHEN Y.disabled = 'T' THEN 0
|
SUM(CASE WHEN Y.disabled = 'T' THEN 0
|
||||||
WHEN Y.disabled = 'F' THEN
|
WHEN Y.disabled = 'F' THEN
|
||||||
CASE
|
CASE
|
||||||
WHEN SC.scoretype = 1 THEN SC.score * 10 * Indi.gewicht
|
WHEN SC.scoretype = 1 THEN SC.score * 10 * Indi.gewicht
|
||||||
|
|||||||
@@ -311,7 +311,7 @@ class Sopinhouden_model extends MY_Model{
|
|||||||
|
|
||||||
$factor =$normaantallen->groep38;
|
$factor =$normaantallen->groep38;
|
||||||
if (strpos($groep->niveau,'1') !== false || strpos($groep->niveau,'2') !== false) {$factor = $normaantallen->groep12;};
|
if (strpos($groep->niveau,'1') !== false || strpos($groep->niveau,'2') !== false) {$factor = $normaantallen->groep12;};
|
||||||
$groep->dq= round(($groep->diversiteit / $factor),2);
|
$groep->dq= ($factor != 0) ? round(($groep->diversiteit / $factor),2) : 0;
|
||||||
$totaal = $totaal + $groep->totaantal;
|
$totaal = $totaal + $groep->totaantal;
|
||||||
$hoeveelgroepen = $hoeveelgroepen + 1;
|
$hoeveelgroepen = $hoeveelgroepen + 1;
|
||||||
if (strpos($groep->niveau, ';') > 0){$combi = $combi + 1;}
|
if (strpos($groep->niveau, ';') > 0){$combi = $combi + 1;}
|
||||||
@@ -432,7 +432,7 @@ class Sopinhouden_model extends MY_Model{
|
|||||||
if (strpos($groep->niveau,';') >0) {$groep->diversiteit = $groep->diversiteit + 1.5;};
|
if (strpos($groep->niveau,';') >0) {$groep->diversiteit = $groep->diversiteit + 1.5;};
|
||||||
$factor =$normaantallen->groep38;
|
$factor =$normaantallen->groep38;
|
||||||
if (strpos($groep->niveau,'1') > 0 || strpos($groep->niveau,'2') > 0) {$factor = $normaantallen->groep12;};
|
if (strpos($groep->niveau,'1') > 0 || strpos($groep->niveau,'2') > 0) {$factor = $normaantallen->groep12;};
|
||||||
$groep->dq= round(($groep->diversiteit / $factor),2);
|
$groep->dq= ($factor != 0) ? round(($groep->diversiteit / $factor),2) : 0;
|
||||||
$som1= $som1 + $groep->som1;
|
$som1= $som1 + $groep->som1;
|
||||||
$som2= $som2 + $groep->som2;
|
$som2= $som2 + $groep->som2;
|
||||||
$som3= $som3 + $groep->som3;
|
$som3= $som3 + $groep->som3;
|
||||||
@@ -734,7 +734,7 @@ class Sopinhouden_model extends MY_Model{
|
|||||||
$score->disablenvt = 'F';
|
$score->disablenvt = 'F';
|
||||||
if($score->aantalvier > 0 && $score->aantalvier == $score->aantalnvt) $score->disablenvt = 'T';
|
if($score->aantalvier > 0 && $score->aantalvier == $score->aantalnvt) $score->disablenvt = 'T';
|
||||||
if($score->disabled == 'F' && $score->disablenvt == 'F') {
|
if($score->disabled == 'F' && $score->disablenvt == 'F') {
|
||||||
$score->gem = $score->somscore / $score->num;
|
$score->gem = ($score->num != 0) ? $score->somscore / $score->num : 0;
|
||||||
$score->colorcode = $this->kleurcodes->getkleur($score->gem);
|
$score->colorcode = $this->kleurcodes->getkleur($score->gem);
|
||||||
$som = $som + $score->gem;
|
$som = $som + $score->gem;
|
||||||
}
|
}
|
||||||
@@ -823,18 +823,19 @@ class Sopinhouden_model extends MY_Model{
|
|||||||
$scores = $scores ? $scores : [];
|
$scores = $scores ? $scores : [];
|
||||||
|
|
||||||
foreach($scores as $score){
|
foreach($scores as $score){
|
||||||
$score->gem = 0;
|
$score->gem = isset($score->gem) ? round($score->gem) : 0;
|
||||||
if (isset($score->gem)) {
|
|
||||||
$score->gem= round($score->gem);
|
|
||||||
}
|
|
||||||
$score->kleur = '#808080';
|
$score->kleur = '#808080';
|
||||||
if(isset($score->kleurcode)) $score->kleur = $score->kleurcode;
|
if(isset($score->kleurcode)) $score->kleur = $score->kleurcode;
|
||||||
$score->huidig = $score->kleur;
|
// kleurnummer (1-4) voor de kolommen 'huidige situatie' in de ontwikkelagenda;
|
||||||
|
// huidig als nummer zodat ontwikkelagenda2 kan vergelijken met wens
|
||||||
|
$score->kleurnummer = $this->kleurcodes->getnummer($score->gem);
|
||||||
|
$score->huidig = $score->kleurnummer;
|
||||||
if($targetversie->scoretype == 7){
|
if($targetversie->scoretype == 7){
|
||||||
if($score->gem == $grens3) $score->huidig = 4;
|
if($score->gem == $grens3) $score->huidig = 4;
|
||||||
if($score->gem < $grens3) $score->huidig = 3;
|
if($score->gem < $grens3) $score->huidig = 3;
|
||||||
if($score->gem < $grens2) $score->huidig = 2;
|
if($score->gem < $grens2) $score->huidig = 2;
|
||||||
if($score->gem < $grens1) $score->huidig = 1;
|
if($score->gem < $grens1) $score->huidig = 1;
|
||||||
|
$score->kleurnummer = $score->huidig;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($gewenst){
|
if ($gewenst){
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ class Organisaties_model extends MY_Model{
|
|||||||
AND actief = 1";
|
AND actief = 1";
|
||||||
return $this->get_query_row();
|
return $this->get_query_row();
|
||||||
}
|
}
|
||||||
function checkbrin($orgid=false, $brin){
|
function checkbrin($orgid, $brin){
|
||||||
$this->sql =" SELECT COUNT(id) as aantal
|
$this->sql =" SELECT COUNT(id) as aantal
|
||||||
FROM tb_organisaties
|
FROM tb_organisaties
|
||||||
WHERE lower(brin) = lower('{$brin}')";
|
WHERE lower(brin) = lower('{$brin}')";
|
||||||
@@ -559,7 +559,7 @@ class Organisaties_model extends MY_Model{
|
|||||||
return $lijst;
|
return $lijst;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getKleurcodesOrg($clusterid = FALSE, $swvid){
|
function getKleurcodesOrg($clusterid, $swvid){
|
||||||
if (! $clusterid) $clusterid = 0;
|
if (! $clusterid) $clusterid = 0;
|
||||||
$sql = " SELECT *
|
$sql = " SELECT *
|
||||||
FROM tb_kleurcodes KC
|
FROM tb_kleurcodes KC
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>403 Forbidden</title>
|
<title>403 Forbidden</title>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -3,62 +3,85 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
?><!DOCTYPE html>
|
?><!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>404 Page Not Found</title>
|
<title>404 Page Not Found</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
|
||||||
::selection { background-color: #E13300; color: white; }
|
::selection { background-color: #f07746; color: #fff; }
|
||||||
::-moz-selection { background-color: #E13300; color: white; }
|
::-moz-selection { background-color: #f07746; color: #fff; }
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
margin: 40px;
|
margin: 40px auto;
|
||||||
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
max-width: 1024px;
|
||||||
color: #4F5155;
|
font: 16px/24px normal "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
}
|
color: #808080;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #003399;
|
color: #dd4814;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
h1 {
|
a:hover {
|
||||||
color: #444;
|
color: #97310e;
|
||||||
background-color: transparent;
|
}
|
||||||
border-bottom: 1px solid #D0D0D0;
|
|
||||||
font-size: 19px;
|
|
||||||
font-weight: normal;
|
|
||||||
margin: 0 0 14px 0;
|
|
||||||
padding: 14px 15px 10px 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
code {
|
h1 {
|
||||||
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
color: #fff;
|
||||||
font-size: 12px;
|
background-color: #dd4814;
|
||||||
background-color: #f9f9f9;
|
border-bottom: 1px solid #d0d0d0;
|
||||||
border: 1px solid #D0D0D0;
|
font-size: 22px;
|
||||||
color: #002166;
|
font-weight: bold;
|
||||||
display: block;
|
margin: 0 0 14px 0;
|
||||||
margin: 14px 0 14px 0;
|
padding: 5px 15px;
|
||||||
padding: 12px 10px 12px 10px;
|
line-height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#container {
|
h2 {
|
||||||
margin: 10px;
|
color:#404040;
|
||||||
border: 1px solid #D0D0D0;
|
margin:0;
|
||||||
box-shadow: 0 0 8px #D0D0D0;
|
padding:0 0 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
code {
|
||||||
margin: 12px 15px 12px 15px;
|
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||||
}
|
font-size: 13px;
|
||||||
</style>
|
background-color: #f5f5f5;
|
||||||
|
border: 1px solid #e3e3e3;
|
||||||
|
border-radius: 4px;
|
||||||
|
color: #002166;
|
||||||
|
display: block;
|
||||||
|
margin: 14px 0 14px 0;
|
||||||
|
padding: 12px 10px 12px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#container {
|
||||||
|
margin: 10px;
|
||||||
|
border: 1px solid #d0d0d0;
|
||||||
|
box-shadow: 0 0 8px #d0d0d0;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 0 0 10px;
|
||||||
|
padding:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#body {
|
||||||
|
margin: 0 15px 0 15px;
|
||||||
|
min-height: 96px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="container">
|
<div id="container">
|
||||||
<h1><?php echo $heading; ?></h1>
|
<h1><?php echo $heading; ?></h1>
|
||||||
<?php echo $message; ?>
|
<div id="body">
|
||||||
|
<?php echo $message; ?>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -3,62 +3,85 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
?><!DOCTYPE html>
|
?><!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Database Error</title>
|
<title>Database Error</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
|
||||||
::selection { background-color: #E13300; color: white; }
|
::selection { background-color: #f07746; color: #fff; }
|
||||||
::-moz-selection { background-color: #E13300; color: white; }
|
::-moz-selection { background-color: #f07746; color: #fff; }
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
margin: 40px;
|
margin: 40px auto;
|
||||||
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
max-width: 1024px;
|
||||||
color: #4F5155;
|
font: 16px/24px normal "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
}
|
color: #808080;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #003399;
|
color: #dd4814;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
h1 {
|
a:hover {
|
||||||
color: #444;
|
color: #97310e;
|
||||||
background-color: transparent;
|
}
|
||||||
border-bottom: 1px solid #D0D0D0;
|
|
||||||
font-size: 19px;
|
|
||||||
font-weight: normal;
|
|
||||||
margin: 0 0 14px 0;
|
|
||||||
padding: 14px 15px 10px 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
code {
|
h1 {
|
||||||
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
color: #fff;
|
||||||
font-size: 12px;
|
background-color: #dd4814;
|
||||||
background-color: #f9f9f9;
|
border-bottom: 1px solid #d0d0d0;
|
||||||
border: 1px solid #D0D0D0;
|
font-size: 22px;
|
||||||
color: #002166;
|
font-weight: bold;
|
||||||
display: block;
|
margin: 0 0 14px 0;
|
||||||
margin: 14px 0 14px 0;
|
padding: 5px 15px;
|
||||||
padding: 12px 10px 12px 10px;
|
line-height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#container {
|
h2 {
|
||||||
margin: 10px;
|
color:#404040;
|
||||||
border: 1px solid #D0D0D0;
|
margin:0;
|
||||||
box-shadow: 0 0 8px #D0D0D0;
|
padding:0 0 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
code {
|
||||||
margin: 12px 15px 12px 15px;
|
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||||
}
|
font-size: 13px;
|
||||||
</style>
|
background-color: #f5f5f5;
|
||||||
|
border: 1px solid #e3e3e3;
|
||||||
|
border-radius: 4px;
|
||||||
|
color: #002166;
|
||||||
|
display: block;
|
||||||
|
margin: 14px 0 14px 0;
|
||||||
|
padding: 12px 10px 12px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#container {
|
||||||
|
margin: 10px;
|
||||||
|
border: 1px solid #d0d0d0;
|
||||||
|
box-shadow: 0 0 8px #d0d0d0;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 0 0 10px;
|
||||||
|
padding:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#body {
|
||||||
|
margin: 0 15px 0 15px;
|
||||||
|
min-height: 96px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="container">
|
<div id="container">
|
||||||
<h1><?php echo $heading; ?></h1>
|
<h1><?php echo $heading; ?></h1>
|
||||||
<?php echo $message; ?>
|
<div id="body">
|
||||||
|
<?php echo $message; ?>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -2,31 +2,31 @@
|
|||||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
<div style="border:1px solid #dd4814;padding-left:20px;margin:10px 0;">
|
||||||
|
|
||||||
<h4>An uncaught Exception was encountered</h4>
|
<h4>An uncaught Exception was encountered</h4>
|
||||||
|
|
||||||
<p>Type: <?php echo get_class($exception); ?></p>
|
<p>Type: <?php echo get_class($exception); ?></p>
|
||||||
<p>Message: <?php echo $message; ?></p>
|
<p>Message: <?php echo $message; ?></p>
|
||||||
<p>Filename: <?php echo $exception->getFile(); ?></p>
|
<p>Filename: <?php echo $exception->getFile(); ?></p>
|
||||||
<p>Line Number: <?php echo $exception->getLine(); ?></p>
|
<p>Line Number: <?php echo $exception->getLine(); ?></p>
|
||||||
|
|
||||||
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
|
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
|
||||||
|
|
||||||
<p>Backtrace:</p>
|
<p>Backtrace:</p>
|
||||||
<?php foreach ($exception->getTrace() as $error): ?>
|
<?php foreach ($exception->getTrace() as $error): ?>
|
||||||
|
|
||||||
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
|
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
|
||||||
|
|
||||||
<p style="margin-left:10px">
|
<p style="margin-left:10px">
|
||||||
File: <?php echo $error['file']; ?><br />
|
File: <?php echo $error['file']; ?><br />
|
||||||
Line: <?php echo $error['line']; ?><br />
|
Line: <?php echo $error['line']; ?><br />
|
||||||
Function: <?php echo $error['function']; ?>
|
Function: <?php echo $error['function']; ?>
|
||||||
</p>
|
</p>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
|
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,62 +3,85 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
?><!DOCTYPE html>
|
?><!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Error</title>
|
<title>Error</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
|
||||||
::selection { background-color: #E13300; color: white; }
|
::selection { background-color: #f07746; color: #fff; }
|
||||||
::-moz-selection { background-color: #E13300; color: white; }
|
::-moz-selection { background-color: #f07746; color: #fff; }
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
margin: 40px;
|
margin: 40px auto;
|
||||||
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
max-width: 1024px;
|
||||||
color: #4F5155;
|
font: 16px/24px normal "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
}
|
color: #808080;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #003399;
|
color: #dd4814;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
h1 {
|
a:hover {
|
||||||
color: #444;
|
color: #97310e;
|
||||||
background-color: transparent;
|
}
|
||||||
border-bottom: 1px solid #D0D0D0;
|
|
||||||
font-size: 19px;
|
|
||||||
font-weight: normal;
|
|
||||||
margin: 0 0 14px 0;
|
|
||||||
padding: 14px 15px 10px 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
code {
|
h1 {
|
||||||
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
color: #fff;
|
||||||
font-size: 12px;
|
background-color: #dd4814;
|
||||||
background-color: #f9f9f9;
|
border-bottom: 1px solid #d0d0d0;
|
||||||
border: 1px solid #D0D0D0;
|
font-size: 22px;
|
||||||
color: #002166;
|
font-weight: bold;
|
||||||
display: block;
|
margin: 0 0 14px 0;
|
||||||
margin: 14px 0 14px 0;
|
padding: 5px 15px;
|
||||||
padding: 12px 10px 12px 10px;
|
line-height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#container {
|
h2 {
|
||||||
margin: 10px;
|
color:#404040;
|
||||||
border: 1px solid #D0D0D0;
|
margin:0;
|
||||||
box-shadow: 0 0 8px #D0D0D0;
|
padding:0 0 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
code {
|
||||||
margin: 12px 15px 12px 15px;
|
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||||
}
|
font-size: 13px;
|
||||||
</style>
|
background-color: #f5f5f5;
|
||||||
|
border: 1px solid #e3e3e3;
|
||||||
|
border-radius: 4px;
|
||||||
|
color: #002166;
|
||||||
|
display: block;
|
||||||
|
margin: 14px 0 14px 0;
|
||||||
|
padding: 12px 10px 12px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#container {
|
||||||
|
margin: 10px;
|
||||||
|
border: 1px solid #d0d0d0;
|
||||||
|
box-shadow: 0 0 8px #d0d0d0;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 0 0 10px;
|
||||||
|
padding:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#body {
|
||||||
|
margin: 0 15px 0 15px;
|
||||||
|
min-height: 96px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="container">
|
<div id="container">
|
||||||
<h1><?php echo $heading; ?></h1>
|
<h1><?php echo $heading; ?></h1>
|
||||||
<?php echo $message; ?>
|
<div id="body">
|
||||||
|
<?php echo $message; ?>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -2,32 +2,32 @@
|
|||||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
<div style="border:1px solid #dd4814;padding-left:20px;margin:10px 0;">
|
||||||
|
|
||||||
<h4>A PHP Error was encountered</h4>
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
<p>Severity: <?php echo $severity; ?></p>
|
<p>Severity: <?php echo $severity; ?></p>
|
||||||
<p>Message: <?php echo $message; ?></p>
|
<p>Message: <?php echo $message; ?></p>
|
||||||
<p>Filename: <?php echo $filepath; ?></p>
|
<p>Filename: <?php echo $filepath; ?></p>
|
||||||
<p>Line Number: <?php echo $line; ?></p>
|
<p>Line Number: <?php echo $line; ?></p>
|
||||||
|
|
||||||
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
|
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
|
||||||
|
|
||||||
<p>Backtrace:</p>
|
<p>Backtrace:</p>
|
||||||
<?php foreach (debug_backtrace() as $error): ?>
|
<?php foreach (debug_backtrace() as $error): ?>
|
||||||
|
|
||||||
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
|
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
|
||||||
|
|
||||||
<p style="margin-left:10px">
|
<p style="margin-left:10px">
|
||||||
File: <?php echo $error['file'] ?><br />
|
File: <?php echo $error['file'] ?><br />
|
||||||
Line: <?php echo $error['line'] ?><br />
|
Line: <?php echo $error['line'] ?><br />
|
||||||
Function: <?php echo $error['function'] ?>
|
Function: <?php echo $error['function'] ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
|
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>403 Forbidden</title>
|
<title>403 Forbidden</title>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>403 Forbidden</title>
|
<title>403 Forbidden</title>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php
|
<?php
|
||||||
for($i = 0; $i < count($data['subsoorten']); $i++ ){
|
for($i = 0; $i < ($data['subsoorten'] ? count($data['subsoorten']) : 0); $i++ ){
|
||||||
if($data['subsoorten'][$i]->categorie == "BASIS"):
|
if($data['subsoorten'][$i]->categorie == "BASIS"):
|
||||||
if(($i == 0) || ($i != 0 && $data['subsoorten'][$i]->soort != $data['subsoorten'][$i-1]->soort)): ?>
|
if(($i == 0) || ($i != 0 && $data['subsoorten'][$i]->soort != $data['subsoorten'][$i-1]->soort)): ?>
|
||||||
<tr style=" background-color: #AF62A3 !important;">
|
<tr style=" background-color: #AF62A3 !important;">
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php
|
<?php
|
||||||
for($i = 0; $i < count($data['subsoorten']); $i++ ){
|
for($i = 0; $i < ($data['subsoorten'] ? count($data['subsoorten']) : 0); $i++ ){
|
||||||
if($data['subsoorten'][$i]->categorie == "EXTRA"):?>
|
if($data['subsoorten'][$i]->categorie == "EXTRA"):?>
|
||||||
<tr style="font-weight:normal; background-color:#d7d8d7 !important">
|
<tr style="font-weight:normal; background-color:#d7d8d7 !important">
|
||||||
<td style="padding-right: 3px; padding-left: 3px; border-right:1px solid #ffffff"><?php echo $data['subsoorten'][$i]->subsoort?></td>
|
<td style="padding-right: 3px; padding-left: 3px; border-right:1px solid #ffffff"><?php echo $data['subsoorten'][$i]->subsoort?></td>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
<script type="text/javascript" src="<?php echo $this->config->item('vendor_url'); ?>/js_lib/jquery.min.js"></script>
|
<?php echo inline_script('js_lib/jquery.min.js'); ?>
|
||||||
<script type="text/javascript" src="<?php echo $this->config->item('vendor_url'); ?>/js_lib/Highcharts/code/highcharts.js"></script>
|
<?php echo inline_script('js_lib/Highcharts/code/highcharts.js'); ?>
|
||||||
<script src="<?php echo $this->config->item('vendor_url'); ?>/js_lib/Highcharts/code/highcharts-3d.js"></script>
|
<?php echo inline_script('js_lib/Highcharts/code/highcharts-3d.js'); ?>
|
||||||
|
|
||||||
<!--voor scholen-->
|
<!--voor scholen-->
|
||||||
<?php if($orgsoort == 'School'): ?>
|
<?php if($orgsoort == 'School'): ?>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Compact Sop</title>
|
<title>Compact Sop</title>
|
||||||
<script type="text/javascript" src="<?php echo $this->config->item('vendor_url_secure'); ?>/js_lib/jquery.min.js?v=1.17.26"></script>
|
<script type="text/javascript" src="<?php echo $this->config->item('base_url'); ?>/js_lib/jquery.min.js?v=1.17.26"></script>
|
||||||
<!-- <script src="--><?php //echo $this->config->item('vendor_url'); ?><!--/js_lib/Highcharts/code/highcharts.js"></script>-->
|
<!-- <script src="--><?php //echo $this->config->item('vendor_url'); ?><!--/js_lib/Highcharts/code/highcharts.js"></script>-->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
font-family : 'OpenSans';
|
font-family : 'OpenSans';
|
||||||
font-style : normal;
|
font-style : normal;
|
||||||
font-weight : normal;
|
font-weight : normal;
|
||||||
src : url( http://app.monpas.nl/fonts/opensans-regular-webfont-webfont.ttf);
|
/* font ingesloten zodat de pdf niet afhangt van app.monpas.nl */
|
||||||
|
src : url( data:font/truetype;base64,<?php echo base64_encode(file_get_contents(FCPATH.'fonts/opensans-regular-webfont-webfont.ttf')); ?>) format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@@ -261,8 +262,10 @@
|
|||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<link rel="stylesheet"
|
<!-- bootstrap ingesloten zodat de pdf niet afhangt van app.monpas.nl -->
|
||||||
href="<?php echo $this->config->item('vendor_url');?>/css_lib/bootstrap-3.3.2-dist/css/bootstrap.css" crossorigin="anonymous" />
|
<style>
|
||||||
|
<?php echo file_get_contents(FCPATH.'css_lib/bootstrap-3.3.2-dist/css/bootstrap.min.css'); ?>
|
||||||
|
</style>
|
||||||
|
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="<?php echo $this->config->item('vendor_url');?>/css_lib/bootstrap-3.3.2-dist/js/bootstrap.min.js"></script>
|
src="<?php echo $this->config->item('vendor_url');?>/css_lib/bootstrap-3.3.2-dist/js/bootstrap.min.js"></script>
|
||||||
|
|||||||
@@ -256,7 +256,7 @@
|
|||||||
|
|
||||||
<!--ko foreach: lijsten-->
|
<!--ko foreach: lijsten-->
|
||||||
<!-- Nieuwste meting + ijkpunten van school, bestuur en kamer-->
|
<!-- Nieuwste meting + ijkpunten van school, bestuur en kamer-->
|
||||||
<table class="tabelitem" data-bind="visible: $root.isSWV()==false && tooninfo() == true">
|
<table class="tabelitem" data-bind="visible: $root.isSWV()==false && tooninfo() == true && erzijnscores() == true">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width:50%"></th>
|
<th style="width:50%"></th>
|
||||||
@@ -367,7 +367,7 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<!-- Nieuwste meting + ijkpunten van swv-->
|
<!-- Nieuwste meting + ijkpunten van swv-->
|
||||||
<table class="tabelitem" data-bind="visible: tooninfo()== true && $root.isSWV() == true ">
|
<table class="tabelitem" data-bind="visible: tooninfo()== true && $root.isSWV() == true && erzijnscores() == true">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width:50%"></th>
|
<th style="width:50%"></th>
|
||||||
@@ -403,7 +403,7 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<!-- Metingen ter vergelijking van swv-->
|
<!-- Metingen ter vergelijking van swv-->
|
||||||
<table class="tabelitem" data-bind="visible: tooninfo() == false && $root.isSWV() == true">
|
<table class="tabelitem" data-bind="visible: tooninfo() == false && $root.isSWV() == true && erzijnscores() == true">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width:50%"></th>
|
<th style="width:50%"></th>
|
||||||
@@ -438,6 +438,43 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<!-- periode zonder ingevulde lijst: eigen kolom met 'niet ingevuld'-->
|
||||||
|
<table class="tabelitem" data-bind="visible: erzijnscores() == false">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="width:100%"></th>
|
||||||
|
</tr>
|
||||||
|
<tr class="headpdf" >
|
||||||
|
<th class="ijkpuntth" style="border-right: 1px solid white; border-bottom: 1px solid #a07b8e;">
|
||||||
|
<div class="ijkpuntthdiv" data-bind="text: vantm">
|
||||||
|
</div>
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
<tr class="headpdf" >
|
||||||
|
<th class="ijkpuntth" style="border-right: 1px solid white;">
|
||||||
|
<div class="ijkpuntthdiv" data-bind="text: $root.selectedUser() ? $root.selectedUser().naam : orgnaam">
|
||||||
|
</div>
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
<tr class="headpdf" >
|
||||||
|
<th class="ijkpuntth" style="border-right: 1px solid white;">
|
||||||
|
<div class="ijkpuntthdiv" style="height: 30px;">niet ingevuld
|
||||||
|
</div>
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<!-- ko foreach: $root.ijkpunten -->
|
||||||
|
<tr style="border-bottom: 1px solid #ebebeb; max-height: 30px;">
|
||||||
|
<td style="text-align:right; vertical-align:top; padding-right: 5px; background-color: lightgray;"> </td>
|
||||||
|
</tr>
|
||||||
|
<!-- /ko -->
|
||||||
|
<tr style="border-bottom: 1px solid #ebebeb; max-height: 30px;">
|
||||||
|
<td style="text-align:right; vertical-align:top; padding-right: 5px; background-color: lightgray;"> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
<!--/ko-->
|
<!--/ko-->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -45,25 +45,25 @@
|
|||||||
<tr style="border-bottom: 1px solid #f2f2f2">
|
<tr style="border-bottom: 1px solid #f2f2f2">
|
||||||
<td> Aantal leerlingen categorie 1</td>
|
<td> Aantal leerlingen categorie 1</td>
|
||||||
<td style="text-align: right" ><?=$schoolsom1?></td>
|
<td style="text-align: right" ><?=$schoolsom1?></td>
|
||||||
<td style="text-align: right"><?=round(($schoolsom1/$schooltotaal) * 100).'%'?></td>
|
<td style="text-align: right"><?=($schooltotaal ? round(($schoolsom1/$schooltotaal) * 100) : 0).'%'?></td>
|
||||||
<td style="text-align: right"><?=$richtlijn[0]?></td>
|
<td style="text-align: right"><?=$richtlijn[0]?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr style="border-bottom: 1px solid #f2f2f2">
|
<tr style="border-bottom: 1px solid #f2f2f2">
|
||||||
<td> Aantal leerlingen categorie 2</td>
|
<td> Aantal leerlingen categorie 2</td>
|
||||||
<td style="text-align: right" ><?=$schoolsom2?></td>
|
<td style="text-align: right" ><?=$schoolsom2?></td>
|
||||||
<td style="text-align: right" ><?=round(($schoolsom2/$schooltotaal) * 100).'%' ?></td>
|
<td style="text-align: right" ><?=($schooltotaal ? round(($schoolsom2/$schooltotaal) * 100) : 0).'%' ?></td>
|
||||||
<td style="text-align: right"><?=$richtlijn[1]?></td>
|
<td style="text-align: right"><?=$richtlijn[1]?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr style="border-bottom: 1px solid #f2f2f2">
|
<tr style="border-bottom: 1px solid #f2f2f2">
|
||||||
<td> Aantal leerlingen categorie 3</td>
|
<td> Aantal leerlingen categorie 3</td>
|
||||||
<td style="text-align: right" ><?=$schoolsom3?></td>
|
<td style="text-align: right" ><?=$schoolsom3?></td>
|
||||||
<td style="text-align: right" ><?=round(($schoolsom3/$schooltotaal) * 100).'%' ?></td>
|
<td style="text-align: right" ><?=($schooltotaal ? round(($schoolsom3/$schooltotaal) * 100) : 0).'%' ?></td>
|
||||||
<td style="text-align: right"><?=$richtlijn[2]?></td>
|
<td style="text-align: right"><?=$richtlijn[2]?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr style="border-bottom: 1px solid #f2f2f2">
|
<tr style="border-bottom: 1px solid #f2f2f2">
|
||||||
<td> Aantal leerlingen categorie 4</td>
|
<td> Aantal leerlingen categorie 4</td>
|
||||||
<td style="text-align: right"><?=$schoolsom4?></td>
|
<td style="text-align: right"><?=$schoolsom4?></td>
|
||||||
<td style="text-align: right" ><?=round(($schoolsom4/$schooltotaal) * 100).'%' ?></td>
|
<td style="text-align: right" ><?=($schooltotaal ? round(($schoolsom4/$schooltotaal) * 100) : 0).'%' ?></td>
|
||||||
<td style="text-align: right"><?=$richtlijn[3]?></td>
|
<td style="text-align: right"><?=$richtlijn[3]?></td>
|
||||||
</tr>s
|
</tr>s
|
||||||
<tr style="border-bottom: 1px solid #f2f2f2">
|
<tr style="border-bottom: 1px solid #f2f2f2">
|
||||||
|
|||||||
@@ -42,22 +42,22 @@
|
|||||||
<tr style="border-bottom: 1px solid #f2f2f2">
|
<tr style="border-bottom: 1px solid #f2f2f2">
|
||||||
<td> Aantal leerlingen SBO</td>
|
<td> Aantal leerlingen SBO</td>
|
||||||
<td style="text-align: right" ><?=$schoolsom5?></td>
|
<td style="text-align: right" ><?=$schoolsom5?></td>
|
||||||
<td style="text-align: right"><?=round(($schoolsom5/$schooltotaal) * 100).'%'?></td>
|
<td style="text-align: right"><?=($schooltotaal ? round(($schoolsom5/$schooltotaal) * 100) : 0).'%'?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr style="border-bottom: 1px solid #f2f2f2">
|
<tr style="border-bottom: 1px solid #f2f2f2">
|
||||||
<td> Aantal leerlingen TLV SO-1</td>
|
<td> Aantal leerlingen TLV SO-1</td>
|
||||||
<td style="text-align: right" ><?=$schoolsom6?></td>
|
<td style="text-align: right" ><?=$schoolsom6?></td>
|
||||||
<td style="text-align: right" ><?=round(($schoolsom6/$schooltotaal) * 100).'%' ?></td>
|
<td style="text-align: right" ><?=($schooltotaal ? round(($schoolsom6/$schooltotaal) * 100) : 0).'%' ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr style="border-bottom: 1px solid #f2f2f2">
|
<tr style="border-bottom: 1px solid #f2f2f2">
|
||||||
<td> Aantal leerlingen TLV SO-2</td>
|
<td> Aantal leerlingen TLV SO-2</td>
|
||||||
<td style="text-align: right" ><?=$schoolsom7?></td>
|
<td style="text-align: right" ><?=$schoolsom7?></td>
|
||||||
<td style="text-align: right" ><?=round(($schoolsom7/$schooltotaal) * 100).'%' ?></td>
|
<td style="text-align: right" ><?=($schooltotaal ? round(($schoolsom7/$schooltotaal) * 100) : 0).'%' ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr style="border-bottom: 1px solid #f2f2f2">
|
<tr style="border-bottom: 1px solid #f2f2f2">
|
||||||
<td> Aantal leerlingen TLV SO-3</td>
|
<td> Aantal leerlingen TLV SO-3</td>
|
||||||
<td style="text-align: right"><?=$schoolsom8?></td>
|
<td style="text-align: right"><?=$schoolsom8?></td>
|
||||||
<td style="text-align: right" ><?=round(($schoolsom8/$schooltotaal) * 100).'%' ?></td>
|
<td style="text-align: right" ><?=($schooltotaal ? round(($schoolsom8/$schooltotaal) * 100) : 0).'%' ?></td>
|
||||||
</tr>s
|
</tr>s
|
||||||
<tr style="border-bottom: 1px solid #f2f2f2">
|
<tr style="border-bottom: 1px solid #f2f2f2">
|
||||||
<td> Totaal gewogen diversiteit</td>
|
<td> Totaal gewogen diversiteit</td>
|
||||||
|
|||||||
@@ -9,8 +9,7 @@
|
|||||||
<!---->
|
<!---->
|
||||||
<!-- <script type="text/javascript"-->
|
<!-- <script type="text/javascript"-->
|
||||||
<!-- src="--><?php //echo $this->config->item('vendor_url_secure');?><!--/css_lib/bootstrap-3.3.2-dist/js/bootstrap.min.js"></script>-->
|
<!-- src="--><?php //echo $this->config->item('vendor_url_secure');?><!--/css_lib/bootstrap-3.3.2-dist/js/bootstrap.min.js"></script>-->
|
||||||
<script type="text/javascript"
|
<?php echo inline_script('js_lib/knockout.min.js'); ?>
|
||||||
src="<?php echo $this->config->item('vendor_url');?>/js_lib/knockout.min.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Invullijst</title>
|
<title>Invullijst</title>
|
||||||
<script type="text/javascript" src="<?php echo $this->config->item('vendor_url_secure'); ?>/js_lib/jquery.min.js?v=1.17.26"></script>
|
<?php echo inline_script('js_lib/jquery.min.js'); ?>
|
||||||
<link rel="stylesheet" href="/css_lib/bootstrap-3.3.2-dist/css/bootstrap.css" crossorigin="anonymous" />
|
<link rel="stylesheet" href="/css_lib/bootstrap-3.3.2-dist/css/bootstrap.css" crossorigin="anonymous" />
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<!-- <link rel="stylesheet" href=--><?php //echo MYROOTPATH."public/css/vendor/fontawesome/css/font-awesome.css"?><!-- crossorigin="anonymous" />-->
|
<!-- <link rel="stylesheet" href=--><?php //echo MYROOTPATH."public/css/vendor/fontawesome/css/font-awesome.css"?><!-- crossorigin="anonymous" />-->
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<script type="text/javascript" src="<?php echo $this->config->item('vendor_url'); ?>/js_lib/jquery.min.js"></script>
|
<?php echo inline_script('js_lib/jquery.min.js'); ?>
|
||||||
<script src="<?php echo $this->config->item('vendor_url'); ?>/js_lib/Highcharts/code/highcharts.js"></script>
|
<?php echo inline_script('js_lib/Highcharts/code/highcharts.js'); ?>
|
||||||
<script src="<?php echo $this->config->item('vendor_url'); ?>/js_lib/Highcharts/code/highcharts-3d.js"></script>
|
<?php echo inline_script('js_lib/Highcharts/code/highcharts-3d.js'); ?>
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
font-family: 'Verdana', 'sans-serif';
|
font-family: 'Verdana', 'sans-serif';
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user