Up sistem
This commit is contained in:
commit
85e644fca7
|
@ -0,0 +1,15 @@
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# Unix-style newlines with a newline ending every file
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
# Matches multiple files with brace expansion notation
|
||||||
|
# Set default charset
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
|
||||||
|
# Tab indentation (no size specified)
|
||||||
|
indent_style = tab
|
|
@ -0,0 +1,17 @@
|
||||||
|
*/config/development
|
||||||
|
*/logs/log-*.php
|
||||||
|
!*/logs/index.html
|
||||||
|
*/cache/*
|
||||||
|
!*/cache/index.html
|
||||||
|
!*/cache/.htaccess
|
||||||
|
|
||||||
|
user_guide_src/build/*
|
||||||
|
user_guide_src/cilexer/build/*
|
||||||
|
user_guide_src/cilexer/dist/*
|
||||||
|
user_guide_src/cilexer/pycilexer.egg-info/*
|
||||||
|
|
||||||
|
#codeigniter 3
|
||||||
|
application/logs/*
|
||||||
|
!application/logs/index.html
|
||||||
|
!application/logs/.htaccess
|
||||||
|
/vendor/
|
|
@ -0,0 +1,4 @@
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteRule ^(.*)$ index.php?/$1 [L]
|
|
@ -0,0 +1,6 @@
|
||||||
|
<IfModule authz_core_module>
|
||||||
|
Require all denied
|
||||||
|
</IfModule>
|
||||||
|
<IfModule !authz_core_module>
|
||||||
|
Deny from all
|
||||||
|
</IfModule>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,135 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| AUTO-LOADER
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| This file specifies which systems should be loaded by default.
|
||||||
|
|
|
||||||
|
| In order to keep the framework as light-weight as possible only the
|
||||||
|
| absolute minimal resources are loaded by default. For example,
|
||||||
|
| the database is not connected to automatically since no assumption
|
||||||
|
| is made regarding whether you intend to use it. This file lets
|
||||||
|
| you globally define which systems you would like loaded with every
|
||||||
|
| request.
|
||||||
|
|
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Instructions
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| These are the things you can load automatically:
|
||||||
|
|
|
||||||
|
| 1. Packages
|
||||||
|
| 2. Libraries
|
||||||
|
| 3. Drivers
|
||||||
|
| 4. Helper files
|
||||||
|
| 5. Custom config files
|
||||||
|
| 6. Language files
|
||||||
|
| 7. Models
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Auto-load Packages
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Prototype:
|
||||||
|
|
|
||||||
|
| $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$autoload['packages'] = array();
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Auto-load Libraries
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| These are the classes located in system/libraries/ or your
|
||||||
|
| application/libraries/ directory, with the addition of the
|
||||||
|
| 'database' library, which is somewhat of a special case.
|
||||||
|
|
|
||||||
|
| Prototype:
|
||||||
|
|
|
||||||
|
| $autoload['libraries'] = array('database', 'email', 'session');
|
||||||
|
|
|
||||||
|
| You can also supply an alternative library name to be assigned
|
||||||
|
| in the controller:
|
||||||
|
|
|
||||||
|
| $autoload['libraries'] = array('user_agent' => 'ua');
|
||||||
|
*/
|
||||||
|
$autoload['libraries'] = array('database', 'email', 'session','form_validation');
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Auto-load Drivers
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| These classes are located in system/libraries/ or in your
|
||||||
|
| application/libraries/ directory, but are also placed inside their
|
||||||
|
| own subdirectory and they extend the CI_Driver_Library class. They
|
||||||
|
| offer multiple interchangeable driver options.
|
||||||
|
|
|
||||||
|
| Prototype:
|
||||||
|
|
|
||||||
|
| $autoload['drivers'] = array('cache');
|
||||||
|
|
|
||||||
|
| You can also supply an alternative property name to be assigned in
|
||||||
|
| the controller:
|
||||||
|
|
|
||||||
|
| $autoload['drivers'] = array('cache' => 'cch');
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$autoload['drivers'] = array();
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Auto-load Helper Files
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Prototype:
|
||||||
|
|
|
||||||
|
| $autoload['helper'] = array('url', 'file');
|
||||||
|
*/
|
||||||
|
$autoload['helper'] = array('url','file','sistem');
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Auto-load Config files
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Prototype:
|
||||||
|
|
|
||||||
|
| $autoload['config'] = array('config1', 'config2');
|
||||||
|
|
|
||||||
|
| NOTE: This item is intended for use ONLY if you have created custom
|
||||||
|
| config files. Otherwise, leave it blank.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$autoload['config'] = array();
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Auto-load Language files
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Prototype:
|
||||||
|
|
|
||||||
|
| $autoload['language'] = array('lang1', 'lang2');
|
||||||
|
|
|
||||||
|
| NOTE: Do not include the "_lang" part of your file. For example
|
||||||
|
| "codeigniter_lang.php" would be referenced as array('codeigniter');
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$autoload['language'] = array();
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Auto-load Models
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Prototype:
|
||||||
|
|
|
||||||
|
| $autoload['model'] = array('first_model', 'second_model');
|
||||||
|
|
|
||||||
|
| You can also supply an alternative model name to be assigned
|
||||||
|
| in the controller:
|
||||||
|
|
|
||||||
|
| $autoload['model'] = array('first_model' => 'first');
|
||||||
|
*/
|
||||||
|
$autoload['model'] = array();
|
|
@ -0,0 +1,524 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Base Site URL
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| URL to your CodeIgniter root. Typically this will be your base URL,
|
||||||
|
| WITH a trailing slash:
|
||||||
|
|
|
||||||
|
| http://example.com/
|
||||||
|
|
|
||||||
|
| WARNING: You MUST set this value!
|
||||||
|
|
|
||||||
|
| If it is not set, then CodeIgniter will try guess the protocol and path
|
||||||
|
| your installation, but due to security concerns the hostname will be set
|
||||||
|
| to $_SERVER['SERVER_ADDR'] if available, or localhost otherwise.
|
||||||
|
| The auto-detection mechanism exists only for convenience during
|
||||||
|
| development and MUST NOT be used in production!
|
||||||
|
|
|
||||||
|
| If you need to allow multiple domains, remember that this file is still
|
||||||
|
| a PHP script and you can easily do that on your own.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['base_url'] = "http://" . $_SERVER['HTTP_HOST'];
|
||||||
|
$config['base_url'] .= preg_replace('@/+$@', '', dirname($_SERVER['SCRIPT_NAME'])) . '/';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Index File
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Typically this will be your index.php file, unless you've renamed it to
|
||||||
|
| something else. If you are using mod_rewrite to remove the page set this
|
||||||
|
| variable so that it is blank.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['index_page'] = '';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| URI PROTOCOL
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This item determines which server global should be used to retrieve the
|
||||||
|
| URI string. The default setting of 'REQUEST_URI' works for most servers.
|
||||||
|
| If your links do not seem to work, try one of the other delicious flavors:
|
||||||
|
|
|
||||||
|
| 'REQUEST_URI' Uses $_SERVER['REQUEST_URI']
|
||||||
|
| 'QUERY_STRING' Uses $_SERVER['QUERY_STRING']
|
||||||
|
| 'PATH_INFO' Uses $_SERVER['PATH_INFO']
|
||||||
|
|
|
||||||
|
| WARNING: If you set this to 'PATH_INFO', URIs will always be URL-decoded!
|
||||||
|
*/
|
||||||
|
$config['uri_protocol'] = 'REQUEST_URI';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| URL suffix
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option allows you to add a suffix to all URLs generated by CodeIgniter.
|
||||||
|
| For more information please see the user guide:
|
||||||
|
|
|
||||||
|
| https://codeigniter.com/user_guide/general/urls.html
|
||||||
|
*/
|
||||||
|
$config['url_suffix'] = '';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Language
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This determines which set of language files should be used. Make sure
|
||||||
|
| there is an available translation if you intend to use something other
|
||||||
|
| than english.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['language'] = 'english';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Character Set
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This determines which character set is used by default in various methods
|
||||||
|
| that require a character set to be provided.
|
||||||
|
|
|
||||||
|
| See http://php.net/htmlspecialchars for a list of supported charsets.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['charset'] = 'UTF-8';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Enable/Disable System Hooks
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If you would like to use the 'hooks' feature you must enable it by
|
||||||
|
| setting this variable to TRUE (boolean). See the user guide for details.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['enable_hooks'] = FALSE;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Class Extension Prefix
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This item allows you to set the filename/classname prefix when extending
|
||||||
|
| native libraries. For more information please see the user guide:
|
||||||
|
|
|
||||||
|
| https://codeigniter.com/user_guide/general/core_classes.html
|
||||||
|
| https://codeigniter.com/user_guide/general/creating_libraries.html
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['subclass_prefix'] = 'MY_';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Composer auto-loading
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Enabling this setting will tell CodeIgniter to look for a Composer
|
||||||
|
| package auto-loader script in application/vendor/autoload.php.
|
||||||
|
|
|
||||||
|
| $config['composer_autoload'] = TRUE;
|
||||||
|
|
|
||||||
|
| Or if you have your vendor/ directory located somewhere else, you
|
||||||
|
| can opt to set a specific path as well:
|
||||||
|
|
|
||||||
|
| $config['composer_autoload'] = '/path/to/vendor/autoload.php';
|
||||||
|
|
|
||||||
|
| For more information about Composer, please visit http://getcomposer.org/
|
||||||
|
|
|
||||||
|
| Note: This will NOT disable or override the CodeIgniter-specific
|
||||||
|
| autoloading (application/config/autoload.php)
|
||||||
|
*/
|
||||||
|
$config['composer_autoload'] = FALSE;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Allowed URL Characters
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This lets you specify which characters are permitted within your URLs.
|
||||||
|
| When someone tries to submit a URL with disallowed characters they will
|
||||||
|
| get a warning message.
|
||||||
|
|
|
||||||
|
| As a security measure you are STRONGLY encouraged to restrict URLs to
|
||||||
|
| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
|
||||||
|
|
|
||||||
|
| Leave blank to allow all characters -- but only if you are insane.
|
||||||
|
|
|
||||||
|
| The configured value is actually a regular expression character group
|
||||||
|
| and it will be executed as: ! preg_match('/^[<permitted_uri_chars>]+$/i
|
||||||
|
|
|
||||||
|
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Enable Query Strings
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| By default CodeIgniter uses search-engine friendly segment based URLs:
|
||||||
|
| example.com/who/what/where/
|
||||||
|
|
|
||||||
|
| You can optionally enable standard query string based URLs:
|
||||||
|
| example.com?who=me&what=something&where=here
|
||||||
|
|
|
||||||
|
| Options are: TRUE or FALSE (boolean)
|
||||||
|
|
|
||||||
|
| The other items let you set the query string 'words' that will
|
||||||
|
| invoke your controllers and its functions:
|
||||||
|
| example.com/index.php?c=controller&m=function
|
||||||
|
|
|
||||||
|
| Please note that some of the helpers won't work as expected when
|
||||||
|
| this feature is enabled, since CodeIgniter is designed primarily to
|
||||||
|
| use segment based URLs.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['enable_query_strings'] = FALSE;
|
||||||
|
$config['controller_trigger'] = 'c';
|
||||||
|
$config['function_trigger'] = 'm';
|
||||||
|
$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
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| You can enable error logging by setting a threshold over zero. The
|
||||||
|
| threshold determines what gets logged. Threshold options are:
|
||||||
|
|
|
||||||
|
| 0 = Disables logging, Error logging TURNED OFF
|
||||||
|
| 1 = Error Messages (including PHP errors)
|
||||||
|
| 2 = Debug Messages
|
||||||
|
| 3 = Informational Messages
|
||||||
|
| 4 = All Messages
|
||||||
|
|
|
||||||
|
| You can also pass an array with threshold levels to show individual error types
|
||||||
|
|
|
||||||
|
| array(2) = Debug Messages, without Error Messages
|
||||||
|
|
|
||||||
|
| For a live site you'll usually only enable Errors (1) to be logged otherwise
|
||||||
|
| your log files will fill up very fast.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['log_threshold'] = 0;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Error Logging Directory Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| 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.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['log_path'] = '';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Log File Extension
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The default filename extension for log files. The default 'php' allows for
|
||||||
|
| protecting the log files via basic scripting, when they are to be stored
|
||||||
|
| under a publicly accessible directory.
|
||||||
|
|
|
||||||
|
| Note: Leaving it blank will default to 'php'.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['log_file_extension'] = '';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Log File Permissions
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The file system permissions to be applied on newly created log files.
|
||||||
|
|
|
||||||
|
| IMPORTANT: This MUST be an integer (no quotes) and you MUST use octal
|
||||||
|
| integer notation (i.e. 0700, 0644, etc.)
|
||||||
|
*/
|
||||||
|
$config['log_file_permissions'] = 0644;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Date Format for Logs
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Each item that is logged has an associated date. You can use PHP date
|
||||||
|
| codes to set your own date formatting
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['log_date_format'] = 'Y-m-d H:i:s';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Error Views Directory Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| 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.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['error_views_path'] = '';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Cache Directory Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| 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.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['cache_path'] = '';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Cache Include Query String
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Whether to take the URL query string into consideration when generating
|
||||||
|
| output cache files. Valid options are:
|
||||||
|
|
|
||||||
|
| FALSE = Disabled
|
||||||
|
| TRUE = Enabled, take all query parameters into account.
|
||||||
|
| Please be aware that this may result in numerous cache
|
||||||
|
| files generated for the same page over and over again.
|
||||||
|
| array('q') = Enabled, but only take into account the specified list
|
||||||
|
| of query parameters.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['cache_query_string'] = FALSE;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Encryption Key
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If you use the Encryption class, you must set an encryption key.
|
||||||
|
| See the user guide for more info.
|
||||||
|
|
|
||||||
|
| https://codeigniter.com/user_guide/libraries/encryption.html
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['encryption_key'] = 'peramalanAdjieBramantya';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Variables
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| 'sess_driver'
|
||||||
|
|
|
||||||
|
| The storage driver to use: files, database, redis, memcached
|
||||||
|
|
|
||||||
|
| 'sess_cookie_name'
|
||||||
|
|
|
||||||
|
| The session cookie name, must contain only [0-9a-z_-] characters
|
||||||
|
|
|
||||||
|
| 'sess_expiration'
|
||||||
|
|
|
||||||
|
| The number of SECONDS you want the session to last.
|
||||||
|
| Setting to 0 (zero) means expire when the browser is closed.
|
||||||
|
|
|
||||||
|
| 'sess_save_path'
|
||||||
|
|
|
||||||
|
| The location to save sessions to, driver dependent.
|
||||||
|
|
|
||||||
|
| For the 'files' driver, it's a path to a writable directory.
|
||||||
|
| WARNING: Only absolute paths are supported!
|
||||||
|
|
|
||||||
|
| For the 'database' driver, it's a table name.
|
||||||
|
| Please read up the manual for the format with other session drivers.
|
||||||
|
|
|
||||||
|
| IMPORTANT: You are REQUIRED to set a valid save path!
|
||||||
|
|
|
||||||
|
| 'sess_match_ip'
|
||||||
|
|
|
||||||
|
| Whether to match the user's IP address when reading the session data.
|
||||||
|
|
|
||||||
|
| WARNING: If you're using the database driver, don't forget to update
|
||||||
|
| your session table's PRIMARY KEY when changing this setting.
|
||||||
|
|
|
||||||
|
| 'sess_time_to_update'
|
||||||
|
|
|
||||||
|
| How many seconds between CI regenerating the session ID.
|
||||||
|
|
|
||||||
|
| 'sess_regenerate_destroy'
|
||||||
|
|
|
||||||
|
| Whether to destroy session data associated with the old session ID
|
||||||
|
| when auto-regenerating the session ID. When set to FALSE, the data
|
||||||
|
| will be later deleted by the garbage collector.
|
||||||
|
|
|
||||||
|
| Other session cookie settings are shared with the rest of the application,
|
||||||
|
| except for 'cookie_prefix' and 'cookie_httponly', which are ignored here.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['sess_driver'] = 'files';
|
||||||
|
$config['sess_cookie_name'] = 'ci_session';
|
||||||
|
$config['sess_expiration'] = 7200;
|
||||||
|
$config['sess_save_path'] = NULL;
|
||||||
|
$config['sess_match_ip'] = FALSE;
|
||||||
|
$config['sess_time_to_update'] = 300;
|
||||||
|
$config['sess_regenerate_destroy'] = FALSE;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Cookie Related Variables
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| 'cookie_prefix' = Set a cookie name prefix if you need to avoid collisions
|
||||||
|
| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
|
||||||
|
| 'cookie_path' = Typically will be a forward slash
|
||||||
|
| '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)
|
||||||
|
|
|
||||||
|
| Note: These settings (with the exception of 'cookie_prefix' and
|
||||||
|
| 'cookie_httponly') will also affect sessions.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['cookie_prefix'] = '';
|
||||||
|
$config['cookie_domain'] = '';
|
||||||
|
$config['cookie_path'] = '/';
|
||||||
|
$config['cookie_secure'] = FALSE;
|
||||||
|
$config['cookie_httponly'] = FALSE;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| 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;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Cross Site Request Forgery
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Enables a CSRF cookie token to be set. When set to TRUE, token will be
|
||||||
|
| checked on a submitted form. If you are accepting user data, it is strongly
|
||||||
|
| recommended CSRF protection be enabled.
|
||||||
|
|
|
||||||
|
| 'csrf_token_name' = The token name
|
||||||
|
| 'csrf_cookie_name' = The cookie name
|
||||||
|
| 'csrf_expire' = The number in seconds the token should expire.
|
||||||
|
| 'csrf_regenerate' = Regenerate token on every submission
|
||||||
|
| 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks
|
||||||
|
*/
|
||||||
|
$config['csrf_protection'] = FALSE;
|
||||||
|
$config['csrf_token_name'] = 'csrf_test_name';
|
||||||
|
$config['csrf_cookie_name'] = 'csrf_cookie_name';
|
||||||
|
$config['csrf_expire'] = 7200;
|
||||||
|
$config['csrf_regenerate'] = TRUE;
|
||||||
|
$config['csrf_exclude_uris'] = array();
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Output Compression
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Enables Gzip output compression for faster page loads. When enabled,
|
||||||
|
| the output class will test whether your server supports Gzip.
|
||||||
|
| Even if it does, however, not all browsers support compression
|
||||||
|
| so enable only if you are reasonably sure your visitors can handle it.
|
||||||
|
|
|
||||||
|
| Only used if zlib.output_compression is turned off in your php.ini.
|
||||||
|
| Please do not use it together with httpd-level output compression.
|
||||||
|
|
|
||||||
|
| VERY IMPORTANT: If you are getting a blank page when compression is enabled it
|
||||||
|
| means you are prematurely outputting something to your browser. It could
|
||||||
|
| even be a line of whitespace at the end of one of your scripts. For
|
||||||
|
| compression to work, nothing can be sent before the output buffer is called
|
||||||
|
| by the output class. Do not 'echo' any values with compression enabled.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['compress_output'] = FALSE;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Master Time Reference
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Options are 'local' or any PHP supported timezone. This preference tells
|
||||||
|
| the system whether to use your server's local time as the master 'now'
|
||||||
|
| reference, or convert it to the configured one timezone. See the 'date
|
||||||
|
| helper' page of the user guide for information regarding date handling.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$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
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If your server is behind a reverse proxy, you must whitelist the proxy
|
||||||
|
| IP addresses from which CodeIgniter should trust headers such as
|
||||||
|
| HTTP_X_FORWARDED_FOR and HTTP_CLIENT_IP in order to properly identify
|
||||||
|
| the visitor's IP address.
|
||||||
|
|
|
||||||
|
| You can use both an array or a comma-separated list of proxy addresses,
|
||||||
|
| as well as specifying whole subnets. Here are a few examples:
|
||||||
|
|
|
||||||
|
| Comma-separated: '10.0.1.200,192.168.5.0/24'
|
||||||
|
| Array: array('10.0.1.200', '192.168.5.0/24')
|
||||||
|
*/
|
||||||
|
$config['proxy_ips'] = '';
|
|
@ -0,0 +1,85 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Display Debug backtrace
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If set to TRUE, a backtrace will be displayed along with php errors. If
|
||||||
|
| error_reporting is disabled, the backtrace will not display, regardless
|
||||||
|
| of this setting
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
defined('SHOW_DEBUG_BACKTRACE') OR define('SHOW_DEBUG_BACKTRACE', TRUE);
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| File and Directory Modes
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| These prefs are used when checking and setting modes when working
|
||||||
|
| with the file system. The defaults are fine on servers with proper
|
||||||
|
| security, but you may wish (or even need) to change the values in
|
||||||
|
| certain environments (Apache running a separate process for each
|
||||||
|
| user, PHP under CGI with Apache suEXEC, etc.). Octal values should
|
||||||
|
| always be used to set the mode correctly.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
defined('FILE_READ_MODE') OR define('FILE_READ_MODE', 0644);
|
||||||
|
defined('FILE_WRITE_MODE') OR define('FILE_WRITE_MODE', 0666);
|
||||||
|
defined('DIR_READ_MODE') OR define('DIR_READ_MODE', 0755);
|
||||||
|
defined('DIR_WRITE_MODE') OR define('DIR_WRITE_MODE', 0755);
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| File Stream Modes
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| These modes are used when working with fopen()/popen()
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
defined('FOPEN_READ') OR define('FOPEN_READ', 'rb');
|
||||||
|
defined('FOPEN_READ_WRITE') OR define('FOPEN_READ_WRITE', 'r+b');
|
||||||
|
defined('FOPEN_WRITE_CREATE_DESTRUCTIVE') OR define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care
|
||||||
|
defined('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE') OR define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE', 'w+b'); // truncates existing file data, use with care
|
||||||
|
defined('FOPEN_WRITE_CREATE') OR define('FOPEN_WRITE_CREATE', 'ab');
|
||||||
|
defined('FOPEN_READ_WRITE_CREATE') OR define('FOPEN_READ_WRITE_CREATE', 'a+b');
|
||||||
|
defined('FOPEN_WRITE_CREATE_STRICT') OR define('FOPEN_WRITE_CREATE_STRICT', 'xb');
|
||||||
|
defined('FOPEN_READ_WRITE_CREATE_STRICT') OR define('FOPEN_READ_WRITE_CREATE_STRICT', 'x+b');
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Exit Status Codes
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Used to indicate the conditions under which the script is exit()ing.
|
||||||
|
| While there is no universal standard for error codes, there are some
|
||||||
|
| broad conventions. Three such conventions are mentioned below, for
|
||||||
|
| those who wish to make use of them. The CodeIgniter defaults were
|
||||||
|
| chosen for the least overlap with these conventions, while still
|
||||||
|
| leaving room for others to be defined in future versions and user
|
||||||
|
| applications.
|
||||||
|
|
|
||||||
|
| The three main conventions used for determining exit status codes
|
||||||
|
| are as follows:
|
||||||
|
|
|
||||||
|
| Standard C/C++ Library (stdlibc):
|
||||||
|
| http://www.gnu.org/software/libc/manual/html_node/Exit-Status.html
|
||||||
|
| (This link also contains other GNU-specific conventions)
|
||||||
|
| BSD sysexits.h:
|
||||||
|
| http://www.gsp.com/cgi-bin/man.cgi?section=3&topic=sysexits
|
||||||
|
| Bash scripting:
|
||||||
|
| http://tldp.org/LDP/abs/html/exitcodes.html
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
defined('EXIT_SUCCESS') OR define('EXIT_SUCCESS', 0); // no errors
|
||||||
|
defined('EXIT_ERROR') OR define('EXIT_ERROR', 1); // generic error
|
||||||
|
defined('EXIT_CONFIG') OR define('EXIT_CONFIG', 3); // configuration error
|
||||||
|
defined('EXIT_UNKNOWN_FILE') OR define('EXIT_UNKNOWN_FILE', 4); // file not found
|
||||||
|
defined('EXIT_UNKNOWN_CLASS') OR define('EXIT_UNKNOWN_CLASS', 5); // unknown class
|
||||||
|
defined('EXIT_UNKNOWN_METHOD') OR define('EXIT_UNKNOWN_METHOD', 6); // unknown class member
|
||||||
|
defined('EXIT_USER_INPUT') OR define('EXIT_USER_INPUT', 7); // invalid user input
|
||||||
|
defined('EXIT_DATABASE') OR define('EXIT_DATABASE', 8); // database error
|
||||||
|
defined('EXIT__AUTO_MIN') OR define('EXIT__AUTO_MIN', 9); // lowest automatically-assigned error code
|
||||||
|
defined('EXIT__AUTO_MAX') OR define('EXIT__AUTO_MAX', 125); // highest automatically-assigned error code
|
|
@ -0,0 +1,97 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| DATABASE CONNECTIVITY SETTINGS
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| This file will contain the settings needed to access your database.
|
||||||
|
|
|
||||||
|
| For complete instructions please consult the 'Database Connection'
|
||||||
|
| page of the User Guide.
|
||||||
|
|
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| EXPLANATION OF VARIABLES
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| ['dsn'] The full DSN string describe a connection to the database.
|
||||||
|
| ['hostname'] The hostname of your database server.
|
||||||
|
| ['username'] The username used to connect to the database
|
||||||
|
| ['password'] The password used to connect to the database
|
||||||
|
| ['database'] The name of the database you want to connect to
|
||||||
|
| ['dbdriver'] The database driver. e.g.: mysqli.
|
||||||
|
| Currently supported:
|
||||||
|
| cubrid, ibase, mssql, mysql, mysqli, oci8,
|
||||||
|
| odbc, pdo, postgre, sqlite, sqlite3, sqlsrv
|
||||||
|
| ['dbprefix'] You can add an optional prefix, which will be added
|
||||||
|
| to the table name when using the Query Builder class
|
||||||
|
| ['pconnect'] TRUE/FALSE - Whether to use a persistent connection
|
||||||
|
| ['db_debug'] TRUE/FALSE - Whether database errors should be displayed.
|
||||||
|
| ['cache_on'] TRUE/FALSE - Enables/disables query caching
|
||||||
|
| ['cachedir'] The path to the folder where cache files should be stored
|
||||||
|
| ['char_set'] The character set used in communicating with the database
|
||||||
|
| ['dbcollat'] The character collation used in communicating with the database
|
||||||
|
| NOTE: For MySQL and MySQLi databases, this setting is only used
|
||||||
|
| as a backup if your server is running PHP < 5.2.3 or MySQL < 5.0.7
|
||||||
|
| (and in table creation queries made with DB Forge).
|
||||||
|
| There is an incompatibility in PHP with mysql_real_escape_string() which
|
||||||
|
| can make your site vulnerable to SQL injection if you are using a
|
||||||
|
| multi-byte character set and are running versions lower than these.
|
||||||
|
| Sites using Latin-1 or UTF-8 database character set and collation are unaffected.
|
||||||
|
| ['swap_pre'] A default table prefix that should be swapped with the dbprefix
|
||||||
|
| ['encrypt'] Whether or not to use an encrypted connection.
|
||||||
|
|
|
||||||
|
| 'mysql' (deprecated), 'sqlsrv' and 'pdo/sqlsrv' drivers accept TRUE/FALSE
|
||||||
|
| 'mysqli' and 'pdo/mysql' drivers accept an array with the following options:
|
||||||
|
|
|
||||||
|
| 'ssl_key' - Path to the private key file
|
||||||
|
| 'ssl_cert' - Path to the public key certificate file
|
||||||
|
| 'ssl_ca' - Path to the certificate authority file
|
||||||
|
| 'ssl_capath' - Path to a directory containing trusted CA certificates in PEM format
|
||||||
|
| 'ssl_cipher' - List of *allowed* ciphers to be used for the encryption, separated by colons (':')
|
||||||
|
| 'ssl_verify' - TRUE/FALSE; Whether verify the server certificate or not
|
||||||
|
|
|
||||||
|
| ['compress'] Whether or not to use client compression (MySQL only)
|
||||||
|
| ['stricton'] TRUE/FALSE - forces 'Strict Mode' connections
|
||||||
|
| - good for ensuring strict SQL while developing
|
||||||
|
| ['ssl_options'] Used to set various SSL options that can be used when making SSL connections.
|
||||||
|
| ['failover'] array - A array with 0 or more data for connections if the main should fail.
|
||||||
|
| ['save_queries'] TRUE/FALSE - Whether to "save" all executed queries.
|
||||||
|
| NOTE: Disabling this will also effectively disable both
|
||||||
|
| $this->db->last_query() and profiling of DB queries.
|
||||||
|
| When you run a query, with this setting set to TRUE (default),
|
||||||
|
| CodeIgniter will store the SQL statement for debugging purposes.
|
||||||
|
| However, this may cause high memory usage, especially if you run
|
||||||
|
| a lot of SQL queries ... disable this to avoid that problem.
|
||||||
|
|
|
||||||
|
| The $active_group variable lets you choose which connection group to
|
||||||
|
| make active. By default there is only one group (the 'default' group).
|
||||||
|
|
|
||||||
|
| The $query_builder variables lets you determine whether or not to load
|
||||||
|
| the query builder class.
|
||||||
|
*/
|
||||||
|
$active_group = 'default';
|
||||||
|
$query_builder = TRUE;
|
||||||
|
|
||||||
|
$db['default'] = array(
|
||||||
|
'dsn' => '',
|
||||||
|
'hostname' => 'localhost',
|
||||||
|
'username' => 'root',
|
||||||
|
'password' => '',
|
||||||
|
'database' => 'peramalan_exponensial',
|
||||||
|
|
||||||
|
'dbdriver' => 'mysqli',
|
||||||
|
'dbprefix' => '',
|
||||||
|
'pconnect' => FALSE,
|
||||||
|
'db_debug' => (ENVIRONMENT !== 'production'),
|
||||||
|
'cache_on' => FALSE,
|
||||||
|
'cachedir' => '',
|
||||||
|
'char_set' => 'utf8',
|
||||||
|
'dbcollat' => 'utf8_general_ci',
|
||||||
|
'swap_pre' => '',
|
||||||
|
'encrypt' => FALSE,
|
||||||
|
'compress' => FALSE,
|
||||||
|
'stricton' => FALSE,
|
||||||
|
'failover' => array(),
|
||||||
|
'save_queries' => TRUE
|
||||||
|
);
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
$_doctypes = array(
|
||||||
|
'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',
|
||||||
|
'xhtml1-strict' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">',
|
||||||
|
'xhtml1-trans' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
|
||||||
|
'xhtml1-frame' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">',
|
||||||
|
'xhtml-basic11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">',
|
||||||
|
'html5' => '<!DOCTYPE html>',
|
||||||
|
'html4-strict' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">',
|
||||||
|
'html4-trans' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',
|
||||||
|
'html4-frame' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">',
|
||||||
|
'mathml1' => '<!DOCTYPE math SYSTEM "http://www.w3.org/Math/DTD/mathml1/mathml.dtd">',
|
||||||
|
'mathml2' => '<!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">',
|
||||||
|
'svg10' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">',
|
||||||
|
'svg11' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">',
|
||||||
|
'svg11-basic' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">',
|
||||||
|
'svg11-tiny' => '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">',
|
||||||
|
'xhtml-math-svg-xh' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">',
|
||||||
|
'xhtml-math-svg-sh' => '<!DOCTYPE svg:svg PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">',
|
||||||
|
'xhtml-rdfa-1' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">',
|
||||||
|
'xhtml-rdfa-2' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">'
|
||||||
|
);
|
|
@ -0,0 +1,114 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| Foreign Characters
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| This file contains an array of foreign characters for transliteration
|
||||||
|
| conversion used by the Text helper
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$foreign_characters = array(
|
||||||
|
'/ä|æ|ǽ/' => 'ae',
|
||||||
|
'/ö|œ/' => 'oe',
|
||||||
|
'/ü/' => 'ue',
|
||||||
|
'/Ä/' => 'Ae',
|
||||||
|
'/Ü/' => 'Ue',
|
||||||
|
'/Ö/' => 'Oe',
|
||||||
|
'/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ|Α|Ά|Ả|Ạ|Ầ|Ẫ|Ẩ|Ậ|Ằ|Ắ|Ẵ|Ẳ|Ặ|А/' => 'A',
|
||||||
|
'/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª|α|ά|ả|ạ|ầ|ấ|ẫ|ẩ|ậ|ằ|ắ|ẵ|ẳ|ặ|а/' => 'a',
|
||||||
|
'/Б/' => 'B',
|
||||||
|
'/б/' => 'b',
|
||||||
|
'/Ç|Ć|Ĉ|Ċ|Č/' => 'C',
|
||||||
|
'/ç|ć|ĉ|ċ|č/' => 'c',
|
||||||
|
'/Д|Δ/' => 'D',
|
||||||
|
'/д|δ/' => 'd',
|
||||||
|
'/Ð|Ď|Đ/' => 'Dj',
|
||||||
|
'/ð|ď|đ/' => 'dj',
|
||||||
|
'/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě|Ε|Έ|Ẽ|Ẻ|Ẹ|Ề|Ế|Ễ|Ể|Ệ|Е|Э/' => 'E',
|
||||||
|
'/è|é|ê|ë|ē|ĕ|ė|ę|ě|έ|ε|ẽ|ẻ|ẹ|ề|ế|ễ|ể|ệ|е|э/' => 'e',
|
||||||
|
'/Ф/' => 'F',
|
||||||
|
'/ф/' => 'f',
|
||||||
|
'/Ĝ|Ğ|Ġ|Ģ|Γ|Г|Ґ/' => 'G',
|
||||||
|
'/ĝ|ğ|ġ|ģ|γ|г|ґ/' => 'g',
|
||||||
|
'/Ĥ|Ħ/' => 'H',
|
||||||
|
'/ĥ|ħ/' => 'h',
|
||||||
|
'/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ|Η|Ή|Ί|Ι|Ϊ|Ỉ|Ị|И|Ы/' => 'I',
|
||||||
|
'/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı|η|ή|ί|ι|ϊ|ỉ|ị|и|ы|ї/' => 'i',
|
||||||
|
'/Ĵ/' => 'J',
|
||||||
|
'/ĵ/' => 'j',
|
||||||
|
'/Θ/' => 'TH',
|
||||||
|
'/θ/' => 'th',
|
||||||
|
'/Ķ|Κ|К/' => 'K',
|
||||||
|
'/ķ|κ|к/' => 'k',
|
||||||
|
'/Ĺ|Ļ|Ľ|Ŀ|Ł|Λ|Л/' => 'L',
|
||||||
|
'/ĺ|ļ|ľ|ŀ|ł|λ|л/' => 'l',
|
||||||
|
'/М/' => 'M',
|
||||||
|
'/м/' => 'm',
|
||||||
|
'/Ñ|Ń|Ņ|Ň|Ν|Н/' => 'N',
|
||||||
|
'/ñ|ń|ņ|ň|ʼn|ν|н/' => 'n',
|
||||||
|
'/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ|Ο|Ό|Ω|Ώ|Ỏ|Ọ|Ồ|Ố|Ỗ|Ổ|Ộ|Ờ|Ớ|Ỡ|Ở|Ợ|О/' => 'O',
|
||||||
|
'/ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º|ο|ό|ω|ώ|ỏ|ọ|ồ|ố|ỗ|ổ|ộ|ờ|ớ|ỡ|ở|ợ|о/' => 'o',
|
||||||
|
'/П/' => 'P',
|
||||||
|
'/п/' => 'p',
|
||||||
|
'/Ŕ|Ŗ|Ř|Ρ|Р/' => 'R',
|
||||||
|
'/ŕ|ŗ|ř|ρ|р/' => 'r',
|
||||||
|
'/Ś|Ŝ|Ş|Ș|Š|Σ|С/' => 'S',
|
||||||
|
'/ś|ŝ|ş|ș|š|ſ|σ|ς|с/' => 's',
|
||||||
|
'/Ț|Ţ|Ť|Ŧ|Τ|Т/' => 'T',
|
||||||
|
'/ț|ţ|ť|ŧ|τ|т/' => 't',
|
||||||
|
'/Þ|þ/' => 'th',
|
||||||
|
'/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ|Ũ|Ủ|Ụ|Ừ|Ứ|Ữ|Ử|Ự|У/' => 'U',
|
||||||
|
'/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ|υ|ύ|ϋ|ủ|ụ|ừ|ứ|ữ|ử|ự|у/' => 'u',
|
||||||
|
'/Ƴ|Ɏ|Ỵ|Ẏ|Ӳ|Ӯ|Ў|Ý|Ÿ|Ŷ|Υ|Ύ|Ϋ|Ỳ|Ỹ|Ỷ|Ỵ|Й/' => 'Y',
|
||||||
|
'/ẙ|ʏ|ƴ|ɏ|ỵ|ẏ|ӳ|ӯ|ў|ý|ÿ|ŷ|ỳ|ỹ|ỷ|ỵ|й/' => 'y',
|
||||||
|
'/В/' => 'V',
|
||||||
|
'/в/' => 'v',
|
||||||
|
'/Ŵ/' => 'W',
|
||||||
|
'/ŵ/' => 'w',
|
||||||
|
'/Φ/' => 'F',
|
||||||
|
'/φ/' => 'f',
|
||||||
|
'/Χ/' => 'CH',
|
||||||
|
'/χ/' => 'ch',
|
||||||
|
'/Ź|Ż|Ž|Ζ|З/' => 'Z',
|
||||||
|
'/ź|ż|ž|ζ|з/' => 'z',
|
||||||
|
'/Æ|Ǽ/' => 'AE',
|
||||||
|
'/ß/' => 'ss',
|
||||||
|
'/IJ/' => 'IJ',
|
||||||
|
'/ij/' => 'ij',
|
||||||
|
'/Œ/' => 'OE',
|
||||||
|
'/ƒ/' => 'f',
|
||||||
|
'/Ξ/' => 'KS',
|
||||||
|
'/ξ/' => 'ks',
|
||||||
|
'/Π/' => 'P',
|
||||||
|
'/π/' => 'p',
|
||||||
|
'/Β/' => 'V',
|
||||||
|
'/β/' => 'v',
|
||||||
|
'/Μ/' => 'M',
|
||||||
|
'/μ/' => 'm',
|
||||||
|
'/Ψ/' => 'PS',
|
||||||
|
'/ψ/' => 'ps',
|
||||||
|
'/Ё/' => 'Yo',
|
||||||
|
'/ё/' => 'yo',
|
||||||
|
'/Є/' => 'Ye',
|
||||||
|
'/є/' => 'ye',
|
||||||
|
'/Ї/' => 'Yi',
|
||||||
|
'/Ж/' => 'Zh',
|
||||||
|
'/ж/' => 'zh',
|
||||||
|
'/Х/' => 'Kh',
|
||||||
|
'/х/' => 'kh',
|
||||||
|
'/Ц/' => 'Ts',
|
||||||
|
'/ц/' => 'ts',
|
||||||
|
'/Ч/' => 'Ch',
|
||||||
|
'/ч/' => 'ch',
|
||||||
|
'/Ш/' => 'Sh',
|
||||||
|
'/ш/' => 'sh',
|
||||||
|
'/Щ/' => 'Shch',
|
||||||
|
'/щ/' => 'shch',
|
||||||
|
'/Ъ|ъ|Ь|ь/' => '',
|
||||||
|
'/Ю/' => 'Yu',
|
||||||
|
'/ю/' => 'yu',
|
||||||
|
'/Я/' => 'Ya',
|
||||||
|
'/я/' => 'ya'
|
||||||
|
);
|
|
@ -0,0 +1,13 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
| Hooks
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
| This file lets you define "hooks" to extend CI without hacking the core
|
||||||
|
| files. Please see the user guide for info:
|
||||||
|
|
|
||||||
|
| https://codeigniter.com/user_guide/general/hooks.html
|
||||||
|
|
|
||||||
|
*/
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
| Memcached settings
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
| Your Memcached servers can be specified below.
|
||||||
|
|
|
||||||
|
| See: https://codeigniter.com/user_guide/libraries/caching.html#memcached
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config = array(
|
||||||
|
'default' => array(
|
||||||
|
'hostname' => '127.0.0.1',
|
||||||
|
'port' => '11211',
|
||||||
|
'weight' => '1',
|
||||||
|
),
|
||||||
|
);
|
|
@ -0,0 +1,84 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Enable/Disable Migrations
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Migrations are disabled by default for security reasons.
|
||||||
|
| You should enable migrations whenever you intend to do a schema migration
|
||||||
|
| and disable it back when you're done.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['migration_enabled'] = FALSE;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Migration Type
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Migration file names may be based on a sequential identifier or on
|
||||||
|
| a timestamp. Options are:
|
||||||
|
|
|
||||||
|
| 'sequential' = Sequential migration naming (001_add_blog.php)
|
||||||
|
| 'timestamp' = Timestamp migration naming (20121031104401_add_blog.php)
|
||||||
|
| Use timestamp format YYYYMMDDHHIISS.
|
||||||
|
|
|
||||||
|
| Note: If this configuration value is missing the Migration library
|
||||||
|
| defaults to 'sequential' for backward compatibility with CI2.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['migration_type'] = 'timestamp';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Migrations table
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This is the name of the table that will store the current migrations state.
|
||||||
|
| When migrations runs it will store in a database table which migration
|
||||||
|
| level the system is at. It then compares the migration level in this
|
||||||
|
| table to the $config['migration_version'] if they are not the same it
|
||||||
|
| will migrate up. This must be set.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['migration_table'] = 'migrations';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Auto Migrate To Latest
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If this is set to TRUE when you load the migrations class and have
|
||||||
|
| $config['migration_enabled'] set to TRUE the system will auto migrate
|
||||||
|
| to your latest migration (whatever $config['migration_version'] is
|
||||||
|
| set to). This way you do not have to call migrations anywhere else
|
||||||
|
| in your code to have the latest migration.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['migration_auto_latest'] = FALSE;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Migrations version
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This is used to set migration version that the file system should be on.
|
||||||
|
| If you run $this->migration->current() this is the version that schema will
|
||||||
|
| be upgraded / downgraded to.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['migration_version'] = 0;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Migrations Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Path to your migrations folder.
|
||||||
|
| Typically, it will be within your application path.
|
||||||
|
| Also, writing permission is required within the migrations path.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$config['migration_path'] = APPPATH.'migrations/';
|
|
@ -0,0 +1,184 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| MIME TYPES
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| This file contains an array of mime types. It is used by the
|
||||||
|
| Upload class to help identify allowed file types.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
return array(
|
||||||
|
'hqx' => array('application/mac-binhex40', 'application/mac-binhex', 'application/x-binhex40', 'application/x-mac-binhex40'),
|
||||||
|
'cpt' => 'application/mac-compactpro',
|
||||||
|
'csv' => array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'application/x-csv', 'text/x-csv', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel', 'text/plain'),
|
||||||
|
'bin' => array('application/macbinary', 'application/mac-binary', 'application/octet-stream', 'application/x-binary', 'application/x-macbinary'),
|
||||||
|
'dms' => 'application/octet-stream',
|
||||||
|
'lha' => 'application/octet-stream',
|
||||||
|
'lzh' => 'application/octet-stream',
|
||||||
|
'exe' => array('application/octet-stream', 'application/x-msdownload'),
|
||||||
|
'class' => 'application/octet-stream',
|
||||||
|
'psd' => array('application/x-photoshop', 'image/vnd.adobe.photoshop'),
|
||||||
|
'so' => 'application/octet-stream',
|
||||||
|
'sea' => 'application/octet-stream',
|
||||||
|
'dll' => 'application/octet-stream',
|
||||||
|
'oda' => 'application/oda',
|
||||||
|
'pdf' => array('application/pdf', 'application/force-download', 'application/x-download', 'binary/octet-stream'),
|
||||||
|
'ai' => array('application/pdf', 'application/postscript'),
|
||||||
|
'eps' => 'application/postscript',
|
||||||
|
'ps' => 'application/postscript',
|
||||||
|
'smi' => 'application/smil',
|
||||||
|
'smil' => 'application/smil',
|
||||||
|
'mif' => 'application/vnd.mif',
|
||||||
|
'xls' => array('application/vnd.ms-excel', 'application/msexcel', 'application/x-msexcel', 'application/x-ms-excel', 'application/x-excel', 'application/x-dos_ms_excel', 'application/xls', 'application/x-xls', 'application/excel', 'application/download', 'application/vnd.ms-office', 'application/msword'),
|
||||||
|
'ppt' => array('application/powerpoint', 'application/vnd.ms-powerpoint', 'application/vnd.ms-office', 'application/msword'),
|
||||||
|
'pptx' => array('application/vnd.openxmlformats-officedocument.presentationml.presentation', 'application/x-zip', 'application/zip'),
|
||||||
|
'wbxml' => 'application/wbxml',
|
||||||
|
'wmlc' => 'application/wmlc',
|
||||||
|
'dcr' => 'application/x-director',
|
||||||
|
'dir' => 'application/x-director',
|
||||||
|
'dxr' => 'application/x-director',
|
||||||
|
'dvi' => 'application/x-dvi',
|
||||||
|
'gtar' => 'application/x-gtar',
|
||||||
|
'gz' => 'application/x-gzip',
|
||||||
|
'gzip' => 'application/x-gzip',
|
||||||
|
'php' => array('application/x-httpd-php', 'application/php', 'application/x-php', 'text/php', 'text/x-php', 'application/x-httpd-php-source'),
|
||||||
|
'php4' => 'application/x-httpd-php',
|
||||||
|
'php3' => 'application/x-httpd-php',
|
||||||
|
'phtml' => 'application/x-httpd-php',
|
||||||
|
'phps' => 'application/x-httpd-php-source',
|
||||||
|
'js' => array('application/x-javascript', 'text/plain'),
|
||||||
|
'swf' => 'application/x-shockwave-flash',
|
||||||
|
'sit' => 'application/x-stuffit',
|
||||||
|
'tar' => 'application/x-tar',
|
||||||
|
'tgz' => array('application/x-tar', 'application/x-gzip-compressed'),
|
||||||
|
'z' => 'application/x-compress',
|
||||||
|
'xhtml' => 'application/xhtml+xml',
|
||||||
|
'xht' => 'application/xhtml+xml',
|
||||||
|
'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed', 'application/s-compressed', 'multipart/x-zip'),
|
||||||
|
'rar' => array('application/x-rar', 'application/rar', 'application/x-rar-compressed'),
|
||||||
|
'mid' => 'audio/midi',
|
||||||
|
'midi' => 'audio/midi',
|
||||||
|
'mpga' => 'audio/mpeg',
|
||||||
|
'mp2' => 'audio/mpeg',
|
||||||
|
'mp3' => array('audio/mpeg', 'audio/mpg', 'audio/mpeg3', 'audio/mp3'),
|
||||||
|
'aif' => array('audio/x-aiff', 'audio/aiff'),
|
||||||
|
'aiff' => array('audio/x-aiff', 'audio/aiff'),
|
||||||
|
'aifc' => 'audio/x-aiff',
|
||||||
|
'ram' => 'audio/x-pn-realaudio',
|
||||||
|
'rm' => 'audio/x-pn-realaudio',
|
||||||
|
'rpm' => 'audio/x-pn-realaudio-plugin',
|
||||||
|
'ra' => 'audio/x-realaudio',
|
||||||
|
'rv' => 'video/vnd.rn-realvideo',
|
||||||
|
'wav' => array('audio/x-wav', 'audio/wave', 'audio/wav'),
|
||||||
|
'bmp' => array('image/bmp', 'image/x-bmp', 'image/x-bitmap', 'image/x-xbitmap', 'image/x-win-bitmap', 'image/x-windows-bmp', 'image/ms-bmp', 'image/x-ms-bmp', 'application/bmp', 'application/x-bmp', 'application/x-win-bitmap'),
|
||||||
|
'gif' => 'image/gif',
|
||||||
|
'jpeg' => array('image/jpeg', 'image/pjpeg'),
|
||||||
|
'jpg' => array('image/jpeg', 'image/pjpeg'),
|
||||||
|
'jpe' => array('image/jpeg', 'image/pjpeg'),
|
||||||
|
'jp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
|
||||||
|
'j2k' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
|
||||||
|
'jpf' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
|
||||||
|
'jpg2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
|
||||||
|
'jpx' => 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'),
|
||||||
|
'mjp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
|
||||||
|
'png' => array('image/png', 'image/x-png'),
|
||||||
|
'tiff' => 'image/tiff',
|
||||||
|
'tif' => 'image/tiff',
|
||||||
|
'css' => array('text/css', 'text/plain'),
|
||||||
|
'html' => array('text/html', 'text/plain'),
|
||||||
|
'htm' => array('text/html', 'text/plain'),
|
||||||
|
'shtml' => array('text/html', 'text/plain'),
|
||||||
|
'txt' => 'text/plain',
|
||||||
|
'text' => 'text/plain',
|
||||||
|
'log' => array('text/plain', 'text/x-log'),
|
||||||
|
'rtx' => 'text/richtext',
|
||||||
|
'rtf' => 'text/rtf',
|
||||||
|
'xml' => array('application/xml', 'text/xml', 'text/plain'),
|
||||||
|
'xsl' => array('application/xml', 'text/xsl', 'text/xml'),
|
||||||
|
'mpeg' => 'video/mpeg',
|
||||||
|
'mpg' => 'video/mpeg',
|
||||||
|
'mpe' => 'video/mpeg',
|
||||||
|
'qt' => 'video/quicktime',
|
||||||
|
'mov' => 'video/quicktime',
|
||||||
|
'avi' => array('video/x-msvideo', 'video/msvideo', 'video/avi', 'application/x-troff-msvideo'),
|
||||||
|
'movie' => 'video/x-sgi-movie',
|
||||||
|
'doc' => array('application/msword', 'application/vnd.ms-office'),
|
||||||
|
'docx' => array('application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip', 'application/msword', 'application/x-zip'),
|
||||||
|
'dot' => array('application/msword', 'application/vnd.ms-office'),
|
||||||
|
'dotx' => array('application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip', 'application/msword'),
|
||||||
|
'xlsx' => array('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/zip', 'application/vnd.ms-excel', 'application/msword', 'application/x-zip'),
|
||||||
|
'word' => array('application/msword', 'application/octet-stream'),
|
||||||
|
'xl' => 'application/excel',
|
||||||
|
'eml' => 'message/rfc822',
|
||||||
|
'json' => array('application/json', 'text/json'),
|
||||||
|
'pem' => array('application/x-x509-user-cert', 'application/x-pem-file', 'application/octet-stream'),
|
||||||
|
'p10' => array('application/x-pkcs10', 'application/pkcs10'),
|
||||||
|
'p12' => 'application/x-pkcs12',
|
||||||
|
'p7a' => 'application/x-pkcs7-signature',
|
||||||
|
'p7c' => array('application/pkcs7-mime', 'application/x-pkcs7-mime'),
|
||||||
|
'p7m' => array('application/pkcs7-mime', 'application/x-pkcs7-mime'),
|
||||||
|
'p7r' => 'application/x-pkcs7-certreqresp',
|
||||||
|
'p7s' => 'application/pkcs7-signature',
|
||||||
|
'crt' => array('application/x-x509-ca-cert', 'application/x-x509-user-cert', 'application/pkix-cert'),
|
||||||
|
'crl' => array('application/pkix-crl', 'application/pkcs-crl'),
|
||||||
|
'der' => 'application/x-x509-ca-cert',
|
||||||
|
'kdb' => 'application/octet-stream',
|
||||||
|
'pgp' => 'application/pgp',
|
||||||
|
'gpg' => 'application/gpg-keys',
|
||||||
|
'sst' => 'application/octet-stream',
|
||||||
|
'csr' => 'application/octet-stream',
|
||||||
|
'rsa' => 'application/x-pkcs7',
|
||||||
|
'cer' => array('application/pkix-cert', 'application/x-x509-ca-cert'),
|
||||||
|
'3g2' => 'video/3gpp2',
|
||||||
|
'3gp' => array('video/3gp', 'video/3gpp'),
|
||||||
|
'mp4' => 'video/mp4',
|
||||||
|
'm4a' => 'audio/x-m4a',
|
||||||
|
'f4v' => array('video/mp4', 'video/x-f4v'),
|
||||||
|
'flv' => 'video/x-flv',
|
||||||
|
'webm' => 'video/webm',
|
||||||
|
'aac' => array('audio/x-aac', 'audio/aac'),
|
||||||
|
'm4u' => 'application/vnd.mpegurl',
|
||||||
|
'm3u' => 'text/plain',
|
||||||
|
'xspf' => 'application/xspf+xml',
|
||||||
|
'vlc' => 'application/videolan',
|
||||||
|
'wmv' => array('video/x-ms-wmv', 'video/x-ms-asf'),
|
||||||
|
'au' => 'audio/x-au',
|
||||||
|
'ac3' => 'audio/ac3',
|
||||||
|
'flac' => 'audio/x-flac',
|
||||||
|
'ogg' => array('audio/ogg', 'video/ogg', 'application/ogg'),
|
||||||
|
'kmz' => array('application/vnd.google-earth.kmz', 'application/zip', 'application/x-zip'),
|
||||||
|
'kml' => array('application/vnd.google-earth.kml+xml', 'application/xml', 'text/xml'),
|
||||||
|
'ics' => 'text/calendar',
|
||||||
|
'ical' => 'text/calendar',
|
||||||
|
'zsh' => 'text/x-scriptzsh',
|
||||||
|
'7z' => array('application/x-7z-compressed', 'application/x-compressed', 'application/x-zip-compressed', 'application/zip', 'multipart/x-zip'),
|
||||||
|
'7zip' => array('application/x-7z-compressed', 'application/x-compressed', 'application/x-zip-compressed', 'application/zip', 'multipart/x-zip'),
|
||||||
|
'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'),
|
||||||
|
'jar' => array('application/java-archive', 'application/x-java-application', 'application/x-jar', 'application/x-compressed'),
|
||||||
|
'svg' => array('image/svg+xml', 'application/xml', 'text/xml'),
|
||||||
|
'vcf' => 'text/x-vcard',
|
||||||
|
'srt' => array('text/srt', 'text/plain'),
|
||||||
|
'vtt' => array('text/vtt', 'text/plain'),
|
||||||
|
'ico' => array('image/x-icon', 'image/x-ico', 'image/vnd.microsoft.icon'),
|
||||||
|
'odc' => 'application/vnd.oasis.opendocument.chart',
|
||||||
|
'otc' => 'application/vnd.oasis.opendocument.chart-template',
|
||||||
|
'odf' => 'application/vnd.oasis.opendocument.formula',
|
||||||
|
'otf' => 'application/vnd.oasis.opendocument.formula-template',
|
||||||
|
'odg' => 'application/vnd.oasis.opendocument.graphics',
|
||||||
|
'otg' => 'application/vnd.oasis.opendocument.graphics-template',
|
||||||
|
'odi' => 'application/vnd.oasis.opendocument.image',
|
||||||
|
'oti' => 'application/vnd.oasis.opendocument.image-template',
|
||||||
|
'odp' => 'application/vnd.oasis.opendocument.presentation',
|
||||||
|
'otp' => 'application/vnd.oasis.opendocument.presentation-template',
|
||||||
|
'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
|
||||||
|
'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template',
|
||||||
|
'odt' => 'application/vnd.oasis.opendocument.text',
|
||||||
|
'odm' => 'application/vnd.oasis.opendocument.text-master',
|
||||||
|
'ott' => 'application/vnd.oasis.opendocument.text-template',
|
||||||
|
'oth' => 'application/vnd.oasis.opendocument.text-web'
|
||||||
|
);
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
| Profiler Sections
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
| This file lets you determine whether or not various sections of Profiler
|
||||||
|
| data are displayed when the Profiler is enabled.
|
||||||
|
| Please see the user guide for info:
|
||||||
|
|
|
||||||
|
| https://codeigniter.com/user_guide/general/profiling.html
|
||||||
|
|
|
||||||
|
*/
|
|
@ -0,0 +1,54 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
| URI ROUTING
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
| This file lets you re-map URI requests to specific controller functions.
|
||||||
|
|
|
||||||
|
| Typically there is a one-to-one relationship between a URL string
|
||||||
|
| and its corresponding controller class/method. The segments in a
|
||||||
|
| URL normally follow this pattern:
|
||||||
|
|
|
||||||
|
| example.com/class/method/id/
|
||||||
|
|
|
||||||
|
| In some instances, however, you may want to remap this relationship
|
||||||
|
| so that a different class/function is called than the one
|
||||||
|
| corresponding to the URL.
|
||||||
|
|
|
||||||
|
| Please see the user guide for complete details:
|
||||||
|
|
|
||||||
|
| https://codeigniter.com/user_guide/general/routing.html
|
||||||
|
|
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
| RESERVED ROUTES
|
||||||
|
| -------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| There are three reserved routes:
|
||||||
|
|
|
||||||
|
| $route['default_controller'] = 'welcome';
|
||||||
|
|
|
||||||
|
| This route indicates which controller class should be loaded if the
|
||||||
|
| URI contains no data. In the above example, the "welcome" class
|
||||||
|
| would be loaded.
|
||||||
|
|
|
||||||
|
| $route['404_override'] = 'errors/page_missing';
|
||||||
|
|
|
||||||
|
| This route will tell the Router which controller/method to use if those
|
||||||
|
| provided in the URL cannot be matched to a valid route.
|
||||||
|
|
|
||||||
|
| $route['translate_uri_dashes'] = FALSE;
|
||||||
|
|
|
||||||
|
| This is not exactly a route, but allows you to automatically route
|
||||||
|
| controller and method names that contain dashes. '-' isn't a valid
|
||||||
|
| class or method name character, so it requires translation.
|
||||||
|
| When you set this option to TRUE, it will replace ALL dashes in the
|
||||||
|
| controller and method URI segments.
|
||||||
|
|
|
||||||
|
| Examples: my-controller/index -> my_controller/index
|
||||||
|
| my-controller/my-method -> my_controller/my_method
|
||||||
|
*/
|
||||||
|
$route['default_controller'] = 'dashboard';
|
||||||
|
$route['404_override'] = '';
|
||||||
|
$route['translate_uri_dashes'] = FALSE;
|
|
@ -0,0 +1,64 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| SMILEYS
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| This file contains an array of smileys for use with the emoticon helper.
|
||||||
|
| Individual images can be used to replace multiple smileys. For example:
|
||||||
|
| :-) and :) use the same image replacement.
|
||||||
|
|
|
||||||
|
| Please see user guide for more info:
|
||||||
|
| https://codeigniter.com/user_guide/helpers/smiley_helper.html
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
$smileys = array(
|
||||||
|
|
||||||
|
// smiley image name width height alt
|
||||||
|
|
||||||
|
':-)' => array('grin.gif', '19', '19', 'grin'),
|
||||||
|
':lol:' => array('lol.gif', '19', '19', 'LOL'),
|
||||||
|
':cheese:' => array('cheese.gif', '19', '19', 'cheese'),
|
||||||
|
':)' => array('smile.gif', '19', '19', 'smile'),
|
||||||
|
';-)' => array('wink.gif', '19', '19', 'wink'),
|
||||||
|
';)' => array('wink.gif', '19', '19', 'wink'),
|
||||||
|
':smirk:' => array('smirk.gif', '19', '19', 'smirk'),
|
||||||
|
':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'),
|
||||||
|
':-S' => array('confused.gif', '19', '19', 'confused'),
|
||||||
|
':wow:' => array('surprise.gif', '19', '19', 'surprised'),
|
||||||
|
':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'),
|
||||||
|
':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'),
|
||||||
|
'%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'),
|
||||||
|
';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'),
|
||||||
|
':P' => array('raspberry.gif', '19', '19', 'raspberry'),
|
||||||
|
':blank:' => array('blank.gif', '19', '19', 'blank stare'),
|
||||||
|
':long:' => array('longface.gif', '19', '19', 'long face'),
|
||||||
|
':ohh:' => array('ohh.gif', '19', '19', 'ohh'),
|
||||||
|
':grrr:' => array('grrr.gif', '19', '19', 'grrr'),
|
||||||
|
':gulp:' => array('gulp.gif', '19', '19', 'gulp'),
|
||||||
|
'8-/' => array('ohoh.gif', '19', '19', 'oh oh'),
|
||||||
|
':down:' => array('downer.gif', '19', '19', 'downer'),
|
||||||
|
':red:' => array('embarrassed.gif', '19', '19', 'red face'),
|
||||||
|
':sick:' => array('sick.gif', '19', '19', 'sick'),
|
||||||
|
':shut:' => array('shuteye.gif', '19', '19', 'shut eye'),
|
||||||
|
':-/' => array('hmm.gif', '19', '19', 'hmmm'),
|
||||||
|
'>:(' => array('mad.gif', '19', '19', 'mad'),
|
||||||
|
':mad:' => array('mad.gif', '19', '19', 'mad'),
|
||||||
|
'>:-(' => array('angry.gif', '19', '19', 'angry'),
|
||||||
|
':angry:' => array('angry.gif', '19', '19', 'angry'),
|
||||||
|
':zip:' => array('zip.gif', '19', '19', 'zipper'),
|
||||||
|
':kiss:' => array('kiss.gif', '19', '19', 'kiss'),
|
||||||
|
':ahhh:' => array('shock.gif', '19', '19', 'shock'),
|
||||||
|
':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'),
|
||||||
|
':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'),
|
||||||
|
':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'),
|
||||||
|
':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'),
|
||||||
|
':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'),
|
||||||
|
':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'),
|
||||||
|
':vampire:' => array('vampire.gif', '19', '19', 'vampire'),
|
||||||
|
':snake:' => array('snake.gif', '19', '19', 'snake'),
|
||||||
|
':exclaim:' => array('exclaim.gif', '19', '19', 'exclaim'),
|
||||||
|
':question:' => array('question.gif', '19', '19', 'question')
|
||||||
|
|
||||||
|
);
|
|
@ -0,0 +1,216 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
/*
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| USER AGENT TYPES
|
||||||
|
| -------------------------------------------------------------------
|
||||||
|
| This file contains four arrays of user agent data. It is used by the
|
||||||
|
| User Agent Class to help identify browser, platform, robot, and
|
||||||
|
| mobile device data. The array keys are used to identify the device
|
||||||
|
| and the array values are used to set the actual name of the item.
|
||||||
|
*/
|
||||||
|
$platforms = array(
|
||||||
|
'windows nt 10.0' => 'Windows 10',
|
||||||
|
'windows nt 6.3' => 'Windows 8.1',
|
||||||
|
'windows nt 6.2' => 'Windows 8',
|
||||||
|
'windows nt 6.1' => 'Windows 7',
|
||||||
|
'windows nt 6.0' => 'Windows Vista',
|
||||||
|
'windows nt 5.2' => 'Windows 2003',
|
||||||
|
'windows nt 5.1' => 'Windows XP',
|
||||||
|
'windows nt 5.0' => 'Windows 2000',
|
||||||
|
'windows nt 4.0' => 'Windows NT 4.0',
|
||||||
|
'winnt4.0' => 'Windows NT 4.0',
|
||||||
|
'winnt 4.0' => 'Windows NT',
|
||||||
|
'winnt' => 'Windows NT',
|
||||||
|
'windows 98' => 'Windows 98',
|
||||||
|
'win98' => 'Windows 98',
|
||||||
|
'windows 95' => 'Windows 95',
|
||||||
|
'win95' => 'Windows 95',
|
||||||
|
'windows phone' => 'Windows Phone',
|
||||||
|
'windows' => 'Unknown Windows OS',
|
||||||
|
'android' => 'Android',
|
||||||
|
'blackberry' => 'BlackBerry',
|
||||||
|
'iphone' => 'iOS',
|
||||||
|
'ipad' => 'iOS',
|
||||||
|
'ipod' => 'iOS',
|
||||||
|
'os x' => 'Mac OS X',
|
||||||
|
'ppc mac' => 'Power PC Mac',
|
||||||
|
'freebsd' => 'FreeBSD',
|
||||||
|
'ppc' => 'Macintosh',
|
||||||
|
'linux' => 'Linux',
|
||||||
|
'debian' => 'Debian',
|
||||||
|
'sunos' => 'Sun Solaris',
|
||||||
|
'beos' => 'BeOS',
|
||||||
|
'apachebench' => 'ApacheBench',
|
||||||
|
'aix' => 'AIX',
|
||||||
|
'irix' => 'Irix',
|
||||||
|
'osf' => 'DEC OSF',
|
||||||
|
'hp-ux' => 'HP-UX',
|
||||||
|
'netbsd' => 'NetBSD',
|
||||||
|
'bsdi' => 'BSDi',
|
||||||
|
'openbsd' => 'OpenBSD',
|
||||||
|
'gnu' => 'GNU/Linux',
|
||||||
|
'unix' => 'Unknown Unix OS',
|
||||||
|
'symbian' => 'Symbian OS'
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// The order of this array should NOT be changed. Many browsers return
|
||||||
|
// multiple browser types so we want to identify the sub-type first.
|
||||||
|
$browsers = array(
|
||||||
|
'OPR' => 'Opera',
|
||||||
|
'Flock' => 'Flock',
|
||||||
|
'Edge' => 'Edge',
|
||||||
|
'Chrome' => 'Chrome',
|
||||||
|
// Opera 10+ always reports Opera/9.80 and appends Version/<real version> to the user agent string
|
||||||
|
'Opera.*?Version' => 'Opera',
|
||||||
|
'Opera' => 'Opera',
|
||||||
|
'MSIE' => 'Internet Explorer',
|
||||||
|
'Internet Explorer' => 'Internet Explorer',
|
||||||
|
'Trident.* rv' => 'Internet Explorer',
|
||||||
|
'Shiira' => 'Shiira',
|
||||||
|
'Firefox' => 'Firefox',
|
||||||
|
'Chimera' => 'Chimera',
|
||||||
|
'Phoenix' => 'Phoenix',
|
||||||
|
'Firebird' => 'Firebird',
|
||||||
|
'Camino' => 'Camino',
|
||||||
|
'Netscape' => 'Netscape',
|
||||||
|
'OmniWeb' => 'OmniWeb',
|
||||||
|
'Safari' => 'Safari',
|
||||||
|
'Mozilla' => 'Mozilla',
|
||||||
|
'Konqueror' => 'Konqueror',
|
||||||
|
'icab' => 'iCab',
|
||||||
|
'Lynx' => 'Lynx',
|
||||||
|
'Links' => 'Links',
|
||||||
|
'hotjava' => 'HotJava',
|
||||||
|
'amaya' => 'Amaya',
|
||||||
|
'IBrowse' => 'IBrowse',
|
||||||
|
'Maxthon' => 'Maxthon',
|
||||||
|
'Ubuntu' => 'Ubuntu Web Browser'
|
||||||
|
);
|
||||||
|
|
||||||
|
$mobiles = array(
|
||||||
|
// legacy array, old values commented out
|
||||||
|
'mobileexplorer' => 'Mobile Explorer',
|
||||||
|
// 'openwave' => 'Open Wave',
|
||||||
|
// 'opera mini' => 'Opera Mini',
|
||||||
|
// 'operamini' => 'Opera Mini',
|
||||||
|
// 'elaine' => 'Palm',
|
||||||
|
'palmsource' => 'Palm',
|
||||||
|
// 'digital paths' => 'Palm',
|
||||||
|
// 'avantgo' => 'Avantgo',
|
||||||
|
// 'xiino' => 'Xiino',
|
||||||
|
'palmscape' => 'Palmscape',
|
||||||
|
// 'nokia' => 'Nokia',
|
||||||
|
// 'ericsson' => 'Ericsson',
|
||||||
|
// 'blackberry' => 'BlackBerry',
|
||||||
|
// 'motorola' => 'Motorola'
|
||||||
|
|
||||||
|
// Phones and Manufacturers
|
||||||
|
'motorola' => 'Motorola',
|
||||||
|
'nokia' => 'Nokia',
|
||||||
|
'nexus' => 'Nexus',
|
||||||
|
'palm' => 'Palm',
|
||||||
|
'iphone' => 'Apple iPhone',
|
||||||
|
'ipad' => 'iPad',
|
||||||
|
'ipod' => 'Apple iPod Touch',
|
||||||
|
'sony' => 'Sony Ericsson',
|
||||||
|
'ericsson' => 'Sony Ericsson',
|
||||||
|
'blackberry' => 'BlackBerry',
|
||||||
|
'cocoon' => 'O2 Cocoon',
|
||||||
|
'blazer' => 'Treo',
|
||||||
|
'lg' => 'LG',
|
||||||
|
'amoi' => 'Amoi',
|
||||||
|
'xda' => 'XDA',
|
||||||
|
'mda' => 'MDA',
|
||||||
|
'vario' => 'Vario',
|
||||||
|
'htc' => 'HTC',
|
||||||
|
'samsung' => 'Samsung',
|
||||||
|
'sharp' => 'Sharp',
|
||||||
|
'sie-' => 'Siemens',
|
||||||
|
'alcatel' => 'Alcatel',
|
||||||
|
'benq' => 'BenQ',
|
||||||
|
'ipaq' => 'HP iPaq',
|
||||||
|
'mot-' => 'Motorola',
|
||||||
|
'playstation portable' => 'PlayStation Portable',
|
||||||
|
'playstation 3' => 'PlayStation 3',
|
||||||
|
'playstation vita' => 'PlayStation Vita',
|
||||||
|
'hiptop' => 'Danger Hiptop',
|
||||||
|
'nec-' => 'NEC',
|
||||||
|
'panasonic' => 'Panasonic',
|
||||||
|
'philips' => 'Philips',
|
||||||
|
'sagem' => 'Sagem',
|
||||||
|
'sanyo' => 'Sanyo',
|
||||||
|
'spv' => 'SPV',
|
||||||
|
'zte' => 'ZTE',
|
||||||
|
'sendo' => 'Sendo',
|
||||||
|
'nintendo dsi' => 'Nintendo DSi',
|
||||||
|
'nintendo ds' => 'Nintendo DS',
|
||||||
|
'nintendo 3ds' => 'Nintendo 3DS',
|
||||||
|
'wii' => 'Nintendo Wii',
|
||||||
|
'open web' => 'Open Web',
|
||||||
|
'openweb' => 'OpenWeb',
|
||||||
|
'meizu' => 'Meizu',
|
||||||
|
|
||||||
|
// Operating Systems
|
||||||
|
'android' => 'Android',
|
||||||
|
'symbian' => 'Symbian',
|
||||||
|
'SymbianOS' => 'SymbianOS',
|
||||||
|
'elaine' => 'Palm',
|
||||||
|
'series60' => 'Symbian S60',
|
||||||
|
'windows ce' => 'Windows CE',
|
||||||
|
|
||||||
|
// Browsers
|
||||||
|
'obigo' => 'Obigo',
|
||||||
|
'netfront' => 'Netfront Browser',
|
||||||
|
'openwave' => 'Openwave Browser',
|
||||||
|
'mobilexplorer' => 'Mobile Explorer',
|
||||||
|
'operamini' => 'Opera Mini',
|
||||||
|
'opera mini' => 'Opera Mini',
|
||||||
|
'opera mobi' => 'Opera Mobile',
|
||||||
|
'fennec' => 'Firefox Mobile',
|
||||||
|
|
||||||
|
// Other
|
||||||
|
'digital paths' => 'Digital Paths',
|
||||||
|
'avantgo' => 'AvantGo',
|
||||||
|
'xiino' => 'Xiino',
|
||||||
|
'novarra' => 'Novarra Transcoder',
|
||||||
|
'vodafone' => 'Vodafone',
|
||||||
|
'docomo' => 'NTT DoCoMo',
|
||||||
|
'o2' => 'O2',
|
||||||
|
|
||||||
|
// Fallback
|
||||||
|
'mobile' => 'Generic Mobile',
|
||||||
|
'wireless' => 'Generic Mobile',
|
||||||
|
'j2me' => 'Generic Mobile',
|
||||||
|
'midp' => 'Generic Mobile',
|
||||||
|
'cldc' => 'Generic Mobile',
|
||||||
|
'up.link' => 'Generic Mobile',
|
||||||
|
'up.browser' => 'Generic Mobile',
|
||||||
|
'smartphone' => 'Generic Mobile',
|
||||||
|
'cellphone' => 'Generic Mobile'
|
||||||
|
);
|
||||||
|
|
||||||
|
// There are hundreds of bots but these are the most common.
|
||||||
|
$robots = array(
|
||||||
|
'googlebot' => 'Googlebot',
|
||||||
|
'msnbot' => 'MSNBot',
|
||||||
|
'baiduspider' => 'Baiduspider',
|
||||||
|
'bingbot' => 'Bing',
|
||||||
|
'slurp' => 'Inktomi Slurp',
|
||||||
|
'yahoo' => 'Yahoo',
|
||||||
|
'ask jeeves' => 'Ask Jeeves',
|
||||||
|
'fastcrawler' => 'FastCrawler',
|
||||||
|
'infoseek' => 'InfoSeek Robot 1.0',
|
||||||
|
'lycos' => 'Lycos',
|
||||||
|
'yandex' => 'YandexBot',
|
||||||
|
'mediapartners-google' => 'MediaPartners Google',
|
||||||
|
'CRAZYWEBCRAWLER' => 'Crazy Webcrawler',
|
||||||
|
'adsbot-google' => 'AdsBot Google',
|
||||||
|
'feedfetcher-google' => 'Feedfetcher Google',
|
||||||
|
'curious george' => 'Curious George',
|
||||||
|
'ia_archiver' => 'Alexa Crawler',
|
||||||
|
'MJ12bot' => 'Majestic-12',
|
||||||
|
'Uptimebot' => 'Uptimebot'
|
||||||
|
);
|
|
@ -0,0 +1,78 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
class Auth extends CI_Controller {
|
||||||
|
|
||||||
|
function __construct(){
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('M_login');
|
||||||
|
|
||||||
|
// if($this->session->userdata('status') != "login"){
|
||||||
|
// redirect(base_url("Auth"));
|
||||||
|
// }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$this->load->view('login');
|
||||||
|
}
|
||||||
|
|
||||||
|
function aksi_login(){
|
||||||
|
$username = $this->input->post('username');
|
||||||
|
$password = $this->input->post('password');
|
||||||
|
$where = array(
|
||||||
|
'username' => $username,
|
||||||
|
'password' => md5($password)
|
||||||
|
);
|
||||||
|
$data= $this->M_login->cek_login("user",$where)->row();
|
||||||
|
// var_dump($password);
|
||||||
|
// var_dump($data->password);
|
||||||
|
|
||||||
|
$cek = $this->M_login->cek_login("user",$where)->num_rows();
|
||||||
|
if($cek > 0){
|
||||||
|
|
||||||
|
$data_session = array(
|
||||||
|
'id_user'=> $data->id_user,
|
||||||
|
'nama' => $data->nama,
|
||||||
|
'email'=> $data->email,
|
||||||
|
'username' => $username,
|
||||||
|
'status' => "login"
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->session->set_userdata($data_session);
|
||||||
|
|
||||||
|
redirect(base_url('Dashboard'));
|
||||||
|
|
||||||
|
|
||||||
|
}else{
|
||||||
|
$this->session->set_flashdata('success', 'Password atau Username salah! Silahkan coba lagi');
|
||||||
|
redirect(base_url('Auth'));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function logout(){
|
||||||
|
$this->session->sess_destroy();
|
||||||
|
redirect(base_url('Auth'));
|
||||||
|
}
|
||||||
|
|
||||||
|
function register(){
|
||||||
|
$fullname = $this->input->post('fullname');
|
||||||
|
$email = $this->input->post('email');
|
||||||
|
$nohp = $this->input->post('nohp');
|
||||||
|
$username = $this->input->post('username');
|
||||||
|
$password = $this->input->post('password');
|
||||||
|
|
||||||
|
$data = array(
|
||||||
|
'nama' => $fullname,
|
||||||
|
'email' => $email,
|
||||||
|
'nohp' => $nohp,
|
||||||
|
'username' =>$username,
|
||||||
|
'password' =>md5($password)
|
||||||
|
);
|
||||||
|
$this->M_login->input_data($data,'user');
|
||||||
|
redirect('Auth');
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,34 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') or exit('No direct script access allowed');
|
||||||
|
|
||||||
|
class Dashboard extends CI_Controller
|
||||||
|
{
|
||||||
|
|
||||||
|
function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
|
||||||
|
$this->load->model('M_dashboard');
|
||||||
|
|
||||||
|
if ($this->session->userdata('status') != "login") {
|
||||||
|
redirect(base_url("Auth"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$tgl = date('Y-m-d');
|
||||||
|
$bulan = date('m');
|
||||||
|
$tahun = date('Y');
|
||||||
|
|
||||||
|
$blnInt = (int)$bulan;
|
||||||
|
$thnInt = (int)$tahun;
|
||||||
|
$blnLalu = ($blnInt-1) > 0 ? ($blnInt-1) : '12';
|
||||||
|
$thnLalu = ($blnInt-1) > 0 ? $thnInt : ($thnInt-1);
|
||||||
|
|
||||||
|
$data['total_pengunjung'] = $this->M_dashboard->total_pengunjung('', '', '')->row_array()['jml'];
|
||||||
|
$data['pengunjung_bln_ini'] = $this->M_dashboard->total_pengunjung('', $bulan, $tahun)->row_array()['jml'];
|
||||||
|
$data['pengunjung_bln_lalu'] = $this->M_dashboard->total_pengunjung('', $blnLalu, $thnLalu)->row_array()['jml'];
|
||||||
|
$this->load->view('dashboard', $data);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,88 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') or exit('No direct script access allowed');
|
||||||
|
date_default_timezone_set('Asia/Jakarta');
|
||||||
|
class JenisPelayanan extends CI_Controller
|
||||||
|
{
|
||||||
|
|
||||||
|
function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('M_jenis_pelayanan');
|
||||||
|
$this->load->helper('url');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
if ($this->session->userdata('status') != "login") {
|
||||||
|
redirect(base_url("Auth"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//TAMPIL JENIS PELAYANAN
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$data['data'] = $this->M_jenis_pelayanan->list_data()->result();
|
||||||
|
$this->load->view('jenisPelayanan', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
// TAMBAH JENIS PELAYANAN
|
||||||
|
function save()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('nama', 'Nama Jenis Pelayanan', 'required|is_unique[jenis_pelayanan.nama]');
|
||||||
|
if ($this->form_validation->run() == true) {
|
||||||
|
$nama = $this->input->post('nama');
|
||||||
|
|
||||||
|
$data = array(
|
||||||
|
'nama' => $nama,
|
||||||
|
'created_at' => date('Y-m-d H:i:s')
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->session->set_flashdata('success', 'Data berhasil disimpan !');
|
||||||
|
$this->M_jenis_pelayanan->insert($data, 'jenis_pelayanan');
|
||||||
|
redirect('JenisPelayanan');
|
||||||
|
} else {
|
||||||
|
redirect('JenisPelayanan');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// EDIT JENIS PELAYANAN
|
||||||
|
function edit($id)
|
||||||
|
{
|
||||||
|
$where = array('id' => $id);
|
||||||
|
$data['data'] = $this->M_jenis_pelayanan->edit($where, 'jenis_pelayanan')->row_array();
|
||||||
|
echo json_encode($data);
|
||||||
|
}
|
||||||
|
|
||||||
|
// UPDATE JENIS PELAYANAN
|
||||||
|
function update()
|
||||||
|
{
|
||||||
|
$this->form_validation->set_rules('nama', 'Nama Jenis Pelayanan', 'required');
|
||||||
|
if ($this->form_validation->run() == true) {
|
||||||
|
$id = $this->input->post('id');
|
||||||
|
$nama = $this->input->post('nama');
|
||||||
|
|
||||||
|
$data = array(
|
||||||
|
'nama' => $nama,
|
||||||
|
'updated_at' => date('Y-m-d H:i:s')
|
||||||
|
);
|
||||||
|
|
||||||
|
$where = array(
|
||||||
|
'id' => $id
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->session->set_flashdata('success', 'Data berhasil diubah !');
|
||||||
|
$this->M_jenis_pelayanan->update($where, $data, 'jenis_pelayanan');
|
||||||
|
redirect('JenisPelayanan');
|
||||||
|
} else {
|
||||||
|
redirect('JenisPelayanan');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// HAPUS JENIS PELAYANAN
|
||||||
|
public function delete($id)
|
||||||
|
{
|
||||||
|
$where = array('id' => $id);
|
||||||
|
$this->M_jenis_pelayanan->delete($where, 'jenis_pelayanan');
|
||||||
|
$this->session->set_flashdata('hapus', 'Data berhasil dihapus !');
|
||||||
|
redirect('JenisPelayanan');
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,88 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') or exit('No direct script access allowed');
|
||||||
|
date_default_timezone_set('Asia/Jakarta');
|
||||||
|
class KategoriPasien extends CI_Controller
|
||||||
|
{
|
||||||
|
|
||||||
|
function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('M_kategori_pasien');
|
||||||
|
$this->load->helper('url');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
if ($this->session->userdata('status') != "login") {
|
||||||
|
redirect(base_url("Auth"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//TAMPIL KATEGORI PASIEN
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$data['data'] = $this->M_kategori_pasien->list_data()->result();
|
||||||
|
$this->load->view('kategoriPasien', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
// TAMBAH KATEGORI PASIEN
|
||||||
|
function save()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('nama', 'Kategori Pasien', 'required|is_unique[kategori_pasien.nama]');
|
||||||
|
if ($this->form_validation->run() == true) {
|
||||||
|
$nama = $this->input->post('nama');
|
||||||
|
|
||||||
|
$data = array(
|
||||||
|
'nama' => $nama,
|
||||||
|
'created_at' => date('Y-m-d H:i:s')
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->session->set_flashdata('success', 'Data berhasil disimpan !');
|
||||||
|
$this->M_kategori_pasien->insert($data, 'kategori_pasien');
|
||||||
|
redirect('kategoriPasien');
|
||||||
|
} else {
|
||||||
|
redirect('kategoriPasien');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// EDIT KATEGORI PASIEN
|
||||||
|
function edit($id)
|
||||||
|
{
|
||||||
|
$where = array('id' => $id);
|
||||||
|
$data['data'] = $this->M_kategori_pasien->edit($where, 'kategori_pasien')->row_array();
|
||||||
|
echo json_encode($data);
|
||||||
|
}
|
||||||
|
|
||||||
|
// UPDATE KATEGORI PASIEN
|
||||||
|
function update()
|
||||||
|
{
|
||||||
|
$this->form_validation->set_rules('nama', 'Kategori Pasien', 'required');
|
||||||
|
if ($this->form_validation->run() == true) {
|
||||||
|
$id = $this->input->post('id');
|
||||||
|
$nama = $this->input->post('nama');
|
||||||
|
|
||||||
|
$data = array(
|
||||||
|
'nama' => $nama,
|
||||||
|
'updated_at' => date('Y-m-d H:i:s')
|
||||||
|
);
|
||||||
|
|
||||||
|
$where = array(
|
||||||
|
'id' => $id
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->session->set_flashdata('success', 'Data berhasil diubah !');
|
||||||
|
$this->M_kategori_pasien->update($where, $data, 'kategori_pasien');
|
||||||
|
redirect('kategoriPasien');
|
||||||
|
} else {
|
||||||
|
redirect('kategoriPasien');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// HAPUS KATEGORI PASIEN
|
||||||
|
public function delete($id)
|
||||||
|
{
|
||||||
|
$where = array('id' => $id);
|
||||||
|
$this->M_kategori_pasien->delete($where, 'kategori_pasien');
|
||||||
|
$this->session->set_flashdata('hapus', 'Data berhasil dihapus !');
|
||||||
|
redirect('kategoriPasien');
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,119 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') or exit('No direct script access allowed');
|
||||||
|
date_default_timezone_set('Asia/Jakarta');
|
||||||
|
class Pasien extends CI_Controller
|
||||||
|
{
|
||||||
|
|
||||||
|
function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('M_pasien');
|
||||||
|
$this->load->model('M_kategori_pasien');
|
||||||
|
$this->load->helper('url');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
if ($this->session->userdata('status') != "login") {
|
||||||
|
redirect(base_url("Auth"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//TAMPIL PASIEN
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$id_kategori = $this->input->get('id_kategori');
|
||||||
|
$data['data'] = $this->M_pasien->list_data($id_kategori)->result();
|
||||||
|
$data['kategori_pasien'] = $this->M_kategori_pasien->get_all()->result();
|
||||||
|
$this->load->view('pasien', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
// TAMBAH PASIEN
|
||||||
|
function save()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('nama', 'Nama Pasien', 'required|is_unique[pasien.nama]');
|
||||||
|
if ($this->form_validation->run() == true) {
|
||||||
|
$nama = $this->input->post('nama');
|
||||||
|
$tempat_lahir = $this->input->post('tempat_lahir');
|
||||||
|
$tgl_lahir = $this->input->post('tgl_lahir');
|
||||||
|
$no_telp = $this->input->post('no_telp');
|
||||||
|
$alamat = $this->input->post('alamat');
|
||||||
|
$ortu = $this->input->post('ortu');
|
||||||
|
$jenkel = $this->input->post('jenkel');
|
||||||
|
$id_kategori_pasien = $this->input->post('id_kategori_pasien');
|
||||||
|
|
||||||
|
$data = array(
|
||||||
|
'nama' => $nama,
|
||||||
|
'tempat_lahir' => $tempat_lahir,
|
||||||
|
'tgl_lahir' => $tgl_lahir,
|
||||||
|
'jenkel' => $jenkel,
|
||||||
|
'no_telp' => $no_telp,
|
||||||
|
'alamat' => $alamat,
|
||||||
|
'ortu' => $ortu,
|
||||||
|
'id_kategori_pasien' => $id_kategori_pasien,
|
||||||
|
'created_at' => date('Y-m-d H:i:s')
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->session->set_flashdata('success', 'Data berhasil disimpan !');
|
||||||
|
$this->M_pasien->insert($data, 'pasien');
|
||||||
|
redirect('Pasien');
|
||||||
|
} else {
|
||||||
|
redirect('Pasien');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// EDIT PASIEN
|
||||||
|
function edit($id)
|
||||||
|
{
|
||||||
|
$where = array('id' => $id);
|
||||||
|
$data['data'] = $this->M_pasien->edit($where, 'pasien')->row_array();
|
||||||
|
echo json_encode($data);
|
||||||
|
}
|
||||||
|
|
||||||
|
// UPDATE PASIEN
|
||||||
|
function update()
|
||||||
|
{
|
||||||
|
$this->form_validation->set_rules('nama', 'Nama Pasien', 'required');
|
||||||
|
if ($this->form_validation->run() == true) {
|
||||||
|
$id = $this->input->post('id');
|
||||||
|
$nama = $this->input->post('nama');
|
||||||
|
$tempat_lahir = $this->input->post('tempat_lahir');
|
||||||
|
$tgl_lahir = $this->input->post('tgl_lahir');
|
||||||
|
$no_telp = $this->input->post('no_telp');
|
||||||
|
$alamat = $this->input->post('alamat');
|
||||||
|
$ortu = $this->input->post('ortu');
|
||||||
|
$jenkel = $this->input->post('jenkel');
|
||||||
|
$id_kategori_pasien = $this->input->post('id_kategori_pasien');
|
||||||
|
|
||||||
|
$data = array(
|
||||||
|
'nama' => $nama,
|
||||||
|
'tempat_lahir' => $tempat_lahir,
|
||||||
|
'tgl_lahir' => $tgl_lahir,
|
||||||
|
'jenkel' => $jenkel,
|
||||||
|
'no_telp' => $no_telp,
|
||||||
|
'alamat' => $alamat,
|
||||||
|
'ortu' => $ortu,
|
||||||
|
'id_kategori_pasien' => $id_kategori_pasien,
|
||||||
|
'updated_at' => date('Y-m-d H:i:s')
|
||||||
|
);
|
||||||
|
|
||||||
|
$where = array(
|
||||||
|
'id' => $id
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->session->set_flashdata('success', 'Data berhasil diubah !');
|
||||||
|
$this->M_pasien->update($where, $data, 'pasien');
|
||||||
|
redirect('Pasien');
|
||||||
|
} else {
|
||||||
|
redirect('Pasien');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// HAPUS PASIEN
|
||||||
|
public function delete($id)
|
||||||
|
{
|
||||||
|
$where = array('id' => $id);
|
||||||
|
$this->M_pasien->delete($where, 'pasien');
|
||||||
|
$this->session->set_flashdata('hapus', 'Data berhasil dihapus !');
|
||||||
|
redirect('Pasien');
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,95 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') or exit('No direct script access allowed');
|
||||||
|
date_default_timezone_set('Asia/Jakarta');
|
||||||
|
class Pelayanan extends CI_Controller
|
||||||
|
{
|
||||||
|
|
||||||
|
function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('M_pelayanan');
|
||||||
|
$this->load->model('M_jenis_pelayanan');
|
||||||
|
$this->load->helper('url');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
if ($this->session->userdata('status') != "login") {
|
||||||
|
redirect(base_url("Auth"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//TAMPIL PELAYANAN
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$id_jenis = $this->input->get('id_jenis_pelayanan');
|
||||||
|
$data['data'] = $this->M_pelayanan->list_data($id_jenis)->result();
|
||||||
|
$data['jenis_pelayanan'] = $this->M_jenis_pelayanan->get_all()->result();
|
||||||
|
$this->load->view('pelayanan', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
// TAMBAH PELAYANAN
|
||||||
|
function save()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('nama', 'Nama Pelayanan', 'required|is_unique[pelayanan.nama]');
|
||||||
|
if ($this->form_validation->run() == true) {
|
||||||
|
$nama = $this->input->post('nama');
|
||||||
|
$id_jenis_pelayanan = $this->input->post('id_jenis_pelayanan');
|
||||||
|
|
||||||
|
$data = array(
|
||||||
|
'nama' => $nama,
|
||||||
|
'id_jenis_pelayanan' => $id_jenis_pelayanan,
|
||||||
|
'created_at' => date('Y-m-d H:i:s')
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->session->set_flashdata('success', 'Data berhasil disimpan !');
|
||||||
|
$this->M_pelayanan->insert($data, 'pelayanan');
|
||||||
|
redirect('Pelayanan');
|
||||||
|
} else {
|
||||||
|
redirect('Pelayanan');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// EDIT PELAYANAN
|
||||||
|
function edit($id)
|
||||||
|
{
|
||||||
|
$where = array('id' => $id);
|
||||||
|
$data['data'] = $this->M_pelayanan->edit($where, 'pelayanan')->row_array();
|
||||||
|
echo json_encode($data);
|
||||||
|
}
|
||||||
|
|
||||||
|
// UPDATE PELAYANAN
|
||||||
|
function update()
|
||||||
|
{
|
||||||
|
$this->form_validation->set_rules('nama', 'Nama Pelayanan', 'required');
|
||||||
|
if ($this->form_validation->run() == true) {
|
||||||
|
$id = $this->input->post('id');
|
||||||
|
$nama = $this->input->post('nama');
|
||||||
|
$id_jenis_pelayanan = $this->input->post('id_jenis_pelayanan');
|
||||||
|
|
||||||
|
$data = array(
|
||||||
|
'nama' => $nama,
|
||||||
|
'id_jenis_pelayanan' => $id_jenis_pelayanan,
|
||||||
|
'updated_at' => date('Y-m-d H:i:s')
|
||||||
|
);
|
||||||
|
|
||||||
|
$where = array(
|
||||||
|
'id' => $id
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->session->set_flashdata('success', 'Data berhasil diubah !');
|
||||||
|
$this->M_pelayanan->update($where, $data, 'pelayanan');
|
||||||
|
redirect('Pelayanan');
|
||||||
|
} else {
|
||||||
|
redirect('Pelayanan');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// HAPUS PELAYANAN
|
||||||
|
public function delete($id)
|
||||||
|
{
|
||||||
|
$where = array('id' => $id);
|
||||||
|
$this->M_pelayanan->delete($where, 'pelayanan');
|
||||||
|
$this->session->set_flashdata('hapus', 'Data berhasil dihapus !');
|
||||||
|
redirect('Pelayanan');
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,133 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') or exit('No direct script access allowed');
|
||||||
|
date_default_timezone_set('Asia/Jakarta');
|
||||||
|
class Pengunjung extends CI_Controller
|
||||||
|
{
|
||||||
|
|
||||||
|
function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('M_pengunjung');
|
||||||
|
$this->load->model('M_pasien');
|
||||||
|
$this->load->model('M_pelayanan');
|
||||||
|
$this->load->helper('url');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
if ($this->session->userdata('status') != "login") {
|
||||||
|
redirect(base_url("Auth"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//TAMPIL PENGUNJUNG
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$bulan = $this->input->get('bulan');
|
||||||
|
$tahun = $this->input->get('tahun');
|
||||||
|
$id_pelayanan = $this->input->get('id_pelayanan');
|
||||||
|
$data['data'] = $this->M_pengunjung->list_data($id_pelayanan, $bulan, $tahun)->result();
|
||||||
|
$data['pasien'] = $this->M_pasien->get_all()->result();
|
||||||
|
$data['pelayanan'] = $this->M_pelayanan->get_all()->result();
|
||||||
|
$data['tahun'] = $this->M_pengunjung->get_tahun()->result();
|
||||||
|
$this->load->view('pengunjung', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
// TAMBAH PENGUNJUNG
|
||||||
|
function save()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->form_validation->set_rules('tanggal', 'tanggal', 'required');
|
||||||
|
$this->form_validation->set_rules('id_pasien', 'Pasien', 'required');
|
||||||
|
$this->form_validation->set_rules('id_pelayanan', 'Pelayanan', 'required');
|
||||||
|
if ($this->form_validation->run() == true) {
|
||||||
|
$tanggal = $this->input->post('tanggal');
|
||||||
|
$id_pasien = $this->input->post('id_pasien');
|
||||||
|
$id_pelayanan = $this->input->post('id_pelayanan');
|
||||||
|
$keterangan = $this->input->post('keterangan');
|
||||||
|
$umur_bulan = $this->input->post('umur_bulan');
|
||||||
|
|
||||||
|
$data = array(
|
||||||
|
'tanggal' => $tanggal,
|
||||||
|
'id_pasien' => $id_pasien,
|
||||||
|
'id_pelayanan' => $id_pelayanan,
|
||||||
|
'keterangan' => $keterangan,
|
||||||
|
'umur_bulan' => $umur_bulan,
|
||||||
|
'created_at' => date('Y-m-d H:i:s')
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->session->set_flashdata('success', 'Data berhasil disimpan !');
|
||||||
|
$this->M_pengunjung->insert($data, 'pengunjung');
|
||||||
|
redirect('Pengunjung');
|
||||||
|
} else {
|
||||||
|
redirect('Pengunjung');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// EDIT PENGUNJUNG
|
||||||
|
function edit($id)
|
||||||
|
{
|
||||||
|
$where = array('id' => $id);
|
||||||
|
$data['data'] = $this->M_pengunjung->get_detail($id)->row_array();
|
||||||
|
echo json_encode($data);
|
||||||
|
}
|
||||||
|
|
||||||
|
// UPDATE PENGUNJUNG
|
||||||
|
function update()
|
||||||
|
{
|
||||||
|
$this->form_validation->set_rules('tanggal', 'tanggal', 'required');
|
||||||
|
$this->form_validation->set_rules('id_pasien', 'Pasien', 'required');
|
||||||
|
$this->form_validation->set_rules('id_pelayanan', 'Pelayanan', 'required');
|
||||||
|
if ($this->form_validation->run() == true) {
|
||||||
|
$id = $this->input->post('id');
|
||||||
|
$tanggal = $this->input->post('tanggal');
|
||||||
|
$id_pasien = $this->input->post('id_pasien');
|
||||||
|
$id_pelayanan = $this->input->post('id_pelayanan');
|
||||||
|
$keterangan = $this->input->post('keterangan');
|
||||||
|
$umur_bulan = $this->input->post('umur_bulan');
|
||||||
|
|
||||||
|
$data = array(
|
||||||
|
'tanggal' => $tanggal,
|
||||||
|
'id_pasien' => $id_pasien,
|
||||||
|
'id_pelayanan' => $id_pelayanan,
|
||||||
|
'keterangan' => $keterangan,
|
||||||
|
'umur_bulan' => $umur_bulan,
|
||||||
|
'updated_at' => date('Y-m-d H:i:s')
|
||||||
|
);
|
||||||
|
|
||||||
|
$where = array(
|
||||||
|
'id' => $id
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->session->set_flashdata('success', 'Data berhasil diubah !');
|
||||||
|
$this->M_pengunjung->update($where, $data, 'pengunjung');
|
||||||
|
redirect('Pengunjung');
|
||||||
|
} else {
|
||||||
|
redirect('Pengunjung');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// HAPUS PENGUNJUNG
|
||||||
|
public function delete($id)
|
||||||
|
{
|
||||||
|
$where = array('id' => $id);
|
||||||
|
$this->M_pengunjung->delete($where, 'pengunjung');
|
||||||
|
$this->session->set_flashdata('hapus', 'Data berhasil dihapus !');
|
||||||
|
redirect('Pengunjung');
|
||||||
|
}
|
||||||
|
|
||||||
|
function save_bulk()
|
||||||
|
{
|
||||||
|
for ($i = 0; $i < 34; $i++) {
|
||||||
|
$data = array(
|
||||||
|
'tanggal' => '2024-03-10',
|
||||||
|
'id_pasien' => 3,
|
||||||
|
'id_pelayanan' => 3,
|
||||||
|
'keterangan' => null,
|
||||||
|
'created_at' => date('Y-m-d H:i:s')
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->M_pengunjung->insert($data, 'pengunjung');
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "save bulk pengunjung";
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,444 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') or exit('No direct script access allowed');
|
||||||
|
|
||||||
|
require_once dirname(__FILE__) . "/../../metode/ExponentialSmoothing.php";
|
||||||
|
|
||||||
|
class Peramalan extends CI_Controller
|
||||||
|
{
|
||||||
|
|
||||||
|
function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->helper('url');
|
||||||
|
$this->load->model('M_pelayanan');
|
||||||
|
$this->load->model('M_pengunjung');
|
||||||
|
|
||||||
|
if ($this->session->userdata('status') != "login") {
|
||||||
|
redirect(base_url("Auth"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$id_pelayanan = $this->input->get('id_pelayanan');
|
||||||
|
$bulan = $this->input->get('bulan');
|
||||||
|
$tahun = $this->input->get('tahun');
|
||||||
|
$data['pelayanan'] = $this->M_pelayanan->get_all()->result();
|
||||||
|
$data['alpha'] = $this->M_pelayanan->alpha()->row_array();
|
||||||
|
|
||||||
|
if ($bulan != "" && $tahun != "") {
|
||||||
|
$data['detail_pelayanan'] = $this->M_pelayanan->get_detail($id_pelayanan)->row_array();
|
||||||
|
$ft = $this->get_peramalan($id_pelayanan, $bulan, $tahun);
|
||||||
|
$data['data'] = $ft['hasilRamal'];
|
||||||
|
$data['MAD'] = $ft['MAD'];
|
||||||
|
$data['MSE'] = $ft['MSE'];
|
||||||
|
$data['MAPE'] = $ft['MAPE'];
|
||||||
|
$data['ratarataKesalahan'] = $ft['ratarataKesalahan'];
|
||||||
|
} else {
|
||||||
|
$data['detail_pelayanan'] = null;
|
||||||
|
$data['data'] = [];
|
||||||
|
$data['MAD'] = null;
|
||||||
|
$data['MSE'] = null;
|
||||||
|
$data['MAPE'] = null;
|
||||||
|
$data['ratarataKesalahan'] = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->load->view('peramalan', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function update_alpha()
|
||||||
|
{
|
||||||
|
$alpha = $this->input->post('alpha');
|
||||||
|
$beta = $this->input->post('beta');
|
||||||
|
$gamma = $this->input->post('gamma');
|
||||||
|
$data = array(
|
||||||
|
'alpha' => $alpha,
|
||||||
|
'beta' => $beta,
|
||||||
|
'gamma' => $gamma
|
||||||
|
);
|
||||||
|
|
||||||
|
$where = array(
|
||||||
|
'id_alpha' => '1'
|
||||||
|
);
|
||||||
|
$this->M_pelayanan->update($where, $data, 'alpha');
|
||||||
|
|
||||||
|
$response['success'] = true;
|
||||||
|
$response['message'] = "Alpha Berhasil Diubah !";
|
||||||
|
echo json_encode($response);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function get_peramalan($id_pelayanan, $bulan, $tahun)
|
||||||
|
{
|
||||||
|
$hasilRamal = array();
|
||||||
|
$awal = $this->M_pengunjung->tgl_kunjungan($id_pelayanan, 'asc')->row_array();
|
||||||
|
$akhir = $this->M_pengunjung->tgl_kunjungan($id_pelayanan, 'desc')->row_array();
|
||||||
|
|
||||||
|
$params = $this->M_pelayanan->alpha()->row_array();
|
||||||
|
$alpha = $params['alpha'];
|
||||||
|
$beta = $params['beta'];
|
||||||
|
$gamma = $params['gamma'];
|
||||||
|
$L = $params['periode'];
|
||||||
|
|
||||||
|
$dataAktual = [];
|
||||||
|
$blnRamal = $tahun . '-' . $bulan . '-01';
|
||||||
|
$blnAwal = isset($awal['tanggal']) ? $awal['tanggal'] : date('Y-m-d');
|
||||||
|
$blnAkhir = isset($akhir['tanggal']) ? $akhir['tanggal'] : date('Y-m-d');
|
||||||
|
|
||||||
|
// mengambil data rekap pengunjung
|
||||||
|
if ($id_pelayanan!="") {
|
||||||
|
$srs = $this->M_pengunjung->get_rekap_pengunjung($id_pelayanan)->result_array();
|
||||||
|
} else {
|
||||||
|
$srs = $this->M_pengunjung->get_rekap_total_pengunjung()->result_array();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mengambil nilai data aktual
|
||||||
|
foreach ($srs as $row) {
|
||||||
|
$dataAktual[] = $row['jumlah'];
|
||||||
|
}
|
||||||
|
|
||||||
|
$starter = 0;
|
||||||
|
$lb = 0;
|
||||||
|
// generate list bulan dan jumlah data aktual, dari awal hingga akhir bulan kunjungan pada setiap pelayanan
|
||||||
|
for ($t = date("Y", strtotime($blnAkhir)); $t <= date("Y", strtotime($blnRamal)); $t++) {
|
||||||
|
if ($starter == 0) {
|
||||||
|
$lb = date("m", strtotime($blnAkhir)) + 1;
|
||||||
|
} else {
|
||||||
|
$lb = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
for ($b = $lb; $b <= 13; $b++) {
|
||||||
|
if ($b > 12) {
|
||||||
|
$starter = 1;
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
|
|
||||||
|
if ($t == date("Y", strtotime($blnRamal)) && $b > date("m", strtotime($blnRamal))) {
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
|
// proses menambahkan / menggabungkan data series bulanan dengan bulan selanjutnya
|
||||||
|
$bulanStr = sprintf("%02d", $b) . "-" . $t;
|
||||||
|
$srs[] = array(
|
||||||
|
'bulan' => $bulanStr,
|
||||||
|
'jumlah' => null
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Jika data rekap pengunjung sebelumnya kosong maka akan mengembalikan nilai dengan data peramalan null
|
||||||
|
if (count($dataAktual) == 0) {
|
||||||
|
for ($i = 0; $i < count($srs); $i++) {
|
||||||
|
$hasilRamal[] = array(
|
||||||
|
'bulan' => $srs[$i]['bulan'],
|
||||||
|
'jumlah' => isset($srs[$i]['jumlah']) ? $srs[$i]['jumlah'] : 0,
|
||||||
|
'lt' => null,
|
||||||
|
'bt' => null,
|
||||||
|
'st' => null,
|
||||||
|
'ft' => null,
|
||||||
|
'xt_ft' => null,
|
||||||
|
'xt_ft2' => null,
|
||||||
|
'error' => null,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
$result['hasilRamal'] = $hasilRamal;
|
||||||
|
$result['MAD'] = null;
|
||||||
|
$result['MSE'] = null;
|
||||||
|
$result['MAPE'] = null;
|
||||||
|
$result['ratarataKesalahan'] = null;
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fungsi metode triple exponential smoothing
|
||||||
|
$h = new ExponentialSmoothing($alpha, $beta, $gamma, $L, $dataAktual);
|
||||||
|
$dataForecast = $h->get_forecast();
|
||||||
|
|
||||||
|
// Perhitungan error
|
||||||
|
// rumus PE : ABS(xt-ft/xt)x100
|
||||||
|
$arrPE = array();
|
||||||
|
$arrPE2 = array();
|
||||||
|
$PE = array();
|
||||||
|
$MAD = 0;
|
||||||
|
$MSE = 0;
|
||||||
|
$MAPE = 0;
|
||||||
|
for ($i = 0; $i < count($dataForecast); $i++) {
|
||||||
|
if (isset($dataForecast[$i])) {
|
||||||
|
// | xt-ft |
|
||||||
|
$xtFt = $dataAktual[$i] - $dataForecast[$i];
|
||||||
|
$arrPE[] = ABS($xtFt);
|
||||||
|
// (xt-ft)^2
|
||||||
|
$xtFt2 = pow($xtFt, 2);
|
||||||
|
$arrPE2[] = $xtFt2;
|
||||||
|
// ABS(xt-ft/xt)x100
|
||||||
|
$APE = ABS($xtFt / $dataAktual[$i]) * 100;
|
||||||
|
$PE[] = $APE;
|
||||||
|
// Total
|
||||||
|
$MAD += ABS($xtFt);
|
||||||
|
$MSE += $xtFt2;
|
||||||
|
$MAPE += $APE;
|
||||||
|
} else {
|
||||||
|
$arrPE[] = null;
|
||||||
|
$arrPE2[] = null;
|
||||||
|
$PE[] = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
$jmlAktual = count($dataForecast) - $L;
|
||||||
|
$hasilMAD = $MAD / $jmlAktual;
|
||||||
|
$hasilMSE = $MSE / $jmlAktual;
|
||||||
|
$hasilMAPE = $MAPE / $jmlAktual;
|
||||||
|
$hasilKeseluruhan = $hasilMAD + $hasilMSE + $hasilMAPE;
|
||||||
|
$ratarataKesalahan = $hasilKeseluruhan / 3;
|
||||||
|
|
||||||
|
// proses merge data ramal aktual dengan bulan selanjutnya
|
||||||
|
for ($i = count($dataAktual); $i < count($srs); $i++) {
|
||||||
|
$dataForecast[] = $h->forecast($i);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Peramalan
|
||||||
|
$levels = $h->get_levels();
|
||||||
|
$trens = $h->get_trens();
|
||||||
|
$seasonals = $h->get_seasonals();
|
||||||
|
for ($i = 0; $i < count($srs); $i++) {
|
||||||
|
$hasilRamal[] = array(
|
||||||
|
'bulan' => $srs[$i]['bulan'],
|
||||||
|
'jumlah' => $srs[$i]['jumlah'],
|
||||||
|
'lt' => (isset($levels[$i])) ? round($levels[$i], 5) : null,
|
||||||
|
'bt' => (isset($trens[$i])) ? round($trens[$i], 5) : null,
|
||||||
|
'st' => (isset($seasonals[$i])) ? round($seasonals[$i], 5) : null,
|
||||||
|
'ft' => (isset($dataForecast[$i])) ? round($dataForecast[$i], 5) : null,
|
||||||
|
'xt_ft' => (isset($arrPE[$i])) ? round($arrPE[$i], 5) : null,
|
||||||
|
'xt_ft2' => (isset($arrPE2[$i])) ? round($arrPE2[$i], 5) : null,
|
||||||
|
'error' => (isset($PE[$i])) ? round($PE[$i], 5) : null,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
$result['hasilRamal'] = $hasilRamal;
|
||||||
|
$result['MAD'] = round($hasilMAD, 4);
|
||||||
|
$result['MSE'] = round($hasilMSE, 4);
|
||||||
|
$result['MAPE'] = round($hasilMAPE, 4);
|
||||||
|
$result['ratarataKesalahan'] = round($ratarataKesalahan, 4);
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fungsi untuk testing perhitungan development
|
||||||
|
public function forecast()
|
||||||
|
{
|
||||||
|
|
||||||
|
$starter = 0;
|
||||||
|
$lb = 0;
|
||||||
|
|
||||||
|
$dataAktual = [];
|
||||||
|
$blnAwal = '2023-04-01';
|
||||||
|
$blnAkhir = '2024-03-01';
|
||||||
|
$blnRamal = '2024-05-01';
|
||||||
|
|
||||||
|
$srs = array(
|
||||||
|
array(
|
||||||
|
'bulan' => '04-2023',
|
||||||
|
'jumlah' => 32
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'bulan' => '05-2023',
|
||||||
|
'jumlah' => 32
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'bulan' => '06-2023',
|
||||||
|
'jumlah' => 33
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'bulan' => '07-2023',
|
||||||
|
'jumlah' => 35
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'bulan' => '08-2023',
|
||||||
|
'jumlah' => 38
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'bulan' => '09-2023',
|
||||||
|
'jumlah' => 36
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'bulan' => '10-2023',
|
||||||
|
'jumlah' => 36
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'bulan' => '11-2023',
|
||||||
|
'jumlah' => 32
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'bulan' => '12-2023',
|
||||||
|
'jumlah' => 33
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'bulan' => '01-2024',
|
||||||
|
'jumlah' => 31
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'bulan' => '02-2024',
|
||||||
|
'jumlah' => 33
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'bulan' => '03-2024',
|
||||||
|
'jumlah' => 34
|
||||||
|
),
|
||||||
|
);
|
||||||
|
|
||||||
|
// Mengambil nilai data aktual
|
||||||
|
foreach ($srs as $row) {
|
||||||
|
$dataAktual[] = $row['jumlah'];
|
||||||
|
}
|
||||||
|
|
||||||
|
// generate list bulan dan jumlah data aktual, dari awal hingga akhir bulan kunjungan pada setiap pelayanan
|
||||||
|
for ($t = date("Y", strtotime($blnAkhir)); $t <= date("Y", strtotime($blnRamal)); $t++) {
|
||||||
|
if ($starter == 0) {
|
||||||
|
$lb = date("m", strtotime($blnAkhir)) + 1;
|
||||||
|
} else {
|
||||||
|
$lb = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
for ($b = $lb; $b <= 13; $b++) {
|
||||||
|
if ($b > 12) {
|
||||||
|
$starter = 1;
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
|
|
||||||
|
if ($t == date("Y", strtotime($blnRamal)) && $b > date("m", strtotime($blnRamal))) {
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
|
// proses menambahkan / menggabungkan data series bulanan dengan bulan selanjutnya
|
||||||
|
$bulanStr = sprintf("%02d", $b) . "-" . $t;
|
||||||
|
$srs[] = array(
|
||||||
|
'bulan' => $bulanStr,
|
||||||
|
'jumlah' => null
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$alpha = 0.5;
|
||||||
|
$beta = 0.5;
|
||||||
|
$gamma = 0.5;
|
||||||
|
$L = 4;
|
||||||
|
|
||||||
|
// $series = array(
|
||||||
|
// 32,
|
||||||
|
// 32,
|
||||||
|
// 33,
|
||||||
|
// 35,
|
||||||
|
// 38,
|
||||||
|
// 36,
|
||||||
|
// 36,
|
||||||
|
// 32,
|
||||||
|
// 33,
|
||||||
|
// 31,
|
||||||
|
// 33,
|
||||||
|
// 34
|
||||||
|
// );
|
||||||
|
|
||||||
|
// Fungsi metode triple exponential smoothing
|
||||||
|
$h = new ExponentialSmoothing($alpha, $beta, $gamma, $L, $dataAktual);
|
||||||
|
$dataForecast = $h->get_forecast();
|
||||||
|
|
||||||
|
echo '<pre>';
|
||||||
|
// print_r($srs);
|
||||||
|
print_r($dataAktual);
|
||||||
|
// print_r($h);
|
||||||
|
echo '<br> Result forecast ori : <br>';
|
||||||
|
print_r($dataForecast);
|
||||||
|
echo '<br> Result forecast future : <br>';
|
||||||
|
|
||||||
|
// Perhitungan error
|
||||||
|
// rumus PE : ABS(xt-ft/xt)x100
|
||||||
|
|
||||||
|
$arrPE = array();
|
||||||
|
$arrPE2 = array();
|
||||||
|
$PE = array();
|
||||||
|
$MAD = 0;
|
||||||
|
$MSE = 0;
|
||||||
|
$MAPE = 0;
|
||||||
|
for ($i = 0; $i < count($dataForecast); $i++) {
|
||||||
|
if (isset($dataForecast[$i])) {
|
||||||
|
// | xt-ft |
|
||||||
|
$xtFt = $dataAktual[$i] - $dataForecast[$i];
|
||||||
|
$arrPE[] = ABS($xtFt);
|
||||||
|
// (xt-ft)^2
|
||||||
|
$xtFt2 = pow($xtFt, 2);
|
||||||
|
$arrPE2[] = $xtFt2;
|
||||||
|
// ABS(xt-ft/xt)x100
|
||||||
|
$APE = ABS($xtFt / $dataAktual[$i]) * 100;
|
||||||
|
$PE[] = $APE;
|
||||||
|
// Total
|
||||||
|
$MAD += ABS($xtFt);
|
||||||
|
$MSE += $xtFt2;
|
||||||
|
$MAPE += $APE;
|
||||||
|
} else {
|
||||||
|
$arrPE[] = null;
|
||||||
|
$arrPE2[] = null;
|
||||||
|
$PE[] = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
$jmlAktual = count($dataForecast) - $L;
|
||||||
|
echo '<br> xt-ft : <br>';
|
||||||
|
print_r($arrPE);
|
||||||
|
print_r($arrPE2);
|
||||||
|
print_r($PE);
|
||||||
|
echo '<br>SUM MAD :';
|
||||||
|
print_r($MAD);
|
||||||
|
echo '<br>SUM MSE :';
|
||||||
|
print_r($MSE);
|
||||||
|
echo '<br>SUM PE :';
|
||||||
|
print_r($MAPE);
|
||||||
|
echo '<br>JML DATA AKTUAL :';
|
||||||
|
print_r($jmlAktual);
|
||||||
|
|
||||||
|
$hasilMAD = $MAD / $jmlAktual;
|
||||||
|
$hasilMSE = $MSE / $jmlAktual;
|
||||||
|
$hasilMAPE = $MAPE / $jmlAktual;
|
||||||
|
|
||||||
|
echo '<br>MAD :';
|
||||||
|
print_r($hasilMAD);
|
||||||
|
echo '<br>MSE :';
|
||||||
|
print_r($hasilMSE);
|
||||||
|
echo '<br>MAPE :';
|
||||||
|
print_r($hasilMAPE);
|
||||||
|
echo '<br>';
|
||||||
|
|
||||||
|
// proses merge data ramal aktual dengan bulan selanjutnya
|
||||||
|
for ($i = count($dataAktual); $i < count($srs); $i++) {
|
||||||
|
echo '[' . $i . '] ' . $h->forecast($i);
|
||||||
|
echo '<br>';
|
||||||
|
$dataForecast[] = $h->forecast($i);
|
||||||
|
}
|
||||||
|
print_r($dataForecast);
|
||||||
|
|
||||||
|
// Peramalan
|
||||||
|
$hasilRamal = array();
|
||||||
|
$levels = $h->get_levels();
|
||||||
|
$trens = $h->get_trens();
|
||||||
|
$seasonals = $h->get_seasonals();
|
||||||
|
for ($i = 0; $i < count($srs); $i++) {
|
||||||
|
$hasilRamal[] = array(
|
||||||
|
'bulan' => $srs[$i]['bulan'],
|
||||||
|
'jumlah' => $srs[$i]['jumlah'],
|
||||||
|
'lt' => (isset($levels[$i])) ? $levels[$i] : null,
|
||||||
|
'bt' => (isset($trens[$i])) ? $trens[$i] : null,
|
||||||
|
'st' => (isset($seasonals[$i])) ? $seasonals[$i] : null,
|
||||||
|
'ft' => $dataForecast[$i],
|
||||||
|
'xt_ft' => (isset($arrPE[$i])) ? $arrPE[$i] : null,
|
||||||
|
'xt_ft2' => (isset($arrPE2[$i])) ? $arrPE2[$i] : null,
|
||||||
|
'error' => (isset($PE[$i])) ? $PE[$i] : null,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
print_r($hasilRamal);
|
||||||
|
echo '</pre>';
|
||||||
|
|
||||||
|
return $hasilRamal;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,64 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
class Profil extends CI_Controller {
|
||||||
|
|
||||||
|
function __construct(){
|
||||||
|
parent::__construct();
|
||||||
|
|
||||||
|
$this->load->model('M_login');
|
||||||
|
|
||||||
|
if($this->session->userdata('status') != "login"){
|
||||||
|
redirect(base_url("Auth"));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$where= array('id_user' => $this->session->userdata('id_user'));
|
||||||
|
$data['profil'] = $this->M_login->tampil_profil($where,'user')->result();
|
||||||
|
|
||||||
|
$this->load->view('editProfil',$data);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function edit_profil(){
|
||||||
|
$id_user=$this->input->post('id_user');
|
||||||
|
$nama=$this->input->post('nama');
|
||||||
|
$email=$this->input->post('email');
|
||||||
|
$nohp=$this->input->post('nohp');
|
||||||
|
$username=$this->input->post('username');
|
||||||
|
$password=$this->input->post('password');
|
||||||
|
|
||||||
|
$where = array(
|
||||||
|
'id_user' => $id_user
|
||||||
|
);
|
||||||
|
|
||||||
|
if ($password == "") {
|
||||||
|
$data = array(
|
||||||
|
'nama' => $nama,
|
||||||
|
'email' => $email,
|
||||||
|
'nohp' => $nohp,
|
||||||
|
'username' => $username
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->session->set_flashdata('success', 'Anda Berhasil Mengedit data Profil');
|
||||||
|
$this->M_login->update_data($where,$data,'user');
|
||||||
|
redirect('profil');
|
||||||
|
|
||||||
|
} else{
|
||||||
|
$data = array(
|
||||||
|
'nama' => $nama,
|
||||||
|
'email' => $email,
|
||||||
|
'nohp' => $nohp,
|
||||||
|
'username' => $username,
|
||||||
|
'password' => md5($password)
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->session->set_flashdata('success', 'Anda Berhasil Mengedit data Profil');
|
||||||
|
$this->M_login->update_data($where,$data,'user');
|
||||||
|
redirect('profil');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,421 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') or exit('No direct script access allowed');
|
||||||
|
|
||||||
|
class Ramal extends CI_Controller
|
||||||
|
{
|
||||||
|
|
||||||
|
function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->load->model('M_pelayanan');
|
||||||
|
$this->load->helper('url');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
|
if ($this->session->userdata('status') != "login") {
|
||||||
|
redirect(base_url("Auth"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$data['data'] = $this->M_pelayanan->list_data()->result();
|
||||||
|
$data['alpha'] = $this->M_pelayanan->alpha()->row();
|
||||||
|
$this->load->view('ramal', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function alpha()
|
||||||
|
{
|
||||||
|
$alpha = $this->input->post('alpha');
|
||||||
|
$data = array(
|
||||||
|
'alpha' => $alpha
|
||||||
|
);
|
||||||
|
|
||||||
|
$where = array(
|
||||||
|
'id_alpha' => '1'
|
||||||
|
);
|
||||||
|
$this->session->set_flashdata('success', 'Anda Berhasil Mengubah alpha');
|
||||||
|
$this->M_pelayanan->update($where, $data, 'alpha');
|
||||||
|
redirect('ramal');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function ramal_pengunjung($id_pelayanan)
|
||||||
|
{
|
||||||
|
$data['pelayanan'] = $this->M_pelayanan->get_detail($id_pelayanan)->row();
|
||||||
|
$awal = $this->db->query('SELECT tanggal FROM pengunjung order by tanggal asc')->row();
|
||||||
|
$akhir = $this->db->query('SELECT tanggal FROM pengunjung order by tanggal desc')->row();
|
||||||
|
|
||||||
|
$starter = 0;
|
||||||
|
$lb = 0;
|
||||||
|
|
||||||
|
$aktual = [];
|
||||||
|
$bulan = [];
|
||||||
|
|
||||||
|
// generate list bulan dan jumlah data aktual, dari awal hingga akhir kunjungan pada setiap pelayanan
|
||||||
|
for ($t = date("Y", strtotime($awal->tanggal)); $t <= date("Y", strtotime($akhir->tanggal)); $t++) {
|
||||||
|
if ($starter == 0) {
|
||||||
|
$lb = date("m", strtotime($awal->tanggal));
|
||||||
|
} else {
|
||||||
|
$lb = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
for ($b = $lb; $b <= 13; $b++) {
|
||||||
|
if ($b > 12) {
|
||||||
|
$starter = 1;
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
|
|
||||||
|
$s_bln = sprintf("%02d", $b);
|
||||||
|
$s_thn = sprintf("%02d", $t);
|
||||||
|
$detail = $this->db->query("
|
||||||
|
SELECT pl.nama as nama_pelayanan, YEAR(tanggal) as tahun, MONTH(tanggal) as bulan, COUNT(p.id) as jumlah
|
||||||
|
FROM pengunjung p
|
||||||
|
JOIN pelayanan pl ON p.id_pelayanan= pl.id
|
||||||
|
WHERE p.id_pelayanan = '$id_pelayanan'
|
||||||
|
AND MONTH(p.tanggal) = '$s_bln'
|
||||||
|
AND YEAR(p.tanggal) = '$s_thn'
|
||||||
|
GROUP BY MONTH(p.tanggal), YEAR(p.tanggal)
|
||||||
|
")->row();
|
||||||
|
|
||||||
|
if ($t == date("Y", strtotime($akhir->tanggal)) && $b > date("m", strtotime($akhir->tanggal))) {
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
|
if ($detail) {
|
||||||
|
$aktual[] = $detail->jumlah;
|
||||||
|
$bulan[] = sprintf("%02d", $b) . "-" . $t;
|
||||||
|
}
|
||||||
|
// else {
|
||||||
|
// //echo sprintf("%02d", $b)."-".$t."==".""."|"."0"."<br>";
|
||||||
|
// $aktual[]= 0;
|
||||||
|
// $bulan[] = sprintf("%02d",$b)." - ".$t;
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$data['alpha'] = $this->M_pelayanan->alpha()->row();
|
||||||
|
|
||||||
|
$alpha = $data['alpha']->alpha;
|
||||||
|
|
||||||
|
// mengkonversi nilai array menjadi number / int
|
||||||
|
$aktualInt = array_map('intval', $aktual);
|
||||||
|
|
||||||
|
// mengambil nilai awal pada data aktual
|
||||||
|
$nilaiAwal = array_slice($aktual, 0, 1);
|
||||||
|
$nilaiAwalInt = array_map('intval', $nilaiAwal);
|
||||||
|
|
||||||
|
//SMOOTHING 1
|
||||||
|
$s1[] = isset($nilaiAwalInt[0]) ? $nilaiAwalInt[0] : 0;
|
||||||
|
$s1Int = array_map('intval', $s1);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($aktualInt) + 1; $i++) {
|
||||||
|
$s1Int[$i] = round($alpha * $aktualInt[$i - 1] + (1 - $alpha) * $s1Int[$i - 1], 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
//SMOOTHING 2
|
||||||
|
$s2[] = isset($nilaiAwalInt[0]) ? $nilaiAwalInt[0] : 0;
|
||||||
|
$s2Int = array_map('intval', $s2);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($s1Int); $i++) {
|
||||||
|
$s2Int[$i] = round($alpha * $s1Int[$i] + (1 - $alpha) * $s2Int[$i - 1], 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
//SMOOTHING 3
|
||||||
|
$s3[] = isset($nilaiAwalInt[0]) ? $nilaiAwalInt[0] : 0;
|
||||||
|
$s3Int = array_map('intval', $s2);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($s2Int); $i++) {
|
||||||
|
$s3Int[$i] = round($alpha * $s2Int[$i] + (1 - $alpha) * $s3Int[$i - 1], 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
//AT
|
||||||
|
$at = array();
|
||||||
|
$atInt = array_map('intval', $at);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($s1Int); $i++) {
|
||||||
|
$atInt[$i] = round(3 * $s1Int[$i] - 3 * $s2Int[$i] + $s3Int[$i], 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
//BT
|
||||||
|
$bt = array();
|
||||||
|
$btInt = array_map('intval', $bt);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($s1Int); $i++) {
|
||||||
|
$btInt[$i] = round($alpha / 2 * pow(1 - $alpha, 2) * ((6 - 5 * $alpha) * $s1Int[$i] - (10 - 8 * $alpha) * $s2Int[$i] + (4 - 3 * $alpha) * $s3Int[$i]), 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
//CT
|
||||||
|
$ct = array();
|
||||||
|
$ctInt = array_map('intval', $ct);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($s1Int); $i++) {
|
||||||
|
$ctInt[$i] = round(pow($alpha, 2) / pow(1 - $alpha, 2) * ($s1Int[$i] - 2 * $s2Int[$i] + $s3Int[$i]), 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
//FT+M
|
||||||
|
$ft = array();
|
||||||
|
$ftInt = array_map('intval', $ft);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($atInt) + 1; $i++) {
|
||||||
|
$ftInt[$i] = round($atInt[$i] + $btInt[$i] * 1 + 1 / 2 * $ctInt[$i] * pow(1, 2), 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
//at-ft
|
||||||
|
$selisih = array();
|
||||||
|
$selisihInt = array_map('intval', $selisih);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($aktualInt); $i++) {
|
||||||
|
$selisihInt[$i] = $aktualInt[$i] - $ftInt[$i];
|
||||||
|
}
|
||||||
|
|
||||||
|
//(at-ft)2
|
||||||
|
$selisihPangkat = array();
|
||||||
|
$selisihPangkatInt = array_map('intval', $selisihPangkat);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($selisihInt) + 1; $i++) {
|
||||||
|
$selisihPangkatInt[$i] = pow($selisihInt[$i], 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
//abs((at-ft)/at)*100
|
||||||
|
$selisihSeratus = array();
|
||||||
|
$selisihSeratusInt = array_map('intval', $selisihSeratus);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($selisihInt) + 1; $i++) {
|
||||||
|
$selisihSeratusInt[$i] = abs($selisihInt[$i] / $aktualInt[$i]);
|
||||||
|
}
|
||||||
|
|
||||||
|
$jumlah = count(array_slice($aktualInt, 1));
|
||||||
|
$MAD = array_sum(array_map("abs", $selisihInt));
|
||||||
|
$MSE = array_sum($selisihPangkatInt);
|
||||||
|
$MAPE = round(array_sum($selisihSeratusInt), 3);
|
||||||
|
|
||||||
|
// echo "<div class='' hidden>";
|
||||||
|
// $hasilMSE = round($MSE / ($jumlah - 1), 3);
|
||||||
|
// $hasilMSE = ($jumlah - 1) <= 0 ? round(0, 3) : round($MSE / ($jumlah - 1), 3);
|
||||||
|
$jmlMSECast = ($jumlah - 1) == 0 ? 1 : ($jumlah - 1);
|
||||||
|
$jumlah = $jumlah == 0 ? 1 : $jumlah;
|
||||||
|
|
||||||
|
$hasilMAD = round($MAD / $jumlah, 3);
|
||||||
|
$hasilMSE = round($MSE / $jmlMSECast, 3);
|
||||||
|
$hasilMAPE = round($MAPE / $jumlah * 100, 3);
|
||||||
|
$hasilKeseluruhan = $hasilMAD + $hasilMSE + $hasilMAPE;
|
||||||
|
$ratarataKesalahan = round($hasilKeseluruhan / 3, 3);
|
||||||
|
// echo "</div>";
|
||||||
|
|
||||||
|
$data['bulan'] = $bulan;
|
||||||
|
$data['aktual'] = $aktualInt;
|
||||||
|
$data['ft'] = $ftInt;
|
||||||
|
|
||||||
|
// $data['dt']['bulan'] = $bulan;
|
||||||
|
// $data['dt']['aktual']= $aktualInt;
|
||||||
|
// $data['dt']['ft']= $ftInt;
|
||||||
|
|
||||||
|
$data['hasilMAD'] = $hasilMAD;
|
||||||
|
$data['hasilMSE'] = $hasilMSE;
|
||||||
|
$data['hasilMAPE'] = $hasilMAPE;
|
||||||
|
$data['ratarataKesalahan'] = $ratarataKesalahan;
|
||||||
|
$data['pengunjungBulan'] = end($ftInt);
|
||||||
|
|
||||||
|
// echo "<pre>";
|
||||||
|
// print_r($data['pengunjungBulan']);
|
||||||
|
// echo "</pre>";
|
||||||
|
// echo "<pre>";
|
||||||
|
// print_r($data['aktual']);
|
||||||
|
// echo "</pre>";
|
||||||
|
// echo "<pre>";
|
||||||
|
// print_r($data['ft']);
|
||||||
|
// echo "</pre>";
|
||||||
|
// echo json_encode($data['bulan']);
|
||||||
|
|
||||||
|
$this->load->view('ramalPengunjung', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function ramal_pengunjungAll($id_pelayanan)
|
||||||
|
{
|
||||||
|
$data['pelayanan'] = $this->M_pelayanan->get_detail($id_pelayanan)->row();
|
||||||
|
$awal = $this->db->query('SELECT tanggal FROM pengunjung order by tanggal asc')->row();
|
||||||
|
$akhir = $this->db->query('SELECT tanggal FROM pengunjung order by tanggal desc')->row();
|
||||||
|
|
||||||
|
$starter = 0;
|
||||||
|
$lb = 0;
|
||||||
|
|
||||||
|
$aktual = [];
|
||||||
|
$bulan = [];
|
||||||
|
|
||||||
|
for ($t = date("Y", strtotime($awal->tanggal)); $t <= date("Y", strtotime($akhir->tanggal)); $t++) {
|
||||||
|
if ($starter == 0) {
|
||||||
|
$lb = date("m", strtotime($awal->tanggal));
|
||||||
|
} else {
|
||||||
|
$lb = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
for ($b = $lb; $b <= 13; $b++) {
|
||||||
|
if ($b > 12) {
|
||||||
|
$starter = 1;
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
|
$s_bln = sprintf("%02d", $b);
|
||||||
|
$s_thn = sprintf("%02d", $t);
|
||||||
|
$detail = $this->db->query("
|
||||||
|
SELECT pl.nama as nama_pelayanan, YEAR(tanggal) as tahun, MONTH(tanggal) as bulan, COUNT(p.id) as jumlah
|
||||||
|
FROM pengunjung p
|
||||||
|
JOIN pelayanan pl ON p.id_pelayanan= pl.id
|
||||||
|
WHERE p.id_pelayanan = '$id_pelayanan'
|
||||||
|
AND MONTH(p.tanggal) = '$s_bln'
|
||||||
|
AND YEAR(p.tanggal) = '$s_thn'
|
||||||
|
GROUP BY MONTH(p.tanggal), YEAR(p.tanggal)
|
||||||
|
")->row();
|
||||||
|
|
||||||
|
if ($t == date("Y", strtotime($akhir->tanggal)) && $b > date("m", strtotime($akhir->tanggal))) {
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
|
if ($detail) {
|
||||||
|
$aktual[] = $detail->jumlah;
|
||||||
|
$bulan[] = sprintf("%02d", $b) . " - " . $t;
|
||||||
|
}
|
||||||
|
// else {
|
||||||
|
// //echo sprintf("%02d", $b)."-".$t."==".""."|"."0"."<br>";
|
||||||
|
// $aktual[]= 0;
|
||||||
|
// $bulan[] = sprintf("%02d",$b)." - ".$t;
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$alpha = array(0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9);
|
||||||
|
|
||||||
|
for ($a = 0; $a < count($alpha); $a++) {
|
||||||
|
$aktualInt = array_map('intval', $aktual);
|
||||||
|
|
||||||
|
$nilaiAwal = array_slice($aktual, 0, 1);
|
||||||
|
$nilaiAwalInt = array_map('intval', $nilaiAwal);
|
||||||
|
|
||||||
|
//SMOOTHING 1
|
||||||
|
$s1[] = isset($nilaiAwalInt[0]) ? $nilaiAwalInt[0] : 0;
|
||||||
|
$s1Int = array_map('intval', $s1);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($aktualInt) + 1; $i++) {
|
||||||
|
$s1Int[$i] = round($alpha[$a] * $aktualInt[$i - 1] + (1 - $alpha[$a]) * $s1Int[$i - 1], 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
//SMOOTHING 2
|
||||||
|
$s2[] = isset($nilaiAwalInt[0]) ? $nilaiAwalInt[0] : 0;
|
||||||
|
$s2Int = array_map('intval', $s2);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($s1Int); $i++) {
|
||||||
|
$s2Int[$i] = round($alpha[$a] * $s1Int[$i] + (1 - $alpha[$a]) * $s2Int[$i - 1], 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
//SMOOTHING 3
|
||||||
|
$s3[] = isset($nilaiAwalInt[0]) ? $nilaiAwalInt[0] : 0;
|
||||||
|
$s3Int = array_map('intval', $s2);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($s2Int); $i++) {
|
||||||
|
$s3Int[$i] = round($alpha[$a] * $s2Int[$i] + (1 - $alpha[$a]) * $s3Int[$i - 1], 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
//AT
|
||||||
|
$at = array();
|
||||||
|
$atInt = array_map('intval', $at);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($s1Int); $i++) {
|
||||||
|
$atInt[$i] = round(3 * $s1Int[$i] - 3 * $s2Int[$i] + $s3Int[$i], 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
//BT
|
||||||
|
$bt = array();
|
||||||
|
$btInt = array_map('intval', $bt);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($s1Int); $i++) {
|
||||||
|
$btInt[$i] = round($alpha[$a] / 2 * pow(1 - $alpha[$a], 2) * ((6 - 5 * $alpha[$a]) * $s1Int[$i] - (10 - 8 * $alpha[$a]) * $s2Int[$i] + (4 - 3 * $alpha[$a]) * $s3Int[$i]), 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
//CT
|
||||||
|
$ct = array();
|
||||||
|
$ctInt = array_map('intval', $ct);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($s1Int); $i++) {
|
||||||
|
$ctInt[$i] = round(pow($alpha[$a], 2) / pow(1 - $alpha[$a], 2) * ($s1Int[$i] - 2 * $s2Int[$i] + $s3Int[$i]), 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
//FT+M
|
||||||
|
$ft = array();
|
||||||
|
$ftInt = array_map('intval', $ft);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($atInt) + 1; $i++) {
|
||||||
|
$ftInt[$i] = round($atInt[$i] + $btInt[$i] * 1 + 1 / 2 * $ctInt[$i] * pow(1, 2), 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
//at-ft
|
||||||
|
$selisih = array();
|
||||||
|
$selisihInt = array_map('intval', $selisih);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($aktualInt); $i++) {
|
||||||
|
$selisihInt[$i] = $aktualInt[$i] - $ftInt[$i];
|
||||||
|
}
|
||||||
|
|
||||||
|
//(at-ft)2
|
||||||
|
$selisihPangkat = array();
|
||||||
|
$selisihPangkatInt = array_map('intval', $selisihPangkat);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($selisihInt) + 1; $i++) {
|
||||||
|
$selisihPangkatInt[$i] = pow($selisihInt[$i], 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
//abs((at-ft)/at)*100
|
||||||
|
$selisihSeratus = array();
|
||||||
|
$selisihSeratusInt = array_map('intval', $selisihSeratus);
|
||||||
|
|
||||||
|
for ($i = 1; $i < count($selisihInt) + 1; $i++) {
|
||||||
|
$selisihSeratusInt[$i] = abs($selisihInt[$i] / $aktualInt[$i]);
|
||||||
|
}
|
||||||
|
|
||||||
|
$jumlah = count(array_slice($aktualInt, 1));
|
||||||
|
$MAD = array_sum(array_map("abs", $selisihInt));
|
||||||
|
$MSE = array_sum($selisihPangkatInt);
|
||||||
|
$MAPE = round(array_sum($selisihSeratusInt), 3);
|
||||||
|
|
||||||
|
// echo "<div class='' hidden>";
|
||||||
|
$hasilFtInt[$a] = end($ftInt);
|
||||||
|
|
||||||
|
$jmlMSECast = ($jumlah - 1) == 0 ? 1 : ($jumlah - 1);
|
||||||
|
$jumlah = $jumlah == 0 ? 1 : $jumlah;
|
||||||
|
// $jmlMSECast = ($jumlah - 1);
|
||||||
|
|
||||||
|
$hasilMAD[$a] = round($MAD / $jumlah, 3);
|
||||||
|
$hasilMSE[$a] = round($MSE / $jmlMSECast, 3);
|
||||||
|
$hasilMAPE[$a] = round($MAPE / $jumlah * 100, 3);
|
||||||
|
$hasilKeseluruhan = $hasilMAD[$a] + $hasilMSE[$a] + $hasilMAPE[$a];
|
||||||
|
$ratarataKesalahan[$a] = round($hasilKeseluruhan / 3, 3);
|
||||||
|
// echo "</div>";
|
||||||
|
}
|
||||||
|
|
||||||
|
$data['bulan'] = $bulan;
|
||||||
|
$data['aktual'] = $aktualInt;
|
||||||
|
$data['ft'] = $ftInt;
|
||||||
|
|
||||||
|
// $data['dt']['bulan'] = $bulan;
|
||||||
|
// $data['dt']['aktual']= $aktualInt;
|
||||||
|
// $data['dt']['ft']= $ftInt;
|
||||||
|
$data['alpha'] = $alpha;
|
||||||
|
$data['hasilFtint'] = $hasilFtInt;
|
||||||
|
$data['hasilMAD'] = $hasilMAD;
|
||||||
|
$data['hasilMSE'] = $hasilMSE;
|
||||||
|
$data['hasilMAPE'] = $hasilMAPE;
|
||||||
|
$data['ratarataKesalahan'] = $ratarataKesalahan;
|
||||||
|
$data['pengunjungBulan'] = end($ftInt);
|
||||||
|
|
||||||
|
// echo "<pre>";
|
||||||
|
// print_r($data['pengunjungBulan']);
|
||||||
|
// echo "</pre>";
|
||||||
|
// echo "<pre>";
|
||||||
|
// print_r($data['aktual']);
|
||||||
|
// echo "</pre>";
|
||||||
|
// echo "<pre>";
|
||||||
|
// print_r($data['ft']);
|
||||||
|
// echo "</pre>";
|
||||||
|
// echo json_encode($data['bulan']);
|
||||||
|
|
||||||
|
$this->load->view('ramalPengunjungAll', $data);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
class Welcome extends CI_Controller {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Index Page for this controller.
|
||||||
|
*
|
||||||
|
* Maps to the following URL
|
||||||
|
* http://example.com/index.php/welcome
|
||||||
|
* - or -
|
||||||
|
* http://example.com/index.php/welcome/index
|
||||||
|
* - or -
|
||||||
|
* Since this controller is set as the default controller in
|
||||||
|
* config/routes.php, it's displayed at http://example.com/
|
||||||
|
*
|
||||||
|
* So any other public methods not prefixed with an underscore will
|
||||||
|
* map to /index.php/welcome/<method_name>
|
||||||
|
* @see https://codeigniter.com/user_guide/general/urls.html
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$this->load->view('welcome_message');
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,168 @@
|
||||||
|
<?php
|
||||||
|
function json_response($payload)
|
||||||
|
{
|
||||||
|
header('Content-Type: application/json; charset=utf-8');
|
||||||
|
return json_encode($payload);
|
||||||
|
}
|
||||||
|
function get_hari($hari)
|
||||||
|
{
|
||||||
|
switch ($hari) {
|
||||||
|
case 'Sun':
|
||||||
|
$hari_ini = "Minggu";
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'Mon':
|
||||||
|
$hari_ini = "Senin";
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'Tue':
|
||||||
|
$hari_ini = "Selasa";
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'Wed':
|
||||||
|
$hari_ini = "Rabu";
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'Thu':
|
||||||
|
$hari_ini = "Kamis";
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'Fri':
|
||||||
|
$hari_ini = "Jumat";
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'Sat':
|
||||||
|
$hari_ini = "Sabtu";
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
$hari_ini = "Tidak di ketahui";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return $hari_ini;
|
||||||
|
}
|
||||||
|
function get_bulan($bulan)
|
||||||
|
{
|
||||||
|
$array_bulan = array(
|
||||||
|
'01' => 'Januari',
|
||||||
|
'02' => 'Februari',
|
||||||
|
'03' => 'Maret',
|
||||||
|
'04' => 'April',
|
||||||
|
'05' => 'Mei',
|
||||||
|
'06' => 'Juni',
|
||||||
|
'07' => 'Juli',
|
||||||
|
'08' => 'Agustus',
|
||||||
|
'09' => 'September',
|
||||||
|
'10' => 'Oktober',
|
||||||
|
'11' => 'November',
|
||||||
|
'12' => 'Desember'
|
||||||
|
);
|
||||||
|
$bulan_ini = $array_bulan[$bulan];
|
||||||
|
return $bulan_ini;
|
||||||
|
}
|
||||||
|
function generate_tanggal_indonesia($tgl)
|
||||||
|
{
|
||||||
|
$array_bulan = array('01' => 'Januari', '02' => 'Februari', '03' => 'Maret', '04' => 'April', '05' => 'Mei', '06' => 'Juni', '07' => 'Juli', '08' => 'Agustus', '09' => 'September', '10' => 'Oktober', '11' => 'November', '12' => 'Desember');
|
||||||
|
$waktu_db = strtotime($tgl);
|
||||||
|
$hari = date('d', $waktu_db);
|
||||||
|
$bulan = $array_bulan[date('m', $waktu_db)];
|
||||||
|
$tahun = date('Y', $waktu_db);
|
||||||
|
return $hari . ' ' . $bulan . ' ' . $tahun;
|
||||||
|
}
|
||||||
|
function tgl_indo_dan_jam($tanggal)
|
||||||
|
{
|
||||||
|
$date = strtotime($tanggal);
|
||||||
|
$tanggal = date('Y-m-d', $date);
|
||||||
|
$bulan = array(
|
||||||
|
1 => 'Januari',
|
||||||
|
'Februari',
|
||||||
|
'Maret',
|
||||||
|
'April',
|
||||||
|
'Mei',
|
||||||
|
'Juni',
|
||||||
|
'Juli',
|
||||||
|
'Agustus',
|
||||||
|
'September',
|
||||||
|
'Oktober',
|
||||||
|
'November',
|
||||||
|
'Desember'
|
||||||
|
);
|
||||||
|
$pecahkan = explode('-', $tanggal);
|
||||||
|
return $pecahkan[2] . ' ' . $bulan[(int)$pecahkan[1]] . ' ' . $pecahkan[0];
|
||||||
|
}
|
||||||
|
function kelamin($jenkel)
|
||||||
|
{
|
||||||
|
if ($jenkel == 'L') {
|
||||||
|
echo "Laki - Laki";
|
||||||
|
} elseif ($jenkel == 'P') {
|
||||||
|
echo "Perempuan";
|
||||||
|
} else {
|
||||||
|
echo "-";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function tgl_indo($tanggal)
|
||||||
|
{
|
||||||
|
$bulan = array(
|
||||||
|
1 => 'Januari',
|
||||||
|
'Februari',
|
||||||
|
'Maret',
|
||||||
|
'April',
|
||||||
|
'Mei',
|
||||||
|
'Juni',
|
||||||
|
'Juli',
|
||||||
|
'Agustus',
|
||||||
|
'September',
|
||||||
|
'Oktober',
|
||||||
|
'November',
|
||||||
|
'Desember'
|
||||||
|
);
|
||||||
|
$pecahkan = explode('-', $tanggal);
|
||||||
|
return $pecahkan[2] . ' ' . $bulan[(int)$pecahkan[1]] . ' ' . $pecahkan[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
function format_tgl_indo($tanggal)
|
||||||
|
{
|
||||||
|
$bulan = array(
|
||||||
|
1 => '01',
|
||||||
|
'02',
|
||||||
|
'03',
|
||||||
|
'04',
|
||||||
|
'05',
|
||||||
|
'06',
|
||||||
|
'07',
|
||||||
|
'08',
|
||||||
|
'09',
|
||||||
|
'10',
|
||||||
|
'11',
|
||||||
|
'12'
|
||||||
|
);
|
||||||
|
$pecahkan = explode('-', $tanggal);
|
||||||
|
return $pecahkan[2] . '-' . $bulan[(int)$pecahkan[1]] . '-' . $pecahkan[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
function rupiah($angka, $prefix = "Rp ")
|
||||||
|
{
|
||||||
|
$hasil_rupiah = $prefix . number_format($angka, 0, ',', '.');
|
||||||
|
return $hasil_rupiah;
|
||||||
|
}
|
||||||
|
|
||||||
|
function format_number($angka)
|
||||||
|
{
|
||||||
|
if ($angka < 0) {
|
||||||
|
$hasil = '(' . number_format(abs($angka), 0, ',', '.') . ')';
|
||||||
|
} else {
|
||||||
|
$hasil = number_format($angka, 0, ',', '.');
|
||||||
|
}
|
||||||
|
return $hasil;
|
||||||
|
}
|
||||||
|
|
||||||
|
function format_date($date, $format = "d-m-Y")
|
||||||
|
{
|
||||||
|
if ($date == "") {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
$time = strtotime($date);
|
||||||
|
return date($format, $time);
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?php
|
||||||
|
class M_dashboard extends CI_Model
|
||||||
|
{
|
||||||
|
function total_pengunjung($tgl = "", $bulan = "", $tahun = "")
|
||||||
|
{
|
||||||
|
$q = "SELECT COUNT(id) jml FROM pengunjung WHERE id IS NOT NULL ";
|
||||||
|
if ($tgl != "") {
|
||||||
|
$q .= " AND tanggal='$tgl' ";
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($bulan != "" && $tahun != "") {
|
||||||
|
$q .= " AND MONTH(tanggal)='$bulan' AND YEAR(tanggal)='$tahun' ";
|
||||||
|
}
|
||||||
|
|
||||||
|
$query = $this->db->query($q);
|
||||||
|
return $query;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,41 @@
|
||||||
|
<?php
|
||||||
|
class M_jenis_pelayanan extends CI_Model
|
||||||
|
{
|
||||||
|
function list_data()
|
||||||
|
{
|
||||||
|
$this->db->select('id, nama, created_at, updated_at');
|
||||||
|
$this->db->from('jenis_pelayanan');
|
||||||
|
$this->db->order_by("created_at", "desc");
|
||||||
|
return $this->db->get();
|
||||||
|
}
|
||||||
|
|
||||||
|
function get_all()
|
||||||
|
{
|
||||||
|
$this->db->select('id, nama');
|
||||||
|
$this->db->from('jenis_pelayanan');
|
||||||
|
$this->db->order_by("nama", "asc");
|
||||||
|
return $this->db->get();
|
||||||
|
}
|
||||||
|
|
||||||
|
function insert($data, $table)
|
||||||
|
{
|
||||||
|
$this->db->insert($table, $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
function delete($where, $table)
|
||||||
|
{
|
||||||
|
$this->db->where($where);
|
||||||
|
$this->db->delete($table);
|
||||||
|
}
|
||||||
|
|
||||||
|
function edit($where, $table)
|
||||||
|
{
|
||||||
|
return $this->db->get_where($table, $where);
|
||||||
|
}
|
||||||
|
|
||||||
|
function update($where, $data, $table)
|
||||||
|
{
|
||||||
|
$this->db->where($where);
|
||||||
|
$this->db->update($table, $data);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,41 @@
|
||||||
|
<?php
|
||||||
|
class M_kategori_pasien extends CI_Model
|
||||||
|
{
|
||||||
|
function list_data()
|
||||||
|
{
|
||||||
|
$this->db->select('id, nama, created_at, updated_at');
|
||||||
|
$this->db->from('kategori_pasien');
|
||||||
|
$this->db->order_by("created_at", "desc");
|
||||||
|
return $this->db->get();
|
||||||
|
}
|
||||||
|
|
||||||
|
function get_all()
|
||||||
|
{
|
||||||
|
$this->db->select('id, nama');
|
||||||
|
$this->db->from('kategori_pasien');
|
||||||
|
$this->db->order_by("nama", "asc");
|
||||||
|
return $this->db->get();
|
||||||
|
}
|
||||||
|
|
||||||
|
function insert($data, $table)
|
||||||
|
{
|
||||||
|
$this->db->insert($table, $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
function delete($where, $table)
|
||||||
|
{
|
||||||
|
$this->db->where($where);
|
||||||
|
$this->db->delete($table);
|
||||||
|
}
|
||||||
|
|
||||||
|
function edit($where, $table)
|
||||||
|
{
|
||||||
|
return $this->db->get_where($table, $where);
|
||||||
|
}
|
||||||
|
|
||||||
|
function update($where, $data, $table)
|
||||||
|
{
|
||||||
|
$this->db->where($where);
|
||||||
|
$this->db->update($table, $data);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?php
|
||||||
|
class M_login extends CI_Model{
|
||||||
|
function cek_login($table,$where){
|
||||||
|
return $this->db->get_where($table,$where);
|
||||||
|
}
|
||||||
|
|
||||||
|
function input_data($data,$table){
|
||||||
|
$this->db->insert($table,$data);
|
||||||
|
}
|
||||||
|
function tampil_profil($where,$table){
|
||||||
|
return $this->db->get_where($table,$where);
|
||||||
|
}
|
||||||
|
|
||||||
|
function update_data($where,$data,$table){
|
||||||
|
$this->db->where($where);
|
||||||
|
$this->db->update($table,$data);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
|
@ -0,0 +1,51 @@
|
||||||
|
<?php
|
||||||
|
class M_pasien extends CI_Model
|
||||||
|
{
|
||||||
|
function list_data($id_kategori="")
|
||||||
|
{
|
||||||
|
$q = "SELECT p.id, p.nama, p.tempat_lahir, p.tgl_lahir, p.jenkel, p.no_telp, p.alamat, p.ortu, p.id_kategori_pasien,
|
||||||
|
p.created_at, p.updated_at, k.nama kategori_pasien
|
||||||
|
FROM pasien p
|
||||||
|
LEFT JOIN kategori_pasien k ON k.id = p.id_kategori_pasien
|
||||||
|
WHERE p.id is not null
|
||||||
|
";
|
||||||
|
|
||||||
|
if ($id_kategori!="") {
|
||||||
|
$q .= " AND p.id_kategori_pasien = '$id_kategori' ";
|
||||||
|
}
|
||||||
|
$q .= "ORDER BY p.created_at DESC ";
|
||||||
|
|
||||||
|
$query= $this->db->query($q);
|
||||||
|
return $query;
|
||||||
|
}
|
||||||
|
|
||||||
|
function get_all()
|
||||||
|
{
|
||||||
|
$this->db->select('id, nama');
|
||||||
|
$this->db->from('pasien');
|
||||||
|
$this->db->order_by("nama", "asc");
|
||||||
|
return $this->db->get();
|
||||||
|
}
|
||||||
|
|
||||||
|
function insert($data, $table)
|
||||||
|
{
|
||||||
|
$this->db->insert($table, $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
function delete($where, $table)
|
||||||
|
{
|
||||||
|
$this->db->where($where);
|
||||||
|
$this->db->delete($table);
|
||||||
|
}
|
||||||
|
|
||||||
|
function edit($where, $table)
|
||||||
|
{
|
||||||
|
return $this->db->get_where($table, $where);
|
||||||
|
}
|
||||||
|
|
||||||
|
function update($where, $data, $table)
|
||||||
|
{
|
||||||
|
$this->db->where($where);
|
||||||
|
$this->db->update($table, $data);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,58 @@
|
||||||
|
<?php
|
||||||
|
class M_pelayanan extends CI_Model
|
||||||
|
{
|
||||||
|
function list_data($id_jenis="")
|
||||||
|
{
|
||||||
|
$q = "SELECT p.id, p.nama, p.id_jenis_pelayanan, jp.nama nama_jenis_pelayanan, p.created_at, p.updated_at FROM pelayanan p
|
||||||
|
LEFT JOIN jenis_pelayanan jp ON p.id_jenis_pelayanan = jp.id
|
||||||
|
WHERE p.id is not null
|
||||||
|
";
|
||||||
|
if ($id_jenis!="") {
|
||||||
|
$q .= " AND p.id_jenis_pelayanan = '$id_jenis' ";
|
||||||
|
}
|
||||||
|
$q .= " ORDER BY p.created_at DESC";
|
||||||
|
|
||||||
|
$query= $this->db->query($q);
|
||||||
|
return $query;
|
||||||
|
}
|
||||||
|
|
||||||
|
function get_all()
|
||||||
|
{
|
||||||
|
$this->db->select('id, nama');
|
||||||
|
$this->db->from('pelayanan');
|
||||||
|
$this->db->order_by("nama", "asc");
|
||||||
|
return $this->db->get();
|
||||||
|
}
|
||||||
|
|
||||||
|
function get_detail($id){
|
||||||
|
$query= $this->db->get_where('pelayanan', array('id' => $id));
|
||||||
|
return $query;
|
||||||
|
}
|
||||||
|
|
||||||
|
function alpha(){
|
||||||
|
$query= $this->db->get_where('alpha', array('id_alpha' => 1));
|
||||||
|
return $query;
|
||||||
|
}
|
||||||
|
|
||||||
|
function insert($data, $table)
|
||||||
|
{
|
||||||
|
$this->db->insert($table, $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
function delete($where, $table)
|
||||||
|
{
|
||||||
|
$this->db->where($where);
|
||||||
|
$this->db->delete($table);
|
||||||
|
}
|
||||||
|
|
||||||
|
function edit($where, $table)
|
||||||
|
{
|
||||||
|
return $this->db->get_where($table, $where);
|
||||||
|
}
|
||||||
|
|
||||||
|
function update($where, $data, $table)
|
||||||
|
{
|
||||||
|
$this->db->where($where);
|
||||||
|
$this->db->update($table, $data);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,114 @@
|
||||||
|
<?php
|
||||||
|
class M_pengunjung extends CI_Model
|
||||||
|
{
|
||||||
|
function list_data($id_pelayanan="", $bulan="", $tahun="")
|
||||||
|
{
|
||||||
|
$q = "SELECT p.id, p.tanggal, p.id_pasien, p.id_pelayanan, p.keterangan, p.umur_bulan, p.created_at, p.updated_at,
|
||||||
|
ps.nama nama_pasien, pl.nama nama_pelayanan
|
||||||
|
FROM pengunjung p
|
||||||
|
LEFT JOIN pasien ps ON p.id_pasien = ps.id
|
||||||
|
LEFT JOIN pelayanan pl ON p.id_pelayanan = pl.id
|
||||||
|
WHERE p.id is not null
|
||||||
|
";
|
||||||
|
|
||||||
|
if ($id_pelayanan != "") {
|
||||||
|
$q .= " AND p.id_pelayanan = '$id_pelayanan' ";
|
||||||
|
}
|
||||||
|
if ($bulan!="") {
|
||||||
|
$q .= " AND MONTH(p.tanggal) = '$bulan' ";
|
||||||
|
}
|
||||||
|
if ($tahun!="") {
|
||||||
|
$q .= " AND YEAR(p.tanggal) = '$tahun' ";
|
||||||
|
}
|
||||||
|
$q .= " ORDER BY p.created_at DESC ";
|
||||||
|
|
||||||
|
$query = $this->db->query($q);
|
||||||
|
return $query;
|
||||||
|
}
|
||||||
|
|
||||||
|
function get_detail($id)
|
||||||
|
{
|
||||||
|
$query = $this->db->query("
|
||||||
|
SELECT p.id, p.tanggal, p.id_pasien, p.id_pelayanan, p.keterangan, p.umur_bulan, p.created_at, p.updated_at,
|
||||||
|
ps.nama nama_pasien, pl.nama nama_pelayanan
|
||||||
|
FROM pengunjung p
|
||||||
|
LEFT JOIN pasien ps ON p.id_pasien = ps.id
|
||||||
|
LEFT JOIN pelayanan pl ON p.id_pelayanan = pl.id
|
||||||
|
WHERE p.id='$id'
|
||||||
|
");
|
||||||
|
return $query;
|
||||||
|
}
|
||||||
|
|
||||||
|
function get_rekap_pengunjung($id_pelayanan)
|
||||||
|
{
|
||||||
|
$q = "SELECT DATE_FORMAT(tanggal, '%m-%Y') bulan, COUNT(*) jumlah FROM pengunjung
|
||||||
|
WHERE tanggal IS NOT NULL ";
|
||||||
|
if ($id_pelayanan != "") {
|
||||||
|
$q .= " AND id_pelayanan = '$id_pelayanan' ";
|
||||||
|
}
|
||||||
|
|
||||||
|
$q .= " GROUP BY DATE_FORMAT(tanggal, '%m-%Y'), YEAR(tanggal), MONTH(tanggal)
|
||||||
|
ORDER BY YEAR(tanggal), MONTH(tanggal) ";
|
||||||
|
|
||||||
|
$query = $this->db->query($q);
|
||||||
|
return $query;
|
||||||
|
}
|
||||||
|
|
||||||
|
function get_rekap_total_pengunjung()
|
||||||
|
{
|
||||||
|
$q = "SELECT bulan, COUNT(*) jumlah FROM (
|
||||||
|
SELECT DATE_FORMAT(tanggal, '%m-%Y') bulan, MONTH(tanggal) bln, YEAR(tanggal) thn, id_pasien FROM pengunjung
|
||||||
|
WHERE tanggal IS NOT NULL
|
||||||
|
GROUP BY DATE_FORMAT(tanggal, '%m-%Y'), MONTH(tanggal), YEAR(tanggal), id_pasien
|
||||||
|
)x
|
||||||
|
GROUP BY bulan
|
||||||
|
ORDER BY thn, bln ";
|
||||||
|
|
||||||
|
$query = $this->db->query($q);
|
||||||
|
return $query;
|
||||||
|
}
|
||||||
|
|
||||||
|
function tgl_kunjungan($id_pelayanan='', $order='asc')
|
||||||
|
{
|
||||||
|
$q = "SELECT tanggal FROM pengunjung ";
|
||||||
|
if ($id_pelayanan != "") {
|
||||||
|
$q .= " where id_pelayanan='$id_pelayanan' ";
|
||||||
|
}
|
||||||
|
$q .= " order by tanggal $order ";
|
||||||
|
|
||||||
|
$query = $this->db->query($q);
|
||||||
|
return $query;
|
||||||
|
}
|
||||||
|
|
||||||
|
function get_tahun()
|
||||||
|
{
|
||||||
|
$query = $this->db->query("
|
||||||
|
select YEAR(tanggal) tahun from pengunjung
|
||||||
|
group by YEAR(tanggal)
|
||||||
|
order by YEAR(tanggal) asc
|
||||||
|
");
|
||||||
|
return $query;
|
||||||
|
}
|
||||||
|
|
||||||
|
function insert($data, $table)
|
||||||
|
{
|
||||||
|
$this->db->insert($table, $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
function delete($where, $table)
|
||||||
|
{
|
||||||
|
$this->db->where($where);
|
||||||
|
$this->db->delete($table);
|
||||||
|
}
|
||||||
|
|
||||||
|
function edit($where, $table)
|
||||||
|
{
|
||||||
|
return $this->db->get_where($table, $where);
|
||||||
|
}
|
||||||
|
|
||||||
|
function update($where, $data, $table)
|
||||||
|
{
|
||||||
|
$this->db->where($where);
|
||||||
|
$this->db->update($table, $data);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,27 @@
|
||||||
|
<script src="<?php echo base_url()?>assets/js/plugin/webfont/webfont.min.js"></script>
|
||||||
|
<script>
|
||||||
|
WebFont.load({
|
||||||
|
google: {
|
||||||
|
"families": ["Lato:300,400,700,900"]
|
||||||
|
},
|
||||||
|
custom: {
|
||||||
|
"families": ["Flaticon", "Font Awesome 5 Solid", "Font Awesome 5 Regular", "Font Awesome 5 Brands",
|
||||||
|
"simple-line-icons"
|
||||||
|
],
|
||||||
|
urls: ['<?php echo base_url()?>assets/css/fonts.min.css']
|
||||||
|
},
|
||||||
|
active: function() {
|
||||||
|
sessionStorage.fonts = true;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- CSS Files -->
|
||||||
|
<link rel="stylesheet" href="<?php echo base_url()?>assets/css/bootstrap.min.css">
|
||||||
|
<link rel="stylesheet" href="<?php echo base_url()?>assets/css/atlantis.css">
|
||||||
|
<link rel="shortcut icon" href="<?php echo base_url()?>assets/img/icon.png">
|
||||||
|
<link rel="stylesheet" href="<?php echo base_url()?>assets/js/plugin/select2/select2.min.css">
|
||||||
|
<link rel="stylesheet" href="<?php echo base_url()?>assets/css/style.css">
|
||||||
|
<link rel="stylesheet" href="<?php echo base_url()?>assets/js/plugin/sweetalert2/sweetalert2.min.css">
|
|
@ -0,0 +1,10 @@
|
||||||
|
<footer class="footer">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<nav class="pull-left">
|
||||||
|
<ul class="nav">
|
||||||
|
<li class="nav-item">
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</footer>
|
|
@ -0,0 +1,60 @@
|
||||||
|
<div class="main-header">
|
||||||
|
<!-- Logo Header -->
|
||||||
|
<div class="logo-header" data-background-color="blue">
|
||||||
|
|
||||||
|
<a href="<?php echo site_url('dashboard')?>" class="logo">
|
||||||
|
<img src="<?php echo base_url()?>assets/img/logo.png" alt="navbar brand" class="navbar-brand">
|
||||||
|
</a>
|
||||||
|
<button class="navbar-toggler sidenav-toggler ml-auto" type="button" data-toggle="collapse"
|
||||||
|
data-target="collapse" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon">
|
||||||
|
<i class="icon-menu"></i>
|
||||||
|
</span>
|
||||||
|
</button>
|
||||||
|
<button class="topbar-toggler more"><i class="icon-options-vertical"></i></button>
|
||||||
|
<div class="nav-toggle">
|
||||||
|
<button class="btn btn-toggle toggle-sidebar">
|
||||||
|
<i class="icon-menu"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- End Logo Header -->
|
||||||
|
|
||||||
|
<!-- Navbar Header -->
|
||||||
|
<nav class="navbar navbar-header navbar-expand-lg" data-background-color="blue">
|
||||||
|
|
||||||
|
<div class="container-fluid">
|
||||||
|
<ul class="navbar-nav topbar-nav ml-md-auto align-items-center">
|
||||||
|
<li class="nav-item dropdown hidden-caret">
|
||||||
|
<a class="dropdown-toggle profile-pic" data-toggle="dropdown" href="#" aria-expanded="false">
|
||||||
|
<div class="avatar-sm">
|
||||||
|
<img src="<?php echo base_url()?>assets/img/profile.jpg" alt="..."
|
||||||
|
class="avatar-img rounded-circle">
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu dropdown-user animated fadeIn">
|
||||||
|
<div class="dropdown-user-scroll scrollbar-outer">
|
||||||
|
<li>
|
||||||
|
<div class="user-box">
|
||||||
|
<div class="avatar-lg"><img src="<?php echo base_url()?>assets/img/profile.jpg"
|
||||||
|
alt="image profile" class="avatar-img rounded"></div>
|
||||||
|
<div class="u-text">
|
||||||
|
<?php echo $this->session->userdata('nama'); ?>
|
||||||
|
<p class="text-muted"><?php echo $this->session->userdata('email'); ?></p>
|
||||||
|
<a href="<?= base_url('profil')?>" class="btn btn-xs btn-secondary btn-sm">View
|
||||||
|
Profile</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<div class="dropdown-divider"></div>
|
||||||
|
<a class="dropdown-item" href="<?= base_url('Auth/logout')?>">Logout</a>
|
||||||
|
</li>
|
||||||
|
</div>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
<!-- End Navbar -->
|
||||||
|
</div>
|
|
@ -0,0 +1,50 @@
|
||||||
|
<!-- Core JS Files -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url(); ?>assets/js/core/jquery.3.4.1.js" integrity="" crossorigin="anonymous"></script>
|
||||||
|
<script type='text/javascript' src="<?php echo base_url(); ?>assets/js/core/popper.min.js"></script>
|
||||||
|
<script type='text/javascript' src="<?php echo base_url(); ?>assets/js/core/bootstrap.min.js"></script>
|
||||||
|
|
||||||
|
<!-- jQuery UI -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url(); ?>assets/js/plugin/jquery-ui-1.12.1.custom/jquery-ui.min.js"></script>
|
||||||
|
<script type='text/javascript' src="<?php echo base_url(); ?>assets/js/plugin/jquery-ui-touch-punch/jquery.ui.touch-punch.min.js"></script>
|
||||||
|
|
||||||
|
<!-- jQuery Scrollbar -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url(); ?>assets/js/plugin/jquery-scrollbar/jquery.scrollbar.min.js"></script>
|
||||||
|
|
||||||
|
<!-- Chart JS -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url(); ?>assets/js/plugin/chart.js/chart.min.js"></script>
|
||||||
|
|
||||||
|
<!-- jQuery Sparkline -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url(); ?>assets/js/plugin/jquery.sparkline/jquery.sparkline.min.js"></script>
|
||||||
|
|
||||||
|
<!-- Chart Circle -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url(); ?>assets/js/plugin/chart-circle/circles.min.js"></script>
|
||||||
|
|
||||||
|
<!-- Datatables -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url(); ?>assets/js/plugin/datatables/datatables.min.js"></script>
|
||||||
|
|
||||||
|
<!-- Bootstrap Notify -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url(); ?>assets/js/plugin/bootstrap-notify/bootstrap-notify.min.js"></script>
|
||||||
|
|
||||||
|
<!-- jQuery Vector Maps -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url(); ?>assets/js/plugin/jqvmap/jquery.vmap.min.js"></script>
|
||||||
|
<script type='text/javascript' src="<?php echo base_url(); ?>assets/js/plugin/jqvmap/maps/jquery.vmap.world.js"></script>
|
||||||
|
|
||||||
|
<!-- Sweet Alert -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url(); ?>assets/js/plugin/sweetalert2/sweetalert2.all.min.js"></script>
|
||||||
|
|
||||||
|
<!-- Select 2 -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url(); ?>assets/js/plugin/select2/select2.min.js"></script>
|
||||||
|
|
||||||
|
<!-- Atlantis JS -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url(); ?>assets/js/atlantis.min.js"></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var base_url = "<?= base_url() ?>";
|
||||||
|
var site_url = "<?= site_url() ?>";
|
||||||
|
var Toast = Swal.mixin({
|
||||||
|
toast: true,
|
||||||
|
position: 'top-end',
|
||||||
|
showConfirmButton: false,
|
||||||
|
timer: 3000
|
||||||
|
});
|
||||||
|
</script>
|
|
@ -0,0 +1,35 @@
|
||||||
|
<!-- Core JS Files -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url();?>assets/js/core/popper.min.js"></script>
|
||||||
|
<script type='text/javascript' src="<?php echo base_url();?>assets/js/core/bootstrap.min.js"></script>
|
||||||
|
|
||||||
|
<!-- jQuery UI -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url();?>assets/js/plugin/jquery-ui-1.12.1.custom/jquery-ui.min.js"></script>
|
||||||
|
<script type='text/javascript' src="<?php echo base_url();?>assets/js/plugin/jquery-ui-touch-punch/jquery.ui.touch-punch.min.js"></script>
|
||||||
|
|
||||||
|
<!-- jQuery Scrollbar -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url();?>assets/js/plugin/jquery-scrollbar/jquery.scrollbar.min.js"></script>
|
||||||
|
|
||||||
|
<!-- Chart JS -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url();?>assets/js/plugin/chart.js/chart.min.js"></script>
|
||||||
|
|
||||||
|
<!-- jQuery Sparkline -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url();?>assets/js/plugin/jquery.sparkline/jquery.sparkline.min.js"></script>
|
||||||
|
|
||||||
|
<!-- Chart Circle -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url();?>assets/js/plugin/chart-circle/circles.min.js"></script>
|
||||||
|
|
||||||
|
<!-- Datatables -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url();?>assets/js/plugin/datatables/datatables.min.js"></script>
|
||||||
|
|
||||||
|
<!-- Bootstrap Notify -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url();?>assets/js/plugin/bootstrap-notify/bootstrap-notify.min.js"></script>
|
||||||
|
|
||||||
|
<!-- jQuery Vector Maps -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url();?>assets/js/plugin/jqvmap/jquery.vmap.min.js"></script>
|
||||||
|
<script type='text/javascript' src="<?php echo base_url();?>assets/js/plugin/jqvmap/maps/jquery.vmap.world.js"></script>
|
||||||
|
|
||||||
|
<!-- Sweet Alert -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url();?>assets/js/plugin/sweetalert/sweetalert.min.js"></script>
|
||||||
|
|
||||||
|
<!-- Atlantis JS -->
|
||||||
|
<script type='text/javascript' src="<?php echo base_url();?>assets/js/atlantis.min.js"></script>
|
|
@ -0,0 +1,95 @@
|
||||||
|
<div class="sidebar sidebar-style-2">
|
||||||
|
<div class="sidebar-wrapper scrollbar scrollbar-inner">
|
||||||
|
<div class="sidebar-content">
|
||||||
|
<div class="user">
|
||||||
|
<div class="avatar-sm float-left mr-2">
|
||||||
|
<img src="<?php echo base_url() ?>/assets/img/profile.jpg" alt="..." class="avatar-img rounded-circle">
|
||||||
|
</div>
|
||||||
|
<div class="info">
|
||||||
|
<a data-toggle="collapse" href="#collapseExample" aria-expanded="true">
|
||||||
|
<span>
|
||||||
|
<?php echo $this->session->userdata('nama'); ?>
|
||||||
|
<span class="user-level"><?php echo $this->session->userdata('username'); ?></span>
|
||||||
|
<span class="caret"></span>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
|
||||||
|
<div class="collapse in" id="collapseExample">
|
||||||
|
<ul class="nav">
|
||||||
|
<a href="<?= base_url('profil') ?>">
|
||||||
|
<span class="link-collapse">Edit Profile</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="<?= base_url('Auth/logout') ?>">
|
||||||
|
<span class="link-collapse">Log Out</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<ul class="nav nav-primary">
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="<?php echo site_url('dashboard') ?>" class="collapsed" aria-expanded="false">
|
||||||
|
<i class="fas fa-home"></i>
|
||||||
|
<p>Dashboard</p>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-section">
|
||||||
|
<span class="sidebar-mini-icon">
|
||||||
|
<i class="fa fa-ellipsis-h"></i>
|
||||||
|
</span>
|
||||||
|
<h4 class="text-section">KELOLA DATA</h4>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="<?php echo site_url('Pasien') ?>">
|
||||||
|
<i class="fas fa-users"></i>
|
||||||
|
<p>Pasien</p>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="<?php echo site_url('Pengunjung') ?>">
|
||||||
|
<i class="fas fa-address-card"></i>
|
||||||
|
<p>Data Pengunjung</p>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="nav-item">
|
||||||
|
<a data-toggle="collapse" href="#master-data">
|
||||||
|
<i class="fas fa-layer-group"></i>
|
||||||
|
<p>Master Data</p>
|
||||||
|
<span class="caret"></span>
|
||||||
|
</a>
|
||||||
|
<div class="collapse" id="master-data">
|
||||||
|
<ul class="nav nav-collapse" style="padding-bottom:0px !important;">
|
||||||
|
<li>
|
||||||
|
<a href="<?php echo site_url('KategoriPasien') ?>">
|
||||||
|
<span class="sub-item">Kategori Pasien</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="<?php echo site_url('JenisPelayanan') ?>">
|
||||||
|
<span class="sub-item">Jenis Pelayanan</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="<?php echo site_url('Pelayanan') ?>">
|
||||||
|
<span class="sub-item">Pelayanan</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="<?php echo site_url('Peramalan') ?>">
|
||||||
|
<i class="fas fa-chart-line"></i>
|
||||||
|
<p>Ramalan Pengunjung</p>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,183 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<title>Dashboard - Peramalan</title>
|
||||||
|
<meta content='width=device-width, initial-scale=1.0, shrink-to-fit=no' name='viewport' />
|
||||||
|
<link rel="icon" href="<?php echo base_url() ?>assets/img/icon.ico" type="image/x-icon" />
|
||||||
|
|
||||||
|
<!-- Fonts and icons -->
|
||||||
|
<?php $this->load->view('_partial/css.php') ?>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="wrapper">
|
||||||
|
<?php $this->load->view('_partial/header.php') ?>
|
||||||
|
|
||||||
|
<!-- Sidebar -->
|
||||||
|
<?php $this->load->view('_partial/sidebar') ?>
|
||||||
|
<!-- End Sidebar -->
|
||||||
|
|
||||||
|
<div class="main-panel">
|
||||||
|
<div class="content">
|
||||||
|
<div class="panel-header bg-primary-gradient">
|
||||||
|
<div class="page-inner py-5">
|
||||||
|
<div class="d-flex align-items-left align-items-md-center flex-column flex-md-row">
|
||||||
|
<div>
|
||||||
|
<h2 class="text-white pb-2 fw-bold">Dashboard</h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="page-inner mt--5">
|
||||||
|
<div class="row mt--2">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="card full-height">
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="card-title">Statistik Keseluruhan</div>
|
||||||
|
<div class="d-flex flex-wrap justify-content-around pb-2 pt-4">
|
||||||
|
<div class="px-2 pb-2 pb-md-0 text-center">
|
||||||
|
<div>
|
||||||
|
<h1 class="fw-bold mt-4 mb-0"><?= isset($total_pengunjung) ? $total_pengunjung : '0' ?></h1>
|
||||||
|
</div>
|
||||||
|
<h6 class="fw-bold mt-3 mb-0">Total Pengunjung</h6>
|
||||||
|
</div>
|
||||||
|
<div class="px-2 pb-2 pb-md-0 text-center">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<h1 class="fw-bold mt-4 mb-0"><?= isset($pengunjung_bln_ini) ? $pengunjung_bln_ini : '0' ?></h1>
|
||||||
|
</div>
|
||||||
|
<h6 class="fw-bold mt-3 mb-0">Pengunjung Bulan Ini</h6>
|
||||||
|
</div>
|
||||||
|
<div class="px-2 pb-2 pb-md-0 text-center">
|
||||||
|
<div>
|
||||||
|
<h1 class="fw-bold mt-4 mb-0"><?= isset($pengunjung_bln_lalu) ? $pengunjung_bln_lalu : '0' ?></h1>
|
||||||
|
</div>
|
||||||
|
<h6 class="fw-bold mt-3 mb-0">Pengunjung Bulan Lalu</h6>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mt--2">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="card full-height">
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="d-flex flex-wrap justify-content-around pb-2 pt-4">
|
||||||
|
|
||||||
|
<div class="px-2 pb-2 pb-md-0 text-center">
|
||||||
|
<i class="fas fa-chart-area fa-3x"></i>
|
||||||
|
<h3 class="fw-bold mt-3 mb-0">Selamat Datang di Aplikasi Peramalan
|
||||||
|
Pengunjung Posyandu Aster 90 <br>dengan Menggunakan Metode Triple
|
||||||
|
Exponential Smoothing</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php $this->load->view('_partial/footer') ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php $this->load->view('_partial/js.php') ?>
|
||||||
|
<script>
|
||||||
|
Circles.create({
|
||||||
|
id: 'circles-1',
|
||||||
|
radius: 45,
|
||||||
|
value: 60,
|
||||||
|
maxValue: 100,
|
||||||
|
width: 7,
|
||||||
|
text: 5,
|
||||||
|
colors: ['#f1f1f1', '#FF9E27'],
|
||||||
|
duration: 400,
|
||||||
|
wrpClass: 'circles-wrp',
|
||||||
|
textClass: 'circles-text',
|
||||||
|
styleWrapper: true,
|
||||||
|
styleText: true
|
||||||
|
})
|
||||||
|
|
||||||
|
Circles.create({
|
||||||
|
id: 'circles-2',
|
||||||
|
radius: 45,
|
||||||
|
value: 70,
|
||||||
|
maxValue: 100,
|
||||||
|
width: 7,
|
||||||
|
text: 36,
|
||||||
|
colors: ['#f1f1f1', '#2BB930'],
|
||||||
|
duration: 400,
|
||||||
|
wrpClass: 'circles-wrp',
|
||||||
|
textClass: 'circles-text',
|
||||||
|
styleWrapper: true,
|
||||||
|
styleText: true
|
||||||
|
})
|
||||||
|
|
||||||
|
Circles.create({
|
||||||
|
id: 'circles-3',
|
||||||
|
radius: 45,
|
||||||
|
value: 40,
|
||||||
|
maxValue: 100,
|
||||||
|
width: 7,
|
||||||
|
text: 12,
|
||||||
|
colors: ['#f1f1f1', '#F25961'],
|
||||||
|
duration: 400,
|
||||||
|
wrpClass: 'circles-wrp',
|
||||||
|
textClass: 'circles-text',
|
||||||
|
styleWrapper: true,
|
||||||
|
styleText: true
|
||||||
|
})
|
||||||
|
|
||||||
|
var totalIncomeChart = document.getElementById('totalIncomeChart').getContext('2d');
|
||||||
|
|
||||||
|
var mytotalIncomeChart = new Chart(totalIncomeChart, {
|
||||||
|
type: 'bar',
|
||||||
|
data: {
|
||||||
|
labels: ["S", "M", "T", "W", "T", "F", "S", "S", "M", "T"],
|
||||||
|
datasets: [{
|
||||||
|
label: "Total Income",
|
||||||
|
backgroundColor: '#ff9e27',
|
||||||
|
borderColor: 'rgb(23, 125, 255)',
|
||||||
|
data: [6, 4, 9, 5, 4, 6, 4, 3, 8, 10],
|
||||||
|
}],
|
||||||
|
},
|
||||||
|
options: {
|
||||||
|
responsive: true,
|
||||||
|
maintainAspectRatio: false,
|
||||||
|
legend: {
|
||||||
|
display: false,
|
||||||
|
},
|
||||||
|
scales: {
|
||||||
|
yAxes: [{
|
||||||
|
ticks: {
|
||||||
|
display: false //this will remove only the label
|
||||||
|
},
|
||||||
|
gridLines: {
|
||||||
|
drawBorder: false,
|
||||||
|
display: false
|
||||||
|
}
|
||||||
|
}],
|
||||||
|
xAxes: [{
|
||||||
|
gridLines: {
|
||||||
|
drawBorder: false,
|
||||||
|
display: false
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#lineChart').sparkline([105, 103, 123, 100, 95, 105, 115], {
|
||||||
|
type: 'line',
|
||||||
|
height: '70',
|
||||||
|
width: '100%',
|
||||||
|
lineWidth: '2',
|
||||||
|
lineColor: '#ffa534',
|
||||||
|
fillColor: 'rgba(255, 165, 52, .14)'
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
|
@ -0,0 +1,174 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<title>Profil - Peramalan</title>
|
||||||
|
<meta content='width=device-width, initial-scale=1.0, shrink-to-fit=no' name='viewport' />
|
||||||
|
<link rel="icon" href="<?php echo base_url()?>assets/img/icon.ico" type="image/x-icon"/>
|
||||||
|
|
||||||
|
<!-- Fonts and icons -->
|
||||||
|
<link rel="stylesheet" href="<?php echo base_url()?>assets/css/select2.min.css">
|
||||||
|
|
||||||
|
<script type='text/javascript' src="<?php echo base_url();?>assets/js/core/jquery.3.4.1.js" integrity="" crossorigin="anonymous"></script>
|
||||||
|
<script type='text/javascript' src="<?php echo base_url();?>assets/js/plugin/select2/select2.full.js"></script>
|
||||||
|
<?php $this->load->view('_partial/css.php') ?>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="wrapper">
|
||||||
|
<?php $this->load->view('_partial/header.php') ?>
|
||||||
|
|
||||||
|
<!-- Sidebar -->
|
||||||
|
<?php $this->load->view('_partial/sidebar') ?>
|
||||||
|
<!-- End Sidebar -->
|
||||||
|
|
||||||
|
<div class="main-panel">
|
||||||
|
<div class="content">
|
||||||
|
<div class="panel-header">
|
||||||
|
<div class="page-inner py-5">
|
||||||
|
<div class="page-header">
|
||||||
|
<h4 class="page-title">Edit Profil</h4>
|
||||||
|
<ul class="breadcrumbs">
|
||||||
|
<li class="nav-home">
|
||||||
|
<a href="<?php echo base_url('dashboard') ?>">
|
||||||
|
<i class="flaticon-home"></i>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">
|
||||||
|
<i class="flaticon-right-arrow"></i>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="<?php echo base_url('profil') ?>">Edit Profil</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="page-inner mt--5">
|
||||||
|
<div class="row mt--2">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header">
|
||||||
|
<div class="d-flex align-items-center">
|
||||||
|
<h4 class="card-title">Profil</h4>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
|
||||||
|
<!-- Modal -->
|
||||||
|
<!-- end Modal -->
|
||||||
|
<?php if ($this->session->flashdata('success')): ?>
|
||||||
|
<div class="alert alert-success alert-dismissible fade show" role="alert">
|
||||||
|
<?= $this->session->flashdata('success'); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
||||||
|
<?php
|
||||||
|
foreach($profil as $p):
|
||||||
|
$id_user=$p->id_user;
|
||||||
|
$nama=$p->nama;
|
||||||
|
$email=$p->email;
|
||||||
|
$nohp=$p->nohp;
|
||||||
|
$username=$p->username;
|
||||||
|
$password=$p->password;
|
||||||
|
?>
|
||||||
|
<form action="<?= base_url('profil/edit_profil')?>" method="POST">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-3">
|
||||||
|
<div class="form-group form-group-default" hidden>
|
||||||
|
<label>id</label>
|
||||||
|
<input id="id_user" name="id_user" type="text" class="form-control" placeholder="Masukkan id" value="<?php echo $id_user;?>">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>Email</label>
|
||||||
|
<input id="email" name="email" type="email" class="form-control" placeholder="Masukkan Email" value="<?php echo $email;?>">
|
||||||
|
</div>
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>Nama Lengkap</label>
|
||||||
|
<input id="nama" name="nama" type="text" class="form-control" placeholder="Masukkan Nama Lengkap" value="<?php echo $nama;?>">
|
||||||
|
</div>
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>No. Hp</label>
|
||||||
|
<input id="nohp" name="nohp" type="number" class="form-control" placeholder="Masukkan Nomer HP" value="<?php echo $nohp;?>">
|
||||||
|
</div>
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>username</label>
|
||||||
|
<input id="username" name="username" type="text" class="form-control" placeholder="Masukkan username" value="<?php echo $username;?>">
|
||||||
|
</div>
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>password</label>
|
||||||
|
<input id="password" name="password" type="password" class="form-control" placeholder="Kosongi, Jika password tidak ingin diganti.">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<button type="submit" id="addRowButton" class="btn btn-primary"><i class="fa fa-edit"></i> Edit Profil</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<?php endforeach;?>
|
||||||
|
|
||||||
|
<!-- <div class="table-responsive">
|
||||||
|
<table id="add-row" class="display table table-striped table-hover" >
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Tanggal</th>
|
||||||
|
<th>Nama Produk</th>
|
||||||
|
<th>Jumlah</th>
|
||||||
|
<th style="width: 10%">Action</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<th>Tanggal</th>
|
||||||
|
<th>Nama Produk</th>
|
||||||
|
<th>Jumlah</th>
|
||||||
|
<th style="width: 10%">Action</th>
|
||||||
|
</tr>
|
||||||
|
</tfoot>
|
||||||
|
<tbody >
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div> -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php $this->load->view('_partial/footer') ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Custom template | don't include it in your project! -->
|
||||||
|
<!-- End Custom template -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php $this->load->view('_partial/jsNoQuery') ?>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
// Add Row
|
||||||
|
$('#add-row').DataTable({
|
||||||
|
"pageLength": 10,
|
||||||
|
});
|
||||||
|
|
||||||
|
//Select 2
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('#js-example-basic-single').select2({width: 'resolve'});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Atlantis DEMO methods, don't include it in your project! -->
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
echo "\nERROR: ",
|
||||||
|
$heading,
|
||||||
|
"\n\n",
|
||||||
|
$message,
|
||||||
|
"\n\n";
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
echo "\nDatabase error: ",
|
||||||
|
$heading,
|
||||||
|
"\n\n",
|
||||||
|
$message,
|
||||||
|
"\n\n";
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
An uncaught Exception was encountered
|
||||||
|
|
||||||
|
Type: <?php echo get_class($exception), "\n"; ?>
|
||||||
|
Message: <?php echo $message, "\n"; ?>
|
||||||
|
Filename: <?php echo $exception->getFile(), "\n"; ?>
|
||||||
|
Line Number: <?php echo $exception->getLine(); ?>
|
||||||
|
|
||||||
|
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
|
||||||
|
|
||||||
|
Backtrace:
|
||||||
|
<?php foreach ($exception->getTrace() as $error): ?>
|
||||||
|
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
|
||||||
|
File: <?php echo $error['file'], "\n"; ?>
|
||||||
|
Line: <?php echo $error['line'], "\n"; ?>
|
||||||
|
Function: <?php echo $error['function'], "\n\n"; ?>
|
||||||
|
<?php endif ?>
|
||||||
|
<?php endforeach ?>
|
||||||
|
|
||||||
|
<?php endif ?>
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
echo "\nERROR: ",
|
||||||
|
$heading,
|
||||||
|
"\n\n",
|
||||||
|
$message,
|
||||||
|
"\n\n";
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
|
||||||
|
|
||||||
|
A PHP Error was encountered
|
||||||
|
|
||||||
|
Severity: <?php echo $severity, "\n"; ?>
|
||||||
|
Message: <?php echo $message, "\n"; ?>
|
||||||
|
Filename: <?php echo $filepath, "\n"; ?>
|
||||||
|
Line Number: <?php echo $line; ?>
|
||||||
|
|
||||||
|
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
|
||||||
|
|
||||||
|
Backtrace:
|
||||||
|
<?php foreach (debug_backtrace() as $error): ?>
|
||||||
|
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
|
||||||
|
File: <?php echo $error['file'], "\n"; ?>
|
||||||
|
Line: <?php echo $error['line'], "\n"; ?>
|
||||||
|
Function: <?php echo $error['function'], "\n\n"; ?>
|
||||||
|
<?php endif ?>
|
||||||
|
<?php endforeach ?>
|
||||||
|
|
||||||
|
<?php endif ?>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,64 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
?><!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>404 Page Not Found</title>
|
||||||
|
<style type="text/css">
|
||||||
|
|
||||||
|
::selection { background-color: #E13300; color: white; }
|
||||||
|
::-moz-selection { background-color: #E13300; color: white; }
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #fff;
|
||||||
|
margin: 40px;
|
||||||
|
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
||||||
|
color: #4F5155;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #003399;
|
||||||
|
background-color: transparent;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: #444;
|
||||||
|
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 {
|
||||||
|
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||||
|
font-size: 12px;
|
||||||
|
background-color: #f9f9f9;
|
||||||
|
border: 1px solid #D0D0D0;
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 12px 15px 12px 15px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="container">
|
||||||
|
<h1><?php echo $heading; ?></h1>
|
||||||
|
<?php echo $message; ?>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,64 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
?><!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Database Error</title>
|
||||||
|
<style type="text/css">
|
||||||
|
|
||||||
|
::selection { background-color: #E13300; color: white; }
|
||||||
|
::-moz-selection { background-color: #E13300; color: white; }
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #fff;
|
||||||
|
margin: 40px;
|
||||||
|
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
||||||
|
color: #4F5155;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #003399;
|
||||||
|
background-color: transparent;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: #444;
|
||||||
|
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 {
|
||||||
|
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||||
|
font-size: 12px;
|
||||||
|
background-color: #f9f9f9;
|
||||||
|
border: 1px solid #D0D0D0;
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 12px 15px 12px 15px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="container">
|
||||||
|
<h1><?php echo $heading; ?></h1>
|
||||||
|
<?php echo $message; ?>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,32 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>An uncaught Exception was encountered</h4>
|
||||||
|
|
||||||
|
<p>Type: <?php echo get_class($exception); ?></p>
|
||||||
|
<p>Message: <?php echo $message; ?></p>
|
||||||
|
<p>Filename: <?php echo $exception->getFile(); ?></p>
|
||||||
|
<p>Line Number: <?php echo $exception->getLine(); ?></p>
|
||||||
|
|
||||||
|
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
|
||||||
|
|
||||||
|
<p>Backtrace:</p>
|
||||||
|
<?php foreach ($exception->getTrace() as $error): ?>
|
||||||
|
|
||||||
|
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
|
||||||
|
|
||||||
|
<p style="margin-left:10px">
|
||||||
|
File: <?php echo $error['file']; ?><br />
|
||||||
|
Line: <?php echo $error['line']; ?><br />
|
||||||
|
Function: <?php echo $error['function']; ?>
|
||||||
|
</p>
|
||||||
|
<?php endif ?>
|
||||||
|
|
||||||
|
<?php endforeach ?>
|
||||||
|
|
||||||
|
<?php endif ?>
|
||||||
|
|
||||||
|
</div>
|
|
@ -0,0 +1,64 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
?><!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Error</title>
|
||||||
|
<style type="text/css">
|
||||||
|
|
||||||
|
::selection { background-color: #E13300; color: white; }
|
||||||
|
::-moz-selection { background-color: #E13300; color: white; }
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #fff;
|
||||||
|
margin: 40px;
|
||||||
|
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
||||||
|
color: #4F5155;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #003399;
|
||||||
|
background-color: transparent;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: #444;
|
||||||
|
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 {
|
||||||
|
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||||
|
font-size: 12px;
|
||||||
|
background-color: #f9f9f9;
|
||||||
|
border: 1px solid #D0D0D0;
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 12px 15px 12px 15px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="container">
|
||||||
|
<h1><?php echo $heading; ?></h1>
|
||||||
|
<?php echo $message; ?>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,33 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||||
|
|
||||||
|
<h4>A PHP Error was encountered</h4>
|
||||||
|
|
||||||
|
<p>Severity: <?php echo $severity; ?></p>
|
||||||
|
<p>Message: <?php echo $message; ?></p>
|
||||||
|
<p>Filename: <?php echo $filepath; ?></p>
|
||||||
|
<p>Line Number: <?php echo $line; ?></p>
|
||||||
|
|
||||||
|
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
|
||||||
|
|
||||||
|
<p>Backtrace:</p>
|
||||||
|
<?php foreach (debug_backtrace() as $error): ?>
|
||||||
|
|
||||||
|
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
|
||||||
|
|
||||||
|
<p style="margin-left:10px">
|
||||||
|
File: <?php echo $error['file'] ?><br />
|
||||||
|
Line: <?php echo $error['line'] ?><br />
|
||||||
|
Function: <?php echo $error['function'] ?>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<?php endif ?>
|
||||||
|
|
||||||
|
<?php endforeach ?>
|
||||||
|
|
||||||
|
<?php endif ?>
|
||||||
|
|
||||||
|
</div>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>403 Forbidden</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<p>Directory access is forbidden.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,239 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<title>Jenis Pelayanan - Peramalan</title>
|
||||||
|
<meta content='width=device-width, initial-scale=1.0, shrink-to-fit=no' name='viewport' />
|
||||||
|
<link rel="icon" href="<?php echo base_url() ?>assets/img/icon.ico" type="image/x-icon" />
|
||||||
|
|
||||||
|
<!-- Fonts and icons -->
|
||||||
|
<?php $this->load->view('_partial/css.php') ?>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="wrapper">
|
||||||
|
<?php $this->load->view('_partial/header.php') ?>
|
||||||
|
|
||||||
|
<!-- Sidebar -->
|
||||||
|
<?php $this->load->view('_partial/sidebar') ?>
|
||||||
|
<!-- End Sidebar -->
|
||||||
|
|
||||||
|
<div class="main-panel">
|
||||||
|
<div class="content">
|
||||||
|
<div class="panel-header">
|
||||||
|
<div class="page-inner py-5">
|
||||||
|
<div class="page-header">
|
||||||
|
<h4 class="page-title">Jenis Pelayanan</h4>
|
||||||
|
<ul class="breadcrumbs">
|
||||||
|
<li class="nav-home">
|
||||||
|
<a href="<?php echo base_url('dashboard') ?>">
|
||||||
|
<i class="flaticon-home"></i>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">
|
||||||
|
<i class="flaticon-right-arrow"></i>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="<?php echo base_url('JenisPelayanan') ?>">Jenis Pelayanan</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="page-inner mt--5">
|
||||||
|
<div class="row mt--2">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header">
|
||||||
|
<div class="d-flex align-items-center">
|
||||||
|
<h4 class="card-title">Data Jenis Pelayanan</h4>
|
||||||
|
<?php if (validation_errors()) { ?>
|
||||||
|
<div class="alert alert-warning alert-dismissible fade show" role="alert">
|
||||||
|
<strong>Perhatian!!</strong> <?php echo validation_errors(); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<button class="btn btn-success btn-round ml-auto" id="btn-add">
|
||||||
|
<i class="fa fa-plus"></i>
|
||||||
|
Tambah Data
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<?php if ($this->session->flashdata('success')) : ?>
|
||||||
|
<div class="alert alert-success alert-dismissible fade show" role="alert">
|
||||||
|
<?= $this->session->flashdata('success'); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if ($this->session->flashdata('hapus')) : ?>
|
||||||
|
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
||||||
|
<?= $this->session->flashdata('hapus'); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<div class="table-responsive">
|
||||||
|
<table id="data-table" class="display table table-striped table-hover">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="width: 5%;" class="text-center">No.</th>
|
||||||
|
<th>Nama</th>
|
||||||
|
<th style="width: 15%;" class="text-center">Action</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<?php
|
||||||
|
$no = 1;
|
||||||
|
foreach ($data as $row) {
|
||||||
|
?>
|
||||||
|
<tr>
|
||||||
|
<td class="text-center"><?= $no++ ?>.</td>
|
||||||
|
<td><?= $row->nama ?></td>
|
||||||
|
<td class="text-center" style="padding:0px !important;">
|
||||||
|
<a href="javascript:;" data-id="<?= $row->id ?>" data-name="<?= $row->nama ?>" title="Edit data" class="btn btn-link btn-warning btn-edit">
|
||||||
|
<i class="fa fa-edit"></i>
|
||||||
|
</a>
|
||||||
|
<a href="javascript:;" data-id="<?= $row->id ?>" data-name="<?= $row->nama ?>" title="Hapus data" class="btn btn-link btn-danger btn-hapus">
|
||||||
|
<i class="fa fa-trash"></i>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<?php } ?>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- MODAL ADD/EDIT -->
|
||||||
|
<div class="modal fade" id="form-modal" tabindex="-1" role="dialog" aria-hidden="true">
|
||||||
|
<div class="modal-dialog" role="document">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 id="modal-title">
|
||||||
|
Tambah Data
|
||||||
|
</h5>
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<form action="<?= base_url('JenisPelayanan/save') ?>" method="POST" id="formData">
|
||||||
|
<div class="modal-body">
|
||||||
|
<input type="hidden" id="id" name="id" type="text" class="form-control">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>Nama</label>
|
||||||
|
<input id="nama" name="nama" type="text" class="form-control" placeholder="Nama jenis pelayanan" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-danger" data-dismiss="modal">Batal</button>
|
||||||
|
<button type="submit" class="btn btn-primary">Simpan</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- END MODAL ADD/EDIT -->
|
||||||
|
|
||||||
|
<!-- ============ MODAL HAPUS =============== -->
|
||||||
|
<div class="modal fade" id="modal-hapus" tabindex="-1" role="dialog" aria-labelledby="largeModal" aria-hidden="true">
|
||||||
|
<div class="modal-dialog">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 class="modal-title">Hapus Jenis Pelayanan</h5>
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<form id="formDelete" class="form-horizontal" method="post" action="">
|
||||||
|
<div class="modal-body">
|
||||||
|
<p>Apakah Anda yakin menghapus data <b><span id="txt-msg"></span></b> ?</p>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button class="btn" data-dismiss="modal" aria-hidden="true">Tutup</button>
|
||||||
|
<button type="submit" class="btn btn-danger">Hapus</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- END MODAL HAPUS -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php $this->load->view('_partial/footer') ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php $this->load->view('_partial/js') ?>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
// Add Row
|
||||||
|
$('#data-table').DataTable({
|
||||||
|
"pageLength": 10,
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '.btn-edit', function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
var id = $(this).attr("data-id");
|
||||||
|
$.ajax({
|
||||||
|
url: site_url + "/JenisPelayanan/edit/" + id,
|
||||||
|
type: "GET",
|
||||||
|
dataType: "json",
|
||||||
|
data: {},
|
||||||
|
beforeSend: function() {},
|
||||||
|
success: function(result) {
|
||||||
|
$('#formData').attr('action', site_url + "/JenisPelayanan/update");
|
||||||
|
$("#modal-title").text("Edit Data");
|
||||||
|
$("#id").val(result.data.id);
|
||||||
|
$("#nama").val(result.data.nama);
|
||||||
|
$("#form-modal").modal("show");
|
||||||
|
},
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '.btn-hapus', function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
var id = $(this).attr("data-id");
|
||||||
|
$.ajax({
|
||||||
|
url: site_url + "/JenisPelayanan/edit/" + id,
|
||||||
|
type: "GET",
|
||||||
|
dataType: "json",
|
||||||
|
data: {},
|
||||||
|
beforeSend: function() {},
|
||||||
|
success: function(result) {
|
||||||
|
$('#formDelete').attr('action', site_url + "/JenisPelayanan/delete/" + id);
|
||||||
|
$("#txt-msg").text(result.data.nama);
|
||||||
|
$("#modal-hapus").modal("show");
|
||||||
|
},
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#btn-add').click(function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
$('#formData').attr('action', site_url + "/JenisPelayanan/save");
|
||||||
|
$("#modal-title").text("Tambah Data");
|
||||||
|
$("#id").val("");
|
||||||
|
$("#nama").val("");
|
||||||
|
$("#form-modal").modal("show");
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
|
@ -0,0 +1,239 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<title>Kategori Pasien - Peramalan</title>
|
||||||
|
<meta content='width=device-width, initial-scale=1.0, shrink-to-fit=no' name='viewport' />
|
||||||
|
<link rel="icon" href="<?php echo base_url() ?>assets/img/icon.ico" type="image/x-icon" />
|
||||||
|
|
||||||
|
<!-- Fonts and icons -->
|
||||||
|
<?php $this->load->view('_partial/css.php') ?>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="wrapper">
|
||||||
|
<?php $this->load->view('_partial/header.php') ?>
|
||||||
|
|
||||||
|
<!-- Sidebar -->
|
||||||
|
<?php $this->load->view('_partial/sidebar') ?>
|
||||||
|
<!-- End Sidebar -->
|
||||||
|
|
||||||
|
<div class="main-panel">
|
||||||
|
<div class="content">
|
||||||
|
<div class="panel-header">
|
||||||
|
<div class="page-inner py-5">
|
||||||
|
<div class="page-header">
|
||||||
|
<h4 class="page-title">Kategori Pasien</h4>
|
||||||
|
<ul class="breadcrumbs">
|
||||||
|
<li class="nav-home">
|
||||||
|
<a href="<?php echo base_url('dashboard') ?>">
|
||||||
|
<i class="flaticon-home"></i>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">
|
||||||
|
<i class="flaticon-right-arrow"></i>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="<?php echo base_url('KategoriPasien') ?>">Kategori Pasien</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="page-inner mt--5">
|
||||||
|
<div class="row mt--2">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header">
|
||||||
|
<div class="d-flex align-items-center">
|
||||||
|
<h4 class="card-title">Data kategori Pasien</h4>
|
||||||
|
<?php if (validation_errors()) { ?>
|
||||||
|
<div class="alert alert-warning alert-dismissible fade show" role="alert">
|
||||||
|
<strong>Perhatian!!</strong> <?php echo validation_errors(); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<button class="btn btn-success btn-round ml-auto" id="btn-add">
|
||||||
|
<i class="fa fa-plus"></i>
|
||||||
|
Tambah Data
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<?php if ($this->session->flashdata('success')) : ?>
|
||||||
|
<div class="alert alert-success alert-dismissible fade show" role="alert">
|
||||||
|
<?= $this->session->flashdata('success'); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if ($this->session->flashdata('hapus')) : ?>
|
||||||
|
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
||||||
|
<?= $this->session->flashdata('hapus'); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<div class="table-responsive">
|
||||||
|
<table id="data-table" class="display table table-striped table-hover">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="width: 5%;" class="text-center">No.</th>
|
||||||
|
<th>Nama</th>
|
||||||
|
<th style="width: 15%;" class="text-center">Action</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<?php
|
||||||
|
$no = 1;
|
||||||
|
foreach ($data as $row) {
|
||||||
|
?>
|
||||||
|
<tr>
|
||||||
|
<td class="text-center"><?= $no++ ?>.</td>
|
||||||
|
<td><?= $row->nama ?></td>
|
||||||
|
<td class="text-center" style="padding:0px !important;">
|
||||||
|
<a href="javascript:;" data-id="<?= $row->id ?>" data-name="<?= $row->nama ?>" title="Edit data" class="btn btn-link btn-warning btn-edit">
|
||||||
|
<i class="fa fa-edit"></i>
|
||||||
|
</a>
|
||||||
|
<a href="javascript:;" data-id="<?= $row->id ?>" data-name="<?= $row->nama ?>" title="Hapus data" class="btn btn-link btn-danger btn-hapus">
|
||||||
|
<i class="fa fa-trash"></i>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<?php } ?>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- MODAL ADD/EDIT -->
|
||||||
|
<div class="modal fade" id="form-modal" tabindex="-1" role="dialog" aria-hidden="true">
|
||||||
|
<div class="modal-dialog" role="document">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 id="modal-title">
|
||||||
|
Tambah Data
|
||||||
|
</h5>
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<form action="<?= base_url('JenisPelayanan/save') ?>" method="POST" id="formData">
|
||||||
|
<div class="modal-body">
|
||||||
|
<input type="hidden" id="id" name="id" type="text" class="form-control">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>Nama</label>
|
||||||
|
<input id="nama" name="nama" type="text" class="form-control" placeholder="Nama kategori pasien" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-danger" data-dismiss="modal">Batal</button>
|
||||||
|
<button type="submit" class="btn btn-primary">Simpan</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- END MODAL ADD/EDIT -->
|
||||||
|
|
||||||
|
<!-- ============ MODAL HAPUS =============== -->
|
||||||
|
<div class="modal fade" id="modal-hapus" tabindex="-1" role="dialog" aria-labelledby="largeModal" aria-hidden="true">
|
||||||
|
<div class="modal-dialog">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 class="modal-title">Hapus Kategori Pasien</h5>
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<form id="formDelete" class="form-horizontal" method="post" action="">
|
||||||
|
<div class="modal-body">
|
||||||
|
<p>Apakah Anda yakin menghapus data <b><span id="txt-msg"></span></b> ?</p>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button class="btn" data-dismiss="modal" aria-hidden="true">Tutup</button>
|
||||||
|
<button type="submit" class="btn btn-danger">Hapus</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- END MODAL HAPUS -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php $this->load->view('_partial/footer') ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php $this->load->view('_partial/js') ?>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
// Add Row
|
||||||
|
$('#data-table').DataTable({
|
||||||
|
"pageLength": 10,
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '.btn-edit', function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
var id = $(this).attr("data-id");
|
||||||
|
$.ajax({
|
||||||
|
url: site_url + "/KategoriPasien/edit/" + id,
|
||||||
|
type: "GET",
|
||||||
|
dataType: "json",
|
||||||
|
data: {},
|
||||||
|
beforeSend: function() {},
|
||||||
|
success: function(result) {
|
||||||
|
$('#formData').attr('action', site_url + "/KategoriPasien/update");
|
||||||
|
$("#modal-title").text("Edit Data");
|
||||||
|
$("#id").val(result.data.id);
|
||||||
|
$("#nama").val(result.data.nama);
|
||||||
|
$("#form-modal").modal("show");
|
||||||
|
},
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '.btn-hapus', function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
var id = $(this).attr("data-id");
|
||||||
|
$.ajax({
|
||||||
|
url: site_url + "/KategoriPasien/edit/" + id,
|
||||||
|
type: "GET",
|
||||||
|
dataType: "json",
|
||||||
|
data: {},
|
||||||
|
beforeSend: function() {},
|
||||||
|
success: function(result) {
|
||||||
|
$('#formDelete').attr('action', site_url + "/KategoriPasien/delete/" + id);
|
||||||
|
$("#txt-msg").text(result.data.nama);
|
||||||
|
$("#modal-hapus").modal("show");
|
||||||
|
},
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#btn-add').click(function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
$('#formData').attr('action', site_url + "/KategoriPasien/save");
|
||||||
|
$("#modal-title").text("Tambah Data");
|
||||||
|
$("#id").val("");
|
||||||
|
$("#nama").val("");
|
||||||
|
$("#form-modal").modal("show");
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
|
@ -0,0 +1,99 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<title>Login - Peramalan</title>
|
||||||
|
<meta content='width=device-width, initial-scale=1.0, shrink-to-fit=no' name='viewport' />
|
||||||
|
<link rel="icon" href="<?php echo base_url()?>assets/img/icon.ico" type="image/x-icon"/>
|
||||||
|
|
||||||
|
<!-- Fonts and icons -->
|
||||||
|
<?php $this->load->view('_partial/css.php') ?>
|
||||||
|
</head>
|
||||||
|
<body class="login">
|
||||||
|
<div class="wrapper wrapper-login">
|
||||||
|
<div class="container container-login animated fadeIn">
|
||||||
|
|
||||||
|
<h2 class="text-center">Sistem Peramalan</h2>
|
||||||
|
<h3 class="text-center">Posyandu Aster 90</h3>
|
||||||
|
<?php if ($this->session->flashdata('success')): ?>
|
||||||
|
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
||||||
|
<?= $this->session->flashdata('success'); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
<form class="" action="<?= base_url('Auth/aksi_login')?>" method="post">
|
||||||
|
<div class="login-form">
|
||||||
|
<div class="form-group form-floating-label">
|
||||||
|
<input id="username" name="username" type="text" class="form-control input-border-bottom" required>
|
||||||
|
<label for="username" class="placeholder">Username</label>
|
||||||
|
</div>
|
||||||
|
<div class="form-group form-floating-label">
|
||||||
|
<input id="password" name="password" type="password" class="form-control input-border-bottom" required>
|
||||||
|
<label for="password" class="placeholder">Password</label>
|
||||||
|
<div class="show-password">
|
||||||
|
<i class="icon-eye"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row form-sub m-0">
|
||||||
|
<div class="custom-control custom-checkbox">
|
||||||
|
<input type="checkbox" class="custom-control-input" id="rememberme">
|
||||||
|
<label class="custom-control-label" for="rememberme">Remember Me</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-action mb-3">
|
||||||
|
<button type="submit" class="btn btn-primary btn-rounded btn-login">Login</button>
|
||||||
|
</div>
|
||||||
|
<!-- <div class="login-account">
|
||||||
|
<span class="msg">Don't have an account yet ?</span>
|
||||||
|
<a href="#" id="show-signup" class="link">Sign Up</a>
|
||||||
|
</div> -->
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="container container-signup animated fadeIn">
|
||||||
|
<h3 class="text-center">Sign Up</h3>
|
||||||
|
<form class="" action="<?= base_url('Auth/register')?>" method="post">
|
||||||
|
<div class="login-form">
|
||||||
|
<div class="form-group form-floating-label">
|
||||||
|
<input id="fullname" name="fullname" type="text" class="form-control input-border-bottom" required>
|
||||||
|
<label for="fullname" class="placeholder">Nama Lengkap</label>
|
||||||
|
</div>
|
||||||
|
<div class="form-group form-floating-label">
|
||||||
|
<input id="email" name="email" type="email" class="form-control input-border-bottom" required>
|
||||||
|
<label for="email" class="placeholder">Email</label>
|
||||||
|
</div>
|
||||||
|
<div class="form-group form-floating-label">
|
||||||
|
<input id="nohp" name="nohp" type="number" class="form-control input-border-bottom" required>
|
||||||
|
<label for="nohp" class="placeholder">No. Hp</label>
|
||||||
|
</div>
|
||||||
|
<div class="form-group form-floating-label">
|
||||||
|
<input id="username" name="username" type="text" class="form-control input-border-bottom" required>
|
||||||
|
<label for="username" class="placeholder">username</label>
|
||||||
|
</div>
|
||||||
|
<div class="form-group form-floating-label">
|
||||||
|
<input id="passwordsignin" name="passwordsignin" type="password" class="form-control input-border-bottom" required>
|
||||||
|
<label for="passwordsignin" class="placeholder">Password</label>
|
||||||
|
<div class="show-password">
|
||||||
|
<i class="icon-eye"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row form-sub m-0">
|
||||||
|
<div class="custom-control custom-checkbox">
|
||||||
|
<input type="checkbox" class="custom-control-input" name="agree" id="agree">
|
||||||
|
<label class="custom-control-label" for="agree">I Agree the terms and conditions.</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-action">
|
||||||
|
<a href="#" id="show-signin" class="btn btn-danger btn-link btn-login mr-3">Cancel</a>
|
||||||
|
<button type="submit" class="btn btn-primary btn-rounded btn-login">Sign Up</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php $this->load->view('_partial/js.php') ?>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,337 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<title>Pasien - Peramalan</title>
|
||||||
|
<meta content='width=device-width, initial-scale=1.0, shrink-to-fit=no' name='viewport' />
|
||||||
|
<link rel="icon" href="<?php echo base_url() ?>assets/img/icon.ico" type="image/x-icon" />
|
||||||
|
|
||||||
|
<!-- Fonts and icons -->
|
||||||
|
<?php $this->load->view('_partial/css.php') ?>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="wrapper">
|
||||||
|
<?php $this->load->view('_partial/header.php') ?>
|
||||||
|
|
||||||
|
<!-- Sidebar -->
|
||||||
|
<?php $this->load->view('_partial/sidebar') ?>
|
||||||
|
<!-- End Sidebar -->
|
||||||
|
|
||||||
|
<div class="main-panel">
|
||||||
|
<div class="content">
|
||||||
|
<div class="panel-header">
|
||||||
|
<div class="page-inner py-5">
|
||||||
|
<div class="page-header">
|
||||||
|
<h4 class="page-title">Pasien</h4>
|
||||||
|
<ul class="breadcrumbs">
|
||||||
|
<li class="nav-home">
|
||||||
|
<a href="<?php echo base_url('dashboard') ?>">
|
||||||
|
<i class="flaticon-home"></i>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">
|
||||||
|
<i class="flaticon-right-arrow"></i>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="<?php echo base_url('Pasien') ?>">Pasien</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="page-inner mt--5">
|
||||||
|
<div class="row mt--2">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header">
|
||||||
|
<div class="d-flex align-items-center">
|
||||||
|
<h4 class="card-title">Data Pasien</h4>
|
||||||
|
<?php if (validation_errors()) { ?>
|
||||||
|
<div class="alert alert-warning alert-dismissible fade show" role="alert">
|
||||||
|
<strong>Perhatian!!</strong> <?php echo validation_errors(); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<button class="btn btn-success btn-round ml-auto" id="btn-add">
|
||||||
|
<i class="fa fa-plus"></i>
|
||||||
|
Tambah Data
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<?php if ($this->session->flashdata('success')) : ?>
|
||||||
|
<div class="alert alert-success alert-dismissible fade show" role="alert">
|
||||||
|
<?= $this->session->flashdata('success'); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if ($this->session->flashdata('hapus')) : ?>
|
||||||
|
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
||||||
|
<?= $this->session->flashdata('hapus'); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<div class="row mt-0 mb-3">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="form-group pt-0">
|
||||||
|
<label for="id_kategori">Kategori Pasien</label>
|
||||||
|
<select class="form-control" name="id_kategori" id="id_kategori" onchange="pageLoad()">
|
||||||
|
<option value="">All</option>
|
||||||
|
<?php foreach ($kategori_pasien as $k) { ?>
|
||||||
|
<option value="<?= $k->id ?>" <?php if (isset($_GET['id_kategori'])) {
|
||||||
|
echo ($k->id == $_GET['id_kategori']) ? ' selected' : '';
|
||||||
|
} ?>><?= $k->nama ?></option>
|
||||||
|
<?php } ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="table-responsive">
|
||||||
|
<table id="data-table" class="display table table-striped table-hover">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="width: 5%;" class="text-center">No.</th>
|
||||||
|
<th>Nama</th>
|
||||||
|
<th>Kategori</th>
|
||||||
|
<th>Orang Tua</th>
|
||||||
|
<th>Alamat</th>
|
||||||
|
<th style="width: 15%;" class="text-center">Action</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<?php
|
||||||
|
$no = 1;
|
||||||
|
foreach ($data as $row) {
|
||||||
|
?>
|
||||||
|
<tr>
|
||||||
|
<td class="text-center"><?= $no++ ?>.</td>
|
||||||
|
<td><?= $row->nama ?></td>
|
||||||
|
<td><?= $row->kategori_pasien ?></td>
|
||||||
|
<td><?= $row->ortu ?></td>
|
||||||
|
<td><?= $row->alamat ?></td>
|
||||||
|
<td class="text-center" style="padding:0px !important;">
|
||||||
|
<a href="javascript:;" data-id="<?= $row->id ?>" data-name="<?= $row->nama ?>" title="Edit data" class="btn btn-link btn-warning btn-edit">
|
||||||
|
<i class="fa fa-edit"></i>
|
||||||
|
</a>
|
||||||
|
<a href="javascript:;" data-id="<?= $row->id ?>" data-name="<?= $row->nama ?>" title="Hapus data" class="btn btn-link btn-danger btn-hapus">
|
||||||
|
<i class="fa fa-trash"></i>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<?php } ?>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- MODAL ADD/EDIT -->
|
||||||
|
<div class="modal fade" id="form-modal" tabindex="-1" role="dialog" aria-hidden="true">
|
||||||
|
<div class="modal-dialog" role="document">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 id="modal-title">
|
||||||
|
Tambah Data
|
||||||
|
</h5>
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<form action="<?= base_url('Pasien/save') ?>" method="POST" id="formData">
|
||||||
|
<div class="modal-body">
|
||||||
|
<input type="hidden" id="id" name="id" type="text" class="form-control">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>Nama</label>
|
||||||
|
<input id="nama" name="nama" type="text" class="form-control" placeholder="Nama Pasien" required>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>Tempat Lahir</label>
|
||||||
|
<input id="tempat_lahir" name="tempat_lahir" type="text" class="form-control" placeholder="Tempat Lahir" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>Tanggal Lahir</label>
|
||||||
|
<input id="tgl_lahir" name="tgl_lahir" type="date" class="form-control" placeholder="Tanggal Lahir" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label for="jenkel">Jenis Kelamin</label>
|
||||||
|
<select class="form-control" name="jenkel" id="jenkel" required>
|
||||||
|
<option value="">- Pilih Jenis Kelamin</option>
|
||||||
|
<option value="L">Laki-Laki</option>
|
||||||
|
<option value="P">Perempuan</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>No Telp</label>
|
||||||
|
<input id="no_telp" name="no_telp" type="text" class="form-control" placeholder="No Telp">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label for="id_kategori_pasien">Kategori Pasien</label>
|
||||||
|
<select class="form-control" name="id_kategori_pasien" id="id_kategori_pasien" required>
|
||||||
|
<option value="">- Pilih Kategori Pasien -</option>
|
||||||
|
<?php foreach ($kategori_pasien as $k) { ?>
|
||||||
|
<option value="<?= $k->id ?>"><?= $k->nama ?></option>
|
||||||
|
<?php } ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>Orang Tua</label>
|
||||||
|
<input id="ortu" name="ortu" type="text" class="form-control" placeholder="Orang Tua">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>Alamat</label>
|
||||||
|
<textarea id="alamat" name="alamat" class="form-control" placeholder="Alamat"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-danger" data-dismiss="modal">Batal</button>
|
||||||
|
<button type="submit" class="btn btn-primary">Simpan</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- END MODAL ADD/EDIT -->
|
||||||
|
|
||||||
|
<!-- ============ MODAL HAPUS =============== -->
|
||||||
|
<div class="modal fade" id="modal-hapus" tabindex="-1" role="dialog" aria-labelledby="largeModal" aria-hidden="true">
|
||||||
|
<div class="modal-dialog">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 class="modal-title">Hapus Pasien</h5>
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<form id="formDelete" class="form-horizontal" method="post" action="">
|
||||||
|
<div class="modal-body">
|
||||||
|
<p>Apakah Anda yakin menghapus data <b><span id="txt-msg"></span></b> ?</p>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button class="btn" data-dismiss="modal" aria-hidden="true">Tutup</button>
|
||||||
|
<button type="submit" class="btn btn-danger">Hapus</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- END MODAL HAPUS -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php $this->load->view('_partial/footer') ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php $this->load->view('_partial/js') ?>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
$('#id_kategori_pasien').select2();
|
||||||
|
$('#id_kategori').select2();
|
||||||
|
$('#jenkel').select2();
|
||||||
|
|
||||||
|
function pageLoad() {
|
||||||
|
let id_kategori = $("#id_kategori").val();
|
||||||
|
window.location.href = site_url + "Pasien?id_kategori=" + id_kategori
|
||||||
|
};
|
||||||
|
|
||||||
|
// Add Row
|
||||||
|
$('#data-table').DataTable({
|
||||||
|
"pageLength": 10,
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '.btn-edit', function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
var id = $(this).attr("data-id");
|
||||||
|
$.ajax({
|
||||||
|
url: site_url + "/Pasien/edit/" + id,
|
||||||
|
type: "GET",
|
||||||
|
dataType: "json",
|
||||||
|
data: {},
|
||||||
|
beforeSend: function() {},
|
||||||
|
success: function(result) {
|
||||||
|
$('#formData').attr('action', site_url + "/Pasien/update");
|
||||||
|
$("#modal-title").text("Edit Data");
|
||||||
|
$("#id").val(result.data.id);
|
||||||
|
$("#nama").val(result.data.nama);
|
||||||
|
$("#jenkel").val(result.data.jenkel).change();
|
||||||
|
$("#id_kategori_pasien").val(result.data.id_kategori_pasien).change();
|
||||||
|
$("#tempat_lahir").val(result.data.tempat_lahir);
|
||||||
|
$("#tgl_lahir").val(result.data.tgl_lahir);
|
||||||
|
$("#no_telp").val(result.data.no_telp);
|
||||||
|
$("#ortu").val(result.data.ortu);
|
||||||
|
$("#alamat").val(result.data.alamat);
|
||||||
|
$("#form-modal").modal("show");
|
||||||
|
},
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '.btn-hapus', function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
var id = $(this).attr("data-id");
|
||||||
|
$.ajax({
|
||||||
|
url: site_url + "/Pasien/edit/" + id,
|
||||||
|
type: "GET",
|
||||||
|
dataType: "json",
|
||||||
|
data: {},
|
||||||
|
beforeSend: function() {},
|
||||||
|
success: function(result) {
|
||||||
|
$('#formDelete').attr('action', site_url + "/Pasien/delete/" + id);
|
||||||
|
$("#txt-msg").text(result.data.nama);
|
||||||
|
$("#modal-hapus").modal("show");
|
||||||
|
},
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#btn-add').click(function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
$('#formData').attr('action', site_url + "/Pasien/save");
|
||||||
|
$("#modal-title").text("Tambah Data");
|
||||||
|
handleReset()
|
||||||
|
$("#form-modal").modal("show");
|
||||||
|
});
|
||||||
|
|
||||||
|
function handleReset() {
|
||||||
|
$("#id").val("");
|
||||||
|
$("#nama").val("");
|
||||||
|
$("#jenkel").val("");
|
||||||
|
$("#id_kategori_pasien").val("");
|
||||||
|
$("#tempat_lahir").val("");
|
||||||
|
$("#tgl_lahir").val("");
|
||||||
|
$("#no_telp").val("");
|
||||||
|
$("#ortu").val("");
|
||||||
|
$("#alamat").val("");
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
|
@ -0,0 +1,275 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<title>Jenis Pelayanan - Peramalan</title>
|
||||||
|
<meta content='width=device-width, initial-scale=1.0, shrink-to-fit=no' name='viewport' />
|
||||||
|
<link rel="icon" href="<?php echo base_url() ?>assets/img/icon.ico" type="image/x-icon" />
|
||||||
|
|
||||||
|
<!-- Fonts and icons -->
|
||||||
|
<?php $this->load->view('_partial/css.php') ?>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="wrapper">
|
||||||
|
<?php $this->load->view('_partial/header.php') ?>
|
||||||
|
|
||||||
|
<!-- Sidebar -->
|
||||||
|
<?php $this->load->view('_partial/sidebar') ?>
|
||||||
|
<!-- End Sidebar -->
|
||||||
|
|
||||||
|
<div class="main-panel">
|
||||||
|
<div class="content">
|
||||||
|
<div class="panel-header">
|
||||||
|
<div class="page-inner py-5">
|
||||||
|
<div class="page-header">
|
||||||
|
<h4 class="page-title">Pelayanan</h4>
|
||||||
|
<ul class="breadcrumbs">
|
||||||
|
<li class="nav-home">
|
||||||
|
<a href="<?php echo base_url('dashboard') ?>">
|
||||||
|
<i class="flaticon-home"></i>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">
|
||||||
|
<i class="flaticon-right-arrow"></i>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="<?php echo base_url('Pelayanan') ?>">Pelayanan</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="page-inner mt--5">
|
||||||
|
<div class="row mt--2">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header">
|
||||||
|
<div class="d-flex align-items-center">
|
||||||
|
<h4 class="card-title">Data Pelayanan</h4>
|
||||||
|
<?php if (validation_errors()) { ?>
|
||||||
|
<div class="alert alert-warning alert-dismissible fade show" role="alert">
|
||||||
|
<strong>Perhatian!!</strong> <?php echo validation_errors(); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<button class="btn btn-success btn-round ml-auto" id="btn-add">
|
||||||
|
<i class="fa fa-plus"></i>
|
||||||
|
Tambah Data
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<?php if ($this->session->flashdata('success')) : ?>
|
||||||
|
<div class="alert alert-success alert-dismissible fade show" role="alert">
|
||||||
|
<?= $this->session->flashdata('success'); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if ($this->session->flashdata('hapus')) : ?>
|
||||||
|
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
||||||
|
<?= $this->session->flashdata('hapus'); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<div class="row mt-0 mb-3">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="form-group pt-0">
|
||||||
|
<label for="id_jenis">Jenis Pelayanan</label>
|
||||||
|
<select class="form-control" name="id_jenis" id="id_jenis" onchange="pageLoad()">
|
||||||
|
<option value="">All</option>
|
||||||
|
<?php foreach ($jenis_pelayanan as $j) { ?>
|
||||||
|
<option value="<?= $j->id ?>" <?php if (isset($_GET['id_jenis_pelayanan'])) {
|
||||||
|
echo ($j->id == $_GET['id_jenis_pelayanan']) ? ' selected' : '';
|
||||||
|
} ?>><?= $j->nama ?></option>
|
||||||
|
<?php } ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="table-responsive">
|
||||||
|
<table id="data-table" class="display table table-striped table-hover">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="width: 5%;" class="text-center">No.</th>
|
||||||
|
<th>Nama</th>
|
||||||
|
<th>Jenis Pelayanan</th>
|
||||||
|
<th style="width: 15%;" class="text-center">Action</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<?php
|
||||||
|
$no = 1;
|
||||||
|
foreach ($data as $row) {
|
||||||
|
?>
|
||||||
|
<tr>
|
||||||
|
<td class="text-center"><?= $no++ ?>.</td>
|
||||||
|
<td><?= $row->nama ?></td>
|
||||||
|
<td><?= $row->nama_jenis_pelayanan ?></td>
|
||||||
|
<td class="text-center" style="padding:0px !important;">
|
||||||
|
<a href="javascript:;" data-id="<?= $row->id ?>" data-name="<?= $row->nama ?>" title="Edit data" class="btn btn-link btn-warning btn-edit">
|
||||||
|
<i class="fa fa-edit"></i>
|
||||||
|
</a>
|
||||||
|
<a href="javascript:;" data-id="<?= $row->id ?>" data-name="<?= $row->nama ?>" title="Hapus data" class="btn btn-link btn-danger btn-hapus">
|
||||||
|
<i class="fa fa-trash"></i>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<?php } ?>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- MODAL ADD/EDIT -->
|
||||||
|
<div class="modal fade" id="form-modal" tabindex="-1" role="dialog" aria-hidden="true">
|
||||||
|
<div class="modal-dialog" role="document">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 id="modal-title">
|
||||||
|
Tambah Data
|
||||||
|
</h5>
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<form action="<?= base_url('Pelayanan/save') ?>" method="POST" id="formData">
|
||||||
|
<div class="modal-body">
|
||||||
|
<input type="hidden" id="id" name="id" type="text" class="form-control">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>Nama</label>
|
||||||
|
<input id="nama" name="nama" type="text" class="form-control" placeholder="Nama pelayanan" required>
|
||||||
|
</div>
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label for="id_jenis_pelayanan">Jenis Pelayanan</label>
|
||||||
|
<select class="form-control" name="id_jenis_pelayanan" id="id_jenis_pelayanan" required>
|
||||||
|
<option value="">- Pilih Jenis Pelayanan -</option>
|
||||||
|
<?php foreach ($jenis_pelayanan as $j) { ?>
|
||||||
|
<option value="<?= $j->id ?>"><?= $j->nama ?></option>
|
||||||
|
<?php } ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-danger" data-dismiss="modal">Batal</button>
|
||||||
|
<button type="submit" class="btn btn-primary">Simpan</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- END MODAL ADD/EDIT -->
|
||||||
|
|
||||||
|
<!-- ============ MODAL HAPUS =============== -->
|
||||||
|
<div class="modal fade" id="modal-hapus" tabindex="-1" role="dialog" aria-labelledby="largeModal" aria-hidden="true">
|
||||||
|
<div class="modal-dialog">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 class="modal-title">Hapus Pelayanan</h5>
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<form id="formDelete" class="form-horizontal" method="post" action="">
|
||||||
|
<div class="modal-body">
|
||||||
|
<p>Apakah Anda yakin menghapus data <b><span id="txt-msg"></span></b> ?</p>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button class="btn" data-dismiss="modal" aria-hidden="true">Tutup</button>
|
||||||
|
<button type="submit" class="btn btn-danger">Hapus</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- END MODAL HAPUS -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php $this->load->view('_partial/footer') ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php $this->load->view('_partial/js') ?>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
$('#id_jenis_pelayanan').select2();
|
||||||
|
$('#id_jenis').select2();
|
||||||
|
|
||||||
|
function pageLoad() {
|
||||||
|
let id_jenis = $("#id_jenis").val();
|
||||||
|
window.location.href = site_url + "Pelayanan?id_jenis_pelayanan=" + id_jenis
|
||||||
|
};
|
||||||
|
|
||||||
|
// Add Row
|
||||||
|
$('#data-table').DataTable({
|
||||||
|
"pageLength": 10,
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '.btn-edit', function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
var id = $(this).attr("data-id");
|
||||||
|
$.ajax({
|
||||||
|
url: site_url + "/Pelayanan/edit/" + id,
|
||||||
|
type: "GET",
|
||||||
|
dataType: "json",
|
||||||
|
data: {},
|
||||||
|
beforeSend: function() {},
|
||||||
|
success: function(result) {
|
||||||
|
$('#formData').attr('action', site_url + "/Pelayanan/update");
|
||||||
|
$("#modal-title").text("Edit Data");
|
||||||
|
$("#id").val(result.data.id);
|
||||||
|
$("#nama").val(result.data.nama);
|
||||||
|
$("#id_jenis_pelayanan").val(result.data.id_jenis_pelayanan).change();
|
||||||
|
$("#form-modal").modal("show");
|
||||||
|
},
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '.btn-hapus', function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
var id = $(this).attr("data-id");
|
||||||
|
$.ajax({
|
||||||
|
url: site_url + "/Pelayanan/edit/" + id,
|
||||||
|
type: "GET",
|
||||||
|
dataType: "json",
|
||||||
|
data: {},
|
||||||
|
beforeSend: function() {},
|
||||||
|
success: function(result) {
|
||||||
|
$('#formDelete').attr('action', site_url + "/Pelayanan/delete/" + id);
|
||||||
|
$("#txt-msg").text(result.data.nama);
|
||||||
|
$("#modal-hapus").modal("show");
|
||||||
|
},
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#btn-add').click(function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
$('#formData').attr('action', site_url + "/Pelayanan/save");
|
||||||
|
$("#modal-title").text("Tambah Data");
|
||||||
|
$("#id").val("");
|
||||||
|
$("#nama").val("");
|
||||||
|
$("#id_jenis_pelayanan").val("");
|
||||||
|
$("#form-modal").modal("show");
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
|
@ -0,0 +1,354 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<title>Pengunjung - Peramalan</title>
|
||||||
|
<meta content='width=device-width, initial-scale=1.0, shrink-to-fit=no' name='viewport' />
|
||||||
|
<link rel="icon" href="<?php echo base_url() ?>assets/img/icon.ico" type="image/x-icon" />
|
||||||
|
|
||||||
|
<!-- Fonts and icons -->
|
||||||
|
<?php $this->load->view('_partial/css.php') ?>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="wrapper">
|
||||||
|
<?php $this->load->view('_partial/header.php') ?>
|
||||||
|
|
||||||
|
<!-- Sidebar -->
|
||||||
|
<?php $this->load->view('_partial/sidebar') ?>
|
||||||
|
<!-- End Sidebar -->
|
||||||
|
|
||||||
|
<div class="main-panel">
|
||||||
|
<div class="content">
|
||||||
|
<div class="panel-header">
|
||||||
|
<div class="page-inner py-5">
|
||||||
|
<div class="page-header">
|
||||||
|
<h4 class="page-title">Pengunjung</h4>
|
||||||
|
<ul class="breadcrumbs">
|
||||||
|
<li class="nav-home">
|
||||||
|
<a href="<?php echo base_url('dashboard') ?>">
|
||||||
|
<i class="flaticon-home"></i>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="separator">
|
||||||
|
<i class="flaticon-right-arrow"></i>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="<?php echo base_url('Pengunjung') ?>">Pengunjung</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="page-inner mt--5">
|
||||||
|
<div class="row mt--2">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header">
|
||||||
|
<div class="d-flex align-items-center">
|
||||||
|
<h4 class="card-title">Data Pengunjung</h4>
|
||||||
|
<?php if (validation_errors()) { ?>
|
||||||
|
<div class="alert alert-warning alert-dismissible fade show" role="alert">
|
||||||
|
<strong>Perhatian!!</strong> <?php echo validation_errors(); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<button class="btn btn-success btn-round ml-auto" id="btn-add">
|
||||||
|
<i class="fa fa-plus"></i>
|
||||||
|
Tambah Data
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<?php if ($this->session->flashdata('success')) : ?>
|
||||||
|
<div class="alert alert-success alert-dismissible fade show" role="alert">
|
||||||
|
<?= $this->session->flashdata('success'); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if ($this->session->flashdata('hapus')) : ?>
|
||||||
|
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
||||||
|
<?= $this->session->flashdata('hapus'); ?>
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<div class="row mt-0 mb-3">
|
||||||
|
<div class="col-md-3">
|
||||||
|
<div class="form-group py-0 px-0">
|
||||||
|
<label for="bulan">Bulan</label>
|
||||||
|
<?php
|
||||||
|
$bln = array('JANUARI', 'FEBRUARI', 'MARET', 'APRIL', 'MEI', 'JUNI', 'JULI', 'AGUSTUS', 'SEPTEMBER', 'OKTOBER', 'NOVEMBER', 'DESEMBER');
|
||||||
|
?>
|
||||||
|
<select class="form-control" name="bulan" id="bulan" onchange="pageLoad()">
|
||||||
|
<option value="">ALL</option>
|
||||||
|
<?php foreach ($bln as $key => $value) { ?>
|
||||||
|
<option value="<?= $key+1 ?>" <?php if (isset($_GET['bulan'])) {
|
||||||
|
echo ($key+1 == $_GET['bulan'] ? ' selected ' : '');
|
||||||
|
} ?>><?= $value ?></option>
|
||||||
|
<?php } ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-2">
|
||||||
|
<div class="form-group py-0 px-0">
|
||||||
|
<label for="id_pelayanan_filter">Tahun</label>
|
||||||
|
<select class="form-control" id="tahun" onchange="pageLoad()">
|
||||||
|
<option value="">All</option>
|
||||||
|
<?php foreach ($tahun as $t) { ?>
|
||||||
|
<option value="<?= $t->tahun ?>" <?php if (isset($_GET['tahun'])) {
|
||||||
|
echo ($t->tahun == $_GET['tahun']) ? ' selected' : '';
|
||||||
|
} ?>><?= $t->tahun ?></option>
|
||||||
|
<?php } ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="form-group py-0 px-0">
|
||||||
|
<label for="id_pelayanan_filter">Pelayanan</label>
|
||||||
|
<select class="form-control" id="id_pelayanan_filter" onchange="pageLoad()">
|
||||||
|
<option value="">All</option>
|
||||||
|
<?php foreach ($pelayanan as $p) { ?>
|
||||||
|
<option value="<?= $p->id ?>" <?php if (isset($_GET['id_pelayanan'])) {
|
||||||
|
echo ($p->id == $_GET['id_pelayanan']) ? ' selected' : '';
|
||||||
|
} ?>><?= $p->nama ?></option>
|
||||||
|
<?php } ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="table-responsive">
|
||||||
|
<table id="data-table" class="display table table-striped table-hover">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="width: 5%;" class="text-center">No.</th>
|
||||||
|
<th>Tanggal</th>
|
||||||
|
<th>Pasien</th>
|
||||||
|
<th>Pelayanan</th>
|
||||||
|
<th>Keterangan</th>
|
||||||
|
<th style="width: 15%;" class="text-center">Action</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<?php
|
||||||
|
$no = 1;
|
||||||
|
foreach ($data as $row) {
|
||||||
|
?>
|
||||||
|
<tr>
|
||||||
|
<td class="text-center"><?= $no++ ?>.</td>
|
||||||
|
<td><?= format_date($row->tanggal, "d/m/Y") ?></td>
|
||||||
|
<td><?= $row->nama_pasien ?></td>
|
||||||
|
<td><?= $row->nama_pelayanan ?></td>
|
||||||
|
<td><?= $row->keterangan ?></td>
|
||||||
|
<td class="text-center" style="padding:0px !important;">
|
||||||
|
<a href="javascript:;" data-id="<?= $row->id ?>" data-name="<?= $row->nama_pasien ?>" title="Edit data" class="btn btn-link btn-warning btn-edit">
|
||||||
|
<i class="fa fa-edit"></i>
|
||||||
|
</a>
|
||||||
|
<a href="javascript:;" data-id="<?= $row->id ?>" data-name="<?= $row->nama_pasien ?>" title="Hapus data" class="btn btn-link btn-danger btn-hapus">
|
||||||
|
<i class="fa fa-trash"></i>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<?php } ?>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- MODAL ADD/EDIT -->
|
||||||
|
<div class="modal fade" id="form-modal" tabindex="-1" role="dialog" aria-hidden="true">
|
||||||
|
<div class="modal-dialog" role="document">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 id="modal-title">
|
||||||
|
Tambah Data
|
||||||
|
</h5>
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<form action="<?= base_url('Pelayanan/save') ?>" method="POST" id="formData">
|
||||||
|
<div class="modal-body">
|
||||||
|
<input type="hidden" id="id" name="id" type="text" class="form-control">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>Tanggal</label>
|
||||||
|
<input id="tanggal"
|
||||||
|
name="tanggal"
|
||||||
|
type="date"
|
||||||
|
class="form-control"
|
||||||
|
placeholder="Tanggal"
|
||||||
|
onfocus="disablePastDates()"
|
||||||
|
required>
|
||||||
|
</div>
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label for="id_pasien">Pasien</label>
|
||||||
|
<select class="form-control" name="id_pasien" id="id_pasien" required>
|
||||||
|
<option value="">- Pilih Pasien -</option>
|
||||||
|
<?php foreach ($pasien as $p) { ?>
|
||||||
|
<option value="<?= $p->id ?>"><?= $p->nama ?></option>
|
||||||
|
<?php } ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label for="id_pelayanan">Pelayanan</label>
|
||||||
|
<select class="form-control" name="id_pelayanan" id="id_pelayanan" required>
|
||||||
|
<option value="">- Pilih Pelayanan -</option>
|
||||||
|
<?php foreach ($pelayanan as $pl) { ?>
|
||||||
|
<option value="<?= $pl->id ?>"><?= $pl->nama ?></option>
|
||||||
|
<?php } ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>Umur Bulan</label>
|
||||||
|
<input id="umur_bulan" name="umur_bulan" type="number" class="form-control" placeholder="Umur Bulan">
|
||||||
|
</div>
|
||||||
|
<div class="form-group form-group-default">
|
||||||
|
<label>Keterangan</label>
|
||||||
|
<textarea id="keterangan" name="keterangan" class="form-control" placeholder="Keterangan / Keluhan"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-danger" data-dismiss="modal">Batal</button>
|
||||||
|
<button type="submit" class="btn btn-primary">Simpan</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- END MODAL ADD/EDIT -->
|
||||||
|
|
||||||
|
<!-- ============ MODAL HAPUS =============== -->
|
||||||
|
<div class="modal fade" id="modal-hapus" tabindex="-1" role="dialog" aria-labelledby="largeModal" aria-hidden="true">
|
||||||
|
<div class="modal-dialog">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 class="modal-title">Hapus Pengunjung</h5>
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<form id="formDelete" class="form-horizontal" method="post" action="">
|
||||||
|
<div class="modal-body">
|
||||||
|
<p>Apakah Anda yakin menghapus data <b><span id="txt-msg"></span></b> ?</p>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button class="btn" data-dismiss="modal" aria-hidden="true">Tutup</button>
|
||||||
|
<button type="submit" class="btn btn-danger">Hapus</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- END MODAL HAPUS -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php $this->load->view('_partial/footer') ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php $this->load->view('_partial/js') ?>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
$('#id_pasien').select2();
|
||||||
|
$('#id_pelayanan').select2();
|
||||||
|
$('#id_pelayanan_filter').select2();
|
||||||
|
$('#bulan').select2();
|
||||||
|
$('#tahun').select2();
|
||||||
|
|
||||||
|
function disablePastDates() {
|
||||||
|
var today = new Date();
|
||||||
|
var dd = String(today.getDate()).padStart(2, '0');
|
||||||
|
var mm = String(today.getMonth() + 1).padStart(2, '0'); //January is 0!
|
||||||
|
var yyyy = today.getFullYear();
|
||||||
|
|
||||||
|
today = yyyy + '-' + mm + '-' + dd;
|
||||||
|
document.getElementById("tanggal").setAttribute("min", today);
|
||||||
|
}
|
||||||
|
|
||||||
|
function pageLoad() {
|
||||||
|
let id_pelayanan = $("#id_pelayanan_filter").val();
|
||||||
|
let bulan = $("#bulan").val();
|
||||||
|
let tahun = $("#tahun").val();
|
||||||
|
window.location.href = site_url + "Pengunjung?id_pelayanan=" + id_pelayanan + '&bulan=' + bulan + '&tahun=' + tahun
|
||||||
|
};
|
||||||
|
|
||||||
|
// Add Row
|
||||||
|
$('#data-table').DataTable({
|
||||||
|
"pageLength": 10,
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '.btn-edit', function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
var id = $(this).attr("data-id");
|
||||||
|
$.ajax({
|
||||||
|
url: site_url + "/Pengunjung/edit/" + id,
|
||||||
|
type: "GET",
|
||||||
|
dataType: "json",
|
||||||
|
data: {},
|
||||||
|
beforeSend: function() {},
|
||||||
|
success: function(result) {
|
||||||
|
$('#formData').attr('action', site_url + "/Pengunjung/update");
|
||||||
|
$("#modal-title").text("Edit Data");
|
||||||
|
$("#id").val(result.data.id);
|
||||||
|
$("#tanggal").val(result.data.tanggal);
|
||||||
|
$("#id_pasien").val(result.data.id_pasien).change();
|
||||||
|
$("#id_pelayanan").val(result.data.id_pelayanan).change();
|
||||||
|
$("#keterangan").val(result.data.keterangan);
|
||||||
|
$("#form-modal").modal("show");
|
||||||
|
},
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '.btn-hapus', function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
var id = $(this).attr("data-id");
|
||||||
|
$.ajax({
|
||||||
|
url: site_url + "/Pengunjung/edit/" + id,
|
||||||
|
type: "GET",
|
||||||
|
dataType: "json",
|
||||||
|
data: {},
|
||||||
|
beforeSend: function() {},
|
||||||
|
success: function(result) {
|
||||||
|
$('#formDelete').attr('action', site_url + "/Pengunjung/delete/" + id);
|
||||||
|
$("#txt-msg").text(result.data.nama_pasien);
|
||||||
|
$("#modal-hapus").modal("show");
|
||||||
|
},
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#btn-add').click(function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
$('#formData').attr('action', site_url + "/Pengunjung/save");
|
||||||
|
$("#modal-title").text("Tambah Data");
|
||||||
|
handleReset()
|
||||||
|
$("#form-modal").modal("show");
|
||||||
|
});
|
||||||
|
|
||||||
|
function handleReset() {
|
||||||
|
$("#id").val("");
|
||||||
|
$("#tanggal").val("");
|
||||||
|
$("#id_pasien").val("");
|
||||||
|
$("#id_pelayanan").val("");
|
||||||
|
$("#keterangan").val("");
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
|
@ -0,0 +1,332 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<title>Ramal - Peramalan</title>
|
||||||
|
<meta content='width=device-width, initial-scale=1.0, shrink-to-fit=no' name='viewport' />
|
||||||
|
<link rel="icon" href="<?php echo base_url() ?>assets/img/icon.ico" type="image/x-icon" />
|
||||||
|
|
||||||
|
<!-- Fonts and icons -->
|
||||||
|
<?php $this->load->view('_partial/css.php') ?>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="wrapper">
|
||||||
|
<?php $this->load->view('_partial/header.php') ?>
|
||||||
|
|
||||||
|
<!-- Sidebar -->
|
||||||
|
<?php $this->load->view('_partial/sidebar') ?>
|
||||||
|
<!-- End Sidebar -->
|
||||||
|
|
||||||
|
<div class="main-panel">
|
||||||
|
<div class="content">
|
||||||
|
<div class="page-inner mt-2">
|
||||||
|
<div class="row mt--2">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header">
|
||||||
|
<div class="d-flex align-items-center">
|
||||||
|
<h4 class="card-title">Ramalan Pengunjung</h4>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-8" style="border:1px solid #dedede; border-radius:5px;">
|
||||||
|
<form action="<?= site_url('Peramalan') ?>" method="GET">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="bulan">Bulan</label>
|
||||||
|
<?php
|
||||||
|
$bln = array('', 'JANUARI', 'FEBRUARI', 'MARET', 'APRIL', 'MEI', 'JUNI', 'JULI', 'AGUSTUS', 'SEPTEMBER', 'OKTOBER', 'NOVEMBER', 'DESEMBER');
|
||||||
|
?>
|
||||||
|
<select class="form-control" name="bulan" id="bulan" required>
|
||||||
|
<?php foreach ($bln as $key => $value) { ?>
|
||||||
|
<option value="<?= $key ?>" <?php if (isset($_GET['bulan'])) {
|
||||||
|
echo ($key == $_GET['bulan'] ? ' selected ' : '');
|
||||||
|
} else {
|
||||||
|
echo ($key == intval(date('m')) ? ' selected ' : '');
|
||||||
|
} ?>><?= $value ?></option>
|
||||||
|
<?php } ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label>Tahun</label>
|
||||||
|
<input id="tahun" name="tahun" value="<?= isset($_GET['tahun']) ? $_GET['tahun'] : date('Y') ?>" type="number" class="form-control" placeholder="Tahun" style="border: 1px solid #aaa;" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group pt-0">
|
||||||
|
<label for="id_pelayanan">Pelayanan</label>
|
||||||
|
<select class="form-control" name="id_pelayanan" id="id_pelayanan">
|
||||||
|
<option value="">Semua Pelayanan</option>
|
||||||
|
<?php foreach ($pelayanan as $pl) { ?>
|
||||||
|
<option value="<?= $pl->id ?>" <?php if (isset($_GET['id_pelayanan'])) {
|
||||||
|
echo ($pl->id == $_GET['id_pelayanan'] ? ' selected ' : '');
|
||||||
|
} ?>><?= $pl->nama ?></option>
|
||||||
|
<?php } ?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Button -->
|
||||||
|
<div class="py-2 text-center">
|
||||||
|
<a href="javascript:;" onclick="handleReset()" class="btn btn-danger">Reset</a>
|
||||||
|
<button type="submit" class="btn btn-primary">Prediksi</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4" style="border:1px solid #dedede; border-radius:5px;">
|
||||||
|
<form id="formAlpha" method="POST">
|
||||||
|
<div class="row mt-3">
|
||||||
|
<div class="col-md-4">Alpha</div>
|
||||||
|
<div class="col-md-8">
|
||||||
|
<div class="form-group pt-0">
|
||||||
|
<input id="alpha" name="alpha" value="<?= $alpha['alpha'] ?>" class="form-control-sm" placeholder="Alpha" style="border: 1px solid #aaa;" disabled>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-4">Beta</div>
|
||||||
|
<div class="col-md-8">
|
||||||
|
<div class="form-group pt-0">
|
||||||
|
<input id="beta" name="beta" value="<?= $alpha['beta'] ?>" class="form-control-sm" placeholder="Beta" style="border: 1px solid #aaa;" disabled>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-4">Gamma</div>
|
||||||
|
<div class="col-md-8">
|
||||||
|
<div class="form-group pt-0">
|
||||||
|
<input id="gamma" name="gamma" value="<?= $alpha['gamma'] ?>" class="form-control-sm" placeholder="Gamma" style="border: 1px solid #aaa;" disabled>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-4">Periode</div>
|
||||||
|
<div class="col-md-8">
|
||||||
|
<div class="form-group pt-0">
|
||||||
|
<input id="periode" name="periode" value="<?= $alpha['periode'] ?>" type="number" class="form-control-sm" placeholder="Tahun" style="border: 1px solid #aaa;" disabled>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- <button type="submit" class="btn btn-primary btn-sm">Ubah</button> -->
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php if (count($data) > 0) { ?>
|
||||||
|
<!-- HASIL PREDIKSI -->
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header">
|
||||||
|
<div class="d-flex align-items-center">
|
||||||
|
<h4 class="card-title">Hasil Peramalan</h4>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="d-flex flex-wrap justify-content-left pb-2">
|
||||||
|
<div class="px-2 pb-2 pb-md-0">
|
||||||
|
<h3 class="fw-bold mt-3 mb-0">Pelayanan : <?= isset($detail_pelayanan) ? $detail_pelayanan['nama'] : 'Semua Pelayanan' ?></h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="d-flex flex-wrap justify-content-left">
|
||||||
|
<div class="px-2 pb-2 pb-md-0">
|
||||||
|
<h5 class="fw-bold mt-3 mb-0">MAD : <?= isset($MAD) ? $MAD : '-' ?></h5>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="d-flex flex-wrap justify-content-left">
|
||||||
|
<div class="px-2 pb-2 pb-md-0">
|
||||||
|
<h5 class="fw-bold mt-3 mb-0">MSE : <?= isset($MSE) ? $MSE : '-' ?></h5>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="d-flex flex-wrap justify-content-left">
|
||||||
|
<div class="px-2 pb-2 pb-md-0">
|
||||||
|
<h5 class="fw-bold mt-3 mb-0">MAPE : <?= isset($MAPE) ? $MAPE . ' %' : '-' ?></h5>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="d-flex flex-wrap justify-content-left">
|
||||||
|
<div class="px-2 pb-2 pb-md-0">
|
||||||
|
<h5 class="fw-bold mt-3 mb-0">Rata - rata Kesalahan : <?= isset($ratarataKesalahan) ? $ratarataKesalahan : '-' ?></h5>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- chart -->
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header">
|
||||||
|
<div class="card-title">Grafik Peramalan</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<div id="chart-container" style="height:350px">
|
||||||
|
<canvas id="multipleLineChart"></canvas>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- table perhitungan -->
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header">
|
||||||
|
<div class="card-title">Tabel Detail</div>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="table-responsive">
|
||||||
|
<table class="display table table-hover">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="text-center" style="width:5%;">No.</th>
|
||||||
|
<th style="width:15%;">Bulan</th>
|
||||||
|
<th class="text-center" style="width:5%;">Aktual</th>
|
||||||
|
<th class="text-center" style="width:10%;">Lt</th>
|
||||||
|
<th class="text-center" style="width:10%;">Bt</th>
|
||||||
|
<th class="text-center" style="width:10%;">St</th>
|
||||||
|
<th class="text-center" style="width:10%;">Ft+m</th>
|
||||||
|
<th style="width:10%;">Persentase Error</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<?php
|
||||||
|
$no = 0;
|
||||||
|
foreach ($data as $row) {
|
||||||
|
$no++ ?>
|
||||||
|
<tr>
|
||||||
|
<td><?= $no ?>.</td>
|
||||||
|
<td><?= $row['bulan'] ?></td>
|
||||||
|
<td class="text-center"><?= $row['jumlah'] ?></td>
|
||||||
|
<td class="text-right"><?= $row['lt'] ?></td>
|
||||||
|
<td class="text-right"><?= $row['bt'] ?></td>
|
||||||
|
<td class="text-right"><?= $row['st'] ?></td>
|
||||||
|
<td class="text-right"><?= $row['ft'] ?></td>
|
||||||
|
<td class="text-right"><?= $row['error'] ?></td>
|
||||||
|
</tr>
|
||||||
|
<?php } ?>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php $this->load->view('_partial/footer') ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div hidden>
|
||||||
|
<?php
|
||||||
|
$namaBulan = "";
|
||||||
|
$aktualGrafik = "";
|
||||||
|
$ftGrafik = "";
|
||||||
|
foreach ($data as $row) {
|
||||||
|
$bln = $row['bulan'];
|
||||||
|
$namaBulan .= "'$bln'" . ", ";
|
||||||
|
$aktualGrafik .= $row['jumlah'] . ", ";
|
||||||
|
$ftGrafik .= $row['ft'] . ", ";
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php $this->load->view('_partial/js.php') ?>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
$('#id_pelayanan').select2();
|
||||||
|
$('#bulan').select2();
|
||||||
|
|
||||||
|
function handleReset() {
|
||||||
|
window.location.href = site_url + 'Peramalan';
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).on("submit", "#formAlpha", function (event) {
|
||||||
|
event.preventDefault();
|
||||||
|
$.ajax({
|
||||||
|
url: site_url + "/Peramalan/update_alpha",
|
||||||
|
method: "POST",
|
||||||
|
dataType: "json",
|
||||||
|
data: new FormData($("#formAlpha")[0]),
|
||||||
|
async: true,
|
||||||
|
processData: false,
|
||||||
|
contentType: false,
|
||||||
|
success: function (data) {
|
||||||
|
Toast.fire({
|
||||||
|
icon: "success",
|
||||||
|
title: data.message,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
fail: function (event) {
|
||||||
|
alert(event);
|
||||||
|
},
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
//Chart
|
||||||
|
var multipleLineChart = document.getElementById('multipleLineChart').getContext('2d');
|
||||||
|
|
||||||
|
var myMultipleLineChart = new Chart(multipleLineChart, {
|
||||||
|
type: 'line',
|
||||||
|
data: {
|
||||||
|
labels: [<?php echo $namaBulan; ?>],
|
||||||
|
datasets: [{
|
||||||
|
label: "Aktual",
|
||||||
|
borderColor: "#1d7af3",
|
||||||
|
pointBorderColor: "#FFF",
|
||||||
|
pointBackgroundColor: "#1d7af3",
|
||||||
|
pointBorderWidth: 1,
|
||||||
|
pointHoverRadius: 2,
|
||||||
|
pointHoverBorderWidth: 1,
|
||||||
|
pointRadius: 2,
|
||||||
|
backgroundColor: 'transparent',
|
||||||
|
fill: true,
|
||||||
|
borderWidth: 2,
|
||||||
|
data: [<?php echo $aktualGrafik; ?>]
|
||||||
|
}, {
|
||||||
|
label: "Hasil Ramal",
|
||||||
|
borderColor: "#59d05d",
|
||||||
|
pointBorderColor: "#FFF",
|
||||||
|
pointBackgroundColor: "#59d05d",
|
||||||
|
pointBorderWidth: 1,
|
||||||
|
pointHoverRadius: 2,
|
||||||
|
pointHoverBorderWidth: 1,
|
||||||
|
pointRadius: 2,
|
||||||
|
backgroundColor: 'transparent',
|
||||||
|
fill: true,
|
||||||
|
borderWidth: 2,
|
||||||
|
data: [<?php echo $ftGrafik; ?>]
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
options: {
|
||||||
|
responsive: true,
|
||||||
|
maintainAspectRatio: false,
|
||||||
|
legend: {
|
||||||
|
position: 'top',
|
||||||
|
},
|
||||||
|
tooltips: {
|
||||||
|
bodySpacing: 4,
|
||||||
|
mode: "nearest",
|
||||||
|
intersect: 0,
|
||||||
|
position: "nearest",
|
||||||
|
xPadding: 10,
|
||||||
|
yPadding: 10,
|
||||||
|
caretPadding: 10
|
||||||
|
},
|
||||||
|
layout: {
|
||||||
|
padding: {
|
||||||
|
left: 15,
|
||||||
|
right: 15,
|
||||||
|
top: 15,
|
||||||
|
bottom: 15
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
|
@ -0,0 +1,89 @@
|
||||||
|
<?php
|
||||||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
?><!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Welcome to CodeIgniter</title>
|
||||||
|
|
||||||
|
<style type="text/css">
|
||||||
|
|
||||||
|
::selection { background-color: #E13300; color: white; }
|
||||||
|
::-moz-selection { background-color: #E13300; color: white; }
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #fff;
|
||||||
|
margin: 40px;
|
||||||
|
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
||||||
|
color: #4F5155;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #003399;
|
||||||
|
background-color: transparent;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: #444;
|
||||||
|
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 {
|
||||||
|
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||||
|
font-size: 12px;
|
||||||
|
background-color: #f9f9f9;
|
||||||
|
border: 1px solid #D0D0D0;
|
||||||
|
color: #002166;
|
||||||
|
display: block;
|
||||||
|
margin: 14px 0 14px 0;
|
||||||
|
padding: 12px 10px 12px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#body {
|
||||||
|
margin: 0 15px 0 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.footer {
|
||||||
|
text-align: right;
|
||||||
|
font-size: 11px;
|
||||||
|
border-top: 1px solid #D0D0D0;
|
||||||
|
line-height: 32px;
|
||||||
|
padding: 0 10px 0 10px;
|
||||||
|
margin: 20px 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#container {
|
||||||
|
margin: 10px;
|
||||||
|
border: 1px solid #D0D0D0;
|
||||||
|
box-shadow: 0 0 8px #D0D0D0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div id="container">
|
||||||
|
<h1>Welcome to CodeIgniter!</h1>
|
||||||
|
|
||||||
|
<div id="body">
|
||||||
|
<p>The page you are looking at is being generated dynamically by CodeIgniter.</p>
|
||||||
|
|
||||||
|
<p>If you would like to edit this page you'll find it located at:</p>
|
||||||
|
<code>application/views/welcome_message.php</code>
|
||||||
|
|
||||||
|
<p>The corresponding controller for this page is found at:</p>
|
||||||
|
<code>application/controllers/Welcome.php</code>
|
||||||
|
|
||||||
|
<p>If you are exploring CodeIgniter for the very first time, you should start by reading the <a href="user_guide/">User Guide</a>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds. <?php echo (ENVIRONMENT === 'development') ? 'CodeIgniter Version <strong>' . CI_VERSION . '</strong>' : '' ?></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,305 @@
|
||||||
|
.custom-template {
|
||||||
|
position: fixed;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
right: -325px;
|
||||||
|
width: 325px;
|
||||||
|
height: max-content;
|
||||||
|
display: block;
|
||||||
|
z-index: 1;
|
||||||
|
background: #ffffff;
|
||||||
|
transition: all .3s;
|
||||||
|
z-index: 1003;
|
||||||
|
box-shadow: -1px 1px 20px rgba(69, 65, 78, 0.15);
|
||||||
|
border-top-left-radius: 5px;
|
||||||
|
border-bottom-left-radius: 5px;
|
||||||
|
transition: all .5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-template.open {
|
||||||
|
right: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-template .custom-toggle {
|
||||||
|
position: absolute;
|
||||||
|
width: 45px;
|
||||||
|
height: 45px;
|
||||||
|
background: rgb(88, 103, 221);
|
||||||
|
top: 50%;
|
||||||
|
left: -45px;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
|
border-top-left-radius: 5px;
|
||||||
|
border-bottom-left-radius: 5px;
|
||||||
|
border-right: 1px solid #177dff;
|
||||||
|
cursor: pointer;
|
||||||
|
color: #ffffff;
|
||||||
|
box-shadow: -5px 5px 20px rgba(69, 65, 78, 0.21);
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-template .custom-toggle i {
|
||||||
|
font-size: 20px;
|
||||||
|
animation: 1.3s spin linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-template .title{
|
||||||
|
padding: 15px;
|
||||||
|
text-align: left;
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #ffffff;
|
||||||
|
border-top-left-radius: 5px;
|
||||||
|
border-bottom: 1px solid #ebedf2;
|
||||||
|
background: #5867dd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-template .custom-content{
|
||||||
|
padding: 20px 15px;
|
||||||
|
max-height: calc(100vh - 90px);
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-template .switcher {
|
||||||
|
padding: 5px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-template .switch-block h4 {
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #444;
|
||||||
|
line-height: 1.3;
|
||||||
|
margin-bottom: 0;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-template .btnSwitch {
|
||||||
|
margin-top: 20px;
|
||||||
|
margin-bottom: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-template .btnSwitch button {
|
||||||
|
border: 0px;
|
||||||
|
height: 20px;
|
||||||
|
width: 20px;
|
||||||
|
outline: 0;
|
||||||
|
margin-right: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 0;
|
||||||
|
border-radius: 50%;
|
||||||
|
border: 2px solid #eee;
|
||||||
|
position: relative;
|
||||||
|
transition: all .2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-template .btnSwitch button:hover{
|
||||||
|
border-color: #0bf;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-template .btnSwitch button.selected{
|
||||||
|
border-color: #0bf;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-template .img-pick {
|
||||||
|
padding: 4px;
|
||||||
|
min-height: 100px;
|
||||||
|
border-radius: 5px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-template .img-pick img {
|
||||||
|
height: 100%;
|
||||||
|
height: 100px;
|
||||||
|
width: 100%;
|
||||||
|
border-radius: 5px;
|
||||||
|
border: 2px solid transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-template .img-pick:hover img, .custom-template .img-pick.active img{
|
||||||
|
border-color: #177dff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo .btn, .demo .progress{
|
||||||
|
margin-bottom: 15px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo .form-check-label, .demo .form-radio-label{
|
||||||
|
margin-right: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo .toggle, .demo .btn-group{
|
||||||
|
margin-right: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo #slider{
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-typo tbody > tr > td{
|
||||||
|
border-color: #fafafa;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-typo tbody > tr > td:first-child{
|
||||||
|
min-width: 200px;
|
||||||
|
vertical-align: bottom;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-typo tbody > tr > td:first-child p{
|
||||||
|
font-size: 14px;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo-icon {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
padding: 10px;
|
||||||
|
transition: all .2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo-icon:hover{
|
||||||
|
background-color: #f4f5f8;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo-icon .icon-preview{
|
||||||
|
font-size: 1.8rem;
|
||||||
|
margin-right: 10px;
|
||||||
|
line-height: 1;
|
||||||
|
color: #333439;
|
||||||
|
}
|
||||||
|
|
||||||
|
body[data-background-color="dark"] .demo-icon .icon-preview {
|
||||||
|
color: #969696;
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo-icon .icon-class{
|
||||||
|
font-weight: 300;
|
||||||
|
font-size: 13px;
|
||||||
|
color: #777;
|
||||||
|
}
|
||||||
|
|
||||||
|
body[data-background-color="dark"] .demo-icon .icon-class {
|
||||||
|
color: #a9a8a8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-show-notify .form-control{
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-show-notify label{
|
||||||
|
padding-top: 0.65rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.map-demo {
|
||||||
|
height: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#instructions li{
|
||||||
|
padding: 5px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row-demo-grid{
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row-demo-grid [class^="col"]{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row-demo-grid [class^="col"] .card-body{
|
||||||
|
background: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btnSwitch button[data-color="white"] {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="grey"] {
|
||||||
|
background-color: #f1f1f1;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="black"] {
|
||||||
|
background-color: #191919;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="dark"] {
|
||||||
|
background-color: #1a2035;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="blue"] {
|
||||||
|
background-color: #1572E8;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="purple"] {
|
||||||
|
background-color: #6861CE;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="light-blue"] {
|
||||||
|
background-color: #48ABF7;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="green"] {
|
||||||
|
background-color: #31CE36;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="orange"] {
|
||||||
|
background-color: #FFAD46;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="red"] {
|
||||||
|
background-color: #F25961;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="dark2"] {
|
||||||
|
background-color: #1f283e;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="blue2"] {
|
||||||
|
background-color: #1269DB;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="purple2"] {
|
||||||
|
background-color: #5C55BF;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="light-blue2"] {
|
||||||
|
background-color: #3697E1;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="green2"] {
|
||||||
|
background-color: #2BB930;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="orange2"] {
|
||||||
|
background-color: #FF9E27;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="red2"] {
|
||||||
|
background-color: #EA4d56;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="bg1"] {
|
||||||
|
background-color: #fafafa;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="bg2"] {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
.btnSwitch button[data-color="bg3"] {
|
||||||
|
background-color: #f1f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 550px){
|
||||||
|
.table-typo tr td{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
word-break: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-typo tr td:first-child p{
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 576px){
|
||||||
|
.custom-template .custom-content {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
.form-show-notify > .text-right, .form-show-validation > .text-right {
|
||||||
|
text-align: left !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 400px) {
|
||||||
|
.custom-template {
|
||||||
|
width: 85% !important;
|
||||||
|
right: -85%;
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,537 @@
|
||||||
|
.select2-container {
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0;
|
||||||
|
position: relative;
|
||||||
|
vertical-align: middle; }
|
||||||
|
.select2-container .select2-selection--single {
|
||||||
|
box-sizing: border-box;
|
||||||
|
cursor: pointer;
|
||||||
|
display: block;
|
||||||
|
height: 28px;
|
||||||
|
user-select: none;
|
||||||
|
-webkit-user-select: none; }
|
||||||
|
.select2-container .select2-selection--single .select2-selection__rendered {
|
||||||
|
display: block;
|
||||||
|
padding-left: 8px;
|
||||||
|
padding-right: 20px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap; }
|
||||||
|
.select2-container .select2-selection--single .select2-selection__clear {
|
||||||
|
background-color: transparent;
|
||||||
|
border: none;
|
||||||
|
font-size: 1em; }
|
||||||
|
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
|
||||||
|
padding-right: 8px;
|
||||||
|
padding-left: 20px; }
|
||||||
|
.select2-container .select2-selection--multiple {
|
||||||
|
box-sizing: border-box;
|
||||||
|
cursor: pointer;
|
||||||
|
display: block;
|
||||||
|
min-height: 32px;
|
||||||
|
user-select: none;
|
||||||
|
-webkit-user-select: none; }
|
||||||
|
.select2-container .select2-selection--multiple .select2-selection__rendered {
|
||||||
|
display: inline;
|
||||||
|
list-style: none;
|
||||||
|
padding: 0; }
|
||||||
|
.select2-container .select2-selection--multiple .select2-selection__clear {
|
||||||
|
background-color: transparent;
|
||||||
|
border: none;
|
||||||
|
font-size: 1em; }
|
||||||
|
.select2-container .select2-search--inline .select2-search__field {
|
||||||
|
box-sizing: border-box;
|
||||||
|
border: none;
|
||||||
|
font-size: 100%;
|
||||||
|
margin-top: 5px;
|
||||||
|
margin-left: 5px;
|
||||||
|
padding: 0;
|
||||||
|
max-width: 100%;
|
||||||
|
resize: none;
|
||||||
|
height: 18px;
|
||||||
|
vertical-align: bottom;
|
||||||
|
font-family: sans-serif;
|
||||||
|
overflow: hidden;
|
||||||
|
word-break: keep-all; }
|
||||||
|
.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
|
||||||
|
-webkit-appearance: none; }
|
||||||
|
|
||||||
|
.select2-dropdown {
|
||||||
|
background-color: white;
|
||||||
|
border: 1px solid #aaa;
|
||||||
|
border-radius: 4px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
left: -100000px;
|
||||||
|
width: 100%;
|
||||||
|
z-index: 1051; }
|
||||||
|
|
||||||
|
.select2-results {
|
||||||
|
display: block; }
|
||||||
|
|
||||||
|
.select2-results__options {
|
||||||
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0; }
|
||||||
|
|
||||||
|
.select2-results__option {
|
||||||
|
padding: 6px;
|
||||||
|
user-select: none;
|
||||||
|
-webkit-user-select: none; }
|
||||||
|
|
||||||
|
.select2-results__option--selectable {
|
||||||
|
cursor: pointer; }
|
||||||
|
|
||||||
|
.select2-container--open .select2-dropdown {
|
||||||
|
left: 0; }
|
||||||
|
|
||||||
|
.select2-container--open .select2-dropdown--above {
|
||||||
|
border-bottom: none;
|
||||||
|
border-bottom-left-radius: 0;
|
||||||
|
border-bottom-right-radius: 0; }
|
||||||
|
|
||||||
|
.select2-container--open .select2-dropdown--below {
|
||||||
|
border-top: none;
|
||||||
|
border-top-left-radius: 0;
|
||||||
|
border-top-right-radius: 0; }
|
||||||
|
|
||||||
|
.select2-search--dropdown {
|
||||||
|
display: block;
|
||||||
|
padding: 4px; }
|
||||||
|
.select2-search--dropdown .select2-search__field {
|
||||||
|
padding: 4px;
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box; }
|
||||||
|
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
|
||||||
|
-webkit-appearance: none; }
|
||||||
|
.select2-search--dropdown.select2-search--hide {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
|
.select2-close-mask {
|
||||||
|
border: 0;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
display: block;
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
min-height: 100%;
|
||||||
|
min-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
width: auto;
|
||||||
|
opacity: 0;
|
||||||
|
z-index: 99;
|
||||||
|
background-color: #fff;
|
||||||
|
filter: alpha(opacity=0); }
|
||||||
|
|
||||||
|
.select2-hidden-accessible {
|
||||||
|
border: 0 !important;
|
||||||
|
clip: rect(0 0 0 0) !important;
|
||||||
|
-webkit-clip-path: inset(50%) !important;
|
||||||
|
clip-path: inset(50%) !important;
|
||||||
|
height: 1px !important;
|
||||||
|
overflow: hidden !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
position: absolute !important;
|
||||||
|
width: 1px !important;
|
||||||
|
white-space: nowrap !important; }
|
||||||
|
|
||||||
|
.select2-container--default .select2-selection--single {
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1px solid #aaa;
|
||||||
|
border-radius: 4px; }
|
||||||
|
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
||||||
|
color: #444;
|
||||||
|
line-height: 28px; }
|
||||||
|
.select2-container--default .select2-selection--single .select2-selection__clear {
|
||||||
|
cursor: pointer;
|
||||||
|
float: right;
|
||||||
|
font-weight: bold;
|
||||||
|
height: 26px;
|
||||||
|
margin-right: 20px;
|
||||||
|
padding-right: 0px; }
|
||||||
|
.select2-container--default .select2-selection--single .select2-selection__placeholder {
|
||||||
|
color: #999; }
|
||||||
|
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
||||||
|
height: 26px;
|
||||||
|
position: absolute;
|
||||||
|
top: 1px;
|
||||||
|
right: 1px;
|
||||||
|
width: 20px; }
|
||||||
|
.select2-container--default .select2-selection--single .select2-selection__arrow b {
|
||||||
|
border-color: #888 transparent transparent transparent;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 5px 4px 0 4px;
|
||||||
|
height: 0;
|
||||||
|
left: 50%;
|
||||||
|
margin-left: -4px;
|
||||||
|
margin-top: -2px;
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
width: 0; }
|
||||||
|
|
||||||
|
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
|
||||||
|
float: left; }
|
||||||
|
|
||||||
|
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
|
||||||
|
left: 1px;
|
||||||
|
right: auto; }
|
||||||
|
|
||||||
|
.select2-container--default.select2-container--disabled .select2-selection--single {
|
||||||
|
background-color: #eee;
|
||||||
|
cursor: default; }
|
||||||
|
.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
|
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
||||||
|
border-color: transparent transparent #888 transparent;
|
||||||
|
border-width: 0 4px 5px 4px; }
|
||||||
|
|
||||||
|
.select2-container--default .select2-selection--multiple {
|
||||||
|
background-color: white;
|
||||||
|
border: 1px solid #aaa;
|
||||||
|
border-radius: 4px;
|
||||||
|
cursor: text;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
padding-right: 5px;
|
||||||
|
position: relative; }
|
||||||
|
.select2-container--default .select2-selection--multiple.select2-selection--clearable {
|
||||||
|
padding-right: 25px; }
|
||||||
|
.select2-container--default .select2-selection--multiple .select2-selection__clear {
|
||||||
|
cursor: pointer;
|
||||||
|
font-weight: bold;
|
||||||
|
height: 20px;
|
||||||
|
margin-right: 10px;
|
||||||
|
margin-top: 5px;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
padding: 1px; }
|
||||||
|
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
||||||
|
background-color: #e4e4e4;
|
||||||
|
border: 1px solid #aaa;
|
||||||
|
border-radius: 4px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: inline-block;
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-top: 5px;
|
||||||
|
padding: 0;
|
||||||
|
padding-left: 20px;
|
||||||
|
position: relative;
|
||||||
|
max-width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
vertical-align: bottom;
|
||||||
|
white-space: nowrap; }
|
||||||
|
.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
|
||||||
|
cursor: default;
|
||||||
|
padding-left: 2px;
|
||||||
|
padding-right: 5px; }
|
||||||
|
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
|
||||||
|
background-color: transparent;
|
||||||
|
border: none;
|
||||||
|
border-right: 1px solid #aaa;
|
||||||
|
border-top-left-radius: 4px;
|
||||||
|
border-bottom-left-radius: 4px;
|
||||||
|
color: #999;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 1em;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 0 4px;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0; }
|
||||||
|
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
|
||||||
|
background-color: #f1f1f1;
|
||||||
|
color: #333;
|
||||||
|
outline: none; }
|
||||||
|
|
||||||
|
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-right: auto; }
|
||||||
|
|
||||||
|
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display {
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-right: 2px; }
|
||||||
|
|
||||||
|
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
|
||||||
|
border-left: 1px solid #aaa;
|
||||||
|
border-right: none;
|
||||||
|
border-top-left-radius: 0;
|
||||||
|
border-bottom-left-radius: 0;
|
||||||
|
border-top-right-radius: 4px;
|
||||||
|
border-bottom-right-radius: 4px; }
|
||||||
|
|
||||||
|
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__clear {
|
||||||
|
float: left;
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-right: auto; }
|
||||||
|
|
||||||
|
.select2-container--default.select2-container--focus .select2-selection--multiple {
|
||||||
|
border: solid black 1px;
|
||||||
|
outline: 0; }
|
||||||
|
|
||||||
|
.select2-container--default.select2-container--disabled .select2-selection--multiple {
|
||||||
|
background-color: #eee;
|
||||||
|
cursor: default; }
|
||||||
|
|
||||||
|
.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
|
.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
|
||||||
|
border-top-left-radius: 0;
|
||||||
|
border-top-right-radius: 0; }
|
||||||
|
|
||||||
|
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
|
||||||
|
border-bottom-left-radius: 0;
|
||||||
|
border-bottom-right-radius: 0; }
|
||||||
|
|
||||||
|
.select2-container--default .select2-search--dropdown .select2-search__field {
|
||||||
|
border: 1px solid #aaa; }
|
||||||
|
|
||||||
|
.select2-container--default .select2-search--inline .select2-search__field {
|
||||||
|
background: transparent;
|
||||||
|
border: none;
|
||||||
|
outline: 0;
|
||||||
|
box-shadow: none;
|
||||||
|
-webkit-appearance: textfield; }
|
||||||
|
|
||||||
|
.select2-container--default .select2-results > .select2-results__options {
|
||||||
|
max-height: 200px;
|
||||||
|
overflow-y: auto; }
|
||||||
|
|
||||||
|
.select2-container--default .select2-results__option .select2-results__option {
|
||||||
|
padding-left: 1em; }
|
||||||
|
.select2-container--default .select2-results__option .select2-results__option .select2-results__group {
|
||||||
|
padding-left: 0; }
|
||||||
|
.select2-container--default .select2-results__option .select2-results__option .select2-results__option {
|
||||||
|
margin-left: -1em;
|
||||||
|
padding-left: 2em; }
|
||||||
|
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||||
|
margin-left: -2em;
|
||||||
|
padding-left: 3em; }
|
||||||
|
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||||
|
margin-left: -3em;
|
||||||
|
padding-left: 4em; }
|
||||||
|
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||||
|
margin-left: -4em;
|
||||||
|
padding-left: 5em; }
|
||||||
|
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||||
|
margin-left: -5em;
|
||||||
|
padding-left: 6em; }
|
||||||
|
|
||||||
|
.select2-container--default .select2-results__option--group {
|
||||||
|
padding: 0; }
|
||||||
|
|
||||||
|
.select2-container--default .select2-results__option--disabled {
|
||||||
|
color: #999; }
|
||||||
|
|
||||||
|
.select2-container--default .select2-results__option--selected {
|
||||||
|
background-color: #ddd; }
|
||||||
|
|
||||||
|
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
|
||||||
|
background-color: #5897fb;
|
||||||
|
color: white; }
|
||||||
|
|
||||||
|
.select2-container--default .select2-results__group {
|
||||||
|
cursor: default;
|
||||||
|
display: block;
|
||||||
|
padding: 6px; }
|
||||||
|
|
||||||
|
.select2-container--classic .select2-selection--single {
|
||||||
|
background-color: #f7f7f7;
|
||||||
|
border: 1px solid #aaa;
|
||||||
|
border-radius: 4px;
|
||||||
|
outline: 0;
|
||||||
|
background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
|
||||||
|
background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
|
||||||
|
background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
|
||||||
|
.select2-container--classic .select2-selection--single:focus {
|
||||||
|
border: 1px solid #5897fb; }
|
||||||
|
.select2-container--classic .select2-selection--single .select2-selection__rendered {
|
||||||
|
color: #444;
|
||||||
|
line-height: 28px; }
|
||||||
|
.select2-container--classic .select2-selection--single .select2-selection__clear {
|
||||||
|
cursor: pointer;
|
||||||
|
float: right;
|
||||||
|
font-weight: bold;
|
||||||
|
height: 26px;
|
||||||
|
margin-right: 20px; }
|
||||||
|
.select2-container--classic .select2-selection--single .select2-selection__placeholder {
|
||||||
|
color: #999; }
|
||||||
|
.select2-container--classic .select2-selection--single .select2-selection__arrow {
|
||||||
|
background-color: #ddd;
|
||||||
|
border: none;
|
||||||
|
border-left: 1px solid #aaa;
|
||||||
|
border-top-right-radius: 4px;
|
||||||
|
border-bottom-right-radius: 4px;
|
||||||
|
height: 26px;
|
||||||
|
position: absolute;
|
||||||
|
top: 1px;
|
||||||
|
right: 1px;
|
||||||
|
width: 20px;
|
||||||
|
background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
|
||||||
|
background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
|
||||||
|
background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
|
||||||
|
.select2-container--classic .select2-selection--single .select2-selection__arrow b {
|
||||||
|
border-color: #888 transparent transparent transparent;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 5px 4px 0 4px;
|
||||||
|
height: 0;
|
||||||
|
left: 50%;
|
||||||
|
margin-left: -4px;
|
||||||
|
margin-top: -2px;
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
width: 0; }
|
||||||
|
|
||||||
|
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
|
||||||
|
float: left; }
|
||||||
|
|
||||||
|
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
|
||||||
|
border: none;
|
||||||
|
border-right: 1px solid #aaa;
|
||||||
|
border-radius: 0;
|
||||||
|
border-top-left-radius: 4px;
|
||||||
|
border-bottom-left-radius: 4px;
|
||||||
|
left: 1px;
|
||||||
|
right: auto; }
|
||||||
|
|
||||||
|
.select2-container--classic.select2-container--open .select2-selection--single {
|
||||||
|
border: 1px solid #5897fb; }
|
||||||
|
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
|
||||||
|
background: transparent;
|
||||||
|
border: none; }
|
||||||
|
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
||||||
|
border-color: transparent transparent #888 transparent;
|
||||||
|
border-width: 0 4px 5px 4px; }
|
||||||
|
|
||||||
|
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
|
||||||
|
border-top: none;
|
||||||
|
border-top-left-radius: 0;
|
||||||
|
border-top-right-radius: 0;
|
||||||
|
background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
|
||||||
|
background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
|
||||||
|
background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
|
||||||
|
|
||||||
|
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
|
||||||
|
border-bottom: none;
|
||||||
|
border-bottom-left-radius: 0;
|
||||||
|
border-bottom-right-radius: 0;
|
||||||
|
background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
|
||||||
|
background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
|
||||||
|
background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }
|
||||||
|
|
||||||
|
.select2-container--classic .select2-selection--multiple {
|
||||||
|
background-color: white;
|
||||||
|
border: 1px solid #aaa;
|
||||||
|
border-radius: 4px;
|
||||||
|
cursor: text;
|
||||||
|
outline: 0;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
padding-right: 5px; }
|
||||||
|
.select2-container--classic .select2-selection--multiple:focus {
|
||||||
|
border: 1px solid #5897fb; }
|
||||||
|
.select2-container--classic .select2-selection--multiple .select2-selection__clear {
|
||||||
|
display: none; }
|
||||||
|
.select2-container--classic .select2-selection--multiple .select2-selection__choice {
|
||||||
|
background-color: #e4e4e4;
|
||||||
|
border: 1px solid #aaa;
|
||||||
|
border-radius: 4px;
|
||||||
|
display: inline-block;
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-top: 5px;
|
||||||
|
padding: 0; }
|
||||||
|
.select2-container--classic .select2-selection--multiple .select2-selection__choice__display {
|
||||||
|
cursor: default;
|
||||||
|
padding-left: 2px;
|
||||||
|
padding-right: 5px; }
|
||||||
|
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
|
||||||
|
background-color: transparent;
|
||||||
|
border: none;
|
||||||
|
border-top-left-radius: 4px;
|
||||||
|
border-bottom-left-radius: 4px;
|
||||||
|
color: #888;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 1em;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 0 4px; }
|
||||||
|
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
|
||||||
|
color: #555;
|
||||||
|
outline: none; }
|
||||||
|
|
||||||
|
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-right: auto; }
|
||||||
|
|
||||||
|
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display {
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-right: 2px; }
|
||||||
|
|
||||||
|
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
|
||||||
|
border-top-left-radius: 0;
|
||||||
|
border-bottom-left-radius: 0;
|
||||||
|
border-top-right-radius: 4px;
|
||||||
|
border-bottom-right-radius: 4px; }
|
||||||
|
|
||||||
|
.select2-container--classic.select2-container--open .select2-selection--multiple {
|
||||||
|
border: 1px solid #5897fb; }
|
||||||
|
|
||||||
|
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
|
||||||
|
border-top: none;
|
||||||
|
border-top-left-radius: 0;
|
||||||
|
border-top-right-radius: 0; }
|
||||||
|
|
||||||
|
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
|
||||||
|
border-bottom: none;
|
||||||
|
border-bottom-left-radius: 0;
|
||||||
|
border-bottom-right-radius: 0; }
|
||||||
|
|
||||||
|
.select2-container--classic .select2-search--dropdown .select2-search__field {
|
||||||
|
border: 1px solid #aaa;
|
||||||
|
outline: 0; }
|
||||||
|
|
||||||
|
.select2-container--classic .select2-search--inline .select2-search__field {
|
||||||
|
outline: 0;
|
||||||
|
box-shadow: none; }
|
||||||
|
|
||||||
|
.select2-container--classic .select2-dropdown {
|
||||||
|
background-color: white;
|
||||||
|
border: 1px solid transparent; }
|
||||||
|
|
||||||
|
.select2-container--classic .select2-dropdown--above {
|
||||||
|
border-bottom: none; }
|
||||||
|
|
||||||
|
.select2-container--classic .select2-dropdown--below {
|
||||||
|
border-top: none; }
|
||||||
|
|
||||||
|
.select2-container--classic .select2-results > .select2-results__options {
|
||||||
|
max-height: 200px;
|
||||||
|
overflow-y: auto; }
|
||||||
|
|
||||||
|
.select2-container--classic .select2-results__option--group {
|
||||||
|
padding: 0; }
|
||||||
|
|
||||||
|
.select2-container--classic .select2-results__option--disabled {
|
||||||
|
color: grey; }
|
||||||
|
|
||||||
|
.select2-container--classic .select2-results__option--highlighted.select2-results__option--selectable {
|
||||||
|
background-color: #3875d7;
|
||||||
|
color: white; }
|
||||||
|
|
||||||
|
.select2-container--classic .select2-results__group {
|
||||||
|
cursor: default;
|
||||||
|
display: block;
|
||||||
|
padding: 6px; }
|
||||||
|
|
||||||
|
.select2-container--classic.select2-container--open .select2-dropdown {
|
||||||
|
border-color: #5897fb; }
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,15 @@
|
||||||
|
.select2 {
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.select2-container .select2-selection--single {
|
||||||
|
height: 36px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
||||||
|
line-height: 34px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
||||||
|
top: 4px !important;
|
||||||
|
}
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 420 KiB |
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,437 @@
|
||||||
|
/*
|
||||||
|
Flaticon icon font: Flaticon
|
||||||
|
Creation date: 13/03/2018 03:24
|
||||||
|
*/
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Flaticon";
|
||||||
|
src: url("./Flaticon.eot");
|
||||||
|
src: url("./Flaticon.eot?#iefix") format("embedded-opentype"),
|
||||||
|
url("./Flaticon.woff") format("woff"),
|
||||||
|
url("./Flaticon.ttf") format("truetype"),
|
||||||
|
url("./Flaticon.svg#Flaticon") format("svg");
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
||||||
|
@font-face {
|
||||||
|
font-family: "Flaticon";
|
||||||
|
src: url("./Flaticon.svg#Flaticon") format("svg");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.fi:before{
|
||||||
|
display: inline-block;
|
||||||
|
font-family: "Flaticon";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
font-variant: normal;
|
||||||
|
line-height: 1;
|
||||||
|
text-decoration: inherit;
|
||||||
|
text-rendering: optimizeLegibility;
|
||||||
|
text-transform: none;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
font-smoothing: antialiased;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flaticon-delivery-truck:before { content: "\f100"; }
|
||||||
|
.flaticon-shopping-bag:before { content: "\f101"; }
|
||||||
|
.flaticon-box-3:before { content: "\f102"; }
|
||||||
|
.flaticon-box-2:before { content: "\f103"; }
|
||||||
|
.flaticon-box-1:before { content: "\f104"; }
|
||||||
|
.flaticon-laptop:before { content: "\f105"; }
|
||||||
|
.flaticon-coffee-cup:before { content: "\f106"; }
|
||||||
|
.flaticon-user-6:before { content: "\f107"; }
|
||||||
|
.flaticon-user-5:before { content: "\f108"; }
|
||||||
|
.flaticon-remove-user-1:before { content: "\f109"; }
|
||||||
|
.flaticon-customer-support:before { content: "\f10a"; }
|
||||||
|
.flaticon-user-4:before { content: "\f10b"; }
|
||||||
|
.flaticon-user-3:before { content: "\f10c"; }
|
||||||
|
.flaticon-user-2:before { content: "\f10d"; }
|
||||||
|
.flaticon-remove-user:before { content: "\f10e"; }
|
||||||
|
.flaticon-add-user:before { content: "\f10f"; }
|
||||||
|
.flaticon-tea-cup:before { content: "\f110"; }
|
||||||
|
.flaticon-pen:before { content: "\f111"; }
|
||||||
|
.flaticon-desk:before { content: "\f112"; }
|
||||||
|
.flaticon-ruler:before { content: "\f113"; }
|
||||||
|
.flaticon-pencil:before { content: "\f114"; }
|
||||||
|
.flaticon-analytics:before { content: "\f115"; }
|
||||||
|
.flaticon-google-plus:before { content: "\f116"; }
|
||||||
|
.flaticon-dribbble:before { content: "\f117"; }
|
||||||
|
.flaticon-whatsapp:before { content: "\f118"; }
|
||||||
|
.flaticon-twitter:before { content: "\f119"; }
|
||||||
|
.flaticon-behance:before { content: "\f11a"; }
|
||||||
|
.flaticon-instagram:before { content: "\f11b"; }
|
||||||
|
.flaticon-android:before { content: "\f11c"; }
|
||||||
|
.flaticon-apple:before { content: "\f11d"; }
|
||||||
|
.flaticon-windows:before { content: "\f11e"; }
|
||||||
|
.flaticon-pinterest:before { content: "\f11f"; }
|
||||||
|
.flaticon-youtube:before { content: "\f120"; }
|
||||||
|
.flaticon-paypal:before { content: "\f121"; }
|
||||||
|
.flaticon-linkedin:before { content: "\f122"; }
|
||||||
|
.flaticon-facebook:before { content: "\f123"; }
|
||||||
|
.flaticon-lock-1:before { content: "\f124"; }
|
||||||
|
.flaticon-lock:before { content: "\f125"; }
|
||||||
|
.flaticon-profile-1:before { content: "\f126"; }
|
||||||
|
.flaticon-profile:before { content: "\f127"; }
|
||||||
|
.flaticon-user-1:before { content: "\f128"; }
|
||||||
|
.flaticon-user:before { content: "\f129"; }
|
||||||
|
.flaticon-users:before { content: "\f12a"; }
|
||||||
|
.flaticon-message:before { content: "\f12b"; }
|
||||||
|
.flaticon-placeholder-1:before { content: "\f12c"; }
|
||||||
|
.flaticon-location:before { content: "\f12d"; }
|
||||||
|
.flaticon-arrows-2:before { content: "\f12e"; }
|
||||||
|
.flaticon-technology-2:before { content: "\f12f"; }
|
||||||
|
.flaticon-multimedia-2:before { content: "\f130"; }
|
||||||
|
.flaticon-multimedia-1:before { content: "\f131"; }
|
||||||
|
.flaticon-close:before { content: "\f132"; }
|
||||||
|
.flaticon-home:before { content: "\f133"; }
|
||||||
|
.flaticon-circle:before { content: "\f134"; }
|
||||||
|
.flaticon-arrow:before { content: "\f135"; }
|
||||||
|
.flaticon-mark-1:before { content: "\f136"; }
|
||||||
|
.flaticon-mark:before { content: "\f137"; }
|
||||||
|
.flaticon-shapes-1:before { content: "\f138"; }
|
||||||
|
.flaticon-search-2:before { content: "\f139"; }
|
||||||
|
.flaticon-interface-7:before { content: "\f13a"; }
|
||||||
|
.flaticon-suitcase:before { content: "\f13b"; }
|
||||||
|
.flaticon-chain-1:before { content: "\f13c"; }
|
||||||
|
.flaticon-chain:before { content: "\f13d"; }
|
||||||
|
.flaticon-agenda-1:before { content: "\f13e"; }
|
||||||
|
.flaticon-interface-6:before { content: "\f13f"; }
|
||||||
|
.flaticon-calendar:before { content: "\f140"; }
|
||||||
|
.flaticon-list:before { content: "\f141"; }
|
||||||
|
.flaticon-file-1:before { content: "\f142"; }
|
||||||
|
.flaticon-file:before { content: "\f143"; }
|
||||||
|
.flaticon-interface-5:before { content: "\f144"; }
|
||||||
|
.flaticon-folder:before { content: "\f145"; }
|
||||||
|
.flaticon-stopwatch:before { content: "\f146"; }
|
||||||
|
.flaticon-time:before { content: "\f147"; }
|
||||||
|
.flaticon-clock-1:before { content: "\f148"; }
|
||||||
|
.flaticon-search-1:before { content: "\f149"; }
|
||||||
|
.flaticon-music-1:before { content: "\f14a"; }
|
||||||
|
.flaticon-music:before { content: "\f14b"; }
|
||||||
|
.flaticon-present:before { content: "\f14c"; }
|
||||||
|
.flaticon-layers-1:before { content: "\f14d"; }
|
||||||
|
.flaticon-settings:before { content: "\f14e"; }
|
||||||
|
.flaticon-attachment:before { content: "\f14f"; }
|
||||||
|
.flaticon-gestures:before { content: "\f150"; }
|
||||||
|
.flaticon-tool:before { content: "\f151"; }
|
||||||
|
.flaticon-interface-4:before { content: "\f152"; }
|
||||||
|
.flaticon-interface-3:before { content: "\f153"; }
|
||||||
|
.flaticon-agenda:before { content: "\f154"; }
|
||||||
|
.flaticon-shapes:before { content: "\f155"; }
|
||||||
|
.flaticon-symbol-1:before { content: "\f156"; }
|
||||||
|
.flaticon-symbol:before { content: "\f157"; }
|
||||||
|
.flaticon-interface-2:before { content: "\f158"; }
|
||||||
|
.flaticon-layers:before { content: "\f159"; }
|
||||||
|
.flaticon-clock:before { content: "\f15a"; }
|
||||||
|
.flaticon-web-1:before { content: "\f15b"; }
|
||||||
|
.flaticon-internet:before { content: "\f15c"; }
|
||||||
|
.flaticon-placeholder:before { content: "\f15d"; }
|
||||||
|
.flaticon-signs-3:before { content: "\f15e"; }
|
||||||
|
.flaticon-star-1:before { content: "\f15f"; }
|
||||||
|
.flaticon-web:before { content: "\f160"; }
|
||||||
|
.flaticon-star:before { content: "\f161"; }
|
||||||
|
.flaticon-like-1:before { content: "\f162"; }
|
||||||
|
.flaticon-like:before { content: "\f163"; }
|
||||||
|
.flaticon-cloud:before { content: "\f164"; }
|
||||||
|
.flaticon-database:before { content: "\f165"; }
|
||||||
|
.flaticon-technology-1:before { content: "\f166"; }
|
||||||
|
.flaticon-idea:before { content: "\f167"; }
|
||||||
|
.flaticon-search:before { content: "\f168"; }
|
||||||
|
.flaticon-wifi:before { content: "\f169"; }
|
||||||
|
.flaticon-hands-1:before { content: "\f16a"; }
|
||||||
|
.flaticon-hands:before { content: "\f16b"; }
|
||||||
|
.flaticon-bars-2:before { content: "\f16c"; }
|
||||||
|
.flaticon-arrows-1:before { content: "\f16d"; }
|
||||||
|
.flaticon-interface-1:before { content: "\f16e"; }
|
||||||
|
.flaticon-network:before { content: "\f16f"; }
|
||||||
|
.flaticon-share-1:before { content: "\f170"; }
|
||||||
|
.flaticon-share:before { content: "\f171"; }
|
||||||
|
.flaticon-bars-1:before { content: "\f172"; }
|
||||||
|
.flaticon-cross-1:before { content: "\f173"; }
|
||||||
|
.flaticon-line-1:before { content: "\f174"; }
|
||||||
|
.flaticon-signs-2:before { content: "\f175"; }
|
||||||
|
.flaticon-check:before { content: "\f176"; }
|
||||||
|
.flaticon-technology:before { content: "\f177"; }
|
||||||
|
.flaticon-bars:before { content: "\f178"; }
|
||||||
|
.flaticon-cross:before { content: "\f179"; }
|
||||||
|
.flaticon-add:before { content: "\f17a"; }
|
||||||
|
.flaticon-power:before { content: "\f17b"; }
|
||||||
|
.flaticon-signs-1:before { content: "\f17c"; }
|
||||||
|
.flaticon-round:before { content: "\f17d"; }
|
||||||
|
.flaticon-exclamation:before { content: "\f17e"; }
|
||||||
|
.flaticon-success:before { content: "\f17f"; }
|
||||||
|
.flaticon-error:before { content: "\f180"; }
|
||||||
|
.flaticon-line:before { content: "\f181"; }
|
||||||
|
.flaticon-plus:before { content: "\f182"; }
|
||||||
|
.flaticon-interface:before { content: "\f183"; }
|
||||||
|
.flaticon-signs:before { content: "\f184"; }
|
||||||
|
.flaticon-play-button-1:before { content: "\f185"; }
|
||||||
|
.flaticon-play-button:before { content: "\f186"; }
|
||||||
|
.flaticon-music-player:before { content: "\f187"; }
|
||||||
|
.flaticon-medical:before { content: "\f188"; }
|
||||||
|
.flaticon-photo-camera:before { content: "\f189"; }
|
||||||
|
.flaticon-picture:before { content: "\f18a"; }
|
||||||
|
.flaticon-multimedia:before { content: "\f18b"; }
|
||||||
|
.flaticon-game-controller:before { content: "\f18c"; }
|
||||||
|
.flaticon-imac:before { content: "\f18d"; }
|
||||||
|
.flaticon-paint-palette:before { content: "\f18e"; }
|
||||||
|
.flaticon-envelope-3:before { content: "\f18f"; }
|
||||||
|
.flaticon-envelope-2:before { content: "\f190"; }
|
||||||
|
.flaticon-envelope-1:before { content: "\f191"; }
|
||||||
|
.flaticon-envelope:before { content: "\f192"; }
|
||||||
|
.flaticon-mailbox:before { content: "\f193"; }
|
||||||
|
.flaticon-inbox:before { content: "\f194"; }
|
||||||
|
.flaticon-chat-8:before { content: "\f195"; }
|
||||||
|
.flaticon-chat-7:before { content: "\f196"; }
|
||||||
|
.flaticon-chat-6:before { content: "\f197"; }
|
||||||
|
.flaticon-chat-5:before { content: "\f198"; }
|
||||||
|
.flaticon-chat-4:before { content: "\f199"; }
|
||||||
|
.flaticon-chat-3:before { content: "\f19a"; }
|
||||||
|
.flaticon-chat-2:before { content: "\f19b"; }
|
||||||
|
.flaticon-chat-1:before { content: "\f19c"; }
|
||||||
|
.flaticon-chat:before { content: "\f19d"; }
|
||||||
|
.flaticon-archive:before { content: "\f19e"; }
|
||||||
|
.flaticon-diagram:before { content: "\f19f"; }
|
||||||
|
.flaticon-graph-2:before { content: "\f1a0"; }
|
||||||
|
.flaticon-graph-1:before { content: "\f1a1"; }
|
||||||
|
.flaticon-graph:before { content: "\f1a2"; }
|
||||||
|
.flaticon-chart-pie:before { content: "\f1a3"; }
|
||||||
|
.flaticon-presentation:before { content: "\f1a4"; }
|
||||||
|
.flaticon-store:before { content: "\f1a5"; }
|
||||||
|
.flaticon-coins:before { content: "\f1a6"; }
|
||||||
|
.flaticon-credit-card-1:before { content: "\f1a7"; }
|
||||||
|
.flaticon-credit-card:before { content: "\f1a8"; }
|
||||||
|
.flaticon-cart-1:before { content: "\f1a9"; }
|
||||||
|
.flaticon-cart:before { content: "\f1aa"; }
|
||||||
|
.flaticon-price-tag:before { content: "\f1ab"; }
|
||||||
|
.flaticon-box:before { content: "\f1ac"; }
|
||||||
|
.flaticon-right-arrow-4:before { content: "\f1ad"; }
|
||||||
|
.flaticon-left-arrow-4:before { content: "\f1ae"; }
|
||||||
|
.flaticon-up-arrow-3:before { content: "\f1af"; }
|
||||||
|
.flaticon-download-1:before { content: "\f1b0"; }
|
||||||
|
.flaticon-down-arrow-3:before { content: "\f1b1"; }
|
||||||
|
.flaticon-up-arrow-2:before { content: "\f1b2"; }
|
||||||
|
.flaticon-left-arrow-3:before { content: "\f1b3"; }
|
||||||
|
.flaticon-right-arrow-3:before { content: "\f1b4"; }
|
||||||
|
.flaticon-down-arrow-2:before { content: "\f1b5"; }
|
||||||
|
.flaticon-arrows:before { content: "\f1b6"; }
|
||||||
|
.flaticon-left-arrow-2:before { content: "\f1b7"; }
|
||||||
|
.flaticon-right-arrow-2:before { content: "\f1b8"; }
|
||||||
|
.flaticon-upward:before { content: "\f1b9"; }
|
||||||
|
.flaticon-download:before { content: "\f1ba"; }
|
||||||
|
.flaticon-back:before { content: "\f1bb"; }
|
||||||
|
.flaticon-next:before { content: "\f1bc"; }
|
||||||
|
.flaticon-up-arrow-1:before { content: "\f1bd"; }
|
||||||
|
.flaticon-down-arrow-1:before { content: "\f1be"; }
|
||||||
|
.flaticon-left-arrow-1:before { content: "\f1bf"; }
|
||||||
|
.flaticon-right-arrow-1:before { content: "\f1c0"; }
|
||||||
|
.flaticon-up-arrow:before { content: "\f1c1"; }
|
||||||
|
.flaticon-down-arrow:before { content: "\f1c2"; }
|
||||||
|
.flaticon-left-arrow:before { content: "\f1c3"; }
|
||||||
|
.flaticon-right-arrow:before { content: "\f1c4"; }
|
||||||
|
.flaticon-expand:before { content: "\f1c5"; }
|
||||||
|
.flaticon-repeat:before { content: "\f1c6"; }
|
||||||
|
|
||||||
|
$font-Flaticon-delivery-truck: "\f100";
|
||||||
|
$font-Flaticon-shopping-bag: "\f101";
|
||||||
|
$font-Flaticon-box-3: "\f102";
|
||||||
|
$font-Flaticon-box-2: "\f103";
|
||||||
|
$font-Flaticon-box-1: "\f104";
|
||||||
|
$font-Flaticon-laptop: "\f105";
|
||||||
|
$font-Flaticon-coffee-cup: "\f106";
|
||||||
|
$font-Flaticon-user-6: "\f107";
|
||||||
|
$font-Flaticon-user-5: "\f108";
|
||||||
|
$font-Flaticon-remove-user-1: "\f109";
|
||||||
|
$font-Flaticon-customer-support: "\f10a";
|
||||||
|
$font-Flaticon-user-4: "\f10b";
|
||||||
|
$font-Flaticon-user-3: "\f10c";
|
||||||
|
$font-Flaticon-user-2: "\f10d";
|
||||||
|
$font-Flaticon-remove-user: "\f10e";
|
||||||
|
$font-Flaticon-add-user: "\f10f";
|
||||||
|
$font-Flaticon-tea-cup: "\f110";
|
||||||
|
$font-Flaticon-pen: "\f111";
|
||||||
|
$font-Flaticon-desk: "\f112";
|
||||||
|
$font-Flaticon-ruler: "\f113";
|
||||||
|
$font-Flaticon-pencil: "\f114";
|
||||||
|
$font-Flaticon-analytics: "\f115";
|
||||||
|
$font-Flaticon-google-plus: "\f116";
|
||||||
|
$font-Flaticon-dribbble: "\f117";
|
||||||
|
$font-Flaticon-whatsapp: "\f118";
|
||||||
|
$font-Flaticon-twitter: "\f119";
|
||||||
|
$font-Flaticon-behance: "\f11a";
|
||||||
|
$font-Flaticon-instagram: "\f11b";
|
||||||
|
$font-Flaticon-android: "\f11c";
|
||||||
|
$font-Flaticon-apple: "\f11d";
|
||||||
|
$font-Flaticon-windows: "\f11e";
|
||||||
|
$font-Flaticon-pinterest: "\f11f";
|
||||||
|
$font-Flaticon-youtube: "\f120";
|
||||||
|
$font-Flaticon-paypal: "\f121";
|
||||||
|
$font-Flaticon-linkedin: "\f122";
|
||||||
|
$font-Flaticon-facebook: "\f123";
|
||||||
|
$font-Flaticon-lock-1: "\f124";
|
||||||
|
$font-Flaticon-lock: "\f125";
|
||||||
|
$font-Flaticon-profile-1: "\f126";
|
||||||
|
$font-Flaticon-profile: "\f127";
|
||||||
|
$font-Flaticon-user-1: "\f128";
|
||||||
|
$font-Flaticon-user: "\f129";
|
||||||
|
$font-Flaticon-users: "\f12a";
|
||||||
|
$font-Flaticon-message: "\f12b";
|
||||||
|
$font-Flaticon-placeholder-1: "\f12c";
|
||||||
|
$font-Flaticon-location: "\f12d";
|
||||||
|
$font-Flaticon-arrows-2: "\f12e";
|
||||||
|
$font-Flaticon-technology-2: "\f12f";
|
||||||
|
$font-Flaticon-multimedia-2: "\f130";
|
||||||
|
$font-Flaticon-multimedia-1: "\f131";
|
||||||
|
$font-Flaticon-close: "\f132";
|
||||||
|
$font-Flaticon-home: "\f133";
|
||||||
|
$font-Flaticon-circle: "\f134";
|
||||||
|
$font-Flaticon-arrow: "\f135";
|
||||||
|
$font-Flaticon-mark-1: "\f136";
|
||||||
|
$font-Flaticon-mark: "\f137";
|
||||||
|
$font-Flaticon-shapes-1: "\f138";
|
||||||
|
$font-Flaticon-search-2: "\f139";
|
||||||
|
$font-Flaticon-interface-7: "\f13a";
|
||||||
|
$font-Flaticon-suitcase: "\f13b";
|
||||||
|
$font-Flaticon-chain-1: "\f13c";
|
||||||
|
$font-Flaticon-chain: "\f13d";
|
||||||
|
$font-Flaticon-agenda-1: "\f13e";
|
||||||
|
$font-Flaticon-interface-6: "\f13f";
|
||||||
|
$font-Flaticon-calendar: "\f140";
|
||||||
|
$font-Flaticon-list: "\f141";
|
||||||
|
$font-Flaticon-file-1: "\f142";
|
||||||
|
$font-Flaticon-file: "\f143";
|
||||||
|
$font-Flaticon-interface-5: "\f144";
|
||||||
|
$font-Flaticon-folder: "\f145";
|
||||||
|
$font-Flaticon-stopwatch: "\f146";
|
||||||
|
$font-Flaticon-time: "\f147";
|
||||||
|
$font-Flaticon-clock-1: "\f148";
|
||||||
|
$font-Flaticon-search-1: "\f149";
|
||||||
|
$font-Flaticon-music-1: "\f14a";
|
||||||
|
$font-Flaticon-music: "\f14b";
|
||||||
|
$font-Flaticon-present: "\f14c";
|
||||||
|
$font-Flaticon-layers-1: "\f14d";
|
||||||
|
$font-Flaticon-settings: "\f14e";
|
||||||
|
$font-Flaticon-attachment: "\f14f";
|
||||||
|
$font-Flaticon-gestures: "\f150";
|
||||||
|
$font-Flaticon-tool: "\f151";
|
||||||
|
$font-Flaticon-interface-4: "\f152";
|
||||||
|
$font-Flaticon-interface-3: "\f153";
|
||||||
|
$font-Flaticon-agenda: "\f154";
|
||||||
|
$font-Flaticon-shapes: "\f155";
|
||||||
|
$font-Flaticon-symbol-1: "\f156";
|
||||||
|
$font-Flaticon-symbol: "\f157";
|
||||||
|
$font-Flaticon-interface-2: "\f158";
|
||||||
|
$font-Flaticon-layers: "\f159";
|
||||||
|
$font-Flaticon-clock: "\f15a";
|
||||||
|
$font-Flaticon-web-1: "\f15b";
|
||||||
|
$font-Flaticon-internet: "\f15c";
|
||||||
|
$font-Flaticon-placeholder: "\f15d";
|
||||||
|
$font-Flaticon-signs-3: "\f15e";
|
||||||
|
$font-Flaticon-star-1: "\f15f";
|
||||||
|
$font-Flaticon-web: "\f160";
|
||||||
|
$font-Flaticon-star: "\f161";
|
||||||
|
$font-Flaticon-like-1: "\f162";
|
||||||
|
$font-Flaticon-like: "\f163";
|
||||||
|
$font-Flaticon-cloud: "\f164";
|
||||||
|
$font-Flaticon-database: "\f165";
|
||||||
|
$font-Flaticon-technology-1: "\f166";
|
||||||
|
$font-Flaticon-idea: "\f167";
|
||||||
|
$font-Flaticon-search: "\f168";
|
||||||
|
$font-Flaticon-wifi: "\f169";
|
||||||
|
$font-Flaticon-hands-1: "\f16a";
|
||||||
|
$font-Flaticon-hands: "\f16b";
|
||||||
|
$font-Flaticon-bars-2: "\f16c";
|
||||||
|
$font-Flaticon-arrows-1: "\f16d";
|
||||||
|
$font-Flaticon-interface-1: "\f16e";
|
||||||
|
$font-Flaticon-network: "\f16f";
|
||||||
|
$font-Flaticon-share-1: "\f170";
|
||||||
|
$font-Flaticon-share: "\f171";
|
||||||
|
$font-Flaticon-bars-1: "\f172";
|
||||||
|
$font-Flaticon-cross-1: "\f173";
|
||||||
|
$font-Flaticon-line-1: "\f174";
|
||||||
|
$font-Flaticon-signs-2: "\f175";
|
||||||
|
$font-Flaticon-check: "\f176";
|
||||||
|
$font-Flaticon-technology: "\f177";
|
||||||
|
$font-Flaticon-bars: "\f178";
|
||||||
|
$font-Flaticon-cross: "\f179";
|
||||||
|
$font-Flaticon-add: "\f17a";
|
||||||
|
$font-Flaticon-power: "\f17b";
|
||||||
|
$font-Flaticon-signs-1: "\f17c";
|
||||||
|
$font-Flaticon-round: "\f17d";
|
||||||
|
$font-Flaticon-exclamation: "\f17e";
|
||||||
|
$font-Flaticon-success: "\f17f";
|
||||||
|
$font-Flaticon-error: "\f180";
|
||||||
|
$font-Flaticon-line: "\f181";
|
||||||
|
$font-Flaticon-plus: "\f182";
|
||||||
|
$font-Flaticon-interface: "\f183";
|
||||||
|
$font-Flaticon-signs: "\f184";
|
||||||
|
$font-Flaticon-play-button-1: "\f185";
|
||||||
|
$font-Flaticon-play-button: "\f186";
|
||||||
|
$font-Flaticon-music-player: "\f187";
|
||||||
|
$font-Flaticon-medical: "\f188";
|
||||||
|
$font-Flaticon-photo-camera: "\f189";
|
||||||
|
$font-Flaticon-picture: "\f18a";
|
||||||
|
$font-Flaticon-multimedia: "\f18b";
|
||||||
|
$font-Flaticon-game-controller: "\f18c";
|
||||||
|
$font-Flaticon-imac: "\f18d";
|
||||||
|
$font-Flaticon-paint-palette: "\f18e";
|
||||||
|
$font-Flaticon-envelope-3: "\f18f";
|
||||||
|
$font-Flaticon-envelope-2: "\f190";
|
||||||
|
$font-Flaticon-envelope-1: "\f191";
|
||||||
|
$font-Flaticon-envelope: "\f192";
|
||||||
|
$font-Flaticon-mailbox: "\f193";
|
||||||
|
$font-Flaticon-inbox: "\f194";
|
||||||
|
$font-Flaticon-chat-8: "\f195";
|
||||||
|
$font-Flaticon-chat-7: "\f196";
|
||||||
|
$font-Flaticon-chat-6: "\f197";
|
||||||
|
$font-Flaticon-chat-5: "\f198";
|
||||||
|
$font-Flaticon-chat-4: "\f199";
|
||||||
|
$font-Flaticon-chat-3: "\f19a";
|
||||||
|
$font-Flaticon-chat-2: "\f19b";
|
||||||
|
$font-Flaticon-chat-1: "\f19c";
|
||||||
|
$font-Flaticon-chat: "\f19d";
|
||||||
|
$font-Flaticon-archive: "\f19e";
|
||||||
|
$font-Flaticon-diagram: "\f19f";
|
||||||
|
$font-Flaticon-graph-2: "\f1a0";
|
||||||
|
$font-Flaticon-graph-1: "\f1a1";
|
||||||
|
$font-Flaticon-graph: "\f1a2";
|
||||||
|
$font-Flaticon-chart-pie: "\f1a3";
|
||||||
|
$font-Flaticon-presentation: "\f1a4";
|
||||||
|
$font-Flaticon-store: "\f1a5";
|
||||||
|
$font-Flaticon-coins: "\f1a6";
|
||||||
|
$font-Flaticon-credit-card-1: "\f1a7";
|
||||||
|
$font-Flaticon-credit-card: "\f1a8";
|
||||||
|
$font-Flaticon-cart-1: "\f1a9";
|
||||||
|
$font-Flaticon-cart: "\f1aa";
|
||||||
|
$font-Flaticon-price-tag: "\f1ab";
|
||||||
|
$font-Flaticon-box: "\f1ac";
|
||||||
|
$font-Flaticon-right-arrow-4: "\f1ad";
|
||||||
|
$font-Flaticon-left-arrow-4: "\f1ae";
|
||||||
|
$font-Flaticon-up-arrow-3: "\f1af";
|
||||||
|
$font-Flaticon-download-1: "\f1b0";
|
||||||
|
$font-Flaticon-down-arrow-3: "\f1b1";
|
||||||
|
$font-Flaticon-up-arrow-2: "\f1b2";
|
||||||
|
$font-Flaticon-left-arrow-3: "\f1b3";
|
||||||
|
$font-Flaticon-right-arrow-3: "\f1b4";
|
||||||
|
$font-Flaticon-down-arrow-2: "\f1b5";
|
||||||
|
$font-Flaticon-arrows: "\f1b6";
|
||||||
|
$font-Flaticon-left-arrow-2: "\f1b7";
|
||||||
|
$font-Flaticon-right-arrow-2: "\f1b8";
|
||||||
|
$font-Flaticon-upward: "\f1b9";
|
||||||
|
$font-Flaticon-download: "\f1ba";
|
||||||
|
$font-Flaticon-back: "\f1bb";
|
||||||
|
$font-Flaticon-next: "\f1bc";
|
||||||
|
$font-Flaticon-up-arrow-1: "\f1bd";
|
||||||
|
$font-Flaticon-down-arrow-1: "\f1be";
|
||||||
|
$font-Flaticon-left-arrow-1: "\f1bf";
|
||||||
|
$font-Flaticon-right-arrow-1: "\f1c0";
|
||||||
|
$font-Flaticon-up-arrow: "\f1c1";
|
||||||
|
$font-Flaticon-down-arrow: "\f1c2";
|
||||||
|
$font-Flaticon-left-arrow: "\f1c3";
|
||||||
|
$font-Flaticon-right-arrow: "\f1c4";
|
||||||
|
$font-Flaticon-expand: "\f1c5";
|
||||||
|
$font-Flaticon-repeat: "\f1c6";
|
|
@ -0,0 +1,230 @@
|
||||||
|
/*
|
||||||
|
Flaticon icon font: Flaticon
|
||||||
|
Creation date: 13/03/2018 03:24
|
||||||
|
*/
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Flaticon";
|
||||||
|
src: url("./Flaticon.eot");
|
||||||
|
src: url("./Flaticon.eot?#iefix") format("embedded-opentype"),
|
||||||
|
url("./Flaticon.woff") format("woff"),
|
||||||
|
url("./Flaticon.ttf") format("truetype"),
|
||||||
|
url("./Flaticon.svg#Flaticon") format("svg");
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
||||||
|
@font-face {
|
||||||
|
font-family: "Flaticon";
|
||||||
|
src: url("./Flaticon.svg#Flaticon") format("svg");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
|
||||||
|
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {
|
||||||
|
font-family: Flaticon;
|
||||||
|
font-size: 20px;
|
||||||
|
font-style: normal;
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flaticon-delivery-truck:before { content: "\f100"; }
|
||||||
|
.flaticon-shopping-bag:before { content: "\f101"; }
|
||||||
|
.flaticon-box-3:before { content: "\f102"; }
|
||||||
|
.flaticon-box-2:before { content: "\f103"; }
|
||||||
|
.flaticon-box-1:before { content: "\f104"; }
|
||||||
|
.flaticon-laptop:before { content: "\f105"; }
|
||||||
|
.flaticon-coffee-cup:before { content: "\f106"; }
|
||||||
|
.flaticon-user-6:before { content: "\f107"; }
|
||||||
|
.flaticon-user-5:before { content: "\f108"; }
|
||||||
|
.flaticon-remove-user-1:before { content: "\f109"; }
|
||||||
|
.flaticon-customer-support:before { content: "\f10a"; }
|
||||||
|
.flaticon-user-4:before { content: "\f10b"; }
|
||||||
|
.flaticon-user-3:before { content: "\f10c"; }
|
||||||
|
.flaticon-user-2:before { content: "\f10d"; }
|
||||||
|
.flaticon-remove-user:before { content: "\f10e"; }
|
||||||
|
.flaticon-add-user:before { content: "\f10f"; }
|
||||||
|
.flaticon-tea-cup:before { content: "\f110"; }
|
||||||
|
.flaticon-pen:before { content: "\f111"; }
|
||||||
|
.flaticon-desk:before { content: "\f112"; }
|
||||||
|
.flaticon-ruler:before { content: "\f113"; }
|
||||||
|
.flaticon-pencil:before { content: "\f114"; }
|
||||||
|
.flaticon-analytics:before { content: "\f115"; }
|
||||||
|
.flaticon-google-plus:before { content: "\f116"; }
|
||||||
|
.flaticon-dribbble:before { content: "\f117"; }
|
||||||
|
.flaticon-whatsapp:before { content: "\f118"; }
|
||||||
|
.flaticon-twitter:before { content: "\f119"; }
|
||||||
|
.flaticon-behance:before { content: "\f11a"; }
|
||||||
|
.flaticon-instagram:before { content: "\f11b"; }
|
||||||
|
.flaticon-android:before { content: "\f11c"; }
|
||||||
|
.flaticon-apple:before { content: "\f11d"; }
|
||||||
|
.flaticon-windows:before { content: "\f11e"; }
|
||||||
|
.flaticon-pinterest:before { content: "\f11f"; }
|
||||||
|
.flaticon-youtube:before { content: "\f120"; }
|
||||||
|
.flaticon-paypal:before { content: "\f121"; }
|
||||||
|
.flaticon-linkedin:before { content: "\f122"; }
|
||||||
|
.flaticon-facebook:before { content: "\f123"; }
|
||||||
|
.flaticon-lock-1:before { content: "\f124"; }
|
||||||
|
.flaticon-lock:before { content: "\f125"; }
|
||||||
|
.flaticon-profile-1:before { content: "\f126"; }
|
||||||
|
.flaticon-profile:before { content: "\f127"; }
|
||||||
|
.flaticon-user-1:before { content: "\f128"; }
|
||||||
|
.flaticon-user:before { content: "\f129"; }
|
||||||
|
.flaticon-users:before { content: "\f12a"; }
|
||||||
|
.flaticon-message:before { content: "\f12b"; }
|
||||||
|
.flaticon-placeholder-1:before { content: "\f12c"; }
|
||||||
|
.flaticon-location:before { content: "\f12d"; }
|
||||||
|
.flaticon-arrows-2:before { content: "\f12e"; }
|
||||||
|
.flaticon-technology-2:before { content: "\f12f"; }
|
||||||
|
.flaticon-multimedia-2:before { content: "\f130"; }
|
||||||
|
.flaticon-multimedia-1:before { content: "\f131"; }
|
||||||
|
.flaticon-close:before { content: "\f132"; }
|
||||||
|
.flaticon-home:before { content: "\f133"; }
|
||||||
|
.flaticon-circle:before { content: "\f134"; }
|
||||||
|
.flaticon-arrow:before { content: "\f135"; }
|
||||||
|
.flaticon-mark-1:before { content: "\f136"; }
|
||||||
|
.flaticon-mark:before { content: "\f137"; }
|
||||||
|
.flaticon-shapes-1:before { content: "\f138"; }
|
||||||
|
.flaticon-search-2:before { content: "\f139"; }
|
||||||
|
.flaticon-interface-7:before { content: "\f13a"; }
|
||||||
|
.flaticon-suitcase:before { content: "\f13b"; }
|
||||||
|
.flaticon-chain-1:before { content: "\f13c"; }
|
||||||
|
.flaticon-chain:before { content: "\f13d"; }
|
||||||
|
.flaticon-agenda-1:before { content: "\f13e"; }
|
||||||
|
.flaticon-interface-6:before { content: "\f13f"; }
|
||||||
|
.flaticon-calendar:before { content: "\f140"; }
|
||||||
|
.flaticon-list:before { content: "\f141"; }
|
||||||
|
.flaticon-file-1:before { content: "\f142"; }
|
||||||
|
.flaticon-file:before { content: "\f143"; }
|
||||||
|
.flaticon-interface-5:before { content: "\f144"; }
|
||||||
|
.flaticon-folder:before { content: "\f145"; }
|
||||||
|
.flaticon-stopwatch:before { content: "\f146"; }
|
||||||
|
.flaticon-time:before { content: "\f147"; }
|
||||||
|
.flaticon-clock-1:before { content: "\f148"; }
|
||||||
|
.flaticon-search-1:before { content: "\f149"; }
|
||||||
|
.flaticon-music-1:before { content: "\f14a"; }
|
||||||
|
.flaticon-music:before { content: "\f14b"; }
|
||||||
|
.flaticon-present:before { content: "\f14c"; }
|
||||||
|
.flaticon-layers-1:before { content: "\f14d"; }
|
||||||
|
.flaticon-settings:before { content: "\f14e"; }
|
||||||
|
.flaticon-attachment:before { content: "\f14f"; }
|
||||||
|
.flaticon-gestures:before { content: "\f150"; }
|
||||||
|
.flaticon-tool:before { content: "\f151"; }
|
||||||
|
.flaticon-interface-4:before { content: "\f152"; }
|
||||||
|
.flaticon-interface-3:before { content: "\f153"; }
|
||||||
|
.flaticon-agenda:before { content: "\f154"; }
|
||||||
|
.flaticon-shapes:before { content: "\f155"; }
|
||||||
|
.flaticon-symbol-1:before { content: "\f156"; }
|
||||||
|
.flaticon-symbol:before { content: "\f157"; }
|
||||||
|
.flaticon-interface-2:before { content: "\f158"; }
|
||||||
|
.flaticon-layers:before { content: "\f159"; }
|
||||||
|
.flaticon-clock:before { content: "\f15a"; }
|
||||||
|
.flaticon-web-1:before { content: "\f15b"; }
|
||||||
|
.flaticon-internet:before { content: "\f15c"; }
|
||||||
|
.flaticon-placeholder:before { content: "\f15d"; }
|
||||||
|
.flaticon-signs-3:before { content: "\f15e"; }
|
||||||
|
.flaticon-star-1:before { content: "\f15f"; }
|
||||||
|
.flaticon-web:before { content: "\f160"; }
|
||||||
|
.flaticon-star:before { content: "\f161"; }
|
||||||
|
.flaticon-like-1:before { content: "\f162"; }
|
||||||
|
.flaticon-like:before { content: "\f163"; }
|
||||||
|
.flaticon-cloud:before { content: "\f164"; }
|
||||||
|
.flaticon-database:before { content: "\f165"; }
|
||||||
|
.flaticon-technology-1:before { content: "\f166"; }
|
||||||
|
.flaticon-idea:before { content: "\f167"; }
|
||||||
|
.flaticon-search:before { content: "\f168"; }
|
||||||
|
.flaticon-wifi:before { content: "\f169"; }
|
||||||
|
.flaticon-hands-1:before { content: "\f16a"; }
|
||||||
|
.flaticon-hands:before { content: "\f16b"; }
|
||||||
|
.flaticon-bars-2:before { content: "\f16c"; }
|
||||||
|
.flaticon-arrows-1:before { content: "\f16d"; }
|
||||||
|
.flaticon-interface-1:before { content: "\f16e"; }
|
||||||
|
.flaticon-network:before { content: "\f16f"; }
|
||||||
|
.flaticon-share-1:before { content: "\f170"; }
|
||||||
|
.flaticon-share:before { content: "\f171"; }
|
||||||
|
.flaticon-bars-1:before { content: "\f172"; }
|
||||||
|
.flaticon-cross-1:before { content: "\f173"; }
|
||||||
|
.flaticon-line-1:before { content: "\f174"; }
|
||||||
|
.flaticon-signs-2:before { content: "\f175"; }
|
||||||
|
.flaticon-check:before { content: "\f176"; }
|
||||||
|
.flaticon-technology:before { content: "\f177"; }
|
||||||
|
.flaticon-bars:before { content: "\f178"; }
|
||||||
|
.flaticon-cross:before { content: "\f179"; }
|
||||||
|
.flaticon-add:before { content: "\f17a"; }
|
||||||
|
.flaticon-power:before { content: "\f17b"; }
|
||||||
|
.flaticon-signs-1:before { content: "\f17c"; }
|
||||||
|
.flaticon-round:before { content: "\f17d"; }
|
||||||
|
.flaticon-exclamation:before { content: "\f17e"; }
|
||||||
|
.flaticon-success:before { content: "\f17f"; }
|
||||||
|
.flaticon-error:before { content: "\f180"; }
|
||||||
|
.flaticon-line:before { content: "\f181"; }
|
||||||
|
.flaticon-plus:before { content: "\f182"; }
|
||||||
|
.flaticon-interface:before { content: "\f183"; }
|
||||||
|
.flaticon-signs:before { content: "\f184"; }
|
||||||
|
.flaticon-play-button-1:before { content: "\f185"; }
|
||||||
|
.flaticon-play-button:before { content: "\f186"; }
|
||||||
|
.flaticon-music-player:before { content: "\f187"; }
|
||||||
|
.flaticon-medical:before { content: "\f188"; }
|
||||||
|
.flaticon-photo-camera:before { content: "\f189"; }
|
||||||
|
.flaticon-picture:before { content: "\f18a"; }
|
||||||
|
.flaticon-multimedia:before { content: "\f18b"; }
|
||||||
|
.flaticon-game-controller:before { content: "\f18c"; }
|
||||||
|
.flaticon-imac:before { content: "\f18d"; }
|
||||||
|
.flaticon-paint-palette:before { content: "\f18e"; }
|
||||||
|
.flaticon-envelope-3:before { content: "\f18f"; }
|
||||||
|
.flaticon-envelope-2:before { content: "\f190"; }
|
||||||
|
.flaticon-envelope-1:before { content: "\f191"; }
|
||||||
|
.flaticon-envelope:before { content: "\f192"; }
|
||||||
|
.flaticon-mailbox:before { content: "\f193"; }
|
||||||
|
.flaticon-inbox:before { content: "\f194"; }
|
||||||
|
.flaticon-chat-8:before { content: "\f195"; }
|
||||||
|
.flaticon-chat-7:before { content: "\f196"; }
|
||||||
|
.flaticon-chat-6:before { content: "\f197"; }
|
||||||
|
.flaticon-chat-5:before { content: "\f198"; }
|
||||||
|
.flaticon-chat-4:before { content: "\f199"; }
|
||||||
|
.flaticon-chat-3:before { content: "\f19a"; }
|
||||||
|
.flaticon-chat-2:before { content: "\f19b"; }
|
||||||
|
.flaticon-chat-1:before { content: "\f19c"; }
|
||||||
|
.flaticon-chat:before { content: "\f19d"; }
|
||||||
|
.flaticon-archive:before { content: "\f19e"; }
|
||||||
|
.flaticon-diagram:before { content: "\f19f"; }
|
||||||
|
.flaticon-graph-2:before { content: "\f1a0"; }
|
||||||
|
.flaticon-graph-1:before { content: "\f1a1"; }
|
||||||
|
.flaticon-graph:before { content: "\f1a2"; }
|
||||||
|
.flaticon-chart-pie:before { content: "\f1a3"; }
|
||||||
|
.flaticon-presentation:before { content: "\f1a4"; }
|
||||||
|
.flaticon-store:before { content: "\f1a5"; }
|
||||||
|
.flaticon-coins:before { content: "\f1a6"; }
|
||||||
|
.flaticon-credit-card-1:before { content: "\f1a7"; }
|
||||||
|
.flaticon-credit-card:before { content: "\f1a8"; }
|
||||||
|
.flaticon-cart-1:before { content: "\f1a9"; }
|
||||||
|
.flaticon-cart:before { content: "\f1aa"; }
|
||||||
|
.flaticon-price-tag:before { content: "\f1ab"; }
|
||||||
|
.flaticon-box:before { content: "\f1ac"; }
|
||||||
|
.flaticon-right-arrow-4:before { content: "\f1ad"; }
|
||||||
|
.flaticon-left-arrow-4:before { content: "\f1ae"; }
|
||||||
|
.flaticon-up-arrow-3:before { content: "\f1af"; }
|
||||||
|
.flaticon-download-1:before { content: "\f1b0"; }
|
||||||
|
.flaticon-down-arrow-3:before { content: "\f1b1"; }
|
||||||
|
.flaticon-up-arrow-2:before { content: "\f1b2"; }
|
||||||
|
.flaticon-left-arrow-3:before { content: "\f1b3"; }
|
||||||
|
.flaticon-right-arrow-3:before { content: "\f1b4"; }
|
||||||
|
.flaticon-down-arrow-2:before { content: "\f1b5"; }
|
||||||
|
.flaticon-arrows:before { content: "\f1b6"; }
|
||||||
|
.flaticon-left-arrow-2:before { content: "\f1b7"; }
|
||||||
|
.flaticon-right-arrow-2:before { content: "\f1b8"; }
|
||||||
|
.flaticon-upward:before { content: "\f1b9"; }
|
||||||
|
.flaticon-download:before { content: "\f1ba"; }
|
||||||
|
.flaticon-back:before { content: "\f1bb"; }
|
||||||
|
.flaticon-next:before { content: "\f1bc"; }
|
||||||
|
.flaticon-up-arrow-1:before { content: "\f1bd"; }
|
||||||
|
.flaticon-down-arrow-1:before { content: "\f1be"; }
|
||||||
|
.flaticon-left-arrow-1:before { content: "\f1bf"; }
|
||||||
|
.flaticon-right-arrow-1:before { content: "\f1c0"; }
|
||||||
|
.flaticon-up-arrow:before { content: "\f1c1"; }
|
||||||
|
.flaticon-down-arrow:before { content: "\f1c2"; }
|
||||||
|
.flaticon-left-arrow:before { content: "\f1c3"; }
|
||||||
|
.flaticon-right-arrow:before { content: "\f1c4"; }
|
||||||
|
.flaticon-expand:before { content: "\f1c5"; }
|
||||||
|
.flaticon-repeat:before { content: "\f1c6"; }
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 614 KiB |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue